blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 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 listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6404855a2c0ca5d72d39dc09298c7de792b8439e | 51e9012435503b693a7811301c6af4332033a1a3 | /DWLABYR/DWLABYR.cpp | 5f19cbb4e76daa6b851de5204b3dfa59b8d76d74 | [] | no_license | phutruonnttn/CPP_Code_Giai_Thuat | e7e3312ae70cee9ade33994de0cc3a1f17fbf0f1 | 8081d346aa0348d1a6bef546036e5a498e7b2ee5 | refs/heads/master | 2020-07-02T04:29:51.910768 | 2019-08-09T07:16:37 | 2019-08-09T07:16:37 | 201,412,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | cpp | #include <bits/stdc++.h>
#define nmax 307
#define vc 999999999999
using namespace std;
typedef pair <long,long> ii;
long long n,m,k,d[nmax],dd[nmax];
vector <ii> a[nmax];
void dijkstra(long uu)
{
priority_queue <ii> pq;
fill(d,d+n+1,vc);
d[uu]=0;
pq.push(ii(0,uu));
long u,du;
while (!pq.empty())
{
u=pq.top().second;
du=-pq.top().first;
pq.pop();
if (du!=d[u]) continue;
if (dd[u]==0) continue;
for (long i=0;i<a[u].size();i++)
{
long v=a[u][i].first;
long wv=a[u][i].second;
if (dd[v]==1)
if (d[v]>d[u]+wv)
{
d[v]=d[u]+wv;
pq.push(ii(-d[v],v));
}
}
}
}
int main()
{
ios_base::sync_with_stdio(0);
freopen("DWLABYR.inp","r",stdin);
freopen("DWLABYR.out","w",stdout);
cin >> n >> m >> k;
for (long i=1; i<=m; i++)
{
long long u,v,w;
cin >> u >> v >> w;
a[u].push_back(ii(v,w));
}
for (long i=1; i<=k; i++)
{
char s;
long u,v;
cin >> s >> u;
if (s=='X') dd[u]=1;
else
{
cin >> v;
if (dd[u]==0 || dd[v]==0) cout << -1 << '\n';
else
{
dijkstra(u);
if (d[v]==vc) cout << -1 << '\n';
else cout << d[v] << '\n';
}
}
}
}
| [
"truongnguyen@MacBook-Pro-cua-TruongNP.local"
] | truongnguyen@MacBook-Pro-cua-TruongNP.local |
8c14cc8cb917b7a445503d948b7bc6612db3e1e5 | 0dde4e977c748fe1dfa5458d9bf790e38ae5b3be | /skims/kpkp_Skim.cc | 054645415f24387ec37df90879a0c73b033412d7 | [] | no_license | jasonbono/CLAS | e27a48f96b753e11a97803bbe4c782319c4f8534 | c899062b8740cdb6ef04916d74f22cebc5d2c5f8 | refs/heads/master | 2020-05-24T03:56:12.542417 | 2019-05-16T17:50:31 | 2019-05-16T17:50:31 | 187,074,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,049 | cc | /*
* template.cc
*
*/
#include <iostream>
extern "C" {
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#include <signal.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <errno.h>
#include <ntypes.h>
#include <bostypes.h>
#include <clas_cern.h>
#include <particleType.h>
#include <kinematics.h>
#include <pdgutil.h>
#include <pid.h>
#include <dataIO.h>
#include <itape.h>
#include <vertex.h>
#include <trk.h>
#include <makebanks.h>
}
#include <Vec.h>
#include <lorentz.h>
#include <pputil.h>
#include <clasEvent.h>
/*bitwise drop flags*/
#define DROP_RAW BIT(0)
#define DROP_DC0 BIT(1)
#define DROP_DC1 BIT(2)
#define DROP_HBLA BIT(3)
#define DROP_TBLA BIT(4)
#define DROP_HBTB BIT(5)
#define DROP_SC BIT(6)
#define DROP_EC BIT(7)
#define DROP_HBID BIT(8)
#define DROP_CL01 BIT(9)
#define DROP_SEB BIT(10)
#define DROP_TBID BIT(11)
#define DROP_HDPL BIT(12)
#define DROP_LAC BIT(13)
#define DROP_CC BIT(14)
#define DROP_ST BIT(15)
#define DROP_DHCL BIT(16)
#define DROP_TAGR BIT(17)
#define CC_BANKS "CCRCCC01"
#define SEB_BANKS "HEVTEVNTDCPBSCPBCCPBUNUSEVHBTRKSSTPBTGPBLCPB"
#define TAGGER_BANKS "TAGRTAGIPSO "
#define SC_BANKS "SC1 SCR SCRC"
#define EC_BANKS "EC01ECHBECPIECPCECPBEC EC1 "
#define ST_BANKS "ST1 STR "
#define REGION1_BANKS "RGLK"
#define BUFSIZE 200000
static int requestedRawData = 0;
/* ----------- Function prototypes ---------------- */
int printGeneralLabels(char *c);
static void signalINT(int isig);
static void signalSEGV(int isig);
int StartRun(int runNo);
int EndRun(int run);
int ProcessEvent(clasEvent &event,int verbose,int silent);
void installFaultHandlers();
void DropList(int DropFlag);
void pHeader(clasEvent &event);
double beta(const fourVec &p);
double beta(const fourVec &p,double m);
double beta(const threeVec &p,double m);
double deltaBeta(double l,double t);
double chisq(const threeVec &p,double mass,double len,double t);
double gamma(double beta);
double mass(double p,double beta);
extern particleDataTable PDGtable;
/* declare the bos common */
BOSbank bcs_;
BOSbank wcs_;
#define LIGHT_SPEED 29.979 // speed of light cm/nsec
int CurrentRun = 0;
int CurrentEvent = 0;
void PrintUsage(char *processName)
{
cerr << processName << " [options] file1 file2 ..." << endl;
cerr << "\t[-cm#]\t\tSet mini-torus current to #" << endl;
cerr << "\t[-ct#]\t\tSet torus current to #" << endl;
cerr << "\t[-L]\t\tPrint labels" << endl;
cerr << "\t[-v]\t\tverbose mode" << endl;
cerr << "\t[-ofile]\twrite selected events to file" << endl;
cerr << "\t[-d]\t\tdebug mode" << endl;
cerr << "\t[-D#]\t\tSet drop list to #" << endl;
cerr << "\t[-M#]\t\tProcess only # events" << endl;
cerr << "\t[-s]\t\tsilent mode" << endl;
cerr << "\t[-N]\t\tDo not build TDPL bank (unless necessary)" <
cerr << "\t[-h]\t\tPrint this message" << endl;
}
// ------------------------------------
main(int argc,char **argv)
{
FILE *fp = NULL;
int max = 0;
int verbose = 0;
int Silent = 0;
int writeMode = 0;
int forceWrite = 0;
int reBuild = -1;
int doBuild = 0;
int rebuildTBID = 0;
int ret = 1;
int rejectFlag = 0;
int NoFault = 0;
int pEvent;
int Nevents = 0;
int nfile = 0;
int Nwrite = 0;
int nProc = 0;
time_t time1;
float rate;
int i;
char *argptr;
char *word;
int Dispatch = 0;
unsigned int triggerMask = 0;
int useGPID = 0;
int useSEB = 0;
int partbank = 1;
char *BOSout = "newFilter.bos";
int debug = 0;
// Dispatcher
char *server = NULL;
int dispatcherPipelinePrefill = 5;
int allFlag = 0;
int dropTDPL = 0;
// drop sector list
vector<int> dropSector;
// itape stuff
FILE *finput = stdin;
// bos stuff
clasOutput coutput;
int status = 0;
int OutputUnitNo = 9;
extern char *optarg;
int c;
extern int optind;
int MaxBanks = 1000;
char out[300];
int DropFlag = 0x0; /*don't drop anything*/
for (i = 0; i < argc; ++i)
cerr << argv[i] << " ";
cerr << endl;
for (int i = 0; i < argc; ++i)
cerr << argv[i] << " ";
cerr << endl;
while ( (c = getopt(argc,argv, "o:")) != -1 ) {
switch (c) {
case 'G':
useGPID = 1;
break;
case 'S':
useSEB = 1;
break;
case 'P':
partbank = atoi(optarg);
break;
case 'F':
forceWrite = 1;
//cout<<"FORCE WRITE"<<endl;
break;
case 'R':
// write out rejected events
rejectFlag = 1;
break;
case 'L':
printGeneralLabels(optarg);
break;
case 'v':
verbose = 1;
break;
case 'o':
BOSout = optarg;
status = coutput.open(BOSout, OutputUnitNo);
cout <<"Status:["<<status<<"] " <<"Output file: " << BOSout << endl;
break;
case 'f':
// do not install fault handlers
NoFault = 1;
break;
case 'd':
debug = 1;
break;
case 'D':
DropFlag = strtoul(optarg,NULL,0);
break;
case 'M':
max = atoi(optarg);
break;
case 't':
triggerMask = strtoul(optarg,NULL,0);
break;
case 's':
Silent = 1;
break;
case 'h':
PrintUsage(argv[0]);
exit(0);
break;
default:
cerr << "Unrecognized argument: " << argptr << endl;;
break;
}
}
PDGtable.initialize();
if (!NoFault)
installFaultHandlers();
// Initialize BOS
bnames_(&MaxBanks);
initbos();
configure_banks(stderr,0);
for (i = 1; i < argc; ++i) {
argptr = argv[i];
if (*argptr != '-') {
clasEvent event(argptr,&bcs_,1,0);
cerr << "initialize:\t" << argptr << endl;
Dispatch = isDispatcher(argptr);
if (event.status()) {
ret = 1;
while ((max ? Nevents < max : 1) && ret) {
clasHEAD_t *HEAD;
ret = event.read(1); // still one event?
if (ret == DISIO_DATA) {
if (event.type() == 1) {
if (HEAD = (clasHEAD_t *)getBank(&bcs_, "HEAD")) {
int runno=HEAD->head[0].nrun;
CurrentRun = HEAD->head[0].nrun;
CurrentEvent = HEAD->head[0].nevent;
StartRun(runno);
pEvent = ProcessEvent(event,verbose,Silent);
nProc++;
if (status && pEvent) {
coutput.write(&bcs_);
Nwrite++;
}
}
event.clean();
Nevents++;
}
}
else if (ret == DISIO_COMMAND) {
cerr << "Message from Giant Head: " << getBuffer() << endl;;
}
}
cerr << "\nTotal number of itape records:\t" << Nevents << endl;
cerr << "\tTotal number of records written:\t" << Nwrite << endl;
}
else {
cerr << "Unable to open " << argptr << endl;
}
}
}
if (Dispatch)
disIO_command("FINISHED");
cerr << "\nTotal number of itape records:\t" << Nevents << endl;
if (status) {
coutput.write(&bcs_, "0");
coutput.close();
cerr << coutput.name() << " closed" << endl;
}
}
int StartRun(int runNo)
{
int static CurrentRun = -1;
if (CurrentRun != runNo) {
// dc_xvst_init_(&runNo);
// vertex_brun(runNo);
// sc_begin_run(runNo);
// dc_begin_run(runNo);
CurrentRun = runNo;
}
return 0;
}
/*
int ProcessEvent(clasEvent &evt,int verbose,int silent)
{
int ret;
//cout<<"test"<<endl;
cout<<evt.N(KPlus)<<" "<<evt.N(PiMinus)<<endl;
if((ret = (evt.N(KPlus)>1)&& (evt.N(PiMinus)>0))){
cout<<"PASS!"<<endl;
}
return ret;
}*/
int ProcessEvent(clasEvent &evt,int verbose,int silent){
return ((evt.N(KPlus)>1));
}
int EndRun(int run)
{
return 0;
}
int GetDispatcherCommand()
{
int ret;
int maxSend = 2;
int OkToSendData = 1;
int WaitForALLFINISHED = 0;
int runNo;
/* wait for command from Dispatcher */
fd_set rset;
fd_set wset;
struct timeval timeout;
int maxfd = 0;
FD_ZERO(&rset);
FD_ZERO(&wset);
FD_SET(disIO_socket,&rset); if (disIO_socket > maxfd) maxfd = disIO_socket;
if (OkToSendData && (requestedRawData > 0))
{
FD_SET(disIO_socket,&wset); if (disIO_socket > maxfd) maxfd = disIO_socket;
}
timeout.tv_sec = 1;
timeout.tv_usec = 0;
if (OkToSendData && (requestedRawData > 0))
{
timeout.tv_sec = 0;
timeout.tv_usec = 0;
}
ret = select(maxfd + 1, &rset, &wset, NULL, &timeout);
if (ret < 0)
{
cerr << "DisFeedDAQ: Error: select() returned " << ret << "errno: " << errno << " " << strerror(errno) << endl;
// exitFlag = 1;
exit(0);
}
/* ok, we got a command. Now parse it */
static char *msg = NULL;
static int msglen = 0;
char *cmd0;
char *word;
int maybeUnexpected = 0;
if (msg)
free(msg);
msg = NULL;
ret = disIO_readRAW_alloc((void **)&msg,&msglen,0);
if (msg) {
word = strtok(msg,":");
cmd0 = word;
if (word) {
cerr << "COMMAND: " << cmd0 << endl;
if (strcmp(word,"NOP") == 0)
{
/* do nothing */
}
else if (strcmp(word,"PING") == 0)
{
printf("DisFeedDAQ: Command from Dispatcher: %s\n",word);
disIO_command("PING-REPLY");
}
else if (strcmp(word,"REQUEST_DATA") == 0)
{
int imore;
/* fprintf(stderr,"DisFeedDAQ: Command from Dispatcher: %s\n",word); */
word = strtok(NULL,":");
if (word)
imore = strtoul(word,NULL,0);
else
imore = 1;
/* printf("REQUEST_DATA: more: %d, requested events: %d, sent: %d\n",imore,requestedRawData,isent); */
requestedRawData += imore;
}
else if (strcmp(word,"MAXSEND") == 0)
{
cerr << "DisFeedDAQ: Command from Dispatcher: " << word << endl;
word = strtok(NULL,":");
if (word)
maxSend = strtoul(word,NULL,0);
printf("DisFeedDAQ: New maxSend is %d\n",maxSend);
}
else if (strcmp(word,"ALLFINISHED") == 0)
{
if (WaitForALLFINISHED)
{
cerr << "DisFeedDAQ: Command ALLFINISHED from Dispatcher: " << word << endl;
// SendBeginTape(runNo);
OkToSendData = 1;
WaitForALLFINISHED = 0;
}
else
{
fprintf(stderr,"DisFeedDAQ: Unexpected command ALLFINISHED from Dispatcher was ignored.\n");
}
}
else if (strcmp(word,"QUIT") == 0)
{
fprintf(stderr,"DisFeedDAQ: Command QUIT from Dispatcher: %s\n",word);
exit(0);
}
else if (strcmp(word,"EXIT") == 0)
{
fprintf(stderr,"DisFeedDAQ: Command EXIT from Dispatcher: %s\n",word);
exit(0);
}
else
{
fprintf(stderr,"DisFeedDAQ: Unexpected command from Dispatcher: [%s] was ignored.\n",msg);
}
}
}
else {
cerr << "Received empty message from the Dispatcher" << endl;
}
return(ret);
}
extern "C" {
int ir_isnan_(float *x)
{
return(0);
}
int ir_isinf_(float *x)
{
return(0);
}
}
void pHeader(clasEvent &event)
{
int trig = event.trig() & (int) 0xf;
//cout << event.run() << " " << event.event() << " " << trig << " " ;
}
void DropList(int DropFlag)
{
/* Mask off banks according to DropFlag*/
if (DropFlag & DROP_RAW) bankList(&bcs_, "E-", "R");
if (DropFlag & DROP_DC0) bankList(&bcs_, "E-", "DC0 ");
if (DropFlag & DROP_DC1) bankList(&bcs_, "E-", "DC1 ");
if (DropFlag & DROP_HBLA) bankList(&bcs_, "E-", "HBLA");
if (DropFlag & DROP_TBLA) bankList(&bcs_, "E-", "TBLA");
if (DropFlag & DROP_HBTB) bankList(&bcs_, "E-", "HBTB");
if (DropFlag & DROP_SC) bankList(&bcs_, "E-", SC_BANKS);
if (DropFlag & DROP_EC) bankList(&bcs_, "E-", EC_BANKS);
if (DropFlag & DROP_HBID) bankList(&bcs_, "E-", "HBID");
if (DropFlag & DROP_CL01) bankList(&bcs_, "E-", "CL01");
if (DropFlag & DROP_SEB) bankList(&bcs_, "E-", SEB_BANKS);
if (DropFlag & DROP_TBID) bankList(&bcs_, "E-", "TBIDPARTTBERTBTR");
if (DropFlag & DROP_HDPL) bankList(&bcs_, "E-", "HDPL");
if (DropFlag & DROP_LAC) bankList(&bcs_, "E-", "EC1R");
if (DropFlag & DROP_CC) bankList(&bcs_, "E-", CC_BANKS);
if (DropFlag & DROP_ST) bankList(&bcs_, "E-", ST_BANKS);
if (DropFlag & DROP_DHCL) bankList(&bcs_, "E-", "DHCL");
if (DropFlag & DROP_TAGR) bankList(&bcs_, "E-", TAGGER_BANKS);
}
/* Fault handlers */
void installFaultHandlers()
{
signal(SIGINT,signalINT);
signal(SIGSEGV,signalSEGV);
// signal(SIGABRT,signalSEGV);
// signal(SIGBUS,signalSEGV);
// signal(SIGPIPE,signalPIPE);
cerr << "Fault handlers installed" << endl;
}
static void signalINT(int isig)
{
clasEvent e;
char mess[100];
static int count = 0;
cerr << "Run/Event: " << CurrentRun << " " << CurrentEvent << endl;
count++;
if (count < 4){
signal(isig,signalINT);
}
else {
exit(0);
}
}
static void signalSEGV(int isig)
{
clasEvent e;
static int icount = 0;
cerr << "signalSEGV: Caught signal " << endl;
cerr << "Run/Event: " << CurrentRun << " " << CurrentEvent << endl;
exit(1);
}
int printGeneralLabels(char *c)
{
int ret = 0;
int print = !strlen(c);
if (print || (strcmp(c,"TAGR") == 0)) {
int nlab = 0;
//cout << "Labels for XXX:" << endl;
//cout << ++nlab << "\tRun {run}" << endl;
//cout << ++nlab << "\tEvent {evt}" << endl;
//cout << ++nlab << "\ttrigger {trig}" << endl;
ret = 1;
}
return(ret);
}
// debugging
| [
"jason.s.bono@gmail.com"
] | jason.s.bono@gmail.com |
554f73f67472f2ea2ea78f82440aff7c84a5934c | 6848723448cc22474863f6506f30bdbac2b6293e | /tools/mosesdecoder-master/moses/TranslationModel/UG/test-boost-threadpool.cc | 3f3340af984de45e603f806f01e4d40a8a378c51 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | Pangeamt/nectm | 74b3052ba51f227cd508b89d3c565feccc0d2f4f | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | refs/heads/master | 2022-04-09T11:21:56.646469 | 2020-03-30T07:37:41 | 2020-03-30T07:37:41 | 250,306,101 | 1 | 0 | Apache-2.0 | 2020-03-26T16:05:11 | 2020-03-26T16:05:10 | null | UTF-8 | C++ | false | false | 642 | cc | #include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <iostream>
#include <vector>
#include <string>
#include "moses/TranslationModel/UG/generic/threading/ug_thread_pool.h"
using namespace std;
class hello
{
size_t n;
public:
hello(size_t const x) : n(x) { }
void operator()() { cout << "hello #" << n << endl; }
};
int main()
{
ug::ThreadPool T(10);
vector<boost::shared_ptr<hello> > jobs;
for (size_t i = 0; i < 20; ++i)
{
boost::shared_ptr<hello> j(new hello(i));
jobs.push_back(j);
T.add(*j);
}
}
| [
"alexander.raginsky@gmail.com"
] | alexander.raginsky@gmail.com |
3fb38b4b2d9278fc3961448e9b3e2349b4b68451 | 100e5c6d699a6c4cd04b791ae48bdb933653d84e | /Eigen/src/Eigenvalues/RealSchur.h | a770b31873398de797cd5dd26ed09a1d4ad950f1 | [] | no_license | andresgsaravia/quantum-models | 002597491c096bebd3ffd4aa211fa7c242a2f056 | 953a0d9c1dfd8107c5edccaefdfb4e9af8ddb31b | refs/heads/master | 2016-09-06T11:28:40.899817 | 2014-03-24T16:09:25 | 2014-03-24T16:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,742 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010,2012 Jitse Niesen <jitse@maths.leeds.ac.uk>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef EIGEN_REAL_SCHUR_H
#define EIGEN_REAL_SCHUR_H
#include "./HessenbergDecomposition.h"
namespace Eigen {
/** \eigenvalues_module \ingroup Eigenvalues_Module
*
*
* \class RealSchur
*
* \brief Performs a real Schur decomposition of a square matrix
*
* \tparam _MatrixType the type of the matrix of which we are computing the
* real Schur decomposition; this is expected to be an instantiation of the
* Matrix class template.
*
* Given a real square matrix A, this class computes the real Schur
* decomposition: \f$ A = U T U^T \f$ where U is a real orthogonal matrix and
* T is a real quasi-triangular matrix. An orthogonal matrix is a matrix whose
* inverse is equal to its transpose, \f$ U^{-1} = U^T \f$. A quasi-triangular
* matrix is a block-triangular matrix whose diagonal consists of 1-by-1
* blocks and 2-by-2 blocks with complex eigenvalues. The eigenvalues of the
* blocks on the diagonal of T are the same as the eigenvalues of the matrix
* A, and thus the real Schur decomposition is used in EigenSolver to compute
* the eigendecomposition of a matrix.
*
* Call the function compute() to compute the real Schur decomposition of a
* given matrix. Alternatively, you can use the RealSchur(const MatrixType&, bool)
* constructor which computes the real Schur decomposition at construction
* time. Once the decomposition is computed, you can use the matrixU() and
* matrixT() functions to retrieve the matrices U and T in the decomposition.
*
* The documentation of RealSchur(const MatrixType&, bool) contains an example
* of the typical use of this class.
*
* \note The implementation is adapted from
* <a href="http://math.nist.gov/javanumerics/jama/">JAMA</a> (public domain).
* Their code is based on EISPACK.
*
* \sa class ComplexSchur, class EigenSolver, class ComplexEigenSolver
*/
template<typename _MatrixType> class RealSchur
{
public:
typedef _MatrixType MatrixType;
enum {
RowsAtCompileTime = MatrixType::RowsAtCompileTime,
ColsAtCompileTime = MatrixType::ColsAtCompileTime,
Options = MatrixType::Options,
MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime
};
typedef typename MatrixType::Scalar Scalar;
typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
typedef typename MatrixType::Index Index;
typedef Matrix<ComplexScalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> EigenvalueType;
typedef Matrix<Scalar, ColsAtCompileTime, 1, Options & ~RowMajor, MaxColsAtCompileTime, 1> ColumnVectorType;
/** \brief Default constructor.
*
* \param [in] size Positive integer, size of the matrix whose Schur decomposition will be computed.
*
* The default constructor is useful in cases in which the user intends to
* perform decompositions via compute(). The \p size parameter is only
* used as a hint. It is not an error to give a wrong \p size, but it may
* impair performance.
*
* \sa compute() for an example.
*/
RealSchur(Index size = RowsAtCompileTime==Dynamic ? 1 : RowsAtCompileTime)
: m_matT(size, size),
m_matU(size, size),
m_workspaceVector(size),
m_hess(size),
m_isInitialized(false),
m_matUisUptodate(false),
m_maxIters(-1)
{ }
/** \brief Constructor; computes real Schur decomposition of given matrix.
*
* \param[in] matrix Square matrix whose Schur decomposition is to be computed.
* \param[in] computeU If true, both T and U are computed; if false, only T is computed.
*
* This constructor calls compute() to compute the Schur decomposition.
*
* Example: \include RealSchur_RealSchur_MatrixType.cpp
* Output: \verbinclude RealSchur_RealSchur_MatrixType.out
*/
RealSchur(const MatrixType& matrix, bool computeU = true)
: m_matT(matrix.rows(),matrix.cols()),
m_matU(matrix.rows(),matrix.cols()),
m_workspaceVector(matrix.rows()),
m_hess(matrix.rows()),
m_isInitialized(false),
m_matUisUptodate(false),
m_maxIters(-1)
{
compute(matrix, computeU);
}
/** \brief Returns the orthogonal matrix in the Schur decomposition.
*
* \returns A const reference to the matrix U.
*
* \pre Either the constructor RealSchur(const MatrixType&, bool) or the
* member function compute(const MatrixType&, bool) has been called before
* to compute the Schur decomposition of a matrix, and \p computeU was set
* to true (the default value).
*
* \sa RealSchur(const MatrixType&, bool) for an example
*/
const MatrixType& matrixU() const
{
eigen_assert(m_isInitialized && "RealSchur is not initialized.");
eigen_assert(m_matUisUptodate && "The matrix U has not been computed during the RealSchur decomposition.");
return m_matU;
}
/** \brief Returns the quasi-triangular matrix in the Schur decomposition.
*
* \returns A const reference to the matrix T.
*
* \pre Either the constructor RealSchur(const MatrixType&, bool) or the
* member function compute(const MatrixType&, bool) has been called before
* to compute the Schur decomposition of a matrix.
*
* \sa RealSchur(const MatrixType&, bool) for an example
*/
const MatrixType& matrixT() const
{
eigen_assert(m_isInitialized && "RealSchur is not initialized.");
return m_matT;
}
/** \brief Computes Schur decomposition of given matrix.
*
* \param[in] matrix Square matrix whose Schur decomposition is to be computed.
* \param[in] computeU If true, both T and U are computed; if false, only T is computed.
* \returns Reference to \c *this
*
* The Schur decomposition is computed by first reducing the matrix to
* Hessenberg form using the class HessenbergDecomposition. The Hessenberg
* matrix is then reduced to triangular form by performing Francis QR
* iterations with implicit double shift. The cost of computing the Schur
* decomposition depends on the number of iterations; as a rough guide, it
* may be taken to be \f$25n^3\f$ flops if \a computeU is true and
* \f$10n^3\f$ flops if \a computeU is false.
*
* Example: \include RealSchur_compute.cpp
* Output: \verbinclude RealSchur_compute.out
*
* \sa compute(const MatrixType&, bool, Index)
*/
RealSchur& compute(const MatrixType& matrix, bool computeU = true);
/** \brief Computes Schur decomposition of a Hessenberg matrix H = Z T Z^T
* \param[in] matrixH Matrix in Hessenberg form H
* \param[in] matrixQ orthogonal matrix Q that transform a matrix A to H : A = Q H Q^T
* \param computeU Computes the matriX U of the Schur vectors
* \return Reference to \c *this
*
* This routine assumes that the matrix is already reduced in Hessenberg form matrixH
* using either the class HessenbergDecomposition or another mean.
* It computes the upper quasi-triangular matrix T of the Schur decomposition of H
* When computeU is true, this routine computes the matrix U such that
* A = U T U^T = (QZ) T (QZ)^T = Q H Q^T where A is the initial matrix
*
* NOTE Q is referenced if computeU is true; so, if the initial orthogonal matrix
* is not available, the user should give an identity matrix (Q.setIdentity())
*
* \sa compute(const MatrixType&, bool)
*/
template<typename HessMatrixType, typename OrthMatrixType>
RealSchur& computeFromHessenberg(const HessMatrixType& matrixH, const OrthMatrixType& matrixQ, bool computeU);
/** \brief Reports whether previous computation was successful.
*
* \returns \c Success if computation was succesful, \c NoConvergence otherwise.
*/
ComputationInfo info() const
{
eigen_assert(m_isInitialized && "RealSchur is not initialized.");
return m_info;
}
/** \brief Sets the maximum number of iterations allowed.
*
* If not specified by the user, the maximum number of iterations is m_maxIterationsPerRow times the size
* of the matrix.
*/
RealSchur& setMaxIterations(Index maxIters)
{
m_maxIters = maxIters;
return *this;
}
/** \brief Returns the maximum number of iterations. */
Index getMaxIterations()
{
return m_maxIters;
}
/** \brief Maximum number of iterations per row.
*
* If not otherwise specified, the maximum number of iterations is this number times the size of the
* matrix. It is currently set to 40.
*/
static const int m_maxIterationsPerRow = 40;
private:
MatrixType m_matT;
MatrixType m_matU;
ColumnVectorType m_workspaceVector;
HessenbergDecomposition<MatrixType> m_hess;
ComputationInfo m_info;
bool m_isInitialized;
bool m_matUisUptodate;
Index m_maxIters;
typedef Matrix<Scalar,3,1> Vector3s;
Scalar computeNormOfT();
Index findSmallSubdiagEntry(Index iu, Scalar norm);
void splitOffTwoRows(Index iu, bool computeU, Scalar exshift);
void computeShift(Index iu, Index iter, Scalar& exshift, Vector3s& shiftInfo);
void initFrancisQRStep(Index il, Index iu, const Vector3s& shiftInfo, Index& im, Vector3s& firstHouseholderVector);
void performFrancisQRStep(Index il, Index im, Index iu, bool computeU, const Vector3s& firstHouseholderVector, Scalar* workspace);
};
template<typename MatrixType>
RealSchur<MatrixType>& RealSchur<MatrixType>::compute(const MatrixType& matrix, bool computeU)
{
eigen_assert(matrix.cols() == matrix.rows());
Index maxIters = m_maxIters;
if (maxIters == -1)
maxIters = m_maxIterationsPerRow * matrix.rows();
// Step 1. Reduce to Hessenberg form
m_hess.compute(matrix);
// Step 2. Reduce to real Schur form
computeFromHessenberg(m_hess.matrixH(), m_hess.matrixQ(), computeU);
return *this;
}
template<typename MatrixType>
template<typename HessMatrixType, typename OrthMatrixType>
RealSchur<MatrixType>& RealSchur<MatrixType>::computeFromHessenberg(const HessMatrixType& matrixH, const OrthMatrixType& matrixQ, bool computeU)
{
m_matT = matrixH;
if(computeU)
m_matU = matrixQ;
Index maxIters = m_maxIters;
if (maxIters == -1)
maxIters = m_maxIterationsPerRow * matrixH.rows();
m_workspaceVector.resize(m_matT.cols());
Scalar* workspace = &m_workspaceVector.coeffRef(0);
// The matrix m_matT is divided in three parts.
// Rows 0,...,il-1 are decoupled from the rest because m_matT(il,il-1) is zero.
// Rows il,...,iu is the part we are working on (the active window).
// Rows iu+1,...,end are already brought in triangular form.
Index iu = m_matT.cols() - 1;
Index iter = 0; // iteration count for current eigenvalue
Index totalIter = 0; // iteration count for whole matrix
Scalar exshift(0); // sum of exceptional shifts
Scalar norm = computeNormOfT();
if(norm!=0)
{
while (iu >= 0)
{
Index il = findSmallSubdiagEntry(iu, norm);
// Check for convergence
if (il == iu) // One root found
{
m_matT.coeffRef(iu,iu) = m_matT.coeff(iu,iu) + exshift;
if (iu > 0)
m_matT.coeffRef(iu, iu-1) = Scalar(0);
iu--;
iter = 0;
}
else if (il == iu-1) // Two roots found
{
splitOffTwoRows(iu, computeU, exshift);
iu -= 2;
iter = 0;
}
else // No convergence yet
{
// The firstHouseholderVector vector has to be initialized to something to get rid of a silly GCC warning (-O1 -Wall -DNDEBUG )
Vector3s firstHouseholderVector(0,0,0), shiftInfo;
computeShift(iu, iter, exshift, shiftInfo);
iter = iter + 1;
totalIter = totalIter + 1;
if (totalIter > maxIters) break;
Index im;
initFrancisQRStep(il, iu, shiftInfo, im, firstHouseholderVector);
performFrancisQRStep(il, im, iu, computeU, firstHouseholderVector, workspace);
}
}
}
if(totalIter <= maxIters)
m_info = Success;
else
m_info = NoConvergence;
m_isInitialized = true;
m_matUisUptodate = computeU;
return *this;
}
/** \internal Computes and returns vector L1 norm of T */
template<typename MatrixType>
inline typename MatrixType::Scalar RealSchur<MatrixType>::computeNormOfT()
{
const Index size = m_matT.cols();
// FIXME to be efficient the following would requires a triangular reduxion code
// Scalar norm = m_matT.upper().cwiseAbs().sum()
// + m_matT.bottomLeftCorner(size-1,size-1).diagonal().cwiseAbs().sum();
Scalar norm(0);
for (Index j = 0; j < size; ++j)
norm += m_matT.col(j).segment(0, (std::min)(size,j+2)).cwiseAbs().sum();
return norm;
}
/** \internal Look for single small sub-diagonal element and returns its index */
template<typename MatrixType>
inline typename MatrixType::Index RealSchur<MatrixType>::findSmallSubdiagEntry(Index iu, Scalar norm)
{
using std::abs;
Index res = iu;
while (res > 0)
{
Scalar s = abs(m_matT.coeff(res-1,res-1)) + abs(m_matT.coeff(res,res));
if (s == 0.0)
s = norm;
if (abs(m_matT.coeff(res,res-1)) < NumTraits<Scalar>::epsilon() * s)
break;
res--;
}
return res;
}
/** \internal Update T given that rows iu-1 and iu decouple from the rest. */
template<typename MatrixType>
inline void RealSchur<MatrixType>::splitOffTwoRows(Index iu, bool computeU, Scalar exshift)
{
using std::sqrt;
using std::abs;
const Index size = m_matT.cols();
// The eigenvalues of the 2x2 matrix [a b; c d] are
// trace +/- sqrt(discr/4) where discr = tr^2 - 4*det, tr = a + d, det = ad - bc
Scalar p = Scalar(0.5) * (m_matT.coeff(iu-1,iu-1) - m_matT.coeff(iu,iu));
Scalar q = p * p + m_matT.coeff(iu,iu-1) * m_matT.coeff(iu-1,iu); // q = tr^2 / 4 - det = discr/4
m_matT.coeffRef(iu,iu) += exshift;
m_matT.coeffRef(iu-1,iu-1) += exshift;
if (q >= Scalar(0)) // Two real eigenvalues
{
Scalar z = sqrt(abs(q));
JacobiRotation<Scalar> rot;
if (p >= Scalar(0))
rot.makeGivens(p + z, m_matT.coeff(iu, iu-1));
else
rot.makeGivens(p - z, m_matT.coeff(iu, iu-1));
m_matT.rightCols(size-iu+1).applyOnTheLeft(iu-1, iu, rot.adjoint());
m_matT.topRows(iu+1).applyOnTheRight(iu-1, iu, rot);
m_matT.coeffRef(iu, iu-1) = Scalar(0);
if (computeU)
m_matU.applyOnTheRight(iu-1, iu, rot);
}
if (iu > 1)
m_matT.coeffRef(iu-1, iu-2) = Scalar(0);
}
/** \internal Form shift in shiftInfo, and update exshift if an exceptional shift is performed. */
template<typename MatrixType>
inline void RealSchur<MatrixType>::computeShift(Index iu, Index iter, Scalar& exshift, Vector3s& shiftInfo)
{
using std::sqrt;
using std::abs;
shiftInfo.coeffRef(0) = m_matT.coeff(iu,iu);
shiftInfo.coeffRef(1) = m_matT.coeff(iu-1,iu-1);
shiftInfo.coeffRef(2) = m_matT.coeff(iu,iu-1) * m_matT.coeff(iu-1,iu);
// Wilkinson's original ad hoc shift
if (iter == 10)
{
exshift += shiftInfo.coeff(0);
for (Index i = 0; i <= iu; ++i)
m_matT.coeffRef(i,i) -= shiftInfo.coeff(0);
Scalar s = abs(m_matT.coeff(iu,iu-1)) + abs(m_matT.coeff(iu-1,iu-2));
shiftInfo.coeffRef(0) = Scalar(0.75) * s;
shiftInfo.coeffRef(1) = Scalar(0.75) * s;
shiftInfo.coeffRef(2) = Scalar(-0.4375) * s * s;
}
// MATLAB's new ad hoc shift
if (iter == 30)
{
Scalar s = (shiftInfo.coeff(1) - shiftInfo.coeff(0)) / Scalar(2.0);
s = s * s + shiftInfo.coeff(2);
if (s > Scalar(0))
{
s = sqrt(s);
if (shiftInfo.coeff(1) < shiftInfo.coeff(0))
s = -s;
s = s + (shiftInfo.coeff(1) - shiftInfo.coeff(0)) / Scalar(2.0);
s = shiftInfo.coeff(0) - shiftInfo.coeff(2) / s;
exshift += s;
for (Index i = 0; i <= iu; ++i)
m_matT.coeffRef(i,i) -= s;
shiftInfo.setConstant(Scalar(0.964));
}
}
}
/** \internal Compute index im at which Francis QR step starts and the first Householder vector. */
template<typename MatrixType>
inline void RealSchur<MatrixType>::initFrancisQRStep(Index il, Index iu, const Vector3s& shiftInfo, Index& im, Vector3s& firstHouseholderVector)
{
using std::abs;
Vector3s& v = firstHouseholderVector; // alias to save typing
for (im = iu-2; im >= il; --im)
{
const Scalar Tmm = m_matT.coeff(im,im);
const Scalar r = shiftInfo.coeff(0) - Tmm;
const Scalar s = shiftInfo.coeff(1) - Tmm;
v.coeffRef(0) = (r * s - shiftInfo.coeff(2)) / m_matT.coeff(im+1,im) + m_matT.coeff(im,im+1);
v.coeffRef(1) = m_matT.coeff(im+1,im+1) - Tmm - r - s;
v.coeffRef(2) = m_matT.coeff(im+2,im+1);
if (im == il) {
break;
}
const Scalar lhs = m_matT.coeff(im,im-1) * (abs(v.coeff(1)) + abs(v.coeff(2)));
const Scalar rhs = v.coeff(0) * (abs(m_matT.coeff(im-1,im-1)) + abs(Tmm) + abs(m_matT.coeff(im+1,im+1)));
if (abs(lhs) < NumTraits<Scalar>::epsilon() * rhs)
{
break;
}
}
}
/** \internal Perform a Francis QR step involving rows il:iu and columns im:iu. */
template<typename MatrixType>
inline void RealSchur<MatrixType>::performFrancisQRStep(Index il, Index im, Index iu, bool computeU, const Vector3s& firstHouseholderVector, Scalar* workspace)
{
eigen_assert(im >= il);
eigen_assert(im <= iu-2);
const Index size = m_matT.cols();
for (Index k = im; k <= iu-2; ++k)
{
bool firstIteration = (k == im);
Vector3s v;
if (firstIteration)
v = firstHouseholderVector;
else
v = m_matT.template block<3,1>(k,k-1);
Scalar tau, beta;
Matrix<Scalar, 2, 1> ess;
v.makeHouseholder(ess, tau, beta);
if (beta != Scalar(0)) // if v is not zero
{
if (firstIteration && k > il)
m_matT.coeffRef(k,k-1) = -m_matT.coeff(k,k-1);
else if (!firstIteration)
m_matT.coeffRef(k,k-1) = beta;
// These Householder transformations form the O(n^3) part of the algorithm
m_matT.block(k, k, 3, size-k).applyHouseholderOnTheLeft(ess, tau, workspace);
m_matT.block(0, k, (std::min)(iu,k+3) + 1, 3).applyHouseholderOnTheRight(ess, tau, workspace);
if (computeU)
m_matU.block(0, k, size, 3).applyHouseholderOnTheRight(ess, tau, workspace);
}
}
Matrix<Scalar, 2, 1> v = m_matT.template block<2,1>(iu-1, iu-2);
Scalar tau, beta;
Matrix<Scalar, 1, 1> ess;
v.makeHouseholder(ess, tau, beta);
if (beta != Scalar(0)) // if v is not zero
{
m_matT.coeffRef(iu-1, iu-2) = beta;
m_matT.block(iu-1, iu-1, 2, size-iu+1).applyHouseholderOnTheLeft(ess, tau, workspace);
m_matT.block(0, iu-1, iu+1, 2).applyHouseholderOnTheRight(ess, tau, workspace);
if (computeU)
m_matU.block(0, iu-1, size, 2).applyHouseholderOnTheRight(ess, tau, workspace);
}
// clean up pollution due to round-off errors
for (Index i = im+2; i <= iu; ++i)
{
m_matT.coeffRef(i,i-2) = Scalar(0);
if (i > im+2)
m_matT.coeffRef(i,i-3) = Scalar(0);
}
}
} // end namespace Eigen
#endif // EIGEN_REAL_SCHUR_H
| [
"ags3006@member.fsf.org"
] | ags3006@member.fsf.org |
5c79ae5568ef0a301702819c482daa486a1153c4 | bb7f69d584b1303e0c5d182a8d5c3989e49e4d9b | /winlcx/stdafx.cpp | 526c6d69d0ea89e334859941702ae85b89fbeea1 | [] | no_license | PHPPlay/lcx | 327cd80969c5573d40c7d05be6e2a32fa6b57844 | e623fe696c8e12b92d996d3669bd94210216ff3a | refs/heads/master | 2020-12-11T02:03:11.796161 | 2016-07-18T16:16:30 | 2016-07-18T16:16:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 257 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// winlcx.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"2bcoder@gmail.com"
] | 2bcoder@gmail.com |
0ec0910a664e1901c23121be08931e93dde92659 | 0c51500f87101f13c471f0c310e9451a87adc714 | /irs/src/gui/wfipsselectmaptool.h | 2c1356b2fb8550b7e3d10987cea12f3fe235bd04 | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | firelab/wfips | a5e589fde41579e87008a7900a87692ec985e529 | 6b3bd4934d281ebb31164bd242a57079a82053b0 | refs/heads/master | 2020-05-01T06:03:41.792664 | 2017-01-27T19:31:55 | 2017-01-27T19:31:55 | 14,540,320 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | h | /******************************************************************************
*
* Project: Wildland Fire Investment Planning System
* Purpose: Graphical User Interface
* Author: Kyle Shannon <kyle at pobox dot com>
*
******************************************************************************
*
* THIS SOFTWARE WAS DEVELOPED AT THE ROCKY MOUNTAIN RESEARCH STATION (RMRS)
* MISSOULA FIRE SCIENCES LABORATORY BY EMPLOYEES OF THE FEDERAL GOVERNMENT
* IN THE COURSE OF THEIR OFFICIAL DUTIES. PURSUANT TO TITLE 17 SECTION 105
* OF THE UNITED STATES CODE, THIS SOFTWARE IS NOT SUBJECT TO COPYRIGHT
* PROTECTION AND IS IN THE PUBLIC DOMAIN. RMRS MISSOULA FIRE SCIENCES
* LABORATORY ASSUMES NO RESPONSIBILITY WHATSOEVER FOR ITS USE BY OTHER
* PARTIES, AND MAKES NO GUARANTEES, EXPRESSED OR IMPLIED, ABOUT ITS QUALITY,
* RELIABILITY, OR ANY OTHER CHARACTERISTIC.
*
* 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.
*
*****************************************************************************/
#ifndef WFIPS_SELECT_MAP_TOOL_H_
#define WFIPS_SELECT_MAP_TOOL_H_
#include <QMouseEvent>
#include <qgsmapcanvas.h>
#include <qgsmaptoolidentify.h>
class WfipsSelectMapTool : public QgsMapToolIdentify
{
Q_OBJECT
public:
WfipsSelectMapTool( QgsMapCanvas *mapCanvas );
void canvasReleaseEvent( QMouseEvent *e );
void clear();
private:
QgsFeatureIds fids;
signals:
void WfipsSelect( QgsFeatureIds fids );
};
#endif /* WFIPS_SELECT_MAP_TOOL_H_ */
| [
"kyle@pobox.com"
] | kyle@pobox.com |
b26d06d8c2b71a5147e62a805bdc0611ca6e1942 | 2f5f72b081e0408c279351d7a5ef60118200e84d | /gtest__example/test/main.cpp | cd02217593d4b072a59786684e1a499b1ccf509d | [] | no_license | czerniecki-wojciech/cmake_magisterka | 2aad80ea918dfba215d0f188beed104f6c9bc898 | 752da71ddbe5b7a454ac462d4ec5d22294929afe | refs/heads/master | 2021-01-19T11:11:51.707467 | 2016-07-22T21:07:20 | 2016-07-22T21:07:20 | 60,837,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include "gtest/gtest.h"
#include "../src/simple_calc.h"
TEST(CalcTests, OnePlusTwoShouldBeEqualThree) {
simple_calc sc;
EXPECT_EQ(3, sc.addInts(1,2));
}
int main(int argc, char* argv[])
{
::testing::InitGoogleTest(&argc, argv);
RUN_ALL_TESTS();
return 0;
}
| [
"czerniecki.wojciech@gmail.com"
] | czerniecki.wojciech@gmail.com |
d5f69ae05b0359675b3b41b9b7dce0626a389b44 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/versions/CPMHitsAuxContainer_v1.h | b582d09aba374e4b76c5d05f68c95133ab77a76d | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | h | // Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id: CPMHitsAuxContainer_v1.h 631511 2014-11-27 13:17:07Z gwatts $
#ifndef XAODTRIGL1CALO_VERSIONS_CPMHITSAUXCONTAINER_V1_H
#define XAODTRIGL1CALO_VERSIONS_CPMHITSAUXCONTAINER_V1_H
// STL include(s):
#include <vector>
// EDM include(s):
#include "xAODCore/AuxContainerBase.h"
namespace xAOD{
/// AuxContainer for CPMHits_v1
///
/// @author John Morris <john.morris@cern.ch>
///
/// $Revision: 631511 $
/// $Date: 2014-11-27 14:17:07 +0100 (Thu, 27 Nov 2014) $
class CPMHitsAuxContainer_v1 : public AuxContainerBase {
public:
// Default constructor
CPMHitsAuxContainer_v1();
private:
std::vector<int> crate;
std::vector<int> module;
std::vector<int> peak;
std::vector<std::vector<unsigned int> > hitsVec0;
std::vector<std::vector<unsigned int> > hitsVec1;
}; // class CPMHitsAuxContainer_v1
} // namespace xAOD
// Set up a CLID and StoreGate inheritance for the class:
#include "xAODCore/BaseInfo.h"
SG_BASE( xAOD::CPMHitsAuxContainer_v1, xAOD::AuxContainerBase );
#endif // XAODTRIGL1CALO_VERSIONS_CPMHITSAUXCONTAINER_V1_H
| [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
a600a452df58b45fe79a57c6907262ad74496992 | 33272134967c7bcc0f2e1dd8de6e0cbc220cbb8c | /google/cloud/bigquery/internal/connection_impl_test.cc | 40706b9bd6fe153c9834588588ca13b9222696af | [
"Apache-2.0"
] | permissive | justinseinlin/google-cloud-cpp-bigquery | f4868c16773d6898d6a66c78b68aaecb35cf40b1 | 612214ad9c8e36793613dd071b891dced249eb9f | refs/heads/master | 2020-08-27T02:12:40.445813 | 2019-10-30T15:41:48 | 2019-10-30T15:41:48 | 217,215,815 | 0 | 0 | Apache-2.0 | 2019-10-24T05:08:08 | 2019-10-24T05:08:06 | null | UTF-8 | C++ | false | false | 5,022 | cc | // Copyright 2019 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 "google/cloud/bigquery/internal/connection_impl.h"
#include "google/cloud/bigquery/internal/bigquerystorage_stub.h"
#include "google/cloud/bigquery/testing/mock_bigquerystorage_stub.h"
#include "google/cloud/bigquery/version.h"
#include "google/cloud/status_or.h"
#include <google/cloud/bigquery/storage/v1beta1/storage.pb.h>
#include <google/protobuf/text_format.h>
#include <gmock/gmock.h>
#include <memory>
#include <sstream>
#include <string>
namespace google {
namespace cloud {
namespace bigquery {
inline namespace BIGQUERY_CLIENT_NS {
namespace internal {
namespace {
namespace bigquerystorage_proto = ::google::cloud::bigquery::storage::v1beta1;
using ::google::cloud::Status;
using ::google::cloud::StatusCode;
using ::google::cloud::StatusOr;
using ::google::protobuf::TextFormat;
using ::testing::_;
using ::testing::ElementsAre;
using ::testing::Eq;
using ::testing::IsTrue;
TEST(ConnectionImplTest, ParallelReadTableFailure) {
auto mock = std::make_shared<bigquery_testing::MockBigQueryStorageStub>();
auto conn = MakeConnection(mock);
{
StatusOr<std::vector<ReadStream>> result = conn->ParallelRead(
"my-parent-project", "my-project.my-dataset.my-table");
EXPECT_THAT(result.status().code(), Eq(StatusCode::kInvalidArgument));
EXPECT_THAT(
result.status().message(),
Eq("Table name must be of the form PROJECT_ID:DATASET_ID.TABLE_ID."));
}
{
StatusOr<std::vector<ReadStream>> result = conn->ParallelRead(
"my-parent-project", "my-project:my-dataset:my-table");
EXPECT_THAT(result.status().code(), Eq(StatusCode::kInvalidArgument));
EXPECT_THAT(
result.status().message(),
Eq("Table name must be of the form PROJECT_ID:DATASET_ID.TABLE_ID."));
}
}
TEST(ConnectionImplTest, ParallelReadRpcFailure) {
auto mock = std::make_shared<bigquery_testing::MockBigQueryStorageStub>();
auto conn = MakeConnection(mock);
EXPECT_CALL(*mock, CreateReadSession(_))
.WillOnce(
testing::Invoke([](bigquerystorage_proto::
CreateReadSessionRequest const& /*request*/) {
return Status(StatusCode::kPermissionDenied, "Permission denied!");
}));
StatusOr<std::vector<ReadStream>> result =
conn->ParallelRead("my-parent-project", "my-project:my-dataset.my-table");
EXPECT_THAT(result.status().code(), Eq(StatusCode::kPermissionDenied));
EXPECT_THAT(result.status().message(), Eq("Permission denied!"));
}
TEST(ConnectionImplTest, ParallelReadRpcSuccess) {
auto mock = std::make_shared<bigquery_testing::MockBigQueryStorageStub>();
auto conn = MakeConnection(mock);
EXPECT_CALL(*mock, CreateReadSession(_))
.WillOnce(testing::Invoke(
[](bigquerystorage_proto::CreateReadSessionRequest const& request)
-> StatusOr<bigquerystorage_proto::ReadSession> {
EXPECT_THAT(request.parent(), Eq("projects/my-parent-project"));
EXPECT_THAT(request.table_reference().project_id(),
Eq("my-project"));
EXPECT_THAT(request.table_reference().dataset_id(),
Eq("my-dataset"));
EXPECT_THAT(request.table_reference().table_id(), Eq("my-table"));
EXPECT_THAT(request.read_options().selected_fields_size(), Eq(2));
EXPECT_THAT(request.read_options().selected_fields(0), Eq("col-0"));
EXPECT_THAT(request.read_options().selected_fields(1), Eq("col-1"));
bigquerystorage_proto::ReadSession response;
EXPECT_TRUE(TextFormat::ParseFromString(
R"pb(
name: "my-session"
streams {name: "stream-0"}
streams {name: "stream-1"}
streams {name: "stream-2"}
)pb", &response));
return response;
}));
StatusOr<std::vector<ReadStream>> result =
conn->ParallelRead("my-parent-project", "my-project:my-dataset.my-table",
{"col-0", "col-1"});
EXPECT_THAT(result.ok(), IsTrue());
EXPECT_THAT(result.value(), ElementsAre(MakeReadStream("stream-0"),
MakeReadStream("stream-1"),
MakeReadStream("stream-2")));
}
} // namespace
} // namespace internal
} // namespace BIGQUERY_CLIENT_NS
} // namespace bigquery
} // namespace cloud
} // namespace google
| [
"noreply@github.com"
] | noreply@github.com |
6c6257b3aca42f24d89cbaea257c40d12b6bb58b | fea779942fbbe4e3c03cb9bc78b0a99e56cb17e5 | /cpp/m4systray/inc/mainmonitor.hpp | 34eb14ce686ac1a56b0b96fd887a0b2215050c6d | [] | no_license | jesuscraf/peopletech | 66e372af07f9a3dd4660ef14b93daddf92a5e3c8 | 3ab9470cf2e7cb7a44baf4185710cb707f081ff4 | refs/heads/master | 2021-09-03T13:37:13.701453 | 2018-01-09T11:49:34 | 2018-01-09T11:49:34 | 114,750,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | hpp | // ==============================================================================
//
// (c) Copyright 1991-2008 Meta Software M.S., S.A
// All rights reserved.
//
// Module: m4systray
// File: mainmonitor.hpp
// Project: m4systray
// Author: Meta Software M.S. , S.A
// Date: 24/11/08
// Language: C++
// Operating System: WINDOWS
// Design Document:
//
// Definition:
//
// This module defines...
//
//
// ==============================================================================
#ifndef mainmonitor_hpp
#define mainmonitor_hpp 1
#include <windows.h>
/* -- Redo if want to show tray icon ------------------------------------------------
/* -- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// -- -------------------------------------------------------------------------------
// -- Meta4 system tray icon wrapper.
// -- -------------------------------------------------------------------------------
class ClSysTrayIcon
{
public:
// -- Cttor.
// --
// -- ai_hInstance: Current instance application handle.
// -- ai_hIcon: Loaded icon handle.
ClSysTrayIcon( HINSTANCE ai_hInstance, HICON ai_hIcon ) ;
// -- Dttor.
virtual ~ClSysTrayIcon() ;
public:
static LRESULT CALLBACK m4CBFunc(HWND ai_hWnd, UINT ai_message, WPARAM ai_wParam, LPARAM ai_lParam) ;
private:
HINSTANCE m_hInstance ;
NOTIFYICONDATA m_stNIData ;
HWND m_hWnd ;
static const UINT ms_cuiMessageId ;
} ;
/* -- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-- End Redo ---------------------------------------------------------------------- */
#endif | [
"jesusc@meta4.com"
] | jesusc@meta4.com |
09864252a9b75dbf82502f6796e0b736c7b1fad8 | da8daee8f8966b6dc7555b76fc12df21fa8ca92a | /defines.h | a456113cfe323c3ed8948f1767995021f1aa12aa | [] | no_license | paulwesinger/Sicbo | 0bc9fd670084586cf7120c5b6ad016e070ad865b | 6a47fff186af4fbaf98207e711b28385eaaaa28c | refs/heads/master | 2023-01-14T14:09:49.928595 | 2020-11-24T19:31:16 | 2020-11-24T19:31:16 | 315,100,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,042 | h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: defines.h
* Author: paul
*
* Created on 05. Jänner 2019, 13:04
*/
#ifndef DEFINES_H
#define DEFINES_H
#include <vector>
#include <string>
const int MAX_SCHEMES = 6; // siehe COLOR_SCHEMES
const std::string NO_FILE = "NO FILE";
// Structs for Objects to read in
enum ObjectType {
ZYLINER = 0 ,
KUGEL ,
ECK4 ,
ECK6
};
enum COLOR_Sheme {
DARK = 0,
RED,
BLUE,
GREEN,
YELLOW,
SYSTEM
};
typedef void (*FP)(); // Zeiger auf Funktion wird für eventhandling gebraucht
typedef struct {
int x;
int y;
int x1;
int y1;
} sRect;
typedef struct{
int x;
int y;
} sPOINT;
struct sSize {
int w;
int h;
} ;
typedef struct _float2{
float x;
float y;
} FLOAT2;
typedef struct _float3{
float x;
float y;
float z;
}FLOAT3;
typedef struct _float4{
float x;
float y;
float z;
float w;
}FLOAT4;
typedef struct {
float x;
float y;
float z;
} VECTOR;
typedef struct _2D{
long id;
float x;
float y;
}VECTOR2D;
typedef struct _3D{
long id;
_float3 vector;
_float3 normale;
}VECTOR3D;
typedef struct _transform {
_float3 translate;
_float3 rotate;
_float3 scale;
}TRANSFORM;
typedef struct _face {
short p0;
short p1;
short p2;
}FACE;
typedef struct{
float u;
float v;
}TEXTURECOORDS;
typedef struct _color{
_float4 color;
}COLOR;
typedef struct _material{
_float3 ambient;
_float3 diffuse;
_float3 specular;
float shiness;
} MATERIAL;
// Header for global defines
// Mouse
typedef struct {
int lastx,x;
int lasty,y;
} MOUSE;
enum Events{
NO_INPUT = 0,
MOUSE_Move,
// Input Key
KEY_Esc,
KEY_Left,
KEY_Right,
KEY_Up ,
KEY_Down ,
NUM_0,
NUM_1,
NUM_2,
NUM_3,
NUM_4,
NUM_5,
NUM_6,
NUM_7,
NUM_8,
NUM_9,
// A S D E für rotate Camera
KEY_A,
KEY_S,
KEY_D,
KEY_E,
//ortho bzw perspective mode:
KEY_O,
KEY_P,
// Wired or Textured
KEY_W,
KEY_T,
KEY_C,
MOUSE_Move_Right = 100,
MOUSE_Move_Left ,
MOUSE_Move_Up,
MOUSE_Move_Down,
MOUISE_BTN_Left_Clk = 10000 ,
MOUSE_BTN_Right_Clk ,
MOUSE_BTN_MiddLe_Clk,
MOUSE_Wheel
};
enum ShaderType {
COLOR_SHADER = 0,
TEXTURE_SHADER,
LIGHT_SHADER
};
// ------------------------------------------------------
// needed for loading 2D and 3D objects from a file
// ------------------------------------------------------
typedef struct {
bool firstTranslate;
bool hasLight;
TRANSFORM trans;
FLOAT3 origin;
FLOAT4 color;
std::string textures;
}s3DStruct;
#endif /* DEFINES_H */
| [
"paul@localhost.localdomain"
] | paul@localhost.localdomain |
23bf9d4c7874b84b0761a5ad1dcdec25803fefcd | 941a19bb7bb40beeb98179d8d64417bcf7ba2655 | /OpenGLSeed/Model/WorldObject/Triangle.cpp | 7cb1582c7938257d23bf8269d86665cb68598c3f | [] | no_license | Abhitipu/rubiks-cube-cracker | 85f282ed513428d16a6de7d0eb96d0789c4a5789 | ce7af43ad5c236dd1f50f529783e5fa254149bce | refs/heads/master | 2023-04-09T00:27:59.128073 | 2021-04-16T14:15:58 | 2021-04-16T14:15:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cpp | #include "WorldObject.h"
namespace busybin
{
/**
* Initialize the vertices.
*/
WorldObject::Triangle::Triangle()
{
this->vertices.resize(3);
}
/**
* Initialize the triangle. The vertices should be clokwise.
* @param v0 Vertex0.
* @param v1 Vertex1.
* @param v2 Vertex2.
*/
WorldObject::Triangle::Triangle(glm::vec3 v0, glm::vec3 v1, glm::vec3 v2)
{
setVertices(v0, v1, v2);
}
/**
* Set the vertices. The vertices should be clockwise.
* @param v0 Vertex0.
* @param v1 Vertex1.
* @param v2 Vertex2.
*/
void WorldObject::Triangle::setVertices(glm::vec3 v0, glm::vec3 v1, glm::vec3 v2)
{
this->vertices.at(0) = v0;
this->vertices.at(1) = v1;
this->vertices.at(2) = v2;
}
/**
* Calculate the face normal.
*/
void WorldObject::Triangle::computeNormal()
{
glm::vec3 U = vertices.at(0) - vertices.at(2);
glm::vec3 V = vertices.at(0) - vertices.at(1);
this->faceNormal = glm::normalize(glm::cross(U, V));
}
/**
* Get the face normal.
*/
glm::vec3 WorldObject::Triangle::getFaceNormal() const
{
return faceNormal;
}
/**
* Get a vector that's tangent to the face normal.
*/
glm::vec3 WorldObject::Triangle::getTangent() const
{
if (fabs(vertices.at(1).x) < .0001 && fabs(vertices.at(1).z)< .0001)
{
if (vertices.at(1).y > 0)
return glm::vec3(1.0f, 0.0f, 0.0f);
else
return glm::vec3(-1.0f, 0.0f, 0.0f);
}
if (vertices.at(2).y > vertices.at(1).y)
return vertices.at(1) - vertices.at(0);
else
return vertices.at(2) - vertices.at(0);
}
}
| [
"benbotto@users.noreply.github.com"
] | benbotto@users.noreply.github.com |
506402d743ad4a61e1a62fcfe2ee22ae74a603fb | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/43/412.c | 3b839451f37bd436520f4dda7af8df26e7880649 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | c | int main()
{
int n,a,k,m,i,j,x=0,y=0;
int prime1,prime2;
cin>>n;
for (i=3;i<=n/2;i=i+2)
{
for (j=1;j<=i;j=j+2)
{
if (i%j==0)
{
x++;
}
}
if (x==2) prime1=1;
else prime1=0;
x=0;
if (prime1==1)
{
a=n-i;
for (m=1;m<=a;m=m+2)
{
if (a%m==0)
{
y++;
}
}
if (y==2) prime2=1;
else prime2=0;
y=0;
if (prime2==1)
cout<<i<<" "<<a<<endl;
}
}
return 0;
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
422c23b1b1f2c48c0f3e112d6d6e14ed798fad55 | 88ae8695987ada722184307301e221e1ba3cc2fa | /ash/test/ash_test_util.cc | a87bebe2475fc83cb31339e8ec1d244b97bd97e7 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 3,165 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/test/ash_test_util.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/system/status_area_widget.h"
#include "ash/system/unified/unified_system_tray.h"
#include "base/files/file_util.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/gfx/image/image.h"
#include "ui/snapshot/snapshot_aura.h"
namespace ash {
namespace {
void SnapshotCallback(base::RunLoop* run_loop,
gfx::Image* ret_image,
gfx::Image image) {
*ret_image = image;
run_loop->Quit();
}
} // namespace
bool TakePrimaryDisplayScreenshotAndSave(const base::FilePath& file_path) {
// Return false if the file extension is not "png".
if (file_path.Extension() != ".png")
return false;
// Return false if `file_path`'s directory does not exist.
const base::FilePath directory_name = file_path.DirName();
if (!base::PathExists(directory_name))
return false;
base::RunLoop run_loop;
gfx::Image image;
ui::GrabWindowSnapshotAsyncAura(
Shell::Get()->GetPrimaryRootWindow(),
Shell::Get()->GetPrimaryRootWindow()->bounds(),
base::BindOnce(&SnapshotCallback, &run_loop, &image));
run_loop.Run();
auto data = image.As1xPNGBytes();
DCHECK_GT(data->size(), 0u);
return base::WriteFile(file_path, *data);
}
void GiveItSomeTimeForDebugging(base::TimeDelta time_duration) {
base::RunLoop run_loop;
base::SingleThreadTaskRunner::GetCurrentDefault()->PostDelayedTask(
FROM_HERE, run_loop.QuitClosure(), time_duration);
run_loop.Run();
}
bool IsSystemTrayForRootWindowVisible(size_t root_window_index) {
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
RootWindowController* controller =
RootWindowController::ForWindow(root_windows[root_window_index]);
return controller->GetStatusAreaWidget()->unified_system_tray()->GetVisible();
}
gfx::ImageSkia CreateSolidColorTestImage(const gfx::Size& image_size,
SkColor color) {
SkBitmap bitmap;
bitmap.allocN32Pixels(image_size.width(), image_size.height());
bitmap.eraseColor(color);
gfx::ImageSkia image = gfx::ImageSkia::CreateFrom1xBitmap(bitmap);
return image;
}
void DecorateWindow(aura::Window* window,
const std::u16string& title,
SkColor color) {
auto* widget = views::Widget::GetWidgetForNativeWindow(window);
DCHECK(widget);
widget->client_view()->AddChildView(
views::Builder<views::View>()
.SetBackground(views::CreateRoundedRectBackground(color, 4.f))
.Build());
// Add a title and an app icon so that the header is fully stocked.
window->SetTitle(title);
SkBitmap bitmap;
bitmap.allocN32Pixels(1, 1);
bitmap.eraseColor(SK_ColorCYAN);
window->SetProperty(aura::client::kAppIconKey,
gfx::ImageSkia::CreateFrom1xBitmap(bitmap));
}
} // namespace ash
| [
"jengelh@inai.de"
] | jengelh@inai.de |
808aab8152083854baadd9f7740d079fbe900a13 | d4235fb113bcbf4adef8467e1db716b169c0640f | /src/consensus/params.h | b47ccc40b1089ca2602c722a98b96b9b698474de | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | phabulu/litecoinz | c0d1b0eb8d8564e7d1d9cf0665b2b2e4bfa8fb87 | f27d3e157811c8ae19bc7165d613f4d4b8ef9523 | refs/heads/master | 2020-03-06T18:55:25.439682 | 2018-03-17T15:04:55 | 2018-03-17T15:04:55 | 127,016,647 | 1 | 0 | MIT | 2018-03-27T16:37:06 | 2018-03-27T16:37:05 | null | UTF-8 | C++ | false | false | 1,379 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Copyright (c) 2017-2018 The LitecoinZ developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CONSENSUS_PARAMS_H
#define BITCOIN_CONSENSUS_PARAMS_H
#include "uint256.h"
namespace Consensus {
/**
* Parameters that influence chain consensus.
*/
struct Params {
uint256 hashGenesisBlock;
bool fCoinbaseMustBeProtected;
/** Needs to evenly divide MAX_SUBSIDY to avoid rounding errors. */
int nSubsidyHalvingInterval;
/** Used to check majorities for block version upgrade */
int nMajorityEnforceBlockUpgrade;
int nMajorityRejectBlockOutdated;
int nMajorityWindow;
/** Proof of work parameters */
uint256 powLimit;
int64_t nPowAveragingWindow;
int64_t nPowMaxAdjustDown;
int64_t nPowMaxAdjustUp;
int64_t nPowTargetSpacing;
int64_t AveragingWindowTimespan() const { return nPowAveragingWindow * nPowTargetSpacing; }
int64_t MinActualTimespan() const { return (AveragingWindowTimespan() * (100 - nPowMaxAdjustUp )) / 100; }
int64_t MaxActualTimespan() const { return (AveragingWindowTimespan() * (100 + nPowMaxAdjustDown)) / 100; }
};
} // namespace Consensus
#endif // BITCOIN_CONSENSUS_PARAMS_H
| [
"team@litecoinz.info"
] | team@litecoinz.info |
8170de02f5980b6b371e193cf4af311797a0cc61 | 853b865976d883ed2f99173227bd1ad4ed5fde55 | /src/WebServer/IOCP.cpp | d0395d3406643c78f06c32144f39682be0be2c39 | [] | no_license | whiletest/webserver | 8cf8209379d72c73908c65925d7521f141514474 | 545d8c246472c0e20226924f7aae27c471268735 | refs/heads/master | 2021-01-13T16:18:41.408647 | 2017-01-28T02:23:43 | 2017-01-28T02:23:43 | 80,261,937 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 26,143 | cpp | //////////////////////////////////////////////////
// IOCP.cpp文件
#include "stdafx.h"
#include "iocp.h"
#pragma comment(lib, "WS2_32.lib")
CIOCPServer::CIOCPServer()
{
// 列表
m_pFreeBufferList = NULL;
m_pFreeContextList = NULL;
m_pPendingAccepts = NULL;
m_pConnectionList = NULL;
m_nFreeBufferCount = 0;
m_nFreeContextCount = 0;
m_nPendingAcceptCount = 0;
m_nCurrentConnection = 0;
::InitializeCriticalSection(&m_FreeBufferListLock);
::InitializeCriticalSection(&m_FreeContextListLock);
::InitializeCriticalSection(&m_PendingAcceptsLock);
::InitializeCriticalSection(&m_ConnectionListLock);
// Accept请求
m_hAcceptEvent = ::CreateEvent(NULL, FALSE, FALSE, NULL);
m_hRepostEvent = ::CreateEvent(NULL, FALSE, FALSE, NULL);
m_nRepostCount = 0;
m_nPort = 4567;
m_nInitialAccepts = 10;
m_nInitialReads = 4;
m_nMaxAccepts = 100;
m_nMaxSends = 20;
m_nMaxFreeBuffers = 200;
m_nMaxFreeContexts = 100;
m_nMaxConnections = 2000;
m_hListenThread = NULL;
m_hCompletion = NULL;
m_sListen = INVALID_SOCKET;
m_lpfnAcceptEx = NULL;
m_lpfnGetAcceptExSockaddrs = NULL;
m_bShutDown = FALSE;
m_bServerStarted = FALSE;
// 初始化WS2_32.dll
WSADATA wsaData;
WORD sockVersion = MAKEWORD(2, 2);
::WSAStartup(sockVersion, &wsaData);
}
CIOCPServer::~CIOCPServer()
{
Shutdown();
if(m_sListen != INVALID_SOCKET)
::closesocket(m_sListen);
if(m_hListenThread != NULL)
::CloseHandle(m_hListenThread);
::CloseHandle(m_hRepostEvent);
::CloseHandle(m_hAcceptEvent);
::DeleteCriticalSection(&m_FreeBufferListLock);
::DeleteCriticalSection(&m_FreeContextListLock);
::DeleteCriticalSection(&m_PendingAcceptsLock);
::DeleteCriticalSection(&m_ConnectionListLock);
::WSACleanup();
}
///////////////////////////////////
// 自定义帮助函数
CIOCPBuffer *CIOCPServer::AllocateBuffer(int nLen)
{
CIOCPBuffer *pBuffer = NULL;
if(nLen > BUFFER_SIZE)
return NULL;
// 为缓冲区对象申请内存
::EnterCriticalSection(&m_FreeBufferListLock);
if(m_pFreeBufferList == NULL) // 内存池为空,申请新的内存
{
pBuffer = (CIOCPBuffer *)::HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY, sizeof(CIOCPBuffer) + BUFFER_SIZE);
}
else // 从内存池中取一块来使用
{
pBuffer = m_pFreeBufferList;
m_pFreeBufferList = m_pFreeBufferList->pNext;
pBuffer->pNext = NULL;
m_nFreeBufferCount--;
}
::LeaveCriticalSection(&m_FreeBufferListLock);
// 初始化新的缓冲区对象
if(pBuffer != NULL)
{
pBuffer->buff = (char*)(pBuffer + 1);
pBuffer->nLen = nLen;
}
return pBuffer;
}
void CIOCPServer::ReleaseBuffer(CIOCPBuffer *pBuffer)
{
::EnterCriticalSection(&m_FreeBufferListLock);
if(m_nFreeBufferCount <= m_nMaxFreeBuffers) // 将要释放的内存添加到空闲列表中
{
memset(pBuffer, 0, sizeof(CIOCPBuffer) + BUFFER_SIZE);
pBuffer->pNext = m_pFreeBufferList;
m_pFreeBufferList = pBuffer;
m_nFreeBufferCount ++ ;
}
else // 已经达到最大值,真正的释放内存
{
::HeapFree(::GetProcessHeap(), 0, pBuffer);
}
::LeaveCriticalSection(&m_FreeBufferListLock);
}
CIOCPContext *CIOCPServer::AllocateContext(SOCKET s)
{
CIOCPContext *pContext;
// 申请一个CIOCPContext对象
::EnterCriticalSection(&m_FreeContextListLock);
if(m_pFreeContextList == NULL)
{
pContext = (CIOCPContext *)
::HeapAlloc(::GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(CIOCPContext));
::InitializeCriticalSection(&pContext->Lock);
}
else
{
// 在空闲列表中申请
pContext = m_pFreeContextList;
m_pFreeContextList = m_pFreeContextList->pNext;
pContext->pNext = NULL;
m_nFreeBufferCount --;
}
::LeaveCriticalSection(&m_FreeContextListLock);
// 初始化对象成员
if(pContext != NULL)
{
pContext->s = s;
pContext->lpBufBegin = pContext->lpBufEnd = pContext->arrayDataBuf;
}
return pContext;
}
void CIOCPServer::ReleaseContext(CIOCPContext *pContext)
{
if(pContext->s != INVALID_SOCKET)
::closesocket(pContext->s);
// 首先释放(如果有的话)此套节字上的没有按顺序完成的读I/O的缓冲区
CIOCPBuffer *pNext;
while(pContext->pOutOfOrderReads != NULL)
{
pNext = pContext->pOutOfOrderReads->pNext;
ReleaseBuffer(pContext->pOutOfOrderReads);
pContext->pOutOfOrderReads = pNext;
}
::EnterCriticalSection(&m_FreeContextListLock);
if(m_nFreeContextCount <= m_nMaxFreeContexts) // 添加到空闲列表
{
// 先将关键代码段变量保存到一个临时变量中
CRITICAL_SECTION cstmp = pContext->Lock;
// 将要释放的上下文对象初始化为0
memset(pContext, 0, sizeof(CIOCPContext));
// 再放会关键代码段变量,将要释放的上下文对象添加到空闲列表的表头
pContext->Lock = cstmp;
pContext->pNext = m_pFreeContextList;
m_pFreeContextList = pContext;
// 更新计数
m_nFreeContextCount ++;
}
else
{
::DeleteCriticalSection(&pContext->Lock);
::HeapFree(::GetProcessHeap(), 0, pContext);
}
::LeaveCriticalSection(&m_FreeContextListLock);
}
void CIOCPServer::FreeBuffers()
{
// 遍历m_pFreeBufferList空闲列表,释放缓冲区池内存
::EnterCriticalSection(&m_FreeBufferListLock);
CIOCPBuffer *pFreeBuffer = m_pFreeBufferList;
CIOCPBuffer *pNextBuffer;
while(pFreeBuffer != NULL)
{
pNextBuffer = pFreeBuffer->pNext;
if(!::HeapFree(::GetProcessHeap(), 0, pFreeBuffer))
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" FreeBuffers释放内存出错!"));
#endif // _DEBUG
break;
}
else
{
#ifdef _DEBUG
OutputDebugString(TEXT(" FreeBuffers释放内存!"));
#endif // _DEBUG
}
pFreeBuffer = pNextBuffer;
}
m_pFreeBufferList = NULL;
m_nFreeBufferCount = 0;
::LeaveCriticalSection(&m_FreeBufferListLock);
}
void CIOCPServer::FreeContexts()
{
// 遍历m_pFreeContextList空闲列表,释放缓冲区池内存
::EnterCriticalSection(&m_FreeContextListLock);
CIOCPContext *pFreeContext = m_pFreeContextList;
CIOCPContext *pNextContext;
while(pFreeContext != NULL)
{
pNextContext = pFreeContext->pNext;
::DeleteCriticalSection(&pFreeContext->Lock);
if(!::HeapFree(::GetProcessHeap(), 0, pFreeContext))
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" FreeContexts释放内存出错!"));
#endif // _DEBUG
break;
}
else
{
#ifdef _DEBUG
OutputDebugString(TEXT(" FreeContexts释放内存!\r\n"));
#endif // _DEBUG
}
pFreeContext = pNextContext;
}
m_pFreeContextList = NULL;
m_nFreeContextCount = 0;
::LeaveCriticalSection(&m_FreeContextListLock);
}
BOOL CIOCPServer::AddAConnection(CIOCPContext *pContext)
{
// 向客户连接列表添加一个CIOCPContext对象
::EnterCriticalSection(&m_ConnectionListLock);
if(m_nCurrentConnection <= m_nMaxConnections)
{
// 添加到表头
pContext->pNext = m_pConnectionList;
m_pConnectionList = pContext;
// 更新计数
m_nCurrentConnection ++;
::LeaveCriticalSection(&m_ConnectionListLock);
return TRUE;
}
::LeaveCriticalSection(&m_ConnectionListLock);
return FALSE;
}
void CIOCPServer::CloseAConnection(CIOCPContext *pContext)
{
// 首先从列表中移除要关闭的连接
::EnterCriticalSection(&m_ConnectionListLock);
CIOCPContext* pTest = m_pConnectionList;
if(pTest == pContext)
{
m_pConnectionList = pContext->pNext;
m_nCurrentConnection --;
}
else
{
while(pTest != NULL && pTest->pNext != pContext)
pTest = pTest->pNext;
if(pTest != NULL)
{
pTest->pNext = pContext->pNext;
m_nCurrentConnection --;
}
}
::LeaveCriticalSection(&m_ConnectionListLock);
// 然后关闭客户套节字
::EnterCriticalSection(&pContext->Lock);
if(pContext->s != INVALID_SOCKET)
{
::closesocket(pContext->s);
pContext->s = INVALID_SOCKET;
}
pContext->bClosing = TRUE;
::LeaveCriticalSection(&pContext->Lock);
}
void CIOCPServer::CloseAllConnections()
{
// 遍历整个连接列表,关闭所有的客户套节字
::EnterCriticalSection(&m_ConnectionListLock);
CIOCPContext *pContext = m_pConnectionList;
while(pContext != NULL)
{
::EnterCriticalSection(&pContext->Lock);
if(pContext->s != INVALID_SOCKET)
{
::closesocket(pContext->s);
pContext->s = INVALID_SOCKET;
}
pContext->bClosing = TRUE;
::LeaveCriticalSection(&pContext->Lock);
pContext = pContext->pNext;
}
m_pConnectionList = NULL;
m_nCurrentConnection = 0;
::LeaveCriticalSection(&m_ConnectionListLock);
}
BOOL CIOCPServer::InsertPendingAccept(CIOCPBuffer *pBuffer)
{
// 将一个I/O缓冲区对象插入到m_pPendingAccepts表中
::EnterCriticalSection(&m_PendingAcceptsLock);
if(m_pPendingAccepts == NULL)
m_pPendingAccepts = pBuffer;
else
{
pBuffer->pNext = m_pPendingAccepts;
m_pPendingAccepts = pBuffer;
}
m_nPendingAcceptCount ++;
::LeaveCriticalSection(&m_PendingAcceptsLock);
return TRUE;
}
BOOL CIOCPServer::RemovePendingAccept(CIOCPBuffer *pBuffer)
{
BOOL bResult = FALSE;
// 遍历m_pPendingAccepts表,从中移除pBuffer所指向的缓冲区对象
::EnterCriticalSection(&m_PendingAcceptsLock);
CIOCPBuffer *pTest = m_pPendingAccepts;
if(pTest == pBuffer) // 如果是表头元素
{
m_pPendingAccepts = pBuffer->pNext;
bResult = TRUE;
}
else // 不是表头元素的话,就要遍历这个表来查找了
{
while(pTest != NULL && pTest->pNext != pBuffer)
pTest = pTest->pNext;
if(pTest != NULL)
{
pTest->pNext = pBuffer->pNext;
bResult = TRUE;
}
}
// 更新计数
if(bResult)
m_nPendingAcceptCount --;
::LeaveCriticalSection(&m_PendingAcceptsLock);
return bResult;
}
CIOCPBuffer *CIOCPServer::GetNextReadBuffer(CIOCPContext *pContext, CIOCPBuffer *pBuffer)
{
if(pBuffer != NULL)
{
// 如果与要读的下一个序列号相等,则读这块缓冲区
if(pBuffer->nSequenceNumber == pContext->nCurrentReadSequence)
{
return pBuffer;
}
// 如果不相等,则说明没有按顺序接收数据,将这块缓冲区保存到连接的pOutOfOrderReads列表中
// 列表中的缓冲区是按照其序列号从小到大的顺序排列的
pBuffer->pNext = NULL;
CIOCPBuffer *ptr = pContext->pOutOfOrderReads;
CIOCPBuffer *pPre = NULL;
while(ptr != NULL)
{
if(pBuffer->nSequenceNumber < ptr->nSequenceNumber)
break;
pPre = ptr;
ptr = ptr->pNext;
}
if(pPre == NULL) // 应该插入到表头
{
pBuffer->pNext = pContext->pOutOfOrderReads;
pContext->pOutOfOrderReads = pBuffer;
}
else // 应该插入到表的中间
{
pBuffer->pNext = pPre->pNext;
pPre->pNext = pBuffer->pNext;
}
}
// 检查表头元素的序列号,如果与要读的序列号一致,就将它从表中移除,返回给用户
CIOCPBuffer *ptr = pContext->pOutOfOrderReads;
if(ptr != NULL && (ptr->nSequenceNumber == pContext->nCurrentReadSequence))
{
pContext->pOutOfOrderReads = ptr->pNext;
return ptr;
}
return NULL;
}
BOOL CIOCPServer::PostAccept(CIOCPBuffer *pBuffer) // 在监听套节字上投递Accept请求
{
// 设置I/O类型
pBuffer->nOperation = OP_ACCEPT;
// 投递此重叠I/O
DWORD dwBytes;
pBuffer->sClient = ::WSASocket(AF_INET, SOCK_STREAM, 0, NULL, 0, WSA_FLAG_OVERLAPPED);
BOOL b = m_lpfnAcceptEx(m_sListen,
pBuffer->sClient,
pBuffer->buff,
pBuffer->nLen - ((sizeof(sockaddr_in) + 16) * 2),
sizeof(sockaddr_in) + 16,
sizeof(sockaddr_in) + 16,
&dwBytes,
&pBuffer->ol);
if(!b && ::WSAGetLastError() != WSA_IO_PENDING)
{
return FALSE;
}
return TRUE;
};
BOOL CIOCPServer::PostRecv(CIOCPContext *pContext, CIOCPBuffer *pBuffer)
{
// 设置I/O类型
pBuffer->nOperation = OP_READ;
::EnterCriticalSection(&pContext->Lock);
// 设置序列号
pBuffer->nSequenceNumber = pContext->nReadSequence;
// 投递此重叠I/O
DWORD dwBytes;
DWORD dwFlags = 0;
WSABUF buf;
buf.buf = pBuffer->buff;
buf.len = pBuffer->nLen;
if(::WSARecv(pContext->s, &buf, 1, &dwBytes, &dwFlags, &pBuffer->ol, NULL) != NO_ERROR)
{
if(::WSAGetLastError() != WSA_IO_PENDING)
{
::LeaveCriticalSection(&pContext->Lock);
return FALSE;
}
}
// 增加套节字上的重叠I/O计数和读序列号计数
pContext->nOutstandingRecv++;
pContext->nReadSequence++;
::LeaveCriticalSection(&pContext->Lock);
return TRUE;
}
BOOL CIOCPServer::PostSend(CIOCPContext *pContext, CIOCPBuffer *pBuffer)
{
// 跟踪投递的发送的数量,防止用户仅发送数据而不接收,导致服务器抛出大量发送操作
if(pContext->nOutstandingSend > m_nMaxSends)
return FALSE;
// 设置I/O类型,增加套节字上的重叠I/O计数
pBuffer->nOperation = OP_WRITE;
// 投递此重叠I/O
DWORD dwBytes;
DWORD dwFlags = 0;
WSABUF buf;
buf.buf = pBuffer->buff;
buf.len = pBuffer->nLen;
if(::WSASend(pContext->s,
&buf, 1, &dwBytes, dwFlags, &pBuffer->ol, NULL) != NO_ERROR)
{
if(::WSAGetLastError() != WSA_IO_PENDING)
return FALSE;
}
// 增加套节字上的重叠I/O计数
::EnterCriticalSection(&pContext->Lock);
pContext->nOutstandingSend++;
::LeaveCriticalSection(&pContext->Lock);
return TRUE;
}
BOOL CIOCPServer::Start(int nPort, int nMaxConnections,
int nMaxFreeBuffers, int nMaxFreeContexts, int nInitialReads)
{
// 检查服务是否已经启动
if(m_bServerStarted)
return FALSE;
// 保存用户参数
m_nPort = nPort;
m_nMaxConnections = nMaxConnections;
m_nMaxFreeBuffers = nMaxFreeBuffers;
m_nMaxFreeContexts = nMaxFreeContexts;
m_nInitialReads = nInitialReads;
// 初始化状态变量
m_bShutDown = FALSE;
m_bServerStarted = TRUE;
// 创建监听套节字,绑定到本地端口,进入监听模式
m_sListen = ::WSASocket(AF_INET, SOCK_STREAM, 0, NULL, 0, WSA_FLAG_OVERLAPPED);
SOCKADDR_IN si;
si.sin_family = AF_INET;
si.sin_port = ::ntohs(m_nPort);
si.sin_addr.S_un.S_addr = INADDR_ANY;
if(::bind(m_sListen, (sockaddr*)&si, sizeof(si)) == SOCKET_ERROR)
{
m_bServerStarted = FALSE;
return FALSE;
}
::listen(m_sListen, 200);
// 创建完成端口对象
m_hCompletion = ::CreateIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 0);
// 加载扩展函数AcceptEx
GUID GuidAcceptEx = WSAID_ACCEPTEX;
DWORD dwBytes;
::WSAIoctl(m_sListen,
SIO_GET_EXTENSION_FUNCTION_POINTER,
&GuidAcceptEx,
sizeof(GuidAcceptEx),
&m_lpfnAcceptEx,
sizeof(m_lpfnAcceptEx),
&dwBytes,
NULL,
NULL);
// 加载扩展函数GetAcceptExSockaddrs
GUID GuidGetAcceptExSockaddrs = WSAID_GETACCEPTEXSOCKADDRS;
::WSAIoctl(m_sListen,
SIO_GET_EXTENSION_FUNCTION_POINTER,
&GuidGetAcceptExSockaddrs,
sizeof(GuidGetAcceptExSockaddrs),
&m_lpfnGetAcceptExSockaddrs,
sizeof(m_lpfnGetAcceptExSockaddrs),
&dwBytes,
NULL,
NULL
);
// 将监听套节字关联到完成端口,注意,这里为它传递的CompletionKey为0
::CreateIoCompletionPort((HANDLE)m_sListen, m_hCompletion, (DWORD)0, 0);
// 注册FD_ACCEPT事件。
// 如果投递的AcceptEx I/O不够,线程会接收到FD_ACCEPT网络事件,说明应该投递更多的AcceptEx I/O
WSAEventSelect(m_sListen, m_hAcceptEvent, FD_ACCEPT);
// 创建监听线程
m_hListenThread = ::CreateThread(NULL, 0, _ListenThreadProc, this, 0, NULL);
return TRUE;
}
void CIOCPServer::Shutdown()
{
if(!m_bServerStarted)
return;
// 通知监听线程,马上停止服务
m_bShutDown = TRUE;
::SetEvent(m_hAcceptEvent);
// 等待监听线程退出
::WaitForSingleObject(m_hListenThread, INFINITE);
::CloseHandle(m_hListenThread);
m_hListenThread = NULL;
m_bServerStarted = FALSE;
}
DWORD WINAPI CIOCPServer::_ListenThreadProc(LPVOID lpParam)
{
CIOCPServer *pThis = (CIOCPServer*)lpParam;
// 先在监听套节字上投递几个Accept I/O
CIOCPBuffer *pBuffer;
for(int i=0; i<pThis->m_nInitialAccepts; i++)
{
pBuffer = pThis->AllocateBuffer(BUFFER_SIZE);
if(pBuffer == NULL)
return -1;
pThis->InsertPendingAccept(pBuffer);
pThis->PostAccept(pBuffer);
}
// 构建事件对象数组,以便在上面调用WSAWaitForMultipleEvents函数
HANDLE hWaitEvents[2 + MAX_THREAD];
int nEventCount = 0;
hWaitEvents[nEventCount++] = pThis->m_hAcceptEvent;
hWaitEvents[nEventCount++] = pThis->m_hRepostEvent;
// 创建指定数量的工作线程在完成端口上处理I/O
for(int i=0; i<MAX_THREAD; i++)
{
hWaitEvents[nEventCount++] = ::CreateThread(NULL, 0, _WorkerThreadProc, pThis, 0, NULL);
}
// 下面进入无限循环,处理事件对象数组中的事件
while(TRUE)
{
int nIndex = ::WSAWaitForMultipleEvents(nEventCount, hWaitEvents, FALSE, 1000, FALSE);
// 首先检查是否要停止服务
if(pThis->m_bShutDown || nIndex == WSA_WAIT_FAILED)
{
// 关闭所有连接
pThis->CloseAllConnections();
::Sleep(0); // 给I/O工作线程一个执行的机会
// 关闭监听套节字
::closesocket(pThis->m_sListen);
pThis->m_sListen = INVALID_SOCKET;
::Sleep(0); // 给I/O工作线程一个执行的机会
// 通知所有I/O处理线程退出
for(int i=2; i<MAX_THREAD + 2; i++)
{
::PostQueuedCompletionStatus(pThis->m_hCompletion, -1, 0, NULL);
}
// 等待I/O处理线程退出
::WaitForMultipleObjects(MAX_THREAD, &hWaitEvents[2], TRUE, 5*1000);
for(int i=2; i<MAX_THREAD + 2; i++)
{
::CloseHandle(hWaitEvents[i]);
}
::CloseHandle(pThis->m_hCompletion);
pThis->FreeBuffers();
pThis->FreeContexts();
::ExitThread(0);
}
// 1)定时检查所有未返回的AcceptEx I/O的连接建立了多长时间
if(nIndex == WSA_WAIT_TIMEOUT)
{
pBuffer = pThis->m_pPendingAccepts;
while(pBuffer != NULL)
{
int nSeconds;
int nLen = sizeof(nSeconds);
// 取得连接建立的时间
::getsockopt(pBuffer->sClient,
SOL_SOCKET, SO_CONNECT_TIME, (char *)&nSeconds, &nLen);
// 如果超过2分钟客户还不发送初始数据,就让这个客户go away
if(nSeconds != -1 && nSeconds > 120)
{
closesocket(pBuffer->sClient);
pBuffer->sClient = INVALID_SOCKET;
}
pBuffer = pBuffer->pNext;
}
}
else
{
nIndex = nIndex - WAIT_OBJECT_0;
WSANETWORKEVENTS ne;
int nLimit=0;
if(nIndex == 0) // 2)m_hAcceptEvent事件对象受信,说明投递的Accept请求不够,需要增加
{
::WSAEnumNetworkEvents(pThis->m_sListen, hWaitEvents[nIndex], &ne);
if(ne.lNetworkEvents & FD_ACCEPT)
{
nLimit = 50; // 增加的个数,这里设为50个
}
}
else if(nIndex == 1) // 3)m_hRepostEvent事件对象受信,说明处理I/O的线程接受到新的客户
{
nLimit = InterlockedExchange(&pThis->m_nRepostCount, 0);
}
else if(nIndex > 1) // I/O服务线程退出,说明有错误发生,关闭服务器
{
pThis->m_bShutDown = TRUE;
continue;
}
// 投递nLimit个AcceptEx I/O请求
int i = 0;
while(i++ < nLimit && pThis->m_nPendingAcceptCount < pThis->m_nMaxAccepts)
{
pBuffer = pThis->AllocateBuffer(BUFFER_SIZE);
if(pBuffer != NULL)
{
pThis->InsertPendingAccept(pBuffer);
pThis->PostAccept(pBuffer);
}
}
}
}
return 0;
}
DWORD WINAPI CIOCPServer::_WorkerThreadProc(LPVOID lpParam)
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" WorkerThread 启动... \n"));
#endif // _DEBUG
CIOCPServer *pThis = (CIOCPServer*)lpParam;
CIOCPBuffer *pBuffer;
DWORD dwKey;
DWORD dwTrans;
LPOVERLAPPED lpol;
while(TRUE)
{
// 在关联到此完成端口的所有套节字上等待I/O完成
BOOL bOK = ::GetQueuedCompletionStatus(pThis->m_hCompletion,
&dwTrans, (LPDWORD)&dwKey, (LPOVERLAPPED*)&lpol, WSA_INFINITE);
if(dwTrans == -1) // 用户通知退出
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" WorkerThread 退出 \n"));
#endif // _DEBUG
::ExitThread(0);
}
pBuffer = CONTAINING_RECORD(lpol, CIOCPBuffer, ol);
int nError = NO_ERROR;
if(!bOK) // 在此套节字上有错误发生
{
SOCKET s;
if(pBuffer->nOperation == OP_ACCEPT)
{
s = pThis->m_sListen;
}
else
{
if(dwKey == 0)
break;
s = ((CIOCPContext*)dwKey)->s;
}
DWORD dwFlags = 0;
if(!::WSAGetOverlappedResult(s, &pBuffer->ol, &dwTrans, FALSE, &dwFlags))
{
nError = ::WSAGetLastError();
}
}
pThis->HandleIO(dwKey, pBuffer, dwTrans, nError);
}
#ifdef _DEBUG
::OutputDebugString(TEXT(" WorkerThread 退出 \n"));
#endif // _DEBUG
return 0;
}
void CIOCPServer::HandleIO(DWORD dwKey, CIOCPBuffer *pBuffer, DWORD dwTrans, int nError)
{
CIOCPContext *pContext = (CIOCPContext *)dwKey;
#ifdef _DEBUG
::OutputDebugString(TEXT(" HandleIO... \n"));
#endif // _DEBUG
// 1)首先减少套节字上的未决I/O计数
if(pContext != NULL)
{
::EnterCriticalSection(&pContext->Lock);
if(pBuffer->nOperation == OP_READ)
pContext->nOutstandingRecv --;
else if(pBuffer->nOperation == OP_WRITE)
pContext->nOutstandingSend --;
::LeaveCriticalSection(&pContext->Lock);
// 2)检查套节字是否已经被我们关闭
if(pContext->bClosing)
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" 检查到套节字已经被我们关闭 \n"));
#endif // _DEBUG
if(pContext->nOutstandingRecv == 0 && pContext->nOutstandingSend == 0)
{
ReleaseContext(pContext);
}
// 释放已关闭套节字的未决I/O
ReleaseBuffer(pBuffer);
return;
}
}
else
{
RemovePendingAccept(pBuffer);
#ifdef _DEBUG
::OutputDebugString(TEXT(" 检查到套节字连接超时未完成被我们关闭 \n"));
#endif // _DEBUG
}
// 3)检查套节字上发生的错误,如果有的话,通知用户,然后关闭套节字
if(nError != NO_ERROR)
{
if(pBuffer->nOperation != OP_ACCEPT)
{
OnConnectionError(pContext, pBuffer, nError);
CloseAConnection(pContext);
if(pContext->nOutstandingRecv == 0 && pContext->nOutstandingSend == 0)
{
ReleaseContext(pContext);
}
#ifdef _DEBUG
::OutputDebugString(TEXT(" 检查到客户套节字上发生错误 \n"));
#endif // _DEBUG
}
else // 在监听套节字上发生错误,也就是监听套节字处理的客户出错了
{
// 客户端出错,释放I/O缓冲区
if(pBuffer->sClient != INVALID_SOCKET)
{
::closesocket(pBuffer->sClient);
pBuffer->sClient = INVALID_SOCKET;
}
#ifdef _DEBUG
::OutputDebugString(TEXT(" 检查到监听套节字上发生错误 \n"));
#endif // _DEBUG
}
ReleaseBuffer(pBuffer);
return;
}
// 开始处理
if(pBuffer->nOperation == OP_ACCEPT)
{
if(dwTrans == 0)
{
#ifdef _DEBUG
::OutputDebugString(TEXT(" 监听套节字上客户端关闭 \n"));
#endif // _DEBUG
if(pBuffer->sClient != INVALID_SOCKET)
{
::closesocket(pBuffer->sClient);
pBuffer->sClient = INVALID_SOCKET;
}
}
else
{
// 为新接受的连接申请客户上下文对象
CIOCPContext *pClient = AllocateContext(pBuffer->sClient);
if(pClient != NULL)
{
if(AddAConnection(pClient))
{
// 取得客户地址
int nLocalLen, nRmoteLen;
LPSOCKADDR pLocalAddr, pRemoteAddr;
m_lpfnGetAcceptExSockaddrs(
pBuffer->buff,
pBuffer->nLen - ((sizeof(sockaddr_in) + 16) * 2),
sizeof(sockaddr_in) + 16,
sizeof(sockaddr_in) + 16,
(SOCKADDR **)&pLocalAddr,
&nLocalLen,
(SOCKADDR **)&pRemoteAddr,
&nRmoteLen);
memcpy(&pClient->addrLocal, pLocalAddr, nLocalLen);
memcpy(&pClient->addrRemote, pRemoteAddr, nRmoteLen);
// 关联新连接到完成端口对象
::CreateIoCompletionPort((HANDLE)pClient->s, m_hCompletion, (DWORD)pClient, 0);
// 通知用户
pBuffer->nLen = dwTrans;
OnConnectionEstablished(pClient, pBuffer);
// 向新连接投递几个Read请求,这些空间在套节字关闭或出错时释放
CIOCPBuffer *p = AllocateBuffer(BUFFER_SIZE);
if(p != NULL)
{
if(!PostRecv(pClient, p))
{
CloseAConnection(pClient);
}
}
}
else // 连接数量已满,关闭连接
{
CloseAConnection(pClient);
ReleaseContext(pClient);
}
}
else
{
// 资源不足,关闭与客户的连接即可
::closesocket(pBuffer->sClient);
pBuffer->sClient = INVALID_SOCKET;
}
}
// Accept请求完成,释放I/O缓冲区
ReleaseBuffer(pBuffer);
// 通知监听线程继续再投递一个Accept请求
::InterlockedIncrement(&m_nRepostCount);
::SetEvent(m_hRepostEvent);
}
else if(pBuffer->nOperation == OP_READ)
{
if(dwTrans == 0) // 对方关闭套节字
{
// 先通知用户
pBuffer->nLen = 0;
OnConnectionClosing(pContext, pBuffer);
// 再关闭连接
CloseAConnection(pContext);
// 释放客户上下文和缓冲区对象
if(pContext->nOutstandingRecv == 0 && pContext->nOutstandingSend == 0)
{
ReleaseContext(pContext);
}
ReleaseBuffer(pBuffer);
}
else
{
pBuffer->nLen = dwTrans;
// 按照I/O投递的顺序读取接收到的数据
CIOCPBuffer *p = GetNextReadBuffer(pContext, pBuffer);
while(p != NULL)
{
// 通知用户
OnReadCompleted(pContext, p);
// 增加要读的序列号的值
::InterlockedIncrement((LONG*)&pContext->nCurrentReadSequence);
// 释放这个已完成的I/O
ReleaseBuffer(p);
p = GetNextReadBuffer(pContext, NULL);
}
// 继续投递一个新的接收请求
pBuffer = AllocateBuffer(BUFFER_SIZE);
if(pBuffer == NULL || !PostRecv(pContext, pBuffer))
{
CloseAConnection(pContext);
}
}
}
else if(pBuffer->nOperation == OP_WRITE)
{
if(dwTrans == 0) // 对方关闭套节字
{
// 先通知用户
pBuffer->nLen = 0;
OnConnectionClosing(pContext, pBuffer);
// 再关闭连接
CloseAConnection(pContext);
// 释放客户上下文和缓冲区对象
if(pContext->nOutstandingRecv == 0 && pContext->nOutstandingSend == 0)
{
ReleaseContext(pContext);
}
ReleaseBuffer(pBuffer);
}
else
{
// 写操作完成,通知用户
pBuffer->nLen = dwTrans;
OnWriteCompleted(pContext, pBuffer);
// 释放SendText函数申请的缓冲区
ReleaseBuffer(pBuffer);
}
}
}
BOOL CIOCPServer::SendText(CIOCPContext *pContext, char *pszText, int nLen)
{
CIOCPBuffer *pBuffer = AllocateBuffer(nLen);
if(pBuffer != NULL)
{
memcpy(pBuffer->buff, pszText, nLen);
return PostSend(pContext, pBuffer);
}
return FALSE;
} | [
"326509095@qq.com"
] | 326509095@qq.com |
64d493742fc5395a515f65b37272a4d3f9eb33f7 | fdcec34548da52ac84085f2f3080c1e7d42799fa | /WOGL/WOGL/WOGL/Core/Context.hpp | 2b756ab14bf913437030d32a3bfc5007b5cdb934 | [] | no_license | ASIF1998/WOGL | 2b95b416cf647b3ad4073f9a9e820aedcbb013d9 | 191267a1b6aea2c16de26126cc805700481214ab | refs/heads/master | 2020-04-21T22:01:52.826243 | 2019-05-05T13:16:01 | 2019-05-05T13:16:01 | 169,897,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | hpp | //
// Context.hpp
// WOGL
//
// Created by Асиф Мамедов on 04/02/2019.
// Copyright © 2019 Asif Mamedov. All rights reserved.
//
#ifndef Context_hpp
#define Context_hpp
#include <GL/glew.h>
namespace WOGL
{
enum class Enable: GLenum
{
ALPHA_TEST = GL_ALPHA_TEST,
BLEAND = GL_BLEND,
DEPTH_TEST = GL_DEPTH_TEST,
STENCIL_TEST = GL_STENCIL_TEST,
CULL_FACE = GL_CULL_FACE,
GAMMA_CORECTION = GL_FRAMEBUFFER_SRGB,
MULTISAMPLE = GL_MULTISAMPLE
};
/**
* @field KEEP - сохранить текущее значение
* @field ZERO - присвоить значение 0
* @field REPLACE - устанавливает значение буфера трафарета в s2, как указано в статическом методе stensil
* @field INCR - увеличивает значение трафарета на 1. В случае достижения максимального значения обнуления не произойдёт
* @field INCR_WRAP - увеличивает значение трафарета на 1. В случае достижения максимального значения произойдёт обнуления
* @field DECR - уменьшает значение трафарета на 1. В случае достижения 0 значения не будет максимальным
* @field DECR_WRAP - меньшает значение трафарета на 1. В случае достижения 0 значения будет максимальным
* @field INVERT - побитово инвертирует текущее значение буфера трафарета
*/
enum class StencilValueOperation
{
KEEP = GL_KEEP,
ZERO = GL_ZERO,
REPLACE = GL_REPLACE,
INCR = GL_INCR,
INCR_WRAP = GL_INCR_WRAP,
DECR = GL_DECR,
DECR_WRAP = GL_DECR_WRAP,
INVERT = GL_INVERT
};
enum class Func:
GLenum
{
NEVER = GL_NEVER,
LESS = GL_LESS,
GREATER = GL_GREATER,
GEQUAL = GL_GEQUAL,
EQUAL = GL_EQUAL,
LEQUAL = GL_LEQUAL,
NOTEQUAL = GL_NOTEQUAL,
ALWAYS = GL_ALWAYS
};
enum class BlendFunc: GLenum
{
ZERO = GL_ZERO,
ONE = GL_ONE,
SRC_COLOR = GL_SRC_COLOR,
ONE_MINUS_SRC_COLOR = GL_ONE_MINUS_SRC_COLOR,
DST_COLOR = GL_DST_COLOR,
ONE_MINUS_DST_COLOR = GL_ONE_MINUS_DST_COLOR,
SRC_ALPHA = GL_SRC_ALPHA,
ONE_MINUS_SRC_ALPHA = GL_ONE_MINUS_SRC_ALPHA,
DST_ALPHA = GL_DST_ALPHA,
ONE_MINUS_DST_ALPHA = GL_ONE_MINUS_DST_ALPHA,
CONSTANT_COLOR = GL_CONSTANT_COLOR,
ONE_MINUS_CONSTANT_COLOR = GL_ONE_MINUS_CONSTANT_COLOR,
CONSTANT_ALPHA = GL_CONSTANT_ALPHA,
ONE_MINUS_CONSTANT_ALPHA = GL_ONE_MINUS_CONSTANT_ALPHA,
SRC_ALPHA_SATURATE = GL_SRC_ALPHA_SATURATE,
SRC1_COLOR = GL_SRC1_COLOR,
ONE_MINUS_SRC1_COLOR = GL_ONE_MINUS_SRC1_COLOR,
SRC1_ALPHA = GL_SRC1_ALPHA,
ONE_MINUS_SRC1_ALPHA = GL_ONE_MINUS_SRC1_ALPHA
};
enum class Face: GLenum
{
FRONT = GL_FRONT,
BACK = GL_BACK,
FRONT_AND_BACK = GL_FRONT_AND_BACK
};
enum class FaceTraversal: GLenum
{
COUTERCLOCKWISE = GL_CCW,
CLOCKWISE = GL_CW
};
enum class DrawPrimitive
{
POINTS = GL_POINTS,
LINE_STRIP = GL_LINE_STRIP,
LINE_LOOP = GL_LINE_LOOP,
LINES = GL_LINES,
LINE_STRIP_ADJACENCY = GL_LINE_STRIP_ADJACENCY,
LINES_ADJACENCY = GL_LINES_ADJACENCY,
TRIANGLES = GL_TRIANGLES,
TRIANGLE_STRIP = GL_TRIANGLE_STRIP,
TRIANGLE_FAN = GL_TRIANGLE_FAN,
TRIANGLE_STRIP_ADJACENCY = GL_TRIANGLE_STRIP_ADJACENCY,
TRIANGLES_ADJACENCY = GL_TRIANGLES_ADJACENCY,
PATCHES = GL_PATCHES
};
/// using ColorAttachment = GLenum;
}
#include "Context.inl"
#endif /* Context_hpp */
| [
"asif.mamedov.98@bk.ru"
] | asif.mamedov.98@bk.ru |
503e5168bc66bdb0a0d60aab8b88064fead05673 | 901571e54db419ccd0aa4d7a3dbfcd8dd5b37207 | /BOJ/5000/5567.cpp | 0d86330688a66ea6ac92ec1a090bb7c6b4be04d0 | [] | no_license | fbdp1202/AlgorithmParty | 3b7ae486b4a27f49d2d40efd48ed9a45a98c77e8 | 9fe654aa49392cb261e1b53c995dbb33216c6a20 | refs/heads/master | 2021-08-03T22:52:30.182103 | 2021-07-22T06:15:45 | 2021-07-22T06:15:45 | 156,948,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | // baekjoon 5567 yechan
#include <cstdio>
#include <algorithm>
#include <queue>
using namespace std;
#define MAX_N 501
int N, M, a, b, adj[MAX_N][MAX_N];
bool visited[MAX_N];
int findFriend(){
visited[1]=true;
queue<int> q;
q.push(1);
int rst = 0, depth = 0;
while (q.size()) {
int qSize = q.size();
while (qSize--) {
int curr = q.front(); q.pop();
for (int i=1; i<=N; i++) {
if (adj[curr][i] && !visited[i]) {
visited[i] = true;
rst++;
q.push(i);
}
}
}
depth++;
if (depth > 1) break;
}
return rst;
}
int main() {
scanf("%d%d",&N, &M);
while (M--) {
scanf("%d%d", &a, &b);
adj[a][b]=1;
adj[b][a]=1;
}
printf("%d\n", findFriend());
return 0;
} | [
"rbynddd@naver.com"
] | rbynddd@naver.com |
64ab76ad880cebfd06a0f87ea04b026ae74dc1b9 | 184c987aa3615b687cedde502ec706ad4a838124 | /code/graphs/kruskal.cpp | 8b098c70ab106b7dee72554f17d2e184b40c696c | [] | no_license | chinchila/ICPC | 71c85664df21acc1a9eb8f67632b556ae63a058d | 69cec145898ef287c25f4f927106f7a021591e0b | refs/heads/master | 2021-08-10T09:31:27.577825 | 2021-07-07T23:49:13 | 2021-07-07T23:49:13 | 232,422,330 | 6 | 2 | null | 2020-12-22T18:47:52 | 2020-01-07T21:39:00 | C++ | UTF-8 | C++ | false | false | 656 | cpp | // O(m log(m))
#define ll long long
struct edge {
int u, v; ll w;
edge( int _u, int _v, ll _w ) : u(_u),v(_v),w(_w) {}
bool operator < ( const edge &o ) const {
return w < o.w;
}
};
vector<edge> edges;
int root[MAXN];
int n, m;
int find( int x ) { return ( x == root[x] ) ? x : root[x] = find( root[x] ); }
bool merge( int u, int v ){
if( ( u = find( u ) ) == ( v = find( v ) ) ) return false;
root[u] = v;
return true;
}
ll kruskal()
{
ll cost = 0;
sort( edges.begin(), edges.end() );
for( int i = 0 ; i <= n ; ++i ) root[i] = i;
for( int i = 0 ; i < m ; ++i )
if( merge( edges[i].u, edges[i].v ) ) cost += edges[i].w;
return cost;
}
| [
"pachecosobral@gmail.com"
] | pachecosobral@gmail.com |
22e7e3a54eb3d49527b326b31104e51638d026e1 | 3baaca0e2003c63a823f0e036b91ce3c916bc598 | /dialogs/confirmHint/dialog.hpp | 6f0ba3f74ba6becf4d6e281b6000d1f9335fb3ed | [] | no_license | gruppe-adler/TvT_OnTheFly.Stratis | c8d4761837b0836db5540a1b0a5dd68799f2159d | e9f4c7a2f08e3fb4bd49ac480612b79f688476b4 | refs/heads/master | 2023-08-08T15:13:16.622622 | 2023-08-05T21:14:22 | 2023-08-05T21:14:22 | 26,218,985 | 6 | 1 | null | 2023-08-05T21:14:24 | 2014-11-05T12:43:01 | C++ | UTF-8 | C++ | false | false | 1,355 | hpp | #include "defines.hpp"
class otf_RscConfirmHintTitle
{
idc = -1;
access = 0;
type = CT_STATIC;
style = ST_LEFT;
font = "PuristaLight";
sizeEx = 0.04 * TEXT_SCALE;
moving = 1;
colorText[] = {1, 1, 1, 1};
text = "";
fixedWidth = 0;
shadow = 1;
colorShadow[] = {0, 0, 0, 0.5};
linespacing = 1;
x = 0;
y = 0;
w = otf_ch_W;
h = otf_ch_H;
colorBackground[] = {0,0,0,0.8};
};
class otf_RscConfirmHintButton: otf_RscButton
{
idc = -1;
style = ST_LEFT;
shadow = 0;
colorFocused[] = {1,1,1,0.5};
colorBackgroundActive[] = {1,1,1,0.8}; // hover
colorBackgroundDisabled[] = {0.3,0.3,0.3,1};
colorBackgroundFocused[] = {0,0,0,0.5};
colorShadow[] = {0,0,0,0};
colorBorder[] = {0,0,0,1};
font = "PuristaLight";
sizeEx = 0.03;
colorBackground[] = {0,0,0,0.6};
w = otf_ch_W;
h = otf_ch_H;
};
class otf_confirmHint
{
idd = otf_ch_DIALOG;
movingenable = 1;
enableSimulation = 1;
enableDisplay = 1;
objects[] = {};
onLoad = "player say 'defaultNotification'";
class ControlsBackground
{
class HintTitle: otf_RscConfirmHintTitle
{
moving = 1;
idc = otf_ch_TITLE;
x = otf_ch_X;
y = otf_CH_Y;
text = "";
};
};
class Controls {
class ConfirmButton: otf_RscConfirmHintButton
{
idc = otf_ch_BUTTON;
text = "OK";
x = otf_ch_X;
y = otf_CH_Y + 1.1*otf_ch_H;
action = "closeDialog 0";
};
};
};
| [
"hobbeldobbel@gmail.com"
] | hobbeldobbel@gmail.com |
7bf38dd1d149e147359be692d3bb4bead2cb108c | 32f541dd6dcb2121f21b13071678a799eb293f10 | /libraries/uvm/simplechain/src/simplechain/simplechain_tests.cpp | dd82a829ea3ad5ab653b6d5b0ab7a7ea012f7505 | [
"MIT"
] | permissive | Whitecoin-XWC/Whitecoin-core | b62de0b712ab8557ecd16dc1d0e4389c439eb3db | 8f15e0764fe60ff8d77228a2aca6bdff723439bd | refs/heads/develop | 2022-12-10T18:12:23.027195 | 2022-11-23T03:53:04 | 2022-11-23T03:53:04 | 397,646,406 | 0 | 3 | MIT | 2022-11-28T01:20:26 | 2021-08-18T15:17:39 | C++ | UTF-8 | C++ | false | false | 4,365 | cpp | #define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
// #include <crtdbg.h>
#include <iostream>
#include <string>
#include <simplechain/simplechain.h>
#include <iostream>
#include <simplechain/rpcserver.h>
#include <uvm/uvm_lutil.h>
#include <fc/crypto/hex.hpp>
using namespace simplechain;
//
//#define BOOST_TEST_MODULE SimpleGcTestCases
//#include <boost/test/unit_test.hpp>
//BOOST_AUTO_TEST_SUITE(simplechain_test_suite)
//BOOST_AUTO_TEST_CASE(rlp_test)
//{
//using namespace uvm::util;
//RlpEncoder encoder;
//RlpDecoder decoder;
//auto obj1 = RlpObject::from_string("dog");
//const auto& encoded1 = encoder.encode(obj1);
//auto obj2 = RlpObject::from_list({ RlpObject::from_string("cat") , RlpObject::from_string("dog") });
//auto encoded2 = encoder.encode(obj2);
//auto obj3 = RlpObject::from_string("");
//auto encoded3 = encoder.encode(obj3);
//auto obj4 = RlpObject::from_list({});
//auto encoded4 = encoder.encode(obj4);
//auto obj5 = RlpObject::from_int32(15);
//auto encoded5 = encoder.encode(obj5);
//auto obj6 = RlpObject::from_int32(1024);
//auto encoded6 = encoder.encode(obj6);
//auto obj7 = RlpObject::from_list({ RlpObject::from_list({}), RlpObject::from_list({ RlpObject::from_list({}) }),
// RlpObject::from_list({ RlpObject::from_list({}), RlpObject::from_list({ RlpObject::from_list({}) }) }) });
//auto encoded7 = encoder.encode(obj7);
//auto obj8 = RlpObject::from_string("Lorem ipsum dolor sit amet, consectetur adipisicing elit");
//auto encoded8 = encoder.encode(obj8);
//// test decoder
//auto d1 = decoder.decode(encoded1)->to_string(); // "dog"
//auto d2 = decoder.decode(encoded2); // ["cat", "dog"]
//auto d3 = decoder.decode(encoded3)->to_string(); // ""
//auto d4 = decoder.decode(encoded4); // []
//auto d5 = decoder.decode(encoded5)->to_int32(); // 15
//auto d6 = decoder.decode(encoded6)->to_int32(); // 1024
//auto d7 = decoder.decode(encoded7); // [ [], [[]], [ [], [[]] ] ]
//auto d8 = decoder.decode(encoded8)->to_string(); // "Lorem ipsum dolor sit amet, consectetur adipisicing elit"
//BOOST_CHECK(true);
//}
// BOOST_AUTO_TEST_CASE(simple_chain_demo_test)
void test2()
{
std::cout << "Hello, simplechain based on uvm" << std::endl;
try {
auto chain = std::make_shared<simplechain::blockchain>();
std::string contract1_addr;
std::string caller_addr = std::string(SIMPLECHAIN_ADDRESS_PREFIX) + "caller1";
{
auto tx = std::make_shared<transaction>();
auto op = operations_helper::mint(caller_addr, 0, 123);
tx->tx_time = fc::time_point_sec(fc::time_point::now());
tx->operations.push_back(op);
chain->evaluate_transaction(tx);
chain->accept_transaction_to_mempool(*tx);
}
printf("");
{
auto tx1 = std::make_shared<transaction>();
std::string contract1_gpc_filepath("../test/test_contracts/token.gpc");
auto op = operations_helper::create_contract_from_file(caller_addr, contract1_gpc_filepath);
tx1->operations.push_back(op);
tx1->tx_time = fc::time_point_sec(fc::time_point::now());
contract1_addr = op.calculate_contract_id();
chain->evaluate_transaction(tx1);
chain->accept_transaction_to_mempool(*tx1);
}
chain->generate_block();
{
auto tx = std::make_shared<transaction>();
fc::variants arrArgs;
fc::variant aarg;
fc::to_variant(std::string("test,TEST,10000,100"), aarg);
arrArgs.push_back(aarg);
auto op = operations_helper::invoke_contract(caller_addr, contract1_addr, "init_token", arrArgs);
tx->operations.push_back(op);
tx->tx_time = fc::time_point_sec(fc::time_point::now());
chain->evaluate_transaction(tx);
chain->accept_transaction_to_mempool(*tx);
}
chain->generate_block();
FC_ASSERT(chain->get_account_asset_balance(caller_addr, 0) == 123);
FC_ASSERT(chain->get_contract_by_address(contract1_addr));
auto state = chain->get_storage(contract1_addr, "state").as<std::string>();
FC_ASSERT(state == "\"COMMON\"");
const auto& chain_state = chain->get_state_json();
//BOOST_CHECK(true);
}
catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
//BOOST_CHECK(false);
}
_CrtDumpMemoryLeaks();
}
//BOOST_AUTO_TEST_SUITE_END()
#ifdef RUN_BOOST_TESTS
int main(int argc, char* argv[])
{
//auto res = ::boost::unit_test::unit_test_main(&init_unit_test_suite, argc, argv);
test2();
// _CrtDumpMemoryLeaks();
return 0; // res;
}
#endif
| [
"WhitecoinFounder@gmail.com"
] | WhitecoinFounder@gmail.com |
024779f08b665b1f20344b7bf6be81d360753ccc | 3d28cbcdbdf5596c7c2620b8896df8b691a68ef7 | /src/ukf.h | fdd246094290b170887810ad8a637eb9816347fb | [] | no_license | zc-tx/Object-Tracking-using-UKF-by-Fusing-Lidar-and-Radar | dba75ca19dc7cc4198fb96e1e389e6ae665f85b6 | 18342150ffd365d23ad1468692f012d04812b0ea | refs/heads/master | 2021-01-13T16:48:15.821417 | 2017-03-24T18:32:51 | 2017-03-24T18:32:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,497 | h | #ifndef UKF_H
#define UKF_H
#include "Eigen/Dense"
#include "measurement_package.h"
#include <vector>
using Eigen::MatrixXd;
using Eigen::VectorXd;
class UKF {
public:
///* initially set to false, set to true in first call of ProcessMeasurement
bool is_initialized_;
///* if this is false, laser measurements will be ignored (except for init)
bool use_laser_;
///* if this is false, radar measurements will be ignored (except for init)
bool use_radar_;
///* state vector: [pos1 pos2 vel_abs yaw_angle yaw_rate] in SI units and rad
VectorXd x_;
///* state covariance matrix
MatrixXd P_;
///* predicted sigma points matrix
MatrixXd Xsig_pred_;
///* time when the state is true, in us
long time_us_;
///* Process noise standard deviation longitudinal acceleration in m/s^2
double std_a_;
///* Process noise standard deviation yaw acceleration in rad/s^2
double std_yawdd_;
///* Laser measurement noise standard deviation position1 in m
double std_laspx_;
///* Laser measurement noise standard deviation position2 in m
double std_laspy_;
///* Radar measurement noise standard deviation radius in m
double std_radr_;
///* Radar measurement noise standard deviation angle in rad
double std_radphi_;
///* Radar measurement noise standard deviation radius change in m/s
double std_radrd_ ;
///* Radar NIS
double radar_nis_;
///* laser NIS
double laser_nis_;
///* Weights of sigma points
VectorXd weights_;
///* State dimension
int n_x_;
///* Augmented state dimension
int n_aug_;
///* set radar measurement dimension, radar can measure r, phi, and r_dot
int n_radar_;
///* set laser measurement dimension, laser can measure px and py
int n_laser_;
///* previous timestamp
double previous_timestamp_;
///* Sigma point spreading parameter
double lambda_;
/// *create augment sigma point matrix
MatrixXd Xsig_aug_;
///* the current NIS for radar
double NIS_radar_;
///* the current NIS for laser
double NIS_laser_;
/// *matrix for sigma points in radar measurement space
MatrixXd radar_sig_;
/// *matrix for sigma points in laser measurement space
MatrixXd laser_sig_;
/// *mean predicted radar measurement
VectorXd radar_pred_;
/// *mean predicted laser measurement
VectorXd laser_pred_;
/// * radar measurement covariance matrix
MatrixXd radar_S_;
/// * laser measurement covariance matrix
MatrixXd laser_S_;
/**
* Constructor
*/
UKF();
/**
* Destructor
*/
virtual ~UKF();
void AugmentedSigmaPoints();
void SigmaPointPrediction(double delta_t);
void PredictMeanAndCovariance();
void PredictRadarMeasurement();
void PredictLaserMeasurement();
/**
* ProcessMeasurement
* @param meas_package The latest measurement data of either radar or laser
*/
void ProcessMeasurement(MeasurementPackage measurement_pack);
/**
* Prediction Predicts sigma points, the state, and the state covariance
* matrix
* @param delta_t Time between k and k+1 in s
*/
void Prediction(double delta_t);
/**
* Updates the state and the state covariance matrix using a laser measurement
* @param meas_package The measurement at k+1
*/
void UpdateLidar(MeasurementPackage meas_pack);
/**
* Updates the state and the state covariance matrix using a radar measurement
* @param meas_package The measurement at k+1
*/
void UpdateRadar(MeasurementPackage meas_pack);
};
#endif /* UKF_H */
| [
"shaoym87@gmail.com"
] | shaoym87@gmail.com |
54aadd8d8dfc7c23fb94494d7d09ae28b2abb2c8 | b73c247aabc21881f3f339130b6b105bde9eb8d5 | /icpc_4977.cpp | a2855d2e2dd582274864b4ddd11510060f6a686c | [] | no_license | avishayAv/CPP-Competitive-Programming | 5d77ccae8791bf9f13d9998ad53172d7738f1b41 | 632c259ac4bec6b604434228d31b16621311e36f | refs/heads/master | 2020-07-04T07:27:39.771875 | 2019-08-13T19:05:17 | 2019-08-13T19:05:17 | 202,203,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <list>
using namespace std;
int main() {
int test_cases;
cin >> test_cases;
while (test_cases--) {
int n, m;
cin >> n >> m;
vector<int> days(m, 0);
for (int i = 0; i < m; i++) {
cin >> days[i];
}
vector<int> last_used_index(n, 0);
set<int> zero_indexes;
vector<int> result(m, -1);
bool is_no = false;
int counter = 0;
for (int i = 0; i < m; ++i) {
if (days[i] == 0) {
zero_indexes.insert(i);
} else {
int index = last_used_index[days[i] - 1];
auto it = zero_indexes.lower_bound(index);
if (it == zero_indexes.end()) {
is_no = true;
break;
}
result[*it] = days[i];
zero_indexes.erase(it);
last_used_index[days[i] - 1] = i;
}
}
if (is_no) {
cout << "NO\n";
} else {
cout << "YES\n";
for (auto i = zero_indexes.begin(); i != zero_indexes.end(); i++) result[*i] = 0;
for (int i = 0; i < m; ++i) {
if(result[i] != -1) cout << result[i] << " ";
}
cout << "\n";
}
}
} | [
"noreply@github.com"
] | noreply@github.com |
347016a5eccc7bd71f8c36255b7373e520a982e1 | 6fa08774a35e7ab10dc15495eac07ee333bebbb3 | /DS_2020/DS_2020_Shared/I5Solver.h | dfa247302e1dd986310017bc1b30b420d69f1c70 | [] | no_license | ChrisJaunes/DS_2020 | 65321240284566c88a4ea0420d068b495ce3ca7d | f8a577b968fe7cf32c64577c90d28b907c0612a6 | refs/heads/master | 2022-08-27T12:59:34.840163 | 2020-05-30T06:29:04 | 2020-05-30T06:29:04 | 224,967,106 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 853 | h | #pragma once
#include "pch.h"
#include "config.h"
#include "Info.h"
#include "Author.h"
#include "Solver.h"
#include "xmlhelper.h"
#include "CliquesCounting.h"
/*
ISolver接口, 实现对具体问题的解决方案
InitMemory 负责对 全局变量ImportData的内存初始化操作,
InsertObject是当拿到了一个Info结构体时对InitMemory初始化的结构体进行插入的操作
ImportData全局变量的定义可以到 CommUtils.h 中的 struct _ImportData 中进行添加
为一个指针类型, 方便访问
具体示例参照下面的F3Solver
*/
class I5Solver :public ISolver{
CliquesCounting* pF5;
XMLParser* pParser;
public:
I5Solver() {
pF5 = new CliquesCounting();
}
I5Solver(const TCHAR* xmlfile, DWORD parseInfo = XMLPARSETYPE_article);
~I5Solver();
void InitMemory();
void InsertObject(Info&);
void WriteToFile();
};
| [
"gdoxq@163.com"
] | gdoxq@163.com |
3618437efb02b58554c12cb9fc15b23b084a7626 | 71d64fefc35ad5b0981a3f831f7e7141de5211d6 | /Server/RSProdutosAlterados.h | c1edaf1a060fcb308415dcb53cf200e3ade6de2b | [] | no_license | flaviodesousa/palmtrader | fe2c12bd2440556581193307d02b1199cb42256e | 953438be7631248e84ebd3881232ec0b904cc1d6 | refs/heads/master | 2021-01-19T05:37:05.690753 | 2011-10-24T16:59:07 | 2011-10-24T16:59:07 | 2,637,578 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,135 | h | // RSProdutosAlterados.h : header file
//
// $Archive: /QuickSell/Server/RSProdutosAlterados.h $
// $Author: Flávio $
// $Date: 24/07/98 14:16 $
/* $History: RSProdutosAlterados.h $
*
* ***************** Version 1 *****************
* User: Flávio Date: 24/07/98 Time: 14:16
* Created in $/QuickSell/Server
* Primeira implementação.
* Suporte a sincronização automática do palmpc
*/
#if !defined(AFX_RSPRODUTOSALTERADOS_H__316B54D8_22EC_11D2_BB62_0000216E2E31__INCLUDED_)
#define AFX_RSPRODUTOSALTERADOS_H__316B54D8_22EC_11D2_BB62_0000216E2E31__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CRSProdutosAlterados recordset
class CRSProdutosAlterados : public CRecordset
{
public:
virtual void SetUltimaAtualizacao(CTime timeUltimaAlteracao);
CRSProdutosAlterados(CDatabase* pDatabase = NULL);
DECLARE_DYNAMIC(CRSProdutosAlterados)
// Field/Param Data
//{{AFX_FIELD(CRSProdutosAlterados, CRecordset)
long m_pd_Codigo;
BYTE m_pd_Digito;
CString m_pd_Descricao;
CString m_pd_Embalagem;
CString m_pd_Unidade;
long m_pd_Unidades;
long m_pd_EmbalagemMaster;
CString m_pd_PesoBruto;
BOOL m_pd_Disponivel;
CTime m_pd_TimeStamp;
CTime m_pd_DisponibilidadeTimeStamp;
//}}AFX_FIELD
CTime m_parm_UltimaAtualizacao;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRSProdutosAlterados)
public:
virtual CString GetDefaultConnect(); // Default connection string
virtual CString GetDefaultSQL(); // Default SQL for Recordset
virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
virtual BOOL Open(UINT nOpenType = snapshot, LPCTSTR lpszSql = NULL, DWORD dwOptions = none);
//}}AFX_VIRTUAL
// Implementation
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RSPRODUTOSALTERADOS_H__316B54D8_22EC_11D2_BB62_0000216E2E31__INCLUDED_)
| [
"fdsousa@pixily.com"
] | fdsousa@pixily.com |
1837bce354d038eb7a8f94529ff13464cfa6ed80 | 4e6d45b65b6191250f3065e1d123c08ef75ec2c3 | /code_snippets/file io/main.cpp | 352ebee2d56826ccae3940e6ffb608e3cfe82725 | [] | no_license | jeremyglebe/Instruction-1063-Data-Structures | d79172644dbf2c0d90ab41c07e76f2e395e1b806 | 9896665f9ff2cc6f089956946ee7ed7135286864 | refs/heads/main | 2023-04-17T14:18:33.873322 | 2021-04-30T19:45:50 | 2021-04-30T19:45:50 | 322,954,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(){
ifstream ifile;
string file;
cout << "File name: ";
cin >> file;
// ifile.open("in.dat");
ifile.open(file);
for(int i = 0; i < 9; i++){
char var;
ifile >> var;
cout << "We read " << var << " from a file!\n";
}
ifile.close();
return 0;
} | [
"jeremyglebe@gmail.com"
] | jeremyglebe@gmail.com |
10a7dddd02744db3fde5f56c61953e06d49b6f14 | a998bfde47dc0f18382741212edd56e07c035070 | /sky/engine/platform/fonts/SimpleFontData.h | c0987b320912204b8395d061ae9cf762bcd4b9c8 | [
"BSD-3-Clause"
] | permissive | dalecurtis/mojo | 92c8ce2e339ae923d387e2bdab4591f2165a9e25 | e8ee0eb8a26abe43299b95054275939da9defd14 | refs/heads/master | 2021-01-15T11:44:31.238006 | 2014-10-23T18:48:50 | 2014-10-23T18:48:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,506 | h | /*
* This file is part of the internal font implementation.
*
* Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2007-2008 Torch Mobile, 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 SimpleFontData_h
#define SimpleFontData_h
#include "platform/PlatformExport.h"
#include "platform/fonts/CustomFontData.h"
#include "platform/fonts/FontBaseline.h"
#include "platform/fonts/FontData.h"
#include "platform/fonts/FontMetrics.h"
#include "platform/fonts/FontPlatformData.h"
#include "platform/fonts/GlyphMetricsMap.h"
#include "platform/fonts/GlyphPageTreeNode.h"
#include "platform/fonts/TypesettingFeatures.h"
#include "platform/fonts/opentype/OpenTypeVerticalData.h"
#include "platform/geometry/FloatRect.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/StringHash.h"
#if OS(MACOSX)
#include "wtf/RetainPtr.h"
#endif
namespace blink {
class FontDescription;
enum FontDataVariant { AutoVariant, NormalVariant, SmallCapsVariant, EmphasisMarkVariant, BrokenIdeographVariant };
enum Pitch { UnknownPitch, FixedPitch, VariablePitch };
class PLATFORM_EXPORT SimpleFontData : public FontData {
public:
// Used to create platform fonts.
static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = nullptr, bool isTextOrientationFallback = false)
{
return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback));
}
// Used to create SVG Fonts.
static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic)
{
return adoptRef(new SimpleFontData(customData, fontSize, syntheticBold, syntheticItalic));
}
virtual ~SimpleFontData();
static const SimpleFontData* systemFallback() { return reinterpret_cast<const SimpleFontData*>(-1); }
const FontPlatformData& platformData() const { return m_platformData; }
#if ENABLE(OPENTYPE_VERTICAL)
const OpenTypeVerticalData* verticalData() const { return m_verticalData.get(); }
#endif
PassRefPtr<SimpleFontData> smallCapsFontData(const FontDescription&) const;
PassRefPtr<SimpleFontData> emphasisMarkFontData(const FontDescription&) const;
PassRefPtr<SimpleFontData> brokenIdeographFontData() const;
PassRefPtr<SimpleFontData> variantFontData(const FontDescription& description, FontDataVariant variant) const
{
switch (variant) {
case SmallCapsVariant:
return smallCapsFontData(description);
case EmphasisMarkVariant:
return emphasisMarkFontData(description);
case BrokenIdeographVariant:
return brokenIdeographFontData();
case AutoVariant:
case NormalVariant:
break;
}
ASSERT_NOT_REACHED();
return const_cast<SimpleFontData*>(this);
}
PassRefPtr<SimpleFontData> verticalRightOrientationFontData() const;
PassRefPtr<SimpleFontData> uprightOrientationFontData() const;
bool hasVerticalGlyphs() const { return m_hasVerticalGlyphs; }
bool isTextOrientationFallback() const { return m_isTextOrientationFallback; }
FontMetrics& fontMetrics() { return m_fontMetrics; }
const FontMetrics& fontMetrics() const { return m_fontMetrics; }
float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetrics().unitsPerEm() : 1); }
float maxCharWidth() const { return m_maxCharWidth; }
void setMaxCharWidth(float maxCharWidth) { m_maxCharWidth = maxCharWidth; }
float avgCharWidth() const { return m_avgCharWidth; }
void setAvgCharWidth(float avgCharWidth) { m_avgCharWidth = avgCharWidth; }
FloatRect boundsForGlyph(Glyph) const;
float widthForGlyph(Glyph glyph) const;
FloatRect platformBoundsForGlyph(Glyph) const;
float platformWidthForGlyph(Glyph) const;
float spaceWidth() const { return m_spaceWidth; }
void setSpaceWidth(float spaceWidth) { m_spaceWidth = spaceWidth; }
#if OS(MACOSX)
float syntheticBoldOffset() const { return m_syntheticBoldOffset; }
#endif
Glyph spaceGlyph() const { return m_spaceGlyph; }
void setSpaceGlyph(Glyph spaceGlyph) { m_spaceGlyph = spaceGlyph; }
Glyph zeroWidthSpaceGlyph() const { return m_zeroWidthSpaceGlyph; }
void setZeroWidthSpaceGlyph(Glyph spaceGlyph) { m_zeroWidthSpaceGlyph = spaceGlyph; }
bool isZeroWidthSpaceGlyph(Glyph glyph) const { return glyph == m_zeroWidthSpaceGlyph && glyph; }
Glyph zeroGlyph() const { return m_zeroGlyph; }
void setZeroGlyph(Glyph zeroGlyph) { m_zeroGlyph = zeroGlyph; }
virtual const SimpleFontData* fontDataForCharacter(UChar32) const OVERRIDE;
Glyph glyphForCharacter(UChar32) const;
void determinePitch();
Pitch pitch() const { return m_treatAsFixedPitch ? FixedPitch : VariablePitch; }
bool isSVGFont() const { return m_customFontData && m_customFontData->isSVGFont(); }
virtual bool isCustomFont() const OVERRIDE { return m_customFontData; }
virtual bool isLoading() const OVERRIDE { return m_customFontData ? m_customFontData->isLoading() : false; }
virtual bool isLoadingFallback() const OVERRIDE { return m_customFontData ? m_customFontData->isLoadingFallback() : false; }
virtual bool isSegmented() const OVERRIDE;
virtual bool shouldSkipDrawing() const OVERRIDE { return m_customFontData && m_customFontData->shouldSkipDrawing(); }
const GlyphData& missingGlyphData() const { return m_missingGlyphData; }
void setMissingGlyphData(const GlyphData& glyphData) { m_missingGlyphData = glyphData; }
#ifndef NDEBUG
virtual String description() const OVERRIDE;
#endif
#if OS(MACOSX)
const SimpleFontData* getCompositeFontReferenceFontData(NSFont *key) const;
NSFont* getNSFont() const { return m_platformData.font(); }
#endif
#if OS(MACOSX)
CFDictionaryRef getCFStringAttributes(TypesettingFeatures, FontOrientation) const;
#endif
bool canRenderCombiningCharacterSequence(const UChar*, size_t) const;
PassRefPtr<CustomFontData> customFontData() const { return m_customFontData; }
// Implemented by the platform.
virtual bool fillGlyphPage(GlyphPage* pageToFill, unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength) const;
protected:
SimpleFontData(const FontPlatformData&, PassRefPtr<CustomFontData> customData, bool isTextOrientationFallback = false);
SimpleFontData(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic);
private:
void platformInit();
void platformGlyphInit();
void platformCharWidthInit();
void platformDestroy();
void initCharWidths();
PassRefPtr<SimpleFontData> createScaledFontData(const FontDescription&, float scaleFactor) const;
PassRefPtr<SimpleFontData> platformCreateScaledFontData(const FontDescription&, float scaleFactor) const;
FontMetrics m_fontMetrics;
float m_maxCharWidth;
float m_avgCharWidth;
FontPlatformData m_platformData;
mutable OwnPtr<GlyphMetricsMap<FloatRect> > m_glyphToBoundsMap;
mutable GlyphMetricsMap<float> m_glyphToWidthMap;
bool m_treatAsFixedPitch;
bool m_isTextOrientationFallback;
bool m_isBrokenIdeographFallback;
#if ENABLE(OPENTYPE_VERTICAL)
RefPtr<OpenTypeVerticalData> m_verticalData;
#endif
bool m_hasVerticalGlyphs;
Glyph m_spaceGlyph;
float m_spaceWidth;
Glyph m_zeroGlyph;
Glyph m_zeroWidthSpaceGlyph;
GlyphData m_missingGlyphData;
struct DerivedFontData {
static PassOwnPtr<DerivedFontData> create(bool forCustomFont);
~DerivedFontData();
bool forCustomFont;
RefPtr<SimpleFontData> smallCaps;
RefPtr<SimpleFontData> emphasisMark;
RefPtr<SimpleFontData> brokenIdeograph;
RefPtr<SimpleFontData> verticalRightOrientation;
RefPtr<SimpleFontData> uprightOrientation;
#if OS(MACOSX)
mutable RetainPtr<CFMutableDictionaryRef> compositeFontReferences;
#endif
private:
DerivedFontData(bool custom)
: forCustomFont(custom)
{
}
};
mutable OwnPtr<DerivedFontData> m_derivedFontData;
RefPtr<CustomFontData> m_customFontData;
#if OS(MACOSX)
float m_syntheticBoldOffset;
mutable HashMap<unsigned, RetainPtr<CFDictionaryRef> > m_CFStringAttributes;
#endif
mutable OwnPtr<HashMap<String, bool> > m_combiningCharacterSequenceSupport;
};
ALWAYS_INLINE FloatRect SimpleFontData::boundsForGlyph(Glyph glyph) const
{
if (isZeroWidthSpaceGlyph(glyph))
return FloatRect();
FloatRect bounds;
if (m_glyphToBoundsMap) {
bounds = m_glyphToBoundsMap->metricsForGlyph(glyph);
if (bounds.width() != cGlyphSizeUnknown)
return bounds;
}
bounds = platformBoundsForGlyph(glyph);
if (!m_glyphToBoundsMap)
m_glyphToBoundsMap = adoptPtr(new GlyphMetricsMap<FloatRect>);
m_glyphToBoundsMap->setMetricsForGlyph(glyph, bounds);
return bounds;
}
ALWAYS_INLINE float SimpleFontData::widthForGlyph(Glyph glyph) const
{
if (isZeroWidthSpaceGlyph(glyph))
return 0;
float width = m_glyphToWidthMap.metricsForGlyph(glyph);
if (width != cGlyphSizeUnknown)
return width;
#if ENABLE(OPENTYPE_VERTICAL)
if (m_verticalData)
#if OS(MACOSX)
width = m_verticalData->advanceHeight(this, glyph) + m_syntheticBoldOffset;
#else
width = m_verticalData->advanceHeight(this, glyph);
#endif
else
#endif
width = platformWidthForGlyph(glyph);
m_glyphToWidthMap.setMetricsForGlyph(glyph, width);
return width;
}
DEFINE_FONT_DATA_TYPE_CASTS(SimpleFontData, false);
} // namespace blink
#endif // SimpleFontData_h
| [
"abarth@chromium.org"
] | abarth@chromium.org |
b3fd511803d33df44b19c1062c95e7b9ba272c10 | f4be7826015b43751c45a8807bbfc8c489bc1bb4 | /include/neb/fnd/game/ai/util/decl.hpp | 336f2b760bcb796010229b24a4f17005fce4590f | [] | no_license | nebula-engine/Nebula-Core | 410b7a8992f4d5786ba9ea3f2f13bc20d107ae74 | 2364a7d0863550ef8ec7a40368e07bd4c0384829 | refs/heads/master | 2021-01-01T05:40:51.921727 | 2015-03-11T03:16:46 | 2015-03-11T03:16:46 | 21,407,246 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | hpp | #ifndef PHYSX_GAME_WEAPON_UTIL_DECL_HPP
#define PHYSX_GAME_WEAPON_UTIL_DECL_HPP
namespace phx { namespace game {
/** @brief weapon */
namespace weapon {
/** @brief util */
namespace util {
}
class base;
class SimpleProjectile;
}
}}
#endif
| [
"charlesrymal@gmail.com"
] | charlesrymal@gmail.com |
b73da9a142d50d2ebc6751c550103b39ef7da85c | 8e0f94ca952be42232527a197d5d60b637233a4f | /sdk/MessageUtils.h | c8c91a86aa0ff80fe6d8bef99c49b993c310e1ba | [] | no_license | flykule/Mandelbrot-IPC | 0f1d036d7746cd1b3666a349f828bf8a3964b1eb | 5d79140d86b26ca36afed39ca627566137638805 | refs/heads/master | 2021-09-01T12:48:39.424469 | 2017-12-27T03:02:28 | 2017-12-27T03:02:28 | 115,475,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | h | #include <QByteArray>
#include <QDataStream>
#include <QTcpSocket>
#include <memory>
#include <vector>
#include "Message.h"
namespace MessageUtils {
inline void sendMessage(QTcpSocket &socket, Message::Type messageType,
QByteArray &data, bool forceFlush = false) {
Message message(messageType, data);
QByteArray byteArray;
QDataStream stream(&byteArray, QIODevice::WriteOnly);
stream << message;
socket.write(byteArray);
if (forceFlush) {
socket.flush();
}
}
inline void sendMessage(QTcpSocket &socket, Message::Type messageType,
bool forceFlush = false) {
QByteArray data;
sendMessage(socket, messageType, data, forceFlush);
}
inline std::unique_ptr<std::vector<std::unique_ptr<Message>>>
readMessages(QDataStream &stream) {
auto messages = std::make_unique<std::vector<std::unique_ptr<Message>>>();
bool commitTransaction = true;
while (commitTransaction && stream.device()->bytesAvailable() > 0) {
stream.startTransaction();
auto message = std::make_unique<Message>();
stream >> *message;
commitTransaction = stream.commitTransaction();
if (commitTransaction) {
messages->push_back(std::move(message));
}
}
return messages;
}
} // namespace MessageUtils
| [
"castleliu40@gmail.com"
] | castleliu40@gmail.com |
359fccd79722de341f7998af59e28d49457c32a7 | 89d4bbfe996fc2eb01c905006477e550ab503ba8 | /src/runtime/ext/profile/extprofile_ice.h | 2e07b51e6750341043a7187bab395dfb53de8057 | [
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01",
"Zend-2.0"
] | permissive | huzhiguang/hiphop-php_20121224_stable | 77baf7b391c8a0a5840109016a0a7b1669d82aa3 | ce84927f05ec524ded40fc9918fdc22dbb8aeb91 | refs/heads/master | 2020-06-04T08:05:59.831789 | 2013-08-07T07:58:57 | 2013-08-07T07:58:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,809 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
| http://www.php.net/license/3_01.txt |
| If you did not receive a copy of the PHP license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
*/
#ifndef __EXTPROFILE_ICE_H__
#define __EXTPROFILE_ICE_H__
// >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
#include <runtime/ext/ext_ice.h>
namespace HPHP {
///////////////////////////////////////////////////////////////////////////////
inline Object x_ice_initialize() {
FUNCTION_INJECTION_BUILTIN(ice_initialize);
return f_ice_initialize();
}
inline Object x_icephp_defineproxy(CObjRef classobj) {
FUNCTION_INJECTION_BUILTIN(icephp_defineproxy);
return f_icephp_defineproxy(classobj);
}
inline Object x_icephp_declareclass(CStrRef id = null) {
FUNCTION_INJECTION_BUILTIN(icephp_declareclass);
return f_icephp_declareclass(id);
}
inline Object x_icephp_defineexception(CStrRef id = null, CStrRef name = null, CVarRef base = null, CVarRef members = null) {
FUNCTION_INJECTION_BUILTIN(icephp_defineexception);
return f_icephp_defineexception(id, name, base, members);
}
inline Variant x_create_typeinfobyid(int id = 0) {
FUNCTION_INJECTION_BUILTIN(create_typeinfobyid);
return f_create_typeinfobyid(id);
}
inline String x_icephp_stringifyexception(CObjRef value = null, CObjRef target = null) {
FUNCTION_INJECTION_BUILTIN(icephp_stringifyexception);
return f_icephp_stringifyexception(value, target);
}
inline String x_icephp_stringify(CObjRef value = null, CObjRef target = null) {
FUNCTION_INJECTION_BUILTIN(icephp_stringify);
return f_icephp_stringify(value, target);
}
inline Object x_icephp_definesequence(CStrRef id = null, CVarRef elementtype = null) {
FUNCTION_INJECTION_BUILTIN(icephp_definesequence);
return f_icephp_definesequence(id, elementtype);
}
inline Object x_icephp_defineclass(CStrRef id, CStrRef name, bool isabstract = true, CObjRef base = null, CVarRef interfaces = null, CVarRef members = null) {
FUNCTION_INJECTION_BUILTIN(icephp_defineclass);
return f_icephp_defineclass(id, name, isabstract, base, interfaces, members);
}
inline void x_icephp_defineoperation(CObjRef classobj = null, CStrRef funname = null, int mode = null, int sendmode = null, CVarRef inparams = null, CVarRef outparams = null, CVarRef returntype = null, CVarRef exceptions = null) {
FUNCTION_INJECTION_BUILTIN(icephp_defineoperation);
f_icephp_defineoperation(classobj, funname, mode, sendmode, inparams, outparams, returntype, exceptions);
}
inline Object x_ice_find(CStrRef ice_name = null) {
FUNCTION_INJECTION_BUILTIN(ice_find);
return f_ice_find(ice_name);
}
inline bool x_ice_register(CObjRef ice_object, CStrRef ice_name = null, int64 expires = null) {
FUNCTION_INJECTION_BUILTIN(ice_register);
return f_ice_register(ice_object, ice_name, expires);
}
///////////////////////////////////////////////////////////////////////////////
}
#endif // __EXTPROFILE_ICE_H__
| [
"huzhiguang@jd.com"
] | huzhiguang@jd.com |
c5aea4a0d634ffb44a21e037db310cf1e5186b2e | 9240ceb15f7b5abb1e4e4644f59d209b83d70066 | /sp/src/game/server/hl2/weapon_citizenpackage.cpp | 5f3fe610a6df5ea6eac718137ee935e263b0f903 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Margen67/blamod | 13e5cd9f7f94d1612eb3f44a2803bf2f02a3dcbe | d59b5f968264121d013a81ae1ba1f51432030170 | refs/heads/master | 2023-04-16T12:05:12.130933 | 2019-02-20T10:23:04 | 2019-02-20T10:23:04 | 264,556,156 | 2 | 0 | NOASSERTION | 2020-05-17T00:47:56 | 2020-05-17T00:47:55 | null | UTF-8 | C++ | false | false | 2,316 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include "cbase.h"
#include "weapon_citizenpackage.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
IMPLEMENT_SERVERCLASS_ST(CWeaponCitizenPackage, DT_WeaponCitizenPackage)
END_SEND_TABLE()
BEGIN_DATADESC( CWeaponCitizenPackage )
END_DATADESC()
LINK_ENTITY_TO_CLASS( weapon_citizenpackage, CWeaponCitizenPackage );
PRECACHE_WEAPON_REGISTER(weapon_citizenpackage);
acttable_t CWeaponCitizenPackage::m_acttable[] =
{
{ ACT_IDLE, ACT_IDLE_PACKAGE, false },
{ ACT_WALK, ACT_WALK_PACKAGE, false },
};
IMPLEMENT_ACTTABLE(CWeaponCitizenPackage);
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CWeaponCitizenPackage::ItemPostFrame( void )
{
// Do nothing
}
//-----------------------------------------------------------------------------
// Purpose: Remove the citizen package if it's ever dropped
//-----------------------------------------------------------------------------
void CWeaponCitizenPackage::Drop( const Vector &vecVelocity )
{
BaseClass::Drop( vecVelocity );
UTIL_Remove( this );
}
//-----------------------------------------------------------------------------
// Purpose: Citizen suitcase
//-----------------------------------------------------------------------------
class CWeaponCitizenSuitcase : public CWeaponCitizenPackage
{
DECLARE_CLASS( CWeaponCitizenSuitcase, CWeaponCitizenPackage );
public:
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
DECLARE_ACTTABLE();
};
IMPLEMENT_SERVERCLASS_ST(CWeaponCitizenSuitcase, DT_WeaponCitizenSuitcase)
END_SEND_TABLE()
BEGIN_DATADESC( CWeaponCitizenSuitcase )
END_DATADESC()
LINK_ENTITY_TO_CLASS( weapon_citizensuitcase, CWeaponCitizenSuitcase );
PRECACHE_WEAPON_REGISTER(weapon_citizensuitcase);
acttable_t CWeaponCitizenSuitcase::m_acttable[] =
{
{ ACT_IDLE, ACT_IDLE_SUITCASE, false },
{ ACT_WALK, ACT_WALK_SUITCASE, false },
};
IMPLEMENT_ACTTABLE(CWeaponCitizenSuitcase);
| [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
610804123a6542fe137f58ba56e8ff5dfe7ef8cb | f24194eb4591fdd9c20f508c03cd94d5b25ed7a8 | /src/ofApp.h | 85f60c9e757bf459b2892b97b463ca03484c9e4c | [] | no_license | epylinkn/unpettable-cat-kinect | 9b1046d9f0591b07601faaaa7fc6c338df0db018 | b88fd323f31b2ae52a597a687ddbed6eb867f08e | refs/heads/master | 2020-12-03T09:25:34.222024 | 2017-06-28T18:04:59 | 2017-06-28T18:04:59 | 95,620,369 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | h | #pragma once
#include "ofMain.h"
#include "ofxKinectV2.h"
#include "ofxGui.h"
#include "ofxControl.h"
#define OSC_DESTINATION_DEFAULT "localhost"
#define OSC_ADDRESS_ROOT_DEFAULT "/kinect"
#define OSC_PORT_DEFAULT 6448
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int button);
void mouseReleased(int x, int y, int button);
void windowResized(int w, int h);
void dragEvent(ofDragInfo dragInfo);
void gotMessage(ofMessage msg);
ofxPanel panel;
vector < shared_ptr<ofxKinectV2> > kinects;
vector <ofTexture> texDepth;
vector <ofTexture> texRGB;
vector <ofFloatPixels> rawDepthPixels;
vector <ofColor> testdata;
ofxOscSender osc;
string oscDestination;
string oscAddressRoot;
int oscPort;
string oscMessageString;
string realWorldAddress;
string screenAddress;
bool doneOnce;
bool depthOnce;
bool sending;
ofxControlWidget gui;
};
| [
"anthonybui@gmail.com"
] | anthonybui@gmail.com |
cae49d26191951ae2973f175e0f6437a3245df84 | e9005675285b8a019f70d02c2fe88b354424d3ac | /myServer/base/AsyncLogging.cpp | 75f55b756338dd1b1e209da69ac169245a89e499 | [] | no_license | zhen3410/myWebServer | 6f2ca87da667422a985d9dc0afb628ea5f53eff6 | 9c456f1fc34719cc2ad661f87548be842ef5c169 | refs/heads/master | 2020-05-20T04:18:12.186231 | 2019-09-29T08:56:57 | 2019-09-29T08:56:57 | 185,378,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | cpp | #include"AsyncLogging.h"
#include"LogFile.h"
#include"Timestamp.h"
#include<assert.h>
using namespace server;
AsyncLogging::AsyncLogging(const std::string& basename,off_t rollSize,int flushInterval)
:flushInterval_(flushInterval),
running_(false),
basename_(basename),
rollSize_(rollSize),
thread_(std::bind(&AsyncLogging::threadFunc,this),"Logging"),
latch_(1),
mutex_(),
cond_(mutex_),
currentBuffer_(new Buffer),
nextBuffer_(new Buffer),
buffers_()
{
currentBuffer_->bzero();
nextBuffer_->bzero();
buffers_.reserve(16);
}
void AsyncLogging::append(const char* logline,int len){
MutexLockGuard lock(mutex_);
if(currentBuffer_->avail()>len){
currentBuffer_->append(logline,len);
}else{
buffers_.push_back(std::move(currentBuffer_));
if(nextBuffer_){
currentBuffer_=std::move(nextBuffer_);
}else{
currentBuffer_.reset(new Buffer);
}
currentBuffer_->append(logline,len);
cond_.notify();
}
}
void AsyncLogging::threadFunc(){
assert(running_==true);
latch_.countDown();
LogFile output(basename_,rollSize_,false);
BufferPtr newBuffer1(new Buffer);
BufferPtr newBuffer2(new Buffer);
newBuffer1->bzero();
newBuffer2->bzero();
BufferVector bufferToWrite;
bufferToWrite.reserve(16);
while(running_){
{
MutexLockGuard lock(mutex_);
if(buffers_.empty()){
cond_.waitForSeconds(flushInterval_);
}
buffers_.push_back(std::move(currentBuffer_));
currentBuffer_=std::move(newBuffer1);
bufferToWrite.swap(buffers_);
if(!nextBuffer_){
nextBuffer_=std::move(newBuffer2);
}
}
if(bufferToWrite.size()>25){
bufferToWrite.erase(bufferToWrite.begin()+2,bufferToWrite.end());
}
for(const auto& buffer:bufferToWrite){
output.append(buffer->data(),buffer->length());
}
if(bufferToWrite.size()>2){
bufferToWrite.resize(2);
}
if(!newBuffer1){
newBuffer1=std::move(bufferToWrite.back());
bufferToWrite.pop_back();
newBuffer1->reset();
}
if(!newBuffer2){
newBuffer2=std::move(bufferToWrite.back());
bufferToWrite.pop_back();
newBuffer2->reset();
}
output.flush();
}
output.flush();
}
| [
"21721207@zju.edu.cn"
] | 21721207@zju.edu.cn |
c839b9ad316dc590d2ef559432935abbf23037ae | 60ecb2cf32ae8b94e9796981d2ff06a769555072 | /problems/week5 - dp/217 Coin Change (UVa 674).cpp | e32ed77085df417497e4e50cae121063393fb905 | [] | no_license | klhui97/CS3391 | fbe06b1cdd90d9d03617bad5065501f53d48f7e6 | 09a516df73ac45232a4a2a01a4d39e0e550ea5f3 | refs/heads/master | 2020-04-17T09:08:17.234360 | 2019-06-17T15:57:52 | 2019-06-17T15:57:52 | 166,446,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | /*** System Library ***/
#include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib> // random
#include <ctime>
#include <climits> // all useful constants
#include <functional> // for hash
#include <algorithm>
#include <sstream>
#include <iomanip>
#include <regex>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/*** Data Structure ***/
#include <string>
#include <queue>
#include <stack>
#include <vector>
#include <deque> // double ended queue
#include <list> // priority queue
#include <map>
using namespace std;
#define N 7490
void mainFunction()
{
int c[5] = {1, 5, 10, 25, 50};
int dp[N];
memset(dp, 0, sizeof dp);
dp[0] = 1;
for (int i = 0; i < 5; ++i)
{
for (int j = c[i]; j < N; ++j)
dp[j] += dp[j - c[i]];
}
int n;
while(cin >> n){
cout << dp[n] << endl;
}
}
void testCaseGenerator()
{
int d[24];
for (int i = 1; i < 25; i++)
{
d[i - 1] = i;
}
for (int i = 0; i < 100; i++)
{
// random_shuffle(begin(d), end(d));
cout << d[0] << " " << d[1] << " " << d[2] << " " << d[3] << " " << int(rand() % 24 + 1) << endl;
}
}
int main()
{
if (getenv("vscode") != NULL) {
freopen("in.txt", "r", stdin);
}
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// testCaseGenerator();
mainFunction();
return 0;
} | [
"huikldavid@gmail.com"
] | huikldavid@gmail.com |
a2015e29f81e2c7900e7b8f7e025b790f65fda38 | 4702c20cdccb8733dc5a83629523e9d8af3d65b5 | /include/multiplicateur.h | 24eed5f31203d2fb8dc7f3d7c40a111d6bf1675d | [] | no_license | KomInc/Tp13 | 882854760ddcb28a865e12fc304bfa1eeb46e1f5 | 83d1ceed757f7ba6b6f232a5f1d49198a656b307 | refs/heads/master | 2021-03-31T08:39:27.425986 | 2020-03-25T09:19:41 | 2020-03-25T09:19:41 | 248,092,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | h | /*
* multiplicateur.h
*
* Created on: 19 mars 2020
* Author: inc
*/
#ifndef INCLUDE_MULTIPLICATEUR_H_
#define INCLUDE_MULTIPLICATEUR_H_
#include "filtre_base.h"
class multiplicateur : public filtre_base {
public:
multiplicateur();
virtual ~multiplicateur();
virtual void calculer();
//void connecter();
};
#endif /* INCLUDE_MULTIPLICATEUR_H_ */
| [
"ps119115@gmail.com"
] | ps119115@gmail.com |
4413bea748f791aabbeec5b57273e48fda7f24c0 | 7d6dc82441da7906415c209465c4399901c7f037 | /src/manolab/devices/CanDevice.h | 29d20904a29d0bd0aacb5214b48509ce53d3c4fa | [
"MIT"
] | permissive | manolab-project/pier-o-bois | c778ee16af182c3bcd058e94ac852313342ea405 | 7c562d4cdf2eead50ec1f9e946ef96e9606e4e23 | refs/heads/main | 2023-07-03T14:16:55.719557 | 2021-08-11T09:53:56 | 2021-08-11T09:53:56 | 394,932,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | #ifndef CAN_DEVICE_H
#define CAN_DEVICE_H
#include <vector>
#include <thread>
#include "DeviceBase.h"
#include "libixxat.h"
#include <windows.h>
#include "TcpClient.h"
class CanDevice : public DeviceBase
{
public:
CanDevice();
~CanDevice();
bool Execute(const std::vector<Value> &args, Value &ret);
static std::vector<std::string> GetList();
static bool StartIxxatServer();
static void StopIxxatServer();
// From DeviceBase
void AutoTest();
void Initialize();
void Stop();
private:
tcp::TcpClient mClient;
std::string mCurrentDevId;
bool mInitialized;
void FindIxxatByName();
static bool Request(tcp::TcpClient &client, const std::string &req, std::string &res);
int Exec(const std::string &CmdLine, const std::string &CmdRunDir);
};
#endif // CAN_DEVICE_H
| [
"anthony@rabine.fr"
] | anthony@rabine.fr |
ab9a3c0e5b9fb52e768166d08c00a1942174bba6 | f6b955622c4afe208c724755c859899ad4044a31 | /skia/samplecode/SampleUnitMapper.cpp | 8cc9afb9e83960c662cce6a7158ed12243aa41ed | [
"BSD-3-Clause"
] | permissive | hicdre/skiaui | 4de57f3e979f763f1ac200098cb442d7833e0690 | 839562136fb842df3d6f29a6ef5ac8f4b576e840 | refs/heads/master | 2020-05-16T21:40:00.486859 | 2013-01-31T13:27:50 | 2013-01-31T13:27:50 | 7,932,520 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,853 | cpp |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkDevice.h"
#include "SkPaint.h"
#include "SkUnitMappers.h"
#include "SkCubicInterval.h"
#include "SkWidgetViews.h"
static SkStaticTextView* make_textview(SkView* parent,
const SkRect& bounds,
const SkPaint& paint) {
SkStaticTextView* view = new SkStaticTextView;
view->setMode(SkStaticTextView::kFixedSize_Mode);
view->setPaint(paint);
view->setVisibleP(true);
view->setSize(bounds.width(), bounds.height());
view->setLoc(bounds.fLeft, bounds.fTop);
parent->attachChildToFront(view)->unref();
return view;
}
static void set_scalar(SkStaticTextView* view, SkScalar value) {
SkString str;
str.appendScalar(value);
view->setText(str);
}
class UnitMapperView : public SampleView {
SkPoint fPts[4];
SkMatrix fMatrix;
SkStaticTextView* fViews[4];
void setViews() {
set_scalar(fViews[0], fPts[1].fX);
set_scalar(fViews[1], fPts[1].fY);
set_scalar(fViews[2], fPts[2].fX);
set_scalar(fViews[3], fPts[2].fY);
}
public:
UnitMapperView() {
fPts[0].set(0, 0);
fPts[1].set(SK_Scalar1 / 3, SK_Scalar1 / 3);
fPts[2].set(SK_Scalar1 * 2 / 3, SK_Scalar1 * 2 / 3);
fPts[3].set(SK_Scalar1, SK_Scalar1);
fMatrix.setScale(SK_Scalar1 * 200, -SK_Scalar1 * 200);
fMatrix.postTranslate(SkIntToScalar(100), SkIntToScalar(300));
SkRect r = {
SkIntToScalar(350), SkIntToScalar(100),
SkIntToScalar(500), SkIntToScalar(130)
};
SkPaint paint;
paint.setAntiAlias(true);
paint.setTextSize(SkIntToScalar(25));
for (int i = 0; i < 4; i++) {
fViews[i] = make_textview(this, r, paint);
r.offset(0, r.height());
}
this->setViews();
}
protected:
// overrides from SkEventSink
virtual bool onQuery(SkEvent* evt) {
if (SampleCode::TitleQ(*evt)) {
SampleCode::TitleR(evt, "UnitMapper");
return true;
}
return this->INHERITED::onQuery(evt);
}
virtual void onDrawContent(SkCanvas* canvas) {
SkPaint paint;
paint.setAntiAlias(true);
paint.setColor(0xFF8888FF);
SkRect r = { 0, 0, SK_Scalar1, SK_Scalar1 };
canvas->concat(fMatrix);
canvas->drawRect(r, paint);
paint.setColor(SK_ColorBLACK);
paint.setStyle(SkPaint::kStroke_Style);
paint.setStrokeWidth(0);
paint.setStrokeCap(SkPaint::kRound_Cap);
SkPath path;
path.moveTo(fPts[0]);
path.cubicTo(fPts[1], fPts[2], fPts[3]);
canvas->drawPath(path, paint);
paint.setColor(SK_ColorRED);
paint.setStrokeWidth(0);
canvas->drawLine(0, 0, SK_Scalar1, SK_Scalar1, paint);
paint.setColor(SK_ColorBLUE);
paint.setStrokeWidth(SK_Scalar1 / 60);
for (int i = 0; i < 50; i++) {
SkScalar x = i * SK_Scalar1 / 49;
canvas->drawPoint(x, SkEvalCubicInterval(&fPts[1], x), paint);
}
paint.setStrokeWidth(SK_Scalar1 / 20);
paint.setColor(SK_ColorGREEN);
canvas->drawPoints(SkCanvas::kPoints_PointMode, 2, &fPts[1], paint);
}
bool invertPt(SkScalar x, SkScalar y, SkPoint* result) {
if (NULL == result)
return true;
SkMatrix m;
if (!fMatrix.invert(&m)) {
return false;
}
m.mapXY(x, y, result);
return true;
}
int hittest(SkScalar x, SkScalar y) {
SkPoint target = { x, y };
SkPoint pts[2] = { fPts[1], fPts[2] };
fMatrix.mapPoints(pts, 2);
for (int i = 0; i < 2; i++) {
if (SkPoint::Distance(pts[i], target) < SkIntToScalar(4)) {
return i + 1;
}
}
return -1;
}
virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) {
fDragIndex = hittest(x, y);
return fDragIndex >= 0 ? new Click(this) : NULL;
}
virtual bool onClick(Click* click) {
if (fDragIndex >= 0) {
if (!invertPt(click->fCurr.fX, click->fCurr.fY,
&fPts[fDragIndex])) {
return false;
}
this->setViews();
this->inval(NULL);
return true;
}
return false;
}
private:
int fDragIndex;
typedef SampleView INHERITED;
};
//////////////////////////////////////////////////////////////////////////////
static SkView* MyFactory() { return new UnitMapperView; }
static SkViewRegister reg(MyFactory);
| [
"iicdre@gmail.com"
] | iicdre@gmail.com |
29b4de320fac029118ab16b1e799376fdecd891a | 358f169a58d082f3bc66d306d34fbe5dd7408bac | /format.h | de1eb28ac542bbd54ae57b96fd30b8b70e9a6dbc | [] | no_license | vertohod/include | c93c3687f4d51fbbbc5c436f2753b548b68d3ffc | 663869ada5c0ffcac3ad415915b5b71e3a58ddfa | refs/heads/master | 2020-04-03T04:16:08.298637 | 2019-07-19T15:54:30 | 2019-07-19T15:54:30 | 155,008,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094 | h | #ifndef FORMAT_H
#define FORMAT_H
#include <string>
#include "types.h"
template <typename T>
T format(const std::string& arg) { return arg; }
template <>
char format<char>(const std::string& arg);
template <>
unsigned char format<unsigned char>(const std::string& arg);
template <>
short format<short>(const std::string& arg);
template <>
unsigned short format<unsigned short>(const std::string& arg);
template <>
int format<int>(const std::string& arg);
template <>
unsigned int format<unsigned int>(const std::string& arg);
template <>
long format<long>(const std::string& arg);
template <>
unsigned long format<unsigned long>(const std::string& arg);
template <>
double format<double>(const std::string& arg);
template <>
bool format<bool>(const std::string& arg);
#ifndef __linux__
template <>
uint64_t format<uint64_t>(const std::string& arg);
#endif
template <>
std::shared_ptr<std::vector<sptr_str>> format<std::shared_ptr<std::vector<sptr_str>>>(const std::string& arg);
template <>
std::shared_ptr<std::vector<OID>> format<std::shared_ptr<std::vector<OID>>>(const std::string& arg);
// Для умных указателей
template <typename T>
T format(const sptr_cstr& arg) { return format<T>(*arg); }
// Специальная функция
template <typename T>
void format(const std::string& arg, T& res);
// Обратное преобразование
namespace std
{
inline const std::string& to_string(const std::string& arg) { return arg; }
template <typename T>
const std::string& to_string(const sptr_string<T>& arg) { return *arg; }
}
template <typename T>
const std::string format(T arg) { return std::to_string(arg); }
template <>
const std::string format<char>(char arg);
template <>
const std::string format<unsigned char>(unsigned char arg);
template <>
const std::string format<bool>(bool arg);
template <>
const std::string format<std::shared_ptr<std::vector<sptr_str>>>(std::shared_ptr<std::vector<sptr_str>>);
template <>
const std::string format<std::shared_ptr<std::vector<OID>>>(std::shared_ptr<std::vector<OID>>);
#endif
| [
"vertohod1@mail.ru"
] | vertohod1@mail.ru |
2f9e822199c35fd7a56914c119623a60a23c06d3 | 2e676e3b1cebfbb9d20f9b935ceacd507c57d36a | /Octave/octave-4.2.1/include/octave-4.2.1/octave/CColVector.h | 9ee05cd82f2e117e272690c670568cb5c3fea135 | [
"MIT",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | vohrahul/ML-ang-coursera | 239469e763b290aa178b7aa8a86eda08e4e7f4be | 4c24fd2ecfb9f3de7df15e3a9f75627f782f9915 | refs/heads/master | 2022-12-28T03:45:54.810173 | 2020-10-16T12:33:25 | 2020-10-16T12:33:25 | 304,620,441 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,974 | h | /*
Copyright (C) 1994-2017 John W. Eaton
Copyright (C) 2010 VZLU Prague
This file is part of Octave.
Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>.
*/
#if ! defined (octave_CColVector_h)
#define octave_CColVector_h 1
#include "octave-config.h"
#include "MArray.h"
#include "mx-defs.h"
class
OCTAVE_API
ComplexColumnVector : public MArray<Complex>
{
friend class ComplexMatrix;
friend class ComplexRowVector;
public:
ComplexColumnVector (void) : MArray<Complex> (dim_vector (0, 1)) { }
explicit ComplexColumnVector (octave_idx_type n)
: MArray<Complex> (dim_vector (n, 1)) { }
explicit ComplexColumnVector (const dim_vector& dv)
: MArray<Complex> (dv.as_column ()) { }
ComplexColumnVector (octave_idx_type n, const Complex& val)
: MArray<Complex> (dim_vector (n, 1), val) { }
ComplexColumnVector (const ComplexColumnVector& a) : MArray<Complex> (a) { }
ComplexColumnVector (const MArray<Complex>& a)
: MArray<Complex> (a.as_column ()) { }
ComplexColumnVector (const Array<Complex>& a)
: MArray<Complex> (a.as_column ()) { }
explicit ComplexColumnVector (const ColumnVector& a);
ComplexColumnVector& operator = (const ComplexColumnVector& a)
{
MArray<Complex>::operator = (a);
return *this;
}
bool operator == (const ComplexColumnVector& a) const;
bool operator != (const ComplexColumnVector& a) const;
// destructive insert/delete/reorder operations
ComplexColumnVector& insert (const ColumnVector& a, octave_idx_type r);
ComplexColumnVector& insert (const ComplexColumnVector& a, octave_idx_type r);
ComplexColumnVector& fill (double val);
ComplexColumnVector& fill (const Complex& val);
ComplexColumnVector& fill (double val,
octave_idx_type r1, octave_idx_type r2);
ComplexColumnVector& fill (const Complex& val,
octave_idx_type r1, octave_idx_type r2);
ComplexColumnVector stack (const ColumnVector& a) const;
ComplexColumnVector stack (const ComplexColumnVector& a) const;
ComplexRowVector hermitian (void) const;
ComplexRowVector transpose (void) const;
friend OCTAVE_API ComplexColumnVector conj (const ComplexColumnVector& a);
// resize is the destructive equivalent for this one
ComplexColumnVector extract (octave_idx_type r1, octave_idx_type r2) const;
ComplexColumnVector extract_n (octave_idx_type r1, octave_idx_type n) const;
// column vector by column vector -> column vector operations
ComplexColumnVector& operator += (const ColumnVector& a);
ComplexColumnVector& operator -= (const ColumnVector& a);
// matrix by column vector -> column vector operations
friend OCTAVE_API ComplexColumnVector operator * (const ComplexMatrix& a,
const ColumnVector& b);
friend OCTAVE_API ComplexColumnVector operator * (const ComplexMatrix& a,
const ComplexColumnVector& b);
// matrix by column vector -> column vector operations
friend OCTAVE_API ComplexColumnVector operator * (const Matrix& a,
const ComplexColumnVector& b);
// diagonal matrix by column vector -> column vector operations
friend OCTAVE_API ComplexColumnVector operator * (const DiagMatrix& a,
const ComplexColumnVector& b);
friend OCTAVE_API ComplexColumnVector operator * (const ComplexDiagMatrix& a,
const ColumnVector& b);
friend OCTAVE_API ComplexColumnVector operator * (const ComplexDiagMatrix& a,
const ComplexColumnVector& b);
// other operations
Complex min (void) const;
Complex max (void) const;
ColumnVector abs (void) const;
// i/o
friend OCTAVE_API std::ostream& operator << (std::ostream& os,
const ComplexColumnVector& a);
friend OCTAVE_API std::istream& operator >> (std::istream& is,
ComplexColumnVector& a);
void resize (octave_idx_type n, const Complex& rfv = Complex (0))
{
Array<Complex>::resize (dim_vector (n, 1), rfv);
}
void clear (octave_idx_type n)
{ Array<Complex>::clear (n, 1); }
};
MARRAY_FORWARD_DEFS (MArray, ComplexColumnVector, Complex)
#endif
| [
"rvohra91@gmail.com"
] | rvohra91@gmail.com |
8d4c17f39efc80fc8ce4198f4ebdce1d15a56167 | b4f42eed62aa7ef0e28f04c1f455f030115ec58e | /messagingfw/msgsrvnstore/server/inc/msvsearchsortdeltacache.h | 0519f2350cfdce8638ad554a2ddeb713b6fb6a84 | [] | no_license | SymbianSource/oss.FCL.sf.mw.messagingmw | 6addffd79d854f7a670cbb5d89341b0aa6e8c849 | 7af85768c2d2bc370cbb3b95e01103f7b7577455 | refs/heads/master | 2021-01-17T16:45:41.697969 | 2010-11-03T17:11:46 | 2010-11-03T17:11:46 | 71,851,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,034 | h | // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
#ifndef MSVSEARCHSORTDELTACACHE_H_
#define MSVSEARCHSORTDELTACACHE_H_
#include <e32base.h>
#include <msvstd.h>
#include <sqldb.h>
#include <msvapi.h>
#include "msvsearchsortcachemanager.h"
enum TMsgType
{
ENewMsg=1,
EUpdatedMsg=2,
EDeletedMsg=3
};
/**********************************
* CMsvSearchSortDeltaCache
* Description : Create a Search or Sort Cache Entry.
* @internalComponent
* @released
***********************************/
NONSHARABLE_CLASS (CMsvSearchSortDeltaCache) : public CBase
{
public:
~CMsvSearchSortDeltaCache(); //Destructor.
static CMsvSearchSortDeltaCache* Instance();
void EntryInDeltaCache(TMsvId aID,TMsgType aType);
private:
static CMsvSearchSortDeltaCache* CreateDeltaCacheL();
void ConstructL();
CMsvSearchSortDeltaCache();// Default constructor.
CMsvSearchSortDeltaCache& operator=(const CMsvSearchSortDeltaCache&); //Prevent Assignment operatior.
private:
static CMsvSearchSortDeltaCache* iMsvSearchSortDeltaCache;
RArray<TMsvId> iNewEntry;
RArray<TMsvId> iUpdateEntry;
RArray<TMsvId> iDeleteEntry;
TMsgType iType;
TBool iDeltaCacheDirtyFlag;
TBool iIsHeaderSearchEnabled; //The flag is meant to check on the updates that occur on an entry, during search sort operation on header.
friend class CMsvServer;
friend class CMsvIndexAdapter;
friend class CMSvSearchSortCacheManager;
friend class CMsvServerSession;
#if (defined SYMBIAN_MESSAGESTORE_UNIT_TESTCODE)
friend class CTestSearchSortDeltaCache;
friend class CTestSearchSortCacheManager;
#endif
};
#endif /*MSVSEARCHSORTDELTACACHE_H_*/
| [
"none@none"
] | none@none |
b6c6951f54c1555e4fe88f549997b9646e6d9675 | 0d22b8f910e18ab7109fd85366ced187f90ae5f2 | /graphAdjMat.cpp | 11c8c2068c0c3bb291ae8aacfd9d5305a4a48f5e | [] | no_license | zhaoly12/dataStruct | fe56cd4f0ff376518ecf22d31e5330dacd2aaba2 | 9309bcd2a79c50696347588fe67eaa6c312c817a | refs/heads/master | 2022-12-16T12:47:18.330328 | 2020-09-15T03:55:48 | 2020-09-15T03:55:48 | 279,025,704 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,758 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_VERTEX_NUM 20
#define INFINITY 32768
typedef enum{
DG, // directed gragh
DN, // directed network
UDG, // undirected gragh
UDN // undirected network
} graphKind;
typedef char vertexData;
typedef int adjType;
typedef char* otherInfo;
/*
define a gragh
*/
// express a graph
// 1. adjacency matrix
// 2. adjacency list
// 3. orthogonal linked list
// 4. adjacency multilist(for undirected graph and undirected network)
typedef struct
{
adjType adj;
otherInfo info;
} node;
typedef struct
{
vertexData vexs[MAX_VERTEX_NUM]; // vertexes
node arcs[MAX_VERTEX_NUM][MAX_VERTEX_NUM]; // arches/edges
int vexnum, arcnum; // the number of vertexes and arches/edges
//graghKind kind;
} adjMat;
// initialize a directex/undirected network/graph
adjMat* init()
{
adjMat* g = (adjMat*)malloc(sizeof(adjMat));
g->arcnum = 0;
g->vexnum = 0;
int i,j;
for(i=0;i<MAX_VERTEX_NUM;i++)
{
for(j=0;j<MAX_VERTEX_NUM;j++)
g->arcs[i][j].adj = INFINITY;
}
for(i=0;i<MAX_VERTEX_NUM;i++)
g->vexs[i] = '\t';
return g;
}
// find the position of a vertex in a directed/undirected graph/network
int locate(adjMat* g, vertexData data)
{
if(data == '\t')
return -1;
int n;
for(n=0;n<g->vexnum;n++)
{
if(g->vexs[n] == data)
return n;
}
//puts("node is not in the graph!");
return -1;
}
// create a directed network(directed graph, undirected gragh, undirected network are all alike)
void create(adjMat* g)
{
int vexnum, arcnum;
puts("please input the number of vertexes:");
scanf("%d", &vexnum);
puts("please input the number of arches/edges:");
scanf("%d", &arcnum);
g->vexnum = vexnum;
g->arcnum = arcnum;
int i;
char c;
for(i=0;i<vexnum;i++)
{
// clear buffer
while(char buff=getchar() == '\t' || buff == EOF)
printf("%c", buff);
printf("please input the name of NO.%d vertex:\n", i);
scanf("%c", &c);
g->vexs[i] = c;
}
int t, h, value;
char tail, head;
for(i=0;i<arcnum;i++)
{
// clear buffer
while(char buff=getchar() == '\t' || buff == EOF)
printf("%c", buff);
printf("please input the tail, head, value of the NO.%d arch in sequence:\n", i);
scanf("%c %c %d", &tail, &head, &value);
t = locate(g, tail);
h = locate(g, head);
(g->arcs[t][h]).adj = value;
}
puts("done!");
}
// show a graph using adjacent matrix
void show(adjMat* g)
{
int row;
int col;
for(col=0;col<g->vexnum;col++)
printf(" %c", g->vexs[col]);
for(row=0;row<g->vexnum;row++)
{
printf("\n%c ", g->vexs[row]);
for(col=0;col<g->vexnum;col++)
{
if(g->arcs[row][col].adj == INFINITY)
printf("-- ");
else
printf("%d, ", g->arcs[row][col].adj);
}
printf("\n");
}
printf("\n");
}
// get the value of a vertex in a directed/undirected graph/network
vertexData get(adjMat* g, int k)
{
if(k >= g->vexnum || k < 0)
{
//printf("ERROR:index error! please input a number between 0 and %d!\n", g->vexnum-1);
return '\t';
}
return g->vexs[k];
}
// find the first adjacent vertex of a vertex(when it is a directed the adjacent vertex is the head of an arch)
vertexData firstAdj(adjMat* g, vertexData data)
{
int n = locate(g, data);
if(n == -1)
return '\t';
int i;
for(i=0;i<g->vexnum;i++)
{
if((g->arcs[n][i]).adj != INFINITY)
return g->vexs[i];
}
//puts("this vertex does not have an adjacent vertex!");
return '\t';
}
// find the next adjacent vertex(when it is a directed the adjacent vertex is the head of an arch)
vertexData nextAdj(adjMat* g, vertexData data, vertexData data1)
{
int n = locate(g, data);
if(n == -1)
return '\t';
int i = locate(g, data1);
if(i == -1)
return '\t';
else
i = i + 1;
for(;i<g->vexnum;i++)
{
if((g->arcs[n][i]).adj != INFINITY)
return g->vexs[i];
}
//puts("the vertex %c is already the last adjacent vertex of vertex %c", data1, data);
return '\t';
}
// insert a vertex(without new arches/edges) into a graph
void insert(adjMat* g, vertexData data)
{
if(g->vexnum == MAX_VERTEX_NUM)
{
puts("the graph/network has no place for new nodes!");
return;
}
if(locate(g, data) != -1)
{
puts("vertex already included!");
return;
}
g->vexnum++;
g->vexs[g->vexnum-1] = data;
}
// delete a vertex(includeing its all adjacent arches/edges) from a graph
void del(adjMat* g, vertexData data)
{
int pos = locate(g, data);
if(pos == -1)
return;
// delete the arches/edges
int n = 0;
int i;
for(i=0;i<g->vexnum;i++)
{
if(g->arcs[pos][i].adj != INFINITY)
n++;
if(g->arcs[i][pos].adj != INFINITY)
n++;
}
g->arcnum = g->arcnum-n;
// delete the vertex
for(i=pos;i<g->vexnum-1;i++)
{
g->vexs[i] = g->vexs[i+1];
}
g->vexs[i] = '\t';
int j;
for(i=pos;i<g->vexnum-1;i++)
for(j=0;j<g->vexnum;j++)
g->arcs[i][j].adj = g->arcs[i+1][j].adj;
for(i=pos;i<g->vexnum-1;i++)
for(j=0;j<g->vexnum;j++)
g->arcs[j][i].adj = g->arcs[j][i+1].adj;
for(j=0;j<g->vexnum;j++)
{
g->arcs[i][j].adj = INFINITY;
g->arcs[j][i].adj = INFINITY;
}
g->vexnum--;
}
// insert an edge/arch bewteen two vertexes
void insArc(adjMat* g, vertexData s, vertexData e, adjType value)
{
int start = locate(g, s);
int end = locate(g, e);
if(start == -1 || end == -1)
{
printf("%c or %c unknow please add vertex firstly\n", s, e);
return;
}
g->arcs[start][end].adj = value;
g->arcnum++;
}
// delete the arch between two vertexes
void delArc(adjMat* g, vertexData s, vertexData e)
{
int start = locate(g, s);
int end = locate(g, e);
if(start == -1 || end == -1)
return;
if(g->arcs[start][end].adj != INFINITY)
g->arcs[start][end].adj = INFINITY;
g->arcnum--;
}
// traverse a graph
int visited[MAX_VERTEX_NUM];
void depthFirst(adjMat* g, vertexData d)
{
if(visited[locate(g, d)] != 1)
{
printf("%c", d);
visited[locate(g, d)] = 1;
}
vertexData dt = firstAdj(g, d);
while(dt != '\t')
{
if(visited[locate(g, dt)] != 1)
depthFirst(g, dt);
dt = nextAdj(g, d, dt);
}
}
void breathFirst(adjMat* g, vertexData d)
{
if(visited[locate(g, d)] == 1)
return;
// use queue
vertexData queue[g->vexnum];
int head = 0, rear = 0;
// print
printf("%c", d);
visited[locate(g, d)] = 1;
// enter
queue[rear] = d;
rear = (rear+1)%g->vexnum;
vertexData dt;
while(head != rear)
{
dt = queue[head];
head = (head+1)%g->vexnum;
// visit and enter all the adjacent vertexes which have not been visited yet
vertexData dAdj = firstAdj(g, dt);
while(dAdj != '\t')
{
if(visited[locate(g, dAdj)] != 1)
{
// print
printf("%c", dAdj);
visited[locate(g, dAdj)] = 1;
// enter
queue[rear] = dAdj;
rear = (rear+1)%g->vexnum;
}
dAdj = nextAdj(g, dt, dAdj);
}
}
}
void traverse(adjMat*g, vertexData d, char mode)
{
if(locate(g, d) == -1)
return;
int i;
for(i=0;i<MAX_VERTEX_NUM;i++)
{
visited[i] = 0;
}
// traverse in depth first mode
if(mode == 'd')
depthFirst(g, d);
// traverse in breadth first mode
else
breathFirst(g, d);
int k;
for(k=0;k<g->vexnum;k++)
{
if(visited[k] != 1)
{
d = get(g, k);
if(mode == 'd')
depthFirst(g, d);
else
breathFirst(g, d);
}
}
}
// find a path between two vertexes
int* pre;
void printPath(adjMat* g, int s, int e)
{
char stack[g->vexnum];
int i = -1;
int n = e;
while(n != s)
{
i++;
stack[i] = get(g, n);
n = pre[n];
}
printf("%c", get(g,s));
for(;i>=0;i--)
{
printf("->%c", stack[i]);
}
}
int depthFP(adjMat* g, int s, int e)
{
char start = get(g, s);
char c;
for(c=firstAdj(g, start);c!='\t';c=nextAdj(g, start, c))
{
if(pre[locate(g, c)] == -1)
{
pre[locate(g, c)] = s;
if(locate(g, c) == e)
return 1;
else if(depthFP(g, locate(g,c), e) == 1)
return 1;
}
}
return 0;
}
void path(adjMat* g, int s, int e)
{
if(s < 0 || e < 0 || s >= g->vexnum || e >= g->vexnum || s == e)
{
printf("index error! index should no less than 0 and less than %d and start point and end point should be different!\n", g->vexnum);
return;
}
pre = (int*)malloc(g->vexnum*sizeof(int));
int i;
for(i=0;i<g->vexnum;i++)
pre[i] = -1;
pre[s] = s;
// find a path using depth first search
if(depthFP(g, s, e) == 1)
printPath(g, s, e);
else
printf("there is no path from %c to %c\n", get(g, s), get(g, e));
free(pre);
}
// minimum spanning tree(for a connected graph or connected network)
typedef struct nod
{
int tail;
int head;
int weight;
} nod, *mstree;
// prim algorithm is suitable for a connected graph or network with many edges
// it can be used for a strongly connected graph/network(in this case, a root node should be selected first(not all node can be used as the root node!))
// prim algorithm is a kind of greedy algorithm
int notIn(int* array, int count, int i)
{
int k;
for(k=0;k<count;k++)
{
if(array[k] == i)
return 0;
}
return 1;
}
void miniSpanTreePrim(adjMat* g, vertexData root)
{
// preparation
nod t[g->vexnum-1];
int r = locate(g, root);
int used[g->vexnum];// group of vertexes which have been included in the minimum spanning tree
int unused[g->vexnum];// group of vertexes which have not been included in the minimum spanning tree yet
used[0] = r;
int count = 1;
int i, j, min, head, tail;
for(i=0;i<(g->vexnum-1);i++)
t[i].head = -1, used[i+1] = -1;
// main part
while(count < g->vexnum)
{
j = 0;
// update the group of vertexes which have not been included in the minimum spanning tree
for(i=0;i<g->vexnum;i++)
{
if(notIn(used, count, i))
unused[j] = i, j++;
if(j == g->vexnum-count)
break;
}
// find the minimum arch
min = g->arcs[used[0]][unused[0]].adj;
for(i=0;i<count;i++)
{
for(j=0;j<(g->vexnum-count);j++)
{
if (g->arcs[used[i]][unused[j]].adj <= min)
{
min = g->arcs[used[i]][unused[j]].adj;
head = unused[j];
tail = used[i];
}
}
}
// add new vertex into the minimum spanning tree
used[count] = head;
t[count-1].head = head;
t[count-1].tail = tail;
t[count-1].weight = min;
//printf("arch added: %c-[%d]->%c\n", get(g,tail), min, get(g,head));
count++;
}
// show the tree
puts("\narches in the tree:");
for(i=0;i<count-1;i++)
printf("arch: %c-[%d]->%c\n", get(g, t[i].tail), t[i].weight, get(g, t[i].head));
printf("\n");
}
// kruskal algorithm is suitable for a connected graph or network with few edges
// it is not suitable for a strongly connected graph/network
// kruskal algorithm is a kind of greedy algorithm
typedef struct
{
int head;
int tail;
int weight;
int used;
} arches;
int* vertexes(int vernum)
{
int* vertex = (int*)malloc(vernum*sizeof(int));
int i;
for(i=0;i<vernum;i++)
vertex[i] = -1;
return vertex;
}
int* vertex;
void findTree(arches* arc, int arcnum, int root)
{
int pos;
for(pos=0;pos<arcnum;pos++)
{
if(arc[pos].tail == root && arc[pos].used == 1)
{
*(vertex) = arc[pos].head;
vertex++;
findTree(arc, arcnum, arc[pos].head);
}
}
}
void miniSpanTreeKruskal(adjMat* g)
{
// preparation
nod t[g->vexnum-1];
int group[g->vexnum];
int i,j,k;
for(i=0;i<g->vexnum;i++)
group[i] = i;
arches arc[g->arcnum];
k = 0;
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(g->arcs[i][j].adj != INFINITY)
{
arc[k].tail = i;
arc[k].head = j;
arc[k].weight = g->arcs[i][j].adj;
arc[k].used = 0;
k++;
}
}
}
// main part
int min;
int head, tail, count=1, pos;
while(count < g->vexnum)
{
// find the arch with minimum weight
for(i=0;i<g->arcnum;i++)
{
if(group[arc[i].head] != group[arc[i].tail])// find nodes belong to different trees
{
min = arc[i].weight;
break;
}
}
for(i=0;i<g->arcnum;i++)
{
if(group[arc[i].head] != group[arc[i].tail] && arc[i].weight <= min)
{
min = arc[i].weight;
head = arc[i].head;
tail = arc[i].tail;
pos = i;
}
}
// add new arch
arc[pos].used = 1;
vertex = vertexes(g->vexnum);
int* start = vertex;
findTree(arc, g->arcnum, arc[pos].tail);
while(*(start)!= -1)
{
printf("node in tree %c set to %d group\n", get(g, *start), group[tail]);
group[*(start)] = group[tail];
start++;
}
t[count-1].head = head;
t[count-1].tail = tail;
t[count-1].weight = min;
count++;
}
// show the tree
puts("\nedges in the tree:");
for(i=0;i<count-1;i++)
printf("edge: %c-[%d]-%c\n", get(g, t[i].tail), t[i].weight, get(g, t[i].head));
printf("\n");
}
// activity on vertex network(the weight on each arches does not matter)
// for a directed acyclic graph/network there is a toposort of its vertexes
void aovTopoSort(adjMat g)
{
int i,j, count = 0;
int used[g.vexnum];
for(i=0;i<g.vexnum;i++)
used[i] = 0;
printf("\nstart");
while(count < g.vexnum)
{
// find a vertex without a prior vertex
for(i=0;i<g.vexnum;i++)
{
if(used[i] == 0)
{
for(j=0;j<g.vexnum;j++)
{
if(g.arcs[j][i].adj != INFINITY)// if vertex i has a prior vertex, it should not be chosen, jump out and check next vertex
break;
}
if(j == g.vexnum)// if vertex i has no prior vertex, jump out
break;
}
}
if(i == g.vexnum)// if all vertexes have prior vertexes, AOV can't be arranged
{
puts("ERROR: this network is not a acyclic network!");
return;
}
// clear all the arches whose tail is the vertex just found
for(j=0;j<g.vexnum;j++)
g.arcs[i][j].adj = INFINITY;
// print the vertex
printf("->%c", g.vexs[i]);
used[i] = 1;
count++;
}
printf("\n");
}
// activity on edge network(weight matters and there is only one vertex without prior vertex(source vertex) and only one vertex without next vertex(counter vertex))
// for this directed network there is a critical path
int* indegree(adjMat* g)
{
int* in = (int*)malloc(g->vexnum*sizeof(int));
int i;
for(i=0;i<g->vexnum;i++)
in[i] = 0;
int j;
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(g->arcs[j][i].adj != INFINITY)
in[i]++;
}
}
return in;
}
void criticalPath(adjMat* g)
{
// find the counter vertex
int source, counter;
int i,j;
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(g->arcs[i][j].adj != INFINITY)
break;
}
if(j == g->vexnum)
break;
}
if(i == g->vexnum)
{
puts("ERROR: this network does not have counter vertex!");
return;
}
else
{
counter = i;
}
// find the source vertex
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(g->arcs[j][i].adj != INFINITY)
break;
}
if(j == g->vexnum)
break;
}
if(i == g->vexnum)
{
puts("ERROR: this network does not have source vertex!");
return;
}
else
{
source = i;
}
// calculate the earliest of every activities
int e[g->vexnum];// earliest of every activities
for(i=0;i<g->vexnum;i++)
e[i] = 0;
int aovTopo[g->vexnum]; // aov topo sort
int reverseTopo[g->vexnum];
int aovp = 0, reversep = g->vexnum-1;// stack pointer
aovTopo[0] = source;
aovp++;
reverseTopo[g->vexnum-1] = source;
reversep--;
int* ins = indegree(g);// indegree of every vertexes
while(aovp != 0)
{
aovp--;
i = aovTopo[aovp];
j = locate(g, firstAdj(g, get(g, i)));
while(j != -1)
{
if(e[j] < e[i] + g->arcs[i][j].adj)
e[j] = e[i] + g->arcs[i][j].adj;
ins[j]--;
if(ins[j] == 0)
{
aovTopo[aovp] = j;
aovp++;
reverseTopo[reversep] = j;
reversep--;
}
j = locate(g, nextAdj(g, get(g, i), get(g, j)));
}
}
reverseTopo[0] = counter;// reversep must be 0 now
// calculate the latest start time of every activities
int l[g->vexnum];
for(i=0;i<g->vexnum;i++)
l[i] = e[g->vexnum-1];
for(reversep=1;reversep<g->vexnum;reversep++)
{
j = reverseTopo[reversep];
for(i=0;i<g->vexnum;i++)
if(l[j] > l[i] - g->arcs[j][i].adj && g->arcs[j][i].adj != INFINITY)
l[j] = l[i] - g->arcs[j][i].adj;
}
// find the critical activities and print the critical path
printf("\nvertexes in critical path:");
for(i=g->vexnum-1;i>=0;i--)
{
if(l[reverseTopo[i]] == e[reverseTopo[i]])
printf(" %c ", get(g, reverseTopo[i]));
}
}
// shortest path
// Dijkstra algorithm
// source is a vertex from which can go to any other vertexes
// Dijkstra algorithm is a kind of dynamic algorithm
void Dijkstra(adjMat* g, int source)
{
if(source == -1)
{
puts("vertex not found!");
return;
}
// preparation
int selected [g->vexnum];// vertexes already counted
int mark[g->vexnum];// if a vertex has already counted its mark will be set to 1, if not the mark will be set to 0
int distance[g->vexnum];// distance from source to other vertexes
char path[g->vexnum][g->vexnum];// path[a][x] means the path from vertex source to vertex a
int i;
for(i=0;i<g->vexnum;i++)
{
selected[i] = -1;
mark[i] = 0;
distance[i] = g->arcs[source][i].adj;
path[i][0] = '\0';
}
selected[0] = source;
mark[source] = 1;
distance[source] = 0;
path[source][0] = get(g, source);
path[source][1] = '\0';
// main part
int count = 1;// the number of vertexes already counted
int point, tail, p, minDist;// point is the vertex to be added, tail->point is the arch to be added
while(count < g->vexnum)
{
minDist = INFINITY;
for(i=0;i<count;i++)
{
// get the first p that has not been used yet (p is the adjacent vertex of selected[i])
p = locate(g, firstAdj(g, get(g, selected[i])));// be careful that the vertex p should not be in selected[]
while(mark[p] == 1 && p != -1)
{
p = locate(g, nextAdj(g, get(g, selected[i]), get(g, p)));
}
// update minimum distance from source to p
while(p != -1)
{
if(g->arcs[selected[i]][p].adj + distance[selected[i]] <= distance[p])
{
distance[p] = g->arcs[selected[i]][p].adj + distance[selected[i]];
if(distance[p] < minDist)
{
point = p;
tail = selected[i];
minDist = distance[p];
}
}
do{
p = locate(g, nextAdj(g, get(g, selected[i]), get(g, p)));
}
while(mark[p] == 1 && p != -1);
}
}
selected[count] = point;
mark[point] = 1;
for(i=0;i<strlen(path[tail]);i++)
path[point][i] = path[tail][i];
path[point][i] = get(g, point);
path[point][i+1] = '\0';
////
//printf("\nnew path %s added, distance %d", path[point], distance[point]);
////
count++;
}
// show the result
for(i=0;i<g->vexnum;i++)
{
printf("\nthe shortest distance from %c to %c is %d\n", get(g, source), get(g, i), distance[i]);
printf("and the shortest path is %s\n", path[i]);
}
}
// Floyd algorithm
// Floyd algorithm is a kind of dynamic algorithm
void Floyd(adjMat* g)
{
// initialize
int i,j,k,len1,len2;
int dist[g->vexnum][g->vexnum];
char path[g->vexnum][g->vexnum][g->vexnum+1];// path[i][j][x] is the path from i to j
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
dist[i][j] = g->arcs[i][j].adj;
dist[i][i] = 0;
if(dist[i][j] < INFINITY)
{
path[i][j][0] = get(g, i);
if(i == j)
path[i][j][1] = '\0';
else
{
path[i][j][1] = get(g, j);
path[i][j][2] = '\0';
}
}
else
path[i][j][0] = '\0';
}
}
// update path and distance
for(k=0;k<g->vexnum;k++)
{
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(dist[i][k] + dist[k][j] < dist[i][j])
{
dist[i][j] = dist[i][k] + dist[k][j];
for(len1=0;path[i][k][len1]!='\0';len1++)
path[i][j][len1] = path[i][k][len1];
for(len2=1;path[k][j][len2]!='\0';len2++)
path[i][j][len1+len2-1] = path[k][j][len2];
path[i][j][len1+len2-1] = '\0';
}
}
}
}
// print
for(i=0;i<g->vexnum;i++)
{
for(j=0;j<g->vexnum;j++)
{
if(dist[i][j] == INFINITY)
{
printf("there is no path from %c to %c\n", get(g, i), get(g, j));
}
else
{
printf("the shortest distance from %c to %c is %d, path is:\n%s\n", get(g, i), get(g, j), dist[i][j], path[i][j]);
}
}
}
}
// destroy a graph
void destroy(adjMat*g)
{
free(g);
}
// test
int main()
{
// create a graph/network
adjMat* g = init();
create(g);
puts("show the graph/network using adjacent matrix:");
show(g);
// get adjacent vertex
while(1)
{
puts("\nget adjacent vertexes of vertex:");
while(char buff=getchar() == '\t' || buff == EOF)
printf("%c", buff);
puts("please input an vertex(input 'k' to end):");
char c = getchar();
if(c == 'k')
break;
char d = firstAdj(g, c);
while(d != '\t')
{
printf("%c ", d);
d = nextAdj(g, c, d);
}
}
// traverse the graph/network
printf("\ntraverse by depth first search\n");
traverse(g, g->vexs[0], 'd');
printf("\ntraverse by breadth first search\n");
traverse(g, g->vexs[0], 'b');
// insert a vertex into the graph/network
while(1)
{
puts("\nadd vertexes, enter 'k' to end:");
while(char buff=getchar()=='\t' || buff == EOF)
printf("%c", buff);
puts("please input the vertex you want to add:");
char c = getchar();
if(c == 'k')
break;
insert(g, c);
show(g);
printf("\ntraverse by depth first search\n");
traverse(g, g->vexs[0], 'd');
printf("\ntraverse by breadth first search\n");
traverse(g, g->vexs[0], 'b');
}
// insert an arch/edge into the graph/network
while(1)
{
puts("\nadd arches, set head or tail as 'k' to end:");
while(char buff=getchar()=='\t' || buff == EOF)
printf("%c", buff);
puts("please input the arch you want to add inform of 'head tail value':");
char h, t;
int value;
scanf("%c %c %d", &h, &t, &value);
if(h == 'k' || t == 'k')
break;
insArc(g, h, t, value);
show(g);
printf("\ntraverse by depth first search\n");
traverse(g, g->vexs[0], 'd');
printf("\ntraverse by breadth first search\n");
traverse(g, g->vexs[0], 'b');
}
// find a simple path from a vertex to another vertex
while(1)
{
puts("\nfind a simple path from a vertex to another vertex");
puts("please input the vertexes inform of 'start end', enter 'k end' or 'start k' to terminate:");
char s, e;
// clear buffer
while(char buff=getchar()== '\t' || buff == EOF)
printf("%c", buff);
scanf("%c %c", &s, &e);
if(s == 'k' || e == 'k')
break;
puts("\nfind a simple path using depth first search:");
path(g, locate(g, s), locate(g, e));
printf("\ntraverse by depth first search\n");
traverse(g, s, 'd');
}
// find the minimum spanning tree
puts("\nuse Kruskal algorithm to find the minimum spanning tree for a connected network");
miniSpanTreeKruskal(g);
puts("\nuse prim algorithm to find the minimum spanning tree for a strongly connected network:");
while(1)
{
mst: puts("please selected a vertex you want to be used as the root node, input 'k' to end:");
char root;
while(char buff=getchar()=='\t'|| buff == EOF)
printf("%c", buff);
root = getchar();
if(root == 'k')
break;
if(locate(g, root) == -1)
goto mst;
miniSpanTreePrim(g, root);
}
// shortest path
while(1)
{
puts("\nfind the shortest path from a vertex to all the other vertex can be connected, using Dijkstra algorithm");
puts("please input the vertex you care about, input 'k' to end:");
while(char buff=getchar()=='\t' || buff == EOF)
printf("%c", buff);
char c = getchar();
if(c == 'k')
break;
Dijkstra(g, locate(g, c));
}
puts("\nuse Floyd algorithm to calculate all the shortest path:");
Floyd(g);
// delete an arch/edge from the graph/network
while(1)
{
puts("\ndelete arches, set head or tail as 'k' to end:");
while(char buff=getchar()=='\t' || buff == EOF)
printf("%c", buff);
puts("please input the arch you want to delete inform of 'head tail'");
char h, t;
scanf("%c %c", &h, &t);
if(h == 'k' || t == 'k')
break;
delArc(g, h, t);
show(g);
printf("\ntraverse by depth first search\n");
traverse(g, g->vexs[0], 'd');
printf("\ntraverse by breadth first search\n");
traverse(g, g->vexs[0], 'b');
}
// delete a vertex from the graph/network
while(1)
{
puts("\ndelete vertexes, enter 'k' to end:");
while(char buff=getchar()=='\t' || buff == EOF)
printf("%c", buff);
puts("please input the vertex you want to delete:");
char c = getchar();
if(c == 'k')
break;
del(g, c);
show(g);
printf("\ntraverse by depth first search\n");
traverse(g, g->vexs[0], 'd');
printf("\ntraverse by breadth first search\n");
traverse(g, g->vexs[0], 'b');
}
/*
for AOV and AOE(a->b, c->b, a->c)
a - b
\ /
c
is also illegal! because a->b is actually redundant
*/
// create a graph/network
destroy(g);
g = init();
puts("\ncreate a new directed acyclic network for activity on vertex(AOV) and activity on edge(AOE) test:");
create(g);
puts("show the graph/network using adjacent matrix:");
show(g);
// activity on vertex
puts("\nAOV topo sort for a directed acylic graph/network: \n");
aovTopoSort(*g);
// activity on edge
puts("\nthe critical path for a directed acylic network which has a source and a counter:\n");
criticalPath(g);
return 0;
}
| [
"zhaoly12@163.com"
] | zhaoly12@163.com |
135eb8246534a8af9d9fe3f65ac309b5073786f3 | cd0d73813e4b6695239f6f75ba95b43eb62d137a | /spiral_matrix.cpp | fa8bdff8b011790e01907af2d80c4b21fb99377a | [] | no_license | Git-Pratik97/2D-Array | 6c9cc7122fe01f2a19a1811599356ac3ccbeec1c | 1bba5465519b1a7ef000808ce11ba366226bde8e | refs/heads/main | 2023-05-29T09:07:17.353028 | 2021-06-12T16:19:02 | 2021-06-12T16:19:02 | 374,562,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | #include<iostream>
using namespace std;
int main()
{
int m, n;
cin >> n >> m;
int arr[n][m];
for (int i = 0; i < n; i++)
{
for (int j = 0; j < m; j++)
{
cin >> arr[i][j];
}
}
int row_start = 0, column_start = 0, row_end = n - 1, column_end = m - 1;
while (row_start <= row_end && column_start <= column_end)
{
// For Row Start
for(int col = column_start; col <= column_end; col++)
{
cout << arr[row_start][col] <<" ";
}
row_start++;
// For Column End
for (int row = row_start; row <= row_end; row++)
{
cout << arr[row][column_end] << " ";
}
column_end--;
// For Row End
for (int col = column_end; col >= column_start; col--)
{
cout << arr[row_end][col] << " ";
}
row_end--;
// For Column Start
for (int row = row_end; row >= row_start; row--)
{
cout << arr[row][column_start] << " ";
}
column_start++;
}
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
45929ff509962af10e7f5762f3c1e0437f8ab6ba | 5ecb2c080ce78558c37d45ebbd7e8e4998793a2f | /Classes/HelloWorldScene.cpp | 056c54edebc8966b8a57edc410bc5e3581c0f7b2 | [] | no_license | Roman6/Game | 0db385989fa0047c436806581c4f419277471d93 | 05d0298fb484fde40dbe8cca540d2f27e55b6720 | refs/heads/master | 2020-04-28T08:31:16.642747 | 2014-12-02T15:01:35 | 2014-12-02T15:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | cpp | #include "HelloWorldScene.h"
USING_NS_CC;
Scene* HelloWorld::createScene()
{
// 'scene' is an autorelease object
auto* scene = Scene::create();
// 'layer' is an autorelease object
auto layer = HelloWorld::create();
// add layer as a child to scene
scene->addChild(layer);
// return the scene
return scene;
}
// on "init" you need to initialize your instance
bool HelloWorld::init()
{
//////////////////////////////
// 1. super init first
if ( !Layer::init() )
{
return false;
}
Size visibleSize = Director::getInstance()->getVisibleSize();
Point origin = Director::getInstance()->getVisibleOrigin();
/////////////////////////////
// 2. add a menu item with "X" image, which is clicked to quit the program
// you may modify it.
// add a "close" icon to exit the progress. it's an autorelease object
auto closeItem = MenuItemImage::create(
"CloseNormal.png",
"CloseSelected.png",
CC_CALLBACK_1(HelloWorld::menuCloseCallback, this));
closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 ,
origin.y + closeItem->getContentSize().height/2));
// create menu, it's an autorelease object
auto menu = Menu::create(closeItem, NULL);
menu->setPosition(Point::ZERO);
this->addChild(menu, 1);
/////////////////////////////
// 3. add your codes below...
// add a label shows "Hello World"
// create and initialize a label
auto label = LabelTTF::create("Hello World", "Arial", 24);
// position the label on the center of the screen
label->setPosition(Point(origin.x + visibleSize.width/2,
origin.y + visibleSize.height - label->getContentSize().height));
// add the label as a child to this layer
this->addChild(label, 1);
// add "HelloWorld" splash screen"
auto sprite = Sprite::create("HelloWorld.png");
// position the sprite on the center of the screen
sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y));
// add the sprite as a child to this layer
this->addChild(sprite, 0);
return true;
}
void HelloWorld::menuCloseCallback(Ref* pSender)
{
Director::getInstance()->end();
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
exit(0);
#endif
}
| [
"chen765466363@foxmail.com"
] | chen765466363@foxmail.com |
7afeeed38965b19c164cb83f38d1d19295282cf2 | dd8565b7fe6c71124289a6ff34d12b9de5c26728 | /third_party/pdfium/core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp | d5472f8693be3de1a6d07c9399b566353188f6e3 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | nickhudkins/node-pdfium | 1942218f27b1e9520b3ca5c49f7212b7a8dcb87c | 87c9106c0d2bbe4c30588a5f5e0029386d32d72c | refs/heads/master | 2021-01-17T14:50:26.650390 | 2015-11-02T21:49:03 | 2015-11-02T21:49:03 | 45,702,650 | 0 | 0 | BSD-2-Clause | 2021-09-22T09:19:14 | 2015-11-06T19:27:08 | C++ | UTF-8 | C++ | false | false | 2,586 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
extern const unsigned short g_FXCMAP_GB_EUC_H_0[90 * 3] = {
0x0020, 0x0020, 0x1E24, 0x0021, 0x007E, 0x032E, 0xA1A1, 0xA1FE, 0x0060,
0xA2B1, 0xA2E2, 0x00BE, 0xA2E5, 0xA2EE, 0x00F0, 0xA2F1, 0xA2FC, 0x00FA,
0xA3A1, 0xA3FE, 0x0106, 0xA4A1, 0xA4F3, 0x0164, 0xA5A1, 0xA5F6, 0x01B7,
0xA6A1, 0xA6B8, 0x020D, 0xA6C1, 0xA6F5, 0x0225, 0xA7A1, 0xA7C1, 0x025A,
0xA7D1, 0xA7F1, 0x027B, 0xA8A1, 0xA8C0, 0x029C, 0xA8C5, 0xA8EA, 0x02BC,
0xA9A4, 0xA9EF, 0x02E2, 0xAAA1, 0xAAFE, 0x032E, 0xABA1, 0xABC0, 0x038C,
0xB0A1, 0xB0FE, 0x03AC, 0xB1A1, 0xB1FE, 0x040A, 0xB2A1, 0xB2FE, 0x0468,
0xB3A1, 0xB3FE, 0x04C6, 0xB4A1, 0xB4FE, 0x0524, 0xB5A1, 0xB5FE, 0x0582,
0xB6A1, 0xB6FE, 0x05E0, 0xB7A1, 0xB7FE, 0x063E, 0xB8A1, 0xB8FE, 0x069C,
0xB9A1, 0xB9FE, 0x06FA, 0xBAA1, 0xBAFE, 0x0758, 0xBBA1, 0xBBFE, 0x07B6,
0xBCA1, 0xBCFE, 0x0814, 0xBDA1, 0xBDFE, 0x0872, 0xBEA1, 0xBEFE, 0x08D0,
0xBFA1, 0xBFFE, 0x092E, 0xC0A1, 0xC0FE, 0x098C, 0xC1A1, 0xC1FE, 0x09EA,
0xC2A1, 0xC2FE, 0x0A48, 0xC3A1, 0xC3FE, 0x0AA6, 0xC4A1, 0xC4FE, 0x0B04,
0xC5A1, 0xC5FE, 0x0B62, 0xC6A1, 0xC6FE, 0x0BC0, 0xC7A1, 0xC7FE, 0x0C1E,
0xC8A1, 0xC8FE, 0x0C7C, 0xC9A1, 0xC9FE, 0x0CDA, 0xCAA1, 0xCAFE, 0x0D38,
0xCBA1, 0xCBFE, 0x0D96, 0xCCA1, 0xCCFE, 0x0DF4, 0xCDA1, 0xCDFE, 0x0E52,
0xCEA1, 0xCEFE, 0x0EB0, 0xCFA1, 0xCFFE, 0x0F0E, 0xD0A1, 0xD0FE, 0x0F6C,
0xD1A1, 0xD1FE, 0x0FCA, 0xD2A1, 0xD2FE, 0x1028, 0xD3A1, 0xD3FE, 0x1086,
0xD4A1, 0xD4FE, 0x10E4, 0xD5A1, 0xD5FE, 0x1142, 0xD6A1, 0xD6FE, 0x11A0,
0xD7A1, 0xD7F9, 0x11FE, 0xD8A1, 0xD8FE, 0x1257, 0xD9A1, 0xD9FE, 0x12B5,
0xDAA1, 0xDAFE, 0x1313, 0xDBA1, 0xDBFE, 0x1371, 0xDCA1, 0xDCFE, 0x13CF,
0xDDA1, 0xDDFE, 0x142D, 0xDEA1, 0xDEFE, 0x148B, 0xDFA1, 0xDFFE, 0x14E9,
0xE0A1, 0xE0FE, 0x1547, 0xE1A1, 0xE1FE, 0x15A5, 0xE2A1, 0xE2FE, 0x1603,
0xE3A1, 0xE3FE, 0x1661, 0xE4A1, 0xE4FE, 0x16BF, 0xE5A1, 0xE5FE, 0x171D,
0xE6A1, 0xE6FE, 0x177B, 0xE7A1, 0xE7FE, 0x17D9, 0xE8A1, 0xE8FE, 0x1837,
0xE9A1, 0xE9FE, 0x1895, 0xEAA1, 0xEAFE, 0x18F3, 0xEBA1, 0xEBFE, 0x1951,
0xECA1, 0xECFE, 0x19AF, 0xEDA1, 0xEDFE, 0x1A0D, 0xEEA1, 0xEEFE, 0x1A6B,
0xEFA1, 0xEFFE, 0x1AC9, 0xF0A1, 0xF0FE, 0x1B27, 0xF1A1, 0xF1FE, 0x1B85,
0xF2A1, 0xF2FE, 0x1BE3, 0xF3A1, 0xF3FE, 0x1C41, 0xF4A1, 0xF4FE, 0x1C9F,
0xF5A1, 0xF5FE, 0x1CFD, 0xF6A1, 0xF6FE, 0x1D5B, 0xF7A1, 0xF7FE, 0x1DB9,
};
| [
"ionlupascu@gmail.com"
] | ionlupascu@gmail.com |
e0fb7f78d3b7e35073af72886bae62bc74ad9560 | 83f8f13b2f538bd308fd5fe58e02dd7771995f61 | /binarysearch.cpp | 580887359428e081d477b0395124e0dd78ec5032 | [] | no_license | jeettewatia/devops | d41b2380c7d853f5c80e1169066c395bb0d7badf | a508219efdd0c96df9e400f25da1995e299ca50e | refs/heads/master | 2020-04-21T00:11:17.280484 | 2019-06-22T10:48:42 | 2019-06-22T10:48:42 | 169,189,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include<bits/stdc++.h>
using namespace std;
bool bsearch(int *a,int low,int high,int key) // binary search in only sorted array
{
int mid;
mid=(low+high)/2;
if(a[mid]==key)
return true;
if(a[mid] > key)
bsearch(a,low,mid-1,key);
else
bsearch(a,mid+1,high,key);
return false;
}
int main()
{
int n,i,k,x;
cin>>n>>k;
int a[n];
for(i=0;i<n;i++)
cin>>a[i];
bsearch(a,0,n-1,k);
if(true)
cout<<"FOUND";
else
cout<<"NOT FOUND";
}
| [
"jeettewatia99@gmail.com"
] | jeettewatia99@gmail.com |
4e8e66289b9af3f5b2aa993eb19677e9243e3225 | 558540694df36e50e8a464b404179a2f97f27912 | /FG Internal/imgui/imgui_demo.cpp | 647e4298a807ef81a4ce17ff4a442311715d67f2 | [
"MIT"
] | permissive | Bobbls/Fall_Guys_Internal-2 | 94a9418350f53935ebafee0652a178a48a0669e4 | d071a1778d44c2ce7f9a727f4d8d4199c9ebe7d0 | refs/heads/master | 2022-12-03T10:17:54.221415 | 2020-08-27T05:22:55 | 2020-08-27T05:22:55 | 290,683,200 | 11 | 1 | MIT | 2020-08-27T05:20:04 | 2020-08-27T05:20:03 | null | UTF-8 | C++ | false | false | 264,915 | cpp | // dear imgui, v1.78 WIP
// (demo code)
// Help:
// - Read FAQ at http://dearimgui.org/faq
// - Newcomers, read 'Programmer guide' in imgui.cpp for notes on how to setup Dear ImGui in your codebase.
// - Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp. All applications in examples/ are doing that.
// Read imgui.cpp for more details, documentation and comments.
// Get latest version at https://github.com/ocornut/imgui
// Message to the person tempted to delete this file when integrating Dear ImGui into their code base:
// Do NOT remove this file from your project! Think again! It is the most useful reference code that you and other
// coders will want to refer to and call. Have the ImGui::ShowDemoWindow() function wired in an always-available
// debug menu of your game/app! Removing this file from your project is hindering access to documentation for everyone
// in your team, likely leading you to poorer usage of the library.
// Everything in this file will be stripped out by the linker if you don't call ImGui::ShowDemoWindow().
// If you want to link core Dear ImGui in your shipped builds but want a thorough guarantee that the demo will not be
// linked, you can setup your imconfig.h with #define IMGUI_DISABLE_DEMO_WINDOWS and those functions will be empty.
// In other situation, whenever you have Dear ImGui available you probably want this to be available for reference.
// Thank you,
// -Your beloved friend, imgui_demo.cpp (which you won't delete)
// Message to beginner C/C++ programmers about the meaning of the 'static' keyword:
// In this demo code, we frequently we use 'static' variables inside functions. A static variable persist across calls,
// so it is essentially like a global variable but declared inside the scope of the function. We do this as a way to
// gather code and data in the same place, to make the demo source code faster to read, faster to write, and smaller
// in size. It also happens to be a convenient way of storing simple UI related information as long as your function
// doesn't need to be reentrant or used in multiple threads. This might be a pattern you will want to use in your code,
// but most of the real data you would be editing is likely going to be stored outside your functions.
// The Demo code in this file is designed to be easy to copy-and-paste in into your application!
// Because of this:
// - We never omit the ImGui:: prefix when calling functions, even though most code here is in the same namespace.
// - We try to declare static variables in the local scope, as close as possible to the code using them.
// - We never use any of the helpers/facilities used internally by Dear ImGui, unless available in the public API.
// - We never use maths operators on ImVec2/ImVec4. For our other sources files we use them, and they are provided
// by imgui_internal.h using the IMGUI_DEFINE_MATH_OPERATORS define. For your own sources file they are optional
// and require you either enable those, either provide your own via IM_VEC2_CLASS_EXTRA in imconfig.h.
// Because we can't assume anything about your support of maths operators, we cannot use them in imgui_demo.cpp.
/*
Index of this file:
// [SECTION] Forward Declarations, Helpers
// [SECTION] Demo Window / ShowDemoWindow()
// [SECTION] About Window / ShowAboutWindow()
// [SECTION] Style Editor / ShowStyleEditor()
// [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar()
// [SECTION] Example App: Debug Console / ShowExampleAppConsole()
// [SECTION] Example App: Debug Log / ShowExampleAppLog()
// [SECTION] Example App: Simple Layout / ShowExampleAppLayout()
// [SECTION] Example App: Property Editor / ShowExampleAppPropertyEditor()
// [SECTION] Example App: Long Text / ShowExampleAppLongText()
// [SECTION] Example App: Auto Resize / ShowExampleAppAutoResize()
// [SECTION] Example App: Constrained Resize / ShowExampleAppConstrainedResize()
// [SECTION] Example App: Simple Overlay / ShowExampleAppSimpleOverlay()
// [SECTION] Example App: Manipulating Window Titles / ShowExampleAppWindowTitles()
// [SECTION] Example App: Custom Rendering using ImDrawList API / ShowExampleAppCustomRendering()
// [SECTION] Example App: Documents Handling / ShowExampleAppDocuments()
*/
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "imgui.h"
#ifndef IMGUI_DISABLE
#include <ctype.h> // toupper
#include <limits.h> // INT_MIN, INT_MAX
#include <math.h> // sqrtf, powf, cosf, sinf, floorf, ceilf
#include <stdio.h> // vsnprintf, sscanf, printf
#include <stdlib.h> // NULL, malloc, free, atoi
#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier
#include <stddef.h> // intptr_t
#else
#include <stdint.h> // intptr_t
#endif
// Visual Studio warnings
#ifdef _MSC_VER
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
#endif
// Clang/GCC warnings with -Weverything
#if defined(__clang__)
#if __has_warning("-Wunknown-warning-option")
#pragma clang diagnostic ignored "-Wunknown-warning-option" // warning: unknown warning group 'xxx' // not all warnings are known by all Clang versions and they tend to be rename-happy.. so ignoring warnings triggers new warnings on some configuration. Great!
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas" // warning: unknown warning group 'xxx'
#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast // yes, they are more terse.
#pragma clang diagnostic ignored "-Wdeprecated-declarations" // warning: 'xx' is deprecated: The POSIX name for this.. // for strdup used in demo code (so user can copy & paste the code)
#pragma clang diagnostic ignored "-Wint-to-void-pointer-cast" // warning: cast to 'void *' from smaller integer type
#pragma clang diagnostic ignored "-Wformat-security" // warning: format string is not a string literal
#pragma clang diagnostic ignored "-Wexit-time-destructors" // warning: declaration requires an exit-time destructor // exit-time destruction order is undefined. if MemFree() leads to users code that has been disabled before exit it might cause problems. ImGui coding style welcomes static/globals.
#pragma clang diagnostic ignored "-Wunused-macros" // warning: macro is not used // we define snprintf/vsnprintf on Windows so they are available, but not always used.
#pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" // warning: zero as null pointer constant // some standard header variations use #define NULL 0
#pragma clang diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function // using printf() is a misery with this as C++ va_arg ellipsis changes float to double.
#pragma clang diagnostic ignored "-Wreserved-id-macro" // warning: macro name is a reserved identifier
#pragma clang diagnostic ignored "-Wimplicit-int-float-conversion" // warning: implicit conversion from 'xxx' to 'float' may lose precision
#elif defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
#pragma GCC diagnostic ignored "-Wint-to-pointer-cast" // warning: cast to pointer from integer of different size
#pragma GCC diagnostic ignored "-Wformat-security" // warning: format string is not a string literal (potentially insecure)
#pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function
#pragma GCC diagnostic ignored "-Wconversion" // warning: conversion to 'xxxx' from 'xxxx' may alter its value
#pragma GCC diagnostic ignored "-Wmisleading-indentation" // [__GNUC__ >= 6] warning: this 'if' clause does not guard this statement // GCC 6.0+ only. See #883 on GitHub.
#endif
// Play it nice with Windows users (Update: May 2018, Notepad now supports Unix-style carriage returns!)
#ifdef _WIN32
#define IM_NEWLINE "\r\n"
#else
#define IM_NEWLINE "\n"
#endif
// Helpers
#if defined(_MSC_VER) && !defined(snprintf)
#define snprintf _snprintf
#endif
#if defined(_MSC_VER) && !defined(vsnprintf)
#define vsnprintf _vsnprintf
#endif
// Helpers macros
// We normally try to not use many helpers in imgui_demo.cpp in order to make code easier to copy and paste,
// but making an exception here as those are largely simplifying code...
// In other imgui sources we can use nicer internal functions from imgui_internal.h (ImMin/ImMax) but not in the demo.
#define IM_MIN(A, B) (((A) < (B)) ? (A) : (B))
#define IM_MAX(A, B) (((A) >= (B)) ? (A) : (B))
#define IM_CLAMP(V, MN, MX) ((V) < (MN) ? (MN) : (V) > (MX) ? (MX) : (V))
//-----------------------------------------------------------------------------
// [SECTION] Forward Declarations, Helpers
//-----------------------------------------------------------------------------
#if !defined(IMGUI_DISABLE_DEMO_WINDOWS)
// Forward Declarations
static void ShowExampleAppDocuments(bool* p_open);
static void ShowExampleAppMainMenuBar();
static void ShowExampleAppConsole(bool* p_open);
static void ShowExampleAppLog(bool* p_open);
static void ShowExampleAppLayout(bool* p_open);
static void ShowExampleAppPropertyEditor(bool* p_open);
static void ShowExampleAppLongText(bool* p_open);
static void ShowExampleAppAutoResize(bool* p_open);
static void ShowExampleAppConstrainedResize(bool* p_open);
static void ShowExampleAppSimpleOverlay(bool* p_open);
static void ShowExampleAppWindowTitles(bool* p_open);
static void ShowExampleAppCustomRendering(bool* p_open);
static void ShowExampleMenuFile();
// Helper to display a little (?) mark which shows a tooltip when hovered.
// In your own code you may want to display an actual icon if you are using a merged icon fonts (see docs/FONTS.md)
static void HelpMarker(const char* desc)
{
ImGui::TextDisabled("(?)");
if (ImGui::IsItemHovered())
{
ImGui::BeginTooltip();
ImGui::PushTextWrapPos(ImGui::GetFontSize() * 35.0f);
ImGui::TextUnformatted(desc);
ImGui::PopTextWrapPos();
ImGui::EndTooltip();
}
}
// Helper to display basic user controls.
void ImGui::ShowUserGuide()
{
ImGuiIO& io = ImGui::GetIO();
ImGui::BulletText("Double-click on title bar to collapse window.");
ImGui::BulletText(
"Click and drag on lower corner to resize window\n"
"(double-click to auto fit window to its contents).");
ImGui::BulletText("CTRL+Click on a slider or drag box to input value as text.");
ImGui::BulletText("TAB/SHIFT+TAB to cycle through keyboard editable fields.");
if (io.FontAllowUserScaling)
ImGui::BulletText("CTRL+Mouse Wheel to zoom window contents.");
ImGui::BulletText("While inputing text:\n");
ImGui::Indent();
ImGui::BulletText("CTRL+Left/Right to word jump.");
ImGui::BulletText("CTRL+A or double-click to select all.");
ImGui::BulletText("CTRL+X/C/V to use clipboard cut/copy/paste.");
ImGui::BulletText("CTRL+Z,CTRL+Y to undo/redo.");
ImGui::BulletText("ESCAPE to revert.");
ImGui::BulletText("You can apply arithmetic operators +,*,/ on numerical values.\nUse +- to subtract.");
ImGui::Unindent();
ImGui::BulletText("With keyboard navigation enabled:");
ImGui::Indent();
ImGui::BulletText("Arrow keys to navigate.");
ImGui::BulletText("Space to activate a widget.");
ImGui::BulletText("Return to input text into a widget.");
ImGui::BulletText("Escape to deactivate a widget, close popup, exit child window.");
ImGui::BulletText("Alt to jump to the menu layer of a window.");
ImGui::BulletText("CTRL+Tab to select a window.");
ImGui::Unindent();
}
//-----------------------------------------------------------------------------
// [SECTION] Demo Window / ShowDemoWindow()
//-----------------------------------------------------------------------------
// - ShowDemoWindowWidgets()
// - ShowDemoWindowLayout()
// - ShowDemoWindowPopups()
// - ShowDemoWindowColumns()
// - ShowDemoWindowMisc()
//-----------------------------------------------------------------------------
// We split the contents of the big ShowDemoWindow() function into smaller functions
// (because the link time of very large functions grow non-linearly)
static void ShowDemoWindowWidgets();
static void ShowDemoWindowLayout();
static void ShowDemoWindowPopups();
static void ShowDemoWindowColumns();
static void ShowDemoWindowMisc();
// Demonstrate most Dear ImGui features (this is big function!)
// You may execute this function to experiment with the UI and understand what it does.
// You may then search for keywords in the code when you are interested by a specific feature.
void ImGui::ShowDemoWindow(bool* p_open)
{
// Exceptionally add an extra assert here for people confused about initial Dear ImGui setup
// Most ImGui functions would normally just crash if the context is missing.
IM_ASSERT(ImGui::GetCurrentContext() != NULL && "Missing dear imgui context. Refer to examples app!");
// Examples Apps (accessible from the "Examples" menu)
static bool show_app_documents = false;
static bool show_app_main_menu_bar = false;
static bool show_app_console = false;
static bool show_app_log = false;
static bool show_app_layout = false;
static bool show_app_property_editor = false;
static bool show_app_long_text = false;
static bool show_app_auto_resize = false;
static bool show_app_constrained_resize = false;
static bool show_app_simple_overlay = false;
static bool show_app_window_titles = false;
static bool show_app_custom_rendering = false;
if (show_app_documents) ShowExampleAppDocuments(&show_app_documents);
if (show_app_main_menu_bar) ShowExampleAppMainMenuBar();
if (show_app_console) ShowExampleAppConsole(&show_app_console);
if (show_app_log) ShowExampleAppLog(&show_app_log);
if (show_app_layout) ShowExampleAppLayout(&show_app_layout);
if (show_app_property_editor) ShowExampleAppPropertyEditor(&show_app_property_editor);
if (show_app_long_text) ShowExampleAppLongText(&show_app_long_text);
if (show_app_auto_resize) ShowExampleAppAutoResize(&show_app_auto_resize);
if (show_app_constrained_resize) ShowExampleAppConstrainedResize(&show_app_constrained_resize);
if (show_app_simple_overlay) ShowExampleAppSimpleOverlay(&show_app_simple_overlay);
if (show_app_window_titles) ShowExampleAppWindowTitles(&show_app_window_titles);
if (show_app_custom_rendering) ShowExampleAppCustomRendering(&show_app_custom_rendering);
// Dear ImGui Apps (accessible from the "Tools" menu)
static bool show_app_metrics = false;
static bool show_app_style_editor = false;
static bool show_app_about = false;
if (show_app_metrics) { ImGui::ShowMetricsWindow(&show_app_metrics); }
if (show_app_about) { ImGui::ShowAboutWindow(&show_app_about); }
if (show_app_style_editor)
{
ImGui::Begin("Dear ImGui Style Editor", &show_app_style_editor);
ImGui::ShowStyleEditor();
ImGui::End();
}
// Demonstrate the various window flags. Typically you would just use the default!
static bool no_titlebar = false;
static bool no_scrollbar = false;
static bool no_menu = false;
static bool no_move = false;
static bool no_resize = false;
static bool no_collapse = false;
static bool no_close = false;
static bool no_nav = false;
static bool no_background = false;
static bool no_bring_to_front = false;
ImGuiWindowFlags window_flags = 0;
if (no_titlebar) window_flags |= ImGuiWindowFlags_NoTitleBar;
if (no_scrollbar) window_flags |= ImGuiWindowFlags_NoScrollbar;
if (!no_menu) window_flags |= ImGuiWindowFlags_MenuBar;
if (no_move) window_flags |= ImGuiWindowFlags_NoMove;
if (no_resize) window_flags |= ImGuiWindowFlags_NoResize;
if (no_collapse) window_flags |= ImGuiWindowFlags_NoCollapse;
if (no_nav) window_flags |= ImGuiWindowFlags_NoNav;
if (no_background) window_flags |= ImGuiWindowFlags_NoBackground;
if (no_bring_to_front) window_flags |= ImGuiWindowFlags_NoBringToFrontOnFocus;
if (no_close) p_open = NULL; // Don't pass our bool* to Begin
// We specify a default position/size in case there's no data in the .ini file.
// We only do it to make the demo applications a little more welcoming, but typically this isn't required.
ImGui::SetNextWindowPos(ImVec2(650, 20), ImGuiCond_FirstUseEver);
ImGui::SetNextWindowSize(ImVec2(550, 680), ImGuiCond_FirstUseEver);
// Main body of the Demo window starts here.
if (!ImGui::Begin("Dear ImGui Demo", p_open, window_flags))
{
// Early out if the window is collapsed, as an optimization.
ImGui::End();
return;
}
// Most "big" widgets share a common width settings by default. See 'Demo->Layout->Widgets Width' for details.
// e.g. Use 2/3 of the space for widgets and 1/3 for labels (default)
//ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.65f);
// e.g. Leave a fixed amount of width for labels (by passing a negative value), the rest goes to widgets.
ImGui::PushItemWidth(ImGui::GetFontSize() * -12);
// Menu Bar
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("Menu"))
{
ShowExampleMenuFile();
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Examples"))
{
ImGui::MenuItem("Main menu bar", NULL, &show_app_main_menu_bar);
ImGui::MenuItem("Console", NULL, &show_app_console);
ImGui::MenuItem("Log", NULL, &show_app_log);
ImGui::MenuItem("Simple layout", NULL, &show_app_layout);
ImGui::MenuItem("Property editor", NULL, &show_app_property_editor);
ImGui::MenuItem("Long text display", NULL, &show_app_long_text);
ImGui::MenuItem("Auto-resizing window", NULL, &show_app_auto_resize);
ImGui::MenuItem("Constrained-resizing window", NULL, &show_app_constrained_resize);
ImGui::MenuItem("Simple overlay", NULL, &show_app_simple_overlay);
ImGui::MenuItem("Manipulating window titles", NULL, &show_app_window_titles);
ImGui::MenuItem("Custom rendering", NULL, &show_app_custom_rendering);
ImGui::MenuItem("Documents", NULL, &show_app_documents);
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Tools"))
{
ImGui::MenuItem("Metrics", NULL, &show_app_metrics);
ImGui::MenuItem("Style Editor", NULL, &show_app_style_editor);
ImGui::MenuItem("About Dear ImGui", NULL, &show_app_about);
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
ImGui::Text("dear imgui says hello. (%s)", IMGUI_VERSION);
ImGui::Spacing();
if (ImGui::CollapsingHeader("Help"))
{
ImGui::Text("ABOUT THIS DEMO:");
ImGui::BulletText("Sections below are demonstrating many aspects of the library.");
ImGui::BulletText("The \"Examples\" menu above leads to more demo contents.");
ImGui::BulletText("The \"Tools\" menu above gives access to: About Box, Style Editor,\n"
"and Metrics (general purpose Dear ImGui debugging tool).");
ImGui::Separator();
ImGui::Text("PROGRAMMER GUIDE:");
ImGui::BulletText("See the ShowDemoWindow() code in imgui_demo.cpp. <- you are here!");
ImGui::BulletText("See comments in imgui.cpp.");
ImGui::BulletText("See example applications in the examples/ folder.");
ImGui::BulletText("Read the FAQ at http://www.dearimgui.org/faq/");
ImGui::BulletText("Set 'io.ConfigFlags |= NavEnableKeyboard' for keyboard controls.");
ImGui::BulletText("Set 'io.ConfigFlags |= NavEnableGamepad' for gamepad controls.");
ImGui::Separator();
ImGui::Text("USER GUIDE:");
ImGui::ShowUserGuide();
}
if (ImGui::CollapsingHeader("Configuration"))
{
ImGuiIO& io = ImGui::GetIO();
if (ImGui::TreeNode("Configuration##2"))
{
ImGui::CheckboxFlags("io.ConfigFlags: NavEnableKeyboard", (unsigned int*)&io.ConfigFlags, ImGuiConfigFlags_NavEnableKeyboard);
ImGui::CheckboxFlags("io.ConfigFlags: NavEnableGamepad", (unsigned int*)&io.ConfigFlags, ImGuiConfigFlags_NavEnableGamepad);
ImGui::SameLine(); HelpMarker("Required back-end to feed in gamepad inputs in io.NavInputs[] and set io.BackendFlags |= ImGuiBackendFlags_HasGamepad.\n\nRead instructions in imgui.cpp for details.");
ImGui::CheckboxFlags("io.ConfigFlags: NavEnableSetMousePos", (unsigned int*)&io.ConfigFlags, ImGuiConfigFlags_NavEnableSetMousePos);
ImGui::SameLine(); HelpMarker("Instruct navigation to move the mouse cursor. See comment for ImGuiConfigFlags_NavEnableSetMousePos.");
ImGui::CheckboxFlags("io.ConfigFlags: NoMouse", (unsigned int*)&io.ConfigFlags, ImGuiConfigFlags_NoMouse);
// The "NoMouse" option above can get us stuck with a disable mouse! Provide an alternative way to fix it:
if (io.ConfigFlags & ImGuiConfigFlags_NoMouse)
{
if (fmodf((float)ImGui::GetTime(), 0.40f) < 0.20f)
{
ImGui::SameLine();
ImGui::Text("<<PRESS SPACE TO DISABLE>>");
}
if (ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Space)))
io.ConfigFlags &= ~ImGuiConfigFlags_NoMouse;
}
ImGui::CheckboxFlags("io.ConfigFlags: NoMouseCursorChange", (unsigned int*)&io.ConfigFlags, ImGuiConfigFlags_NoMouseCursorChange);
ImGui::SameLine(); HelpMarker("Instruct back-end to not alter mouse cursor shape and visibility.");
ImGui::Checkbox("io.ConfigInputTextCursorBlink", &io.ConfigInputTextCursorBlink);
ImGui::SameLine(); HelpMarker("Set to false to disable blinking cursor, for users who consider it distracting");
ImGui::Checkbox("io.ConfigWindowsResizeFromEdges", &io.ConfigWindowsResizeFromEdges);
ImGui::SameLine(); HelpMarker("Enable resizing of windows from their edges and from the lower-left corner.\nThis requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback.");
ImGui::Checkbox("io.ConfigWindowsMoveFromTitleBarOnly", &io.ConfigWindowsMoveFromTitleBarOnly);
ImGui::Checkbox("io.MouseDrawCursor", &io.MouseDrawCursor);
ImGui::SameLine(); HelpMarker("Instruct Dear ImGui to render a mouse cursor itself. Note that a mouse cursor rendered via your application GPU rendering path will feel more laggy than hardware cursor, but will be more in sync with your other visuals.\n\nSome desktop applications may use both kinds of cursors (e.g. enable software cursor only when resizing/dragging something).");
ImGui::Text("Also see Style->Rendering for rendering options.");
ImGui::TreePop();
ImGui::Separator();
}
if (ImGui::TreeNode("Backend Flags"))
{
HelpMarker(
"Those flags are set by the back-ends (imgui_impl_xxx files) to specify their capabilities.\n"
"Here we expose then as read-only fields to avoid breaking interactions with your back-end.");
// Make a local copy to avoid modifying actual back-end flags.
ImGuiBackendFlags backend_flags = io.BackendFlags;
ImGui::CheckboxFlags("io.BackendFlags: HasGamepad", (unsigned int*)&backend_flags, ImGuiBackendFlags_HasGamepad);
ImGui::CheckboxFlags("io.BackendFlags: HasMouseCursors", (unsigned int*)&backend_flags, ImGuiBackendFlags_HasMouseCursors);
ImGui::CheckboxFlags("io.BackendFlags: HasSetMousePos", (unsigned int*)&backend_flags, ImGuiBackendFlags_HasSetMousePos);
ImGui::CheckboxFlags("io.BackendFlags: RendererHasVtxOffset", (unsigned int*)&backend_flags, ImGuiBackendFlags_RendererHasVtxOffset);
ImGui::TreePop();
ImGui::Separator();
}
if (ImGui::TreeNode("Style"))
{
HelpMarker("The same contents can be accessed in 'Tools->Style Editor' or by calling the ShowStyleEditor() function.");
ImGui::ShowStyleEditor();
ImGui::TreePop();
ImGui::Separator();
}
if (ImGui::TreeNode("Capture/Logging"))
{
HelpMarker(
"The logging API redirects all text output so you can easily capture the content of "
"a window or a block. Tree nodes can be automatically expanded.\n"
"Try opening any of the contents below in this window and then click one of the \"Log To\" button.");
ImGui::LogButtons();
HelpMarker("You can also call ImGui::LogText() to output directly to the log without a visual output.");
if (ImGui::Button("Copy \"Hello, world!\" to clipboard"))
{
ImGui::LogToClipboard();
ImGui::LogText("Hello, world!");
ImGui::LogFinish();
}
ImGui::TreePop();
}
}
if (ImGui::CollapsingHeader("Window options"))
{
ImGui::Checkbox("No titlebar", &no_titlebar); ImGui::SameLine(150);
ImGui::Checkbox("No scrollbar", &no_scrollbar); ImGui::SameLine(300);
ImGui::Checkbox("No menu", &no_menu);
ImGui::Checkbox("No move", &no_move); ImGui::SameLine(150);
ImGui::Checkbox("No resize", &no_resize); ImGui::SameLine(300);
ImGui::Checkbox("No collapse", &no_collapse);
ImGui::Checkbox("No close", &no_close); ImGui::SameLine(150);
ImGui::Checkbox("No nav", &no_nav); ImGui::SameLine(300);
ImGui::Checkbox("No background", &no_background);
ImGui::Checkbox("No bring to front", &no_bring_to_front);
}
// All demo contents
ShowDemoWindowWidgets();
ShowDemoWindowLayout();
ShowDemoWindowPopups();
ShowDemoWindowColumns();
ShowDemoWindowMisc();
// End of ShowDemoWindow()
ImGui::End();
}
static void ShowDemoWindowWidgets()
{
if (!ImGui::CollapsingHeader("Widgets"))
return;
if (ImGui::TreeNode("Basic"))
{
static int clicked = 0;
if (ImGui::Button("Button"))
clicked++;
if (clicked & 1)
{
ImGui::SameLine();
ImGui::Text("Thanks for clicking me!");
}
static bool check = true;
ImGui::Checkbox("checkbox", &check);
static int e = 0;
ImGui::RadioButton("radio a", &e, 0); ImGui::SameLine();
ImGui::RadioButton("radio b", &e, 1); ImGui::SameLine();
ImGui::RadioButton("radio c", &e, 2);
// Color buttons, demonstrate using PushID() to add unique identifier in the ID stack, and changing style.
for (int i = 0; i < 7; i++)
{
if (i > 0)
ImGui::SameLine();
ImGui::PushID(i);
ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor::HSV(i / 7.0f, 0.6f, 0.6f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, (ImVec4)ImColor::HSV(i / 7.0f, 0.7f, 0.7f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, (ImVec4)ImColor::HSV(i / 7.0f, 0.8f, 0.8f));
ImGui::Button("Click");
ImGui::PopStyleColor(3);
ImGui::PopID();
}
// Use AlignTextToFramePadding() to align text baseline to the baseline of framed widgets elements
// (otherwise a Text+SameLine+Button sequence will have the text a little too high by default!)
// See 'Demo->Layout->Text Baseline Alignment' for details.
ImGui::AlignTextToFramePadding();
ImGui::Text("Hold to repeat:");
ImGui::SameLine();
// Arrow buttons with Repeater
static int counter = 0;
float spacing = ImGui::GetStyle().ItemInnerSpacing.x;
ImGui::PushButtonRepeat(true);
if (ImGui::ArrowButton("##left", ImGuiDir_Left)) { counter--; }
ImGui::SameLine(0.0f, spacing);
if (ImGui::ArrowButton("##right", ImGuiDir_Right)) { counter++; }
ImGui::PopButtonRepeat();
ImGui::SameLine();
ImGui::Text("%d", counter);
ImGui::Text("Hover over me");
if (ImGui::IsItemHovered())
ImGui::SetTooltip("I am a tooltip");
ImGui::SameLine();
ImGui::Text("- or me");
if (ImGui::IsItemHovered())
{
ImGui::BeginTooltip();
ImGui::Text("I am a fancy tooltip");
static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f };
ImGui::PlotLines("Curve", arr, IM_ARRAYSIZE(arr));
ImGui::EndTooltip();
}
ImGui::Separator();
ImGui::LabelText("label", "Value");
{
// Using the _simplified_ one-liner Combo() api here
// See "Combo" section for examples of how to use the more complete BeginCombo()/EndCombo() api.
const char* items[] = { "AAAA", "BBBB", "CCCC", "DDDD", "EEEE", "FFFF", "GGGG", "HHHH", "IIIIIII", "JJJJ", "KKKKKKK" };
static int item_current = 0;
ImGui::Combo("combo", &item_current, items, IM_ARRAYSIZE(items));
ImGui::SameLine(); HelpMarker("Refer to the \"Combo\" section below for an explanation of the full BeginCombo/EndCombo API, and demonstration of various flags.\n");
}
{
// To wire InputText() with std::string or any other custom string type,
// see the "Text Input > Resize Callback" section of this demo, and the misc/cpp/imgui_stdlib.h file.
static char str0[128] = "Hello, world!";
ImGui::InputText("input text", str0, IM_ARRAYSIZE(str0));
ImGui::SameLine(); HelpMarker(
"USER:\n"
"Hold SHIFT or use mouse to select text.\n"
"CTRL+Left/Right to word jump.\n"
"CTRL+A or double-click to select all.\n"
"CTRL+X,CTRL+C,CTRL+V clipboard.\n"
"CTRL+Z,CTRL+Y undo/redo.\n"
"ESCAPE to revert.\n\n"
"PROGRAMMER:\n"
"You can use the ImGuiInputTextFlags_CallbackResize facility if you need to wire InputText() "
"to a dynamic string type. See misc/cpp/imgui_stdlib.h for an example (this is not demonstrated "
"in imgui_demo.cpp).");
static char str1[128] = "";
ImGui::InputTextWithHint("input text (w/ hint)", "enter text here", str1, IM_ARRAYSIZE(str1));
static int i0 = 123;
ImGui::InputInt("input int", &i0);
ImGui::SameLine(); HelpMarker(
"You can apply arithmetic operators +,*,/ on numerical values.\n"
" e.g. [ 100 ], input \'*2\', result becomes [ 200 ]\n"
"Use +- to subtract.");
static float f0 = 0.001f;
ImGui::InputFloat("input float", &f0, 0.01f, 1.0f, "%.3f");
static double d0 = 999999.00000001;
ImGui::InputDouble("input double", &d0, 0.01f, 1.0f, "%.8f");
static float f1 = 1.e10f;
ImGui::InputFloat("input scientific", &f1, 0.0f, 0.0f, "%e");
ImGui::SameLine(); HelpMarker(
"You can input value using the scientific notation,\n"
" e.g. \"1e+8\" becomes \"100000000\".");
static float vec4a[4] = { 0.10f, 0.20f, 0.30f, 0.44f };
ImGui::InputFloat3("input float3", vec4a);
}
{
static int i1 = 50, i2 = 42;
ImGui::DragInt("drag int", &i1, 1);
ImGui::SameLine(); HelpMarker(
"Click and drag to edit value.\n"
"Hold SHIFT/ALT for faster/slower edit.\n"
"Double-click or CTRL+click to input value.");
ImGui::DragInt("drag int 0..100", &i2, 1, 0, 100, "%d%%");
static float f1 = 1.00f, f2 = 0.0067f;
ImGui::DragFloat("drag float", &f1, 0.005f);
ImGui::DragFloat("drag small float", &f2, 0.0001f, 0.0f, 0.0f, "%.06f ns");
}
{
static int i1 = 0;
ImGui::SliderInt("slider int", &i1, -1, 3);
ImGui::SameLine(); HelpMarker("CTRL+click to input value.");
static float f1 = 0.123f, f2 = 0.0f;
ImGui::SliderFloat("slider float", &f1, 0.0f, 1.0f, "ratio = %.3f");
ImGui::SliderFloat("slider float (curve)", &f2, -10.0f, 10.0f, "%.4f", 2.0f);
static float angle = 0.0f;
ImGui::SliderAngle("slider angle", &angle);
// Using the format string to display a name instead of an integer.
// Here we completely omit '%d' from the format string, so it'll only display a name.
// This technique can also be used with DragInt().
enum Element { Element_Fire, Element_Earth, Element_Air, Element_Water, Element_COUNT };
static int elem = Element_Fire;
const char* elems_names[Element_COUNT] = { "Fire", "Earth", "Air", "Water" };
const char* elem_name = (elem >= 0 && elem < Element_COUNT) ? elems_names[elem] : "Unknown";
ImGui::SliderInt("slider enum", &elem, 0, Element_COUNT - 1, elem_name);
ImGui::SameLine(); HelpMarker("Using the format string parameter to display a name instead of the underlying integer.");
}
{
static float col1[3] = { 1.0f, 0.0f, 0.2f };
static float col2[4] = { 0.4f, 0.7f, 0.0f, 0.5f };
ImGui::ColorEdit3("color 1", col1);
ImGui::SameLine(); HelpMarker(
"Click on the colored square to open a color picker.\n"
"Click and hold to use drag and drop.\n"
"Right-click on the colored square to show options.\n"
"CTRL+click on individual component to input value.\n");
ImGui::ColorEdit4("color 2", col2);
}
{
// List box
const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi", "Mango", "Orange", "Pineapple", "Strawberry", "Watermelon" };
static int item_current = 1;
ImGui::ListBox("listbox\n(single select)", &item_current, items, IM_ARRAYSIZE(items), 4);
//static int listbox_item_current2 = 2;
//ImGui::SetNextItemWidth(-1);
//ImGui::ListBox("##listbox2", &listbox_item_current2, listbox_items, IM_ARRAYSIZE(listbox_items), 4);
}
ImGui::TreePop();
}
// Testing ImGuiOnceUponAFrame helper.
//static ImGuiOnceUponAFrame once;
//for (int i = 0; i < 5; i++)
// if (once)
// ImGui::Text("This will be displayed only once.");
if (ImGui::TreeNode("Trees"))
{
if (ImGui::TreeNode("Basic trees"))
{
for (int i = 0; i < 5; i++)
{
// Use SetNextItemOpen() so set the default state of a node to be open. We could
// also use TreeNodeEx() with the ImGuiTreeNodeFlags_DefaultOpen flag to achieve the same thing!
if (i == 0)
ImGui::SetNextItemOpen(true, ImGuiCond_Once);
if (ImGui::TreeNode((void*)(intptr_t)i, "Child %d", i))
{
ImGui::Text("blah blah");
ImGui::SameLine();
if (ImGui::SmallButton("button")) {}
ImGui::TreePop();
}
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Advanced, with Selectable nodes"))
{
HelpMarker(
"This is a more typical looking tree with selectable nodes.\n"
"Click to select, CTRL+Click to toggle, click on arrows or double-click to open.");
static ImGuiTreeNodeFlags base_flags = ImGuiTreeNodeFlags_OpenOnArrow | ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_SpanAvailWidth;
static bool align_label_with_current_x_position = false;
static bool test_drag_and_drop = false;
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_OpenOnArrow", (unsigned int*)&base_flags, ImGuiTreeNodeFlags_OpenOnArrow);
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_OpenOnDoubleClick", (unsigned int*)&base_flags, ImGuiTreeNodeFlags_OpenOnDoubleClick);
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_SpanAvailWidth", (unsigned int*)&base_flags, ImGuiTreeNodeFlags_SpanAvailWidth); ImGui::SameLine(); HelpMarker("Extend hit area to all available width instead of allowing more items to be laid out after the node.");
ImGui::CheckboxFlags("ImGuiTreeNodeFlags_SpanFullWidth", (unsigned int*)&base_flags, ImGuiTreeNodeFlags_SpanFullWidth);
ImGui::Checkbox("Align label with current X position", &align_label_with_current_x_position);
ImGui::Checkbox("Test tree node as drag source", &test_drag_and_drop);
ImGui::Text("Hello!");
if (align_label_with_current_x_position)
ImGui::Unindent(ImGui::GetTreeNodeToLabelSpacing());
// 'selection_mask' is dumb representation of what may be user-side selection state.
// You may retain selection state inside or outside your objects in whatever format you see fit.
// 'node_clicked' is temporary storage of what node we have clicked to process selection at the end
/// of the loop. May be a pointer to your own node type, etc.
static int selection_mask = (1 << 2);
int node_clicked = -1;
for (int i = 0; i < 6; i++)
{
// Disable the default "open on single-click behavior" + set Selected flag according to our selection.
ImGuiTreeNodeFlags node_flags = base_flags;
const bool is_selected = (selection_mask & (1 << i)) != 0;
if (is_selected)
node_flags |= ImGuiTreeNodeFlags_Selected;
if (i < 3)
{
// Items 0..2 are Tree Node
bool node_open = ImGui::TreeNodeEx((void*)(intptr_t)i, node_flags, "Selectable Node %d", i);
if (ImGui::IsItemClicked())
node_clicked = i;
if (test_drag_and_drop && ImGui::BeginDragDropSource())
{
ImGui::SetDragDropPayload("_TREENODE", NULL, 0);
ImGui::Text("This is a drag and drop source");
ImGui::EndDragDropSource();
}
if (node_open)
{
ImGui::BulletText("Blah blah\nBlah Blah");
ImGui::TreePop();
}
}
else
{
// Items 3..5 are Tree Leaves
// The only reason we use TreeNode at all is to allow selection of the leaf. Otherwise we can
// use BulletText() or advance the cursor by GetTreeNodeToLabelSpacing() and call Text().
node_flags |= ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_NoTreePushOnOpen; // ImGuiTreeNodeFlags_Bullet
ImGui::TreeNodeEx((void*)(intptr_t)i, node_flags, "Selectable Leaf %d", i);
if (ImGui::IsItemClicked())
node_clicked = i;
if (test_drag_and_drop && ImGui::BeginDragDropSource())
{
ImGui::SetDragDropPayload("_TREENODE", NULL, 0);
ImGui::Text("This is a drag and drop source");
ImGui::EndDragDropSource();
}
}
}
if (node_clicked != -1)
{
// Update selection state
// (process outside of tree loop to avoid visual inconsistencies during the clicking frame)
if (ImGui::GetIO().KeyCtrl)
selection_mask ^= (1 << node_clicked); // CTRL+click to toggle
else //if (!(selection_mask & (1 << node_clicked))) // Depending on selection behavior you want, may want to preserve selection when clicking on item that is part of the selection
selection_mask = (1 << node_clicked); // Click to single-select
}
if (align_label_with_current_x_position)
ImGui::Indent(ImGui::GetTreeNodeToLabelSpacing());
ImGui::TreePop();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Collapsing Headers"))
{
static bool closable_group = true;
ImGui::Checkbox("Show 2nd header", &closable_group);
if (ImGui::CollapsingHeader("Header", ImGuiTreeNodeFlags_None))
{
ImGui::Text("IsItemHovered: %d", ImGui::IsItemHovered());
for (int i = 0; i < 5; i++)
ImGui::Text("Some content %d", i);
}
if (ImGui::CollapsingHeader("Header with a close button", &closable_group))
{
ImGui::Text("IsItemHovered: %d", ImGui::IsItemHovered());
for (int i = 0; i < 5; i++)
ImGui::Text("More content %d", i);
}
/*
if (ImGui::CollapsingHeader("Header with a bullet", ImGuiTreeNodeFlags_Bullet))
ImGui::Text("IsItemHovered: %d", ImGui::IsItemHovered());
*/
ImGui::TreePop();
}
if (ImGui::TreeNode("Bullets"))
{
ImGui::BulletText("Bullet point 1");
ImGui::BulletText("Bullet point 2\nOn multiple lines");
if (ImGui::TreeNode("Tree node"))
{
ImGui::BulletText("Another bullet point");
ImGui::TreePop();
}
ImGui::Bullet(); ImGui::Text("Bullet point 3 (two calls)");
ImGui::Bullet(); ImGui::SmallButton("Button");
ImGui::TreePop();
}
if (ImGui::TreeNode("Text"))
{
if (ImGui::TreeNode("Colored Text"))
{
// Using shortcut. You can use PushStyleColor()/PopStyleColor() for more flexibility.
ImGui::TextColored(ImVec4(1.0f, 0.0f, 1.0f, 1.0f), "Pink");
ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "Yellow");
ImGui::TextDisabled("Disabled");
ImGui::SameLine(); HelpMarker("The TextDisabled color is stored in ImGuiStyle.");
ImGui::TreePop();
}
if (ImGui::TreeNode("Word Wrapping"))
{
// Using shortcut. You can use PushTextWrapPos()/PopTextWrapPos() for more flexibility.
ImGui::TextWrapped("This text should automatically wrap on the edge of the window. The current implementation for text wrapping follows simple rules suitable for English and possibly other languages.");
ImGui::Spacing();
static float wrap_width = 200.0f;
ImGui::SliderFloat("Wrap width", &wrap_width, -20, 600, "%.0f");
ImDrawList* draw_list = ImGui::GetWindowDrawList();
for (int n = 0; n < 2; n++)
{
ImGui::Text("Test paragraph %d:", n);
ImVec2 pos = ImGui::GetCursorScreenPos();
ImVec2 marker_min = ImVec2(pos.x + wrap_width, pos.y);
ImVec2 marker_max = ImVec2(pos.x + wrap_width + 10, pos.y + ImGui::GetTextLineHeight());
ImGui::PushTextWrapPos(ImGui::GetCursorPos().x + wrap_width);
if (n == 0)
ImGui::Text("The lazy dog is a good dog. This paragraph should fit within %.0f pixels. Testing a 1 character word. The quick brown fox jumps over the lazy dog.", wrap_width);
if (n == 1)
ImGui::Text("aaaaaaaa bbbbbbbb, c cccccccc,dddddddd. d eeeeeeee ffffffff. gggggggg!hhhhhhhh");
// Draw actual text bounding box, following by marker of our expected limit (should not overlap!)
draw_list->AddRect(ImGui::GetItemRectMin(), ImGui::GetItemRectMax(), IM_COL32(255, 255, 0, 255));
draw_list->AddRectFilled(marker_min, marker_max, IM_COL32(255, 0, 255, 255));
ImGui::PopTextWrapPos();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("UTF-8 Text"))
{
// UTF-8 test with Japanese characters
// (Needs a suitable font? Try "Google Noto" or "Arial Unicode". See docs/FONTS.md for details.)
// - From C++11 you can use the u8"my text" syntax to encode literal strings as UTF-8
// - For earlier compiler, you may be able to encode your sources as UTF-8 (e.g. in Visual Studio, you
// can save your source files as 'UTF-8 without signature').
// - FOR THIS DEMO FILE ONLY, BECAUSE WE WANT TO SUPPORT OLD COMPILERS, WE ARE *NOT* INCLUDING RAW UTF-8
// CHARACTERS IN THIS SOURCE FILE. Instead we are encoding a few strings with hexadecimal constants.
// Don't do this in your application! Please use u8"text in any language" in your application!
// Note that characters values are preserved even by InputText() if the font cannot be displayed,
// so you can safely copy & paste garbled characters into another application.
ImGui::TextWrapped(
"CJK text will only appears if the font was loaded with the appropriate CJK character ranges. "
"Call io.Font->AddFontFromFileTTF() manually to load extra character ranges. "
"Read docs/FONTS.md for details.");
ImGui::Text("Hiragana: \xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91\xe3\x81\x93 (kakikukeko)"); // Normally we would use u8"blah blah" with the proper characters directly in the string.
ImGui::Text("Kanjis: \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e (nihongo)");
static char buf[32] = "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e";
//static char buf[32] = u8"NIHONGO"; // <- this is how you would write it with C++11, using real kanjis
ImGui::InputText("UTF-8 input", buf, IM_ARRAYSIZE(buf));
ImGui::TreePop();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Images"))
{
ImGuiIO& io = ImGui::GetIO();
ImGui::TextWrapped("Below we are displaying the font texture (which is the only texture we have access to in this demo). Use the 'ImTextureID' type as storage to pass pointers or identifier to your own texture data. Hover the texture for a zoomed view!");
// Below we are displaying the font texture because it is the only texture we have access to inside the demo!
// Remember that ImTextureID is just storage for whatever you want it to be. It is essentially a value that
// will be passed to the rendering back-end via the ImDrawCmd structure.
// If you use one of the default imgui_impl_XXXX.cpp rendering back-end, they all have comments at the top
// of their respective source file to specify what they expect to be stored in ImTextureID, for example:
// - The imgui_impl_dx11.cpp renderer expect a 'ID3D11ShaderResourceView*' pointer
// - The imgui_impl_opengl3.cpp renderer expect a GLuint OpenGL texture identifier, etc.
// More:
// - If you decided that ImTextureID = MyEngineTexture*, then you can pass your MyEngineTexture* pointers
// to ImGui::Image(), and gather width/height through your own functions, etc.
// - You can use ShowMetricsWindow() to inspect the draw data that are being passed to your renderer,
// it will help you debug issues if you are confused about it.
// - Consider using the lower-level ImDrawList::AddImage() API, via ImGui::GetWindowDrawList()->AddImage().
// - Read https://github.com/ocornut/imgui/blob/master/docs/FAQ.md
// - Read https://github.com/ocornut/imgui/wiki/Image-Loading-and-Displaying-Examples
ImTextureID my_tex_id = io.Fonts->TexID;
float my_tex_w = (float)io.Fonts->TexWidth;
float my_tex_h = (float)io.Fonts->TexHeight;
{
ImGui::Text("%.0fx%.0f", my_tex_w, my_tex_h);
ImVec2 pos = ImGui::GetCursorScreenPos();
ImVec2 uv_min = ImVec2(0.0f, 0.0f); // Top-left
ImVec2 uv_max = ImVec2(1.0f, 1.0f); // Lower-right
ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint
ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f); // 50% opaque white
ImGui::Image(my_tex_id, ImVec2(my_tex_w, my_tex_h), uv_min, uv_max, tint_col, border_col);
if (ImGui::IsItemHovered())
{
ImGui::BeginTooltip();
float region_sz = 32.0f;
float region_x = io.MousePos.x - pos.x - region_sz * 0.5f;
float region_y = io.MousePos.y - pos.y - region_sz * 0.5f;
float zoom = 4.0f;
if (region_x < 0.0f) { region_x = 0.0f; }
else if (region_x > my_tex_w - region_sz) { region_x = my_tex_w - region_sz; }
if (region_y < 0.0f) { region_y = 0.0f; }
else if (region_y > my_tex_h - region_sz) { region_y = my_tex_h - region_sz; }
ImGui::Text("Min: (%.2f, %.2f)", region_x, region_y);
ImGui::Text("Max: (%.2f, %.2f)", region_x + region_sz, region_y + region_sz);
ImVec2 uv0 = ImVec2((region_x) / my_tex_w, (region_y) / my_tex_h);
ImVec2 uv1 = ImVec2((region_x + region_sz) / my_tex_w, (region_y + region_sz) / my_tex_h);
ImGui::Image(my_tex_id, ImVec2(region_sz * zoom, region_sz * zoom), uv0, uv1, tint_col, border_col);
ImGui::EndTooltip();
}
}
ImGui::TextWrapped("And now some textured buttons..");
static int pressed_count = 0;
for (int i = 0; i < 8; i++)
{
ImGui::PushID(i);
int frame_padding = -1 + i; // -1 == uses default padding (style.FramePadding)
ImVec2 size = ImVec2(32.0f, 32.0f); // Size of the image we want to make visible
ImVec2 uv0 = ImVec2(0.0f, 0.0f); // UV coordinates for lower-left
ImVec2 uv1 = ImVec2(32.0f / my_tex_w, 32 / my_tex_h); // UV coordinates for (32,32) in our texture
ImVec4 bg_col = ImVec4(0.0f, 0.0f, 0.0f, 1.0f); // Black background
ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f); // No tint
if (ImGui::ImageButton(my_tex_id, size, uv0, uv1, frame_padding, bg_col, tint_col))
pressed_count += 1;
ImGui::PopID();
ImGui::SameLine();
}
ImGui::NewLine();
ImGui::Text("Pressed %d times.", pressed_count);
ImGui::TreePop();
}
if (ImGui::TreeNode("Combo"))
{
// Expose flags as checkbox for the demo
static ImGuiComboFlags flags = 0;
ImGui::CheckboxFlags("ImGuiComboFlags_PopupAlignLeft", (unsigned int*)&flags, ImGuiComboFlags_PopupAlignLeft);
ImGui::SameLine(); HelpMarker("Only makes a difference if the popup is larger than the combo");
if (ImGui::CheckboxFlags("ImGuiComboFlags_NoArrowButton", (unsigned int*)&flags, ImGuiComboFlags_NoArrowButton))
flags &= ~ImGuiComboFlags_NoPreview; // Clear the other flag, as we cannot combine both
if (ImGui::CheckboxFlags("ImGuiComboFlags_NoPreview", (unsigned int*)&flags, ImGuiComboFlags_NoPreview))
flags &= ~ImGuiComboFlags_NoArrowButton; // Clear the other flag, as we cannot combine both
// Using the generic BeginCombo() API, you have full control over how to display the combo contents.
// (your selection data could be an index, a pointer to the object, an id for the object, a flag intrusively
// stored in the object itself, etc.)
const char* items[] = { "AAAA", "BBBB", "CCCC", "DDDD", "EEEE", "FFFF", "GGGG", "HHHH", "IIII", "JJJJ", "KKKK", "LLLLLLL", "MMMM", "OOOOOOO" };
static int item_current_idx = 0; // Here our selection data is an index.
const char* combo_label = items[item_current_idx]; // Label to preview before opening the combo (technically could be anything)(
if (ImGui::BeginCombo("combo 1", combo_label, flags))
{
for (int n = 0; n < IM_ARRAYSIZE(items); n++)
{
const bool is_selected = (item_current_idx == n);
if (ImGui::Selectable(items[n], is_selected))
item_current_idx = n;
// Set the initial focus when opening the combo (scrolling + keyboard navigation focus)
if (is_selected)
ImGui::SetItemDefaultFocus();
}
ImGui::EndCombo();
}
// Simplified one-liner Combo() API, using values packed in a single constant string
static int item_current_2 = 0;
ImGui::Combo("combo 2 (one-liner)", &item_current_2, "aaaa\0bbbb\0cccc\0dddd\0eeee\0\0");
// Simplified one-liner Combo() using an array of const char*
static int item_current_3 = -1; // If the selection isn't within 0..count, Combo won't display a preview
ImGui::Combo("combo 3 (array)", &item_current_3, items, IM_ARRAYSIZE(items));
// Simplified one-liner Combo() using an accessor function
struct FuncHolder { static bool ItemGetter(void* data, int idx, const char** out_str) { *out_str = ((const char**)data)[idx]; return true; } };
static int item_current_4 = 0;
ImGui::Combo("combo 4 (function)", &item_current_4, &FuncHolder::ItemGetter, items, IM_ARRAYSIZE(items));
ImGui::TreePop();
}
if (ImGui::TreeNode("Selectables"))
{
// Selectable() has 2 overloads:
// - The one taking "bool selected" as a read-only selection information.
// When Selectable() has been clicked it returns true and you can alter selection state accordingly.
// - The one taking "bool* p_selected" as a read-write selection information (convenient in some cases)
// The earlier is more flexible, as in real application your selection may be stored in many different ways
// and not necessarily inside a bool value (e.g. in flags within objects, as an external list, etc).
if (ImGui::TreeNode("Basic"))
{
static bool selection[5] = { false, true, false, false, false };
ImGui::Selectable("1. I am selectable", &selection[0]);
ImGui::Selectable("2. I am selectable", &selection[1]);
ImGui::Text("3. I am not selectable");
ImGui::Selectable("4. I am selectable", &selection[3]);
if (ImGui::Selectable("5. I am double clickable", selection[4], ImGuiSelectableFlags_AllowDoubleClick))
if (ImGui::IsMouseDoubleClicked(0))
selection[4] = !selection[4];
ImGui::TreePop();
}
if (ImGui::TreeNode("Selection State: Single Selection"))
{
static int selected = -1;
for (int n = 0; n < 5; n++)
{
char buf[32];
sprintf(buf, "Object %d", n);
if (ImGui::Selectable(buf, selected == n))
selected = n;
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Selection State: Multiple Selection"))
{
HelpMarker("Hold CTRL and click to select multiple items.");
static bool selection[5] = { false, false, false, false, false };
for (int n = 0; n < 5; n++)
{
char buf[32];
sprintf(buf, "Object %d", n);
if (ImGui::Selectable(buf, selection[n]))
{
if (!ImGui::GetIO().KeyCtrl) // Clear selection when CTRL is not held
memset(selection, 0, sizeof(selection));
selection[n] ^= 1;
}
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Rendering more text into the same line"))
{
// Using the Selectable() override that takes "bool* p_selected" parameter,
// this function toggle your bool value automatically.
static bool selected[3] = { false, false, false };
ImGui::Selectable("main.c", &selected[0]); ImGui::SameLine(300); ImGui::Text(" 2,345 bytes");
ImGui::Selectable("Hello.cpp", &selected[1]); ImGui::SameLine(300); ImGui::Text("12,345 bytes");
ImGui::Selectable("Hello.h", &selected[2]); ImGui::SameLine(300); ImGui::Text(" 2,345 bytes");
ImGui::TreePop();
}
if (ImGui::TreeNode("In columns"))
{
ImGui::Columns(3, NULL, false);
static bool selected[16] = {};
for (int i = 0; i < 16; i++)
{
char label[32]; sprintf(label, "Item %d", i);
if (ImGui::Selectable(label, &selected[i])) {}
ImGui::NextColumn();
}
ImGui::Columns(1);
ImGui::TreePop();
}
if (ImGui::TreeNode("Grid"))
{
static int selected[4 * 4] = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 };
for (int i = 0; i < 4 * 4; i++)
{
ImGui::PushID(i);
if (ImGui::Selectable("Sailor", selected[i] != 0, 0, ImVec2(50, 50)))
{
// Toggle
selected[i] = !selected[i];
// Note: We _unnecessarily_ test for both x/y and i here only to silence some static analyzer.
// The second part of each test is unnecessary.
int x = i % 4;
int y = i / 4;
if (x > 0) { selected[i - 1] ^= 1; }
if (x < 3 && i < 15) { selected[i + 1] ^= 1; }
if (y > 0 && i > 3) { selected[i - 4] ^= 1; }
if (y < 3 && i < 12) { selected[i + 4] ^= 1; }
}
if ((i % 4) < 3) ImGui::SameLine();
ImGui::PopID();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Alignment"))
{
HelpMarker(
"By default, Selectables uses style.SelectableTextAlign but it can be overridden on a per-item "
"basis using PushStyleVar(). You'll probably want to always keep your default situation to "
"left-align otherwise it becomes difficult to layout multiple items on a same line");
static bool selected[3 * 3] = { true, false, true, false, true, false, true, false, true };
for (int y = 0; y < 3; y++)
{
for (int x = 0; x < 3; x++)
{
ImVec2 alignment = ImVec2((float)x / 2.0f, (float)y / 2.0f);
char name[32];
sprintf(name, "(%.1f,%.1f)", alignment.x, alignment.y);
if (x > 0) ImGui::SameLine();
ImGui::PushStyleVar(ImGuiStyleVar_SelectableTextAlign, alignment);
ImGui::Selectable(name, &selected[3 * y + x], ImGuiSelectableFlags_None, ImVec2(80, 80));
ImGui::PopStyleVar();
}
}
ImGui::TreePop();
}
ImGui::TreePop();
}
// To wire InputText() with std::string or any other custom string type,
// see the "Text Input > Resize Callback" section of this demo, and the misc/cpp/imgui_stdlib.h file.
if (ImGui::TreeNode("Text Input"))
{
if (ImGui::TreeNode("Multi-line Text Input"))
{
// Note: we are using a fixed-sized buffer for simplicity here. See ImGuiInputTextFlags_CallbackResize
// and the code in misc/cpp/imgui_stdlib.h for how to setup InputText() for dynamically resizing strings.
static char text[1024 * 16] =
"/*\n"
" The Pentium F00F bug, shorthand for F0 0F C7 C8,\n"
" the hexadecimal encoding of one offending instruction,\n"
" more formally, the invalid operand with locked CMPXCHG8B\n"
" instruction bug, is a design flaw in the majority of\n"
" Intel Pentium, Pentium MMX, and Pentium OverDrive\n"
" processors (all in the P5 microarchitecture).\n"
"*/\n\n"
"label:\n"
"\tlock cmpxchg8b eax\n";
static ImGuiInputTextFlags flags = ImGuiInputTextFlags_AllowTabInput;
HelpMarker("You can use the ImGuiInputTextFlags_CallbackResize facility if you need to wire InputTextMultiline() to a dynamic string type. See misc/cpp/imgui_stdlib.h for an example. (This is not demonstrated in imgui_demo.cpp because we don't want to include <string> in here)");
ImGui::CheckboxFlags("ImGuiInputTextFlags_ReadOnly", (unsigned int*)&flags, ImGuiInputTextFlags_ReadOnly);
ImGui::CheckboxFlags("ImGuiInputTextFlags_AllowTabInput", (unsigned int*)&flags, ImGuiInputTextFlags_AllowTabInput);
ImGui::CheckboxFlags("ImGuiInputTextFlags_CtrlEnterForNewLine", (unsigned int*)&flags, ImGuiInputTextFlags_CtrlEnterForNewLine);
ImGui::InputTextMultiline("##source", text, IM_ARRAYSIZE(text), ImVec2(-FLT_MIN, ImGui::GetTextLineHeight() * 16), flags);
ImGui::TreePop();
}
if (ImGui::TreeNode("Filtered Text Input"))
{
struct TextFilters
{
// Return 0 (pass) if the character is 'i' or 'm' or 'g' or 'u' or 'i'
static int FilterImGuiLetters(ImGuiInputTextCallbackData* data)
{
if (data->EventChar < 256 && strchr("imgui", (char)data->EventChar))
return 0;
return 1;
}
};
static char buf1[64] = ""; ImGui::InputText("default", buf1, 64);
static char buf2[64] = ""; ImGui::InputText("decimal", buf2, 64, ImGuiInputTextFlags_CharsDecimal);
static char buf3[64] = ""; ImGui::InputText("hexadecimal", buf3, 64, ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase);
static char buf4[64] = ""; ImGui::InputText("uppercase", buf4, 64, ImGuiInputTextFlags_CharsUppercase);
static char buf5[64] = ""; ImGui::InputText("no blank", buf5, 64, ImGuiInputTextFlags_CharsNoBlank);
static char buf6[64] = ""; ImGui::InputText("\"imgui\" letters", buf6, 64, ImGuiInputTextFlags_CallbackCharFilter, TextFilters::FilterImGuiLetters);
ImGui::Text("Password input");
static char password[64] = "password123";
ImGui::InputText("password", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_Password);
ImGui::SameLine(); HelpMarker("Display all characters as '*'.\nDisable clipboard cut and copy.\nDisable logging.\n");
ImGui::InputTextWithHint("password (w/ hint)", "<password>", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_Password);
ImGui::InputText("password (clear)", password, IM_ARRAYSIZE(password));
ImGui::TreePop();
}
if (ImGui::TreeNode("Resize Callback"))
{
// To wire InputText() with std::string or any other custom string type,
// you can use the ImGuiInputTextFlags_CallbackResize flag + create a custom ImGui::InputText() wrapper
// using your preferred type. See misc/cpp/imgui_stdlib.h for an implementation of this using std::string.
HelpMarker(
"Using ImGuiInputTextFlags_CallbackResize to wire your custom string type to InputText().\n\n"
"See misc/cpp/imgui_stdlib.h for an implementation of this for std::string.");
struct Funcs
{
static int MyResizeCallback(ImGuiInputTextCallbackData* data)
{
if (data->EventFlag == ImGuiInputTextFlags_CallbackResize)
{
ImVector<char>* my_str = (ImVector<char>*)data->UserData;
IM_ASSERT(my_str->begin() == data->Buf);
my_str->resize(data->BufSize); // NB: On resizing calls, generally data->BufSize == data->BufTextLen + 1
data->Buf = my_str->begin();
}
return 0;
}
// Note: Because ImGui:: is a namespace you would typically add your own function into the namespace.
// For example, you code may declare a function 'ImGui::InputText(const char* label, MyString* my_str)'
static bool MyInputTextMultiline(const char* label, ImVector<char>* my_str, const ImVec2& size = ImVec2(0, 0), ImGuiInputTextFlags flags = 0)
{
IM_ASSERT((flags & ImGuiInputTextFlags_CallbackResize) == 0);
return ImGui::InputTextMultiline(label, my_str->begin(), (size_t)my_str->size(), size, flags | ImGuiInputTextFlags_CallbackResize, Funcs::MyResizeCallback, (void*)my_str);
}
};
// For this demo we are using ImVector as a string container.
// Note that because we need to store a terminating zero character, our size/capacity are 1 more
// than usually reported by a typical string class.
static ImVector<char> my_str;
if (my_str.empty())
my_str.push_back(0);
Funcs::MyInputTextMultiline("##MyStr", &my_str, ImVec2(-FLT_MIN, ImGui::GetTextLineHeight() * 16));
ImGui::Text("Data: %p\nSize: %d\nCapacity: %d", (void*)my_str.begin(), my_str.size(), my_str.capacity());
ImGui::TreePop();
}
ImGui::TreePop();
}
// Plot/Graph widgets are currently fairly limited.
// Consider writing your own plotting widget, or using a third-party one
// (for third-party Plot widgets, see 'Wiki->Useful Widgets' or https://github.com/ocornut/imgui/labels/plot%2Fgraph)
if (ImGui::TreeNode("Plots Widgets"))
{
static bool animate = true;
ImGui::Checkbox("Animate", &animate);
static float arr[] = { 0.6f, 0.1f, 1.0f, 0.5f, 0.92f, 0.1f, 0.2f };
ImGui::PlotLines("Frame Times", arr, IM_ARRAYSIZE(arr));
// Create a dummy array of contiguous float values to plot
// Tip: If your float aren't contiguous but part of a structure, you can pass a pointer to your first float
// and the sizeof() of your structure in the "stride" parameter.
static float values[90] = {};
static int values_offset = 0;
static double refresh_time = 0.0;
if (!animate || refresh_time == 0.0)
refresh_time = ImGui::GetTime();
while (refresh_time < ImGui::GetTime()) // Create dummy data at fixed 60 Hz rate for the demo
{
static float phase = 0.0f;
values[values_offset] = cosf(phase);
values_offset = (values_offset + 1) % IM_ARRAYSIZE(values);
phase += 0.10f * values_offset;
refresh_time += 1.0f / 60.0f;
}
// Plots can display overlay texts
// (in this example, we will display an average value)
{
float average = 0.0f;
for (int n = 0; n < IM_ARRAYSIZE(values); n++)
average += values[n];
average /= (float)IM_ARRAYSIZE(values);
char overlay[32];
sprintf(overlay, "avg %f", average);
ImGui::PlotLines("Lines", values, IM_ARRAYSIZE(values), values_offset, overlay, -1.0f, 1.0f, ImVec2(0, 80.0f));
}
ImGui::PlotHistogram("Histogram", arr, IM_ARRAYSIZE(arr), 0, NULL, 0.0f, 1.0f, ImVec2(0, 80.0f));
// Use functions to generate output
// FIXME: This is rather awkward because current plot API only pass in indices.
// We probably want an API passing floats and user provide sample rate/count.
struct Funcs
{
static float Sin(void*, int i) { return sinf(i * 0.1f); }
static float Saw(void*, int i) { return (i & 1) ? 1.0f : -1.0f; }
};
static int func_type = 0, display_count = 70;
ImGui::Separator();
ImGui::SetNextItemWidth(100);
ImGui::Combo("func", &func_type, "Sin\0Saw\0");
ImGui::SameLine();
ImGui::SliderInt("Sample count", &display_count, 1, 400);
float (*func)(void*, int) = (func_type == 0) ? Funcs::Sin : Funcs::Saw;
ImGui::PlotLines("Lines", func, NULL, display_count, 0, NULL, -1.0f, 1.0f, ImVec2(0, 80));
ImGui::PlotHistogram("Histogram", func, NULL, display_count, 0, NULL, -1.0f, 1.0f, ImVec2(0, 80));
ImGui::Separator();
// Animate a simple progress bar
static float progress = 0.0f, progress_dir = 1.0f;
if (animate)
{
progress += progress_dir * 0.4f * ImGui::GetIO().DeltaTime;
if (progress >= +1.1f) { progress = +1.1f; progress_dir *= -1.0f; }
if (progress <= -0.1f) { progress = -0.1f; progress_dir *= -1.0f; }
}
// Typically we would use ImVec2(-1.0f,0.0f) or ImVec2(-FLT_MIN,0.0f) to use all available width,
// or ImVec2(width,0.0f) for a specified width. ImVec2(0.0f,0.0f) uses ItemWidth.
ImGui::ProgressBar(progress, ImVec2(0.0f, 0.0f));
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x);
ImGui::Text("Progress Bar");
float progress_saturated = IM_CLAMP(progress, 0.0f, 1.0f);
char buf[32];
sprintf(buf, "%d/%d", (int)(progress_saturated * 1753), 1753);
ImGui::ProgressBar(progress, ImVec2(0.f, 0.f), buf);
ImGui::TreePop();
}
if (ImGui::TreeNode("Color/Picker Widgets"))
{
static ImVec4 color = ImVec4(114.0f / 255.0f, 144.0f / 255.0f, 154.0f / 255.0f, 200.0f / 255.0f);
static bool alpha_preview = true;
static bool alpha_half_preview = false;
static bool drag_and_drop = true;
static bool options_menu = true;
static bool hdr = false;
ImGui::Checkbox("With Alpha Preview", &alpha_preview);
ImGui::Checkbox("With Half Alpha Preview", &alpha_half_preview);
ImGui::Checkbox("With Drag and Drop", &drag_and_drop);
ImGui::Checkbox("With Options Menu", &options_menu); ImGui::SameLine(); HelpMarker("Right-click on the individual color widget to show options.");
ImGui::Checkbox("With HDR", &hdr); ImGui::SameLine(); HelpMarker("Currently all this does is to lift the 0..1 limits on dragging widgets.");
ImGuiColorEditFlags misc_flags = (hdr ? ImGuiColorEditFlags_HDR : 0) | (drag_and_drop ? 0 : ImGuiColorEditFlags_NoDragDrop) | (alpha_half_preview ? ImGuiColorEditFlags_AlphaPreviewHalf : (alpha_preview ? ImGuiColorEditFlags_AlphaPreview : 0)) | (options_menu ? 0 : ImGuiColorEditFlags_NoOptions);
ImGui::Text("Color widget:");
ImGui::SameLine(); HelpMarker(
"Click on the colored square to open a color picker.\n"
"CTRL+click on individual component to input value.\n");
ImGui::ColorEdit3("MyColor##1", (float*)&color, misc_flags);
ImGui::Text("Color widget HSV with Alpha:");
ImGui::ColorEdit4("MyColor##2", (float*)&color, ImGuiColorEditFlags_DisplayHSV | misc_flags);
ImGui::Text("Color widget with Float Display:");
ImGui::ColorEdit4("MyColor##2f", (float*)&color, ImGuiColorEditFlags_Float | misc_flags);
ImGui::Text("Color button with Picker:");
ImGui::SameLine(); HelpMarker(
"With the ImGuiColorEditFlags_NoInputs flag you can hide all the slider/text inputs.\n"
"With the ImGuiColorEditFlags_NoLabel flag you can pass a non-empty label which will only "
"be used for the tooltip and picker popup.");
ImGui::ColorEdit4("MyColor##3", (float*)&color, ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoLabel | misc_flags);
ImGui::Text("Color button with Custom Picker Popup:");
// Generate a dummy default palette. The palette will persist and can be edited.
static bool saved_palette_init = true;
static ImVec4 saved_palette[32] = {};
if (saved_palette_init)
{
for (int n = 0; n < IM_ARRAYSIZE(saved_palette); n++)
{
ImGui::ColorConvertHSVtoRGB(n / 31.0f, 0.8f, 0.8f,
saved_palette[n].x, saved_palette[n].y, saved_palette[n].z);
saved_palette[n].w = 1.0f; // Alpha
}
saved_palette_init = false;
}
static ImVec4 backup_color;
bool open_popup = ImGui::ColorButton("MyColor##3b", color, misc_flags);
ImGui::SameLine(0, ImGui::GetStyle().ItemInnerSpacing.x);
open_popup |= ImGui::Button("Palette");
if (open_popup)
{
ImGui::OpenPopup("mypicker");
backup_color = color;
}
if (ImGui::BeginPopup("mypicker"))
{
ImGui::Text("MY CUSTOM COLOR PICKER WITH AN AMAZING PALETTE!");
ImGui::Separator();
ImGui::ColorPicker4("##picker", (float*)&color, misc_flags | ImGuiColorEditFlags_NoSidePreview | ImGuiColorEditFlags_NoSmallPreview);
ImGui::SameLine();
ImGui::BeginGroup(); // Lock X position
ImGui::Text("Current");
ImGui::ColorButton("##current", color, ImGuiColorEditFlags_NoPicker | ImGuiColorEditFlags_AlphaPreviewHalf, ImVec2(60, 40));
ImGui::Text("Previous");
if (ImGui::ColorButton("##previous", backup_color, ImGuiColorEditFlags_NoPicker | ImGuiColorEditFlags_AlphaPreviewHalf, ImVec2(60, 40)))
color = backup_color;
ImGui::Separator();
ImGui::Text("Palette");
for (int n = 0; n < IM_ARRAYSIZE(saved_palette); n++)
{
ImGui::PushID(n);
if ((n % 8) != 0)
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemSpacing.y);
ImGuiColorEditFlags palette_button_flags = ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoPicker | ImGuiColorEditFlags_NoTooltip;
if (ImGui::ColorButton("##palette", saved_palette[n], palette_button_flags, ImVec2(20, 20)))
color = ImVec4(saved_palette[n].x, saved_palette[n].y, saved_palette[n].z, color.w); // Preserve alpha!
// Allow user to drop colors into each palette entry. Note that ColorButton() is already a
// drag source by default, unless specifying the ImGuiColorEditFlags_NoDragDrop flag.
if (ImGui::BeginDragDropTarget())
{
if (const ImGuiPayload* payload = ImGui::AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F))
memcpy((float*)&saved_palette[n], payload->Data, sizeof(float) * 3);
if (const ImGuiPayload* payload = ImGui::AcceptDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F))
memcpy((float*)&saved_palette[n], payload->Data, sizeof(float) * 4);
ImGui::EndDragDropTarget();
}
ImGui::PopID();
}
ImGui::EndGroup();
ImGui::EndPopup();
}
ImGui::Text("Color button only:");
static bool no_border = false;
ImGui::Checkbox("ImGuiColorEditFlags_NoBorder", &no_border);
ImGui::ColorButton("MyColor##3c", *(ImVec4*)&color, misc_flags | (no_border ? ImGuiColorEditFlags_NoBorder : 0), ImVec2(80, 80));
ImGui::Text("Color picker:");
static bool alpha = true;
static bool alpha_bar = true;
static bool side_preview = true;
static bool ref_color = false;
static ImVec4 ref_color_v(1.0f, 0.0f, 1.0f, 0.5f);
static int display_mode = 0;
static int picker_mode = 0;
ImGui::Checkbox("With Alpha", &alpha);
ImGui::Checkbox("With Alpha Bar", &alpha_bar);
ImGui::Checkbox("With Side Preview", &side_preview);
if (side_preview)
{
ImGui::SameLine();
ImGui::Checkbox("With Ref Color", &ref_color);
if (ref_color)
{
ImGui::SameLine();
ImGui::ColorEdit4("##RefColor", &ref_color_v.x, ImGuiColorEditFlags_NoInputs | misc_flags);
}
}
ImGui::Combo("Display Mode", &display_mode, "Auto/Current\0None\0RGB Only\0HSV Only\0Hex Only\0");
ImGui::SameLine(); HelpMarker(
"ColorEdit defaults to displaying RGB inputs if you don't specify a display mode, "
"but the user can change it with a right-click.\n\nColorPicker defaults to displaying RGB+HSV+Hex "
"if you don't specify a display mode.\n\nYou can change the defaults using SetColorEditOptions().");
ImGui::Combo("Picker Mode", &picker_mode, "Auto/Current\0Hue bar + SV rect\0Hue wheel + SV triangle\0");
ImGui::SameLine(); HelpMarker("User can right-click the picker to change mode.");
ImGuiColorEditFlags flags = misc_flags;
if (!alpha) flags |= ImGuiColorEditFlags_NoAlpha; // This is by default if you call ColorPicker3() instead of ColorPicker4()
if (alpha_bar) flags |= ImGuiColorEditFlags_AlphaBar;
if (!side_preview) flags |= ImGuiColorEditFlags_NoSidePreview;
if (picker_mode == 1) flags |= ImGuiColorEditFlags_PickerHueBar;
if (picker_mode == 2) flags |= ImGuiColorEditFlags_PickerHueWheel;
if (display_mode == 1) flags |= ImGuiColorEditFlags_NoInputs; // Disable all RGB/HSV/Hex displays
if (display_mode == 2) flags |= ImGuiColorEditFlags_DisplayRGB; // Override display mode
if (display_mode == 3) flags |= ImGuiColorEditFlags_DisplayHSV;
if (display_mode == 4) flags |= ImGuiColorEditFlags_DisplayHex;
ImGui::ColorPicker4("MyColor##4", (float*)&color, flags, ref_color ? &ref_color_v.x : NULL);
ImGui::Text("Set defaults in code:");
ImGui::SameLine(); HelpMarker(
"SetColorEditOptions() is designed to allow you to set boot-time default.\n"
"We don't have Push/Pop functions because you can force options on a per-widget basis if needed,"
"and the user can change non-forced ones with the options menu.\nWe don't have a getter to avoid"
"encouraging you to persistently save values that aren't forward-compatible.");
if (ImGui::Button("Default: Uint8 + HSV + Hue Bar"))
ImGui::SetColorEditOptions(ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_PickerHueBar);
if (ImGui::Button("Default: Float + HDR + Hue Wheel"))
ImGui::SetColorEditOptions(ImGuiColorEditFlags_Float | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_PickerHueWheel);
// HSV encoded support (to avoid RGB<>HSV round trips and singularities when S==0 or V==0)
static ImVec4 color_hsv(0.23f, 1.0f, 1.0f, 1.0f); // Stored as HSV!
ImGui::Spacing();
ImGui::Text("HSV encoded colors");
ImGui::SameLine(); HelpMarker(
"By default, colors are given to ColorEdit and ColorPicker in RGB, but ImGuiColorEditFlags_InputHSV"
"allows you to store colors as HSV and pass them to ColorEdit and ColorPicker as HSV. This comes with the"
"added benefit that you can manipulate hue values with the picker even when saturation or value are zero.");
ImGui::Text("Color widget with InputHSV:");
ImGui::ColorEdit4("HSV shown as RGB##1", (float*)&color_hsv, ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputHSV | ImGuiColorEditFlags_Float);
ImGui::ColorEdit4("HSV shown as HSV##1", (float*)&color_hsv, ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_InputHSV | ImGuiColorEditFlags_Float);
ImGui::DragFloat4("Raw HSV values", (float*)&color_hsv, 0.01f, 0.0f, 1.0f);
ImGui::TreePop();
}
if (ImGui::TreeNode("Range Widgets"))
{
static float begin = 10, end = 90;
static int begin_i = 100, end_i = 1000;
ImGui::DragFloatRange2("range float", &begin, &end, 0.25f, 0.0f, 100.0f, "Min: %.1f %%", "Max: %.1f %%");
ImGui::DragIntRange2("range int", &begin_i, &end_i, 5, 0, 1000, "Min: %d units", "Max: %d units");
ImGui::DragIntRange2("range int (no bounds)", &begin_i, &end_i, 5, 0, 0, "Min: %d units", "Max: %d units");
ImGui::TreePop();
}
if (ImGui::TreeNode("Data Types"))
{
// DragScalar/InputScalar/SliderScalar functions allow various data types
// - signed/unsigned
// - 8/16/32/64-bits
// - integer/float/double
// To avoid polluting the public API with all possible combinations, we use the ImGuiDataType enum
// to pass the type, and passing all arguments by pointer.
// This is the reason the test code below creates local variables to hold "zero" "one" etc. for each types.
// In practice, if you frequently use a given type that is not covered by the normal API entry points,
// you can wrap it yourself inside a 1 line function which can take typed argument as value instead of void*,
// and then pass their address to the generic function. For example:
// bool MySliderU64(const char *label, u64* value, u64 min = 0, u64 max = 0, const char* format = "%lld")
// {
// return SliderScalar(label, ImGuiDataType_U64, value, &min, &max, format);
// }
// Setup limits (as helper variables so we can take their address, as explained above)
// Note: SliderScalar() functions have a maximum usable range of half the natural type maximum, hence the /2.
#ifndef LLONG_MIN
ImS64 LLONG_MIN = -9223372036854775807LL - 1;
ImS64 LLONG_MAX = 9223372036854775807LL;
ImU64 ULLONG_MAX = (2ULL * 9223372036854775807LL + 1);
#endif
const char s8_zero = 0, s8_one = 1, s8_fifty = 50, s8_min = -128, s8_max = 127;
const ImU8 u8_zero = 0, u8_one = 1, u8_fifty = 50, u8_min = 0, u8_max = 255;
const short s16_zero = 0, s16_one = 1, s16_fifty = 50, s16_min = -32768, s16_max = 32767;
const ImU16 u16_zero = 0, u16_one = 1, u16_fifty = 50, u16_min = 0, u16_max = 65535;
const ImS32 s32_zero = 0, s32_one = 1, s32_fifty = 50, s32_min = INT_MIN/2, s32_max = INT_MAX/2, s32_hi_a = INT_MAX/2 - 100, s32_hi_b = INT_MAX/2;
const ImU32 u32_zero = 0, u32_one = 1, u32_fifty = 50, u32_min = 0, u32_max = UINT_MAX/2, u32_hi_a = UINT_MAX/2 - 100, u32_hi_b = UINT_MAX/2;
const ImS64 s64_zero = 0, s64_one = 1, s64_fifty = 50, s64_min = LLONG_MIN/2, s64_max = LLONG_MAX/2, s64_hi_a = LLONG_MAX/2 - 100, s64_hi_b = LLONG_MAX/2;
const ImU64 u64_zero = 0, u64_one = 1, u64_fifty = 50, u64_min = 0, u64_max = ULLONG_MAX/2, u64_hi_a = ULLONG_MAX/2 - 100, u64_hi_b = ULLONG_MAX/2;
const float f32_zero = 0.f, f32_one = 1.f, f32_lo_a = -10000000000.0f, f32_hi_a = +10000000000.0f;
const double f64_zero = 0., f64_one = 1., f64_lo_a = -1000000000000000.0, f64_hi_a = +1000000000000000.0;
// State
static char s8_v = 127;
static ImU8 u8_v = 255;
static short s16_v = 32767;
static ImU16 u16_v = 65535;
static ImS32 s32_v = -1;
static ImU32 u32_v = (ImU32)-1;
static ImS64 s64_v = -1;
static ImU64 u64_v = (ImU64)-1;
static float f32_v = 0.123f;
static double f64_v = 90000.01234567890123456789;
const float drag_speed = 0.2f;
static bool drag_clamp = false;
ImGui::Text("Drags:");
ImGui::Checkbox("Clamp integers to 0..50", &drag_clamp); ImGui::SameLine(); HelpMarker("As with every widgets in dear imgui, we never modify values unless there is a user interaction.\nYou can override the clamping limits by using CTRL+Click to input a value.");
ImGui::DragScalar("drag s8", ImGuiDataType_S8, &s8_v, drag_speed, drag_clamp ? &s8_zero : NULL, drag_clamp ? &s8_fifty : NULL);
ImGui::DragScalar("drag u8", ImGuiDataType_U8, &u8_v, drag_speed, drag_clamp ? &u8_zero : NULL, drag_clamp ? &u8_fifty : NULL, "%u ms");
ImGui::DragScalar("drag s16", ImGuiDataType_S16, &s16_v, drag_speed, drag_clamp ? &s16_zero : NULL, drag_clamp ? &s16_fifty : NULL);
ImGui::DragScalar("drag u16", ImGuiDataType_U16, &u16_v, drag_speed, drag_clamp ? &u16_zero : NULL, drag_clamp ? &u16_fifty : NULL, "%u ms");
ImGui::DragScalar("drag s32", ImGuiDataType_S32, &s32_v, drag_speed, drag_clamp ? &s32_zero : NULL, drag_clamp ? &s32_fifty : NULL);
ImGui::DragScalar("drag u32", ImGuiDataType_U32, &u32_v, drag_speed, drag_clamp ? &u32_zero : NULL, drag_clamp ? &u32_fifty : NULL, "%u ms");
ImGui::DragScalar("drag s64", ImGuiDataType_S64, &s64_v, drag_speed, drag_clamp ? &s64_zero : NULL, drag_clamp ? &s64_fifty : NULL);
ImGui::DragScalar("drag u64", ImGuiDataType_U64, &u64_v, drag_speed, drag_clamp ? &u64_zero : NULL, drag_clamp ? &u64_fifty : NULL);
ImGui::DragScalar("drag float", ImGuiDataType_Float, &f32_v, 0.005f, &f32_zero, &f32_one, "%f", 1.0f);
ImGui::DragScalar("drag float ^2", ImGuiDataType_Float, &f32_v, 0.005f, &f32_zero, &f32_one, "%f", 2.0f); ImGui::SameLine(); HelpMarker("You can use the 'power' parameter to increase tweaking precision on one side of the range.");
ImGui::DragScalar("drag double", ImGuiDataType_Double, &f64_v, 0.0005f, &f64_zero, NULL, "%.10f grams", 1.0f);
ImGui::DragScalar("drag double ^2", ImGuiDataType_Double, &f64_v, 0.0005f, &f64_zero, &f64_one, "0 < %.10f < 1", 2.0f);
ImGui::Text("Sliders");
ImGui::SliderScalar("slider s8 full", ImGuiDataType_S8, &s8_v, &s8_min, &s8_max, "%d");
ImGui::SliderScalar("slider u8 full", ImGuiDataType_U8, &u8_v, &u8_min, &u8_max, "%u");
ImGui::SliderScalar("slider s16 full", ImGuiDataType_S16, &s16_v, &s16_min, &s16_max, "%d");
ImGui::SliderScalar("slider u16 full", ImGuiDataType_U16, &u16_v, &u16_min, &u16_max, "%u");
ImGui::SliderScalar("slider s32 low", ImGuiDataType_S32, &s32_v, &s32_zero, &s32_fifty,"%d");
ImGui::SliderScalar("slider s32 high", ImGuiDataType_S32, &s32_v, &s32_hi_a, &s32_hi_b, "%d");
ImGui::SliderScalar("slider s32 full", ImGuiDataType_S32, &s32_v, &s32_min, &s32_max, "%d");
ImGui::SliderScalar("slider u32 low", ImGuiDataType_U32, &u32_v, &u32_zero, &u32_fifty,"%u");
ImGui::SliderScalar("slider u32 high", ImGuiDataType_U32, &u32_v, &u32_hi_a, &u32_hi_b, "%u");
ImGui::SliderScalar("slider u32 full", ImGuiDataType_U32, &u32_v, &u32_min, &u32_max, "%u");
ImGui::SliderScalar("slider s64 low", ImGuiDataType_S64, &s64_v, &s64_zero, &s64_fifty,"%I64d");
ImGui::SliderScalar("slider s64 high", ImGuiDataType_S64, &s64_v, &s64_hi_a, &s64_hi_b, "%I64d");
ImGui::SliderScalar("slider s64 full", ImGuiDataType_S64, &s64_v, &s64_min, &s64_max, "%I64d");
ImGui::SliderScalar("slider u64 low", ImGuiDataType_U64, &u64_v, &u64_zero, &u64_fifty,"%I64u ms");
ImGui::SliderScalar("slider u64 high", ImGuiDataType_U64, &u64_v, &u64_hi_a, &u64_hi_b, "%I64u ms");
ImGui::SliderScalar("slider u64 full", ImGuiDataType_U64, &u64_v, &u64_min, &u64_max, "%I64u ms");
ImGui::SliderScalar("slider float low", ImGuiDataType_Float, &f32_v, &f32_zero, &f32_one);
ImGui::SliderScalar("slider float low^2", ImGuiDataType_Float, &f32_v, &f32_zero, &f32_one, "%.10f", 2.0f);
ImGui::SliderScalar("slider float high", ImGuiDataType_Float, &f32_v, &f32_lo_a, &f32_hi_a, "%e");
ImGui::SliderScalar("slider double low", ImGuiDataType_Double, &f64_v, &f64_zero, &f64_one, "%.10f grams", 1.0f);
ImGui::SliderScalar("slider double low^2",ImGuiDataType_Double, &f64_v, &f64_zero, &f64_one, "%.10f", 2.0f);
ImGui::SliderScalar("slider double high", ImGuiDataType_Double, &f64_v, &f64_lo_a, &f64_hi_a, "%e grams", 1.0f);
static bool inputs_step = true;
ImGui::Text("Inputs");
ImGui::Checkbox("Show step buttons", &inputs_step);
ImGui::InputScalar("input s8", ImGuiDataType_S8, &s8_v, inputs_step ? &s8_one : NULL, NULL, "%d");
ImGui::InputScalar("input u8", ImGuiDataType_U8, &u8_v, inputs_step ? &u8_one : NULL, NULL, "%u");
ImGui::InputScalar("input s16", ImGuiDataType_S16, &s16_v, inputs_step ? &s16_one : NULL, NULL, "%d");
ImGui::InputScalar("input u16", ImGuiDataType_U16, &u16_v, inputs_step ? &u16_one : NULL, NULL, "%u");
ImGui::InputScalar("input s32", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%d");
ImGui::InputScalar("input s32 hex", ImGuiDataType_S32, &s32_v, inputs_step ? &s32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal);
ImGui::InputScalar("input u32", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%u");
ImGui::InputScalar("input u32 hex", ImGuiDataType_U32, &u32_v, inputs_step ? &u32_one : NULL, NULL, "%08X", ImGuiInputTextFlags_CharsHexadecimal);
ImGui::InputScalar("input s64", ImGuiDataType_S64, &s64_v, inputs_step ? &s64_one : NULL);
ImGui::InputScalar("input u64", ImGuiDataType_U64, &u64_v, inputs_step ? &u64_one : NULL);
ImGui::InputScalar("input float", ImGuiDataType_Float, &f32_v, inputs_step ? &f32_one : NULL);
ImGui::InputScalar("input double", ImGuiDataType_Double, &f64_v, inputs_step ? &f64_one : NULL);
ImGui::TreePop();
}
if (ImGui::TreeNode("Multi-component Widgets"))
{
static float vec4f[4] = { 0.10f, 0.20f, 0.30f, 0.44f };
static int vec4i[4] = { 1, 5, 100, 255 };
ImGui::InputFloat2("input float2", vec4f);
ImGui::DragFloat2("drag float2", vec4f, 0.01f, 0.0f, 1.0f);
ImGui::SliderFloat2("slider float2", vec4f, 0.0f, 1.0f);
ImGui::InputInt2("input int2", vec4i);
ImGui::DragInt2("drag int2", vec4i, 1, 0, 255);
ImGui::SliderInt2("slider int2", vec4i, 0, 255);
ImGui::Spacing();
ImGui::InputFloat3("input float3", vec4f);
ImGui::DragFloat3("drag float3", vec4f, 0.01f, 0.0f, 1.0f);
ImGui::SliderFloat3("slider float3", vec4f, 0.0f, 1.0f);
ImGui::InputInt3("input int3", vec4i);
ImGui::DragInt3("drag int3", vec4i, 1, 0, 255);
ImGui::SliderInt3("slider int3", vec4i, 0, 255);
ImGui::Spacing();
ImGui::InputFloat4("input float4", vec4f);
ImGui::DragFloat4("drag float4", vec4f, 0.01f, 0.0f, 1.0f);
ImGui::SliderFloat4("slider float4", vec4f, 0.0f, 1.0f);
ImGui::InputInt4("input int4", vec4i);
ImGui::DragInt4("drag int4", vec4i, 1, 0, 255);
ImGui::SliderInt4("slider int4", vec4i, 0, 255);
ImGui::TreePop();
}
if (ImGui::TreeNode("Vertical Sliders"))
{
const float spacing = 4;
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(spacing, spacing));
static int int_value = 0;
ImGui::VSliderInt("##int", ImVec2(18, 160), &int_value, 0, 5);
ImGui::SameLine();
static float values[7] = { 0.0f, 0.60f, 0.35f, 0.9f, 0.70f, 0.20f, 0.0f };
ImGui::PushID("set1");
for (int i = 0; i < 7; i++)
{
if (i > 0) ImGui::SameLine();
ImGui::PushID(i);
ImGui::PushStyleColor(ImGuiCol_FrameBg, (ImVec4)ImColor::HSV(i / 7.0f, 0.5f, 0.5f));
ImGui::PushStyleColor(ImGuiCol_FrameBgHovered, (ImVec4)ImColor::HSV(i / 7.0f, 0.6f, 0.5f));
ImGui::PushStyleColor(ImGuiCol_FrameBgActive, (ImVec4)ImColor::HSV(i / 7.0f, 0.7f, 0.5f));
ImGui::PushStyleColor(ImGuiCol_SliderGrab, (ImVec4)ImColor::HSV(i / 7.0f, 0.9f, 0.9f));
ImGui::VSliderFloat("##v", ImVec2(18, 160), &values[i], 0.0f, 1.0f, "");
if (ImGui::IsItemActive() || ImGui::IsItemHovered())
ImGui::SetTooltip("%.3f", values[i]);
ImGui::PopStyleColor(4);
ImGui::PopID();
}
ImGui::PopID();
ImGui::SameLine();
ImGui::PushID("set2");
static float values2[4] = { 0.20f, 0.80f, 0.40f, 0.25f };
const int rows = 3;
const ImVec2 small_slider_size(18, (float)(int)((160.0f - (rows - 1) * spacing) / rows));
for (int nx = 0; nx < 4; nx++)
{
if (nx > 0) ImGui::SameLine();
ImGui::BeginGroup();
for (int ny = 0; ny < rows; ny++)
{
ImGui::PushID(nx * rows + ny);
ImGui::VSliderFloat("##v", small_slider_size, &values2[nx], 0.0f, 1.0f, "");
if (ImGui::IsItemActive() || ImGui::IsItemHovered())
ImGui::SetTooltip("%.3f", values2[nx]);
ImGui::PopID();
}
ImGui::EndGroup();
}
ImGui::PopID();
ImGui::SameLine();
ImGui::PushID("set3");
for (int i = 0; i < 4; i++)
{
if (i > 0) ImGui::SameLine();
ImGui::PushID(i);
ImGui::PushStyleVar(ImGuiStyleVar_GrabMinSize, 40);
ImGui::VSliderFloat("##v", ImVec2(40, 160), &values[i], 0.0f, 1.0f, "%.2f\nsec");
ImGui::PopStyleVar();
ImGui::PopID();
}
ImGui::PopID();
ImGui::PopStyleVar();
ImGui::TreePop();
}
if (ImGui::TreeNode("Drag and Drop"))
{
if (ImGui::TreeNode("Drag and drop in standard widgets"))
{
// ColorEdit widgets automatically act as drag source and drag target.
// They are using standardized payload strings IMGUI_PAYLOAD_TYPE_COLOR_3F and IMGUI_PAYLOAD_TYPE_COLOR_4F
// to allow your own widgets to use colors in their drag and drop interaction.
// Also see 'Demo->Widgets->Color/Picker Widgets->Palette' demo.
HelpMarker("You can drag from the colored squares.");
static float col1[3] = { 1.0f, 0.0f, 0.2f };
static float col2[4] = { 0.4f, 0.7f, 0.0f, 0.5f };
ImGui::ColorEdit3("color 1", col1);
ImGui::ColorEdit4("color 2", col2);
ImGui::TreePop();
}
if (ImGui::TreeNode("Drag and drop to copy/swap items"))
{
enum Mode
{
Mode_Copy,
Mode_Move,
Mode_Swap
};
static int mode = 0;
if (ImGui::RadioButton("Copy", mode == Mode_Copy)) { mode = Mode_Copy; } ImGui::SameLine();
if (ImGui::RadioButton("Move", mode == Mode_Move)) { mode = Mode_Move; } ImGui::SameLine();
if (ImGui::RadioButton("Swap", mode == Mode_Swap)) { mode = Mode_Swap; }
const char* names[9] =
{
"Bobby", "Beatrice", "Betty",
"Brianna", "Barry", "Bernard",
"Bibi", "Blaine", "Bryn"
};
for (int n = 0; n < IM_ARRAYSIZE(names); n++)
{
ImGui::PushID(n);
if ((n % 3) != 0)
ImGui::SameLine();
ImGui::Button(names[n], ImVec2(60, 60));
// Our buttons are both drag sources and drag targets here!
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None))
{
// Set payload to carry the index of our item (could be anything)
ImGui::SetDragDropPayload("DND_DEMO_CELL", &n, sizeof(int));
// Display preview (could be anything, e.g. when dragging an image we could decide to display
// the filename and a small preview of the image, etc.)
if (mode == Mode_Copy) { ImGui::Text("Copy %s", names[n]); }
if (mode == Mode_Move) { ImGui::Text("Move %s", names[n]); }
if (mode == Mode_Swap) { ImGui::Text("Swap %s", names[n]); }
ImGui::EndDragDropSource();
}
if (ImGui::BeginDragDropTarget())
{
if (const ImGuiPayload* payload = ImGui::AcceptDragDropPayload("DND_DEMO_CELL"))
{
IM_ASSERT(payload->DataSize == sizeof(int));
int payload_n = *(const int*)payload->Data;
if (mode == Mode_Copy)
{
names[n] = names[payload_n];
}
if (mode == Mode_Move)
{
names[n] = names[payload_n];
names[payload_n] = "";
}
if (mode == Mode_Swap)
{
const char* tmp = names[n];
names[n] = names[payload_n];
names[payload_n] = tmp;
}
}
ImGui::EndDragDropTarget();
}
ImGui::PopID();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Drag to reorder items (simple)"))
{
// Simple reordering
HelpMarker(
"We don't use the drag and drop api at all here! "
"Instead we query when the item is held but not hovered, and order items accordingly.");
static const char* item_names[] = { "Item One", "Item Two", "Item Three", "Item Four", "Item Five" };
for (int n = 0; n < IM_ARRAYSIZE(item_names); n++)
{
const char* item = item_names[n];
ImGui::Selectable(item);
if (ImGui::IsItemActive() && !ImGui::IsItemHovered())
{
int n_next = n + (ImGui::GetMouseDragDelta(0).y < 0.f ? -1 : 1);
if (n_next >= 0 && n_next < IM_ARRAYSIZE(item_names))
{
item_names[n] = item_names[n_next];
item_names[n_next] = item;
ImGui::ResetMouseDragDelta();
}
}
}
ImGui::TreePop();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Querying Status (Active/Focused/Hovered etc.)"))
{
// Select an item type
const char* item_names[] =
{
"Text", "Button", "Button (w/ repeat)", "Checkbox", "SliderFloat", "InputText", "InputFloat",
"InputFloat3", "ColorEdit4", "MenuItem", "TreeNode", "TreeNode (w/ double-click)", "ListBox"
};
static int item_type = 1;
ImGui::Combo("Item Type", &item_type, item_names, IM_ARRAYSIZE(item_names), IM_ARRAYSIZE(item_names));
ImGui::SameLine();
HelpMarker("Testing how various types of items are interacting with the IsItemXXX functions.");
// Submit selected item item so we can query their status in the code following it.
bool ret = false;
static bool b = false;
static float col4f[4] = { 1.0f, 0.5, 0.0f, 1.0f };
static char str[16] = {};
if (item_type == 0) { ImGui::Text("ITEM: Text"); } // Testing text items with no identifier/interaction
if (item_type == 1) { ret = ImGui::Button("ITEM: Button"); } // Testing button
if (item_type == 2) { ImGui::PushButtonRepeat(true); ret = ImGui::Button("ITEM: Button"); ImGui::PopButtonRepeat(); } // Testing button (with repeater)
if (item_type == 3) { ret = ImGui::Checkbox("ITEM: Checkbox", &b); } // Testing checkbox
if (item_type == 4) { ret = ImGui::SliderFloat("ITEM: SliderFloat", &col4f[0], 0.0f, 1.0f); } // Testing basic item
if (item_type == 5) { ret = ImGui::InputText("ITEM: InputText", &str[0], IM_ARRAYSIZE(str)); } // Testing input text (which handles tabbing)
if (item_type == 6) { ret = ImGui::InputFloat("ITEM: InputFloat", col4f, 1.0f); } // Testing +/- buttons on scalar input
if (item_type == 7) { ret = ImGui::InputFloat3("ITEM: InputFloat3", col4f); } // Testing multi-component items (IsItemXXX flags are reported merged)
if (item_type == 8) { ret = ImGui::ColorEdit4("ITEM: ColorEdit4", col4f); } // Testing multi-component items (IsItemXXX flags are reported merged)
if (item_type == 9) { ret = ImGui::MenuItem("ITEM: MenuItem"); } // Testing menu item (they use ImGuiButtonFlags_PressedOnRelease button policy)
if (item_type == 10){ ret = ImGui::TreeNode("ITEM: TreeNode"); if (ret) ImGui::TreePop(); } // Testing tree node
if (item_type == 11){ ret = ImGui::TreeNodeEx("ITEM: TreeNode w/ ImGuiTreeNodeFlags_OpenOnDoubleClick", ImGuiTreeNodeFlags_OpenOnDoubleClick | ImGuiTreeNodeFlags_NoTreePushOnOpen); } // Testing tree node with ImGuiButtonFlags_PressedOnDoubleClick button policy.
if (item_type == 12){ const char* items[] = { "Apple", "Banana", "Cherry", "Kiwi" }; static int current = 1; ret = ImGui::ListBox("ITEM: ListBox", ¤t, items, IM_ARRAYSIZE(items), IM_ARRAYSIZE(items)); }
// Display the values of IsItemHovered() and other common item state functions.
// Note that the ImGuiHoveredFlags_XXX flags can be combined.
// Because BulletText is an item itself and that would affect the output of IsItemXXX functions,
// we query every state in a single call to avoid storing them and to simplify the code.
ImGui::BulletText(
"Return value = %d\n"
"IsItemFocused() = %d\n"
"IsItemHovered() = %d\n"
"IsItemHovered(_AllowWhenBlockedByPopup) = %d\n"
"IsItemHovered(_AllowWhenBlockedByActiveItem) = %d\n"
"IsItemHovered(_AllowWhenOverlapped) = %d\n"
"IsItemHovered(_RectOnly) = %d\n"
"IsItemActive() = %d\n"
"IsItemEdited() = %d\n"
"IsItemActivated() = %d\n"
"IsItemDeactivated() = %d\n"
"IsItemDeactivatedAfterEdit() = %d\n"
"IsItemVisible() = %d\n"
"IsItemClicked() = %d\n"
"IsItemToggledOpen() = %d\n"
"GetItemRectMin() = (%.1f, %.1f)\n"
"GetItemRectMax() = (%.1f, %.1f)\n"
"GetItemRectSize() = (%.1f, %.1f)",
ret,
ImGui::IsItemFocused(),
ImGui::IsItemHovered(),
ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup),
ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem),
ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenOverlapped),
ImGui::IsItemHovered(ImGuiHoveredFlags_RectOnly),
ImGui::IsItemActive(),
ImGui::IsItemEdited(),
ImGui::IsItemActivated(),
ImGui::IsItemDeactivated(),
ImGui::IsItemDeactivatedAfterEdit(),
ImGui::IsItemVisible(),
ImGui::IsItemClicked(),
ImGui::IsItemToggledOpen(),
ImGui::GetItemRectMin().x, ImGui::GetItemRectMin().y,
ImGui::GetItemRectMax().x, ImGui::GetItemRectMax().y,
ImGui::GetItemRectSize().x, ImGui::GetItemRectSize().y
);
static bool embed_all_inside_a_child_window = false;
ImGui::Checkbox("Embed everything inside a child window (for additional testing)", &embed_all_inside_a_child_window);
if (embed_all_inside_a_child_window)
ImGui::BeginChild("outer_child", ImVec2(0, ImGui::GetFontSize() * 20.0f), true);
// Testing IsWindowFocused() function with its various flags.
// Note that the ImGuiFocusedFlags_XXX flags can be combined.
ImGui::BulletText(
"IsWindowFocused() = %d\n"
"IsWindowFocused(_ChildWindows) = %d\n"
"IsWindowFocused(_ChildWindows|_RootWindow) = %d\n"
"IsWindowFocused(_RootWindow) = %d\n"
"IsWindowFocused(_AnyWindow) = %d\n",
ImGui::IsWindowFocused(),
ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows),
ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows | ImGuiFocusedFlags_RootWindow),
ImGui::IsWindowFocused(ImGuiFocusedFlags_RootWindow),
ImGui::IsWindowFocused(ImGuiFocusedFlags_AnyWindow));
// Testing IsWindowHovered() function with its various flags.
// Note that the ImGuiHoveredFlags_XXX flags can be combined.
ImGui::BulletText(
"IsWindowHovered() = %d\n"
"IsWindowHovered(_AllowWhenBlockedByPopup) = %d\n"
"IsWindowHovered(_AllowWhenBlockedByActiveItem) = %d\n"
"IsWindowHovered(_ChildWindows) = %d\n"
"IsWindowHovered(_ChildWindows|_RootWindow) = %d\n"
"IsWindowHovered(_ChildWindows|_AllowWhenBlockedByPopup) = %d\n"
"IsWindowHovered(_RootWindow) = %d\n"
"IsWindowHovered(_AnyWindow) = %d\n",
ImGui::IsWindowHovered(),
ImGui::IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup),
ImGui::IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem),
ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows),
ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow),
ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_AllowWhenBlockedByPopup),
ImGui::IsWindowHovered(ImGuiHoveredFlags_RootWindow),
ImGui::IsWindowHovered(ImGuiHoveredFlags_AnyWindow));
ImGui::BeginChild("child", ImVec2(0, 50), true);
ImGui::Text("This is another child window for testing the _ChildWindows flag.");
ImGui::EndChild();
if (embed_all_inside_a_child_window)
ImGui::EndChild();
static char dummy_str[] = "This is a dummy field to be able to tab-out of the widgets above.";
ImGui::InputText("dummy", dummy_str, IM_ARRAYSIZE(dummy_str), ImGuiInputTextFlags_ReadOnly);
// Calling IsItemHovered() after begin returns the hovered status of the title bar.
// This is useful in particular if you want to create a context menu associated to the title bar of a window.
static bool test_window = false;
ImGui::Checkbox("Hovered/Active tests after Begin() for title bar testing", &test_window);
if (test_window)
{
ImGui::Begin("Title bar Hovered/Active tests", &test_window);
if (ImGui::BeginPopupContextItem()) // <-- This is using IsItemHovered()
{
if (ImGui::MenuItem("Close")) { test_window = false; }
ImGui::EndPopup();
}
ImGui::Text(
"IsItemHovered() after begin = %d (== is title bar hovered)\n"
"IsItemActive() after begin = %d (== is window being clicked/moved)\n",
ImGui::IsItemHovered(), ImGui::IsItemActive());
ImGui::End();
}
ImGui::TreePop();
}
}
static void ShowDemoWindowLayout()
{
if (!ImGui::CollapsingHeader("Layout"))
return;
if (ImGui::TreeNode("Child windows"))
{
HelpMarker("Use child windows to begin into a self-contained independent scrolling/clipping regions within a host window.");
static bool disable_mouse_wheel = false;
static bool disable_menu = false;
ImGui::Checkbox("Disable Mouse Wheel", &disable_mouse_wheel);
ImGui::Checkbox("Disable Menu", &disable_menu);
// Child 1: no border, enable horizontal scrollbar
{
ImGuiWindowFlags window_flags = ImGuiWindowFlags_HorizontalScrollbar;
if (disable_mouse_wheel)
window_flags |= ImGuiWindowFlags_NoScrollWithMouse;
ImGui::BeginChild("ChildL", ImVec2(ImGui::GetWindowContentRegionWidth() * 0.5f, 260), false, window_flags);
for (int i = 0; i < 100; i++)
ImGui::Text("%04d: scrollable region", i);
ImGui::EndChild();
}
ImGui::SameLine();
// Child 2: rounded border
{
ImGuiWindowFlags window_flags = ImGuiWindowFlags_None;
if (disable_mouse_wheel)
window_flags |= ImGuiWindowFlags_NoScrollWithMouse;
if (!disable_menu)
window_flags |= ImGuiWindowFlags_MenuBar;
ImGui::PushStyleVar(ImGuiStyleVar_ChildRounding, 5.0f);
ImGui::BeginChild("ChildR", ImVec2(0, 260), true, window_flags);
if (!disable_menu && ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("Menu"))
{
ShowExampleMenuFile();
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
ImGui::Columns(2);
for (int i = 0; i < 100; i++)
{
char buf[32];
sprintf(buf, "%03d", i);
ImGui::Button(buf, ImVec2(-FLT_MIN, 0.0f));
ImGui::NextColumn();
}
ImGui::EndChild();
ImGui::PopStyleVar();
}
ImGui::Separator();
// Demonstrate a few extra things
// - Changing ImGuiCol_ChildBg (which is transparent black in default styles)
// - Using SetCursorPos() to position child window (the child window is an item from the POV of parent window)
// You can also call SetNextWindowPos() to position the child window. The parent window will effectively
// layout from this position.
// - Using ImGui::GetItemRectMin/Max() to query the "item" state (because the child window is an item from
// the POV of the parent window). See 'Demo->Querying Status (Active/Focused/Hovered etc.)' for details.
{
static int offset_x = 0;
ImGui::SetNextItemWidth(100);
ImGui::DragInt("Offset X", &offset_x, 1.0f, -1000, 1000);
ImGui::SetCursorPosX(ImGui::GetCursorPosX() + (float)offset_x);
ImGui::PushStyleColor(ImGuiCol_ChildBg, IM_COL32(255, 0, 0, 100));
ImGui::BeginChild("Red", ImVec2(200, 100), true, ImGuiWindowFlags_None);
for (int n = 0; n < 50; n++)
ImGui::Text("Some test %d", n);
ImGui::EndChild();
bool child_is_hovered = ImGui::IsItemHovered();
ImVec2 child_rect_min = ImGui::GetItemRectMin();
ImVec2 child_rect_max = ImGui::GetItemRectMax();
ImGui::PopStyleColor();
ImGui::Text("Hovered: %d", child_is_hovered);
ImGui::Text("Rect of child window is: (%.0f,%.0f) (%.0f,%.0f)", child_rect_min.x, child_rect_min.y, child_rect_max.x, child_rect_max.y);
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Widgets Width"))
{
// Use SetNextItemWidth() to set the width of a single upcoming item.
// Use PushItemWidth()/PopItemWidth() to set the width of a group of items.
// In real code use you'll probably want to choose width values that are proportional to your font size
// e.g. Using '20.0f * GetFontSize()' as width instead of '200.0f', etc.
static float f = 0.0f;
ImGui::Text("SetNextItemWidth/PushItemWidth(100)");
ImGui::SameLine(); HelpMarker("Fixed width.");
ImGui::SetNextItemWidth(100);
ImGui::DragFloat("float##1", &f);
ImGui::Text("SetNextItemWidth/PushItemWidth(GetWindowWidth() * 0.5f)");
ImGui::SameLine(); HelpMarker("Half of window width.");
ImGui::SetNextItemWidth(ImGui::GetWindowWidth() * 0.5f);
ImGui::DragFloat("float##2", &f);
ImGui::Text("SetNextItemWidth/PushItemWidth(GetContentRegionAvail().x * 0.5f)");
ImGui::SameLine(); HelpMarker("Half of available width.\n(~ right-cursor_pos)\n(works within a column set)");
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x * 0.5f);
ImGui::DragFloat("float##3", &f);
ImGui::Text("SetNextItemWidth/PushItemWidth(-100)");
ImGui::SameLine(); HelpMarker("Align to right edge minus 100");
ImGui::SetNextItemWidth(-100);
ImGui::DragFloat("float##4", &f);
// Demonstrate using PushItemWidth to surround three items.
// Calling SetNextItemWidth() before each of them would have the same effect.
ImGui::Text("SetNextItemWidth/PushItemWidth(-1)");
ImGui::SameLine(); HelpMarker("Align to right edge");
ImGui::PushItemWidth(-1);
ImGui::DragFloat("##float5a", &f);
ImGui::DragFloat("##float5b", &f);
ImGui::DragFloat("##float5c", &f);
ImGui::PopItemWidth();
ImGui::TreePop();
}
if (ImGui::TreeNode("Basic Horizontal Layout"))
{
ImGui::TextWrapped("(Use ImGui::SameLine() to keep adding items to the right of the preceding item)");
// Text
ImGui::Text("Two items: Hello"); ImGui::SameLine();
ImGui::TextColored(ImVec4(1,1,0,1), "Sailor");
// Adjust spacing
ImGui::Text("More spacing: Hello"); ImGui::SameLine(0, 20);
ImGui::TextColored(ImVec4(1,1,0,1), "Sailor");
// Button
ImGui::AlignTextToFramePadding();
ImGui::Text("Normal buttons"); ImGui::SameLine();
ImGui::Button("Banana"); ImGui::SameLine();
ImGui::Button("Apple"); ImGui::SameLine();
ImGui::Button("Corniflower");
// Button
ImGui::Text("Small buttons"); ImGui::SameLine();
ImGui::SmallButton("Like this one"); ImGui::SameLine();
ImGui::Text("can fit within a text block.");
// Aligned to arbitrary position. Easy/cheap column.
ImGui::Text("Aligned");
ImGui::SameLine(150); ImGui::Text("x=150");
ImGui::SameLine(300); ImGui::Text("x=300");
ImGui::Text("Aligned");
ImGui::SameLine(150); ImGui::SmallButton("x=150");
ImGui::SameLine(300); ImGui::SmallButton("x=300");
// Checkbox
static bool c1 = false, c2 = false, c3 = false, c4 = false;
ImGui::Checkbox("My", &c1); ImGui::SameLine();
ImGui::Checkbox("Tailor", &c2); ImGui::SameLine();
ImGui::Checkbox("Is", &c3); ImGui::SameLine();
ImGui::Checkbox("Rich", &c4);
// Various
static float f0 = 1.0f, f1 = 2.0f, f2 = 3.0f;
ImGui::PushItemWidth(80);
const char* items[] = { "AAAA", "BBBB", "CCCC", "DDDD" };
static int item = -1;
ImGui::Combo("Combo", &item, items, IM_ARRAYSIZE(items)); ImGui::SameLine();
ImGui::SliderFloat("X", &f0, 0.0f, 5.0f); ImGui::SameLine();
ImGui::SliderFloat("Y", &f1, 0.0f, 5.0f); ImGui::SameLine();
ImGui::SliderFloat("Z", &f2, 0.0f, 5.0f);
ImGui::PopItemWidth();
ImGui::PushItemWidth(80);
ImGui::Text("Lists:");
static int selection[4] = { 0, 1, 2, 3 };
for (int i = 0; i < 4; i++)
{
if (i > 0) ImGui::SameLine();
ImGui::PushID(i);
ImGui::ListBox("", &selection[i], items, IM_ARRAYSIZE(items));
ImGui::PopID();
//if (ImGui::IsItemHovered()) ImGui::SetTooltip("ListBox %d hovered", i);
}
ImGui::PopItemWidth();
// Dummy
ImVec2 button_sz(40, 40);
ImGui::Button("A", button_sz); ImGui::SameLine();
ImGui::Dummy(button_sz); ImGui::SameLine();
ImGui::Button("B", button_sz);
// Manually wrapping
// (we should eventually provide this as an automatic layout feature, but for now you can do it manually)
ImGui::Text("Manually wrapping:");
ImGuiStyle& style = ImGui::GetStyle();
int buttons_count = 20;
float window_visible_x2 = ImGui::GetWindowPos().x + ImGui::GetWindowContentRegionMax().x;
for (int n = 0; n < buttons_count; n++)
{
ImGui::PushID(n);
ImGui::Button("Box", button_sz);
float last_button_x2 = ImGui::GetItemRectMax().x;
float next_button_x2 = last_button_x2 + style.ItemSpacing.x + button_sz.x; // Expected position if next button was on same line
if (n + 1 < buttons_count && next_button_x2 < window_visible_x2)
ImGui::SameLine();
ImGui::PopID();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Tabs"))
{
if (ImGui::TreeNode("Basic"))
{
ImGuiTabBarFlags tab_bar_flags = ImGuiTabBarFlags_None;
if (ImGui::BeginTabBar("MyTabBar", tab_bar_flags))
{
if (ImGui::BeginTabItem("Avocado"))
{
ImGui::Text("This is the Avocado tab!\nblah blah blah blah blah");
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Broccoli"))
{
ImGui::Text("This is the Broccoli tab!\nblah blah blah blah blah");
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Cucumber"))
{
ImGui::Text("This is the Cucumber tab!\nblah blah blah blah blah");
ImGui::EndTabItem();
}
ImGui::EndTabBar();
}
ImGui::Separator();
ImGui::TreePop();
}
if (ImGui::TreeNode("Advanced & Close Button"))
{
// Expose a couple of the available flags. In most cases you may just call BeginTabBar() with no flags (0).
static ImGuiTabBarFlags tab_bar_flags = ImGuiTabBarFlags_Reorderable;
ImGui::CheckboxFlags("ImGuiTabBarFlags_Reorderable", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_Reorderable);
ImGui::CheckboxFlags("ImGuiTabBarFlags_AutoSelectNewTabs", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_AutoSelectNewTabs);
ImGui::CheckboxFlags("ImGuiTabBarFlags_TabListPopupButton", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_TabListPopupButton);
ImGui::CheckboxFlags("ImGuiTabBarFlags_NoCloseWithMiddleMouseButton", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_NoCloseWithMiddleMouseButton);
if ((tab_bar_flags & ImGuiTabBarFlags_FittingPolicyMask_) == 0)
tab_bar_flags |= ImGuiTabBarFlags_FittingPolicyDefault_;
if (ImGui::CheckboxFlags("ImGuiTabBarFlags_FittingPolicyResizeDown", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_FittingPolicyResizeDown))
tab_bar_flags &= ~(ImGuiTabBarFlags_FittingPolicyMask_ ^ ImGuiTabBarFlags_FittingPolicyResizeDown);
if (ImGui::CheckboxFlags("ImGuiTabBarFlags_FittingPolicyScroll", (unsigned int*)&tab_bar_flags, ImGuiTabBarFlags_FittingPolicyScroll))
tab_bar_flags &= ~(ImGuiTabBarFlags_FittingPolicyMask_ ^ ImGuiTabBarFlags_FittingPolicyScroll);
// Tab Bar
const char* names[4] = { "Artichoke", "Beetroot", "Celery", "Daikon" };
static bool opened[4] = { true, true, true, true }; // Persistent user state
for (int n = 0; n < IM_ARRAYSIZE(opened); n++)
{
if (n > 0) { ImGui::SameLine(); }
ImGui::Checkbox(names[n], &opened[n]);
}
// Passing a bool* to BeginTabItem() is similar to passing one to Begin():
// the underlying bool will be set to false when the tab is closed.
if (ImGui::BeginTabBar("MyTabBar", tab_bar_flags))
{
for (int n = 0; n < IM_ARRAYSIZE(opened); n++)
if (opened[n] && ImGui::BeginTabItem(names[n], &opened[n], ImGuiTabItemFlags_None))
{
ImGui::Text("This is the %s tab!", names[n]);
if (n & 1)
ImGui::Text("I am an odd tab.");
ImGui::EndTabItem();
}
ImGui::EndTabBar();
}
ImGui::Separator();
ImGui::TreePop();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Groups"))
{
HelpMarker(
"BeginGroup() basically locks the horizontal position for new line. "
"EndGroup() bundles the whole group so that you can use \"item\" functions such as "
"IsItemHovered()/IsItemActive() or SameLine() etc. on the whole group.");
ImGui::BeginGroup();
{
ImGui::BeginGroup();
ImGui::Button("AAA");
ImGui::SameLine();
ImGui::Button("BBB");
ImGui::SameLine();
ImGui::BeginGroup();
ImGui::Button("CCC");
ImGui::Button("DDD");
ImGui::EndGroup();
ImGui::SameLine();
ImGui::Button("EEE");
ImGui::EndGroup();
if (ImGui::IsItemHovered())
ImGui::SetTooltip("First group hovered");
}
// Capture the group size and create widgets using the same size
ImVec2 size = ImGui::GetItemRectSize();
const float values[5] = { 0.5f, 0.20f, 0.80f, 0.60f, 0.25f };
ImGui::PlotHistogram("##values", values, IM_ARRAYSIZE(values), 0, NULL, 0.0f, 1.0f, size);
ImGui::Button("ACTION", ImVec2((size.x - ImGui::GetStyle().ItemSpacing.x) * 0.5f, size.y));
ImGui::SameLine();
ImGui::Button("REACTION", ImVec2((size.x - ImGui::GetStyle().ItemSpacing.x) * 0.5f, size.y));
ImGui::EndGroup();
ImGui::SameLine();
ImGui::Button("LEVERAGE\nBUZZWORD", size);
ImGui::SameLine();
if (ImGui::ListBoxHeader("List", size))
{
ImGui::Selectable("Selected", true);
ImGui::Selectable("Not Selected", false);
ImGui::ListBoxFooter();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Text Baseline Alignment"))
{
{
ImGui::BulletText("Text baseline:");
ImGui::SameLine(); HelpMarker(
"This is testing the vertical alignment that gets applied on text to keep it aligned with widgets. "
"Lines only composed of text or \"small\" widgets use less vertical space than lines with framed widgets.");
ImGui::Indent();
ImGui::Text("KO Blahblah"); ImGui::SameLine();
ImGui::Button("Some framed item"); ImGui::SameLine();
HelpMarker("Baseline of button will look misaligned with text..");
// If your line starts with text, call AlignTextToFramePadding() to align text to upcoming widgets.
// (because we don't know what's coming after the Text() statement, we need to move the text baseline
// down by FramePadding.y ahead of time)
ImGui::AlignTextToFramePadding();
ImGui::Text("OK Blahblah"); ImGui::SameLine();
ImGui::Button("Some framed item"); ImGui::SameLine();
HelpMarker("We call AlignTextToFramePadding() to vertically align the text baseline by +FramePadding.y");
// SmallButton() uses the same vertical padding as Text
ImGui::Button("TEST##1"); ImGui::SameLine();
ImGui::Text("TEST"); ImGui::SameLine();
ImGui::SmallButton("TEST##2");
// If your line starts with text, call AlignTextToFramePadding() to align text to upcoming widgets.
ImGui::AlignTextToFramePadding();
ImGui::Text("Text aligned to framed item"); ImGui::SameLine();
ImGui::Button("Item##1"); ImGui::SameLine();
ImGui::Text("Item"); ImGui::SameLine();
ImGui::SmallButton("Item##2"); ImGui::SameLine();
ImGui::Button("Item##3");
ImGui::Unindent();
}
ImGui::Spacing();
{
ImGui::BulletText("Multi-line text:");
ImGui::Indent();
ImGui::Text("One\nTwo\nThree"); ImGui::SameLine();
ImGui::Text("Hello\nWorld"); ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Text("Banana"); ImGui::SameLine();
ImGui::Text("Hello\nWorld"); ImGui::SameLine();
ImGui::Text("One\nTwo\nThree");
ImGui::Button("HOP##1"); ImGui::SameLine();
ImGui::Text("Banana"); ImGui::SameLine();
ImGui::Text("Hello\nWorld"); ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Button("HOP##2"); ImGui::SameLine();
ImGui::Text("Hello\nWorld"); ImGui::SameLine();
ImGui::Text("Banana");
ImGui::Unindent();
}
ImGui::Spacing();
{
ImGui::BulletText("Misc items:");
ImGui::Indent();
// SmallButton() sets FramePadding to zero. Text baseline is aligned to match baseline of previous Button.
ImGui::Button("80x80", ImVec2(80, 80));
ImGui::SameLine();
ImGui::Button("50x50", ImVec2(50, 50));
ImGui::SameLine();
ImGui::Button("Button()");
ImGui::SameLine();
ImGui::SmallButton("SmallButton()");
// Tree
const float spacing = ImGui::GetStyle().ItemInnerSpacing.x;
ImGui::Button("Button##1");
ImGui::SameLine(0.0f, spacing);
if (ImGui::TreeNode("Node##1"))
{
// Dummy tree data
for (int i = 0; i < 6; i++)
ImGui::BulletText("Item %d..", i);
ImGui::TreePop();
}
// Vertically align text node a bit lower so it'll be vertically centered with upcoming widget.
// Otherwise you can use SmallButton() (smaller fit).
ImGui::AlignTextToFramePadding();
// Common mistake to avoid: if we want to SameLine after TreeNode we need to do it before we add
// other contents below the node.
bool node_open = ImGui::TreeNode("Node##2");
ImGui::SameLine(0.0f, spacing); ImGui::Button("Button##2");
if (node_open)
{
// Dummy tree data
for (int i = 0; i < 6; i++)
ImGui::BulletText("Item %d..", i);
ImGui::TreePop();
}
// Bullet
ImGui::Button("Button##3");
ImGui::SameLine(0.0f, spacing);
ImGui::BulletText("Bullet text");
ImGui::AlignTextToFramePadding();
ImGui::BulletText("Node");
ImGui::SameLine(0.0f, spacing); ImGui::Button("Button##4");
ImGui::Unindent();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Scrolling"))
{
// Vertical scroll functions
HelpMarker("Use SetScrollHereY() or SetScrollFromPosY() to scroll to a given vertical position.");
static int track_item = 50;
static bool enable_track = true;
static bool enable_extra_decorations = false;
static float scroll_to_off_px = 0.0f;
static float scroll_to_pos_px = 200.0f;
ImGui::Checkbox("Decoration", &enable_extra_decorations);
ImGui::Checkbox("Track", &enable_track);
ImGui::PushItemWidth(100);
ImGui::SameLine(140); enable_track |= ImGui::DragInt("##item", &track_item, 0.25f, 0, 99, "Item = %d");
bool scroll_to_off = ImGui::Button("Scroll Offset");
ImGui::SameLine(140); scroll_to_off |= ImGui::DragFloat("##off", &scroll_to_off_px, 1.00f, 0, FLT_MAX, "+%.0f px");
bool scroll_to_pos = ImGui::Button("Scroll To Pos");
ImGui::SameLine(140); scroll_to_pos |= ImGui::DragFloat("##pos", &scroll_to_pos_px, 1.00f, -10, FLT_MAX, "X/Y = %.0f px");
ImGui::PopItemWidth();
if (scroll_to_off || scroll_to_pos)
enable_track = false;
ImGuiStyle& style = ImGui::GetStyle();
float child_w = (ImGui::GetContentRegionAvail().x - 4 * style.ItemSpacing.x) / 5;
if (child_w < 1.0f)
child_w = 1.0f;
ImGui::PushID("##VerticalScrolling");
for (int i = 0; i < 5; i++)
{
if (i > 0) ImGui::SameLine();
ImGui::BeginGroup();
const char* names[] = { "Top", "25%", "Center", "75%", "Bottom" };
ImGui::TextUnformatted(names[i]);
const ImGuiWindowFlags child_flags = enable_extra_decorations ? ImGuiWindowFlags_MenuBar : 0;
const ImGuiID child_id = ImGui::GetID((void*)(intptr_t)i);
const bool child_is_visible = ImGui::BeginChild(child_id, ImVec2(child_w, 200.0f), true, child_flags);
if (ImGui::BeginMenuBar())
{
ImGui::TextUnformatted("abc");
ImGui::EndMenuBar();
}
if (scroll_to_off)
ImGui::SetScrollY(scroll_to_off_px);
if (scroll_to_pos)
ImGui::SetScrollFromPosY(ImGui::GetCursorStartPos().y + scroll_to_pos_px, i * 0.25f);
if (child_is_visible) // Avoid calling SetScrollHereY when running with culled items
{
for (int item = 0; item < 100; item++)
{
if (enable_track && item == track_item)
{
ImGui::TextColored(ImVec4(1, 1, 0, 1), "Item %d", item);
ImGui::SetScrollHereY(i * 0.25f); // 0.0f:top, 0.5f:center, 1.0f:bottom
}
else
{
ImGui::Text("Item %d", item);
}
}
}
float scroll_y = ImGui::GetScrollY();
float scroll_max_y = ImGui::GetScrollMaxY();
ImGui::EndChild();
ImGui::Text("%.0f/%.0f", scroll_y, scroll_max_y);
ImGui::EndGroup();
}
ImGui::PopID();
// Horizontal scroll functions
ImGui::Spacing();
HelpMarker(
"Use SetScrollHereX() or SetScrollFromPosX() to scroll to a given horizontal position.\n\n"
"Using the \"Scroll To Pos\" button above will make the discontinuity at edges visible: "
"scrolling to the top/bottom/left/right-most item will add an additional WindowPadding to reflect "
"on reaching the edge of the list.\n\nBecause the clipping rectangle of most window hides half "
"worth of WindowPadding on the left/right, using SetScrollFromPosX(+1) will usually result in "
"clipped text whereas the equivalent SetScrollFromPosY(+1) wouldn't.");
ImGui::PushID("##HorizontalScrolling");
for (int i = 0; i < 5; i++)
{
float child_height = ImGui::GetTextLineHeight() + style.ScrollbarSize + style.WindowPadding.y * 2.0f;
ImGuiWindowFlags child_flags = ImGuiWindowFlags_HorizontalScrollbar | (enable_extra_decorations ? ImGuiWindowFlags_AlwaysVerticalScrollbar : 0);
ImGuiID child_id = ImGui::GetID((void*)(intptr_t)i);
bool child_is_visible = ImGui::BeginChild(child_id, ImVec2(-100, child_height), true, child_flags);
if (scroll_to_off)
ImGui::SetScrollX(scroll_to_off_px);
if (scroll_to_pos)
ImGui::SetScrollFromPosX(ImGui::GetCursorStartPos().x + scroll_to_pos_px, i * 0.25f);
if (child_is_visible) // Avoid calling SetScrollHereY when running with culled items
{
for (int item = 0; item < 100; item++)
{
if (enable_track && item == track_item)
{
ImGui::TextColored(ImVec4(1, 1, 0, 1), "Item %d", item);
ImGui::SetScrollHereX(i * 0.25f); // 0.0f:left, 0.5f:center, 1.0f:right
}
else
{
ImGui::Text("Item %d", item);
}
ImGui::SameLine();
}
}
float scroll_x = ImGui::GetScrollX();
float scroll_max_x = ImGui::GetScrollMaxX();
ImGui::EndChild();
ImGui::SameLine();
const char* names[] = { "Left", "25%", "Center", "75%", "Right" };
ImGui::Text("%s\n%.0f/%.0f", names[i], scroll_x, scroll_max_x);
ImGui::Spacing();
}
ImGui::PopID();
// Miscellaneous Horizontal Scrolling Demo
HelpMarker(
"Horizontal scrolling for a window is enabled via the ImGuiWindowFlags_HorizontalScrollbar flag.\n\n"
"You may want to also explicitly specify content width by using SetNextWindowContentWidth() before Begin().");
static int lines = 7;
ImGui::SliderInt("Lines", &lines, 1, 15);
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 3.0f);
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(2.0f, 1.0f));
ImVec2 scrolling_child_size = ImVec2(0, ImGui::GetFrameHeightWithSpacing() * 7 + 30);
ImGui::BeginChild("scrolling", scrolling_child_size, true, ImGuiWindowFlags_HorizontalScrollbar);
for (int line = 0; line < lines; line++)
{
// Display random stuff. For the sake of this trivial demo we are using basic Button() + SameLine()
// If you want to create your own time line for a real application you may be better off manipulating
// the cursor position yourself, aka using SetCursorPos/SetCursorScreenPos to position the widgets
// yourself. You may also want to use the lower-level ImDrawList API.
int num_buttons = 10 + ((line & 1) ? line * 9 : line * 3);
for (int n = 0; n < num_buttons; n++)
{
if (n > 0) ImGui::SameLine();
ImGui::PushID(n + line * 1000);
char num_buf[16];
sprintf(num_buf, "%d", n);
const char* label = (!(n % 15)) ? "FizzBuzz" : (!(n % 3)) ? "Fizz" : (!(n % 5)) ? "Buzz" : num_buf;
float hue = n * 0.05f;
ImGui::PushStyleColor(ImGuiCol_Button, (ImVec4)ImColor::HSV(hue, 0.6f, 0.6f));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, (ImVec4)ImColor::HSV(hue, 0.7f, 0.7f));
ImGui::PushStyleColor(ImGuiCol_ButtonActive, (ImVec4)ImColor::HSV(hue, 0.8f, 0.8f));
ImGui::Button(label, ImVec2(40.0f + sinf((float)(line + n)) * 20.0f, 0.0f));
ImGui::PopStyleColor(3);
ImGui::PopID();
}
}
float scroll_x = ImGui::GetScrollX();
float scroll_max_x = ImGui::GetScrollMaxX();
ImGui::EndChild();
ImGui::PopStyleVar(2);
float scroll_x_delta = 0.0f;
ImGui::SmallButton("<<");
if (ImGui::IsItemActive())
scroll_x_delta = -ImGui::GetIO().DeltaTime * 1000.0f;
ImGui::SameLine();
ImGui::Text("Scroll from code"); ImGui::SameLine();
ImGui::SmallButton(">>");
if (ImGui::IsItemActive())
scroll_x_delta = +ImGui::GetIO().DeltaTime * 1000.0f;
ImGui::SameLine();
ImGui::Text("%.0f/%.0f", scroll_x, scroll_max_x);
if (scroll_x_delta != 0.0f)
{
// Demonstrate a trick: you can use Begin to set yourself in the context of another window
// (here we are already out of your child window)
ImGui::BeginChild("scrolling");
ImGui::SetScrollX(ImGui::GetScrollX() + scroll_x_delta);
ImGui::EndChild();
}
ImGui::Spacing();
static bool show_horizontal_contents_size_demo_window = false;
ImGui::Checkbox("Show Horizontal contents size demo window", &show_horizontal_contents_size_demo_window);
if (show_horizontal_contents_size_demo_window)
{
static bool show_h_scrollbar = true;
static bool show_button = true;
static bool show_tree_nodes = true;
static bool show_text_wrapped = false;
static bool show_columns = true;
static bool show_tab_bar = true;
static bool show_child = false;
static bool explicit_content_size = false;
static float contents_size_x = 300.0f;
if (explicit_content_size)
ImGui::SetNextWindowContentSize(ImVec2(contents_size_x, 0.0f));
ImGui::Begin("Horizontal contents size demo window", &show_horizontal_contents_size_demo_window, show_h_scrollbar ? ImGuiWindowFlags_HorizontalScrollbar : 0);
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(2, 0));
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(2, 0));
HelpMarker("Test of different widgets react and impact the work rectangle growing when horizontal scrolling is enabled.\n\nUse 'Metrics->Tools->Show windows rectangles' to visualize rectangles.");
ImGui::Checkbox("H-scrollbar", &show_h_scrollbar);
ImGui::Checkbox("Button", &show_button); // Will grow contents size (unless explicitly overwritten)
ImGui::Checkbox("Tree nodes", &show_tree_nodes); // Will grow contents size and display highlight over full width
ImGui::Checkbox("Text wrapped", &show_text_wrapped);// Will grow and use contents size
ImGui::Checkbox("Columns", &show_columns); // Will use contents size
ImGui::Checkbox("Tab bar", &show_tab_bar); // Will use contents size
ImGui::Checkbox("Child", &show_child); // Will grow and use contents size
ImGui::Checkbox("Explicit content size", &explicit_content_size);
ImGui::Text("Scroll %.1f/%.1f %.1f/%.1f", ImGui::GetScrollX(), ImGui::GetScrollMaxX(), ImGui::GetScrollY(), ImGui::GetScrollMaxY());
if (explicit_content_size)
{
ImGui::SameLine();
ImGui::SetNextItemWidth(100);
ImGui::DragFloat("##csx", &contents_size_x);
ImVec2 p = ImGui::GetCursorScreenPos();
ImGui::GetWindowDrawList()->AddRectFilled(p, ImVec2(p.x + 10, p.y + 10), IM_COL32_WHITE);
ImGui::GetWindowDrawList()->AddRectFilled(ImVec2(p.x + contents_size_x - 10, p.y), ImVec2(p.x + contents_size_x, p.y + 10), IM_COL32_WHITE);
ImGui::Dummy(ImVec2(0, 10));
}
ImGui::PopStyleVar(2);
ImGui::Separator();
if (show_button)
{
ImGui::Button("this is a 300-wide button", ImVec2(300, 0));
}
if (show_tree_nodes)
{
bool open = true;
if (ImGui::TreeNode("this is a tree node"))
{
if (ImGui::TreeNode("another one of those tree node..."))
{
ImGui::Text("Some tree contents");
ImGui::TreePop();
}
ImGui::TreePop();
}
ImGui::CollapsingHeader("CollapsingHeader", &open);
}
if (show_text_wrapped)
{
ImGui::TextWrapped("This text should automatically wrap on the edge of the work rectangle.");
}
if (show_columns)
{
ImGui::Columns(4);
for (int n = 0; n < 4; n++)
{
ImGui::Text("Width %.2f", ImGui::GetColumnWidth());
ImGui::NextColumn();
}
ImGui::Columns(1);
}
if (show_tab_bar && ImGui::BeginTabBar("Hello"))
{
if (ImGui::BeginTabItem("OneOneOne")) { ImGui::EndTabItem(); }
if (ImGui::BeginTabItem("TwoTwoTwo")) { ImGui::EndTabItem(); }
if (ImGui::BeginTabItem("ThreeThreeThree")) { ImGui::EndTabItem(); }
if (ImGui::BeginTabItem("FourFourFour")) { ImGui::EndTabItem(); }
ImGui::EndTabBar();
}
if (show_child)
{
ImGui::BeginChild("child", ImVec2(0, 0), true);
ImGui::EndChild();
}
ImGui::End();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Clipping"))
{
static ImVec2 size(100, 100), offset(50, 20);
ImGui::TextWrapped(
"On a per-widget basis we are occasionally clipping text CPU-side if it won't fit in its frame. "
"Otherwise we are doing coarser clipping + passing a scissor rectangle to the renderer. "
"The system is designed to try minimizing both execution and CPU/GPU rendering cost.");
ImGui::DragFloat2("size", (float*)&size, 0.5f, 1.0f, 200.0f, "%.0f");
ImGui::TextWrapped("(Click and drag)");
ImVec2 pos = ImGui::GetCursorScreenPos();
ImVec4 clip_rect(pos.x, pos.y, pos.x + size.x, pos.y + size.y);
ImGui::InvisibleButton("##dummy", size);
if (ImGui::IsItemActive() && ImGui::IsMouseDragging(0))
{
offset.x += ImGui::GetIO().MouseDelta.x;
offset.y += ImGui::GetIO().MouseDelta.y;
}
ImGui::GetWindowDrawList()->AddRectFilled(pos, ImVec2(pos.x + size.x, pos.y + size.y), IM_COL32(90, 90, 120, 255));
ImGui::GetWindowDrawList()->AddText(ImGui::GetFont(), ImGui::GetFontSize()*2.0f, ImVec2(pos.x + offset.x, pos.y + offset.y), IM_COL32_WHITE, "Line 1 hello\nLine 2 clip me!", NULL, 0.0f, &clip_rect);
ImGui::TreePop();
}
}
static void ShowDemoWindowPopups()
{
if (!ImGui::CollapsingHeader("Popups & Modal windows"))
return;
// The properties of popups windows are:
// - They block normal mouse hovering detection outside them. (*)
// - Unless modal, they can be closed by clicking anywhere outside them, or by pressing ESCAPE.
// - Their visibility state (~bool) is held internally by Dear ImGui instead of being held by the programmer as
// we are used to with regular Begin() calls. User can manipulate the visibility state by calling OpenPopup().
// (*) One can use IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup) to bypass it and detect hovering even
// when normally blocked by a popup.
// Those three properties are connected. The library needs to hold their visibility state BECAUSE it can close
// popups at any time.
// Typical use for regular windows:
// bool my_tool_is_active = false; if (ImGui::Button("Open")) my_tool_is_active = true; [...] if (my_tool_is_active) Begin("My Tool", &my_tool_is_active) { [...] } End();
// Typical use for popups:
// if (ImGui::Button("Open")) ImGui::OpenPopup("MyPopup"); if (ImGui::BeginPopup("MyPopup") { [...] EndPopup(); }
// With popups we have to go through a library call (here OpenPopup) to manipulate the visibility state.
// This may be a bit confusing at first but it should quickly make sense. Follow on the examples below.
if (ImGui::TreeNode("Popups"))
{
ImGui::TextWrapped(
"When a popup is active, it inhibits interacting with windows that are behind the popup. "
"Clicking outside the popup closes it.");
static int selected_fish = -1;
const char* names[] = { "Bream", "Haddock", "Mackerel", "Pollock", "Tilefish" };
static bool toggles[] = { true, false, false, false, false };
// Simple selection popup (if you want to show the current selection inside the Button itself,
// you may want to build a string using the "###" operator to preserve a constant ID with a variable label)
if (ImGui::Button("Select.."))
ImGui::OpenPopup("my_select_popup");
ImGui::SameLine();
ImGui::TextUnformatted(selected_fish == -1 ? "<None>" : names[selected_fish]);
if (ImGui::BeginPopup("my_select_popup"))
{
ImGui::Text("Aquarium");
ImGui::Separator();
for (int i = 0; i < IM_ARRAYSIZE(names); i++)
if (ImGui::Selectable(names[i]))
selected_fish = i;
ImGui::EndPopup();
}
// Showing a menu with toggles
if (ImGui::Button("Toggle.."))
ImGui::OpenPopup("my_toggle_popup");
if (ImGui::BeginPopup("my_toggle_popup"))
{
for (int i = 0; i < IM_ARRAYSIZE(names); i++)
ImGui::MenuItem(names[i], "", &toggles[i]);
if (ImGui::BeginMenu("Sub-menu"))
{
ImGui::MenuItem("Click me");
ImGui::EndMenu();
}
ImGui::Separator();
ImGui::Text("Tooltip here");
if (ImGui::IsItemHovered())
ImGui::SetTooltip("I am a tooltip over a popup");
if (ImGui::Button("Stacked Popup"))
ImGui::OpenPopup("another popup");
if (ImGui::BeginPopup("another popup"))
{
for (int i = 0; i < IM_ARRAYSIZE(names); i++)
ImGui::MenuItem(names[i], "", &toggles[i]);
if (ImGui::BeginMenu("Sub-menu"))
{
ImGui::MenuItem("Click me");
if (ImGui::Button("Stacked Popup"))
ImGui::OpenPopup("another popup");
if (ImGui::BeginPopup("another popup"))
{
ImGui::Text("I am the last one here.");
ImGui::EndPopup();
}
ImGui::EndMenu();
}
ImGui::EndPopup();
}
ImGui::EndPopup();
}
// Call the more complete ShowExampleMenuFile which we use in various places of this demo
if (ImGui::Button("File Menu.."))
ImGui::OpenPopup("my_file_popup");
if (ImGui::BeginPopup("my_file_popup"))
{
ShowExampleMenuFile();
ImGui::EndPopup();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Context menus"))
{
// BeginPopupContextItem() is a helper to provide common/simple popup behavior of essentially doing:
// if (IsItemHovered() && IsMouseReleased(ImGuiMouseButton_Right))
// OpenPopup(id);
// return BeginPopup(id);
// For more advanced uses you may want to replicate and customize this code.
// See details in BeginPopupContextItem().
static float value = 0.5f;
ImGui::Text("Value = %.3f (<-- right-click here)", value);
if (ImGui::BeginPopupContextItem("item context menu"))
{
if (ImGui::Selectable("Set to zero")) value = 0.0f;
if (ImGui::Selectable("Set to PI")) value = 3.1415f;
ImGui::SetNextItemWidth(-1);
ImGui::DragFloat("##Value", &value, 0.1f, 0.0f, 0.0f);
ImGui::EndPopup();
}
// We can also use OpenPopupContextItem() which is the same as BeginPopupContextItem() but without the
// Begin() call. So here we will make it that clicking on the text field with the right mouse button (1)
// will toggle the visibility of the popup above.
ImGui::Text("(You can also right-click me to open the same popup as above.)");
ImGui::OpenPopupContextItem("item context menu", 1);
// When used after an item that has an ID (e.g.Button), we can skip providing an ID to BeginPopupContextItem().
// BeginPopupContextItem() will use the last item ID as the popup ID.
// In addition here, we want to include your editable label inside the button label.
// We use the ### operator to override the ID (read FAQ about ID for details)
static char name[32] = "Label1";
char buf[64];
sprintf(buf, "Button: %s###Button", name); // ### operator override ID ignoring the preceding label
ImGui::Button(buf);
if (ImGui::BeginPopupContextItem())
{
ImGui::Text("Edit name:");
ImGui::InputText("##edit", name, IM_ARRAYSIZE(name));
if (ImGui::Button("Close"))
ImGui::CloseCurrentPopup();
ImGui::EndPopup();
}
ImGui::SameLine(); ImGui::Text("(<-- right-click here)");
ImGui::TreePop();
}
if (ImGui::TreeNode("Modals"))
{
ImGui::TextWrapped("Modal windows are like popups but the user cannot close them by clicking outside.");
if (ImGui::Button("Delete.."))
ImGui::OpenPopup("Delete?");
// Always center this window when appearing
ImVec2 center(ImGui::GetIO().DisplaySize.x * 0.5f, ImGui::GetIO().DisplaySize.y * 0.5f);
ImGui::SetNextWindowPos(center, ImGuiCond_Appearing, ImVec2(0.5f, 0.5f));
if (ImGui::BeginPopupModal("Delete?", NULL, ImGuiWindowFlags_AlwaysAutoResize))
{
ImGui::Text("All those beautiful files will be deleted.\nThis operation cannot be undone!\n\n");
ImGui::Separator();
//static int dummy_i = 0;
//ImGui::Combo("Combo", &dummy_i, "Delete\0Delete harder\0");
static bool dont_ask_me_next_time = false;
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(0, 0));
ImGui::Checkbox("Don't ask me next time", &dont_ask_me_next_time);
ImGui::PopStyleVar();
if (ImGui::Button("OK", ImVec2(120, 0))) { ImGui::CloseCurrentPopup(); }
ImGui::SetItemDefaultFocus();
ImGui::SameLine();
if (ImGui::Button("Cancel", ImVec2(120, 0))) { ImGui::CloseCurrentPopup(); }
ImGui::EndPopup();
}
if (ImGui::Button("Stacked modals.."))
ImGui::OpenPopup("Stacked 1");
if (ImGui::BeginPopupModal("Stacked 1", NULL, ImGuiWindowFlags_MenuBar))
{
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("File"))
{
if (ImGui::MenuItem("Dummy menu item")) {}
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
ImGui::Text("Hello from Stacked The First\nUsing style.Colors[ImGuiCol_ModalWindowDimBg] behind it.");
// Testing behavior of widgets stacking their own regular popups over the modal.
static int item = 1;
static float color[4] = { 0.4f, 0.7f, 0.0f, 0.5f };
ImGui::Combo("Combo", &item, "aaaa\0bbbb\0cccc\0dddd\0eeee\0\0");
ImGui::ColorEdit4("color", color);
if (ImGui::Button("Add another modal.."))
ImGui::OpenPopup("Stacked 2");
// Also demonstrate passing a bool* to BeginPopupModal(), this will create a regular close button which
// will close the popup. Note that the visibility state of popups is owned by imgui, so the input value
// of the bool actually doesn't matter here.
bool dummy_open = true;
if (ImGui::BeginPopupModal("Stacked 2", &dummy_open))
{
ImGui::Text("Hello from Stacked The Second!");
if (ImGui::Button("Close"))
ImGui::CloseCurrentPopup();
ImGui::EndPopup();
}
if (ImGui::Button("Close"))
ImGui::CloseCurrentPopup();
ImGui::EndPopup();
}
ImGui::TreePop();
}
if (ImGui::TreeNode("Menus inside a regular window"))
{
ImGui::TextWrapped("Below we are testing adding menu items to a regular window. It's rather unusual but should work!");
ImGui::Separator();
// Note: As a quirk in this very specific example, we want to differentiate the parent of this menu from the
// parent of the various popup menus above. To do so we are encloding the items in a PushID()/PopID() block
// to make them two different menusets. If we don't, opening any popup above and hovering our menu here would
// open it. This is because once a menu is active, we allow to switch to a sibling menu by just hovering on it,
// which is the desired behavior for regular menus.
ImGui::PushID("foo");
ImGui::MenuItem("Menu item", "CTRL+M");
if (ImGui::BeginMenu("Menu inside a regular window"))
{
ShowExampleMenuFile();
ImGui::EndMenu();
}
ImGui::PopID();
ImGui::Separator();
ImGui::TreePop();
}
}
static void ShowDemoWindowColumns()
{
if (!ImGui::CollapsingHeader("Columns"))
return;
ImGui::PushID("Columns");
static bool disable_indent = false;
ImGui::Checkbox("Disable tree indentation", &disable_indent);
ImGui::SameLine();
HelpMarker("Disable the indenting of tree nodes so demo columns can use the full window width.");
if (disable_indent)
ImGui::PushStyleVar(ImGuiStyleVar_IndentSpacing, 0.0f);
// Basic columns
if (ImGui::TreeNode("Basic"))
{
ImGui::Text("Without border:");
ImGui::Columns(3, "mycolumns3", false); // 3-ways, no border
ImGui::Separator();
for (int n = 0; n < 14; n++)
{
char label[32];
sprintf(label, "Item %d", n);
if (ImGui::Selectable(label)) {}
//if (ImGui::Button(label, ImVec2(-FLT_MIN,0.0f))) {}
ImGui::NextColumn();
}
ImGui::Columns(1);
ImGui::Separator();
ImGui::Text("With border:");
ImGui::Columns(4, "mycolumns"); // 4-ways, with border
ImGui::Separator();
ImGui::Text("ID"); ImGui::NextColumn();
ImGui::Text("Name"); ImGui::NextColumn();
ImGui::Text("Path"); ImGui::NextColumn();
ImGui::Text("Hovered"); ImGui::NextColumn();
ImGui::Separator();
const char* names[3] = { "One", "Two", "Three" };
const char* paths[3] = { "/path/one", "/path/two", "/path/three" };
static int selected = -1;
for (int i = 0; i < 3; i++)
{
char label[32];
sprintf(label, "%04d", i);
if (ImGui::Selectable(label, selected == i, ImGuiSelectableFlags_SpanAllColumns))
selected = i;
bool hovered = ImGui::IsItemHovered();
ImGui::NextColumn();
ImGui::Text(names[i]); ImGui::NextColumn();
ImGui::Text(paths[i]); ImGui::NextColumn();
ImGui::Text("%d", hovered); ImGui::NextColumn();
}
ImGui::Columns(1);
ImGui::Separator();
ImGui::TreePop();
}
if (ImGui::TreeNode("Borders"))
{
// NB: Future columns API should allow automatic horizontal borders.
static bool h_borders = true;
static bool v_borders = true;
static int columns_count = 4;
const int lines_count = 3;
ImGui::SetNextItemWidth(ImGui::GetFontSize() * 8);
ImGui::DragInt("##columns_count", &columns_count, 0.1f, 2, 10, "%d columns");
if (columns_count < 2)
columns_count = 2;
ImGui::SameLine();
ImGui::Checkbox("horizontal", &h_borders);
ImGui::SameLine();
ImGui::Checkbox("vertical", &v_borders);
ImGui::Columns(columns_count, NULL, v_borders);
for (int i = 0; i < columns_count * lines_count; i++)
{
if (h_borders && ImGui::GetColumnIndex() == 0)
ImGui::Separator();
ImGui::Text("%c%c%c", 'a' + i, 'a' + i, 'a' + i);
ImGui::Text("Width %.2f", ImGui::GetColumnWidth());
ImGui::Text("Avail %.2f", ImGui::GetContentRegionAvail().x);
ImGui::Text("Offset %.2f", ImGui::GetColumnOffset());
ImGui::Text("Long text that is likely to clip");
ImGui::Button("Button", ImVec2(-FLT_MIN, 0.0f));
ImGui::NextColumn();
}
ImGui::Columns(1);
if (h_borders)
ImGui::Separator();
ImGui::TreePop();
}
// Create multiple items in a same cell before switching to next column
if (ImGui::TreeNode("Mixed items"))
{
ImGui::Columns(3, "mixed");
ImGui::Separator();
ImGui::Text("Hello");
ImGui::Button("Banana");
ImGui::NextColumn();
ImGui::Text("ImGui");
ImGui::Button("Apple");
static float foo = 1.0f;
ImGui::InputFloat("red", &foo, 0.05f, 0, "%.3f");
ImGui::Text("An extra line here.");
ImGui::NextColumn();
ImGui::Text("Sailor");
ImGui::Button("Corniflower");
static float bar = 1.0f;
ImGui::InputFloat("blue", &bar, 0.05f, 0, "%.3f");
ImGui::NextColumn();
if (ImGui::CollapsingHeader("Category A")) { ImGui::Text("Blah blah blah"); } ImGui::NextColumn();
if (ImGui::CollapsingHeader("Category B")) { ImGui::Text("Blah blah blah"); } ImGui::NextColumn();
if (ImGui::CollapsingHeader("Category C")) { ImGui::Text("Blah blah blah"); } ImGui::NextColumn();
ImGui::Columns(1);
ImGui::Separator();
ImGui::TreePop();
}
// Word wrapping
if (ImGui::TreeNode("Word-wrapping"))
{
ImGui::Columns(2, "word-wrapping");
ImGui::Separator();
ImGui::TextWrapped("The quick brown fox jumps over the lazy dog.");
ImGui::TextWrapped("Hello Left");
ImGui::NextColumn();
ImGui::TextWrapped("The quick brown fox jumps over the lazy dog.");
ImGui::TextWrapped("Hello Right");
ImGui::Columns(1);
ImGui::Separator();
ImGui::TreePop();
}
// Scrolling columns
/*
if (ImGui::TreeNode("Vertical Scrolling"))
{
ImGui::BeginChild("##header", ImVec2(0, ImGui::GetTextLineHeightWithSpacing()+ImGui::GetStyle().ItemSpacing.y));
ImGui::Columns(3);
ImGui::Text("ID"); ImGui::NextColumn();
ImGui::Text("Name"); ImGui::NextColumn();
ImGui::Text("Path"); ImGui::NextColumn();
ImGui::Columns(1);
ImGui::Separator();
ImGui::EndChild();
ImGui::BeginChild("##scrollingregion", ImVec2(0, 60));
ImGui::Columns(3);
for (int i = 0; i < 10; i++)
{
ImGui::Text("%04d", i); ImGui::NextColumn();
ImGui::Text("Foobar"); ImGui::NextColumn();
ImGui::Text("/path/foobar/%04d/", i); ImGui::NextColumn();
}
ImGui::Columns(1);
ImGui::EndChild();
ImGui::TreePop();
}
*/
if (ImGui::TreeNode("Horizontal Scrolling"))
{
ImGui::SetNextWindowContentSize(ImVec2(1500.0f, 0.0f));
ImVec2 child_size = ImVec2(0, ImGui::GetFontSize() * 20.0f);
ImGui::BeginChild("##ScrollingRegion", child_size, false, ImGuiWindowFlags_HorizontalScrollbar);
ImGui::Columns(10);
int ITEMS_COUNT = 2000;
ImGuiListClipper clipper(ITEMS_COUNT); // Also demonstrate using the clipper for large list
while (clipper.Step())
{
for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
for (int j = 0; j < 10; j++)
{
ImGui::Text("Line %d Column %d...", i, j);
ImGui::NextColumn();
}
}
ImGui::Columns(1);
ImGui::EndChild();
ImGui::TreePop();
}
if (ImGui::TreeNode("Tree"))
{
ImGui::Columns(2, "tree", true);
for (int x = 0; x < 3; x++)
{
bool open1 = ImGui::TreeNode((void*)(intptr_t)x, "Node%d", x);
ImGui::NextColumn();
ImGui::Text("Node contents");
ImGui::NextColumn();
if (open1)
{
for (int y = 0; y < 3; y++)
{
bool open2 = ImGui::TreeNode((void*)(intptr_t)y, "Node%d.%d", x, y);
ImGui::NextColumn();
ImGui::Text("Node contents");
if (open2)
{
ImGui::Text("Even more contents");
if (ImGui::TreeNode("Tree in column"))
{
ImGui::Text("The quick brown fox jumps over the lazy dog");
ImGui::TreePop();
}
}
ImGui::NextColumn();
if (open2)
ImGui::TreePop();
}
ImGui::TreePop();
}
}
ImGui::Columns(1);
ImGui::TreePop();
}
if (disable_indent)
ImGui::PopStyleVar();
ImGui::PopID();
}
static void ShowDemoWindowMisc()
{
if (ImGui::CollapsingHeader("Filtering"))
{
// Helper class to easy setup a text filter.
// You may want to implement a more feature-full filtering scheme in your own application.
static ImGuiTextFilter filter;
ImGui::Text("Filter usage:\n"
" \"\" display all lines\n"
" \"xxx\" display lines containing \"xxx\"\n"
" \"xxx,yyy\" display lines containing \"xxx\" or \"yyy\"\n"
" \"-xxx\" hide lines containing \"xxx\"");
filter.Draw();
const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" };
for (int i = 0; i < IM_ARRAYSIZE(lines); i++)
if (filter.PassFilter(lines[i]))
ImGui::BulletText("%s", lines[i]);
}
if (ImGui::CollapsingHeader("Inputs, Navigation & Focus"))
{
ImGuiIO& io = ImGui::GetIO();
// Display ImGuiIO output flags
ImGui::Text("WantCaptureMouse: %d", io.WantCaptureMouse);
ImGui::Text("WantCaptureKeyboard: %d", io.WantCaptureKeyboard);
ImGui::Text("WantTextInput: %d", io.WantTextInput);
ImGui::Text("WantSetMousePos: %d", io.WantSetMousePos);
ImGui::Text("NavActive: %d, NavVisible: %d", io.NavActive, io.NavVisible);
// Display Keyboard/Mouse state
if (ImGui::TreeNode("Keyboard, Mouse & Navigation State"))
{
if (ImGui::IsMousePosValid())
ImGui::Text("Mouse pos: (%g, %g)", io.MousePos.x, io.MousePos.y);
else
ImGui::Text("Mouse pos: <INVALID>");
ImGui::Text("Mouse delta: (%g, %g)", io.MouseDelta.x, io.MouseDelta.y);
ImGui::Text("Mouse down:"); for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) if (io.MouseDownDuration[i] >= 0.0f) { ImGui::SameLine(); ImGui::Text("b%d (%.02f secs)", i, io.MouseDownDuration[i]); }
ImGui::Text("Mouse clicked:"); for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) if (ImGui::IsMouseClicked(i)) { ImGui::SameLine(); ImGui::Text("b%d", i); }
ImGui::Text("Mouse dblclick:"); for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) if (ImGui::IsMouseDoubleClicked(i)) { ImGui::SameLine(); ImGui::Text("b%d", i); }
ImGui::Text("Mouse released:"); for (int i = 0; i < IM_ARRAYSIZE(io.MouseDown); i++) if (ImGui::IsMouseReleased(i)) { ImGui::SameLine(); ImGui::Text("b%d", i); }
ImGui::Text("Mouse wheel: %.1f", io.MouseWheel);
ImGui::Text("Keys down:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (io.KeysDownDuration[i] >= 0.0f) { ImGui::SameLine(); ImGui::Text("%d (0x%X) (%.02f secs)", i, i, io.KeysDownDuration[i]); }
ImGui::Text("Keys pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyPressed(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); }
ImGui::Text("Keys release:"); for (int i = 0; i < IM_ARRAYSIZE(io.KeysDown); i++) if (ImGui::IsKeyReleased(i)) { ImGui::SameLine(); ImGui::Text("%d (0x%X)", i, i); }
ImGui::Text("Keys mods: %s%s%s%s", io.KeyCtrl ? "CTRL " : "", io.KeyShift ? "SHIFT " : "", io.KeyAlt ? "ALT " : "", io.KeySuper ? "SUPER " : "");
ImGui::Text("Chars queue:"); for (int i = 0; i < io.InputQueueCharacters.Size; i++) { ImWchar c = io.InputQueueCharacters[i]; ImGui::SameLine(); ImGui::Text("\'%c\' (0x%04X)", (c > ' ' && c <= 255) ? (char)c : '?', c); } // FIXME: We should convert 'c' to UTF-8 here but the functions are not public.
ImGui::Text("NavInputs down:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputs[i] > 0.0f) { ImGui::SameLine(); ImGui::Text("[%d] %.2f", i, io.NavInputs[i]); }
ImGui::Text("NavInputs pressed:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputsDownDuration[i] == 0.0f) { ImGui::SameLine(); ImGui::Text("[%d]", i); }
ImGui::Text("NavInputs duration:"); for (int i = 0; i < IM_ARRAYSIZE(io.NavInputs); i++) if (io.NavInputsDownDuration[i] >= 0.0f) { ImGui::SameLine(); ImGui::Text("[%d] %.2f", i, io.NavInputsDownDuration[i]); }
ImGui::Button("Hovering me sets the\nkeyboard capture flag");
if (ImGui::IsItemHovered())
ImGui::CaptureKeyboardFromApp(true);
ImGui::SameLine();
ImGui::Button("Holding me clears the\nthe keyboard capture flag");
if (ImGui::IsItemActive())
ImGui::CaptureKeyboardFromApp(false);
ImGui::TreePop();
}
if (ImGui::TreeNode("Tabbing"))
{
ImGui::Text("Use TAB/SHIFT+TAB to cycle through keyboard editable fields.");
static char buf[32] = "dummy";
ImGui::InputText("1", buf, IM_ARRAYSIZE(buf));
ImGui::InputText("2", buf, IM_ARRAYSIZE(buf));
ImGui::InputText("3", buf, IM_ARRAYSIZE(buf));
ImGui::PushAllowKeyboardFocus(false);
ImGui::InputText("4 (tab skip)", buf, IM_ARRAYSIZE(buf));
//ImGui::SameLine(); HelpMarker("Use ImGui::PushAllowKeyboardFocus(bool) to disable tabbing through certain widgets.");
ImGui::PopAllowKeyboardFocus();
ImGui::InputText("5", buf, IM_ARRAYSIZE(buf));
ImGui::TreePop();
}
if (ImGui::TreeNode("Focus from code"))
{
bool focus_1 = ImGui::Button("Focus on 1"); ImGui::SameLine();
bool focus_2 = ImGui::Button("Focus on 2"); ImGui::SameLine();
bool focus_3 = ImGui::Button("Focus on 3");
int has_focus = 0;
static char buf[128] = "click on a button to set focus";
if (focus_1) ImGui::SetKeyboardFocusHere();
ImGui::InputText("1", buf, IM_ARRAYSIZE(buf));
if (ImGui::IsItemActive()) has_focus = 1;
if (focus_2) ImGui::SetKeyboardFocusHere();
ImGui::InputText("2", buf, IM_ARRAYSIZE(buf));
if (ImGui::IsItemActive()) has_focus = 2;
ImGui::PushAllowKeyboardFocus(false);
if (focus_3) ImGui::SetKeyboardFocusHere();
ImGui::InputText("3 (tab skip)", buf, IM_ARRAYSIZE(buf));
if (ImGui::IsItemActive()) has_focus = 3;
ImGui::PopAllowKeyboardFocus();
if (has_focus)
ImGui::Text("Item with focus: %d", has_focus);
else
ImGui::Text("Item with focus: <none>");
// Use >= 0 parameter to SetKeyboardFocusHere() to focus an upcoming item
static float f3[3] = { 0.0f, 0.0f, 0.0f };
int focus_ahead = -1;
if (ImGui::Button("Focus on X")) { focus_ahead = 0; } ImGui::SameLine();
if (ImGui::Button("Focus on Y")) { focus_ahead = 1; } ImGui::SameLine();
if (ImGui::Button("Focus on Z")) { focus_ahead = 2; }
if (focus_ahead != -1) ImGui::SetKeyboardFocusHere(focus_ahead);
ImGui::SliderFloat3("Float3", &f3[0], 0.0f, 1.0f);
ImGui::TextWrapped("NB: Cursor & selection are preserved when refocusing last used item in code.");
ImGui::TreePop();
}
if (ImGui::TreeNode("Dragging"))
{
ImGui::TextWrapped("You can use ImGui::GetMouseDragDelta(0) to query for the dragged amount on any widget.");
for (int button = 0; button < 3; button++)
{
ImGui::Text("IsMouseDragging(%d):", button);
ImGui::Text(" w/ default threshold: %d,", ImGui::IsMouseDragging(button));
ImGui::Text(" w/ zero threshold: %d,", ImGui::IsMouseDragging(button, 0.0f));
ImGui::Text(" w/ large threshold: %d,", ImGui::IsMouseDragging(button, 20.0f));
}
ImGui::Button("Drag Me");
if (ImGui::IsItemActive())
ImGui::GetForegroundDrawList()->AddLine(io.MouseClickedPos[0], io.MousePos, ImGui::GetColorU32(ImGuiCol_Button), 4.0f); // Draw a line between the button and the mouse cursor
// Drag operations gets "unlocked" when the mouse has moved past a certain threshold
// (the default threshold is stored in io.MouseDragThreshold). You can request a lower or higher
// threshold using the second parameter of IsMouseDragging() and GetMouseDragDelta().
ImVec2 value_raw = ImGui::GetMouseDragDelta(0, 0.0f);
ImVec2 value_with_lock_threshold = ImGui::GetMouseDragDelta(0);
ImVec2 mouse_delta = io.MouseDelta;
ImGui::Text("GetMouseDragDelta(0):");
ImGui::Text(" w/ default threshold: (%.1f, %.1f)", value_with_lock_threshold.x, value_with_lock_threshold.y);
ImGui::Text(" w/ zero threshold: (%.1f, %.1f)", value_raw.x, value_raw.y);
ImGui::Text("io.MouseDelta: (%.1f, %.1f)", mouse_delta.x, mouse_delta.y);
ImGui::TreePop();
}
if (ImGui::TreeNode("Mouse cursors"))
{
const char* mouse_cursors_names[] = { "Arrow", "TextInput", "ResizeAll", "ResizeNS", "ResizeEW", "ResizeNESW", "ResizeNWSE", "Hand", "NotAllowed" };
IM_ASSERT(IM_ARRAYSIZE(mouse_cursors_names) == ImGuiMouseCursor_COUNT);
ImGuiMouseCursor current = ImGui::GetMouseCursor();
ImGui::Text("Current mouse cursor = %d: %s", current, mouse_cursors_names[current]);
ImGui::Text("Hover to see mouse cursors:");
ImGui::SameLine(); HelpMarker(
"Your application can render a different mouse cursor based on what ImGui::GetMouseCursor() returns. "
"If software cursor rendering (io.MouseDrawCursor) is set ImGui will draw the right cursor for you, "
"otherwise your backend needs to handle it.");
for (int i = 0; i < ImGuiMouseCursor_COUNT; i++)
{
char label[32];
sprintf(label, "Mouse cursor %d: %s", i, mouse_cursors_names[i]);
ImGui::Bullet(); ImGui::Selectable(label, false);
if (ImGui::IsItemHovered() || ImGui::IsItemFocused())
ImGui::SetMouseCursor(i);
}
ImGui::TreePop();
}
}
}
//-----------------------------------------------------------------------------
// [SECTION] About Window / ShowAboutWindow()
// Access from Dear ImGui Demo -> Tools -> About
//-----------------------------------------------------------------------------
void ImGui::ShowAboutWindow(bool* p_open)
{
if (!ImGui::Begin("About Dear ImGui", p_open, ImGuiWindowFlags_AlwaysAutoResize))
{
ImGui::End();
return;
}
ImGui::Text("Dear ImGui %s", ImGui::GetVersion());
ImGui::Separator();
ImGui::Text("By Omar Cornut and all Dear ImGui contributors.");
ImGui::Text("Dear ImGui is licensed under the MIT License, see LICENSE for more information.");
static bool show_config_info = false;
ImGui::Checkbox("Config/Build Information", &show_config_info);
if (show_config_info)
{
ImGuiIO& io = ImGui::GetIO();
ImGuiStyle& style = ImGui::GetStyle();
bool copy_to_clipboard = ImGui::Button("Copy to clipboard");
ImVec2 child_size = ImVec2(0, ImGui::GetTextLineHeightWithSpacing() * 18);
ImGui::BeginChildFrame(ImGui::GetID("cfg_infos"), child_size, ImGuiWindowFlags_NoMove);
if (copy_to_clipboard)
{
ImGui::LogToClipboard();
ImGui::LogText("```\n"); // Back quotes will make text appears without formatting when pasting on GitHub
}
ImGui::Text("Dear ImGui %s (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM);
ImGui::Separator();
ImGui::Text("sizeof(size_t): %d, sizeof(ImDrawIdx): %d, sizeof(ImDrawVert): %d", (int)sizeof(size_t), (int)sizeof(ImDrawIdx), (int)sizeof(ImDrawVert));
ImGui::Text("define: __cplusplus=%d", (int)__cplusplus);
#ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_OBSOLETE_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_WIN32_DEFAULT_CLIPBOARD_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_WIN32_DEFAULT_IME_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_WIN32_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_WIN32_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_FILE_FUNCTIONS
ImGui::Text("define: IMGUI_DISABLE_FILE_FUNCTIONS");
#endif
#ifdef IMGUI_DISABLE_DEFAULT_ALLOCATORS
ImGui::Text("define: IMGUI_DISABLE_DEFAULT_ALLOCATORS");
#endif
#ifdef IMGUI_USE_BGRA_PACKED_COLOR
ImGui::Text("define: IMGUI_USE_BGRA_PACKED_COLOR");
#endif
#ifdef _WIN32
ImGui::Text("define: _WIN32");
#endif
#ifdef _WIN64
ImGui::Text("define: _WIN64");
#endif
#ifdef __linux__
ImGui::Text("define: __linux__");
#endif
#ifdef __APPLE__
ImGui::Text("define: __APPLE__");
#endif
#ifdef _MSC_VER
ImGui::Text("define: _MSC_VER=%d", _MSC_VER);
#endif
#ifdef __MINGW32__
ImGui::Text("define: __MINGW32__");
#endif
#ifdef __MINGW64__
ImGui::Text("define: __MINGW64__");
#endif
#ifdef __GNUC__
ImGui::Text("define: __GNUC__=%d", (int)__GNUC__);
#endif
#ifdef __clang_version__
ImGui::Text("define: __clang_version__=%s", __clang_version__);
#endif
ImGui::Separator();
ImGui::Text("io.BackendPlatformName: %s", io.BackendPlatformName ? io.BackendPlatformName : "NULL");
ImGui::Text("io.BackendRendererName: %s", io.BackendRendererName ? io.BackendRendererName : "NULL");
ImGui::Text("io.ConfigFlags: 0x%08X", io.ConfigFlags);
if (io.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) ImGui::Text(" NavEnableKeyboard");
if (io.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) ImGui::Text(" NavEnableGamepad");
if (io.ConfigFlags & ImGuiConfigFlags_NavEnableSetMousePos) ImGui::Text(" NavEnableSetMousePos");
if (io.ConfigFlags & ImGuiConfigFlags_NavNoCaptureKeyboard) ImGui::Text(" NavNoCaptureKeyboard");
if (io.ConfigFlags & ImGuiConfigFlags_NoMouse) ImGui::Text(" NoMouse");
if (io.ConfigFlags & ImGuiConfigFlags_NoMouseCursorChange) ImGui::Text(" NoMouseCursorChange");
if (io.MouseDrawCursor) ImGui::Text("io.MouseDrawCursor");
if (io.ConfigMacOSXBehaviors) ImGui::Text("io.ConfigMacOSXBehaviors");
if (io.ConfigInputTextCursorBlink) ImGui::Text("io.ConfigInputTextCursorBlink");
if (io.ConfigWindowsResizeFromEdges) ImGui::Text("io.ConfigWindowsResizeFromEdges");
if (io.ConfigWindowsMoveFromTitleBarOnly) ImGui::Text("io.ConfigWindowsMoveFromTitleBarOnly");
if (io.ConfigWindowsMemoryCompactTimer >= 0.0f) ImGui::Text("io.ConfigWindowsMemoryCompactTimer = %.1ff", io.ConfigWindowsMemoryCompactTimer);
ImGui::Text("io.BackendFlags: 0x%08X", io.BackendFlags);
if (io.BackendFlags & ImGuiBackendFlags_HasGamepad) ImGui::Text(" HasGamepad");
if (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) ImGui::Text(" HasMouseCursors");
if (io.BackendFlags & ImGuiBackendFlags_HasSetMousePos) ImGui::Text(" HasSetMousePos");
if (io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset) ImGui::Text(" RendererHasVtxOffset");
ImGui::Separator();
ImGui::Text("io.Fonts: %d fonts, Flags: 0x%08X, TexSize: %d,%d", io.Fonts->Fonts.Size, io.Fonts->Flags, io.Fonts->TexWidth, io.Fonts->TexHeight);
ImGui::Text("io.DisplaySize: %.2f,%.2f", io.DisplaySize.x, io.DisplaySize.y);
ImGui::Text("io.DisplayFramebufferScale: %.2f,%.2f", io.DisplayFramebufferScale.x, io.DisplayFramebufferScale.y);
ImGui::Separator();
ImGui::Text("style.WindowPadding: %.2f,%.2f", style.WindowPadding.x, style.WindowPadding.y);
ImGui::Text("style.WindowBorderSize: %.2f", style.WindowBorderSize);
ImGui::Text("style.FramePadding: %.2f,%.2f", style.FramePadding.x, style.FramePadding.y);
ImGui::Text("style.FrameRounding: %.2f", style.FrameRounding);
ImGui::Text("style.FrameBorderSize: %.2f", style.FrameBorderSize);
ImGui::Text("style.ItemSpacing: %.2f,%.2f", style.ItemSpacing.x, style.ItemSpacing.y);
ImGui::Text("style.ItemInnerSpacing: %.2f,%.2f", style.ItemInnerSpacing.x, style.ItemInnerSpacing.y);
if (copy_to_clipboard)
{
ImGui::LogText("\n```\n");
ImGui::LogFinish();
}
ImGui::EndChildFrame();
}
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Style Editor / ShowStyleEditor()
//-----------------------------------------------------------------------------
// - ShowStyleSelector()
// - ShowFontSelector()
// - ShowStyleEditor()
//-----------------------------------------------------------------------------
// Demo helper function to select among default colors. See ShowStyleEditor() for more advanced options.
// Here we use the simplified Combo() api that packs items into a single literal string.
// Useful for quick combo boxes where the choices are known locally.
bool ImGui::ShowStyleSelector(const char* label)
{
static int style_idx = -1;
if (ImGui::Combo(label, &style_idx, "Classic\0Dark\0Light\0"))
{
switch (style_idx)
{
case 0: ImGui::StyleColorsClassic(); break;
case 1: ImGui::StyleColorsDark(); break;
case 2: ImGui::StyleColorsLight(); break;
}
return true;
}
return false;
}
// Demo helper function to select among loaded fonts.
// Here we use the regular BeginCombo()/EndCombo() api which is more the more flexible one.
void ImGui::ShowFontSelector(const char* label)
{
ImGuiIO& io = ImGui::GetIO();
ImFont* font_current = ImGui::GetFont();
if (ImGui::BeginCombo(label, font_current->GetDebugName()))
{
for (int n = 0; n < io.Fonts->Fonts.Size; n++)
{
ImFont* font = io.Fonts->Fonts[n];
ImGui::PushID((void*)font);
if (ImGui::Selectable(font->GetDebugName(), font == font_current))
io.FontDefault = font;
ImGui::PopID();
}
ImGui::EndCombo();
}
ImGui::SameLine();
HelpMarker(
"- Load additional fonts with io.Fonts->AddFontFromFileTTF().\n"
"- The font atlas is built when calling io.Fonts->GetTexDataAsXXXX() or io.Fonts->Build().\n"
"- Read FAQ and docs/FONTS.md for more details.\n"
"- If you need to add/remove fonts at runtime (e.g. for DPI change), do it before calling NewFrame().");
}
// [Internal] Display details for a single font, called by ShowStyleEditor().
static void NodeFont(ImFont* font)
{
ImGuiIO& io = ImGui::GetIO();
ImGuiStyle& style = ImGui::GetStyle();
bool font_details_opened = ImGui::TreeNode(font, "Font: \"%s\"\n%.2f px, %d glyphs, %d file(s)",
font->ConfigData ? font->ConfigData[0].Name : "", font->FontSize, font->Glyphs.Size, font->ConfigDataCount);
ImGui::SameLine(); if (ImGui::SmallButton("Set as default")) { io.FontDefault = font; }
if (!font_details_opened)
return;
ImGui::PushFont(font);
ImGui::Text("The quick brown fox jumps over the lazy dog");
ImGui::PopFont();
ImGui::DragFloat("Font scale", &font->Scale, 0.005f, 0.3f, 2.0f, "%.1f"); // Scale only this font
ImGui::SameLine(); HelpMarker(
"Note than the default embedded font is NOT meant to be scaled.\n\n"
"Font are currently rendered into bitmaps at a given size at the time of building the atlas. "
"You may oversample them to get some flexibility with scaling. "
"You can also render at multiple sizes and select which one to use at runtime.\n\n"
"(Glimmer of hope: the atlas system will be rewritten in the future to make scaling more flexible.)");
ImGui::InputFloat("Font offset", &font->DisplayOffset.y, 1, 1, "%.0f");
ImGui::Text("Ascent: %f, Descent: %f, Height: %f", font->Ascent, font->Descent, font->Ascent - font->Descent);
ImGui::Text("Fallback character: '%c' (U+%04X)", font->FallbackChar, font->FallbackChar);
ImGui::Text("Ellipsis character: '%c' (U+%04X)", font->EllipsisChar, font->EllipsisChar);
const int surface_sqrt = (int)sqrtf((float)font->MetricsTotalSurface);
ImGui::Text("Texture Area: about %d px ~%dx%d px", font->MetricsTotalSurface, surface_sqrt, surface_sqrt);
for (int config_i = 0; config_i < font->ConfigDataCount; config_i++)
if (font->ConfigData)
if (const ImFontConfig* cfg = &font->ConfigData[config_i])
ImGui::BulletText("Input %d: \'%s\', Oversample: (%d,%d), PixelSnapH: %d",
config_i, cfg->Name, cfg->OversampleH, cfg->OversampleV, cfg->PixelSnapH);
if (ImGui::TreeNode("Glyphs", "Glyphs (%d)", font->Glyphs.Size))
{
// Display all glyphs of the fonts in separate pages of 256 characters
const ImU32 glyph_col = ImGui::GetColorU32(ImGuiCol_Text);
for (unsigned int base = 0; base <= IM_UNICODE_CODEPOINT_MAX; base += 256)
{
// Skip ahead if a large bunch of glyphs are not present in the font (test in chunks of 4k)
// This is only a small optimization to reduce the number of iterations when IM_UNICODE_MAX_CODEPOINT
// is large // (if ImWchar==ImWchar32 we will do at least about 272 queries here)
if (!(base & 4095) && font->IsGlyphRangeUnused(base, base + 4095))
{
base += 4096 - 256;
continue;
}
int count = 0;
for (unsigned int n = 0; n < 256; n++)
if (font->FindGlyphNoFallback((ImWchar)(base + n)))
count++;
if (count <= 0)
continue;
if (!ImGui::TreeNode((void*)(intptr_t)base, "U+%04X..U+%04X (%d %s)", base, base + 255, count, count > 1 ? "glyphs" : "glyph"))
continue;
float cell_size = font->FontSize * 1;
float cell_spacing = style.ItemSpacing.y;
ImVec2 base_pos = ImGui::GetCursorScreenPos();
ImDrawList* draw_list = ImGui::GetWindowDrawList();
for (unsigned int n = 0; n < 256; n++)
{
// We use ImFont::RenderChar as a shortcut because we don't have UTF-8 conversion functions
// available here and thus cannot easily generate a zero-terminated UTF-8 encoded string.
ImVec2 cell_p1(base_pos.x + (n % 16) * (cell_size + cell_spacing), base_pos.y + (n / 16) * (cell_size + cell_spacing));
ImVec2 cell_p2(cell_p1.x + cell_size, cell_p1.y + cell_size);
const ImFontGlyph* glyph = font->FindGlyphNoFallback((ImWchar)(base + n));
draw_list->AddRect(cell_p1, cell_p2, glyph ? IM_COL32(255, 255, 255, 100) : IM_COL32(255, 255, 255, 50));
if (glyph)
font->RenderChar(draw_list, cell_size, cell_p1, glyph_col, (ImWchar)(base + n));
if (glyph && ImGui::IsMouseHoveringRect(cell_p1, cell_p2))
{
ImGui::BeginTooltip();
ImGui::Text("Codepoint: U+%04X", base + n);
ImGui::Separator();
ImGui::Text("Visible: %d", glyph->Visible);
ImGui::Text("AdvanceX: %.1f", glyph->AdvanceX);
ImGui::Text("Pos: (%.2f,%.2f)->(%.2f,%.2f)", glyph->X0, glyph->Y0, glyph->X1, glyph->Y1);
ImGui::Text("UV: (%.3f,%.3f)->(%.3f,%.3f)", glyph->U0, glyph->V0, glyph->U1, glyph->V1);
ImGui::EndTooltip();
}
}
ImGui::Dummy(ImVec2((cell_size + cell_spacing) * 16, (cell_size + cell_spacing) * 16));
ImGui::TreePop();
}
ImGui::TreePop();
}
ImGui::TreePop();
}
void ImGui::ShowStyleEditor(ImGuiStyle* ref)
{
// You can pass in a reference ImGuiStyle structure to compare to, revert to and save to
// (without a reference style pointer, we will use one compared locally as a reference)
ImGuiStyle& style = ImGui::GetStyle();
static ImGuiStyle ref_saved_style;
// Default to using internal storage as reference
static bool init = true;
if (init && ref == NULL)
ref_saved_style = style;
init = false;
if (ref == NULL)
ref = &ref_saved_style;
ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.50f);
if (ImGui::ShowStyleSelector("Colors##Selector"))
ref_saved_style = style;
ImGui::ShowFontSelector("Fonts##Selector");
// Simplified Settings (expose floating-pointer border sizes as boolean representing 0.0f or 1.0f)
if (ImGui::SliderFloat("FrameRounding", &style.FrameRounding, 0.0f, 12.0f, "%.0f"))
style.GrabRounding = style.FrameRounding; // Make GrabRounding always the same value as FrameRounding
{ bool border = (style.WindowBorderSize > 0.0f); if (ImGui::Checkbox("WindowBorder", &border)) { style.WindowBorderSize = border ? 1.0f : 0.0f; } }
ImGui::SameLine();
{ bool border = (style.FrameBorderSize > 0.0f); if (ImGui::Checkbox("FrameBorder", &border)) { style.FrameBorderSize = border ? 1.0f : 0.0f; } }
ImGui::SameLine();
{ bool border = (style.PopupBorderSize > 0.0f); if (ImGui::Checkbox("PopupBorder", &border)) { style.PopupBorderSize = border ? 1.0f : 0.0f; } }
// Save/Revert button
if (ImGui::Button("Save Ref"))
*ref = ref_saved_style = style;
ImGui::SameLine();
if (ImGui::Button("Revert Ref"))
style = *ref;
ImGui::SameLine();
HelpMarker(
"Save/Revert in local non-persistent storage. Default Colors definition are not affected. "
"Use \"Export\" below to save them somewhere.");
ImGui::Separator();
if (ImGui::BeginTabBar("##tabs", ImGuiTabBarFlags_None))
{
if (ImGui::BeginTabItem("Sizes"))
{
ImGui::Text("Main");
ImGui::SliderFloat2("WindowPadding", (float*)&style.WindowPadding, 0.0f, 20.0f, "%.0f");
ImGui::SliderFloat2("FramePadding", (float*)&style.FramePadding, 0.0f, 20.0f, "%.0f");
ImGui::SliderFloat2("ItemSpacing", (float*)&style.ItemSpacing, 0.0f, 20.0f, "%.0f");
ImGui::SliderFloat2("ItemInnerSpacing", (float*)&style.ItemInnerSpacing, 0.0f, 20.0f, "%.0f");
ImGui::SliderFloat2("TouchExtraPadding", (float*)&style.TouchExtraPadding, 0.0f, 10.0f, "%.0f");
ImGui::SliderFloat("IndentSpacing", &style.IndentSpacing, 0.0f, 30.0f, "%.0f");
ImGui::SliderFloat("ScrollbarSize", &style.ScrollbarSize, 1.0f, 20.0f, "%.0f");
ImGui::SliderFloat("GrabMinSize", &style.GrabMinSize, 1.0f, 20.0f, "%.0f");
ImGui::Text("Borders");
ImGui::SliderFloat("WindowBorderSize", &style.WindowBorderSize, 0.0f, 1.0f, "%.0f");
ImGui::SliderFloat("ChildBorderSize", &style.ChildBorderSize, 0.0f, 1.0f, "%.0f");
ImGui::SliderFloat("PopupBorderSize", &style.PopupBorderSize, 0.0f, 1.0f, "%.0f");
ImGui::SliderFloat("FrameBorderSize", &style.FrameBorderSize, 0.0f, 1.0f, "%.0f");
ImGui::SliderFloat("TabBorderSize", &style.TabBorderSize, 0.0f, 1.0f, "%.0f");
ImGui::Text("Rounding");
ImGui::SliderFloat("WindowRounding", &style.WindowRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("ChildRounding", &style.ChildRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("FrameRounding", &style.FrameRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("PopupRounding", &style.PopupRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("ScrollbarRounding", &style.ScrollbarRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("GrabRounding", &style.GrabRounding, 0.0f, 12.0f, "%.0f");
ImGui::SliderFloat("TabRounding", &style.TabRounding, 0.0f, 12.0f, "%.0f");
ImGui::Text("Alignment");
ImGui::SliderFloat2("WindowTitleAlign", (float*)&style.WindowTitleAlign, 0.0f, 1.0f, "%.2f");
int window_menu_button_position = style.WindowMenuButtonPosition + 1;
if (ImGui::Combo("WindowMenuButtonPosition", (int*)&window_menu_button_position, "None\0Left\0Right\0"))
style.WindowMenuButtonPosition = window_menu_button_position - 1;
ImGui::Combo("ColorButtonPosition", (int*)&style.ColorButtonPosition, "Left\0Right\0");
ImGui::SliderFloat2("ButtonTextAlign", (float*)&style.ButtonTextAlign, 0.0f, 1.0f, "%.2f");
ImGui::SameLine(); HelpMarker("Alignment applies when a button is larger than its text content.");
ImGui::SliderFloat2("SelectableTextAlign", (float*)&style.SelectableTextAlign, 0.0f, 1.0f, "%.2f");
ImGui::SameLine(); HelpMarker("Alignment applies when a selectable is larger than its text content.");
ImGui::Text("Safe Area Padding");
ImGui::SameLine(); HelpMarker("Adjust if you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured).");
ImGui::SliderFloat2("DisplaySafeAreaPadding", (float*)&style.DisplaySafeAreaPadding, 0.0f, 30.0f, "%.0f");
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Colors"))
{
static int output_dest = 0;
static bool output_only_modified = true;
if (ImGui::Button("Export"))
{
if (output_dest == 0)
ImGui::LogToClipboard();
else
ImGui::LogToTTY();
ImGui::LogText("ImVec4* colors = ImGui::GetStyle().Colors;" IM_NEWLINE);
for (int i = 0; i < ImGuiCol_COUNT; i++)
{
const ImVec4& col = style.Colors[i];
const char* name = ImGui::GetStyleColorName(i);
if (!output_only_modified || memcmp(&col, &ref->Colors[i], sizeof(ImVec4)) != 0)
ImGui::LogText("colors[ImGuiCol_%s]%*s= ImVec4(%.2ff, %.2ff, %.2ff, %.2ff);" IM_NEWLINE,
name, 23 - (int)strlen(name), "", col.x, col.y, col.z, col.w);
}
ImGui::LogFinish();
}
ImGui::SameLine(); ImGui::SetNextItemWidth(120); ImGui::Combo("##output_type", &output_dest, "To Clipboard\0To TTY\0");
ImGui::SameLine(); ImGui::Checkbox("Only Modified Colors", &output_only_modified);
static ImGuiTextFilter filter;
filter.Draw("Filter colors", ImGui::GetFontSize() * 16);
static ImGuiColorEditFlags alpha_flags = 0;
if (ImGui::RadioButton("Opaque", alpha_flags == ImGuiColorEditFlags_None)) { alpha_flags = ImGuiColorEditFlags_None; } ImGui::SameLine();
if (ImGui::RadioButton("Alpha", alpha_flags == ImGuiColorEditFlags_AlphaPreview)) { alpha_flags = ImGuiColorEditFlags_AlphaPreview; } ImGui::SameLine();
if (ImGui::RadioButton("Both", alpha_flags == ImGuiColorEditFlags_AlphaPreviewHalf)) { alpha_flags = ImGuiColorEditFlags_AlphaPreviewHalf; } ImGui::SameLine();
HelpMarker(
"In the color list:\n"
"Left-click on colored square to open color picker,\n"
"Right-click to open edit options menu.");
ImGui::BeginChild("##colors", ImVec2(0, 0), true, ImGuiWindowFlags_AlwaysVerticalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar | ImGuiWindowFlags_NavFlattened);
ImGui::PushItemWidth(-160);
for (int i = 0; i < ImGuiCol_COUNT; i++)
{
const char* name = ImGui::GetStyleColorName(i);
if (!filter.PassFilter(name))
continue;
ImGui::PushID(i);
ImGui::ColorEdit4("##color", (float*)&style.Colors[i], ImGuiColorEditFlags_AlphaBar | alpha_flags);
if (memcmp(&style.Colors[i], &ref->Colors[i], sizeof(ImVec4)) != 0)
{
// Tips: in a real user application, you may want to merge and use an icon font into the main font,
// so instead of "Save"/"Revert" you'd use icons!
// Read the FAQ and docs/FONTS.md about using icon fonts. It's really easy and super convenient!
ImGui::SameLine(0.0f, style.ItemInnerSpacing.x); if (ImGui::Button("Save")) { ref->Colors[i] = style.Colors[i]; }
ImGui::SameLine(0.0f, style.ItemInnerSpacing.x); if (ImGui::Button("Revert")) { style.Colors[i] = ref->Colors[i]; }
}
ImGui::SameLine(0.0f, style.ItemInnerSpacing.x);
ImGui::TextUnformatted(name);
ImGui::PopID();
}
ImGui::PopItemWidth();
ImGui::EndChild();
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Fonts"))
{
ImGuiIO& io = ImGui::GetIO();
ImFontAtlas* atlas = io.Fonts;
HelpMarker("Read FAQ and docs/FONTS.md for details on font loading.");
ImGui::PushItemWidth(120);
for (int i = 0; i < atlas->Fonts.Size; i++)
{
ImFont* font = atlas->Fonts[i];
ImGui::PushID(font);
NodeFont(font);
ImGui::PopID();
}
if (ImGui::TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight))
{
ImVec4 tint_col = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
ImVec4 border_col = ImVec4(1.0f, 1.0f, 1.0f, 0.5f);
ImGui::Image(atlas->TexID, ImVec2((float)atlas->TexWidth, (float)atlas->TexHeight), ImVec2(0, 0), ImVec2(1, 1), tint_col, border_col);
ImGui::TreePop();
}
// Post-baking font scaling. Note that this is NOT the nice way of scaling fonts, read below.
// (we enforce hard clamping manually as by default DragFloat/SliderFloat allows CTRL+Click text to get out of bounds).
const float MIN_SCALE = 0.3f;
const float MAX_SCALE = 2.0f;
HelpMarker(
"Those are old settings provided for convenience.\n"
"However, the _correct_ way of scaling your UI is currently to reload your font at the designed size, "
"rebuild the font atlas, and call style.ScaleAllSizes() on a reference ImGuiStyle structure.\n"
"Using those settings here will give you poor quality results.");
static float window_scale = 1.0f;
if (ImGui::DragFloat("window scale", &window_scale, 0.005f, MIN_SCALE, MAX_SCALE, "%.2f")) // Scale only this window
ImGui::SetWindowFontScale(IM_MAX(window_scale, MIN_SCALE));
if (ImGui::DragFloat("global scale", &io.FontGlobalScale, 0.005f, MIN_SCALE, MAX_SCALE, "%.2f")) // Scale everything
io.FontGlobalScale = IM_MAX(io.FontGlobalScale, MIN_SCALE);
ImGui::PopItemWidth();
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Rendering"))
{
ImGui::Checkbox("Anti-aliased lines", &style.AntiAliasedLines);
ImGui::SameLine(); HelpMarker("When disabling anti-aliasing lines, you'll probably want to disable borders in your style as well.");
ImGui::Checkbox("Anti-aliased lines use texture", &style.AntiAliasedLinesUseTex);
ImGui::SameLine(); HelpMarker("Faster lines using texture data. Require back-end to render with bilinear filtering (not point/nearest filtering).");
ImGui::Checkbox("Anti-aliased fill", &style.AntiAliasedFill);
ImGui::PushItemWidth(100);
ImGui::DragFloat("Curve Tessellation Tolerance", &style.CurveTessellationTol, 0.02f, 0.10f, 10.0f, "%.2f");
if (style.CurveTessellationTol < 0.10f) style.CurveTessellationTol = 0.10f;
// When editing the "Circle Segment Max Error" value, draw a preview of its effect on auto-tessellated circles.
ImGui::DragFloat("Circle Segment Max Error", &style.CircleSegmentMaxError, 0.01f, 0.10f, 10.0f, "%.2f");
if (ImGui::IsItemActive())
{
ImGui::SetNextWindowPos(ImGui::GetCursorScreenPos());
ImGui::BeginTooltip();
ImVec2 p = ImGui::GetCursorScreenPos();
float RAD_MIN = 10.0f, RAD_MAX = 80.0f;
float off_x = 10.0f;
for (int n = 0; n < 7; n++)
{
const float rad = RAD_MIN + (RAD_MAX - RAD_MIN) * (float)n / (7.0f - 1.0f);
ImGui::GetWindowDrawList()->AddCircle(ImVec2(p.x + off_x + rad, p.y + RAD_MAX), rad, ImGui::GetColorU32(ImGuiCol_Text), 0);
off_x += 10.0f + rad * 2.0f;
}
ImGui::Dummy(ImVec2(off_x, RAD_MAX * 2.0f));
ImGui::EndTooltip();
}
ImGui::SameLine();
HelpMarker("When drawing circle primitives with \"num_segments == 0\" tesselation will be calculated automatically.");
ImGui::DragFloat("Global Alpha", &style.Alpha, 0.005f, 0.20f, 1.0f, "%.2f"); // Not exposing zero here so user doesn't "lose" the UI (zero alpha clips all widgets). But application code could have a toggle to switch between zero and non-zero.
ImGui::PopItemWidth();
ImGui::EndTabItem();
}
ImGui::EndTabBar();
}
ImGui::PopItemWidth();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Main Menu Bar / ShowExampleAppMainMenuBar()
//-----------------------------------------------------------------------------
// - ShowExampleAppMainMenuBar()
// - ShowExampleMenuFile()
//-----------------------------------------------------------------------------
// Demonstrate creating a "main" fullscreen menu bar and populating it.
// Note the difference between BeginMainMenuBar() and BeginMenuBar():
// - BeginMenuBar() = menu-bar inside current window (which needs the ImGuiWindowFlags_MenuBar flag!)
// - BeginMainMenuBar() = helper to create menu-bar-sized window at the top of the main viewport + call BeginMenuBar() into it.
static void ShowExampleAppMainMenuBar()
{
if (ImGui::BeginMainMenuBar())
{
if (ImGui::BeginMenu("File"))
{
ShowExampleMenuFile();
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Edit"))
{
if (ImGui::MenuItem("Undo", "CTRL+Z")) {}
if (ImGui::MenuItem("Redo", "CTRL+Y", false, false)) {} // Disabled item
ImGui::Separator();
if (ImGui::MenuItem("Cut", "CTRL+X")) {}
if (ImGui::MenuItem("Copy", "CTRL+C")) {}
if (ImGui::MenuItem("Paste", "CTRL+V")) {}
ImGui::EndMenu();
}
ImGui::EndMainMenuBar();
}
}
// Note that shortcuts are currently provided for display only
// (future version will add explicit flags to BeginMenu() to request processing shortcuts)
static void ShowExampleMenuFile()
{
ImGui::MenuItem("(dummy menu)", NULL, false, false);
if (ImGui::MenuItem("New")) {}
if (ImGui::MenuItem("Open", "Ctrl+O")) {}
if (ImGui::BeginMenu("Open Recent"))
{
ImGui::MenuItem("fish_hat.c");
ImGui::MenuItem("fish_hat.inl");
ImGui::MenuItem("fish_hat.h");
if (ImGui::BeginMenu("More.."))
{
ImGui::MenuItem("Hello");
ImGui::MenuItem("Sailor");
if (ImGui::BeginMenu("Recurse.."))
{
ShowExampleMenuFile();
ImGui::EndMenu();
}
ImGui::EndMenu();
}
ImGui::EndMenu();
}
if (ImGui::MenuItem("Save", "Ctrl+S")) {}
if (ImGui::MenuItem("Save As..")) {}
ImGui::Separator();
if (ImGui::BeginMenu("Options"))
{
static bool enabled = true;
ImGui::MenuItem("Enabled", "", &enabled);
ImGui::BeginChild("child", ImVec2(0, 60), true);
for (int i = 0; i < 10; i++)
ImGui::Text("Scrolling Text %d", i);
ImGui::EndChild();
static float f = 0.5f;
static int n = 0;
ImGui::SliderFloat("Value", &f, 0.0f, 1.0f);
ImGui::InputFloat("Input", &f, 0.1f);
ImGui::Combo("Combo", &n, "Yes\0No\0Maybe\0\0");
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Colors"))
{
float sz = ImGui::GetTextLineHeight();
for (int i = 0; i < ImGuiCol_COUNT; i++)
{
const char* name = ImGui::GetStyleColorName((ImGuiCol)i);
ImVec2 p = ImGui::GetCursorScreenPos();
ImGui::GetWindowDrawList()->AddRectFilled(p, ImVec2(p.x + sz, p.y + sz), ImGui::GetColorU32((ImGuiCol)i));
ImGui::Dummy(ImVec2(sz, sz));
ImGui::SameLine();
ImGui::MenuItem(name);
}
ImGui::EndMenu();
}
// Here we demonstrate appending again to the "Options" menu (which we already created above)
// Of course in this demo it is a little bit silly that this function calls BeginMenu("Options") twice.
// In a real code-base using it would make senses to use this feature from very different code locations.
if (ImGui::BeginMenu("Options")) // <-- Append!
{
static bool b = true;
ImGui::Checkbox("SomeOption", &b);
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Disabled", false)) // Disabled
{
IM_ASSERT(0);
}
if (ImGui::MenuItem("Checked", NULL, true)) {}
if (ImGui::MenuItem("Quit", "Alt+F4")) {}
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Debug Console / ShowExampleAppConsole()
//-----------------------------------------------------------------------------
// Demonstrate creating a simple console window, with scrolling, filtering, completion and history.
// For the console example, we are using a more C++ like approach of declaring a class to hold both data and functions.
struct ExampleAppConsole
{
char InputBuf[256];
ImVector<char*> Items;
ImVector<const char*> Commands;
ImVector<char*> History;
int HistoryPos; // -1: new line, 0..History.Size-1 browsing history.
ImGuiTextFilter Filter;
bool AutoScroll;
bool ScrollToBottom;
ExampleAppConsole()
{
ClearLog();
memset(InputBuf, 0, sizeof(InputBuf));
HistoryPos = -1;
// "CLASSIFY" is here to provide the test case where "C"+[tab] completes to "CL" and display multiple matches.
Commands.push_back("HELP");
Commands.push_back("HISTORY");
Commands.push_back("CLEAR");
Commands.push_back("CLASSIFY");
AutoScroll = true;
ScrollToBottom = false;
AddLog("Welcome to Dear ImGui!");
}
~ExampleAppConsole()
{
ClearLog();
for (int i = 0; i < History.Size; i++)
free(History[i]);
}
// Portable helpers
static int Stricmp(const char* s1, const char* s2) { int d; while ((d = toupper(*s2) - toupper(*s1)) == 0 && *s1) { s1++; s2++; } return d; }
static int Strnicmp(const char* s1, const char* s2, int n) { int d = 0; while (n > 0 && (d = toupper(*s2) - toupper(*s1)) == 0 && *s1) { s1++; s2++; n--; } return d; }
static char* Strdup(const char* s) { size_t len = strlen(s) + 1; void* buf = malloc(len); IM_ASSERT(buf); return (char*)memcpy(buf, (const void*)s, len); }
static void Strtrim(char* s) { char* str_end = s + strlen(s); while (str_end > s && str_end[-1] == ' ') str_end--; *str_end = 0; }
void ClearLog()
{
for (int i = 0; i < Items.Size; i++)
free(Items[i]);
Items.clear();
}
void AddLog(const char* fmt, ...) IM_FMTARGS(2)
{
// FIXME-OPT
char buf[1024];
va_list args;
va_start(args, fmt);
vsnprintf(buf, IM_ARRAYSIZE(buf), fmt, args);
buf[IM_ARRAYSIZE(buf)-1] = 0;
va_end(args);
Items.push_back(Strdup(buf));
}
void Draw(const char* title, bool* p_open)
{
ImGui::SetNextWindowSize(ImVec2(520, 600), ImGuiCond_FirstUseEver);
if (!ImGui::Begin(title, p_open))
{
ImGui::End();
return;
}
// As a specific feature guaranteed by the library, after calling Begin() the last Item represent the title bar.
// So e.g. IsItemHovered() will return true when hovering the title bar.
// Here we create a context menu only available from the title bar.
if (ImGui::BeginPopupContextItem())
{
if (ImGui::MenuItem("Close Console"))
*p_open = false;
ImGui::EndPopup();
}
ImGui::TextWrapped(
"This example implements a console with basic coloring, completion and history. A more elaborate "
"implementation may want to store entries along with extra data such as timestamp, emitter, etc.");
ImGui::TextWrapped("Enter 'HELP' for help, press TAB to use text completion.");
// TODO: display items starting from the bottom
if (ImGui::SmallButton("Add Dummy Text")) { AddLog("%d some text", Items.Size); AddLog("some more text"); AddLog("display very important message here!"); } ImGui::SameLine();
if (ImGui::SmallButton("Add Dummy Error")) { AddLog("[error] something went wrong"); } ImGui::SameLine();
if (ImGui::SmallButton("Clear")) { ClearLog(); } ImGui::SameLine();
bool copy_to_clipboard = ImGui::SmallButton("Copy");
//static float t = 0.0f; if (ImGui::GetTime() - t > 0.02f) { t = ImGui::GetTime(); AddLog("Spam %f", t); }
ImGui::Separator();
// Options menu
if (ImGui::BeginPopup("Options"))
{
ImGui::Checkbox("Auto-scroll", &AutoScroll);
ImGui::EndPopup();
}
// Options, Filter
if (ImGui::Button("Options"))
ImGui::OpenPopup("Options");
ImGui::SameLine();
Filter.Draw("Filter (\"incl,-excl\") (\"error\")", 180);
ImGui::Separator();
// Reserve enough left-over height for 1 separator + 1 input text
const float footer_height_to_reserve = ImGui::GetStyle().ItemSpacing.y + ImGui::GetFrameHeightWithSpacing();
ImGui::BeginChild("ScrollingRegion", ImVec2(0, -footer_height_to_reserve), false, ImGuiWindowFlags_HorizontalScrollbar);
if (ImGui::BeginPopupContextWindow())
{
if (ImGui::Selectable("Clear")) ClearLog();
ImGui::EndPopup();
}
// Display every line as a separate entry so we can change their color or add custom widgets.
// If you only want raw text you can use ImGui::TextUnformatted(log.begin(), log.end());
// NB- if you have thousands of entries this approach may be too inefficient and may require user-side clipping
// to only process visible items. The clipper will automatically measure the height of your first item and then
// "seek" to display only items in the visible area.
// To use the clipper we can replace your standard loop:
// for (int i = 0; i < Items.Size; i++)
// With:
// ImGuiListClipper clipper(Items.Size);
// while (clipper.Step())
// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
// - That your items are evenly spaced (same height)
// - That you have cheap random access to your elements (you can access them given their index,
// without processing all the ones before)
// You cannot this code as-is if a filter is active because it breaks the 'cheap random-access' property.
// We would need random-access on the post-filtered list.
// A typical application wanting coarse clipping and filtering may want to pre-compute an array of indices
// or offsets of items that passed the filtering test, recomputing this array when user changes the filter,
// and appending newly elements as they are inserted. This is left as a task to the user until we can manage
// to improve this example code!
// If your items are of variable height:
// - Split them into same height items would be simpler and facilitate random-seeking into your list.
// - Consider using manual call to IsRectVisible() and skipping extraneous decoration from your items.
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(4, 1)); // Tighten spacing
if (copy_to_clipboard)
ImGui::LogToClipboard();
for (int i = 0; i < Items.Size; i++)
{
const char* item = Items[i];
if (!Filter.PassFilter(item))
continue;
// Normally you would store more information in your item than just a string.
// (e.g. make Items[] an array of structure, store color/type etc.)
ImVec4 color;
bool has_color = false;
if (strstr(item, "[error]")) { color = ImVec4(1.0f, 0.4f, 0.4f, 1.0f); has_color = true; }
else if (strncmp(item, "# ", 2) == 0) { color = ImVec4(1.0f, 0.8f, 0.6f, 1.0f); has_color = true; }
if (has_color)
ImGui::PushStyleColor(ImGuiCol_Text, color);
ImGui::TextUnformatted(item);
if (has_color)
ImGui::PopStyleColor();
}
if (copy_to_clipboard)
ImGui::LogFinish();
if (ScrollToBottom || (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY()))
ImGui::SetScrollHereY(1.0f);
ScrollToBottom = false;
ImGui::PopStyleVar();
ImGui::EndChild();
ImGui::Separator();
// Command-line
bool reclaim_focus = false;
ImGuiInputTextFlags input_text_flags = ImGuiInputTextFlags_EnterReturnsTrue | ImGuiInputTextFlags_CallbackCompletion | ImGuiInputTextFlags_CallbackHistory;
if (ImGui::InputText("Input", InputBuf, IM_ARRAYSIZE(InputBuf), input_text_flags, &TextEditCallbackStub, (void*)this))
{
char* s = InputBuf;
Strtrim(s);
if (s[0])
ExecCommand(s);
strcpy(s, "");
reclaim_focus = true;
}
// Auto-focus on window apparition
ImGui::SetItemDefaultFocus();
if (reclaim_focus)
ImGui::SetKeyboardFocusHere(-1); // Auto focus previous widget
ImGui::End();
}
void ExecCommand(const char* command_line)
{
AddLog("# %s\n", command_line);
// Insert into history. First find match and delete it so it can be pushed to the back.
// This isn't trying to be smart or optimal.
HistoryPos = -1;
for (int i = History.Size - 1; i >= 0; i--)
if (Stricmp(History[i], command_line) == 0)
{
free(History[i]);
History.erase(History.begin() + i);
break;
}
History.push_back(Strdup(command_line));
// Process command
if (Stricmp(command_line, "CLEAR") == 0)
{
ClearLog();
}
else if (Stricmp(command_line, "HELP") == 0)
{
AddLog("Commands:");
for (int i = 0; i < Commands.Size; i++)
AddLog("- %s", Commands[i]);
}
else if (Stricmp(command_line, "HISTORY") == 0)
{
int first = History.Size - 10;
for (int i = first > 0 ? first : 0; i < History.Size; i++)
AddLog("%3d: %s\n", i, History[i]);
}
else
{
AddLog("Unknown command: '%s'\n", command_line);
}
// On command input, we scroll to bottom even if AutoScroll==false
ScrollToBottom = true;
}
// In C++11 you'd be better off using lambdas for this sort of forwarding callbacks
static int TextEditCallbackStub(ImGuiInputTextCallbackData* data)
{
ExampleAppConsole* console = (ExampleAppConsole*)data->UserData;
return console->TextEditCallback(data);
}
int TextEditCallback(ImGuiInputTextCallbackData* data)
{
//AddLog("cursor: %d, selection: %d-%d", data->CursorPos, data->SelectionStart, data->SelectionEnd);
switch (data->EventFlag)
{
case ImGuiInputTextFlags_CallbackCompletion:
{
// Example of TEXT COMPLETION
// Locate beginning of current word
const char* word_end = data->Buf + data->CursorPos;
const char* word_start = word_end;
while (word_start > data->Buf)
{
const char c = word_start[-1];
if (c == ' ' || c == '\t' || c == ',' || c == ';')
break;
word_start--;
}
// Build a list of candidates
ImVector<const char*> candidates;
for (int i = 0; i < Commands.Size; i++)
if (Strnicmp(Commands[i], word_start, (int)(word_end - word_start)) == 0)
candidates.push_back(Commands[i]);
if (candidates.Size == 0)
{
// No match
AddLog("No match for \"%.*s\"!\n", (int)(word_end - word_start), word_start);
}
else if (candidates.Size == 1)
{
// Single match. Delete the beginning of the word and replace it entirely so we've got nice casing.
data->DeleteChars((int)(word_start - data->Buf), (int)(word_end - word_start));
data->InsertChars(data->CursorPos, candidates[0]);
data->InsertChars(data->CursorPos, " ");
}
else
{
// Multiple matches. Complete as much as we can..
// So inputing "C"+Tab will complete to "CL" then display "CLEAR" and "CLASSIFY" as matches.
int match_len = (int)(word_end - word_start);
for (;;)
{
int c = 0;
bool all_candidates_matches = true;
for (int i = 0; i < candidates.Size && all_candidates_matches; i++)
if (i == 0)
c = toupper(candidates[i][match_len]);
else if (c == 0 || c != toupper(candidates[i][match_len]))
all_candidates_matches = false;
if (!all_candidates_matches)
break;
match_len++;
}
if (match_len > 0)
{
data->DeleteChars((int)(word_start - data->Buf), (int)(word_end - word_start));
data->InsertChars(data->CursorPos, candidates[0], candidates[0] + match_len);
}
// List matches
AddLog("Possible matches:\n");
for (int i = 0; i < candidates.Size; i++)
AddLog("- %s\n", candidates[i]);
}
break;
}
case ImGuiInputTextFlags_CallbackHistory:
{
// Example of HISTORY
const int prev_history_pos = HistoryPos;
if (data->EventKey == ImGuiKey_UpArrow)
{
if (HistoryPos == -1)
HistoryPos = History.Size - 1;
else if (HistoryPos > 0)
HistoryPos--;
}
else if (data->EventKey == ImGuiKey_DownArrow)
{
if (HistoryPos != -1)
if (++HistoryPos >= History.Size)
HistoryPos = -1;
}
// A better implementation would preserve the data on the current input line along with cursor position.
if (prev_history_pos != HistoryPos)
{
const char* history_str = (HistoryPos >= 0) ? History[HistoryPos] : "";
data->DeleteChars(0, data->BufTextLen);
data->InsertChars(0, history_str);
}
}
}
return 0;
}
};
static void ShowExampleAppConsole(bool* p_open)
{
static ExampleAppConsole console;
console.Draw("Example: Console", p_open);
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Debug Log / ShowExampleAppLog()
//-----------------------------------------------------------------------------
// Usage:
// static ExampleAppLog my_log;
// my_log.AddLog("Hello %d world\n", 123);
// my_log.Draw("title");
struct ExampleAppLog
{
ImGuiTextBuffer Buf;
ImGuiTextFilter Filter;
ImVector<int> LineOffsets; // Index to lines offset. We maintain this with AddLog() calls.
bool AutoScroll; // Keep scrolling if already at the bottom.
ExampleAppLog()
{
AutoScroll = true;
Clear();
}
void Clear()
{
Buf.clear();
LineOffsets.clear();
LineOffsets.push_back(0);
}
void AddLog(const char* fmt, ...) IM_FMTARGS(2)
{
int old_size = Buf.size();
va_list args;
va_start(args, fmt);
Buf.appendfv(fmt, args);
va_end(args);
for (int new_size = Buf.size(); old_size < new_size; old_size++)
if (Buf[old_size] == '\n')
LineOffsets.push_back(old_size + 1);
}
void Draw(const char* title, bool* p_open = NULL)
{
if (!ImGui::Begin(title, p_open))
{
ImGui::End();
return;
}
// Options menu
if (ImGui::BeginPopup("Options"))
{
ImGui::Checkbox("Auto-scroll", &AutoScroll);
ImGui::EndPopup();
}
// Main window
if (ImGui::Button("Options"))
ImGui::OpenPopup("Options");
ImGui::SameLine();
bool clear = ImGui::Button("Clear");
ImGui::SameLine();
bool copy = ImGui::Button("Copy");
ImGui::SameLine();
Filter.Draw("Filter", -100.0f);
ImGui::Separator();
ImGui::BeginChild("scrolling", ImVec2(0, 0), false, ImGuiWindowFlags_HorizontalScrollbar);
if (clear)
Clear();
if (copy)
ImGui::LogToClipboard();
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
const char* buf = Buf.begin();
const char* buf_end = Buf.end();
if (Filter.IsActive())
{
// In this example we don't use the clipper when Filter is enabled.
// This is because we don't have a random access on the result on our filter.
// A real application processing logs with ten of thousands of entries may want to store the result of
// search/filter.. especially if the filtering function is not trivial (e.g. reg-exp).
for (int line_no = 0; line_no < LineOffsets.Size; line_no++)
{
const char* line_start = buf + LineOffsets[line_no];
const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end;
if (Filter.PassFilter(line_start, line_end))
ImGui::TextUnformatted(line_start, line_end);
}
}
else
{
// The simplest and easy way to display the entire buffer:
// ImGui::TextUnformatted(buf_begin, buf_end);
// And it'll just work. TextUnformatted() has specialization for large blob of text and will fast-forward
// to skip non-visible lines. Here we instead demonstrate using the clipper to only process lines that are
// within the visible area.
// If you have tens of thousands of items and their processing cost is non-negligible, coarse clipping them
// on your side is recommended. Using ImGuiListClipper requires
// - A) random access into your data
// - B) items all being the same height,
// both of which we can handle since we an array pointing to the beginning of each line of text.
// When using the filter (in the block of code above) we don't have random access into the data to display
// anymore, which is why we don't use the clipper. Storing or skimming through the search result would make
// it possible (and would be recommended if you want to search through tens of thousands of entries).
ImGuiListClipper clipper;
clipper.Begin(LineOffsets.Size);
while (clipper.Step())
{
for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++)
{
const char* line_start = buf + LineOffsets[line_no];
const char* line_end = (line_no + 1 < LineOffsets.Size) ? (buf + LineOffsets[line_no + 1] - 1) : buf_end;
ImGui::TextUnformatted(line_start, line_end);
}
}
clipper.End();
}
ImGui::PopStyleVar();
if (AutoScroll && ImGui::GetScrollY() >= ImGui::GetScrollMaxY())
ImGui::SetScrollHereY(1.0f);
ImGui::EndChild();
ImGui::End();
}
};
// Demonstrate creating a simple log window with basic filtering.
static void ShowExampleAppLog(bool* p_open)
{
static ExampleAppLog log;
// For the demo: add a debug button _BEFORE_ the normal log window contents
// We take advantage of a rarely used feature: multiple calls to Begin()/End() are appending to the _same_ window.
// Most of the contents of the window will be added by the log.Draw() call.
ImGui::SetNextWindowSize(ImVec2(500, 400), ImGuiCond_FirstUseEver);
ImGui::Begin("Example: Log", p_open);
if (ImGui::SmallButton("[Debug] Add 5 entries"))
{
static int counter = 0;
const char* categories[3] = { "info", "warn", "error" };
const char* words[] = { "Bumfuzzled", "Cattywampus", "Snickersnee", "Abibliophobia", "Absquatulate", "Nincompoop", "Pauciloquent" };
for (int n = 0; n < 5; n++)
{
const char* category = categories[counter % IM_ARRAYSIZE(categories)];
const char* word = words[counter % IM_ARRAYSIZE(words)];
log.AddLog("[%05d] [%s] Hello, current time is %.1f, here's a word: '%s'\n",
ImGui::GetFrameCount(), category, ImGui::GetTime(), word);
counter++;
}
}
ImGui::End();
// Actually call in the regular Log helper (which will Begin() into the same window as we just did)
log.Draw("Example: Log", p_open);
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Simple Layout / ShowExampleAppLayout()
//-----------------------------------------------------------------------------
// Demonstrate create a window with multiple child windows.
static void ShowExampleAppLayout(bool* p_open)
{
ImGui::SetNextWindowSize(ImVec2(500, 440), ImGuiCond_FirstUseEver);
if (ImGui::Begin("Example: Simple layout", p_open, ImGuiWindowFlags_MenuBar))
{
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("File"))
{
if (ImGui::MenuItem("Close")) *p_open = false;
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
// Left
static int selected = 0;
{
ImGui::BeginChild("left pane", ImVec2(150, 0), true);
for (int i = 0; i < 100; i++)
{
char label[128];
sprintf(label, "MyObject %d", i);
if (ImGui::Selectable(label, selected == i))
selected = i;
}
ImGui::EndChild();
}
ImGui::SameLine();
// Right
{
ImGui::BeginGroup();
ImGui::BeginChild("item view", ImVec2(0, -ImGui::GetFrameHeightWithSpacing())); // Leave room for 1 line below us
ImGui::Text("MyObject: %d", selected);
ImGui::Separator();
if (ImGui::BeginTabBar("##Tabs", ImGuiTabBarFlags_None))
{
if (ImGui::BeginTabItem("Description"))
{
ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ");
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Details"))
{
ImGui::Text("ID: 0123456789");
ImGui::EndTabItem();
}
ImGui::EndTabBar();
}
ImGui::EndChild();
if (ImGui::Button("Revert")) {}
ImGui::SameLine();
if (ImGui::Button("Save")) {}
ImGui::EndGroup();
}
}
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Property Editor / ShowExampleAppPropertyEditor()
//-----------------------------------------------------------------------------
static void ShowDummyObject(const char* prefix, int uid)
{
// Use object uid as identifier. Most commonly you could also use the object pointer as a base ID.
ImGui::PushID(uid);
ImGui::AlignTextToFramePadding(); // Text and Tree nodes are less high than framed widgets, here we add vertical spacing to make the tree lines equal high.
bool node_open = ImGui::TreeNode("Object", "%s_%u", prefix, uid);
ImGui::NextColumn();
ImGui::AlignTextToFramePadding();
ImGui::Text("my sailor is rich");
ImGui::NextColumn();
if (node_open)
{
static float dummy_members[8] = { 0.0f, 0.0f, 1.0f, 3.1416f, 100.0f, 999.0f };
for (int i = 0; i < 8; i++)
{
ImGui::PushID(i); // Use field index as identifier.
if (i < 2)
{
ShowDummyObject("Child", 424242);
}
else
{
// Here we use a TreeNode to highlight on hover (we could use e.g. Selectable as well)
ImGui::AlignTextToFramePadding();
ImGuiTreeNodeFlags flags = ImGuiTreeNodeFlags_Leaf | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_Bullet;
ImGui::TreeNodeEx("Field", flags, "Field_%d", i);
ImGui::NextColumn();
ImGui::SetNextItemWidth(-1);
if (i >= 5)
ImGui::InputFloat("##value", &dummy_members[i], 1.0f);
else
ImGui::DragFloat("##value", &dummy_members[i], 0.01f);
ImGui::NextColumn();
}
ImGui::PopID();
}
ImGui::TreePop();
}
ImGui::PopID();
}
// Demonstrate create a simple property editor.
static void ShowExampleAppPropertyEditor(bool* p_open)
{
ImGui::SetNextWindowSize(ImVec2(430, 450), ImGuiCond_FirstUseEver);
if (!ImGui::Begin("Example: Property editor", p_open))
{
ImGui::End();
return;
}
HelpMarker(
"This example shows how you may implement a property editor using two columns.\n"
"All objects/fields data are dummies here.\n"
"Remember that in many simple cases, you can use ImGui::SameLine(xxx) to position\n"
"your cursor horizontally instead of using the Columns() API.");
ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(2, 2));
ImGui::Columns(2);
ImGui::Separator();
// Iterate dummy objects with dummy members (all the same data)
for (int obj_i = 0; obj_i < 3; obj_i++)
ShowDummyObject("Object", obj_i);
ImGui::Columns(1);
ImGui::Separator();
ImGui::PopStyleVar();
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Long Text / ShowExampleAppLongText()
//-----------------------------------------------------------------------------
// Demonstrate/test rendering huge amount of text, and the incidence of clipping.
static void ShowExampleAppLongText(bool* p_open)
{
ImGui::SetNextWindowSize(ImVec2(520, 600), ImGuiCond_FirstUseEver);
if (!ImGui::Begin("Example: Long text display", p_open))
{
ImGui::End();
return;
}
static int test_type = 0;
static ImGuiTextBuffer log;
static int lines = 0;
ImGui::Text("Printing unusually long amount of text.");
ImGui::Combo("Test type", &test_type,
"Single call to TextUnformatted()\0"
"Multiple calls to Text(), clipped\0"
"Multiple calls to Text(), not clipped (slow)\0");
ImGui::Text("Buffer contents: %d lines, %d bytes", lines, log.size());
if (ImGui::Button("Clear")) { log.clear(); lines = 0; }
ImGui::SameLine();
if (ImGui::Button("Add 1000 lines"))
{
for (int i = 0; i < 1000; i++)
log.appendf("%i The quick brown fox jumps over the lazy dog\n", lines + i);
lines += 1000;
}
ImGui::BeginChild("Log");
switch (test_type)
{
case 0:
// Single call to TextUnformatted() with a big buffer
ImGui::TextUnformatted(log.begin(), log.end());
break;
case 1:
{
// Multiple calls to Text(), manually coarsely clipped - demonstrate how to use the ImGuiListClipper helper.
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
ImGuiListClipper clipper(lines);
while (clipper.Step())
for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
ImGui::Text("%i The quick brown fox jumps over the lazy dog", i);
ImGui::PopStyleVar();
break;
}
case 2:
// Multiple calls to Text(), not clipped (slow)
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
for (int i = 0; i < lines; i++)
ImGui::Text("%i The quick brown fox jumps over the lazy dog", i);
ImGui::PopStyleVar();
break;
}
ImGui::EndChild();
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Auto Resize / ShowExampleAppAutoResize()
//-----------------------------------------------------------------------------
// Demonstrate creating a window which gets auto-resized according to its content.
static void ShowExampleAppAutoResize(bool* p_open)
{
if (!ImGui::Begin("Example: Auto-resizing window", p_open, ImGuiWindowFlags_AlwaysAutoResize))
{
ImGui::End();
return;
}
static int lines = 10;
ImGui::TextUnformatted(
"Window will resize every-frame to the size of its content.\n"
"Note that you probably don't want to query the window size to\n"
"output your content because that would create a feedback loop.");
ImGui::SliderInt("Number of lines", &lines, 1, 20);
for (int i = 0; i < lines; i++)
ImGui::Text("%*sThis is line %d", i * 4, "", i); // Pad with space to extend size horizontally
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Constrained Resize / ShowExampleAppConstrainedResize()
//-----------------------------------------------------------------------------
// Demonstrate creating a window with custom resize constraints.
static void ShowExampleAppConstrainedResize(bool* p_open)
{
struct CustomConstraints
{
// Helper functions to demonstrate programmatic constraints
static void Square(ImGuiSizeCallbackData* data) { data->DesiredSize.x = data->DesiredSize.y = IM_MAX(data->DesiredSize.x, data->DesiredSize.y); }
static void Step(ImGuiSizeCallbackData* data) { float step = (float)(int)(intptr_t)data->UserData; data->DesiredSize = ImVec2((int)(data->DesiredSize.x / step + 0.5f) * step, (int)(data->DesiredSize.y / step + 0.5f) * step); }
};
const char* test_desc[] =
{
"Resize vertical only",
"Resize horizontal only",
"Width > 100, Height > 100",
"Width 400-500",
"Height 400-500",
"Custom: Always Square",
"Custom: Fixed Steps (100)",
};
static bool auto_resize = false;
static int type = 0;
static int display_lines = 10;
if (type == 0) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 0), ImVec2(-1, FLT_MAX)); // Vertical only
if (type == 1) ImGui::SetNextWindowSizeConstraints(ImVec2(0, -1), ImVec2(FLT_MAX, -1)); // Horizontal only
if (type == 2) ImGui::SetNextWindowSizeConstraints(ImVec2(100, 100), ImVec2(FLT_MAX, FLT_MAX)); // Width > 100, Height > 100
if (type == 3) ImGui::SetNextWindowSizeConstraints(ImVec2(400, -1), ImVec2(500, -1)); // Width 400-500
if (type == 4) ImGui::SetNextWindowSizeConstraints(ImVec2(-1, 400), ImVec2(-1, 500)); // Height 400-500
if (type == 5) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Square); // Always Square
if (type == 6) ImGui::SetNextWindowSizeConstraints(ImVec2(0, 0), ImVec2(FLT_MAX, FLT_MAX), CustomConstraints::Step, (void*)(intptr_t)100); // Fixed Step
ImGuiWindowFlags flags = auto_resize ? ImGuiWindowFlags_AlwaysAutoResize : 0;
if (ImGui::Begin("Example: Constrained Resize", p_open, flags))
{
if (ImGui::Button("200x200")) { ImGui::SetWindowSize(ImVec2(200, 200)); } ImGui::SameLine();
if (ImGui::Button("500x500")) { ImGui::SetWindowSize(ImVec2(500, 500)); } ImGui::SameLine();
if (ImGui::Button("800x200")) { ImGui::SetWindowSize(ImVec2(800, 200)); }
ImGui::SetNextItemWidth(200);
ImGui::Combo("Constraint", &type, test_desc, IM_ARRAYSIZE(test_desc));
ImGui::SetNextItemWidth(200);
ImGui::DragInt("Lines", &display_lines, 0.2f, 1, 100);
ImGui::Checkbox("Auto-resize", &auto_resize);
for (int i = 0; i < display_lines; i++)
ImGui::Text("%*sHello, sailor! Making this line long enough for the example.", i * 4, "");
}
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Simple Overlay / ShowExampleAppSimpleOverlay()
//-----------------------------------------------------------------------------
// Demonstrate creating a simple static window with no decoration
// + a context-menu to choose which corner of the screen to use.
static void ShowExampleAppSimpleOverlay(bool* p_open)
{
const float DISTANCE = 10.0f;
static int corner = 0;
ImGuiIO& io = ImGui::GetIO();
if (corner != -1)
{
ImVec2 window_pos = ImVec2((corner & 1) ? io.DisplaySize.x - DISTANCE : DISTANCE, (corner & 2) ? io.DisplaySize.y - DISTANCE : DISTANCE);
ImVec2 window_pos_pivot = ImVec2((corner & 1) ? 1.0f : 0.0f, (corner & 2) ? 1.0f : 0.0f);
ImGui::SetNextWindowPos(window_pos, ImGuiCond_Always, window_pos_pivot);
}
ImGui::SetNextWindowBgAlpha(0.35f); // Transparent background
ImGuiWindowFlags window_flags = ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_NoNav;
if (corner != -1)
window_flags |= ImGuiWindowFlags_NoMove;
if (ImGui::Begin("Example: Simple overlay", p_open, window_flags))
{
ImGui::Text("Simple overlay\n" "in the corner of the screen.\n" "(right-click to change position)");
ImGui::Separator();
if (ImGui::IsMousePosValid())
ImGui::Text("Mouse Position: (%.1f,%.1f)", io.MousePos.x, io.MousePos.y);
else
ImGui::Text("Mouse Position: <invalid>");
if (ImGui::BeginPopupContextWindow())
{
if (ImGui::MenuItem("Custom", NULL, corner == -1)) corner = -1;
if (ImGui::MenuItem("Top-left", NULL, corner == 0)) corner = 0;
if (ImGui::MenuItem("Top-right", NULL, corner == 1)) corner = 1;
if (ImGui::MenuItem("Bottom-left", NULL, corner == 2)) corner = 2;
if (ImGui::MenuItem("Bottom-right", NULL, corner == 3)) corner = 3;
if (p_open && ImGui::MenuItem("Close")) *p_open = false;
ImGui::EndPopup();
}
}
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Manipulating Window Titles / ShowExampleAppWindowTitles()
//-----------------------------------------------------------------------------
// Demonstrate using "##" and "###" in identifiers to manipulate ID generation.
// This apply to all regular items as well.
// Read FAQ section "How can I have multiple widgets with the same label?" for details.
static void ShowExampleAppWindowTitles(bool*)
{
// By default, Windows are uniquely identified by their title.
// You can use the "##" and "###" markers to manipulate the display/ID.
// Using "##" to display same title but have unique identifier.
ImGui::SetNextWindowPos(ImVec2(100, 100), ImGuiCond_FirstUseEver);
ImGui::Begin("Same title as another window##1");
ImGui::Text("This is window 1.\nMy title is the same as window 2, but my identifier is unique.");
ImGui::End();
ImGui::SetNextWindowPos(ImVec2(100, 200), ImGuiCond_FirstUseEver);
ImGui::Begin("Same title as another window##2");
ImGui::Text("This is window 2.\nMy title is the same as window 1, but my identifier is unique.");
ImGui::End();
// Using "###" to display a changing title but keep a static identifier "AnimatedTitle"
char buf[128];
sprintf(buf, "Animated title %c %d###AnimatedTitle", "|/-\\"[(int)(ImGui::GetTime() / 0.25f) & 3], ImGui::GetFrameCount());
ImGui::SetNextWindowPos(ImVec2(100, 300), ImGuiCond_FirstUseEver);
ImGui::Begin(buf);
ImGui::Text("This window has a changing title.");
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Custom Rendering using ImDrawList API / ShowExampleAppCustomRendering()
//-----------------------------------------------------------------------------
// Demonstrate using the low-level ImDrawList to draw custom shapes.
static void ShowExampleAppCustomRendering(bool* p_open)
{
if (!ImGui::Begin("Example: Custom rendering", p_open))
{
ImGui::End();
return;
}
// Tip: If you do a lot of custom rendering, you probably want to use your own geometrical types and benefit of
// overloaded operators, etc. Define IM_VEC2_CLASS_EXTRA in imconfig.h to create implicit conversions between your
// types and ImVec2/ImVec4. Dear ImGui defines overloaded operators but they are internal to imgui.cpp and not
// exposed outside (to avoid messing with your types) In this example we are not using the maths operators!
ImDrawList* draw_list = ImGui::GetWindowDrawList();
if (ImGui::BeginTabBar("##TabBar"))
{
if (ImGui::BeginTabItem("Primitives"))
{
ImGui::PushItemWidth(-ImGui::GetFontSize() * 10);
// Draw gradients
// (note that those are currently exacerbating our sRGB/Linear issues)
ImGui::Text("Gradients");
ImVec2 gradient_size = ImVec2(ImGui::CalcItemWidth(), ImGui::GetFrameHeight());
{
ImVec2 p0 = ImGui::GetCursorScreenPos();
ImVec2 p1 = ImVec2(p0.x + gradient_size.x, p0.y + gradient_size.y);
ImU32 col_a = ImGui::GetColorU32(ImVec4(0.0f, 0.0f, 0.0f, 1.0f));
ImU32 col_b = ImGui::GetColorU32(ImVec4(1.0f, 1.0f, 1.0f, 1.0f));
draw_list->AddRectFilledMultiColor(p0, p1, col_a, col_b, col_b, col_a);
ImGui::InvisibleButton("##gradient1", gradient_size);
}
{
ImVec2 p0 = ImGui::GetCursorScreenPos();
ImVec2 p1 = ImVec2(p0.x + gradient_size.x, p0.y + gradient_size.y);
ImU32 col_a = ImGui::GetColorU32(ImVec4(0.0f, 1.0f, 0.0f, 1.0f));
ImU32 col_b = ImGui::GetColorU32(ImVec4(1.0f, 0.0f, 0.0f, 1.0f));
draw_list->AddRectFilledMultiColor(p0, p1, col_a, col_b, col_b, col_a);
ImGui::InvisibleButton("##gradient2", gradient_size);
}
// Draw a bunch of primitives
ImGui::Text("All primitives");
static float sz = 36.0f;
static float thickness = 3.0f;
static int ngon_sides = 6;
static bool circle_segments_override = false;
static int circle_segments_override_v = 12;
static ImVec4 colf = ImVec4(1.0f, 1.0f, 0.4f, 1.0f);
ImGui::DragFloat("Size", &sz, 0.2f, 2.0f, 72.0f, "%.0f");
ImGui::DragFloat("Thickness", &thickness, 0.05f, 1.0f, 8.0f, "%.02f");
ImGui::SliderInt("N-gon sides", &ngon_sides, 3, 12);
ImGui::Checkbox("##circlesegmentoverride", &circle_segments_override);
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x);
if (ImGui::SliderInt("Circle segments", &circle_segments_override_v, 3, 40))
circle_segments_override = true;
ImGui::ColorEdit4("Color", &colf.x);
const ImVec2 p = ImGui::GetCursorScreenPos();
const ImU32 col = ImColor(colf);
const float spacing = 10.0f;
const ImDrawCornerFlags corners_none = 0;
const ImDrawCornerFlags corners_all = ImDrawCornerFlags_All;
const ImDrawCornerFlags corners_tl_br = ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotRight;
const int circle_segments = circle_segments_override ? circle_segments_override_v : 0;
float x = p.x + 4.0f, y = p.y + 4.0f;
for (int n = 0; n < 2; n++)
{
// First line uses a thickness of 1.0f, second line uses the configurable thickness
float th = (n == 0) ? 1.0f : thickness;
draw_list->AddNgon(ImVec2(x + sz*0.5f, y + sz*0.5f), sz*0.5f, col, ngon_sides, th); x += sz + spacing; // N-gon
draw_list->AddCircle(ImVec2(x + sz*0.5f, y + sz*0.5f), sz*0.5f, col, circle_segments, th); x += sz + spacing; // Circle
draw_list->AddRect(ImVec2(x, y), ImVec2(x + sz, y + sz), col, 0.0f, corners_none, th); x += sz + spacing; // Square
draw_list->AddRect(ImVec2(x, y), ImVec2(x + sz, y + sz), col, 10.0f, corners_all, th); x += sz + spacing; // Square with all rounded corners
draw_list->AddRect(ImVec2(x, y), ImVec2(x + sz, y + sz), col, 10.0f, corners_tl_br, th); x += sz + spacing; // Square with two rounded corners
draw_list->AddTriangle(ImVec2(x+sz*0.5f,y), ImVec2(x+sz, y+sz-0.5f), ImVec2(x, y+sz-0.5f), col, th); x += sz + spacing; // Triangle
draw_list->AddTriangle(ImVec2(x+sz*0.2f,y), ImVec2(x, y+sz-0.5f), ImVec2(x+sz*0.4f, y+sz-0.5f), col, th); x += sz*0.4f + spacing; // Thin triangle
draw_list->AddLine(ImVec2(x, y), ImVec2(x + sz, y), col, th); x += sz + spacing; // Horizontal line (note: drawing a filled rectangle will be faster!)
draw_list->AddLine(ImVec2(x, y), ImVec2(x, y + sz), col, th); x += spacing; // Vertical line (note: drawing a filled rectangle will be faster!)
draw_list->AddLine(ImVec2(x, y), ImVec2(x + sz, y + sz), col, th); x += sz + spacing; // Diagonal line
draw_list->AddBezierCurve(ImVec2(x, y), ImVec2(x + sz*1.3f, y + sz*0.3f), ImVec2(x + sz - sz*1.3f, y + sz - sz*0.3f), ImVec2(x + sz, y + sz), col, th);
x = p.x + 4;
y += sz + spacing;
}
draw_list->AddNgonFilled(ImVec2(x + sz * 0.5f, y + sz * 0.5f), sz*0.5f, col, ngon_sides); x += sz + spacing; // N-gon
draw_list->AddCircleFilled(ImVec2(x + sz*0.5f, y + sz*0.5f), sz*0.5f, col, circle_segments);x += sz + spacing; // Circle
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + sz, y + sz), col); x += sz + spacing; // Square
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + sz, y + sz), col, 10.0f); x += sz + spacing; // Square with all rounded corners
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + sz, y + sz), col, 10.0f, corners_tl_br); x += sz + spacing; // Square with two rounded corners
draw_list->AddTriangleFilled(ImVec2(x+sz*0.5f,y), ImVec2(x+sz, y+sz-0.5f), ImVec2(x, y+sz-0.5f), col); x += sz + spacing; // Triangle
draw_list->AddTriangleFilled(ImVec2(x+sz*0.2f,y), ImVec2(x, y+sz-0.5f), ImVec2(x+sz*0.4f, y+sz-0.5f), col); x += sz*0.4f + spacing; // Thin triangle
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + sz, y + thickness), col); x += sz + spacing; // Horizontal line (faster than AddLine, but only handle integer thickness)
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + thickness, y + sz), col); x += spacing*2.0f; // Vertical line (faster than AddLine, but only handle integer thickness)
draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + 1, y + 1), col); x += sz; // Pixel (faster than AddLine)
draw_list->AddRectFilledMultiColor(ImVec2(x, y), ImVec2(x + sz, y + sz), IM_COL32(0, 0, 0, 255), IM_COL32(255, 0, 0, 255), IM_COL32(255, 255, 0, 255), IM_COL32(0, 255, 0, 255));
ImGui::Dummy(ImVec2((sz + spacing) * 9.8f, (sz + spacing) * 3));
ImGui::PopItemWidth();
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("Canvas"))
{
static ImVector<ImVec2> points;
static bool adding_line = false;
if (ImGui::Button("Clear")) points.clear();
if (points.Size >= 2) { ImGui::SameLine(); if (ImGui::Button("Undo")) { points.pop_back(); points.pop_back(); } }
ImGui::Text("Left-click and drag to add lines,\nRight-click to undo");
// Here we are using InvisibleButton() as a convenience to 1) advance the cursor and 2) allows us to use
// IsItemHovered(). But you can also draw directly and poll mouse/keyboard by yourself.
// You can manipulate the cursor using GetCursorPos() and SetCursorPos().
// If you only use the ImDrawList API, you can notify the owner window of its extends with SetCursorPos(max).
ImVec2 canvas_p = ImGui::GetCursorScreenPos(); // ImDrawList API uses screen coordinates!
ImVec2 canvas_sz = ImGui::GetContentRegionAvail(); // Resize canvas to what's available
if (canvas_sz.x < 50.0f) canvas_sz.x = 50.0f;
if (canvas_sz.y < 50.0f) canvas_sz.y = 50.0f;
draw_list->AddRectFilledMultiColor(canvas_p, ImVec2(canvas_p.x + canvas_sz.x, canvas_p.y + canvas_sz.y), IM_COL32(50, 50, 50, 255), IM_COL32(50, 50, 60, 255), IM_COL32(60, 60, 70, 255), IM_COL32(50, 50, 60, 255));
draw_list->AddRect(canvas_p, ImVec2(canvas_p.x + canvas_sz.x, canvas_p.y + canvas_sz.y), IM_COL32(255, 255, 255, 255));
bool adding_preview = false;
ImGui::InvisibleButton("canvas", canvas_sz);
ImVec2 mouse_pos_global = ImGui::GetIO().MousePos;
ImVec2 mouse_pos_canvas = ImVec2(mouse_pos_global.x - canvas_p.x, mouse_pos_global.y - canvas_p.y);
if (adding_line)
{
adding_preview = true;
points.push_back(mouse_pos_canvas);
if (!ImGui::IsMouseDown(0))
adding_line = adding_preview = false;
}
if (ImGui::IsItemHovered())
{
if (!adding_line && ImGui::IsMouseClicked(0))
{
points.push_back(mouse_pos_canvas);
adding_line = true;
}
if (ImGui::IsMouseClicked(1) && !points.empty())
{
adding_line = adding_preview = false;
points.pop_back();
points.pop_back();
}
}
// Draw all lines in the canvas (with a clipping rectangle so they don't stray out of it).
draw_list->PushClipRect(canvas_p, ImVec2(canvas_p.x + canvas_sz.x, canvas_p.y + canvas_sz.y), true);
for (int i = 0; i < points.Size - 1; i += 2)
draw_list->AddLine(ImVec2(canvas_p.x + points[i].x, canvas_p.y + points[i].y), ImVec2(canvas_p.x + points[i + 1].x, canvas_p.y + points[i + 1].y), IM_COL32(255, 255, 0, 255), 2.0f);
draw_list->PopClipRect();
if (adding_preview)
points.pop_back();
ImGui::EndTabItem();
}
if (ImGui::BeginTabItem("BG/FG draw lists"))
{
static bool draw_bg = true;
static bool draw_fg = true;
ImGui::Checkbox("Draw in Background draw list", &draw_bg);
ImGui::SameLine(); HelpMarker("The Background draw list will be rendered below every Dear ImGui windows.");
ImGui::Checkbox("Draw in Foreground draw list", &draw_fg);
ImGui::SameLine(); HelpMarker("The Foreground draw list will be rendered over every Dear ImGui windows.");
ImVec2 window_pos = ImGui::GetWindowPos();
ImVec2 window_size = ImGui::GetWindowSize();
ImVec2 window_center = ImVec2(window_pos.x + window_size.x * 0.5f, window_pos.y + window_size.y * 0.5f);
if (draw_bg)
ImGui::GetBackgroundDrawList()->AddCircle(window_center, window_size.x * 0.6f, IM_COL32(255, 0, 0, 200), 0, 10 + 4);
if (draw_fg)
ImGui::GetForegroundDrawList()->AddCircle(window_center, window_size.y * 0.6f, IM_COL32(0, 255, 0, 200), 0, 10);
ImGui::EndTabItem();
}
ImGui::EndTabBar();
}
ImGui::End();
}
//-----------------------------------------------------------------------------
// [SECTION] Example App: Documents Handling / ShowExampleAppDocuments()
//-----------------------------------------------------------------------------
// Simplified structure to mimic a Document model
struct MyDocument
{
const char* Name; // Document title
bool Open; // Set when open (we keep an array of all available documents to simplify demo code!)
bool OpenPrev; // Copy of Open from last update.
bool Dirty; // Set when the document has been modified
bool WantClose; // Set when the document
ImVec4 Color; // An arbitrary variable associated to the document
MyDocument(const char* name, bool open = true, const ImVec4& color = ImVec4(1.0f, 1.0f, 1.0f, 1.0f))
{
Name = name;
Open = OpenPrev = open;
Dirty = false;
WantClose = false;
Color = color;
}
void DoOpen() { Open = true; }
void DoQueueClose() { WantClose = true; }
void DoForceClose() { Open = false; Dirty = false; }
void DoSave() { Dirty = false; }
// Display dummy contents for the Document
static void DisplayContents(MyDocument* doc)
{
ImGui::PushID(doc);
ImGui::Text("Document \"%s\"", doc->Name);
ImGui::PushStyleColor(ImGuiCol_Text, doc->Color);
ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.");
ImGui::PopStyleColor();
if (ImGui::Button("Modify", ImVec2(100, 0)))
doc->Dirty = true;
ImGui::SameLine();
if (ImGui::Button("Save", ImVec2(100, 0)))
doc->DoSave();
ImGui::ColorEdit3("color", &doc->Color.x); // Useful to test drag and drop and hold-dragged-to-open-tab behavior.
ImGui::PopID();
}
// Display context menu for the Document
static void DisplayContextMenu(MyDocument* doc)
{
if (!ImGui::BeginPopupContextItem())
return;
char buf[256];
sprintf(buf, "Save %s", doc->Name);
if (ImGui::MenuItem(buf, "CTRL+S", false, doc->Open))
doc->DoSave();
if (ImGui::MenuItem("Close", "CTRL+W", false, doc->Open))
doc->DoQueueClose();
ImGui::EndPopup();
}
};
struct ExampleAppDocuments
{
ImVector<MyDocument> Documents;
ExampleAppDocuments()
{
Documents.push_back(MyDocument("Lettuce", true, ImVec4(0.4f, 0.8f, 0.4f, 1.0f)));
Documents.push_back(MyDocument("Eggplant", true, ImVec4(0.8f, 0.5f, 1.0f, 1.0f)));
Documents.push_back(MyDocument("Carrot", true, ImVec4(1.0f, 0.8f, 0.5f, 1.0f)));
Documents.push_back(MyDocument("Tomato", false, ImVec4(1.0f, 0.3f, 0.4f, 1.0f)));
Documents.push_back(MyDocument("A Rather Long Title", false));
Documents.push_back(MyDocument("Some Document", false));
}
};
// [Optional] Notify the system of Tabs/Windows closure that happened outside the regular tab interface.
// If a tab has been closed programmatically (aka closed from another source such as the Checkbox() in the demo,
// as opposed to clicking on the regular tab closing button) and stops being submitted, it will take a frame for
// the tab bar to notice its absence. During this frame there will be a gap in the tab bar, and if the tab that has
// disappeared was the selected one, the tab bar will report no selected tab during the frame. This will effectively
// give the impression of a flicker for one frame.
// We call SetTabItemClosed() to manually notify the Tab Bar or Docking system of removed tabs to avoid this glitch.
// Note that this completely optional, and only affect tab bars with the ImGuiTabBarFlags_Reorderable flag.
static void NotifyOfDocumentsClosedElsewhere(ExampleAppDocuments& app)
{
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
{
MyDocument* doc = &app.Documents[doc_n];
if (!doc->Open && doc->OpenPrev)
ImGui::SetTabItemClosed(doc->Name);
doc->OpenPrev = doc->Open;
}
}
void ShowExampleAppDocuments(bool* p_open)
{
static ExampleAppDocuments app;
// Options
static bool opt_reorderable = true;
static ImGuiTabBarFlags opt_fitting_flags = ImGuiTabBarFlags_FittingPolicyDefault_;
bool window_contents_visible = ImGui::Begin("Example: Documents", p_open, ImGuiWindowFlags_MenuBar);
if (!window_contents_visible)
{
ImGui::End();
return;
}
// Menu
if (ImGui::BeginMenuBar())
{
if (ImGui::BeginMenu("File"))
{
int open_count = 0;
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
open_count += app.Documents[doc_n].Open ? 1 : 0;
if (ImGui::BeginMenu("Open", open_count < app.Documents.Size))
{
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
{
MyDocument* doc = &app.Documents[doc_n];
if (!doc->Open)
if (ImGui::MenuItem(doc->Name))
doc->DoOpen();
}
ImGui::EndMenu();
}
if (ImGui::MenuItem("Close All Documents", NULL, false, open_count > 0))
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
app.Documents[doc_n].DoQueueClose();
if (ImGui::MenuItem("Exit", "Alt+F4")) {}
ImGui::EndMenu();
}
ImGui::EndMenuBar();
}
// [Debug] List documents with one checkbox for each
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
{
MyDocument* doc = &app.Documents[doc_n];
if (doc_n > 0)
ImGui::SameLine();
ImGui::PushID(doc);
if (ImGui::Checkbox(doc->Name, &doc->Open))
if (!doc->Open)
doc->DoForceClose();
ImGui::PopID();
}
ImGui::Separator();
// Submit Tab Bar and Tabs
{
ImGuiTabBarFlags tab_bar_flags = (opt_fitting_flags) | (opt_reorderable ? ImGuiTabBarFlags_Reorderable : 0);
if (ImGui::BeginTabBar("##tabs", tab_bar_flags))
{
if (opt_reorderable)
NotifyOfDocumentsClosedElsewhere(app);
// [DEBUG] Stress tests
//if ((ImGui::GetFrameCount() % 30) == 0) docs[1].Open ^= 1; // [DEBUG] Automatically show/hide a tab. Test various interactions e.g. dragging with this on.
//if (ImGui::GetIO().KeyCtrl) ImGui::SetTabItemSelected(docs[1].Name); // [DEBUG] Test SetTabItemSelected(), probably not very useful as-is anyway..
// Submit Tabs
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
{
MyDocument* doc = &app.Documents[doc_n];
if (!doc->Open)
continue;
ImGuiTabItemFlags tab_flags = (doc->Dirty ? ImGuiTabItemFlags_UnsavedDocument : 0);
bool visible = ImGui::BeginTabItem(doc->Name, &doc->Open, tab_flags);
// Cancel attempt to close when unsaved add to save queue so we can display a popup.
if (!doc->Open && doc->Dirty)
{
doc->Open = true;
doc->DoQueueClose();
}
MyDocument::DisplayContextMenu(doc);
if (visible)
{
MyDocument::DisplayContents(doc);
ImGui::EndTabItem();
}
}
ImGui::EndTabBar();
}
}
// Update closing queue
static ImVector<MyDocument*> close_queue;
if (close_queue.empty())
{
// Close queue is locked once we started a popup
for (int doc_n = 0; doc_n < app.Documents.Size; doc_n++)
{
MyDocument* doc = &app.Documents[doc_n];
if (doc->WantClose)
{
doc->WantClose = false;
close_queue.push_back(doc);
}
}
}
// Display closing confirmation UI
if (!close_queue.empty())
{
int close_queue_unsaved_documents = 0;
for (int n = 0; n < close_queue.Size; n++)
if (close_queue[n]->Dirty)
close_queue_unsaved_documents++;
if (close_queue_unsaved_documents == 0)
{
// Close documents when all are unsaved
for (int n = 0; n < close_queue.Size; n++)
close_queue[n]->DoForceClose();
close_queue.clear();
}
else
{
if (!ImGui::IsPopupOpen("Save?"))
ImGui::OpenPopup("Save?");
if (ImGui::BeginPopupModal("Save?"))
{
ImGui::Text("Save change to the following items?");
ImGui::SetNextItemWidth(-1.0f);
if (ImGui::ListBoxHeader("##", close_queue_unsaved_documents, 6))
{
for (int n = 0; n < close_queue.Size; n++)
if (close_queue[n]->Dirty)
ImGui::Text("%s", close_queue[n]->Name);
ImGui::ListBoxFooter();
}
if (ImGui::Button("Yes", ImVec2(80, 0)))
{
for (int n = 0; n < close_queue.Size; n++)
{
if (close_queue[n]->Dirty)
close_queue[n]->DoSave();
close_queue[n]->DoForceClose();
}
close_queue.clear();
ImGui::CloseCurrentPopup();
}
ImGui::SameLine();
if (ImGui::Button("No", ImVec2(80, 0)))
{
for (int n = 0; n < close_queue.Size; n++)
close_queue[n]->DoForceClose();
close_queue.clear();
ImGui::CloseCurrentPopup();
}
ImGui::SameLine();
if (ImGui::Button("Cancel", ImVec2(80, 0)))
{
close_queue.clear();
ImGui::CloseCurrentPopup();
}
ImGui::EndPopup();
}
}
}
ImGui::End();
}
// End of Demo code
#else
void ImGui::ShowAboutWindow(bool*) {}
void ImGui::ShowDemoWindow(bool*) {}
void ImGui::ShowUserGuide() {}
void ImGui::ShowStyleEditor(ImGuiStyle*) {}
#endif
#endif // #ifndef IMGUI_DISABLE
| [
"kamilbialy9@gmail.com"
] | kamilbialy9@gmail.com |
700111a466fd0d34598aa9c7869b579a7f55e7de | 6aaf5a89ecce91268c502aa5097a8f41bc354eb2 | /Solide/Code/Framework.h | a5eb39563cb7755e69815d33bb1d6a3683dcfa95 | [] | no_license | Donya-607/Solide | 0d6ab5d4b4a1d05d0a1674fe482a6fcefe407c4a | 8bb4993333502ca0d699be838ab5e01270b1e03e | refs/heads/master | 2021-01-06T11:31:18.438820 | 2020-06-17T10:19:55 | 2020-06-17T10:19:55 | 241,311,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | #pragma once
#include <memory>
#include "Donya/UseImGui.h" // Use for USE_IMGUI macro.
#include "SceneManager.h"
class Framework
{
private:
std::unique_ptr<SceneMng> pSceneMng;
public:
Framework();
~Framework();
Framework( const Framework & ) = delete;
Framework( const Framework && ) = delete;
Framework &operator = ( const Framework & ) = delete;
Framework &operator = ( const Framework && ) = delete;
public:
bool Init();
void Uninit();
void Update( float elapsed_time /* Elapsed seconds from last frame */ );
void Draw( float elapsed_time /* Elapsed seconds from last frame */ );
private:
#if USE_IMGUI
void DebugShowInformation();
#endif // USE_IMGUI
};
| [
"alias"
] | alias |
18144c787c01c7987810aaf9ab44db1d1496cca6 | ca1645f1e3e9cf6a0d25af2c8def42c01f014a5e | /07.12.2018/Source.cpp | ba4e1e053ddfe7d87b10bad139e8d1635e08e2ff | [] | no_license | MeushRoman/07.12.2018 | 0f546b20d62de072c6e4f7b2c9a6783036f2fc01 | 5442b85ae7c583ed2a6e951cc853bbd6f37a2975 | refs/heads/master | 2020-04-10T03:40:18.168473 | 2018-12-07T05:45:26 | 2018-12-07T05:45:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | cpp | #include <map>
#include <iostream>
#include <string>
#include "Human.h"
#include <algorithm>
using namespace std;
typedef multimap<string, string> MyMap;
typedef MyMap::iterator it;
void main() {
setlocale(LC_ALL, "rus");
map<Human , string> mp;
Human h("Vasya", 22, "mele");
Human h2("Lena", 19, "female");
Human h3("los'", 29, "male");
mp.insert(make_pair(h,"+7(747)-473-71-72"));
mp.insert(make_pair(h2,"+7(747)-451-34-24"));
mp.insert(make_pair(h3,"+7(747)-555-21-36"));
for (auto it = mp.begin(); it != mp.end(); it++)
{
it->first.info();
cout << it->second << endl;
}
MyMap mm;
mm.insert(make_pair("haski", "pushistik"));
mm.insert(make_pair("haski", "beglec"));
mm.insert(make_pair("haski", "bobo"));
mm.insert(make_pair("ov4arka", "lora"));
mm.insert(make_pair("4ihyahya", "melkaya"));
int cnt = mm.count("haski");
pair<it, it> p = mm.equal_range("haski");
cout << endl << "Haski: " << endl;
for (auto it = p.first; it != p.second; it++)
{
cout << it->second << " ";
}
cout << endl << "count = " << cnt << endl;
multimap<int, string> st;
st.insert(make_pair(18, "Petya"));
st.insert(make_pair(18, "Vova"));
st.insert(make_pair(19, "Lena"));
st.insert(make_pair(17, "masha"));
st.insert(make_pair(24, "ina"));
st.insert(make_pair(22, "kowka"));
auto s = st.lower_bound(18);
auto s1 = st.lower_bound(20);
for (auto i = s; i != s1; i++)
{
cout << i->first << " " << i->second << endl;
}
system("pause");
} | [
"Меушр@206_6"
] | Меушр@206_6 |
09d55f43d8a1c3118e49044d82d1a9981eb8cace | 7c666a19eefc007802267d14952f813faeae9cf4 | /dibujar.h | 4851af28f8ff3f7ed12d1d7603373cfd16bebce8 | [] | no_license | tpastorini/Modelos-jerarquicos-OpenGL | 5c8afeb069884baad14c1424d9778ef372abf530 | c3e35af8598e37920c32fb1a02bf085a6ae2f3c7 | refs/heads/master | 2021-08-15T22:35:45.442681 | 2017-11-18T12:38:05 | 2017-11-18T12:38:05 | 111,158,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #include <GL/glut.h>
#include <vector>
#include <vertex.h>
void Dibujar_puntos(vector<_vertex3f> vertices, float r, float g, float b);
void Dibujar_ajedrez(vector<_vertex3f> vertices, vector<_vertex3i> triangulos, float r, float g, float b);
void Dibujar_alambre(vector<_vertex3f> vertices, vector<_vertex2i> lados, float r, float g, float b);
void Dibujar_solido(vector<_vertex3f> vertices, vector<_vertex3i> triangulos, float r, float g, float b);
void Dibujar_objeto(char modo, vector<_vertex3f> vertices, vector<_vertex3i> triangulos, vector<_vertex2i> lados, float r, float g, float b);
| [
"noreply@github.com"
] | noreply@github.com |
779ac5da06a35681b50deb40243d59383e61e2c0 | cf400b794aa0f4ffcd00744dc468d77fa13ba150 | /core/include/cylvionpp/card.h | 79c17d0792a7379306c30a1af6c3cf62b5277085 | [
"MIT"
] | permissive | gitter-badger/cylvionpp | 4566519f67e22521c7382d8d63160537c1d7cd74 | 1a534db2381887c314e7fb7cc81b83d758a8b6ff | refs/heads/master | 2021-01-16T18:19:52.828693 | 2016-02-29T12:49:43 | 2016-02-29T12:49:43 | 52,927,671 | 0 | 0 | null | 2016-03-02T02:42:10 | 2016-03-02T02:42:10 | null | UTF-8 | C++ | false | false | 1,729 | h | #ifndef CYLVIONPP_CARD_H
#define CYLVIONPP_CARD_H
#include <memory>
namespace cylvionpp {
namespace core {
class Content;
class Actor;
class Card {
public:
virtual ~Card() = 0;
virtual unsigned GetCost() const = 0;
virtual unsigned GetStrength() const = 0;
virtual unsigned GetVitality() const = 0;
virtual unsigned GetPriority() const = 0;
virtual bool IsCylvan() const = 0;
virtual bool IsRavage() const = 0;
virtual bool IsBlazing() const = 0;
virtual bool IsNone() const = 0;
virtual void SetBlaze() = 0;
static bool OnBeforeMove(std::unique_ptr<Card> && card, Content & content, const Actor & actor);
static bool OnUseWhenReveal(std::unique_ptr<Card> && card, Content & content, const Actor & actor);
static bool OnUseWhenDefend(std::unique_ptr<Card> && card, Content & content, const Actor & actor);
static std::unique_ptr<Card> NewNone();
static std::unique_ptr<Card> NewFountain(unsigned cost, unsigned strength);
static std::unique_ptr<Card> NewTree(unsigned cost, unsigned vitality);
// static std::unique_ptr<Card> NewAnimal(unsigned cost, ...);
static std::unique_ptr<Card> NewElemental(unsigned strength, unsigned enhancedStrength);
static std::unique_ptr<Card> NewBlaze();
static std::unique_ptr<Card> NewSimoon();
private:
virtual bool OnBeforeMove(Content & content, const Actor & actor, std::unique_ptr<Card> && self) = 0;
virtual bool OnUseWhenReveal(Content & content, const Actor & actor, std::unique_ptr<Card> && self) = 0;
virtual bool OnUseWhenDefend(Content & content, const Actor & actor, std::unique_ptr<Card> && self) = 0;
};
} // namespace core
} // namespace cylvionpp
#endif // CYLVIONPP_CARD_H
| [
"cw.ahbong@gmail.com"
] | cw.ahbong@gmail.com |
6c2972a3481444c380e0e786879ce035716bc49f | a754da405bc3d2d2d1d8940d7d277c63bf2b7768 | /geometry/geometry_tests/robust_test.cpp | 04e5f356c2325575945116d29495d98006a0532e | [
"Apache-2.0"
] | permissive | icyleaf/omim | 3a5a4f07890e6ad0155447ed39563a710178ec35 | a1a299eb341603337bf4a22b92518d9575498c97 | refs/heads/master | 2020-12-28T22:53:52.624975 | 2015-10-09T16:30:46 | 2015-10-09T16:30:46 | 43,995,093 | 0 | 0 | Apache-2.0 | 2019-12-12T03:19:59 | 2015-10-10T05:08:38 | C++ | UTF-8 | C++ | false | false | 977 | cpp | #include "testing/testing.hpp"
#include "geometry/robust_orientation.hpp"
typedef m2::PointD P;
namespace
{
template <typename IterT> void CheckSelfIntersections(IterT beg, IterT end, bool res)
{
TEST_EQUAL(m2::robust::CheckPolygonSelfIntersections(beg, end), res, ());
typedef std::reverse_iterator<IterT> ReverseIterT;
TEST_EQUAL(m2::robust::CheckPolygonSelfIntersections(ReverseIterT(end), ReverseIterT(beg)), res, ());
}
}
UNIT_TEST(PolygonSelfIntersections_IntersectSmoke)
{
{
P arr[] = { P(0, 1), P(2, -1), P(2, 1), P(0, -1) };
CheckSelfIntersections(&arr[0], arr + ARRAY_SIZE(arr), true);
}
}
UNIT_TEST(PolygonSelfIntersections_TangentSmoke)
{
{
P arr[] = { P(0, 1), P(1, 0), P(2, 1), P(2, -1), P(1, 0), P(0, -1) };
CheckSelfIntersections(&arr[0], arr + ARRAY_SIZE(arr), false);
}
{
P arr[] = { P(0, 0), P(2, 0), P(2, 1), P(1, 0), P(0, 1) };
CheckSelfIntersections(&arr[0], arr + ARRAY_SIZE(arr), false);
}
}
| [
"alex@maps.me"
] | alex@maps.me |
cd1a72a3edeba669ca662ce370bc25db643ddc1b | 025e194dfb089dbd3ad4b31a467e7cb92da6d12c | /마녀의 집 아이템 및 메뉴 구조 변경/thirdTo4thLoad.cpp | a877a44e36d8087a4390de7867e6a128732ff30d | [] | no_license | R1G4/witch-s-house | 05d65e15074fb968e4b2dfd3ab5eebce6ff683a6 | a81976b2633e2a2338c416fb1106efad07f9938d | refs/heads/master | 2023-03-02T21:55:13.313453 | 2021-02-09T03:01:51 | 2021-02-09T03:01:51 | 332,586,358 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 8,210 | cpp | #include "stdafx.h"
#include "thirdTo4thLoad.h"
thirdTo4thLoad::thirdTo4thLoad()
{
}
thirdTo4thLoad::~thirdTo4thLoad()
{
}
HRESULT thirdTo4thLoad::init()
{
IMAGEMANAGER->AddFrameImage("SavePoint", L"Image/mapTool/saveCat.png", 16, 4);
CAMERAMANAGER->setConfig(0, 0, TILESIZEX, TILESIZEY, 0, 0, TILESIZEX, TILESIZEY);
_player = new Player;
load();
_player->init();
_player->setState(CHR_IDLE);
_player->setDirec(CHRDIREC_DOWN);
camera.x = _player->getPlayerLocX();
camera.y = _player->getPlayerLocY();
CAMERAMANAGER->setCamera(camera);
_count = 0;
_frame = 0;
_candleFrame = 0;
_eyesFrameX = 0;
_eyesFrameY = 0;
_moveSword = false;
return S_OK;
}
void thirdTo4thLoad::release()
{
}
void thirdTo4thLoad::update()
{
_count++;
if (_count % 8 == 0)
{
_frame++;
_candleFrame++;
_eyesFrameX++;
_eyesFrameY++;
if (_frame > 15) _frame = 0;
if (_candleFrame >= 3) _candleFrame = 0;
if (_eyesFrameX > 2)
{
_eyesFrameX = 0;
}
if (_eyesFrameY > 3)
{
_eyesFrameY = 0;
}
}
camera.x = _player->getPlayerLocX();
camera.y = _player->getPlayerLocY();
CAMERAMANAGER->setCamera(Vector2(camera.x - WINSIZEX / 2, camera.y - WINSIZEY / 2));
_player->update();
tileCollision();
trigger();
changeScene();
//if (_count % 10 == 0) cout << _player->getPlayerFrc().right / TILESIZE << endl;
}
void thirdTo4thLoad::render()
{
CAMERAMANAGER->render(_backGround, Vector2(_backGround->GetSize().x / 2 + 480, _backGround->GetSize().y / 2));
for (int i = 0; i < TILEY; i++)
{
for (int j = 0; j < TILEX; j++)
{
if (KEYMANAGER->isToggleKey(VK_TAB))
{
CAMERAMANAGER->renderRc(_tiles[i*TILEX + j].rc, D2D1::ColorF::White, 1, 1);
if (_tiles[i*TILEX + j].isCollider)
{
CAMERAMANAGER->renderFillRc(_tiles[i*TILEX + j].rc, D2D1::ColorF::Red, 0.4);
}
if (_tiles[i*TILEX + j].terrain == TR_TRIGGER)CAMERAMANAGER->renderFillRc(_tiles[i*TILEX + j].rc, D2D1::ColorF::Aqua, 0.5);
}
}
}
//Z-order 벡터에 데이터를 넣어주는 과정
//플레이어와 에너미의 경우 각 객체의 랜더함수를 호출할 것이므로 z-order비교를 위한 y값과 타입값만 넣어주면 충분
ZORDER->insert(_player->getPlayerFrc().left, _player->getPlayerFrc().top, ZPLAYER);
//오브젝트를 넣어주는 과정
//오브젝트의 경우 랜딩을 해줘야하므로 이미지를 넣어주거나 키값을 넣어주는게 맞음
//특정 트리거로 예외처리를 해야한다면, 이미지를 바로 넣기보다는 키값을 넣어주는 방식을 사용하는게 좋아보임
//오브젝트중 검은 타일까지 넣게되면 프로그램이 느려져서 제외하기로함
for (int i = 0; i < TILEX*TILEY; i++)
{
if (_tiles[i].obj != OBJ_NONE)
{
//if (_tiles[i].keyName == "obj5" || _tiles[i].keyName == "obj9")
ZORDER->insert(_tiles[i].rc.left, _tiles[i].rc.top, IMAGEMANAGER->FindImage(_tiles[i].keyName), ZOBJECT);
}
}
//정렬된 순서대로 랜딩
//각 인덱스의 타입을 확인하여 타입에 따라 이미지를 랜딩하도록 설계함
//이 부분에서 FrameInfoManager가 잘 돌아가게 될지는 모르겠음 적용필요
for (int i = 0; i < ZORDER->getZorder().size(); i++)
{
if (ZORDER->getZorder()[i].type == ZPLAYER)_player->render();
if (ZORDER->getZorder()[i].type == ZOBJECT)
{
CAMERAMANAGER->render(ZORDER->getZorder()[i].img,
Vector2(ZORDER->getZorder()[i].x + TILESIZE / 2, ZORDER->getZorder()[i].y + 48 - ZORDER->getZorder()[i].img->GetSize().y / 2));
//19,32
/*if (_player->getPlayerFrc().right / TILESIZE >= 19)
{
IMAGEMANAGER->FindImage(ZORDER->getZorder()[i].keyName)->SetAlpha(1);
ZORDER->getZorder()[i].keyName = "061";
}
else
{
IMAGEMANAGER->FindImage(ZORDER->getZorder()[i].keyName)->SetAlpha(0);
}*/
}
if (ZORDER->getZorder()[i].type == ZFRAMEOBJ)
{
CAMERAMANAGER->render(ZORDER->getZorder()[i].img,
Vector2(ZORDER->getZorder()[i].x + TILESIZE / 2, ZORDER->getZorder()[i].y + 48 - ZORDER->getZorder()[i].img->GetSize().y / 2));
}
}
//zorder 벡터를 초기화해줌 안하면 느려짐
ZORDER->release();
//_player->render();
//CAMERAMANAGER->FrameRender(IMAGEMANAGER->FindImage("SavePoint"), Vector2(920, 1680), _frame, 2);
//오브젝트 랜더
//for (int i = 0; i < TILEY; i++)
//{
// for (int j = 0; j < TILEX; j++)
// {
// if (_tiles[i*TILEX + j].obj == OBJ_NONE)continue;
// //IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName)->SetAlpha(0.5);
// CAMERAMANAGER->render(IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName),
// Vector2(_tiles[i*TILEX + j].rc.left + TILESIZE / 2, _tiles[i*TILEX + j].rc.top));
// }
//}
////프레임이미지 랜더
//for (int i = 0; i < TILEY; i++)
//{
// for (int j = 0; j < TILEX; j++)
// {
// if (_tiles[i*TILEX + j].attribute == NONE)continue;
// if (_tiles[i*TILEX + j].attribute == PLAYER)continue;
// if (_tiles[i*TILEX + j].attribute == OBJ)
// {
// CAMERAMANAGER->FrameRender(IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName),
// Vector2(_tiles[i*TILEX + j].rc.left + TILESIZE / 2, _tiles[i*TILEX + j].rc.top), _candleFrame, 0);
// }
// if (_tiles[i*TILEX + j].attribute == ENEMY)
// {
// CAMERAMANAGER->FrameRender(IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName),
// Vector2(_tiles[i*TILEX + j].rc.left + TILESIZE / 2, _tiles[i*TILEX + j].rc.top), _eyesFrameX, _eyesFrameY);
// //눈알 에너미 이미지가 트리거 발동전에는 안보이다가 발동하면 이미지 보이게
// if (_player->getPlayerFrc().bottom / TILESIZE >= 22)
// {
// IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName)->SetAlpha(1);
// }
// else
// {
// IMAGEMANAGER->FindImage(_tiles[i*TILEX + j].keyName)->SetAlpha(0);
// }
// }
// }
//}
}
void thirdTo4thLoad::changeScene()
{
//4층홀로 이동
if (_player->getPlayerFrc().top / TILESIZE <= 6.2f
&&(_player->getPlayerFrc().right / TILESIZE >= 36 && _player->getPlayerFrc().right / TILESIZE <= 37))
{
SCENEMANAGER->changeScene("4층홀");
}
}
void thirdTo4thLoad::trigger()
{
for (int i = 0; i < (TILEX * TILEY); ++i)
{
//플레이어의 타일 인덱스의 바텀이 10보다 커지면 sword 트리거 on
if (_player->getPlayerFrc().bottom / TILESIZE >= 10)
{
_moveSword = true;
}
//플레이어의 타일 인덱스의 바텀이 22보다 커지면 eyes 트리거 on
if (_player->getPlayerFrc().bottom / TILESIZE >= 22)
{
_moveEyes = true;
}
if (_moveSword)
{
if (_tiles[i].terrain == TR_TRIGGER && _tiles[i].obj == OBJ_LOOK)
{
_tiles[i].rc.bottom -= 10;
_tiles[i].rc.top -= 10;
}
}
if (_moveEyes)
{
if (_tiles[i].terrain == TR_TRIGGER && _tiles[i].attribute == ENEMY)
{
_tiles[i].rc.bottom += 13;
_tiles[i].rc.top += 13;
}
}
}
}
void thirdTo4thLoad::tileCollision()
{
for (int i = 0; i < TILEY; i++)
{
for (int j = 0; j < TILEX; j++)
{
if (IntersectRectToRect(&_player->getPlayerFrc(), &_tiles[i*TILEX + j].rc) && _tiles[i*TILEX + j].isCollider)
{
switch (_player->getPdirec())
{
case CHRDIREC_DOWN:
_player->setPLocaY(_tiles[i*TILEX + j].rc.top - TILESIZE / 4 * 3);
break;
case CHRDIREC_LEFT:
_player->setPLocaX(_tiles[i*TILEX + j].rc.right + 4);
break;
case CHRDIREC_RIGHT:
_player->setPLocaX(_tiles[i*TILEX + j].rc.left - TILESIZE / 4 * 3);
break;
case CHRDIREC_UP:
_player->setPLocaY(_tiles[i*TILEX + j].rc.bottom + 4);
break;
}
}
}
}
}
void thirdTo4thLoad::load()
{
HANDLE file;
DWORD read;
file = CreateFile("Stage/3f_to_4f.map", GENERIC_READ, NULL, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
ReadFile(file, _tiles, sizeof(tagTile) * TILEX * TILEY, &read, NULL);
camera = _tiles->camera;
_backGround = IMAGEMANAGER->FindImage(_tiles->backGroundName);
cout << _tiles->camera.x;
for (int i = 0; i < TILEX*TILEY; i++)
{
if (_tiles[i].attribute == PLAYER)
{
_player->setStart(i%TILEX, i / TILEX);
break;
}
/*if (_tiles[i].attribute == ENEMY)
{
bossLocX = i % TILEX;
bossLocY = i / TILEX;
}*/
if (_tiles[i].attribute == OBJ)
{
}
}
CloseHandle(file);
} | [
"id4dk@naver.com"
] | id4dk@naver.com |
4a5f62021bd9dfcb11f163ddd097e4b90d8d9566 | b67453484514ebeae4e35d952ee5697903f2486e | /c++/Chapter_6/6_10.cc | 7bb46eb9c020cd9a8007464159aab899848c8c50 | [] | no_license | SearchTheTruth/LinuxOpenNote | 1960cec520670e6d4b45ac185dccd691a302c67e | 8238a2c88cd1eaff7723514ba3d910a39fe8c2ed | refs/heads/master | 2022-05-08T19:42:52.217059 | 2022-03-22T12:53:00 | 2022-03-22T12:53:00 | 134,676,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cc | #include <iostream>
using std::cout;
using std::cin;
using std::endl;
void change(int *a, int *b)
{
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}
int main()
{
int a, b;
cin >> a >> b;
cout << a << " " << b << endl;
change(&a, &b);
cout << a << " " << b << endl;
return 0;
}
| [
"jiangh_work@163.com"
] | jiangh_work@163.com |
9668d84087d2b26916df3c6726c5e65e4691d9d0 | d939ea588d1b215261b92013e050993b21651f9a | /monitor/src/v20180724/model/UpdateServiceDiscoveryResponse.cpp | 3d51672c212eea585e44fc51cb5f68c036a5d7ef | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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.
*/
#include <tencentcloud/monitor/v20180724/model/UpdateServiceDiscoveryResponse.h>
#include <tencentcloud/core/utils/rapidjson/document.h>
#include <tencentcloud/core/utils/rapidjson/writer.h>
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h>
using TencentCloud::CoreInternalOutcome;
using namespace TencentCloud::Monitor::V20180724::Model;
using namespace rapidjson;
using namespace std;
UpdateServiceDiscoveryResponse::UpdateServiceDiscoveryResponse() :
m_serviceDiscoveryHasBeenSet(false)
{
}
CoreInternalOutcome UpdateServiceDiscoveryResponse::Deserialize(const string &payload)
{
Document d;
d.Parse(payload.c_str());
if (d.HasParseError() || !d.IsObject())
{
return CoreInternalOutcome(Error("response not json format"));
}
if (!d.HasMember("Response") || !d["Response"].IsObject())
{
return CoreInternalOutcome(Error("response `Response` is null or not object"));
}
Value &rsp = d["Response"];
if (!rsp.HasMember("RequestId") || !rsp["RequestId"].IsString())
{
return CoreInternalOutcome(Error("response `Response.RequestId` is null or not string"));
}
string requestId(rsp["RequestId"].GetString());
SetRequestId(requestId);
if (rsp.HasMember("Error"))
{
if (!rsp["Error"].IsObject() ||
!rsp["Error"].HasMember("Code") || !rsp["Error"]["Code"].IsString() ||
!rsp["Error"].HasMember("Message") || !rsp["Error"]["Message"].IsString())
{
return CoreInternalOutcome(Error("response `Response.Error` format error").SetRequestId(requestId));
}
string errorCode(rsp["Error"]["Code"].GetString());
string errorMsg(rsp["Error"]["Message"].GetString());
return CoreInternalOutcome(Error(errorCode, errorMsg).SetRequestId(requestId));
}
if (rsp.HasMember("ServiceDiscovery") && !rsp["ServiceDiscovery"].IsNull())
{
if (!rsp["ServiceDiscovery"].IsObject())
{
return CoreInternalOutcome(Error("response `ServiceDiscovery` is not object type").SetRequestId(requestId));
}
CoreInternalOutcome outcome = m_serviceDiscovery.Deserialize(rsp["ServiceDiscovery"]);
if (!outcome.IsSuccess())
{
outcome.GetError().SetRequestId(requestId);
return outcome;
}
m_serviceDiscoveryHasBeenSet = true;
}
return CoreInternalOutcome(true);
}
ServiceDiscoveryItem UpdateServiceDiscoveryResponse::GetServiceDiscovery() const
{
return m_serviceDiscovery;
}
bool UpdateServiceDiscoveryResponse::ServiceDiscoveryHasBeenSet() const
{
return m_serviceDiscoveryHasBeenSet;
}
| [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
329dd8c12d1f6087c1ce907abdae07e1f4d447c0 | 9e5979f0336e6b8432b0f4c23f7b9145d863a2d5 | /Tree/Inorder Traversal.cpp | bcb78fbc2f6b11aa5fe1738d19eea148258ff231 | [] | no_license | akarshjoice/Competitive-Coding | fc179ae37c02090c8e3d258d4b306679947e1da6 | d705d366df7c0fae40562987ad75820a46b71e09 | refs/heads/main | 2023-06-10T04:39:07.834888 | 2021-06-16T02:51:11 | 2021-06-16T02:51:11 | 330,808,538 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,551 | cpp | // Question:
/*
Given a Binary Tree, find the In-Order Traversal of it.
Example 1:
Input:
1
/ \
3 2
Output: 3 1 2
Example 2:
Input:
10
/ \
20 30
/ \ /
40 60 50
Output: 40 20 60 10 50 30
Your Task:
You don't need to read input or print anything. Your task is to complete the function inOrder() that takes root node of the tree as input and returns a list containing the In-Order Traversal of the given Binary Tree.
Expected Time Complexity: O(N).
Expected Auxiliary Space: O(N).
Constraints:
1 <= Number of nodes <= 105
1 <= Data of a node <= 105
*/
// Code:
// { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
// Tree Node
struct Node {
int data;
Node *left;
Node *right;
Node(int val) {
data = val;
left = right = NULL;
}
};
vector<int> inOrder(struct Node *root);
// Function to Build Tree
Node* buildTree(string str)
{
// Corner Case
if(str.length() == 0 || str[0] == 'N')
return NULL;
// Creating vector of strings from input
// string after spliting by space
vector<string> ip;
istringstream iss(str);
for(string str; iss >> str; )
ip.push_back(str);
// Create the root of the tree
Node* root = new Node(stoi(ip[0]));
// Push the root to the queue
queue<Node*> queue;
queue.push(root);
// Starting from the second element
int i = 1;
while(!queue.empty() && i < ip.size()) {
// Get and remove the front of the queue
Node* currNode = queue.front();
queue.pop();
// Get the current node's value from the string
string currVal = ip[i];
// If the left child is not null
if(currVal != "N") {
// Create the left child for the current node
currNode->left = new Node(stoi(currVal));
// Push it to the queue
queue.push(currNode->left);
}
// For the right child
i++;
if(i >= ip.size())
break;
currVal = ip[i];
// If the right child is not null
if(currVal != "N") {
// Create the right child for the current node
currNode->right = new Node(stoi(currVal));
// Push it to the queue
queue.push(currNode->right);
}
i++;
}
return root;
}
int main() {
int t;
string tc;
getline(cin,tc);
t=stoi(tc);
while(t--)
{
string s;
getline(cin,s);
Node* root = buildTree(s);
vector <int> res = inOrder(root);
for (int i = 0; i < res.size (); i++)
cout << res[i] << " ";
cout << endl;
}
return 0;
}
// } Driver Code Ends
/* A binary tree node has data, pointer to left child
and a pointer to right child
struct Node {
int data;
Node *left;
Node *right;
Node(int val) {
data = val;
left = right = NULL;
}
}; */
void inorder1(Node *root, vector<int> &a)
{
if(root == NULL) {
return;
}
inorder1(root->left, a);
a.push_back(root->data);
inorder1(root->right, a);
}
// Return a vector containing the inorder traversal of the tree
vector<int> inOrder(Node* root)
{
vector<int> a;
if(root == NULL) {
return a;
}
inorder1(root, a);
return a;
} | [
"noreply@github.com"
] | noreply@github.com |
bcf029685ab2aa45c46f02d5ea86ba7a209a7563 | eec63771331ca2c820b2760bd4a286476d5e19b1 | /exemple3/mainwindow.cpp | 282cf5352d1d5f54a5bfc4b53939e8b8abe009df | [] | no_license | Amor-Fairouz/ExempleQTRIB | 1bca6755759c5a40cdfa65b847b3a7efb3256a6d | 56deabafac16111ceaa2ae091316e689633465f1 | refs/heads/master | 2021-01-12T15:40:33.489437 | 2016-10-25T01:10:14 | 2016-10-25T01:10:14 | 71,846,130 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,754 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->bankView->setModel(tmpCp.afficherCompte());
on_courantRB_clicked();
ui->RechercheView->hide();
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_epargneRB_clicked()
{
ui->interetLB->setVisible(true);
ui->interetLE->setVisible(true);
}
void MainWindow::on_courantRB_clicked()
{
ui->interetLB->setVisible(false);
ui->interetLE->setVisible(false);
}
void MainWindow::on_ajoutPB_clicked()
{
int rib = ui->ribLE->text().toInt();
QString nom= ui->nomLE->text();
float solde = ui->montantLE->text().toFloat();
Compte*cp = new Compte(rib,nom,solde);
if (cp->ajoutCompte(cp))
QMessageBox::information(0, qApp->tr("Ajout"),
qApp->tr("Un nouveau compte a été ajouté"), QMessageBox::Ok);
else
QMessageBox::critical(0, qApp->tr("Ajout"),
qApp->tr("Probléme d'ajout"), QMessageBox::Cancel);
ui->bankView->setModel(tmpCp.afficherCompte());
}
void MainWindow::on_rechercherPB_clicked()
{
int rib =ui->ribRechLE->text().toInt();
QSqlQueryModel *model =tmpCp.rechercherCompte(rib);
int ribRech = model->data(model->index(0, 0)).toInt();
if(rib == ribRech)
{
ui->RechercheView->show();
ui->RechercheView->setModel(model);
}
else
{
QMessageBox::critical(0, qApp->tr("Recherche"),
qApp->tr("Compte non trouvé"), QMessageBox::Ok);
ui->RechercheView->hide();
}
}
void MainWindow::on_supprimerPB_clicked()
{
int rib =ui->ribSupLE->text().toInt();
QSqlQueryModel *model =tmpCp.rechercherCompte(rib);
int ribRech = model->data(model->index(0, 0)).toInt();
if(rib == ribRech)
{
QString str = " Vous voulez vraiment supprimer \n le compte ayant le RIB :"+ ui->ribSupLE->text();
int ret = QMessageBox::question(this, tr("ATB"),str,QMessageBox::Ok|QMessageBox::Cancel);
switch (ret) {
case QMessageBox::Ok:
if (tmpCp.supprimerCompte(rib))
QMessageBox ::information(0, qApp->tr("Suppression"),
qApp->tr("Le compte a été supprimé"), QMessageBox::Ok);
ui->bankView->setModel(tmpCp.afficherCompte());
break;
case QMessageBox::Cancel:
break;
default:
// should never be reached
break;
}
}
else
{
QMessageBox::critical(0, qApp->tr("Suppression"),
qApp->tr("Compte non trouvé"), QMessageBox::Cancel);
}
}
| [
"fairouz.amor@esprit.tn"
] | fairouz.amor@esprit.tn |
acb301ad646df43a93ff36403eef2585f868a500 | ddd80bc1939f9e51ab1fd0b883767572fbd5d3b4 | /WEEK 6/tree_13.cpp | ea050a827072b3bda6ffa2bd5af6eb1b1d5adfc2 | [] | no_license | preksha121/IPMP | e03c75e5a142557fbd4e05eb31fad4c4532f5c5d | 1b07371bbc9a15f24f2324b89dca3a40d3e2257b | refs/heads/main | 2023-06-05T16:19:05.758340 | 2021-06-25T18:15:03 | 2021-06-25T18:15:03 | 352,301,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | void findDiff(Node* root, int &diff, int level)
{
if (root == nullptr) {
return;
}
if (level & 1) {
diff += root->data;
}
else {
diff -= root->data;
}
findDiff(root->left, diff, level + 1);
findDiff(root->right, diff, level + 1);
} | [
"noreply@github.com"
] | noreply@github.com |
227aee1b744e9852fe1abb400b6eec4b6927c9dc | ccab3fe8166ec2e56564f406e75a00289fb7edac | /libevert/src/elPathSolution.cc | ad34cf27d6716196415e1955334f6ae9e05ea3df | [] | no_license | mgeier/evertims | c03f78e47e47fe5943150fc2d2fb51f19e43942a | e3a6cf1f1ad9215d8fc629f734b271b9b4e8e3dc | refs/heads/master | 2020-12-24T12:32:13.984808 | 2016-10-10T22:13:37 | 2016-10-10T22:13:37 | 72,987,996 | 0 | 0 | null | 2016-11-06T12:05:09 | 2016-11-06T12:05:09 | null | UTF-8 | C++ | false | false | 18,297 | cc | /*************************************************************************
*
* This file is part of the EVERT beam-tracing Library
* It is released under the MIT License. You should have received a
* copy of the MIT License along with EVERTims. If not, see
* http://www.opensource.org/licenses/mit-license.php
*
* 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.
*
* For details, see the LICENSE file
*
* (C) 2004-2005 Samuli Laine
* Helsinki University of Technology
*
* (C) 2008-2015 Markus Noisternig
* IRCAM-CNRS-UPMC UMR9912 STMS
*
************************************************************************/
#include "elPathSolution.h"
#include "elBeam.h"
#include "elBSP.h"
#include "elListener.h"
#include "elRay.h"
#include "elRoom.h"
#include "elSource.h"
#ifdef __Darwin
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include <cstdio>
#define printf // Comment to add debug logs
using namespace EL;
//------------------------------------------------------------------------
// static const float EPS_SIMILAR_PATHS = 0.00001f;
// static const float EPS_DEGENERATE_POLYGON_AREA = 0.0001f;
static const float EPS_SIMILAR_PATHS = 1.0e-5;
static const float EPS_DEGENERATE_POLYGON_AREA = 1.0e-8;
//static const float EPS_SIMILAR_PATHS = 0.00000000001f;
//static const float EPS_DEGENERATE_POLYGON_AREA = 0.000000000001f;
static const int DISTANCE_SKIP_BUCKET_SIZE = 16;
//------------------------------------------------------------------------
struct PathSolution::SolutionNode
{
public:
int m_parent;
const Polygon* m_polygon;
};
//------------------------------------------------------------------------
void PathSolution::renderPath(const Path& path) const
{
glPushAttrib(GL_ALL_ATTRIB_BITS);
float width = 2.f*(m_maximumOrder-path.m_order+1.f);
float alpha = ((float)m_maximumOrder-path.m_order+4)/(m_maximumOrder+4);
// std::cerr << "Drawing path: width = " << width << ", alpha = " << alpha << std::endl;
glLineWidth(width);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor4f(1.f, 1.f, 0.f, alpha);
glBegin(GL_LINE_STRIP);
for( int i=0; i < (int)path.m_points.size(); i++ )
{
glVertex3fv(&path.m_points[i].x);
}
glEnd();
glPointSize(width*2.f);
glColor4f(1.f, 1.f, 1.f, alpha*2);
glEnable(GL_POINT_SMOOTH);
glDepthMask(GL_FALSE);
glBegin(GL_POINTS);
for( int i=0; i < (int)path.m_points.size(); i++ )
{
glVertex3fv(&path.m_points[i].x);
}
glEnd();
glPopAttrib();
}
//------------------------------------------------------------------------
PathSolution::PathSolution(const Room& room, const Source& source, const Listener& listener, int maximumOrder, bool changed):
m_room (room),
m_source (source),
m_listener (listener),
m_maximumOrder (maximumOrder),
m_changed (changed)
{
m_polygonCache.resize(maximumOrder);
m_validateCache.resize(maximumOrder*2);
}
PathSolution::~PathSolution(void) {}
//------------------------------------------------------------------------
void PathSolution::clearCache(void)
{
m_solutionNodes.clear();
m_failPlanes.clear();
}
//------------------------------------------------------------------------
void PathSolution::solve(void)
{
Vector3 source = m_source.getPosition();
Vector3 target = m_listener.getPosition();
clearCache();
// Create an empty root node
SolutionNode root;
root.m_polygon = 0;
root.m_parent = -1;
m_solutionNodes.push_back(root);
// Do the recursive solving from scratch
solveRecursive(source, target, Beam(), 0, 0);
if( stop_signal )
{
printf ("Killed solution calculation\n");
return;
}
//printf ("Calculated full solution\n");
// Record the current source
m_cachedSource = source;
EL_ASSERT(m_solutionNodes.size() == m_failPlanes.size());
// Initialize the buckets
int numBuckets = (m_solutionNodes.size() + DISTANCE_SKIP_BUCKET_SIZE - 1) / DISTANCE_SKIP_BUCKET_SIZE;
m_distanceSkipCache.resize(numBuckets);
for( int i=0; i < numBuckets; i++ )
{
m_distanceSkipCache[i].set(0,0,0,0);
}
}
void PathSolution::update(void)
{
//printf ("Solution Update\n");
int numProc = 0;
int numTested = 0;
Vector3 source = m_source.getPosition();
Vector3 target = m_listener.getPosition();
// Clear all paths
m_paths.clear();
// If we do not have any previous solution or the source has moved
if( !m_solutionNodes.size() || m_cachedSource != source )
{
if( m_cachedSource != source )
{
printf ("Source changed! You should solve() instead of update()\n");
}
if( ! m_solutionNodes.size () )
{
printf ("No solution! You should solve() instead of update()\n");
}
return;
}
// Number of solution nodes
int n = m_solutionNodes.size();
// Number of buckets
int nb = (m_solutionNodes.size() + DISTANCE_SKIP_BUCKET_SIZE - 1) / DISTANCE_SKIP_BUCKET_SIZE;
// Take the first bucket skip sphere
const Vector4* skipSphere = &m_distanceSkipCache[0];
// Do for each bucket
for( int b=0; b < nb; b++ )
{
// Test if the listener is inside the skip sphere
// skip the rest of the tests if it is
const Vector4& fc = *skipSphere++;
Vector3 r = target - Vector3(fc.x, fc.y, fc.z);
if( r.lengthSqr() < fc.w ){ continue; }
// Initialize the skip sphere radius to zero
float maxdot = 0.f;
numProc++;
// Go through the nodes in the bucket
int imn = b * DISTANCE_SKIP_BUCKET_SIZE;
int imx = imn + DISTANCE_SKIP_BUCKET_SIZE;
if( imx > n ){ imx = n; }
for( int i=imn; i < imx; i++ )
{
// Calculate the distance from the listener to the fail plane
float d = dot(target, m_failPlanes[i]);
// If the distance is positive or zero, the path is inside the
// beam and must be validated for occlusion
if( d >= 0.f )
{
validatePath(source, target, i, m_failPlanes[i]);
numTested++;
}
// Record the maximum distance
if( i == imn || d > maxdot ){ maxdot = d; }
}
// If all paths were on the wrong side of the fail planes, the skip sphere
// can be set to be the distance to the nearest fail plane
// Note: max (-x) = - min (x)
if( maxdot < 0.f )
{
m_distanceSkipCache[b].set(target.x, target.y, target.z, maxdot*maxdot);
}
}
m_pathFirstSet.clear();
/*
printf("paths: %d (proc %d = %.2f %%, tested %d, valid %d)\n",
m_solutionNodes.size(), numProc * DISTANCE_SKIP_BUCKET_SIZE,
(float)numProc/nb*100.f, numTested, m_paths.size());
*/
}
Vector4 PathSolution::getFailPlane(const Beam& beam, const Vector3& target)
{
// Go through all the planes defining the beam
// Find the plane whose distance to the listaner is smallest
// The beams are convex so this gives the correct plane
Vector4 failPlane(0.f, 0.f, 0.f, 1.f);
if( beam.numPleqs() > 0 ){ failPlane = beam.getPleq(0); }
for( int i=1; i < beam.numPleqs(); i++ )
{
if( dot(target, beam.getPleq(i)) < dot(target, failPlane) )
{
failPlane = beam.getPleq(i);
}
}
return failPlane;
}
void PathSolution::validatePath(const Vector3& source,
const Vector3& target,
int nodeIndex,
Vector4& failPlane)
{
// Collect polygons in the path from this node to the root
int order = 0;
while( nodeIndex )
{
m_polygonCache[order++] = m_solutionNodes[nodeIndex].m_polygon;
nodeIndex = m_solutionNodes[nodeIndex].m_parent;
}
// Reconstruct image source for this level
Vector3 imgSource = source;
for( int i=order-1; i >= 0; i-- )
{
imgSource = mirror(imgSource, m_polygonCache[i]->getPleq());
}
// Test for polygon miss and failed reflection
// Record miss type and order
Vector3 s = imgSource;
Vector3 t = target;
bool missed = false;
int missOrder = -1;
const Polygon* missPoly = 0;
Ray missRay(Vector3(0,0,0), Vector3(0,0,0));
bool missSide = false;
for( int i=0; i < order; i++ )
{
const Polygon* poly = m_polygonCache[i];
const Vector4& pleq = poly->getPleq();
Ray ray(s, t);
// On the same side of the polygon?
if( dot(s, pleq) * dot(t, pleq) > 0.f )
{
missed = true;
missSide = true;
missOrder = i;
missPoly = poly;
missRay = ray;
break;
}
// Not intersecting the polygon?
if( !ray.intersectExt(*poly) )
{
missed = true;
missSide = false;
missOrder = i;
missPoly = poly;
missRay = ray;
break;
}
// Next image source
Vector3 isect = intersect(ray, pleq);
s = mirror(s, pleq);
t = isect;
// Record intersection points and images sources
m_validateCache[i*2] = isect;
m_validateCache[i*2+1] = s;
}
// Path missed a polygon?
if( missed )
{
Vector4 missPlane(0.f, 0.f, 0.f, 0.f);
if( missSide )
{
// The target and the image source were on the same side of
// the polygon so reconstruct the fail plane from its plane
// equation; make sure it is facing away
missPlane = missPoly->getPleq();
if( dot(missRay.m_a, missPlane) > 0.f ){ missPlane = -missPlane; }
}
else
{
// The ray from the target to the image source did not hit the
// polygon so reconstruct the fail plane from the missed polygon
// edge and the image source; the nearest plane to the target is
// the correct fail plane
Beam beam(missRay.m_a, *missPoly);
missPlane = beam.getPleq(1);
for (int i=2; i < beam.numPleqs(); i++)
{
if( dot(missRay.m_b, beam.getPleq(i)) < dot(missRay.m_b, missPlane) )
{
missPlane = beam.getPleq(i);
}
}
}
// Mirror the fail plane according to the remaining polygons in the path
for( int i=missOrder-1; i >= 0; i-- )
{
missPlane = mirror(missPlane, m_polygonCache[i]->getPleq());
}
// Because of numerical inaccuracies, we may end up on wrong side
if( dot(target, missPlane) > 0.f )
{
// Reconstruct beam for robust fail plane construction
Beam beam;
imgSource = source;
for( int i=order-1; i >= 0; i-- )
{
Polygon poly = *m_polygonCache[i];
poly.clip(beam);
imgSource = mirror(imgSource, poly.getPleq());
beam = Beam(imgSource, poly);
}
// Update the fail plane
missPlane = getFailPlane(beam, target);
}
// Done, normalize to be sure
failPlane = normalize(missPlane);
return;
}
// Test for occlusion
// Go through the path segments with a fast ray tracer
t = target;
for( int i=0; i < order; i++ )
{
Vector3 isect = m_validateCache[i*2];
if( m_room.getBSP().rayCastAny(Ray(isect, t)) ){ return; }
t = isect;
}
if( m_room.getBSP().rayCastAny(Ray(source, t)) ){ return; }
// Validated, add to results
Path path;
path.m_order = order;
path.m_points.resize(order+2);
path.m_polygons.resize(order);
t = target;
for( int i=0; i < order; i++ )
{
path.m_points[order-i+1] = t;
path.m_polygons[order-i-1] = m_polygonCache[i];
t = m_validateCache[i*2];
}
path.m_points[0] = source;
path.m_points[1] = t;
// Finally remove similar paths to dodge bad geometry
float fval = dot(path.m_points[1], Vector3(1.f, 1.f, 1.f));
float fmin = fval - 2.f*EPS_SIMILAR_PATHS;
float fmax = fval + 2.f*EPS_SIMILAR_PATHS;
for( std::multimap<float, int>::const_iterator it = m_pathFirstSet.upper_bound(fmin); it != m_pathFirstSet.end() && it->first <= fmax; ++it )
{
int i = it->second;
const Path& p = m_paths[i];
if (p.m_order != order){ continue; }
bool safe = false;
for( int j=1; j < (int)p.m_points.size()-1; j++ )
{
if( (p.m_points[j] - path.m_points[j]).lengthSqr() > EPS_SIMILAR_PATHS * EPS_SIMILAR_PATHS )
{
safe = true;
break;
}
}
if( !safe ){ return; }
}
m_pathFirstSet.insert(std::pair<float,int>(fval, m_paths.size()));
m_paths.push_back(path);
}
void PathSolution::solveRecursive(const Vector3& source,
const Vector3& target,
const Beam& beam,
int order,
int parentIndex)
{
/*
if (order == 0)
{
printf ("solveRecursive () IN\n");
}
*/
// Forced stop
if( stop_signal )
{
printf ("Stop signal catch 1\n");
return;
}
// Start with the optimal fail plane
m_failPlanes.push_back(getFailPlane(beam, target));
// Recursion max depth reached?
if( order >= m_maximumOrder ){ return; }
// Find the polygons intersecting the beam
std::vector<const Polygon*> polygons;
m_room.getBSP().beamCast(beam, polygons);
// For each polygon in the beam
for( int i=(int)polygons.size()-1; i >= 0; i-- )
{
if( stop_signal )
{
printf ("Stop signal catch 2\n");
break;
}
const Polygon* orig = polygons[i];
// Construct image source
Vector3 imgSource = mirror(source, orig->getPleq());
// Not root?
if( parentIndex > 0 )
{
// Test for cases where the parent polygon is the same as the
// current polygon or the image sources match
const Polygon* ppoly = m_solutionNodes[parentIndex].m_polygon;
if( orig == ppoly ){ continue; }
Vector3 testSource = mirror(imgSource, ppoly->getPleq());
if( (source-testSource).length() < EPS_SIMILAR_PATHS ){ continue; }
}
// Do not count polygons with vanishingly small intersections
Polygon poly = *orig;
if( poly.clip(beam) == Polygon::CLIP_VANISHED ){ continue; }
// Do not count degenerated polygons
if( poly.getArea() < EPS_DEGENERATE_POLYGON_AREA ){ continue; }
// Create a new beam from the images source and the polygon
Beam b(imgSource, poly);
// Create a new solution node
SolutionNode node;
node.m_polygon = orig;
node.m_parent = parentIndex;
m_solutionNodes.push_back(node);
// Solve recursively the child beam
solveRecursive(imgSource, target, b, order+1, m_solutionNodes.size()-1);
/*
if (order==0) {
printf("building beam tree.. %.2f %% (%.2f Mb)\r",
100.f-(float)i/(float)polygons.size()*100.f,
m_solutionNodes.size() * sizeof(SolutionNode) /
1048576.0);
}
*/
}
/*
if (order==0)
printf("\n");
*/
/*
if (order == 0)
{
printf ("solveRecursive () OUT\n");
}
*/
}
float PathSolution::getLength(const Path& path)
{
float len = 0;
for( int j=0; j < path.m_points.size()-1; j++ )
{
const EL::Vector3& p0 = path.m_points[j];
const EL::Vector3& p1 = path.m_points[j+1];
len += (p1-p0).length();
}
return len;
}
void PathSolution::print (int minOrder, int maxOrder, int maxAmount)
{
int i, j, k;
float reflectance[10];
int pathCount = 0;
for( j = 0; j < numPaths (); j++ )
{
Path path = getPath (j);
if( pathCount >= maxAmount ){ break; }
if( (path.m_order < minOrder) || (path.m_order > maxOrder) ){ continue; }
pathCount++;
printf ("%ld (", path.m_points.size () - 2 );
for( k = 0; k < 10; k++ ){ reflectance[k] = 1.0; }
for( i = 0; i < path.m_points.size () - 1; i++ )
{
printf ("[%.5f %.5f %.5f]-", path.m_points[i].x, path.m_points[i].y, path.m_points[i].z);
if( i > 0 )
{
const Polygon* p = path.m_polygons[i-1];
const Material& m = p->getMaterial ();
for( k = 0; k < 10; k++ ){ reflectance[k] *= (1 - m.absorption[k]); }
}
}
printf ("[%.2f %.2f %.2f])",
path.m_points[i].x,
path.m_points[i].y,
path.m_points[i].z);
/*
if ( i > 1 )
{
printf ("[");
for (k = 0; k < 9 ;k++)
printf("%.2f,", 1-reflectance[k]);
printf ("%.2f]", 1-reflectance[9]);
}
*/
printf ("\n");
}
}
| [
"davipoir@gmail.com"
] | davipoir@gmail.com |
6e814bd3950d741e41530911302cd48c92f9b149 | 1fb357bb753988011e0f20c4ca8ec6227516b84b | /LHPC/include/SLHA/BlockClasses/TriplyIndexedMultipleEntriesBlock.hpp | 761ce964a50924a73ef285c98eb8a94bd51daba4 | [
"DOC"
] | permissive | silvest/HEPfit | 4240dcb05938596558394e97131872269cfa470e | cbda386f893ed9d8d2d3e6b35c0e81ec056b65d2 | refs/heads/master | 2023-08-05T08:22:20.891324 | 2023-05-19T09:12:45 | 2023-05-19T09:12:45 | 5,481,938 | 18 | 11 | null | 2022-05-15T19:53:40 | 2012-08-20T14:03:58 | C++ | UTF-8 | C++ | false | false | 6,149 | hpp | /*
* TriplyIndexedMultipleEntriesBlock.hpp
*
* Created on: Apr 1, 2012 (really!)
* Author: Ben O'Leary (benjamin.oleary@gmail.com)
* Copyright 2012 Ben O'Leary
*
* This file is part of LesHouchesParserClasses, released under the
* GNU General Public License. Please see the accompanying
* README.LHPC_CPP.txt file for a full list of files, brief documentation
* on how to use these classes, and further details on the license.
*/
#ifndef TRIPLYINDEXEDMULTIPLEENTRIESBLOCK_HPP_
#define TRIPLYINDEXEDMULTIPLEENTRIESBLOCK_HPP_
#include "../../MEC/ExtendedMass.hpp"
#include "IndexedBlockTemplate.hpp"
#include "InterpreterClasses/MultipleTriplyIndexed.hpp"
namespace LHPC
{
namespace SLHA
{
/* this template class interprets all the blocks with the same name, though
* differing scale values, which are interpreted as having a single int
* index which does not have to have entries for each value (nor even
* necessarily positive index values), allowing for multiple entries with
* the same index.
*/
template< class ValueClass >
class TriplyIndexedMultipleEntriesBlock : public IndexedBlockTemplate<
ValueClass,
InterpreterClass::MultipleTriplyIndexed< ValueClass > >
{
public:
TriplyIndexedMultipleEntriesBlock( std::string const& blockName,
ValueClass const& defaultUnsetValue,
bool const isVerbose = false,
int const firstIndexDigits = 5,
int const secondIndexDigits = 5,
int const thirdIndexDigits = 5 );
virtual
~TriplyIndexedMultipleEntriesBlock();
std::list< ValueClass* >
operator()( std::pair< std::pair< int, int >, int > const& indexTriple );
// this returns operator() of the lowest-scale interpreter.
std::list< ValueClass const* >
operator()(
std::pair< std::pair< int, int >, int > const& indexTriple ) const;
// const version of above.
std::list< ValueClass* >
operator()( int const firstIndex,
int const secondIndex,
int const thirdIndex )
{ return (*this)( std::make_pair( std::make_pair( firstIndex,
secondIndex ),
thirdIndex ) ); }
std::list< ValueClass const* >
operator()( int const firstIndex,
int const secondIndex,
int const thirdIndex ) const
{ return (*this)( std::make_pair( std::make_pair( firstIndex,
secondIndex ),
thirdIndex ) ); }
bool
hasEntry(
std::pair< std::pair< int, int >, int > const& indexTriple ) const;
// this returns hasEntry( indexTriple ) of the lowest-scale interpreter.
bool
hasEntry( int const firstIndex,
int const secondIndex,
int const thirdIndex ) const
{ return hasEntry( std::make_pair( std::make_pair( firstIndex,
secondIndex ),
thirdIndex ) ); }
};
template< class ValueClass >
inline
TriplyIndexedMultipleEntriesBlock< ValueClass
>::TriplyIndexedMultipleEntriesBlock(
std::string const& blockName,
ValueClass const& defaultUnsetValue,
bool const isVerbose,
int const firstIndexDigits,
int const secondIndexDigits,
int const thirdIndexDigits ) :
IndexedBlockTemplate< ValueClass,
InterpreterClass::MultipleTriplyIndexed< ValueClass > >(
blockName,
defaultUnsetValue,
isVerbose,
BOL::Vi( firstIndexDigits
)( secondIndexDigits
).e( thirdIndexDigits ) )
{
// just an initialization list.
}
template< class ValueClass >
inline
TriplyIndexedMultipleEntriesBlock< ValueClass
>::~TriplyIndexedMultipleEntriesBlock()
{
// does nothing.
}
template< class ValueClass >
inline std::list< ValueClass* >
TriplyIndexedMultipleEntriesBlock< ValueClass >::operator()(
std::pair< std::pair< int, int >, int > const& indexTriple )
// this returns operator() of the lowest-scale interpreter.
{
return this->dataBlocks[ this->lowestScaleIndex ]( indexTriple );
}
template< class ValueClass >
inline std::list< ValueClass const* >
TriplyIndexedMultipleEntriesBlock< ValueClass >::operator()(
std::pair< std::pair< int, int >, int > const& indexTriple ) const
// const version of above.
{
return this->dataBlocks[ this->lowestScaleIndex ]( indexTriple );
}
template< class ValueClass >
inline bool
TriplyIndexedMultipleEntriesBlock< ValueClass >::hasEntry(
std::pair< std::pair< int, int >, int > const& indexTriple ) const
// this returns hasEntry( soughtIndex ) of the lowest-scale interpreter.
{
return
this->dataBlocks[ this->lowestScaleIndex ].hasEntry( indexTriple );
}
} // end of SLHA namespace
} // end of LHPC namespace
#endif /* TRIPLYINDEXEDMULTIPLEENTRIESBLOCK_HPP_ */
| [
"shehu@cantab.net"
] | shehu@cantab.net |
3910a676b7ef7d66c741f3f5c90b390b963eac7c | f255965ef6eddb8eac4be3a8c0b0f8f4a84132a0 | /NOCUDA_TESI/EQUAZIONE 1D/Grid1D.cpp | 3663320cb809e6ace8a172d64c79bfc96c23498d | [] | no_license | zyex1108/PDE-MultiGrid | f961eaea59d056e46765174610cb30f7878740e7 | e51a558f2592eff34c4ed4113917ed1f6cc70f91 | refs/heads/master | 2021-01-13T08:09:01.755885 | 2015-03-06T10:46:54 | 2015-03-06T10:46:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | cpp | #include "Grid1D.h"
#include "inclusion.h"
Grid1D::Grid1D(int sizeX, float range[]) //range = {xa,xb} xb>xa
{
assert(sizeX > 0);
assert((sizeX-1)%2 == 0); //size=(2^k) - 1
this->sizeX = sizeX;
assert(range[1] > range[0]);
float x_range = range[1] - range[0];
x_a = range[0];
x_b = range[1];
h_x = x_range/(float)(sizeX-1);
h_v = (float*)malloc(sizeX*sizeof(float));
h_f = (float*)malloc(sizeX*sizeof(float));
InitV();
InitF();
}
Grid1D::~Grid1D()
{
free(h_v);
free(h_f);
}
void Grid1D::InitV()
{
h_v[0] = (exp(x_a) + x_a - 3)/(1 + exp(-x_a));
h_v[sizeX-1] = (exp(x_b) + x_b - 3)/(1 + exp(-x_b));
}
void Grid1D::InitF()
{
for(int posX = 0; posX < sizeX; posX++)
{
float xj = x_a + posX*h_x;
h_f[posX] = exp(xj);
}
}
//ha senso solo per griglia più fine (finest)
void Grid1D::PrintDiffApproxReal(int diff_fd)
{
for(int posX = 0; posX < sizeX; posX++)
{
float xj = x_a + posX*h_x;
float realsol = (exp(xj) + xj - 3)/(1 + exp(-xj));
float approxsol = h_v[posX];
float diff = approxsol - realsol;
char* log = (char*)malloc(100);
sprintf(log,"xj: %f diff: %f\n", xj, diff);
write(diff_fd, log, strlen(log));
}
}
void Grid1D::PrintGrid_v(int logfd)
{
for(int posX = 0; posX < sizeX; posX++)
{
float xj = x_a + posX*h_x;
float realsol = (exp(xj) + xj - 3)/(1 + exp(-xj));;
float approxsol = h_v[posX];
char* log = (char*)malloc(100);
sprintf(log,"xj: %f approxSol: %f realSol: %f\n", xj, approxsol, realsol);
write(logfd, log, strlen(log));
}
}
void Grid1D::PrintGrid_f(int logfd)
{
for(int posX = 0; posX < sizeX; posX++)
{
float xj = x_a + posX*h_x;
char* log = (char*)malloc(200);
sprintf(log, "xj: %f f:%f\n", xj, h_f[posX]);
write(logfd, log, strlen(log));
}
}
| [
"claudio.pupparo@gmail.com"
] | claudio.pupparo@gmail.com |
f98ab1dd4179a691a181291c810360e2b774c2d5 | 3558c6214d9b0e25dbca9be32b7b27602590cbd4 | /Include/Solaire/Core/BinaryContainer.hpp | f4cef3121d9861aa16b498f655df30d011bcdb41 | [
"Apache-2.0"
] | permissive | SolaireLibrary/DEPRECIATED-SolaireCPP | 8db708a0c74676a3ce43b0b5e0071e9b9b7160e5 | 787b6c3871474980ec85374d98bc2f7da5490d24 | refs/heads/master | 2020-04-09T17:22:05.107990 | 2016-01-06T14:40:22 | 2016-01-06T14:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,479 | hpp | #ifndef SOLAIRE_BIT_STREAM_HPP
#define SOLAIRE_BIT_STREAM_HPP
//Copyright 2015 Adam Smith
//
//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.
// Contact :
// Email : solairelibrary@mail.com
// GitHub repository : https://github.com/SolaireLibrary/SolaireCPP
/*!
\file BinaryContainer.hpp
\brief
\author
Created : Adam Smith
Last modified : Adam Smith
\version 1.0
\date
Created : 19th November 2015
Last Modified : 19th November 2015
*/
#include <cstdint>
namespace Solaire{
namespace Implementation {
static constexpr int8_t BORROW_POSITION_TABLE[16][16] = {
{ -1, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0 },
{ -1, -1, 1, 1, 2, 2, 1, 1, 3, 3, 1, 1, 2, 2, 1, 1 },
{ -1, 0, -1, 0, 2, 0, 2, 0, 3, 0, 3, 0, 2, 0, 2, 0 },
{ -1, -1, -1, -1, 2, 2, 2, 2, 3, 3, 3, 3, 2, 2, 2, 2 },
{ -1, 0, 1, 0, -1, 0, 1, 0, 3, 0, 1, 0, 3, 0, 1, 0 },
{ -1, -1, 1, 1, -1, -1, 1, 1, 3, 3, 1, 1, 3, 3, 1, 1 },
{ -1, 0, -1, 0, -1, 0, -1, 0, 3, 0, 3, 0, 3, 0, 3, 0 },
{ -1, -1, -1, -1, -1, -1, -1, -1, 3, 3, 3, 3, 3, 3, 3, 3 },
{ -1, 0, 1, 0, 2, 0, 1, 0, -1, 0, 1, 0, 2, 0, 1, 0 },
{ -1, -1, 1, 1, 2, 2, 1, 1, -1, -1, 1, 1, 2, 2, 1, 1 },
{ -1, 0, -1, 0, 2, 0, 2, 0, -1, 0, -1, 0, 2, 0, 2, 0 },
{ -1, -1, -1, -1, 2, 2, 2, 2, -1, -1, -1, -1, 2, 2, 2, 2 },
{ -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0 },
{ -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1 },
{ -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0 },
{ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }
};
template<class T>
static constexpr int8_t BorrowPosition(const T aValueA, const T aB) throw();
template<>
constexpr int8_t BorrowPosition<uint8_t>(const uint8_t aValueA, const uint8_t aValueB) throw() {
return
BORROW_POSITION_TABLE[aValueA & 15][aValueB & 15] != -1 ? BORROW_POSITION_TABLE[aValueA & 15][aValueB & 15] :
BORROW_POSITION_TABLE[aValueA >> 4][aValueB >> 4] != -1 ? BORROW_POSITION_TABLE[aValueA >> 4][aValueB >> 4] + 4 :
-1;
}
template<>
constexpr int8_t BorrowPosition<uint16_t>(const uint16_t aValueA, const uint16_t aValueB) throw() {
return
BorrowPosition<uint8_t>(aValueA & UINT8_MAX, aValueB & UINT8_MAX) != -1 ? BorrowPosition<uint8_t>(aValueA & 255, aValueB & 255) :
BorrowPosition<uint8_t>(aValueA >> 8, aValueB >> 8) != -1 ? BorrowPosition<uint8_t>(aValueA >> 8, aValueB >> 8) + 8 :
-1;
}
template<>
constexpr int8_t BorrowPosition<uint32_t>(const uint32_t aValueA, const uint32_t aValueB) throw() {
return
BorrowPosition<uint16_t>(aValueA & UINT16_MAX, aValueB & UINT16_MAX) != -1 ? BorrowPosition<uint16_t>(aValueA & UINT16_MAX, aValueB & UINT16_MAX) :
BorrowPosition<uint16_t>(aValueA >> 16, aValueB >> 16) != -1 ? BorrowPosition<uint16_t>(aValueA >> 16, aValueB >> 16) + 16 :
-1;
}
template<>
constexpr int8_t BorrowPosition<uint64_t>(const uint64_t aValueA, const uint64_t aValueB) throw() {
return
BorrowPosition<uint32_t>(aValueA & UINT32_MAX, aValueB & UINT32_MAX) != -1 ? BorrowPosition<uint32_t>(aValueA & UINT32_MAX, aValueB & UINT32_MAX) :
BorrowPosition<uint32_t>(aValueA >> 32L, aValueB >> 32L) != -1 ? BorrowPosition<uint32_t>(aValueA >> 32L, aValueB >> 32L) + 32 :
-1;
}
}
template<const uint32_t BYTES>
class BinaryContainer {
private:
template<class T, const uint32_t COUNT>
static void AddFn(void*& aFirst, const void*& aSecond, bool& aCarryBit) throw() {
T*& first = reinterpret_cast<T*&>(aFirst);
const T*& second = reinterpret_cast<const T*&>(aSecond);
enum : T {
MIN_BIT = 1,
MAX_BIT = static_cast<T>(MIN_BIT) << static_cast<T>((sizeof(T) * 8) - 1),
};
for(uint32_t i = 0; i < COUNT; ++i) {
T& a = first[i];
const T& b = second[i];
const bool tmp = aCarryBit;
aCarryBit = (a & MAX_BIT) != 0 && (b & MAX_BIT) != 0;
if(tmp) {
if((a & MIN_BIT) == 0) {
a |= MIN_BIT;
a += b;
}else if((a & MIN_BIT) == 0) {
a += b | MIN_BIT;
}else{
a += a;
a |= MIN_BIT;
}
}else{
a += b;
}
}
first += COUNT;
second += COUNT;
}
template<class T, const uint32_t COUNT>
static void OrFn(void*& aFirst, const void*& aSecond) throw() {
T*& first = reinterpret_cast<T*&>(aFirst);
const T*& second = reinterpret_cast<const T*&>(aSecond);
for (uint32_t i = 0; i < COUNT; ++i) {
first[i] |= second[i];
}
first += COUNT;
second += COUNT;
}
template<class T, const uint32_t COUNT>
static void AndFn(void*& aFirst, const void*& aSecond) throw() {
T*& first = reinterpret_cast<T*&>(aFirst);
const T*& second = reinterpret_cast<const T*&>(aSecond);
for(uint32_t i = 0; i < COUNT; ++i) {
first[i] &= second[i];
}
first += COUNT;
second += COUNT;
}
template<class T, const uint32_t COUNT>
static void XorFn(void*& aFirst, const void*& aSecond) throw() {
T*& first = reinterpret_cast<T*&>(aFirst);
const T*& second = reinterpret_cast<const T*&>(aSecond);
for(uint32_t i = 0; i < COUNT; ++i) {
first[i] ^= second[i];
}
first += COUNT;
second += COUNT;
}
private:
enum : uint32_t {
DATA_64 = BYTES / 8,
DATA_32 = BYTES - (DATA_64 * 8) >= 8 ? 1 : 0,
DATA_16 = BYTES - (DATA_32 * 4) >= 4 ? 1 : 0,
DATA_8 = BYTES - (DATA_16 * 2) > 2 ? 1 : 0,
TOTAL_BYTES = (DATA_64 * 64) + (DATA_32 * 32) + (DATA_16 * 16) + (DATA_8 * 8)
};
static_assert(TOTAL_BYTES == BYTES, "SolaireCPP : BinaryContainer size was miscalculated")
private:
uint8_t mBytes[TOTAL_BYTES / 8];
public:
BinaryContainer() throw() {
}
BinaryContainer(const uint8_t aByte) throw() {
for(uint32_t i = 0; i < TOTAL_BYTES; ++i) {
mBytes[i] = aByte;
}
}
BinaryContainer<BYTES>& operator+=(const BinaryContainer<BYTES>& aOther) throw() {
void* thisBytes = mBytes;
void* const otherBytes = aOther.mBytes;
bool carryBit = false;
AddFn<uint64_t, DATA_64>(thisBytes, otherBytes, carryBit);
AddFn<uint32_t, DATA_32>(thisBytes, otherBytes, carryBit);
AddFn<uint16_t, DATA_16>(thisBytes, otherBytes, carryBit);
AddFn<uint8_t, DATA_8>(thisBytes, otherBytes, carryBit);
return *this;
}
BinaryContainer<BYTES>& operator-=(const BinaryContainer<BYTES>& aOther) throw() {
uint8_t* thisBytes = mBytes;
uint8_t* const otherBytes = aOther.mBytes;
for(int32_t i = TOTAL_BYTES; i >= 0; --i) {
uint8_t& a = thisBytes[i];
const uint8_t& b = otherBytes[i];
const int8_t borrowPos = Implementation::BorrowPosition<uint8_t>(a, b);
if(borrowPos != -1) {
bool borrowed = false;
//! borrow bit from current byte
for(uint32_t j = borrowPos; j < 8; ++i) {
const uint8_t mask = 1 << j;
if((a & mask) != 0) {
a -= mask;
borrowed = true;
break;
}
}
// borrow bit from left byte
if(! borrowed) {
for (uint32_t j = i; j < TOTAL_BYTES; ++i) {
uint8_t& byte = thisBytes[j];
if (byte != 0) {
--byte;
borrowed = true;
break;
}
}
}
if(borrowed) {
//! \todo perform subtraction with borrowed bit
}else{
a -= b;
}
}else {
a -= b;
}
}
return *this;
}
BinaryContainer<BYTES>& operator|=(const BinaryContainer<BYTES>& aOther) throw() {
void* thisBytes = mBytes;
void* const otherBytes = aOther.mBytes;
OrFn<uint64_t, DATA_64>(thisBytes, otherBytes);
OrFn<uint32_t, DATA_32>(thisBytes, otherBytes);
OrFn<uint16_t, DATA_16>(thisBytes, otherBytes);
OrFn<uint8_t, DATA_8>(thisBytes, otherBytes);
return *this;
}
BinaryContainer<BYTES>& operator&=(const BinaryContainer<BYTES>& aOther) throw() {
void* thisBytes = mBytes;
void* const otherBytes = aOther.mBytes;
AndFn<uint64_t, DATA_64>(thisBytes, otherBytes);
AndFn<uint32_t, DATA_32>(thisBytes, otherBytes);
AndFn<uint16_t, DATA_16>(thisBytes, otherBytes);
AndFn<uint8_t, DATA_8>(thisBytes, otherBytes);
return *this;
}
BinaryContainer<BYTES>& operator^=(const BinaryContainer<BYTES>& aOther) throw() {
void* thisBytes = mBytes;
void* const otherBytes = aOther.mBytes;
XorFn<uint64_t, DATA_64>(thisBytes, otherBytes);
XorFn<uint32_t, DATA_32>(thisBytes, otherBytes);
XorFn<uint16_t, DATA_16>(thisBytes, otherBytes);
XorFn<uint8_t, DATA_8>(thisBytes, otherBytes);
return *this;
}
bool operator==(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) == 0;
}
bool operator!=(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) != 0;
}
bool operator<(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) < 0;
}
bool operator>(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) > 0;
}
bool operator<=(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) <= 0;
}
bool operator>=(const BinaryContainer<BYTES>& aOther) const throw() {
return std::memcmp(mBytes, aOther.mBytes, TOTAL_BYTES) >= 0;
}
BinaryContainer<BYTES> operator+(const BinaryContainer<BYTES>& aOther) const throw() {
return BinaryContainer<BYTES>(*this) += aOther;
}
BinaryContainer<BYTES> operator-(const BinaryContainer<BYTES>& aOther) const throw() {
return BinaryContainer<BYTES>(*this) -= aOther;
}
BinaryContainer<BYTES> operator|(const BinaryContainer<BYTES>& aOther) const throw() {
return BinaryContainer<BYTES>(*this) |= aOther;
}
BinaryContainer<BYTES> operator&(const BinaryContainer<BYTES>& aOther) const throw() {
return BinaryContainer<BYTES>(*this) &= aOther;
}
BinaryContainer<BYTES> operator^(const BinaryContainer<BYTES>& aOther) const throw() {
return BinaryContainer<BYTES>(*this) ^= aOther;
}
};
}
#endif
| [
"solairelibrary@mail.com"
] | solairelibrary@mail.com |
a9b5a840a9f3a7a729e865b1e2c375144d0183bf | b3ad475382cd2962ad0073b664d55141950a87fe | /stealing_private1.cpp | 08ccb91a73ab2d82024dc35ad29c74202045e640 | [
"MIT"
] | permissive | vsoftco/snippets | 764edce0f82f9f03a52c4709921f3e3b27cfc078 | 467520e285f9c83024416f050a5357bf659f4860 | refs/heads/main | 2022-09-16T06:37:07.666403 | 2021-01-14T14:40:51 | 2021-01-14T14:40:51 | 34,310,463 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | // Stealing private members, code snippet from:
// https://bloglitb.blogspot.com/2011/12/access-to-private-members-safer.html
//
// See also:
//
// https://stackoverflow.com/q/424104/3093378
// https://stackoverflow.com/questions/12993219/access-private-member-using-template-trick
//
// And also Overload 156 (pg. 22)
// https://members.accu.org/index.php/journals/2776
#include <iostream>
template <typename Tag, typename Tag::type M>
struct Rob {
friend typename Tag::type get(Tag) { return M; }
};
// use
struct A {
A(int a) : a(a) {}
private:
int a;
};
// tag used to access A::a
struct A_f {
typedef int A::*type;
friend type get(A_f);
};
template struct Rob<A_f, &A::a>;
int main() {
A a(42);
std::cout << "proof: " << a.*get(A_f()) << std::endl;
}
| [
"vsoftco@gmail.com"
] | vsoftco@gmail.com |
369e26e4372bafa27d1ae99cf3108c3468abe592 | 25abd807ca135a5c268255515f6d493c229903be | /cppwinrt/impl/Windows.Phone.System.Profile.1.h | 49a26ab7f6313e8733c891f438291d8c946bfb1c | [
"Apache-2.0"
] | permissive | RakeshShrestha/C-Calendar-Library | 670924ae3204d8737d8f43c47e54fe113d202265 | 6525707089891b0710e34769f7aeaea0c79271a1 | refs/heads/master | 2022-05-16T15:26:37.102822 | 2022-04-28T08:45:58 | 2022-04-28T08:45:58 | 33,488,761 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200117.5
#ifndef WINRT_Windows_Phone_System_Profile_1_H
#define WINRT_Windows_Phone_System_Profile_1_H
#include "winrt/impl/Windows.Phone.System.Profile.0.h"
WINRT_EXPORT namespace winrt::Windows::Phone::System::Profile
{
struct __declspec(empty_bases) IRetailModeStatics :
Windows::Foundation::IInspectable,
impl::consume_t<IRetailModeStatics>
{
IRetailModeStatics(std::nullptr_t = nullptr) noexcept {}
IRetailModeStatics(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IInspectable(ptr, take_ownership_from_abi) {}
};
}
#endif
| [
"rakesh.shrestha@gmail.com"
] | rakesh.shrestha@gmail.com |
fb32a9e5528e5a5ccf93336a24012120c5d8b076 | 18e2e0b7a24dffb4468c5f18e5f28ff52231cfae | /Broker_s6/src/vvc/VoltVarCtrl.cpp | bfc85d2286103cba9d84fdabde39d63d16b34f07 | [] | no_license | vmuthuk2/HIL-34-Node | 9e6914227dc90489dac21ad6dd6f25e714766df8 | 0f6d62f9c55158294c2dc1723eb61334994e427f | refs/heads/master | 2020-03-28T00:38:10.955072 | 2018-09-18T18:50:12 | 2018-09-18T18:50:12 | 129,539,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,551 | cpp |
#include "VoltVarCtrl.hpp"
#include <iostream>
#include <fstream>
#include "CLogger.hpp"
#include "Messages.hpp"
#include "CTimings.hpp"
#include "CDeviceManager.hpp"
#include "CGlobalPeerList.hpp"
#include "gm/GroupManagement.hpp"
#include "CGlobalConfiguration.hpp"
#include <sstream>
#include <boost/foreach.hpp>
#include <boost/bind.hpp>
#include <boost/asio/error.hpp>
#include <boost/system/error_code.hpp>
#include <boost/range/adaptor/map.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <armadillo>
namespace freedm {
namespace broker {
namespace vvc {
namespace {
/// This file's logger.
CLocalLogger Logger(__FILE__);
}
///////////////////////////////////////////////////////////////////////////////
/// VVCAgent
/// @description: Constructor for the VVC module
/// @pre: Posix Main should register read handler and invoke this module
/// @post: Object is initialized and ready to run
/// @param uuid_: This object's uuid
/// @param broker: The Broker
/// @limitations: None
///////////////////////////////////////////////////////////////////////////////
VVCAgent::VVCAgent()
: ROUND_TIME(boost::posix_time::milliseconds(CTimings::Get("LB_ROUND_TIME")))
, REQUEST_TIMEOUT(boost::posix_time::milliseconds(CTimings::Get("LB_REQUEST_TIMEOUT")))
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
m_RoundTimer = CBroker::Instance().AllocateTimer("vvc");
m_WaitTimer = CBroker::Instance().AllocateTimer("vvc");
}
VVCAgent::~VVCAgent()
{
}
////////////////////////////////////////////////////////////
/// Run
/// @description Main function which initiates the algorithm
/// @pre: Posix Main should invoke this function
/// @post: Triggers the vvc algorithm by calling VVCManage()
/// @limitations None
/////////////////////////////////////////////////////////
int VVCAgent::Run()
{
std::cout<< " --------------------VVC ---------------------------------" << std::endl;
CBroker::Instance().Schedule("vvc",
boost::bind(&VVCAgent::FirstRound, this, boost::system::error_code()));
Logger.Info << "VVC is scheduled for the next phase." << std::endl;
return 0;
}
///////////////////////////////////////////////////////////////////////////////
/// HandleIncomingMessage
/// "Downcasts" incoming messages into a specific message type, and passes the
/// message to an appropriate handler.
/// @pre None
/// @post The message is handled by the target handler or a warning is
/// produced.
/// @param m the incoming message
/// @param peer the node that sent this message (could be this DGI)
///////////////////////////////////////////////////////////////////////////////
void VVCAgent::HandleIncomingMessage(boost::shared_ptr<const ModuleMessage> m, CPeerNode peer)
{
if(m->has_volt_var_message())
{
VoltVarMessage vvm = m->volt_var_message();
if(vvm.has_voltage_delta_message())
{
HandleVoltageDelta(vvm.voltage_delta_message(), peer);
}
else if(vvm.has_line_readings_message())
{
HandleLineReadings(vvm.line_readings_message(), peer);
}
else if(vvm.has_gradient_message())
{
HandleGradient(vvm.gradient_message(), peer);
}
else
{
Logger.Warn << "Dropped unexpected volt var message: \n" << m->DebugString();
}
}
else if(m->has_group_management_message())
{
gm::GroupManagementMessage gmm = m->group_management_message();
if(gmm.has_peer_list_message())
{
HandlePeerList(gmm.peer_list_message(), peer);
}
else
{
Logger.Warn << "Dropped unexpected group management message:\n" << m->DebugString();
}
}
else
{
Logger.Warn<<"Dropped message of unexpected type:\n" << m->DebugString();
}
}
void VVCAgent::HandleVoltageDelta(const VoltageDeltaMessage & m, CPeerNode peer)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
Logger.Notice << "Got VoltageDelta from: " << peer.GetUUID() << std::endl;
Logger.Notice << "CF "<<m.control_factor()<<" Phase "<<m.phase_measurement()<<std::endl;
}
void VVCAgent::HandleLineReadings(const LineReadingsMessage & m, CPeerNode peer)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
Logger.Notice << "Got Line Readings from "<< peer.GetUUID() << std::endl;
}
void VVCAgent::HandleGradient(const GradientMessage & m, CPeerNode peer)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
Logger.Notice << "Got Gradients from "<< peer.GetUUID() << std::endl;
Logger.Notice << "size of vector "<< m.gradient_value_size() << std::endl;
using namespace arma;
Grad_slave1 = zeros(m.gradient_value_size(),1);
for (int i = 0; i < m.gradient_value_size(); i++)
{
Grad_slave1(i,0) = m.gradient_value(i);
//std::cout<< i+1 << " " << Grad_slave1(i,0)<<std::endl;
}
Grad_slave1.save("Grad_slave1.mat");// must be ROOT to execute
}
// HandlePeerlist Implementation
void VVCAgent::HandlePeerList(const gm::PeerListMessage & m, CPeerNode peer)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
Logger.Notice << "Updated Peer List Received from: " << peer.GetUUID() << std::endl;
m_peers.clear();
m_peers = gm::GMAgent::ProcessPeerList(m);
m_leader = peer.GetUUID();
}
// Preparing Messages
ModuleMessage VVCAgent::VoltageDelta(unsigned int cf, float pm, std::string loc)
{
VoltVarMessage vvm;
VoltageDeltaMessage *vdm = vvm.mutable_voltage_delta_message();
vdm -> set_control_factor(cf);
vdm -> set_phase_measurement(pm);
vdm -> set_reading_location(loc);
return PrepareForSending(vvm,"vvc");
}
ModuleMessage VVCAgent::LineReadings(std::vector<float> vals)
{
VoltVarMessage vvm;
std::vector<float>::iterator it;
LineReadingsMessage *lrm = vvm.mutable_line_readings_message();
for (it = vals.begin(); it != vals.end(); it++)
{
lrm -> add_measurement(*it);
}
lrm->set_capture_time(boost::posix_time::to_simple_string(boost::posix_time::microsec_clock::universal_time()));
return PrepareForSending(vvm,"vvc");
}
ModuleMessage VVCAgent::Gradient(arma::mat grad)
{
VoltVarMessage vvm;
unsigned int idx;
GradientMessage *grdm = vvm.mutable_gradient_message();
for (idx = 0; idx < grad.n_rows; idx++)
{
grdm -> add_gradient_value(grad(idx));
}
grdm->set_gradient_capture_time(boost::posix_time::to_simple_string(boost::posix_time::microsec_clock::universal_time()));
return PrepareForSending(vvm,"vvc");
}
ModuleMessage VVCAgent::PrepareForSending(const VoltVarMessage& message, std::string recipient)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
ModuleMessage mm;
mm.mutable_volt_var_message()->CopyFrom(message);
mm.set_recipient_module(recipient);
return mm;
}
// End of Preparing Messages
///////////////////////////////////////////////////////////////////////////////
/// FirstRound
/// @description The code that is executed as part of the first VVC
/// each round.
/// @pre None
/// @post if the timer wasn't cancelled this function calls the first VVC.
/// @param error The reason this function was called.
///////////////////////////////////////////////////////////////////////////////
void VVCAgent::FirstRound(const boost::system::error_code& err)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
if(!err)
{
CBroker::Instance().Schedule("vvc",
boost::bind(&VVCAgent::VVCManage, this, boost::system::error_code()));
}
else if(err == boost::asio::error::operation_aborted)
{
Logger.Notice << "VVCManage Aborted" << std::endl;
}
else
{
Logger.Error << err << std::endl;
throw boost::system::system_error(err);
}
}
////////////////////////////////////////////////////////////
/// VVCManage
/// @description: Manages the execution of the VVC algorithm
/// @pre:
/// @post:
/// @peers
/// @limitations
/////////////////////////////////////////////////////////
void VVCAgent::VVCManage(const boost::system::error_code& err)
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
if(!err)
{
ScheduleNextRound();
ReadDevices();
vvc_slave();
}
else if(err == boost::asio::error::operation_aborted)
{
Logger.Notice << "VVCManage Aborted" << std::endl;
}
else
{
Logger.Error << err << std::endl;
throw boost::system::system_error(err);
}
}
///////////////////////////////////////////////////////////////////////////////
/// ScheduleNextRound
/// @description Computes how much time is remaining and if there isn't enough
/// requests the VVC that will run next round.
/// @pre None
/// @post VVCManage is scheduled for this round OR FirstRound is scheduled
/// for next time.
///////////////////////////////////////////////////////////////////////////////
void VVCAgent::ScheduleNextRound()
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
if(CBroker::Instance().TimeRemaining() > ROUND_TIME + ROUND_TIME)
{
CBroker::Instance().Schedule(m_RoundTimer, ROUND_TIME,
boost::bind(&VVCAgent::VVCManage, this, boost::asio::placeholders::error));
Logger.Info << "VVCManage scheduled in " << ROUND_TIME << " ms." << std::endl;
}
else
{
CBroker::Instance().Schedule(m_RoundTimer, boost::posix_time::not_a_date_time,
boost::bind(&VVCAgent::FirstRound, this, boost::asio::placeholders::error));
Logger.Info << "VVCManage scheduled for the next phase." << std::endl;
}
}
///////////////////////////////////////////////////////////////////////////////
/// ReadDevices
/// @description Reads the device state and updates the appropriate member vars.
/// @pre None
/// @post
///////////////////////////////////////////////////////////////////////////////
void VVCAgent::ReadDevices()
{
Logger.Trace << __PRETTY_FUNCTION__ << std::endl;
float generation = device::CDeviceManager::Instance().GetNetValue("Drer", "generation");
float storage = device::CDeviceManager::Instance().GetNetValue("Desd", "storage");
float load = device::CDeviceManager::Instance().GetNetValue("Load", "drain");
m_Gateway = device::CDeviceManager::Instance().GetNetValue("Sst", "gateway");
m_NetGeneration = generation + storage - load;
}
void VVCAgent::vvc_slave()
{
BOOST_FOREACH(CPeerNode peer, m_peers | boost::adaptors::map_values)
{
ModuleMessage mm = VoltageDelta(2, 3.0, "SST1 SST2");
peer.Send(mm);
}
using namespace arma;
double sstA_cmd;
double sstB_cmd;
double sstC_cmd;
//arma::mat tempA;
//arma::mat tempB;
//arma::mat tempC;
bool status = Grad_slave1.load("Grad_slave1.mat");
if (status == true)
{
std::cout << "loaded okay" << std::endl;
//std::cout << Grad_slave1 << std::endl;
//sstA_cmd = mean(mean(Grad_slave1.rows(1,3)));
//sstB_cmd = mean(mean(Grad_slave1.rows(8,10)));
//sstC_cmd = mean(mean(Grad_slave1.rows(15,17)));
//tempA = join_rows(Grad_slave1.rows(2,4),Grad_slave1.rows(9,11));
//std::cout << tempA << std::endl;
sstA_cmd = mean(mean(join_cols(Grad_slave1.rows(2,4),Grad_slave1.rows(9,11))));
//tempB = join_rows(Grad_slave1.rows(16,19),Grad_slave1.rows(24,27));
sstB_cmd = mean(mean(join_cols(Grad_slave1.rows(16,19),Grad_slave1.rows(24,27))));
//std::cout << tempB << std::endl;
//tempC = mean(join_rows(Grad_slave1.rows(32,34),Grad_slave1.rows(36,38)));
//tempC = join_cols(Grad_slave1.rows(32,34),Grad_slave1.rows(36,38));
sstC_cmd = mean(mean(join_cols(Grad_slave1.rows(32,34),Grad_slave1.rows(36,39))));
//tempC = join_cols(tempC,Grad_slave1.row(39));
//std::cout << tempC << std::endl;
}
else
{
std::cout <<" gradient not received ... keep default setting for SSTs "<<std::endl;
sstA_cmd = 0;
sstB_cmd = 0;
sstC_cmd = 0;
}
std::cout << "SSTs under Slave #6: SST13 SST14 SST15 SST16 SST17 SST18 SST19 SST20\n" << endl;
std::set<device::CDevice::Pointer> devices;
std::cout << "Phase A Command (in kVar) " << sstA_cmd << std::endl;
// cmd sent to phase A
devices = device::CDeviceManager::Instance().GetDevicesOfType("Sst_a");
try
{
BOOST_FOREACH(device::CDevice::Pointer dev, devices)
{
dev->SetCommand("gateway",(float)sstA_cmd);
Logger.Notice << "Command sent to :" << dev->GetID() << std::endl;
}
}
catch(std::exception & e)
{
std::cout << "Error! Could not set command to Phase A SST!" << std::endl;
}
std::cout << "Phase B Command (in kVar) " << sstB_cmd << std::endl;
// cmd sent to phase B
devices = device::CDeviceManager::Instance().GetDevicesOfType("Sst_b");
try
{
BOOST_FOREACH(device::CDevice::Pointer dev, devices)
{
dev->SetCommand("gateway",(float)sstB_cmd);
Logger.Notice << "Command sent to :" << dev->GetID() << std::endl;
}
}
catch(std::exception & e)
{
std::cout << "Error! Could not set command to Phase B SST!" << std::endl;
}
std::cout << "Phase C Command (in kVar) " << sstC_cmd << std::endl;
// cmd sent to phase C
devices = device::CDeviceManager::Instance().GetDevicesOfType("Sst_c");
try
{
BOOST_FOREACH(device::CDevice::Pointer dev, devices)
{
dev->SetCommand("gateway",(float)sstC_cmd);
Logger.Notice << "Command sent to :" << dev->GetID() << std::endl;
}
}
catch(std::exception & e)
{
std::cout << "Error! Could not set command to Phase C SST!" << std::endl;
}
}// end of vvc_slave
}//namespace vvc
}// namespace broker
}// namespace freedm
| [
"vmuthuk2@ncsu.edu"
] | vmuthuk2@ncsu.edu |
c8893cc8d16b1afa6bb2c67849826af152950827 | 5056c904bcd8a20f93a7beeb024723a4f2a23953 | /heroehs_math/include/heroehs_math/kinematics.h | 95661f420108ef6868257c9dbc4036e8a73d3dff | [] | no_license | ijmin/HERoEHS-Math | d62f6082a48fecb4e2d4ed63077bda28ca824e0b | 5187a96e7bb7da9a7e0fd50de9359136766fc8c5 | refs/heads/master | 2020-05-30T19:50:02.331080 | 2019-06-19T04:49:01 | 2019-06-19T04:49:01 | 189,933,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,345 | h |
/*
* kinematics.h
*
* Created on: 2017. 10. 23.
* Author: RobotEmperor
*/
#ifndef HEROEHS_MATH_KINEMATICS_H_
#define HEROEHS_MATH_KINEMATICS_H_
#include <ros/ros.h>
#include <Eigen/Dense>
#include "robotis_math/robotis_math.h"
using namespace Eigen;
using namespace std;
namespace heroehs_math
{
class Kinematics
{
public:
Kinematics();
~Kinematics();
void FowardKnematics(double joint[7] , std::string left_right);
void FowardKnematicsCenterToSensorRight(double joint[7]);
void FowardKnematicsCenterToSensorLeft(double joint[7]);
void InverseKinematics(double pX_, double pY_, double pZ_, double z_alpha_, double y_betta_, double x_kamma_);
Eigen::MatrixXd tf_origin_to_waist;
Eigen::MatrixXd tf_waist_to_head;
Eigen::MatrixXd tf_flag_to_head;
Eigen::MatrixXd CenterToGroundTransformation(Eigen::MatrixXd point);
Eigen::MatrixXd joint_radian;
Eigen::MatrixXd center_to_sensor_transform_right;
Eigen::MatrixXd center_to_sensor_transform_left;
Eigen::MatrixXd center_to_foot_transform_left_leg;
Eigen::MatrixXd center_to_foot_transform_right_leg;
double real_theta_public[7];
Eigen::MatrixXd RotationZedToHead(double zed_x, double zed_y, double zed_z);
void TransformationOriginToWaist(double x, double y, double z, double roll, double pitch, double yaw);
void TransformationWaistToHead(double x, double y, double z, double roll, double pitch, double yaw);
void TransformateHeadPointOnOrigin(double x, double y, double z);
double head_point_on_origin_x, head_point_on_origin_y, head_point_on_origin_z;
double origin_on_flag_x, origin_on_flag_y, origin_on_flag_z;
double thigh_length_m, calf_length_m, ankle_length_m;
private:
//forward_kinematics leg
Eigen::MatrixXd H[8];
Eigen::MatrixXd H_ground_to_center;
// inverse_kinematics leg
double r11_,r12_,r13_,r21_,r22_,r23_,r31_,r32_,r33_; // euler angle
double real_theta[7] , dh_alpha[7] , dh_link[7] , dh_link_d[7]; // dh_convention variables
double total_length_;
double sensor_length_;
Eigen::Matrix4d P_;
Eigen::Matrix4d P_inverse_;
// equation variables
double sin_theta5_ , cos_theta5_ , alpha_5_ , betta_5_ , kamma_5_, csai_5_;
double sin_theta1_ , cos_theta1_;
double sin_theta2_ , cos_theta2_;
double cos_theta2_temp_1_ , cos_theta2_temp_2_ , cos_theta2_temp_3_;
double sin_theta3_ , cos_theta3_;
///geometical solution link ///
double l05_xz_;
double l05_yz_;
double l06_yz_;
};
class KinematicsArm
{
public:
KinematicsArm();
~KinematicsArm();
// leg kinematics
void FowardKinematicsArm(double joint[4] , std::string left_right);
void InverseKinematicsArm(double pX_, double pY_, double pZ_);
Eigen::MatrixXd joint_radian;
Eigen::Matrix4d P_;
//Arm desired point
void ArmToOriginTransformationCommand(double waist_yaw,double waist_roll, double x, double y, double z);
void OriginToArmTransformationPoint(double waist_yaw, double waist_roll, double shoulder_pitch, double shoulder_roll, double elbow_pitch);
Eigen::MatrixXd arm_desired_point_;
Eigen::MatrixXd arm_point_from_origin;
Eigen::Matrix4d origin_to_arm_end_point_tf_;
private:
//forward_kinematics arm
Eigen::MatrixXd H_arm[4];
// inverse_kinematics arm
double r11_arm,r12_arm,r13_arm,r21_arm,r22_arm,r23_arm,r31_arm,r32_arm,r33_arm; // euler angle
double real_theta_arm[4] , dh_alpha_arm[4] , dh_link_arm[4] , dh_link_d_arm[4]; // dh_convention variables
//Eigen::Matrix4d P_;
Eigen::Matrix4d P_inverse_;
// transformation matrix
Eigen::Matrix4d origin_to_waist_tf_;
Eigen::Matrix4d waist_to_arm_tf_;
Eigen::Matrix4d origin_to_arm_tf_;
Eigen::Matrix4d arm_to_origin_tf_;
Eigen::MatrixXd origin_desired_point_;
//Eigen::Matrix4d origin_to_arm_end_point_tf_;
};
class KinematicsEulerAngle
{
public:
KinematicsEulerAngle();
~KinematicsEulerAngle();
void ZYXEulerAnglesSolution(double z, double y, double x);
void ZYXEulerAngles(double z, double y, double x);
void XYZEulerAnglesSolution(double x, double y, double z);
void XYZEulerAngles(double z, double y, double x);
double zyx_euler_angle_x;
double zyx_euler_angle_y;
double zyx_euler_angle_z;
double xyz_euler_angle_x;
double xyz_euler_angle_y;
double xyz_euler_angle_z;
private:
//zyx euler angle
Eigen::MatrixXd zyx_euler_angle_matrix_;
//xyz euler angle
Eigen::MatrixXd xyz_euler_angle_matrix_;
};
}
#endif /* HEROEHS_MATH_KINEMATICS_H_ */
| [
"ijmin95@naver.com"
] | ijmin95@naver.com |
c4d2f2b89dfaa298fd938f3ded22a083e82bf0c9 | 2d81b901057522dcd46bbd6559307cc8ad9b60a4 | /ds_1.cpp | 3b921a550b970e83d2af2a7a9b410f4a191d05b1 | [] | no_license | Profsoul/C-Tutorials | 8305f60d2ba3a6ef3049220d2f7e838fabaf5105 | 9a387590abf859869e36e16193dfc60b4ef6313c | refs/heads/master | 2023-07-14T09:29:31.727763 | 2021-08-21T11:57:53 | 2021-08-21T11:57:53 | 377,903,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include <iostream>
using namespace std;
int main(){
int a[100] = {3,4,5,3,4};
int pos,value;
cout <<"Enter Position to insert value ";
cin >> pos;
cout << "Enter the Value to insert ";
cin >> value;
int n = sizeof(a)/sizeof(a[0]) +1;
for(int n;n<pos+1;n--){
a[n]=a[n-1];
}
a[pos]=value;
for (int i=0;i<n;i++){
cout << a[i];
}
cout <<endl;
return 0;
}
| [
"profsoul23@gmail.com"
] | profsoul23@gmail.com |
d1d90d9b5dc1bbe5d57e3fdf733b566032bf8d22 | 0060f00cef6b506a0f33d4c8c00db70d21e78d39 | /oreore/oreore/cocos2d/nodes/ShatteredSprite.cpp | 3d672190706e7563cdb4ae6037166d76b15ad512 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Giemsa/oreore | 37ee03ee96c0dac28b39c53fa3a23d494d6315e9 | 18c2f07bca7df9599aa68cf79d627e239b17461c | refs/heads/cocos2dx-3.0 | 2020-04-23T08:48:52.147254 | 2015-04-29T16:23:26 | 2015-04-29T16:23:26 | 15,474,177 | 4 | 0 | null | 2014-12-19T02:09:20 | 2013-12-27T13:20:13 | C++ | UTF-8 | C++ | false | false | 10,938 | cpp | #include "ShatteredSprite.h"
#include "../utils/Utils.h"
#include "../../Utils.h"
namespace oreore
{
using namespace cocos2d;
/* utils */
static float randf(const float base, const float range)
{
const long lRange = random(static_cast<unsigned long int>(range * 2 * 10000));
const float fRange = static_cast<float>(lRange) / 10000.0 - range;
return base + fRange;
}
static inline void t2fAdd(Tex2F &v0, const Tex2F &v1)
{
v0.u += v1.u;
v0.v += v1.v;
}
static inline void v3fAdd(Vertex3F &v0, const Vertex3F &v1)
{
v0.x += v1.x;
v0.y += v1.y;
v0.z += v1.z;
}
static inline Vertex3F t2f2v3f(const Tex2F &t, const GLfloat z)
{
return Vertex3F(t.u, t.v, z);
}
static inline void v3fNormalize(Vertex3F &v)
{
const float len = sqrtf(v.x * v.x + v.y * v.y + v.z * v.z);
if(len == 0.0f)
{
v = Vertex3F();
return;
}
v.x /= len;
v.y /= len;
v.z /= len;
}
static Vertex3F v3fCreateNormalizedVertex(const float adelta)
{
const float sth = sinf(adelta);
const float x = randf(0.0f, 360.0f);
const float y = randf(0.0f, 360.0f);
const float z = randf(0.0f, 360.0f);
if(x == 0.0f && y == 0.0f && z == 0.0f)
{
return Vertex3F();
}
const float len = sqrtf(x * x + y * y + z * z);
return Vertex3F(x * sth / len, y * sth / len, z * sth / len);
}
static inline Vertex3F getDeltaVec(const Tex2F &a, const Tex2F &b, const Tex2F &c, const Vertex3F ¢er, const float speedVar)
{
Vertex3F v((a.u + b.u + c.u) / 3 - center.x, (a.v + b.v + c.v) / 3 - center.y, -center.z);
v3fNormalize(v);
v.x *= randf(0.0, speedVar) + 1.0f;
v.y *= randf(0.0, speedVar) + 1.0f;
v.z *= randf(0.0, speedVar) + 1.0f;
return v;
}
/* ShatteredSprite */
ShatteredSprite *ShatteredSprite::create(const ShatteredSpriteParam ¶m)
{
ShatteredSprite *r = new ShatteredSprite();
if(r && r->init(param))
{
r->autorelease();
return r;
}
delete r;
return nullptr;
}
bool ShatteredSprite::init()
{
if(!Sprite::init())
{
return false;
}
return true;
}
bool ShatteredSprite::init(const ShatteredSpriteParam ¶m)
{
if(!Sprite::initWithTexture(param.texture, param.textureRect))
{
return false;
}
initShatterData(param);
return true;
}
void ShatteredSprite::setParams(const ShatteredSpriteParam ¶m)
{
setTexture(param.texture);
setTextureRect(param.textureRect);
initShatterData(param);
}
void ShatteredSprite::reset(SpriteFrame *frame)
{
setSpriteFrame(frame);
// UVを再構築
const float height = getTextureRect().size.height;
const float rx = CC_CONTENT_SCALE_FACTOR() / getTexture()->getPixelsWide();
const float ry = CC_CONTENT_SCALE_FACTOR() / getTexture()->getPixelsHigh();
const float ox = getTextureRect().origin.x * CC_CONTENT_SCALE_FACTOR() / getTexture()->getPixelsWide();
const float oy = getTextureRect().origin.y * CC_CONTENT_SCALE_FACTOR() / getTexture()->getPixelsHigh();
texCoord.clear();
for(Vertex3F &vtx : coord)
{
texCoord.push_back(Tex2F(vtx.x * rx + ox, (height - vtx.y) * ry + oy));
}
}
void ShatteredSprite::initShatterData(const ShatteredSpriteParam ¶m)
{
this->piecesX = param.piecesX + 1;
shattered = false;
if(!param.shader)
{
shader = ShaderCache::getInstance()->getProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR);
}
else
{
shader = param.shader;
}
updateBlendFunc();
const float height = param.textureRect.size.height;
const float pieceXsize = param.textureRect.size.width / param.piecesX;
const float pieceYsize = height / param.piecesY;
const Vertex3F tc(getContentSize().width / 2, getContentSize().height / 2, 0.0f);
const float rx = CC_CONTENT_SCALE_FACTOR() / param.texture->getPixelsWide();
const float ry = CC_CONTENT_SCALE_FACTOR() / param.texture->getPixelsHigh();
const float ox = param.textureRect.origin.x * CC_CONTENT_SCALE_FACTOR() / param.texture->getPixelsWide();
const float oy = param.textureRect.origin.y * CC_CONTENT_SCALE_FACTOR() / param.texture->getPixelsHigh();
const Color4B color(getColor().r, getColor().g, getColor().b, getOpacity());
Tex2FVec ptArray((param.piecesX + 1) * (param.piecesY + 1));
for(int x = 0; x <= param.piecesX; x++)
{
for(int y = 0; y <= param.piecesY; y++)
{
Tex2F pt(x * pieceXsize, y * pieceYsize);
if(x > 0 && x < param.piecesX && y > 0 && y < param.piecesY)
t2fAdd(pt, Tex2F(roundf(randf(0.0f, pieceXsize * 0.45f)), roundf(randf(0.0f, pieceYsize * 0.45f))));
ptArray[getIndex(x, y)] = pt;
}
}
coord.clear();
texCoord.clear();
moveInfoVec.clear();
colors.resize(param.piecesX * param.piecesY * 6, color);
for(int x = 0; x < param.piecesX; x++)
{
for(int y = 0; y < param.piecesY; y++)
{
{
const float adelta = randf(0.0f, param.rotVar);
const Tex2F &p1 = ptArray[getIndex(x, y)];
const Tex2F &p2 = ptArray[getIndex(x + 1, y)];
const Tex2F &p3 = ptArray[getIndex(x, y + 1)];
moveInfoVec.push_back(
MoveInfo(
v3fCreateNormalizedVertex(adelta),
getDeltaVec(p1, p2, p3, tc, param.speedVar),
Vertex3F((x * pieceXsize) + (pieceXsize * 0.3), (y * pieceYsize) + (pieceYsize * 0.3), 0),
cosf(adelta)
)
);
coord.push_back(t2f2v3f(p1, 0.0f));
coord.push_back(t2f2v3f(p2, 0.0f));
coord.push_back(t2f2v3f(p3, 0.0f));
texCoord.push_back(Tex2F(p1.u * rx + ox, (height - p1.v) * ry + oy));
texCoord.push_back(Tex2F(p2.u * rx + ox, (height - p2.v) * ry + oy));
texCoord.push_back(Tex2F(p3.u * rx + ox, (height - p3.v) * ry + oy));
}
{
const float adelta = randf(0.0f, param.rotVar);
const Tex2F &p1 = ptArray[getIndex(x + 1, y)];
const Tex2F &p2 = ptArray[getIndex(x + 1, y + 1)];
const Tex2F &p3 = ptArray[getIndex(x, y + 1)];
moveInfoVec.push_back(
MoveInfo(
v3fCreateNormalizedVertex(adelta),
getDeltaVec(p1, p2, p3, tc, param.speedVar),
Vertex3F((x * pieceXsize) + (pieceXsize * 0.7), (y * pieceYsize) + (pieceYsize * 0.7), 0),
cosf(adelta)
)
);
coord.push_back(t2f2v3f(p1, 0.0f));
coord.push_back(t2f2v3f(p2, 0.0f));
coord.push_back(t2f2v3f(p3, 0.0f));
texCoord.push_back(Tex2F(p1.u * rx + ox, (height - p1.v) * ry + oy));
texCoord.push_back(Tex2F(p2.u * rx + ox, (height - p2.v) * ry + oy));
texCoord.push_back(Tex2F(p3.u * rx + ox, (height - p3.v) * ry + oy));
}
}
}
}
void ShatteredSprite::updateColor()
{
Sprite::updateColor();
if(shattered)
{
if(getTexture()->hasPremultipliedAlpha())
{
const float opacity = getOpacity() / 255.0f;
std::fill(
colors.begin(), colors.end(),
Color4B(getColor().r * opacity, getColor().g * opacity, getColor().b * opacity, getOpacity())
);
}
else
{
std::fill(
colors.begin(), colors.end(),
Color4B(getColor().r, getColor().g, getColor().b, getOpacity())
);
}
}
}
void ShatteredSprite::draw(cocos2d::Renderer *renderer, const kmMat4 &parentTransform, bool parentTransformUpdated)
{
if(!shattered)
{
Sprite::draw(renderer, parentTransform, parentTransformUpdated);
return;
}
Node::draw(renderer, parentTransform, parentTransformUpdated);
CCASSERT(coord.size() == texCoord.size() && coord.size() == colors.size(), "coord.size() != texCoord.size() != colors.size()");
kmQuaternion p, q, r;
for(int i = 0; i < moveInfoVec.size(); i++)
{
Vertex3F *c = &coord[i * 3];
MoveInfo &info = moveInfoVec[i];
v3fAdd(info.center, info.vdelta);
kmQuaternionFill(&p, -info.axis.x, -info.axis.y, -info.axis.z, info.adelta);
kmQuaternionFill(&r, info.axis.x, info.axis.y, info.axis.z, info.adelta);
for(int j = 0; j < 3; j++, c++)
{
v3fAdd(*c, info.vdelta);
kmQuaternionFill(&q, c->x - info.center.x, c->y - info.center.y, c->z - info.center.z, 0);
kmQuaternionMultiply(&q, &p, &q);
kmQuaternionMultiply(&q, &q, &r);
c->x = q.x + info.center.x;
c->y = q.y + info.center.y;
c->z = q.z + info.center.z;
}
}
cmd.init(getGlobalZOrder());
cmd.func = [this]() {
shader->use();
shader->setUniformsForBuiltins(_modelViewTransform);
GL::blendFunc(getBlendFunc().src, getBlendFunc().dst);
GL::bindTexture2D(getTexture()->getName());
GL::enableVertexAttribs(GL::VERTEX_ATTRIB_FLAG_POS_COLOR_TEX);
glVertexAttribPointer(GLProgram::VERTEX_ATTRIB_POSITION, 3, GL_FLOAT, GL_FALSE, 0, &coord[0]);
glVertexAttribPointer(GLProgram::VERTEX_ATTRIB_TEX_COORDS, 2, GL_FLOAT, GL_FALSE, 0, &texCoord[0]);
glVertexAttribPointer(GLProgram::VERTEX_ATTRIB_COLOR, 4, GL_UNSIGNED_BYTE, GL_TRUE, 0, &colors[0]);
glDrawArrays(GL_TRIANGLES, 0, static_cast<GLsizei>(coord.size()));
CC_INCREMENT_GL_DRAWS(1);
};
renderer->addCommand(&cmd);
}
void ShatteredSprite::shatter()
{
shattered = true;
}
}
| [
"mithrilworks@gmail.com"
] | mithrilworks@gmail.com |
4b739274a23c3990816074e76386220c2e554f1d | bc3c99fe9845ad391dcb7e33aa03fd5796f84900 | /HUETA/parser.cpp | 8fcf7156616d3bd1ef2cece7d26a7801731ae414 | [] | no_license | Dies1rae/PIZDEC | 3c3857944b04ec69cd7550804f31744b52fe454e | 97ad4cacd3d5af58baebaf3aa9894779ac62b20c | refs/heads/master | 2023-03-16T13:29:26.382916 | 2021-03-11T14:16:49 | 2021-03-11T14:16:49 | 346,471,166 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,516 | cpp | #include "parser.h"
using namespace std;
namespace queries {
class ComputeIncome : public ComputeQuery {
public:
using ComputeQuery::ComputeQuery;
ReadResult Process(const BudgetManager& budget) const override {
return { budget.ComputeSum(GetFrom(), GetTo()) };
}
class Factory : public QueryFactory {
public:
std::unique_ptr<Query> Construct(std::string_view config) const override {
auto parts = Split(config, ' ');
return std::make_unique<ComputeIncome>(Date::FromString(parts[0]), Date::FromString(parts[1]));
}
};
};
class Alter : public ModifyQuery {
public:
Alter(Date from, Date to, double amount, bool A_S)
: ModifyQuery(from, to)
, amount_(amount)
, operation_(A_S){
}
void Process(BudgetManager& budget) const override {
double day_income = amount_ / (Date::ComputeDistance(GetFrom(), GetTo()) + 1);
if (operation_) {
budget.AddBulkOperation(GetFrom(), GetTo(), BulkMoneyAdder{ day_income });
} else {
budget.AddBulkOperation(GetFrom(), GetTo(), BulkMoneySpender{ day_income });
}
}
class Factory_earn : public QueryFactory {
public:
std::unique_ptr<Query> Construct(std::string_view config) const override {
auto parts = Split(config, ' ');
double payload = std::stod(std::string(parts[2]));
return std::make_unique<Alter>(Date::FromString(parts[0]), Date::FromString(parts[1]), payload, 1);
}
};
class Factory_spend : public QueryFactory {
public:
std::unique_ptr<Query> Construct(std::string_view config) const override {
auto parts = Split(config, ' ');
double payload = std::stod(std::string(parts[2]));
return std::make_unique<Alter>(Date::FromString(parts[0]), Date::FromString(parts[1]), payload, 0);
}
};
private:
double amount_;
bool operation_;
};
class PayTax : public ModifyQuery {
public:
PayTax(Date from, Date to, double taxes_proc)
: ModifyQuery(from, to)
, taxes_proc_(taxes_proc){
}
void Process(BudgetManager& budget) const override {
budget.AddBulkOperation(GetFrom(), GetTo(), BulkTaxApplier{ 1.0 - (taxes_proc_ / 100.0) });
}
class Factory : public QueryFactory {
public:
std::unique_ptr<Query> Construct(std::string_view config) const override {
auto parts = Split(config, ' ');
double tax_proc = std::stod(std::string(parts[2]));
return std::make_unique<PayTax>(Date::FromString(parts[0]), Date::FromString(parts[1]), tax_proc);
}
};
private:
double taxes_proc_;
};
} // namespace queries
const QueryFactory& QueryFactory::GetFactory(std::string_view id) {
static queries::ComputeIncome::Factory compute_income;
static queries::Alter::Factory_earn earn;
static queries::Alter::Factory_spend spend;
static queries::PayTax::Factory pay_tax;
static std::unordered_map<std::string_view, const QueryFactory&> factories
= { {"ComputeIncome"sv, compute_income}, {"Earn"sv, earn}, {"Spend"sv, spend}, {"PayTax"sv, pay_tax} };
return factories.at(id);
}
| [
"n.poltavskiy@5-tv.ru"
] | n.poltavskiy@5-tv.ru |
c2e92ac7e88820b13ef1b175f943a802291062ae | 57e70c88673e4707b6895b710d0295e93c03bb82 | /src/matrix.h | 027ab73d6ca33064cf45ca6c0313278ef717f290 | [] | no_license | msik314/ACGFinal | 341c13cf98c0c47a5e0dbead7d63ae7588ebe996 | e563bb4d61d6b1d0c1e7862912bf798fb9461e96 | refs/heads/master | 2020-05-05T01:45:37.839866 | 2019-04-29T17:24:37 | 2019-04-29T17:24:37 | 179,613,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,197 | h | #ifndef _MATRIX_H_
#define _MATRIX_H_
//
// originally implemented by Justin Legakis
//
#include <cassert>
#include "vectors.h"
// ====================================================================
// ====================================================================
class Matrix {
public:
// -----------------------------------------------
// CONSTRUCTORS, ASSIGNMENT OPERATOR, & DESTRUCTOR
Matrix() { clear(); }
Matrix(const Matrix& m);
Matrix(const float d[16]) { for (int i = 0; i < 16; i++) { data[i] = d[i]; } }
Matrix& operator=(const Matrix& m);
// ----------------------------
// SIMPLE ACCESSORS & MODIFIERS
const double* get() const { return data; }
double get(int row, int col) const {
assert (row >= 0 && row < 4);
assert (col >= 0 && col < 4);
return data[row+col*4]; }
void glGet(float float_data[16]) const {
for (int i = 0; i < 16; i++) {
float_data[i] = (float)data[i];
}
}
void set(int row, int col, double v) {
assert (row >= 0 && row < 4);
assert (col >= 0 && col < 4);
data[row+col*4] = v; }
void setToIdentity(); // 1s on the diagonal
void clear(); // 0s everywhere
// --------------------------
// STANDARD MATRIX OPERATIONS
void Transpose(Matrix &m) const;
void Transpose() { Transpose(*this); }
int Inverse(Matrix &m, double epsilon = 1e-08) const;
int Inverse(double epsilon = 1e-08) { return Inverse(*this,epsilon); }
// --------------------
// OVERLOADED OPERATORS
friend Matrix operator+(const Matrix &m1, const Matrix &m2);
friend Matrix operator-(const Matrix &m1, const Matrix &m2);
friend Matrix operator*(const Matrix &m1, const Matrix &m2);
friend Vec3f operator*(const Matrix &m1, const Vec3f &v);
friend Vec3f operator*(const Vec3f &v, const Matrix &m1) { return operator*(m1,v); }
friend Vec4f operator*(const Matrix &m1, const Vec4f &v);
friend Vec4f operator*(const Vec4f &v, const Matrix &m1) { return operator*(m1,v); }
friend Matrix operator*(const Matrix &m1, double d);
friend Matrix operator*(double d, const Matrix &m) { return m * d; }
Matrix& operator+=(const Matrix& m) { *this = *this + m; return *this; }
Matrix& operator-=(const Matrix& m) { *this = *this - m; return *this; }
Matrix& operator*=(const double d) { *this = *this * d; return *this; }
Matrix& operator*=(const Matrix& m) { *this = *this * m; return *this; }
// ---------------
// TRANSFORMATIONS
static Matrix MakeTranslation(const Vec3f &v);
static Matrix MakeScale(const Vec3f &v);
static Matrix MakeScale(double s) { return MakeScale(Vec3f(s,s,s)); }
static Matrix MakeXRotation(double theta);
static Matrix MakeYRotation(double theta);
static Matrix MakeZRotation(double theta);
static Matrix MakeAxisRotation(const Vec3f &v, double theta);
// Use to transform a point with a matrix
// that may include translation
void Transform(Vec4f &v) const;
void Transform(Vec3f &v) const {
Vec4f v2 = Vec4f(v.x(),v.y(),v.z(),1);
Transform(v2);
v.set(v2.x()/v2.w(),v2.y()/v2.w(),v2.z()/v2.w()); }
// Use to transform the direction of the ray
// (ignores any translation)
void TransformDirection(Vec3f &v) const {
Vec4f v2 = Vec4f(v.x(),v.y(),v.z(),0);
Transform(v2);
v.set(v2.x(),v2.y(),v2.z()); }
// --------------
// INPUT / OUTPUT
friend std::ostream& operator<<(std::ostream &ostr, const Matrix &m);
friend std::istream& operator>>(std::istream &istr, Matrix &m);
// ------------
// DETERMINANTS
static double det4x4(double a1, double a2, double a3, double a4,
double b1, double b2, double b3, double b4,
double c1, double c2, double c3, double c4,
double d1, double d2, double d3, double d4);
static double det3x3(double a1,double a2,double a3,
double b1,double b2,double b3,
double c1,double c2,double c3);
static double det2x2(double a, double b,
double c, double d);
private:
// --------------
// REPRESENTATION
// column-major order
double data[16];
};
// ====================================================================
// ====================================================================
#endif
| [
"msik314@gmail.com"
] | msik314@gmail.com |
722d939c53575c403235b375cd9c8e37527e0fbf | d26fc94c7ab48f5a003c9c88e005cff072f933fe | /src/ConEmu/GestureEngine.cpp | 13e9d48e3d8e09257a21748d31eb7f58369abf1f | [
"BSD-3-Clause"
] | permissive | ricksladkey/ConEmu | 2c5adaf1bdff05904c9f6305d81521aa32db629c | f5d865ac92a06ba6b61a65d1f7aa1d2ed9f31853 | refs/heads/master | 2021-01-17T11:52:02.992973 | 2016-03-20T05:54:23 | 2016-03-20T05:54:23 | 15,370,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,063 | cpp |
/*
Copyright (c) 2009-2012 Maximus5
All rights reserved.
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. The name of the authors may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''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 AUTHOR 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.
*/
#define HIDE_USE_EXCEPTION_INFO
#define SHOWDEBUGSTR
#include <pshpack8.h> // 8bytes must be (Gesture API)
#include "Header.h"
#define USE_DUMPGEST
//#ifdef USE_DUMPGEST
#define DEBUGSTRPAN(s) DEBUGSTR(s)
//#else
//#define DEBUGSTRGEST(s)
//#endif
#include "GestureEngine.h"
#include "ConEmu.h"
#include "OptionsClass.h"
#include "VirtualConsole.h"
#include "VConGroup.h"
#include "RealConsole.h"
#include "TabBar.h"
#if defined(__GNUC__) && (WINVER < 0x0601)
/*
* Gesture flags - GESTUREINFO.dwFlags
*/
#define GF_BEGIN 0x00000001
#define GF_INERTIA 0x00000002
#define GF_END 0x00000004
/*
* Gesture IDs
*/
#define GID_BEGIN 1
#define GID_END 2
#define GID_ZOOM 3
#define GID_PAN 4
#define GID_ROTATE 5
#define GID_TWOFINGERTAP 6
#define GID_PRESSANDTAP 7
#define GID_ROLLOVER GID_PRESSANDTAP
/*
* Gesture configuration flags - GESTURECONFIG.dwWant or GESTURECONFIG.dwBlock
*/
/*
* Common gesture configuration flags - set GESTURECONFIG.dwID to zero
*/
#define GC_ALLGESTURES 0x00000001
/*
* Zoom gesture configuration flags - set GESTURECONFIG.dwID to GID_ZOOM
*/
#define GC_ZOOM 0x00000001
/*
* Pan gesture configuration flags - set GESTURECONFIG.dwID to GID_PAN
*/
#define GC_PAN 0x00000001
#define GC_PAN_WITH_SINGLE_FINGER_VERTICALLY 0x00000002
#define GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY 0x00000004
#define GC_PAN_WITH_GUTTER 0x00000008
#define GC_PAN_WITH_INERTIA 0x00000010
/*
* Rotate gesture configuration flags - set GESTURECONFIG.dwID to GID_ROTATE
*/
#define GC_ROTATE 0x00000001
/*
* Two finger tap gesture configuration flags - set GESTURECONFIG.dwID to GID_TWOFINGERTAP
*/
#define GC_TWOFINGERTAP 0x00000001
/*
* PressAndTap gesture configuration flags - set GESTURECONFIG.dwID to GID_PRESSANDTAP
*/
#define GC_PRESSANDTAP 0x00000001
#define GC_ROLLOVER GC_PRESSANDTAP
#endif
#ifndef GID_PRESSANDTAP
#define GID_PRESSANDTAP GID_ROLLOVER
#endif
// Default constructor of the class.
CGestures::CGestures()
: _dwArguments(0), _inRotate(false)
{
DEBUGTEST(GESTUREINFO c = {sizeof(c)});
_isTabletPC = GetSystemMetrics(SM_TABLETPC);
_isGestures = IsWindows7;
if (_isGestures)
{
HMODULE hUser = GetModuleHandle(L"user32.dll");
_GetGestureInfo = (GetGestureInfo_t)GetProcAddress(hUser, "GetGestureInfo");
_SetGestureConfig = (SetGestureConfig_t)GetProcAddress(hUser, "SetGestureConfig");
_CloseGestureInfoHandle = (CloseGestureInfoHandle_t)GetProcAddress(hUser, "CloseGestureInfoHandle");
if (!_GetGestureInfo || !_SetGestureConfig || !_CloseGestureInfoHandle)
_isGestures = false;
}
}
// Destructor
CGestures::~CGestures()
{
}
void CGestures::StartGestureLog()
{
if (!gpConEmu->mp_Log)
return;
wchar_t szInfo[100];
_wsprintf(szInfo, SKIPLEN(countof(szInfo)) L"Gestures: TabletPC=%u, Gestures=%u, Enabled=%u", (int)_isTabletPC, (int)_isGestures, (int)IsGesturesEnabled());
gpConEmu->LogString(szInfo);
}
bool CGestures::IsGesturesEnabled()
{
if (!_isTabletPC || !_isGestures)
return false;
// Финт ушами - считаем, что событие от мыши, если мышиный курсор
// видим на экране. Если НЕ видим - то событие от тачскрина. Актуально
// для того, чтобы различать правый клик от мышки и от тачскрина.
CURSORINFO ci = {sizeof(ci)};
if (!GetCursorInfo(&ci))
return false;
// 0 - cursor is hidden, 2 - touchscreen is used
if (ci.flags == 0 || (ci.flags & 2/*CURSOR_SUPPRESSED*/))
return true;
_ASSERTE(ci.flags == CURSOR_SHOWING);
return false;
}
void CGestures::DumpGesture(LPCWSTR tp, const GESTUREINFO& gi)
{
wchar_t szDump[256];
_wsprintf(szDump, SKIPLEN(countof(szDump))
L"Gesture(x%08X {%i,%i} %s",
LODWORD(gi.hwndTarget), gi.ptsLocation.x, gi.ptsLocation.y,
tp); // tp - имя жеста
switch (gi.dwID)
{
case GID_PRESSANDTAP:
{
DWORD h = LODWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
L" Dist={%i,%i}", (int)(short)LOWORD(h), (int)(short)HIWORD(h));
break;
}
case GID_ROTATE:
{
DWORD h = LODWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
L" %i", (int)LOWORD(h));
break;
}
}
if (gi.dwFlags&GF_BEGIN)
wcscat_c(szDump, L" GF_BEGIN");
if (gi.dwFlags&GF_END)
wcscat_c(szDump, L" GF_END");
if (gi.dwFlags&GF_INERTIA)
{
wcscat_c(szDump, L" GF_INERTIA");
DWORD h = HIDWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
L" {%i,%i}", (int)(short)LOWORD(h), (int)(short)HIWORD(h));
}
if (gpSetCls->isAdvLogging >= 2)
{
gpConEmu->LogString(szDump);
}
else
{
#ifdef USE_DUMPGEST
wcscat_c(szDump, L")\n");
DEBUGSTR(szDump);
#endif
}
}
// Main function of this class decodes gesture information
// in:
// hWnd window handle
// wParam message parameter (message-specific)
// lParam message parameter (message-specific)
bool CGestures::ProcessGestureMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT& lResult)
{
if ((uMsg != WM_GESTURENOTIFY) && (uMsg != WM_GESTURE))
return false;
if (!_isGestures)
{
_ASSERTE(_isGestures);
gpConEmu->LogString(L"Gesture message received but not allowed, skipping");
return false;
}
if (uMsg == WM_GESTURENOTIFY)
{
// This is the right place to define the list of gestures that this
// application will support. By populating GESTURECONFIG structure
// and calling SetGestureConfig function. We can choose gestures
// that we want to handle in our application. In this app we
// decide to handle all gestures.
GESTURECONFIG gc[] = {
{GID_ZOOM, GC_ZOOM},
{GID_ROTATE, GC_ROTATE},
{GID_PAN,
GC_PAN|GC_PAN_WITH_GUTTER|GC_PAN_WITH_INERTIA,
GC_PAN_WITH_SINGLE_FINGER_VERTICALLY|GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY
},
{GID_PRESSANDTAP, GC_PRESSANDTAP},
{GID_TWOFINGERTAP, GC_TWOFINGERTAP},
};
BOOL bResult = _SetGestureConfig(hWnd, 0, countof(gc), gc, sizeof(GESTURECONFIG));
DWORD dwErr = GetLastError();
if (gpSetCls->isAdvLogging)
{
wchar_t szNotify[60];
_wsprintf(szNotify, SKIPLEN(countof(szNotify)) L"SetGestureConfig -> %u,%u", bResult, dwErr);
gpConEmu->LogString(szNotify);
}
if (!bResult)
{
DisplayLastError(L"Error in execution of SetGestureConfig", dwErr);
}
lResult = ::DefWindowProc(hWnd, WM_GESTURENOTIFY, wParam, lParam);
return true;
}
// Остался только WM_GESTURE
Assert(uMsg==WM_GESTURE);
// helper variables
POINT ptZoomCenter;
double k;
GESTUREINFO gi = {sizeof(gi)};
// Checking for compiler alignment errors
if (gi.cbSize != WIN3264TEST(48,56))
{
// Struct member alignment must be 8bytes even on x86
Assert(sizeof(GESTUREINFO)==WIN3264TEST(48,56));
_isGestures = false;
return false;
}
BOOL bResult = _GetGestureInfo((HGESTUREINFO)lParam, &gi);
if (!bResult)
{
//_ASSERT(L"_GetGestureInfo failed!" && 0);
DWORD dwErr = GetLastError();
DisplayLastError(L"Error in execution of _GetGestureInfo", dwErr);
return FALSE;
}
#ifdef USE_DUMPGEST
bool bLog = (gpSetCls->isAdvLogging >= 2);
UNREFERENCED_PARAMETER(bLog);
bLog = true;
#endif
#define DUMPGEST(tp) DumpGesture(tp, gi)
//#ifdef USE_DUMPGEST
// wchar_t szDump[256];
// #define DUMPGEST(tp)
// _wsprintf(szDump, SKIPLEN(countof(szDump))
// L"Gesture(x%08X {%i,%i} %s",
// (DWORD)gi.hwndTarget, gi.ptsLocation.x, gi.ptsLocation.y,
// tp);
// if (gi.dwID==GID_PRESSANDTAP) {
// DWORD h = LODWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
// L" Dist={%i,%i}", (int)(short)LOWORD(h), (int)(short)HIWORD(h)); }
// if (gi.dwID==GID_ROTATE) {
// DWORD h = LODWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
// L" %i", (int)LOWORD(h)); }
// if (gi.dwFlags&GF_BEGIN) wcscat_c(szDump, L" GF_BEGIN");
// if (gi.dwFlags&GF_END) wcscat_c(szDump, L" GF_END");
// if (gi.dwFlags&GF_INERTIA) { wcscat_c(szDump, L" GF_INERTIA");
// DWORD h = HIDWORD(gi.ullArguments); _wsprintf(szDump+_tcslen(szDump), SKIPLEN(32)
// L" {%i,%i}", (int)(short)LOWORD(h), (int)(short)HIWORD(h)); }
// wcscat_c(szDump, L")\n");
// DEBUGSTR(szDump)
//#else
//#define DUMPGEST(s)
//#endif
switch (gi.dwID)
{
case GID_BEGIN:
DUMPGEST(L"GID_BEGIN");
break;
case GID_END:
DUMPGEST(L"GID_END");
break;
case GID_ZOOM:
DUMPGEST(L"GID_ZOOM");
if (gi.dwFlags & GF_BEGIN)
{
_dwArguments = LODWORD(gi.ullArguments);
_ptFirst.x = gi.ptsLocation.x;
_ptFirst.y = gi.ptsLocation.y;
ScreenToClient(hWnd,&_ptFirst);
}
else
{
// We read here the second point of the gesture. This is middle point between
// fingers in this new position.
_ptSecond.x = gi.ptsLocation.x;
_ptSecond.y = gi.ptsLocation.y;
ScreenToClient(hWnd,&_ptSecond);
// We have to calculate zoom center point
ptZoomCenter.x = (_ptFirst.x + _ptSecond.x)/2;
ptZoomCenter.y = (_ptFirst.y + _ptSecond.y)/2;
// The zoom factor is the ratio between the new and the old distance.
// The new distance between two fingers is stored in gi.ullArguments
// (lower DWORD) and the old distance is stored in _dwArguments.
k = (double)(LODWORD(gi.ullArguments))/(double)(_dwArguments);
// Now we process zooming in/out of the object
ProcessZoom(hWnd, k, ptZoomCenter.x, ptZoomCenter.y);
// Now we have to store new information as a starting information
// for the next step in this gesture.
_ptFirst = _ptSecond;
_dwArguments = LODWORD(gi.ullArguments);
}
break;
case GID_PAN:
DUMPGEST(L"GID_PAN");
if (gi.dwFlags & GF_BEGIN)
{
_ptFirst.x = gi.ptsLocation.x;
_ptFirst.y = gi.ptsLocation.y;
_ptBegin.x = gi.ptsLocation.x;
_ptBegin.y = gi.ptsLocation.y;
ScreenToClient(hWnd, &_ptFirst);
}
else
{
// We read the second point of this gesture. It is a middle point
// between fingers in this new position
_ptSecond.x = gi.ptsLocation.x;
_ptSecond.y = gi.ptsLocation.y;
ScreenToClient(hWnd, &_ptSecond);
if (!(gi.dwFlags & (GF_END/*|GF_INERTIA*/)))
{
// We apply move operation of the object
if (ProcessMove(hWnd, _ptSecond.x-_ptFirst.x, _ptSecond.y-_ptFirst.y))
{
// We have to copy second point into first one to prepare
// for the next step of this gesture.
_ptFirst = _ptSecond;
}
}
}
break;
case GID_ROTATE:
DUMPGEST(L"GID_ROTATE");
if (gi.dwFlags & GF_BEGIN)
{
_inRotate = false;
_dwArguments = LODWORD(gi.ullArguments); // Запомним начальный угол
}
else
{
_ptFirst.x = gi.ptsLocation.x;
_ptFirst.y = gi.ptsLocation.y;
ScreenToClient(hWnd, &_ptFirst);
// Пока угол не станет достаточным для смены таба - игнорируем
if (ProcessRotate(hWnd,
LODWORD(gi.ullArguments) - _dwArguments,
_ptFirst.x,_ptFirst.y, ((gi.dwFlags & GF_END) == GF_END)))
{
_dwArguments = LODWORD(gi.ullArguments);
}
}
break;
case GID_TWOFINGERTAP:
DUMPGEST(L"GID_TWOFINGERTAP");
_ptFirst.x = gi.ptsLocation.x;
_ptFirst.y = gi.ptsLocation.y;
ScreenToClient(hWnd,&_ptFirst);
ProcessTwoFingerTap(hWnd, _ptFirst.x, _ptFirst.y, LODWORD(gi.ullArguments));
break;
case GID_PRESSANDTAP:
DUMPGEST(L"GID_PRESSANDTAP");
if (gi.dwFlags & GF_BEGIN)
{
_ptFirst.x = gi.ptsLocation.x;
_ptFirst.y = gi.ptsLocation.y;
ScreenToClient(hWnd,&_ptFirst);
DWORD nDelta = LODWORD(gi.ullArguments);
short nDeltaX = (short)LOWORD(nDelta);
short nDeltaY = (short)HIWORD(nDelta);
ProcessPressAndTap(hWnd, _ptFirst.x, _ptFirst.y, nDeltaX, nDeltaY);
}
break;
default:
DUMPGEST(L"GID_<UNKNOWN>");
}
_CloseGestureInfoHandle((HGESTUREINFO)lParam);
return TRUE;
}
void CGestures::SendRClick(HWND hWnd, const LONG ldx, const LONG ldy)
{
CVConGuard VCon;
CRealConsole* pRCon = (CVConGroup::GetActiveVCon(&VCon) >= 0) ? VCon->RCon() : NULL;
if (pRCon)
{
POINT pt = {ldx, ldy};
if (hWnd != VCon->GetView())
MapWindowPoints(hWnd, VCon->GetView(), &pt, 1);
pRCon->OnMouse(WM_RBUTTONDOWN, MK_RBUTTON, pt.x, pt.y);
pRCon->OnMouse(WM_RBUTTONUP, 0, pt.x, pt.y);
}
}
// This function is called when press and tap gesture is recognized
void CGestures::ProcessPressAndTap(HWND hWnd, const LONG ldx, const LONG ldy, const short nDeltaX, const short nDeltaY)
{
SendRClick(hWnd, ldx, ldy);
return;
}
// This function is invoked when two finger tap gesture is recognized
// ldx/ldy - Indicates the center of the two fingers.
void CGestures::ProcessTwoFingerTap(HWND hWnd, const LONG ldx, const LONG ldy, const ULONG dist)
{
SendRClick(hWnd, ldx, ldy);
return;
}
// This function is called constantly through duration of zoom in/out gesture
void CGestures::ProcessZoom(HWND hWnd, const double dZoomFactor, const LONG lZx, const LONG lZy)
{
if (dZoomFactor > 0)
{
if (dZoomFactor > 1.01)
{
int nDelta = (1 * dZoomFactor);
if (nDelta < 1)
nDelta = 1;
else if (nDelta > 8)
nDelta = 8;
gpConEmu->PostFontSetSize(1, nDelta);
}
else if (dZoomFactor < 0.99)
{
int nDelta = (1.0 / dZoomFactor);
if (nDelta < 1)
nDelta = 1;
else if (nDelta > 8)
nDelta = 8;
gpConEmu->PostFontSetSize(1, -nDelta);
}
}
return;
}
// This function is called throughout the duration of the panning/inertia gesture
bool CGestures::ProcessMove(HWND hWnd, const LONG ldx, const LONG ldy)
{
bool lbSent = false;
if (ldy)
{
CVConGuard VCon;
CRealConsole* pRCon = (CVConGroup::GetActiveVCon(&VCon) >= 0) ? VCon->RCon() : NULL;
if (pRCon)
{
TODO("Если можно будет задавать разный шрифт для разных консолей - заменить gpSet->FontHeight()");
// Соотнести Pan с высотой шрифта
int dy = ((ldy < 0) ? -ldy : ldy) / gpSetCls->FontHeight();
if (dy > 0)
{
short Delta = ((ldy < 0) ? -120 : 120) * dy;
#ifdef _DEBUG
wchar_t szDbg[128]; _wsprintf(szDbg, SKIPLEN(countof(szDbg)) L" ProcessMove(%i,%i), WheelDelta=%i\n", ldx, ldy, (int)Delta);
DEBUGSTRPAN(szDbg);
#endif
POINT pt = _ptBegin;
if (hWnd != VCon->GetView())
MapWindowPoints(hWnd, VCon->GetView(), &pt, 1);
pRCon->OnScroll(WM_MOUSEWHEEL, MAKELPARAM(0,Delta), pt.x, pt.y, true);
lbSent = true; // Запомнить обработанную координату
}
TODO("Horizontal Scroll!");
}
}
return lbSent;
}
// This function is called throughout the duration of the rotation gesture
bool CGestures::ProcessRotate(HWND hWnd, const LONG lAngle, const LONG lOx, const LONG lOy, bool bEnd)
{
if (!gpConEmu->mp_TabBar)
{
_ASSERTE(gpConEmu->mp_TabBar!=NULL);
return false;
}
bool bProcessed = false;
if ((((lAngle<0)?-lAngle:lAngle) / 2048) >= 1)
{
if (!_inRotate)
{
//starting
_inRotate = true;
}
if (lAngle > 0)
gpConEmu->mp_TabBar->SwitchPrev();
else
gpConEmu->mp_TabBar->SwitchNext();
bProcessed = true;
}
if (bEnd /*&& _inRotate*/)
{
_inRotate = false;
gpConEmu->mp_TabBar->SwitchCommit();
}
return bProcessed;
}
| [
"ConEmu.Maximus5@gmail.com"
] | ConEmu.Maximus5@gmail.com |
d7f306d470049420b62008c51642d378a9d5cc6a | e61751d77ac166f5bd2b7bcdde2501d78dfe08bb | /sources/engine/Core/ps/win32/Trace.cpp | 693f053fb1e3836b2a15b7c22c318d0e4cc796cc | [] | no_license | carbon-14/Carbon | e5138560c8563da5070893dc51268827bac58c48 | 7c99faadd41f8ba9573e21722f12f7322c287427 | refs/heads/master | 2020-04-27T00:11:47.157703 | 2013-01-26T07:01:28 | 2013-01-26T07:01:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | #include "Core/Trace.h"
#include <cstdio>
#include <Windows.h>
namespace Core
{
void Trace::Message( const Char * msg )
{
printf( "%s", msg );
OutputDebugStringA( msg );
}
}
| [
"carbon14@gmx.com"
] | carbon14@gmx.com |
bdb5d0cbe95541f0f3e027d317ce17fa478c4805 | fbfa70577946bc5ee45cfd20b8937be098ae2837 | /Solver_1D_Hydromechanics_1D2_Explicit_FixedMem_ob.h | 14708b00d2bfd0ad40a1913ca27c49fe93f57239 | [] | no_license | srankli/MPM | a26c018c8f6c21a4bc2a0b01aa02dc268e5535a1 | 4511f6bdd0c01dad2318a5adfb061bd94e1d17a5 | refs/heads/master | 2020-04-05T15:54:16.235628 | 2018-11-21T08:13:05 | 2018-11-21T08:13:05 | 156,989,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | h | #ifndef __SOLVER_1D_HYDROMECHANICS_1D2_EXPLICIT_FIXEDMEM_ob_H__
#define __SOLVER_1D_HYDROMECHANICS_1D2_EXPLICIT_FIXEDMEM_ob_H__
#include <vector>
#include "Solver.h"
#include "Mesh_1D2.h"
#include "Particle_1D_Hydromechanics.h"
#include "OutputRequest.h"
class Solver_1D_Hydromechanics_1D2_Explicit_FixedMem : public Solver
{
protected:
// Background Mesh
Mesh_1D2 &mesh;
double *nodeCoords;
Node_1D *nodes;
size_t nodeNum;
Element_1D2 *elements;
size_t elementNum;
// Objects described by material points
std::vector<ObjectByParticle_1D_Hydromechanics> &pcl_objects;
size_t object_num;
ObjectByParticle_1D_Hydromechanics *curObject;
size_t curObjectId;
// point to memory of all nodal variables
NodeVar_1D_Hydromechanics *nodeVarMem;
// point to memeory of all particle variables
ParticleVar_1D_Hydromechanics *particleVarMem;
public:
Solver_1D_Hydromechanics_1D2_Explicit_FixedMem(
const double time_step,
Mesh_1D2 &mh,
std::vector<ObjectByParticle_1D_Hydromechanics> &pcl_objs,
OutputRequest &out);
~Solver_1D_Hydromechanics_1D2_Explicit_FixedMem();
// Calculate time step size and store it into dt.
void CFLTimeStep(void);
int init(void);
int iteration(void);
// Initialize each interations
int initStep_SingleObject(void);
// Map mass and linear momentum from node to particle.
int mapPhysicalProperyToNode_SingleObject(void);
// calculate nodal force caused by stress within element.
int calInternalAndSeepageForce_SingleObject(void);
// Calculate nodal force caused by body force and surface force.
int calExternalForce_SingleObject(void);
// Integrate momentum
// Update velocity
// Apply boundary conditions
// Do not detect contact
int updatePhysicalPropertyAtNode_SingleObject(void);
int calContactForce(void);
int mapPhysicalPropertyToParticle_SingleObject(void);
int updatePhysicalPropertyAtParticle_SingleObject(void);
};
#endif | [
"yimingli0802@foxmail.com"
] | yimingli0802@foxmail.com |
9c8e90d624cbe7dc2acbe8f36f84fcc92e28926e | 01bd9ea8de01a9b4cac3451934699da4c913ea9d | /src/engine/board.h | e47e30ee85a82c15ff007ce63abc433b79703400 | [
"MIT"
] | permissive | Igor-Schukin/SmartRTU | 9c0b9e60695d9b510ef31c01ab982d76a5da4e12 | ff37ba1fbe1e33a1ac074241f99a07f4d35fdb80 | refs/heads/master | 2022-12-10T03:14:30.858830 | 2020-08-20T08:07:10 | 2020-08-20T08:07:10 | 211,691,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | h | #pragma once
#ifndef SMART_RTU_SRC_ENGINE_BOARD_H_
#define SMART_RTU_SRC_ENGINE_BOARD_H_
#include "IWidget.h"/*interface*/
#include "Timer.h"/*LongTimeMs*/
struct WidgetInfo {
IWidget * widget;
LongTimeMs lastUpdate;
bool needRender;
WidgetInfo * next;
WidgetInfo(IWidget * w) {
widget = w;
next = nullptr;
lastUpdate = 0;
needRender = true;
}
~WidgetInfo() { delete widget; }
};
class Board
{
public:
Board();
~Board();
void update(bool Forced);
void render(bool Forced);
void CleanWidgets() { FreeWidgets_( widgets ); }
void AddWidget(IWidget *widget) { AddWidget_( widgets, widget ); }
IWidget *FindFirst();
IWidget *FindNext();
WidgetInfo * CurrentWidget() { return current; }
int CountWidgets() { return CntWidgets_( widgets ); }
private:
WidgetInfo *widgets, *current;
void AddWidget_(WidgetInfo* & list, IWidget * w);
void FreeWidgets_(WidgetInfo* & list);
int CntWidgets_(WidgetInfo* list);
};
#endif/*SMART_RTU_SRC_ENGINE_BOARD_H_*/ | [
"Yonex312@gmail.com"
] | Yonex312@gmail.com |
dbbdb34f55f2b00359df9693b96384b567e99297 | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /Forms/REM_SprNeispr/UREM_FormaElementaSprNeisprImpl.h | 802d1b84d450191ba5f08afe40f967a9b0e2ce90 | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | UTF-8 | C++ | false | false | 1,787 | h | #ifndef UREM_FormaElementaSprNeisprImplH
#define UREM_FormaElementaSprNeisprImplH
#include "IREM_FormaElementaSprNeispr.h"
#include "UREM_FormaElementaSprNeispr.h"
//---------------------------------------------------------------
class __declspec(uuid("{DDAF114F-8E10-480A-8E13-647990714D9E}")) TREM_FormaElementaSprNeisprImpl : public IREM_FormaElementaSprNeispr, IkanCallBack
{
public:
TREM_FormaElementaSprNeisprImpl();
~TREM_FormaElementaSprNeisprImpl();
TREM_FormaElementaSprNeispr * Object;
int NumRefs;
bool flDeleteObject;
void DeleteImpl(void);
//IUnknown
virtual int kanQueryInterface(REFIID id_interface,void ** ppv);
virtual int kanAddRef(void);
virtual int kanRelease(void);
//IMainInterface
virtual int get_CodeError(void);
virtual void set_CodeError(int CodeError);
virtual UnicodeString get_TextError(void);
virtual void set_TextError(UnicodeString TextError);
virtual int Init(IkanUnknown * i_main_object, IkanUnknown * i_owner_object);
virtual int Done(void);
//IkanCallBack
virtual int kanExternalEvent(IkanUnknown * pUnk, REFIID id_object,int type_event, int number_procedure_end);
//IREM_FormaElementaSprNeispr
virtual bool get_Prosmotr(void);
virtual void set_Prosmotr(bool Prosmotr);
virtual bool get_Vibor(void);
virtual void set_Vibor(bool Vibor);
virtual int get_NumberProcVibor(void);
virtual void set_NumberProcVibor(int NumberProcVibor);
virtual UnicodeString get_TextMessage(void);
virtual void set_TextMessage(UnicodeString TextMessage);
virtual IREM_DMSprNeispr * get_DM(void);
virtual void set_DM(IREM_DMSprNeispr * DM);
virtual void UpdateForm(void);
};
#define CLSID_TREM_FormaElementaSprNeisprImpl __uuidof(TREM_FormaElementaSprNeisprImpl)
#endif
| [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
c8eea4ec5e751f9d0657c4fb2e74c5dd4b061cc5 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/multimedia/directx/dxg/d3d/dx7/rast/d3dif/drawprim.cpp | db017d645ce1f781538e9b6307dd5556b634679c | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,070 | cpp | //----------------------------------------------------------------------------
//
// drawprim.cpp
//
// Implements DrawOnePrimitive, DrawOneIndexedPrimitive and
// DrawPrimitives.
//
// Copyright (C) Microsoft Corporation, 1997.
//
//----------------------------------------------------------------------------
#include "pch.cpp"
#pragma hdrstop
//----------------------------------------------------------------------------
//
// CheckFVF
//
// Check a FVF control word and then init m_fvfData accordingly
//
//----------------------------------------------------------------------------
HRESULT FASTCALL
D3DContext::CheckFVF(DWORD dwFVF)
{
// check if FVF controls have changed
if ( (m_fvfData.preFVF == dwFVF) &&
(m_fvfData.TexIdx[0] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[0][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[1] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[1][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[2] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[2][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[3] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[3][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[4] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[4][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[5] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[5][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[6] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[6][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.TexIdx[7] == (INT)(0xffff&m_RastCtx.pdwTextureStageState[7][D3DTSS_TEXCOORDINDEX])) &&
(m_fvfData.cActTex == m_RastCtx.cActTex) )
{
return D3D_OK;
}
#if DBG
// This is added here per Iouri's request. It will make it easier for him
// to test his code for legacy drivers.
if (dwFVF == 0)
{
dwFVF = D3DFVF_TLVERTEX;
}
#endif
memset(&m_fvfData, 0, sizeof(FVFDATA));
m_fvfData.preFVF = dwFVF;
INT32 i;
for ( i = 0; i < D3DHAL_TSS_MAXSTAGES; i++)
{
m_fvfData.TexIdx[i] = 0xffff&m_RastCtx.pdwTextureStageState[i][D3DTSS_TEXCOORDINDEX];
}
m_fvfData.cActTex = m_RastCtx.cActTex;
#if DBG
// We only support max 8 texture coords
if (m_fvfData.TexIdx[0] > 7 || m_fvfData.TexIdx[1] > 7)
{
D3D_WARN(0, "(Rast) Texture coord index bigger than max supported.");
return DDERR_INVALIDPARAMS;
}
#endif
// Update the copy of wrap states in RastCtx
for ( i = 0; i < D3DHAL_TSS_MAXSTAGES; i++)
{
m_RastCtx.pdwWrap[i] = m_RastCtx.pdwRenderState[
(D3DRENDERSTATETYPE)(D3DRENDERSTATE_WRAP0+m_fvfData.TexIdx[i])];
}
// do either true FVF parsing or legacy TLVERTEX handling
if ( (m_RastCtx.BeadSet != D3DIBS_RAMP) &&
( (dwFVF != D3DFVF_TLVERTEX) ||
(0 != m_fvfData.TexIdx[0]) ||
(m_RastCtx.cActTex > 1) ) )
{ // New (non TL)FVF vertex
// XYZ
if ( (dwFVF & (D3DFVF_RESERVED0 | D3DFVF_RESERVED1 | D3DFVF_RESERVED2 |
D3DFVF_NORMAL)) ||
((dwFVF & (D3DFVF_XYZ | D3DFVF_XYZRHW)) == 0) )
{
// can't set reserved bits, shouldn't have normals in
// output to rasterizers, and must have coordinates
return DDERR_INVALIDPARAMS;
}
m_fvfData.stride = sizeof(D3DVALUE) * 3;
if (dwFVF & D3DFVF_XYZRHW)
{
m_fvfData.offsetRHW = m_fvfData.stride;
m_fvfData.stride += sizeof(D3DVALUE);
}
if (dwFVF & D3DFVF_DIFFUSE)
{
m_fvfData.offsetDiff = m_fvfData.stride;
m_fvfData.stride += sizeof(D3DCOLOR);
}
if (dwFVF & D3DFVF_SPECULAR)
{
m_fvfData.offsetSpec = m_fvfData.stride;
m_fvfData.stride += sizeof(D3DCOLOR);
}
INT iTexCount = (dwFVF & D3DFVF_TEXCOUNT_MASK) >> D3DFVF_TEXCOUNT_SHIFT;
#if DBG
INT iTexIdx0 = m_fvfData.TexIdx[0], iTexIdx1 = m_fvfData.TexIdx[1];
if (iTexCount > 0)
{
// set offset for Textures
for ( i = 0; i < D3DHAL_TSS_MAXSTAGES; i ++)
{
INT iTexIdx = m_fvfData.TexIdx[i];
if ( iTexIdx >= iTexCount)
{
D3D_WARN(1, "(Rast)Texture coord index bigger than texture coord count.");
iTexIdx = 0;
}
m_fvfData.offsetTex[i] = (SHORT)(m_fvfData.stride +
2*sizeof(D3DVALUE)*iTexIdx);
}
// update stride
m_fvfData.stride += (USHORT)(iTexCount * (sizeof(D3DVALUE) * 2));
}
#else
if (iTexCount > 0)
{
// set offset for Textures
for ( i = 0; i < D3DHAL_TSS_MAXSTAGES; i ++)
{
m_fvfData.offsetTex[i] = (SHORT)(m_fvfData.stride +
2*sizeof(D3DVALUE)*m_fvfData.TexIdx[i]);
}
// update stride
m_fvfData.stride += (USHORT)(iTexCount * (sizeof(D3DVALUE) * 2));
}
#endif
m_fvfData.vtxType = RAST_GENVERTEX;
}
else
{
// (Legacy) TL vertex
if (0 < m_fvfData.TexIdx[0])
{
D3D_ERR("(Rast) Texture coord index bigger than 0 for legacy TL vertex.");
return DDERR_INVALIDPARAMS;
}
m_fvfData.stride = sizeof(D3DTLVERTEX);
m_fvfData.vtxType = RAST_TLVERTEX;
}
UpdatePrimFunctionTbl();
return D3D_OK;
}
//----------------------------------------------------------------------------
//
// PackGenVertex
//
// Pack a FvFVertex into RAST_GENERIC_VERTEX. This is called for every non TL
// FVF vertex. It can be optimized for speed later.
//
//----------------------------------------------------------------------------
void FASTCALL
D3DContext::PackGenVertex(PUINT8 pFvfVtx, RAST_GENERIC_VERTEX *pGenVtx)
{
pGenVtx->sx = *((D3DVALUE *)pFvfVtx);
pGenVtx->sy = *((D3DVALUE *)pFvfVtx + 1);
pGenVtx->sz = *((D3DVALUE *)pFvfVtx + 2);
if (m_fvfData.offsetRHW)
{
pGenVtx->rhw = *((D3DVALUE *)(pFvfVtx + m_fvfData.offsetRHW));
}
else
{
pGenVtx->rhw = 1.0f;
}
if (m_fvfData.offsetDiff)
{
pGenVtx->color = *((D3DCOLOR *)(pFvfVtx + m_fvfData.offsetDiff));
}
else
{
pGenVtx->color = __DEFAULT_DIFFUSE;
}
if (m_fvfData.offsetSpec)
{
pGenVtx->specular = *((D3DCOLOR *)(pFvfVtx + m_fvfData.offsetSpec));
}
else
{
pGenVtx->specular = __DEFAULT_SPECULAR;
}
for (INT32 i = 0; i < (INT32)m_fvfData.cActTex; i++)
{
if (m_fvfData.offsetTex[i])
{
pGenVtx->texCoord[i].tu = *((D3DVALUE *)(pFvfVtx + m_fvfData.offsetTex[i]));
pGenVtx->texCoord[i].tv = *((D3DVALUE *)(pFvfVtx + m_fvfData.offsetTex[i]) + 1);
}
else
{
pGenVtx->texCoord[i].tu = 0.0f;
pGenVtx->texCoord[i].tv = 0.0f;
}
}
}
//----------------------------------------------------------------------------
//
// DoDrawOnePrimitive
//
// Draw one list of primitives. It's called by both RastDrawOnePrimitive and
// RastDrawPrimitives.
//
//----------------------------------------------------------------------------
HRESULT FASTCALL
DoDrawOnePrimitive(LPVOID pCtx,
PRIMITIVE_FUNTIONS *pfnPrims,
UINT16 FvfStride,
PUINT8 pVtx,
D3DPRIMITIVETYPE PrimType,
UINT cVertices)
{
INT i;
PUINT8 pV0, pV1, pV2;
HRESULT hr;
switch (PrimType)
{
case D3DPT_POINTLIST:
for (i = (INT)cVertices; i > 0; i--)
{
HR_RET(pfnPrims->pfnPoint(pCtx, pVtx));
pVtx += FvfStride;
}
break;
case D3DPT_LINELIST:
for (i = (INT)cVertices / 2; i > 0; i--)
{
pV0 = pVtx;
pVtx += FvfStride;
pV1 = pVtx;
pVtx += FvfStride;
HR_RET(pfnPrims->pfnLine(pCtx, pV0, pV1));
}
break;
case D3DPT_LINESTRIP:
{
pV1 = pVtx;
// Disable last-pixel setting for shared verties and store prestate.
pfnPrims->pfnStoreLastPixelState(pCtx, 1);
// Initial pV0.
for (i = (INT)cVertices - 1; i > 1; i--)
{
pV0 = pV1;
pVtx += FvfStride;
pV1 = pVtx;
HR_RET(pfnPrims->pfnLine(pCtx, pV0, pV1));
}
// Restore last-pixel setting.
pfnPrims->pfnStoreLastPixelState(pCtx, 0);
// Draw last line with last-pixel setting from state.
if (i == 1)
{
pV0 = pVtx + FvfStride;
HR_RET(pfnPrims->pfnLine(pCtx, pV1, pV0));
}
}
break;
case D3DPT_TRIANGLELIST:
for (i = (INT)cVertices; i > 0; i -= 3)
{
pV0 = pVtx;
pVtx += FvfStride;
pV1 = pVtx;
pVtx += FvfStride;
pV2 = pVtx;
pVtx += FvfStride;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
break;
case D3DPT_TRIANGLESTRIP:
{
// Get initial vertex values.
pV1 = pVtx;
pVtx += FvfStride;
pV2 = pVtx;
pVtx += FvfStride;
for (i = (INT)cVertices - 2; i > 1; i -= 2)
{
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx;
pVtx += FvfStride;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx;
pVtx += FvfStride;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV2, pV1, PFN_TRIANGLE_5ARG_DEFAULT));
}
if (i > 0)
{
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
}
break;
case D3DPT_TRIANGLEFAN:
{
pV2 = pVtx;
pVtx += FvfStride;
// Preload initial pV0.
pV1 = pVtx;
pVtx += FvfStride;
for (i = (INT)cVertices - 2; i > 0; i--)
{
pV0 = pV1;
pV1 = pVtx;
pVtx += FvfStride;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
}
break;
default:
D3D_ERR("(Rast) Unknown or unsupported primitive type "
"requested of DrawOnePrimitive");
return DDERR_INVALIDPARAMS;
}
return D3D_OK;
}
//----------------------------------------------------------------------------
//
// DoDrawOneIndexedPrimitive
//
// Draw one list of indexed primitives. It's called by
// RastDrawOneIndexedPrimitive.
//
//----------------------------------------------------------------------------
HRESULT FASTCALL
DoDrawOneIndexedPrimitive(LPVOID pCtx,
PRIMITIVE_FUNTIONS *pfnPrims,
UINT16 FvfStride,
PUINT8 pVtx,
LPWORD puIndices,
D3DPRIMITIVETYPE PrimType,
UINT cIndices)
{
INT i;
PUINT8 pV0, pV1, pV2;
HRESULT hr;
switch(PrimType)
{
case D3DPT_POINTLIST:
for (i = (INT)cIndices; i > 0; i--)
{
pV0 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnPoint(pCtx, pV0));
}
break;
case D3DPT_LINELIST:
for (i = (INT)cIndices / 2; i > 0; i--)
{
pV0 = pVtx + FvfStride * (*puIndices++);
pV1 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnLine(pCtx, pV0, pV1));
}
break;
case D3DPT_LINESTRIP:
{
// Disable last-pixel setting for shared verties and store prestate.
pfnPrims->pfnStoreLastPixelState(pCtx, 1);
// Initial pV1.
pV1 = pVtx + FvfStride * (*puIndices++);
for (i = (INT)cIndices - 1; i > 1; i--)
{
pV0 = pV1;
pV1 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnLine(pCtx, pV0, pV1));
}
// Restore last-pixel setting.
pfnPrims->pfnStoreLastPixelState(pCtx, 0);
// Draw last line with last-pixel setting from state.
if (i == 1)
{
pV0 = pVtx + FvfStride * (*puIndices);
HR_RET(pfnPrims->pfnLine(pCtx, pV1, pV0));
}
}
break;
case D3DPT_TRIANGLELIST:
for (i = (INT)cIndices; i > 0; i -= 3)
{
pV0 = pVtx + FvfStride * (*puIndices++);
pV1 = pVtx + FvfStride * (*puIndices++);
pV2 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
break;
case D3DPT_TRIANGLESTRIP:
{
// Get initial vertex values.
pV1 = pVtx + FvfStride * (*puIndices++);
pV2 = pVtx + FvfStride * (*puIndices++);
for (i = (INT)cIndices - 2; i > 1; i -= 2)
{
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV2, pV1, PFN_TRIANGLE_5ARG_DEFAULT));
}
if (i > 0)
{
pV0 = pV1;
pV1 = pV2;
pV2 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
}
break;
case D3DPT_TRIANGLEFAN:
{
pV2 = pVtx + FvfStride * (*puIndices++);
// Preload initial pV0.
pV1 = pVtx + FvfStride * (*puIndices++);
for (i = (INT)cIndices - 2; i > 0; i--)
{
pV0 = pV1;
pV1 = pVtx + FvfStride * (*puIndices++);
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, PFN_TRIANGLE_5ARG_DEFAULT));
}
}
break;
default:
D3D_ERR("(Rast) Unknown or unsupported primitive type "
"requested of DrawOneIndexedPrimitive");
return DDERR_INVALIDPARAMS;
}
return D3D_OK;
}
//----------------------------------------------------------------------------
//
// DoDrawOneEdgeFlagTriangleFan
//
// Draw one list of triangle fans. It's called by both RastDrawOnePrimitive and
// RastDrawPrimitives.
//
//----------------------------------------------------------------------------
HRESULT FASTCALL
DoDrawOneEdgeFlagTriangleFan(LPVOID pCtx,
PRIMITIVE_FUNTIONS *pfnPrims,
UINT16 FvfStride,
PUINT8 pVtx,
UINT cVertices,
UINT32 dwEdgeFlags)
{
INT i;
PUINT8 pV0, pV1, pV2;
HRESULT hr;
pV2 = pVtx;
pVtx += FvfStride;
pV0 = pVtx;
pVtx += FvfStride;
pV1 = pVtx;
pVtx += FvfStride;
WORD wFlags = 0;
if(dwEdgeFlags & 0x2)
wFlags |= D3DTRIFLAG_EDGEENABLE1;
if(dwEdgeFlags & 0x1)
wFlags |= D3DTRIFLAG_EDGEENABLE3;
if(cVertices == 3) {
if(dwEdgeFlags & 0x4)
wFlags |= D3DTRIFLAG_EDGEENABLE2;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, wFlags));
return D3D_OK;
}
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, wFlags));
UINT32 dwMask = 0x4;
for (i = (INT)cVertices - 4; i > 0; i--)
{
pV0 = pV1;
pV1 = pVtx;
pVtx += FvfStride;
if(dwEdgeFlags & dwMask)
{
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, D3DTRIFLAG_EDGEENABLE1));
}
else
{
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, 0));
}
dwMask <<= 1;
}
pV0 = pV1;
pV1 = pVtx;
wFlags = 0;
if(dwEdgeFlags & dwMask)
wFlags |= D3DTRIFLAG_EDGEENABLE1;
dwMask <<= 1;
if(dwEdgeFlags & dwMask)
wFlags |= D3DTRIFLAG_EDGEENABLE2;
HR_RET(pfnPrims->pfnTri(pCtx, pV0, pV1, pV2, wFlags));
return D3D_OK;
}
#if DBG
//----------------------------------------------------------------------------
//
// ValidatePrimType
//
// Check if the primitive type is supported. We could remove this function
// after we have implemented all primitive types and then depend on D3DIM
// to check if the primitive type is valid.
//
//----------------------------------------------------------------------------
inline HRESULT
D3DContext::ValidatePrimType(D3DPRIMITIVETYPE PrimitiveType)
{
switch(PrimitiveType)
{
case D3DPT_POINTLIST:
case D3DPT_LINELIST:
case D3DPT_LINESTRIP:
case D3DPT_TRIANGLELIST:
case D3DPT_TRIANGLEFAN:
case D3DPT_TRIANGLESTRIP:
break;
default:
D3D_ERR("(Rast) PrimitiveType not supported by the new rasterizer.");
return DDERR_INVALIDPARAMS;
}
return D3D_OK;
}
#endif
//----------------------------------------------------------------------------
//
// CheckDrawOnePrimitive
//
// Check if the DRAWONEPRIMITIVEDATA is valid.
//
//----------------------------------------------------------------------------
inline HRESULT
D3DContext::CheckDrawOnePrimitive(LPD3DHAL_DRAWONEPRIMITIVEDATA pOnePrimData)
{
#if DBG
HRESULT hr;
if (pOnePrimData == NULL ||
pOnePrimData->dwhContext == 0 ||
pOnePrimData->lpvVertices == NULL)
{
D3D_ERR("(Rast) Invalid data passed to the new rasterizer.");
return DDERR_INVALIDPARAMS;
}
HR_RET(ValidatePrimType(pOnePrimData->PrimitiveType));
#endif
return D3D_OK;
}
//----------------------------------------------------------------------------
//
// CheckDrawOneIndexedPrimitive
//
// Check if the DRAWONEINDEXEDPRIMITIVEDATA is valid.
//
//----------------------------------------------------------------------------
inline HRESULT
D3DContext::CheckDrawOneIndexedPrimitive(
LPD3DHAL_DRAWONEINDEXEDPRIMITIVEDATA pOneIdxPrimData)
{
#if DBG
HRESULT hr;
if (pOneIdxPrimData == NULL ||
pOneIdxPrimData->dwhContext == 0 ||
pOneIdxPrimData->lpvVertices == NULL ||
pOneIdxPrimData->lpwIndices == NULL)
{
D3D_ERR("(Rast) Invalid data passed to the new rasterizer.");
return DDERR_INVALIDPARAMS;
}
HR_RET(ValidatePrimType(pOneIdxPrimData->PrimitiveType));
#endif
return D3D_OK;
}
//----------------------------------------------------------------------------
//
// RastDrawOnePrimitive
//
// Draw one list of primitives. This is called by D3DIM for API DrawPrimitive.
//
//----------------------------------------------------------------------------
DWORD __stdcall
RastDrawOnePrimitive(LPD3DHAL_DRAWONEPRIMITIVEDATA pOnePrimData)
{
HRESULT hr;
D3DContext *pDCtx;
VALIDATE_D3DCONTEXT("RastDrawOnePrimitive", pOnePrimData);
if ((pOnePrimData->ddrval =
pDCtx->CheckDrawOnePrimitive(pOnePrimData)) != DD_OK)
{
return DDHAL_DRIVER_HANDLED;
}
// Check for FVF vertex, and init FVF related fileds if necessary
// Assume the control word is passed in through dwFlags
CHECK_FVF(pOnePrimData->ddrval, pDCtx, (DWORD)pOnePrimData->dwFVFControl);
pOnePrimData->ddrval = pDCtx->Begin();
if (pOnePrimData->ddrval != D3D_OK)
{
return DDHAL_DRIVER_HANDLED;
}
pOnePrimData->ddrval =
pDCtx->DrawOnePrimitive((PUINT8)pOnePrimData->lpvVertices,
pOnePrimData->PrimitiveType,
pOnePrimData->dwNumVertices);
hr = pDCtx->End();
if (pOnePrimData->ddrval == D3D_OK)
{
pOnePrimData->ddrval = hr;
}
return DDHAL_DRIVER_HANDLED;
}
//----------------------------------------------------------------------------
//
// RastDrawOneIndexedPrimitive
//
// Draw one list of primitives. This is called by D3DIM for API
// DrawIndexedPrimitive.
//
//----------------------------------------------------------------------------
DWORD __stdcall
RastDrawOneIndexedPrimitive(LPD3DHAL_DRAWONEINDEXEDPRIMITIVEDATA
pOneIdxPrimData)
{
HRESULT hr;
D3DContext *pDCtx;
VALIDATE_D3DCONTEXT("RastDrawOneIndexedPrimitive", pOneIdxPrimData);
if ((pOneIdxPrimData->ddrval =
pDCtx->CheckDrawOneIndexedPrimitive(pOneIdxPrimData)) != DD_OK)
{
return DDHAL_DRIVER_HANDLED;
}
// Check for FVF vertex, and init FVF related fileds if necessary
// Assume the control word is passed in through dwFlags
CHECK_FVF(pOneIdxPrimData->ddrval, pDCtx, (DWORD)pOneIdxPrimData->dwFVFControl);
pOneIdxPrimData->ddrval = pDCtx->Begin();
if (pOneIdxPrimData->ddrval != D3D_OK)
{
return DDHAL_DRIVER_HANDLED;
}
pOneIdxPrimData->ddrval =
pDCtx->DrawOneIndexedPrimitive((PUINT8)pOneIdxPrimData->lpvVertices,
pOneIdxPrimData->lpwIndices,
pOneIdxPrimData->PrimitiveType,
pOneIdxPrimData->dwNumIndices);
hr = pDCtx->End();
if (pOneIdxPrimData->ddrval == D3D_OK)
{
pOneIdxPrimData->ddrval = hr;
}
return DDHAL_DRIVER_HANDLED;
}
//----------------------------------------------------------------------------
//
// RastDrawPrimitives
//
// This is called by D3DIM for a list of batched API DrawPrimitive calls.
//
//----------------------------------------------------------------------------
DWORD __stdcall
RastDrawPrimitives(LPD3DHAL_DRAWPRIMITIVESDATA pDrawPrimData)
{
PUINT8 pData = (PUINT8)pDrawPrimData->lpvData;
LPD3DHAL_DRAWPRIMCOUNTS pDrawPrimitiveCounts;
D3DContext *pDCtx;
VALIDATE_D3DCONTEXT("RastDrawPrimitives", pDrawPrimData);
pDrawPrimitiveCounts = (LPD3DHAL_DRAWPRIMCOUNTS)pData;
// Check for FVF vertex when there are actually something to be drawn, and
// init FVF related fileds if necessary Assume the control word is passed
// in through dwReserved
if (pDrawPrimitiveCounts->wNumVertices > 0)
{
CHECK_FVF(pDrawPrimData->ddrval, pDCtx, pDrawPrimData->dwFVFControl);
}
// Skip state check and texture lock if the first thing is state change
if (pDrawPrimitiveCounts->wNumStateChanges == 0)
{
pDrawPrimData->ddrval =pDCtx->Begin();
if (pDrawPrimData->ddrval != D3D_OK)
{
goto EH_Exit;
}
}
// Loop through the data, update render states
// and then draw the primitive
for (;;)
{
pDrawPrimitiveCounts = (LPD3DHAL_DRAWPRIMCOUNTS)pData;
pData += sizeof(D3DHAL_DRAWPRIMCOUNTS);
//
// Update render states
//
if (pDrawPrimitiveCounts->wNumStateChanges > 0)
{
// Flush the prim proc before any state changs
pDrawPrimData->ddrval = pDCtx->End(FALSE);
if (pDrawPrimData->ddrval != D3D_OK)
{
return DDHAL_DRIVER_HANDLED;
}
pDrawPrimData->ddrval =
pDCtx->UpdateRenderStates((LPDWORD)pData,
pDrawPrimitiveCounts->wNumStateChanges);
if (pDrawPrimData->ddrval != D3D_OK)
{
goto EH_Exit;
}
pData += pDrawPrimitiveCounts->wNumStateChanges *
sizeof(DWORD) * 2;
}
// Check for exit
if (pDrawPrimitiveCounts->wNumVertices == 0)
{
break;
}
// Align pointer to vertex data
pData = (PUINT8)
((UINT_PTR)(pData + (DP_VTX_ALIGN - 1)) & ~(DP_VTX_ALIGN - 1));
// Delayed change until we really need to render something
if (pDrawPrimitiveCounts->wNumStateChanges > 0)
{
// We might have a new texture so lock.
pDrawPrimData->ddrval = pDCtx->Begin();
if (pDrawPrimData->ddrval != D3D_OK)
{
goto EH_Exit;
}
}
//
// Primitives
//
pDrawPrimData->ddrval =
pDCtx->DrawOnePrimitive((PUINT8)pData,
(D3DPRIMITIVETYPE)pDrawPrimitiveCounts->wPrimitiveType,
pDrawPrimitiveCounts->wNumVertices);
if (pDrawPrimData->ddrval != DD_OK)
{
goto EH_Exit;
}
pData += pDrawPrimitiveCounts->wNumVertices * pDCtx->GetFvfStride();
}
EH_Exit:
HRESULT hr;
hr = pDCtx->End();
if (pDrawPrimData->ddrval == D3D_OK)
{
pDrawPrimData->ddrval = hr;
}
return DDHAL_DRIVER_HANDLED;
}
| [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
9469b20672923adaa1c46d5712f35f6deb1ef2ed | 158744e689dbc0e2ecb8cbd48b3156af229fe2c1 | /test-suite/generated-src/jni/NativeSetRecord.hpp | 02b82214b117e3019e61e7256c9f8c346ca6db6a | [
"Apache-2.0"
] | permissive | abduld/djinni | 02963398dc61f8e0763d476287b50e73e66be779 | c9cebff9ceb1a89ded31ac022c277d30fe54fdf5 | refs/heads/master | 2023-04-07T17:58:25.255945 | 2014-12-15T23:14:34 | 2014-12-15T23:14:37 | 28,728,178 | 0 | 0 | Apache-2.0 | 2023-04-04T00:42:38 | 2015-01-02T22:24:22 | Scala | UTF-8 | C++ | false | false | 846 | hpp | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from set.djinni
#pragma once
#include "djinni_support.hpp"
#include "set_record.hpp"
namespace djinni_generated {
class NativeSetRecord final {
public:
using CppType = SetRecord;
using JniType = jobject;
static jobject toJava(JNIEnv*, SetRecord);
static SetRecord fromJava(JNIEnv*, jobject);
const djinni::GlobalRef<jclass> clazz { djinni::jniFindClass("com/dropbox/djinni/test/SetRecord") };
const jmethodID jconstructor { djinni::jniGetMethodID(clazz.get(), "<init>", "(Ljava/util/HashSet;)V") };
const jfieldID field_mSet { djinni::jniGetFieldID(clazz.get(), "mSet", "Ljava/util/HashSet;") };
private:
NativeSetRecord() {}
friend class djinni::JniClass<::djinni_generated::NativeSetRecord>;
};
} // namespace djinni_generated
| [
"j4cbo@dropbox.com"
] | j4cbo@dropbox.com |
167c2a1116d2426df46ac38ba9079934f551928e | 1ef8b2e69ddd13e380f0e3b672edcce6032e74ea | /Application/SourceCode/GeneralDemo/Source/setting_panel.cpp | 8650d9ceffb0c6faa8306f2bb3184a1a1f1e7ccf | [] | no_license | nealwang123/Qt-Plugin-Project | 2f05f0b2f573cccc0987e8a0c12fb8b07ddc5c36 | dc7675bd1862dead8bc1b7b250b9c77fc570adf2 | refs/heads/master | 2022-07-20T01:29:14.037467 | 2020-05-16T06:59:48 | 2020-05-16T06:59:48 | 288,613,609 | 1 | 0 | null | 2020-08-19T02:30:06 | 2020-08-19T02:30:05 | null | UTF-8 | C++ | false | false | 1,967 | cpp | /*!
* \file setting_panel.cpp
* \date 2019.10.24
* \author zhusizhi
* \version 1.0.0
*
* \brief setting panel
*
*/
#include "setting_panel.h"
#include "common_config.h"
namespace general_demo
{
SettingPanel::SettingPanel(QWidget *parent) :
Panel(parent)
{
ui.setupUi(this);
connect(ui.resetBtn, SIGNAL(clicked()), this, SLOT(resetCountersSlot()));
connect(ui.saveBtn, SIGNAL(clicked()), this, SLOT(saveCurSettingSlot()));
initUI();
}
SettingPanel::~SettingPanel()
{
}
void SettingPanel::resetCountersSlot()
{
initUI();
}
void SettingPanel::initUI()
{
if (NULL == m_pConfigInfo)
{
m_pConfigInfo = CConfigInfo::getInstace();
}
ui.lineEdit_1->setText(m_pConfigInfo->getInstace()->m_strXmppUrl);
ui.lineEdit_2->setText(m_pConfigInfo->getInstace()->m_strXmppUserName);
ui.lineEdit_3->setText(m_pConfigInfo->getInstace()->m_strXmppPassword);
ui.lineEdit_4->setText(m_pConfigInfo->getInstace()->m_strTaskUrl);
ui.lineEdit_5->setText(m_pConfigInfo->getInstace()->m_strTaskPort);
}
void SettingPanel::saveCurSettingSlot()
{
m_pConfigInfo->m_strXmppUrl = ui.lineEdit_1->text();
m_pConfigInfo->m_strXmppUserName = ui.lineEdit_2->text();
m_pConfigInfo->m_strXmppPassword = ui.lineEdit_3->text();
m_pConfigInfo->m_strTaskUrl = ui.lineEdit_4->text();
m_pConfigInfo->m_strTaskPort = ui.lineEdit_5->text();
QString strRootPath = QCoreApplication::applicationDirPath();
QString fullName = strRootPath + "/config.ini";
QSettings *pCfg = new QSettings(fullName, QSettings::IniFormat);
pCfg->setValue("/config/xmppAdress", m_pConfigInfo->m_strXmppUrl);
pCfg->setValue("/config/xmppUserName", m_pConfigInfo->m_strXmppUserName);
pCfg->setValue("/config/xmppPassWord", m_pConfigInfo->m_strXmppPassword);
pCfg->setValue("/config/taskAdress", m_pConfigInfo->m_strTaskUrl);
pCfg->setValue("/config/taskPort", m_pConfigInfo->m_strTaskPort);
delete pCfg;
}
} // namespace general_demo
| [
"574226409@qq.com"
] | 574226409@qq.com |
7012195ba8d46207e56c355f0271b593c7d4e87e | 437e72efe40b513107a7eb799b2a95be529059e8 | /rotate.cpp | 94c98a2891fca9f03af14978b82722ceb939e3b1 | [] | no_license | arpitg24/cpp_codes | 6c4fad3f5fdbfd5c10d7134e54d9318e1a6ed4da | 1596f86e0b7d0464df510b144fd9d4647bff46aa | refs/heads/master | 2022-11-05T12:46:07.959465 | 2022-10-14T03:25:02 | 2022-10-14T03:25:02 | 230,080,155 | 0 | 4 | null | 2022-10-14T03:43:04 | 2019-12-25T09:43:10 | C++ | UTF-8 | C++ | false | false | 914 | cpp | #include"opencv2/core/core.hpp"
#include"opencv2/imgproc/imgproc.hpp"
#include"opencv2/highgui/highgui.hpp"
#include<iostream>
#include<cmath>
using namespace std;
using namespace cv;
int main(){
namedWindow("w1",WINDOW_NORMAL);
Mat a = imread("fruits.png",1);
double x = a.rows;
double y = a.cols;
double t = 0.5;
int r = floor(sqrt(x*x+y*y));
Mat img(2*r,2*r,CV_8UC3,Scalar(0,0,0));
for(int i = 0;i<x;i++){
for(int j = 0;j<y;j++){
img.at<Vec3b>(floor(x/2)+floor(i*cos(t)+j*sin(t)),floor(y/2)+floor(i*cos(t)-j*sin(t)))[0] = a.at<Vec3b>(i,j)[0];
img.at<Vec3b>(floor(x/2)+floor(i*cos(t)+j*sin(t)),floor(y/2)+floor(i*cos(t)-j*sin(t)))[1] = a.at<Vec3b>(i,j)[1];
img.at<Vec3b>(floor(x/2)+floor(i*cos(t)+j*sin(t)),floor(y/2)+floor(i*cos(t)-j*sin(t)))[2] = a.at<Vec3b>(i,j)[2];
}
}
imshow("w1",img);
cvWaitKey(0);
} | [
"noreply@github.com"
] | noreply@github.com |
c00c07bd998f4cba168b40d5e92f7d5dd8c67bca | f1df438f08f9650eb07544f627eccd07ed931b2e | /include/Excel/CSmartTag.h | 2a42606d70da331a990c227fd5422111c23a4192 | [] | no_license | presscad/ArxWorkspace | d443a6c4759969435d9369370038226289372858 | b596acdf27e948f28b774c61cf4ba4c10a6bb614 | refs/heads/master | 2020-08-27T04:18:15.535121 | 2016-04-01T10:13:48 | 2016-04-01T10:13:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,014 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
// CSmartTag0 包装类
class CSmartTag0 : public COleDispatchDriver
{
public:
CSmartTag0(){} // 调用 COleDispatchDriver 默认构造函数
CSmartTag0(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CSmartTag0(const CSmartTag0& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// 属性
public:
// 操作
public:
// SmartTag 方法
public:
LPDISPATCH get_Application()
{
LPDISPATCH result;
InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
long get_Creator()
{
long result;
InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Parent()
{
LPDISPATCH result;
InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
CString get_DownloadURL()
{
CString result;
InvokeHelper(0x8a4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString get_Name()
{
CString result;
InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString get__Default()
{
CString result;
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
CString get_XML()
{
CString result;
InvokeHelper(0x8a5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Range()
{
LPDISPATCH result;
InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
void Delete()
{
InvokeHelper(0x75, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
LPDISPATCH get_SmartTagActions()
{
LPDISPATCH result;
InvokeHelper(0x8a6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
LPDISPATCH get_Properties()
{
LPDISPATCH result;
InvokeHelper(0x857, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
return result;
}
// SmartTag 属性
public:
};
| [
"75020174@qq.com"
] | 75020174@qq.com |
938b28ce9b60a26b5a2272a4ddf329b226c5cfd5 | 9280fea108f5b3912629de7851f6bbbde561c9a4 | /src/control/controller_common_nodes/include/controller_common_nodes/controller_base_node.hpp | f642a4080822d756d577a50c94e7aa6d5ba8a1a0 | [
"MIT",
"Apache-2.0"
] | permissive | bytetok/vde | 93071992618b7c539cd618eaae24d65f1099295b | ff8950abbb72366ed3072de790c405de8875ecc3 | refs/heads/main | 2023-08-23T15:08:14.644017 | 2021-10-09T03:59:09 | 2021-10-09T03:59:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,608 | hpp | // Copyright 2019 Christopher Ho
//
// 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 CONTROLLER_COMMON_NODES__CONTROLLER_BASE_NODE_HPP_
#define CONTROLLER_COMMON_NODES__CONTROLLER_BASE_NODE_HPP_
#include <controller_common_nodes/visibility_control.hpp>
#include <autoware_auto_msgs/msg/control_diagnostic.hpp>
#include <autoware_auto_msgs/msg/trajectory.hpp>
#include <autoware_auto_msgs/msg/vehicle_kinematic_state.hpp>
#include <controller_common/controller_base.hpp>
#include <tf2/buffer_core.h>
#include <tf2_msgs/msg/tf_message.hpp>
#include <rclcpp/rclcpp.hpp>
#include <exception>
#include <memory>
#include <list>
#include <string>
namespace motion
{
namespace control
{
namespace controller_common_nodes
{
using controller_common::Command;
using controller_common::Diagnostic;
using controller_common::State;
using controller_common::Trajectory;
using tf2_msgs::msg::TFMessage;
using geometry_msgs::msg::TransformStamped;
using ControllerPtr = std::unique_ptr<controller_common::ControllerBase>;
class CONTROLLER_COMMON_NODES_PUBLIC ControllerBaseNode : public rclcpp::Node
{
public:
/// Parameter file constructor
ControllerBaseNode(const std::string & name, const std::string & ns);
/// Explicit constructor
ControllerBaseNode(
const std::string & name,
const std::string & ns,
const std::string & command_topic,
const std::string & state_topic,
const std::string & tf_topic,
const std::string & trajectory_topic,
const std::string & diagnostic_topic,
const std::string & static_tf_topic = "static_tf");
virtual ~ControllerBaseNode() noexcept = default;
protected:
/// Child class should call this to set the controller
void set_controller(ControllerPtr && controller) noexcept;
/// Handles errors thrown by either check_new_trajectory(), handle_new_trajectory()
/// or the std::domain_error from set_trajectory()
virtual void on_bad_trajectory(std::exception_ptr eptr);
/// Handles errors thrown by compute_command_impl(), or std::domain_error due to
/// empty trajectories
virtual void on_bad_compute(std::exception_ptr eptr);
/// Expose publishing in case a child class wants to do something during error handling
void publish(const Command & msg);
private:
// Common initialization
CONTROLLER_COMMON_NODES_LOCAL void init(
const std::string & command_topic,
const std::string & state_topic,
const std::string & tf_topic,
const std::string & static_tf_topic,
const std::string & trajectory_topic,
const std::string & diagnostic_topic);
// Callbacks, note passing smart pointers by ref is fine if you're not using ownership
// semantics:
// stackoverflow.com/questions/3310737/
// should-we-pass-a-shared-ptr-by-reference-or-by-value/8741626
CONTROLLER_COMMON_NODES_LOCAL void on_tf(const TFMessage::SharedPtr & msg);
CONTROLLER_COMMON_NODES_LOCAL void on_static_tf(const TFMessage::SharedPtr & msg);
CONTROLLER_COMMON_NODES_LOCAL void on_trajectory(const Trajectory::SharedPtr & msg);
CONTROLLER_COMMON_NODES_LOCAL void on_state(const State::SharedPtr & msg);
// Main computation, false if failure (due to missing tf?)
CONTROLLER_COMMON_NODES_LOCAL bool try_compute(const State & state);
// Try to compute control commands from old states in the context of new trajectories and tfs
CONTROLLER_COMMON_NODES_LOCAL void retry_compute();
rclcpp::Subscription<State>::SharedPtr m_state_sub{};
rclcpp::Subscription<TFMessage>::SharedPtr m_tf_sub{};
rclcpp::Subscription<TFMessage>::SharedPtr m_static_tf_sub{};
rclcpp::Subscription<Trajectory>::SharedPtr m_trajectory_sub{};
rclcpp::Publisher<Command>::SharedPtr m_command_pub{};
rclcpp::Publisher<Diagnostic>::SharedPtr m_diagnostic_pub{};
tf2::BufferCore m_tf_buffer{tf2::BUFFER_CORE_DEFAULT_CACHE_TIME};
// TODO(c.ho) diagnostics
ControllerPtr m_controller{nullptr};
std::list<State> m_uncomputed_states{};
}; // class ControllerBaseNode
} // namespace controller_common_nodes
} // namespace control
} // namespace motion
#endif // CONTROLLER_COMMON_NODES__CONTROLLER_BASE_NODE_HPP_
| [
"Will.Heitman@utdallas.edu"
] | Will.Heitman@utdallas.edu |
a830fb464256672ab2745c0af1b47e4bdc2c2f12 | 09c5c4baed3d26701e866be100e4e52d9a34b856 | /StudyAlone/C_Practice/dales/190323-Expert-용현이의_지도복원/user.cpp | 62ba5fd710acdb8579c7ed92136e78d1d06fedb1 | [] | no_license | sangdo913/Algorithms | 556ac5fc789e35df2f65601e4439caca967edd7b | ee11265895d8ce3314f009df38166defc4b946c7 | refs/heads/master | 2022-09-11T12:00:58.615980 | 2022-07-31T11:11:04 | 2022-07-31T11:11:04 | 116,484,870 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp |
extern bool check_map(unsigned char map[4096][4096]);
void recover(unsigned char map[4096][4096])
{
} | [
"sangdo913@gmail.com"
] | sangdo913@gmail.com |
f0c50b43cd777e5425d3d904d9e4c8bfb6c58595 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-30/android/media/MediaSession2Service_MediaNotification.hpp | ec59e53742db3976bfe29d6eed2bfafe40c01d9e | [
"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 | 924 | hpp | #pragma once
#include "../app/Notification.def.hpp"
#include "./MediaSession2Service_MediaNotification.def.hpp"
namespace android::media
{
// Fields
// Constructors
inline MediaSession2Service_MediaNotification::MediaSession2Service_MediaNotification(jint arg0, android::app::Notification arg1)
: JObject(
"android.media.MediaSession2Service$MediaNotification",
"(ILandroid/app/Notification;)V",
arg0,
arg1.object()
) {}
// Methods
inline android::app::Notification MediaSession2Service_MediaNotification::getNotification() const
{
return callObjectMethod(
"getNotification",
"()Landroid/app/Notification;"
);
}
inline jint MediaSession2Service_MediaNotification::getNotificationId() const
{
return callMethod<jint>(
"getNotificationId",
"()I"
);
}
} // namespace android::media
// Base class headers
#ifdef QT_ANDROID_API_AUTOUSE
using namespace android::media;
#endif
| [
"yjbeetle@gmail.com"
] | yjbeetle@gmail.com |
0bf625940f22e6b3a5571e82daeb2925c0ffdd44 | 6f6818ef04db0c8a9300fe08bbca21773845f611 | /05_TD4/LeJeuDu2048/jeu2048.h | 95df6da2bdc2d60199326bf5db3591c097d4a3f4 | [] | no_license | cbourgouin/Apprendre_CPP | 6c449c33165fe237bd7cedc25aee5ae678df0e33 | 3f19053fb35bd3b0703b1d1126229f6fa7235b45 | refs/heads/master | 2023-02-28T15:46:06.880194 | 2021-02-03T09:53:07 | 2021-02-03T09:53:07 | 292,542,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | #include <math.h>
#include <time.h>
#include <iostream>
#include <iomanip>
#include <string.h>
#ifndef JEU2049_H
#define JEU2049_H
#define NB_CASE 4
enum MODE_ALEATOIRE{
POSITION, TUILE
};
class Jeu2048
{
private:
int grille[NB_CASE][NB_CASE];
char direction;
int nbCoups;
int score;
public:
Jeu2048();
bool JouerCoup(char _direction);
int ObtenirNbCoups();
int ObtenirScore();
void ObtenirGrille(int _grille[][NB_CASE]);
private:
int TirerAleatoire(MODE_ALEATOIRE _mode);
void PlacerNouvelleTuile();
bool Calculer();
void Deplacer();
void CalculerScore();
bool RechercherFinDePartie();
};
#endif // JEU2049_H
| [
"charlybourgouin@gmail.com"
] | charlybourgouin@gmail.com |
6549e74d00c64443619069e44041995a85aebe01 | c91d2d43317afa03e4e7e8bd5c01eed0d02acef2 | /systemconfig/BoxConfig/collectsetdialog.h | 95ee1f248d5eac20e64cff2f9b801b9cc0124d7c | [] | no_license | Jiang0Pan/STM32_Data_Collection_System | 6747961578aa6fd5a0ce2563575b0ccb8e89486d | 2256d88fbd0c46c6d93a45a7bd3d08400b6d28bd | refs/heads/master | 2023-07-08T23:41:33.678407 | 2021-08-05T01:45:51 | 2021-08-05T01:45:51 | 392,628,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | #ifndef COLLECTSETDIALOG_H
#define COLLECTSETDIALOG_H
#include <QDialog>
#include "datahandle/datastruct.h"
namespace Ui {
class CollectSetDialog;
}
class CollectSetDialog : public QDialog
{
Q_OBJECT
public:
explicit CollectSetDialog(QWidget *parent = 0);
~CollectSetDialog();
signals:
void GetCollectConfig();
void SetCollectConfig(CollectSigConfig configdata);
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void commitcollectconfig(CollectSigConfig configdata);//获取采集配置参数
private:
Ui::CollectSetDialog *ui;
CollectSigConfig collectconfigdata;
};
#endif // COLLECTSETDIALOG_H
| [
"chkjiangp@cdhk.hr"
] | chkjiangp@cdhk.hr |
511e4b17025692d98665693447b584e0973cd5eb | 5043758b631ffc9d5da09c1e2aedd03efa3f3316 | /Demos/TicTacToe/TicTacToeDialog.h | a39ad53f36c589991652e65fdb0abe2093320fc2 | [] | no_license | shannonyu/FreeWill | 8afa78d36f4cf034012bac7c114c98110ba8e2c2 | a69f95596abb5980f3a17cc6712191c4b20aada2 | refs/heads/master | 2021-01-20T11:46:30.532246 | 2016-03-17T02:30:16 | 2016-03-17T02:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #ifndef TICTACTOEDIALOG_H
#define TICTACTOEDIALOG_H
#include <QDialog>
#include <QPushButton>
#include "NeuralNetwork.h"
namespace Ui {
class TicTacToeDialog;
}
class TicTacToeDialog : public QDialog
{
Q_OBJECT
int position[9] = {0};
QPushButton *buttons[9] = {0};
NeuralNetwork<double> &network;
public:
explicit TicTacToeDialog(NeuralNetwork<double> &_network, QWidget *parent = 0);
~TicTacToeDialog();
private slots:
void buttonClicked(bool);
private:
Ui::TicTacToeDialog *ui;
void paintEvent(QPaintEvent *) override;
};
#endif // TICTACTOEDIALOG_H
| [
"shiy@nvidia.com"
] | shiy@nvidia.com |
a98c6a4fb6ad131e095bef426cd4943b19b66f93 | c1501a18f6d3fe138b1a1c5ebebefc8fcd24392a | /计蒜客/训练联盟周赛/11B.cpp | 27afe4b78cae50011c5a8279737c08ff5faf3124 | [] | no_license | Simon-0801/CodeHome | 5b2125b5926df4d6f9c63b2e7da993d717ddcda2 | 88ab5c776e5a7b711419928d645212088f3b1858 | refs/heads/master | 2020-12-14T11:06:21.286016 | 2020-10-14T13:19:01 | 2020-10-14T13:19:01 | 234,722,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cmath>
#include <vector>
#include <map>
#include <set>
#include <queue>
#define INF 0x3f3f3f3f
#define mst(a,num) memset(a,num,sizeof a)
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define repd(i,a,b) for(int i=a;i>=b;i--)
using namespace std;
typedef long long ll;
typedef pair<int,int> PII;
typedef pair<ll,ll> PLL;
typedef vector<int> VI;
const ll mod = 1e9 + 7;
const int maxn = 1000 + 5;
int mp[maxn][maxn];
int dir1[7][2]={{0,0},{-1,0},{-1,-1},{0,-1},{0,1},{1,0},{1,-1}};
int dir2[7][2]={{0,0},{-1,0},{-1,1},{0,-1},{0,1},{1,0},{1,1}};
int h,n,m,num;
map<int,int> mpp;
VI v;
int fa[maxn*maxn],sum[maxn*maxn];
void dfs(int x,int y)
{
num++;
mp[x][y]=0;
for(int k=1;k<=6;k++)
{
int xx,yy;
if(x&1)
{
xx=x+dir1[k][0];
yy=y+dir1[k][1];
}
else
{
xx=x+dir2[k][0];
yy=y+dir2[k][1];
}
if(xx<=0||yy<=0||xx>n||yy>m)
continue;
if(mp[xx][yy]==0)
continue;
dfs(xx,yy);
}
}
// bool check(int x,int y){
// if(x>=1&&x<=n&&y>=1&&y<=m) return true;
// return false;
// }
int main() {
char c[10];
scanf("%d%d%d",&h,&n,&m);
rep(i,1,n){
rep(j,1,m){
scanf("%s",c);
if(c[0]=='.') mp[i][j]=1;
else mp[i][j]=0;
}
}
// v.push_back(0);
rep(i,1,n){
rep(j,1,m){
if(mp[i][j]==1){
num=0;
dfs(i,j);
v.push_back(num);
}
}
}
sort(v.begin(),v.end(),greater<int>());
int cnt=v.size();
int temp=0;
int tem=0;
int t=0;
while(tem<h&&t<cnt)
{
temp++;
tem+=v[t++];
}
printf("%d\n",temp);
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
7db07adb3d7c5ea945b8fbb2dd683de8cd9d5879 | 52ae65e3f4d0f7563e379c8fad43cbed34d46238 | /Graph/lab_2.cpp | c473df9e2cbda07689ce76b7321fd41b63203178 | [] | no_license | DrizztLei/algorithms | bd29111a377a3394f373dc6d2aea0c3e2b3c07db | a95453805f8e507bdcffd6352281e8d975a44a0b | refs/heads/master | 2020-03-09T23:52:24.816716 | 2018-04-11T10:47:51 | 2018-04-11T10:47:51 | 129,068,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,317 | cpp | #include <iostream>
#include <vector>
using std::vector;
using std::cout;
using std::cin;
using std::endl;
template<class E>
struct node
{
E info;
bool isVisit;
};
template<class T , class E>
class graph
{
public:
int ** matrix ;
int ** weight;
int ** copy;
int length;
node<E> * Graph;
void DFS(int n, int falg);
bool invalid( int i , int l , vector<T> iterator);
void innerForward(int count , int i = 0 , int j = 0 );
bool forward(int n = 0);
void show();
bool adjust();
bool contain(vector<int>& seq, int aim);
public:
void init();
graph();
void BFS(int n = 0);
void DFS(int n = 0);
void reset();
void outputTree();
void outputMin();
virtual ~graph();
private:
vector<int> sequence;
vector<vector<int> > ring;
};
template<class T , class E>
void graph<T , E> :: reset()
{
for(int i = 0 ; i < length ;i++)
Graph[i].isVisit = false;
}
template<class T , class E>
void graph<T , E> :: BFS(int n)
{
cout << "IN BFS > " << endl;
vector<int> left;
vector<int> right;
left.push_back(n);
while(left.size() != 0 || right.size() != 0)
{
if(left.size())
{
int Size = left.size();
for(int i = 0 ; i < Size ; i++)
{
cout << "Visit the node " << Graph[left[i]].info << " . " << endl;
Graph[left[i]].isVisit = true;}
for(int i = 0 ; i < Size ; i++)
{
for(int k = 0 ; k < length ; k++)
{
if(matrix[k][left[i]] && (!Graph[k].isVisit))
{
Graph[left[i]].isVisit = true;
right.push_back(k);
}
}
}
left.clear();
}
else
{
int Size = right.size();
for(int i = 0 ; i < Size ; i++)
{
cout << "Visit the node " << Graph[right[i]].info << " . " << endl;
Graph[right[i]].isVisit = true;
}
for(int i = 0 ; i < Size ; i++)
{
for(int k = 0 ; k < length ; k++)
{
if(matrix[k][right[i]] && (!Graph[k].isVisit))
{
Graph[right[i]].isVisit = true;
left.push_back(k);
}
}
}
right.clear();
}
}
reset();
}
template<class T , class E>
void graph<T , E> :: DFS(int n)
{
cout << "IN DFS >" << endl;
sequence.push_back(n);
DFS(n , -1);
for(int i = 0 ; i < length ; i++)
{
if(!Graph[i].isVisit)
{
sequence.clear();
sequence.push_back(i);
DFS(i, -1);
}
}
for(int i = 0 ; i < ring.size() ; i++)
{
cout << "ring for : " << i+1 << endl;
for(int j = 0; j < ring[i].size() - 1 ; j++)
{
cout << ring[i][j] << "->" ;
}
cout << ring[i][ring[i].size()-1];
cout << endl;
}
reset();
}
template<class T , class E>
void graph<T , E> :: DFS(int n , int father)
{
cout << "Visit the node " << Graph[n].info << " . " << endl;
Graph[n].isVisit = true;
for(int i = 0 ; i < length ; i++)
{
if(matrix[n][i] && i != n)
{
/*
if(!Graph[i].isVisit)
{
Graph[i].isVisit = true;
}
else
*/
if(contain(sequence, i))
{
if(i != n && i != father)
{
cout << "--------------->" << endl;
cout << "now " << n << endl;
cout << "find " << i << endl;
cout << "father " << father << endl;
cout << "size " << sequence.size() << endl;
for(int l = 0 ; l < sequence.size() ; l++)
{
cout << sequence[l] << "\t";
}
cout << endl;
ring.push_back(vector<int>());
bool flag = false;
for(int k = sequence.size()-1; k >= 0 ; k--)
{
if(sequence[k] == i)
{
flag = true;
break;
}
ring[ring.size()-1].push_back(sequence[k]);
}
if(ring[ring.size()-1].size() == 0)
{
ring.pop_back();
}
else if(!flag)
{
ring.pop_back();
}
else
{
ring[ring.size()-1].push_back(i);
ring[ring.size()-1].push_back(n);
for(int l = 0 ; l < ring[ring.size()-1].size() ; l++)
{
cout << ring[ring.size()-1][l] << endl;
}
}
cout << "--------------->" << endl;
}
}
else
{
Graph[i].isVisit = true;
sequence.push_back(i);
DFS(i , n);
sequence.pop_back();
}
}
}
}
template<class T , class E>
void graph<T , E> :: outputTree()
{
if(copy != NULL)
{
for(int i = 0 ;i < length ; i++)
{
delete[] copy[i];
}
}
copy = new int* [length];
for(int i = 0 ; i < length ; i++)
copy[i] = new int[length];
int count = 0;
for(int i = 0 ; i < length ; i++)
{
for(int j = i ; j < length ; j++)
{
copy[i][j] = copy[j][i] = matrix[i][j];
if(matrix[i][j] == 1) {
count++;
cout << "Get the connect of " << i << " and " << j << endl;
}
}
}
cout << "----------------------->" << endl;
innerForward(count);
reset();
}
template<class T , class E>
void graph<T , E> :: innerForward(int count , int i , int j)
{
if(count < length - 1)
{
return;
}
if(j + 1 == length)
{
j = ++ i;
}
else
{
j ++;
}
if(count == length - 1 && i == length && j == length)
{
int ** temp = new int * [length];
for(int i = 0 ; i < length ; i++)
temp[i] = new int[length];
for(int i = 0 ; i < length ; i++)
for(int j = i ; j < length ; j++)
temp[i][j] = temp[j][i] = copy[i][j];
if(adjust())
{
cout << "Find the tree " << endl;
copy = temp;
show();
}
copy = temp;
reset();
return ;
}
else if(i == length && j == length)
{
return;
}
if(copy[i][j] == 1)
{
innerForward(count , i , j);
copy[i][j] = copy[j][i] = 0;
innerForward(count - 1 , i , j);
copy[i][j] = copy[j][i] = 1;
}
else
{
innerForward(count , i , j);
}
}
template<class T , class E>
void graph<T , E> :: show()
{
cout << "------------------------------------------------------>" << endl;
for(int l = 0 ; l < length ; l++)
{
for(int m = l ; m < length ; m++)
{
if(copy[m][l] == 1) cout << "Connect the " << m << " and " << l << endl;
}
}
cout << "------------------------------------------------------<" << endl;
}
template<class T , class E>
bool graph<T , E> :: forward(int n)
{
for(int i = 0 ; i < length ; i++)
{
if(copy[n][i] == 1)
{
copy[n][i] = copy[i][n] = 0;
Graph[i].isVisit = true;
Graph[n].isVisit = true;
forward(i);
}
}
}
template<class T , class E>
bool graph<T , E> :: adjust()
{
forward();
for(int i = 0 ; i < length ; i++)
{
if(!Graph[i].isVisit) return false;
}
for(int i = 0 ; i < length ; i++)
delete[] copy[i];
return true;
}
template<class T , class E>
void graph<T , E> :: outputMin()
{
for(int i = 0 ; i < length ; i++)
for(int j = 0 ; j < length ; j++)
weight[i][j] = matrix[i][j] == 0 ? 1 << sizeof(int) * 3 - 2 : i + j;
for(int i = 0 ; i < length ; i++)
{
for(int j = 0 ; j < length ; j++)
{
cout << weight[i][j] << "\t";
}
cout <<endl;
}
int min = weight[0][0];
vector<T> iterator ;
vector<T> edge;
int select_i = 0 , select_j = 0;
bool flag = true;
for(int i = 0 ; i < length ; i++)
{
for(int j = 0 ; j < length - i; j++)
{
if(min > weight[i][j])
{
min = weight[i][j];
select_i = i;
select_j = j;
flag = false;
}
}
}
if(flag) return;
iterator.push_back(select_i);
iterator.push_back(select_j);
edge.push_back(min);
bool isSelected = true;
while(!flag && iterator.size() != length)
{
int size = iterator.size();
int min , select;
for(int i = 0 ; i < size ; i++)
{
for(int j = 0 ; j < length ; j++)
{
if(invalid(iterator[i] , j , iterator) && (isSelected || min > weight[iterator[i]][j]))
{
min = weight[iterator[i]][j];
select = j;
flag = true;
if(isSelected)
{
isSelected = false;
}
}
}
}
if(flag)
{
iterator.push_back(select);
edge.push_back(min);
flag = false;
isSelected = true;
}
else
{
break;
}
}
cout << "Output the min tree order : " << endl;
for(int i = 0 ; i < iterator.size() ; i++)
{
cout << iterator[i] << endl;
}
cout << "Output the min edge order : " << endl;
for(int i = 0 ; i < edge.size() ; i++)
{
cout << edge[i] << endl;
}
iterator.clear();
reset();
}
template<class T , class E>
bool graph<T , E> :: invalid(int i , int l , vector<T> iterator)
{
if(matrix[i][l] == 0) return false;
for(int j = 0 ; j < iterator.size() ; j++)
{
if(l == iterator[j]) return false;
}
return true;
}
template<class T , class E>
void graph<T ,E> :: init()
{
int length = 6;
this -> length = length;
matrix = new E * [length];
weight = new int * [length];
for(int i = 0 ; i < length ; i++ )
{
matrix[i] = new int[length]();
weight[i] = new int[length]();
}
Graph = new node<T>[length];
matrix[0][1] = 1;
matrix[0][5] = 1;
matrix[1][2] = 1;
matrix[1][5] = 1;
matrix[2][3] = 1;
matrix[2][4] = 1;
matrix[4][1] = 1;
matrix[5][2] = 1;
Graph[0].info = 0;
Graph[1].info = 1;
Graph[2].info = 2;
Graph[3].info = 3;
Graph[4].info = 4;
Graph[5].info = 5;
copy = new int * [length];
}
template<class T , class E>
graph<T , E> :: graph()
{
}
template<class T , class E>
graph<T , E > :: ~graph()
{
for(int i = 0 ; i < length ; i++)
{
delete[] matrix[i];
delete[] weight[i];
}
delete matrix;
delete weight;
delete[] Graph;
cout << "ALL THINGS DONE > " << endl;
}
template<class T, class E>
bool graph<T, E> ::contain(vector<int> & seq, int aim)
{
for(int i = 0 ; i < seq.size() ; i++)
{
if(seq[i] == aim)
{
return true;
}
}
return false;
}
void test(int i , int size , int * array)
{
if(i == size)
{
for(int l = 0 ; l < size ; l++)
cout << array[l] << "\t";
cout << endl;
return;
}
array[i] = 1;
test(i+1 , size , array);
array[i] = 0;
test(i+1 , size , array);
}
int main(int argc , char ** argv)
{
graph<int , int> TEMP;
TEMP.init();
TEMP.DFS();
return 0;
}
| [
"elvis.linuxer@gamil.com"
] | elvis.linuxer@gamil.com |
e08780f0296117a80e090359d18d72c27d18204c | 3844b8b0ccbe9019d84f10021c98c7b2bb354b7e | /접미사 배열.cpp | e4d4c7ff5d0755f2deb4dc25dafa86f4401e13b0 | [] | no_license | Daineeeng/Practice | 2463424d003dc0c5e9e36b9fbbc3e825af773c62 | 07bc5e1f2ee5dbeab271a821a5975794a7a71bc0 | refs/heads/master | 2021-08-27T21:45:24.068305 | 2021-08-04T14:59:53 | 2021-08-04T14:59:53 | 177,247,079 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
freopen("input.txt", "r", stdin);
string s;
cin >> s;
vector<string> v;
for (int i = 0; i < s.length(); i++) {
v.push_back(s.substr(i, s.length()));
}
sort(v.begin(), v.end());
for (int i = 0; i < v.size(); i++) {
cout << v[i] << '\n';
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
73869aa1673f231d2c484e49117694bd589b75e7 | 9a60b4f125d11ae13ffd9e48fb4ee9b79e94f562 | /IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Bulk_Generics_20.cpp | 2025ea18091a9df98d610ceef45ecbdb5ee1058f | [
"MIT"
] | permissive | dngoins/AutographTheWorld-MR | 99109e728746c164b12cf68e84e7b4b5a9390ab7 | 24e567c8030b73a6942e25b36b7370667c649b90 | refs/heads/master | 2021-04-12T07:51:07.040152 | 2018-03-19T06:36:00 | 2018-03-19T06:36:00 | 125,808,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,484,979 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template <typename R, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1, typename T2>
struct InterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
// System.Collections.Generic.List`1<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>
struct List_1_t521784417;
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct List_1_t3058052573;
// System.Collections.Generic.List`1<UnityEngine.Color>
struct List_1_t4027761066;
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t4072576034;
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>
struct List_1_t537414295;
// System.Collections.Generic.List`1<UnityEngine.Ray>
struct List_1_t962958939;
// System.Collections.Generic.List`1<UnityEngine.UICharInfo>
struct List_1_t1547575848;
// System.Collections.Generic.List`1<UnityEngine.UILineInfo>
struct List_1_t1372374256;
// System.Collections.Generic.List`1<UnityEngine.UIVertex>
struct List_1_t1234605051;
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t3628304265;
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t899420910;
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_t496136383;
// System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct List_1_t3234377962;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct IEnumerable_1_t742156109;
// System.Type
struct Type_t;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct ReadOnlyCollection_1_t2974879507;
// System.Collections.Generic.IComparer`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct IComparer_1_t3016568699;
// HoloToolkit.Sharing.Spawning.PrefabToDataModel[]
struct PrefabToDataModelU5BU5D_t2309926077;
// System.Predicate`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Predicate_1_t2587597344;
// System.Action`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Action_1_t1934770815;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct IEnumerator_1_t2194873688;
// System.Collections.IEnumerator
struct IEnumerator_t1853284238;
// System.Comparison`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Comparison_1_t1537234399;
// System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct List_1_t1572102484;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct IEnumerable_1_t3374847927;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct ReadOnlyCollection_1_t1312604029;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct IComparer_1_t1354293221;
// HoloToolkit.Unity.InputModule.InputSourceInfo[]
struct InputSourceInfoU5BU5D_t3430263659;
// System.Predicate`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Predicate_1_t925321866;
// System.Action`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Action_1_t272495337;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct IEnumerator_1_t532598210;
// System.Comparison`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Comparison_1_t4169926217;
// System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct List_1_t2982180240;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct IEnumerable_1_t489958387;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct ReadOnlyCollection_1_t2722681785;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct IComparer_1_t2764370977;
// HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair[]
struct KeyCodeEventPairU5BU5D_t2855334591;
// System.Predicate`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Predicate_1_t2335399622;
// System.Action`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Action_1_t1682573093;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct IEnumerator_1_t1942675966;
// System.Comparison`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Comparison_1_t1285036677;
// System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>
struct List_1_t3480059758;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.RaycastResultHelper>
struct IEnumerable_1_t987837905;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.RaycastResultHelper>
struct ReadOnlyCollection_1_t3220561303;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.RaycastResultHelper>
struct IComparer_1_t3262250495;
// HoloToolkit.Unity.RaycastResultHelper[]
struct RaycastResultHelperU5BU5D_t2017648553;
// System.Predicate`1<HoloToolkit.Unity.RaycastResultHelper>
struct Predicate_1_t2833279140;
// System.Action`1<HoloToolkit.Unity.RaycastResultHelper>
struct Action_1_t2180452611;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.RaycastResultHelper>
struct IEnumerator_1_t2440555484;
// System.Comparison`1<HoloToolkit.Unity.RaycastResultHelper>
struct Comparison_1_t1782916195;
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct List_1_t1291522797;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct IEnumerable_1_t3094268240;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct ReadOnlyCollection_1_t1032024342;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct IComparer_1_t1073713534;
// HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData[]
struct MeshDataU5BU5D_t1706847054;
// System.Predicate`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Predicate_1_t644742179;
// System.Action`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Action_1_t4286882946;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct IEnumerator_1_t252018523;
// System.Comparison`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Comparison_1_t3889346530;
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct List_1_t4085315060;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct IEnumerable_1_t1593093207;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct ReadOnlyCollection_1_t3825816605;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct IComparer_1_t3867505797;
// HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject[]
struct SurfaceObjectU5BU5D_t214306891;
// System.Predicate`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Predicate_1_t3438534442;
// System.Action`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Action_1_t2785707913;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct IEnumerator_1_t3045810786;
// System.Comparison`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Comparison_1_t2388171497;
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct List_1_t538943048;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct IEnumerable_1_t2341688491;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct ReadOnlyCollection_1_t279444593;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct IComparer_1_t321133785;
// HoloToolkit.Unity.SpatialUnderstandingDll/MeshData[]
struct MeshDataU5BU5D_t822949927;
// System.Predicate`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Predicate_1_t4187129726;
// System.Action`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Action_1_t3534303197;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct IEnumerator_1_t3794406070;
// System.Comparison`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Comparison_1_t3136766781;
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct List_1_t1419061181;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct IEnumerable_1_t3221806624;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct ReadOnlyCollection_1_t1159562726;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct IComparer_1_t1201251918;
// HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint[]
struct ShapeComponentConstraintU5BU5D_t2060966206;
// System.Predicate`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Predicate_1_t772280563;
// System.Action`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Action_1_t119454034;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct IEnumerator_1_t379556907;
// System.Comparison`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Comparison_1_t4016884914;
// System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct List_1_t1233822936;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct IEnumerable_1_t3036568379;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct ReadOnlyCollection_1_t974324481;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct IComparer_1_t1016013673;
// HoloToolkit.Unity.TimerScheduler/TimerData[]
struct TimerDataU5BU5D_t2187523415;
// System.Predicate`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Predicate_1_t587042318;
// System.Action`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Action_1_t4229183085;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct IEnumerator_1_t194318662;
// System.Comparison`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Comparison_1_t3831646669;
// System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct List_1_t2393398647;
// System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct IEnumerable_1_t4196144090;
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct ReadOnlyCollection_1_t2133900192;
// System.Collections.Generic.IComparer`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct IComparer_1_t2175589384;
// HoloToolkit.Unity.TimerScheduler/TimerIdPair[]
struct TimerIdPairU5BU5D_t552239964;
// System.Predicate`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Predicate_1_t1746618029;
// System.Action`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Action_1_t1093791500;
// System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct IEnumerator_1_t1353894373;
// System.Comparison`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Comparison_1_t696255084;
// System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>
struct List_1_t4000102456;
// System.Collections.Generic.IEnumerable`1<Newtonsoft.Json.JsonPosition>
struct IEnumerable_1_t1507880603;
// System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonPosition>
struct ReadOnlyCollection_1_t3740604001;
// System.Collections.Generic.IComparer`1<Newtonsoft.Json.JsonPosition>
struct IComparer_1_t3782293193;
// Newtonsoft.Json.JsonPosition[]
struct JsonPositionU5BU5D_t197937271;
// System.Predicate`1<Newtonsoft.Json.JsonPosition>
struct Predicate_1_t3353321838;
// System.Action`1<Newtonsoft.Json.JsonPosition>
struct Action_1_t2700495309;
// System.Collections.Generic.IEnumerator`1<Newtonsoft.Json.JsonPosition>
struct IEnumerator_1_t2960598182;
// System.Comparison`1<Newtonsoft.Json.JsonPosition>
struct Comparison_1_t2302958893;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.RaycastResultHelper>
struct IList_1_t3823304799;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct IList_1_t133592805;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct IList_1_t1634767838;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct IList_1_t3325425281;
// System.Collections.Generic.IList`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct IList_1_t3577623003;
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t934056436;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct IList_1_t1915347525;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct IList_1_t2736643688;
// System.Collections.Generic.IList`1<Newtonsoft.Json.JsonPosition>
struct IList_1_t48380201;
// System.String
struct String_t;
// System.Collections.IDictionary
struct IDictionary_t1363984059;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t2481557153;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t1169129676;
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct IList_1_t882188089;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct IList_1_t1577067977;
// System.Collections.Generic.IList`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct IList_1_t1762306222;
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_t1981460040;
// UnityEngine.UICharInfo[]
struct UICharInfoU5BU5D_t928762055;
// UnityEngine.Color[]
struct ColorU5BU5D_t941916413;
// UnityEngine.BeforeRenderHelper/OrderBlock[]
struct OrderBlockU5BU5D_t2389202590;
// System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry[]
struct XmlSchemaObjectEntryU5BU5D_t1655208330;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t1457185986;
// UnityEngine.UILineInfo[]
struct UILineInfoU5BU5D_t1655937503;
// UnityEngine.Color32[]
struct Color32U5BU5D_t3850468773;
// UnityEngine.Ray[]
struct RayU5BU5D_t1836217960;
// UnityEngine.EventSystems.RaycastResult[]
struct RaycastResultU5BU5D_t1128832444;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1718750761;
// UnityEngine.GameObject
struct GameObject_t1113636619;
// UnityEngine.MeshRenderer
struct MeshRenderer_t587009260;
// UnityEngine.MeshFilter
struct MeshFilter_t3523625662;
// UnityEngine.MeshCollider
struct MeshCollider_t903564387;
// UnityEngine.Events.UnityAction
struct UnityAction_t3245792599;
// HoloToolkit.Unity.TimerScheduler/Callback
struct Callback_t2663646540;
// System.Xml.XmlQualifiedName
struct XmlQualifiedName_t2760654312;
// System.Xml.Schema.XmlSchemaObject
struct XmlSchemaObject_t1315720168;
// System.Char[]
struct CharU5BU5D_t3528271667;
// HoloToolkit.Unity.InputModule.IInputSource
struct IInputSource_t3332243029;
// System.Void
struct Void_t1185182177;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_t4150874583;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.DelegateData
struct DelegateData_t1677132599;
// System.Int32[]
struct Int32U5BU5D_t385246372;
// UnityEngine.Collider
struct Collider_t1773347010;
// UnityEngine.Transform
struct Transform_t3600365921;
// System.Reflection.MemberFilter
struct MemberFilter_t426314064;
// System.Type[]
struct TypeU5BU5D_t3940880105;
// System.Reflection.Binder
struct Binder_t2999457153;
// System.Delegate[]
struct DelegateU5BU5D_t1703627840;
// System.IAsyncResult
struct IAsyncResult_t767004451;
// System.AsyncCallback
struct AsyncCallback_t3962456242;
extern RuntimeClass* IEnumerator_t1853284238_il2cpp_TypeInfo_var;
extern RuntimeClass* IDisposable_t3640265483_il2cpp_TypeInfo_var;
extern const uint32_t List_1__ctor_m4279344487_MetadataUsageId;
extern RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m1584784809_MetadataUsageId;
extern RuntimeClass* InvalidCastException_t3927145244_il2cpp_TypeInfo_var;
extern RuntimeClass* Type_t_il2cpp_TypeInfo_var;
extern const uint32_t List_1_System_Collections_IList_set_Item_m1892267905_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m2010731703_MetadataUsageId;
extern RuntimeClass* ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m2870566478_MetadataUsageId;
extern RuntimeClass* BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var;
extern const uint32_t List_1_ForEach_m711587298_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m711674532_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m138798606_MetadataUsageId;
extern const uint32_t List_1__ctor_m3755393346_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m1980815923_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m1790168535_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m1624506343_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m3310066590_MetadataUsageId;
extern const uint32_t List_1_ForEach_m2678719414_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m1831843688_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m1537432904_MetadataUsageId;
extern const uint32_t List_1__ctor_m4156487288_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m1414840202_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m899098186_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m754835530_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m4151435992_MetadataUsageId;
extern const uint32_t List_1_ForEach_m4260335079_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m4212849325_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m352360262_MetadataUsageId;
extern const uint32_t List_1__ctor_m2246940342_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m563345176_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m201783707_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m4177893195_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m3019616021_MetadataUsageId;
extern const uint32_t List_1_ForEach_m2307177620_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m3253950777_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m699855753_MetadataUsageId;
extern const uint32_t List_1__ctor_m1711917653_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m1297244701_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m1628372511_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m929782159_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m3283671419_MetadataUsageId;
extern const uint32_t List_1_ForEach_m4016711280_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m631911403_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m4040416465_MetadataUsageId;
extern const uint32_t List_1__ctor_m912437114_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m3110090598_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m2627861019_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m1472885968_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m1384975017_MetadataUsageId;
extern const uint32_t List_1_ForEach_m3131798179_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m616518304_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m247046874_MetadataUsageId;
extern const uint32_t List_1__ctor_m2959571491_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m677802720_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m3706589802_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m2600771900_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m1208648900_MetadataUsageId;
extern const uint32_t List_1_ForEach_m759380474_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m764478607_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m3754677686_MetadataUsageId;
extern const uint32_t List_1__ctor_m1168240572_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m1579243412_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m2921505855_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m1435749894_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m1742390282_MetadataUsageId;
extern const uint32_t List_1_ForEach_m76421092_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m2227781727_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m3421175516_MetadataUsageId;
extern const uint32_t List_1__ctor_m3324153941_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m3405663206_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m1419925330_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m1213738490_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m2648856953_MetadataUsageId;
extern const uint32_t List_1_ForEach_m1411604268_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m2484811523_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m1052427498_MetadataUsageId;
extern const uint32_t List_1__ctor_m1045186152_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m2791570346_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m3984913671_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m336920279_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m2293422597_MetadataUsageId;
extern const uint32_t List_1_ForEach_m897147704_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m1192229675_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m368390690_MetadataUsageId;
extern const uint32_t List_1__ctor_m2836499805_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_get_SyncRoot_m4237058816_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_set_Item_m2763574838_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Add_m309504099_MetadataUsageId;
extern const uint32_t List_1_System_Collections_ICollection_CopyTo_m177405749_MetadataUsageId;
extern const uint32_t List_1_ForEach_m2716813145_MetadataUsageId;
extern const uint32_t List_1_System_Collections_IList_Insert_m1194289698_MetadataUsageId;
extern const uint32_t List_1_InsertRange_m1856720098_MetadataUsageId;
struct Exception_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Vector3_t3722313464 ;
struct XmlSchemaObjectEntryU5BU5D_t1655208330;
struct OrderBlockU5BU5D_t2389202590;
struct ColorU5BU5D_t941916413;
struct Color32U5BU5D_t3850468773;
struct RaycastResultU5BU5D_t1128832444;
struct RayU5BU5D_t1836217960;
struct UICharInfoU5BU5D_t928762055;
struct UILineInfoU5BU5D_t1655937503;
struct UIVertexU5BU5D_t1981460040;
struct Vector2U5BU5D_t1457185986;
struct Vector3U5BU5D_t1718750761;
struct Vector4U5BU5D_t934056436;
struct PrefabToDataModelU5BU5D_t2309926077;
struct InputSourceInfoU5BU5D_t3430263659;
struct KeyCodeEventPairU5BU5D_t2855334591;
struct RaycastResultHelperU5BU5D_t2017648553;
struct MeshDataU5BU5D_t1706847054;
struct SurfaceObjectU5BU5D_t214306891;
struct MeshDataU5BU5D_t822949927;
struct ShapeComponentConstraintU5BU5D_t2060966206;
struct TimerDataU5BU5D_t2187523415;
struct TimerIdPairU5BU5D_t552239964;
struct JsonPositionU5BU5D_t197937271;
#ifndef RUNTIMEOBJECT_H
#define RUNTIMEOBJECT_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEOBJECT_H
#ifndef READONLYCOLLECTION_1_T3220561303_H
#define READONLYCOLLECTION_1_T3220561303_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.RaycastResultHelper>
struct ReadOnlyCollection_1_t3220561303 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3220561303, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3220561303, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T3220561303_H
#ifndef EQUALITYCOMPARER_1_T177757352_H
#define EQUALITYCOMPARER_1_T177757352_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.RaycastResultHelper>
struct EqualityComparer_1_t177757352 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t177757352_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t177757352 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t177757352_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t177757352 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t177757352 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t177757352 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T177757352_H
#ifndef EQUALITYCOMPARER_1_T3974845130_H
#define EQUALITYCOMPARER_1_T3974845130_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct EqualityComparer_1_t3974845130 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t3974845130_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t3974845130 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t3974845130_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t3974845130 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t3974845130 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t3974845130 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T3974845130_H
#ifndef LIST_1_T3480059758_H
#define LIST_1_T3480059758_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>
struct List_1_t3480059758 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RaycastResultHelperU5BU5D_t2017648553* ____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_t3480059758, ____items_1)); }
inline RaycastResultHelperU5BU5D_t2017648553* get__items_1() const { return ____items_1; }
inline RaycastResultHelperU5BU5D_t2017648553** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RaycastResultHelperU5BU5D_t2017648553* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3480059758, ____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_t3480059758, ____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_t3480059758, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3480059758_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RaycastResultHelperU5BU5D_t2017648553* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3480059758_StaticFields, ____emptyArray_5)); }
inline RaycastResultHelperU5BU5D_t2017648553* get__emptyArray_5() const { return ____emptyArray_5; }
inline RaycastResultHelperU5BU5D_t2017648553** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RaycastResultHelperU5BU5D_t2017648553* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3480059758_H
#ifndef LIST_1_T4085315060_H
#define LIST_1_T4085315060_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct List_1_t4085315060 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
SurfaceObjectU5BU5D_t214306891* ____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_t4085315060, ____items_1)); }
inline SurfaceObjectU5BU5D_t214306891* get__items_1() const { return ____items_1; }
inline SurfaceObjectU5BU5D_t214306891** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(SurfaceObjectU5BU5D_t214306891* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t4085315060, ____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_t4085315060, ____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_t4085315060, ____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((&____syncRoot_4), value);
}
};
struct List_1_t4085315060_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
SurfaceObjectU5BU5D_t214306891* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4085315060_StaticFields, ____emptyArray_5)); }
inline SurfaceObjectU5BU5D_t214306891* get__emptyArray_5() const { return ____emptyArray_5; }
inline SurfaceObjectU5BU5D_t214306891** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(SurfaceObjectU5BU5D_t214306891* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T4085315060_H
#ifndef READONLYCOLLECTION_1_T3825816605_H
#define READONLYCOLLECTION_1_T3825816605_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct ReadOnlyCollection_1_t3825816605 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3825816605, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3825816605, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T3825816605_H
#ifndef EQUALITYCOMPARER_1_T2284187687_H
#define EQUALITYCOMPARER_1_T2284187687_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct EqualityComparer_1_t2284187687 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t2284187687_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t2284187687 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t2284187687_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t2284187687 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t2284187687 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t2284187687 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T2284187687_H
#ifndef LIST_1_T1291522797_H
#define LIST_1_T1291522797_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct List_1_t1291522797 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
MeshDataU5BU5D_t1706847054* ____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_t1291522797, ____items_1)); }
inline MeshDataU5BU5D_t1706847054* get__items_1() const { return ____items_1; }
inline MeshDataU5BU5D_t1706847054** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(MeshDataU5BU5D_t1706847054* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1291522797, ____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_t1291522797, ____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_t1291522797, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1291522797_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
MeshDataU5BU5D_t1706847054* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1291522797_StaticFields, ____emptyArray_5)); }
inline MeshDataU5BU5D_t1706847054* get__emptyArray_5() const { return ____emptyArray_5; }
inline MeshDataU5BU5D_t1706847054** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(MeshDataU5BU5D_t1706847054* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1291522797_H
#ifndef READONLYCOLLECTION_1_T1032024342_H
#define READONLYCOLLECTION_1_T1032024342_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct ReadOnlyCollection_1_t1032024342 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1032024342, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1032024342, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T1032024342_H
#ifndef READONLYCOLLECTION_1_T2722681785_H
#define READONLYCOLLECTION_1_T2722681785_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct ReadOnlyCollection_1_t2722681785 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2722681785, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2722681785, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T2722681785_H
#ifndef READONLYCOLLECTION_1_T2974879507_H
#define READONLYCOLLECTION_1_T2974879507_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct ReadOnlyCollection_1_t2974879507 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2974879507, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2974879507, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T2974879507_H
#ifndef EQUALITYCOMPARER_1_T4227042852_H
#define EQUALITYCOMPARER_1_T4227042852_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct EqualityComparer_1_t4227042852 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t4227042852_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t4227042852 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t4227042852_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t4227042852 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t4227042852 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t4227042852 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T4227042852_H
#ifndef LIST_1_T496136383_H
#define LIST_1_T496136383_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_t496136383 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector4U5BU5D_t934056436* ____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_t496136383, ____items_1)); }
inline Vector4U5BU5D_t934056436* get__items_1() const { return ____items_1; }
inline Vector4U5BU5D_t934056436** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector4U5BU5D_t934056436* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t496136383, ____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_t496136383, ____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_t496136383, ____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((&____syncRoot_4), value);
}
};
struct List_1_t496136383_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector4U5BU5D_t934056436* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t496136383_StaticFields, ____emptyArray_5)); }
inline Vector4U5BU5D_t934056436* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector4U5BU5D_t934056436** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector4U5BU5D_t934056436* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T496136383_H
#ifndef LIST_1_T3234377962_H
#define LIST_1_T3234377962_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct List_1_t3234377962 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
PrefabToDataModelU5BU5D_t2309926077* ____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_t3234377962, ____items_1)); }
inline PrefabToDataModelU5BU5D_t2309926077* get__items_1() const { return ____items_1; }
inline PrefabToDataModelU5BU5D_t2309926077** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(PrefabToDataModelU5BU5D_t2309926077* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3234377962, ____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_t3234377962, ____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_t3234377962, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3234377962_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
PrefabToDataModelU5BU5D_t2309926077* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3234377962_StaticFields, ____emptyArray_5)); }
inline PrefabToDataModelU5BU5D_t2309926077* get__emptyArray_5() const { return ____emptyArray_5; }
inline PrefabToDataModelU5BU5D_t2309926077** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(PrefabToDataModelU5BU5D_t2309926077* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3234377962_H
#ifndef BINARYCOMPATIBILITY_T3378813580_H
#define BINARYCOMPATIBILITY_T3378813580_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Runtime.Versioning.BinaryCompatibility
struct BinaryCompatibility_t3378813580 : public RuntimeObject
{
public:
public:
};
struct BinaryCompatibility_t3378813580_StaticFields
{
public:
// System.Boolean System.Runtime.Versioning.BinaryCompatibility::TargetsAtLeast_Desktop_V4_5
bool ___TargetsAtLeast_Desktop_V4_5_0;
// System.Boolean System.Runtime.Versioning.BinaryCompatibility::TargetsAtLeast_Desktop_V4_5_1
bool ___TargetsAtLeast_Desktop_V4_5_1_1;
public:
inline static int32_t get_offset_of_TargetsAtLeast_Desktop_V4_5_0() { return static_cast<int32_t>(offsetof(BinaryCompatibility_t3378813580_StaticFields, ___TargetsAtLeast_Desktop_V4_5_0)); }
inline bool get_TargetsAtLeast_Desktop_V4_5_0() const { return ___TargetsAtLeast_Desktop_V4_5_0; }
inline bool* get_address_of_TargetsAtLeast_Desktop_V4_5_0() { return &___TargetsAtLeast_Desktop_V4_5_0; }
inline void set_TargetsAtLeast_Desktop_V4_5_0(bool value)
{
___TargetsAtLeast_Desktop_V4_5_0 = value;
}
inline static int32_t get_offset_of_TargetsAtLeast_Desktop_V4_5_1_1() { return static_cast<int32_t>(offsetof(BinaryCompatibility_t3378813580_StaticFields, ___TargetsAtLeast_Desktop_V4_5_1_1)); }
inline bool get_TargetsAtLeast_Desktop_V4_5_1_1() const { return ___TargetsAtLeast_Desktop_V4_5_1_1; }
inline bool* get_address_of_TargetsAtLeast_Desktop_V4_5_1_1() { return &___TargetsAtLeast_Desktop_V4_5_1_1; }
inline void set_TargetsAtLeast_Desktop_V4_5_1_1(bool value)
{
___TargetsAtLeast_Desktop_V4_5_1_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINARYCOMPATIBILITY_T3378813580_H
#ifndef EQUALITYCOMPARER_1_T2564767374_H
#define EQUALITYCOMPARER_1_T2564767374_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct EqualityComparer_1_t2564767374 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t2564767374_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t2564767374 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t2564767374_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t2564767374 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t2564767374 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t2564767374 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T2564767374_H
#ifndef LIST_1_T2982180240_H
#define LIST_1_T2982180240_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct List_1_t2982180240 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
KeyCodeEventPairU5BU5D_t2855334591* ____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_t2982180240, ____items_1)); }
inline KeyCodeEventPairU5BU5D_t2855334591* get__items_1() const { return ____items_1; }
inline KeyCodeEventPairU5BU5D_t2855334591** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(KeyCodeEventPairU5BU5D_t2855334591* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t2982180240, ____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_t2982180240, ____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_t2982180240, ____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((&____syncRoot_4), value);
}
};
struct List_1_t2982180240_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
KeyCodeEventPairU5BU5D_t2855334591* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t2982180240_StaticFields, ____emptyArray_5)); }
inline KeyCodeEventPairU5BU5D_t2855334591* get__emptyArray_5() const { return ____emptyArray_5; }
inline KeyCodeEventPairU5BU5D_t2855334591** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(KeyCodeEventPairU5BU5D_t2855334591* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T2982180240_H
#ifndef LIST_1_T1572102484_H
#define LIST_1_T1572102484_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct List_1_t1572102484 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
InputSourceInfoU5BU5D_t3430263659* ____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_t1572102484, ____items_1)); }
inline InputSourceInfoU5BU5D_t3430263659* get__items_1() const { return ____items_1; }
inline InputSourceInfoU5BU5D_t3430263659** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(InputSourceInfoU5BU5D_t3430263659* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1572102484, ____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_t1572102484, ____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_t1572102484, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1572102484_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
InputSourceInfoU5BU5D_t3430263659* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1572102484_StaticFields, ____emptyArray_5)); }
inline InputSourceInfoU5BU5D_t3430263659* get__emptyArray_5() const { return ____emptyArray_5; }
inline InputSourceInfoU5BU5D_t3430263659** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(InputSourceInfoU5BU5D_t3430263659* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1572102484_H
#ifndef READONLYCOLLECTION_1_T1312604029_H
#define READONLYCOLLECTION_1_T1312604029_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct ReadOnlyCollection_1_t1312604029 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1312604029, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1312604029, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T1312604029_H
#ifndef EQUALITYCOMPARER_1_T3386063537_H
#define EQUALITYCOMPARER_1_T3386063537_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct EqualityComparer_1_t3386063537 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t3386063537_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t3386063537 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t3386063537_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t3386063537 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t3386063537 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t3386063537 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T3386063537_H
#ifndef LIST_1_T4000102456_H
#define LIST_1_T4000102456_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>
struct List_1_t4000102456 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
JsonPositionU5BU5D_t197937271* ____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_t4000102456, ____items_1)); }
inline JsonPositionU5BU5D_t197937271* get__items_1() const { return ____items_1; }
inline JsonPositionU5BU5D_t197937271** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(JsonPositionU5BU5D_t197937271* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t4000102456, ____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_t4000102456, ____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_t4000102456, ____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((&____syncRoot_4), value);
}
};
struct List_1_t4000102456_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
JsonPositionU5BU5D_t197937271* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4000102456_StaticFields, ____emptyArray_5)); }
inline JsonPositionU5BU5D_t197937271* get__emptyArray_5() const { return ____emptyArray_5; }
inline JsonPositionU5BU5D_t197937271** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(JsonPositionU5BU5D_t197937271* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T4000102456_H
#ifndef LIST_1_T2393398647_H
#define LIST_1_T2393398647_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct List_1_t2393398647 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TimerIdPairU5BU5D_t552239964* ____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_t2393398647, ____items_1)); }
inline TimerIdPairU5BU5D_t552239964* get__items_1() const { return ____items_1; }
inline TimerIdPairU5BU5D_t552239964** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TimerIdPairU5BU5D_t552239964* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t2393398647, ____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_t2393398647, ____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_t2393398647, ____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((&____syncRoot_4), value);
}
};
struct List_1_t2393398647_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TimerIdPairU5BU5D_t552239964* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t2393398647_StaticFields, ____emptyArray_5)); }
inline TimerIdPairU5BU5D_t552239964* get__emptyArray_5() const { return ____emptyArray_5; }
inline TimerIdPairU5BU5D_t552239964** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TimerIdPairU5BU5D_t552239964* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T2393398647_H
#ifndef READONLYCOLLECTION_1_T2133900192_H
#define READONLYCOLLECTION_1_T2133900192_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct ReadOnlyCollection_1_t2133900192 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2133900192, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t2133900192, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T2133900192_H
#ifndef READONLYCOLLECTION_1_T3740604001_H
#define READONLYCOLLECTION_1_T3740604001_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<Newtonsoft.Json.JsonPosition>
struct ReadOnlyCollection_1_t3740604001 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3740604001, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t3740604001, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T3740604001_H
#ifndef MEMBERINFO_T_H
#define MEMBERINFO_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MEMBERINFO_T_H
#ifndef EXCEPTION_T_H
#define EXCEPTION_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4013366056* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____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((&____className_1), value);
}
inline static int32_t get_offset_of__message_2() { return static_cast<int32_t>(offsetof(Exception_t, ____message_2)); }
inline String_t* get__message_2() const { return ____message_2; }
inline String_t** get_address_of__message_2() { return &____message_2; }
inline void set__message_2(String_t* value)
{
____message_2 = value;
Il2CppCodeGenWriteBarrier((&____message_2), value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((&____data_3), value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((&____innerException_4), value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((&____helpURL_5), value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((&____stackTrace_6), value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((&____stackTraceString_7), value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((&____remoteStackTraceString_8), value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((&____dynamicMethods_10), value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((&____source_12), value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t2481557153 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t2481557153 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t2481557153 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((&____safeSerializationManager_13), value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t1169129676* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t1169129676** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t1169129676* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((&___captured_traces_14), value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4013366056* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4013366056** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4013366056* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((&___native_trace_ips_15), value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((&___s_EDILock_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t2481557153 * ____safeSerializationManager_13;
StackTraceU5BU5D_t1169129676* ___captured_traces_14;
intptr_t* ___native_trace_ips_15;
};
#endif // EXCEPTION_T_H
#ifndef EQUALITYCOMPARER_1_T697800050_H
#define EQUALITYCOMPARER_1_T697800050_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<Newtonsoft.Json.JsonPosition>
struct EqualityComparer_1_t697800050 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t697800050_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t697800050 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t697800050_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t697800050 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t697800050 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t697800050 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T697800050_H
#ifndef VALUETYPE_T3640485471_H
#define VALUETYPE_T3640485471_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ValueType
struct ValueType_t3640485471 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t3640485471_marshaled_com
{
};
#endif // VALUETYPE_T3640485471_H
#ifndef EQUALITYCOMPARER_1_T2226487826_H
#define EQUALITYCOMPARER_1_T2226487826_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct EqualityComparer_1_t2226487826 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t2226487826_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t2226487826 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t2226487826_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t2226487826 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t2226487826 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t2226487826 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T2226487826_H
#ifndef READONLYCOLLECTION_1_T279444593_H
#define READONLYCOLLECTION_1_T279444593_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct ReadOnlyCollection_1_t279444593 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t279444593, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t279444593, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T279444593_H
#ifndef EQUALITYCOMPARER_1_T1531607938_H
#define EQUALITYCOMPARER_1_T1531607938_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct EqualityComparer_1_t1531607938 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t1531607938_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t1531607938 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t1531607938_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t1531607938 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t1531607938 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t1531607938 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T1531607938_H
#ifndef EQUALITYCOMPARER_1_T783012654_H
#define EQUALITYCOMPARER_1_T783012654_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct EqualityComparer_1_t783012654 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t783012654_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t783012654 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t783012654_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t783012654 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t783012654 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t783012654 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T783012654_H
#ifndef LIST_1_T538943048_H
#define LIST_1_T538943048_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct List_1_t538943048 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
MeshDataU5BU5D_t822949927* ____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_t538943048, ____items_1)); }
inline MeshDataU5BU5D_t822949927* get__items_1() const { return ____items_1; }
inline MeshDataU5BU5D_t822949927** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(MeshDataU5BU5D_t822949927* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t538943048, ____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_t538943048, ____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_t538943048, ____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((&____syncRoot_4), value);
}
};
struct List_1_t538943048_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
MeshDataU5BU5D_t822949927* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t538943048_StaticFields, ____emptyArray_5)); }
inline MeshDataU5BU5D_t822949927* get__emptyArray_5() const { return ____emptyArray_5; }
inline MeshDataU5BU5D_t822949927** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(MeshDataU5BU5D_t822949927* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T538943048_H
#ifndef LIST_1_T1419061181_H
#define LIST_1_T1419061181_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct List_1_t1419061181 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ShapeComponentConstraintU5BU5D_t2060966206* ____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_t1419061181, ____items_1)); }
inline ShapeComponentConstraintU5BU5D_t2060966206* get__items_1() const { return ____items_1; }
inline ShapeComponentConstraintU5BU5D_t2060966206** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ShapeComponentConstraintU5BU5D_t2060966206* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1419061181, ____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_t1419061181, ____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_t1419061181, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1419061181_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ShapeComponentConstraintU5BU5D_t2060966206* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1419061181_StaticFields, ____emptyArray_5)); }
inline ShapeComponentConstraintU5BU5D_t2060966206* get__emptyArray_5() const { return ____emptyArray_5; }
inline ShapeComponentConstraintU5BU5D_t2060966206** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ShapeComponentConstraintU5BU5D_t2060966206* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1419061181_H
#ifndef LIST_1_T1233822936_H
#define LIST_1_T1233822936_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct List_1_t1233822936 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TimerDataU5BU5D_t2187523415* ____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_t1233822936, ____items_1)); }
inline TimerDataU5BU5D_t2187523415* get__items_1() const { return ____items_1; }
inline TimerDataU5BU5D_t2187523415** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TimerDataU5BU5D_t2187523415* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1233822936, ____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_t1233822936, ____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_t1233822936, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1233822936_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TimerDataU5BU5D_t2187523415* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1233822936_StaticFields, ____emptyArray_5)); }
inline TimerDataU5BU5D_t2187523415* get__emptyArray_5() const { return ____emptyArray_5; }
inline TimerDataU5BU5D_t2187523415** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TimerDataU5BU5D_t2187523415* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1233822936_H
#ifndef READONLYCOLLECTION_1_T974324481_H
#define READONLYCOLLECTION_1_T974324481_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct ReadOnlyCollection_1_t974324481 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t974324481, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t974324481, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T974324481_H
#ifndef READONLYCOLLECTION_1_T1159562726_H
#define READONLYCOLLECTION_1_T1159562726_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.ObjectModel.ReadOnlyCollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct ReadOnlyCollection_1_t1159562726 : public RuntimeObject
{
public:
// System.Collections.Generic.IList`1<T> System.Collections.ObjectModel.ReadOnlyCollection`1::list
RuntimeObject* ___list_0;
// System.Object System.Collections.ObjectModel.ReadOnlyCollection`1::_syncRoot
RuntimeObject * ____syncRoot_1;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1159562726, ___list_0)); }
inline RuntimeObject* get_list_0() const { return ___list_0; }
inline RuntimeObject** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(RuntimeObject* value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of__syncRoot_1() { return static_cast<int32_t>(offsetof(ReadOnlyCollection_1_t1159562726, ____syncRoot_1)); }
inline RuntimeObject * get__syncRoot_1() const { return ____syncRoot_1; }
inline RuntimeObject ** get_address_of__syncRoot_1() { return &____syncRoot_1; }
inline void set__syncRoot_1(RuntimeObject * value)
{
____syncRoot_1 = value;
Il2CppCodeGenWriteBarrier((&____syncRoot_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // READONLYCOLLECTION_1_T1159562726_H
#ifndef EQUALITYCOMPARER_1_T2411726071_H
#define EQUALITYCOMPARER_1_T2411726071_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct EqualityComparer_1_t2411726071 : public RuntimeObject
{
public:
public:
};
struct EqualityComparer_1_t2411726071_StaticFields
{
public:
// System.Collections.Generic.EqualityComparer`1<T> modreq(System.Runtime.CompilerServices.IsVolatile) System.Collections.Generic.EqualityComparer`1::defaultComparer
EqualityComparer_1_t2411726071 * ___defaultComparer_0;
public:
inline static int32_t get_offset_of_defaultComparer_0() { return static_cast<int32_t>(offsetof(EqualityComparer_1_t2411726071_StaticFields, ___defaultComparer_0)); }
inline EqualityComparer_1_t2411726071 * get_defaultComparer_0() const { return ___defaultComparer_0; }
inline EqualityComparer_1_t2411726071 ** get_address_of_defaultComparer_0() { return &___defaultComparer_0; }
inline void set_defaultComparer_0(EqualityComparer_1_t2411726071 * value)
{
___defaultComparer_0 = value;
Il2CppCodeGenWriteBarrier((&___defaultComparer_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EQUALITYCOMPARER_1_T2411726071_H
#ifndef LIST_1_T1234605051_H
#define LIST_1_T1234605051_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.UIVertex>
struct List_1_t1234605051 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UIVertexU5BU5D_t1981460040* ____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_t1234605051, ____items_1)); }
inline UIVertexU5BU5D_t1981460040* get__items_1() const { return ____items_1; }
inline UIVertexU5BU5D_t1981460040** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UIVertexU5BU5D_t1981460040* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1234605051, ____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_t1234605051, ____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_t1234605051, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1234605051_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UIVertexU5BU5D_t1981460040* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1234605051_StaticFields, ____emptyArray_5)); }
inline UIVertexU5BU5D_t1981460040* get__emptyArray_5() const { return ____emptyArray_5; }
inline UIVertexU5BU5D_t1981460040** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UIVertexU5BU5D_t1981460040* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1234605051_H
#ifndef LIST_1_T1547575848_H
#define LIST_1_T1547575848_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.UICharInfo>
struct List_1_t1547575848 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UICharInfoU5BU5D_t928762055* ____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_t1547575848, ____items_1)); }
inline UICharInfoU5BU5D_t928762055* get__items_1() const { return ____items_1; }
inline UICharInfoU5BU5D_t928762055** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UICharInfoU5BU5D_t928762055* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1547575848, ____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_t1547575848, ____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_t1547575848, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1547575848_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UICharInfoU5BU5D_t928762055* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1547575848_StaticFields, ____emptyArray_5)); }
inline UICharInfoU5BU5D_t928762055* get__emptyArray_5() const { return ____emptyArray_5; }
inline UICharInfoU5BU5D_t928762055** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UICharInfoU5BU5D_t928762055* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1547575848_H
#ifndef LIST_1_T4027761066_H
#define LIST_1_T4027761066_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Color>
struct List_1_t4027761066 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ColorU5BU5D_t941916413* ____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_t4027761066, ____items_1)); }
inline ColorU5BU5D_t941916413* get__items_1() const { return ____items_1; }
inline ColorU5BU5D_t941916413** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ColorU5BU5D_t941916413* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t4027761066, ____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_t4027761066, ____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_t4027761066, ____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((&____syncRoot_4), value);
}
};
struct List_1_t4027761066_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ColorU5BU5D_t941916413* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4027761066_StaticFields, ____emptyArray_5)); }
inline ColorU5BU5D_t941916413* get__emptyArray_5() const { return ____emptyArray_5; }
inline ColorU5BU5D_t941916413** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ColorU5BU5D_t941916413* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T4027761066_H
#ifndef LIST_1_T3058052573_H
#define LIST_1_T3058052573_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct List_1_t3058052573 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
OrderBlockU5BU5D_t2389202590* ____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_t3058052573, ____items_1)); }
inline OrderBlockU5BU5D_t2389202590* get__items_1() const { return ____items_1; }
inline OrderBlockU5BU5D_t2389202590** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(OrderBlockU5BU5D_t2389202590* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3058052573, ____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_t3058052573, ____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_t3058052573, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3058052573_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
OrderBlockU5BU5D_t2389202590* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3058052573_StaticFields, ____emptyArray_5)); }
inline OrderBlockU5BU5D_t2389202590* get__emptyArray_5() const { return ____emptyArray_5; }
inline OrderBlockU5BU5D_t2389202590** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(OrderBlockU5BU5D_t2389202590* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3058052573_H
#ifndef LIST_1_T521784417_H
#define LIST_1_T521784417_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>
struct List_1_t521784417 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
XmlSchemaObjectEntryU5BU5D_t1655208330* ____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_t521784417, ____items_1)); }
inline XmlSchemaObjectEntryU5BU5D_t1655208330* get__items_1() const { return ____items_1; }
inline XmlSchemaObjectEntryU5BU5D_t1655208330** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(XmlSchemaObjectEntryU5BU5D_t1655208330* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t521784417, ____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_t521784417, ____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_t521784417, ____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((&____syncRoot_4), value);
}
};
struct List_1_t521784417_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
XmlSchemaObjectEntryU5BU5D_t1655208330* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t521784417_StaticFields, ____emptyArray_5)); }
inline XmlSchemaObjectEntryU5BU5D_t1655208330* get__emptyArray_5() const { return ____emptyArray_5; }
inline XmlSchemaObjectEntryU5BU5D_t1655208330** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(XmlSchemaObjectEntryU5BU5D_t1655208330* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T521784417_H
#ifndef LIST_1_T3628304265_H
#define LIST_1_T3628304265_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t3628304265 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector2U5BU5D_t1457185986* ____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_t3628304265, ____items_1)); }
inline Vector2U5BU5D_t1457185986* get__items_1() const { return ____items_1; }
inline Vector2U5BU5D_t1457185986** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector2U5BU5D_t1457185986* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3628304265, ____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_t3628304265, ____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_t3628304265, ____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((&____syncRoot_4), value);
}
};
struct List_1_t3628304265_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector2U5BU5D_t1457185986* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3628304265_StaticFields, ____emptyArray_5)); }
inline Vector2U5BU5D_t1457185986* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector2U5BU5D_t1457185986** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector2U5BU5D_t1457185986* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3628304265_H
#ifndef LIST_1_T1372374256_H
#define LIST_1_T1372374256_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.UILineInfo>
struct List_1_t1372374256 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UILineInfoU5BU5D_t1655937503* ____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_t1372374256, ____items_1)); }
inline UILineInfoU5BU5D_t1655937503* get__items_1() const { return ____items_1; }
inline UILineInfoU5BU5D_t1655937503** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UILineInfoU5BU5D_t1655937503* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1372374256, ____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_t1372374256, ____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_t1372374256, ____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((&____syncRoot_4), value);
}
};
struct List_1_t1372374256_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UILineInfoU5BU5D_t1655937503* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1372374256_StaticFields, ____emptyArray_5)); }
inline UILineInfoU5BU5D_t1655937503* get__emptyArray_5() const { return ____emptyArray_5; }
inline UILineInfoU5BU5D_t1655937503** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UILineInfoU5BU5D_t1655937503* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T1372374256_H
#ifndef LIST_1_T4072576034_H
#define LIST_1_T4072576034_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t4072576034 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Color32U5BU5D_t3850468773* ____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_t4072576034, ____items_1)); }
inline Color32U5BU5D_t3850468773* get__items_1() const { return ____items_1; }
inline Color32U5BU5D_t3850468773** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Color32U5BU5D_t3850468773* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t4072576034, ____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_t4072576034, ____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_t4072576034, ____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((&____syncRoot_4), value);
}
};
struct List_1_t4072576034_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Color32U5BU5D_t3850468773* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4072576034_StaticFields, ____emptyArray_5)); }
inline Color32U5BU5D_t3850468773* get__emptyArray_5() const { return ____emptyArray_5; }
inline Color32U5BU5D_t3850468773** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Color32U5BU5D_t3850468773* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T4072576034_H
#ifndef LIST_1_T962958939_H
#define LIST_1_T962958939_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Ray>
struct List_1_t962958939 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RayU5BU5D_t1836217960* ____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_t962958939, ____items_1)); }
inline RayU5BU5D_t1836217960* get__items_1() const { return ____items_1; }
inline RayU5BU5D_t1836217960** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RayU5BU5D_t1836217960* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t962958939, ____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_t962958939, ____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_t962958939, ____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((&____syncRoot_4), value);
}
};
struct List_1_t962958939_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RayU5BU5D_t1836217960* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t962958939_StaticFields, ____emptyArray_5)); }
inline RayU5BU5D_t1836217960* get__emptyArray_5() const { return ____emptyArray_5; }
inline RayU5BU5D_t1836217960** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RayU5BU5D_t1836217960* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T962958939_H
#ifndef LIST_1_T537414295_H
#define LIST_1_T537414295_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>
struct List_1_t537414295 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RaycastResultU5BU5D_t1128832444* ____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_t537414295, ____items_1)); }
inline RaycastResultU5BU5D_t1128832444* get__items_1() const { return ____items_1; }
inline RaycastResultU5BU5D_t1128832444** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RaycastResultU5BU5D_t1128832444* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t537414295, ____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_t537414295, ____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_t537414295, ____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((&____syncRoot_4), value);
}
};
struct List_1_t537414295_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RaycastResultU5BU5D_t1128832444* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t537414295_StaticFields, ____emptyArray_5)); }
inline RaycastResultU5BU5D_t1128832444* get__emptyArray_5() const { return ____emptyArray_5; }
inline RaycastResultU5BU5D_t1128832444** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RaycastResultU5BU5D_t1128832444* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T537414295_H
#ifndef LIST_1_T899420910_H
#define LIST_1_T899420910_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t899420910 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector3U5BU5D_t1718750761* ____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_t899420910, ____items_1)); }
inline Vector3U5BU5D_t1718750761* get__items_1() const { return ____items_1; }
inline Vector3U5BU5D_t1718750761** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector3U5BU5D_t1718750761* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((&____items_1), value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t899420910, ____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_t899420910, ____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_t899420910, ____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((&____syncRoot_4), value);
}
};
struct List_1_t899420910_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector3U5BU5D_t1718750761* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t899420910_StaticFields, ____emptyArray_5)); }
inline Vector3U5BU5D_t1718750761* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector3U5BU5D_t1718750761** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector3U5BU5D_t1718750761* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((&____emptyArray_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T899420910_H
struct Il2CppArrayBounds;
#ifndef RUNTIMEARRAY_H
#define RUNTIMEARRAY_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Array
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEARRAY_H
#ifndef BOOLEAN_T97287965_H
#define BOOLEAN_T97287965_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Boolean
struct Boolean_t97287965
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_t97287965_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((&___TrueString_5), value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((&___FalseString_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOLEAN_T97287965_H
#ifndef SURFACEOBJECT_T2613240318_H
#define SURFACEOBJECT_T2613240318_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject
struct SurfaceObject_t2613240318
{
public:
// System.Int32 HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject::ID
int32_t ___ID_0;
// UnityEngine.GameObject HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject::Object
GameObject_t1113636619 * ___Object_1;
// UnityEngine.MeshRenderer HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject::Renderer
MeshRenderer_t587009260 * ___Renderer_2;
// UnityEngine.MeshFilter HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject::Filter
MeshFilter_t3523625662 * ___Filter_3;
// UnityEngine.MeshCollider HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject::Collider
MeshCollider_t903564387 * ___Collider_4;
public:
inline static int32_t get_offset_of_ID_0() { return static_cast<int32_t>(offsetof(SurfaceObject_t2613240318, ___ID_0)); }
inline int32_t get_ID_0() const { return ___ID_0; }
inline int32_t* get_address_of_ID_0() { return &___ID_0; }
inline void set_ID_0(int32_t value)
{
___ID_0 = value;
}
inline static int32_t get_offset_of_Object_1() { return static_cast<int32_t>(offsetof(SurfaceObject_t2613240318, ___Object_1)); }
inline GameObject_t1113636619 * get_Object_1() const { return ___Object_1; }
inline GameObject_t1113636619 ** get_address_of_Object_1() { return &___Object_1; }
inline void set_Object_1(GameObject_t1113636619 * value)
{
___Object_1 = value;
Il2CppCodeGenWriteBarrier((&___Object_1), value);
}
inline static int32_t get_offset_of_Renderer_2() { return static_cast<int32_t>(offsetof(SurfaceObject_t2613240318, ___Renderer_2)); }
inline MeshRenderer_t587009260 * get_Renderer_2() const { return ___Renderer_2; }
inline MeshRenderer_t587009260 ** get_address_of_Renderer_2() { return &___Renderer_2; }
inline void set_Renderer_2(MeshRenderer_t587009260 * value)
{
___Renderer_2 = value;
Il2CppCodeGenWriteBarrier((&___Renderer_2), value);
}
inline static int32_t get_offset_of_Filter_3() { return static_cast<int32_t>(offsetof(SurfaceObject_t2613240318, ___Filter_3)); }
inline MeshFilter_t3523625662 * get_Filter_3() const { return ___Filter_3; }
inline MeshFilter_t3523625662 ** get_address_of_Filter_3() { return &___Filter_3; }
inline void set_Filter_3(MeshFilter_t3523625662 * value)
{
___Filter_3 = value;
Il2CppCodeGenWriteBarrier((&___Filter_3), value);
}
inline static int32_t get_offset_of_Collider_4() { return static_cast<int32_t>(offsetof(SurfaceObject_t2613240318, ___Collider_4)); }
inline MeshCollider_t903564387 * get_Collider_4() const { return ___Collider_4; }
inline MeshCollider_t903564387 ** get_address_of_Collider_4() { return &___Collider_4; }
inline void set_Collider_4(MeshCollider_t903564387 * value)
{
___Collider_4 = value;
Il2CppCodeGenWriteBarrier((&___Collider_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject
struct SurfaceObject_t2613240318_marshaled_pinvoke
{
int32_t ___ID_0;
GameObject_t1113636619 * ___Object_1;
MeshRenderer_t587009260 * ___Renderer_2;
MeshFilter_t3523625662 * ___Filter_3;
MeshCollider_t903564387 * ___Collider_4;
};
// Native definition for COM marshalling of HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject
struct SurfaceObject_t2613240318_marshaled_com
{
int32_t ___ID_0;
GameObject_t1113636619 * ___Object_1;
MeshRenderer_t587009260 * ___Renderer_2;
MeshFilter_t3523625662 * ___Filter_3;
MeshCollider_t903564387 * ___Collider_4;
};
#endif // SURFACEOBJECT_T2613240318_H
#ifndef ORDERBLOCK_T1585977831_H
#define ORDERBLOCK_T1585977831_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t1585977831
{
public:
// System.Int32 UnityEngine.BeforeRenderHelper/OrderBlock::order
int32_t ___order_0;
// UnityEngine.Events.UnityAction UnityEngine.BeforeRenderHelper/OrderBlock::callback
UnityAction_t3245792599 * ___callback_1;
public:
inline static int32_t get_offset_of_order_0() { return static_cast<int32_t>(offsetof(OrderBlock_t1585977831, ___order_0)); }
inline int32_t get_order_0() const { return ___order_0; }
inline int32_t* get_address_of_order_0() { return &___order_0; }
inline void set_order_0(int32_t value)
{
___order_0 = value;
}
inline static int32_t get_offset_of_callback_1() { return static_cast<int32_t>(offsetof(OrderBlock_t1585977831, ___callback_1)); }
inline UnityAction_t3245792599 * get_callback_1() const { return ___callback_1; }
inline UnityAction_t3245792599 ** get_address_of_callback_1() { return &___callback_1; }
inline void set_callback_1(UnityAction_t3245792599 * value)
{
___callback_1 = value;
Il2CppCodeGenWriteBarrier((&___callback_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t1585977831_marshaled_pinvoke
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
// Native definition for COM marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t1585977831_marshaled_com
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
#endif // ORDERBLOCK_T1585977831_H
#ifndef INT32_T2950945753_H
#define INT32_T2950945753_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int32
struct Int32_t2950945753
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT32_T2950945753_H
#ifndef TIMERDATA_T4056715490_H
#define TIMERDATA_T4056715490_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.TimerScheduler/TimerData
struct TimerData_t4056715490
{
public:
// HoloToolkit.Unity.TimerScheduler/Callback HoloToolkit.Unity.TimerScheduler/TimerData::Callback
Callback_t2663646540 * ___Callback_0;
// System.Single HoloToolkit.Unity.TimerScheduler/TimerData::Duration
float ___Duration_1;
// System.Boolean HoloToolkit.Unity.TimerScheduler/TimerData::Loop
bool ___Loop_2;
// System.Int32 HoloToolkit.Unity.TimerScheduler/TimerData::Id
int32_t ___Id_3;
public:
inline static int32_t get_offset_of_Callback_0() { return static_cast<int32_t>(offsetof(TimerData_t4056715490, ___Callback_0)); }
inline Callback_t2663646540 * get_Callback_0() const { return ___Callback_0; }
inline Callback_t2663646540 ** get_address_of_Callback_0() { return &___Callback_0; }
inline void set_Callback_0(Callback_t2663646540 * value)
{
___Callback_0 = value;
Il2CppCodeGenWriteBarrier((&___Callback_0), value);
}
inline static int32_t get_offset_of_Duration_1() { return static_cast<int32_t>(offsetof(TimerData_t4056715490, ___Duration_1)); }
inline float get_Duration_1() const { return ___Duration_1; }
inline float* get_address_of_Duration_1() { return &___Duration_1; }
inline void set_Duration_1(float value)
{
___Duration_1 = value;
}
inline static int32_t get_offset_of_Loop_2() { return static_cast<int32_t>(offsetof(TimerData_t4056715490, ___Loop_2)); }
inline bool get_Loop_2() const { return ___Loop_2; }
inline bool* get_address_of_Loop_2() { return &___Loop_2; }
inline void set_Loop_2(bool value)
{
___Loop_2 = value;
}
inline static int32_t get_offset_of_Id_3() { return static_cast<int32_t>(offsetof(TimerData_t4056715490, ___Id_3)); }
inline int32_t get_Id_3() const { return ___Id_3; }
inline int32_t* get_address_of_Id_3() { return &___Id_3; }
inline void set_Id_3(int32_t value)
{
___Id_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.TimerScheduler/TimerData
struct TimerData_t4056715490_marshaled_pinvoke
{
Il2CppMethodPointer ___Callback_0;
float ___Duration_1;
int32_t ___Loop_2;
int32_t ___Id_3;
};
// Native definition for COM marshalling of HoloToolkit.Unity.TimerScheduler/TimerData
struct TimerData_t4056715490_marshaled_com
{
Il2CppMethodPointer ___Callback_0;
float ___Duration_1;
int32_t ___Loop_2;
int32_t ___Id_3;
};
#endif // TIMERDATA_T4056715490_H
#ifndef COLOR_T2555686324_H
#define COLOR_T2555686324_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Color
struct Color_t2555686324
{
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_t2555686324, ___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_t2555686324, ___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_t2555686324, ___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_t2555686324, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLOR_T2555686324_H
#ifndef TIMERIDPAIR_T921323905_H
#define TIMERIDPAIR_T921323905_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.TimerScheduler/TimerIdPair
struct TimerIdPair_t921323905
{
public:
// System.Int32 HoloToolkit.Unity.TimerScheduler/TimerIdPair::Id
int32_t ___Id_0;
// System.Int32 HoloToolkit.Unity.TimerScheduler/TimerIdPair::KeyTime
int32_t ___KeyTime_1;
public:
inline static int32_t get_offset_of_Id_0() { return static_cast<int32_t>(offsetof(TimerIdPair_t921323905, ___Id_0)); }
inline int32_t get_Id_0() const { return ___Id_0; }
inline int32_t* get_address_of_Id_0() { return &___Id_0; }
inline void set_Id_0(int32_t value)
{
___Id_0 = value;
}
inline static int32_t get_offset_of_KeyTime_1() { return static_cast<int32_t>(offsetof(TimerIdPair_t921323905, ___KeyTime_1)); }
inline int32_t get_KeyTime_1() const { return ___KeyTime_1; }
inline int32_t* get_address_of_KeyTime_1() { return &___KeyTime_1; }
inline void set_KeyTime_1(int32_t value)
{
___KeyTime_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TIMERIDPAIR_T921323905_H
#ifndef UILINEINFO_T4195266810_H
#define UILINEINFO_T4195266810_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UILineInfo
struct UILineInfo_t4195266810
{
public:
// System.Int32 UnityEngine.UILineInfo::startCharIdx
int32_t ___startCharIdx_0;
// System.Int32 UnityEngine.UILineInfo::height
int32_t ___height_1;
// System.Single UnityEngine.UILineInfo::topY
float ___topY_2;
// System.Single UnityEngine.UILineInfo::leading
float ___leading_3;
public:
inline static int32_t get_offset_of_startCharIdx_0() { return static_cast<int32_t>(offsetof(UILineInfo_t4195266810, ___startCharIdx_0)); }
inline int32_t get_startCharIdx_0() const { return ___startCharIdx_0; }
inline int32_t* get_address_of_startCharIdx_0() { return &___startCharIdx_0; }
inline void set_startCharIdx_0(int32_t value)
{
___startCharIdx_0 = value;
}
inline static int32_t get_offset_of_height_1() { return static_cast<int32_t>(offsetof(UILineInfo_t4195266810, ___height_1)); }
inline int32_t get_height_1() const { return ___height_1; }
inline int32_t* get_address_of_height_1() { return &___height_1; }
inline void set_height_1(int32_t value)
{
___height_1 = value;
}
inline static int32_t get_offset_of_topY_2() { return static_cast<int32_t>(offsetof(UILineInfo_t4195266810, ___topY_2)); }
inline float get_topY_2() const { return ___topY_2; }
inline float* get_address_of_topY_2() { return &___topY_2; }
inline void set_topY_2(float value)
{
___topY_2 = value;
}
inline static int32_t get_offset_of_leading_3() { return static_cast<int32_t>(offsetof(UILineInfo_t4195266810, ___leading_3)); }
inline float get_leading_3() const { return ___leading_3; }
inline float* get_address_of_leading_3() { return &___leading_3; }
inline void set_leading_3(float value)
{
___leading_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UILINEINFO_T4195266810_H
#ifndef COLOR32_T2600501292_H
#define COLOR32_T2600501292_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Color32
struct Color32_t2600501292
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.Color32::rgba
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Byte UnityEngine.Color32::r
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
// System.Byte UnityEngine.Color32::g
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
// System.Byte UnityEngine.Color32::b
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
// System.Byte UnityEngine.Color32::a
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_rgba_0() { return static_cast<int32_t>(offsetof(Color32_t2600501292, ___rgba_0)); }
inline int32_t get_rgba_0() const { return ___rgba_0; }
inline int32_t* get_address_of_rgba_0() { return &___rgba_0; }
inline void set_rgba_0(int32_t value)
{
___rgba_0 = value;
}
inline static int32_t get_offset_of_r_1() { return static_cast<int32_t>(offsetof(Color32_t2600501292, ___r_1)); }
inline uint8_t get_r_1() const { return ___r_1; }
inline uint8_t* get_address_of_r_1() { return &___r_1; }
inline void set_r_1(uint8_t value)
{
___r_1 = value;
}
inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(Color32_t2600501292, ___g_2)); }
inline uint8_t get_g_2() const { return ___g_2; }
inline uint8_t* get_address_of_g_2() { return &___g_2; }
inline void set_g_2(uint8_t value)
{
___g_2 = value;
}
inline static int32_t get_offset_of_b_3() { return static_cast<int32_t>(offsetof(Color32_t2600501292, ___b_3)); }
inline uint8_t get_b_3() const { return ___b_3; }
inline uint8_t* get_address_of_b_3() { return &___b_3; }
inline void set_b_3(uint8_t value)
{
___b_3 = value;
}
inline static int32_t get_offset_of_a_4() { return static_cast<int32_t>(offsetof(Color32_t2600501292, ___a_4)); }
inline uint8_t get_a_4() const { return ___a_4; }
inline uint8_t* get_address_of_a_4() { return &___a_4; }
inline void set_a_4(uint8_t value)
{
___a_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLOR32_T2600501292_H
#ifndef VECTOR4_T3319028937_H
#define VECTOR4_T3319028937_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Vector4
struct Vector4_t3319028937
{
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_t3319028937, ___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_t3319028937, ___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_t3319028937, ___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_t3319028937, ___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_t3319028937_StaticFields
{
public:
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
Vector4_t3319028937 ___zeroVector_5;
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
Vector4_t3319028937 ___oneVector_6;
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
Vector4_t3319028937 ___positiveInfinityVector_7;
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
Vector4_t3319028937 ___negativeInfinityVector_8;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___zeroVector_5)); }
inline Vector4_t3319028937 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector4_t3319028937 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector4_t3319028937 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___oneVector_6)); }
inline Vector4_t3319028937 get_oneVector_6() const { return ___oneVector_6; }
inline Vector4_t3319028937 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector4_t3319028937 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___positiveInfinityVector_7)); }
inline Vector4_t3319028937 get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; }
inline Vector4_t3319028937 * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; }
inline void set_positiveInfinityVector_7(Vector4_t3319028937 value)
{
___positiveInfinityVector_7 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___negativeInfinityVector_8)); }
inline Vector4_t3319028937 get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; }
inline Vector4_t3319028937 * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; }
inline void set_negativeInfinityVector_8(Vector4_t3319028937 value)
{
___negativeInfinityVector_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VECTOR4_T3319028937_H
#ifndef SYSTEMEXCEPTION_T176217640_H
#define SYSTEMEXCEPTION_T176217640_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.SystemException
struct SystemException_t176217640 : public Exception_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SYSTEMEXCEPTION_T176217640_H
#ifndef VECTOR3_T3722313464_H
#define VECTOR3_T3722313464_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Vector3
struct Vector3_t3722313464
{
public:
// System.Single UnityEngine.Vector3::x
float ___x_1;
// System.Single UnityEngine.Vector3::y
float ___y_2;
// System.Single UnityEngine.Vector3::z
float ___z_3;
public:
inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___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(Vector3_t3722313464, ___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(Vector3_t3722313464, ___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;
}
};
struct Vector3_t3722313464_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_t3722313464 ___zeroVector_4;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_t3722313464 ___oneVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_t3722313464 ___upVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_t3722313464 ___downVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_t3722313464 ___leftVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_t3722313464 ___rightVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_t3722313464 ___forwardVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_t3722313464 ___backVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_t3722313464 ___positiveInfinityVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_t3722313464 ___negativeInfinityVector_13;
public:
inline static int32_t get_offset_of_zeroVector_4() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___zeroVector_4)); }
inline Vector3_t3722313464 get_zeroVector_4() const { return ___zeroVector_4; }
inline Vector3_t3722313464 * get_address_of_zeroVector_4() { return &___zeroVector_4; }
inline void set_zeroVector_4(Vector3_t3722313464 value)
{
___zeroVector_4 = value;
}
inline static int32_t get_offset_of_oneVector_5() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___oneVector_5)); }
inline Vector3_t3722313464 get_oneVector_5() const { return ___oneVector_5; }
inline Vector3_t3722313464 * get_address_of_oneVector_5() { return &___oneVector_5; }
inline void set_oneVector_5(Vector3_t3722313464 value)
{
___oneVector_5 = value;
}
inline static int32_t get_offset_of_upVector_6() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___upVector_6)); }
inline Vector3_t3722313464 get_upVector_6() const { return ___upVector_6; }
inline Vector3_t3722313464 * get_address_of_upVector_6() { return &___upVector_6; }
inline void set_upVector_6(Vector3_t3722313464 value)
{
___upVector_6 = value;
}
inline static int32_t get_offset_of_downVector_7() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___downVector_7)); }
inline Vector3_t3722313464 get_downVector_7() const { return ___downVector_7; }
inline Vector3_t3722313464 * get_address_of_downVector_7() { return &___downVector_7; }
inline void set_downVector_7(Vector3_t3722313464 value)
{
___downVector_7 = value;
}
inline static int32_t get_offset_of_leftVector_8() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___leftVector_8)); }
inline Vector3_t3722313464 get_leftVector_8() const { return ___leftVector_8; }
inline Vector3_t3722313464 * get_address_of_leftVector_8() { return &___leftVector_8; }
inline void set_leftVector_8(Vector3_t3722313464 value)
{
___leftVector_8 = value;
}
inline static int32_t get_offset_of_rightVector_9() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___rightVector_9)); }
inline Vector3_t3722313464 get_rightVector_9() const { return ___rightVector_9; }
inline Vector3_t3722313464 * get_address_of_rightVector_9() { return &___rightVector_9; }
inline void set_rightVector_9(Vector3_t3722313464 value)
{
___rightVector_9 = value;
}
inline static int32_t get_offset_of_forwardVector_10() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___forwardVector_10)); }
inline Vector3_t3722313464 get_forwardVector_10() const { return ___forwardVector_10; }
inline Vector3_t3722313464 * get_address_of_forwardVector_10() { return &___forwardVector_10; }
inline void set_forwardVector_10(Vector3_t3722313464 value)
{
___forwardVector_10 = value;
}
inline static int32_t get_offset_of_backVector_11() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___backVector_11)); }
inline Vector3_t3722313464 get_backVector_11() const { return ___backVector_11; }
inline Vector3_t3722313464 * get_address_of_backVector_11() { return &___backVector_11; }
inline void set_backVector_11(Vector3_t3722313464 value)
{
___backVector_11 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_12() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___positiveInfinityVector_12)); }
inline Vector3_t3722313464 get_positiveInfinityVector_12() const { return ___positiveInfinityVector_12; }
inline Vector3_t3722313464 * get_address_of_positiveInfinityVector_12() { return &___positiveInfinityVector_12; }
inline void set_positiveInfinityVector_12(Vector3_t3722313464 value)
{
___positiveInfinityVector_12 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___negativeInfinityVector_13)); }
inline Vector3_t3722313464 get_negativeInfinityVector_13() const { return ___negativeInfinityVector_13; }
inline Vector3_t3722313464 * get_address_of_negativeInfinityVector_13() { return &___negativeInfinityVector_13; }
inline void set_negativeInfinityVector_13(Vector3_t3722313464 value)
{
___negativeInfinityVector_13 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VECTOR3_T3722313464_H
#ifndef MATRIX4X4_T1817901843_H
#define MATRIX4X4_T1817901843_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Matrix4x4
struct Matrix4x4_t1817901843
{
public:
// System.Single UnityEngine.Matrix4x4::m00
float ___m00_0;
// System.Single UnityEngine.Matrix4x4::m10
float ___m10_1;
// System.Single UnityEngine.Matrix4x4::m20
float ___m20_2;
// System.Single UnityEngine.Matrix4x4::m30
float ___m30_3;
// System.Single UnityEngine.Matrix4x4::m01
float ___m01_4;
// System.Single UnityEngine.Matrix4x4::m11
float ___m11_5;
// System.Single UnityEngine.Matrix4x4::m21
float ___m21_6;
// System.Single UnityEngine.Matrix4x4::m31
float ___m31_7;
// System.Single UnityEngine.Matrix4x4::m02
float ___m02_8;
// System.Single UnityEngine.Matrix4x4::m12
float ___m12_9;
// System.Single UnityEngine.Matrix4x4::m22
float ___m22_10;
// System.Single UnityEngine.Matrix4x4::m32
float ___m32_11;
// System.Single UnityEngine.Matrix4x4::m03
float ___m03_12;
// System.Single UnityEngine.Matrix4x4::m13
float ___m13_13;
// System.Single UnityEngine.Matrix4x4::m23
float ___m23_14;
// System.Single UnityEngine.Matrix4x4::m33
float ___m33_15;
public:
inline static int32_t get_offset_of_m00_0() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m00_0)); }
inline float get_m00_0() const { return ___m00_0; }
inline float* get_address_of_m00_0() { return &___m00_0; }
inline void set_m00_0(float value)
{
___m00_0 = value;
}
inline static int32_t get_offset_of_m10_1() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m10_1)); }
inline float get_m10_1() const { return ___m10_1; }
inline float* get_address_of_m10_1() { return &___m10_1; }
inline void set_m10_1(float value)
{
___m10_1 = value;
}
inline static int32_t get_offset_of_m20_2() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m20_2)); }
inline float get_m20_2() const { return ___m20_2; }
inline float* get_address_of_m20_2() { return &___m20_2; }
inline void set_m20_2(float value)
{
___m20_2 = value;
}
inline static int32_t get_offset_of_m30_3() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m30_3)); }
inline float get_m30_3() const { return ___m30_3; }
inline float* get_address_of_m30_3() { return &___m30_3; }
inline void set_m30_3(float value)
{
___m30_3 = value;
}
inline static int32_t get_offset_of_m01_4() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m01_4)); }
inline float get_m01_4() const { return ___m01_4; }
inline float* get_address_of_m01_4() { return &___m01_4; }
inline void set_m01_4(float value)
{
___m01_4 = value;
}
inline static int32_t get_offset_of_m11_5() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m11_5)); }
inline float get_m11_5() const { return ___m11_5; }
inline float* get_address_of_m11_5() { return &___m11_5; }
inline void set_m11_5(float value)
{
___m11_5 = value;
}
inline static int32_t get_offset_of_m21_6() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m21_6)); }
inline float get_m21_6() const { return ___m21_6; }
inline float* get_address_of_m21_6() { return &___m21_6; }
inline void set_m21_6(float value)
{
___m21_6 = value;
}
inline static int32_t get_offset_of_m31_7() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m31_7)); }
inline float get_m31_7() const { return ___m31_7; }
inline float* get_address_of_m31_7() { return &___m31_7; }
inline void set_m31_7(float value)
{
___m31_7 = value;
}
inline static int32_t get_offset_of_m02_8() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m02_8)); }
inline float get_m02_8() const { return ___m02_8; }
inline float* get_address_of_m02_8() { return &___m02_8; }
inline void set_m02_8(float value)
{
___m02_8 = value;
}
inline static int32_t get_offset_of_m12_9() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m12_9)); }
inline float get_m12_9() const { return ___m12_9; }
inline float* get_address_of_m12_9() { return &___m12_9; }
inline void set_m12_9(float value)
{
___m12_9 = value;
}
inline static int32_t get_offset_of_m22_10() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m22_10)); }
inline float get_m22_10() const { return ___m22_10; }
inline float* get_address_of_m22_10() { return &___m22_10; }
inline void set_m22_10(float value)
{
___m22_10 = value;
}
inline static int32_t get_offset_of_m32_11() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m32_11)); }
inline float get_m32_11() const { return ___m32_11; }
inline float* get_address_of_m32_11() { return &___m32_11; }
inline void set_m32_11(float value)
{
___m32_11 = value;
}
inline static int32_t get_offset_of_m03_12() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m03_12)); }
inline float get_m03_12() const { return ___m03_12; }
inline float* get_address_of_m03_12() { return &___m03_12; }
inline void set_m03_12(float value)
{
___m03_12 = value;
}
inline static int32_t get_offset_of_m13_13() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m13_13)); }
inline float get_m13_13() const { return ___m13_13; }
inline float* get_address_of_m13_13() { return &___m13_13; }
inline void set_m13_13(float value)
{
___m13_13 = value;
}
inline static int32_t get_offset_of_m23_14() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m23_14)); }
inline float get_m23_14() const { return ___m23_14; }
inline float* get_address_of_m23_14() { return &___m23_14; }
inline void set_m23_14(float value)
{
___m23_14 = value;
}
inline static int32_t get_offset_of_m33_15() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843, ___m33_15)); }
inline float get_m33_15() const { return ___m33_15; }
inline float* get_address_of_m33_15() { return &___m33_15; }
inline void set_m33_15(float value)
{
___m33_15 = value;
}
};
struct Matrix4x4_t1817901843_StaticFields
{
public:
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
Matrix4x4_t1817901843 ___zeroMatrix_16;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
Matrix4x4_t1817901843 ___identityMatrix_17;
public:
inline static int32_t get_offset_of_zeroMatrix_16() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843_StaticFields, ___zeroMatrix_16)); }
inline Matrix4x4_t1817901843 get_zeroMatrix_16() const { return ___zeroMatrix_16; }
inline Matrix4x4_t1817901843 * get_address_of_zeroMatrix_16() { return &___zeroMatrix_16; }
inline void set_zeroMatrix_16(Matrix4x4_t1817901843 value)
{
___zeroMatrix_16 = value;
}
inline static int32_t get_offset_of_identityMatrix_17() { return static_cast<int32_t>(offsetof(Matrix4x4_t1817901843_StaticFields, ___identityMatrix_17)); }
inline Matrix4x4_t1817901843 get_identityMatrix_17() const { return ___identityMatrix_17; }
inline Matrix4x4_t1817901843 * get_address_of_identityMatrix_17() { return &___identityMatrix_17; }
inline void set_identityMatrix_17(Matrix4x4_t1817901843 value)
{
___identityMatrix_17 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATRIX4X4_T1817901843_H
#ifndef PREFABTODATAMODEL_T1762303220_H
#define PREFABTODATAMODEL_T1762303220_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Sharing.Spawning.PrefabToDataModel
struct PrefabToDataModel_t1762303220
{
public:
// System.String HoloToolkit.Sharing.Spawning.PrefabToDataModel::DataModelClassName
String_t* ___DataModelClassName_0;
// UnityEngine.GameObject HoloToolkit.Sharing.Spawning.PrefabToDataModel::Prefab
GameObject_t1113636619 * ___Prefab_1;
public:
inline static int32_t get_offset_of_DataModelClassName_0() { return static_cast<int32_t>(offsetof(PrefabToDataModel_t1762303220, ___DataModelClassName_0)); }
inline String_t* get_DataModelClassName_0() const { return ___DataModelClassName_0; }
inline String_t** get_address_of_DataModelClassName_0() { return &___DataModelClassName_0; }
inline void set_DataModelClassName_0(String_t* value)
{
___DataModelClassName_0 = value;
Il2CppCodeGenWriteBarrier((&___DataModelClassName_0), value);
}
inline static int32_t get_offset_of_Prefab_1() { return static_cast<int32_t>(offsetof(PrefabToDataModel_t1762303220, ___Prefab_1)); }
inline GameObject_t1113636619 * get_Prefab_1() const { return ___Prefab_1; }
inline GameObject_t1113636619 ** get_address_of_Prefab_1() { return &___Prefab_1; }
inline void set_Prefab_1(GameObject_t1113636619 * value)
{
___Prefab_1 = value;
Il2CppCodeGenWriteBarrier((&___Prefab_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Sharing.Spawning.PrefabToDataModel
struct PrefabToDataModel_t1762303220_marshaled_pinvoke
{
char* ___DataModelClassName_0;
GameObject_t1113636619 * ___Prefab_1;
};
// Native definition for COM marshalling of HoloToolkit.Sharing.Spawning.PrefabToDataModel
struct PrefabToDataModel_t1762303220_marshaled_com
{
Il2CppChar* ___DataModelClassName_0;
GameObject_t1113636619 * ___Prefab_1;
};
#endif // PREFABTODATAMODEL_T1762303220_H
#ifndef VECTOR2_T2156229523_H
#define VECTOR2_T2156229523_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Vector2
struct Vector2_t2156229523
{
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_t2156229523, ___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_t2156229523, ___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_t2156229523_StaticFields
{
public:
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_t2156229523 ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_t2156229523 ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_t2156229523 ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_t2156229523 ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_t2156229523 ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_t2156229523 ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_t2156229523 ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_t2156229523 ___negativeInfinityVector_9;
public:
inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___zeroVector_2)); }
inline Vector2_t2156229523 get_zeroVector_2() const { return ___zeroVector_2; }
inline Vector2_t2156229523 * get_address_of_zeroVector_2() { return &___zeroVector_2; }
inline void set_zeroVector_2(Vector2_t2156229523 value)
{
___zeroVector_2 = value;
}
inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___oneVector_3)); }
inline Vector2_t2156229523 get_oneVector_3() const { return ___oneVector_3; }
inline Vector2_t2156229523 * get_address_of_oneVector_3() { return &___oneVector_3; }
inline void set_oneVector_3(Vector2_t2156229523 value)
{
___oneVector_3 = value;
}
inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___upVector_4)); }
inline Vector2_t2156229523 get_upVector_4() const { return ___upVector_4; }
inline Vector2_t2156229523 * get_address_of_upVector_4() { return &___upVector_4; }
inline void set_upVector_4(Vector2_t2156229523 value)
{
___upVector_4 = value;
}
inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___downVector_5)); }
inline Vector2_t2156229523 get_downVector_5() const { return ___downVector_5; }
inline Vector2_t2156229523 * get_address_of_downVector_5() { return &___downVector_5; }
inline void set_downVector_5(Vector2_t2156229523 value)
{
___downVector_5 = value;
}
inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___leftVector_6)); }
inline Vector2_t2156229523 get_leftVector_6() const { return ___leftVector_6; }
inline Vector2_t2156229523 * get_address_of_leftVector_6() { return &___leftVector_6; }
inline void set_leftVector_6(Vector2_t2156229523 value)
{
___leftVector_6 = value;
}
inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___rightVector_7)); }
inline Vector2_t2156229523 get_rightVector_7() const { return ___rightVector_7; }
inline Vector2_t2156229523 * get_address_of_rightVector_7() { return &___rightVector_7; }
inline void set_rightVector_7(Vector2_t2156229523 value)
{
___rightVector_7 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___positiveInfinityVector_8)); }
inline Vector2_t2156229523 get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; }
inline Vector2_t2156229523 * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; }
inline void set_positiveInfinityVector_8(Vector2_t2156229523 value)
{
___positiveInfinityVector_8 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_t2156229523_StaticFields, ___negativeInfinityVector_9)); }
inline Vector2_t2156229523 get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; }
inline Vector2_t2156229523 * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; }
inline void set_negativeInfinityVector_9(Vector2_t2156229523 value)
{
___negativeInfinityVector_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VECTOR2_T2156229523_H
#ifndef XMLSCHEMAOBJECTENTRY_T3344676971_H
#define XMLSCHEMAOBJECTENTRY_T3344676971_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry
struct XmlSchemaObjectEntry_t3344676971
{
public:
// System.Xml.XmlQualifiedName System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry::qname
XmlQualifiedName_t2760654312 * ___qname_0;
// System.Xml.Schema.XmlSchemaObject System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry::xso
XmlSchemaObject_t1315720168 * ___xso_1;
public:
inline static int32_t get_offset_of_qname_0() { return static_cast<int32_t>(offsetof(XmlSchemaObjectEntry_t3344676971, ___qname_0)); }
inline XmlQualifiedName_t2760654312 * get_qname_0() const { return ___qname_0; }
inline XmlQualifiedName_t2760654312 ** get_address_of_qname_0() { return &___qname_0; }
inline void set_qname_0(XmlQualifiedName_t2760654312 * value)
{
___qname_0 = value;
Il2CppCodeGenWriteBarrier((&___qname_0), value);
}
inline static int32_t get_offset_of_xso_1() { return static_cast<int32_t>(offsetof(XmlSchemaObjectEntry_t3344676971, ___xso_1)); }
inline XmlSchemaObject_t1315720168 * get_xso_1() const { return ___xso_1; }
inline XmlSchemaObject_t1315720168 ** get_address_of_xso_1() { return &___xso_1; }
inline void set_xso_1(XmlSchemaObject_t1315720168 * value)
{
___xso_1 = value;
Il2CppCodeGenWriteBarrier((&___xso_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry
struct XmlSchemaObjectEntry_t3344676971_marshaled_pinvoke
{
XmlQualifiedName_t2760654312 * ___qname_0;
XmlSchemaObject_t1315720168 * ___xso_1;
};
// Native definition for COM marshalling of System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry
struct XmlSchemaObjectEntry_t3344676971_marshaled_com
{
XmlQualifiedName_t2760654312 * ___qname_0;
XmlSchemaObject_t1315720168 * ___xso_1;
};
#endif // XMLSCHEMAOBJECTENTRY_T3344676971_H
#ifndef ENUM_T4135868527_H
#define ENUM_T4135868527_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Enum
struct Enum_t4135868527 : public ValueType_t3640485471
{
public:
public:
};
struct Enum_t4135868527_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t3528271667* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t3528271667* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t3528271667** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t3528271667* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((&___enumSeperatorCharArray_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t4135868527_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t4135868527_marshaled_com
{
};
#endif // ENUM_T4135868527_H
#ifndef INPUTSOURCEINFO_T100027742_H
#define INPUTSOURCEINFO_T100027742_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.InputModule.InputSourceInfo
struct InputSourceInfo_t100027742
{
public:
// HoloToolkit.Unity.InputModule.IInputSource HoloToolkit.Unity.InputModule.InputSourceInfo::InputSource
RuntimeObject* ___InputSource_0;
// System.UInt32 HoloToolkit.Unity.InputModule.InputSourceInfo::SourceId
uint32_t ___SourceId_1;
public:
inline static int32_t get_offset_of_InputSource_0() { return static_cast<int32_t>(offsetof(InputSourceInfo_t100027742, ___InputSource_0)); }
inline RuntimeObject* get_InputSource_0() const { return ___InputSource_0; }
inline RuntimeObject** get_address_of_InputSource_0() { return &___InputSource_0; }
inline void set_InputSource_0(RuntimeObject* value)
{
___InputSource_0 = value;
Il2CppCodeGenWriteBarrier((&___InputSource_0), value);
}
inline static int32_t get_offset_of_SourceId_1() { return static_cast<int32_t>(offsetof(InputSourceInfo_t100027742, ___SourceId_1)); }
inline uint32_t get_SourceId_1() const { return ___SourceId_1; }
inline uint32_t* get_address_of_SourceId_1() { return &___SourceId_1; }
inline void set_SourceId_1(uint32_t value)
{
___SourceId_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.InputModule.InputSourceInfo
struct InputSourceInfo_t100027742_marshaled_pinvoke
{
RuntimeObject* ___InputSource_0;
uint32_t ___SourceId_1;
};
// Native definition for COM marshalling of HoloToolkit.Unity.InputModule.InputSourceInfo
struct InputSourceInfo_t100027742_marshaled_com
{
RuntimeObject* ___InputSource_0;
uint32_t ___SourceId_1;
};
#endif // INPUTSOURCEINFO_T100027742_H
#ifndef VOID_T1185182177_H
#define VOID_T1185182177_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void
struct Void_t1185182177
{
public:
union
{
struct
{
};
uint8_t Void_t1185182177__padding[1];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T1185182177_H
#ifndef INTPTR_T_H
#define INTPTR_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// 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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INTPTR_T_H
#ifndef JSONCONTAINERTYPE_T3191599701_H
#define JSONCONTAINERTYPE_T3191599701_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Newtonsoft.Json.JsonContainerType
struct JsonContainerType_t3191599701
{
public:
// System.Int32 Newtonsoft.Json.JsonContainerType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(JsonContainerType_t3191599701, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // JSONCONTAINERTYPE_T3191599701_H
#ifndef ENUMERATOR_T1666852615_H
#define ENUMERATOR_T1666852615_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>
struct Enumerator_t1666852615
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t4072576034 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Color32_t2600501292 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1666852615, ___list_0)); }
inline List_1_t4072576034 * get_list_0() const { return ___list_0; }
inline List_1_t4072576034 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t4072576034 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1666852615, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1666852615, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1666852615, ___current_3)); }
inline Color32_t2600501292 get_current_3() const { return ___current_3; }
inline Color32_t2600501292 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Color32_t2600501292 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1666852615_H
#ifndef ENUMERATOR_T1679591641_H
#define ENUMERATOR_T1679591641_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Enumerator_t1679591641
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t4085315060 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
SurfaceObject_t2613240318 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1679591641, ___list_0)); }
inline List_1_t4085315060 * get_list_0() const { return ___list_0; }
inline List_1_t4085315060 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t4085315060 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1679591641, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1679591641, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1679591641, ___current_3)); }
inline SurfaceObject_t2613240318 get_current_3() const { return ___current_3; }
inline SurfaceObject_t2613240318 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(SurfaceObject_t2613240318 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1679591641_H
#ifndef RAYCASTRESULT_T3360306849_H
#define RAYCASTRESULT_T3360306849_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t3360306849
{
public:
// UnityEngine.GameObject UnityEngine.EventSystems.RaycastResult::m_GameObject
GameObject_t1113636619 * ___m_GameObject_0;
// UnityEngine.EventSystems.BaseRaycaster UnityEngine.EventSystems.RaycastResult::module
BaseRaycaster_t4150874583 * ___module_1;
// System.Single UnityEngine.EventSystems.RaycastResult::distance
float ___distance_2;
// System.Single UnityEngine.EventSystems.RaycastResult::index
float ___index_3;
// System.Int32 UnityEngine.EventSystems.RaycastResult::depth
int32_t ___depth_4;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingLayer
int32_t ___sortingLayer_5;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingOrder
int32_t ___sortingOrder_6;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldPosition
Vector3_t3722313464 ___worldPosition_7;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldNormal
Vector3_t3722313464 ___worldNormal_8;
// UnityEngine.Vector2 UnityEngine.EventSystems.RaycastResult::screenPosition
Vector2_t2156229523 ___screenPosition_9;
public:
inline static int32_t get_offset_of_m_GameObject_0() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___m_GameObject_0)); }
inline GameObject_t1113636619 * get_m_GameObject_0() const { return ___m_GameObject_0; }
inline GameObject_t1113636619 ** get_address_of_m_GameObject_0() { return &___m_GameObject_0; }
inline void set_m_GameObject_0(GameObject_t1113636619 * value)
{
___m_GameObject_0 = value;
Il2CppCodeGenWriteBarrier((&___m_GameObject_0), value);
}
inline static int32_t get_offset_of_module_1() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___module_1)); }
inline BaseRaycaster_t4150874583 * get_module_1() const { return ___module_1; }
inline BaseRaycaster_t4150874583 ** get_address_of_module_1() { return &___module_1; }
inline void set_module_1(BaseRaycaster_t4150874583 * value)
{
___module_1 = value;
Il2CppCodeGenWriteBarrier((&___module_1), value);
}
inline static int32_t get_offset_of_distance_2() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___distance_2)); }
inline float get_distance_2() const { return ___distance_2; }
inline float* get_address_of_distance_2() { return &___distance_2; }
inline void set_distance_2(float value)
{
___distance_2 = value;
}
inline static int32_t get_offset_of_index_3() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___index_3)); }
inline float get_index_3() const { return ___index_3; }
inline float* get_address_of_index_3() { return &___index_3; }
inline void set_index_3(float value)
{
___index_3 = value;
}
inline static int32_t get_offset_of_depth_4() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___depth_4)); }
inline int32_t get_depth_4() const { return ___depth_4; }
inline int32_t* get_address_of_depth_4() { return &___depth_4; }
inline void set_depth_4(int32_t value)
{
___depth_4 = value;
}
inline static int32_t get_offset_of_sortingLayer_5() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___sortingLayer_5)); }
inline int32_t get_sortingLayer_5() const { return ___sortingLayer_5; }
inline int32_t* get_address_of_sortingLayer_5() { return &___sortingLayer_5; }
inline void set_sortingLayer_5(int32_t value)
{
___sortingLayer_5 = value;
}
inline static int32_t get_offset_of_sortingOrder_6() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___sortingOrder_6)); }
inline int32_t get_sortingOrder_6() const { return ___sortingOrder_6; }
inline int32_t* get_address_of_sortingOrder_6() { return &___sortingOrder_6; }
inline void set_sortingOrder_6(int32_t value)
{
___sortingOrder_6 = value;
}
inline static int32_t get_offset_of_worldPosition_7() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___worldPosition_7)); }
inline Vector3_t3722313464 get_worldPosition_7() const { return ___worldPosition_7; }
inline Vector3_t3722313464 * get_address_of_worldPosition_7() { return &___worldPosition_7; }
inline void set_worldPosition_7(Vector3_t3722313464 value)
{
___worldPosition_7 = value;
}
inline static int32_t get_offset_of_worldNormal_8() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___worldNormal_8)); }
inline Vector3_t3722313464 get_worldNormal_8() const { return ___worldNormal_8; }
inline Vector3_t3722313464 * get_address_of_worldNormal_8() { return &___worldNormal_8; }
inline void set_worldNormal_8(Vector3_t3722313464 value)
{
___worldNormal_8 = value;
}
inline static int32_t get_offset_of_screenPosition_9() { return static_cast<int32_t>(offsetof(RaycastResult_t3360306849, ___screenPosition_9)); }
inline Vector2_t2156229523 get_screenPosition_9() const { return ___screenPosition_9; }
inline Vector2_t2156229523 * get_address_of_screenPosition_9() { return &___screenPosition_9; }
inline void set_screenPosition_9(Vector2_t2156229523 value)
{
___screenPosition_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t3360306849_marshaled_pinvoke
{
GameObject_t1113636619 * ___m_GameObject_0;
BaseRaycaster_t4150874583 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_t3722313464 ___worldPosition_7;
Vector3_t3722313464 ___worldNormal_8;
Vector2_t2156229523 ___screenPosition_9;
};
// Native definition for COM marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t3360306849_marshaled_com
{
GameObject_t1113636619 * ___m_GameObject_0;
BaseRaycaster_t4150874583 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_t3722313464 ___worldPosition_7;
Vector3_t3722313464 ___worldNormal_8;
Vector2_t2156229523 ___screenPosition_9;
};
#endif // RAYCASTRESULT_T3360306849_H
#ifndef DELEGATE_T1188392813_H
#define DELEGATE_T1188392813_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Delegate
struct Delegate_t1188392813 : 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_t1677132599 * ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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((&___m_target_2), value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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_t1188392813, ___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((&___method_info_7), value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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((&___original_method_info_8), value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_9)); }
inline DelegateData_t1677132599 * get_data_9() const { return ___data_9; }
inline DelegateData_t1677132599 ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1677132599 * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((&___data_9), value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t1188392813_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_t1677132599 * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t1188392813_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_t1677132599 * ___data_9;
int32_t ___method_is_virtual_10;
};
#endif // DELEGATE_T1188392813_H
#ifndef MESHDATA_T3361835602_H
#define MESHDATA_T3361835602_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.SpatialUnderstandingDll/MeshData
struct MeshData_t3361835602
{
public:
// System.Int32 HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::MeshID
int32_t ___MeshID_0;
// System.Int32 HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::LastUpdateID
int32_t ___LastUpdateID_1;
// UnityEngine.Matrix4x4 HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::Transform
Matrix4x4_t1817901843 ___Transform_2;
// UnityEngine.Vector3[] HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::Verts
Vector3U5BU5D_t1718750761* ___Verts_3;
// UnityEngine.Vector3[] HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::Normals
Vector3U5BU5D_t1718750761* ___Normals_4;
// System.Int32[] HoloToolkit.Unity.SpatialUnderstandingDll/MeshData::Indices
Int32U5BU5D_t385246372* ___Indices_5;
public:
inline static int32_t get_offset_of_MeshID_0() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___MeshID_0)); }
inline int32_t get_MeshID_0() const { return ___MeshID_0; }
inline int32_t* get_address_of_MeshID_0() { return &___MeshID_0; }
inline void set_MeshID_0(int32_t value)
{
___MeshID_0 = value;
}
inline static int32_t get_offset_of_LastUpdateID_1() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___LastUpdateID_1)); }
inline int32_t get_LastUpdateID_1() const { return ___LastUpdateID_1; }
inline int32_t* get_address_of_LastUpdateID_1() { return &___LastUpdateID_1; }
inline void set_LastUpdateID_1(int32_t value)
{
___LastUpdateID_1 = value;
}
inline static int32_t get_offset_of_Transform_2() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___Transform_2)); }
inline Matrix4x4_t1817901843 get_Transform_2() const { return ___Transform_2; }
inline Matrix4x4_t1817901843 * get_address_of_Transform_2() { return &___Transform_2; }
inline void set_Transform_2(Matrix4x4_t1817901843 value)
{
___Transform_2 = value;
}
inline static int32_t get_offset_of_Verts_3() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___Verts_3)); }
inline Vector3U5BU5D_t1718750761* get_Verts_3() const { return ___Verts_3; }
inline Vector3U5BU5D_t1718750761** get_address_of_Verts_3() { return &___Verts_3; }
inline void set_Verts_3(Vector3U5BU5D_t1718750761* value)
{
___Verts_3 = value;
Il2CppCodeGenWriteBarrier((&___Verts_3), value);
}
inline static int32_t get_offset_of_Normals_4() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___Normals_4)); }
inline Vector3U5BU5D_t1718750761* get_Normals_4() const { return ___Normals_4; }
inline Vector3U5BU5D_t1718750761** get_address_of_Normals_4() { return &___Normals_4; }
inline void set_Normals_4(Vector3U5BU5D_t1718750761* value)
{
___Normals_4 = value;
Il2CppCodeGenWriteBarrier((&___Normals_4), value);
}
inline static int32_t get_offset_of_Indices_5() { return static_cast<int32_t>(offsetof(MeshData_t3361835602, ___Indices_5)); }
inline Int32U5BU5D_t385246372* get_Indices_5() const { return ___Indices_5; }
inline Int32U5BU5D_t385246372** get_address_of_Indices_5() { return &___Indices_5; }
inline void set_Indices_5(Int32U5BU5D_t385246372* value)
{
___Indices_5 = value;
Il2CppCodeGenWriteBarrier((&___Indices_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.SpatialUnderstandingDll/MeshData
struct MeshData_t3361835602_marshaled_pinvoke
{
int32_t ___MeshID_0;
int32_t ___LastUpdateID_1;
Matrix4x4_t1817901843 ___Transform_2;
Vector3_t3722313464 * ___Verts_3;
Vector3_t3722313464 * ___Normals_4;
int32_t* ___Indices_5;
};
// Native definition for COM marshalling of HoloToolkit.Unity.SpatialUnderstandingDll/MeshData
struct MeshData_t3361835602_marshaled_com
{
int32_t ___MeshID_0;
int32_t ___LastUpdateID_1;
Matrix4x4_t1817901843 ___Transform_2;
Vector3_t3722313464 * ___Verts_3;
Vector3_t3722313464 * ___Normals_4;
int32_t* ___Indices_5;
};
#endif // MESHDATA_T3361835602_H
#ifndef BINDINGFLAGS_T2721792723_H
#define BINDINGFLAGS_T2721792723_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Reflection.BindingFlags
struct BindingFlags_t2721792723
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_t2721792723, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINDINGFLAGS_T2721792723_H
#ifndef ENUMERATOR_T652329154_H
#define ENUMERATOR_T652329154_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>
struct Enumerator_t652329154
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3058052573 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
OrderBlock_t1585977831 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t652329154, ___list_0)); }
inline List_1_t3058052573 * get_list_0() const { return ___list_0; }
inline List_1_t3058052573 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3058052573 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t652329154, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t652329154, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t652329154, ___current_3)); }
inline OrderBlock_t1585977831 get_current_3() const { return ___current_3; }
inline OrderBlock_t1585977831 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(OrderBlock_t1585977831 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T652329154_H
#ifndef ENUMERATOR_T2411028294_H
#define ENUMERATOR_T2411028294_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>
struct Enumerator_t2411028294
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t521784417 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
XmlSchemaObjectEntry_t3344676971 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2411028294, ___list_0)); }
inline List_1_t521784417 * get_list_0() const { return ___list_0; }
inline List_1_t521784417 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t521784417 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2411028294, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2411028294, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2411028294, ___current_3)); }
inline XmlSchemaObjectEntry_t3344676971 get_current_3() const { return ___current_3; }
inline XmlSchemaObjectEntry_t3344676971 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(XmlSchemaObjectEntry_t3344676971 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2411028294_H
#ifndef ENUMERATOR_T4282642524_H
#define ENUMERATOR_T4282642524_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Enumerator_t4282642524
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t2393398647 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
TimerIdPair_t921323905 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t4282642524, ___list_0)); }
inline List_1_t2393398647 * get_list_0() const { return ___list_0; }
inline List_1_t2393398647 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t2393398647 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t4282642524, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t4282642524, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t4282642524, ___current_3)); }
inline TimerIdPair_t921323905 get_current_3() const { return ___current_3; }
inline TimerIdPair_t921323905 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(TimerIdPair_t921323905 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T4282642524_H
#ifndef EXCEPTIONRESOURCE_T2631664984_H
#define EXCEPTIONRESOURCE_T2631664984_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ExceptionResource
struct ExceptionResource_t2631664984
{
public:
// System.Int32 System.ExceptionResource::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionResource_t2631664984, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCEPTIONRESOURCE_T2631664984_H
#ifndef ENUMERATOR_T1622037647_H
#define ENUMERATOR_T1622037647_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>
struct Enumerator_t1622037647
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t4027761066 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Color_t2555686324 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1622037647, ___list_0)); }
inline List_1_t4027761066 * get_list_0() const { return ___list_0; }
inline List_1_t4027761066 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t4027761066 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1622037647, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1622037647, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1622037647, ___current_3)); }
inline Color_t2555686324 get_current_3() const { return ___current_3; }
inline Color_t2555686324 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Color_t2555686324 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1622037647_H
#ifndef SHAPECOMPONENTCONSTRAINTTYPE_T3710497406_H
#define SHAPECOMPONENTCONSTRAINTTYPE_T3710497406_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraintType
struct ShapeComponentConstraintType_t3710497406
{
public:
// System.Int32 HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraintType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ShapeComponentConstraintType_t3710497406, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SHAPECOMPONENTCONSTRAINTTYPE_T3710497406_H
#ifndef KEYEVENT_T245959883_H
#define KEYEVENT_T245959883_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.InputModule.KeyboardManager/KeyEvent
struct KeyEvent_t245959883
{
public:
// System.Int32 HoloToolkit.Unity.InputModule.KeyboardManager/KeyEvent::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(KeyEvent_t245959883, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYEVENT_T245959883_H
#ifndef ENUMERATOR_T3123066813_H
#define ENUMERATOR_T3123066813_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Enumerator_t3123066813
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1233822936 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
TimerData_t4056715490 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3123066813, ___list_0)); }
inline List_1_t1233822936 * get_list_0() const { return ___list_0; }
inline List_1_t1233822936 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1233822936 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3123066813, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3123066813, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3123066813, ___current_3)); }
inline TimerData_t4056715490 get_current_3() const { return ___current_3; }
inline TimerData_t4056715490 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(TimerData_t4056715490 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3123066813_H
#ifndef KEYCODE_T2599294277_H
#define KEYCODE_T2599294277_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.KeyCode
struct KeyCode_t2599294277
{
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_t2599294277, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYCODE_T2599294277_H
#ifndef MESHDATA_T4114415351_H
#define MESHDATA_T4114415351_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData
struct MeshData_t4114415351
{
public:
// UnityEngine.Matrix4x4 HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData::Transform
Matrix4x4_t1817901843 ___Transform_0;
// UnityEngine.Vector3[] HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData::Verts
Vector3U5BU5D_t1718750761* ___Verts_1;
// UnityEngine.Vector3[] HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData::Normals
Vector3U5BU5D_t1718750761* ___Normals_2;
// System.Int32[] HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData::Indices
Int32U5BU5D_t385246372* ___Indices_3;
public:
inline static int32_t get_offset_of_Transform_0() { return static_cast<int32_t>(offsetof(MeshData_t4114415351, ___Transform_0)); }
inline Matrix4x4_t1817901843 get_Transform_0() const { return ___Transform_0; }
inline Matrix4x4_t1817901843 * get_address_of_Transform_0() { return &___Transform_0; }
inline void set_Transform_0(Matrix4x4_t1817901843 value)
{
___Transform_0 = value;
}
inline static int32_t get_offset_of_Verts_1() { return static_cast<int32_t>(offsetof(MeshData_t4114415351, ___Verts_1)); }
inline Vector3U5BU5D_t1718750761* get_Verts_1() const { return ___Verts_1; }
inline Vector3U5BU5D_t1718750761** get_address_of_Verts_1() { return &___Verts_1; }
inline void set_Verts_1(Vector3U5BU5D_t1718750761* value)
{
___Verts_1 = value;
Il2CppCodeGenWriteBarrier((&___Verts_1), value);
}
inline static int32_t get_offset_of_Normals_2() { return static_cast<int32_t>(offsetof(MeshData_t4114415351, ___Normals_2)); }
inline Vector3U5BU5D_t1718750761* get_Normals_2() const { return ___Normals_2; }
inline Vector3U5BU5D_t1718750761** get_address_of_Normals_2() { return &___Normals_2; }
inline void set_Normals_2(Vector3U5BU5D_t1718750761* value)
{
___Normals_2 = value;
Il2CppCodeGenWriteBarrier((&___Normals_2), value);
}
inline static int32_t get_offset_of_Indices_3() { return static_cast<int32_t>(offsetof(MeshData_t4114415351, ___Indices_3)); }
inline Int32U5BU5D_t385246372* get_Indices_3() const { return ___Indices_3; }
inline Int32U5BU5D_t385246372** get_address_of_Indices_3() { return &___Indices_3; }
inline void set_Indices_3(Int32U5BU5D_t385246372* value)
{
___Indices_3 = value;
Il2CppCodeGenWriteBarrier((&___Indices_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData
struct MeshData_t4114415351_marshaled_pinvoke
{
Matrix4x4_t1817901843 ___Transform_0;
Vector3_t3722313464 * ___Verts_1;
Vector3_t3722313464 * ___Normals_2;
int32_t* ___Indices_3;
};
// Native definition for COM marshalling of HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData
struct MeshData_t4114415351_marshaled_com
{
Matrix4x4_t1817901843 ___Transform_0;
Vector3_t3722313464 * ___Verts_1;
Vector3_t3722313464 * ___Normals_2;
int32_t* ___Indices_3;
};
#endif // MESHDATA_T4114415351_H
#ifndef UIVERTEX_T4057497605_H
#define UIVERTEX_T4057497605_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UIVertex
struct UIVertex_t4057497605
{
public:
// UnityEngine.Vector3 UnityEngine.UIVertex::position
Vector3_t3722313464 ___position_0;
// UnityEngine.Vector3 UnityEngine.UIVertex::normal
Vector3_t3722313464 ___normal_1;
// UnityEngine.Vector4 UnityEngine.UIVertex::tangent
Vector4_t3319028937 ___tangent_2;
// UnityEngine.Color32 UnityEngine.UIVertex::color
Color32_t2600501292 ___color_3;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv0
Vector2_t2156229523 ___uv0_4;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv1
Vector2_t2156229523 ___uv1_5;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv2
Vector2_t2156229523 ___uv2_6;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv3
Vector2_t2156229523 ___uv3_7;
public:
inline static int32_t get_offset_of_position_0() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___position_0)); }
inline Vector3_t3722313464 get_position_0() const { return ___position_0; }
inline Vector3_t3722313464 * get_address_of_position_0() { return &___position_0; }
inline void set_position_0(Vector3_t3722313464 value)
{
___position_0 = value;
}
inline static int32_t get_offset_of_normal_1() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___normal_1)); }
inline Vector3_t3722313464 get_normal_1() const { return ___normal_1; }
inline Vector3_t3722313464 * get_address_of_normal_1() { return &___normal_1; }
inline void set_normal_1(Vector3_t3722313464 value)
{
___normal_1 = value;
}
inline static int32_t get_offset_of_tangent_2() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___tangent_2)); }
inline Vector4_t3319028937 get_tangent_2() const { return ___tangent_2; }
inline Vector4_t3319028937 * get_address_of_tangent_2() { return &___tangent_2; }
inline void set_tangent_2(Vector4_t3319028937 value)
{
___tangent_2 = value;
}
inline static int32_t get_offset_of_color_3() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___color_3)); }
inline Color32_t2600501292 get_color_3() const { return ___color_3; }
inline Color32_t2600501292 * get_address_of_color_3() { return &___color_3; }
inline void set_color_3(Color32_t2600501292 value)
{
___color_3 = value;
}
inline static int32_t get_offset_of_uv0_4() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___uv0_4)); }
inline Vector2_t2156229523 get_uv0_4() const { return ___uv0_4; }
inline Vector2_t2156229523 * get_address_of_uv0_4() { return &___uv0_4; }
inline void set_uv0_4(Vector2_t2156229523 value)
{
___uv0_4 = value;
}
inline static int32_t get_offset_of_uv1_5() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___uv1_5)); }
inline Vector2_t2156229523 get_uv1_5() const { return ___uv1_5; }
inline Vector2_t2156229523 * get_address_of_uv1_5() { return &___uv1_5; }
inline void set_uv1_5(Vector2_t2156229523 value)
{
___uv1_5 = value;
}
inline static int32_t get_offset_of_uv2_6() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___uv2_6)); }
inline Vector2_t2156229523 get_uv2_6() const { return ___uv2_6; }
inline Vector2_t2156229523 * get_address_of_uv2_6() { return &___uv2_6; }
inline void set_uv2_6(Vector2_t2156229523 value)
{
___uv2_6 = value;
}
inline static int32_t get_offset_of_uv3_7() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605, ___uv3_7)); }
inline Vector2_t2156229523 get_uv3_7() const { return ___uv3_7; }
inline Vector2_t2156229523 * get_address_of_uv3_7() { return &___uv3_7; }
inline void set_uv3_7(Vector2_t2156229523 value)
{
___uv3_7 = value;
}
};
struct UIVertex_t4057497605_StaticFields
{
public:
// UnityEngine.Color32 UnityEngine.UIVertex::s_DefaultColor
Color32_t2600501292 ___s_DefaultColor_8;
// UnityEngine.Vector4 UnityEngine.UIVertex::s_DefaultTangent
Vector4_t3319028937 ___s_DefaultTangent_9;
// UnityEngine.UIVertex UnityEngine.UIVertex::simpleVert
UIVertex_t4057497605 ___simpleVert_10;
public:
inline static int32_t get_offset_of_s_DefaultColor_8() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605_StaticFields, ___s_DefaultColor_8)); }
inline Color32_t2600501292 get_s_DefaultColor_8() const { return ___s_DefaultColor_8; }
inline Color32_t2600501292 * get_address_of_s_DefaultColor_8() { return &___s_DefaultColor_8; }
inline void set_s_DefaultColor_8(Color32_t2600501292 value)
{
___s_DefaultColor_8 = value;
}
inline static int32_t get_offset_of_s_DefaultTangent_9() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605_StaticFields, ___s_DefaultTangent_9)); }
inline Vector4_t3319028937 get_s_DefaultTangent_9() const { return ___s_DefaultTangent_9; }
inline Vector4_t3319028937 * get_address_of_s_DefaultTangent_9() { return &___s_DefaultTangent_9; }
inline void set_s_DefaultTangent_9(Vector4_t3319028937 value)
{
___s_DefaultTangent_9 = value;
}
inline static int32_t get_offset_of_simpleVert_10() { return static_cast<int32_t>(offsetof(UIVertex_t4057497605_StaticFields, ___simpleVert_10)); }
inline UIVertex_t4057497605 get_simpleVert_10() const { return ___simpleVert_10; }
inline UIVertex_t4057497605 * get_address_of_simpleVert_10() { return &___simpleVert_10; }
inline void set_simpleVert_10(UIVertex_t4057497605 value)
{
___simpleVert_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UIVERTEX_T4057497605_H
#ifndef INVALIDCASTEXCEPTION_T3927145244_H
#define INVALIDCASTEXCEPTION_T3927145244_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.InvalidCastException
struct InvalidCastException_t3927145244 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INVALIDCASTEXCEPTION_T3927145244_H
#ifndef ENUMERATOR_T3461346361_H
#define ENUMERATOR_T3461346361_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Enumerator_t3461346361
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1572102484 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
InputSourceInfo_t100027742 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3461346361, ___list_0)); }
inline List_1_t1572102484 * get_list_0() const { return ___list_0; }
inline List_1_t1572102484 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1572102484 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3461346361, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3461346361, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3461346361, ___current_3)); }
inline InputSourceInfo_t100027742 get_current_3() const { return ___current_3; }
inline InputSourceInfo_t100027742 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(InputSourceInfo_t100027742 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3461346361_H
#ifndef ENUMERATOR_T1222580846_H
#define ENUMERATOR_T1222580846_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>
struct Enumerator_t1222580846
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3628304265 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Vector2_t2156229523 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1222580846, ___list_0)); }
inline List_1_t3628304265 * get_list_0() const { return ___list_0; }
inline List_1_t3628304265 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3628304265 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1222580846, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1222580846, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1222580846, ___current_3)); }
inline Vector2_t2156229523 get_current_3() const { return ___current_3; }
inline Vector2_t2156229523 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Vector2_t2156229523 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1222580846_H
#ifndef ENUMERATOR_T828654543_H
#define ENUMERATOR_T828654543_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Enumerator_t828654543
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3234377962 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
PrefabToDataModel_t1762303220 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t828654543, ___list_0)); }
inline List_1_t3234377962 * get_list_0() const { return ___list_0; }
inline List_1_t3234377962 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3234377962 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t828654543, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t828654543, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t828654543, ___current_3)); }
inline PrefabToDataModel_t1762303220 get_current_3() const { return ___current_3; }
inline PrefabToDataModel_t1762303220 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(PrefabToDataModel_t1762303220 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T828654543_H
#ifndef ENUMERATOR_T2788664787_H
#define ENUMERATOR_T2788664787_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>
struct Enumerator_t2788664787
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t899420910 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Vector3_t3722313464 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2788664787, ___list_0)); }
inline List_1_t899420910 * get_list_0() const { return ___list_0; }
inline List_1_t899420910 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t899420910 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2788664787, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2788664787, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2788664787, ___current_3)); }
inline Vector3_t3722313464 get_current_3() const { return ___current_3; }
inline Vector3_t3722313464 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Vector3_t3722313464 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2788664787_H
#ifndef ARRAYTYPEMISMATCHEXCEPTION_T2342549375_H
#define ARRAYTYPEMISMATCHEXCEPTION_T2342549375_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ArrayTypeMismatchException
struct ArrayTypeMismatchException_t2342549375 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ARRAYTYPEMISMATCHEXCEPTION_T2342549375_H
#ifndef RAYCASTRESULTHELPER_T2007985016_H
#define RAYCASTRESULTHELPER_T2007985016_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.RaycastResultHelper
struct RaycastResultHelper_t2007985016
{
public:
// UnityEngine.Collider HoloToolkit.Unity.RaycastResultHelper::collider
Collider_t1773347010 * ___collider_0;
// System.Int32 HoloToolkit.Unity.RaycastResultHelper::layer
int32_t ___layer_1;
// UnityEngine.Vector3 HoloToolkit.Unity.RaycastResultHelper::normal
Vector3_t3722313464 ___normal_2;
// System.Single HoloToolkit.Unity.RaycastResultHelper::distance
float ___distance_3;
// UnityEngine.Vector3 HoloToolkit.Unity.RaycastResultHelper::point
Vector3_t3722313464 ___point_4;
// UnityEngine.Transform HoloToolkit.Unity.RaycastResultHelper::transform
Transform_t3600365921 * ___transform_5;
// UnityEngine.Vector2 HoloToolkit.Unity.RaycastResultHelper::textureCoord
Vector2_t2156229523 ___textureCoord_6;
// UnityEngine.Vector2 HoloToolkit.Unity.RaycastResultHelper::textureCoord2
Vector2_t2156229523 ___textureCoord2_7;
public:
inline static int32_t get_offset_of_collider_0() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___collider_0)); }
inline Collider_t1773347010 * get_collider_0() const { return ___collider_0; }
inline Collider_t1773347010 ** get_address_of_collider_0() { return &___collider_0; }
inline void set_collider_0(Collider_t1773347010 * value)
{
___collider_0 = value;
Il2CppCodeGenWriteBarrier((&___collider_0), value);
}
inline static int32_t get_offset_of_layer_1() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___layer_1)); }
inline int32_t get_layer_1() const { return ___layer_1; }
inline int32_t* get_address_of_layer_1() { return &___layer_1; }
inline void set_layer_1(int32_t value)
{
___layer_1 = value;
}
inline static int32_t get_offset_of_normal_2() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___normal_2)); }
inline Vector3_t3722313464 get_normal_2() const { return ___normal_2; }
inline Vector3_t3722313464 * get_address_of_normal_2() { return &___normal_2; }
inline void set_normal_2(Vector3_t3722313464 value)
{
___normal_2 = value;
}
inline static int32_t get_offset_of_distance_3() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___distance_3)); }
inline float get_distance_3() const { return ___distance_3; }
inline float* get_address_of_distance_3() { return &___distance_3; }
inline void set_distance_3(float value)
{
___distance_3 = value;
}
inline static int32_t get_offset_of_point_4() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___point_4)); }
inline Vector3_t3722313464 get_point_4() const { return ___point_4; }
inline Vector3_t3722313464 * get_address_of_point_4() { return &___point_4; }
inline void set_point_4(Vector3_t3722313464 value)
{
___point_4 = value;
}
inline static int32_t get_offset_of_transform_5() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___transform_5)); }
inline Transform_t3600365921 * get_transform_5() const { return ___transform_5; }
inline Transform_t3600365921 ** get_address_of_transform_5() { return &___transform_5; }
inline void set_transform_5(Transform_t3600365921 * value)
{
___transform_5 = value;
Il2CppCodeGenWriteBarrier((&___transform_5), value);
}
inline static int32_t get_offset_of_textureCoord_6() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___textureCoord_6)); }
inline Vector2_t2156229523 get_textureCoord_6() const { return ___textureCoord_6; }
inline Vector2_t2156229523 * get_address_of_textureCoord_6() { return &___textureCoord_6; }
inline void set_textureCoord_6(Vector2_t2156229523 value)
{
___textureCoord_6 = value;
}
inline static int32_t get_offset_of_textureCoord2_7() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016, ___textureCoord2_7)); }
inline Vector2_t2156229523 get_textureCoord2_7() const { return ___textureCoord2_7; }
inline Vector2_t2156229523 * get_address_of_textureCoord2_7() { return &___textureCoord2_7; }
inline void set_textureCoord2_7(Vector2_t2156229523 value)
{
___textureCoord2_7 = value;
}
};
struct RaycastResultHelper_t2007985016_StaticFields
{
public:
// HoloToolkit.Unity.RaycastResultHelper HoloToolkit.Unity.RaycastResultHelper::None
RaycastResultHelper_t2007985016 ___None_8;
public:
inline static int32_t get_offset_of_None_8() { return static_cast<int32_t>(offsetof(RaycastResultHelper_t2007985016_StaticFields, ___None_8)); }
inline RaycastResultHelper_t2007985016 get_None_8() const { return ___None_8; }
inline RaycastResultHelper_t2007985016 * get_address_of_None_8() { return &___None_8; }
inline void set_None_8(RaycastResultHelper_t2007985016 value)
{
___None_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of HoloToolkit.Unity.RaycastResultHelper
struct RaycastResultHelper_t2007985016_marshaled_pinvoke
{
Collider_t1773347010 * ___collider_0;
int32_t ___layer_1;
Vector3_t3722313464 ___normal_2;
float ___distance_3;
Vector3_t3722313464 ___point_4;
Transform_t3600365921 * ___transform_5;
Vector2_t2156229523 ___textureCoord_6;
Vector2_t2156229523 ___textureCoord2_7;
};
// Native definition for COM marshalling of HoloToolkit.Unity.RaycastResultHelper
struct RaycastResultHelper_t2007985016_marshaled_com
{
Collider_t1773347010 * ___collider_0;
int32_t ___layer_1;
Vector3_t3722313464 ___normal_2;
float ___distance_3;
Vector3_t3722313464 ___point_4;
Transform_t3600365921 * ___transform_5;
Vector2_t2156229523 ___textureCoord_6;
Vector2_t2156229523 ___textureCoord2_7;
};
#endif // RAYCASTRESULTHELPER_T2007985016_H
#ifndef ENUMERATOR_T3261618133_H
#define ENUMERATOR_T3261618133_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>
struct Enumerator_t3261618133
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1372374256 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
UILineInfo_t4195266810 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3261618133, ___list_0)); }
inline List_1_t1372374256 * get_list_0() const { return ___list_0; }
inline List_1_t1372374256 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1372374256 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3261618133, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3261618133, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3261618133, ___current_3)); }
inline UILineInfo_t4195266810 get_current_3() const { return ___current_3; }
inline UILineInfo_t4195266810 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(UILineInfo_t4195266810 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3261618133_H
#ifndef ENUMERATOR_T2385380260_H
#define ENUMERATOR_T2385380260_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>
struct Enumerator_t2385380260
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t496136383 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Vector4_t3319028937 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2385380260, ___list_0)); }
inline List_1_t496136383 * get_list_0() const { return ___list_0; }
inline List_1_t496136383 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t496136383 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2385380260, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2385380260, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2385380260, ___current_3)); }
inline Vector4_t3319028937 get_current_3() const { return ___current_3; }
inline Vector4_t3319028937 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Vector4_t3319028937 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2385380260_H
#ifndef EXCEPTIONARGUMENT_T2411851266_H
#define EXCEPTIONARGUMENT_T2411851266_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ExceptionArgument
struct ExceptionArgument_t2411851266
{
public:
// System.Int32 System.ExceptionArgument::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ExceptionArgument_t2411851266, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCEPTIONARGUMENT_T2411851266_H
#ifndef RAY_T3785851493_H
#define RAY_T3785851493_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Ray
struct Ray_t3785851493
{
public:
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
Vector3_t3722313464 ___m_Origin_0;
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
Vector3_t3722313464 ___m_Direction_1;
public:
inline static int32_t get_offset_of_m_Origin_0() { return static_cast<int32_t>(offsetof(Ray_t3785851493, ___m_Origin_0)); }
inline Vector3_t3722313464 get_m_Origin_0() const { return ___m_Origin_0; }
inline Vector3_t3722313464 * get_address_of_m_Origin_0() { return &___m_Origin_0; }
inline void set_m_Origin_0(Vector3_t3722313464 value)
{
___m_Origin_0 = value;
}
inline static int32_t get_offset_of_m_Direction_1() { return static_cast<int32_t>(offsetof(Ray_t3785851493, ___m_Direction_1)); }
inline Vector3_t3722313464 get_m_Direction_1() const { return ___m_Direction_1; }
inline Vector3_t3722313464 * get_address_of_m_Direction_1() { return &___m_Direction_1; }
inline void set_m_Direction_1(Vector3_t3722313464 value)
{
___m_Direction_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RAY_T3785851493_H
#ifndef UICHARINFO_T75501106_H
#define UICHARINFO_T75501106_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UICharInfo
struct UICharInfo_t75501106
{
public:
// UnityEngine.Vector2 UnityEngine.UICharInfo::cursorPos
Vector2_t2156229523 ___cursorPos_0;
// System.Single UnityEngine.UICharInfo::charWidth
float ___charWidth_1;
public:
inline static int32_t get_offset_of_cursorPos_0() { return static_cast<int32_t>(offsetof(UICharInfo_t75501106, ___cursorPos_0)); }
inline Vector2_t2156229523 get_cursorPos_0() const { return ___cursorPos_0; }
inline Vector2_t2156229523 * get_address_of_cursorPos_0() { return &___cursorPos_0; }
inline void set_cursorPos_0(Vector2_t2156229523 value)
{
___cursorPos_0 = value;
}
inline static int32_t get_offset_of_charWidth_1() { return static_cast<int32_t>(offsetof(UICharInfo_t75501106, ___charWidth_1)); }
inline float get_charWidth_1() const { return ___charWidth_1; }
inline float* get_address_of_charWidth_1() { return &___charWidth_1; }
inline void set_charWidth_1(float value)
{
___charWidth_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UICHARINFO_T75501106_H
#ifndef RUNTIMETYPEHANDLE_T3027515415_H
#define RUNTIMETYPEHANDLE_T3027515415_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t3027515415
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_t3027515415, ___value_0)); }
inline intptr_t get_value_0() const { return ___value_0; }
inline intptr_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(intptr_t value)
{
___value_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMETYPEHANDLE_T3027515415_H
#ifndef ENUMERATOR_T3123848928_H
#define ENUMERATOR_T3123848928_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>
struct Enumerator_t3123848928
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1234605051 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
UIVertex_t4057497605 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3123848928, ___list_0)); }
inline List_1_t1234605051 * get_list_0() const { return ___list_0; }
inline List_1_t1234605051 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1234605051 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3123848928, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3123848928, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3123848928, ___current_3)); }
inline UIVertex_t4057497605 get_current_3() const { return ___current_3; }
inline UIVertex_t4057497605 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(UIVertex_t4057497605 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3123848928_H
#ifndef JSONPOSITION_T2528027714_H
#define JSONPOSITION_T2528027714_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Newtonsoft.Json.JsonPosition
struct JsonPosition_t2528027714
{
public:
// Newtonsoft.Json.JsonContainerType Newtonsoft.Json.JsonPosition::Type
int32_t ___Type_1;
// System.Int32 Newtonsoft.Json.JsonPosition::Position
int32_t ___Position_2;
// System.String Newtonsoft.Json.JsonPosition::PropertyName
String_t* ___PropertyName_3;
// System.Boolean Newtonsoft.Json.JsonPosition::HasIndex
bool ___HasIndex_4;
public:
inline static int32_t get_offset_of_Type_1() { return static_cast<int32_t>(offsetof(JsonPosition_t2528027714, ___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_Position_2() { return static_cast<int32_t>(offsetof(JsonPosition_t2528027714, ___Position_2)); }
inline int32_t get_Position_2() const { return ___Position_2; }
inline int32_t* get_address_of_Position_2() { return &___Position_2; }
inline void set_Position_2(int32_t value)
{
___Position_2 = value;
}
inline static int32_t get_offset_of_PropertyName_3() { return static_cast<int32_t>(offsetof(JsonPosition_t2528027714, ___PropertyName_3)); }
inline String_t* get_PropertyName_3() const { return ___PropertyName_3; }
inline String_t** get_address_of_PropertyName_3() { return &___PropertyName_3; }
inline void set_PropertyName_3(String_t* value)
{
___PropertyName_3 = value;
Il2CppCodeGenWriteBarrier((&___PropertyName_3), value);
}
inline static int32_t get_offset_of_HasIndex_4() { return static_cast<int32_t>(offsetof(JsonPosition_t2528027714, ___HasIndex_4)); }
inline bool get_HasIndex_4() const { return ___HasIndex_4; }
inline bool* get_address_of_HasIndex_4() { return &___HasIndex_4; }
inline void set_HasIndex_4(bool value)
{
___HasIndex_4 = value;
}
};
struct JsonPosition_t2528027714_StaticFields
{
public:
// System.Char[] Newtonsoft.Json.JsonPosition::SpecialCharacters
CharU5BU5D_t3528271667* ___SpecialCharacters_0;
public:
inline static int32_t get_offset_of_SpecialCharacters_0() { return static_cast<int32_t>(offsetof(JsonPosition_t2528027714_StaticFields, ___SpecialCharacters_0)); }
inline CharU5BU5D_t3528271667* get_SpecialCharacters_0() const { return ___SpecialCharacters_0; }
inline CharU5BU5D_t3528271667** get_address_of_SpecialCharacters_0() { return &___SpecialCharacters_0; }
inline void set_SpecialCharacters_0(CharU5BU5D_t3528271667* value)
{
___SpecialCharacters_0 = value;
Il2CppCodeGenWriteBarrier((&___SpecialCharacters_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of Newtonsoft.Json.JsonPosition
struct JsonPosition_t2528027714_marshaled_pinvoke
{
int32_t ___Type_1;
int32_t ___Position_2;
char* ___PropertyName_3;
int32_t ___HasIndex_4;
};
// Native definition for COM marshalling of Newtonsoft.Json.JsonPosition
struct JsonPosition_t2528027714_marshaled_com
{
int32_t ___Type_1;
int32_t ___Position_2;
Il2CppChar* ___PropertyName_3;
int32_t ___HasIndex_4;
};
#endif // JSONPOSITION_T2528027714_H
#ifndef KEYCODEEVENTPAIR_T1510105498_H
#define KEYCODEEVENTPAIR_T1510105498_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair
struct KeyCodeEventPair_t1510105498
{
public:
// UnityEngine.KeyCode HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair::KeyCode
int32_t ___KeyCode_0;
// HoloToolkit.Unity.InputModule.KeyboardManager/KeyEvent HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair::KeyEvent
int32_t ___KeyEvent_1;
public:
inline static int32_t get_offset_of_KeyCode_0() { return static_cast<int32_t>(offsetof(KeyCodeEventPair_t1510105498, ___KeyCode_0)); }
inline int32_t get_KeyCode_0() const { return ___KeyCode_0; }
inline int32_t* get_address_of_KeyCode_0() { return &___KeyCode_0; }
inline void set_KeyCode_0(int32_t value)
{
___KeyCode_0 = value;
}
inline static int32_t get_offset_of_KeyEvent_1() { return static_cast<int32_t>(offsetof(KeyCodeEventPair_t1510105498, ___KeyEvent_1)); }
inline int32_t get_KeyEvent_1() const { return ___KeyEvent_1; }
inline int32_t* get_address_of_KeyEvent_1() { return &___KeyEvent_1; }
inline void set_KeyEvent_1(int32_t value)
{
___KeyEvent_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYCODEEVENTPAIR_T1510105498_H
#ifndef SHAPECOMPONENTCONSTRAINT_T4241953735_H
#define SHAPECOMPONENTCONSTRAINT_T4241953735_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint
#pragma pack(push, tp, 1)
struct ShapeComponentConstraint_t4241953735
{
public:
// HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraintType HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Type
int32_t ___Type_0;
// System.Single HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Float_0
float ___Param_Float_0_1;
// System.Single HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Float_1
float ___Param_Float_1_2;
// System.Single HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Float_2
float ___Param_Float_2_3;
// System.Single HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Float_3
float ___Param_Float_3_4;
// System.Int32 HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Int_0
int32_t ___Param_Int_0_5;
// System.Int32 HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Int_1
int32_t ___Param_Int_1_6;
// System.IntPtr HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint::Param_Str_0
intptr_t ___Param_Str_0_7;
public:
inline static int32_t get_offset_of_Type_0() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Type_0)); }
inline int32_t get_Type_0() const { return ___Type_0; }
inline int32_t* get_address_of_Type_0() { return &___Type_0; }
inline void set_Type_0(int32_t value)
{
___Type_0 = value;
}
inline static int32_t get_offset_of_Param_Float_0_1() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Float_0_1)); }
inline float get_Param_Float_0_1() const { return ___Param_Float_0_1; }
inline float* get_address_of_Param_Float_0_1() { return &___Param_Float_0_1; }
inline void set_Param_Float_0_1(float value)
{
___Param_Float_0_1 = value;
}
inline static int32_t get_offset_of_Param_Float_1_2() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Float_1_2)); }
inline float get_Param_Float_1_2() const { return ___Param_Float_1_2; }
inline float* get_address_of_Param_Float_1_2() { return &___Param_Float_1_2; }
inline void set_Param_Float_1_2(float value)
{
___Param_Float_1_2 = value;
}
inline static int32_t get_offset_of_Param_Float_2_3() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Float_2_3)); }
inline float get_Param_Float_2_3() const { return ___Param_Float_2_3; }
inline float* get_address_of_Param_Float_2_3() { return &___Param_Float_2_3; }
inline void set_Param_Float_2_3(float value)
{
___Param_Float_2_3 = value;
}
inline static int32_t get_offset_of_Param_Float_3_4() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Float_3_4)); }
inline float get_Param_Float_3_4() const { return ___Param_Float_3_4; }
inline float* get_address_of_Param_Float_3_4() { return &___Param_Float_3_4; }
inline void set_Param_Float_3_4(float value)
{
___Param_Float_3_4 = value;
}
inline static int32_t get_offset_of_Param_Int_0_5() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Int_0_5)); }
inline int32_t get_Param_Int_0_5() const { return ___Param_Int_0_5; }
inline int32_t* get_address_of_Param_Int_0_5() { return &___Param_Int_0_5; }
inline void set_Param_Int_0_5(int32_t value)
{
___Param_Int_0_5 = value;
}
inline static int32_t get_offset_of_Param_Int_1_6() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Int_1_6)); }
inline int32_t get_Param_Int_1_6() const { return ___Param_Int_1_6; }
inline int32_t* get_address_of_Param_Int_1_6() { return &___Param_Int_1_6; }
inline void set_Param_Int_1_6(int32_t value)
{
___Param_Int_1_6 = value;
}
inline static int32_t get_offset_of_Param_Str_0_7() { return static_cast<int32_t>(offsetof(ShapeComponentConstraint_t4241953735, ___Param_Str_0_7)); }
inline intptr_t get_Param_Str_0_7() const { return ___Param_Str_0_7; }
inline intptr_t* get_address_of_Param_Str_0_7() { return &___Param_Str_0_7; }
inline void set_Param_Str_0_7(intptr_t value)
{
___Param_Str_0_7 = value;
}
};
#pragma pack(pop, tp)
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SHAPECOMPONENTCONSTRAINT_T4241953735_H
#ifndef TYPE_T_H
#define TYPE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t3027515415 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_t3027515415 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_t3027515415 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_t3027515415 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t426314064 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t426314064 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t426314064 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t3940880105* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2999457153 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t426314064 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t426314064 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t426314064 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((&___FilterAttribute_0), value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t426314064 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t426314064 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t426314064 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((&___FilterName_1), value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t426314064 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t426314064 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t426314064 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((&___FilterNameIgnoreCase_2), value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((&___Missing_3), value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t3940880105* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t3940880105** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t3940880105* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((&___EmptyTypes_5), value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2999457153 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2999457153 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2999457153 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((&___defaultBinder_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPE_T_H
#ifndef ENUMERATOR_T2426658172_H
#define ENUMERATOR_T2426658172_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>
struct Enumerator_t2426658172
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t537414295 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RaycastResult_t3360306849 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2426658172, ___list_0)); }
inline List_1_t537414295 * get_list_0() const { return ___list_0; }
inline List_1_t537414295 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t537414295 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2426658172, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2426658172, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2426658172, ___current_3)); }
inline RaycastResult_t3360306849 get_current_3() const { return ___current_3; }
inline RaycastResult_t3360306849 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RaycastResult_t3360306849 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2426658172_H
#ifndef ENUMERATOR_T2852202816_H
#define ENUMERATOR_T2852202816_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>
struct Enumerator_t2852202816
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t962958939 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Ray_t3785851493 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2852202816, ___list_0)); }
inline List_1_t962958939 * get_list_0() const { return ___list_0; }
inline List_1_t962958939 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t962958939 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2852202816, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2852202816, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2852202816, ___current_3)); }
inline Ray_t3785851493 get_current_3() const { return ___current_3; }
inline Ray_t3785851493 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Ray_t3785851493 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2852202816_H
#ifndef ENUMERATOR_T3180766674_H
#define ENUMERATOR_T3180766674_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Enumerator_t3180766674
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1291522797 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
MeshData_t4114415351 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3180766674, ___list_0)); }
inline List_1_t1291522797 * get_list_0() const { return ___list_0; }
inline List_1_t1291522797 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1291522797 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3180766674, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3180766674, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3180766674, ___current_3)); }
inline MeshData_t4114415351 get_current_3() const { return ___current_3; }
inline MeshData_t4114415351 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(MeshData_t4114415351 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3180766674_H
#ifndef ENUMERATOR_T3436819725_H
#define ENUMERATOR_T3436819725_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>
struct Enumerator_t3436819725
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1547575848 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
UICharInfo_t75501106 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3436819725, ___list_0)); }
inline List_1_t1547575848 * get_list_0() const { return ___list_0; }
inline List_1_t1547575848 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1547575848 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3436819725, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3436819725, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3436819725, ___current_3)); }
inline UICharInfo_t75501106 get_current_3() const { return ___current_3; }
inline UICharInfo_t75501106 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(UICharInfo_t75501106 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3436819725_H
#ifndef ENUMERATOR_T1074336339_H
#define ENUMERATOR_T1074336339_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.RaycastResultHelper>
struct Enumerator_t1074336339
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3480059758 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RaycastResultHelper_t2007985016 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1074336339, ___list_0)); }
inline List_1_t3480059758 * get_list_0() const { return ___list_0; }
inline List_1_t3480059758 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3480059758 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1074336339, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1074336339, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1074336339, ___current_3)); }
inline RaycastResultHelper_t2007985016 get_current_3() const { return ___current_3; }
inline RaycastResultHelper_t2007985016 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RaycastResultHelper_t2007985016 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1074336339_H
#ifndef ENUMERATOR_T2428186925_H
#define ENUMERATOR_T2428186925_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Enumerator_t2428186925
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t538943048 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
MeshData_t3361835602 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2428186925, ___list_0)); }
inline List_1_t538943048 * get_list_0() const { return ___list_0; }
inline List_1_t538943048 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t538943048 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2428186925, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2428186925, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2428186925, ___current_3)); }
inline MeshData_t3361835602 get_current_3() const { return ___current_3; }
inline MeshData_t3361835602 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(MeshData_t3361835602 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2428186925_H
#ifndef MULTICASTDELEGATE_T_H
#define MULTICASTDELEGATE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t1188392813
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_t1703627840* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_t1703627840* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_t1703627840** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_t1703627840* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((&___delegates_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t1188392813_marshaled_pinvoke
{
DelegateU5BU5D_t1703627840* ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t1188392813_marshaled_com
{
DelegateU5BU5D_t1703627840* ___delegates_11;
};
#endif // MULTICASTDELEGATE_T_H
#ifndef PREDICATE_1_T925321866_H
#define PREDICATE_1_T925321866_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Predicate_1_t925321866 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T925321866_H
#ifndef ACTION_1_T272495337_H
#define ACTION_1_T272495337_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Action_1_t272495337 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T272495337_H
#ifndef COMPARISON_1_T4169926217_H
#define COMPARISON_1_T4169926217_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.InputModule.InputSourceInfo>
struct Comparison_1_t4169926217 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T4169926217_H
#ifndef COMPARISON_1_T696255084_H
#define COMPARISON_1_T696255084_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Comparison_1_t696255084 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T696255084_H
#ifndef ACTION_1_T1934770815_H
#define ACTION_1_T1934770815_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Action_1_t1934770815 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T1934770815_H
#ifndef COMPARISON_1_T1537234399_H
#define COMPARISON_1_T1537234399_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Comparison_1_t1537234399 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T1537234399_H
#ifndef COMPARISON_1_T3889346530_H
#define COMPARISON_1_T3889346530_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Comparison_1_t3889346530 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T3889346530_H
#ifndef PREDICATE_1_T2587597344_H
#define PREDICATE_1_T2587597344_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>
struct Predicate_1_t2587597344 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T2587597344_H
#ifndef ACTION_1_T2700495309_H
#define ACTION_1_T2700495309_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<Newtonsoft.Json.JsonPosition>
struct Action_1_t2700495309 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T2700495309_H
#ifndef PREDICATE_1_T3353321838_H
#define PREDICATE_1_T3353321838_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<Newtonsoft.Json.JsonPosition>
struct Predicate_1_t3353321838 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T3353321838_H
#ifndef COMPARISON_1_T2302958893_H
#define COMPARISON_1_T2302958893_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<Newtonsoft.Json.JsonPosition>
struct Comparison_1_t2302958893 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T2302958893_H
#ifndef ENUMERATOR_T1594379037_H
#define ENUMERATOR_T1594379037_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<Newtonsoft.Json.JsonPosition>
struct Enumerator_t1594379037
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t4000102456 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
JsonPosition_t2528027714 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1594379037, ___list_0)); }
inline List_1_t4000102456 * get_list_0() const { return ___list_0; }
inline List_1_t4000102456 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t4000102456 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1594379037, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1594379037, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1594379037, ___current_3)); }
inline JsonPosition_t2528027714 get_current_3() const { return ___current_3; }
inline JsonPosition_t2528027714 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(JsonPosition_t2528027714 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T1594379037_H
#ifndef COMPARISON_1_T3136766781_H
#define COMPARISON_1_T3136766781_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Comparison_1_t3136766781 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T3136766781_H
#ifndef ACTION_1_T3534303197_H
#define ACTION_1_T3534303197_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Action_1_t3534303197 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T3534303197_H
#ifndef PREDICATE_1_T4187129726_H
#define PREDICATE_1_T4187129726_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>
struct Predicate_1_t4187129726 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T4187129726_H
#ifndef PREDICATE_1_T772280563_H
#define PREDICATE_1_T772280563_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Predicate_1_t772280563 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T772280563_H
#ifndef PREDICATE_1_T2833279140_H
#define PREDICATE_1_T2833279140_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.RaycastResultHelper>
struct Predicate_1_t2833279140 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T2833279140_H
#ifndef ACTION_1_T2180452611_H
#define ACTION_1_T2180452611_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.RaycastResultHelper>
struct Action_1_t2180452611 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T2180452611_H
#ifndef PREDICATE_1_T3438534442_H
#define PREDICATE_1_T3438534442_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Predicate_1_t3438534442 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T3438534442_H
#ifndef PREDICATE_1_T644742179_H
#define PREDICATE_1_T644742179_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Predicate_1_t644742179 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T644742179_H
#ifndef ACTION_1_T4286882946_H
#define ACTION_1_T4286882946_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>
struct Action_1_t4286882946 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T4286882946_H
#ifndef COMPARISON_1_T1782916195_H
#define COMPARISON_1_T1782916195_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.RaycastResultHelper>
struct Comparison_1_t1782916195 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T1782916195_H
#ifndef COMPARISON_1_T2388171497_H
#define COMPARISON_1_T2388171497_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Comparison_1_t2388171497 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T2388171497_H
#ifndef ACTION_1_T2785707913_H
#define ACTION_1_T2785707913_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>
struct Action_1_t2785707913 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T2785707913_H
#ifndef ACTION_1_T1682573093_H
#define ACTION_1_T1682573093_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Action_1_t1682573093 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T1682573093_H
#ifndef COMPARISON_1_T3831646669_H
#define COMPARISON_1_T3831646669_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Comparison_1_t3831646669 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T3831646669_H
#ifndef ENUMERATOR_T576456821_H
#define ENUMERATOR_T576456821_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Enumerator_t576456821
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t2982180240 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
KeyCodeEventPair_t1510105498 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t576456821, ___list_0)); }
inline List_1_t2982180240 * get_list_0() const { return ___list_0; }
inline List_1_t2982180240 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t2982180240 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t576456821, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t576456821, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t576456821, ___current_3)); }
inline KeyCodeEventPair_t1510105498 get_current_3() const { return ___current_3; }
inline KeyCodeEventPair_t1510105498 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(KeyCodeEventPair_t1510105498 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T576456821_H
#ifndef ACTION_1_T1093791500_H
#define ACTION_1_T1093791500_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Action_1_t1093791500 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T1093791500_H
#ifndef PREDICATE_1_T1746618029_H
#define PREDICATE_1_T1746618029_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>
struct Predicate_1_t1746618029 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T1746618029_H
#ifndef PREDICATE_1_T2335399622_H
#define PREDICATE_1_T2335399622_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Predicate_1_t2335399622 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T2335399622_H
#ifndef COMPARISON_1_T4016884914_H
#define COMPARISON_1_T4016884914_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Comparison_1_t4016884914 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T4016884914_H
#ifndef ENUMERATOR_T3308305058_H
#define ENUMERATOR_T3308305058_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Enumerator_t3308305058
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1419061181 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
ShapeComponentConstraint_t4241953735 ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t3308305058, ___list_0)); }
inline List_1_t1419061181 * get_list_0() const { return ___list_0; }
inline List_1_t1419061181 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1419061181 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((&___list_0), value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t3308305058, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t3308305058, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t3308305058, ___current_3)); }
inline ShapeComponentConstraint_t4241953735 get_current_3() const { return ___current_3; }
inline ShapeComponentConstraint_t4241953735 * get_address_of_current_3() { return &___current_3; }
inline void set_current_3(ShapeComponentConstraint_t4241953735 value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T3308305058_H
#ifndef ACTION_1_T119454034_H
#define ACTION_1_T119454034_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>
struct Action_1_t119454034 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T119454034_H
#ifndef ACTION_1_T4229183085_H
#define ACTION_1_T4229183085_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Action`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Action_1_t4229183085 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ACTION_1_T4229183085_H
#ifndef PREDICATE_1_T587042318_H
#define PREDICATE_1_T587042318_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Predicate`1<HoloToolkit.Unity.TimerScheduler/TimerData>
struct Predicate_1_t587042318 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PREDICATE_1_T587042318_H
#ifndef COMPARISON_1_T1285036677_H
#define COMPARISON_1_T1285036677_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Comparison`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>
struct Comparison_1_t1285036677 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPARISON_1_T1285036677_H
// System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry[]
struct XmlSchemaObjectEntryU5BU5D_t1655208330 : public RuntimeArray
{
public:
ALIGN_FIELD (8) XmlSchemaObjectEntry_t3344676971 m_Items[1];
public:
inline XmlSchemaObjectEntry_t3344676971 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline XmlSchemaObjectEntry_t3344676971 * 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, XmlSchemaObjectEntry_t3344676971 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline XmlSchemaObjectEntry_t3344676971 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline XmlSchemaObjectEntry_t3344676971 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, XmlSchemaObjectEntry_t3344676971 value)
{
m_Items[index] = value;
}
};
// UnityEngine.BeforeRenderHelper/OrderBlock[]
struct OrderBlockU5BU5D_t2389202590 : public RuntimeArray
{
public:
ALIGN_FIELD (8) OrderBlock_t1585977831 m_Items[1];
public:
inline OrderBlock_t1585977831 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline OrderBlock_t1585977831 * 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, OrderBlock_t1585977831 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline OrderBlock_t1585977831 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline OrderBlock_t1585977831 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, OrderBlock_t1585977831 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Color[]
struct ColorU5BU5D_t941916413 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Color_t2555686324 m_Items[1];
public:
inline Color_t2555686324 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color_t2555686324 * 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, Color_t2555686324 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color_t2555686324 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color_t2555686324 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color_t2555686324 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Color32[]
struct Color32U5BU5D_t3850468773 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Color32_t2600501292 m_Items[1];
public:
inline Color32_t2600501292 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t2600501292 * 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, Color32_t2600501292 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t2600501292 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t2600501292 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t2600501292 value)
{
m_Items[index] = value;
}
};
// UnityEngine.EventSystems.RaycastResult[]
struct RaycastResultU5BU5D_t1128832444 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RaycastResult_t3360306849 m_Items[1];
public:
inline RaycastResult_t3360306849 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastResult_t3360306849 * 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, RaycastResult_t3360306849 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RaycastResult_t3360306849 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastResult_t3360306849 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastResult_t3360306849 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Ray[]
struct RayU5BU5D_t1836217960 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Ray_t3785851493 m_Items[1];
public:
inline Ray_t3785851493 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Ray_t3785851493 * 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, Ray_t3785851493 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Ray_t3785851493 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Ray_t3785851493 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Ray_t3785851493 value)
{
m_Items[index] = value;
}
};
// UnityEngine.UICharInfo[]
struct UICharInfoU5BU5D_t928762055 : public RuntimeArray
{
public:
ALIGN_FIELD (8) UICharInfo_t75501106 m_Items[1];
public:
inline UICharInfo_t75501106 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UICharInfo_t75501106 * 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, UICharInfo_t75501106 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UICharInfo_t75501106 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UICharInfo_t75501106 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UICharInfo_t75501106 value)
{
m_Items[index] = value;
}
};
// UnityEngine.UILineInfo[]
struct UILineInfoU5BU5D_t1655937503 : public RuntimeArray
{
public:
ALIGN_FIELD (8) UILineInfo_t4195266810 m_Items[1];
public:
inline UILineInfo_t4195266810 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UILineInfo_t4195266810 * 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, UILineInfo_t4195266810 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UILineInfo_t4195266810 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UILineInfo_t4195266810 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UILineInfo_t4195266810 value)
{
m_Items[index] = value;
}
};
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_t1981460040 : public RuntimeArray
{
public:
ALIGN_FIELD (8) UIVertex_t4057497605 m_Items[1];
public:
inline UIVertex_t4057497605 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UIVertex_t4057497605 * 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, UIVertex_t4057497605 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UIVertex_t4057497605 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UIVertex_t4057497605 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UIVertex_t4057497605 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t1457185986 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector2_t2156229523 m_Items[1];
public:
inline Vector2_t2156229523 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t2156229523 * 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, Vector2_t2156229523 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t2156229523 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t2156229523 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t2156229523 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1718750761 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector3_t3722313464 m_Items[1];
public:
inline Vector3_t3722313464 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t3722313464 * 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, Vector3_t3722313464 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t3722313464 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t3722313464 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t3722313464 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t934056436 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector4_t3319028937 m_Items[1];
public:
inline Vector4_t3319028937 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector4_t3319028937 * 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, Vector4_t3319028937 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector4_t3319028937 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector4_t3319028937 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector4_t3319028937 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Sharing.Spawning.PrefabToDataModel[]
struct PrefabToDataModelU5BU5D_t2309926077 : public RuntimeArray
{
public:
ALIGN_FIELD (8) PrefabToDataModel_t1762303220 m_Items[1];
public:
inline PrefabToDataModel_t1762303220 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline PrefabToDataModel_t1762303220 * 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, PrefabToDataModel_t1762303220 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline PrefabToDataModel_t1762303220 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline PrefabToDataModel_t1762303220 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, PrefabToDataModel_t1762303220 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.InputModule.InputSourceInfo[]
struct InputSourceInfoU5BU5D_t3430263659 : public RuntimeArray
{
public:
ALIGN_FIELD (8) InputSourceInfo_t100027742 m_Items[1];
public:
inline InputSourceInfo_t100027742 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline InputSourceInfo_t100027742 * 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, InputSourceInfo_t100027742 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline InputSourceInfo_t100027742 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline InputSourceInfo_t100027742 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, InputSourceInfo_t100027742 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair[]
struct KeyCodeEventPairU5BU5D_t2855334591 : public RuntimeArray
{
public:
ALIGN_FIELD (8) KeyCodeEventPair_t1510105498 m_Items[1];
public:
inline KeyCodeEventPair_t1510105498 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline KeyCodeEventPair_t1510105498 * 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, KeyCodeEventPair_t1510105498 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline KeyCodeEventPair_t1510105498 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline KeyCodeEventPair_t1510105498 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, KeyCodeEventPair_t1510105498 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.RaycastResultHelper[]
struct RaycastResultHelperU5BU5D_t2017648553 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RaycastResultHelper_t2007985016 m_Items[1];
public:
inline RaycastResultHelper_t2007985016 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastResultHelper_t2007985016 * 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, RaycastResultHelper_t2007985016 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RaycastResultHelper_t2007985016 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastResultHelper_t2007985016 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastResultHelper_t2007985016 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData[]
struct MeshDataU5BU5D_t1706847054 : public RuntimeArray
{
public:
ALIGN_FIELD (8) MeshData_t4114415351 m_Items[1];
public:
inline MeshData_t4114415351 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline MeshData_t4114415351 * 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, MeshData_t4114415351 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline MeshData_t4114415351 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline MeshData_t4114415351 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshData_t4114415351 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject[]
struct SurfaceObjectU5BU5D_t214306891 : public RuntimeArray
{
public:
ALIGN_FIELD (8) SurfaceObject_t2613240318 m_Items[1];
public:
inline SurfaceObject_t2613240318 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline SurfaceObject_t2613240318 * 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, SurfaceObject_t2613240318 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline SurfaceObject_t2613240318 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline SurfaceObject_t2613240318 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, SurfaceObject_t2613240318 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.SpatialUnderstandingDll/MeshData[]
struct MeshDataU5BU5D_t822949927 : public RuntimeArray
{
public:
ALIGN_FIELD (8) MeshData_t3361835602 m_Items[1];
public:
inline MeshData_t3361835602 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline MeshData_t3361835602 * 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, MeshData_t3361835602 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline MeshData_t3361835602 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline MeshData_t3361835602 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshData_t3361835602 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint[]
struct ShapeComponentConstraintU5BU5D_t2060966206 : public RuntimeArray
{
public:
ALIGN_FIELD (8) ShapeComponentConstraint_t4241953735 m_Items[1];
public:
inline ShapeComponentConstraint_t4241953735 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline ShapeComponentConstraint_t4241953735 * 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, ShapeComponentConstraint_t4241953735 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline ShapeComponentConstraint_t4241953735 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline ShapeComponentConstraint_t4241953735 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, ShapeComponentConstraint_t4241953735 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.TimerScheduler/TimerData[]
struct TimerDataU5BU5D_t2187523415 : public RuntimeArray
{
public:
ALIGN_FIELD (8) TimerData_t4056715490 m_Items[1];
public:
inline TimerData_t4056715490 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TimerData_t4056715490 * 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, TimerData_t4056715490 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline TimerData_t4056715490 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TimerData_t4056715490 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TimerData_t4056715490 value)
{
m_Items[index] = value;
}
};
// HoloToolkit.Unity.TimerScheduler/TimerIdPair[]
struct TimerIdPairU5BU5D_t552239964 : public RuntimeArray
{
public:
ALIGN_FIELD (8) TimerIdPair_t921323905 m_Items[1];
public:
inline TimerIdPair_t921323905 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TimerIdPair_t921323905 * 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, TimerIdPair_t921323905 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline TimerIdPair_t921323905 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TimerIdPair_t921323905 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TimerIdPair_t921323905 value)
{
m_Items[index] = value;
}
};
// Newtonsoft.Json.JsonPosition[]
struct JsonPositionU5BU5D_t197937271 : public RuntimeArray
{
public:
ALIGN_FIELD (8) JsonPosition_t2528027714 m_Items[1];
public:
inline JsonPosition_t2528027714 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline JsonPosition_t2528027714 * 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, JsonPosition_t2528027714 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline JsonPosition_t2528027714 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline JsonPosition_t2528027714 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, JsonPosition_t2528027714 value)
{
m_Items[index] = value;
}
};
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m230384598_gshared (Enumerator_t2411028294 * __this, List_1_t521784417 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::Dispose()
extern "C" void Enumerator_Dispose_m38496378_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3991867153_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNext()
extern "C" bool Enumerator_MoveNext_m560796504_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::get_Current()
extern "C" XmlSchemaObjectEntry_t3344676971 Enumerator_get_Current_m4185603630_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m441102969_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3806771805_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m504791950_gshared (Enumerator_t652329154 * __this, List_1_t3058052573 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::Dispose()
extern "C" void Enumerator_Dispose_m786980821_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1820229297_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1177880931_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Current()
extern "C" OrderBlock_t1585977831 Enumerator_get_Current_m2468920150_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m713684915_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m144072597_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m145149276_gshared (Enumerator_t1622037647 * __this, List_1_t4027761066 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::Dispose()
extern "C" void Enumerator_Dispose_m3373245193_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1185429068_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2916575364_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::get_Current()
extern "C" Color_t2555686324 Enumerator_get_Current_m3890687419_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3498516727_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m685208550_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m40451936_gshared (Enumerator_t1666852615 * __this, List_1_t4072576034 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::Dispose()
extern "C" void Enumerator_Dispose_m951715887_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3401010412_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2407049913_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::get_Current()
extern "C" Color32_t2600501292 Enumerator_get_Current_m2808660251_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2339378585_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m361915779_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m378707842_gshared (Enumerator_t2426658172 * __this, List_1_t537414295 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::Dispose()
extern "C" void Enumerator_Dispose_m2531396701_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m642466636_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1562562514_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::get_Current()
extern "C" RaycastResult_t3360306849 Enumerator_get_Current_m530189328_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3405349194_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3057416204_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3395048702_gshared (Enumerator_t2852202816 * __this, List_1_t962958939 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::Dispose()
extern "C" void Enumerator_Dispose_m2723595929_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m2339712370_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1697727539_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::get_Current()
extern "C" Ray_t3785851493 Enumerator_get_Current_m1622353285_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2446099888_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m226384956_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3431458266_gshared (Enumerator_t3436819725 * __this, List_1_t1547575848 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::Dispose()
extern "C" void Enumerator_Dispose_m2173500881_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1486703814_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNext()
extern "C" bool Enumerator_MoveNext_m4018122760_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::get_Current()
extern "C" UICharInfo_t75501106 Enumerator_get_Current_m535320420_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1643543708_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2915500989_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3300941814_gshared (Enumerator_t3261618133 * __this, List_1_t1372374256 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::Dispose()
extern "C" void Enumerator_Dispose_m3432036959_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m4217249474_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1446151600_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::get_Current()
extern "C" UILineInfo_t4195266810 Enumerator_get_Current_m3382684163_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2713159350_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2747590098_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m2029608698_gshared (Enumerator_t3123848928 * __this, List_1_t1234605051 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::Dispose()
extern "C" void Enumerator_Dispose_m2498245804_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1917289061_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNext()
extern "C" bool Enumerator_MoveNext_m29052175_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::get_Current()
extern "C" UIVertex_t4057497605 Enumerator_get_Current_m2538493517_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3594024719_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2355925297_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3875432026_gshared (Enumerator_t1222580846 * __this, List_1_t3628304265 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::Dispose()
extern "C" void Enumerator_Dispose_m2367629053_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3690106538_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2595190390_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::get_Current()
extern "C" Vector2_t2156229523 Enumerator_get_Current_m1292806972_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1540440674_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m688431936_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3751722449_gshared (Enumerator_t2788664787 * __this, List_1_t899420910 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::Dispose()
extern "C" void Enumerator_Dispose_m2367589020_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m2248864500_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1345201779_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::get_Current()
extern "C" Vector3_t3722313464 Enumerator_get_Current_m3157770427_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m506196216_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2953002685_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m1346728491_gshared (Enumerator_t2385380260 * __this, List_1_t496136383 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::Dispose()
extern "C" void Enumerator_Dispose_m2367983719_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m522511488_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNext()
extern "C" bool Enumerator_MoveNext_m625797905_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::get_Current()
extern "C" Vector4_t3319028937 Enumerator_get_Current_m1210327282_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m209407522_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3754523291_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m1650153849_gshared (Enumerator_t828654543 * __this, List_1_t3234377962 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.InputSourceInfo>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3137077068_gshared (Enumerator_t3461346361 * __this, List_1_t1572102484 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m574521130_gshared (Enumerator_t576456821 * __this, List_1_t2982180240 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.RaycastResultHelper>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m2470515090_gshared (Enumerator_t1074336339 * __this, List_1_t3480059758 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m394146094_gshared (Enumerator_t3180766674 * __this, List_1_t1291522797 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3682883020_gshared (Enumerator_t1679591641 * __this, List_1_t4085315060 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m2866993495_gshared (Enumerator_t2428186925 * __this, List_1_t538943048 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m1945446707_gshared (Enumerator_t3308305058 * __this, List_1_t1419061181 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerData>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3594547698_gshared (Enumerator_t3123066813 * __this, List_1_t1233822936 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m1365743726_gshared (Enumerator_t4282642524 * __this, List_1_t2393398647 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<Newtonsoft.Json.JsonPosition>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m431339869_gshared (Enumerator_t1594379037 * __this, List_1_t4000102456 * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m230384598(__this, ___list0, method) (( void (*) (Enumerator_t2411028294 *, List_1_t521784417 *, const RuntimeMethod*))Enumerator__ctor_m230384598_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::Dispose()
#define Enumerator_Dispose_m38496378(__this, method) (( void (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_Dispose_m38496378_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNextRare()
#define Enumerator_MoveNextRare_m3991867153(__this, method) (( bool (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_MoveNextRare_m3991867153_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNext()
#define Enumerator_MoveNext_m560796504(__this, method) (( bool (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_MoveNext_m560796504_gshared)(__this, method)
// System.Void System.ThrowHelper::ThrowInvalidOperationException(System.ExceptionResource)
extern "C" void ThrowHelper_ThrowInvalidOperationException_m782723829 (RuntimeObject * __this /* static, unused */, int32_t ___resource0, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// T System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::get_Current()
#define Enumerator_get_Current_m4185603630(__this, method) (( XmlSchemaObjectEntry_t3344676971 (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_get_Current_m4185603630_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m441102969(__this, method) (( RuntimeObject * (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m441102969_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m3806771805(__this, method) (( void (*) (Enumerator_t2411028294 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m3806771805_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m504791950(__this, ___list0, method) (( void (*) (Enumerator_t652329154 *, List_1_t3058052573 *, const RuntimeMethod*))Enumerator__ctor_m504791950_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::Dispose()
#define Enumerator_Dispose_m786980821(__this, method) (( void (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_Dispose_m786980821_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNextRare()
#define Enumerator_MoveNextRare_m1820229297(__this, method) (( bool (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_MoveNextRare_m1820229297_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNext()
#define Enumerator_MoveNext_m1177880931(__this, method) (( bool (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_MoveNext_m1177880931_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Current()
#define Enumerator_get_Current_m2468920150(__this, method) (( OrderBlock_t1585977831 (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_get_Current_m2468920150_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m713684915(__this, method) (( RuntimeObject * (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m713684915_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m144072597(__this, method) (( void (*) (Enumerator_t652329154 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m144072597_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m145149276(__this, ___list0, method) (( void (*) (Enumerator_t1622037647 *, List_1_t4027761066 *, const RuntimeMethod*))Enumerator__ctor_m145149276_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::Dispose()
#define Enumerator_Dispose_m3373245193(__this, method) (( void (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_Dispose_m3373245193_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNextRare()
#define Enumerator_MoveNextRare_m1185429068(__this, method) (( bool (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_MoveNextRare_m1185429068_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNext()
#define Enumerator_MoveNext_m2916575364(__this, method) (( bool (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_MoveNext_m2916575364_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::get_Current()
#define Enumerator_get_Current_m3890687419(__this, method) (( Color_t2555686324 (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_get_Current_m3890687419_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m3498516727(__this, method) (( RuntimeObject * (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m3498516727_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m685208550(__this, method) (( void (*) (Enumerator_t1622037647 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m685208550_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m40451936(__this, ___list0, method) (( void (*) (Enumerator_t1666852615 *, List_1_t4072576034 *, const RuntimeMethod*))Enumerator__ctor_m40451936_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::Dispose()
#define Enumerator_Dispose_m951715887(__this, method) (( void (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_Dispose_m951715887_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNextRare()
#define Enumerator_MoveNextRare_m3401010412(__this, method) (( bool (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_MoveNextRare_m3401010412_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNext()
#define Enumerator_MoveNext_m2407049913(__this, method) (( bool (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_MoveNext_m2407049913_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::get_Current()
#define Enumerator_get_Current_m2808660251(__this, method) (( Color32_t2600501292 (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_get_Current_m2808660251_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m2339378585(__this, method) (( RuntimeObject * (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m2339378585_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m361915779(__this, method) (( void (*) (Enumerator_t1666852615 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m361915779_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m378707842(__this, ___list0, method) (( void (*) (Enumerator_t2426658172 *, List_1_t537414295 *, const RuntimeMethod*))Enumerator__ctor_m378707842_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::Dispose()
#define Enumerator_Dispose_m2531396701(__this, method) (( void (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_Dispose_m2531396701_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNextRare()
#define Enumerator_MoveNextRare_m642466636(__this, method) (( bool (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_MoveNextRare_m642466636_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNext()
#define Enumerator_MoveNext_m1562562514(__this, method) (( bool (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_MoveNext_m1562562514_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::get_Current()
#define Enumerator_get_Current_m530189328(__this, method) (( RaycastResult_t3360306849 (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_get_Current_m530189328_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m3405349194(__this, method) (( RuntimeObject * (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m3405349194_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m3057416204(__this, method) (( void (*) (Enumerator_t2426658172 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m3057416204_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3395048702(__this, ___list0, method) (( void (*) (Enumerator_t2852202816 *, List_1_t962958939 *, const RuntimeMethod*))Enumerator__ctor_m3395048702_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::Dispose()
#define Enumerator_Dispose_m2723595929(__this, method) (( void (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_Dispose_m2723595929_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNextRare()
#define Enumerator_MoveNextRare_m2339712370(__this, method) (( bool (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_MoveNextRare_m2339712370_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNext()
#define Enumerator_MoveNext_m1697727539(__this, method) (( bool (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_MoveNext_m1697727539_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::get_Current()
#define Enumerator_get_Current_m1622353285(__this, method) (( Ray_t3785851493 (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_get_Current_m1622353285_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m2446099888(__this, method) (( RuntimeObject * (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m2446099888_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m226384956(__this, method) (( void (*) (Enumerator_t2852202816 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m226384956_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3431458266(__this, ___list0, method) (( void (*) (Enumerator_t3436819725 *, List_1_t1547575848 *, const RuntimeMethod*))Enumerator__ctor_m3431458266_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::Dispose()
#define Enumerator_Dispose_m2173500881(__this, method) (( void (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_Dispose_m2173500881_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNextRare()
#define Enumerator_MoveNextRare_m1486703814(__this, method) (( bool (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_MoveNextRare_m1486703814_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNext()
#define Enumerator_MoveNext_m4018122760(__this, method) (( bool (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_MoveNext_m4018122760_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::get_Current()
#define Enumerator_get_Current_m535320420(__this, method) (( UICharInfo_t75501106 (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_get_Current_m535320420_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m1643543708(__this, method) (( RuntimeObject * (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m1643543708_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m2915500989(__this, method) (( void (*) (Enumerator_t3436819725 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m2915500989_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3300941814(__this, ___list0, method) (( void (*) (Enumerator_t3261618133 *, List_1_t1372374256 *, const RuntimeMethod*))Enumerator__ctor_m3300941814_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::Dispose()
#define Enumerator_Dispose_m3432036959(__this, method) (( void (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_Dispose_m3432036959_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNextRare()
#define Enumerator_MoveNextRare_m4217249474(__this, method) (( bool (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_MoveNextRare_m4217249474_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNext()
#define Enumerator_MoveNext_m1446151600(__this, method) (( bool (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_MoveNext_m1446151600_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::get_Current()
#define Enumerator_get_Current_m3382684163(__this, method) (( UILineInfo_t4195266810 (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_get_Current_m3382684163_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m2713159350(__this, method) (( RuntimeObject * (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m2713159350_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m2747590098(__this, method) (( void (*) (Enumerator_t3261618133 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m2747590098_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m2029608698(__this, ___list0, method) (( void (*) (Enumerator_t3123848928 *, List_1_t1234605051 *, const RuntimeMethod*))Enumerator__ctor_m2029608698_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::Dispose()
#define Enumerator_Dispose_m2498245804(__this, method) (( void (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_Dispose_m2498245804_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNextRare()
#define Enumerator_MoveNextRare_m1917289061(__this, method) (( bool (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_MoveNextRare_m1917289061_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNext()
#define Enumerator_MoveNext_m29052175(__this, method) (( bool (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_MoveNext_m29052175_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::get_Current()
#define Enumerator_get_Current_m2538493517(__this, method) (( UIVertex_t4057497605 (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_get_Current_m2538493517_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m3594024719(__this, method) (( RuntimeObject * (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m3594024719_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m2355925297(__this, method) (( void (*) (Enumerator_t3123848928 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m2355925297_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3875432026(__this, ___list0, method) (( void (*) (Enumerator_t1222580846 *, List_1_t3628304265 *, const RuntimeMethod*))Enumerator__ctor_m3875432026_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::Dispose()
#define Enumerator_Dispose_m2367629053(__this, method) (( void (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_Dispose_m2367629053_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNextRare()
#define Enumerator_MoveNextRare_m3690106538(__this, method) (( bool (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_MoveNextRare_m3690106538_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNext()
#define Enumerator_MoveNext_m2595190390(__this, method) (( bool (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_MoveNext_m2595190390_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::get_Current()
#define Enumerator_get_Current_m1292806972(__this, method) (( Vector2_t2156229523 (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_get_Current_m1292806972_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m1540440674(__this, method) (( RuntimeObject * (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m1540440674_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m688431936(__this, method) (( void (*) (Enumerator_t1222580846 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m688431936_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3751722449(__this, ___list0, method) (( void (*) (Enumerator_t2788664787 *, List_1_t899420910 *, const RuntimeMethod*))Enumerator__ctor_m3751722449_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::Dispose()
#define Enumerator_Dispose_m2367589020(__this, method) (( void (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_Dispose_m2367589020_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNextRare()
#define Enumerator_MoveNextRare_m2248864500(__this, method) (( bool (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_MoveNextRare_m2248864500_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNext()
#define Enumerator_MoveNext_m1345201779(__this, method) (( bool (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_MoveNext_m1345201779_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::get_Current()
#define Enumerator_get_Current_m3157770427(__this, method) (( Vector3_t3722313464 (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_get_Current_m3157770427_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m506196216(__this, method) (( RuntimeObject * (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m506196216_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m2953002685(__this, method) (( void (*) (Enumerator_t2788664787 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m2953002685_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m1346728491(__this, ___list0, method) (( void (*) (Enumerator_t2385380260 *, List_1_t496136383 *, const RuntimeMethod*))Enumerator__ctor_m1346728491_gshared)(__this, ___list0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::Dispose()
#define Enumerator_Dispose_m2367983719(__this, method) (( void (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_Dispose_m2367983719_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNextRare()
#define Enumerator_MoveNextRare_m522511488(__this, method) (( bool (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_MoveNextRare_m522511488_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNext()
#define Enumerator_MoveNext_m625797905(__this, method) (( bool (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_MoveNext_m625797905_gshared)(__this, method)
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::get_Current()
#define Enumerator_get_Current_m1210327282(__this, method) (( Vector4_t3319028937 (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_get_Current_m1210327282_gshared)(__this, method)
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.get_Current()
#define Enumerator_System_Collections_IEnumerator_get_Current_m209407522(__this, method) (( RuntimeObject * (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_get_Current_m209407522_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.Reset()
#define Enumerator_System_Collections_IEnumerator_Reset_m3754523291(__this, method) (( void (*) (Enumerator_t2385380260 *, const RuntimeMethod*))Enumerator_System_Collections_IEnumerator_Reset_m3754523291_gshared)(__this, method)
// System.Void System.Object::.ctor()
extern "C" void Object__ctor_m297566312 (RuntimeObject * __this, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException(System.ExceptionArgument,System.ExceptionResource)
extern "C" void ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726 (RuntimeObject * __this /* static, unused */, int32_t ___argument0, int32_t ___resource1, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.ThrowHelper::ThrowArgumentNullException(System.ExceptionArgument)
extern "C" void ThrowHelper_ThrowArgumentNullException_m2415499580 (RuntimeObject * __this /* static, unused */, int32_t ___argument0, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
extern "C" void Array_Copy_m344457298 (RuntimeObject * __this /* static, unused */, RuntimeArray * ___sourceArray0, int32_t ___sourceIndex1, RuntimeArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
extern "C" void ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" Type_t * Type_GetTypeFromHandle_m1620074514 (RuntimeObject * __this /* static, unused */, RuntimeTypeHandle_t3027515415 ___handle0, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.ThrowHelper::ThrowWrongValueTypeArgumentException(System.Object,System.Type)
extern "C" void ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560 (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, Type_t * ___targetType1, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.ThrowHelper::ThrowArgumentException(System.ExceptionResource)
extern "C" void ThrowHelper_ThrowArgumentException_m3817859433 (RuntimeObject * __this /* static, unused */, int32_t ___resource0, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
extern "C" void Array_Clear_m2231608178 (RuntimeObject * __this /* static, unused */, RuntimeArray * ___array0, int32_t ___index1, int32_t ___length2, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Array::get_Rank()
extern "C" int32_t Array_get_Rank_m3448755881 (RuntimeArray * __this, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m1650153849(__this, p0, method) (( void (*) (Enumerator_t828654543 *, List_1_t3234377962 *, const RuntimeMethod*))Enumerator__ctor_m1650153849_gshared)(__this, p0, method)
// System.Void System.Array::CopyTo(System.Array,System.Int32)
extern "C" void Array_CopyTo_m225704097 (RuntimeArray * __this, RuntimeArray * ___array0, int32_t ___index1, const RuntimeMethod* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.InputSourceInfo>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3137077068(__this, p0, method) (( void (*) (Enumerator_t3461346361 *, List_1_t1572102484 *, const RuntimeMethod*))Enumerator__ctor_m3137077068_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m574521130(__this, p0, method) (( void (*) (Enumerator_t576456821 *, List_1_t2982180240 *, const RuntimeMethod*))Enumerator__ctor_m574521130_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.RaycastResultHelper>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m2470515090(__this, p0, method) (( void (*) (Enumerator_t1074336339 *, List_1_t3480059758 *, const RuntimeMethod*))Enumerator__ctor_m2470515090_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m394146094(__this, p0, method) (( void (*) (Enumerator_t3180766674 *, List_1_t1291522797 *, const RuntimeMethod*))Enumerator__ctor_m394146094_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3682883020(__this, p0, method) (( void (*) (Enumerator_t1679591641 *, List_1_t4085315060 *, const RuntimeMethod*))Enumerator__ctor_m3682883020_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m2866993495(__this, p0, method) (( void (*) (Enumerator_t2428186925 *, List_1_t538943048 *, const RuntimeMethod*))Enumerator__ctor_m2866993495_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m1945446707(__this, p0, method) (( void (*) (Enumerator_t3308305058 *, List_1_t1419061181 *, const RuntimeMethod*))Enumerator__ctor_m1945446707_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerData>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m3594547698(__this, p0, method) (( void (*) (Enumerator_t3123066813 *, List_1_t1233822936 *, const RuntimeMethod*))Enumerator__ctor_m3594547698_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m1365743726(__this, p0, method) (( void (*) (Enumerator_t4282642524 *, List_1_t2393398647 *, const RuntimeMethod*))Enumerator__ctor_m1365743726_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1/Enumerator<Newtonsoft.Json.JsonPosition>::.ctor(System.Collections.Generic.List`1<T>)
#define Enumerator__ctor_m431339869(__this, p0, method) (( void (*) (Enumerator_t1594379037 *, List_1_t4000102456 *, const RuntimeMethod*))Enumerator__ctor_m431339869_gshared)(__this, p0, method)
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m230384598_gshared (Enumerator_t2411028294 * __this, List_1_t521784417 * ___list0, const RuntimeMethod* method)
{
{
List_1_t521784417 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t521784417 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
XmlSchemaObjectEntry_t3344676971 * L_3 = (XmlSchemaObjectEntry_t3344676971 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(XmlSchemaObjectEntry_t3344676971 ));
return;
}
}
extern "C" void Enumerator__ctor_m230384598_AdjustorThunk (RuntimeObject * __this, List_1_t521784417 * ___list0, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
Enumerator__ctor_m230384598(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::Dispose()
extern "C" void Enumerator_Dispose_m38496378_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m38496378_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
Enumerator_Dispose_m38496378(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNext()
extern "C" bool Enumerator_MoveNext_m560796504_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
List_1_t521784417 * V_0 = NULL;
{
List_1_t521784417 * L_0 = (List_1_t521784417 *)__this->get_list_0();
V_0 = (List_1_t521784417 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t521784417 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t521784417 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t521784417 * L_7 = V_0;
NullCheck(L_7);
XmlSchemaObjectEntryU5BU5D_t1655208330* L_8 = (XmlSchemaObjectEntryU5BU5D_t1655208330*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
XmlSchemaObjectEntry_t3344676971 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m3991867153((Enumerator_t2411028294 *)(Enumerator_t2411028294 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m560796504_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
return Enumerator_MoveNext_m560796504(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3991867153_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t521784417 * L_1 = (List_1_t521784417 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t521784417 * L_3 = (List_1_t521784417 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
XmlSchemaObjectEntry_t3344676971 * L_5 = (XmlSchemaObjectEntry_t3344676971 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(XmlSchemaObjectEntry_t3344676971 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m3991867153_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
return Enumerator_MoveNextRare_m3991867153(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::get_Current()
extern "C" XmlSchemaObjectEntry_t3344676971 Enumerator_get_Current_m4185603630_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
{
XmlSchemaObjectEntry_t3344676971 L_0 = (XmlSchemaObjectEntry_t3344676971 )__this->get_current_3();
return L_0;
}
}
extern "C" XmlSchemaObjectEntry_t3344676971 Enumerator_get_Current_m4185603630_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
return Enumerator_get_Current_m4185603630(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m441102969_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t521784417 * L_2 = (List_1_t521784417 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
XmlSchemaObjectEntry_t3344676971 L_4 = Enumerator_get_Current_m4185603630((Enumerator_t2411028294 *)(Enumerator_t2411028294 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
XmlSchemaObjectEntry_t3344676971 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m441102969_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m441102969(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Xml.Schema.XmlSchemaObjectTable/XmlSchemaObjectEntry>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3806771805_gshared (Enumerator_t2411028294 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t521784417 * L_1 = (List_1_t521784417 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
XmlSchemaObjectEntry_t3344676971 * L_3 = (XmlSchemaObjectEntry_t3344676971 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(XmlSchemaObjectEntry_t3344676971 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3806771805_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2411028294 * _thisAdjusted = reinterpret_cast<Enumerator_t2411028294 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m3806771805(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m504791950_gshared (Enumerator_t652329154 * __this, List_1_t3058052573 * ___list0, const RuntimeMethod* method)
{
{
List_1_t3058052573 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t3058052573 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
OrderBlock_t1585977831 * L_3 = (OrderBlock_t1585977831 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(OrderBlock_t1585977831 ));
return;
}
}
extern "C" void Enumerator__ctor_m504791950_AdjustorThunk (RuntimeObject * __this, List_1_t3058052573 * ___list0, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
Enumerator__ctor_m504791950(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::Dispose()
extern "C" void Enumerator_Dispose_m786980821_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m786980821_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
Enumerator_Dispose_m786980821(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1177880931_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
List_1_t3058052573 * V_0 = NULL;
{
List_1_t3058052573 * L_0 = (List_1_t3058052573 *)__this->get_list_0();
V_0 = (List_1_t3058052573 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t3058052573 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t3058052573 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t3058052573 * L_7 = V_0;
NullCheck(L_7);
OrderBlockU5BU5D_t2389202590* L_8 = (OrderBlockU5BU5D_t2389202590*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
OrderBlock_t1585977831 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m1820229297((Enumerator_t652329154 *)(Enumerator_t652329154 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m1177880931_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
return Enumerator_MoveNext_m1177880931(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1820229297_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t3058052573 * L_1 = (List_1_t3058052573 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t3058052573 * L_3 = (List_1_t3058052573 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
OrderBlock_t1585977831 * L_5 = (OrderBlock_t1585977831 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(OrderBlock_t1585977831 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m1820229297_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
return Enumerator_MoveNextRare_m1820229297(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::get_Current()
extern "C" OrderBlock_t1585977831 Enumerator_get_Current_m2468920150_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
{
OrderBlock_t1585977831 L_0 = (OrderBlock_t1585977831 )__this->get_current_3();
return L_0;
}
}
extern "C" OrderBlock_t1585977831 Enumerator_get_Current_m2468920150_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
return Enumerator_get_Current_m2468920150(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m713684915_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t3058052573 * L_2 = (List_1_t3058052573 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
OrderBlock_t1585977831 L_4 = Enumerator_get_Current_m2468920150((Enumerator_t652329154 *)(Enumerator_t652329154 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
OrderBlock_t1585977831 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m713684915_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m713684915(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.BeforeRenderHelper/OrderBlock>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m144072597_gshared (Enumerator_t652329154 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t3058052573 * L_1 = (List_1_t3058052573 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
OrderBlock_t1585977831 * L_3 = (OrderBlock_t1585977831 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(OrderBlock_t1585977831 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m144072597_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t652329154 * _thisAdjusted = reinterpret_cast<Enumerator_t652329154 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m144072597(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m145149276_gshared (Enumerator_t1622037647 * __this, List_1_t4027761066 * ___list0, const RuntimeMethod* method)
{
{
List_1_t4027761066 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t4027761066 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Color_t2555686324 * L_3 = (Color_t2555686324 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Color_t2555686324 ));
return;
}
}
extern "C" void Enumerator__ctor_m145149276_AdjustorThunk (RuntimeObject * __this, List_1_t4027761066 * ___list0, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
Enumerator__ctor_m145149276(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::Dispose()
extern "C" void Enumerator_Dispose_m3373245193_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m3373245193_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
Enumerator_Dispose_m3373245193(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2916575364_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
List_1_t4027761066 * V_0 = NULL;
{
List_1_t4027761066 * L_0 = (List_1_t4027761066 *)__this->get_list_0();
V_0 = (List_1_t4027761066 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t4027761066 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t4027761066 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t4027761066 * L_7 = V_0;
NullCheck(L_7);
ColorU5BU5D_t941916413* L_8 = (ColorU5BU5D_t941916413*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Color_t2555686324 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m1185429068((Enumerator_t1622037647 *)(Enumerator_t1622037647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m2916575364_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
return Enumerator_MoveNext_m2916575364(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1185429068_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t4027761066 * L_1 = (List_1_t4027761066 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t4027761066 * L_3 = (List_1_t4027761066 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Color_t2555686324 * L_5 = (Color_t2555686324 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Color_t2555686324 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m1185429068_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
return Enumerator_MoveNextRare_m1185429068(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::get_Current()
extern "C" Color_t2555686324 Enumerator_get_Current_m3890687419_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
{
Color_t2555686324 L_0 = (Color_t2555686324 )__this->get_current_3();
return L_0;
}
}
extern "C" Color_t2555686324 Enumerator_get_Current_m3890687419_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
return Enumerator_get_Current_m3890687419(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3498516727_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t4027761066 * L_2 = (List_1_t4027761066 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Color_t2555686324 L_4 = Enumerator_get_Current_m3890687419((Enumerator_t1622037647 *)(Enumerator_t1622037647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Color_t2555686324 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3498516727_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m3498516727(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m685208550_gshared (Enumerator_t1622037647 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t4027761066 * L_1 = (List_1_t4027761066 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Color_t2555686324 * L_3 = (Color_t2555686324 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Color_t2555686324 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m685208550_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1622037647 * _thisAdjusted = reinterpret_cast<Enumerator_t1622037647 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m685208550(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m40451936_gshared (Enumerator_t1666852615 * __this, List_1_t4072576034 * ___list0, const RuntimeMethod* method)
{
{
List_1_t4072576034 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t4072576034 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Color32_t2600501292 * L_3 = (Color32_t2600501292 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Color32_t2600501292 ));
return;
}
}
extern "C" void Enumerator__ctor_m40451936_AdjustorThunk (RuntimeObject * __this, List_1_t4072576034 * ___list0, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
Enumerator__ctor_m40451936(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::Dispose()
extern "C" void Enumerator_Dispose_m951715887_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m951715887_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
Enumerator_Dispose_m951715887(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2407049913_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
List_1_t4072576034 * V_0 = NULL;
{
List_1_t4072576034 * L_0 = (List_1_t4072576034 *)__this->get_list_0();
V_0 = (List_1_t4072576034 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t4072576034 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t4072576034 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t4072576034 * L_7 = V_0;
NullCheck(L_7);
Color32U5BU5D_t3850468773* L_8 = (Color32U5BU5D_t3850468773*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Color32_t2600501292 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m3401010412((Enumerator_t1666852615 *)(Enumerator_t1666852615 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m2407049913_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
return Enumerator_MoveNext_m2407049913(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3401010412_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t4072576034 * L_1 = (List_1_t4072576034 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t4072576034 * L_3 = (List_1_t4072576034 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Color32_t2600501292 * L_5 = (Color32_t2600501292 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Color32_t2600501292 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m3401010412_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
return Enumerator_MoveNextRare_m3401010412(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::get_Current()
extern "C" Color32_t2600501292 Enumerator_get_Current_m2808660251_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
{
Color32_t2600501292 L_0 = (Color32_t2600501292 )__this->get_current_3();
return L_0;
}
}
extern "C" Color32_t2600501292 Enumerator_get_Current_m2808660251_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
return Enumerator_get_Current_m2808660251(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2339378585_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t4072576034 * L_2 = (List_1_t4072576034 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Color32_t2600501292 L_4 = Enumerator_get_Current_m2808660251((Enumerator_t1666852615 *)(Enumerator_t1666852615 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Color32_t2600501292 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2339378585_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m2339378585(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Color32>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m361915779_gshared (Enumerator_t1666852615 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t4072576034 * L_1 = (List_1_t4072576034 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Color32_t2600501292 * L_3 = (Color32_t2600501292 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Color32_t2600501292 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m361915779_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1666852615 * _thisAdjusted = reinterpret_cast<Enumerator_t1666852615 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m361915779(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m378707842_gshared (Enumerator_t2426658172 * __this, List_1_t537414295 * ___list0, const RuntimeMethod* method)
{
{
List_1_t537414295 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t537414295 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
RaycastResult_t3360306849 * L_3 = (RaycastResult_t3360306849 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(RaycastResult_t3360306849 ));
return;
}
}
extern "C" void Enumerator__ctor_m378707842_AdjustorThunk (RuntimeObject * __this, List_1_t537414295 * ___list0, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
Enumerator__ctor_m378707842(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::Dispose()
extern "C" void Enumerator_Dispose_m2531396701_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2531396701_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
Enumerator_Dispose_m2531396701(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1562562514_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
List_1_t537414295 * V_0 = NULL;
{
List_1_t537414295 * L_0 = (List_1_t537414295 *)__this->get_list_0();
V_0 = (List_1_t537414295 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t537414295 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t537414295 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t537414295 * L_7 = V_0;
NullCheck(L_7);
RaycastResultU5BU5D_t1128832444* L_8 = (RaycastResultU5BU5D_t1128832444*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
RaycastResult_t3360306849 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m642466636((Enumerator_t2426658172 *)(Enumerator_t2426658172 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m1562562514_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
return Enumerator_MoveNext_m1562562514(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m642466636_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t537414295 * L_1 = (List_1_t537414295 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t537414295 * L_3 = (List_1_t537414295 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
RaycastResult_t3360306849 * L_5 = (RaycastResult_t3360306849 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(RaycastResult_t3360306849 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m642466636_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
return Enumerator_MoveNextRare_m642466636(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::get_Current()
extern "C" RaycastResult_t3360306849 Enumerator_get_Current_m530189328_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
{
RaycastResult_t3360306849 L_0 = (RaycastResult_t3360306849 )__this->get_current_3();
return L_0;
}
}
extern "C" RaycastResult_t3360306849 Enumerator_get_Current_m530189328_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
return Enumerator_get_Current_m530189328(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3405349194_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t537414295 * L_2 = (List_1_t537414295 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
RaycastResult_t3360306849 L_4 = Enumerator_get_Current_m530189328((Enumerator_t2426658172 *)(Enumerator_t2426658172 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
RaycastResult_t3360306849 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3405349194_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m3405349194(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.EventSystems.RaycastResult>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3057416204_gshared (Enumerator_t2426658172 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t537414295 * L_1 = (List_1_t537414295 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
RaycastResult_t3360306849 * L_3 = (RaycastResult_t3360306849 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(RaycastResult_t3360306849 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3057416204_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2426658172 * _thisAdjusted = reinterpret_cast<Enumerator_t2426658172 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m3057416204(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3395048702_gshared (Enumerator_t2852202816 * __this, List_1_t962958939 * ___list0, const RuntimeMethod* method)
{
{
List_1_t962958939 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t962958939 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Ray_t3785851493 * L_3 = (Ray_t3785851493 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Ray_t3785851493 ));
return;
}
}
extern "C" void Enumerator__ctor_m3395048702_AdjustorThunk (RuntimeObject * __this, List_1_t962958939 * ___list0, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
Enumerator__ctor_m3395048702(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::Dispose()
extern "C" void Enumerator_Dispose_m2723595929_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2723595929_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
Enumerator_Dispose_m2723595929(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1697727539_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
List_1_t962958939 * V_0 = NULL;
{
List_1_t962958939 * L_0 = (List_1_t962958939 *)__this->get_list_0();
V_0 = (List_1_t962958939 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t962958939 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t962958939 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t962958939 * L_7 = V_0;
NullCheck(L_7);
RayU5BU5D_t1836217960* L_8 = (RayU5BU5D_t1836217960*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Ray_t3785851493 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m2339712370((Enumerator_t2852202816 *)(Enumerator_t2852202816 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m1697727539_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
return Enumerator_MoveNext_m1697727539(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m2339712370_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t962958939 * L_1 = (List_1_t962958939 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t962958939 * L_3 = (List_1_t962958939 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Ray_t3785851493 * L_5 = (Ray_t3785851493 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Ray_t3785851493 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m2339712370_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
return Enumerator_MoveNextRare_m2339712370(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::get_Current()
extern "C" Ray_t3785851493 Enumerator_get_Current_m1622353285_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
{
Ray_t3785851493 L_0 = (Ray_t3785851493 )__this->get_current_3();
return L_0;
}
}
extern "C" Ray_t3785851493 Enumerator_get_Current_m1622353285_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
return Enumerator_get_Current_m1622353285(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2446099888_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t962958939 * L_2 = (List_1_t962958939 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Ray_t3785851493 L_4 = Enumerator_get_Current_m1622353285((Enumerator_t2852202816 *)(Enumerator_t2852202816 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Ray_t3785851493 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2446099888_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m2446099888(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Ray>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m226384956_gshared (Enumerator_t2852202816 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t962958939 * L_1 = (List_1_t962958939 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Ray_t3785851493 * L_3 = (Ray_t3785851493 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Ray_t3785851493 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m226384956_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2852202816 * _thisAdjusted = reinterpret_cast<Enumerator_t2852202816 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m226384956(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3431458266_gshared (Enumerator_t3436819725 * __this, List_1_t1547575848 * ___list0, const RuntimeMethod* method)
{
{
List_1_t1547575848 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t1547575848 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
UICharInfo_t75501106 * L_3 = (UICharInfo_t75501106 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UICharInfo_t75501106 ));
return;
}
}
extern "C" void Enumerator__ctor_m3431458266_AdjustorThunk (RuntimeObject * __this, List_1_t1547575848 * ___list0, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
Enumerator__ctor_m3431458266(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::Dispose()
extern "C" void Enumerator_Dispose_m2173500881_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2173500881_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
Enumerator_Dispose_m2173500881(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNext()
extern "C" bool Enumerator_MoveNext_m4018122760_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
List_1_t1547575848 * V_0 = NULL;
{
List_1_t1547575848 * L_0 = (List_1_t1547575848 *)__this->get_list_0();
V_0 = (List_1_t1547575848 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t1547575848 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t1547575848 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t1547575848 * L_7 = V_0;
NullCheck(L_7);
UICharInfoU5BU5D_t928762055* L_8 = (UICharInfoU5BU5D_t928762055*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
UICharInfo_t75501106 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m1486703814((Enumerator_t3436819725 *)(Enumerator_t3436819725 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m4018122760_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
return Enumerator_MoveNext_m4018122760(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1486703814_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1547575848 * L_1 = (List_1_t1547575848 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t1547575848 * L_3 = (List_1_t1547575848 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
UICharInfo_t75501106 * L_5 = (UICharInfo_t75501106 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(UICharInfo_t75501106 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m1486703814_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
return Enumerator_MoveNextRare_m1486703814(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::get_Current()
extern "C" UICharInfo_t75501106 Enumerator_get_Current_m535320420_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
{
UICharInfo_t75501106 L_0 = (UICharInfo_t75501106 )__this->get_current_3();
return L_0;
}
}
extern "C" UICharInfo_t75501106 Enumerator_get_Current_m535320420_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
return Enumerator_get_Current_m535320420(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1643543708_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t1547575848 * L_2 = (List_1_t1547575848 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
UICharInfo_t75501106 L_4 = Enumerator_get_Current_m535320420((Enumerator_t3436819725 *)(Enumerator_t3436819725 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
UICharInfo_t75501106 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1643543708_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m1643543708(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UICharInfo>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2915500989_gshared (Enumerator_t3436819725 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1547575848 * L_1 = (List_1_t1547575848 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
UICharInfo_t75501106 * L_3 = (UICharInfo_t75501106 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UICharInfo_t75501106 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2915500989_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3436819725 * _thisAdjusted = reinterpret_cast<Enumerator_t3436819725 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m2915500989(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3300941814_gshared (Enumerator_t3261618133 * __this, List_1_t1372374256 * ___list0, const RuntimeMethod* method)
{
{
List_1_t1372374256 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t1372374256 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
UILineInfo_t4195266810 * L_3 = (UILineInfo_t4195266810 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UILineInfo_t4195266810 ));
return;
}
}
extern "C" void Enumerator__ctor_m3300941814_AdjustorThunk (RuntimeObject * __this, List_1_t1372374256 * ___list0, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
Enumerator__ctor_m3300941814(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::Dispose()
extern "C" void Enumerator_Dispose_m3432036959_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m3432036959_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
Enumerator_Dispose_m3432036959(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1446151600_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
List_1_t1372374256 * V_0 = NULL;
{
List_1_t1372374256 * L_0 = (List_1_t1372374256 *)__this->get_list_0();
V_0 = (List_1_t1372374256 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t1372374256 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t1372374256 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t1372374256 * L_7 = V_0;
NullCheck(L_7);
UILineInfoU5BU5D_t1655937503* L_8 = (UILineInfoU5BU5D_t1655937503*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
UILineInfo_t4195266810 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m4217249474((Enumerator_t3261618133 *)(Enumerator_t3261618133 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m1446151600_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
return Enumerator_MoveNext_m1446151600(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m4217249474_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1372374256 * L_1 = (List_1_t1372374256 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t1372374256 * L_3 = (List_1_t1372374256 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
UILineInfo_t4195266810 * L_5 = (UILineInfo_t4195266810 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(UILineInfo_t4195266810 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m4217249474_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
return Enumerator_MoveNextRare_m4217249474(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::get_Current()
extern "C" UILineInfo_t4195266810 Enumerator_get_Current_m3382684163_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
{
UILineInfo_t4195266810 L_0 = (UILineInfo_t4195266810 )__this->get_current_3();
return L_0;
}
}
extern "C" UILineInfo_t4195266810 Enumerator_get_Current_m3382684163_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
return Enumerator_get_Current_m3382684163(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2713159350_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t1372374256 * L_2 = (List_1_t1372374256 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
UILineInfo_t4195266810 L_4 = Enumerator_get_Current_m3382684163((Enumerator_t3261618133 *)(Enumerator_t3261618133 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
UILineInfo_t4195266810 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m2713159350_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m2713159350(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UILineInfo>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2747590098_gshared (Enumerator_t3261618133 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1372374256 * L_1 = (List_1_t1372374256 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
UILineInfo_t4195266810 * L_3 = (UILineInfo_t4195266810 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UILineInfo_t4195266810 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2747590098_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3261618133 * _thisAdjusted = reinterpret_cast<Enumerator_t3261618133 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m2747590098(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m2029608698_gshared (Enumerator_t3123848928 * __this, List_1_t1234605051 * ___list0, const RuntimeMethod* method)
{
{
List_1_t1234605051 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t1234605051 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
UIVertex_t4057497605 * L_3 = (UIVertex_t4057497605 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UIVertex_t4057497605 ));
return;
}
}
extern "C" void Enumerator__ctor_m2029608698_AdjustorThunk (RuntimeObject * __this, List_1_t1234605051 * ___list0, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
Enumerator__ctor_m2029608698(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::Dispose()
extern "C" void Enumerator_Dispose_m2498245804_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2498245804_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
Enumerator_Dispose_m2498245804(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNext()
extern "C" bool Enumerator_MoveNext_m29052175_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
List_1_t1234605051 * V_0 = NULL;
{
List_1_t1234605051 * L_0 = (List_1_t1234605051 *)__this->get_list_0();
V_0 = (List_1_t1234605051 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t1234605051 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t1234605051 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t1234605051 * L_7 = V_0;
NullCheck(L_7);
UIVertexU5BU5D_t1981460040* L_8 = (UIVertexU5BU5D_t1981460040*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
UIVertex_t4057497605 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m1917289061((Enumerator_t3123848928 *)(Enumerator_t3123848928 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m29052175_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
return Enumerator_MoveNext_m29052175(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m1917289061_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1234605051 * L_1 = (List_1_t1234605051 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t1234605051 * L_3 = (List_1_t1234605051 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
UIVertex_t4057497605 * L_5 = (UIVertex_t4057497605 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(UIVertex_t4057497605 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m1917289061_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
return Enumerator_MoveNextRare_m1917289061(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::get_Current()
extern "C" UIVertex_t4057497605 Enumerator_get_Current_m2538493517_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
{
UIVertex_t4057497605 L_0 = (UIVertex_t4057497605 )__this->get_current_3();
return L_0;
}
}
extern "C" UIVertex_t4057497605 Enumerator_get_Current_m2538493517_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
return Enumerator_get_Current_m2538493517(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3594024719_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t1234605051 * L_2 = (List_1_t1234605051 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
UIVertex_t4057497605 L_4 = Enumerator_get_Current_m2538493517((Enumerator_t3123848928 *)(Enumerator_t3123848928 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
UIVertex_t4057497605 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m3594024719_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m3594024719(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.UIVertex>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2355925297_gshared (Enumerator_t3123848928 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t1234605051 * L_1 = (List_1_t1234605051 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
UIVertex_t4057497605 * L_3 = (UIVertex_t4057497605 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(UIVertex_t4057497605 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2355925297_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t3123848928 * _thisAdjusted = reinterpret_cast<Enumerator_t3123848928 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m2355925297(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3875432026_gshared (Enumerator_t1222580846 * __this, List_1_t3628304265 * ___list0, const RuntimeMethod* method)
{
{
List_1_t3628304265 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t3628304265 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Vector2_t2156229523 * L_3 = (Vector2_t2156229523 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector2_t2156229523 ));
return;
}
}
extern "C" void Enumerator__ctor_m3875432026_AdjustorThunk (RuntimeObject * __this, List_1_t3628304265 * ___list0, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
Enumerator__ctor_m3875432026(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::Dispose()
extern "C" void Enumerator_Dispose_m2367629053_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2367629053_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
Enumerator_Dispose_m2367629053(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2595190390_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
List_1_t3628304265 * V_0 = NULL;
{
List_1_t3628304265 * L_0 = (List_1_t3628304265 *)__this->get_list_0();
V_0 = (List_1_t3628304265 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t3628304265 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t3628304265 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t3628304265 * L_7 = V_0;
NullCheck(L_7);
Vector2U5BU5D_t1457185986* L_8 = (Vector2U5BU5D_t1457185986*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Vector2_t2156229523 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m3690106538((Enumerator_t1222580846 *)(Enumerator_t1222580846 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m2595190390_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
return Enumerator_MoveNext_m2595190390(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m3690106538_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t3628304265 * L_1 = (List_1_t3628304265 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t3628304265 * L_3 = (List_1_t3628304265 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Vector2_t2156229523 * L_5 = (Vector2_t2156229523 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Vector2_t2156229523 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m3690106538_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
return Enumerator_MoveNextRare_m3690106538(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::get_Current()
extern "C" Vector2_t2156229523 Enumerator_get_Current_m1292806972_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
{
Vector2_t2156229523 L_0 = (Vector2_t2156229523 )__this->get_current_3();
return L_0;
}
}
extern "C" Vector2_t2156229523 Enumerator_get_Current_m1292806972_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
return Enumerator_get_Current_m1292806972(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1540440674_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t3628304265 * L_2 = (List_1_t3628304265 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Vector2_t2156229523 L_4 = Enumerator_get_Current_m1292806972((Enumerator_t1222580846 *)(Enumerator_t1222580846 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Vector2_t2156229523 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m1540440674_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m1540440674(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m688431936_gshared (Enumerator_t1222580846 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t3628304265 * L_1 = (List_1_t3628304265 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Vector2_t2156229523 * L_3 = (Vector2_t2156229523 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector2_t2156229523 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m688431936_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t1222580846 * _thisAdjusted = reinterpret_cast<Enumerator_t1222580846 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m688431936(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m3751722449_gshared (Enumerator_t2788664787 * __this, List_1_t899420910 * ___list0, const RuntimeMethod* method)
{
{
List_1_t899420910 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t899420910 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Vector3_t3722313464 * L_3 = (Vector3_t3722313464 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector3_t3722313464 ));
return;
}
}
extern "C" void Enumerator__ctor_m3751722449_AdjustorThunk (RuntimeObject * __this, List_1_t899420910 * ___list0, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
Enumerator__ctor_m3751722449(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::Dispose()
extern "C" void Enumerator_Dispose_m2367589020_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2367589020_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
Enumerator_Dispose_m2367589020(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNext()
extern "C" bool Enumerator_MoveNext_m1345201779_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
List_1_t899420910 * V_0 = NULL;
{
List_1_t899420910 * L_0 = (List_1_t899420910 *)__this->get_list_0();
V_0 = (List_1_t899420910 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t899420910 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t899420910 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t899420910 * L_7 = V_0;
NullCheck(L_7);
Vector3U5BU5D_t1718750761* L_8 = (Vector3U5BU5D_t1718750761*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Vector3_t3722313464 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m2248864500((Enumerator_t2788664787 *)(Enumerator_t2788664787 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m1345201779_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
return Enumerator_MoveNext_m1345201779(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m2248864500_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t899420910 * L_1 = (List_1_t899420910 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t899420910 * L_3 = (List_1_t899420910 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Vector3_t3722313464 * L_5 = (Vector3_t3722313464 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Vector3_t3722313464 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m2248864500_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
return Enumerator_MoveNextRare_m2248864500(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::get_Current()
extern "C" Vector3_t3722313464 Enumerator_get_Current_m3157770427_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
{
Vector3_t3722313464 L_0 = (Vector3_t3722313464 )__this->get_current_3();
return L_0;
}
}
extern "C" Vector3_t3722313464 Enumerator_get_Current_m3157770427_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
return Enumerator_get_Current_m3157770427(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m506196216_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t899420910 * L_2 = (List_1_t899420910 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Vector3_t3722313464 L_4 = Enumerator_get_Current_m3157770427((Enumerator_t2788664787 *)(Enumerator_t2788664787 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Vector3_t3722313464 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m506196216_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m506196216(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector3>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2953002685_gshared (Enumerator_t2788664787 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t899420910 * L_1 = (List_1_t899420910 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Vector3_t3722313464 * L_3 = (Vector3_t3722313464 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector3_t3722313464 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m2953002685_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2788664787 * _thisAdjusted = reinterpret_cast<Enumerator_t2788664787 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m2953002685(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::.ctor(System.Collections.Generic.List`1<T>)
extern "C" void Enumerator__ctor_m1346728491_gshared (Enumerator_t2385380260 * __this, List_1_t496136383 * ___list0, const RuntimeMethod* method)
{
{
List_1_t496136383 * L_0 = ___list0;
__this->set_list_0(L_0);
__this->set_index_1(0);
List_1_t496136383 * L_1 = ___list0;
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
__this->set_version_2(L_2);
Vector4_t3319028937 * L_3 = (Vector4_t3319028937 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector4_t3319028937 ));
return;
}
}
extern "C" void Enumerator__ctor_m1346728491_AdjustorThunk (RuntimeObject * __this, List_1_t496136383 * ___list0, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
Enumerator__ctor_m1346728491(_thisAdjusted, ___list0, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::Dispose()
extern "C" void Enumerator_Dispose_m2367983719_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
{
return;
}
}
extern "C" void Enumerator_Dispose_m2367983719_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
Enumerator_Dispose_m2367983719(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNext()
extern "C" bool Enumerator_MoveNext_m625797905_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
List_1_t496136383 * V_0 = NULL;
{
List_1_t496136383 * L_0 = (List_1_t496136383 *)__this->get_list_0();
V_0 = (List_1_t496136383 *)L_0;
int32_t L_1 = (int32_t)__this->get_version_2();
List_1_t496136383 * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__version_3();
if ((!(((uint32_t)L_1) == ((uint32_t)L_3))))
{
goto IL_004a;
}
}
{
int32_t L_4 = (int32_t)__this->get_index_1();
List_1_t496136383 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = (int32_t)L_5->get__size_2();
if ((!(((uint32_t)L_4) < ((uint32_t)L_6))))
{
goto IL_004a;
}
}
{
List_1_t496136383 * L_7 = V_0;
NullCheck(L_7);
Vector4U5BU5D_t934056436* L_8 = (Vector4U5BU5D_t934056436*)L_7->get__items_1();
int32_t L_9 = (int32_t)__this->get_index_1();
NullCheck(L_8);
int32_t L_10 = L_9;
Vector4_t3319028937 L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
__this->set_current_3(L_11);
int32_t L_12 = (int32_t)__this->get_index_1();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1)));
return (bool)1;
}
IL_004a:
{
bool L_13 = Enumerator_MoveNextRare_m522511488((Enumerator_t2385380260 *)(Enumerator_t2385380260 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 0));
return L_13;
}
}
extern "C" bool Enumerator_MoveNext_m625797905_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
return Enumerator_MoveNext_m625797905(_thisAdjusted, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::MoveNextRare()
extern "C" bool Enumerator_MoveNextRare_m522511488_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t496136383 * L_1 = (List_1_t496136383 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
List_1_t496136383 * L_3 = (List_1_t496136383 *)__this->get_list_0();
NullCheck(L_3);
int32_t L_4 = (int32_t)L_3->get__size_2();
__this->set_index_1(((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)));
Vector4_t3319028937 * L_5 = (Vector4_t3319028937 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_5, sizeof(Vector4_t3319028937 ));
return (bool)0;
}
}
extern "C" bool Enumerator_MoveNextRare_m522511488_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
return Enumerator_MoveNextRare_m522511488(_thisAdjusted, method);
}
// T System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::get_Current()
extern "C" Vector4_t3319028937 Enumerator_get_Current_m1210327282_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
{
Vector4_t3319028937 L_0 = (Vector4_t3319028937 )__this->get_current_3();
return L_0;
}
}
extern "C" Vector4_t3319028937 Enumerator_get_Current_m1210327282_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
return Enumerator_get_Current_m1210327282(_thisAdjusted, method);
}
// System.Object System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.get_Current()
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m209407522_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_index_1();
if (!L_0)
{
goto IL_001d;
}
}
{
int32_t L_1 = (int32_t)__this->get_index_1();
List_1_t496136383 * L_2 = (List_1_t496136383 *)__this->get_list_0();
NullCheck(L_2);
int32_t L_3 = (int32_t)L_2->get__size_2();
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1))))))
{
goto IL_0024;
}
}
IL_001d:
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)31), /*hidden argument*/NULL);
}
IL_0024:
{
Vector4_t3319028937 L_4 = Enumerator_get_Current_m1210327282((Enumerator_t2385380260 *)(Enumerator_t2385380260 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(InitializedTypeInfo(method->klass)->rgctx_data, 1));
Vector4_t3319028937 L_5 = L_4;
RuntimeObject * L_6 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 2), &L_5);
return L_6;
}
}
extern "C" RuntimeObject * Enumerator_System_Collections_IEnumerator_get_Current_m209407522_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
return Enumerator_System_Collections_IEnumerator_get_Current_m209407522(_thisAdjusted, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector4>::System.Collections.IEnumerator.Reset()
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3754523291_gshared (Enumerator_t2385380260 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_version_2();
List_1_t496136383 * L_1 = (List_1_t496136383 *)__this->get_list_0();
NullCheck(L_1);
int32_t L_2 = (int32_t)L_1->get__version_3();
if ((((int32_t)L_0) == ((int32_t)L_2)))
{
goto IL_001a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_001a:
{
__this->set_index_1(0);
Vector4_t3319028937 * L_3 = (Vector4_t3319028937 *)__this->get_address_of_current_3();
il2cpp_codegen_initobj(L_3, sizeof(Vector4_t3319028937 ));
return;
}
}
extern "C" void Enumerator_System_Collections_IEnumerator_Reset_m3754523291_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
Enumerator_t2385380260 * _thisAdjusted = reinterpret_cast<Enumerator_t2385380260 *>(__this + 1);
Enumerator_System_Collections_IEnumerator_Reset_m3754523291(_thisAdjusted, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.ctor()
extern "C" void List_1__ctor_m2789220296_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
PrefabToDataModelU5BU5D_t2309926077* L_0 = ((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.ctor(System.Int32)
extern "C" void List_1__ctor_m3692477974_gshared (List_1_t3234377962 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
PrefabToDataModelU5BU5D_t2309926077* L_2 = ((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m4279344487_gshared (List_1_t3234377962 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m4279344487_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
PrefabToDataModelU5BU5D_t2309926077* L_6 = ((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
PrefabToDataModelU5BU5D_t2309926077* L_9 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< PrefabToDataModelU5BU5D_t2309926077*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (PrefabToDataModelU5BU5D_t2309926077*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
PrefabToDataModelU5BU5D_t2309926077* L_11 = ((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
PrefabToDataModel_t1762303220 L_15 = InterfaceFuncInvoker0< PrefabToDataModel_t1762303220 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m1674790729_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m2175249477_gshared (List_1_t3234377962 * __this, int32_t ___value0, const RuntimeMethod* method)
{
PrefabToDataModelU5BU5D_t2309926077* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (PrefabToDataModelU5BU5D_t2309926077*)((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_7 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
PrefabToDataModelU5BU5D_t2309926077* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
PrefabToDataModelU5BU5D_t2309926077* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
PrefabToDataModelU5BU5D_t2309926077* L_11 = ((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Count()
extern "C" int32_t List_1_get_Count_m1327907535_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m135080009_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m147281062_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m1330207566_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m1380532693_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m1584784809_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m1584784809_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Item(System.Int32)
extern "C" PrefabToDataModel_t1762303220 List_1_get_Item_m986057144_gshared (List_1_t3234377962 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
PrefabToDataModelU5BU5D_t2309926077* L_2 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_3 = ___index0;
PrefabToDataModel_t1762303220 L_4 = (( PrefabToDataModel_t1762303220 (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m267135609_gshared (List_1_t3234377962 * __this, int32_t ___index0, PrefabToDataModel_t1762303220 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
PrefabToDataModelU5BU5D_t2309926077* L_2 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_3 = ___index0;
PrefabToDataModel_t1762303220 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (PrefabToDataModel_t1762303220 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m1740389523_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
PrefabToDataModel_t1762303220 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(PrefabToDataModel_t1762303220 ));
PrefabToDataModel_t1762303220 L_2 = V_0;
PrefabToDataModel_t1762303220 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m1979157601_gshared (List_1_t3234377962 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t3234377962 *)__this);
PrefabToDataModel_t1762303220 L_1 = (( PrefabToDataModel_t1762303220 (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
PrefabToDataModel_t1762303220 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m1892267905_gshared (List_1_t3234377962 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m1892267905_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_1, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Add(T)
extern "C" void List_1_Add_m3237560602_gshared (List_1_t3234377962 * __this, PrefabToDataModel_t1762303220 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
PrefabToDataModelU5BU5D_t2309926077* L_1 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
PrefabToDataModel_t1762303220 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (PrefabToDataModel_t1762303220 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m2010731703_gshared (List_1_t3234377962 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m2010731703_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t3234377962 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t3234377962 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m3262838834_gshared (List_1_t3234377962 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t2974879507 * List_1_AsReadOnly_m3069502899_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t2974879507 * L_0 = (ReadOnlyCollection_1_t2974879507 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t2974879507 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m2192015634_gshared (List_1_t3234377962 * __this, int32_t ___index0, int32_t ___count1, PrefabToDataModel_t1762303220 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
PrefabToDataModelU5BU5D_t2309926077* L_5 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
PrefabToDataModel_t1762303220 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, int32_t, int32_t, PrefabToDataModel_t1762303220 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_5, (int32_t)L_6, (int32_t)L_7, (PrefabToDataModel_t1762303220 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m217202605_gshared (List_1_t3234377962 * __this, PrefabToDataModel_t1762303220 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3234377962 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3234377962 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
PrefabToDataModel_t1762303220 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t3234377962 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t3234377962 *, int32_t, int32_t, PrefabToDataModel_t1762303220 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)0, (int32_t)L_0, (PrefabToDataModel_t1762303220 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Clear()
extern "C" void List_1_Clear_m2096008868_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_1 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Contains(T)
extern "C" bool List_1_Contains_m771694865_gshared (List_1_t3234377962 * __this, PrefabToDataModel_t1762303220 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t4227042852 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
PrefabToDataModelU5BU5D_t2309926077* L_1 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
PrefabToDataModel_t1762303220 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t4227042852 * L_8 = (( EqualityComparer_1_t4227042852 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t4227042852 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t4227042852 * L_9 = V_1;
PrefabToDataModelU5BU5D_t2309926077* L_10 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
PrefabToDataModel_t1762303220 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
PrefabToDataModel_t1762303220 L_14 = ___item0;
NullCheck((EqualityComparer_1_t4227042852 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, PrefabToDataModel_t1762303220 , PrefabToDataModel_t1762303220 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Equals(T,T) */, (EqualityComparer_1_t4227042852 *)L_9, (PrefabToDataModel_t1762303220 )L_13, (PrefabToDataModel_t1762303220 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m1767834817_gshared (List_1_t3234377962 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3234377962 *)__this);
bool L_3 = (( bool (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::CopyTo(T[])
extern "C" void List_1_CopyTo_m938340035_gshared (List_1_t3234377962 * __this, PrefabToDataModelU5BU5D_t2309926077* ___array0, const RuntimeMethod* method)
{
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = ___array0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, PrefabToDataModelU5BU5D_t2309926077*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModelU5BU5D_t2309926077*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m2870566478_gshared (List_1_t3234377962 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m2870566478_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m83321866_gshared (List_1_t3234377962 * __this, int32_t ___index0, PrefabToDataModelU5BU5D_t2309926077* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_4 = ___index0;
PrefabToDataModelU5BU5D_t2309926077* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m2993708502_gshared (List_1_t3234377962 * __this, PrefabToDataModelU5BU5D_t2309926077* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
PrefabToDataModelU5BU5D_t2309926077* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m94624300_gshared (List_1_t3234377962 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_2 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Find(System.Predicate`1<T>)
extern "C" PrefabToDataModel_t1762303220 List_1_Find_m1859503086_gshared (List_1_t3234377962 * __this, Predicate_1_t2587597344 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
PrefabToDataModel_t1762303220 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t2587597344 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t2587597344 * L_1 = ___match0;
PrefabToDataModelU5BU5D_t2309926077* L_2 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
PrefabToDataModel_t1762303220 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t2587597344 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t2587597344 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2587597344 *)L_1, (PrefabToDataModel_t1762303220 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_7 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
PrefabToDataModel_t1762303220 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(PrefabToDataModel_t1762303220 ));
PrefabToDataModel_t1762303220 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m3374904339_gshared (List_1_t3234377962 * __this, Predicate_1_t2587597344 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t2587597344 * L_1 = ___match0;
NullCheck((List_1_t3234377962 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t3234377962 *, int32_t, int32_t, Predicate_1_t2587597344 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t2587597344 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m4127123465_gshared (List_1_t3234377962 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t2587597344 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t2587597344 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t2587597344 * L_10 = ___match2;
PrefabToDataModelU5BU5D_t2309926077* L_11 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
PrefabToDataModel_t1762303220 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t2587597344 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t2587597344 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2587597344 *)L_10, (PrefabToDataModel_t1762303220 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m711587298_gshared (List_1_t3234377962 * __this, Action_1_t1934770815 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m711587298_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t1934770815 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t1934770815 * L_5 = ___action0;
PrefabToDataModelU5BU5D_t2309926077* L_6 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
PrefabToDataModel_t1762303220 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t1934770815 *)L_5);
(( void (*) (Action_1_t1934770815 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t1934770815 *)L_5, (PrefabToDataModel_t1762303220 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::GetEnumerator()
extern "C" Enumerator_t828654543 List_1_GetEnumerator_m3645772189_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
Enumerator_t828654543 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1650153849((&L_0), (List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m3541756498_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
Enumerator_t828654543 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1650153849((&L_0), (List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t828654543 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m4024994856_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
Enumerator_t828654543 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1650153849((&L_0), (List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t828654543 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m290857262_gshared (List_1_t3234377962 * __this, PrefabToDataModel_t1762303220 ___item0, const RuntimeMethod* method)
{
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
PrefabToDataModel_t1762303220 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, PrefabToDataModel_t1762303220 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_0, (PrefabToDataModel_t1762303220 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m4086767263_gshared (List_1_t3234377962 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3234377962 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m2743640724_gshared (List_1_t3234377962 * __this, int32_t ___index0, PrefabToDataModel_t1762303220 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
PrefabToDataModelU5BU5D_t2309926077* L_3 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_7 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_8 = ___index0;
PrefabToDataModelU5BU5D_t2309926077* L_9 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
PrefabToDataModelU5BU5D_t2309926077* L_13 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_14 = ___index0;
PrefabToDataModel_t1762303220 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (PrefabToDataModel_t1762303220 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m711674532_gshared (List_1_t3234377962 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m711674532_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_1, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m138798606_gshared (List_1_t3234377962 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m138798606_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
PrefabToDataModelU5BU5D_t2309926077* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_12 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_13 = ___index0;
PrefabToDataModelU5BU5D_t2309926077* L_14 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t3234377962 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_20 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
PrefabToDataModelU5BU5D_t2309926077* L_21 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
PrefabToDataModelU5BU5D_t2309926077* L_24 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
PrefabToDataModelU5BU5D_t2309926077* L_27 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (PrefabToDataModelU5BU5D_t2309926077*)((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
PrefabToDataModelU5BU5D_t2309926077* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< PrefabToDataModelU5BU5D_t2309926077*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (PrefabToDataModelU5BU5D_t2309926077*)L_33, (int32_t)0);
PrefabToDataModelU5BU5D_t2309926077* L_34 = V_2;
PrefabToDataModelU5BU5D_t2309926077* L_35 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
PrefabToDataModel_t1762303220 L_44 = InterfaceFuncInvoker0< PrefabToDataModel_t1762303220 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_42, (PrefabToDataModel_t1762303220 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Remove(T)
extern "C" bool List_1_Remove_m2036330244_gshared (List_1_t3234377962 * __this, PrefabToDataModel_t1762303220 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
PrefabToDataModel_t1762303220 L_0 = ___item0;
NullCheck((List_1_t3234377962 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m295049584_gshared (List_1_t3234377962 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3234377962 *)__this);
(( bool (*) (List_1_t3234377962 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t3234377962 *)__this, (PrefabToDataModel_t1762303220 )((*(PrefabToDataModel_t1762303220 *)((PrefabToDataModel_t1762303220 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m2139638485_gshared (List_1_t3234377962 * __this, Predicate_1_t2587597344 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t2587597344 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t2587597344 * L_4 = ___match0;
PrefabToDataModelU5BU5D_t2309926077* L_5 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
PrefabToDataModel_t1762303220 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t2587597344 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t2587597344 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2587597344 *)L_4, (PrefabToDataModel_t1762303220 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t2587597344 * L_16 = ___match0;
PrefabToDataModelU5BU5D_t2309926077* L_17 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
PrefabToDataModel_t1762303220 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t2587597344 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t2587597344 *, PrefabToDataModel_t1762303220 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2587597344 *)L_16, (PrefabToDataModel_t1762303220 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_24 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
PrefabToDataModelU5BU5D_t2309926077* L_27 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
PrefabToDataModel_t1762303220 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (PrefabToDataModel_t1762303220 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_34 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m3664535367_gshared (List_1_t3234377962 * __this, int32_t ___index0, const RuntimeMethod* method)
{
PrefabToDataModel_t1762303220 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_5 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_6 = ___index0;
PrefabToDataModelU5BU5D_t2309926077* L_7 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
PrefabToDataModelU5BU5D_t2309926077* L_11 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(PrefabToDataModel_t1762303220 ));
PrefabToDataModel_t1762303220 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (PrefabToDataModel_t1762303220 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2901662648_gshared (List_1_t3234377962 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_10 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
PrefabToDataModelU5BU5D_t2309926077* L_13 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
PrefabToDataModelU5BU5D_t2309926077* L_17 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Reverse()
extern "C" void List_1_Reverse_m432455281_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3234377962 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3234377962 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m1855309549_gshared (List_1_t3234377962 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
PrefabToDataModelU5BU5D_t2309926077* L_5 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Sort()
extern "C" void List_1_Sort_m3783778978_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3234377962 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3234377962 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2260213423_gshared (List_1_t3234377962 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3234377962 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3234377962 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3234377962 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m906828194_gshared (List_1_t3234377962 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
PrefabToDataModelU5BU5D_t2309926077* L_5 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m2193458297_gshared (List_1_t3234377962 * __this, Comparison_1_t1537234399 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t1537234399 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
PrefabToDataModelU5BU5D_t2309926077* L_2 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t1537234399 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, PrefabToDataModelU5BU5D_t2309926077*, int32_t, int32_t, Comparison_1_t1537234399 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (PrefabToDataModelU5BU5D_t2309926077*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t1537234399 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::ToArray()
extern "C" PrefabToDataModelU5BU5D_t2309926077* List_1_ToArray_m2034928376_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
PrefabToDataModelU5BU5D_t2309926077* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (PrefabToDataModelU5BU5D_t2309926077*)((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
PrefabToDataModelU5BU5D_t2309926077* L_1 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
PrefabToDataModelU5BU5D_t2309926077* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
PrefabToDataModelU5BU5D_t2309926077* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::TrimExcess()
extern "C" void List_1_TrimExcess_m3195724826_gshared (List_1_t3234377962 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
PrefabToDataModelU5BU5D_t2309926077* L_0 = (PrefabToDataModelU5BU5D_t2309926077*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3234377962 *)__this);
(( void (*) (List_1_t3234377962 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t3234377962 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Sharing.Spawning.PrefabToDataModel>::.cctor()
extern "C" void List_1__cctor_m4158921737_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t3234377962_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((PrefabToDataModelU5BU5D_t2309926077*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::.ctor()
extern "C" void List_1__ctor_m3009567225_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
InputSourceInfoU5BU5D_t3430263659* L_0 = ((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::.ctor(System.Int32)
extern "C" void List_1__ctor_m2949009371_gshared (List_1_t1572102484 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
InputSourceInfoU5BU5D_t3430263659* L_2 = ((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m3755393346_gshared (List_1_t1572102484 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m3755393346_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
InputSourceInfoU5BU5D_t3430263659* L_6 = ((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
InputSourceInfoU5BU5D_t3430263659* L_9 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< InputSourceInfoU5BU5D_t3430263659*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (InputSourceInfoU5BU5D_t3430263659*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
InputSourceInfoU5BU5D_t3430263659* L_11 = ((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
InputSourceInfo_t100027742 L_15 = InterfaceFuncInvoker0< InputSourceInfo_t100027742 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m2201388501_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
InputSourceInfoU5BU5D_t3430263659* L_0 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1515950751_gshared (List_1_t1572102484 * __this, int32_t ___value0, const RuntimeMethod* method)
{
InputSourceInfoU5BU5D_t3430263659* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (InputSourceInfoU5BU5D_t3430263659*)((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_7 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
InputSourceInfoU5BU5D_t3430263659* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
InputSourceInfoU5BU5D_t3430263659* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
InputSourceInfoU5BU5D_t3430263659* L_11 = ((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Count()
extern "C" int32_t List_1_get_Count_m1412102615_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m2079631647_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m2061543262_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m3248664473_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m1871442475_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m1980815923_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m1980815923_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Item(System.Int32)
extern "C" InputSourceInfo_t100027742 List_1_get_Item_m582231273_gshared (List_1_t1572102484 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
InputSourceInfoU5BU5D_t3430263659* L_2 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_3 = ___index0;
InputSourceInfo_t100027742 L_4 = (( InputSourceInfo_t100027742 (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m1368686335_gshared (List_1_t1572102484 * __this, int32_t ___index0, InputSourceInfo_t100027742 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
InputSourceInfoU5BU5D_t3430263659* L_2 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_3 = ___index0;
InputSourceInfo_t100027742 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (InputSourceInfo_t100027742 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m4125519567_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
InputSourceInfo_t100027742 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(InputSourceInfo_t100027742 ));
InputSourceInfo_t100027742 L_2 = V_0;
InputSourceInfo_t100027742 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m322806957_gshared (List_1_t1572102484 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t1572102484 *)__this);
InputSourceInfo_t100027742 L_1 = (( InputSourceInfo_t100027742 (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
InputSourceInfo_t100027742 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m1790168535_gshared (List_1_t1572102484 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m1790168535_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_1, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Add(T)
extern "C" void List_1_Add_m3514121522_gshared (List_1_t1572102484 * __this, InputSourceInfo_t100027742 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
InputSourceInfoU5BU5D_t3430263659* L_1 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
InputSourceInfo_t100027742 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (InputSourceInfo_t100027742 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m1624506343_gshared (List_1_t1572102484 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m1624506343_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t1572102484 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t1572102484 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m2074830849_gshared (List_1_t1572102484 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t1312604029 * List_1_AsReadOnly_m423695345_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t1312604029 * L_0 = (ReadOnlyCollection_1_t1312604029 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t1312604029 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m840295618_gshared (List_1_t1572102484 * __this, int32_t ___index0, int32_t ___count1, InputSourceInfo_t100027742 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
InputSourceInfoU5BU5D_t3430263659* L_5 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
InputSourceInfo_t100027742 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, int32_t, int32_t, InputSourceInfo_t100027742 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_5, (int32_t)L_6, (int32_t)L_7, (InputSourceInfo_t100027742 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m972141440_gshared (List_1_t1572102484 * __this, InputSourceInfo_t100027742 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1572102484 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1572102484 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
InputSourceInfo_t100027742 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t1572102484 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1572102484 *, int32_t, int32_t, InputSourceInfo_t100027742 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)0, (int32_t)L_0, (InputSourceInfo_t100027742 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Clear()
extern "C" void List_1_Clear_m1749083986_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_1 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Contains(T)
extern "C" bool List_1_Contains_m718802682_gshared (List_1_t1572102484 * __this, InputSourceInfo_t100027742 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t2564767374 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
InputSourceInfoU5BU5D_t3430263659* L_1 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
InputSourceInfo_t100027742 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t2564767374 * L_8 = (( EqualityComparer_1_t2564767374 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t2564767374 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t2564767374 * L_9 = V_1;
InputSourceInfoU5BU5D_t3430263659* L_10 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
InputSourceInfo_t100027742 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
InputSourceInfo_t100027742 L_14 = ___item0;
NullCheck((EqualityComparer_1_t2564767374 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, InputSourceInfo_t100027742 , InputSourceInfo_t100027742 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Equals(T,T) */, (EqualityComparer_1_t2564767374 *)L_9, (InputSourceInfo_t100027742 )L_13, (InputSourceInfo_t100027742 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m566428473_gshared (List_1_t1572102484 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1572102484 *)__this);
bool L_3 = (( bool (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::CopyTo(T[])
extern "C" void List_1_CopyTo_m2578714023_gshared (List_1_t1572102484 * __this, InputSourceInfoU5BU5D_t3430263659* ___array0, const RuntimeMethod* method)
{
{
InputSourceInfoU5BU5D_t3430263659* L_0 = ___array0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, InputSourceInfoU5BU5D_t3430263659*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfoU5BU5D_t3430263659*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m3310066590_gshared (List_1_t1572102484 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m3310066590_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m2508589841_gshared (List_1_t1572102484 * __this, int32_t ___index0, InputSourceInfoU5BU5D_t3430263659* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_4 = ___index0;
InputSourceInfoU5BU5D_t3430263659* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m1294022460_gshared (List_1_t1572102484 * __this, InputSourceInfoU5BU5D_t3430263659* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
InputSourceInfoU5BU5D_t3430263659* L_0 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
InputSourceInfoU5BU5D_t3430263659* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m37596937_gshared (List_1_t1572102484 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
InputSourceInfoU5BU5D_t3430263659* L_0 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_2 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Find(System.Predicate`1<T>)
extern "C" InputSourceInfo_t100027742 List_1_Find_m3862187645_gshared (List_1_t1572102484 * __this, Predicate_1_t925321866 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
InputSourceInfo_t100027742 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t925321866 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t925321866 * L_1 = ___match0;
InputSourceInfoU5BU5D_t3430263659* L_2 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
InputSourceInfo_t100027742 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t925321866 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t925321866 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t925321866 *)L_1, (InputSourceInfo_t100027742 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_7 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
InputSourceInfo_t100027742 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(InputSourceInfo_t100027742 ));
InputSourceInfo_t100027742 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m4005870353_gshared (List_1_t1572102484 * __this, Predicate_1_t925321866 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t925321866 * L_1 = ___match0;
NullCheck((List_1_t1572102484 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t1572102484 *, int32_t, int32_t, Predicate_1_t925321866 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t925321866 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2291052193_gshared (List_1_t1572102484 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t925321866 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t925321866 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t925321866 * L_10 = ___match2;
InputSourceInfoU5BU5D_t3430263659* L_11 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
InputSourceInfo_t100027742 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t925321866 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t925321866 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t925321866 *)L_10, (InputSourceInfo_t100027742 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m2678719414_gshared (List_1_t1572102484 * __this, Action_1_t272495337 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m2678719414_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t272495337 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t272495337 * L_5 = ___action0;
InputSourceInfoU5BU5D_t3430263659* L_6 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
InputSourceInfo_t100027742 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t272495337 *)L_5);
(( void (*) (Action_1_t272495337 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t272495337 *)L_5, (InputSourceInfo_t100027742 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::GetEnumerator()
extern "C" Enumerator_t3461346361 List_1_GetEnumerator_m2069912651_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3461346361 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3137077068((&L_0), (List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m2593159032_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3461346361 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3137077068((&L_0), (List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3461346361 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m1445919298_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3461346361 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3137077068((&L_0), (List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3461346361 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m427796527_gshared (List_1_t1572102484 * __this, InputSourceInfo_t100027742 ___item0, const RuntimeMethod* method)
{
{
InputSourceInfoU5BU5D_t3430263659* L_0 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
InputSourceInfo_t100027742 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, InputSourceInfo_t100027742 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_0, (InputSourceInfo_t100027742 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m1846565363_gshared (List_1_t1572102484 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1572102484 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m3672505390_gshared (List_1_t1572102484 * __this, int32_t ___index0, InputSourceInfo_t100027742 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
InputSourceInfoU5BU5D_t3430263659* L_3 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_7 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_8 = ___index0;
InputSourceInfoU5BU5D_t3430263659* L_9 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
InputSourceInfoU5BU5D_t3430263659* L_13 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_14 = ___index0;
InputSourceInfo_t100027742 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (InputSourceInfo_t100027742 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m1831843688_gshared (List_1_t1572102484 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m1831843688_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_1, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m1537432904_gshared (List_1_t1572102484 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m1537432904_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
InputSourceInfoU5BU5D_t3430263659* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_12 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_13 = ___index0;
InputSourceInfoU5BU5D_t3430263659* L_14 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t1572102484 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_20 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
InputSourceInfoU5BU5D_t3430263659* L_21 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
InputSourceInfoU5BU5D_t3430263659* L_24 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
InputSourceInfoU5BU5D_t3430263659* L_27 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (InputSourceInfoU5BU5D_t3430263659*)((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
InputSourceInfoU5BU5D_t3430263659* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< InputSourceInfoU5BU5D_t3430263659*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (InputSourceInfoU5BU5D_t3430263659*)L_33, (int32_t)0);
InputSourceInfoU5BU5D_t3430263659* L_34 = V_2;
InputSourceInfoU5BU5D_t3430263659* L_35 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
InputSourceInfo_t100027742 L_44 = InterfaceFuncInvoker0< InputSourceInfo_t100027742 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_42, (InputSourceInfo_t100027742 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Remove(T)
extern "C" bool List_1_Remove_m3612155638_gshared (List_1_t1572102484 * __this, InputSourceInfo_t100027742 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
InputSourceInfo_t100027742 L_0 = ___item0;
NullCheck((List_1_t1572102484 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m108539614_gshared (List_1_t1572102484 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1572102484 *)__this);
(( bool (*) (List_1_t1572102484 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t1572102484 *)__this, (InputSourceInfo_t100027742 )((*(InputSourceInfo_t100027742 *)((InputSourceInfo_t100027742 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m4276073807_gshared (List_1_t1572102484 * __this, Predicate_1_t925321866 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t925321866 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t925321866 * L_4 = ___match0;
InputSourceInfoU5BU5D_t3430263659* L_5 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
InputSourceInfo_t100027742 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t925321866 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t925321866 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t925321866 *)L_4, (InputSourceInfo_t100027742 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t925321866 * L_16 = ___match0;
InputSourceInfoU5BU5D_t3430263659* L_17 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
InputSourceInfo_t100027742 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t925321866 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t925321866 *, InputSourceInfo_t100027742 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t925321866 *)L_16, (InputSourceInfo_t100027742 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_24 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
InputSourceInfoU5BU5D_t3430263659* L_27 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
InputSourceInfo_t100027742 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (InputSourceInfo_t100027742 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_34 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m470531740_gshared (List_1_t1572102484 * __this, int32_t ___index0, const RuntimeMethod* method)
{
InputSourceInfo_t100027742 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_5 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_6 = ___index0;
InputSourceInfoU5BU5D_t3430263659* L_7 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
InputSourceInfoU5BU5D_t3430263659* L_11 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(InputSourceInfo_t100027742 ));
InputSourceInfo_t100027742 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (InputSourceInfo_t100027742 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2880359953_gshared (List_1_t1572102484 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_10 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
InputSourceInfoU5BU5D_t3430263659* L_13 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
InputSourceInfoU5BU5D_t3430263659* L_17 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Reverse()
extern "C" void List_1_Reverse_m2381488188_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1572102484 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1572102484 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m1559897711_gshared (List_1_t1572102484 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
InputSourceInfoU5BU5D_t3430263659* L_5 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Sort()
extern "C" void List_1_Sort_m2557465491_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1572102484 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1572102484 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m930095226_gshared (List_1_t1572102484 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1572102484 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1572102484 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1572102484 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m1837193362_gshared (List_1_t1572102484 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
InputSourceInfoU5BU5D_t3430263659* L_5 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m1432583754_gshared (List_1_t1572102484 * __this, Comparison_1_t4169926217 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t4169926217 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
InputSourceInfoU5BU5D_t3430263659* L_2 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t4169926217 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, InputSourceInfoU5BU5D_t3430263659*, int32_t, int32_t, Comparison_1_t4169926217 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (InputSourceInfoU5BU5D_t3430263659*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t4169926217 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::ToArray()
extern "C" InputSourceInfoU5BU5D_t3430263659* List_1_ToArray_m1870593646_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
InputSourceInfoU5BU5D_t3430263659* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (InputSourceInfoU5BU5D_t3430263659*)((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
InputSourceInfoU5BU5D_t3430263659* L_1 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
InputSourceInfoU5BU5D_t3430263659* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
InputSourceInfoU5BU5D_t3430263659* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::TrimExcess()
extern "C" void List_1_TrimExcess_m574073262_gshared (List_1_t1572102484 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
InputSourceInfoU5BU5D_t3430263659* L_0 = (InputSourceInfoU5BU5D_t3430263659*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1572102484 *)__this);
(( void (*) (List_1_t1572102484 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1572102484 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.InputSourceInfo>::.cctor()
extern "C" void List_1__cctor_m2294961982_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t1572102484_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((InputSourceInfoU5BU5D_t3430263659*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.ctor()
extern "C" void List_1__ctor_m389926716_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyCodeEventPairU5BU5D_t2855334591* L_0 = ((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.ctor(System.Int32)
extern "C" void List_1__ctor_m276875647_gshared (List_1_t2982180240 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyCodeEventPairU5BU5D_t2855334591* L_2 = ((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m4156487288_gshared (List_1_t2982180240 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m4156487288_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyCodeEventPairU5BU5D_t2855334591* L_6 = ((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
KeyCodeEventPairU5BU5D_t2855334591* L_9 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< KeyCodeEventPairU5BU5D_t2855334591*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (KeyCodeEventPairU5BU5D_t2855334591*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyCodeEventPairU5BU5D_t2855334591* L_11 = ((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
KeyCodeEventPair_t1510105498 L_15 = InterfaceFuncInvoker0< KeyCodeEventPair_t1510105498 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m763126644_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1185152334_gshared (List_1_t2982180240 * __this, int32_t ___value0, const RuntimeMethod* method)
{
KeyCodeEventPairU5BU5D_t2855334591* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (KeyCodeEventPairU5BU5D_t2855334591*)((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_7 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
KeyCodeEventPairU5BU5D_t2855334591* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
KeyCodeEventPairU5BU5D_t2855334591* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
KeyCodeEventPairU5BU5D_t2855334591* L_11 = ((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Count()
extern "C" int32_t List_1_get_Count_m2827388848_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m2778001101_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1781097382_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m3923315595_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m4065974644_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m1414840202_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m1414840202_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Item(System.Int32)
extern "C" KeyCodeEventPair_t1510105498 List_1_get_Item_m743403342_gshared (List_1_t2982180240 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
KeyCodeEventPairU5BU5D_t2855334591* L_2 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_3 = ___index0;
KeyCodeEventPair_t1510105498 L_4 = (( KeyCodeEventPair_t1510105498 (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m3189551666_gshared (List_1_t2982180240 * __this, int32_t ___index0, KeyCodeEventPair_t1510105498 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
KeyCodeEventPairU5BU5D_t2855334591* L_2 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_3 = ___index0;
KeyCodeEventPair_t1510105498 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (KeyCodeEventPair_t1510105498 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m1731739171_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
KeyCodeEventPair_t1510105498 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(KeyCodeEventPair_t1510105498 ));
KeyCodeEventPair_t1510105498 L_2 = V_0;
KeyCodeEventPair_t1510105498 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m1869336219_gshared (List_1_t2982180240 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t2982180240 *)__this);
KeyCodeEventPair_t1510105498 L_1 = (( KeyCodeEventPair_t1510105498 (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
KeyCodeEventPair_t1510105498 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m899098186_gshared (List_1_t2982180240 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m899098186_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_1, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Add(T)
extern "C" void List_1_Add_m4126142576_gshared (List_1_t2982180240 * __this, KeyCodeEventPair_t1510105498 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
KeyCodeEventPairU5BU5D_t2855334591* L_1 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
KeyCodeEventPair_t1510105498 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (KeyCodeEventPair_t1510105498 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m754835530_gshared (List_1_t2982180240 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m754835530_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t2982180240 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t2982180240 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m231884865_gshared (List_1_t2982180240 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t2722681785 * List_1_AsReadOnly_m2275011561_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t2722681785 * L_0 = (ReadOnlyCollection_1_t2722681785 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t2722681785 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m3718864849_gshared (List_1_t2982180240 * __this, int32_t ___index0, int32_t ___count1, KeyCodeEventPair_t1510105498 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
KeyCodeEventPairU5BU5D_t2855334591* L_5 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
KeyCodeEventPair_t1510105498 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, int32_t, KeyCodeEventPair_t1510105498 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_5, (int32_t)L_6, (int32_t)L_7, (KeyCodeEventPair_t1510105498 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m2188417566_gshared (List_1_t2982180240 * __this, KeyCodeEventPair_t1510105498 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2982180240 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2982180240 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
KeyCodeEventPair_t1510105498 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t2982180240 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t2982180240 *, int32_t, int32_t, KeyCodeEventPair_t1510105498 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)0, (int32_t)L_0, (KeyCodeEventPair_t1510105498 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Clear()
extern "C" void List_1_Clear_m2398807523_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_1 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Contains(T)
extern "C" bool List_1_Contains_m1839556473_gshared (List_1_t2982180240 * __this, KeyCodeEventPair_t1510105498 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t3974845130 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
KeyCodeEventPairU5BU5D_t2855334591* L_1 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
KeyCodeEventPair_t1510105498 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t3974845130 * L_8 = (( EqualityComparer_1_t3974845130 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t3974845130 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t3974845130 * L_9 = V_1;
KeyCodeEventPairU5BU5D_t2855334591* L_10 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
KeyCodeEventPair_t1510105498 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
KeyCodeEventPair_t1510105498 L_14 = ___item0;
NullCheck((EqualityComparer_1_t3974845130 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, KeyCodeEventPair_t1510105498 , KeyCodeEventPair_t1510105498 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Equals(T,T) */, (EqualityComparer_1_t3974845130 *)L_9, (KeyCodeEventPair_t1510105498 )L_13, (KeyCodeEventPair_t1510105498 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m3591965246_gshared (List_1_t2982180240 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2982180240 *)__this);
bool L_3 = (( bool (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::CopyTo(T[])
extern "C" void List_1_CopyTo_m3424781542_gshared (List_1_t2982180240 * __this, KeyCodeEventPairU5BU5D_t2855334591* ___array0, const RuntimeMethod* method)
{
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = ___array0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPairU5BU5D_t2855334591*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m4151435992_gshared (List_1_t2982180240 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m4151435992_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m4101738567_gshared (List_1_t2982180240 * __this, int32_t ___index0, KeyCodeEventPairU5BU5D_t2855334591* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_4 = ___index0;
KeyCodeEventPairU5BU5D_t2855334591* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m1300343608_gshared (List_1_t2982180240 * __this, KeyCodeEventPairU5BU5D_t2855334591* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
KeyCodeEventPairU5BU5D_t2855334591* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m3083714662_gshared (List_1_t2982180240 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_2 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Find(System.Predicate`1<T>)
extern "C" KeyCodeEventPair_t1510105498 List_1_Find_m1190566704_gshared (List_1_t2982180240 * __this, Predicate_1_t2335399622 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
KeyCodeEventPair_t1510105498 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t2335399622 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t2335399622 * L_1 = ___match0;
KeyCodeEventPairU5BU5D_t2855334591* L_2 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
KeyCodeEventPair_t1510105498 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t2335399622 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t2335399622 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2335399622 *)L_1, (KeyCodeEventPair_t1510105498 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_7 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
KeyCodeEventPair_t1510105498 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(KeyCodeEventPair_t1510105498 ));
KeyCodeEventPair_t1510105498 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m145881685_gshared (List_1_t2982180240 * __this, Predicate_1_t2335399622 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t2335399622 * L_1 = ___match0;
NullCheck((List_1_t2982180240 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t2982180240 *, int32_t, int32_t, Predicate_1_t2335399622 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t2335399622 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2330868152_gshared (List_1_t2982180240 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t2335399622 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t2335399622 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t2335399622 * L_10 = ___match2;
KeyCodeEventPairU5BU5D_t2855334591* L_11 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
KeyCodeEventPair_t1510105498 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t2335399622 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t2335399622 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2335399622 *)L_10, (KeyCodeEventPair_t1510105498 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m4260335079_gshared (List_1_t2982180240 * __this, Action_1_t1682573093 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m4260335079_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t1682573093 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t1682573093 * L_5 = ___action0;
KeyCodeEventPairU5BU5D_t2855334591* L_6 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
KeyCodeEventPair_t1510105498 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t1682573093 *)L_5);
(( void (*) (Action_1_t1682573093 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t1682573093 *)L_5, (KeyCodeEventPair_t1510105498 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::GetEnumerator()
extern "C" Enumerator_t576456821 List_1_GetEnumerator_m754643058_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
Enumerator_t576456821 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m574521130((&L_0), (List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m14988392_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
Enumerator_t576456821 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m574521130((&L_0), (List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t576456821 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m3418612014_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
Enumerator_t576456821 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m574521130((&L_0), (List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t576456821 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m2613612340_gshared (List_1_t2982180240 * __this, KeyCodeEventPair_t1510105498 ___item0, const RuntimeMethod* method)
{
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
KeyCodeEventPair_t1510105498 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, KeyCodeEventPair_t1510105498 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_0, (KeyCodeEventPair_t1510105498 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m2311377869_gshared (List_1_t2982180240 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2982180240 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m2672528026_gshared (List_1_t2982180240 * __this, int32_t ___index0, KeyCodeEventPair_t1510105498 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
KeyCodeEventPairU5BU5D_t2855334591* L_3 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_7 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_8 = ___index0;
KeyCodeEventPairU5BU5D_t2855334591* L_9 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
KeyCodeEventPairU5BU5D_t2855334591* L_13 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_14 = ___index0;
KeyCodeEventPair_t1510105498 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (KeyCodeEventPair_t1510105498 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m4212849325_gshared (List_1_t2982180240 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m4212849325_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_1, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m352360262_gshared (List_1_t2982180240 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m352360262_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
KeyCodeEventPairU5BU5D_t2855334591* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_12 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_13 = ___index0;
KeyCodeEventPairU5BU5D_t2855334591* L_14 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t2982180240 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_20 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
KeyCodeEventPairU5BU5D_t2855334591* L_21 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
KeyCodeEventPairU5BU5D_t2855334591* L_24 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
KeyCodeEventPairU5BU5D_t2855334591* L_27 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (KeyCodeEventPairU5BU5D_t2855334591*)((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
KeyCodeEventPairU5BU5D_t2855334591* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< KeyCodeEventPairU5BU5D_t2855334591*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (KeyCodeEventPairU5BU5D_t2855334591*)L_33, (int32_t)0);
KeyCodeEventPairU5BU5D_t2855334591* L_34 = V_2;
KeyCodeEventPairU5BU5D_t2855334591* L_35 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
KeyCodeEventPair_t1510105498 L_44 = InterfaceFuncInvoker0< KeyCodeEventPair_t1510105498 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_42, (KeyCodeEventPair_t1510105498 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Remove(T)
extern "C" bool List_1_Remove_m2143464322_gshared (List_1_t2982180240 * __this, KeyCodeEventPair_t1510105498 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
KeyCodeEventPair_t1510105498 L_0 = ___item0;
NullCheck((List_1_t2982180240 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m1458356514_gshared (List_1_t2982180240 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2982180240 *)__this);
(( bool (*) (List_1_t2982180240 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t2982180240 *)__this, (KeyCodeEventPair_t1510105498 )((*(KeyCodeEventPair_t1510105498 *)((KeyCodeEventPair_t1510105498 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m1962193622_gshared (List_1_t2982180240 * __this, Predicate_1_t2335399622 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t2335399622 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t2335399622 * L_4 = ___match0;
KeyCodeEventPairU5BU5D_t2855334591* L_5 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
KeyCodeEventPair_t1510105498 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t2335399622 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t2335399622 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2335399622 *)L_4, (KeyCodeEventPair_t1510105498 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t2335399622 * L_16 = ___match0;
KeyCodeEventPairU5BU5D_t2855334591* L_17 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
KeyCodeEventPair_t1510105498 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t2335399622 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t2335399622 *, KeyCodeEventPair_t1510105498 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2335399622 *)L_16, (KeyCodeEventPair_t1510105498 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_24 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
KeyCodeEventPairU5BU5D_t2855334591* L_27 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
KeyCodeEventPair_t1510105498 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (KeyCodeEventPair_t1510105498 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_34 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m470049284_gshared (List_1_t2982180240 * __this, int32_t ___index0, const RuntimeMethod* method)
{
KeyCodeEventPair_t1510105498 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_5 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_6 = ___index0;
KeyCodeEventPairU5BU5D_t2855334591* L_7 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
KeyCodeEventPairU5BU5D_t2855334591* L_11 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(KeyCodeEventPair_t1510105498 ));
KeyCodeEventPair_t1510105498 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (KeyCodeEventPair_t1510105498 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m1880890568_gshared (List_1_t2982180240 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_10 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
KeyCodeEventPairU5BU5D_t2855334591* L_13 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
KeyCodeEventPairU5BU5D_t2855334591* L_17 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Reverse()
extern "C" void List_1_Reverse_m508256616_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2982180240 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2982180240 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m573907360_gshared (List_1_t2982180240 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
KeyCodeEventPairU5BU5D_t2855334591* L_5 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Sort()
extern "C" void List_1_Sort_m2266519692_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2982180240 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2982180240 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2747586818_gshared (List_1_t2982180240 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2982180240 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2982180240 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2982180240 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3058145216_gshared (List_1_t2982180240 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
KeyCodeEventPairU5BU5D_t2855334591* L_5 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m3662492511_gshared (List_1_t2982180240 * __this, Comparison_1_t1285036677 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t1285036677 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
KeyCodeEventPairU5BU5D_t2855334591* L_2 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t1285036677 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, KeyCodeEventPairU5BU5D_t2855334591*, int32_t, int32_t, Comparison_1_t1285036677 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (KeyCodeEventPairU5BU5D_t2855334591*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t1285036677 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::ToArray()
extern "C" KeyCodeEventPairU5BU5D_t2855334591* List_1_ToArray_m1332456757_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
KeyCodeEventPairU5BU5D_t2855334591* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (KeyCodeEventPairU5BU5D_t2855334591*)((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
KeyCodeEventPairU5BU5D_t2855334591* L_1 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
KeyCodeEventPairU5BU5D_t2855334591* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
KeyCodeEventPairU5BU5D_t2855334591* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::TrimExcess()
extern "C" void List_1_TrimExcess_m633070502_gshared (List_1_t2982180240 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
KeyCodeEventPairU5BU5D_t2855334591* L_0 = (KeyCodeEventPairU5BU5D_t2855334591*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2982180240 *)__this);
(( void (*) (List_1_t2982180240 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t2982180240 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.InputModule.KeyboardManager/KeyCodeEventPair>::.cctor()
extern "C" void List_1__cctor_m2006341828_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t2982180240_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((KeyCodeEventPairU5BU5D_t2855334591*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::.ctor()
extern "C" void List_1__ctor_m4036424826_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultHelperU5BU5D_t2017648553* L_0 = ((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::.ctor(System.Int32)
extern "C" void List_1__ctor_m3967101016_gshared (List_1_t3480059758 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultHelperU5BU5D_t2017648553* L_2 = ((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m2246940342_gshared (List_1_t3480059758 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m2246940342_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.RaycastResultHelper>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultHelperU5BU5D_t2017648553* L_6 = ((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
RaycastResultHelperU5BU5D_t2017648553* L_9 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< RaycastResultHelperU5BU5D_t2017648553*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.RaycastResultHelper>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (RaycastResultHelperU5BU5D_t2017648553*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultHelperU5BU5D_t2017648553* L_11 = ((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.RaycastResultHelper>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
RaycastResultHelper_t2007985016 L_15 = InterfaceFuncInvoker0< RaycastResultHelper_t2007985016 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.RaycastResultHelper>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m4095100834_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1280345210_gshared (List_1_t3480059758 * __this, int32_t ___value0, const RuntimeMethod* method)
{
RaycastResultHelperU5BU5D_t2017648553* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (RaycastResultHelperU5BU5D_t2017648553*)((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_7 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RaycastResultHelperU5BU5D_t2017648553* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
RaycastResultHelperU5BU5D_t2017648553* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
RaycastResultHelperU5BU5D_t2017648553* L_11 = ((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::get_Count()
extern "C" int32_t List_1_get_Count_m2666253383_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m2185276821_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1400437735_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2699779932_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m1452025767_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m563345176_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m563345176_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::get_Item(System.Int32)
extern "C" RaycastResultHelper_t2007985016 List_1_get_Item_m2422241574_gshared (List_1_t3480059758 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
RaycastResultHelperU5BU5D_t2017648553* L_2 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_3 = ___index0;
RaycastResultHelper_t2007985016 L_4 = (( RaycastResultHelper_t2007985016 (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m3935366321_gshared (List_1_t3480059758 * __this, int32_t ___index0, RaycastResultHelper_t2007985016 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
RaycastResultHelperU5BU5D_t2017648553* L_2 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_3 = ___index0;
RaycastResultHelper_t2007985016 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (RaycastResultHelper_t2007985016 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m2234739350_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
RaycastResultHelper_t2007985016 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(RaycastResultHelper_t2007985016 ));
RaycastResultHelper_t2007985016 L_2 = V_0;
RaycastResultHelper_t2007985016 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m1429389237_gshared (List_1_t3480059758 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t3480059758 *)__this);
RaycastResultHelper_t2007985016 L_1 = (( RaycastResultHelper_t2007985016 (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
RaycastResultHelper_t2007985016 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m201783707_gshared (List_1_t3480059758 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m201783707_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_1, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Add(T)
extern "C" void List_1_Add_m579567658_gshared (List_1_t3480059758 * __this, RaycastResultHelper_t2007985016 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
RaycastResultHelperU5BU5D_t2017648553* L_1 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
RaycastResultHelper_t2007985016 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (RaycastResultHelper_t2007985016 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m4177893195_gshared (List_1_t3480059758 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m4177893195_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t3480059758 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t3480059758 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m2176404045_gshared (List_1_t3480059758 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t3220561303 * List_1_AsReadOnly_m832405349_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t3220561303 * L_0 = (ReadOnlyCollection_1_t3220561303 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t3220561303 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m1271748215_gshared (List_1_t3480059758 * __this, int32_t ___index0, int32_t ___count1, RaycastResultHelper_t2007985016 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
RaycastResultHelperU5BU5D_t2017648553* L_5 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RaycastResultHelper_t2007985016 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, int32_t, int32_t, RaycastResultHelper_t2007985016 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_5, (int32_t)L_6, (int32_t)L_7, (RaycastResultHelper_t2007985016 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m1694497543_gshared (List_1_t3480059758 * __this, RaycastResultHelper_t2007985016 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3480059758 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3480059758 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RaycastResultHelper_t2007985016 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t3480059758 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t3480059758 *, int32_t, int32_t, RaycastResultHelper_t2007985016 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)0, (int32_t)L_0, (RaycastResultHelper_t2007985016 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Clear()
extern "C" void List_1_Clear_m2137906919_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_1 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Contains(T)
extern "C" bool List_1_Contains_m2551313100_gshared (List_1_t3480059758 * __this, RaycastResultHelper_t2007985016 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t177757352 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
RaycastResultHelperU5BU5D_t2017648553* L_1 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
RaycastResultHelper_t2007985016 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t177757352 * L_8 = (( EqualityComparer_1_t177757352 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t177757352 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t177757352 * L_9 = V_1;
RaycastResultHelperU5BU5D_t2017648553* L_10 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
RaycastResultHelper_t2007985016 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
RaycastResultHelper_t2007985016 L_14 = ___item0;
NullCheck((EqualityComparer_1_t177757352 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, RaycastResultHelper_t2007985016 , RaycastResultHelper_t2007985016 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.RaycastResultHelper>::Equals(T,T) */, (EqualityComparer_1_t177757352 *)L_9, (RaycastResultHelper_t2007985016 )L_13, (RaycastResultHelper_t2007985016 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m1213958243_gshared (List_1_t3480059758 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3480059758 *)__this);
bool L_3 = (( bool (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::CopyTo(T[])
extern "C" void List_1_CopyTo_m937305778_gshared (List_1_t3480059758 * __this, RaycastResultHelperU5BU5D_t2017648553* ___array0, const RuntimeMethod* method)
{
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = ___array0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, RaycastResultHelperU5BU5D_t2017648553*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelperU5BU5D_t2017648553*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m3019616021_gshared (List_1_t3480059758 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m3019616021_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m3968622411_gshared (List_1_t3480059758 * __this, int32_t ___index0, RaycastResultHelperU5BU5D_t2017648553* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_4 = ___index0;
RaycastResultHelperU5BU5D_t2017648553* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m3659685129_gshared (List_1_t3480059758 * __this, RaycastResultHelperU5BU5D_t2017648553* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RaycastResultHelperU5BU5D_t2017648553* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m3370093918_gshared (List_1_t3480059758 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_2 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Find(System.Predicate`1<T>)
extern "C" RaycastResultHelper_t2007985016 List_1_Find_m1682805145_gshared (List_1_t3480059758 * __this, Predicate_1_t2833279140 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
RaycastResultHelper_t2007985016 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t2833279140 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t2833279140 * L_1 = ___match0;
RaycastResultHelperU5BU5D_t2017648553* L_2 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
RaycastResultHelper_t2007985016 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t2833279140 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t2833279140 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2833279140 *)L_1, (RaycastResultHelper_t2007985016 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_7 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
RaycastResultHelper_t2007985016 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(RaycastResultHelper_t2007985016 ));
RaycastResultHelper_t2007985016 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m1359511180_gshared (List_1_t3480059758 * __this, Predicate_1_t2833279140 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t2833279140 * L_1 = ___match0;
NullCheck((List_1_t3480059758 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t3480059758 *, int32_t, int32_t, Predicate_1_t2833279140 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t2833279140 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m3921305288_gshared (List_1_t3480059758 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t2833279140 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t2833279140 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t2833279140 * L_10 = ___match2;
RaycastResultHelperU5BU5D_t2017648553* L_11 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
RaycastResultHelper_t2007985016 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t2833279140 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t2833279140 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2833279140 *)L_10, (RaycastResultHelper_t2007985016 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m2307177620_gshared (List_1_t3480059758 * __this, Action_1_t2180452611 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m2307177620_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t2180452611 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t2180452611 * L_5 = ___action0;
RaycastResultHelperU5BU5D_t2017648553* L_6 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
RaycastResultHelper_t2007985016 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t2180452611 *)L_5);
(( void (*) (Action_1_t2180452611 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t2180452611 *)L_5, (RaycastResultHelper_t2007985016 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::GetEnumerator()
extern "C" Enumerator_t1074336339 List_1_GetEnumerator_m3322665047_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1074336339 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2470515090((&L_0), (List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m1838997052_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1074336339 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2470515090((&L_0), (List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1074336339 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m425783904_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1074336339 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2470515090((&L_0), (List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1074336339 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m3212962354_gshared (List_1_t3480059758 * __this, RaycastResultHelper_t2007985016 ___item0, const RuntimeMethod* method)
{
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RaycastResultHelper_t2007985016 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, RaycastResultHelper_t2007985016 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_0, (RaycastResultHelper_t2007985016 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m491764814_gshared (List_1_t3480059758 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3480059758 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m2218039782_gshared (List_1_t3480059758 * __this, int32_t ___index0, RaycastResultHelper_t2007985016 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
RaycastResultHelperU5BU5D_t2017648553* L_3 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_7 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_8 = ___index0;
RaycastResultHelperU5BU5D_t2017648553* L_9 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
RaycastResultHelperU5BU5D_t2017648553* L_13 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_14 = ___index0;
RaycastResultHelper_t2007985016 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (RaycastResultHelper_t2007985016 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m3253950777_gshared (List_1_t3480059758 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m3253950777_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_1, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m699855753_gshared (List_1_t3480059758 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m699855753_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RaycastResultHelperU5BU5D_t2017648553* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.RaycastResultHelper>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_12 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_13 = ___index0;
RaycastResultHelperU5BU5D_t2017648553* L_14 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t3480059758 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_20 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RaycastResultHelperU5BU5D_t2017648553* L_21 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
RaycastResultHelperU5BU5D_t2017648553* L_24 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
RaycastResultHelperU5BU5D_t2017648553* L_27 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (RaycastResultHelperU5BU5D_t2017648553*)((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
RaycastResultHelperU5BU5D_t2017648553* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< RaycastResultHelperU5BU5D_t2017648553*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.RaycastResultHelper>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (RaycastResultHelperU5BU5D_t2017648553*)L_33, (int32_t)0);
RaycastResultHelperU5BU5D_t2017648553* L_34 = V_2;
RaycastResultHelperU5BU5D_t2017648553* L_35 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.RaycastResultHelper>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
RaycastResultHelper_t2007985016 L_44 = InterfaceFuncInvoker0< RaycastResultHelper_t2007985016 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.RaycastResultHelper>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_42, (RaycastResultHelper_t2007985016 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Remove(T)
extern "C" bool List_1_Remove_m2863968425_gshared (List_1_t3480059758 * __this, RaycastResultHelper_t2007985016 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RaycastResultHelper_t2007985016 L_0 = ___item0;
NullCheck((List_1_t3480059758 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m1090536403_gshared (List_1_t3480059758 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t3480059758 *)__this);
(( bool (*) (List_1_t3480059758 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t3480059758 *)__this, (RaycastResultHelper_t2007985016 )((*(RaycastResultHelper_t2007985016 *)((RaycastResultHelper_t2007985016 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m2527880086_gshared (List_1_t3480059758 * __this, Predicate_1_t2833279140 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t2833279140 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t2833279140 * L_4 = ___match0;
RaycastResultHelperU5BU5D_t2017648553* L_5 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
RaycastResultHelper_t2007985016 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t2833279140 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t2833279140 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2833279140 *)L_4, (RaycastResultHelper_t2007985016 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t2833279140 * L_16 = ___match0;
RaycastResultHelperU5BU5D_t2017648553* L_17 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
RaycastResultHelper_t2007985016 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t2833279140 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t2833279140 *, RaycastResultHelper_t2007985016 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t2833279140 *)L_16, (RaycastResultHelper_t2007985016 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_24 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
RaycastResultHelperU5BU5D_t2017648553* L_27 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
RaycastResultHelper_t2007985016 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (RaycastResultHelper_t2007985016 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_34 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m325218564_gshared (List_1_t3480059758 * __this, int32_t ___index0, const RuntimeMethod* method)
{
RaycastResultHelper_t2007985016 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_5 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_6 = ___index0;
RaycastResultHelperU5BU5D_t2017648553* L_7 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
RaycastResultHelperU5BU5D_t2017648553* L_11 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(RaycastResultHelper_t2007985016 ));
RaycastResultHelper_t2007985016 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (RaycastResultHelper_t2007985016 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2300447813_gshared (List_1_t3480059758 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_10 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
RaycastResultHelperU5BU5D_t2017648553* L_13 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
RaycastResultHelperU5BU5D_t2017648553* L_17 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Reverse()
extern "C" void List_1_Reverse_m1622480418_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3480059758 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3480059758 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m3853837507_gshared (List_1_t3480059758 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
RaycastResultHelperU5BU5D_t2017648553* L_5 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Sort()
extern "C" void List_1_Sort_m808027574_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3480059758 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3480059758 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2390762315_gshared (List_1_t3480059758 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t3480059758 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t3480059758 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t3480059758 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3487735214_gshared (List_1_t3480059758 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
RaycastResultHelperU5BU5D_t2017648553* L_5 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m3189461662_gshared (List_1_t3480059758 * __this, Comparison_1_t1782916195 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t1782916195 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
RaycastResultHelperU5BU5D_t2017648553* L_2 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t1782916195 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, RaycastResultHelperU5BU5D_t2017648553*, int32_t, int32_t, Comparison_1_t1782916195 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (RaycastResultHelperU5BU5D_t2017648553*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t1782916195 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::ToArray()
extern "C" RaycastResultHelperU5BU5D_t2017648553* List_1_ToArray_m1935952959_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
RaycastResultHelperU5BU5D_t2017648553* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (RaycastResultHelperU5BU5D_t2017648553*)((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
RaycastResultHelperU5BU5D_t2017648553* L_1 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
RaycastResultHelperU5BU5D_t2017648553* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
RaycastResultHelperU5BU5D_t2017648553* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::TrimExcess()
extern "C" void List_1_TrimExcess_m1282610871_gshared (List_1_t3480059758 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
RaycastResultHelperU5BU5D_t2017648553* L_0 = (RaycastResultHelperU5BU5D_t2017648553*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t3480059758 *)__this);
(( void (*) (List_1_t3480059758 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t3480059758 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.RaycastResultHelper>::.cctor()
extern "C" void List_1__cctor_m3007553162_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t3480059758_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((RaycastResultHelperU5BU5D_t2017648553*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.ctor()
extern "C" void List_1__ctor_m2276353164_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t1706847054* L_0 = ((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.ctor(System.Int32)
extern "C" void List_1__ctor_m2353099532_gshared (List_1_t1291522797 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t1706847054* L_2 = ((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m1711917653_gshared (List_1_t1291522797 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m1711917653_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t1706847054* L_6 = ((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
MeshDataU5BU5D_t1706847054* L_9 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< MeshDataU5BU5D_t1706847054*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (MeshDataU5BU5D_t1706847054*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t1706847054* L_11 = ((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
MeshData_t4114415351 L_15 = InterfaceFuncInvoker0< MeshData_t4114415351 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m1148248794_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t1706847054* L_0 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1467681703_gshared (List_1_t1291522797 * __this, int32_t ___value0, const RuntimeMethod* method)
{
MeshDataU5BU5D_t1706847054* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (MeshDataU5BU5D_t1706847054*)((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
MeshDataU5BU5D_t1706847054* L_7 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
MeshDataU5BU5D_t1706847054* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
MeshDataU5BU5D_t1706847054* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t1706847054* L_11 = ((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Count()
extern "C" int32_t List_1_get_Count_m2173699608_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m4114915080_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m2414314180_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2151382033_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m2171461333_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m1297244701_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m1297244701_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Item(System.Int32)
extern "C" MeshData_t4114415351 List_1_get_Item_m4088209271_gshared (List_1_t1291522797 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
MeshDataU5BU5D_t1706847054* L_2 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_3 = ___index0;
MeshData_t4114415351 L_4 = (( MeshData_t4114415351 (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m3048573598_gshared (List_1_t1291522797 * __this, int32_t ___index0, MeshData_t4114415351 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
MeshDataU5BU5D_t1706847054* L_2 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_3 = ___index0;
MeshData_t4114415351 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (MeshData_t4114415351 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m969446874_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
MeshData_t4114415351 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(MeshData_t4114415351 ));
MeshData_t4114415351 L_2 = V_0;
MeshData_t4114415351 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m3780918386_gshared (List_1_t1291522797 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t1291522797 *)__this);
MeshData_t4114415351 L_1 = (( MeshData_t4114415351 (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
MeshData_t4114415351 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m1628372511_gshared (List_1_t1291522797 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m1628372511_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_1, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Add(T)
extern "C" void List_1_Add_m520330246_gshared (List_1_t1291522797 * __this, MeshData_t4114415351 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
MeshDataU5BU5D_t1706847054* L_1 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
MeshData_t4114415351 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (MeshData_t4114415351 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m929782159_gshared (List_1_t1291522797 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m929782159_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t1291522797 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t1291522797 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m3533276492_gshared (List_1_t1291522797 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t1032024342 * List_1_AsReadOnly_m871857832_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t1032024342 * L_0 = (ReadOnlyCollection_1_t1032024342 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t1032024342 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m3952798687_gshared (List_1_t1291522797 * __this, int32_t ___index0, int32_t ___count1, MeshData_t4114415351 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t1706847054* L_5 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
MeshData_t4114415351 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, int32_t, int32_t, MeshData_t4114415351 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_5, (int32_t)L_6, (int32_t)L_7, (MeshData_t4114415351 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m1051194252_gshared (List_1_t1291522797 * __this, MeshData_t4114415351 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1291522797 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1291522797 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
MeshData_t4114415351 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t1291522797 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1291522797 *, int32_t, int32_t, MeshData_t4114415351 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)0, (int32_t)L_0, (MeshData_t4114415351 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Clear()
extern "C" void List_1_Clear_m2383084309_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
MeshDataU5BU5D_t1706847054* L_1 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Contains(T)
extern "C" bool List_1_Contains_m3735918909_gshared (List_1_t1291522797 * __this, MeshData_t4114415351 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t2284187687 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
MeshDataU5BU5D_t1706847054* L_1 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
MeshData_t4114415351 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t2284187687 * L_8 = (( EqualityComparer_1_t2284187687 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t2284187687 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t2284187687 * L_9 = V_1;
MeshDataU5BU5D_t1706847054* L_10 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
MeshData_t4114415351 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
MeshData_t4114415351 L_14 = ___item0;
NullCheck((EqualityComparer_1_t2284187687 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, MeshData_t4114415351 , MeshData_t4114415351 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Equals(T,T) */, (EqualityComparer_1_t2284187687 *)L_9, (MeshData_t4114415351 )L_13, (MeshData_t4114415351 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m993249623_gshared (List_1_t1291522797 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1291522797 *)__this);
bool L_3 = (( bool (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::CopyTo(T[])
extern "C" void List_1_CopyTo_m4125776561_gshared (List_1_t1291522797 * __this, MeshDataU5BU5D_t1706847054* ___array0, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t1706847054* L_0 = ___array0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, MeshDataU5BU5D_t1706847054*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t1291522797 *)__this, (MeshDataU5BU5D_t1706847054*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m3283671419_gshared (List_1_t1291522797 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m3283671419_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m3959174769_gshared (List_1_t1291522797 * __this, int32_t ___index0, MeshDataU5BU5D_t1706847054* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_4 = ___index0;
MeshDataU5BU5D_t1706847054* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m2026301756_gshared (List_1_t1291522797 * __this, MeshDataU5BU5D_t1706847054* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t1706847054* L_0 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
MeshDataU5BU5D_t1706847054* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m812513052_gshared (List_1_t1291522797 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
MeshDataU5BU5D_t1706847054* L_0 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
MeshDataU5BU5D_t1706847054* L_2 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Find(System.Predicate`1<T>)
extern "C" MeshData_t4114415351 List_1_Find_m2090606454_gshared (List_1_t1291522797 * __this, Predicate_1_t644742179 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
MeshData_t4114415351 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t644742179 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t644742179 * L_1 = ___match0;
MeshDataU5BU5D_t1706847054* L_2 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
MeshData_t4114415351 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t644742179 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t644742179 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t644742179 *)L_1, (MeshData_t4114415351 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
MeshDataU5BU5D_t1706847054* L_7 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
MeshData_t4114415351 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(MeshData_t4114415351 ));
MeshData_t4114415351 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m1425846237_gshared (List_1_t1291522797 * __this, Predicate_1_t644742179 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t644742179 * L_1 = ___match0;
NullCheck((List_1_t1291522797 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t1291522797 *, int32_t, int32_t, Predicate_1_t644742179 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t644742179 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m994101015_gshared (List_1_t1291522797 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t644742179 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t644742179 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t644742179 * L_10 = ___match2;
MeshDataU5BU5D_t1706847054* L_11 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
MeshData_t4114415351 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t644742179 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t644742179 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t644742179 *)L_10, (MeshData_t4114415351 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m4016711280_gshared (List_1_t1291522797 * __this, Action_1_t4286882946 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m4016711280_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t4286882946 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t4286882946 * L_5 = ___action0;
MeshDataU5BU5D_t1706847054* L_6 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
MeshData_t4114415351 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t4286882946 *)L_5);
(( void (*) (Action_1_t4286882946 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t4286882946 *)L_5, (MeshData_t4114415351 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::GetEnumerator()
extern "C" Enumerator_t3180766674 List_1_GetEnumerator_m4285357614_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3180766674 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m394146094((&L_0), (List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m2624811955_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3180766674 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m394146094((&L_0), (List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3180766674 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m559432476_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3180766674 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m394146094((&L_0), (List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3180766674 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m1823334677_gshared (List_1_t1291522797 * __this, MeshData_t4114415351 ___item0, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t1706847054* L_0 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
MeshData_t4114415351 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, MeshData_t4114415351 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_0, (MeshData_t4114415351 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m1370647791_gshared (List_1_t1291522797 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1291522797 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m656611463_gshared (List_1_t1291522797 * __this, int32_t ___index0, MeshData_t4114415351 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
MeshDataU5BU5D_t1706847054* L_3 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
MeshDataU5BU5D_t1706847054* L_7 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_8 = ___index0;
MeshDataU5BU5D_t1706847054* L_9 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
MeshDataU5BU5D_t1706847054* L_13 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_14 = ___index0;
MeshData_t4114415351 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (MeshData_t4114415351 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m631911403_gshared (List_1_t1291522797 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m631911403_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_1, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m4040416465_gshared (List_1_t1291522797 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m4040416465_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
MeshDataU5BU5D_t1706847054* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
MeshDataU5BU5D_t1706847054* L_12 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_13 = ___index0;
MeshDataU5BU5D_t1706847054* L_14 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t1291522797 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
MeshDataU5BU5D_t1706847054* L_20 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
MeshDataU5BU5D_t1706847054* L_21 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
MeshDataU5BU5D_t1706847054* L_24 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
MeshDataU5BU5D_t1706847054* L_27 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (MeshDataU5BU5D_t1706847054*)((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
MeshDataU5BU5D_t1706847054* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< MeshDataU5BU5D_t1706847054*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (MeshDataU5BU5D_t1706847054*)L_33, (int32_t)0);
MeshDataU5BU5D_t1706847054* L_34 = V_2;
MeshDataU5BU5D_t1706847054* L_35 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
MeshData_t4114415351 L_44 = InterfaceFuncInvoker0< MeshData_t4114415351 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_42, (MeshData_t4114415351 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Remove(T)
extern "C" bool List_1_Remove_m606874833_gshared (List_1_t1291522797 * __this, MeshData_t4114415351 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
MeshData_t4114415351 L_0 = ___item0;
NullCheck((List_1_t1291522797 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m961065354_gshared (List_1_t1291522797 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1291522797 *)__this);
(( bool (*) (List_1_t1291522797 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t1291522797 *)__this, (MeshData_t4114415351 )((*(MeshData_t4114415351 *)((MeshData_t4114415351 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m1480243821_gshared (List_1_t1291522797 * __this, Predicate_1_t644742179 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t644742179 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t644742179 * L_4 = ___match0;
MeshDataU5BU5D_t1706847054* L_5 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
MeshData_t4114415351 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t644742179 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t644742179 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t644742179 *)L_4, (MeshData_t4114415351 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t644742179 * L_16 = ___match0;
MeshDataU5BU5D_t1706847054* L_17 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
MeshData_t4114415351 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t644742179 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t644742179 *, MeshData_t4114415351 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t644742179 *)L_16, (MeshData_t4114415351 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
MeshDataU5BU5D_t1706847054* L_24 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
MeshDataU5BU5D_t1706847054* L_27 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
MeshData_t4114415351 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (MeshData_t4114415351 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
MeshDataU5BU5D_t1706847054* L_34 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m999016488_gshared (List_1_t1291522797 * __this, int32_t ___index0, const RuntimeMethod* method)
{
MeshData_t4114415351 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
MeshDataU5BU5D_t1706847054* L_5 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_6 = ___index0;
MeshDataU5BU5D_t1706847054* L_7 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
MeshDataU5BU5D_t1706847054* L_11 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(MeshData_t4114415351 ));
MeshData_t4114415351 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (MeshData_t4114415351 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2553796177_gshared (List_1_t1291522797 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
MeshDataU5BU5D_t1706847054* L_10 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
MeshDataU5BU5D_t1706847054* L_13 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
MeshDataU5BU5D_t1706847054* L_17 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Reverse()
extern "C" void List_1_Reverse_m2787260040_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1291522797 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1291522797 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m3216344851_gshared (List_1_t1291522797 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t1706847054* L_5 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Sort()
extern "C" void List_1_Sort_m2605404512_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1291522797 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1291522797 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2755427088_gshared (List_1_t1291522797 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1291522797 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1291522797 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1291522797 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2724000089_gshared (List_1_t1291522797 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t1706847054* L_5 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m1166419333_gshared (List_1_t1291522797 * __this, Comparison_1_t3889346530 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t3889346530 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
MeshDataU5BU5D_t1706847054* L_2 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t3889346530 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t1706847054*, int32_t, int32_t, Comparison_1_t3889346530 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t1706847054*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t3889346530 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::ToArray()
extern "C" MeshDataU5BU5D_t1706847054* List_1_ToArray_m3355796516_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
MeshDataU5BU5D_t1706847054* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (MeshDataU5BU5D_t1706847054*)((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
MeshDataU5BU5D_t1706847054* L_1 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
MeshDataU5BU5D_t1706847054* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
MeshDataU5BU5D_t1706847054* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::TrimExcess()
extern "C" void List_1_TrimExcess_m315413731_gshared (List_1_t1291522797 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
MeshDataU5BU5D_t1706847054* L_0 = (MeshDataU5BU5D_t1706847054*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1291522797 *)__this);
(( void (*) (List_1_t1291522797 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1291522797 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.PlaneFinding/MeshData>::.cctor()
extern "C" void List_1__cctor_m873567272_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t1291522797_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((MeshDataU5BU5D_t1706847054*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.ctor()
extern "C" void List_1__ctor_m139735472_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SurfaceObjectU5BU5D_t214306891* L_0 = ((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.ctor(System.Int32)
extern "C" void List_1__ctor_m825496144_gshared (List_1_t4085315060 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SurfaceObjectU5BU5D_t214306891* L_2 = ((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m912437114_gshared (List_1_t4085315060 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m912437114_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SurfaceObjectU5BU5D_t214306891* L_6 = ((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
SurfaceObjectU5BU5D_t214306891* L_9 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< SurfaceObjectU5BU5D_t214306891*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (SurfaceObjectU5BU5D_t214306891*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SurfaceObjectU5BU5D_t214306891* L_11 = ((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
SurfaceObject_t2613240318 L_15 = InterfaceFuncInvoker0< SurfaceObject_t2613240318 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m703204270_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
SurfaceObjectU5BU5D_t214306891* L_0 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m99780489_gshared (List_1_t4085315060 * __this, int32_t ___value0, const RuntimeMethod* method)
{
SurfaceObjectU5BU5D_t214306891* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (SurfaceObjectU5BU5D_t214306891*)((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_7 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
SurfaceObjectU5BU5D_t214306891* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
SurfaceObjectU5BU5D_t214306891* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
SurfaceObjectU5BU5D_t214306891* L_11 = ((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Count()
extern "C" int32_t List_1_get_Count_m3126313745_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m3391946594_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1399272317_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m505861429_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m1116361168_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m3110090598_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m3110090598_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Item(System.Int32)
extern "C" SurfaceObject_t2613240318 List_1_get_Item_m1911075645_gshared (List_1_t4085315060 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
SurfaceObjectU5BU5D_t214306891* L_2 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_3 = ___index0;
SurfaceObject_t2613240318 L_4 = (( SurfaceObject_t2613240318 (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m30155884_gshared (List_1_t4085315060 * __this, int32_t ___index0, SurfaceObject_t2613240318 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
SurfaceObjectU5BU5D_t214306891* L_2 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_3 = ___index0;
SurfaceObject_t2613240318 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (SurfaceObject_t2613240318 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m2480367116_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
SurfaceObject_t2613240318 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(SurfaceObject_t2613240318 ));
SurfaceObject_t2613240318 L_2 = V_0;
SurfaceObject_t2613240318 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m4131613874_gshared (List_1_t4085315060 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t4085315060 *)__this);
SurfaceObject_t2613240318 L_1 = (( SurfaceObject_t2613240318 (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
SurfaceObject_t2613240318 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m2627861019_gshared (List_1_t4085315060 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m2627861019_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_1, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Add(T)
extern "C" void List_1_Add_m3338780442_gshared (List_1_t4085315060 * __this, SurfaceObject_t2613240318 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
SurfaceObjectU5BU5D_t214306891* L_1 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
SurfaceObject_t2613240318 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (SurfaceObject_t2613240318 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m1472885968_gshared (List_1_t4085315060 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m1472885968_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t4085315060 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t4085315060 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m88013220_gshared (List_1_t4085315060 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t3825816605 * List_1_AsReadOnly_m4106183278_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t3825816605 * L_0 = (ReadOnlyCollection_1_t3825816605 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t3825816605 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m1760762229_gshared (List_1_t4085315060 * __this, int32_t ___index0, int32_t ___count1, SurfaceObject_t2613240318 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SurfaceObjectU5BU5D_t214306891* L_5 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
SurfaceObject_t2613240318 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, int32_t, int32_t, SurfaceObject_t2613240318 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_5, (int32_t)L_6, (int32_t)L_7, (SurfaceObject_t2613240318 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m792601229_gshared (List_1_t4085315060 * __this, SurfaceObject_t2613240318 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4085315060 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4085315060 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
SurfaceObject_t2613240318 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t4085315060 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t4085315060 *, int32_t, int32_t, SurfaceObject_t2613240318 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)0, (int32_t)L_0, (SurfaceObject_t2613240318 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Clear()
extern "C" void List_1_Clear_m3816871674_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_1 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Contains(T)
extern "C" bool List_1_Contains_m1933379455_gshared (List_1_t4085315060 * __this, SurfaceObject_t2613240318 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t783012654 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
SurfaceObjectU5BU5D_t214306891* L_1 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
SurfaceObject_t2613240318 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t783012654 * L_8 = (( EqualityComparer_1_t783012654 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t783012654 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t783012654 * L_9 = V_1;
SurfaceObjectU5BU5D_t214306891* L_10 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
SurfaceObject_t2613240318 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
SurfaceObject_t2613240318 L_14 = ___item0;
NullCheck((EqualityComparer_1_t783012654 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, SurfaceObject_t2613240318 , SurfaceObject_t2613240318 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Equals(T,T) */, (EqualityComparer_1_t783012654 *)L_9, (SurfaceObject_t2613240318 )L_13, (SurfaceObject_t2613240318 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m437088808_gshared (List_1_t4085315060 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4085315060 *)__this);
bool L_3 = (( bool (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::CopyTo(T[])
extern "C" void List_1_CopyTo_m3290132065_gshared (List_1_t4085315060 * __this, SurfaceObjectU5BU5D_t214306891* ___array0, const RuntimeMethod* method)
{
{
SurfaceObjectU5BU5D_t214306891* L_0 = ___array0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, SurfaceObjectU5BU5D_t214306891*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObjectU5BU5D_t214306891*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m1384975017_gshared (List_1_t4085315060 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m1384975017_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m3835347108_gshared (List_1_t4085315060 * __this, int32_t ___index0, SurfaceObjectU5BU5D_t214306891* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_4 = ___index0;
SurfaceObjectU5BU5D_t214306891* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m3554188916_gshared (List_1_t4085315060 * __this, SurfaceObjectU5BU5D_t214306891* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
SurfaceObjectU5BU5D_t214306891* L_0 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
SurfaceObjectU5BU5D_t214306891* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m226609809_gshared (List_1_t4085315060 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
SurfaceObjectU5BU5D_t214306891* L_0 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_2 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Find(System.Predicate`1<T>)
extern "C" SurfaceObject_t2613240318 List_1_Find_m3556540750_gshared (List_1_t4085315060 * __this, Predicate_1_t3438534442 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
SurfaceObject_t2613240318 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t3438534442 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t3438534442 * L_1 = ___match0;
SurfaceObjectU5BU5D_t214306891* L_2 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
SurfaceObject_t2613240318 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t3438534442 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t3438534442 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3438534442 *)L_1, (SurfaceObject_t2613240318 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_7 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
SurfaceObject_t2613240318 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(SurfaceObject_t2613240318 ));
SurfaceObject_t2613240318 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m1506977818_gshared (List_1_t4085315060 * __this, Predicate_1_t3438534442 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t3438534442 * L_1 = ___match0;
NullCheck((List_1_t4085315060 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t4085315060 *, int32_t, int32_t, Predicate_1_t3438534442 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t3438534442 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m4151603905_gshared (List_1_t4085315060 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t3438534442 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t3438534442 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t3438534442 * L_10 = ___match2;
SurfaceObjectU5BU5D_t214306891* L_11 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
SurfaceObject_t2613240318 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t3438534442 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t3438534442 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3438534442 *)L_10, (SurfaceObject_t2613240318 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m3131798179_gshared (List_1_t4085315060 * __this, Action_1_t2785707913 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m3131798179_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t2785707913 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t2785707913 * L_5 = ___action0;
SurfaceObjectU5BU5D_t214306891* L_6 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
SurfaceObject_t2613240318 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t2785707913 *)L_5);
(( void (*) (Action_1_t2785707913 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t2785707913 *)L_5, (SurfaceObject_t2613240318 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::GetEnumerator()
extern "C" Enumerator_t1679591641 List_1_GetEnumerator_m2547213749_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1679591641 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3682883020((&L_0), (List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m3710835181_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1679591641 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3682883020((&L_0), (List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1679591641 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m1090933783_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1679591641 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3682883020((&L_0), (List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1679591641 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m2200230212_gshared (List_1_t4085315060 * __this, SurfaceObject_t2613240318 ___item0, const RuntimeMethod* method)
{
{
SurfaceObjectU5BU5D_t214306891* L_0 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
SurfaceObject_t2613240318 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, SurfaceObject_t2613240318 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_0, (SurfaceObject_t2613240318 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m2614781893_gshared (List_1_t4085315060 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4085315060 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m999026475_gshared (List_1_t4085315060 * __this, int32_t ___index0, SurfaceObject_t2613240318 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
SurfaceObjectU5BU5D_t214306891* L_3 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_7 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_8 = ___index0;
SurfaceObjectU5BU5D_t214306891* L_9 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
SurfaceObjectU5BU5D_t214306891* L_13 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_14 = ___index0;
SurfaceObject_t2613240318 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (SurfaceObject_t2613240318 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m616518304_gshared (List_1_t4085315060 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m616518304_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_1, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m247046874_gshared (List_1_t4085315060 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m247046874_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
SurfaceObjectU5BU5D_t214306891* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_12 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_13 = ___index0;
SurfaceObjectU5BU5D_t214306891* L_14 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t4085315060 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_20 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
SurfaceObjectU5BU5D_t214306891* L_21 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
SurfaceObjectU5BU5D_t214306891* L_24 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
SurfaceObjectU5BU5D_t214306891* L_27 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (SurfaceObjectU5BU5D_t214306891*)((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
SurfaceObjectU5BU5D_t214306891* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< SurfaceObjectU5BU5D_t214306891*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (SurfaceObjectU5BU5D_t214306891*)L_33, (int32_t)0);
SurfaceObjectU5BU5D_t214306891* L_34 = V_2;
SurfaceObjectU5BU5D_t214306891* L_35 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
SurfaceObject_t2613240318 L_44 = InterfaceFuncInvoker0< SurfaceObject_t2613240318 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_42, (SurfaceObject_t2613240318 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Remove(T)
extern "C" bool List_1_Remove_m319691035_gshared (List_1_t4085315060 * __this, SurfaceObject_t2613240318 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
SurfaceObject_t2613240318 L_0 = ___item0;
NullCheck((List_1_t4085315060 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m2115096283_gshared (List_1_t4085315060 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4085315060 *)__this);
(( bool (*) (List_1_t4085315060 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t4085315060 *)__this, (SurfaceObject_t2613240318 )((*(SurfaceObject_t2613240318 *)((SurfaceObject_t2613240318 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m678940590_gshared (List_1_t4085315060 * __this, Predicate_1_t3438534442 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t3438534442 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t3438534442 * L_4 = ___match0;
SurfaceObjectU5BU5D_t214306891* L_5 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
SurfaceObject_t2613240318 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t3438534442 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t3438534442 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3438534442 *)L_4, (SurfaceObject_t2613240318 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t3438534442 * L_16 = ___match0;
SurfaceObjectU5BU5D_t214306891* L_17 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
SurfaceObject_t2613240318 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t3438534442 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t3438534442 *, SurfaceObject_t2613240318 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3438534442 *)L_16, (SurfaceObject_t2613240318 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_24 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
SurfaceObjectU5BU5D_t214306891* L_27 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
SurfaceObject_t2613240318 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (SurfaceObject_t2613240318 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_34 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m1973090306_gshared (List_1_t4085315060 * __this, int32_t ___index0, const RuntimeMethod* method)
{
SurfaceObject_t2613240318 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_5 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_6 = ___index0;
SurfaceObjectU5BU5D_t214306891* L_7 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
SurfaceObjectU5BU5D_t214306891* L_11 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(SurfaceObject_t2613240318 ));
SurfaceObject_t2613240318 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (SurfaceObject_t2613240318 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2259990981_gshared (List_1_t4085315060 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_10 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
SurfaceObjectU5BU5D_t214306891* L_13 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
SurfaceObjectU5BU5D_t214306891* L_17 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Reverse()
extern "C" void List_1_Reverse_m3828193604_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4085315060 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4085315060 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m646121664_gshared (List_1_t4085315060 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SurfaceObjectU5BU5D_t214306891* L_5 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Sort()
extern "C" void List_1_Sort_m1817172736_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4085315060 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4085315060 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3237772511_gshared (List_1_t4085315060 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4085315060 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4085315060 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4085315060 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3960571183_gshared (List_1_t4085315060 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
SurfaceObjectU5BU5D_t214306891* L_5 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m3859612439_gshared (List_1_t4085315060 * __this, Comparison_1_t2388171497 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t2388171497 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
SurfaceObjectU5BU5D_t214306891* L_2 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t2388171497 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, SurfaceObjectU5BU5D_t214306891*, int32_t, int32_t, Comparison_1_t2388171497 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (SurfaceObjectU5BU5D_t214306891*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t2388171497 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::ToArray()
extern "C" SurfaceObjectU5BU5D_t214306891* List_1_ToArray_m113242508_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
SurfaceObjectU5BU5D_t214306891* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (SurfaceObjectU5BU5D_t214306891*)((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
SurfaceObjectU5BU5D_t214306891* L_1 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
SurfaceObjectU5BU5D_t214306891* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
SurfaceObjectU5BU5D_t214306891* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::TrimExcess()
extern "C" void List_1_TrimExcess_m4257034865_gshared (List_1_t4085315060 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
SurfaceObjectU5BU5D_t214306891* L_0 = (SurfaceObjectU5BU5D_t214306891*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4085315060 *)__this);
(( void (*) (List_1_t4085315060 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t4085315060 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialMapping.SpatialMappingSource/SurfaceObject>::.cctor()
extern "C" void List_1__cctor_m1265412211_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t4085315060_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((SurfaceObjectU5BU5D_t214306891*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.ctor()
extern "C" void List_1__ctor_m4191649944_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t822949927* L_0 = ((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.ctor(System.Int32)
extern "C" void List_1__ctor_m1773615991_gshared (List_1_t538943048 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t822949927* L_2 = ((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m2959571491_gshared (List_1_t538943048 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m2959571491_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t822949927* L_6 = ((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
MeshDataU5BU5D_t822949927* L_9 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< MeshDataU5BU5D_t822949927*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (MeshDataU5BU5D_t822949927*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t822949927* L_11 = ((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
MeshData_t3361835602 L_15 = InterfaceFuncInvoker0< MeshData_t3361835602 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m2518079316_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t822949927* L_0 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m2830191137_gshared (List_1_t538943048 * __this, int32_t ___value0, const RuntimeMethod* method)
{
MeshDataU5BU5D_t822949927* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (MeshDataU5BU5D_t822949927*)((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
MeshDataU5BU5D_t822949927* L_7 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
MeshDataU5BU5D_t822949927* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
MeshDataU5BU5D_t822949927* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
MeshDataU5BU5D_t822949927* L_11 = ((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Count()
extern "C" int32_t List_1_get_Count_m4145493215_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m4257482571_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m410009766_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2445747780_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m1025887717_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m677802720_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m677802720_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Item(System.Int32)
extern "C" MeshData_t3361835602 List_1_get_Item_m2256158736_gshared (List_1_t538943048 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
MeshDataU5BU5D_t822949927* L_2 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_3 = ___index0;
MeshData_t3361835602 L_4 = (( MeshData_t3361835602 (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m168495960_gshared (List_1_t538943048 * __this, int32_t ___index0, MeshData_t3361835602 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
MeshDataU5BU5D_t822949927* L_2 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_3 = ___index0;
MeshData_t3361835602 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (MeshData_t3361835602 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m1885006426_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
MeshData_t3361835602 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(MeshData_t3361835602 ));
MeshData_t3361835602 L_2 = V_0;
MeshData_t3361835602 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m2370720542_gshared (List_1_t538943048 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t538943048 *)__this);
MeshData_t3361835602 L_1 = (( MeshData_t3361835602 (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
MeshData_t3361835602 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m3706589802_gshared (List_1_t538943048 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m3706589802_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_1, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Add(T)
extern "C" void List_1_Add_m1119949544_gshared (List_1_t538943048 * __this, MeshData_t3361835602 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
MeshDataU5BU5D_t822949927* L_1 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t538943048 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
MeshData_t3361835602 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (MeshData_t3361835602 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m2600771900_gshared (List_1_t538943048 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m2600771900_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t538943048 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t538943048 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m3306025053_gshared (List_1_t538943048 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t279444593 * List_1_AsReadOnly_m3200619730_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t279444593 * L_0 = (ReadOnlyCollection_1_t279444593 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t279444593 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m2448157196_gshared (List_1_t538943048 * __this, int32_t ___index0, int32_t ___count1, MeshData_t3361835602 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t822949927* L_5 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
MeshData_t3361835602 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, int32_t, int32_t, MeshData_t3361835602 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_5, (int32_t)L_6, (int32_t)L_7, (MeshData_t3361835602 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m3491318165_gshared (List_1_t538943048 * __this, MeshData_t3361835602 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t538943048 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t538943048 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
MeshData_t3361835602 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t538943048 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t538943048 *, int32_t, int32_t, MeshData_t3361835602 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t538943048 *)__this, (int32_t)0, (int32_t)L_0, (MeshData_t3361835602 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Clear()
extern "C" void List_1_Clear_m1985159445_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
MeshDataU5BU5D_t822949927* L_1 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Contains(T)
extern "C" bool List_1_Contains_m1369594994_gshared (List_1_t538943048 * __this, MeshData_t3361835602 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t1531607938 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
MeshDataU5BU5D_t822949927* L_1 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
MeshData_t3361835602 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t1531607938 * L_8 = (( EqualityComparer_1_t1531607938 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t1531607938 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t1531607938 * L_9 = V_1;
MeshDataU5BU5D_t822949927* L_10 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
MeshData_t3361835602 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
MeshData_t3361835602 L_14 = ___item0;
NullCheck((EqualityComparer_1_t1531607938 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, MeshData_t3361835602 , MeshData_t3361835602 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Equals(T,T) */, (EqualityComparer_1_t1531607938 *)L_9, (MeshData_t3361835602 )L_13, (MeshData_t3361835602 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m3705334181_gshared (List_1_t538943048 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t538943048 *)__this);
bool L_3 = (( bool (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::CopyTo(T[])
extern "C" void List_1_CopyTo_m1788913661_gshared (List_1_t538943048 * __this, MeshDataU5BU5D_t822949927* ___array0, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t822949927* L_0 = ___array0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, MeshDataU5BU5D_t822949927*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t538943048 *)__this, (MeshDataU5BU5D_t822949927*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m1208648900_gshared (List_1_t538943048 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m1208648900_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m638687954_gshared (List_1_t538943048 * __this, int32_t ___index0, MeshDataU5BU5D_t822949927* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_4 = ___index0;
MeshDataU5BU5D_t822949927* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m1713785318_gshared (List_1_t538943048 * __this, MeshDataU5BU5D_t822949927* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t822949927* L_0 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
MeshDataU5BU5D_t822949927* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m2160013263_gshared (List_1_t538943048 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
MeshDataU5BU5D_t822949927* L_0 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
MeshDataU5BU5D_t822949927* L_2 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Find(System.Predicate`1<T>)
extern "C" MeshData_t3361835602 List_1_Find_m786685808_gshared (List_1_t538943048 * __this, Predicate_1_t4187129726 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
MeshData_t3361835602 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t4187129726 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t4187129726 * L_1 = ___match0;
MeshDataU5BU5D_t822949927* L_2 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
MeshData_t3361835602 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t4187129726 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t4187129726 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t4187129726 *)L_1, (MeshData_t3361835602 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
MeshDataU5BU5D_t822949927* L_7 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
MeshData_t3361835602 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(MeshData_t3361835602 ));
MeshData_t3361835602 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m3143469846_gshared (List_1_t538943048 * __this, Predicate_1_t4187129726 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t4187129726 * L_1 = ___match0;
NullCheck((List_1_t538943048 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t538943048 *, int32_t, int32_t, Predicate_1_t4187129726 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t538943048 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t4187129726 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2768264790_gshared (List_1_t538943048 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t4187129726 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t4187129726 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t4187129726 * L_10 = ___match2;
MeshDataU5BU5D_t822949927* L_11 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
MeshData_t3361835602 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t4187129726 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t4187129726 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t4187129726 *)L_10, (MeshData_t3361835602 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m759380474_gshared (List_1_t538943048 * __this, Action_1_t3534303197 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m759380474_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t3534303197 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t3534303197 * L_5 = ___action0;
MeshDataU5BU5D_t822949927* L_6 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
MeshData_t3361835602 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t3534303197 *)L_5);
(( void (*) (Action_1_t3534303197 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t3534303197 *)L_5, (MeshData_t3361835602 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::GetEnumerator()
extern "C" Enumerator_t2428186925 List_1_GetEnumerator_m2981881511_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
Enumerator_t2428186925 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2866993495((&L_0), (List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m2014720129_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
Enumerator_t2428186925 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2866993495((&L_0), (List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t2428186925 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m3254224783_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
Enumerator_t2428186925 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m2866993495((&L_0), (List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t2428186925 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m648690768_gshared (List_1_t538943048 * __this, MeshData_t3361835602 ___item0, const RuntimeMethod* method)
{
{
MeshDataU5BU5D_t822949927* L_0 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
MeshData_t3361835602 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, MeshData_t3361835602 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_0, (MeshData_t3361835602 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m3427569355_gshared (List_1_t538943048 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t538943048 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m1867656138_gshared (List_1_t538943048 * __this, int32_t ___index0, MeshData_t3361835602 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
MeshDataU5BU5D_t822949927* L_3 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t538943048 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
MeshDataU5BU5D_t822949927* L_7 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_8 = ___index0;
MeshDataU5BU5D_t822949927* L_9 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
MeshDataU5BU5D_t822949927* L_13 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_14 = ___index0;
MeshData_t3361835602 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (MeshData_t3361835602 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m764478607_gshared (List_1_t538943048 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m764478607_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_1, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m3754677686_gshared (List_1_t538943048 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m3754677686_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
MeshDataU5BU5D_t822949927* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t538943048 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
MeshDataU5BU5D_t822949927* L_12 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_13 = ___index0;
MeshDataU5BU5D_t822949927* L_14 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t538943048 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
MeshDataU5BU5D_t822949927* L_20 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
MeshDataU5BU5D_t822949927* L_21 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
MeshDataU5BU5D_t822949927* L_24 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
MeshDataU5BU5D_t822949927* L_27 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (MeshDataU5BU5D_t822949927*)((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
MeshDataU5BU5D_t822949927* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< MeshDataU5BU5D_t822949927*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (MeshDataU5BU5D_t822949927*)L_33, (int32_t)0);
MeshDataU5BU5D_t822949927* L_34 = V_2;
MeshDataU5BU5D_t822949927* L_35 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
MeshData_t3361835602 L_44 = InterfaceFuncInvoker0< MeshData_t3361835602 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_42, (MeshData_t3361835602 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Remove(T)
extern "C" bool List_1_Remove_m3435851260_gshared (List_1_t538943048 * __this, MeshData_t3361835602 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
MeshData_t3361835602 L_0 = ___item0;
NullCheck((List_1_t538943048 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m3937369526_gshared (List_1_t538943048 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t538943048 *)__this);
(( bool (*) (List_1_t538943048 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t538943048 *)__this, (MeshData_t3361835602 )((*(MeshData_t3361835602 *)((MeshData_t3361835602 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m1396017277_gshared (List_1_t538943048 * __this, Predicate_1_t4187129726 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t4187129726 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t4187129726 * L_4 = ___match0;
MeshDataU5BU5D_t822949927* L_5 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
MeshData_t3361835602 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t4187129726 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t4187129726 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t4187129726 *)L_4, (MeshData_t3361835602 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t4187129726 * L_16 = ___match0;
MeshDataU5BU5D_t822949927* L_17 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
MeshData_t3361835602 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t4187129726 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t4187129726 *, MeshData_t3361835602 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t4187129726 *)L_16, (MeshData_t3361835602 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
MeshDataU5BU5D_t822949927* L_24 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
MeshDataU5BU5D_t822949927* L_27 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
MeshData_t3361835602 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (MeshData_t3361835602 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
MeshDataU5BU5D_t822949927* L_34 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m87612895_gshared (List_1_t538943048 * __this, int32_t ___index0, const RuntimeMethod* method)
{
MeshData_t3361835602 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
MeshDataU5BU5D_t822949927* L_5 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_6 = ___index0;
MeshDataU5BU5D_t822949927* L_7 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
MeshDataU5BU5D_t822949927* L_11 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(MeshData_t3361835602 ));
MeshData_t3361835602 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (MeshData_t3361835602 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m515295160_gshared (List_1_t538943048 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
MeshDataU5BU5D_t822949927* L_10 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
MeshDataU5BU5D_t822949927* L_13 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
MeshDataU5BU5D_t822949927* L_17 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Reverse()
extern "C" void List_1_Reverse_m1428429857_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t538943048 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t538943048 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t538943048 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m3629105473_gshared (List_1_t538943048 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t822949927* L_5 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Sort()
extern "C" void List_1_Sort_m1751770217_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t538943048 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t538943048 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t538943048 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3456718003_gshared (List_1_t538943048 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t538943048 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t538943048 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t538943048 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t538943048 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m1226963863_gshared (List_1_t538943048 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
MeshDataU5BU5D_t822949927* L_5 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m1703141148_gshared (List_1_t538943048 * __this, Comparison_1_t3136766781 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t3136766781 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
MeshDataU5BU5D_t822949927* L_2 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t3136766781 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, MeshDataU5BU5D_t822949927*, int32_t, int32_t, Comparison_1_t3136766781 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (MeshDataU5BU5D_t822949927*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t3136766781 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::ToArray()
extern "C" MeshDataU5BU5D_t822949927* List_1_ToArray_m3191827699_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
MeshDataU5BU5D_t822949927* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (MeshDataU5BU5D_t822949927*)((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
MeshDataU5BU5D_t822949927* L_1 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
MeshDataU5BU5D_t822949927* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
MeshDataU5BU5D_t822949927* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::TrimExcess()
extern "C" void List_1_TrimExcess_m3020184747_gshared (List_1_t538943048 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
MeshDataU5BU5D_t822949927* L_0 = (MeshDataU5BU5D_t822949927*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t538943048 *)__this);
(( void (*) (List_1_t538943048 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t538943048 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDll/MeshData>::.cctor()
extern "C" void List_1__cctor_m3337764097_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t538943048_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((MeshDataU5BU5D_t822949927*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.ctor()
extern "C" void List_1__ctor_m2565166587_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = ((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.ctor(System.Int32)
extern "C" void List_1__ctor_m339624891_gshared (List_1_t1419061181 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = ((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m1168240572_gshared (List_1_t1419061181 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m1168240572_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ShapeComponentConstraintU5BU5D_t2060966206* L_6 = ((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
ShapeComponentConstraintU5BU5D_t2060966206* L_9 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< ShapeComponentConstraintU5BU5D_t2060966206*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (ShapeComponentConstraintU5BU5D_t2060966206*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ShapeComponentConstraintU5BU5D_t2060966206* L_11 = ((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
ShapeComponentConstraint_t4241953735 L_15 = InterfaceFuncInvoker0< ShapeComponentConstraint_t4241953735 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m707099220_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m3095738125_gshared (List_1_t1419061181 * __this, int32_t ___value0, const RuntimeMethod* method)
{
ShapeComponentConstraintU5BU5D_t2060966206* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_7 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
ShapeComponentConstraintU5BU5D_t2060966206* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
ShapeComponentConstraintU5BU5D_t2060966206* L_11 = ((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Count()
extern "C" int32_t List_1_get_Count_m1629419204_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m400395047_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m2069209408_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m3379787666_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m752393159_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m1579243412_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m1579243412_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Item(System.Int32)
extern "C" ShapeComponentConstraint_t4241953735 List_1_get_Item_m575317286_gshared (List_1_t1419061181 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_3 = ___index0;
ShapeComponentConstraint_t4241953735 L_4 = (( ShapeComponentConstraint_t4241953735 (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m3309213114_gshared (List_1_t1419061181 * __this, int32_t ___index0, ShapeComponentConstraint_t4241953735 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_3 = ___index0;
ShapeComponentConstraint_t4241953735 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (ShapeComponentConstraint_t4241953735 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m4226386748_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
ShapeComponentConstraint_t4241953735 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(ShapeComponentConstraint_t4241953735 ));
ShapeComponentConstraint_t4241953735 L_2 = V_0;
ShapeComponentConstraint_t4241953735 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m1989677056_gshared (List_1_t1419061181 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t1419061181 *)__this);
ShapeComponentConstraint_t4241953735 L_1 = (( ShapeComponentConstraint_t4241953735 (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
ShapeComponentConstraint_t4241953735 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m2921505855_gshared (List_1_t1419061181 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m2921505855_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_1, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Add(T)
extern "C" void List_1_Add_m2064210833_gshared (List_1_t1419061181 * __this, ShapeComponentConstraint_t4241953735 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
ShapeComponentConstraintU5BU5D_t2060966206* L_1 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
ShapeComponentConstraint_t4241953735 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (ShapeComponentConstraint_t4241953735 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m1435749894_gshared (List_1_t1419061181 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m1435749894_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t1419061181 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t1419061181 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m970325358_gshared (List_1_t1419061181 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t1159562726 * List_1_AsReadOnly_m1307502415_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t1159562726 * L_0 = (ReadOnlyCollection_1_t1159562726 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t1159562726 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m267651457_gshared (List_1_t1419061181 * __this, int32_t ___index0, int32_t ___count1, ShapeComponentConstraint_t4241953735 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
ShapeComponentConstraint_t4241953735 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, int32_t, ShapeComponentConstraint_t4241953735 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_5, (int32_t)L_6, (int32_t)L_7, (ShapeComponentConstraint_t4241953735 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m2892093867_gshared (List_1_t1419061181 * __this, ShapeComponentConstraint_t4241953735 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1419061181 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1419061181 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
ShapeComponentConstraint_t4241953735 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t1419061181 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1419061181 *, int32_t, int32_t, ShapeComponentConstraint_t4241953735 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)0, (int32_t)L_0, (ShapeComponentConstraint_t4241953735 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Clear()
extern "C" void List_1_Clear_m4031099073_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_1 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Contains(T)
extern "C" bool List_1_Contains_m4269472013_gshared (List_1_t1419061181 * __this, ShapeComponentConstraint_t4241953735 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t2411726071 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_1 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
ShapeComponentConstraint_t4241953735 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t2411726071 * L_8 = (( EqualityComparer_1_t2411726071 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t2411726071 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t2411726071 * L_9 = V_1;
ShapeComponentConstraintU5BU5D_t2060966206* L_10 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
ShapeComponentConstraint_t4241953735 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
ShapeComponentConstraint_t4241953735 L_14 = ___item0;
NullCheck((EqualityComparer_1_t2411726071 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, ShapeComponentConstraint_t4241953735 , ShapeComponentConstraint_t4241953735 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Equals(T,T) */, (EqualityComparer_1_t2411726071 *)L_9, (ShapeComponentConstraint_t4241953735 )L_13, (ShapeComponentConstraint_t4241953735 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m2645216633_gshared (List_1_t1419061181 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1419061181 *)__this);
bool L_3 = (( bool (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::CopyTo(T[])
extern "C" void List_1_CopyTo_m2999178065_gshared (List_1_t1419061181 * __this, ShapeComponentConstraintU5BU5D_t2060966206* ___array0, const RuntimeMethod* method)
{
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = ___array0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraintU5BU5D_t2060966206*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m1742390282_gshared (List_1_t1419061181 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m1742390282_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m569126567_gshared (List_1_t1419061181 * __this, int32_t ___index0, ShapeComponentConstraintU5BU5D_t2060966206* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_4 = ___index0;
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m2817104669_gshared (List_1_t1419061181 * __this, ShapeComponentConstraintU5BU5D_t2060966206* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
ShapeComponentConstraintU5BU5D_t2060966206* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m4290374568_gshared (List_1_t1419061181 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Find(System.Predicate`1<T>)
extern "C" ShapeComponentConstraint_t4241953735 List_1_Find_m2272219245_gshared (List_1_t1419061181 * __this, Predicate_1_t772280563 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
ShapeComponentConstraint_t4241953735 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t772280563 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t772280563 * L_1 = ___match0;
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
ShapeComponentConstraint_t4241953735 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t772280563 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t772280563 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t772280563 *)L_1, (ShapeComponentConstraint_t4241953735 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_7 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
ShapeComponentConstraint_t4241953735 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(ShapeComponentConstraint_t4241953735 ));
ShapeComponentConstraint_t4241953735 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2434805514_gshared (List_1_t1419061181 * __this, Predicate_1_t772280563 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t772280563 * L_1 = ___match0;
NullCheck((List_1_t1419061181 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t1419061181 *, int32_t, int32_t, Predicate_1_t772280563 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t772280563 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m117616705_gshared (List_1_t1419061181 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t772280563 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t772280563 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t772280563 * L_10 = ___match2;
ShapeComponentConstraintU5BU5D_t2060966206* L_11 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
ShapeComponentConstraint_t4241953735 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t772280563 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t772280563 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t772280563 *)L_10, (ShapeComponentConstraint_t4241953735 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m76421092_gshared (List_1_t1419061181 * __this, Action_1_t119454034 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m76421092_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t119454034 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t119454034 * L_5 = ___action0;
ShapeComponentConstraintU5BU5D_t2060966206* L_6 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
ShapeComponentConstraint_t4241953735 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t119454034 *)L_5);
(( void (*) (Action_1_t119454034 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t119454034 *)L_5, (ShapeComponentConstraint_t4241953735 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::GetEnumerator()
extern "C" Enumerator_t3308305058 List_1_GetEnumerator_m4113885738_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3308305058 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1945446707((&L_0), (List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m4175141957_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3308305058 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1945446707((&L_0), (List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3308305058 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m1084465768_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3308305058 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1945446707((&L_0), (List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3308305058 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m1587187053_gshared (List_1_t1419061181 * __this, ShapeComponentConstraint_t4241953735 ___item0, const RuntimeMethod* method)
{
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
ShapeComponentConstraint_t4241953735 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, ShapeComponentConstraint_t4241953735 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_0, (ShapeComponentConstraint_t4241953735 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m433753090_gshared (List_1_t1419061181 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1419061181 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m67089872_gshared (List_1_t1419061181 * __this, int32_t ___index0, ShapeComponentConstraint_t4241953735 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
ShapeComponentConstraintU5BU5D_t2060966206* L_3 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_7 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_8 = ___index0;
ShapeComponentConstraintU5BU5D_t2060966206* L_9 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_13 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_14 = ___index0;
ShapeComponentConstraint_t4241953735 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (ShapeComponentConstraint_t4241953735 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m2227781727_gshared (List_1_t1419061181 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m2227781727_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_1, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m3421175516_gshared (List_1_t1419061181 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m3421175516_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
ShapeComponentConstraintU5BU5D_t2060966206* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_12 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_13 = ___index0;
ShapeComponentConstraintU5BU5D_t2060966206* L_14 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t1419061181 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_20 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
ShapeComponentConstraintU5BU5D_t2060966206* L_21 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
ShapeComponentConstraintU5BU5D_t2060966206* L_24 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
ShapeComponentConstraintU5BU5D_t2060966206* L_27 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
ShapeComponentConstraintU5BU5D_t2060966206* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< ShapeComponentConstraintU5BU5D_t2060966206*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (ShapeComponentConstraintU5BU5D_t2060966206*)L_33, (int32_t)0);
ShapeComponentConstraintU5BU5D_t2060966206* L_34 = V_2;
ShapeComponentConstraintU5BU5D_t2060966206* L_35 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
ShapeComponentConstraint_t4241953735 L_44 = InterfaceFuncInvoker0< ShapeComponentConstraint_t4241953735 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_42, (ShapeComponentConstraint_t4241953735 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Remove(T)
extern "C" bool List_1_Remove_m1647935980_gshared (List_1_t1419061181 * __this, ShapeComponentConstraint_t4241953735 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
ShapeComponentConstraint_t4241953735 L_0 = ___item0;
NullCheck((List_1_t1419061181 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m3348314091_gshared (List_1_t1419061181 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1419061181 *)__this);
(( bool (*) (List_1_t1419061181 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t1419061181 *)__this, (ShapeComponentConstraint_t4241953735 )((*(ShapeComponentConstraint_t4241953735 *)((ShapeComponentConstraint_t4241953735 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m934062940_gshared (List_1_t1419061181 * __this, Predicate_1_t772280563 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t772280563 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t772280563 * L_4 = ___match0;
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
ShapeComponentConstraint_t4241953735 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t772280563 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t772280563 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t772280563 *)L_4, (ShapeComponentConstraint_t4241953735 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t772280563 * L_16 = ___match0;
ShapeComponentConstraintU5BU5D_t2060966206* L_17 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
ShapeComponentConstraint_t4241953735 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t772280563 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t772280563 *, ShapeComponentConstraint_t4241953735 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t772280563 *)L_16, (ShapeComponentConstraint_t4241953735 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_24 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
ShapeComponentConstraintU5BU5D_t2060966206* L_27 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
ShapeComponentConstraint_t4241953735 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (ShapeComponentConstraint_t4241953735 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_34 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m4194972015_gshared (List_1_t1419061181 * __this, int32_t ___index0, const RuntimeMethod* method)
{
ShapeComponentConstraint_t4241953735 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_6 = ___index0;
ShapeComponentConstraintU5BU5D_t2060966206* L_7 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_11 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(ShapeComponentConstraint_t4241953735 ));
ShapeComponentConstraint_t4241953735 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (ShapeComponentConstraint_t4241953735 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m1594629266_gshared (List_1_t1419061181 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_10 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
ShapeComponentConstraintU5BU5D_t2060966206* L_13 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_17 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Reverse()
extern "C" void List_1_Reverse_m648115314_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1419061181 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1419061181 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m367660316_gshared (List_1_t1419061181 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Sort()
extern "C" void List_1_Sort_m2355244337_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1419061181 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1419061181 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m2878560264_gshared (List_1_t1419061181 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1419061181 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1419061181 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1419061181 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3055819311_gshared (List_1_t1419061181 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
ShapeComponentConstraintU5BU5D_t2060966206* L_5 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m943113960_gshared (List_1_t1419061181 * __this, Comparison_1_t4016884914 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t4016884914 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t4016884914 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, ShapeComponentConstraintU5BU5D_t2060966206*, int32_t, int32_t, Comparison_1_t4016884914 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (ShapeComponentConstraintU5BU5D_t2060966206*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t4016884914 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::ToArray()
extern "C" ShapeComponentConstraintU5BU5D_t2060966206* List_1_ToArray_m812674831_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
ShapeComponentConstraintU5BU5D_t2060966206* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
ShapeComponentConstraintU5BU5D_t2060966206* L_1 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
ShapeComponentConstraintU5BU5D_t2060966206* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
ShapeComponentConstraintU5BU5D_t2060966206* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::TrimExcess()
extern "C" void List_1_TrimExcess_m750609439_gshared (List_1_t1419061181 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
ShapeComponentConstraintU5BU5D_t2060966206* L_0 = (ShapeComponentConstraintU5BU5D_t2060966206*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1419061181 *)__this);
(( void (*) (List_1_t1419061181 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1419061181 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.SpatialUnderstandingDllShapes/ShapeComponentConstraint>::.cctor()
extern "C" void List_1__cctor_m3363919036_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t1419061181_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((ShapeComponentConstraintU5BU5D_t2060966206*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::.ctor()
extern "C" void List_1__ctor_m2031182539_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerDataU5BU5D_t2187523415* L_0 = ((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::.ctor(System.Int32)
extern "C" void List_1__ctor_m1217981962_gshared (List_1_t1233822936 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerDataU5BU5D_t2187523415* L_2 = ((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m3324153941_gshared (List_1_t1233822936 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m3324153941_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerDataU5BU5D_t2187523415* L_6 = ((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
TimerDataU5BU5D_t2187523415* L_9 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< TimerDataU5BU5D_t2187523415*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (TimerDataU5BU5D_t2187523415*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerDataU5BU5D_t2187523415* L_11 = ((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
TimerData_t4056715490 L_15 = InterfaceFuncInvoker0< TimerData_t4056715490 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m2456909654_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
TimerDataU5BU5D_t2187523415* L_0 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m965990699_gshared (List_1_t1233822936 * __this, int32_t ___value0, const RuntimeMethod* method)
{
TimerDataU5BU5D_t2187523415* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (TimerDataU5BU5D_t2187523415*)((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
TimerDataU5BU5D_t2187523415* L_7 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
TimerDataU5BU5D_t2187523415* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
TimerDataU5BU5D_t2187523415* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerDataU5BU5D_t2187523415* L_11 = ((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Count()
extern "C" int32_t List_1_get_Count_m3414476769_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m3388131916_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1403791856_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2386573550_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m2705851276_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m3405663206_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m3405663206_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Item(System.Int32)
extern "C" TimerData_t4056715490 List_1_get_Item_m2984733998_gshared (List_1_t1233822936 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
TimerDataU5BU5D_t2187523415* L_2 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_3 = ___index0;
TimerData_t4056715490 L_4 = (( TimerData_t4056715490 (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m1244932293_gshared (List_1_t1233822936 * __this, int32_t ___index0, TimerData_t4056715490 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
TimerDataU5BU5D_t2187523415* L_2 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_3 = ___index0;
TimerData_t4056715490 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (TimerData_t4056715490 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m1564201058_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
TimerData_t4056715490 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(TimerData_t4056715490 ));
TimerData_t4056715490 L_2 = V_0;
TimerData_t4056715490 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m2844886936_gshared (List_1_t1233822936 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t1233822936 *)__this);
TimerData_t4056715490 L_1 = (( TimerData_t4056715490 (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
TimerData_t4056715490 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m1419925330_gshared (List_1_t1233822936 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m1419925330_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_1, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Add(T)
extern "C" void List_1_Add_m2708416594_gshared (List_1_t1233822936 * __this, TimerData_t4056715490 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
TimerDataU5BU5D_t2187523415* L_1 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
TimerData_t4056715490 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (TimerData_t4056715490 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m1213738490_gshared (List_1_t1233822936 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m1213738490_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t1233822936 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t1233822936 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m2329392839_gshared (List_1_t1233822936 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t974324481 * List_1_AsReadOnly_m2785755224_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t974324481 * L_0 = (ReadOnlyCollection_1_t974324481 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t974324481 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m3918896511_gshared (List_1_t1233822936 * __this, int32_t ___index0, int32_t ___count1, TimerData_t4056715490 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerDataU5BU5D_t2187523415* L_5 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
TimerData_t4056715490 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, int32_t, int32_t, TimerData_t4056715490 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_5, (int32_t)L_6, (int32_t)L_7, (TimerData_t4056715490 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m2872692830_gshared (List_1_t1233822936 * __this, TimerData_t4056715490 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1233822936 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1233822936 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
TimerData_t4056715490 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t1233822936 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1233822936 *, int32_t, int32_t, TimerData_t4056715490 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)0, (int32_t)L_0, (TimerData_t4056715490 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Clear()
extern "C" void List_1_Clear_m3683917877_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
TimerDataU5BU5D_t2187523415* L_1 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Contains(T)
extern "C" bool List_1_Contains_m2819385170_gshared (List_1_t1233822936 * __this, TimerData_t4056715490 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t2226487826 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
TimerDataU5BU5D_t2187523415* L_1 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
TimerData_t4056715490 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t2226487826 * L_8 = (( EqualityComparer_1_t2226487826 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t2226487826 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t2226487826 * L_9 = V_1;
TimerDataU5BU5D_t2187523415* L_10 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
TimerData_t4056715490 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
TimerData_t4056715490 L_14 = ___item0;
NullCheck((EqualityComparer_1_t2226487826 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, TimerData_t4056715490 , TimerData_t4056715490 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Equals(T,T) */, (EqualityComparer_1_t2226487826 *)L_9, (TimerData_t4056715490 )L_13, (TimerData_t4056715490 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m3546193945_gshared (List_1_t1233822936 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1233822936 *)__this);
bool L_3 = (( bool (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::CopyTo(T[])
extern "C" void List_1_CopyTo_m1030387373_gshared (List_1_t1233822936 * __this, TimerDataU5BU5D_t2187523415* ___array0, const RuntimeMethod* method)
{
{
TimerDataU5BU5D_t2187523415* L_0 = ___array0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, TimerDataU5BU5D_t2187523415*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t1233822936 *)__this, (TimerDataU5BU5D_t2187523415*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m2648856953_gshared (List_1_t1233822936 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m2648856953_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m2452090195_gshared (List_1_t1233822936 * __this, int32_t ___index0, TimerDataU5BU5D_t2187523415* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_4 = ___index0;
TimerDataU5BU5D_t2187523415* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m4103150436_gshared (List_1_t1233822936 * __this, TimerDataU5BU5D_t2187523415* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
TimerDataU5BU5D_t2187523415* L_0 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
TimerDataU5BU5D_t2187523415* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m2530910678_gshared (List_1_t1233822936 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
TimerDataU5BU5D_t2187523415* L_0 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
TimerDataU5BU5D_t2187523415* L_2 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Find(System.Predicate`1<T>)
extern "C" TimerData_t4056715490 List_1_Find_m3524958735_gshared (List_1_t1233822936 * __this, Predicate_1_t587042318 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
TimerData_t4056715490 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t587042318 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t587042318 * L_1 = ___match0;
TimerDataU5BU5D_t2187523415* L_2 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
TimerData_t4056715490 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t587042318 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t587042318 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t587042318 *)L_1, (TimerData_t4056715490 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
TimerDataU5BU5D_t2187523415* L_7 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
TimerData_t4056715490 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(TimerData_t4056715490 ));
TimerData_t4056715490 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2254799684_gshared (List_1_t1233822936 * __this, Predicate_1_t587042318 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t587042318 * L_1 = ___match0;
NullCheck((List_1_t1233822936 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t1233822936 *, int32_t, int32_t, Predicate_1_t587042318 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t587042318 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m661705964_gshared (List_1_t1233822936 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t587042318 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t587042318 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t587042318 * L_10 = ___match2;
TimerDataU5BU5D_t2187523415* L_11 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
TimerData_t4056715490 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t587042318 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t587042318 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t587042318 *)L_10, (TimerData_t4056715490 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m1411604268_gshared (List_1_t1233822936 * __this, Action_1_t4229183085 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m1411604268_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t4229183085 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t4229183085 * L_5 = ___action0;
TimerDataU5BU5D_t2187523415* L_6 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
TimerData_t4056715490 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t4229183085 *)L_5);
(( void (*) (Action_1_t4229183085 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t4229183085 *)L_5, (TimerData_t4056715490 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::GetEnumerator()
extern "C" Enumerator_t3123066813 List_1_GetEnumerator_m4024916258_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3123066813 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3594547698((&L_0), (List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m3454527959_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3123066813 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3594547698((&L_0), (List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3123066813 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m2314104926_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
Enumerator_t3123066813 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m3594547698((&L_0), (List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t3123066813 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m1102788947_gshared (List_1_t1233822936 * __this, TimerData_t4056715490 ___item0, const RuntimeMethod* method)
{
{
TimerDataU5BU5D_t2187523415* L_0 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
TimerData_t4056715490 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, TimerData_t4056715490 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_0, (TimerData_t4056715490 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m3740606207_gshared (List_1_t1233822936 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1233822936 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m2293992312_gshared (List_1_t1233822936 * __this, int32_t ___index0, TimerData_t4056715490 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
TimerDataU5BU5D_t2187523415* L_3 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
TimerDataU5BU5D_t2187523415* L_7 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_8 = ___index0;
TimerDataU5BU5D_t2187523415* L_9 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
TimerDataU5BU5D_t2187523415* L_13 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_14 = ___index0;
TimerData_t4056715490 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (TimerData_t4056715490 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m2484811523_gshared (List_1_t1233822936 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m2484811523_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_1, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m1052427498_gshared (List_1_t1233822936 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m1052427498_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
TimerDataU5BU5D_t2187523415* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
TimerDataU5BU5D_t2187523415* L_12 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_13 = ___index0;
TimerDataU5BU5D_t2187523415* L_14 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t1233822936 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
TimerDataU5BU5D_t2187523415* L_20 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
TimerDataU5BU5D_t2187523415* L_21 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
TimerDataU5BU5D_t2187523415* L_24 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
TimerDataU5BU5D_t2187523415* L_27 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (TimerDataU5BU5D_t2187523415*)((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
TimerDataU5BU5D_t2187523415* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< TimerDataU5BU5D_t2187523415*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerData>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (TimerDataU5BU5D_t2187523415*)L_33, (int32_t)0);
TimerDataU5BU5D_t2187523415* L_34 = V_2;
TimerDataU5BU5D_t2187523415* L_35 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerData>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
TimerData_t4056715490 L_44 = InterfaceFuncInvoker0< TimerData_t4056715490 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerData>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_42, (TimerData_t4056715490 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Remove(T)
extern "C" bool List_1_Remove_m3816611506_gshared (List_1_t1233822936 * __this, TimerData_t4056715490 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
TimerData_t4056715490 L_0 = ___item0;
NullCheck((List_1_t1233822936 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m4211343367_gshared (List_1_t1233822936 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t1233822936 *)__this);
(( bool (*) (List_1_t1233822936 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t1233822936 *)__this, (TimerData_t4056715490 )((*(TimerData_t4056715490 *)((TimerData_t4056715490 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m2480313209_gshared (List_1_t1233822936 * __this, Predicate_1_t587042318 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t587042318 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t587042318 * L_4 = ___match0;
TimerDataU5BU5D_t2187523415* L_5 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
TimerData_t4056715490 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t587042318 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t587042318 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t587042318 *)L_4, (TimerData_t4056715490 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t587042318 * L_16 = ___match0;
TimerDataU5BU5D_t2187523415* L_17 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
TimerData_t4056715490 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t587042318 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t587042318 *, TimerData_t4056715490 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t587042318 *)L_16, (TimerData_t4056715490 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
TimerDataU5BU5D_t2187523415* L_24 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
TimerDataU5BU5D_t2187523415* L_27 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
TimerData_t4056715490 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (TimerData_t4056715490 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
TimerDataU5BU5D_t2187523415* L_34 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m699263671_gshared (List_1_t1233822936 * __this, int32_t ___index0, const RuntimeMethod* method)
{
TimerData_t4056715490 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
TimerDataU5BU5D_t2187523415* L_5 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_6 = ___index0;
TimerDataU5BU5D_t2187523415* L_7 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
TimerDataU5BU5D_t2187523415* L_11 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(TimerData_t4056715490 ));
TimerData_t4056715490 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (TimerData_t4056715490 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m3939432622_gshared (List_1_t1233822936 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
TimerDataU5BU5D_t2187523415* L_10 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
TimerDataU5BU5D_t2187523415* L_13 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
TimerDataU5BU5D_t2187523415* L_17 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Reverse()
extern "C" void List_1_Reverse_m1389660452_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1233822936 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1233822936 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m2167304192_gshared (List_1_t1233822936 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerDataU5BU5D_t2187523415* L_5 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Sort()
extern "C" void List_1_Sort_m2012499816_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1233822936 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1233822936 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m732658672_gshared (List_1_t1233822936 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t1233822936 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t1233822936 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t1233822936 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m3369159491_gshared (List_1_t1233822936 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerDataU5BU5D_t2187523415* L_5 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m3987804439_gshared (List_1_t1233822936 * __this, Comparison_1_t3831646669 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t3831646669 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
TimerDataU5BU5D_t2187523415* L_2 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t3831646669 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, TimerDataU5BU5D_t2187523415*, int32_t, int32_t, Comparison_1_t3831646669 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (TimerDataU5BU5D_t2187523415*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t3831646669 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::ToArray()
extern "C" TimerDataU5BU5D_t2187523415* List_1_ToArray_m1158490719_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
TimerDataU5BU5D_t2187523415* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (TimerDataU5BU5D_t2187523415*)((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
TimerDataU5BU5D_t2187523415* L_1 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
TimerDataU5BU5D_t2187523415* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
TimerDataU5BU5D_t2187523415* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::TrimExcess()
extern "C" void List_1_TrimExcess_m3881724724_gshared (List_1_t1233822936 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
TimerDataU5BU5D_t2187523415* L_0 = (TimerDataU5BU5D_t2187523415*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t1233822936 *)__this);
(( void (*) (List_1_t1233822936 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t1233822936 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerData>::.cctor()
extern "C" void List_1__cctor_m14047462_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t1233822936_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((TimerDataU5BU5D_t2187523415*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.ctor()
extern "C" void List_1__ctor_m2310649104_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerIdPairU5BU5D_t552239964* L_0 = ((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.ctor(System.Int32)
extern "C" void List_1__ctor_m1036063807_gshared (List_1_t2393398647 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerIdPairU5BU5D_t552239964* L_2 = ((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m1045186152_gshared (List_1_t2393398647 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m1045186152_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerIdPairU5BU5D_t552239964* L_6 = ((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
TimerIdPairU5BU5D_t552239964* L_9 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< TimerIdPairU5BU5D_t552239964*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (TimerIdPairU5BU5D_t552239964*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerIdPairU5BU5D_t552239964* L_11 = ((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
TimerIdPair_t921323905 L_15 = InterfaceFuncInvoker0< TimerIdPair_t921323905 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m2089912990_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
TimerIdPairU5BU5D_t552239964* L_0 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1763509583_gshared (List_1_t2393398647 * __this, int32_t ___value0, const RuntimeMethod* method)
{
TimerIdPairU5BU5D_t552239964* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (TimerIdPairU5BU5D_t552239964*)((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
TimerIdPairU5BU5D_t552239964* L_7 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
TimerIdPairU5BU5D_t552239964* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
TimerIdPairU5BU5D_t552239964* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
TimerIdPairU5BU5D_t552239964* L_11 = ((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Count()
extern "C" int32_t List_1_get_Count_m2563965719_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m128024158_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m1603449474_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2850291781_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m3605150347_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m2791570346_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m2791570346_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Item(System.Int32)
extern "C" TimerIdPair_t921323905 List_1_get_Item_m3569304115_gshared (List_1_t2393398647 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
TimerIdPairU5BU5D_t552239964* L_2 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_3 = ___index0;
TimerIdPair_t921323905 L_4 = (( TimerIdPair_t921323905 (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m2230499175_gshared (List_1_t2393398647 * __this, int32_t ___index0, TimerIdPair_t921323905 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
TimerIdPairU5BU5D_t552239964* L_2 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_3 = ___index0;
TimerIdPair_t921323905 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (TimerIdPair_t921323905 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m3478727629_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
TimerIdPair_t921323905 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(TimerIdPair_t921323905 ));
TimerIdPair_t921323905 L_2 = V_0;
TimerIdPair_t921323905 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m4027008200_gshared (List_1_t2393398647 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t2393398647 *)__this);
TimerIdPair_t921323905 L_1 = (( TimerIdPair_t921323905 (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
TimerIdPair_t921323905 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m3984913671_gshared (List_1_t2393398647 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m3984913671_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_1, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Add(T)
extern "C" void List_1_Add_m3390956590_gshared (List_1_t2393398647 * __this, TimerIdPair_t921323905 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
TimerIdPairU5BU5D_t552239964* L_1 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
TimerIdPair_t921323905 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (TimerIdPair_t921323905 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m336920279_gshared (List_1_t2393398647 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m336920279_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t2393398647 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t2393398647 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m1302364186_gshared (List_1_t2393398647 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t2133900192 * List_1_AsReadOnly_m2312633128_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t2133900192 * L_0 = (ReadOnlyCollection_1_t2133900192 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t2133900192 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m3792243930_gshared (List_1_t2393398647 * __this, int32_t ___index0, int32_t ___count1, TimerIdPair_t921323905 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerIdPairU5BU5D_t552239964* L_5 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
TimerIdPair_t921323905 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, int32_t, int32_t, TimerIdPair_t921323905 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_5, (int32_t)L_6, (int32_t)L_7, (TimerIdPair_t921323905 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m878584117_gshared (List_1_t2393398647 * __this, TimerIdPair_t921323905 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2393398647 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2393398647 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
TimerIdPair_t921323905 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t2393398647 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t2393398647 *, int32_t, int32_t, TimerIdPair_t921323905 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)0, (int32_t)L_0, (TimerIdPair_t921323905 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Clear()
extern "C" void List_1_Clear_m4279470046_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
TimerIdPairU5BU5D_t552239964* L_1 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Contains(T)
extern "C" bool List_1_Contains_m1679426315_gshared (List_1_t2393398647 * __this, TimerIdPair_t921323905 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t3386063537 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
TimerIdPairU5BU5D_t552239964* L_1 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
TimerIdPair_t921323905 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t3386063537 * L_8 = (( EqualityComparer_1_t3386063537 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t3386063537 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t3386063537 * L_9 = V_1;
TimerIdPairU5BU5D_t552239964* L_10 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
TimerIdPair_t921323905 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
TimerIdPair_t921323905 L_14 = ___item0;
NullCheck((EqualityComparer_1_t3386063537 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, TimerIdPair_t921323905 , TimerIdPair_t921323905 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Equals(T,T) */, (EqualityComparer_1_t3386063537 *)L_9, (TimerIdPair_t921323905 )L_13, (TimerIdPair_t921323905 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m2824511850_gshared (List_1_t2393398647 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2393398647 *)__this);
bool L_3 = (( bool (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::CopyTo(T[])
extern "C" void List_1_CopyTo_m726545893_gshared (List_1_t2393398647 * __this, TimerIdPairU5BU5D_t552239964* ___array0, const RuntimeMethod* method)
{
{
TimerIdPairU5BU5D_t552239964* L_0 = ___array0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, TimerIdPairU5BU5D_t552239964*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPairU5BU5D_t552239964*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m2293422597_gshared (List_1_t2393398647 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m2293422597_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m2536659255_gshared (List_1_t2393398647 * __this, int32_t ___index0, TimerIdPairU5BU5D_t552239964* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_4 = ___index0;
TimerIdPairU5BU5D_t552239964* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m2559958178_gshared (List_1_t2393398647 * __this, TimerIdPairU5BU5D_t552239964* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
TimerIdPairU5BU5D_t552239964* L_0 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
TimerIdPairU5BU5D_t552239964* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m2949656053_gshared (List_1_t2393398647 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
TimerIdPairU5BU5D_t552239964* L_0 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
TimerIdPairU5BU5D_t552239964* L_2 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Find(System.Predicate`1<T>)
extern "C" TimerIdPair_t921323905 List_1_Find_m1027726005_gshared (List_1_t2393398647 * __this, Predicate_1_t1746618029 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
TimerIdPair_t921323905 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t1746618029 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t1746618029 * L_1 = ___match0;
TimerIdPairU5BU5D_t552239964* L_2 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
TimerIdPair_t921323905 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t1746618029 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t1746618029 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t1746618029 *)L_1, (TimerIdPair_t921323905 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
TimerIdPairU5BU5D_t552239964* L_7 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
TimerIdPair_t921323905 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(TimerIdPair_t921323905 ));
TimerIdPair_t921323905 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m1877043536_gshared (List_1_t2393398647 * __this, Predicate_1_t1746618029 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t1746618029 * L_1 = ___match0;
NullCheck((List_1_t2393398647 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t2393398647 *, int32_t, int32_t, Predicate_1_t1746618029 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t1746618029 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2960855587_gshared (List_1_t2393398647 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t1746618029 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t1746618029 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t1746618029 * L_10 = ___match2;
TimerIdPairU5BU5D_t552239964* L_11 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
TimerIdPair_t921323905 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t1746618029 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t1746618029 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t1746618029 *)L_10, (TimerIdPair_t921323905 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m897147704_gshared (List_1_t2393398647 * __this, Action_1_t1093791500 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m897147704_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t1093791500 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t1093791500 * L_5 = ___action0;
TimerIdPairU5BU5D_t552239964* L_6 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
TimerIdPair_t921323905 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t1093791500 *)L_5);
(( void (*) (Action_1_t1093791500 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t1093791500 *)L_5, (TimerIdPair_t921323905 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::GetEnumerator()
extern "C" Enumerator_t4282642524 List_1_GetEnumerator_m3870397954_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
Enumerator_t4282642524 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1365743726((&L_0), (List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m572115902_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
Enumerator_t4282642524 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1365743726((&L_0), (List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t4282642524 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m1364113912_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
Enumerator_t4282642524 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m1365743726((&L_0), (List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t4282642524 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m2882457355_gshared (List_1_t2393398647 * __this, TimerIdPair_t921323905 ___item0, const RuntimeMethod* method)
{
{
TimerIdPairU5BU5D_t552239964* L_0 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
TimerIdPair_t921323905 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, TimerIdPair_t921323905 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_0, (TimerIdPair_t921323905 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m802463377_gshared (List_1_t2393398647 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2393398647 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m30319956_gshared (List_1_t2393398647 * __this, int32_t ___index0, TimerIdPair_t921323905 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
TimerIdPairU5BU5D_t552239964* L_3 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
TimerIdPairU5BU5D_t552239964* L_7 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_8 = ___index0;
TimerIdPairU5BU5D_t552239964* L_9 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
TimerIdPairU5BU5D_t552239964* L_13 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_14 = ___index0;
TimerIdPair_t921323905 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (TimerIdPair_t921323905 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m1192229675_gshared (List_1_t2393398647 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m1192229675_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_1, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m368390690_gshared (List_1_t2393398647 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m368390690_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
TimerIdPairU5BU5D_t552239964* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
TimerIdPairU5BU5D_t552239964* L_12 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_13 = ___index0;
TimerIdPairU5BU5D_t552239964* L_14 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t2393398647 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
TimerIdPairU5BU5D_t552239964* L_20 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
TimerIdPairU5BU5D_t552239964* L_21 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
TimerIdPairU5BU5D_t552239964* L_24 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
TimerIdPairU5BU5D_t552239964* L_27 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (TimerIdPairU5BU5D_t552239964*)((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
TimerIdPairU5BU5D_t552239964* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< TimerIdPairU5BU5D_t552239964*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (TimerIdPairU5BU5D_t552239964*)L_33, (int32_t)0);
TimerIdPairU5BU5D_t552239964* L_34 = V_2;
TimerIdPairU5BU5D_t552239964* L_35 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
TimerIdPair_t921323905 L_44 = InterfaceFuncInvoker0< TimerIdPair_t921323905 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_42, (TimerIdPair_t921323905 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Remove(T)
extern "C" bool List_1_Remove_m1223585286_gshared (List_1_t2393398647 * __this, TimerIdPair_t921323905 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
TimerIdPair_t921323905 L_0 = ___item0;
NullCheck((List_1_t2393398647 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m919367232_gshared (List_1_t2393398647 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t2393398647 *)__this);
(( bool (*) (List_1_t2393398647 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t2393398647 *)__this, (TimerIdPair_t921323905 )((*(TimerIdPair_t921323905 *)((TimerIdPair_t921323905 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m390138822_gshared (List_1_t2393398647 * __this, Predicate_1_t1746618029 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t1746618029 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t1746618029 * L_4 = ___match0;
TimerIdPairU5BU5D_t552239964* L_5 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
TimerIdPair_t921323905 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t1746618029 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t1746618029 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t1746618029 *)L_4, (TimerIdPair_t921323905 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t1746618029 * L_16 = ___match0;
TimerIdPairU5BU5D_t552239964* L_17 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
TimerIdPair_t921323905 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t1746618029 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t1746618029 *, TimerIdPair_t921323905 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t1746618029 *)L_16, (TimerIdPair_t921323905 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
TimerIdPairU5BU5D_t552239964* L_24 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
TimerIdPairU5BU5D_t552239964* L_27 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
TimerIdPair_t921323905 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (TimerIdPair_t921323905 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
TimerIdPairU5BU5D_t552239964* L_34 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m2161109299_gshared (List_1_t2393398647 * __this, int32_t ___index0, const RuntimeMethod* method)
{
TimerIdPair_t921323905 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
TimerIdPairU5BU5D_t552239964* L_5 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_6 = ___index0;
TimerIdPairU5BU5D_t552239964* L_7 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
TimerIdPairU5BU5D_t552239964* L_11 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(TimerIdPair_t921323905 ));
TimerIdPair_t921323905 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (TimerIdPair_t921323905 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m3715047704_gshared (List_1_t2393398647 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
TimerIdPairU5BU5D_t552239964* L_10 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
TimerIdPairU5BU5D_t552239964* L_13 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
TimerIdPairU5BU5D_t552239964* L_17 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Reverse()
extern "C" void List_1_Reverse_m3103789738_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2393398647 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2393398647 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m407488488_gshared (List_1_t2393398647 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerIdPairU5BU5D_t552239964* L_5 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Sort()
extern "C" void List_1_Sort_m3713953784_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2393398647 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2393398647 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m1420527457_gshared (List_1_t2393398647 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t2393398647 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t2393398647 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t2393398647 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m4281604875_gshared (List_1_t2393398647 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
TimerIdPairU5BU5D_t552239964* L_5 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m39722010_gshared (List_1_t2393398647 * __this, Comparison_1_t696255084 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t696255084 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
TimerIdPairU5BU5D_t552239964* L_2 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t696255084 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, TimerIdPairU5BU5D_t552239964*, int32_t, int32_t, Comparison_1_t696255084 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (TimerIdPairU5BU5D_t552239964*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t696255084 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::ToArray()
extern "C" TimerIdPairU5BU5D_t552239964* List_1_ToArray_m2888054837_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
TimerIdPairU5BU5D_t552239964* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (TimerIdPairU5BU5D_t552239964*)((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
TimerIdPairU5BU5D_t552239964* L_1 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
TimerIdPairU5BU5D_t552239964* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
TimerIdPairU5BU5D_t552239964* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::TrimExcess()
extern "C" void List_1_TrimExcess_m2185748436_gshared (List_1_t2393398647 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
TimerIdPairU5BU5D_t552239964* L_0 = (TimerIdPairU5BU5D_t552239964*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t2393398647 *)__this);
(( void (*) (List_1_t2393398647 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t2393398647 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<HoloToolkit.Unity.TimerScheduler/TimerIdPair>::.cctor()
extern "C" void List_1__cctor_m1319303589_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t2393398647_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((TimerIdPairU5BU5D_t552239964*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::.ctor()
extern "C" void List_1__ctor_m1378328547_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
JsonPositionU5BU5D_t197937271* L_0 = ((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_0);
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::.ctor(System.Int32)
extern "C" void List_1__ctor_m792868677_gshared (List_1_t4000102456 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
int32_t L_0 = ___capacity0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)12), (int32_t)4, /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_1 = ___capacity0;
if (L_1)
{
goto IL_0021;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
JsonPositionU5BU5D_t197937271* L_2 = ((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_2);
return;
}
IL_0021:
{
int32_t L_3 = ___capacity0;
__this->set__items_1(((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_3)));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::.ctor(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1__ctor_m2836499805_gshared (List_1_t4000102456 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1__ctor_m2836499805_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
RuntimeObject* V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
NullCheck((RuntimeObject *)__this);
Object__ctor_m297566312((RuntimeObject *)__this, /*hidden argument*/NULL);
RuntimeObject* L_0 = ___collection0;
if (L_0)
{
goto IL_000f;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_000f:
{
RuntimeObject* L_1 = ___collection0;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_2 = V_0;
if (!L_2)
{
goto IL_0050;
}
}
{
RuntimeObject* L_3 = V_0;
NullCheck((RuntimeObject*)L_3);
int32_t L_4 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<Newtonsoft.Json.JsonPosition>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_3);
V_1 = (int32_t)L_4;
int32_t L_5 = V_1;
if (L_5)
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
JsonPositionU5BU5D_t197937271* L_6 = ((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_6);
return;
}
IL_002f:
{
int32_t L_7 = V_1;
__this->set__items_1(((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_7)));
RuntimeObject* L_8 = V_0;
JsonPositionU5BU5D_t197937271* L_9 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck((RuntimeObject*)L_8);
InterfaceActionInvoker2< JsonPositionU5BU5D_t197937271*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<Newtonsoft.Json.JsonPosition>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_8, (JsonPositionU5BU5D_t197937271*)L_9, (int32_t)0);
int32_t L_10 = V_1;
__this->set__size_2(L_10);
return;
}
IL_0050:
{
__this->set__size_2(0);
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
JsonPositionU5BU5D_t197937271* L_11 = ((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
RuntimeObject* L_12 = ___collection0;
NullCheck((RuntimeObject*)L_12);
RuntimeObject* L_13 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<Newtonsoft.Json.JsonPosition>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_12);
V_2 = (RuntimeObject*)L_13;
}
IL_0069:
try
{ // begin try (depth: 1)
{
goto IL_0077;
}
IL_006b:
{
RuntimeObject* L_14 = V_2;
NullCheck((RuntimeObject*)L_14);
JsonPosition_t2528027714 L_15 = InterfaceFuncInvoker0< JsonPosition_t2528027714 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<Newtonsoft.Json.JsonPosition>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_14);
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )L_15, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
}
IL_0077:
{
RuntimeObject* L_16 = V_2;
NullCheck((RuntimeObject*)L_16);
bool L_17 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_16);
if (L_17)
{
goto IL_006b;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x8B, FINALLY_0081);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0081;
}
FINALLY_0081:
{ // begin finally (depth: 1)
{
RuntimeObject* L_18 = V_2;
if (!L_18)
{
goto IL_008a;
}
}
IL_0084:
{
RuntimeObject* L_19 = V_2;
NullCheck((RuntimeObject*)L_19);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_19);
}
IL_008a:
{
IL2CPP_END_FINALLY(129)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(129)
{
IL2CPP_JUMP_TBL(0x8B, IL_008b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_008b:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m971292493_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
JsonPositionU5BU5D_t197937271* L_0 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_0);
return (((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))));
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m1487077849_gshared (List_1_t4000102456 * __this, int32_t ___value0, const RuntimeMethod* method)
{
JsonPositionU5BU5D_t197937271* V_0 = NULL;
{
int32_t L_0 = ___value0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) >= ((int32_t)L_1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)15), (int32_t)((int32_t)21), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___value0;
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_3);
if ((((int32_t)L_2) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))))))
{
goto IL_0058;
}
}
{
int32_t L_4 = ___value0;
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_004d;
}
}
{
int32_t L_5 = ___value0;
V_0 = (JsonPositionU5BU5D_t197937271*)((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_5));
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_0045;
}
}
{
JsonPositionU5BU5D_t197937271* L_7 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
JsonPositionU5BU5D_t197937271* L_8 = V_0;
int32_t L_9 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_8, (int32_t)0, (int32_t)L_9, /*hidden argument*/NULL);
}
IL_0045:
{
JsonPositionU5BU5D_t197937271* L_10 = V_0;
__this->set__items_1(L_10);
return;
}
IL_004d:
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
JsonPositionU5BU5D_t197937271* L_11 = ((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0)))->get__emptyArray_5();
__this->set__items_1(L_11);
}
IL_0058:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::get_Count()
extern "C" int32_t List_1_get_Count_m4240163880_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.get_IsFixedSize()
extern "C" bool List_1_System_Collections_IList_get_IsFixedSize_m2555941900_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.Generic.ICollection<T>.get_IsReadOnly()
extern "C" bool List_1_System_Collections_Generic_ICollectionU3CTU3E_get_IsReadOnly_m3218276997_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.get_IsReadOnly()
extern "C" bool List_1_System_Collections_IList_get_IsReadOnly_m2757155908_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.ICollection.get_IsSynchronized()
extern "C" bool List_1_System_Collections_ICollection_get_IsSynchronized_m2745765290_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
return (bool)0;
}
}
// System.Object System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.ICollection.get_SyncRoot()
extern "C" RuntimeObject * List_1_System_Collections_ICollection_get_SyncRoot_m4237058816_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_get_SyncRoot_m4237058816_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get__syncRoot_4();
if (L_0)
{
goto IL_001a;
}
}
{
RuntimeObject ** L_1 = (RuntimeObject **)__this->get_address_of__syncRoot_4();
RuntimeObject * L_2 = (RuntimeObject *)il2cpp_codegen_object_new(RuntimeObject_il2cpp_TypeInfo_var);
Object__ctor_m297566312(L_2, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<RuntimeObject *>((RuntimeObject **)(RuntimeObject **)L_1, (RuntimeObject *)L_2, (RuntimeObject *)NULL);
}
IL_001a:
{
RuntimeObject * L_3 = (RuntimeObject *)__this->get__syncRoot_4();
return L_3;
}
}
// T System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::get_Item(System.Int32)
extern "C" JsonPosition_t2528027714 List_1_get_Item_m592205178_gshared (List_1_t4000102456 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
JsonPositionU5BU5D_t197937271* L_2 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_3 = ___index0;
JsonPosition_t2528027714 L_4 = (( JsonPosition_t2528027714 (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_2, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 6));
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::set_Item(System.Int32,T)
extern "C" void List_1_set_Item_m946590732_gshared (List_1_t4000102456 * __this, int32_t ___index0, JsonPosition_t2528027714 ___value1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
JsonPositionU5BU5D_t197937271* L_2 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_3 = ___index0;
JsonPosition_t2528027714 L_4 = ___value1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (JsonPosition_t2528027714 )L_4);
int32_t L_5 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::IsCompatibleObject(System.Object)
extern "C" bool List_1_IsCompatibleObject_m1840448382_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject * ___value0, const RuntimeMethod* method)
{
JsonPosition_t2528027714 V_0;
memset(&V_0, 0, sizeof(V_0));
{
RuntimeObject * L_0 = ___value0;
if (((RuntimeObject *)IsInst((RuntimeObject*)L_0, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7))))
{
goto IL_001f;
}
}
{
RuntimeObject * L_1 = ___value0;
if (L_1)
{
goto IL_001d;
}
}
{
il2cpp_codegen_initobj((&V_0), sizeof(JsonPosition_t2528027714 ));
JsonPosition_t2528027714 L_2 = V_0;
JsonPosition_t2528027714 L_3 = L_2;
RuntimeObject * L_4 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 7), &L_3);
return (bool)((((RuntimeObject*)(RuntimeObject *)L_4) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
}
IL_001d:
{
return (bool)0;
}
IL_001f:
{
return (bool)1;
}
}
// System.Object System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.get_Item(System.Int32)
extern "C" RuntimeObject * List_1_System_Collections_IList_get_Item_m2118916094_gshared (List_1_t4000102456 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
NullCheck((List_1_t4000102456 *)__this);
JsonPosition_t2528027714 L_1 = (( JsonPosition_t2528027714 (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 8));
JsonPosition_t2528027714 L_2 = L_1;
RuntimeObject * L_3 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7), &L_2);
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.set_Item(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_set_Item_m2763574838_gshared (List_1_t4000102456 * __this, int32_t ___index0, RuntimeObject * ___value1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_set_Item_m2763574838_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___value1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)15), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___value1;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_1, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 10));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___value1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Add(T)
extern "C" void List_1_Add_m2564458925_gshared (List_1_t4000102456 * __this, JsonPosition_t2528027714 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = (int32_t)__this->get__size_2();
JsonPositionU5BU5D_t197937271* L_1 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_1);
if ((!(((uint32_t)L_0) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_1)->max_length))))))))
{
goto IL_001e;
}
}
{
int32_t L_2 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_001e:
{
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_4 = (int32_t)__this->get__size_2();
V_0 = (int32_t)L_4;
int32_t L_5 = V_0;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
int32_t L_6 = V_0;
JsonPosition_t2528027714 L_7 = ___item0;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(L_6), (JsonPosition_t2528027714 )L_7);
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.Add(System.Object)
extern "C" int32_t List_1_System_Collections_IList_Add_m309504099_gshared (List_1_t4000102456 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Add_m309504099_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item0;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
RuntimeObject * L_1 = ___item0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_1, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 5));
goto IL_0029;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0016;
throw e;
}
CATCH_0016:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_2 = ___item0;
RuntimeTypeHandle_t3027515415 L_3 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_3, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_2, (Type_t *)L_4, /*hidden argument*/NULL);
goto IL_0029;
} // end catch (depth: 1)
IL_0029:
{
NullCheck((List_1_t4000102456 *)__this);
int32_t L_5 = (( int32_t (*) (List_1_t4000102456 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)1));
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::AddRange(System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_AddRange_m1509207009_gshared (List_1_t4000102456 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
RuntimeObject* L_1 = ___collection0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 14));
return;
}
}
// System.Collections.ObjectModel.ReadOnlyCollection`1<T> System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::AsReadOnly()
extern "C" ReadOnlyCollection_1_t3740604001 * List_1_AsReadOnly_m971284597_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
ReadOnlyCollection_1_t3740604001 * L_0 = (ReadOnlyCollection_1_t3740604001 *)il2cpp_codegen_object_new(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 15));
(( void (*) (ReadOnlyCollection_1_t3740604001 *, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16)->methodPointer)(L_0, (RuntimeObject*)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 16));
return L_0;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::BinarySearch(System.Int32,System.Int32,T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m608581440_gshared (List_1_t4000102456 * __this, int32_t ___index0, int32_t ___count1, JsonPosition_t2528027714 ___item2, RuntimeObject* ___comparer3, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
JsonPositionU5BU5D_t197937271* L_5 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
JsonPosition_t2528027714 L_8 = ___item2;
RuntimeObject* L_9 = ___comparer3;
int32_t L_10 = (( int32_t (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, int32_t, int32_t, JsonPosition_t2528027714 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_5, (int32_t)L_6, (int32_t)L_7, (JsonPosition_t2528027714 )L_8, (RuntimeObject*)L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 17));
return L_10;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::BinarySearch(T,System.Collections.Generic.IComparer`1<T>)
extern "C" int32_t List_1_BinarySearch_m1384590975_gshared (List_1_t4000102456 * __this, JsonPosition_t2528027714 ___item0, RuntimeObject* ___comparer1, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4000102456 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4000102456 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
JsonPosition_t2528027714 L_1 = ___item0;
RuntimeObject* L_2 = ___comparer1;
NullCheck((List_1_t4000102456 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t4000102456 *, int32_t, int32_t, JsonPosition_t2528027714 , RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)0, (int32_t)L_0, (JsonPosition_t2528027714 )L_1, (RuntimeObject*)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 18));
return L_3;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Clear()
extern "C" void List_1_Clear_m1158928733_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0022;
}
}
{
JsonPositionU5BU5D_t197937271* L_1 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_2 = (int32_t)__this->get__size_2();
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/NULL);
__this->set__size_2(0);
}
IL_0022:
{
int32_t L_3 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Contains(T)
extern "C" bool List_1_Contains_m3024736659_gshared (List_1_t4000102456 * __this, JsonPosition_t2528027714 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
EqualityComparer_1_t697800050 * V_1 = NULL;
int32_t V_2 = 0;
{
goto IL_0030;
}
{
V_0 = (int32_t)0;
goto IL_0025;
}
IL_000c:
{
JsonPositionU5BU5D_t197937271* L_1 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_2 = V_0;
NullCheck(L_1);
int32_t L_3 = L_2;
JsonPosition_t2528027714 L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
goto IL_0021;
}
{
return (bool)1;
}
IL_0021:
{
int32_t L_5 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0025:
{
int32_t L_6 = V_0;
int32_t L_7 = (int32_t)__this->get__size_2();
if ((((int32_t)L_6) < ((int32_t)L_7)))
{
goto IL_000c;
}
}
{
return (bool)0;
}
IL_0030:
{
EqualityComparer_1_t697800050 * L_8 = (( EqualityComparer_1_t697800050 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19)->methodPointer)(NULL /*static, unused*/, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 19));
V_1 = (EqualityComparer_1_t697800050 *)L_8;
V_2 = (int32_t)0;
goto IL_0055;
}
IL_003a:
{
EqualityComparer_1_t697800050 * L_9 = V_1;
JsonPositionU5BU5D_t197937271* L_10 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = L_11;
JsonPosition_t2528027714 L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
JsonPosition_t2528027714 L_14 = ___item0;
NullCheck((EqualityComparer_1_t697800050 *)L_9);
bool L_15 = VirtFuncInvoker2< bool, JsonPosition_t2528027714 , JsonPosition_t2528027714 >::Invoke(8 /* System.Boolean System.Collections.Generic.EqualityComparer`1<Newtonsoft.Json.JsonPosition>::Equals(T,T) */, (EqualityComparer_1_t697800050 *)L_9, (JsonPosition_t2528027714 )L_13, (JsonPosition_t2528027714 )L_14);
if (!L_15)
{
goto IL_0051;
}
}
{
return (bool)1;
}
IL_0051:
{
int32_t L_16 = V_2;
V_2 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0055:
{
int32_t L_17 = V_2;
int32_t L_18 = (int32_t)__this->get__size_2();
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_003a;
}
}
{
return (bool)0;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.Contains(System.Object)
extern "C" bool List_1_System_Collections_IList_Contains_m3497677527_gshared (List_1_t4000102456 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4000102456 *)__this);
bool L_3 = (( bool (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 23));
return L_3;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::CopyTo(T[])
extern "C" void List_1_CopyTo_m4046225077_gshared (List_1_t4000102456 * __this, JsonPositionU5BU5D_t197937271* ___array0, const RuntimeMethod* method)
{
{
JsonPositionU5BU5D_t197937271* L_0 = ___array0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, JsonPositionU5BU5D_t197937271*, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24)->methodPointer)((List_1_t4000102456 *)__this, (JsonPositionU5BU5D_t197937271*)L_0, (int32_t)0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 24));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.ICollection.CopyTo(System.Array,System.Int32)
extern "C" void List_1_System_Collections_ICollection_CopyTo_m177405749_gshared (List_1_t4000102456 * __this, RuntimeArray * ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_ICollection_CopyTo_m177405749_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeArray * L_0 = ___array0;
if (!L_0)
{
goto IL_0012;
}
}
{
RuntimeArray * L_1 = ___array0;
NullCheck((RuntimeArray *)L_1);
int32_t L_2 = Array_get_Rank_m3448755881((RuntimeArray *)L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) == ((int32_t)1)))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)7, /*hidden argument*/NULL);
}
IL_0012:
{
}
IL_0013:
try
{ // begin try (depth: 1)
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
RuntimeArray * L_4 = ___array0;
int32_t L_5 = ___arrayIndex1;
int32_t L_6 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)0, (RuntimeArray *)L_4, (int32_t)L_5, (int32_t)L_6, /*hidden argument*/NULL);
goto IL_0033;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArrayTypeMismatchException_t2342549375_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0029;
throw e;
}
CATCH_0029:
{ // begin catch(System.ArrayTypeMismatchException)
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)18), /*hidden argument*/NULL);
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::CopyTo(System.Int32,T[],System.Int32,System.Int32)
extern "C" void List_1_CopyTo_m3330888026_gshared (List_1_t4000102456 * __this, int32_t ___index0, JsonPositionU5BU5D_t197937271* ___array1, int32_t ___arrayIndex2, int32_t ___count3, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
int32_t L_1 = ___index0;
int32_t L_2 = ___count3;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) >= ((int32_t)L_2)))
{
goto IL_0013;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_0013:
{
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_4 = ___index0;
JsonPositionU5BU5D_t197937271* L_5 = ___array1;
int32_t L_6 = ___arrayIndex2;
int32_t L_7 = ___count3;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_3, (int32_t)L_4, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::CopyTo(T[],System.Int32)
extern "C" void List_1_CopyTo_m62893738_gshared (List_1_t4000102456 * __this, JsonPositionU5BU5D_t197937271* ___array0, int32_t ___arrayIndex1, const RuntimeMethod* method)
{
{
JsonPositionU5BU5D_t197937271* L_0 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
JsonPositionU5BU5D_t197937271* L_1 = ___array0;
int32_t L_2 = ___arrayIndex1;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_0, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)L_2, (int32_t)L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::EnsureCapacity(System.Int32)
extern "C" void List_1_EnsureCapacity_m289093243_gshared (List_1_t4000102456 * __this, int32_t ___min0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
JsonPositionU5BU5D_t197937271* L_0 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_0);
int32_t L_1 = ___min0;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))) >= ((int32_t)L_1)))
{
goto IL_003d;
}
}
{
JsonPositionU5BU5D_t197937271* L_2 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_2);
if (!(((RuntimeArray *)L_2)->max_length))
{
goto IL_0020;
}
}
{
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_3);
G_B4_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length)))), (int32_t)2));
goto IL_0021;
}
IL_0020:
{
G_B4_0 = 4;
}
IL_0021:
{
V_0 = (int32_t)G_B4_0;
int32_t L_4 = V_0;
if ((!(((uint32_t)L_4) > ((uint32_t)((int32_t)2146435071)))))
{
goto IL_0030;
}
}
{
V_0 = (int32_t)((int32_t)2146435071);
}
IL_0030:
{
int32_t L_5 = V_0;
int32_t L_6 = ___min0;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0036;
}
}
{
int32_t L_7 = ___min0;
V_0 = (int32_t)L_7;
}
IL_0036:
{
int32_t L_8 = V_0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_003d:
{
return;
}
}
// T System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Find(System.Predicate`1<T>)
extern "C" JsonPosition_t2528027714 List_1_Find_m3515755672_gshared (List_1_t4000102456 * __this, Predicate_1_t3353321838 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
JsonPosition_t2528027714 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Predicate_1_t3353321838 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0032;
}
IL_000d:
{
Predicate_1_t3353321838 * L_1 = ___match0;
JsonPositionU5BU5D_t197937271* L_2 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
JsonPosition_t2528027714 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck((Predicate_1_t3353321838 *)L_1);
bool L_6 = (( bool (*) (Predicate_1_t3353321838 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3353321838 *)L_1, (JsonPosition_t2528027714 )L_5, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_6)
{
goto IL_002e;
}
}
{
JsonPositionU5BU5D_t197937271* L_7 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = L_8;
JsonPosition_t2528027714 L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
return L_10;
}
IL_002e:
{
int32_t L_11 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0032:
{
int32_t L_12 = V_0;
int32_t L_13 = (int32_t)__this->get__size_2();
if ((((int32_t)L_12) < ((int32_t)L_13)))
{
goto IL_000d;
}
}
{
il2cpp_codegen_initobj((&V_1), sizeof(JsonPosition_t2528027714 ));
JsonPosition_t2528027714 L_14 = V_1;
return L_14;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::FindIndex(System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m705690661_gshared (List_1_t4000102456 * __this, Predicate_1_t3353321838 * ___match0, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
Predicate_1_t3353321838 * L_1 = ___match0;
NullCheck((List_1_t4000102456 *)__this);
int32_t L_2 = (( int32_t (*) (List_1_t4000102456 *, int32_t, int32_t, Predicate_1_t3353321838 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)0, (int32_t)L_0, (Predicate_1_t3353321838 *)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 27));
return L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::FindIndex(System.Int32,System.Int32,System.Predicate`1<T>)
extern "C" int32_t List_1_FindIndex_m2778128854_gshared (List_1_t4000102456 * __this, int32_t ___startIndex0, int32_t ___count1, Predicate_1_t3353321838 * ___match2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = ___startIndex0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)14), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = ___count1;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0021;
}
}
{
int32_t L_3 = ___startIndex0;
int32_t L_4 = (int32_t)__this->get__size_2();
int32_t L_5 = ___count1;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))))
{
goto IL_002a;
}
}
IL_0021:
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)((int32_t)25), /*hidden argument*/NULL);
}
IL_002a:
{
Predicate_1_t3353321838 * L_6 = ___match2;
if (L_6)
{
goto IL_0033;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0033:
{
int32_t L_7 = ___startIndex0;
int32_t L_8 = ___count1;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)L_8));
int32_t L_9 = ___startIndex0;
V_1 = (int32_t)L_9;
goto IL_0055;
}
IL_003b:
{
Predicate_1_t3353321838 * L_10 = ___match2;
JsonPositionU5BU5D_t197937271* L_11 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = L_12;
JsonPosition_t2528027714 L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck((Predicate_1_t3353321838 *)L_10);
bool L_15 = (( bool (*) (Predicate_1_t3353321838 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3353321838 *)L_10, (JsonPosition_t2528027714 )L_14, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_15)
{
goto IL_0051;
}
}
{
int32_t L_16 = V_1;
return L_16;
}
IL_0051:
{
int32_t L_17 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0055:
{
int32_t L_18 = V_1;
int32_t L_19 = V_0;
if ((((int32_t)L_18) < ((int32_t)L_19)))
{
goto IL_003b;
}
}
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::ForEach(System.Action`1<T>)
extern "C" void List_1_ForEach_m2716813145_gshared (List_1_t4000102456 * __this, Action_1_t2700495309 * ___action0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_ForEach_m2716813145_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Action_1_t2700495309 * L_0 = ___action0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__version_3();
V_0 = (int32_t)L_1;
V_1 = (int32_t)0;
goto IL_003a;
}
IL_0014:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__version_3();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_0024;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_4 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_4)
{
goto IL_0043;
}
}
IL_0024:
{
Action_1_t2700495309 * L_5 = ___action0;
JsonPositionU5BU5D_t197937271* L_6 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
JsonPosition_t2528027714 L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
NullCheck((Action_1_t2700495309 *)L_5);
(( void (*) (Action_1_t2700495309 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28)->methodPointer)((Action_1_t2700495309 *)L_5, (JsonPosition_t2528027714 )L_9, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 28));
int32_t L_10 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_003a:
{
int32_t L_11 = V_1;
int32_t L_12 = (int32_t)__this->get__size_2();
if ((((int32_t)L_11) < ((int32_t)L_12)))
{
goto IL_0014;
}
}
IL_0043:
{
int32_t L_13 = V_0;
int32_t L_14 = (int32_t)__this->get__version_3();
if ((((int32_t)L_13) == ((int32_t)L_14)))
{
goto IL_005a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var);
bool L_15 = ((BinaryCompatibility_t3378813580_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t3378813580_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (!L_15)
{
goto IL_005a;
}
}
{
ThrowHelper_ThrowInvalidOperationException_m782723829(NULL /*static, unused*/, (int32_t)((int32_t)32), /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::GetEnumerator()
extern "C" Enumerator_t1594379037 List_1_GetEnumerator_m177011464_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1594379037 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m431339869((&L_0), (List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
return L_0;
}
}
// System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.Generic.IEnumerable<T>.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_Generic_IEnumerableU3CTU3E_GetEnumerator_m3436721318_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1594379037 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m431339869((&L_0), (List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1594379037 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Collections.IEnumerator System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IEnumerable.GetEnumerator()
extern "C" RuntimeObject* List_1_System_Collections_IEnumerable_GetEnumerator_m2819975669_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
Enumerator_t1594379037 L_0;
memset(&L_0, 0, sizeof(L_0));
Enumerator__ctor_m431339869((&L_0), (List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 30));
Enumerator_t1594379037 L_1 = L_0;
RuntimeObject * L_2 = Box(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 29), &L_1);
return (RuntimeObject*)L_2;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::IndexOf(T)
extern "C" int32_t List_1_IndexOf_m175373879_gshared (List_1_t4000102456 * __this, JsonPosition_t2528027714 ___item0, const RuntimeMethod* method)
{
{
JsonPositionU5BU5D_t197937271* L_0 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
JsonPosition_t2528027714 L_1 = ___item0;
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = (( int32_t (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, JsonPosition_t2528027714 , int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_0, (JsonPosition_t2528027714 )L_1, (int32_t)0, (int32_t)L_2, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 31));
return L_3;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.IndexOf(System.Object)
extern "C" int32_t List_1_System_Collections_IList_IndexOf_m2834122994_gshared (List_1_t4000102456 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4000102456 *)__this);
int32_t L_3 = (( int32_t (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
return L_3;
}
IL_0015:
{
return (-1);
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Insert(System.Int32,T)
extern "C" void List_1_Insert_m1784509606_gshared (List_1_t4000102456 * __this, int32_t ___index0, JsonPosition_t2528027714 ___item1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) > ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)27), /*hidden argument*/NULL);
}
IL_0012:
{
int32_t L_2 = (int32_t)__this->get__size_2();
JsonPositionU5BU5D_t197937271* L_3 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_3);
if ((!(((uint32_t)L_2) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_3)->max_length))))))))
{
goto IL_0030;
}
}
{
int32_t L_4 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
}
IL_0030:
{
int32_t L_5 = ___index0;
int32_t L_6 = (int32_t)__this->get__size_2();
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0056;
}
}
{
JsonPositionU5BU5D_t197937271* L_7 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_8 = ___index0;
JsonPositionU5BU5D_t197937271* L_9 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
int32_t L_12 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (RuntimeArray *)(RuntimeArray *)L_9, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)L_12)), /*hidden argument*/NULL);
}
IL_0056:
{
JsonPositionU5BU5D_t197937271* L_13 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_14 = ___index0;
JsonPosition_t2528027714 L_15 = ___item1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (JsonPosition_t2528027714 )L_15);
int32_t L_16 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1)));
int32_t L_17 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.Insert(System.Int32,System.Object)
extern "C" void List_1_System_Collections_IList_Insert_m1194289698_gshared (List_1_t4000102456 * __this, int32_t ___index0, RuntimeObject * ___item1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_System_Collections_IList_Insert_m1194289698_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject * L_0 = ___item1;
(( void (*) (RuntimeObject * /* static, unused */, RuntimeObject *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, (int32_t)((int32_t)20), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 9));
}
IL_0008:
try
{ // begin try (depth: 1)
int32_t L_1 = ___index0;
RuntimeObject * L_2 = ___item1;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_1, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
goto IL_002a;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (InvalidCastException_t3927145244_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_0017;
throw e;
}
CATCH_0017:
{ // begin catch(System.InvalidCastException)
RuntimeObject * L_3 = ___item1;
RuntimeTypeHandle_t3027515415 L_4 = { reinterpret_cast<intptr_t> (IL2CPP_RGCTX_TYPE(method->klass->rgctx_data, 11)) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, (RuntimeTypeHandle_t3027515415 )L_4, /*hidden argument*/NULL);
ThrowHelper_ThrowWrongValueTypeArgumentException_m207631560(NULL /*static, unused*/, (RuntimeObject *)L_3, (Type_t *)L_5, /*hidden argument*/NULL);
goto IL_002a;
} // end catch (depth: 1)
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::InsertRange(System.Int32,System.Collections.Generic.IEnumerable`1<T>)
extern "C" void List_1_InsertRange_m1856720098_gshared (List_1_t4000102456 * __this, int32_t ___index0, RuntimeObject* ___collection1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (List_1_InsertRange_m1856720098_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
int32_t V_1 = 0;
JsonPositionU5BU5D_t197937271* V_2 = NULL;
RuntimeObject* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeObject* L_0 = ___collection1;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)6, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = ___index0;
int32_t L_2 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_1) > ((uint32_t)L_2))))
{
goto IL_001b;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)((int32_t)22), /*hidden argument*/NULL);
}
IL_001b:
{
RuntimeObject* L_3 = ___collection1;
V_0 = (RuntimeObject*)((RuntimeObject*)IsInst((RuntimeObject*)L_3, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2)));
RuntimeObject* L_4 = V_0;
if (!L_4)
{
goto IL_00cf;
}
}
{
RuntimeObject* L_5 = V_0;
NullCheck((RuntimeObject*)L_5);
int32_t L_6 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<Newtonsoft.Json.JsonPosition>::get_Count() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_5);
V_1 = (int32_t)L_6;
int32_t L_7 = V_1;
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00fe;
}
}
{
int32_t L_8 = (int32_t)__this->get__size_2();
int32_t L_9 = V_1;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9)), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 12));
int32_t L_10 = ___index0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) >= ((int32_t)L_11)))
{
goto IL_006a;
}
}
{
JsonPositionU5BU5D_t197937271* L_12 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_13 = ___index0;
JsonPositionU5BU5D_t197937271* L_14 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_15 = ___index0;
int32_t L_16 = V_1;
int32_t L_17 = (int32_t)__this->get__size_2();
int32_t L_18 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_12, (int32_t)L_13, (RuntimeArray *)(RuntimeArray *)L_14, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)L_16)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)L_18)), /*hidden argument*/NULL);
}
IL_006a:
{
RuntimeObject* L_19 = V_0;
if ((!(((RuntimeObject*)(List_1_t4000102456 *)__this) == ((RuntimeObject*)(RuntimeObject*)L_19))))
{
goto IL_00a3;
}
}
{
JsonPositionU5BU5D_t197937271* L_20 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
JsonPositionU5BU5D_t197937271* L_21 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_22 = ___index0;
int32_t L_23 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_20, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_21, (int32_t)L_22, (int32_t)L_23, /*hidden argument*/NULL);
JsonPositionU5BU5D_t197937271* L_24 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_25 = ___index0;
int32_t L_26 = V_1;
JsonPositionU5BU5D_t197937271* L_27 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_28 = ___index0;
int32_t L_29 = (int32_t)__this->get__size_2();
int32_t L_30 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_24, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)L_26)), (RuntimeArray *)(RuntimeArray *)L_27, (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_28, (int32_t)2)), (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_29, (int32_t)L_30)), /*hidden argument*/NULL);
goto IL_00bf;
}
IL_00a3:
{
int32_t L_31 = V_1;
V_2 = (JsonPositionU5BU5D_t197937271*)((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_31));
RuntimeObject* L_32 = V_0;
JsonPositionU5BU5D_t197937271* L_33 = V_2;
NullCheck((RuntimeObject*)L_32);
InterfaceActionInvoker2< JsonPositionU5BU5D_t197937271*, int32_t >::Invoke(5 /* System.Void System.Collections.Generic.ICollection`1<Newtonsoft.Json.JsonPosition>::CopyTo(T[],System.Int32) */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 2), (RuntimeObject*)L_32, (JsonPositionU5BU5D_t197937271*)L_33, (int32_t)0);
JsonPositionU5BU5D_t197937271* L_34 = V_2;
JsonPositionU5BU5D_t197937271* L_35 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_36 = ___index0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_34);
Array_CopyTo_m225704097((RuntimeArray *)(RuntimeArray *)L_34, (RuntimeArray *)(RuntimeArray *)L_35, (int32_t)L_36, /*hidden argument*/NULL);
}
IL_00bf:
{
int32_t L_37 = (int32_t)__this->get__size_2();
int32_t L_38 = V_1;
__this->set__size_2(((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)));
goto IL_00fe;
}
IL_00cf:
{
RuntimeObject* L_39 = ___collection1;
NullCheck((RuntimeObject*)L_39);
RuntimeObject* L_40 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0 /* System.Collections.Generic.IEnumerator`1<T> System.Collections.Generic.IEnumerable`1<Newtonsoft.Json.JsonPosition>::GetEnumerator() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 3), (RuntimeObject*)L_39);
V_3 = (RuntimeObject*)L_40;
}
IL_00d6:
try
{ // begin try (depth: 1)
{
goto IL_00ea;
}
IL_00d8:
{
int32_t L_41 = ___index0;
int32_t L_42 = (int32_t)L_41;
___index0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)1));
RuntimeObject* L_43 = V_3;
NullCheck((RuntimeObject*)L_43);
JsonPosition_t2528027714 L_44 = InterfaceFuncInvoker0< JsonPosition_t2528027714 >::Invoke(0 /* T System.Collections.Generic.IEnumerator`1<Newtonsoft.Json.JsonPosition>::get_Current() */, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 4), (RuntimeObject*)L_43);
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_42, (JsonPosition_t2528027714 )L_44, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 33));
}
IL_00ea:
{
RuntimeObject* L_45 = V_3;
NullCheck((RuntimeObject*)L_45);
bool L_46 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, (RuntimeObject*)L_45);
if (L_46)
{
goto IL_00d8;
}
}
IL_00f2:
{
IL2CPP_LEAVE(0xFE, FINALLY_00f4);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f4;
}
FINALLY_00f4:
{ // begin finally (depth: 1)
{
RuntimeObject* L_47 = V_3;
if (!L_47)
{
goto IL_00fd;
}
}
IL_00f7:
{
RuntimeObject* L_48 = V_3;
NullCheck((RuntimeObject*)L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, (RuntimeObject*)L_48);
}
IL_00fd:
{
IL2CPP_END_FINALLY(244)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(244)
{
IL2CPP_JUMP_TBL(0xFE, IL_00fe)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_00fe:
{
int32_t L_49 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1)));
return;
}
}
// System.Boolean System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Remove(T)
extern "C" bool List_1_Remove_m2505161440_gshared (List_1_t4000102456 * __this, JsonPosition_t2528027714 ___item0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
JsonPosition_t2528027714 L_0 = ___item0;
NullCheck((List_1_t4000102456 *)__this);
int32_t L_1 = (( int32_t (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 32));
V_0 = (int32_t)L_1;
int32_t L_2 = V_0;
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_0015;
}
}
{
int32_t L_3 = V_0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 34));
return (bool)1;
}
IL_0015:
{
return (bool)0;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::System.Collections.IList.Remove(System.Object)
extern "C" void List_1_System_Collections_IList_Remove_m4028871917_gshared (List_1_t4000102456 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___item0;
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 0));
bool L_1 = (( bool (*) (RuntimeObject * /* static, unused */, RuntimeObject *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22)->methodPointer)(NULL /*static, unused*/, (RuntimeObject *)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 22));
if (!L_1)
{
goto IL_0015;
}
}
{
RuntimeObject * L_2 = ___item0;
NullCheck((List_1_t4000102456 *)__this);
(( bool (*) (List_1_t4000102456 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35)->methodPointer)((List_1_t4000102456 *)__this, (JsonPosition_t2528027714 )((*(JsonPosition_t2528027714 *)((JsonPosition_t2528027714 *)UnBox(L_2, IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 7))))), /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 35));
}
IL_0015:
{
return;
}
}
// System.Int32 System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::RemoveAll(System.Predicate`1<T>)
extern "C" int32_t List_1_RemoveAll_m523356694_gshared (List_1_t4000102456 * __this, Predicate_1_t3353321838 * ___match0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
Predicate_1_t3353321838 * L_0 = ___match0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
V_0 = (int32_t)0;
goto IL_0011;
}
IL_000d:
{
int32_t L_1 = V_0;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0011:
{
int32_t L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
if ((((int32_t)L_2) >= ((int32_t)L_3)))
{
goto IL_002e;
}
}
{
Predicate_1_t3353321838 * L_4 = ___match0;
JsonPositionU5BU5D_t197937271* L_5 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_6 = V_0;
NullCheck(L_5);
int32_t L_7 = L_6;
JsonPosition_t2528027714 L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck((Predicate_1_t3353321838 *)L_4);
bool L_9 = (( bool (*) (Predicate_1_t3353321838 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3353321838 *)L_4, (JsonPosition_t2528027714 )L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (!L_9)
{
goto IL_000d;
}
}
IL_002e:
{
int32_t L_10 = V_0;
int32_t L_11 = (int32_t)__this->get__size_2();
if ((((int32_t)L_10) < ((int32_t)L_11)))
{
goto IL_0039;
}
}
{
return 0;
}
IL_0039:
{
int32_t L_12 = V_0;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
goto IL_0089;
}
IL_003f:
{
int32_t L_13 = V_1;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0043:
{
int32_t L_14 = V_1;
int32_t L_15 = (int32_t)__this->get__size_2();
if ((((int32_t)L_14) >= ((int32_t)L_15)))
{
goto IL_0060;
}
}
{
Predicate_1_t3353321838 * L_16 = ___match0;
JsonPositionU5BU5D_t197937271* L_17 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_18 = V_1;
NullCheck(L_17);
int32_t L_19 = L_18;
JsonPosition_t2528027714 L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck((Predicate_1_t3353321838 *)L_16);
bool L_21 = (( bool (*) (Predicate_1_t3353321838 *, JsonPosition_t2528027714 , const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26)->methodPointer)((Predicate_1_t3353321838 *)L_16, (JsonPosition_t2528027714 )L_20, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 26));
if (L_21)
{
goto IL_003f;
}
}
IL_0060:
{
int32_t L_22 = V_1;
int32_t L_23 = (int32_t)__this->get__size_2();
if ((((int32_t)L_22) >= ((int32_t)L_23)))
{
goto IL_0089;
}
}
{
JsonPositionU5BU5D_t197937271* L_24 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_25 = V_0;
int32_t L_26 = (int32_t)L_25;
V_0 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
JsonPositionU5BU5D_t197937271* L_27 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_28 = V_1;
int32_t L_29 = (int32_t)L_28;
V_1 = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
NullCheck(L_27);
int32_t L_30 = L_29;
JsonPosition_t2528027714 L_31 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (JsonPosition_t2528027714 )L_31);
}
IL_0089:
{
int32_t L_32 = V_1;
int32_t L_33 = (int32_t)__this->get__size_2();
if ((((int32_t)L_32) < ((int32_t)L_33)))
{
goto IL_0043;
}
}
{
JsonPositionU5BU5D_t197937271* L_34 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_35 = V_0;
int32_t L_36 = (int32_t)__this->get__size_2();
int32_t L_37 = V_0;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_34, (int32_t)L_35, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37)), /*hidden argument*/NULL);
int32_t L_38 = (int32_t)__this->get__size_2();
int32_t L_39 = V_0;
int32_t L_40 = V_0;
__this->set__size_2(L_40);
int32_t L_41 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1)));
return ((int32_t)il2cpp_codegen_subtract((int32_t)L_38, (int32_t)L_39));
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m3351128372_gshared (List_1_t4000102456 * __this, int32_t ___index0, const RuntimeMethod* method)
{
JsonPosition_t2528027714 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m2494703709(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_000e:
{
int32_t L_2 = (int32_t)__this->get__size_2();
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)1)));
int32_t L_3 = ___index0;
int32_t L_4 = (int32_t)__this->get__size_2();
if ((((int32_t)L_3) >= ((int32_t)L_4)))
{
goto IL_0042;
}
}
{
JsonPositionU5BU5D_t197937271* L_5 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_6 = ___index0;
JsonPositionU5BU5D_t197937271* L_7 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
int32_t L_10 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_5, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)1)), (RuntimeArray *)(RuntimeArray *)L_7, (int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)), /*hidden argument*/NULL);
}
IL_0042:
{
JsonPositionU5BU5D_t197937271* L_11 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_12 = (int32_t)__this->get__size_2();
il2cpp_codegen_initobj((&V_0), sizeof(JsonPosition_t2528027714 ));
JsonPosition_t2528027714 L_13 = V_0;
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(L_12), (JsonPosition_t2528027714 )L_13);
int32_t L_14 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::RemoveRange(System.Int32,System.Int32)
extern "C" void List_1_RemoveRange_m2883316173_gshared (List_1_t4000102456 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
int32_t L_5 = ___count1;
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_0082;
}
}
{
int32_t L_6 = (int32_t)__this->get__size_2();
int32_t L_7 = ___count1;
__this->set__size_2(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)L_7)));
int32_t L_8 = ___index0;
int32_t L_9 = (int32_t)__this->get__size_2();
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_0062;
}
}
{
JsonPositionU5BU5D_t197937271* L_10 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_11 = ___index0;
int32_t L_12 = ___count1;
JsonPositionU5BU5D_t197937271* L_13 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_14 = ___index0;
int32_t L_15 = (int32_t)__this->get__size_2();
int32_t L_16 = ___index0;
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_10, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)L_12)), (RuntimeArray *)(RuntimeArray *)L_13, (int32_t)L_14, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), /*hidden argument*/NULL);
}
IL_0062:
{
JsonPositionU5BU5D_t197937271* L_17 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_18 = (int32_t)__this->get__size_2();
int32_t L_19 = ___count1;
Array_Clear_m2231608178(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_17, (int32_t)L_18, (int32_t)L_19, /*hidden argument*/NULL);
int32_t L_20 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1)));
}
IL_0082:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Reverse()
extern "C" void List_1_Reverse_m2405641321_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4000102456 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4000102456 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)0, (int32_t)L_0, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 36));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Reverse(System.Int32,System.Int32)
extern "C" void List_1_Reverse_m2664254806_gshared (List_1_t4000102456 * __this, int32_t ___index0, int32_t ___count1, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
JsonPositionU5BU5D_t197937271* L_5 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
(( void (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, int32_t, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_5, (int32_t)L_6, (int32_t)L_7, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 37));
int32_t L_8 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Sort()
extern "C" void List_1_Sort_m1206208466_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4000102456 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4000102456 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)NULL, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Sort(System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m843030489_gshared (List_1_t4000102456 * __this, RuntimeObject* ___comparer0, const RuntimeMethod* method)
{
{
NullCheck((List_1_t4000102456 *)__this);
int32_t L_0 = (( int32_t (*) (List_1_t4000102456 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13)->methodPointer)((List_1_t4000102456 *)__this, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 13));
RuntimeObject* L_1 = ___comparer0;
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)0, (int32_t)L_0, (RuntimeObject*)L_1, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 38));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer`1<T>)
extern "C" void List_1_Sort_m1050859874_gshared (List_1_t4000102456 * __this, int32_t ___index0, int32_t ___count1, RuntimeObject* ___comparer2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000c;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)13), (int32_t)4, /*hidden argument*/NULL);
}
IL_000c:
{
int32_t L_1 = ___count1;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4009682726(NULL /*static, unused*/, (int32_t)((int32_t)16), (int32_t)4, /*hidden argument*/NULL);
}
IL_0018:
{
int32_t L_2 = (int32_t)__this->get__size_2();
int32_t L_3 = ___index0;
int32_t L_4 = ___count1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3))) >= ((int32_t)L_4)))
{
goto IL_002a;
}
}
{
ThrowHelper_ThrowArgumentException_m3817859433(NULL /*static, unused*/, (int32_t)((int32_t)23), /*hidden argument*/NULL);
}
IL_002a:
{
JsonPositionU5BU5D_t197937271* L_5 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_6 = ___index0;
int32_t L_7 = ___count1;
RuntimeObject* L_8 = ___comparer2;
(( void (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, int32_t, int32_t, RuntimeObject*, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_5, (int32_t)L_6, (int32_t)L_7, (RuntimeObject*)L_8, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 39));
int32_t L_9 = (int32_t)__this->get__version_3();
__this->set__version_3(((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1)));
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::Sort(System.Comparison`1<T>)
extern "C" void List_1_Sort_m2084344697_gshared (List_1_t4000102456 * __this, Comparison_1_t2302958893 * ___comparison0, const RuntimeMethod* method)
{
{
Comparison_1_t2302958893 * L_0 = ___comparison0;
if (L_0)
{
goto IL_0009;
}
}
{
ThrowHelper_ThrowArgumentNullException_m2415499580(NULL /*static, unused*/, (int32_t)8, /*hidden argument*/NULL);
}
IL_0009:
{
int32_t L_1 = (int32_t)__this->get__size_2();
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_0025;
}
}
{
JsonPositionU5BU5D_t197937271* L_2 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
int32_t L_3 = (int32_t)__this->get__size_2();
Comparison_1_t2302958893 * L_4 = ___comparison0;
(( void (*) (RuntimeObject * /* static, unused */, JsonPositionU5BU5D_t197937271*, int32_t, int32_t, Comparison_1_t2302958893 *, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40)->methodPointer)(NULL /*static, unused*/, (JsonPositionU5BU5D_t197937271*)L_2, (int32_t)0, (int32_t)L_3, (Comparison_1_t2302958893 *)L_4, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 40));
}
IL_0025:
{
return;
}
}
// T[] System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::ToArray()
extern "C" JsonPositionU5BU5D_t197937271* List_1_ToArray_m2478724230_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
JsonPositionU5BU5D_t197937271* V_0 = NULL;
{
int32_t L_0 = (int32_t)__this->get__size_2();
V_0 = (JsonPositionU5BU5D_t197937271*)((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(method->klass->rgctx_data, 1), (uint32_t)L_0));
JsonPositionU5BU5D_t197937271* L_1 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
JsonPositionU5BU5D_t197937271* L_2 = V_0;
int32_t L_3 = (int32_t)__this->get__size_2();
Array_Copy_m344457298(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, (int32_t)0, (RuntimeArray *)(RuntimeArray *)L_2, (int32_t)0, (int32_t)L_3, /*hidden argument*/NULL);
JsonPositionU5BU5D_t197937271* L_4 = V_0;
return L_4;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::TrimExcess()
extern "C" void List_1_TrimExcess_m264708336_gshared (List_1_t4000102456 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
JsonPositionU5BU5D_t197937271* L_0 = (JsonPositionU5BU5D_t197937271*)__this->get__items_1();
NullCheck(L_0);
V_0 = (int32_t)(((int32_t)((int32_t)((double)il2cpp_codegen_multiply((double)(((double)((double)(((int32_t)((int32_t)(((RuntimeArray *)L_0)->max_length))))))), (double)(0.9))))));
int32_t L_1 = (int32_t)__this->get__size_2();
int32_t L_2 = V_0;
if ((((int32_t)L_1) >= ((int32_t)L_2)))
{
goto IL_002a;
}
}
{
int32_t L_3 = (int32_t)__this->get__size_2();
NullCheck((List_1_t4000102456 *)__this);
(( void (*) (List_1_t4000102456 *, int32_t, const RuntimeMethod*))IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25)->methodPointer)((List_1_t4000102456 *)__this, (int32_t)L_3, /*hidden argument*/IL2CPP_RGCTX_METHOD_INFO(method->klass->rgctx_data, 25));
}
IL_002a:
{
return;
}
}
// System.Void System.Collections.Generic.List`1<Newtonsoft.Json.JsonPosition>::.cctor()
extern "C" void List_1__cctor_m3899145792_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
{
((List_1_t4000102456_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 0)))->set__emptyArray_5(((JsonPositionU5BU5D_t197937271*)SZArrayNew(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->klass)->rgctx_data, 1), (uint32_t)0)));
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"dngoins@hotmail.com"
] | dngoins@hotmail.com |
23beccc12776d33429f4c7a8420b47f84b2096d4 | 0a7c32c2613208f0ad8a8c16912cb74554baedec | /src/METUtils.cc | ab161e7b6adc183ca127e722c211ab14ac8815e8 | [] | no_license | rjwang/HiggsAna2l2v | 0c7d29b79685a89b06fd32b23fbbb555b9cfb743 | 4450596a9e0ec8fb66f9325d837ea0612aeb1f66 | refs/heads/master | 2016-09-05T09:23:14.509437 | 2014-11-25T10:29:23 | 2014-11-25T10:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,687 | cc | /*
* See header file for a description of this class.
*
* $Date: 2013/03/03 14:58:03 $
* $Revision: 1.16 $
* \author G. Cerminara & D. Trocino & P. Silva & L. Quertenmont
*
* $Data: 2013: Debug JER smearing Renjie Wang
$ 2014: update JER, JES correction
*/
#include "CMGTools/HiggsAna2l2v/interface/METUtils.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "TVector2.h"
#include "TMath.h"
#include "TLorentzVector.h"
#include "TRandom.h"
using namespace std;
namespace METUtils{
std::pair<TVector2, TVector2> defineThrust(const LorentzVector& l1, double sigmaPt1, const LorentzVector& l2, double sigmaPt2, int& event_categ){
//define the leading and sub-leading lepton
const LorentzVector &lepton1( l1.pt() > l2.pt() ? l1 : l2);
const LorentzVector &lepton2( l1.pt() > l2.pt() ? l2 : l1);
double dphill=fabs(deltaPhi(lepton1.phi(),lepton2.phi()));
TVector2 lead(lepton1.px(),lepton1.py());
TVector2 trailer(lepton2.px(),lepton2.py());
TVector2 reference(lead);
//define the thrust and dilepton
TVector2 dil = lead+trailer;
TVector2 thr = lead-trailer;
//define the longitudinal and perpendicular axis
TVector2 longi,perp;
if(dphill>=TMath::Pi()/2){
event_categ=OPENANGLE;
longi = thr.Unit();
perp = longi.Rotate(TMath::Pi()/2);
if(perp*reference<0) perp *= -1;
}else{
event_categ=COLLIMATED;
perp=dil.Unit();
longi = perp.Rotate(TMath::Pi()/2);
if(longi*reference<0) longi *= -1;
}
return std::pair<TVector2, TVector2>(longi,perp);
}
LorentzVector redMET(RedMetType Type, const LorentzVector& theLepton1, double sigmaPt1, const LorentzVector& theLepton2, double sigmaPt2, const LorentzVectorCollection& theJets, const LorentzVector& theMET, bool isZcandidate, stRedMET* out, double kRecoil_l, double kRecoil_t, double kSigmaPt_l, double kSigmaPt_t, double kPerp){
LorentzVector clusteredMetP4 = -1*(theLepton1+theLepton2); for(unsigned int i=0;i<theJets.size();i++){clusteredMetP4 -= theJets[i];}
return redMET(Type, theLepton1, sigmaPt1, theLepton2, sigmaPt2, clusteredMetP4, theMET, theMET, isZcandidate, out, kRecoil_l, kRecoil_t, kSigmaPt_l, kSigmaPt_t, kPerp);
}
LorentzVector redMET(RedMetType Type, const LorentzVector& theLepton1, double sigmaPt1, const LorentzVector& theLepton2, double sigmaPt2, const LorentzVector& theMET1, const LorentzVector& theMET2, bool isZcandidate, stRedMET* out, double kRecoil_l, double kRecoil_t, double kSigmaPt_l, double kSigmaPt_t, double kPerp){
return redMET(Type, theLepton1, sigmaPt1, theLepton2, sigmaPt2, theMET1, theMET2, theMET2, isZcandidate, out, kRecoil_l, kRecoil_t, kSigmaPt_l, kSigmaPt_t, kPerp);
}
LorentzVector redMET(RedMetType Type, const LorentzVector& theLepton1, double sigmaPt1, const LorentzVector& theLepton2, double sigmaPt2, const LorentzVector& theMET1, const LorentzVector& theMET2, const LorentzVector& theMET3, bool isZcandidate, stRedMET* out, double kRecoil_l, double kRecoil_t, double kSigmaPt_l, double kSigmaPt_t, double kPerp){
TVector2 a_l,a_t;
TVector2 redMETxy;
double redMET_l,redMET_t;
double redMET;
//int prefRecminRmet;
//int prefRec_l, prefRec_t;
double recoilProj_l,recoilProj_t;
double dileptonProj_l,dileptonProj_t;
double deltaDileptonProj_l, deltaDileptonProj_t;
//the dilepton candidate
TVector2 dil(theLepton1.px()+theLepton2.px(),theLepton1.py()+theLepton2.py());
//define the thrust
int event_categ;
if(!isZcandidate){
std::pair<TVector2, TVector2> thrust=defineThrust(theLepton1,sigmaPt1,theLepton2,sigmaPt2, event_categ);
a_l=thrust.first;
a_t=thrust.second;
}else {
dil = TVector2(theLepton1.px(),theLepton1.py());
a_t = dil.Unit();
a_l = a_t.Rotate(TMath::Pi()/2);
}
//project the dilepton
dileptonProj_l = dil*a_l;
dileptonProj_t = dil*a_t;
//project the met
TVector2 pfMET1(theMET1.Px(),theMET1.py());
TVector2 uncl1=pfMET1+dil;
double uncl1Proj_l = uncl1*a_l;
double uncl1Proj_t = uncl1*a_t;
TVector2 pfMET2(theMET2.Px(),theMET2.py());
TVector2 uncl2=pfMET2+dil;
double uncl2Proj_l = uncl2*a_l;
double uncl2Proj_t = uncl2*a_t;
TVector2 pfMET3(theMET3.Px(),theMET3.py());
TVector2 uncl3=pfMET3+dil;
double uncl3Proj_l = uncl3*a_l;
double uncl3Proj_t = uncl3*a_t;
//take the minimum recoil possible depending on the event category type
recoilProj_l = min(-1.0*uncl1Proj_l, min(-1.0*uncl2Proj_l,-1.0*uncl3Proj_l));
recoilProj_l=min(recoilProj_l,0.);
recoilProj_t = min(-1.0*uncl1Proj_t, min(-1.0*uncl2Proj_t,-1.0*uncl3Proj_t));
recoilProj_t=min(recoilProj_t,0.);
//propagate the lepton uncertainty (if larger than unity assume 100% rel. uncertainty)
if(!isZcandidate){
double relErrPt1 = min(sigmaPt1/theLepton1.pt(), 1.);
double relErrPt2 = min(sigmaPt2/theLepton2.pt(), 1.);
LorentzVector loweredLepton1 = theLepton1*(1.0-relErrPt1);
LorentzVector loweredLepton2 = theLepton2*(1.0-relErrPt2);
std::pair<TVector2, TVector2> loweredThrust=defineThrust(loweredLepton1,sigmaPt1,loweredLepton2,sigmaPt2, event_categ);
float loweredDileptonProj_t = dil*loweredThrust.second;
deltaDileptonProj_t = loweredDileptonProj_t - dileptonProj_t;
deltaDileptonProj_l = ( -relErrPt1*TVector2(theLepton1.px(),theLepton1.py()) + relErrPt2*TVector2(theLepton2.px(),theLepton2.py()) )*a_l;
}else{
deltaDileptonProj_t=0;
deltaDileptonProj_l=0;
}
double uncl1RedMet_l = dileptonProj_l - kRecoil_l*uncl1Proj_l + kSigmaPt_l*deltaDileptonProj_l;
double uncl1RedMet_t = dileptonProj_t - kRecoil_t*uncl1Proj_t + kSigmaPt_t*deltaDileptonProj_t;
double uncl1RedMet = sqrt(pow(uncl1RedMet_l,2)+pow(uncl1RedMet_t,2));
double uncl2RedMet_l = dileptonProj_l - kRecoil_l*uncl2Proj_l + kSigmaPt_l*deltaDileptonProj_l;
double uncl2RedMet_t = dileptonProj_t - kRecoil_t*uncl2Proj_t + kSigmaPt_t*deltaDileptonProj_t;
double uncl2RedMet = sqrt(pow(uncl2RedMet_l,2)+pow(uncl2RedMet_t,2));
double uncl3RedMet_l = dileptonProj_l - kRecoil_l*uncl3Proj_l + kSigmaPt_l*deltaDileptonProj_l;
double uncl3RedMet_t = dileptonProj_t - kRecoil_t*uncl3Proj_t + kSigmaPt_t*deltaDileptonProj_t;
double uncl3RedMet = sqrt(pow(uncl3RedMet_l,2)+pow(uncl3RedMet_t,2));
if(Type==D0){
//
// D0 ORIGINAL VERSION
//
//recoil is minimized independently
recoilProj_l = min(-1.0*uncl1Proj_l, min(-1.0*uncl2Proj_l,-1.0*uncl3Proj_l));
recoilProj_l = min(recoilProj_l,0.);
//prefRec_l = ( (-1.0*uncl1Proj_l)< min(-1.*uncl2Proj_l,-1.*uncl3Proj_l) ? CLUSTERED : UNCLUSTERED);
recoilProj_t = min(-1.0*uncl1Proj_t, min(-1.0*uncl2Proj_t,-1.0*uncl3Proj_t));
recoilProj_t = min(recoilProj_t,0.);
//prefRec_t = ( (-1.0*uncl1Proj_t)<min(-1.*(uncl2Proj_t),-1.*(uncl3Proj_t)) ? CLUSTERED : UNCLUSTERED);
//compute the reduced met components
redMET_l = max( (dileptonProj_l + kRecoil_l*recoilProj_l + kSigmaPt_l*deltaDileptonProj_l), 0.);
redMET_t = max( (dileptonProj_t + kRecoil_t*recoilProj_t + kSigmaPt_t*deltaDileptonProj_t), 0.);
redMET = sqrt( pow(redMET_l,2) + pow(redMET_t,2) );
redMETxy =redMET_l*a_l+redMET_t*a_t;
}else if(Type==MINIMIZED){
//
// CMS MINIMIZED VERSION
//
if(uncl1RedMet<uncl2RedMet && uncl1RedMet<uncl3RedMet){
//prefRecminRmet = UNCLUSTERED;
redMET_l = uncl1RedMet_l;
redMET_t = uncl1RedMet_t;
}else if(uncl2RedMet<uncl1RedMet && uncl2RedMet<uncl3RedMet){
//prefRecminRmet = CLUSTERED;
redMET_l = uncl2RedMet_l;
redMET_t = uncl2RedMet_t;
}else{
//prefRecminRmet = CLUSTERED;
redMET_l = uncl3RedMet_l;
redMET_t = uncl3RedMet_t;
}
redMET = sqrt(pow(redMET_l,2)+pow(redMET_t,2));
redMETxy =redMET_l*a_l+redMET_t*a_t;
}else if(INDEPENDENTLYMINIMIZED){
//
// CMS INDEPEDENT MINIMIZATION VERSION
//
//prefRec_l = (fabs(uncl1RedMet_l) < fabs(uncl2RedMet_l) ? UNCLUSTERED : CLUSTERED );
//prefRec_t = (fabs(uncl1RedMet_t) < fabs(uncl2RedMet_t) ? UNCLUSTERED : CLUSTERED );
if(fabs(uncl1RedMet_l)<fabs(uncl2RedMet_l) && fabs(uncl1RedMet_l)<fabs(uncl3RedMet_l)){
//prefRec_l = UNCLUSTERED;
redMET_l = uncl1RedMet_l;
}else if(fabs(uncl2RedMet_l)<fabs(uncl1RedMet_l) && fabs(uncl2RedMet_l)<fabs(uncl3RedMet_l)){
//prefRec_l = CLUSTERED;
redMET_l = uncl2RedMet_l;
}else{
//prefRec_l = CLUSTERED;
redMET_l = uncl3RedMet_l;
}
if(fabs(uncl1RedMet_t)<fabs(uncl2RedMet_t) && fabs(uncl1RedMet_t)<fabs(uncl3RedMet_t)){
//prefRec_t = UNCLUSTERED;
redMET_t = uncl1RedMet_t;
}else if(fabs(uncl2RedMet_t)<fabs(uncl1RedMet_t) && fabs(uncl2RedMet_t)<fabs(uncl3RedMet_t)){
//prefRec_t = CLUSTERED;
redMET_t = uncl2RedMet_t;
}else{
//prefRec_t = CLUSTERED;
redMET_t = uncl3RedMet_t;
}
redMET = sqrt(pow(redMET_l,2)+pow(redMET_t,2));
redMETxy=redMET_l*a_l+redMET_t*a_t;
}
if(out){
out->a_l = a_l;
out->a_t = a_t;
out->redMETxy = redMETxy;
out->redMET_l = redMET_l;
out->redMET_t = redMET_t;
}
return LorentzVector( redMETxy.X(),redMETxy.Y(),0,redMET);
}
double getRedMETCut(int eventCategory, int workingpoint){
double cut = 0;
switch(eventCategory){
case EventCategory::EQ0JETS :
if(workingpoint==MEDIUMWP) cut=30.5;
if(workingpoint==TIGHTWP) cut=39.0;
break;
case EventCategory::EQ1JETS :
if(workingpoint==MEDIUMWP) cut=38.8;
if(workingpoint==TIGHTWP) cut=52.4;
break;
case EventCategory::GEQ2JETS :
if(workingpoint==MEDIUMWP) cut=50.8;
if(workingpoint==TIGHTWP) cut=78.7;
break;
case EventCategory::VBF :
if(workingpoint==MEDIUMWP) cut=57.36; //the tuned point 56.3
if(workingpoint==TIGHTWP) cut=60.20;
break;
}
return cut;
}
LorentzVector projectedMET(const LorentzVector& lepton1, const LorentzVector& lepton2, const LorentzVector& met, stRedMET* out){
TVector2 a_l,a_t;
double projectedMET_long, projectedMET_perp;
double projEtMiss;
int event_categ;
double minDeltaPhi;
double dphi1=deltaPhi(lepton1.phi(),met.phi());
double dphi2=deltaPhi(lepton2.phi(),met.phi());
minDeltaPhi = (fabs(dphi1) < fabs(dphi2) ? dphi1 : dphi2);
projEtMiss = met.pt() * ( fabs(minDeltaPhi) > TMath::Pi()/2 ? 1.0 : fabs(TMath::Sin(fabs(minDeltaPhi))) );
event_categ= ( fabs(minDeltaPhi) > TMath::Pi()/2 ? OPENANGLE : COLLIMATED );
//project along / transversely to the closest lepton
LorentzVector refLepton( (fabs(dphi1) < fabs(dphi2) ? lepton1 : lepton2) );
TVector2 refLeptonPt(refLepton.px(),refLepton.py());
TVector2 metxy(met.px(),met.py());
a_l = refLeptonPt.Unit();
a_t = a_l.Rotate(TMath::Pi()/2);
if(a_t*metxy<0) a_t *=-1;
projectedMET_long = (event_categ==COLLIMATED ? 0. : metxy*a_l);
projectedMET_perp = metxy*a_t;
TVector2 projMETxy=a_l*projectedMET_long+a_t*projectedMET_perp;
if(out){
out->a_l = a_l;
out->a_t = a_t;
out->redMETxy = projMETxy;
out->redMET_l = projectedMET_long;
out->redMET_t = projectedMET_perp;
}
return LorentzVector( projMETxy.X(),projMETxy.Y(),0,projEtMiss);
}
double transverseMass(LorentzVector &visible, LorentzVector &invisible, bool assumeSameMass){
if(assumeSameMass){
LorentzVector sum=visible+invisible;
double tMass = TMath::Power(TMath::Sqrt(TMath::Power(visible.pt(),2)+pow(visible.mass(),2))+TMath::Sqrt(TMath::Power(invisible.pt(),2)+pow(visible.mass(),2)),2);
tMass-=TMath::Power(sum.pt(),2);
return TMath::Sqrt(tMass);
}else{
double dphi=fabs(deltaPhi(invisible.phi(),visible.phi()));
return TMath::Sqrt(2*invisible.pt()*visible.pt()*(1-TMath::Cos(dphi)));
}
return -1;
}
double response(LorentzVector &Z, LorentzVector &MET)
{
TVector2 z(Z.px(),Z.py());
TVector2 met(MET.px(),MET.py());
TVector2 sum = z+met;
sum *= -1;
double cos_ = (sum*z)/(sum.Mod()*z.Mod());
return cos_*sum.Mod()/z.Mod();
}
LorentzVector correctionTermsPfMetShiftXY(LorentzVector met, bool isMC, int nvtx)
{
double corX = 0.;
double corY = 0.;
if(isMC){
//corX = 0.0982473 + 0.0137847*nvtx;
//corY = 0.180283 - 0.134661*nvtx;
//official
//corX = 1.62861e-01 - 2.38517e-02*nvtx;
//corY = 3.60860e-01 - 1.30335e-01*nvtx;
//for rawMET
//corX = 0.08684 - 0.003939*nvtx;
//corY = 0.4369 - 0.2019*nvtx;
//for MET-Type1
corX = 0.08013 - 0.02523*nvtx;
corY = 0.3086 - 0.09355*nvtx;
}
else{
//corX = 0.0798741 + 0.239297*nvtx;
//corY = -0.137049 - 0.0802186*nvtx;
//corX = 4.83642e-02 + 2.48870e-01*nvtx;
//corY = -1.50135e-01 - 8.27917e-02*nvtx;
//for rawMET
//corX = -0.2862 + 0.2702*nvtx;
//corY = -0.01393 - 0.1451*nvtx;
//for MET-Type1
corX = -0.2099 + 0.2237*nvtx;
corY = -0.0322 - 0.06459*nvtx;
}
double px = met.px()-corX;
double py = met.py()-corY;
return LorentzVector(px,py,0,sqrt(px*px+py*py));
}
//
LorentzVector PFMET2XYCorr(LorentzVector met, bool isMC, int nvtx)
{
double corX = 0.;
double corY = 0.;
if(isMC){
corX = 0.1061349 + (-0.0183431*nvtx);
corY = 0.2032245 + (-0.0914390*nvtx);
}
else{
corX = -0.1165639 + (0.2277539*nvtx);
corY = -0.1435665 + (-0.0620699*nvtx);
}
double px = met.px()-corX;
double py = met.py()-corY;
return LorentzVector(px,py,0,sqrt(px*px+py*py));
}
//
LorentzVector GammaJetsPfMetShiftXY(LorentzVector met, bool isMC, int nvtx)
{
double corX = 0.;
double corY = 0.;
if(isMC){
corX = -0.0179602 + (0.0054213*nvtx);
corY = -0.2255654 + (-0.0002388*nvtx);
}
else{
corX = 0.2286250 + (0.0065800*nvtx);
corY = -0.2975716 + (0.0090580*nvtx);
}
double px = met.px()-corX;
double py = met.py()-corY;
return LorentzVector(px,py,0,sqrt(px*px+py*py));
}
//
LorentzVector correctForPhiAsymmetry(LorentzVector &met,float sumEt,bool isMC, bool isRunA)
{
//cf. https://indico.cern.ch/getFile.py/access?contribId=1&resId=0&materialId=slides&confId=174318
double cx0( isMC ? (isRunA ? -0.09389 : -0.1070 ) : (isRunA ? -0.3365 : -0.3265) );
double cx1( isMC ? (isRunA ? 0.0001815 : 0.00009587 ) : (isRunA ? 0.004801 : 0.005162) );
double cy0( isMC ? (isRunA ? 0.1571 : 0.01517 ) : (isRunA ? 0.2578 : -0.1956) );
double cy1( isMC ? (isRunA ? -0.003710 : -0.003357 ) : (isRunA ? -0.006124 : -0.006299) );
double px=met.px()-(cx0+cx1*sumEt);
double py=met.py()-(cy0+cy1*sumEt);
return LorentzVector(px,py,0,sqrt(px*px+py*py));
}
//Nov. 20, 2014 update for 8TeV scale factors
PhysicsObject_Jet smearedJet(const PhysicsObject_Jet &origJet, double genJetPt, int mode)
{
if(genJetPt<=0) return origJet;
//smearing factors are described in https://twiki.cern.ch/twiki/bin/view/CMS/JetResolution
double eta=fabs(origJet.eta());
/*
double ptSF(1.0), ptSF_err(0.06);
if(eta<0.5) { ptSF=1.052; ptSF_err=sqrt(pow(0.012,2)+pow(0.5*(0.062+0.061),2)); }
else if(eta>=0.5 && eta<1.1) { ptSF=1.057; ptSF_err=sqrt(pow(0.012,2)+pow(0.5*(0.056+0.055),2)); }
else if(eta>=1.1 && eta<1.7) { ptSF=1.096; ptSF_err=sqrt(pow(0.017,2)+pow(0.5*(0.063+0.062),2)); }
else if(eta>=1.7 && eta<2.3) { ptSF=1.134; ptSF_err=sqrt(pow(0.035,2)+pow(0.5*(0.087+0.085),2)); }
else if(eta>=2.3 && eta<5.0) { ptSF=1.288; ptSF_err=sqrt(pow(0.127,2)+pow(0.5*(0.155+0.153),2)); }
if(mode==1) ptSF += ptSF_err;
if(mode==2) ptSF -= ptSF_err;
*/
//https://twiki.cern.ch/twiki/bin/viewauth/CMS/JetResolution#JER_Scaling_factors_and_Uncertai
double ptSF(1.0), ptSF_up(1.0), ptSF_down(1.0);
if(eta<0.5) { ptSF=1.079; ptSF_up=1.105; ptSF_down=1.053; }
else if(eta>=0.5 && eta<1.1) { ptSF=1.099; ptSF_up=1.127; ptSF_down=1.071; }
else if(eta>=1.1 && eta<1.7) { ptSF=1.121; ptSF_up=1.150; ptSF_down=1.092; }
else if(eta>=1.7 && eta<2.3) { ptSF=1.208; ptSF_up=1.254; ptSF_down=1.162; }
else if(eta>=2.3 && eta<2.8) { ptSF=1.254; ptSF_up=1.316; ptSF_down=1.192; }
else if(eta>=2.8 && eta<3.2) { ptSF=1.395; ptSF_up=1.458; ptSF_down=1.332; }
else if(eta>=3.2 && eta<5.0) { ptSF=1.056; ptSF_up=1.247; ptSF_down=0.865; }
if(mode==1) ptSF = ptSF_up;
if(mode==2) ptSF = ptSF_down;
ptSF=max(0.,(genJetPt+ptSF*(origJet.pt()-genJetPt)))/origJet.pt(); //deterministic version
//ptSF=max(0.,(genJetPt+gRandom->Gaus(ptSF,ptSF_err)*(origJet.pt()-genJetPt)))/origJet.pt(); //deterministic version
if( ptSF<=0 /*|| isnan(ptSF)*/ ) return origJet;
//double px(origJet.px()*ptSF), py(origJet.py()*ptSF), pz(origJet.pz()), mass(origJet.mass());
double px(origJet.px()*ptSF), py(origJet.py()*ptSF), pz(origJet.pz()*ptSF), mass(origJet.mass()*ptSF); //RJ Nov.13
double en = sqrt(mass*mass+px*px+py*py+pz*pz);
PhysicsObject_Jet toReturn = origJet;
toReturn.SetCoordinates(px, py, pz, en);
//cout << "eta: " << eta << "\t" << toReturn.eta() << endl;
return toReturn;
}
//
void computeVariation(PhysicsObjectJetCollection& jets,
PhysicsObjectLeptonCollection &leptons,
LorentzVector& met,
std::vector<PhysicsObjectJetCollection>& jetsVar,
LorentzVectorCollection& metsVar,
JetCorrectionUncertainty *jecUnc)
{
jetsVar.clear();
metsVar.clear();
int vars[]={JER, JER_UP, JER_DOWN, JES_UP, JES_DOWN, UMET_UP,UMET_DOWN,LES_UP,LES_DOWN};
for(size_t ivar=0; ivar<sizeof(vars)/sizeof(int); ivar++)
{
PhysicsObjectJetCollection newJets;
LorentzVector newMet(met),jetDiff(0,0,0,0),lepDiff(0,0,0,0), unclustDiff(0,0,0,0), clusteredFlux(0,0,0,0);
for(size_t ijet=0; ijet<jets.size(); ijet++)
{
if(ivar==JER || ivar==JER_UP || ivar==JER_DOWN)
{
PhysicsObject_Jet iSmearJet=METUtils::smearedJet(jets[ijet],jets[ijet].genPt,ivar);
jetDiff += (iSmearJet-jets[ijet]);
newJets.push_back( iSmearJet );
}
else if(ivar==JES_UP || ivar==JES_DOWN)
{
double varSign=(ivar==JES_UP ? 1.0 : -1.0 );
double jetScale(1.0);
try{
jecUnc->setJetEta(jets[ijet].eta());
jecUnc->setJetPt(jets[ijet].pt());
jetScale = 1.0 + varSign*fabs(jecUnc->getUncertainty(true));
}
catch(std::exception &e){
cout << "[METUtils::computeVariation]" << e.what() << ijet << " " << jets[ijet].pt() << endl;
}
PhysicsObject_Jet iScaleJet(jets[ijet]); iScaleJet *= jetScale;
jetDiff += (iScaleJet-jets[ijet]);
newJets.push_back(iScaleJet);
}
else if(ivar==UMET_UP || ivar==UMET_DOWN) clusteredFlux += jets[ijet];
}
if(ivar==UMET_UP || ivar==UMET_DOWN || ivar==LES_UP || ivar==LES_DOWN)
{
for(size_t ilep=0; ilep<leptons.size(); ilep++)
{
if(ivar==UMET_UP || ivar==UMET_DOWN) clusteredFlux +=leptons[ilep];
else if(ivar==LES_UP || ivar==LES_DOWN)
{
LorentzVector iScaleLepton=leptons[ilep];
double varSign=(ivar==LES_UP ? 1.0 : -1.0);
if(fabs(leptons[ilep].id)==13) iScaleLepton *= (1.0+varSign*0.01);
else if(fabs(leptons[ilep].id)==11)
{
if(fabs(leptons[ilep].eta())<1.442) iScaleLepton *= (1.0+varSign*0.02);
else iScaleLepton *= (1.0+varSign*0.05);
}
lepDiff += (iScaleLepton-leptons[ilep]);
}
}
}
//vary unclustered component
if(ivar==UMET_UP || ivar==UMET_DOWN)
{
unclustDiff=(met+clusteredFlux);
double varSign=(ivar==UMET_UP ? 1.0 : -1.0);
unclustDiff *= (varSign*0.10); //10% variation of residule recoil
}
//add new met
newMet -= jetDiff;
newMet -= lepDiff;
newMet -= unclustDiff;
metsVar.push_back(newMet);
//add new jets (if some change has occured)
jetsVar.push_back(newJets);
//SOME DEBUGING PRINTOUT... CAN BE SAFELY REMOVED
// if(ivar==JER && newMet.pt()>2000){
// printf("%f - %f - %f : ",newMet.pt(), met.pt(), jetDiff.pt());
// for(size_t ijet=0; ijet<jets.size(); ijet++){
// LorentzVector iSmearJet=METUtils::smearedJet(jets[ijet],genjetsPt[ijet],mode);
// LorentzVector iSmearJet=METUtils::smearedJet(jets[ijet],jets[ijet].genPt,mode);
// printf("Jet%i %f(%f)>%f ", (int)ijet, jets[ijet].pt(), genjetsPt[ijet], iSmearJet.pt());
// printf("Jet%i %f(%f)>%f ", (int)ijet, jets[ijet].pt(), jets[ijet].genPt, iSmearJet.pt());
// }printf("\n");
// }
}
}
//
LorentzVector SmearJetFormGen(LorentzVectorCollection& jetsP4, LorentzVector& met, std::vector<double> GenJet, std::vector<LorentzVector>& jetsJer)
{
jetsJer.clear();
LorentzVector jetDiff;
LorentzVector newMetJer;
TRandom *gen_ = new TRandom();
for(int unsigned ijet=0; ijet<jetsP4.size(); ijet++){
float shift = 999.;
float smear = -999.;
// value from https://cms.web.cern.ch/org/jets-and-missing-et-pog
if (fabs(jetsP4[ijet].eta())<=1.1) smear = 1.066;
if (fabs(jetsP4[ijet].eta())<=1.7 && fabs(jetsP4[ijet].eta())>1.1) smear = 1.191;
if (fabs(jetsP4[ijet].eta())<=2.3 && fabs(jetsP4[ijet].eta())>1.7) smear = 1.096;
if (fabs(jetsP4[ijet].eta())>2.3) smear = 1.166;
if( GenJet[ijet]!=0. ) shift = (smear-1.) * (jetsP4[ijet].pt() - GenJet[ijet] )/jetsP4[ijet].pt();
else {
double expres = ErrEt(jetsP4[ijet].pt(),jetsP4[ijet].eta());
double relsmear = expres * sqrt(smear*smear-1.);
shift = gen_->Gaus(0.,relsmear);
}
float ptSmeared = jetsP4[ijet].pt();
float eneSmeared = jetsP4[ijet].e();
if( shift>-1 && shift < 2) {
ptSmeared *= (1 + shift);
eneSmeared *= (1 + shift);
}
TLorentzVector newJet1; newJet1.SetPtEtaPhiE(ptSmeared,jetsP4[ijet].eta(),jetsP4[ijet].phi(),eneSmeared);
LorentzVector newJet(newJet1.Px(),newJet1.Py(),newJet1.Pz(),newJet1.E());
jetDiff += ( newJet -jetsP4[ijet]);
jetsJer.push_back(newJet);
}
//finish computation of the variation
newMetJer = -jetDiff + met;
return newMetJer;
}
// pfjet resolutions. taken from AN-2010-371
double ErrEt( double Et, double Eta) {
double InvPerr2;
double N=0, S=0, C=0, m=0;
if(fabs(Eta) < 0.5 ) {
N = 3.96859;
S = 0.18348;
C = 0.;
m = 0.62627;
} else if( fabs(Eta) < 1. ) {
N = 3.55226;
S = 0.24026;
C = 0.;
m = 0.52571;
} else if( fabs(Eta) < 1.5 ) {
N = 4.54826;
S = 0.22652;
C = 0.;
m = 0.58963;
} else if( fabs(Eta) < 2. ) {
N = 4.62622;
S = 0.23664;
C = 0.;
m = 0.48738;
} else if( fabs(Eta) < 3. ) {
N = 2.53324;
S = 0.34306;
C = 0.;
m = 0.28662;
} else if( fabs(Eta) < 5. ) {
N = 2.95397;
S = 0.11619;
C = 0.;
m = 0.96086;
}
// this is the absolute resolution (squared), not sigma(pt)/pt
// so have to multiply by pt^2, thats why m+1 instead of m-1
InvPerr2 = (N * fabs(N) ) + (S * S) * pow(Et, m+1.) + (C * C) * Et * Et ;
return sqrt(InvPerr2)/Et;
}
}
| [
"r.jiewang@gmail.com"
] | r.jiewang@gmail.com |
52cfd4bc17dc41123f0627c99fb03a12f83e36c6 | 0c4ccf69a10b9453168fb064fd4761a454712f2d | /10868.cpp | 1e3a50e4e74a58506cb8e783c81e637bedd8b188 | [] | no_license | cos18/baekjoon | 8ce5911d39b3ce8593ba88c718b835851b050916 | 2432595746cca7d73d1867e850f1def373842563 | refs/heads/master | 2020-06-28T21:10:41.480133 | 2020-01-19T14:49:37 | 2020-01-19T14:49:37 | 200,341,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
using namespace std;
vector<int> arr(100000);
void init(vector<int> &seg, vector<int> &num, int node, int from, int to){
if(from==to) seg[node] = num[from];
else {
init(seg, num, node*2, from, (from+to)/2);
init(seg, num, node*2+1, (from+to)/2+1, to);
seg[node] = min(seg[node*2], seg[node*2+1]);
}
}
int query(vector<int> &seg, int node, int from, int to, int i, int j){
if(i>to || j<from) return -1;
if(i<=from && to<=j) return seg[node];
int x = query(seg, node*2, from, (from+to)/2, i, j);
int y = query(seg, node*2+1, (from+to)/2+1, to, i, j);
if(x==-1) return y;
if(y==-1) return x;
return min(x, y);
}
int main(){
ios_base :: sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int N, M, a, b;
cin >> N >> M;
vector<int> arr(N);
for(int i=0;i<N;i++){
cin >> arr[i];
}
int h = (int)ceil(log2(N));
int segsize =(1<<(h+1));
vector<int> seg(segsize);
init(seg, arr, 1, 0, N-1);
while(M--){
cin >> a >> b;
cout << query(seg, 1, 0, N-1, a-1, b-1) << '\n';
}
} | [
"codest99@gmail.com"
] | codest99@gmail.com |
ba08fbbd4040a7033a515391466fd50500802968 | 21679a56e3b21f2d0b030db1bac18f747ec772f1 | /Projects/ElectroStore1/ElectroStore1/stdafx.cpp | 8674766affe7ecae1a0cbebe37d51b01219a6be9 | [] | no_license | evanchime/visualStudioProjects | 7db627314a91655cc1182cc01c41e92aca08e304 | 0fbf886272e441229a8489e31cd988a3347d339e | refs/heads/master | 2021-07-22T11:04:01.553496 | 2017-10-28T23:35:24 | 2017-10-28T23:35:24 | 108,691,576 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ElectroStore1.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"evanchime@yahoo.co.uk"
] | evanchime@yahoo.co.uk |
ff43d148f7cb9192a17d0c8ce72b3ebbde27d560 | 7396a56d1f6c61b81355fc6cb034491b97feb785 | /include/algorithms/neural_networks/layers/split/split_layer_backward_types.h | 6d107c708b03c8050398a02142dafe1301916b0a | [
"Apache-2.0",
"Intel"
] | permissive | francktcheng/daal | 0ad1703be1e628a5e761ae41d2d9f8c0dde7c0bc | 875ddcc8e055d1dd7e5ea51e7c1b39886f9c7b79 | refs/heads/master | 2018-10-01T06:08:39.904147 | 2017-09-20T22:37:02 | 2017-09-20T22:37:02 | 119,408,979 | 0 | 0 | null | 2018-01-29T16:29:51 | 2018-01-29T16:29:51 | null | UTF-8 | C++ | false | false | 8,904 | h | /* file: split_layer_backward_types.h */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
* All Rights Reserved.
*
* If this software was obtained under the Intel Simplified Software License,
* the following terms apply:
*
* The source code, information and material ("Material") contained herein is
* owned by Intel Corporation or its suppliers or licensors, and title to such
* Material remains with Intel Corporation or its suppliers or licensors. The
* Material contains proprietary information of Intel or its suppliers and
* licensors. The Material is protected by worldwide copyright laws and treaty
* provisions. No part of the Material may be used, copied, reproduced,
* modified, published, uploaded, posted, transmitted, distributed or disclosed
* in any way without Intel's prior express written permission. No license under
* any patent, copyright or other intellectual property rights in the Material
* is granted to or conferred upon you, either expressly, by implication,
* inducement, estoppel or otherwise. Any license under such intellectual
* property rights must be express and approved by Intel in writing.
*
* Unless otherwise agreed by Intel in writing, you may not remove or alter this
* notice or any other notice embedded in Materials by Intel or Intel's
* suppliers or licensors in any way.
*
*
* If this software was obtained under the Apache License, Version 2.0 (the
* "License"), the following terms apply:
*
* 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.
*******************************************************************************/
/*
//++
// Implementation of the backward split layer
//--
*/
#ifndef __SPLIT_LAYER_BACKWARD_TYPES_H__
#define __SPLIT_LAYER_BACKWARD_TYPES_H__
#include "algorithms/algorithm.h"
#include "data_management/data/tensor.h"
#include "data_management/data/homogen_tensor.h"
#include "services/daal_defines.h"
#include "algorithms/neural_networks/layers/layer_backward_types.h"
#include "algorithms/neural_networks/layers/split/split_layer_types.h"
namespace daal
{
namespace algorithms
{
namespace neural_networks
{
namespace layers
{
/**
* \brief Contains classes for the split layer
*/
namespace split
{
/**
* @defgroup split_backward Backward Split Layer
* \copydoc daal::algorithms::neural_networks::layers::split::backward
* @ingroup split
* @{
*/
/**
* \brief Contains classes for the backward split layer
*/
namespace backward
{
/**
* <a name="DAAL-ENUM-ALGORITHMS__NEURAL_NETWORKS__LAYERS__SPLIT__BACKWARD__INPUTLAYERDATAID"></a>
* Available identifiers of input objects for the backward split layer
*/
enum InputLayerDataId
{
inputGradientCollection = 1 /*!< Input structure retrieved from the result of the forward split layer */
};
/**
* \brief Contains version 1.0 of Intel(R) Data Analytics Acceleration Library (Intel(R) DAAL) interface.
*/
namespace interface1
{
/**
* <a name="DAAL-CLASS-ALGORITHMS__NEURAL_NETWORKS__LAYERS__SPLIT__BACKWARD__INPUT"></a>
* \brief %Input parameters for the backward split layer
*/
class DAAL_EXPORT Input : public layers::backward::Input
{
public:
/** \brief Default constructor */
Input();
virtual ~Input() {}
/**
* Returns an input object for the backward split layer
*/
using layers::backward::Input::get;
/**
* Sets an input object for the backward split layer
*/
using layers::backward::Input::set;
/**
* Returns a tensor with a given index from the collection of input tensors
* \param[in] id Identifier of the collection of input tensors
* \param[in] index Index of the tensor to be returned
* \return Pointer to the table with the input tensor
*/
data_management::TensorPtr get(InputLayerDataId id, size_t index) const;
/**
* Returns input Tensor of the layer algorithm
* \param[in] id Identifier of the input tensor
* \return %Input tensor that corresponds to the given identifier
*/
LayerDataPtr get(InputLayerDataId id) const;
/**
* Sets an input object for the backward split layer
* \param[in] id Identifier of the input object
* \param[in] value Pointer to the input object
* \param[in] index Index of the tensor to be set
*/
void set(InputLayerDataId id, const data_management::TensorPtr &value, size_t index);
/**
* Sets input for the layer algorithm
* \param[in] id Identifier of the input object
* \param[in] ptr Pointer to the object
*/
void set(InputLayerDataId id, const LayerDataPtr &ptr);
/**
* Adds tensor with input gradient to the input object of the backward split layer
* \param[in] igTensor Tensor with input gradient
* \param[in] index Index of the tensor with input gradient
*
* \return Status of computations
*/
virtual services::Status addInputGradient(const data_management::TensorPtr &igTensor, size_t index) DAAL_C11_OVERRIDE;
/**
* Sets input structure retrieved from the result of the forward layer
* \param[in] result Result of the forward layer
*/
virtual services::Status setInputFromForward(layers::forward::ResultPtr result) DAAL_C11_OVERRIDE;
/**
* Checks an input object of the backward split layer
* \param[in] par Algorithm parameter
* \param[in] method Computation method
*
* \return Status of computations
*/
services::Status check(const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
/**
* Returns the layout of the input object for the layer algorithm
* \return Layout of the input object for the layer algorithm
*/
virtual LayerInputLayout getLayout() const DAAL_C11_OVERRIDE;
};
/**
* <a name="DAAL-CLASS-ALGORITHMS__NEURAL_NETWORKS__LAYERS__SPLIT__BACKWARD__RESULT"></a>
* \brief Provides methods to access the result obtained with the compute() method of the backward split layer
*/
class DAAL_EXPORT Result : public layers::backward::Result
{
public:
DECLARE_SERIALIZABLE_CAST(Result);
/** \brief Default constructor */
Result();
virtual ~Result() {};
/**
* Returns the result of the backward split layer
*/
using layers::backward::Result::get;
/**
* Sets the result of the backward split layer
*/
using layers::backward::Result::set;
/**
* Checks the result of the backward split layer
* \param[in] input %Input object for the algorithm
* \param[in] par %Parameter of the algorithm
* \param[in] method Computation method
*
* \return Status of computations
*/
services::Status check(const daal::algorithms::Input *input, const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
/**
* Allocates memory to store the result of the backward split layer
* \param[in] input Pointer to an object containing the input data
* \param[in] method Computation method for the algorithm
* \param[in] parameter %Parameter of the backward split layer
*
* \return Status of computations
*/
template <typename algorithmFPType>
DAAL_EXPORT services::Status allocate(const daal::algorithms::Input *input, const daal::algorithms::Parameter *parameter, const int method);
protected:
/** \private */
template<typename Archive, bool onDeserialize>
services::Status serialImpl(Archive *arch)
{
daal::algorithms::Result::serialImpl<Archive, onDeserialize>(arch);
return services::Status();
}
services::Status serializeImpl(data_management::InputDataArchive *arch) DAAL_C11_OVERRIDE
{
serialImpl<data_management::InputDataArchive, false>(arch);
return services::Status();
}
services::Status deserializeImpl(const data_management::OutputDataArchive *arch) DAAL_C11_OVERRIDE
{
serialImpl<const data_management::OutputDataArchive, true>(arch);
return services::Status();
}
};
typedef services::SharedPtr<Result> ResultPtr;
} // namespace interface1
using interface1::Input;
using interface1::Result;
using interface1::ResultPtr;
} // namespace backward
/** @} */
} // namespace split
} // namespace layers
} // namespace neural_networks
} // namespace algorithm
} // namespace daal
#endif
| [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
b4be9651722c4d4f97731fdd1e7b5a4294c7af27 | 47d6cdb9b21e2d729f23dca519ad07ff71df3066 | /third/boost/libs/date_time/src/gregorian/greg_weekday.cpp | 5cee3d85e4e802ba840035bbfaf4faba6e734ba0 | [
"BSL-1.0"
] | permissive | fiskercui/testcommon | f71ca147a7a5e4fa3cefe46efd65e2d835721c7b | 9e4f61950816202cf5c6d4d00dd521dfcdd08c8a | refs/heads/master | 2021-01-13T02:10:36.072343 | 2013-08-10T14:36:18 | 2013-08-10T14:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | /* Copyright (c) 2002-2004 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst
* $Date: 2008-02-27 10:51:14 -0800 (Wed, 27 Feb 2008) $
*/
#ifndef BOOST_DATE_TIME_SOURCE
#define BOOST_DATE_TIME_SOURCE
#endif
#include "boost/date_time/gregorian/greg_weekday.hpp"
#include "greg_names.hpp"
namespace boost {
namespace gregorian {
//! Return a 3 digit english string of the day of week (eg: Sun)
const char*
greg_weekday::as_short_string() const
{
return short_weekday_names[value_];
}
//! Return a point to a long english string representing day of week
const char*
greg_weekday::as_long_string() const
{
return long_weekday_names[value_];
}
#ifndef BOOST_NO_STD_WSTRING
//! Return a 3 digit english wchar_t string of the day of week (eg: Sun)
const wchar_t*
greg_weekday::as_short_wstring() const
{
return w_short_weekday_names[value_];
}
//! Return a point to a long english wchar_t string representing day of week
const wchar_t*
greg_weekday::as_long_wstring() const
{
return w_long_weekday_names[value_];
}
#endif // BOOST_NO_STD_WSTRING
} } //namespace gregorian
| [
"fisker@ubuntu.(none)"
] | fisker@ubuntu.(none) |
0b01ca9257a87ec62853882668cbfd18eddfccff | 0642f612dfc7c357dfd4972a67499793cf24f04c | /lims2_modules/common/register/Utilities/OverwriteImage.cxx | 33ff8bdd83b9961ab22a10c99b81e05b68e65a19 | [
"BSD-2-Clause"
] | permissive | AllenInstitute/stpt_registration | 1e0e6dfac5520c841064bcab78e0d541293c7065 | a0595c98a7621a6fb1c1408bcd663407f2c59bd3 | refs/heads/master | 2022-04-03T11:34:18.954147 | 2020-02-14T05:10:12 | 2020-02-14T05:10:12 | 239,768,678 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,029 | cxx | /*=========================================================================
OverwriteImage.cxx
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#include "idpRegistrationUtilities.h"
#include "itkRGBPixel.h"
#include "itksys/String.hxx"
#include <string>
#include "itkImageRegionIterator.h"
template <typename ImageType >
int Pipeline(
const char * backgroundFile,
const char * foregroundFile,
const char * foregroundMaskFile,
const char * outputFile )
{
typename ImageType::Pointer background;
typename ImageType::Pointer foreground;
typename ImageType::Pointer mask;
itk::idp::ReadImage<ImageType>( backgroundFile, background );
itk::idp::ReadImage<ImageType>( foregroundFile, foreground );
itk::idp::ReadImage<ImageType>( foregroundMaskFile, mask );
typename ImageType::RegionType region = background->GetBufferedRegion();
typedef itk::ImageRegionIterator<ImageType> Iterator;
Iterator biter( background, region );
Iterator fiter( foreground, region );
Iterator miter( mask, region );
while ( !biter.IsAtEnd() )
{
if( miter.Get() != 0 )
{
biter.Set( fiter.Get() );
}
++biter;
++fiter;
++miter;
}
itk::idp::WriteImage<ImageType>( outputFile, background );
return EXIT_SUCCESS;
}
int main( int argc, char *argv[] )
{
if (argc < 5 )
{
std::cout << "Usage: " << argv[0] << " ";
std::cout << "backgroundFile foregroundFile foregroundMaskFile outputFile ";
std::cout << "[format] [dimension] ";
std::cout << std::endl;
return EXIT_FAILURE;
}
std::string backgroundFile = argv[1];
std::string foregroundFile = argv[2];
std::string foregroundMaskFile = argv[3];
std::string outputFile = argv[4];
std::string format = "uchar";
if (argc > 5 )
{
format = argv[5];
}
unsigned int dimension = 3;
if ( argc > 6 )
{
dimension = atoi( argv[6] );
}
typedef itk::Image< unsigned char, 2 > UCHARImageType;
typedef itk::Image< unsigned short, 2 > USHORTImageType;
typedef itk::Image< unsigned int, 2 > UINTImageType;
typedef itk::Image< unsigned char, 3 > UCHARVolumeType;
typedef itk::Image< unsigned short, 3 > USHORTVolumeType;
typedef itk::Image< unsigned int, 3 > UINTVolumeType;
typedef itk::RGBPixel<unsigned char> RGBPixelType;
typedef itk::Image< RGBPixelType, 2 > RGBImageType;
typedef itk::Image< float, 3> FLOATVolumeType;
typedef itk::Transform<double,2,2> Transform2DType;
typedef itk::Transform<double,3,3> Transform3DType;
int err;
if( itksys::SystemTools::Strucmp( format.c_str(), "uchar" ) == 0 && dimension == 2 )
{
err = Pipeline<UCHARImageType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "ushort" ) == 0 && dimension == 2 )
{
err = Pipeline<USHORTImageType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "uint" ) == 0 && dimension == 2 )
{
err = Pipeline<UINTImageType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "uchar" ) == 0 && dimension == 3 )
{
err = Pipeline<UCHARVolumeType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "ushort" ) == 0 && dimension == 3 )
{
err = Pipeline<USHORTVolumeType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "uint" ) == 0 && dimension == 3 )
{
err = Pipeline<UINTVolumeType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else if( itksys::SystemTools::Strucmp( format.c_str(), "float" ) == 0 && dimension == 3 )
{
err = Pipeline<FLOATVolumeType>( backgroundFile.c_str(), foregroundFile.c_str(),
foregroundMaskFile.c_str(), outputFile.c_str() );
if ( err ) return EXIT_FAILURE;
}
else
{
std::cerr << "format: " << format << " and dimension: " << dimension << " not supported" << std::endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
| [
"lydian@alleninstitute.org"
] | lydian@alleninstitute.org |
6eee96772942a5cfbbbc14b6f2c3e4f5c8a91e31 | 357fcf4c2ff26486eb2d0c1c0dec5a6db6740014 | /src/MCP23017.h | 95eaa582f0abeff6b0a325e69db1507851b25cbe | [] | no_license | dehavenm/CharLCD | 69e2cb1786133c0a9c201095b5ae6998c24bc8fc | de5006875675e5750235cebdd28836aceb2fc1c8 | refs/heads/master | 2021-07-07T05:37:00.200393 | 2019-05-30T00:21:28 | 2019-05-30T00:21:28 | 188,897,063 | 0 | 1 | null | 2020-09-24T23:33:04 | 2019-05-27T19:14:42 | C++ | UTF-8 | C++ | false | false | 2,656 | h | #ifndef _MCP23017_H
#define _MCP23017_H
#include <cstddef>
#include <cstdint>
extern "C" {
#include <i2c/smbus.h>
}
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <cstdlib>
#include <cstdio>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
class MCP23017
{
public:
unsigned char kI2CBus ; // I2C bus of the MCP23017
int kI2CFileDescriptor ; // File Descriptor to the MCP23017
int kI2CAddress ; // Address of MCP23017; defaults to 0x20
int error ;
MCP23017(int bus=8, int address=0x20);
~MCP23017() ;
bool openI2C() ;
void closeI2C();
void pinMode(uint8_t p, uint8_t d);
void digitalWrite(uint8_t p, uint8_t d);
void pullUp(uint8_t p, uint8_t d);
bool digitalRead(uint8_t p);
void writeGPIOAB(uint16_t);
uint16_t readGPIOAB();
uint8_t readGPIO(uint8_t b);
void setupInterrupts(uint8_t mirroring, uint8_t open, uint8_t polarity);
void setupInterruptPin(uint8_t p, uint8_t mode);
uint8_t getLastInterruptPin();
uint8_t getLastInterruptPinValue();
private:
uint8_t i2caddr;
uint8_t bitForPin(uint8_t pin);
uint8_t regForPin(uint8_t pin, uint8_t portAaddr, uint8_t portBaddr);
uint8_t readRegister(uint8_t addr);
uint8_t writeRegister(uint8_t addr, uint8_t value);
uint8_t readByte();
uint8_t writeByte(uint8_t value);
/**
* Utility private method to update a register associated with a pin (whether port A/B)
* reads its value, updates the particular bit, and writes its value.
*/
void updateRegisterBit(uint8_t p, uint8_t pValue, uint8_t portAaddr, uint8_t portBaddr);
bool bitRead(uint8_t num, uint8_t index);
void bitWrite(uint8_t &var, uint8_t index, uint8_t bit);
};
#define MCP23017_ADDRESS 0x20
// registers
#define MCP23017_IODIRA 0x00
#define MCP23017_IPOLA 0x02
#define MCP23017_GPINTENA 0x04
#define MCP23017_DEFVALA 0x06
#define MCP23017_INTCONA 0x08
#define MCP23017_IOCONA 0x0A
#define MCP23017_GPPUA 0x0C
#define MCP23017_INTFA 0x0E
#define MCP23017_INTCAPA 0x10
#define MCP23017_GPIOA 0x12
#define MCP23017_OLATA 0x14
#define MCP23017_IODIRB 0x01
#define MCP23017_IPOLB 0x03
#define MCP23017_GPINTENB 0x05
#define MCP23017_DEFVALB 0x07
#define MCP23017_INTCONB 0x09
#define MCP23017_IOCONB 0x0B
#define MCP23017_GPPUB 0x0D
#define MCP23017_INTFB 0x0F
#define MCP23017_INTCAPB 0x11
#define MCP23017_GPIOB 0x13
#define MCP23017_OLATB 0x15
#define MCP23017_INT_ERR 255
//constants set up to emulate Arduino pin parameters
#define HIGH 1
#define LOW 0
#define INPUT 1
#define OUTPUT 0
#define CHANGE 0
#define FALLING 1
#define RISING 2
#endif
| [
"noreply@github.com"
] | noreply@github.com |
1f597f63cb7f7a1a4eff013539eeda4d11674076 | 49405f92264a3de1a803f6ada577048eb3eed376 | /Source/GameEngine/Game/Scene/Include/SceneData.h | 275168a6750c52d7234244034f18fc8ff6e44979 | [
"Apache-2.0"
] | permissive | rent1807/Space | 30c090978e65f52dacc0d7ad16d174e5e2505d2b | 6ee0da5c650bedd36386d65610675fb6584acf01 | refs/heads/master | 2021-05-08T01:22:34.837947 | 2017-10-17T12:45:11 | 2017-10-17T12:45:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | h | #pragma once
#include "stdafx.h"
namespace SpaceGameEngine
{
struct SceneData
{
static XMFLOAT4X4 m_ViewMatrix;
static XMFLOAT4X4 m_ProjectionMatrix;
};
} | [
"creatorlxd@outlook.com"
] | creatorlxd@outlook.com |
4a5a779d39bd0a666d414473da18b79be8d2e1e3 | 7950265d6e7c99817d1b8481cb84c6d55772cbe8 | /algorithm/49.cpp | ca360ff1303f56f59df7b050b48d472474c73862 | [] | no_license | wuyanzhang/leetcode | 7e910f493dcefe3a0a9bcf06b776b99ffb4677c0 | d62393aeb00c68993d736f447c3a241261443bd5 | refs/heads/master | 2020-05-22T12:26:24.038168 | 2019-08-26T13:00:58 | 2019-08-26T13:00:58 | 186,337,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<map>
#include<algorithm>
using namespace std;
vector<vector<string>> groupAnagrams(vector<string>& strs)
{
map<string,vector<string>> result;
vector<vector<string> > res;
for(int i = 0; i < strs.size(); i++)
{
string s = strs[i];
sort(s.begin(),s.end());
result[s].push_back(strs[i]);
}
for(auto iter = result.begin(); iter != result.end(); iter++)
{
res.push_back(iter->second);
}
return res;
}
int main()
{
string str[]={"eat", "tea", "tan", "ate", "nat", "bat"};
vector<string> strArray(str,str+6);
vector<vector<string> > output;
output = groupAnagrams(strArray);
for(int i = 0; i < output.size(); i++)
{
for(int j = 0; j < output[i].size(); j++)
{
cout << output[i][j] << " ";
}
cout << endl;
}
return 0;
}
| [
"178172535@qq.com"
] | 178172535@qq.com |
332f7d521c40b3e466b1f0eaca5bb85c41ec287d | 2c574bbfbdbae773ed3756b4fe7ced433e5a9f31 | /c4bot/c4bot/main.cpp | 3d91006d54869f6fb7e7586e5ce6c5549107dfc9 | [] | no_license | Bravekat/Connectfour_AI-8e-Project | 44db789b46ec69780fef3492ed7d7c7f76f3906c | 5f1e6ca4b56dbc40522f34f82cafe6474f17c1eb | refs/heads/master | 2022-07-15T02:22:21.268788 | 2020-05-18T09:39:42 | 2020-05-18T09:39:42 | 264,893,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include "c4bot.h"
int main() {
C4Bot bot;
bot.run();
/*int count = 0;
while (true) {
std::cerr << "turn: " << count++ << std::endl;
bot.movetest();
Player winner = getWinner(bot.state);
if (winner != Player::None) {
std::cerr << "Player " << winner << " won" << std::endl;
break;
}
}*/
//State state = { { { { Player::None } } } };
//state[0][1] = Player::O;
//state[0][2] = Player::O;
//state[0][3] = Player::O;
//state[0][4] = Player::X;
//state[0][5] = Player::X;
//state[0][6] = Player::X;
//int board = getScore(state);
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
c45dbf91185ffa397ed6b20f2363539deedc36a1 | 64b041c6ddf1ec9fbb24f3517f6d124f112b2ac0 | /Chapter15/TextQuery/Querys.h | a204fff9bb4381aa019929ead1db5d785107548a | [
"WTFPL"
] | permissive | heiheiyoyo/LearnCpp | b73c275a505c2112a33094933da80b89f335dc8d | 8b053e9e34d929f5fc3b210d30e646affe5b6dc8 | refs/heads/master | 2020-08-15T23:05:50.997006 | 2019-11-15T14:57:24 | 2019-11-15T14:57:24 | 215,421,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | h | #ifndef _QUERYS_H_
#define _QUERYS_H_
#include "Query.h"
class WordQuery :public Query_base
{
friend class Query;
WordQuery(const std::string &s):query_word(s){}
QueryResult eval(const TextQuery &t) const
{
return t.query(query_word);
}
std::string rep() const
{
return query_word;
}
std::string query_word;
};
class NotQuery :public Query_base
{
friend Query operator~(const Query &);
NotQuery(const Query &q): query(q) {}
std::string rep() const override {return "~(" + query.rep()+")";}
QueryResult eval(const TextQuery&) const override;
Query query;
};
class BinaryQuery :public Query_base
{
protected:
BinaryQuery(const Query &l,const Query &r,std::string s)
:lhs(l),rhs(r),opSym(s) {}
//抽象类:BinaryQuery不定义eval
std::string rep() const
{
return "(" + lhs.rep() + " " + opSym + " " + rhs.rep() + ")";
}
Query lhs,rhs;//左侧和右侧的运算对象
std::string opSym; //运算符的名字
};
class AndQuery :public BinaryQuery
{
friend Query operator&(const Query&, const Query&);
AndQuery(const Query &left,const Query &right):
BinaryQuery(left,right,"&") {}
QueryResult eval(const TextQuery&) const;
};
class OrQuery :public BinaryQuery
{
friend Query operator|(const Query&,const Query&);
OrQuery(const Query &left,const Query &right):
BinaryQuery(left,right,"|") {}
QueryResult eval(const TextQuery&) const;
};
inline
Query::Query(const std::string &s): q(new WordQuery(s)) { }
inline Query operator~(const Query &operand)
{
return std::shared_ptr<Query_base>(new NotQuery(operand));
}
inline Query operator&(const Query &lhs,const Query &rhs)
{
return std::shared_ptr<Query_base>(new AndQuery(lhs,rhs));
}
inline Query operator|(const Query &lhs,const Query &rhs)
{
return std::shared_ptr<Query_base>(new OrQuery(lhs,rhs));
}
#endif | [
"543425864@qq.com"
] | 543425864@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.