blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
201
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
85
| license_type
stringclasses 2
values | repo_name
stringlengths 7
100
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 260
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 11.4k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 17
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 80
values | src_encoding
stringclasses 28
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 2
classes | length_bytes
int64 8
9.86M
| extension
stringclasses 52
values | content
stringlengths 8
9.86M
| authors
sequencelengths 1
1
| author
stringlengths 0
119
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2472d2d552a6565bf21b38ba26b80a6a2143f76f | 8ea9e856d7ba400b0f415f0ffdbade80a71b34a7 | /pattern_printing.cpp | 9ec627b989e1df917f982eea574a1d1399ac62de | [] | no_license | aditi1403/C-tutorials | ba3df5931aa2a06794ad24194d3bfd8138de3015 | 26be9dea2be385adbdadcef28e2cbf3990bddf60 | refs/heads/main | 2023-01-23T20:43:33.452028 | 2020-12-06T08:03:32 | 2020-12-06T08:03:32 | 312,336,098 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include<iostream>
using namespace std;
int main(){
int row,col;
cout<<"Enter the number of rows you want:"<<endl;
cin>>row;
cout<<"Enter the number of columns you want:"<<endl;
cin>>col;
for ( int i = 1; i <=row; i++){
for ( int j = 1; j <=col; j++){
cout<<"* ";
}
cout<<endl;
}
return 0;
}
| [
"[email protected]"
] | |
ebb051720ef04f6869493b29d64290cc220159cf | ca41c5a8aca9bc965207bbe9537a735182928dc1 | /m3/prob3.cpp | f3e310b6a837031c450e383bde70b9bfac996da8 | [] | no_license | jash101/oops | 5289344f5120916964820f5e70a60a58243de26d | e92e6808a77987d23162f2d37f472afba5235cbc | refs/heads/master | 2021-09-13T09:18:38.087248 | 2018-04-27T17:51:23 | 2018-04-27T17:51:23 | 119,339,534 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | /*
Written by: Yash Shetye
Problem Statement: Calculate the area of rectangle and circle,where both are inherited from the base class
SHAPE where calArea() should be a pure virtual function.The length and radius should
be accepted from user and must be of type float.
*/
#include<iostream>
using namespace std;
class SHAPE
{
public:
virtual void area()=0;
};
class Rectangle:public SHAPE
{
public:
float l,b;
void input();
void area();
};
void Rectangle::input()
{
cout<<"Enter length of rectangle : ";
cin>>l;
cout<<"Enter breadth of rectangle : ";
cin>>b;
}
void Rectangle::area()
{
float area=l*b;
cout<<"\nArea of rectangle is : "<<area;
}
class Circle:public SHAPE
{
public:
float r;
void input();
void area();
};
void Circle::input()
{
cout<<"\nEnter radius of circle : ";
cin>>r;
}
void Circle::area()
{
float area=3.14*r*r;
cout<<"\nArea of circle is : "<<area;
}
int main()
{
Rectangle obj1;
Circle obj2;
obj1.input();
obj1.area();
obj2.input();
obj2.area();
return 0;
}
| [
"[email protected]"
] | |
2386a61ad934c6a26059644751621a22f0abd9b5 | eddcd87c24939a0b9d35bfd52401a2ecd62c04de | /developing/yggdrasil/yggr/serialization/vector.hpp | 360da5cb247da1efd1e0598982165e2167677bc4 | [] | no_license | chinagdlex/yggdrasil | 121539b5f4d171598be2bb79d36f5d673ad11cb4 | 16f6192fd0011dc3f7c1a44f8d4d2a8ba9bc8520 | refs/heads/master | 2021-03-12T19:08:19.120204 | 2016-09-26T09:36:19 | 2016-09-26T09:36:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | hpp | // yggr serialization vector.hpp
/****************************************************************************
Copyright (c) 2014-2018 yggdrasil
author: yang xu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
****************************************************************************/
#ifndef __YGGR_SERIALIZATION_VECTOR_HPP__
#define __YGGR_SERIALIZATION_VECTOR_HPP__
#include <vector>
#include <boost/container/vector.hpp>
#include <yggr/serialization/liner_container.hpp>
//#include <boost/container/vector.hpp>
#include <yggr/serialization/detail/type_traits.hpp>
namespace yggr
{
namespace serialization
{
namespace detail
{
template<typename Val, typename Alloc>
struct is_vector< std::vector<Val, Alloc> >
{
typedef boost::mpl::bool_<true> type;
};
template<typename Val, typename Alloc>
struct is_vector< boost::container::vector<Val, Alloc> >
{
typedef boost::mpl::bool_<true> type;
};
} // namespace detail
} // namespace serialization
} // namespace yggr
//#include <yggr/serialization/vector_bson_impl.hpp>
namespace boost
{
namespace serialization
{
YGGR_SERIALIZATION_LINER_CONTINER_SAVE_LOAD(std::vector)
YGGR_SERIALIZATION_LINER_CONTINER_SAVE_LOAD(boost::container::vector)
#if ! BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
YGGR_SERIALIZATION_BOOL_LINER_CONTINER_SAVE_LOAD(std::vector)
YGGR_SERIALIZATION_BOOL_LINER_CONTINER_SAVE_LOAD(boost::container::vector)
#endif // BOOST_WORKAROUND
} // namespace serialization
} // namespace boost
#include <yggr/serialization/detail/container_implementation_level_def.hpp>
YGGR_SERIALIZATION_CONTAINER_IMPLEMENTATION_LEVEL_DEF(2, std::vector)
YGGR_SERIALIZATION_CONTAINER_IMPLEMENTATION_LEVEL_DEF(2, boost::container::vector)
#endif // __YGGR_SERIALIZATION_VECTOR_HPP__
#include <yggr/serialization/vector_bson_impl.hpp>
| [
"[email protected]"
] | |
f66bdae9ea555806ed6c757316b16947ca32d1de | 63510a0f0638d13a6f22a81d3be4d18085d2fe25 | /src/geometry.cpp | ab67224bfa4846f1303e9db48e820a6f793e8084 | [] | no_license | Reynault/RDV_Projet_Sies_Romary | 9dd52a5cc8692108a1d1711e971e0adf3696c51d | 83ec3461469cbee71cc2f0ad77857487598802d9 | refs/heads/master | 2020-12-15T16:00:16.996869 | 2020-03-10T18:44:53 | 2020-03-10T18:44:53 | 235,168,304 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,100 | cpp | #include <vector>
#include <cassert>
#include <cmath>
#include <iostream>
#include "geometry.h"
template<>
template<>
Vec3<int>::Vec3(const Vec3<float> &v) : x(int(v.x + .5)), y(int(v.y + .5)), z(int(v.z + .5)) {}
template<>
template<>
Vec3<float>::Vec3(const Vec3<int> &v) : x(v.x), y(v.y), z(v.z) {}
Matrix::Matrix(int r, int c) : m(std::vector<std::vector<float> >(r, std::vector<float>(c, 0.f))), rows(r), cols(c) {}
int Matrix::nrows() {
return rows;
}
int Matrix::ncols() {
return cols;
}
Matrix Matrix::identity(int dimensions) {
Matrix E(dimensions, dimensions);
for (int i = 0; i < dimensions; i++) {
for (int j = 0; j < dimensions; j++) {
E[i][j] = (i == j ? 1.f : 0.f);
}
}
return E;
}
std::vector<float> &Matrix::operator[](const int i) {
assert(i >= 0 && i < rows);
return m[i];
}
Matrix Matrix::operator*(const Matrix &a) {
assert(cols == a.rows);
Matrix result(rows, a.cols);
for (int i = 0; i < rows; i++) {
for (int j = 0; j < a.cols; j++) {
result.m[i][j] = 0.f;
for (int k = 0; k < cols; k++) {
result.m[i][j] += m[i][k] * a.m[k][j];
}
}
}
return result;
}
Matrix Matrix::transpose() {
Matrix result(cols, rows);
for (int i = 0; i < rows; i++)
for (int j = 0; j < cols; j++)
result[j][i] = m[i][j];
return result;
}
Matrix Matrix::inverse() {
assert(rows == cols);
// augmenting the square matrix with the identity matrix of the same dimensions a => [ai]
Matrix result(rows, cols * 2);
for (int i = 0; i < rows; i++)
for (int j = 0; j < cols; j++)
result[i][j] = m[i][j];
for (int i = 0; i < rows; i++)
result[i][i + cols] = 1;
// first pass
for (int i = 0; i < rows - 1; i++) {
// normalize the first row
for (int j = result.cols - 1; j >= 0; j--)
result[i][j] /= result[i][i];
for (int k = i + 1; k < rows; k++) {
float coeff = result[k][i];
for (int j = 0; j < result.cols; j++) {
result[k][j] -= result[i][j] * coeff;
}
}
}
// normalize the last row
for (int j = result.cols - 1; j >= rows - 1; j--)
result[rows - 1][j] /= result[rows - 1][rows - 1];
// second pass
for (int i = rows - 1; i > 0; i--) {
for (int k = i - 1; k >= 0; k--) {
float coeff = result[k][i];
for (int j = 0; j < result.cols; j++) {
result[k][j] -= result[i][j] * coeff;
}
}
}
// cut the identity matrix back
Matrix truncate(rows, cols);
for (int i = 0; i < rows; i++)
for (int j = 0; j < cols; j++)
truncate[i][j] = result[i][j + cols];
return truncate;
}
std::ostream &operator<<(std::ostream &s, Matrix &m) {
for (int i = 0; i < m.nrows(); i++) {
for (int j = 0; j < m.ncols(); j++) {
s << m[i][j];
if (j < m.ncols() - 1) s << "\t";
}
s << "\n";
}
return s;
}
| [
"[email protected]"
] | |
58acf4bbe81016586f44f0ef53d05047651f82bf | 8a5f0eda7e09ef69b8a2a49b760397bc6200d134 | /POJ/1041/15430561_WA.cpp | f71d39636a5265d9d18a9050cbeeeefef8250c15 | [] | no_license | 2997ms/Competitive-programming-problems | 5ea54f2c63d963655cd046f33c8a85e03e314d51 | 23028f10875631897588613180fc5a8f2613e724 | refs/heads/master | 2022-12-15T08:54:56.269845 | 2022-12-08T21:45:09 | 2022-12-08T22:20:42 | 58,099,655 | 2 | 0 | null | 2019-09-01T01:40:51 | 2016-05-05T02:53:10 | C++ | UTF-8 | C++ | false | false | 2,544 | cpp | #pragma warning(disable:4996)
#include <iostream>
#include <functional>
#include <algorithm>
#include <cstring>
#include <vector>
#include <string>
#include <cstdio>
#include <cmath>
#include <queue>
#include <stack>
#include <deque>
#include <set>
#include <map>
using namespace std;
typedef long long ll;
#define INF 0x333f3f3f
#define repp(i, n, m) for (int i = n; i <= m; i++)
#define rep(i, n, m) for (int i = n; i < m; i++)
#define sa(n) scanf("%d", &(n))
const ll mod = 1e9 + 7;
const int maxn = 1e6 + 5;
const double PI = acos(-1.0);
struct ed
{
int to;
int next;
int flag;
int dir;
int ind;
}edge[maxn];
int n, edgen;
int head[maxn], out[maxn], fa[maxn];
void init()
{
edgen = 0;
memset(head, -1, sizeof(head));
memset(edge, -1, sizeof(edge));
memset(out, 0, sizeof(out));
repp(i, 0, 1e6)
fa[i] = i;
}
void addedge(int u, int v, int dir,int ind)
{
edge[edgen].to = v;
edge[edgen].flag = 0;
edge[edgen].dir = dir;
edge[edgen].ind = ind;
edge[edgen].next = head[u];
head[u] = edgen;
edgen++;
}
int getfa(int x)
{
return fa[x] == x ? x : fa[x] = getfa(fa[x]);
}
vector<int>res;
void uni(int u, int v)
{
u = getfa(u), v = getfa(v);
if (u == v)return;
fa[u] = v;
}
void dfs(int x)
{
int i, j, k;
for (i = head[x]; i != -1; i = edge[i].next)
{
if (!edge[i].flag)
{
edge[i].flag = 1;
edge[i ^ 1].flag = 1;
k = edge[i].to;
//res.push_back(i);
dfs(k);
res.push_back(i);
}
}
}
int x, y, z;
void solve()
{
int i, j, k;
int u, v;
int st = min(x, y);
do
{
scanf("%d", &z);
addedge(x, y, 1, z);
addedge(y, x, -1, z);
out[x]++;
out[y]++;
uni(x, y);
} while (scanf("%d%d", &x, &y) == 2 && x != 0 && y != 0);
int cnt = 0;
int f = -1;
for (i = 0; i <= 1995; i++)
{
if (out[i] & 1)
{
cnt++;
f = i;
}
if (out[i] > 0)
{
f = i;
}
}
if (f == -1)
{
printf("Round trip does not exist.\n");
return;
}
if (cnt != 0 && cnt != 2)
{
printf("Round trip does not exist.\n");
return;
}
for (i = 0; i <= 1995; i++)
{
if (out[i] > 0 && getfa(i) != getfa(f))
{
printf("Round trip does not exist.\n");
return;
}
}
if (cnt > 0 && (out[st] % 2 == 0))
{
printf("Round trip does not exist.\n");
return;
}
res.clear();
dfs(st);
for (i = 0; i < res.size(); i++)
{
if (i == res.size() - 1)
{
printf("%d", edge[res[i]].ind);
}
else
{
printf("%d ", edge[res[i]].ind);
}
}
printf("\n");
}
int main()
{
while (scanf("%d%d", &x,&y) != EOF)
{
if (x == 0 && y == 0)
break;
init();
solve();
}
return 0;
}
| [
"[email protected]"
] | |
5052a305fb98e9d0dfafa3f7a8e08fbb72e1607f | 923acd88223254d5d0c6a2375876244df726c02f | /tfvisV/DT_Table.cpp | dff8a7ffc245531492b504630dead674a7b71d8e | [] | no_license | TakuyaSatoM/TFVIS | 92069b1c416fd8786eac6e91bf332791ae624ad5 | dcbfffb1aedc478d896b3cbead4701ec3e050f67 | refs/heads/master | 2020-12-24T06:11:55.630545 | 2016-12-22T04:49:10 | 2016-12-22T04:49:10 | 73,175,737 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,606 | cpp | #include "DataTransitions.h"
#include "Game.h"
//データ遷移図のメイン処理
void DtDiagram::drawTable(DTCom* dt)
{
int command_ChangeMethodExe=-1;
if(RL_INPUT()->m_MouseR.NowPush() && IsMouseInBox(dt->m_DrawArea.x,dt->m_DrawArea.y,dt->m_DrawArea.w,dt->m_DrawArea.h)){dt->m_DTA.release();}
RC_2DPorigon* po=draw::Basic();
draw::Basic()->SetTexture(NULL);
DWordDrawStart();
DWordFormat(DT_NOCLIP);
DWordColor(D3DXCOLOR(0,0,0,1));
int ds=dt->m_DS;
po->f_Point=D3DXVECTOR3(ds,0,G()->GetInsZ());
po->f_Size=D3DXVECTOR2(EVENTW,dt->m_DrawArea.h*2);
po->f_Color=D3DXVECTOR4(0.0,0.0,0.0,0.3);
po->Set();
po->f_Point=D3DXVECTOR3(ds,0,G()->GetInsZ());
po->f_Size=D3DXVECTOR2(2*2,dt->m_DrawArea.h*2);
po->f_Color=D3DXVECTOR4(0.0,0.0,0.0,0.3);
po->Set();
po->f_Point=D3DXVECTOR3(ds+EVENTW-2*2,0,G()->GetInsZ());
po->f_Size=D3DXVECTOR2(2*2,dt->m_DrawArea.h*2);
po->f_Color=D3DXVECTOR4(0.0,0.0,0.0,0.3);
po->Set();
//表横線
for(int i=0;i<dt->m_MethodExe->m_XWide+1;i++){
po->f_Point=D3DXVECTOR3(ds+EVENTW+i*DTCELLW,0,G()->GetInsZ());
po->f_Size=D3DXVECTOR2(1*2,dt->m_DrawArea.h*2);
po->f_Color=D3DXVECTOR4(0.50,0.50,0.50,1);
po->Set();
}
//行別イベント名
{
C_Line* indexLine=&dt->getMethod()->m_Line;
while(indexLine=indexLine->CHECK()){
DWordFormat(DT_CENTER | DT_VCENTER);
DWordArea_W(ds,indexLine->m_ID*LINEH,EVENTW,LINEH);
po->f_Point=D3DXVECTOR3(ds+6*2,indexLine->m_ID*LINEH+LINEH-5*2,G()->GetInsZ());
po->f_Size=D3DXVECTOR2(EVENTW-12*2,4*2);
po->f_Color=D3DXVECTOR4(0.00,0,1.00,1);
if(indexLine->m_EventType == ev::METHOD_END){
C_Line* line=(C_Line*)indexLine->CHECK_BACK();
if(line && line->m_EventType == ev::RETURN){
continue;
}
}
if(ev::getEventViewText(indexLine->m_EventType)!="u"){
DWordColor(D3DXCOLOR(0.85,0.85,0.85,1));
sprintf(DWordBuffer(),"%s",ev::getEventViewText(indexLine->m_EventType).c_str());
}
else{
DWordColor(D3DXCOLOR(1,1,1,1));
sprintf(DWordBuffer(),"%s",indexLine->m_Target.c_str());
po->Set();
}
DWordDrawText(G()->m_CommonFont ,DWordBuffer());
}
}
//データ遷移表上描画
{
Exe* indexExe=db::getExe();
int mexeID=db::getExe()->GetMethodExeID(dt->getMethod()->m_MethodID,dt->m_MethodExe->m_MethodExeNum);
while(indexExe=indexExe->CHECK()){
if(indexExe->m_MethodExeID!=mexeID){continue;}
C_Box cellArea;
cellArea.x=ds+EVENTW+indexExe->m_DTXY.x*DTCELLW+3*2;
cellArea.y=indexExe->m_DTXY.y*LINEH+2*2;
cellArea.w=DTCELLW-6*2;
cellArea.h=LINEH-4*2;
indexExe->m_LastPos=D3DXVECTOR2(cellArea.x+cellArea.w/2,cellArea.y+cellArea.h/2)/2+D3DXVECTOR2(dt->m_DrawArea.x,dt->m_DrawArea.y);
if(ev::isUpdate(indexExe->m_EventType)){//変数更新
if(ev::isArrayUpdate(indexExe->m_EventType)==false){variableUpdate(dt,indexExe,cellArea,po);}//単体更新
else{variableArrayUpdate(dt,indexExe,cellArea,po);}//配列更新
}
{//メソッド系
//メソッド呼び出し
if(indexExe->m_EventType==ev::METHOD_CALL){
methodCall(dt,indexExe,cellArea,po);
}
//メソッド開始
if(indexExe->m_EventType==ev::METHOD_START){
methodStart(dt,indexExe,cellArea,po,command_ChangeMethodExe);
}
//メソッド終了
if(indexExe->m_EventType==ev::METHOD_END){
methodEnd(dt,indexExe,cellArea,po);
}
}
//条件分岐成立
if(indexExe->m_EventType==ev::ROUTE){
condition(dt,indexExe,cellArea,po);
}
{//ループ系
//ループ周回変更
if(indexExe->m_EventType==ev::LOOP_NEXT){
loopNext(dt,indexExe,cellArea,po);
}
//ループ終了
if(indexExe->m_EventType==ev::LOOP_END){
loopEnd(dt,indexExe,cellArea,po);
}
}
{//try-catch
if(indexExe->m_EventType==ev::CATCH){
tryCatch(dt,indexExe,cellArea,po);
}
}
{//Switch文
if(indexExe->m_EventType==ev::SWITCH){
Switch(dt,indexExe,cellArea,po);
}
if(indexExe->m_EventType==ev::CASE){
Case(dt,indexExe,cellArea,po);
}
}
}
}
po->Draw();
DWordDrawEnd();
//対応メソッド実行変更
if(command_ChangeMethodExe >= 0){//変更有
DTCom::transDTDiagram(&G()->m_DtCom,dt,db::searchMethodExe(dt->m_MethodExe->m_Method,command_ChangeMethodExe));
}
}
| [
"[email protected]"
] | |
a828d060b13aae211b0efc36dba8d8e2066a4a1a | 5ed2a97e269dced8e720cdecca912537d2308b3f | /poj/2524/12241132_AC_297MS_428K.cpp | a5102ec97d249e035fbed9ef347d14b312ded744 | [] | no_license | courage17340/OI | 7a81c62bf3b09c29b093979d77d68bdb8eea0e1a | 29e3914442d1334e0b1da849db4c3e942492cb7d | refs/heads/master | 2021-01-13T01:25:19.188664 | 2015-06-08T08:12:34 | 2015-06-08T08:12:34 | 32,979,121 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include<cstdio>
#include<cstring>
int f[50010],n,m,x,y,ans,t=0;
bool a[50010];
int father(int x){
if (x==f[x]) return x;
int y=father(f[x]);
f[x]=y;
return y;
}
int main(){
while (1){
scanf("%d%d",&n,&m);
t++;
if (n==0) break;
for (int i=1;i<=n;i++) f[i]=i;
while (m--){
scanf("%d%d",&x,&y);
if (father(x)!=father(y)) f[father(x)]=father(y);
}
memset(a,0,sizeof(a));
for (int i=1;i<=n;i++) a[father(i)]=1;
ans=0;
for (int i=1;i<=n;i++) ans+=a[i];
printf("Case %d: %d\n",t,ans);
}
} | [
"[email protected]"
] | |
1cb7987e38ccf837e531a0651e5b669f434c70ea | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/BP_RecurveBow_InsertArrow_classes.h | f6ae49714688154ba4d79bf21a3ea806ffce8e67 | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_RecurveBow_InsertArrow.BP_RecurveBow_InsertArrow_C
// 0x0000 (0x0088 - 0x0088)
class UBP_RecurveBow_InsertArrow_C : public UWeaponActionReloadSequence
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass BP_RecurveBow_InsertArrow.BP_RecurveBow_InsertArrow_C");
return ptr;
}
float ExecuteUsingData(struct FWeaponReloadData* Data);
bool CanExecuteUsingData(struct FWeaponReloadData* Data);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"[email protected]"
] | |
edf72d24b3ee85d4131cb3bc2d9d560aff4f82f3 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/Standard/Standard_CString.cxx | 29b0d607e99bdfd84d1fe3a4d5567da378531a46 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,403 | cxx |
// Update JR 12-09-1997 :
// - three methods of HashCoding of strings : we may keep the value
// of the hashcode of the string itself. This value is used when
// resizing of a Map or copying an item from a Map to another Map.
// - three methods of HashCoding of strings converted to uppercase.
#define _Standard_CString_SourceFile
#define OptJr 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <Standard_CString.hxx>
#include <Standard_Type.hxx>
#include <Standard_OStream.hxx>
#if OptJr
# if defined(WORDS_BIGENDIAN)
static const Standard_Integer static_MaskEndIntegerString[4] = { 0x00000000 ,
0xff000000 ,
0xffff0000 ,
0xffffff00 } ;
# else
static const Standard_Integer static_MaskEndIntegerString[4] = { 0x00000000 ,
0x000000ff ,
0x0000ffff ,
0x00ffffff } ;
# endif
#endif
#include <Standard_String.hxx>
#include <string.h>
//============================================================================
//====
//============================================================================
Handle_Standard_Type& Standard_CString_Type_()
{
static Handle_Standard_Type _aType =
new Standard_Type("Standard_CString",sizeof(Standard_CString),0,NULL);
return _aType;
}
//============================================================================
//==== ShallowDump : Writes a CString value.
//============================================================================
Standard_EXPORT void ShallowDump (const Standard_CString Value, Standard_OStream& s)
{ s << Value << " Standard_CString " << "\n"; }
//============================================================================
//==== HashCode of a CString
//============================================================================
Standard_Integer HashCode (const Standard_CString Value,
const Standard_Integer Upper )
{
Standard_Integer aLen ;
//#if OptJr
//STRINGLEN( Value , aLen ) ;
//#else
aLen = (Standard_Integer)strlen(Value);
//#endif
return HashCode ( HashCodes( Value , aLen ) , Upper ) ;
}
#if OptJr
# if defined(WORDS_BIGENDIAN)
static Standard_Integer Standard_Mask_String_Left[4] =
{ 0 , 0x00ffffff , 0x0000ffff , 0x000000ff } ;
static Standard_Integer Standard_Mask_String_Right[4] =
{ 0 , 0xff000000 , 0xffff0000 , 0xffffff00 } ;
# else
static Standard_Integer Standard_Mask_String_Left[4] =
{ 0 , 0xffffff00 , 0xffff0000 , 0xff000000 } ;
static Standard_Integer Standard_Mask_String_Right[4] =
{ 0 , 0x000000ff , 0x0000ffff , 0x00ffffff } ;
# endif
#endif
//============================================================================
//==== HashCode of a CString
//============================================================================
Standard_Integer HashCodes (const Standard_CString Value ,
const Standard_Integer Len )
{
Standard_Integer aHashCode = 0 ;
Standard_Integer i ;
#if !OptJr
char *charPtr = (char *)Value;
Standard_Integer pos = 0,
count,
*tmphash;
char tabchar[20];
#endif
if (Value != NULL) {
#if !OptJr
i = 0 ;
while (i < Len) {
for (count = 0,pos = i;count < sizeof(Standard_Integer); count++) {
if (pos + count >= Len) tabchar[count] = '\0';
else tabchar[count] = charPtr[pos + count];
i++;
}
tmphash = (Standard_Integer *)tabchar;
aHashCode = aHashCode ^ *tmphash;
}
}
#else
Standard_Integer *value = (Standard_Integer *)(ptrdiff_t(Value) & ~0x3) ;
Standard_Integer len = Len ;
unsigned int aResidue = (unsigned int)(ptrdiff_t(Value) & 0x3);
if (aResidue) {
aHashCode = *value & Standard_Mask_String_Left[aResidue] ;
value += 1 ;
len -= (4 - aResidue);
}
for ( i = 1 ; i <= len >> 2 ; i++ ) {
aHashCode = aHashCode ^ value[ i - 1 ] ;
}
aHashCode = aHashCode ^ ( value[ i - 1 ] &
Standard_Mask_String_Right[ len & 3 ] ) ;
if ( len != Len ) {
# if defined(WORDS_BIGENDIAN)
aHashCode = aHashCode << 8*aResidue |
aHashCode >> 8*(4 - aResidue) ;
# else
aHashCode = aHashCode << 8*(4 - aResidue) |
aHashCode >> 8*aResidue ;
# endif
}
}
#endif
return aHashCode ;
}
# if defined(WORDS_BIGENDIAN)
static Standard_Integer Standard_Mask_Upper_Lower[5] =
{ 0 , 0xdf000000 , 0xdfdf0000 , 0xdfdfdf00 , 0xdfdfdfdf } ;
#else
static Standard_Integer Standard_Mask_Upper_Lower[5] =
{ 0 , 0xdf , 0xdfdf , 0xdfdfdf , 0xdfdfdfdf } ;
#endif
//============================================================================
//==== HashCode of a CString with discard of bit 5 (UpperCase<-->LowerCase)
// Efficient for Types and MethodNames (without copy of characters)
// Valid if we have only alphanumeric characters and "_" (unicity)
// Valid if the Strings address is aligned for Integers
//============================================================================
Standard_Integer HASHCODES (const Standard_CString Value ,
const Standard_Integer Len )
{
Standard_Integer aHashCode = 0 ;
Standard_Integer i = 0 ;
if (Value != NULL) {
#ifdef ALIGNMENT_BUG
for ( i = 1 ; i <= Len >> 2 ; i++ ) {
aHashCode = aHashCode ^
( ((Standard_Integer *) Value ) [ i - 1 ] &
Standard_Mask_Upper_Lower[4] ) ;
}
aHashCode = aHashCode ^
( ((Standard_Integer *) Value ) [ i - 1 ] &
Standard_Mask_Upper_Lower[ Len & 3 ] ) ;
#else
Standard_Integer itmp = 0 ;
for ( i = 0 ; i <= Len-4 ; i+=4 ) {
memcpy(&itmp,(const void *)&Value[i],4);
aHashCode=aHashCode^(itmp&Standard_Mask_Upper_Lower[4]);
}
if (Len&3) {
memcpy(&itmp,(const void *)&Value[i],Len&3);
aHashCode=aHashCode^(itmp&Standard_Mask_Upper_Lower[Len&3]);
}
#endif
}
return aHashCode ;
}
//============================================================================
// IsEqual : Returns Standard_True if two CString have the same value
// Comparison is done with discard of bit 5 (UpperCase<-->LowerCase)
// Efficient for Types and MethodNames (without copy of characters)
// Valid if we have only alphanumeric characters and "_" (unicity)
// Valid if the Strings address are aligned for Integers
//============================================================================
Standard_Boolean ISSIMILAR(const Standard_CString One ,
const Standard_Integer LenOne ,
const Standard_CString Two )
{
Standard_Integer i ;
#ifdef ALIGNMENT_BUG
for ( i = 1 ; i <= LenOne >> 2 ; i++ ) {
if ( (((Standard_Integer *) One ) [ i - 1 ] &
Standard_Mask_Upper_Lower[ 4 ] ) !=
(((Standard_Integer *) Two ) [ i - 1 ] &
Standard_Mask_Upper_Lower[ 4 ] ) )
return Standard_False ;
}
if ( (((Standard_Integer *) One ) [ i - 1 ] &
Standard_Mask_Upper_Lower[ LenOne & 3 ] ) !=
(((Standard_Integer *) Two ) [ i - 1 ] &
Standard_Mask_Upper_Lower[ LenOne & 3 ] ) )
return Standard_False ;
#else
Standard_Integer iOne, iTwo ;
for ( i = 0; i <= LenOne-4; i+=4 ) {
memcpy(&iOne,(const void *)&One[i],4);
memcpy(&iTwo,(const void *)&Two[i],4);
if ((iOne&Standard_Mask_Upper_Lower[4] ) !=
(iTwo&Standard_Mask_Upper_Lower[4]))
return Standard_False;
}
if(LenOne&3) {
memcpy(&iOne,(const void *)&One[i],4);
memcpy(&iTwo,(const void *)&Two[i],4);
if ( (iOne&Standard_Mask_Upper_Lower[LenOne&3]) !=
(iTwo&Standard_Mask_Upper_Lower[LenOne&3]))
return Standard_False;
}
#endif
return Standard_True ;
}
| [
"[email protected]"
] | |
6a28d544f0c73c86ef56dc141278c03a12c7303b | 60a71e85007b6c4794d661eac9e4356e5acc36fc | /Algorithms/00003-Hackerrank-Compare-the-triplet.cpp | 3fd7d21b4b3abcbff83564147a77ab9c1f0402e2 | [
"MIT"
] | permissive | shreyaschavhan/Hackerrank | 49bdbb97d15db97e9e6884c8d64f39be92991159 | 34e16a2430ab18217d8b9b64f3053f6450bc420e | refs/heads/main | 2023-03-01T17:54:59.589774 | 2021-02-09T12:30:26 | 2021-02-09T12:30:26 | 300,666,192 | 2 | 0 | null | 2021-01-19T05:52:04 | 2020-10-02T15:57:29 | C++ | UTF-8 | C++ | false | false | 778 | cpp | /*
Link - https://www.hackerrank.com/challenges/compare-the-triplets/problem
*/
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector <int> a;
vector <int> b;
int elementa;
for(int i = 0; i < 3; i++){
cin >> elementa;
a.push_back(elementa);
}
int elementb;
for(int j = 0; j < 3; j++){
cin >> elementb;
b.push_back(elementb);
}
int alice = 0;
int bob = 0;
for(auto k = 0; k < 3; k++){
if(a[k] > b[k]){
alice++;
}
else if(a[k] < b[k]){
bob++;
}
else{
alice += 0;
bob += 0;
}
}
cout << alice << " " << bob << endl;
return 0;
}
| [
"[email protected]"
] | |
a5e725c90494e10768b156e489c629482b498d33 | b171b208b1eb28d3e10e1eddad915d124cd848b0 | /src/pio_ssd1306_128x64_i2c.cpp | a60a750d76d7679217f19a030cd927124b2b147d | [] | no_license | berlinrob/pioApple | 07d28dfa0671db35e6e93c373c3d1cb6a713328c | f88f0d690fa86745e3c9c8b8a80a52ad6e4c209d | refs/heads/main | 2023-03-25T14:50:43.232255 | 2021-03-22T16:32:42 | 2021-03-22T16:32:42 | 348,200,509 | 0 | 0 | null | 2021-03-22T16:32:43 | 2021-03-16T03:23:51 | C++ | UTF-8 | C++ | false | false | 4,189 | cpp | #include <iostream>
//#include <WiFi.h>
//#include <SPI.h>
//#include <Wire.h>
//#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// custom libraries
#include "cf_lib_JoyStick.h"
// #include "cf_lib_oled128x64.h"
// #include "cf_lib_websocket.h"
// display
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
#define OLED_RESET 4 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
// joystick
#define joyX 34 //analog x from 0~4095
#define joyY 35 //analog y from 0~4095
#define joySW 19 //digital switch on joystick
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
cf_joystick myJoyStick(joyX, joyY, joySW);
int newX = 0;
int newY = 0;
int previousX = 0;
int previousY = 0;
int myOffset = 0;
// bool moveMenu = false;
int menuIndex = 0;
const char *myMenu[] = {"ONE", "TWO", "THREE", "FOUR"};
unsigned long currentMillis = 0;
unsigned long previousMillis = 0;
static const unsigned long MENU_DELAY_INTERVAL = 500; // ms
bool ledState = 0;
const int ledPin = 2;
void setup()
{
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS))
{
Serial.begin(115200);
delay(1000);
Serial.println(F("SSD1306 allocation failed"));
for (;;)
; // Don't proceed, loop forever
}
display.fillRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, SSD1306_WHITE);
display.display();
delay(250);
// Clear the buffer
display.clearDisplay();
display.display();
delay(500);
}
void loop()
{
// ws.cleanupClients();
display.clearDisplay();
previousX = newX;
previousY = newY;
myJoyStick.setMapX(map(myJoyStick.getAnalogX(), 0, 4095, 0, 127));
myJoyStick.setMapY(map(myJoyStick.getAnalogY(), 0, 4095, 0, 63));
display.fillRect(myJoyStick.mapX, myJoyStick.mapY, 5, 5, SSD1306_WHITE);
display.setTextSize(3); // Normal 1:1 pixel scale
display.setTextColor(SSD1306_WHITE); // Draw white text
display.setCursor(0, 0); // Start at top-left corner
// display.printf("X: %d\n", myJoyStick.mapX);
// display.printf("Y: %d\n", myJoyStick.mapY);
// display.printf("previousMillis: %lx\n", previousMillis);
display.printf("%s\n", myMenu[menuIndex]);
display.display();
// demo - menu transition
if (myJoyStick.mapY < 5 || myJoyStick.mapY > 58)
{
if (previousMillis == 0)
{
previousMillis = millis();
}
else if (millis() - previousMillis > MENU_DELAY_INTERVAL)
{
if (myJoyStick.mapY < 5)
{
myOffset = 0;
menuIndex == 0 ? menuIndex = 3 : menuIndex--;
}
else
{
myOffset = 60;
menuIndex == 3 ? menuIndex = 0 : menuIndex++;
}
for (int i = 0; i <= 12; i++)
{
display.clearDisplay();
// display.drawLine(0, abs(myOffset - 5 * i), SCREEN_WIDTH, abs(myOffset - 5 * i), SSD1306_WHITE);
if (myOffset == 0)
{
display.setCursor(0, abs(-5 * i) - SCREEN_HEIGHT); // Start at top-left corner
// display.printf("X: %d\n", myJoyStick.mapX);
// display.printf("Y: %d\n", myJoyStick.mapY);
// display.printf("previousMillis: %lx\n", previousMillis);
display.printf("%s\n", myMenu[menuIndex]);
}
else
{
display.setCursor(0, -5 * i); // Start at top-left corner
// display.printf("X: %d\n", myJoyStick.mapX);
// display.printf("Y: %d\n", myJoyStick.mapY);
// display.printf("previousMillis: %lx\n", previousMillis);
display.printf("%s\n", myMenu[menuIndex]);
}
display.setCursor(0, abs(myOffset - 5 * i)); // Start at top-left corner
// display.printf("X: %d\n", myJoyStick.mapX);
// display.printf("Y: %d\n", myJoyStick.mapY);
// display.printf("previousMillis: %lx\n", previousMillis);
display.printf("%s\n", myMenu[menuIndex]);
display.display();
}
previousMillis = 0;
}
}
else
{
previousMillis = 0;
}
} | [
"[email protected]"
] | |
87d7358eb60c27e7240d94580d00cd69c6335676 | 050c8a810d34fe125aecae582f9adfd0625356c6 | /Autumn2019/rogvaiv/base.cpp | 35ef02e090b06f6624272e03e038c858050e1ec8 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | cpp | #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
using namespace std;
FILE *f = fopen("rogvaiv.in","r");
FILE *g = fopen("rogvaiv.out","w");
const int NMAX = 5e4;
const int LEN = 7;
int MOD;
const char p1[] = "ABCDEFG";
const char p2[] = "GFEDCBA";
const char alpha[] = "ABCDEFG";
int c,n;
vector<pair<int,int> > to[LEN + 5][LEN + 5];
int dp[2][LEN + 5][LEN + 5];
void propag(int j,int k,char c) {
int jp = (j == LEN ? LEN:(c == p1[j] ? j + 1:(c == p1[0] ? 1:0)));
int kp = (k == LEN ? LEN:(c == p2[k] ? k + 1:(c == p2[0] ? 1:0)));
to[j][k].push_back({jp,kp});
}
int main() {
fscanf(f,"%d %d %d",&c,&n,&MOD);
dp[0][0][0] = 1;
for(int j = 0; j <= LEN; j++) {
for(int k = 0; k <= LEN; k++) {
for(char c = 'A'; c <= 'G'; c++) {
propag(j,k,c);
}
}
}
for(int i = 0,l = 0; i < n; i++,l ^= 1) {
memset(dp[l ^ 1],0,sizeof(dp[l ^ 1]));
for(int j = 0; j <= LEN; j++) {
for(int k = 0; k <= LEN; k++) {
for(auto it:to[j][k]) {
dp[l ^ 1][it.first][it.second] += dp[l][j][k];
if(dp[l ^ 1][it.first][it.second] >= MOD) {
dp[l ^ 1][it.first][it.second] -= MOD;
}
}
}
}
}
int ans = 0;
for(int j = 0; j <= LEN; j++) {
for(int k = 0; k <= LEN; k++) {
if(j == LEN) {
ans += dp[n & 1][j][k];
if(ans >= MOD) {
ans -= MOD;
}
}
else if(k == LEN && c == 2) {
ans += dp[n & 1][j][k];
if(ans >= MOD) {
ans -= MOD;
}
}
}
}
fprintf(g,"%d\n",ans);
fclose(f);
fclose(g);
return 0;
}
| [
"[email protected]"
] | |
b7f30eb5588d65a14a495c535a8f3de374b04fca | f4c53c1fa537d697f247f99afc040c58705966c4 | /TP2.cpp | eff43faeb115da083a1f73fbdbd8bf986c35afaf | [] | no_license | lucassfara/TP2 | cc62cf09c4654d4d877210d5d10872a43300aa0c | 4274494812e33eef26c797f123d9d0cd3de47acb | refs/heads/master | 2016-08-04T21:06:57.488825 | 2015-05-05T13:22:33 | 2015-05-05T13:22:33 | 35,100,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | # TP2
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
int main()
{
int a;
cout << "Ingrese Numero: ";
cin >> a;
a=a%2;
if (a == 1){
cout << "Su numero es par \n";}
else {
cout << "Su numero no es par \n" ;
}
return 0;
}
| [
"[email protected]"
] | |
89cd6d4c790f82a884b38e4ae1307d101ef60e6a | 2251a3606c97b564ffba0f16c0865d8b7f5fce31 | /runtime/third_party/double-conversion/src/double.h | 1f2ded27414aa443a1cb87c8067b0d673094c25c | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | syntheticpp/dartruntime | b531c4dc1c7cb8f6c2be5e12030a44ee067fbd4a | 189c705b0a6a0b525f3642f964e51d13937fa453 | refs/heads/master | 2016-09-08T01:16:48.304350 | 2013-11-26T11:18:00 | 2013-11-26T11:18:00 | 2,958,662 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 8,633 | h | // Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef DOUBLE_CONVERSION_DOUBLE_H_
#define DOUBLE_CONVERSION_DOUBLE_H_
#include "diy-fp.h"
namespace double_conversion {
// We assume that doubles and uint64_t have the same endianness.
static uint64_t double_to_uint64(double d) { return BitCast<uint64_t>(d); }
static double uint64_to_double(uint64_t d64) { return BitCast<double>(d64); }
// Helper functions for doubles.
class Double {
public:
static const uint64_t kSignMask = UINT64_2PART_C(0x80000000, 00000000);
static const uint64_t kExponentMask = UINT64_2PART_C(0x7FF00000, 00000000);
static const uint64_t kSignificandMask = UINT64_2PART_C(0x000FFFFF, FFFFFFFF);
static const uint64_t kHiddenBit = UINT64_2PART_C(0x00100000, 00000000);
static const int kPhysicalSignificandSize = 52; // Excludes the hidden bit.
static const int kSignificandSize = 53;
Double() : d64_(0) {}
explicit Double(double d) : d64_(double_to_uint64(d)) {}
explicit Double(uint64_t d64) : d64_(d64) {}
explicit Double(DiyFp diy_fp)
: d64_(DiyFpToUint64(diy_fp)) {}
// The value encoded by this Double must be greater or equal to +0.0.
// It must not be special (infinity, or NaN).
DiyFp AsDiyFp() const {
ASSERT(Sign() > 0);
ASSERT(!IsSpecial());
return DiyFp(Significand(), Exponent());
}
// The value encoded by this Double must be strictly greater than 0.
DiyFp AsNormalizedDiyFp() const {
ASSERT(value() > 0.0);
uint64_t f = Significand();
int e = Exponent();
// The current double could be a denormal.
while ((f & kHiddenBit) == 0) {
f <<= 1;
e--;
}
// Do the final shifts in one go.
f <<= DiyFp::kSignificandSize - kSignificandSize;
e -= DiyFp::kSignificandSize - kSignificandSize;
return DiyFp(f, e);
}
// Returns the double's bit as uint64.
uint64_t AsUint64() const {
return d64_;
}
// Returns the next greater double. Returns +infinity on input +infinity.
double NextDouble() const {
if (d64_ == kInfinity) return Double(kInfinity).value();
if (Sign() < 0 && Significand() == 0) {
// -0.0
return 0.0;
}
if (Sign() < 0) {
return Double(d64_ - 1).value();
} else {
return Double(d64_ + 1).value();
}
}
int Exponent() const {
if (IsDenormal()) return kDenormalExponent;
uint64_t d64 = AsUint64();
int biased_e =
static_cast<int>((d64 & kExponentMask) >> kPhysicalSignificandSize);
return biased_e - kExponentBias;
}
uint64_t Significand() const {
uint64_t d64 = AsUint64();
uint64_t significand = d64 & kSignificandMask;
if (!IsDenormal()) {
return significand + kHiddenBit;
} else {
return significand;
}
}
// Returns true if the double is a denormal.
bool IsDenormal() const {
uint64_t d64 = AsUint64();
return (d64 & kExponentMask) == 0;
}
// We consider denormals not to be special.
// Hence only Infinity and NaN are special.
bool IsSpecial() const {
uint64_t d64 = AsUint64();
return (d64 & kExponentMask) == kExponentMask;
}
bool IsNan() const {
uint64_t d64 = AsUint64();
return ((d64 & kExponentMask) == kExponentMask) &&
((d64 & kSignificandMask) != 0);
}
bool IsInfinite() const {
uint64_t d64 = AsUint64();
return ((d64 & kExponentMask) == kExponentMask) &&
((d64 & kSignificandMask) == 0);
}
int Sign() const {
uint64_t d64 = AsUint64();
return (d64 & kSignMask) == 0? 1: -1;
}
// Precondition: the value encoded by this Double must be greater or equal
// than +0.0.
DiyFp UpperBoundary() const {
ASSERT(Sign() > 0);
return DiyFp(Significand() * 2 + 1, Exponent() - 1);
}
// Computes the two boundaries of this.
// The bigger boundary (m_plus) is normalized. The lower boundary has the same
// exponent as m_plus.
// Precondition: the value encoded by this Double must be greater than 0.
void NormalizedBoundaries(DiyFp* out_m_minus, DiyFp* out_m_plus) const {
ASSERT(value() > 0.0);
DiyFp v = this->AsDiyFp();
bool significand_is_zero = (v.f() == kHiddenBit);
DiyFp m_plus = DiyFp::Normalize(DiyFp((v.f() << 1) + 1, v.e() - 1));
DiyFp m_minus;
if (significand_is_zero && v.e() != kDenormalExponent) {
// The boundary is closer. Think of v = 1000e10 and v- = 9999e9.
// Then the boundary (== (v - v-)/2) is not just at a distance of 1e9 but
// at a distance of 1e8.
// The only exception is for the smallest normal: the largest denormal is
// at the same distance as its successor.
// Note: denormals have the same exponent as the smallest normals.
m_minus = DiyFp((v.f() << 2) - 1, v.e() - 2);
} else {
m_minus = DiyFp((v.f() << 1) - 1, v.e() - 1);
}
m_minus.set_f(m_minus.f() << (m_minus.e() - m_plus.e()));
m_minus.set_e(m_plus.e());
*out_m_plus = m_plus;
*out_m_minus = m_minus;
}
double value() const { return uint64_to_double(d64_); }
// Returns the significand size for a given order of magnitude.
// If v = f*2^e with 2^p-1 <= f <= 2^p then p+e is v's order of magnitude.
// This function returns the number of significant binary digits v will have
// once it's encoded into a double. In almost all cases this is equal to
// kSignificandSize. The only exceptions are denormals. They start with
// leading zeroes and their effective significand-size is hence smaller.
static int SignificandSizeForOrderOfMagnitude(int order) {
if (order >= (kDenormalExponent + kSignificandSize)) {
return kSignificandSize;
}
if (order <= kDenormalExponent) return 0;
return order - kDenormalExponent;
}
static double Infinity() {
return Double(kInfinity).value();
}
static double NaN() {
return Double(kNaN).value();
}
private:
static const int kExponentBias = 0x3FF + kPhysicalSignificandSize;
static const int kDenormalExponent = -kExponentBias + 1;
static const int kMaxExponent = 0x7FF - kExponentBias;
static const uint64_t kInfinity = UINT64_2PART_C(0x7FF00000, 00000000);
static const uint64_t kNaN = UINT64_2PART_C(0x7FF80000, 00000000);
const uint64_t d64_;
static uint64_t DiyFpToUint64(DiyFp diy_fp) {
uint64_t significand = diy_fp.f();
int exponent = diy_fp.e();
while (significand > kHiddenBit + kSignificandMask) {
significand >>= 1;
exponent++;
}
if (exponent >= kMaxExponent) {
return kInfinity;
}
if (exponent < kDenormalExponent) {
return 0;
}
while (exponent > kDenormalExponent && (significand & kHiddenBit) == 0) {
significand <<= 1;
exponent--;
}
uint64_t biased_exponent;
if (exponent == kDenormalExponent && (significand & kHiddenBit) == 0) {
biased_exponent = 0;
} else {
biased_exponent = static_cast<uint64_t>(exponent + kExponentBias);
}
return (significand & kSignificandMask) |
(biased_exponent << kPhysicalSignificandSize);
}
};
} // namespace double_conversion
#endif // DOUBLE_CONVERSION_DOUBLE_H_
| [
"[email protected]@260f80e4-7a28-3924-810f-c04153c831b5"
] | [email protected]@260f80e4-7a28-3924-810f-c04153c831b5 |
296b3a23f06485ce0d9c8abea7e1b7549b05183f | e357ff2d7e389fa656bb55074b6a8d259f6b3baf | /src/core/BrokerState/BState10.cpp | 5e86697c6c2abdb69b90945d697ebd08705962ff | [] | no_license | MinenoLab/IoTPriorityMechanism | 8ef9a40f3c7f46e44cd8beef7b3a6dc4b825a33c | 142abbc07f1e4210e0b0a26e4768ce5de9035b84 | refs/heads/master | 2021-01-21T10:09:21.538789 | 2017-03-07T07:55:47 | 2017-03-07T07:55:47 | 83,391,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,939 | cpp | /*
* BState10.cpp
*
* Created on: 2016/03/30
* Author: tachibana
*/
#include "../BrokerServer.h"
namespace IoTPriority {
B_State10::B_State10(std::shared_ptr<BrokerServer> server) :
Server(server) {
}
B_State10::~B_State10() {
}
std::string B_State10::execute() {
std::cerr << "[q-BR]State 10" << std::endl;
{
std::unique_lock<std::mutex> lk(Server->mtx);
if (Server->endthread) {
std::cerr << "[q-BR]State 10 release" << std::endl;
return "end";
}
}
//スタックからの復帰
if (Server->isemptysending()) {
std::cerr << "[q-BR]State 10 empty" << std::endl;
bool ret = Server->iContorol->returnInterruptHighPriority();
if (ret) {
auto dm = Server->getallsendingData();
for (auto d : dm)
countclass_base(std::get<3>(d));
Server->sendrate = calcpermitRate();
printCountRateStr(Server->prevpriority);
Server->iContorol->reAllocateRate(dm);
return "";
}
std::cerr << "[q-BR]State 10 not stack_Back" << std::endl;
}
if (!Server->emptyMainPriorityQueue())
//高優先度による割り込みか判断、割り込みならばその処置をする
Server->iContorol->interruptHighPriority();
//キューからのデータ取り出しと送信
std::map<int,
std::pair<int, std::pair<struct timeval, std::shared_ptr<MetaData>>> >priDeviceMap;
std::vector<int> priDeviceMapIDs;
std::vector<
std::pair<int, std::pair<struct timeval, std::shared_ptr<MetaData>>> >bufpopdata;
bool emptySending = Server->isemptysending();
std::cerr << "[q-BR]State 10 popPriQueue_start" << std::endl;
if (emptySending) {
NS = 0, NM = 0, NL = 0;
std::cerr << "[q-BR]State 10 start_first" << std::endl;
//(emptyの場合)最初のデータ取りだし
auto popdata = Server->popMainPriorityQueue();
{
std::unique_lock<std::mutex> lk(Server->iContorol->stackmtx);
(Server->iContorol->stackAct) = false;
}
priDeviceMap.insert(
std::make_pair(popdata.second.second->getDeviceID(), popdata));
priDeviceMapIDs.push_back(popdata.second.second->getDeviceID());
countclass(popdata.second.second->getDataSize());
printPopDebugStr(popdata);
Server->prevpriority = popdata.first;
}
//2つ目以降のデータ取り出し
while (1) {
if (Server->emptyMainPriorityQueue())
break;
auto popdata = Server->popMainPriorityQueue();
//優先度が異なったら(低かったら)、終了
if (popdata.first != Server->prevpriority) {
bufpopdata.push_back(popdata);
std::cerr
<< "[q-BR]State 10 popPriQueuefirst Priority Different. : "
<< popdata.first << std::endl;
break;
}
//同じデバイスで別のデータがすでに登録されていたらやめる
if (priDeviceMap.find(popdata.second.second->getDeviceID())
!= priDeviceMap.end()) {
std::cerr
<< "[q-BR]State 10 popPriQueuefirst thisDeviceid was exist. : "
<< popdata.second.second->getDeviceID() << std::endl;
bufpopdata.push_back(popdata);
} else {
printPopDebugStr(popdata);
priDeviceMap.insert(
std::make_pair(popdata.second.second->getDeviceID(),
popdata));
priDeviceMapIDs.push_back(popdata.second.second->getDeviceID());
//TODO emptyじゃなかった時の対応を考える(優先度が異なる可能性がある)
if (emptySending)
countclass(popdata.second.second->getDataSize());
//emptyじゃない場合は1つしか選択しない
if (!emptySending)
break;
}
}
for (auto d : bufpopdata) {
Server->pushMainPriorityQueue(d.first, d.second.first, d.second.second);
}
std::cerr << "[q-BR]State 10 popPriQueue_end" << std::endl;
//許可レート計算
if (emptySending) {
Server->sendrate = calcpermitRate();
printCountRateStr(Server->prevpriority);
}
if (priDeviceMapIDs.empty()) {
auto dm = Server->getallsendingData();
for (auto d : dm)
countclass_base(std::get<3>(d));
Server->sendrate = calcpermitRate();
printCountRateStr(Server->prevpriority);
Server->iContorol->reAllocateRate(dm);
}
//レート割り当てと送信許可
for (auto k : priDeviceMapIDs) {
float sendrate;
auto it = priDeviceMap.find(k);
auto senddata = it->second;
//クラス計算
float size = senddata.second.second->getDataSize();
int sclass = PriReturnValue::calcSclass(size);
//送信対象か確認
if (emptySending) {
int ret = decountclass(size);
switch (ret) {
case 0:
sendrate = std::get<0>(Server->sendrate);
break;
case 1:
sendrate = std::get<1>(Server->sendrate);
break;
case 2:
sendrate = std::get<2>(Server->sendrate);
break;
default:
sendrate = -1;
}
} else {
sendrate = calcaddrate(size);
}
if (sendrate < 0) {
//送信できなければ戻す
Server->pushMainPriorityQueue(senddata.first, senddata.second.first,
senddata.second.second);
std::cerr << "[q-BR]State 10 no enugh rate..." << std::endl;
continue;
}
//メッセージ作成
PermitFormat p;
PriorityMessage primess;
p.set(senddata.second.second->getDataID(), sendrate); //TODO emptyじゃないときのレートは仮
primess.makeMessage(0xff, senddata.second.second->getDeviceID(),
PriorityMessage::MESSTYPE_PERMIT, PriorityMessage::NOACK,
p.getMessage());
//送信中データの登録
Server->registSending(primess.getReceverDeviceID(),
senddata.second.second->getDataID(), senddata.first, sclass);
//送信
Server->dv_send(primess.getReceverDeviceID(), primess.getAllData());
printSendStr(sendrate, primess, senddata);
}
return "";
}
//TODO タプル<floatfloatfloat>
std::tuple<float, float, float> B_State10::calcpermitRate() {
const float SDEF = 16 * 1024, MDEF = 32 * 1024;
//auto datavector=Server->getallsendingData(priority);
float ws, wm, wl;
float wd = Server->getCurCommRate();
Server->prevrate = wd;
if (NM == 0 && NL == 0)
return std::make_tuple(wd / NS, -1, -1);
ws = SDEF;
if (ws * NS > wd - ws && NS > 0)
return std::make_tuple(wd / NS, -1, -1);
wd -= ws * NS;
wm = SDEF;
if (wm * NM > wd) {
//一番小さいデータがこれならしょうがない
while (wm * NM > wd && NM > 1) {
NM--;
}
wm = wd / NM;
return std::make_tuple(ws, wm, -1);
}
wm = wd / NM;
if (NL == 0 || wm <= MDEF)
return std::make_tuple(ws, wm, -1);
wm = MDEF;
wd -= wm * NM;
wl = MDEF;
if (wl * NL > wd) {
//一番小さいデータがこれならしょうがない
while (wl * NL > wd && NL > 1) {
NL--;
}
}
wl = wd / NL;
return std::make_tuple(ws, wm, wl);
}
float B_State10::calcaddrate(float size) {
const float SDEF = 16 * 1024, MDEF = 32 * 1024;
int sclass = PriReturnValue::calcSclass(size);
float nouserate;
switch (Server->prevSClass) {
case PriReturnValue::CLASS_S:
nouserate = std::get<0>(Server->sendrate);
break;
case PriReturnValue::CLASS_M:
nouserate = std::get<1>(Server->sendrate);
break;
case PriReturnValue::CLASS_L:
nouserate = std::get<2>(Server->sendrate);
break;
}
float r = Server->getCurCommRate() - Server->prevrate + nouserate;
std::cerr << "[q-BR]State 10 rate,cur,prev,val " << r << " , "
<< Server->getCurCommRate() << " , " << Server->prevrate << " , "
<< nouserate << std::endl;
switch (sclass) {
case PriReturnValue::CLASS_S:
return r;
case PriReturnValue::CLASS_M:
if (r > SDEF) {
return r;
}
return -1;
case PriReturnValue::CLASS_L:
if (r > MDEF) {
return r;
}
return -1;
default:
break;
}
return -1;
}
void B_State10::countclass(float size) {
int sclass = PriReturnValue::calcSclass(size);
countclass_base(sclass);
}
void B_State10::countclass_base(int sclass) {
switch (sclass) {
case PriReturnValue::CLASS_S:
NS++;
break;
case PriReturnValue::CLASS_M:
NM++;
break;
case PriReturnValue::CLASS_L:
NL++;
break;
default:
break;
}
}
//TODO NS...が以下だった時の対応を今後書いて試す
int B_State10::decountclass(float size) {
int sclass = PriReturnValue::calcSclass(size);
switch (sclass) {
case PriReturnValue::CLASS_S:
if (std::get<0>(Server->sendrate) > 0) {
NS--;
return 0;
}
break;
case PriReturnValue::CLASS_M:
if (std::get<1>(Server->sendrate) > 0) {
NM--;
return 1;
}
break;
case PriReturnValue::CLASS_L:
if (std::get<2>(Server->sendrate) > 0) {
NL--;
return 2;
}
break;
default:
break;
}
return -1;
}
void B_State10::printPopDebugStr(
std::pair<int, std::pair<struct timeval, std::shared_ptr<MetaData>>>& popdata) {
std::stringstream debugstr;
debugstr << "popPriQueue DeviceID,Dataid,Priority"
<< popdata.second.second->getDeviceID() << " , "
<< popdata.second.second->getDataID() << " , " << popdata.first;
std::cerr << "[q-BR]State 10 "<<debugstr.str()<< std::endl;
std::cout<< iEntity::strnowtime() <<debugstr.str()<< std::endl;
}
void B_State10::printCountRateStr(int priority) {
std::stringstream debugstr, debugstr2;
debugstr << ";put priority;" << priority << ";Datacount S,M,L ; " << NS
<< ";" << NM << ";" << NL;
debugstr2 << ";put priority;" << priority << ";rate S,M,L ; "
<< std::get<0>(Server->sendrate) << ";"
<< std::get<1>(Server->sendrate) << ";"
<< std::get<2>(Server->sendrate);
std::cerr << "[q-BR]State 10 " << debugstr.str() << std::endl;
std::cerr << "[q-BR]State 10 " << debugstr2.str() << std::endl;
std::cout << iEntity::strnowtime() << debugstr.str() << std::endl;
std::cout << iEntity::strnowtime() << debugstr2.str() << std::endl;
}
void B_State10::printSendStr(int sendrate, PriorityMessage& primess,
std::pair<int, std::pair<struct timeval, std::shared_ptr<MetaData>>>&senddata) {
std::stringstream debugstr;
debugstr <<";popPriQueue;DeviceID;"
<< senddata.second.second->getDeviceID() << " ;Dataid;"
<< senddata.second.second->getDataID() << " ;Priority;"
<< senddata.first <<" ;rate;"<<sendrate;
std::cerr << "[q-BR]State 10 "<<debugstr.str()<< std::endl;
std::cout << iEntity::strnowtime()<<debugstr.str()<< std::endl;
}
}
/* namespace IoTPriority */
| [
"[email protected]"
] | |
9b596df8f66509e617708128bb310db3ecba58e3 | c7300b157b6b01761949dc742f45c16ed5723956 | /ScCore/Timer.cpp | 30150f63e64c2070b5e7daa45818c3e15c148479 | [] | no_license | chxj1980/SimpleCpp | 64f3fe2272bae90e6202ac55f7cc8ad296bfdd23 | 5134f996421721cfde73d0c76890894a0a1462bf | refs/heads/master | 2021-09-07T20:13:40.289732 | 2018-02-28T10:51:20 | 2018-02-28T10:51:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,057 | cpp | #include "StdAfx.h"
#include "Timer.h"
#include "Thread.h"
#include <time.h>
#include "mutex.h"
#include <Windows.h>
#include <Mmsystem.h>
#pragma comment(lib, "winmm.lib")
using namespace SThread;
vector<CTimer*> CTimerHelper::m_vecTimer;
long CTimerHelper::Open()
{
int nRet = -1;
m_bRun = true;
m_pMutexTimers = new CMutex();
if (NULL == m_pMutexTimers)
{
return -1;
}
m_pThreadTimers = new CMutex;
if (NULL == m_pThreadTimers)
{
return -1;
}
m_pThrTimer = new CThread;
if (NULL == m_pThrTimer)
{
return -1;
}
nRet = m_pThrTimer->Create(&ThrTimerProc, this);
if (0 != nRet)
{
return -1;
}
return 0;
}
long CTimerHelper::Close()
{
m_pThreadTimers->Lock();
m_bRun = false;
m_pThreadTimers->Unlock();
while (m_pThrTimer->IsRunning())
{
Sleep(1);
}
if (m_pMutexTimers)
{
delete m_pMutexTimers;
m_pMutexTimers = NULL;
}
if (NULL != m_pThrTimer)
{
m_pThrTimer->Close();
delete m_pThrTimer;
m_pThrTimer = NULL;
}
if (NULL != m_pThreadTimers)
{
delete m_pThreadTimers;
m_pThreadTimers = NULL;
}
CTimer* pTimer = NULL;
int nSize = m_vecTimer.size();
for (int i = 0; i < nSize; i++)
{
pTimer = m_vecTimer[i];
pTimer->UnInit();
delete pTimer;
}
return 0;
}
long CTimerHelper::AddTimer(CTimer *pTimer)
{
m_pMutexTimers->Lock();
m_vecTimer.push_back(pTimer);
m_pMutexTimers->Unlock();
return 0;
}
long CTimerHelper::DeleteTimer(CTimer *pTimer)
{
m_pMutexTimers->Lock();
vector<CTimer*>::iterator item;
for (item = m_vecTimer.begin(); item !=m_vecTimer.end(); item++)
{
if (*item == pTimer)
{
m_vecTimer.erase(item);
m_pMutexTimers->Unlock();
break;
}
}
m_pMutexTimers->Unlock();
return 0;
}
long CTimerHelper::GetTimerCount()
{
int nSize = 0;
m_pMutexTimers->Lock();
nSize = m_vecTimer.size();
m_pMutexTimers->Unlock();
return nSize;
}
int WINAPI CTimerHelper::ThrTimerProc(void *pParam)
{
MSG msg;
CTimerHelper *pHost = (CTimerHelper*)pParam;
while (1)
{
pHost->m_pThreadTimers->Lock();
if (!pHost->m_bRun)
{
break;
}
pHost->m_pThreadTimers->Unlock();
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) )
{
DispatchMessage(&msg);
switch(msg.message)
{
case WM_QUIT:
goto ret;
break;
case WM_SET_TIMER:
break;
case WM_KILL_TIMER:
break;
default:
break;
}
}
//检测 timer 时间
pHost->CheckOnTime();
Sleep(1);
}
ret:
return 0;
}
void CTimerHelper::CheckOnTime()
{
m_pMutexTimers->Lock();
for (int i=0; i<m_vecTimer.size(); i++)
{
CTimer *pTimer = m_vecTimer.at(i);
if (!pTimer)
continue;
//timeGetTime返回ms数
long lTimeNow = timeGetTime();
if ( (lTimeNow-pTimer->m_lLastTime) >= pTimer->m_lPeriod )
{
pTimer->m_lLastTime = lTimeNow;
pTimer->m_sigTimer(pTimer->m_pData);
if (true == pTimer->IsSingleShot())
{
m_vecTimer[i] = NULL;
}
}
}
m_pMutexTimers->Unlock();
}
extern bool g_bIsCreate;
extern CThread *g_pTimerThread;
extern CMutex *g_pTimerListMutex;
extern bool g_bIsRun;
extern CMutex *g_pThrStateMutex;
CTimer::CTimer(void)
: m_lPeriod(0)
, m_lLastTime(0)
, m_pTimerHelper(NULL)
, m_bIsSharedThread(false)
, m_pSingleShotMutex(NULL)
{
}
CTimer::~CTimer(void)
{
}
void CTimer::Init(bool bIsSharedThread)
{
int nRet = 0;
m_bIsSharedThread = bIsSharedThread;
if(true == bIsSharedThread)
{
if (false == g_bIsRun)
{
g_bIsRun = true;
if (NULL == g_pTimerListMutex)
{
g_pTimerListMutex = new CMutex;
}
if (NULL == g_pThrStateMutex)
{
g_pThrStateMutex = new CMutex;
}
g_bIsCreate = true;
g_pTimerThread = new CThread;
g_pTimerThread->Create(TimerThreadProc, this);
}
}
if (false == bIsSharedThread)
{
if (NULL == m_pTimerHelper)
{
m_pTimerHelper = new CTimerHelper;
nRet = m_pTimerHelper->Open();
if (0 != nRet)
{
return;
}
}
}
if (NULL == m_pSingleShotMutex)
{
m_pSingleShotMutex = new CMutex;
}
}
void CTimer::UnInit()
{
int nSize = 0;
if (true == m_bIsSharedThread)
{
g_pTimerListMutex->Lock();
nSize = g_listTimer.size();
g_pTimerListMutex->Unlock();
if (0 == nSize)
{
g_pThrStateMutex->Lock();
g_bIsRun = false;
g_pThrStateMutex->Unlock();
while (g_pTimerThread->IsRunning())
{
Sleep(1000);
}
}
if (NULL != g_pTimerThread)
{
g_pTimerThread->Close();
delete g_pTimerThread;
g_pTimerThread = NULL;
}
if (NULL != g_pTimerListMutex)
{
delete g_pTimerListMutex;
g_pTimerListMutex = NULL;
}
}
else
{
m_pTimerHelper->DeleteTimer(this);
nSize = m_pTimerHelper->GetTimerCount();
if (0 == nSize)
{
m_pTimerHelper->Close();
delete m_pTimerHelper;
m_pTimerHelper = NULL;
}
}
if (NULL != m_pSingleShotMutex)
{
delete m_pSingleShotMutex;
m_pSingleShotMutex = NULL;
}
return;
}
int CTimer::Start(int nMsecPeriod)
{
m_lPeriod = nMsecPeriod;
m_lLastTime = timeGetTime();
if (true == m_bIsSharedThread)
{
m_bIsSharedThread = m_bIsSharedThread;
g_pTimerListMutex->Lock();
g_listTimer.push_back(this);
g_pTimerListMutex->Unlock();
}
else
{
m_pTimerHelper->AddTimer(this);
}
return 0;
}
void CTimer::SetData(void *pPara)
{
m_pData = pPara;
}
sigc::signal<void, void *> CTimer::Signal()
{
return m_sigTimer;
}
int CTimer::Stop()
{
if (true == m_bIsSharedThread)
{
CTimer *pTimer = NULL;
list<CTimer *>::iterator iter;
g_pTimerListMutex->Lock();
for (iter = g_listTimer.begin(); iter != g_listTimer.end(); iter++)
{
pTimer = this;
if (*iter == pTimer)
{
g_listTimer.erase(iter);
break;
}
}
g_pTimerListMutex->Unlock();
}
else
{
m_pTimerHelper->DeleteTimer(this);
}
return 0;
}
int CTimer::TimerThreadProc(void *pData)
{
bool bRunState = false;
CTimer *pTimer = (CTimer *)pData;
while (1)
{
g_pThrStateMutex->Lock();
bRunState = g_bIsRun;
g_pThrStateMutex->Unlock();
if (false == bRunState)
{
break;
}
g_pTimerListMutex->Lock();
list<CTimer *>::iterator iter, iterCur;
for (iter = g_listTimer.begin(); iter != g_listTimer.end();)
{
CTimer *pTimer = *iter;
iterCur = iter++;
if (!pTimer)
continue;
//timeGetTime返回ms数
long lTimeNow = timeGetTime();
if ( (lTimeNow-pTimer->m_lLastTime) >= pTimer->m_lPeriod )
{
pTimer->m_lLastTime = lTimeNow;
pTimer->m_sigTimer(pTimer->m_pData);
if (true == pTimer->IsSingleShot())
{
g_listTimer.erase(iterCur);
}
}
}
g_pTimerListMutex->Unlock();
}
return 0;
}
int CTimer::Interval()
{
long nPeriod = 0;
m_pIntervalMutex->Lock();
nPeriod = m_lPeriod;
m_pIntervalMutex->Unlock();
return nPeriod;
}
void CTimer::SetInterval(int nMsec)
{
m_pIntervalMutex->Lock();
m_lPeriod = nMsec;
m_pIntervalMutex->Unlock();
}
bool CTimer::IsSingleShot()
{
bool bIsSingleShot = false;
m_pSingleShotMutex->Lock();
bIsSingleShot = m_bIsSingleShot;
m_pSingleShotMutex->Lock();
return bIsSingleShot;
}
void CTimer::SetSingleShot(bool bSingleShot)
{
m_pSingleShotMutex->Lock();
m_bIsSingleShot = bSingleShot;
m_pSingleShotMutex->Unlock();
} | [
"[email protected]"
] | |
c138c0395d9596cc02e23dfcc960d617fb3c5a24 | f4dc3450a1cfedf352774cba95dc68b32cbfbf11 | /Sources/Emulator/src/mame/includes/lordgun.h | 79f95b665c7d2df0306221deccfccb41d45d7385 | [] | no_license | Jaku2k/MAMEHub | ae85696aedf3f1709b98090c843c752d417874a9 | faa98abc278cd52dd599584f7de5e2dd39cf6f87 | refs/heads/master | 2021-01-18T07:48:32.570205 | 2013-10-10T01:42:06 | 2013-10-10T01:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,227 | h | /*************************************************************************
-= IGS Lord Of Gun =-
*************************************************************************/
#include "sound/okim6295.h"
#include "machine/eeprom.h"
struct lordgun_gun_data
{
int scr_x, scr_y;
UINT16 hw_x, hw_y;
};
class lordgun_state : public driver_device
{
public:
lordgun_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_priority_ram(*this, "priority_ram"),
m_scrollram(*this, "scrollram"),
m_spriteram(*this, "spriteram"),
m_vram(*this, "vram"),
m_scroll_x(*this, "scroll_x"),
m_scroll_y(*this, "scroll_y") ,
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
m_oki(*this, "oki"),
m_eeprom(*this, "eeprom") { }
required_shared_ptr<UINT16> m_priority_ram;
required_shared_ptr<UINT16> m_scrollram;
required_shared_ptr<UINT16> m_spriteram;
UINT8 m_old;
UINT8 m_aliencha_dip_sel;
UINT16 m_priority;
required_shared_ptr_array<UINT16, 4> m_vram;
required_shared_ptr_array<UINT16, 4> m_scroll_x;
required_shared_ptr_array<UINT16, 4> m_scroll_y;
int m_whitescreen;
lordgun_gun_data m_gun[2];
tilemap_t *m_tilemap[4];
bitmap_ind16 *m_bitmaps[5];
UINT16 m_lordgun_protection_data;
DECLARE_WRITE16_MEMBER(lordgun_protection_w);
DECLARE_READ16_MEMBER(lordgun_protection_r);
DECLARE_WRITE16_MEMBER(aliencha_protection_w);
DECLARE_READ16_MEMBER(aliencha_protection_r);
DECLARE_WRITE16_MEMBER(lordgun_priority_w);
DECLARE_READ16_MEMBER(lordgun_gun_0_x_r);
DECLARE_READ16_MEMBER(lordgun_gun_0_y_r);
DECLARE_READ16_MEMBER(lordgun_gun_1_x_r);
DECLARE_READ16_MEMBER(lordgun_gun_1_y_r);
DECLARE_WRITE16_MEMBER(lordgun_soundlatch_w);
DECLARE_WRITE16_MEMBER(lordgun_paletteram_w);
DECLARE_WRITE16_MEMBER(lordgun_vram_0_w);
DECLARE_WRITE16_MEMBER(lordgun_vram_1_w);
DECLARE_WRITE16_MEMBER(lordgun_vram_2_w);
DECLARE_WRITE16_MEMBER(lordgun_vram_3_w);
DECLARE_WRITE8_MEMBER(fake_w);
DECLARE_WRITE8_MEMBER(fake2_w);
DECLARE_WRITE8_MEMBER(lordgun_eeprom_w);
DECLARE_WRITE8_MEMBER(aliencha_eeprom_w);
DECLARE_READ8_MEMBER(aliencha_dip_r);
DECLARE_WRITE8_MEMBER(aliencha_dip_w);
DECLARE_WRITE8_MEMBER(lordgun_okibank_w);
DECLARE_DRIVER_INIT(lordgun);
TILE_GET_INFO_MEMBER(get_tile_info_0);
TILE_GET_INFO_MEMBER(get_tile_info_1);
TILE_GET_INFO_MEMBER(get_tile_info_2);
TILE_GET_INFO_MEMBER(get_tile_info_3);
virtual void video_start();
UINT32 screen_update_lordgun(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
inline void get_tile_info(tile_data &tileinfo, tilemap_memory_index tile_index, int _N_);
inline void lordgun_vram_w(offs_t offset, UINT16 data, UINT16 mem_mask, int _N_);
void lorddgun_calc_gun_scr(int i);
void lordgun_update_gun(int i);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
DECLARE_WRITE_LINE_MEMBER(soundirq);
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_soundcpu;
required_device<okim6295_device> m_oki;
required_device<eeprom_device> m_eeprom;
};
/*----------- defined in video/lordgun.c -----------*/
float lordgun_crosshair_mapper(const ioport_field *field, float linear_value);
| [
"[email protected]"
] | |
f1df89228b96b6cc956e166cc94c8a93dc88bc22 | 16ef6b95f21cc070838fea6313550a70bdbbc293 | /Count.cpp | 4fa6f974e6ac50d8d67966c485a944ac0fb65ada | [] | no_license | collinewait/explore-stl-algorithms-cpp | 139753aba245680738f464ef706f26d38393d084 | a4f8c9afed7e6a446361c8d7f8e81d23440ea3ab | refs/heads/master | 2020-08-11T01:56:57.249445 | 2019-10-11T14:41:11 | 2019-10-11T14:41:11 | 214,466,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | cpp | #include <vector>
#include <string>
#include <iostream>
#include <map>
using namespace std;
int main()
{
vector<int> v{2, 7, 1, 6, 2, -2, 4, 0};
// count how many entries have the target value (2)
int twos = 0;
int const target = 2;
for(size_t i = 0; i < v.size(); i++)
{
if (v[i] == target)
{
twos++;
}
}
cout << twos << endl;
twos = count(v.begin(), v.end(), target); // better than for loop
cout << twos << endl;
twos = count(v.begin(), v.end(), target); // the safes choice and a good habit
cout << twos << endl;
// count how many entries are odd
int odds = 0;
for (auto elem : v)
{
if (elem % 2 !=0 )
{
odds++;
}
}
cout << "odds " << odds << endl;
odds = count_if(begin(v), end(v), [](auto elem) { return elem % 2 !=0; });
cout << "odds " << odds << endl;
map<int, int> monthlengths{ { 1, 31 }, { 2, 28 }, { 3, 31 }, { 4, 30 }, { 5, 31 }, { 6, 30 }, { 7, 31 }, { 8, 31 }, { 9, 30 }, { 10, 31 }, { 11, 30 }, { 12, 31 } };
int longmonths = count_if(begin(monthlengths), end(monthlengths), [](auto elem) { return elem.second == 31; });
cout << "longmonths " << longmonths << endl;
// are all, any, or non of the values odd? (conclude from number of odd entires)
bool allof, noneof, anyof;
allof = (odds == v.size());
noneof = (odds == 0);
anyof = (odds > 0);
cout << "allof: " << allof << ". noneof: " << noneof << ". anyof" << anyof << endl;
allof = all_of(begin(v), end(v), [](auto elem) { return elem % 2 !=0; });
noneof = none_of(begin(v), end(v), [](auto elem) { return elem % 2 !=0; });
anyof = any_of(begin(v), end(v), [](auto elem) { return elem % 2 !=0; });
cout << "allof: " << allof << ". noneof: " << noneof << ". anyof" << anyof << endl;
return 0;
}
| [
"[email protected]"
] | |
d131fb0172286b4a3fc1b0867f997e371a317bc6 | 5c8a0d7752e7c37e207f28a7e03d96a5011f8d68 | /MapTweet/iOS/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_g1088929753.h | fef98414c9a263342d7adfe001d417ba50d9d999 | [] | no_license | anothercookiecrumbles/ar_storytelling | 8119ed664c707790b58fbb0dcf75ccd8cf9a831b | 002f9b8d36a6f6918f2d2c27c46b893591997c39 | refs/heads/master | 2021-01-18T20:00:46.547573 | 2017-03-10T05:39:49 | 2017-03-10T05:39:49 | 84,522,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,796 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Int32[]
struct Int32U5BU5D_t3030399641;
// System.Collections.Generic.Link[]
struct LinkU5BU5D_t62501539;
// System.String[]
struct StringU5BU5D_t1642385972;
// OnlineMapsJSONItem[]
struct OnlineMapsJSONItemU5BU5D_t2644580058;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_t1241853011;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t228987430;
// System.Collections.Generic.Dictionary`2/Transform`1<System.String,OnlineMapsJSONItem,System.Collections.DictionaryEntry>
struct Transform_1_t1768419702;
#include "mscorlib_System_Object2689449295.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.String,OnlineMapsJSONItem>
struct Dictionary_2_t1088929753 : public Il2CppObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t3030399641* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t62501539* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
StringU5BU5D_t1642385972* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
OnlineMapsJSONItemU5BU5D_t2644580058* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
Il2CppObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t228987430 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___table_4)); }
inline Int32U5BU5D_t3030399641* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t3030399641** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t3030399641* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier(&___table_4, value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___linkSlots_5)); }
inline LinkU5BU5D_t62501539* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t62501539** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t62501539* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier(&___linkSlots_5, value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___keySlots_6)); }
inline StringU5BU5D_t1642385972* get_keySlots_6() const { return ___keySlots_6; }
inline StringU5BU5D_t1642385972** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(StringU5BU5D_t1642385972* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier(&___keySlots_6, value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___valueSlots_7)); }
inline OnlineMapsJSONItemU5BU5D_t2644580058* get_valueSlots_7() const { return ___valueSlots_7; }
inline OnlineMapsJSONItemU5BU5D_t2644580058** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(OnlineMapsJSONItemU5BU5D_t2644580058* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier(&___valueSlots_7, value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___hcp_12)); }
inline Il2CppObject* get_hcp_12() const { return ___hcp_12; }
inline Il2CppObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(Il2CppObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier(&___hcp_12, value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___serialization_info_13)); }
inline SerializationInfo_t228987430 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t228987430 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t228987430 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier(&___serialization_info_13, value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t1088929753_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t1768419702 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t1088929753_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t1768419702 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t1768419702 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t1768419702 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier(&___U3CU3Ef__amU24cacheB_15, value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"[email protected]"
] | |
f7550235ac41ef8bb3366c91de289c9a095350be | ccfa697dd78bc4e60d677a3a32a85ca109dca6a4 | /第七周实验/MFC7.2/MFC7.2/MFC7.2View.cpp | e68e9795097caab54ff5f45706543649722c151e | [] | no_license | 201812300110/3- | 7c6dd8223d201e9906718730883d76f4cda953eb | 400f5d08a2eabf0ab37873e71c190a14afb2a018 | refs/heads/master | 2021-03-10T12:46:39.944173 | 2020-05-31T11:34:21 | 2020-05-31T11:34:21 | 246,453,260 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,574 | cpp |
// MFC7.2View.cpp : CMFC72View 类的实现
//
#include "stdafx.h"
// SHARED_HANDLERS 可以在实现预览、缩略图和搜索筛选器句柄的
// ATL 项目中进行定义,并允许与该项目共享文档代码。
#ifndef SHARED_HANDLERS
#include "MFC7.2.h"
#endif
#include "MFC7.2Doc.h"
#include "MFC7.2View.h"
#include "MyDlg0.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFC72View
IMPLEMENT_DYNCREATE(CMFC72View, CView)
BEGIN_MESSAGE_MAP(CMFC72View, CView)
ON_COMMAND(ID_POPOU, &CMFC72View::OnPopou)
END_MESSAGE_MAP()
// CMFC72View 构造/析构
CMFC72View::CMFC72View()
{
// TODO: 在此处添加构造代码
}
CMFC72View::~CMFC72View()
{
}
BOOL CMFC72View::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: 在此处通过修改
// CREATESTRUCT cs 来修改窗口类或样式
return CView::PreCreateWindow(cs);
}
// CMFC72View 绘制
void CMFC72View::OnDraw(CDC* /*pDC*/)
{
CMFC72Doc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
// TODO: 在此处为本机数据添加绘制代码
}
// CMFC72View 诊断
#ifdef _DEBUG
void CMFC72View::AssertValid() const
{
CView::AssertValid();
}
void CMFC72View::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CMFC72Doc* CMFC72View::GetDocument() const // 非调试版本是内联的
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMFC72Doc)));
return (CMFC72Doc*)m_pDocument;
}
#endif //_DEBUG
// CMFC72View 消息处理程序
void CMFC72View::OnPopou()
{
// TODO: 在此添加命令处理程序代码
MyDlg0 dlg;
int r = dlg.DoModal();
if (r == IDOK) {
}
}
| [
"[email protected]"
] | |
1df6a7e00cb38b4f396d4df2ff55ddae32e79e2b | 0f9ae5457cc0cb975110b2ec35c8a65f181cde9e | /BOJ-Code/09372-상근이의 여행/9372-상근이의 여행.cpp | 35aa00de8124ff0a574d8131675d0f6dba410834 | [] | no_license | hyojin38/Algorithm-code | 5217969379aafd1b03dfc5bf3088528c542d7462 | 8199ef3c5112877e5a35873bee89e24fd1e99c3e | refs/heads/main | 2023-06-16T09:15:54.407080 | 2021-07-09T14:54:02 | 2021-07-09T14:54:02 | 327,336,454 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 438 | cpp | #include <iostream>
#include <vector>
#define endl "\n"
using namespace std;
int T;
int N, M;
int main() {
ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
freopen("Text.txt", "r", stdin);
cin >> T;
//주어지는 비행 스케줄은 항상 연결 그래프를
for (int tc = 0; tc < T; tc++) {
cin >> N >> M;
int a, b;
for (int i = 0; i < M; i++) {
cin >> a >> b;
}
cout << N - 1 << endl;
}
return 0;
} | [
"[email protected]"
] | |
95f1301dcce55223942745e2ef560f58d8dbc974 | 89476c96f0e76917a16442b4087374bea4086732 | /src/game/ai.cpp | 26904d32d890d2bf945793ddd6c29ab306bb66c5 | [
"MIT"
] | permissive | kodo-pp/ModBox | ae15044aa8d86a8a5e701af1752e9257e57c37c9 | e904341d1850baf81e8aeecbf498691fbe8e50aa | refs/heads/master | 2021-08-08T19:41:30.487110 | 2018-11-02T20:43:27 | 2018-11-02T20:43:27 | 115,518,432 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include <modbox/game/ai.hpp>
static GamePosition defaultAiFunc()
{
return {500, 200, 500};
}
std::function<GamePosition(void)> getDefaultAiFunc()
{
return defaultAiFunc;
}
| [
"[email protected]"
] | |
9ef01a373f8c793a9f0acf627dd7f450ff628dc3 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/cbor/writer_unittest.cc | 63e4d760c0713046d4eb6ed56ea76eb0cbe998dc | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 16,456 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/cbor/writer.h"
#include <limits>
#include <string>
#include "base/stl_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
/* Leveraging RFC 7049 examples from
https://github.com/cbor/test-vectors/blob/master/appendix_a.json. */
namespace cbor {
TEST(CBORWriterTest, TestWriteUint) {
typedef struct {
const int64_t value;
const base::StringPiece cbor;
} UintTestCase;
static const UintTestCase kUintTestCases[] = {
// Reminder: must specify length when creating string pieces
// with null bytes, else the string will truncate prematurely.
{0, base::StringPiece("\x00", 1)},
{1, base::StringPiece("\x01")},
{10, base::StringPiece("\x0a")},
{23, base::StringPiece("\x17")},
{24, base::StringPiece("\x18\x18")},
{25, base::StringPiece("\x18\x19")},
{100, base::StringPiece("\x18\x64")},
{1000, base::StringPiece("\x19\x03\xe8")},
{1000000, base::StringPiece("\x1a\x00\x0f\x42\x40", 5)},
{0xFFFFFFFF, base::StringPiece("\x1a\xff\xff\xff\xff")},
{0x100000000,
base::StringPiece("\x1b\x00\x00\x00\x01\x00\x00\x00\x00", 9)},
{std::numeric_limits<int64_t>::max(),
base::StringPiece("\x1b\x7f\xff\xff\xff\xff\xff\xff\xff")}};
for (const UintTestCase& test_case : kUintTestCases) {
auto cbor = Writer::Write(Value(test_case.value));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor));
}
}
TEST(CBORWriterTest, TestWriteNegativeInteger) {
static const struct {
const int64_t negative_int;
const base::StringPiece cbor;
} kNegativeIntTestCases[] = {
{-1LL, base::StringPiece("\x20")},
{-10LL, base::StringPiece("\x29")},
{-23LL, base::StringPiece("\x36")},
{-24LL, base::StringPiece("\x37")},
{-25LL, base::StringPiece("\x38\x18")},
{-100LL, base::StringPiece("\x38\x63")},
{-1000LL, base::StringPiece("\x39\x03\xe7")},
{-4294967296LL, base::StringPiece("\x3a\xff\xff\xff\xff")},
{-4294967297LL,
base::StringPiece("\x3b\x00\x00\x00\x01\x00\x00\x00\x00", 9)},
{std::numeric_limits<int64_t>::min(),
base::StringPiece("\x3b\x7f\xff\xff\xff\xff\xff\xff\xff")},
};
for (const auto& test_case : kNegativeIntTestCases) {
SCOPED_TRACE(testing::Message() << "testing negative int at index: "
<< test_case.negative_int);
auto cbor = Writer::Write(Value(test_case.negative_int));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor));
}
}
TEST(CBORWriterTest, TestWriteBytes) {
typedef struct {
const std::vector<uint8_t> bytes;
const base::StringPiece cbor;
} BytesTestCase;
static const BytesTestCase kBytesTestCases[] = {
{{}, base::StringPiece("\x40")},
{{0x01, 0x02, 0x03, 0x04}, base::StringPiece("\x44\x01\x02\x03\x04")},
};
for (const BytesTestCase& test_case : kBytesTestCases) {
auto cbor = Writer::Write(Value(test_case.bytes));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor));
}
}
TEST(CBORWriterTest, TestWriteString) {
typedef struct {
const std::string string;
const base::StringPiece cbor;
} StringTestCase;
static const StringTestCase kStringTestCases[] = {
{"", base::StringPiece("\x60")},
{"a", base::StringPiece("\x61\x61")},
{"IETF", base::StringPiece("\x64\x49\x45\x54\x46")},
{"\"\\", base::StringPiece("\x62\x22\x5c")},
{"\xc3\xbc", base::StringPiece("\x62\xc3\xbc")},
{"\xe6\xb0\xb4", base::StringPiece("\x63\xe6\xb0\xb4")},
{"\xf0\x90\x85\x91", base::StringPiece("\x64\xf0\x90\x85\x91")}};
for (const StringTestCase& test_case : kStringTestCases) {
SCOPED_TRACE(testing::Message()
<< "testing encoding string : " << test_case.string);
auto cbor = Writer::Write(Value(test_case.string));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor));
}
}
TEST(CBORWriterTest, TestWriteArray) {
static const uint8_t kArrayTestCaseCbor[] = {
// clang-format off
0x98, 0x19, // array of 25 elements
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c,
0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18,
0x18, 0x18, 0x19,
// clang-format on
};
std::vector<Value> array;
for (int64_t i = 1; i <= 25; i++) {
array.push_back(Value(i));
}
auto cbor = Writer::Write(Value(array));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(),
testing::ElementsAreArray(kArrayTestCaseCbor,
base::size(kArrayTestCaseCbor)));
}
TEST(CBORWriterTest, TestWriteMap) {
static const uint8_t kMapTestCaseCbor[] = {
// clang-format off
0xb8, 0x19, // map of 25 pairs:
0x00, // key 0
0x61, 0x61, // value "a"
0x17, // key 23
0x61, 0x62, // value "b"
0x18, 0x18, // key 24
0x61, 0x63, // value "c"
0x18, 0xFF, // key 255
0x61, 0x64, // value "d"
0x19, 0x01, 0x00, // key 256
0x61, 0x65, // value "e"
0x19, 0xFF, 0xFF, // key 65535
0x61, 0x66, // value "f"
0x1A, 0x00, 0x01, 0x00, 0x00, // key 65536
0x61, 0x67, // value "g"
0x1A, 0xFF, 0xFF, 0xFF, 0xFF, // key 4294967295
0x61, 0x68, // value "h"
// key 4294967296
0x1B, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x61, 0x69, // value "i"
// key INT64_MAX
0x1b, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x61, 0x6a, // value "j"
0x20, // key -1
0x61, 0x6b, // value "k"
0x37, // key -24
0x61, 0x6c, // value "l"
0x38, 0x18, // key -25
0x61, 0x6d, // value "m"
0x38, 0xFF, // key -256
0x61, 0x6e, // value "n"
0x39, 0x01, 0x00, // key -257
0x61, 0x6f, // value "o"
0x3A, 0x00, 0x01, 0x00, 0x00, // key -65537
0x61, 0x70, // value "p"
0x3A, 0xFF, 0xFF, 0xFF, 0xFF, // key -4294967296
0x61, 0x71, // value "q"
// key -4294967297
0x3B, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x61, 0x72, // value "r"
// key INT64_MIN
0x3b, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0x61, 0x73, // value "s"
0x41, 'a', // byte string "a"
0x02,
0x43, 'b', 'a', 'r', // byte string "bar"
0x03,
0x43, 'f', 'o', 'o', // byte string "foo"
0x04,
0x60, // key ""
0x61, 0x2e, // value "."
0x61, 0x65, // key "e"
0x61, 0x45, // value "E"
0x62, 0x61, 0x61, // key "aa"
0x62, 0x41, 0x41, // value "AA"
// clang-format on
};
Value::MapValue map;
// Shorter strings sort first in CTAP, thus the “aa” value should be
// serialised last in the map.
map[Value("aa")] = Value("AA");
map[Value("e")] = Value("E");
// The empty string is shorter than all others, so should appear first among
// the strings.
map[Value("")] = Value(".");
// Map keys are sorted by major type, by byte length, and then by
// byte-wise lexical order. So all integer type keys should appear before
// key "" and all positive integer keys should appear before negative integer
// keys.
map[Value(-1)] = Value("k");
map[Value(-24)] = Value("l");
map[Value(-25)] = Value("m");
map[Value(-256)] = Value("n");
map[Value(-257)] = Value("o");
map[Value(-65537)] = Value("p");
map[Value(int64_t(-4294967296))] = Value("q");
map[Value(int64_t(-4294967297))] = Value("r");
map[Value(std::numeric_limits<int64_t>::min())] = Value("s");
map[Value(Value::BinaryValue{'a'})] = Value(2);
map[Value(Value::BinaryValue{'b', 'a', 'r'})] = Value(3);
map[Value(Value::BinaryValue{'f', 'o', 'o'})] = Value(4);
map[Value(0)] = Value("a");
map[Value(23)] = Value("b");
map[Value(24)] = Value("c");
map[Value(std::numeric_limits<uint8_t>::max())] = Value("d");
map[Value(256)] = Value("e");
map[Value(std::numeric_limits<uint16_t>::max())] = Value("f");
map[Value(65536)] = Value("g");
map[Value(int64_t(std::numeric_limits<uint32_t>::max()))] = Value("h");
map[Value(int64_t(4294967296))] = Value("i");
map[Value(std::numeric_limits<int64_t>::max())] = Value("j");
auto cbor = Writer::Write(Value(map));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(),
testing::ElementsAreArray(kMapTestCaseCbor,
base::size(kMapTestCaseCbor)));
}
TEST(CBORWriterTest, TestWriteMapWithArray) {
static const uint8_t kMapArrayTestCaseCbor[] = {
// clang-format off
0xa2, // map of 2 pairs
0x61, 0x61, // "a"
0x01,
0x61, 0x62, // "b"
0x82, // array with 2 elements
0x02,
0x03,
// clang-format on
};
Value::MapValue map;
map[Value("a")] = Value(1);
Value::ArrayValue array;
array.push_back(Value(2));
array.push_back(Value(3));
map[Value("b")] = Value(array);
auto cbor = Writer::Write(Value(map));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(),
testing::ElementsAreArray(kMapArrayTestCaseCbor,
base::size(kMapArrayTestCaseCbor)));
}
TEST(CBORWriterTest, TestWriteNestedMap) {
static const uint8_t kNestedMapTestCase[] = {
// clang-format off
0xa2, // map of 2 pairs
0x61, 0x61, // "a"
0x01,
0x61, 0x62, // "b"
0xa2, // map of 2 pairs
0x61, 0x63, // "c"
0x02,
0x61, 0x64, // "d"
0x03,
// clang-format on
};
Value::MapValue map;
map[Value("a")] = Value(1);
Value::MapValue nested_map;
nested_map[Value("c")] = Value(2);
nested_map[Value("d")] = Value(3);
map[Value("b")] = Value(nested_map);
auto cbor = Writer::Write(Value(map));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(),
testing::ElementsAreArray(kNestedMapTestCase,
base::size(kNestedMapTestCase)));
}
TEST(CBORWriterTest, TestSignedExchangeExample) {
// Example adopted from:
// https://wicg.github.io/webpackage/draft-yasskin-http-origin-signed-responses.html
static const uint8_t kSignedExchangeExample[] = {
// clang-format off
0xa5, // map of 5 pairs
0x0a, // 10
0x01,
0x18, 0x64, // 100
0x02,
0x20, // -1
0x03,
0x61, 'z', // text string "z"
0x04,
0x62, 'a', 'a', // text string "aa"
0x05,
/*
0x81, 0x18, 0x64, // [100] (array as map key is not yet supported)
0x06,
0x81, 0x20, // [-1] (array as map key is not yet supported)
0x07,
0xf4, // false (boolean as map key is not yet supported)
0x08,
*/
// clang-format on
};
Value::MapValue map;
map[Value(10)] = Value(1);
map[Value(100)] = Value(2);
map[Value(-1)] = Value(3);
map[Value("z")] = Value(4);
map[Value("aa")] = Value(5);
auto cbor = Writer::Write(Value(map));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(),
testing::ElementsAreArray(kSignedExchangeExample,
base::size(kSignedExchangeExample)));
}
TEST(CBORWriterTest, TestWriteSimpleValue) {
static const struct {
Value::SimpleValue simple_value;
const base::StringPiece cbor;
} kSimpleTestCase[] = {
{Value::SimpleValue::FALSE_VALUE, base::StringPiece("\xf4")},
{Value::SimpleValue::TRUE_VALUE, base::StringPiece("\xf5")},
{Value::SimpleValue::NULL_VALUE, base::StringPiece("\xf6")},
{Value::SimpleValue::UNDEFINED, base::StringPiece("\xf7")}};
for (const auto& test_case : kSimpleTestCase) {
auto cbor = Writer::Write(Value(test_case.simple_value));
ASSERT_TRUE(cbor.has_value());
EXPECT_THAT(cbor.value(), testing::ElementsAreArray(test_case.cbor));
}
}
// For major type 0, 2, 3, empty CBOR array, and empty CBOR map, the nesting
// depth is expected to be 0 since the CBOR decoder does not need to parse
// any nested CBOR value elements.
TEST(CBORWriterTest, TestWriteSingleLayer) {
const Value simple_uint = Value(1);
const Value simple_string = Value("a");
const std::vector<uint8_t> byte_data = {0x01, 0x02, 0x03, 0x04};
const Value simple_bytestring = Value(byte_data);
Value::ArrayValue empty_cbor_array;
Value::MapValue empty_cbor_map;
const Value empty_array_value = Value(empty_cbor_array);
const Value empty_map_value = Value(empty_cbor_map);
Value::ArrayValue simple_array;
simple_array.push_back(Value(2));
Value::MapValue simple_map;
simple_map[Value("b")] = Value(3);
const Value single_layer_cbor_map = Value(simple_map);
const Value single_layer_cbor_array = Value(simple_array);
EXPECT_TRUE(Writer::Write(simple_uint, 0).has_value());
EXPECT_TRUE(Writer::Write(simple_string, 0).has_value());
EXPECT_TRUE(Writer::Write(simple_bytestring, 0).has_value());
EXPECT_TRUE(Writer::Write(empty_array_value, 0).has_value());
EXPECT_TRUE(Writer::Write(empty_map_value, 0).has_value());
EXPECT_FALSE(Writer::Write(single_layer_cbor_array, 0).has_value());
EXPECT_TRUE(Writer::Write(single_layer_cbor_array, 1).has_value());
EXPECT_FALSE(Writer::Write(single_layer_cbor_map, 0).has_value());
EXPECT_TRUE(Writer::Write(single_layer_cbor_map, 1).has_value());
}
// Major type 5 nested CBOR map value with following structure.
// {"a": 1,
// "b": {"c": 2,
// "d": 3}}
TEST(CBORWriterTest, NestedMaps) {
Value::MapValue cbor_map;
cbor_map[Value("a")] = Value(1);
Value::MapValue nested_map;
nested_map[Value("c")] = Value(2);
nested_map[Value("d")] = Value(3);
cbor_map[Value("b")] = Value(nested_map);
EXPECT_TRUE(Writer::Write(Value(cbor_map), 2).has_value());
EXPECT_FALSE(Writer::Write(Value(cbor_map), 1).has_value());
}
// Testing Write() function for following CBOR structure with depth of 3.
// [1,
// 2,
// 3,
// {"a": 1,
// "b": {"c": 2,
// "d": 3}}]
TEST(CBORWriterTest, UnbalancedNestedContainers) {
Value::ArrayValue cbor_array;
Value::MapValue cbor_map;
Value::MapValue nested_map;
cbor_map[Value("a")] = Value(1);
nested_map[Value("c")] = Value(2);
nested_map[Value("d")] = Value(3);
cbor_map[Value("b")] = Value(nested_map);
cbor_array.push_back(Value(1));
cbor_array.push_back(Value(2));
cbor_array.push_back(Value(3));
cbor_array.push_back(Value(cbor_map));
EXPECT_TRUE(Writer::Write(Value(cbor_array), 3).has_value());
EXPECT_FALSE(Writer::Write(Value(cbor_array), 2).has_value());
}
// Testing Write() function for following CBOR structure.
// {"a": 1,
// "b": {"c": 2,
// "d": 3
// "h": { "e": 4,
// "f": 5,
// "g": [6, 7, [8]]}}}
// Since above CBOR contains 5 nesting levels. Thus, Write() is expected to
// return empty optional object when maximum nesting layer size is set to 4.
TEST(CBORWriterTest, OverlyNestedCBOR) {
Value::MapValue map;
Value::MapValue nested_map;
Value::MapValue inner_nested_map;
Value::ArrayValue inner_array;
Value::ArrayValue array;
map[Value("a")] = Value(1);
nested_map[Value("c")] = Value(2);
nested_map[Value("d")] = Value(3);
inner_nested_map[Value("e")] = Value(4);
inner_nested_map[Value("f")] = Value(5);
inner_array.push_back(Value(6));
array.push_back(Value(6));
array.push_back(Value(7));
array.push_back(Value(inner_array));
inner_nested_map[Value("g")] = Value(array);
nested_map[Value("h")] = Value(inner_nested_map);
map[Value("b")] = Value(nested_map);
EXPECT_TRUE(Writer::Write(Value(map), 5).has_value());
EXPECT_FALSE(Writer::Write(Value(map), 4).has_value());
}
} // namespace cbor
| [
"[email protected]"
] | |
7dbe089c42bf3f4de06af838693bce852fd3fafd | cc751b5b4b9e110f94cf17ffcf09c17ea680368f | /dwt.cpp | b4813317d949ba2a2de0921b1a2559f3831846e9 | [] | no_license | smssss/imgprocsample | 610cb3ed5b34b525fe663c5720eb9dc7e137fc39 | 5c4bf082b126218cd5c829edd02d78659b802270 | refs/heads/master | 2021-01-22T17:49:08.463953 | 2017-03-23T13:56:23 | 2017-03-23T13:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | cpp |
#include "stdafx.h"
using namespace std;
using namespace cv;
void border_to_even(Mat& src);
Mat h_trans(Mat& src);
Mat v_trans(Mat& src);
Mat dwt_one_time(Mat& src);
#define date_num 1
int dwt(string img, int time)
{
Mat _src = imread(img,CV_LOAD_IMAGE_GRAYSCALE);
if (_src.empty())
return -1;
Mat src = Mat_<float>(_src);
int w_pic = src.cols, h_pic = src.rows;
while (src.rows>1080/2||src.cols>1920/2)
{
w_pic = w_pic*2/3;
h_pic = h_pic*2/3;
resize(src, src, Size(w_pic, h_pic));
}
//border_to_even(src);
//src.convertTo(src, CV_32F);
normalize(src, src, 0, date_num, NORM_MINMAX);
Mat dst = dwt_one_time(src);
Mat imgroi = dst;
for (int i = 0; i < time-1; i++)
{
imgroi = imgroi(Rect(0, 0, imgroi.cols / 2, imgroi.rows / 2));
dwt_one_time(imgroi);
}
imshow("dst", dst);
while (waitKey(30)!=27)
{
;
}
return 0;
}
void border_to_even(Mat& src)
{
if (src.rows % 2 == 1)
copyMakeBorder(src, src, 0, 1, 0, 0, BORDER_REFLECT_101);
if (src.cols % 2 == 1)
copyMakeBorder(src, src, 0, 0, 0, 1, BORDER_REFLECT_101);
}
Mat dwt_one_time(Mat& src)
{
Mat dst = v_trans(src);
dst = h_trans(dst);
dst.copyTo(src);
return dst;
}
Mat h_trans(Mat& src)
{
Mat dst(src.size(), src.type());
int half_rows = src.rows / 2;
for (int i = 0; i < half_rows; i++)
{
src.row(2 * i).copyTo(dst.row(i));
src.row(2 * i + 1).copyTo(dst.row(half_rows + i));
}
for (int i = 0; i < half_rows; i++)
{
dst.row(half_rows + i) -= dst.row(i);
}
/*Mat imgroi = dst(Rect(0, half_rows, src.cols, half_rows));
normalize(imgroi, imgroi, 0, date_num, NORM_MINMAX);*/
dst.copyTo(src);
return dst;
}
Mat v_trans(Mat& src)
{
Mat dst(src.size(), src.type());
int half_cols = src.cols / 2;
for (int i = 0; i < half_cols; i++)
{
src.col(2 * i).copyTo(dst.col(i));
src.col(2 * i + 1).copyTo(dst.col(half_cols + i));
}
for (int i = 0; i < half_cols; i++)
{
dst.col(half_cols + i) -= dst.col(i);
}
/*Mat imgroi = dst(Rect(half_cols, 0, half_cols, src.rows));
normalize(imgroi, imgroi, 0, date_num, NORM_MINMAX);*/
dst.copyTo(src);
return dst;
}
| [
"[email protected]"
] | |
d2afbc1f4944defcaf11f32d1f0d0ae43a1aea0e | 9604dc98c1e744505bb3b435ea93886bb87b4d4c | /hphp/runtime/ext_zend_compat/php-src/Zend/zend_API.cpp | 089eab64109e8f79f9957c4dc09dcbb00690c6c2 | [
"PHP-3.01",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | victorreyesh/hiphop-php | 2f83a4935e589e7da54353748df3c28ab6f81055 | 5c7ac5db43c047e54e14be8ee111af751602cf73 | refs/heads/master | 2021-01-18T07:14:38.242232 | 2013-09-04T07:42:08 | 2013-09-04T07:41:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,114 | cpp | /*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend 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.zend.com/license/2_00.txt. |
| If you did not receive a copy of the Zend license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| [email protected] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <[email protected]> |
| Zeev Suraski <[email protected]> |
| Andrei Zmievski <[email protected]> |
+----------------------------------------------------------------------+
*/
/* $Id$ */
#include "hphp/runtime/ext_zend_compat/php-src/Zend/zend_API.h"
#include "zend_constants.h"
#include "hphp/runtime/base/zend-printf.h"
ZEND_API const char *zend_zval_type_name(const zval *arg) {
return HPHP::getDataTypeString(Z_TYPE_P(arg))->data();
}
ZEND_API zend_class_entry *zend_get_class_entry(const zval *zobject TSRMLS_DC) {
return Z_OBJVAL_P(zobject)->getVMClass();
}
static int parse_arg_object_to_string(zval **arg, const char **p, int *pl, int type TSRMLS_DC) {
HPHP::StringData *sd = tvCastToString(*arg);
*p = sd->data();
*pl = sd->size();
zval_ptr_dtor(arg);
return sd->empty();
}
static const char *zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, const char **spec, char **error, int *severity TSRMLS_DC) {
const char *spec_walk = *spec;
char c = *spec_walk++;
int check_null = 0;
/* scan through modifiers */
while (1) {
if (*spec_walk == '/') {
SEPARATE_ZVAL_IF_NOT_REF(arg);
} else if (*spec_walk == '!') {
check_null = 1;
} else {
break;
}
spec_walk++;
}
switch (c) {
case 'l':
case 'L':
{
long *p = va_arg(*va, long *);
if (check_null) {
zend_bool *p = va_arg(*va, zend_bool *);
*p = (Z_TYPE_PP(arg) == IS_NULL);
}
switch (Z_TYPE_PP(arg)) {
case IS_STRING:
{
double d;
int type;
if ((type = is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), p, &d, -1)) == 0) {
return "long";
} else if (type == IS_DOUBLE) {
if (c == 'L') {
if (d > LONG_MAX) {
*p = LONG_MAX;
break;
} else if (d < LONG_MIN) {
*p = LONG_MIN;
break;
}
}
*p = zend_dval_to_lval(d);
}
}
break;
case IS_DOUBLE:
if (c == 'L') {
if (Z_DVAL_PP(arg) > LONG_MAX) {
*p = LONG_MAX;
break;
} else if (Z_DVAL_PP(arg) < LONG_MIN) {
*p = LONG_MIN;
break;
}
}
case IS_NULL:
case IS_LONG:
case IS_BOOL:
convert_to_long_ex(arg);
*p = Z_LVAL_PP(arg);
break;
case IS_ARRAY:
case IS_OBJECT:
case IS_RESOURCE:
default:
return "long";
}
}
break;
case 'd':
{
double *p = va_arg(*va, double *);
if (check_null) {
zend_bool *p = va_arg(*va, zend_bool *);
*p = (Z_TYPE_PP(arg) == IS_NULL);
}
switch (Z_TYPE_PP(arg)) {
case IS_STRING:
{
long l;
int type;
if ((type = is_numeric_string(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), &l, p, -1)) == 0) {
return "double";
} else if (type == IS_LONG) {
*p = (double) l;
}
}
break;
case IS_NULL:
case IS_LONG:
case IS_DOUBLE:
case IS_BOOL:
convert_to_double_ex(arg);
*p = Z_DVAL_PP(arg);
break;
case IS_ARRAY:
case IS_OBJECT:
case IS_RESOURCE:
default:
return "double";
}
}
break;
case 'p':
case 's':
{
const char **p = va_arg(*va, const char **);
int *pl = va_arg(*va, int *);
switch (Z_TYPE_PP(arg)) {
case IS_NULL:
if (check_null) {
*p = NULL;
*pl = 0;
break;
}
/* break omitted intentionally */
case IS_STRING:
case IS_LONG:
case IS_DOUBLE:
case IS_BOOL:
convert_to_string_ex(arg);
if (UNEXPECTED(Z_ISREF_PP(arg) != 0)) {
/* it's dangerous to return pointers to string
buffer of referenced variable, because it can
be clobbered throug magic callbacks */
SEPARATE_ZVAL(arg);
}
*p = Z_STRVAL_PP(arg);
*pl = Z_STRLEN_PP(arg);
if (c == 'p' && CHECK_ZVAL_NULL_PATH(*arg)) {
return "a valid path";
}
break;
case IS_OBJECT:
if (parse_arg_object_to_string(arg, p, pl, IS_STRING TSRMLS_CC) == SUCCESS) {
if (c == 'p' && CHECK_ZVAL_NULL_PATH(*arg)) {
return "a valid path";
}
break;
}
case IS_ARRAY:
case IS_RESOURCE:
default:
return c == 's' ? "string" : "a valid path";
}
}
break;
case 'b':
{
zend_bool *p = va_arg(*va, zend_bool *);
if (check_null) {
zend_bool *p = va_arg(*va, zend_bool *);
*p = (Z_TYPE_PP(arg) == IS_NULL);
}
switch (Z_TYPE_PP(arg)) {
case IS_NULL:
case IS_STRING:
case IS_LONG:
case IS_DOUBLE:
case IS_BOOL:
convert_to_boolean_ex(arg);
*p = Z_BVAL_PP(arg);
break;
case IS_ARRAY:
case IS_OBJECT:
case IS_RESOURCE:
default:
return "boolean";
}
}
break;
case 'r':
{
zval **p = va_arg(*va, zval **);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
break;
}
if (Z_TYPE_PP(arg) == IS_RESOURCE) {
*p = *arg;
} else {
return "resource";
}
}
break;
case 'A':
case 'a':
{
zval **p = va_arg(*va, zval **);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
break;
}
if (Z_TYPE_PP(arg) == IS_ARRAY || (c == 'A' && Z_TYPE_PP(arg) == IS_OBJECT)) {
*p = *arg;
} else {
return "array";
}
}
break;
case 'H':
case 'h':
{
HashTable **p = va_arg(*va, HashTable **);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
break;
}
if (Z_TYPE_PP(arg) == IS_ARRAY) {
*p = Z_ARRVAL_PP(arg);
} else if(c == 'H' && Z_TYPE_PP(arg) == IS_OBJECT) {
*p = HASH_OF(*arg);
if(*p == NULL) {
return "array";
}
} else {
return "array";
}
}
break;
case 'o':
{
zval **p = va_arg(*va, zval **);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
break;
}
if (Z_TYPE_PP(arg) == IS_OBJECT) {
*p = *arg;
} else {
return "object";
}
}
break;
case 'O':
{
zval **p = va_arg(*va, zval **);
zend_class_entry *ce = va_arg(*va, zend_class_entry *);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
break;
}
if (Z_TYPE_PP(arg) == IS_OBJECT &&
(!ce || instanceof_function(Z_OBJCE_PP(arg), ce TSRMLS_CC))) {
*p = *arg;
} else {
if (ce) {
return ce->name()->data();
} else {
return "object";
}
}
}
break;
case 'C':
{
zend_class_entry **lookup, **pce = va_arg(*va, zend_class_entry **);
zend_class_entry *ce_base = *pce;
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*pce = NULL;
break;
}
convert_to_string_ex(arg);
if (zend_lookup_class(Z_STRVAL_PP(arg), Z_STRLEN_PP(arg), &lookup TSRMLS_CC) == FAILURE) {
*pce = NULL;
} else {
*pce = *lookup;
}
if (ce_base) {
if ((!*pce || !instanceof_function(*pce, ce_base TSRMLS_CC))) {
HPHP::spprintf(error, 0, "to be a class name derived from %s, '%s' given",
ce_base->name()->data(), Z_STRVAL_PP(arg));
*pce = NULL;
return "";
}
}
if (!*pce) {
HPHP::spprintf(error, 0, "to be a valid class name, '%s' given",
Z_STRVAL_PP(arg));
return "";
}
break;
}
break;
case 'f':
{
zend_fcall_info *fci = va_arg(*va, zend_fcall_info *);
zend_fcall_info_cache *fcc = va_arg(*va, zend_fcall_info_cache *);
char *is_callable_error = NULL;
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
fci->size = 0;
fcc->initialized = 0;
break;
}
if (zend_fcall_info_init(*arg, 0, fci, fcc, NULL, &is_callable_error TSRMLS_CC) == SUCCESS) {
if (is_callable_error) {
*severity = E_STRICT;
HPHP::spprintf(error, 0, "to be a valid callback, %s", is_callable_error);
efree(is_callable_error);
*spec = spec_walk;
return "";
}
break;
} else {
if (is_callable_error) {
*severity = E_WARNING;
HPHP::spprintf(error, 0, "to be a valid callback, %s", is_callable_error);
efree(is_callable_error);
return "";
} else {
return "valid callback";
}
}
}
case 'z':
{
zval **p = va_arg(*va, zval **);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
} else {
*p = *arg;
}
}
break;
case 'Z':
{
zval ***p = va_arg(*va, zval ***);
if (check_null && Z_TYPE_PP(arg) == IS_NULL) {
*p = NULL;
} else {
not_implemented();
}
}
break;
default:
return "unknown";
}
*spec = spec_walk;
return NULL;
}
static int zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS_DC) {
const char *expected_type = NULL;
char *error = NULL;
int severity = E_WARNING;
expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity TSRMLS_CC);
if (expected_type) {
if (!quiet && (*expected_type || error)) {
const char *space;
const char *class_name = get_active_class_name(&space TSRMLS_CC);
if (error) {
zend_error(severity, "%s%s%s() expects parameter %d %s",
class_name, space, get_active_function_name(TSRMLS_C), arg_num, error);
efree(error);
} else {
zend_error(severity, "%s%s%s() expects parameter %d to be %s, %s given",
class_name, space, get_active_function_name(TSRMLS_C), arg_num, expected_type,
zend_zval_type_name(*arg));
}
}
if (severity != E_STRICT) {
return FAILURE;
}
}
return SUCCESS;
}
static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, int flags TSRMLS_DC) {
const char *spec_walk;
int c, i;
int min_num_args = -1;
int max_num_args = 0;
int post_varargs = 0;
zval **arg;
int arg_count;
int quiet = flags & ZEND_PARSE_PARAMS_QUIET;
zend_bool have_varargs = 0;
zval ****varargs = NULL;
int *n_varargs = NULL;
for (spec_walk = type_spec; *spec_walk; spec_walk++) {
c = *spec_walk;
switch (c) {
case 'l': case 'd':
case 's': case 'b':
case 'r': case 'a':
case 'o': case 'O':
case 'z': case 'Z':
case 'C': case 'h':
case 'f': case 'A':
case 'H': case 'p':
max_num_args++;
break;
case '|':
min_num_args = max_num_args;
break;
case '/':
case '!':
/* Pass */
break;
case '*':
case '+':
if (have_varargs) {
if (!quiet) {
zend_error(E_WARNING, "%s(): only one varargs specifier (* or +) is permitted",
get_active_function_name(TSRMLS_C));
}
return FAILURE;
}
have_varargs = 1;
/* we expect at least one parameter in varargs */
if (c == '+') {
max_num_args++;
}
/* mark the beginning of varargs */
post_varargs = max_num_args;
break;
default:
if (!quiet) {
zend_error(E_WARNING, "%s(): bad type specifier while parsing parameters",
get_active_function_name(TSRMLS_C));
}
return FAILURE;
}
}
if (min_num_args < 0) {
min_num_args = max_num_args;
}
if (have_varargs) {
/* calculate how many required args are at the end of the specifier list */
post_varargs = max_num_args - post_varargs;
max_num_args = -1;
}
if (num_args < min_num_args || (num_args > max_num_args && max_num_args > 0)) {
if (!quiet) {
zend_error(E_WARNING, "%s() expects %s %d parameter%s, %d given",
get_active_function_name(TSRMLS_C),
min_num_args == max_num_args ? "exactly" : num_args < min_num_args ? "at least" : "at most",
num_args < min_num_args ? min_num_args : max_num_args,
(num_args < min_num_args ? min_num_args : max_num_args) == 1 ? "" : "s",
num_args);
}
return FAILURE;
}
arg_count = HPHP::liveFrame()->numArgs();
if (num_args > arg_count) {
zend_error(E_WARNING, "%s(): could not obtain parameters for parsing",
get_active_function_name(TSRMLS_C));
return FAILURE;
}
i = 0;
while (num_args-- > 0) {
if (*type_spec == '|') {
type_spec++;
}
if (*type_spec == '*' || *type_spec == '+') {
int num_varargs = num_args + 1 - post_varargs;
/* eat up the passed in storage even if it won't be filled in with varargs */
varargs = va_arg(*va, zval ****);
n_varargs = va_arg(*va, int *);
type_spec++;
if (num_varargs > 0) {
int iv = 0;
HPHP::TypedValue *top = HPHP::vmfp() - (i + 1);
zval **p = ⊤
*n_varargs = num_varargs;
/* allocate space for array and store args */
*varargs = (zval ***) safe_emalloc(num_varargs, sizeof(zval **), 0);
while (num_varargs-- > 0) {
(*varargs)[iv++] = p++;
}
/* adjust how many args we have left and restart loop */
num_args = num_args + 1 - iv;
i += iv;
continue;
} else {
*varargs = NULL;
*n_varargs = 0;
}
}
HPHP::TypedValue *top = HPHP::vmfp() - (i + 1);
arg = ⊤
if (zend_parse_arg(i+1, arg, va, &type_spec, quiet TSRMLS_CC) == FAILURE) {
/* clean up varargs array if it was used */
if (varargs && *varargs) {
efree(*varargs);
*varargs = NULL;
}
return FAILURE;
}
if (HPHP::liveFunc()->byRef(i) && (*arg)->m_type != HPHP::KindOfRef) {
tvBox(*arg);
}
i++;
}
return SUCCESS;
}
#define RETURN_IF_ZERO_ARGS(num_args, type_spec, quiet) { \
int __num_args = (num_args); \
\
if (0 == (type_spec)[0] && 0 != __num_args && !(quiet)) { \
const char *__space; \
const char * __class_name = get_active_class_name(&__space TSRMLS_CC); \
zend_error(E_WARNING, "%s%s%s() expects exactly 0 parameters, %d given", \
__class_name, __space, \
get_active_function_name(TSRMLS_C), __num_args); \
return FAILURE; \
}\
}
ZEND_API int zend_parse_parameters(int num_args TSRMLS_DC, const char *type_spec, ...) {
va_list va;
int retval;
RETURN_IF_ZERO_ARGS(num_args, type_spec, 0);
va_start(va, type_spec);
retval = zend_parse_va_args(num_args, type_spec, &va, 0 TSRMLS_CC);
va_end(va);
return retval;
}
ZEND_API int add_assoc_long_ex(zval *arg, const char *key, uint key_len, long n) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_LONG(tmp, n);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_null_ex(zval *arg, const char *key, uint key_len) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_NULL(tmp);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, uint key_len, int b) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_BOOL(tmp, b);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_resource_ex(zval *arg, const char *key, uint key_len, int r) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_RESOURCE(tmp, r);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_double_ex(zval *arg, const char *key, uint key_len, double d) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_DOUBLE(tmp, d);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRING(tmp, str, duplicate);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRINGL(tmp, str, length, duplicate);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, uint key_len, zval *value) /* {{{ */
{
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &value, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_long(zval *arg, ulong index, long n) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_LONG(tmp, n);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_null(zval *arg, ulong index) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_NULL(tmp);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_bool(zval *arg, ulong index, int b) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_BOOL(tmp, b);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_resource(zval *arg, ulong index, int r) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_RESOURCE(tmp, r);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_double(zval *arg, ulong index, double d) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_DOUBLE(tmp, d);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_string(zval *arg, ulong index, const char *str, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRING(tmp, str, duplicate);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_stringl(zval *arg, ulong index, const char *str, uint length, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRINGL(tmp, str, length, duplicate);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_index_zval(zval *arg, ulong index, zval *value) /* {{{ */
{
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &value, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_long(zval *arg, long n) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_LONG(tmp, n);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_null(zval *arg) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_NULL(tmp);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_BOOL(tmp, b);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_resource(zval *arg, int r) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_RESOURCE(tmp, r);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_DOUBLE(tmp, d);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_string(zval *arg, const char *str, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRING(tmp, str, duplicate);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRINGL(tmp, str, length, duplicate);
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */
{
return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &value, sizeof(zval *), NULL);
}
/* }}} */
ZEND_API int add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str, void **dest, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRING(tmp, str, duplicate);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, void **dest, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRINGL(tmp, str, length, duplicate);
return zend_symtable_update(Z_ARRVAL_P(arg), key, key_len, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int add_get_index_long(zval *arg, ulong index, long l, void **dest) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_LONG(tmp, l);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int add_get_index_double(zval *arg, ulong index, double d, void **dest) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_DOUBLE(tmp, d);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int add_get_index_string(zval *arg, ulong index, const char *str, void **dest, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRING(tmp, str, duplicate);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int add_get_index_stringl(zval *arg, ulong index, const char *str, uint length, void **dest, int duplicate) /* {{{ */
{
zval *tmp;
MAKE_STD_ZVAL(tmp);
ZVAL_STRINGL(tmp, str, length, duplicate);
return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp, sizeof(zval *), dest);
}
/* }}} */
ZEND_API int array_set_zval_key(HashTable *ht, zval *key, zval *value) /* {{{ */
{
int result;
switch (Z_TYPE_P(key)) {
case IS_STRING:
result = zend_symtable_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &value, sizeof(zval *), NULL);
break;
case IS_NULL:
result = zend_symtable_update(ht, "", 1, &value, sizeof(zval *), NULL);
break;
case IS_RESOURCE:
zend_error(E_STRICT, "Resource ID#%ld used as offset, casting to integer (%ld)", Z_LVAL_P(key), Z_LVAL_P(key));
/* break missing intentionally */
case IS_BOOL:
case IS_LONG:
result = zend_hash_index_update(ht, Z_LVAL_P(key), &value, sizeof(zval *), NULL);
break;
case IS_DOUBLE:
result = zend_hash_index_update(ht, zend_dval_to_lval(Z_DVAL_P(key)), &value, sizeof(zval *), NULL);
break;
default:
zend_error(E_WARNING, "Illegal offset type");
result = FAILURE;
}
if (result == SUCCESS) {
Z_ADDREF_P(value);
}
return result;
}
/* }}} */
ZEND_API zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name TSRMLS_DC) {
HPHP::Variant name;
bool b = f_is_callable(tvAsVariant(callable), check_flags & IS_CALLABLE_CHECK_SYNTAX_ONLY, HPHP::ref(name));
if (callable_name) {
HPHP::StringData *sd = name.getStringData();
*callable_name = (char*) emalloc(sd->size() + 1);
memcpy(*callable_name, sd->data(), sd->size() + 1);
}
return b;
}
ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC) {
HPHP::PackedArrayInit ad_params(param_count);
for (int i = 0; i < param_count; i++) {
ad_params.add(tvAsVariant(*params[i]));
}
HPHP::Variant retval = vm_call_user_func(tvAsCVarRef(function_name), ad_params.toArray());
if (!retval.isInitialized()) {
return FAILURE;
}
MAKE_STD_ZVAL(*retval_ptr_ptr);
tvDup(*retval.asTypedValue(), **retval_ptr_ptr);
return SUCCESS;
}
ZEND_API int _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) {
ALLOC_HASHTABLE(Z_ARRVAL_P(arg));
Z_TYPE_P(arg) = IS_ARRAY;
Z_ARRVAL_P(arg)->incRefCount();
return SUCCESS;
}
ZEND_API int zend_get_object_classname(const zval *object, const char **class_name, zend_uint *class_name_len TSRMLS_DC) {
zend_class_entry* clazz = zend_get_class_entry(object);
*class_name_len = clazz->name()->size();
*class_name = strndup(clazz->name()->data(), *class_name_len);
return SUCCESS;
}
| [
"[email protected]"
] | |
fe99ee73e5b0bb62e449a32c05d90705e38575f1 | d33865417f845e378405da6c22ef17877a409c33 | /ProceduralClimb/Source/ProcStudy/Private/BaseCharacter.cpp | 3bdfdc8b3b44e21b9d6487f0d7bdee4aa958a613 | [] | no_license | jeroo97/04_ProcStudy | f64f0c7d09ce227ea673cd5df3b40079851a5e72 | 9633f0b8d3bdc73c3cb88c8c42ede94d32deaf62 | refs/heads/master | 2020-12-29T21:11:04.436411 | 2020-02-21T16:22:07 | 2020-02-21T16:22:07 | 238,732,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseCharacter.h"
#include "AbilitySystemComponent.h"
#include "AttributeSetBase.h"
// Sets default values
ABaseCharacter::ABaseCharacter()
{
// Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
AbilitySystemComp = CreateDefaultSubobject<UAbilitySystemComponent>(FName("AbilitySystemComp"));
AttributeSetBaseComp = CreateDefaultSubobject<UAttributeSetBase>(FName("AributeSetBaseComp"));
}
// Called when the game starts or when spawned
void ABaseCharacter::BeginPlay()
{
Super::BeginPlay();
}
// Called every frame
void ABaseCharacter::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
// Called to bind functionality to input
void ABaseCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}
UAbilitySystemComponent* ABaseCharacter::GetAbilitySystemComponent() const
{
return AbilitySystemComp;
}
void ABaseCharacter::AquireAbility(TSubclassOf<UGameplayAbility> AbilityToAquire)
{
if (AbilitySystemComp)
{
if (HasAuthority() && AbilityToAquire)
{
FGameplayAbilitySpecDef SpecDef = FGameplayAbilitySpecDef();
SpecDef.Ability = AbilityToAquire;
FGameplayAbilitySpec AbilitySpec = FGameplayAbilitySpec(SpecDef, 1);
AbilitySystemComp->GiveAbility(AbilitySpec);
}
AbilitySystemComp->InitAbilityActorInfo(this, this);
}
}
| [
"[email protected]"
] | |
690ecc59c9bd1e68b919d1c1d85dd9b9b3da6ceb | 0c079dd0cd493706f745a7be02191dccfe0648bf | /libraries/DriverLib/examples/MSP430F5529/crc_data/crc_data.ino | e0f3cdaa7465d80b8185ab47c243d005d02f0453 | [] | no_license | energia/msp430-lg-core | e5eef4eeda61de6de3ffaad46b0e02f06604f88e | d7e0714610eb55e18dcaae9dec53af31002c42fe | refs/heads/master | 2023-02-09T05:26:21.283026 | 2022-12-04T09:16:51 | 2022-12-04T09:16:51 | 56,965,138 | 17 | 18 | null | 2020-10-20T19:11:53 | 2016-04-24T10:03:42 | C | UTF-8 | C++ | false | false | 2,168 | ino | /******************************************************************************
* CRC - Calculate CRC
*
* Description: This example calculates the CRC of an array of data twice and
* compares the results. If the results are the same then the LED turns on
* if the results are different the LED turns off. The results are also printed
* back to the console.
*
* MSP430
* -----------------
* | |
* | P1.0|-->LED
* | |
* | |
* | |
*
* Tested On: MSP430F5529
* Author: Zack Lalanne
******************************************************************************/
#include <driverlib.h>
const uint16_t CRCSeed = 0xBEEF;
const uint16_t Data[] = { 0x0123,
0x4567,
0x8910,
0x1112,
0x1314 };
void setup()
{
Serial.begin(9600);
GPIO_setAsOutputPin(GPIO_PORT_P1, GPIO_PIN0);
GPIO_setOutputLowOnPin(GPIO_PORT_P1, GPIO_PIN0);
}
void loop()
{
uint16_t crcResult, crcResult2;
uint16_t i;
// Reset the seed
CRC_setSeed(CRC_BASE, CRCSeed);
// Add data to the CRC
for(i = 0; i < 5; i++) {
CRC_set16BitData(CRC_BASE, Data[i]);
}
// Store the result
crcResult = CRC_getResult(CRC_BASE);
Serial.print("First Result: 0x");
Serial.println(crcResult, HEX);
// Repeat CRC calculation and compare results
CRC_setSeed(CRC_BASE, CRCSeed);
for(i = 0; i < 5; i++) {
CRC_set16BitData(CRC_BASE, Data[i]);
}
// Get the second result
crcResult2 = CRC_getResult(CRC_BASE);
Serial.print("Second Result: 0x");
Serial.println(crcResult2, HEX);
// Compare the results
if(crcResult == crcResult2) {
GPIO_setOutputHighOnPin(GPIO_PORT_P1, GPIO_PIN0);
} else {
GPIO_setOutputLowOnPin(GPIO_PORT_P1, GPIO_PIN0);
}
Serial.println("---------------------");
delay(1000);
}
| [
"[email protected]"
] | |
7a27b2bfba424ef6b0f6685e58bbe2fff8471574 | c4968efd6148973ee3bb0175562d0bae3c6a32eb | /Source/SceneHowtoPlay.h | 91fea29a6cf818229f91c6af1211c3e5b9271652 | [] | no_license | todo48/SIC2233 | 21ca1621d4f2a99861650b469d0bc5bbbda58d52 | d9c2b0727528f1fa9f64df75e62f513b5de304a8 | refs/heads/main | 2023-08-01T02:06:57.551379 | 2021-09-16T13:30:21 | 2021-09-16T13:30:21 | 404,250,659 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 533 | h | #pragma once
#include "Graphics/Sprite.h"
#include "Scene.h"
//タイトルシーン
class SceneHowtoPlay : public Scene
{
public:
SceneHowtoPlay() {}
~SceneHowtoPlay() {}
//初期化
void Initialize() override;
//終了化
void Finalize() override;
//更新処理
void Update(float elapsedTime) override;
//描画処理
void Render() override;
public:
int state = 0;
int title_timer = 0;
std::unique_ptr<AudioSource> Tutorial;
private:
Sprite* sprite = nullptr;
};
| [
"[email protected]"
] | |
cc9eb0a23e4fd256e85730da9a1dda18ddb14838 | 6ab61754d8de5a4051a0a3e983b58ad7a29828f9 | /src/src/screen.cpp | 5a1cd3ac2ced49450c64b24b62cfaefdd1f2a7b1 | [] | no_license | Vonflaken/2d-engine | f675ac24d25e77a2647210f0a79beb2e3f06fc29 | 32f28e424b34c3b80969ae071be81419f085dcb2 | refs/heads/master | 2016-09-05T19:55:57.065351 | 2014-02-03T16:27:13 | 2014-02-03T16:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | cpp | #include "../include/screen.h"
#include "../include/glinclude.h"
Screen* Screen::screen = NULL;
int GLFWCALL Screen::CloseCallback() {
Screen::Instance().opened = false;
return GL_TRUE;
}
Screen::Screen() {
glfwInit();
opened = false;
}
Screen::~Screen() {
glfwTerminate();
}
Screen& Screen::Instance() {
if ( !screen )
screen = new Screen();
return *screen;
}
void Screen::Open(uint16 width, uint16 height, bool fullscreen) {
// Abrimos la ventana
glfwOpenWindowHint(GLFW_WINDOW_NO_RESIZE, GL_TRUE);
glfwOpenWindow(int(width), int(height), 8, 8, 8, 8, 0, 0, fullscreen ? GLFW_FULLSCREEN : GLFW_WINDOW );
if ( !fullscreen )
glfwSetWindowPos((GetDesktopWidth()-width)/2, (GetDesktopHeight()-height)/2);
glfwSetWindowCloseCallback(GLFWwindowclosefun(CloseCallback));
glfwSwapInterval(1);
SetTitle("");
opened = true;
// Inicializamos OpenGL
glEnable( GL_BLEND );
glEnable( GL_TEXTURE_2D );
glEnableClientState( GL_TEXTURE_COORD_ARRAY );
glEnableClientState( GL_VERTEX_ARRAY );
// Configuramos viewport
this->width = width;
this->height = height;
glViewport( 0, 0, this->width, this->height );
// Configuramos matriz de proyeccion
glMatrixMode( GL_PROJECTION );
glOrtho( 0, this->width, this->height, 0, 0, 1000 );
// Configuramos matriz de modelado
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
// Inicializamos temporizador
lastTime = glfwGetTime();
elapsed = 0;
}
void Screen::Close() {
glfwCloseWindow();
}
void Screen::SetTitle(const String &title) {
glfwSetWindowTitle(title.ToCString());
}
void Screen::Refresh() {
glfwSwapBuffers();
glfwGetMousePos(&mousex, &mousey);
elapsed = glfwGetTime() - lastTime;
lastTime = glfwGetTime();
}
uint16 Screen::GetDesktopWidth() const {
GLFWvidmode mode;
glfwGetDesktopMode(&mode);
return uint16(mode.Width);
}
uint16 Screen::GetDesktopHeight() const {
GLFWvidmode mode;
glfwGetDesktopMode(&mode);
return uint16(mode.Height);
}
bool Screen::MouseButtonPressed(int button) const {
return glfwGetMouseButton(button) == GLFW_PRESS;
}
bool Screen::KeyPressed(int key) const {
return glfwGetKey(key) == GLFW_PRESS;
}
int8 Screen::GetAxis( const String & axe ) const
{
if ( axe == "horizontal" )
{
if ( glfwGetKey( GLFW_KEY_LEFT ) )
{
return -1;
}
else if ( glfwGetKey( GLFW_KEY_RIGHT ) )
{
return 1;
}
else
{
return 0;
}
}
else if ( axe == "vertical" )
{
if ( glfwGetKey( GLFW_KEY_UP ) )
{
return -1;
}
else if ( glfwGetKey( GLFW_KEY_DOWN ) )
{
return 1;
}
else
{
return 0;
}
}
else
{
return 0;
}
} | [
"[email protected]"
] | |
289008a49307165cad6e9b27c957cd0ddfd46509 | 602e010b3777fdf9c2785ae9e9701a3b805f678a | /CPUT/DDSTextureLoader.cpp | 3aaf9511c1db09a4caa43c5cfca5399867a02308 | [
"Apache-2.0"
] | permissive | GameTechDev/OcclusionCulling | 0fb062e3e34e9ac3f61755de63cd612e76bc8d2e | e4fb39892554be192033a92a529276e7eb074cc3 | refs/heads/master | 2023-03-31T06:22:42.747022 | 2023-01-03T22:53:37 | 2023-01-03T22:53:37 | 50,048,437 | 394 | 71 | null | null | null | null | UTF-8 | C++ | false | false | 52,610 | cpp | //--------------------------------------------------------------------------------------
// File: DDSTextureLoader.cpp
//
// Function for loading a DDS texture and creating a Direct3D 11 runtime resource for it
//
// Note these functions are useful as a light-weight runtime loader for DDS files. For
// a full-featured DDS file reader, writer, and texture processing pipeline see
// the 'Texconv' sample and the 'DirectXTex' library.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// http://go.microsoft.com/fwlink/?LinkId=248926
// http://go.microsoft.com/fwlink/?LinkId=248929
//--------------------------------------------------------------------------------------
#include <dxgiformat.h>
#include <assert.h>
#include <algorithm>
#include <memory>
#include "DDSTextureLoader.h"
#if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/) && !defined(DXGI_1_2_FORMATS)
#define DXGI_1_2_FORMATS
#endif
#if defined(_DEBUG) || defined(PROFILE)
#pragma comment(lib,"dxguid.lib")
#endif
//--------------------------------------------------------------------------------------
// Macros
//--------------------------------------------------------------------------------------
#ifndef MAKEFOURCC
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((uint32_t)(uint8_t)(ch0) | ((uint32_t)(uint8_t)(ch1) << 8) | \
((uint32_t)(uint8_t)(ch2) << 16) | ((uint32_t)(uint8_t)(ch3) << 24 ))
#endif /* defined(MAKEFOURCC) */
//--------------------------------------------------------------------------------------
// DDS file structure definitions
//
// See DDS.h in the 'Texconv' sample and the 'DirectXTex' library
//--------------------------------------------------------------------------------------
#pragma pack(push,1)
#define DDS_MAGIC 0x20534444 // "DDS "
struct DDS_PIXELFORMAT
{
uint32_t size;
uint32_t flags;
uint32_t fourCC;
uint32_t RGBBitCount;
uint32_t RBitMask;
uint32_t GBitMask;
uint32_t BBitMask;
uint32_t ABitMask;
};
#define DDS_FOURCC 0x00000004 // DDPF_FOURCC
#define DDS_RGB 0x00000040 // DDPF_RGB
#define DDS_RGBA 0x00000041 // DDPF_RGB | DDPF_ALPHAPIXELS
#define DDS_LUMINANCE 0x00020000 // DDPF_LUMINANCE
#define DDS_LUMINANCEA 0x00020001 // DDPF_LUMINANCE | DDPF_ALPHAPIXELS
#define DDS_ALPHA 0x00000002 // DDPF_ALPHA
#define DDS_PAL8 0x00000020 // DDPF_PALETTEINDEXED8
#define DDS_HEADER_FLAGS_TEXTURE 0x00001007 // DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT
#define DDS_HEADER_FLAGS_MIPMAP 0x00020000 // DDSD_MIPMAPCOUNT
#define DDS_HEADER_FLAGS_VOLUME 0x00800000 // DDSD_DEPTH
#define DDS_HEADER_FLAGS_PITCH 0x00000008 // DDSD_PITCH
#define DDS_HEADER_FLAGS_LINEARSIZE 0x00080000 // DDSD_LINEARSIZE
#define DDS_HEIGHT 0x00000002 // DDSD_HEIGHT
#define DDS_WIDTH 0x00000004 // DDSD_WIDTH
#define DDS_SURFACE_FLAGS_TEXTURE 0x00001000 // DDSCAPS_TEXTURE
#define DDS_SURFACE_FLAGS_MIPMAP 0x00400008 // DDSCAPS_COMPLEX | DDSCAPS_MIPMAP
#define DDS_SURFACE_FLAGS_CUBEMAP 0x00000008 // DDSCAPS_COMPLEX
#define DDS_CUBEMAP_POSITIVEX 0x00000600 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEX
#define DDS_CUBEMAP_NEGATIVEX 0x00000a00 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEX
#define DDS_CUBEMAP_POSITIVEY 0x00001200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEY
#define DDS_CUBEMAP_NEGATIVEY 0x00002200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEY
#define DDS_CUBEMAP_POSITIVEZ 0x00004200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_POSITIVEZ
#define DDS_CUBEMAP_NEGATIVEZ 0x00008200 // DDSCAPS2_CUBEMAP | DDSCAPS2_CUBEMAP_NEGATIVEZ
#define DDS_CUBEMAP_ALLFACES ( DDS_CUBEMAP_POSITIVEX | DDS_CUBEMAP_NEGATIVEX |\
DDS_CUBEMAP_POSITIVEY | DDS_CUBEMAP_NEGATIVEY |\
DDS_CUBEMAP_POSITIVEZ | DDS_CUBEMAP_NEGATIVEZ )
#define DDS_CUBEMAP 0x00000200 // DDSCAPS2_CUBEMAP
#define DDS_FLAGS_VOLUME 0x00200000 // DDSCAPS2_VOLUME
typedef struct
{
uint32_t size;
uint32_t flags;
uint32_t height;
uint32_t width;
uint32_t pitchOrLinearSize;
uint32_t depth; // only if DDS_HEADER_FLAGS_VOLUME is set in flags
uint32_t mipMapCount;
uint32_t reserved1[11];
DDS_PIXELFORMAT ddspf;
uint32_t caps;
uint32_t caps2;
uint32_t caps3;
uint32_t caps4;
uint32_t reserved2;
} DDS_HEADER;
typedef struct
{
DXGI_FORMAT dxgiFormat;
uint32_t resourceDimension;
uint32_t miscFlag; // see D3D11_RESOURCE_MISC_FLAG
uint32_t arraySize;
uint32_t reserved;
} DDS_HEADER_DXT10;
#pragma pack(pop)
//---------------------------------------------------------------------------------
struct handle_closer { void operator()(HANDLE h) { if (h) CloseHandle(h); } };
typedef public std::unique_ptr<void, handle_closer> ScopedHandle;
inline HANDLE safe_handle( HANDLE h ) { return (h == INVALID_HANDLE_VALUE) ? 0 : h; }
//--------------------------------------------------------------------------------------
template<UINT TNameLength>
inline void SetDebugObjectName(_In_ ID3D11DeviceChild* resource, _In_ const char (&name)[TNameLength])
{
#if defined(_DEBUG) || defined(PROFILE)
resource->SetPrivateData(WKPDID_D3DDebugObjectName, TNameLength - 1, name);
#endif
}
//--------------------------------------------------------------------------------------
static HRESULT LoadTextureDataFromFile( _In_z_ const wchar_t* fileName,
std::unique_ptr<uint8_t[]>& ddsData,
DDS_HEADER** header,
uint8_t** bitData,
size_t* bitSize
)
{
if (!header || !bitData || !bitSize)
{
return E_POINTER;
}
// open the file
#if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/)
ScopedHandle hFile( safe_handle( CreateFile2( fileName,
GENERIC_READ,
FILE_SHARE_READ,
OPEN_EXISTING,
nullptr ) ) );
#else
ScopedHandle hFile( safe_handle( CreateFileW( fileName,
GENERIC_READ,
FILE_SHARE_READ,
nullptr,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
nullptr ) ) );
#endif
if ( !hFile )
{
return HRESULT_FROM_WIN32( GetLastError() );
}
// Get the file size
LARGE_INTEGER FileSize = { 0 };
#if (_WIN32_WINNT >= _WIN32_WINNT_VISTA)
FILE_STANDARD_INFO fileInfo;
if ( !GetFileInformationByHandleEx( hFile.get(), FileStandardInfo, &fileInfo, sizeof(fileInfo) ) )
{
return HRESULT_FROM_WIN32( GetLastError() );
}
FileSize = fileInfo.EndOfFile;
#else
GetFileSizeEx( hFile.get(), &FileSize );
#endif
// File is too big for 32-bit allocation, so reject read
if (FileSize.HighPart > 0)
{
return E_FAIL;
}
// Need at least enough data to fill the header and magic number to be a valid DDS
if (FileSize.LowPart < ( sizeof(DDS_HEADER) + sizeof(uint32_t) ) )
{
return E_FAIL;
}
// create enough space for the file data
ddsData.reset( new (std::nothrow) uint8_t[ FileSize.LowPart ] );
if (!ddsData )
{
return E_OUTOFMEMORY;
}
// read the data in
DWORD BytesRead = 0;
if (!ReadFile( hFile.get(),
ddsData.get(),
FileSize.LowPart,
&BytesRead,
nullptr
))
{
return HRESULT_FROM_WIN32( GetLastError() );
}
if (BytesRead < FileSize.LowPart)
{
return E_FAIL;
}
// DDS files always start with the same magic number ("DDS ")
uint32_t dwMagicNumber = *( const uint32_t* )( ddsData.get() );
if (dwMagicNumber != DDS_MAGIC)
{
return E_FAIL;
}
DDS_HEADER* hdr = reinterpret_cast<DDS_HEADER*>( ddsData.get() + sizeof( uint32_t ) );
// Verify header to validate DDS file
if (hdr->size != sizeof(DDS_HEADER) ||
hdr->ddspf.size != sizeof(DDS_PIXELFORMAT))
{
return E_FAIL;
}
// Check for DX10 extension
bool bDXT10Header = false;
if ((hdr->ddspf.flags & DDS_FOURCC) &&
(MAKEFOURCC( 'D', 'X', '1', '0' ) == hdr->ddspf.fourCC))
{
// Must be long enough for both headers and magic value
if (FileSize.LowPart < ( sizeof(DDS_HEADER) + sizeof(uint32_t) + sizeof(DDS_HEADER_DXT10) ) )
{
return E_FAIL;
}
bDXT10Header = true;
}
// setup the pointers in the process request
*header = hdr;
ptrdiff_t offset = sizeof( uint32_t ) + sizeof( DDS_HEADER )
+ (bDXT10Header ? sizeof( DDS_HEADER_DXT10 ) : 0);
*bitData = ddsData.get() + offset;
*bitSize = FileSize.LowPart - offset;
return S_OK;
}
//--------------------------------------------------------------------------------------
// Return the BPP for a particular format
//--------------------------------------------------------------------------------------
static size_t BitsPerPixel( _In_ DXGI_FORMAT fmt )
{
switch( fmt )
{
case DXGI_FORMAT_R32G32B32A32_TYPELESS:
case DXGI_FORMAT_R32G32B32A32_FLOAT:
case DXGI_FORMAT_R32G32B32A32_UINT:
case DXGI_FORMAT_R32G32B32A32_SINT:
return 128;
case DXGI_FORMAT_R32G32B32_TYPELESS:
case DXGI_FORMAT_R32G32B32_FLOAT:
case DXGI_FORMAT_R32G32B32_UINT:
case DXGI_FORMAT_R32G32B32_SINT:
return 96;
case DXGI_FORMAT_R16G16B16A16_TYPELESS:
case DXGI_FORMAT_R16G16B16A16_FLOAT:
case DXGI_FORMAT_R16G16B16A16_UNORM:
case DXGI_FORMAT_R16G16B16A16_UINT:
case DXGI_FORMAT_R16G16B16A16_SNORM:
case DXGI_FORMAT_R16G16B16A16_SINT:
case DXGI_FORMAT_R32G32_TYPELESS:
case DXGI_FORMAT_R32G32_FLOAT:
case DXGI_FORMAT_R32G32_UINT:
case DXGI_FORMAT_R32G32_SINT:
case DXGI_FORMAT_R32G8X24_TYPELESS:
case DXGI_FORMAT_D32_FLOAT_S8X24_UINT:
case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS:
case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT:
return 64;
case DXGI_FORMAT_R10G10B10A2_TYPELESS:
case DXGI_FORMAT_R10G10B10A2_UNORM:
case DXGI_FORMAT_R10G10B10A2_UINT:
case DXGI_FORMAT_R11G11B10_FLOAT:
case DXGI_FORMAT_R8G8B8A8_TYPELESS:
case DXGI_FORMAT_R8G8B8A8_UNORM:
case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB:
case DXGI_FORMAT_R8G8B8A8_UINT:
case DXGI_FORMAT_R8G8B8A8_SNORM:
case DXGI_FORMAT_R8G8B8A8_SINT:
case DXGI_FORMAT_R16G16_TYPELESS:
case DXGI_FORMAT_R16G16_FLOAT:
case DXGI_FORMAT_R16G16_UNORM:
case DXGI_FORMAT_R16G16_UINT:
case DXGI_FORMAT_R16G16_SNORM:
case DXGI_FORMAT_R16G16_SINT:
case DXGI_FORMAT_R32_TYPELESS:
case DXGI_FORMAT_D32_FLOAT:
case DXGI_FORMAT_R32_FLOAT:
case DXGI_FORMAT_R32_UINT:
case DXGI_FORMAT_R32_SINT:
case DXGI_FORMAT_R24G8_TYPELESS:
case DXGI_FORMAT_D24_UNORM_S8_UINT:
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
case DXGI_FORMAT_R9G9B9E5_SHAREDEXP:
case DXGI_FORMAT_R8G8_B8G8_UNORM:
case DXGI_FORMAT_G8R8_G8B8_UNORM:
case DXGI_FORMAT_B8G8R8A8_UNORM:
case DXGI_FORMAT_B8G8R8X8_UNORM:
case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM:
case DXGI_FORMAT_B8G8R8A8_TYPELESS:
case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
case DXGI_FORMAT_B8G8R8X8_TYPELESS:
case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
return 32;
case DXGI_FORMAT_R8G8_TYPELESS:
case DXGI_FORMAT_R8G8_UNORM:
case DXGI_FORMAT_R8G8_UINT:
case DXGI_FORMAT_R8G8_SNORM:
case DXGI_FORMAT_R8G8_SINT:
case DXGI_FORMAT_R16_TYPELESS:
case DXGI_FORMAT_R16_FLOAT:
case DXGI_FORMAT_D16_UNORM:
case DXGI_FORMAT_R16_UNORM:
case DXGI_FORMAT_R16_UINT:
case DXGI_FORMAT_R16_SNORM:
case DXGI_FORMAT_R16_SINT:
case DXGI_FORMAT_B5G6R5_UNORM:
case DXGI_FORMAT_B5G5R5A1_UNORM:
#ifdef DXGI_1_2_FORMATS
case DXGI_FORMAT_B4G4R4A4_UNORM:
#endif
return 16;
case DXGI_FORMAT_R8_TYPELESS:
case DXGI_FORMAT_R8_UNORM:
case DXGI_FORMAT_R8_UINT:
case DXGI_FORMAT_R8_SNORM:
case DXGI_FORMAT_R8_SINT:
case DXGI_FORMAT_A8_UNORM:
return 8;
case DXGI_FORMAT_R1_UNORM:
return 1;
case DXGI_FORMAT_BC1_TYPELESS:
case DXGI_FORMAT_BC1_UNORM:
case DXGI_FORMAT_BC1_UNORM_SRGB:
case DXGI_FORMAT_BC4_TYPELESS:
case DXGI_FORMAT_BC4_UNORM:
case DXGI_FORMAT_BC4_SNORM:
return 4;
case DXGI_FORMAT_BC2_TYPELESS:
case DXGI_FORMAT_BC2_UNORM:
case DXGI_FORMAT_BC2_UNORM_SRGB:
case DXGI_FORMAT_BC3_TYPELESS:
case DXGI_FORMAT_BC3_UNORM:
case DXGI_FORMAT_BC3_UNORM_SRGB:
case DXGI_FORMAT_BC5_TYPELESS:
case DXGI_FORMAT_BC5_UNORM:
case DXGI_FORMAT_BC5_SNORM:
case DXGI_FORMAT_BC6H_TYPELESS:
case DXGI_FORMAT_BC6H_UF16:
case DXGI_FORMAT_BC6H_SF16:
case DXGI_FORMAT_BC7_TYPELESS:
case DXGI_FORMAT_BC7_UNORM:
case DXGI_FORMAT_BC7_UNORM_SRGB:
return 8;
default:
return 0;
}
}
//--------------------------------------------------------------------------------------
// Get surface information for a particular format
//--------------------------------------------------------------------------------------
static void GetSurfaceInfo( _In_ size_t width,
_In_ size_t height,
_In_ DXGI_FORMAT fmt,
_Out_opt_ size_t* outNumBytes,
_Out_opt_ size_t* outRowBytes,
_Out_opt_ size_t* outNumRows )
{
size_t numBytes = 0;
size_t rowBytes = 0;
size_t numRows = 0;
bool bc = false;
bool packed = false;
size_t bcnumBytesPerBlock = 0;
switch (fmt)
{
case DXGI_FORMAT_BC1_TYPELESS:
case DXGI_FORMAT_BC1_UNORM:
case DXGI_FORMAT_BC1_UNORM_SRGB:
case DXGI_FORMAT_BC4_TYPELESS:
case DXGI_FORMAT_BC4_UNORM:
case DXGI_FORMAT_BC4_SNORM:
bc=true;
bcnumBytesPerBlock = 8;
break;
case DXGI_FORMAT_BC2_TYPELESS:
case DXGI_FORMAT_BC2_UNORM:
case DXGI_FORMAT_BC2_UNORM_SRGB:
case DXGI_FORMAT_BC3_TYPELESS:
case DXGI_FORMAT_BC3_UNORM:
case DXGI_FORMAT_BC3_UNORM_SRGB:
case DXGI_FORMAT_BC5_TYPELESS:
case DXGI_FORMAT_BC5_UNORM:
case DXGI_FORMAT_BC5_SNORM:
case DXGI_FORMAT_BC6H_TYPELESS:
case DXGI_FORMAT_BC6H_UF16:
case DXGI_FORMAT_BC6H_SF16:
case DXGI_FORMAT_BC7_TYPELESS:
case DXGI_FORMAT_BC7_UNORM:
case DXGI_FORMAT_BC7_UNORM_SRGB:
bc = true;
bcnumBytesPerBlock = 16;
break;
case DXGI_FORMAT_R8G8_B8G8_UNORM:
case DXGI_FORMAT_G8R8_G8B8_UNORM:
packed = true;
break;
}
if (bc)
{
size_t numBlocksWide = 0;
if (width > 0)
{
numBlocksWide = std::max<size_t>( 1, (width + 3) / 4 );
}
size_t numBlocksHigh = 0;
if (height > 0)
{
numBlocksHigh = std::max<size_t>( 1, (height + 3) / 4 );
}
rowBytes = numBlocksWide * bcnumBytesPerBlock;
numRows = numBlocksHigh;
}
else if (packed)
{
rowBytes = ( ( width + 1 ) >> 1 ) * 4;
numRows = height;
}
else
{
size_t bpp = BitsPerPixel( fmt );
rowBytes = ( width * bpp + 7 ) / 8; // round up to nearest byte
numRows = height;
}
numBytes = rowBytes * numRows;
if (outNumBytes)
{
*outNumBytes = numBytes;
}
if (outRowBytes)
{
*outRowBytes = rowBytes;
}
if (outNumRows)
{
*outNumRows = numRows;
}
}
//--------------------------------------------------------------------------------------
#define ISBITMASK( r,g,b,a ) ( ddpf.RBitMask == r && ddpf.GBitMask == g && ddpf.BBitMask == b && ddpf.ABitMask == a )
static DXGI_FORMAT GetDXGIFormat( const DDS_PIXELFORMAT& ddpf )
{
if (ddpf.flags & DDS_RGB)
{
// Note that sRGB formats are written using the "DX10" extended header
switch (ddpf.RGBBitCount)
{
case 32:
if (ISBITMASK(0x000000ff,0x0000ff00,0x00ff0000,0xff000000))
{
return DXGI_FORMAT_R8G8B8A8_UNORM;
}
if (ISBITMASK(0x00ff0000,0x0000ff00,0x000000ff,0xff000000))
{
return DXGI_FORMAT_B8G8R8A8_UNORM;
}
if (ISBITMASK(0x00ff0000,0x0000ff00,0x000000ff,0x00000000))
{
return DXGI_FORMAT_B8G8R8X8_UNORM;
}
// No DXGI format maps to ISBITMASK(0x000000ff,0x0000ff00,0x00ff0000,0x00000000) aka D3DFMT_X8B8G8R8
// Note that many common DDS reader/writers (including D3DX) swap the
// the RED/BLUE masks for 10:10:10:2 formats. We assumme
// below that the 'backwards' header mask is being used since it is most
// likely written by D3DX. The more robust solution is to use the 'DX10'
// header extension and specify the DXGI_FORMAT_R10G10B10A2_UNORM format directly
// For 'correct' writers, this should be 0x000003ff,0x000ffc00,0x3ff00000 for RGB data
if (ISBITMASK(0x3ff00000,0x000ffc00,0x000003ff,0xc0000000))
{
return DXGI_FORMAT_R10G10B10A2_UNORM;
}
// No DXGI format maps to ISBITMASK(0x000003ff,0x000ffc00,0x3ff00000,0xc0000000) aka D3DFMT_A2R10G10B10
if (ISBITMASK(0x0000ffff,0xffff0000,0x00000000,0x00000000))
{
return DXGI_FORMAT_R16G16_UNORM;
}
if (ISBITMASK(0xffffffff,0x00000000,0x00000000,0x00000000))
{
// Only 32-bit color channel format in D3D9 was R32F
return DXGI_FORMAT_R32_FLOAT; // D3DX writes this out as a FourCC of 114
}
break;
case 24:
// No 24bpp DXGI formats aka D3DFMT_R8G8B8
break;
case 16:
if (ISBITMASK(0x7c00,0x03e0,0x001f,0x8000))
{
return DXGI_FORMAT_B5G5R5A1_UNORM;
}
if (ISBITMASK(0xf800,0x07e0,0x001f,0x0000))
{
return DXGI_FORMAT_B5G6R5_UNORM;
}
// No DXGI format maps to ISBITMASK(0x7c00,0x03e0,0x001f,0x0000) aka D3DFMT_X1R5G5B5
#ifdef DXGI_1_2_FORMATS
if (ISBITMASK(0x0f00,0x00f0,0x000f,0xf000))
{
return DXGI_FORMAT_B4G4R4A4_UNORM;
}
// No DXGI format maps to ISBITMASK(0x0f00,0x00f0,0x000f,0x0000) aka D3DFMT_X4R4G4B4
#endif
// No 3:3:2, 3:3:2:8, or paletted DXGI formats aka D3DFMT_A8R3G3B2, D3DFMT_R3G3B2, D3DFMT_P8, D3DFMT_A8P8, etc.
break;
}
}
else if (ddpf.flags & DDS_LUMINANCE)
{
if (8 == ddpf.RGBBitCount)
{
if (ISBITMASK(0x000000ff,0x00000000,0x00000000,0x00000000))
{
return DXGI_FORMAT_R8_UNORM; // D3DX10/11 writes this out as DX10 extension
}
// No DXGI format maps to ISBITMASK(0x0f,0x00,0x00,0xf0) aka D3DFMT_A4L4
}
if (16 == ddpf.RGBBitCount)
{
if (ISBITMASK(0x0000ffff,0x00000000,0x00000000,0x00000000))
{
return DXGI_FORMAT_R16_UNORM; // D3DX10/11 writes this out as DX10 extension
}
if (ISBITMASK(0x000000ff,0x00000000,0x00000000,0x0000ff00))
{
return DXGI_FORMAT_R8G8_UNORM; // D3DX10/11 writes this out as DX10 extension
}
}
}
else if (ddpf.flags & DDS_ALPHA)
{
if (8 == ddpf.RGBBitCount)
{
return DXGI_FORMAT_A8_UNORM;
}
}
else if (ddpf.flags & DDS_FOURCC)
{
if (MAKEFOURCC( 'D', 'X', 'T', '1' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC1_UNORM;
}
if (MAKEFOURCC( 'D', 'X', 'T', '3' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC2_UNORM;
}
if (MAKEFOURCC( 'D', 'X', 'T', '5' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC3_UNORM;
}
// While pre-mulitplied alpha isn't directly supported by the DXGI formats,
// they are basically the same as these BC formats so they can be mapped
if (MAKEFOURCC( 'D', 'X', 'T', '2' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC2_UNORM;
}
if (MAKEFOURCC( 'D', 'X', 'T', '4' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC3_UNORM;
}
if (MAKEFOURCC( 'A', 'T', 'I', '1' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC4_UNORM;
}
if (MAKEFOURCC( 'B', 'C', '4', 'U' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC4_UNORM;
}
if (MAKEFOURCC( 'B', 'C', '4', 'S' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC4_SNORM;
}
if (MAKEFOURCC( 'A', 'T', 'I', '2' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC5_UNORM;
}
if (MAKEFOURCC( 'B', 'C', '5', 'U' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC5_UNORM;
}
if (MAKEFOURCC( 'B', 'C', '5', 'S' ) == ddpf.fourCC)
{
return DXGI_FORMAT_BC5_SNORM;
}
// BC6H and BC7 are written using the "DX10" extended header
if (MAKEFOURCC( 'R', 'G', 'B', 'G' ) == ddpf.fourCC)
{
return DXGI_FORMAT_R8G8_B8G8_UNORM;
}
if (MAKEFOURCC( 'G', 'R', 'G', 'B' ) == ddpf.fourCC)
{
return DXGI_FORMAT_G8R8_G8B8_UNORM;
}
// Check for D3DFORMAT enums being set here
switch( ddpf.fourCC )
{
case 36: // D3DFMT_A16B16G16R16
return DXGI_FORMAT_R16G16B16A16_UNORM;
case 110: // D3DFMT_Q16W16V16U16
return DXGI_FORMAT_R16G16B16A16_SNORM;
case 111: // D3DFMT_R16F
return DXGI_FORMAT_R16_FLOAT;
case 112: // D3DFMT_G16R16F
return DXGI_FORMAT_R16G16_FLOAT;
case 113: // D3DFMT_A16B16G16R16F
return DXGI_FORMAT_R16G16B16A16_FLOAT;
case 114: // D3DFMT_R32F
return DXGI_FORMAT_R32_FLOAT;
case 115: // D3DFMT_G32R32F
return DXGI_FORMAT_R32G32_FLOAT;
case 116: // D3DFMT_A32B32G32R32F
return DXGI_FORMAT_R32G32B32A32_FLOAT;
}
}
return DXGI_FORMAT_UNKNOWN;
}
//--------------------------------------------------------------------------------------
static DXGI_FORMAT MakeSRGB( _In_ DXGI_FORMAT format )
{
switch( format )
{
case DXGI_FORMAT_R8G8B8A8_UNORM:
return DXGI_FORMAT_R8G8B8A8_UNORM_SRGB;
case DXGI_FORMAT_BC1_UNORM:
return DXGI_FORMAT_BC1_UNORM_SRGB;
case DXGI_FORMAT_BC2_UNORM:
return DXGI_FORMAT_BC2_UNORM_SRGB;
case DXGI_FORMAT_BC3_UNORM:
return DXGI_FORMAT_BC3_UNORM_SRGB;
case DXGI_FORMAT_B8G8R8A8_UNORM:
return DXGI_FORMAT_B8G8R8A8_UNORM_SRGB;
case DXGI_FORMAT_B8G8R8X8_UNORM:
return DXGI_FORMAT_B8G8R8X8_UNORM_SRGB;
case DXGI_FORMAT_BC7_UNORM:
return DXGI_FORMAT_BC7_UNORM_SRGB;
default:
return format;
}
}
//--------------------------------------------------------------------------------------
static HRESULT FillInitData( _In_ size_t width,
_In_ size_t height,
_In_ size_t depth,
_In_ size_t mipCount,
_In_ size_t arraySize,
_In_ DXGI_FORMAT format,
_In_ size_t maxsize,
_In_ size_t bitSize,
_In_reads_bytes_(bitSize) const uint8_t* bitData,
_Out_ size_t& twidth,
_Out_ size_t& theight,
_Out_ size_t& tdepth,
_Out_ size_t& skipMip,
_Out_writes_(mipCount*arraySize) D3D11_SUBRESOURCE_DATA* initData )
{
if ( !bitData || !initData )
{
return E_POINTER;
}
skipMip = 0;
twidth = 0;
theight = 0;
tdepth = 0;
size_t NumBytes = 0;
size_t RowBytes = 0;
size_t NumRows = 0;
const uint8_t* pSrcBits = bitData;
const uint8_t* pEndBits = bitData + bitSize;
size_t index = 0;
for( size_t j = 0; j < arraySize; j++ )
{
size_t w = width;
size_t h = height;
size_t d = depth;
for( size_t i = 0; i < mipCount; i++ )
{
GetSurfaceInfo( w,
h,
format,
&NumBytes,
&RowBytes,
&NumRows
);
if ( (mipCount <= 1) || !maxsize || (w <= maxsize && h <= maxsize && d <= maxsize) )
{
if ( !twidth )
{
twidth = w;
theight = h;
tdepth = d;
}
assert(index < mipCount * arraySize);
_Analysis_assume_(index < mipCount * arraySize);
initData[index].pSysMem = ( const void* )pSrcBits;
initData[index].SysMemPitch = static_cast<UINT>( RowBytes );
initData[index].SysMemSlicePitch = static_cast<UINT>( NumBytes );
++index;
}
else
++skipMip;
if (pSrcBits + (NumBytes*d) > pEndBits)
{
return HRESULT_FROM_WIN32( ERROR_HANDLE_EOF );
}
pSrcBits += NumBytes * d;
w = w >> 1;
h = h >> 1;
d = d >> 1;
if (w == 0)
{
w = 1;
}
if (h == 0)
{
h = 1;
}
if (d == 0)
{
d = 1;
}
}
}
return (index > 0) ? S_OK : E_FAIL;
}
//--------------------------------------------------------------------------------------
static HRESULT CreateD3DResources( _In_ ID3D11Device* d3dDevice,
_In_ uint32_t resDim,
_In_ size_t width,
_In_ size_t height,
_In_ size_t depth,
_In_ size_t mipCount,
_In_ size_t arraySize,
_In_ DXGI_FORMAT format,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ bool forceSRGB,
_In_ bool isCubeMap,
_In_reads_(mipCount*arraySize) D3D11_SUBRESOURCE_DATA* initData,
_Out_opt_ ID3D11Resource** texture,
_Out_opt_ ID3D11ShaderResourceView** textureView )
{
if ( !d3dDevice || !initData )
return E_POINTER;
HRESULT hr = E_FAIL;
if ( forceSRGB )
{
format = MakeSRGB( format );
}
switch ( resDim )
{
case D3D11_RESOURCE_DIMENSION_TEXTURE1D:
{
D3D11_TEXTURE1D_DESC desc;
desc.Width = static_cast<UINT>( width );
desc.MipLevels = static_cast<UINT>( mipCount );
desc.ArraySize = static_cast<UINT>( arraySize );
desc.Format = format;
desc.Usage = usage;
desc.BindFlags = bindFlags;
desc.CPUAccessFlags = cpuAccessFlags;
desc.MiscFlags = miscFlags & ~D3D11_RESOURCE_MISC_TEXTURECUBE;
ID3D11Texture1D* tex = nullptr;
hr = d3dDevice->CreateTexture1D( &desc,
initData,
&tex
);
if (SUCCEEDED( hr ) && tex != 0)
{
if (textureView != 0)
{
D3D11_SHADER_RESOURCE_VIEW_DESC SRVDesc;
memset( &SRVDesc, 0, sizeof( SRVDesc ) );
SRVDesc.Format = format;
if (arraySize > 1)
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE1DARRAY;
SRVDesc.Texture1DArray.MipLevels = desc.MipLevels;
SRVDesc.Texture1DArray.ArraySize = static_cast<UINT>( arraySize );
}
else
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE1D;
SRVDesc.Texture1D.MipLevels = desc.MipLevels;
}
hr = d3dDevice->CreateShaderResourceView( tex,
&SRVDesc,
textureView
);
if ( FAILED(hr) )
{
tex->Release();
return hr;
}
}
if (texture != 0)
{
*texture = tex;
}
else
{
SetDebugObjectName(tex, "DDSTextureLoader");
tex->Release();
}
}
}
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE2D:
{
D3D11_TEXTURE2D_DESC desc;
desc.Width = static_cast<UINT>( width );
desc.Height = static_cast<UINT>( height );
desc.MipLevels = static_cast<UINT>( mipCount );
desc.ArraySize = static_cast<UINT>( arraySize );
desc.Format = format;
desc.SampleDesc.Count = 1;
desc.SampleDesc.Quality = 0;
desc.Usage = usage;
desc.BindFlags = bindFlags;
desc.CPUAccessFlags = cpuAccessFlags;
if ( isCubeMap )
desc.MiscFlags = miscFlags | D3D11_RESOURCE_MISC_TEXTURECUBE;
else
desc.MiscFlags = miscFlags & ~D3D11_RESOURCE_MISC_TEXTURECUBE;
ID3D11Texture2D* tex = nullptr;
hr = d3dDevice->CreateTexture2D( &desc,
initData,
&tex
);
if (SUCCEEDED( hr ) && tex != 0)
{
if (textureView != 0)
{
D3D11_SHADER_RESOURCE_VIEW_DESC SRVDesc;
memset( &SRVDesc, 0, sizeof( SRVDesc ) );
SRVDesc.Format = format;
if (isCubeMap)
{
if (arraySize > 6)
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURECUBEARRAY;
SRVDesc.TextureCubeArray.MipLevels = desc.MipLevels;
// Earlier we set arraySize to (NumCubes * 6)
SRVDesc.TextureCubeArray.NumCubes = static_cast<UINT>( arraySize / 6 );
}
else
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURECUBE;
SRVDesc.TextureCube.MipLevels = desc.MipLevels;
}
}
else if (arraySize > 1)
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2DARRAY;
SRVDesc.Texture2DArray.MipLevels = desc.MipLevels;
SRVDesc.Texture2DArray.ArraySize = static_cast<UINT>( arraySize );
}
else
{
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE2D;
SRVDesc.Texture2D.MipLevels = desc.MipLevels;
}
hr = d3dDevice->CreateShaderResourceView( tex,
&SRVDesc,
textureView
);
if ( FAILED(hr) )
{
tex->Release();
return hr;
}
}
if (texture != 0)
{
*texture = tex;
}
else
{
SetDebugObjectName(tex, "DDSTextureLoader");
tex->Release();
}
}
}
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE3D:
{
D3D11_TEXTURE3D_DESC desc;
desc.Width = static_cast<UINT>( width );
desc.Height = static_cast<UINT>( height );
desc.Depth = static_cast<UINT>( depth );
desc.MipLevels = static_cast<UINT>( mipCount );
desc.Format = format;
desc.Usage = usage;
desc.BindFlags = bindFlags;
desc.CPUAccessFlags = cpuAccessFlags;
desc.MiscFlags = miscFlags & ~D3D11_RESOURCE_MISC_TEXTURECUBE;
ID3D11Texture3D* tex = nullptr;
hr = d3dDevice->CreateTexture3D( &desc,
initData,
&tex
);
if (SUCCEEDED( hr ) && tex != 0)
{
if (textureView != 0)
{
D3D11_SHADER_RESOURCE_VIEW_DESC SRVDesc;
memset( &SRVDesc, 0, sizeof( SRVDesc ) );
SRVDesc.Format = format;
SRVDesc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE3D;
SRVDesc.Texture3D.MipLevels = desc.MipLevels;
hr = d3dDevice->CreateShaderResourceView( tex,
&SRVDesc,
textureView
);
if ( FAILED(hr) )
{
tex->Release();
return hr;
}
}
if (texture != 0)
{
*texture = tex;
}
else
{
SetDebugObjectName(tex, "DDSTextureLoader");
tex->Release();
}
}
}
break;
}
return hr;
}
//--------------------------------------------------------------------------------------
static HRESULT CreateTextureFromDDS( _In_ ID3D11Device* d3dDevice,
_In_ const DDS_HEADER* header,
_In_reads_bytes_(bitSize) const uint8_t* bitData,
_In_ size_t bitSize,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ bool forceSRGB,
_Out_opt_ ID3D11Resource** texture,
_Out_opt_ ID3D11ShaderResourceView** textureView )
{
HRESULT hr = S_OK;
size_t width = header->width;
size_t height = header->height;
size_t depth = header->depth;
uint32_t resDim = D3D11_RESOURCE_DIMENSION_UNKNOWN;
size_t arraySize = 1;
DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN;
bool isCubeMap = false;
size_t mipCount = header->mipMapCount;
if (0 == mipCount)
{
mipCount = 1;
}
if ((header->ddspf.flags & DDS_FOURCC) &&
(MAKEFOURCC( 'D', 'X', '1', '0' ) == header->ddspf.fourCC ))
{
const DDS_HEADER_DXT10* d3d10ext = reinterpret_cast<const DDS_HEADER_DXT10*>( (const char*)header + sizeof(DDS_HEADER) );
arraySize = d3d10ext->arraySize;
if (arraySize == 0)
{
return HRESULT_FROM_WIN32( ERROR_INVALID_DATA );
}
if (BitsPerPixel( d3d10ext->dxgiFormat ) == 0)
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
format = d3d10ext->dxgiFormat;
switch ( d3d10ext->resourceDimension )
{
case D3D11_RESOURCE_DIMENSION_TEXTURE1D:
// D3DX writes 1D textures with a fixed Height of 1
if ((header->flags & DDS_HEIGHT) && height != 1)
{
return HRESULT_FROM_WIN32( ERROR_INVALID_DATA );
}
height = depth = 1;
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE2D:
if (d3d10ext->miscFlag & D3D11_RESOURCE_MISC_TEXTURECUBE)
{
arraySize *= 6;
isCubeMap = true;
}
depth = 1;
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE3D:
if (!(header->flags & DDS_HEADER_FLAGS_VOLUME))
{
return HRESULT_FROM_WIN32( ERROR_INVALID_DATA );
}
if (arraySize > 1)
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
break;
default:
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
resDim = d3d10ext->resourceDimension;
}
else
{
format = GetDXGIFormat( header->ddspf );
if (format == DXGI_FORMAT_UNKNOWN)
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
if (header->flags & DDS_HEADER_FLAGS_VOLUME)
{
resDim = D3D11_RESOURCE_DIMENSION_TEXTURE3D;
}
else
{
if (header->caps2 & DDS_CUBEMAP)
{
// We require all six faces to be defined
if ((header->caps2 & DDS_CUBEMAP_ALLFACES ) != DDS_CUBEMAP_ALLFACES)
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
arraySize = 6;
isCubeMap = true;
}
depth = 1;
resDim = D3D11_RESOURCE_DIMENSION_TEXTURE2D;
// Note there's no way for a legacy Direct3D 9 DDS to express a '1D' texture
}
assert( BitsPerPixel( format ) != 0 );
}
// Bound sizes (for security purposes we don't trust DDS file metadata larger than the D3D 11.x hardware requirements)
if (mipCount > D3D11_REQ_MIP_LEVELS)
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
switch ( resDim )
{
case D3D11_RESOURCE_DIMENSION_TEXTURE1D:
if ((arraySize > D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION) ||
(width > D3D11_REQ_TEXTURE1D_U_DIMENSION) )
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE2D:
if (isCubeMap)
{
// This is the right bound because we set arraySize to (NumCubes*6) above
if ((arraySize > D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION) ||
(width > D3D11_REQ_TEXTURECUBE_DIMENSION) ||
(height > D3D11_REQ_TEXTURECUBE_DIMENSION))
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
}
else if ((arraySize > D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION) ||
(width > D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION) ||
(height > D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION))
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
break;
case D3D11_RESOURCE_DIMENSION_TEXTURE3D:
if ((arraySize > 1) ||
(width > D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION) ||
(height > D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION) ||
(depth > D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION) )
{
return HRESULT_FROM_WIN32( ERROR_NOT_SUPPORTED );
}
break;
}
// Create the texture
std::unique_ptr<D3D11_SUBRESOURCE_DATA[]> initData( new (std::nothrow) D3D11_SUBRESOURCE_DATA[ mipCount * arraySize ] );
if ( !initData )
{
return E_OUTOFMEMORY;
}
size_t skipMip = 0;
size_t twidth = 0;
size_t theight = 0;
size_t tdepth = 0;
hr = FillInitData( width, height, depth, mipCount, arraySize, format, maxsize, bitSize, bitData,
twidth, theight, tdepth, skipMip, initData.get() );
if ( SUCCEEDED(hr) )
{
hr = CreateD3DResources( d3dDevice, resDim, twidth, theight, tdepth, mipCount - skipMip, arraySize,
format, usage, bindFlags, cpuAccessFlags, miscFlags, forceSRGB,
isCubeMap, initData.get(), texture, textureView );
if ( FAILED(hr) && !maxsize && (mipCount > 1) )
{
// Retry with a maxsize determined by feature level
switch( d3dDevice->GetFeatureLevel() )
{
case D3D_FEATURE_LEVEL_9_1:
case D3D_FEATURE_LEVEL_9_2:
if (isCubeMap)
{
maxsize = 512 /*D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION*/;
}
else
{
maxsize = (resDim == D3D11_RESOURCE_DIMENSION_TEXTURE3D)
? 256 /*D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION*/
: 2048 /*D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION*/;
}
break;
case D3D_FEATURE_LEVEL_9_3:
maxsize = (resDim == D3D11_RESOURCE_DIMENSION_TEXTURE3D)
? 256 /*D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION*/
: 4096 /*D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION*/;
break;
default: // D3D_FEATURE_LEVEL_10_0 & D3D_FEATURE_LEVEL_10_1
maxsize = (resDim == D3D11_RESOURCE_DIMENSION_TEXTURE3D)
? 2048 /*D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION*/
: 8192 /*D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION*/;
break;
}
hr = FillInitData( width, height, depth, mipCount, arraySize, format, maxsize, bitSize, bitData,
twidth, theight, tdepth, skipMip, initData.get() );
if ( SUCCEEDED(hr) )
{
hr = CreateD3DResources( d3dDevice, resDim, twidth, theight, tdepth, mipCount - skipMip, arraySize,
format, usage, bindFlags, cpuAccessFlags, miscFlags, forceSRGB,
isCubeMap, initData.get(), texture, textureView );
}
}
}
return hr;
}
//--------------------------------------------------------------------------------------
_Use_decl_annotations_
HRESULT DirectX::CreateDDSTextureFromMemory( ID3D11Device* d3dDevice,
const uint8_t* ddsData,
size_t ddsDataSize,
ID3D11Resource** texture,
ID3D11ShaderResourceView** textureView,
size_t maxsize )
{
return CreateDDSTextureFromMemoryEx( d3dDevice, ddsData, ddsDataSize, maxsize,
D3D11_USAGE_DEFAULT, D3D11_BIND_SHADER_RESOURCE, 0, 0, false,
texture, textureView );
}
_Use_decl_annotations_
HRESULT DirectX::CreateDDSTextureFromMemoryEx( ID3D11Device* d3dDevice,
const uint8_t* ddsData,
size_t ddsDataSize,
size_t maxsize,
D3D11_USAGE usage,
unsigned int bindFlags,
unsigned int cpuAccessFlags,
unsigned int miscFlags,
bool forceSRGB,
ID3D11Resource** texture,
ID3D11ShaderResourceView** textureView )
{
if ( texture )
{
*texture = nullptr;
}
if ( textureView )
{
*textureView = nullptr;
}
if (!d3dDevice || !ddsData || (!texture && !textureView))
{
return E_INVALIDARG;
}
// Validate DDS file in memory
if (ddsDataSize < (sizeof(uint32_t) + sizeof(DDS_HEADER)))
{
return E_FAIL;
}
uint32_t dwMagicNumber = *( const uint32_t* )( ddsData );
if (dwMagicNumber != DDS_MAGIC)
{
return E_FAIL;
}
const DDS_HEADER* header = reinterpret_cast<const DDS_HEADER*>( ddsData + sizeof( uint32_t ) );
// Verify header to validate DDS file
if (header->size != sizeof(DDS_HEADER) ||
header->ddspf.size != sizeof(DDS_PIXELFORMAT))
{
return E_FAIL;
}
// Check for DX10 extension
bool bDXT10Header = false;
if ((header->ddspf.flags & DDS_FOURCC) &&
(MAKEFOURCC( 'D', 'X', '1', '0' ) == header->ddspf.fourCC) )
{
// Must be long enough for both headers and magic value
if (ddsDataSize < (sizeof(DDS_HEADER) + sizeof(uint32_t) + sizeof(DDS_HEADER_DXT10)))
{
return E_FAIL;
}
bDXT10Header = true;
}
ptrdiff_t offset = sizeof( uint32_t )
+ sizeof( DDS_HEADER )
+ (bDXT10Header ? sizeof( DDS_HEADER_DXT10 ) : 0);
HRESULT hr = CreateTextureFromDDS( d3dDevice, header,
ddsData + offset, ddsDataSize - offset, maxsize,
usage, bindFlags, cpuAccessFlags, miscFlags, forceSRGB,
texture, textureView );
if (texture != 0 && *texture != 0)
{
SetDebugObjectName(*texture, "DDSTextureLoader");
}
if (textureView != 0 && *textureView != 0)
{
SetDebugObjectName(*textureView, "DDSTextureLoader");
}
return hr;
}
//--------------------------------------------------------------------------------------
_Use_decl_annotations_
HRESULT DirectX::CreateDDSTextureFromFile( ID3D11Device* d3dDevice,
const wchar_t* fileName,
ID3D11Resource** texture,
ID3D11ShaderResourceView** textureView,
size_t maxsize )
{
return CreateDDSTextureFromFileEx( d3dDevice, fileName, maxsize,
D3D11_USAGE_DEFAULT, D3D11_BIND_SHADER_RESOURCE, 0, 0, false,
texture, textureView );
}
_Use_decl_annotations_
HRESULT DirectX::CreateDDSTextureFromFileEx( ID3D11Device* d3dDevice,
const wchar_t* fileName,
size_t maxsize,
D3D11_USAGE usage,
unsigned int bindFlags,
unsigned int cpuAccessFlags,
unsigned int miscFlags,
bool forceSRGB,
ID3D11Resource** texture,
ID3D11ShaderResourceView** textureView )
{
if ( texture )
{
*texture = nullptr;
}
if ( textureView )
{
*textureView = nullptr;
}
if (!d3dDevice || !fileName || (!texture && !textureView))
{
return E_INVALIDARG;
}
DDS_HEADER* header = nullptr;
uint8_t* bitData = nullptr;
size_t bitSize = 0;
std::unique_ptr<uint8_t[]> ddsData;
HRESULT hr = LoadTextureDataFromFile( fileName,
ddsData,
&header,
&bitData,
&bitSize
);
if (FAILED(hr))
{
return hr;
}
hr = CreateTextureFromDDS( d3dDevice, header,
bitData, bitSize, maxsize,
usage, bindFlags, cpuAccessFlags, miscFlags, forceSRGB,
texture, textureView );
#if defined(_DEBUG) || defined(PROFILE)
if (texture != 0 || textureView != 0)
{
CHAR strFileA[MAX_PATH];
WideCharToMultiByte( CP_ACP,
WC_NO_BEST_FIT_CHARS,
fileName,
-1,
strFileA,
MAX_PATH,
nullptr,
FALSE
);
// edit change to full path
const CHAR* pstrName = strFileA;
/*
const CHAR* pstrName = strrchr( strFileA, '\\' );
if (!pstrName)
{
pstrName = strFileA;
}
else
{
pstrName++;
}
*/
if (texture != 0 && *texture != 0)
{
(*texture)->SetPrivateData( WKPDID_D3DDebugObjectName,
static_cast<UINT>( strnlen_s(pstrName, MAX_PATH) ),
pstrName
);
}
if (textureView != 0 && *textureView != 0 )
{
(*textureView)->SetPrivateData( WKPDID_D3DDebugObjectName,
static_cast<UINT>( strnlen_s(pstrName, MAX_PATH) ),
pstrName
);
}
}
#endif
return hr;
}
| [
"[email protected]"
] | |
96492fe379c38ec7f6df1f2c7f465e40a5ed17a9 | 8882520c8e7b372603948b3a4b0eb2064d022e61 | /Display/Display.h | 6073a39148cd3f75c421e19fd5f857058463f66f | [] | no_license | abinav30/Remote-Code-Publisher | 191bcaae95e81ec17fe921b8bcda7e00892e174c | 8c439ff9ba36a0302a59f366061308b205fa3db7 | refs/heads/master | 2020-07-07T03:34:38.090270 | 2019-08-19T22:00:07 | 2019-08-19T22:00:07 | 202,800,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | h | #pragma once
///////////////////////////////////////////////////////////////////////////
// Display.h : defines webpage display using browser functions //
// ver 1.0 //
// //
// Application : Project 3 OOD S'19 //
// Platform : Visual Studio Community 2017, Windows 10 Pro x64 //
// Author : Abinav Murugadass, Syracuse University //
// Source : Ammar Salman 313/788-4694, [email protected] //
///////////////////////////////////////////////////////////////////////////
/*
* Package Operations:
* =======================
* This package defines Display class which accepts a list of files as a
* vector<string> and uses the default internet browser to display them
* one by one. Please note that the functionality has limiations:
* 1) Opera/MS Edge: will pop-up all tabs instantly.
* 2) Chrome/Firefox: will pop-up windows separately only if no
* already existing Chrome/Firefox window is opened (all must be
* closed before running this).
*
* Required Files:
* =======================
* Display.h Display.cpp Process.h Process.cpp
* Logger.h Logger.cpp FileSystem.h FileSystem.cpp
*
* Maintainence History:
* =======================
* ver 1.0 - 14 Feb 2019
* - first release
*/
#include <vector>
#include <string>
#include <unordered_map>
class Display
{
public:
Display();
void display(const std::string& file);
void display(const std::vector<std::string>& files);
};
| [
"[email protected]"
] | |
905822f7d67b1fab3db8bd1bc6f26d5603899d53 | 4028ea6384ce6805c1c97c84bbc8c61421ccf2d2 | /src/plugins/cml/cmlfileformat.cpp | 60265c84ca7e43d05b5eaa12026b16d73aee9493 | [
"BSD-3-Clause"
] | permissive | armando-2011/chemkit | 4a185978e13b51b3cac9a7420468f324f2047cc2 | 909b26821c6d9d52ceb7f09f423c5c9136e5f55c | refs/heads/master | 2021-01-18T00:45:36.955340 | 2011-10-13T22:53:34 | 2011-10-13T22:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,867 | cpp | /******************************************************************************
**
** Copyright (C) 2009-2011 Kyle Lutz <[email protected]>
** All rights reserved.
**
** This file is a part of the chemkit project. For more information
** see <http://www.chemkit.org>.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
** are met:
**
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in the
** documentation and/or other materials provided with the distribution.
** * Neither the name of the chemkit project nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
******************************************************************************/
#include "cmlfileformat.h"
#include <QtXml>
#include <chemkit/molecule.h>
#include <chemkit/moleculefile.h>
namespace {
class CmlHandler : public QXmlDefaultHandler
{
public:
CmlHandler(chemkit::MoleculeFile *file);
~CmlHandler();
bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts);
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName);
private:
chemkit::MoleculeFile *m_file;
chemkit::Molecule *m_molecule;
QHash<QString, chemkit::Atom *> m_atomIds;
};
CmlHandler::CmlHandler(chemkit::MoleculeFile *file)
: QXmlDefaultHandler(),
m_file(file),
m_molecule(0)
{
}
CmlHandler::~CmlHandler()
{
}
bool CmlHandler::startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
{
CHEMKIT_UNUSED(namespaceURI);
CHEMKIT_UNUSED(localName);
if(qName == "molecule"){
m_molecule = new chemkit::Molecule();
}
else if(qName == "atom" && m_molecule){
QString symbol = atts.value("elementType");
if(!symbol.isEmpty()){
chemkit::Atom *atom = m_molecule->addAtom(symbol.toStdString());
if(!atom){
qDebug() << "invalid atom symbol: " << symbol;
return true;
}
QString id = atts.value("id");
if(!id.isEmpty())
m_atomIds[id] = atom;
chemkit::Real x = atts.value("x3").toDouble();
chemkit::Real y = atts.value("y3").toDouble();
chemkit::Real z = atts.value("z3").toDouble();
atom->setPosition(x, y, z);
}
}
else if(qName == "bond" && m_molecule){
QString atomRefs = atts.value("atomRefs2");
if(!atomRefs.isEmpty()){
QStringList atomsIds = atomRefs.split(' ', QString::SkipEmptyParts);
if(atomsIds.size() != 2){
qDebug() << "atomRefs size != 2";
return true;
}
chemkit::Atom *atom1 = m_atomIds[atomsIds[0]];
chemkit::Atom *atom2 = m_atomIds[atomsIds[1]];
if(!atom1){
qDebug() << "invalid atom ref: " << atomsIds[0];
return true;
}
if(!atom2){
qDebug() << "invalid atom ref: " << atomsIds[1];
return true;
}
int bondOrder;
QString order = atts.value("order");
if(order.isEmpty()){
bondOrder = chemkit::Bond::Single;
}
else{
bondOrder = order.toInt();
if(bondOrder == 0){
if(order == "S")
bondOrder = chemkit::Bond::Single;
else if(order == "D")
bondOrder = chemkit::Bond::Double;
else if(order == "T")
bondOrder = chemkit::Bond::Triple;
else if(order == "A")
bondOrder = chemkit::Bond::Single;
}
}
m_molecule->addBond(atom1, atom2, bondOrder);
}
}
return true;
}
bool CmlHandler::endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
{
CHEMKIT_UNUSED(namespaceURI);
CHEMKIT_UNUSED(localName);
if(qName == "molecule"){
m_file->addMolecule(m_molecule);
m_molecule = 0;
m_atomIds.clear();
}
return true;
}
} // end anonymous namespace
CmlFileFormat::CmlFileFormat()
: chemkit::MoleculeFileFormat("cml")
{
}
CmlFileFormat::~CmlFileFormat()
{
}
bool CmlFileFormat::read(std::istream &input, chemkit::MoleculeFile *file)
{
QByteArray data;
while(!input.eof()){
data += input.get();
}
data.chop(1);
QBuffer buffer;
buffer.setData(data);
buffer.open(QBuffer::ReadOnly);
QXmlSimpleReader xml;
QXmlInputSource source(&buffer);
CmlHandler handler(file);
xml.setContentHandler(&handler);
xml.setErrorHandler(&handler);
bool ok = xml.parse(source);
if(!ok)
setErrorString(QString("XML Parsing failed: %1").arg(handler.errorString()).toStdString());
return ok;
}
bool CmlFileFormat::write(const chemkit::MoleculeFile *file, std::ostream &output)
{
QBuffer buffer;
buffer.open(QBuffer::WriteOnly);
QXmlStreamWriter stream(&buffer);
stream.setAutoFormatting(true);
stream.writeStartDocument();
foreach(const chemkit::Molecule *molecule, file->molecules()){
stream.writeStartElement("molecule");
stream.writeTextElement("name", molecule->name().c_str());
stream.writeStartElement("atomArray");
foreach(const chemkit::Atom *atom, molecule->atoms()){
stream.writeStartElement("atom");
stream.writeAttribute("id", QString("a%1").arg(atom->index()+1));
stream.writeAttribute("elementType", atom->symbol().c_str());
stream.writeAttribute("x3", QString::number(atom->x()));
stream.writeAttribute("y3", QString::number(atom->y()));
stream.writeAttribute("z3", QString::number(atom->z()));
stream.writeEndElement();
}
stream.writeEndElement();
stream.writeStartElement("bondArray");
foreach(const chemkit::Bond *bond, molecule->bonds()){
stream.writeStartElement("bond");
stream.writeAttribute("atomRefs2", QString("a%1 a%2").arg(bond->atom1()->index()+1).arg(bond->atom2()->index()+1));
stream.writeAttribute("order", QString::number(bond->order()));
stream.writeEndElement();
}
stream.writeEndElement();
stream.writeEndElement();
}
stream.writeEndDocument();
QByteArray data = buffer.data();
output.write(data.constData(), data.size());
return true;
}
| [
"[email protected]"
] | |
7768392f81136a34d40beab0a8ee7a216fb2de59 | d8a699d66e10feebe009321df33ecc5de4bac69f | /src/litequarks/include/litequarks/LQViewport.hpp | f22ecffe7ca339b9ef274a9b16eb69960b58975c | [
"MIT"
] | permissive | valfvo/punyduck | f9059f373900c6681f087e99d471786f3d80b7e0 | 53bf87babef39023574881b73f141611274b2842 | refs/heads/master | 2020-12-15T17:28:35.830784 | 2020-05-10T22:03:47 | 2020-05-10T22:03:47 | 235,192,926 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 371 | hpp | #pragma once
#include "LQViewable.hpp"
#include "LQEvent.hpp"
class LQViewport : public LQViewable {
public:
LQViewport(LQNumber&& x, LQNumber&& y, LQNumber&& width, LQNumber&& height,
GLint color=0x000000, float minGripSize=20.0f);
void onScroll(LQScrollEvent& event);
void recalc();
protected:
float m_minGripSize;
};
| [
"[email protected]"
] | |
ccbfba4ed3509ba7aa46e7607e38bbf5cc42dee7 | 9393a2197c8ae8585868643f3eedb13874dff495 | /Application.h | 931ae72f62fd0163667ab899b1f19fecbe3a4ea8 | [] | no_license | JoshBranda/Messenger-Apps | 404aa6726162861fbdfbf8314525d13b8159d343 | 15c828657c0b279131cd9fb2b3d999b53070f3ac | refs/heads/master | 2023-05-27T15:30:01.197703 | 2017-03-30T20:41:11 | 2017-03-30T20:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | h | #ifndef APPLICATION
#define APPLICATION
#include"Contacts.h"
#include"Storage.h"
class Application {
public:
Application(); //Line 8
~Application(); //Line 15
void enter_contacts(); //Line 21
void enter_inbox(); //Line 64
void run(); //Line 193
int add_email(const Email & to_add); //Line 236
int add_facebook(const Facebook & to_add); //Line 245
int add_text(const Text & to_add); //Line 254
int increment_inbox(); //Line 263
int return_inbox(); //Line 270
int add_contact(Person & to_add); //Line 277
int forward_email(Email * temp); //Line 284
int forward_text(Text * temp); //Line 299
int forward_facebook(Facebook * temp); //Line 313
int check_copy(); //Line 327
int send_message(); //Line 356
friend int operator+(Application & source, const Email & to_add);//Line 451
friend int operator+(Application & source, const Facebook & to_add);//Line 460
friend int operator+(Application & source, const Text & to_add);//Line 469
private:
Contacts contact_list;
Storage my_archive;
int total_inbox;
};
#endif
| [
"[email protected]"
] | |
b29c18a21defd44882442c1d01be34aa10d9f983 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /url/scheme_host_port.cc | 6af849fe6bd28d1fe369bc66e10e66476da0dcf3 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 8,244 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "url/scheme_host_port.h"
#include <stdint.h>
#include <string.h>
#include <tuple>
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#include "url/gurl.h"
#include "url/third_party/mozilla/url_parse.h"
#include "url/url_canon.h"
#include "url/url_canon_stdstring.h"
#include "url/url_constants.h"
#include "url/url_util.h"
namespace url {
namespace {
bool IsCanonicalHost(const base::StringPiece& host) {
std::string canon_host;
// Try to canonicalize the host (copy/pasted from net/base. :( ).
const Component raw_host_component(0,
base::checked_cast<int>(host.length()));
StdStringCanonOutput canon_host_output(&canon_host);
CanonHostInfo host_info;
CanonicalizeHostVerbose(host.data(), raw_host_component,
&canon_host_output, &host_info);
if (host_info.out_host.is_nonempty() &&
host_info.family != CanonHostInfo::BROKEN) {
// Success! Assert that there's no extra garbage.
canon_host_output.Complete();
DCHECK_EQ(host_info.out_host.len, static_cast<int>(canon_host.length()));
} else {
// Empty host, or canonicalization failed.
canon_host.clear();
}
return host == canon_host;
}
bool IsValidInput(const base::StringPiece& scheme,
const base::StringPiece& host,
uint16_t port,
SchemeHostPort::ConstructPolicy policy) {
// Empty schemes are never valid.
if (scheme.empty())
return false;
SchemeType scheme_type = SCHEME_WITH_HOST_PORT_AND_USER_INFORMATION;
bool is_standard = GetStandardSchemeType(
scheme.data(),
Component(0, base::checked_cast<int>(scheme.length())),
&scheme_type);
if (!is_standard) {
// To be consistent with blink, local non-standard schemes are currently
// allowed to be tuple origins. Nonstandard schemes don't have hostnames,
// so their tuple is just ("protocol", "", 0).
//
// TODO: Migrate "content:" and "externalfile:" to be standard schemes, and
// remove this local scheme exception.
if (base::ContainsValue(GetLocalSchemes(), scheme) && host.empty() &&
port == 0)
return true;
// Otherwise, allow non-standard schemes only if the Android WebView
// workaround is enabled.
return AllowNonStandardSchemesForAndroidWebView();
}
switch (scheme_type) {
case SCHEME_WITH_HOST_AND_PORT:
case SCHEME_WITH_HOST_PORT_AND_USER_INFORMATION:
// A URL with |scheme| is required to have the host and port (may be
// omitted in a serialization if it's the same as the default value).
// Return an invalid instance if either of them is not given.
if (host.empty() || port == 0)
return false;
// Don't do an expensive canonicalization if the host is already
// canonicalized.
DCHECK(policy == SchemeHostPort::CHECK_CANONICALIZATION ||
IsCanonicalHost(host));
if (policy == SchemeHostPort::CHECK_CANONICALIZATION &&
!IsCanonicalHost(host)) {
return false;
}
return true;
case SCHEME_WITH_HOST:
if (port != 0) {
// Return an invalid object if a URL with the scheme never represents
// the port data but the given |port| is non-zero.
return false;
}
// Don't do an expensive canonicalization if the host is already
// canonicalized.
DCHECK(policy == SchemeHostPort::CHECK_CANONICALIZATION ||
IsCanonicalHost(host));
if (policy == SchemeHostPort::CHECK_CANONICALIZATION &&
!IsCanonicalHost(host)) {
return false;
}
return true;
case SCHEME_WITHOUT_AUTHORITY:
return false;
default:
NOTREACHED();
return false;
}
}
} // namespace
SchemeHostPort::SchemeHostPort() : port_(0) {
}
SchemeHostPort::SchemeHostPort(std::string scheme,
std::string host,
uint16_t port,
ConstructPolicy policy)
: port_(0) {
if (!IsValidInput(scheme, host, port, policy)) {
DCHECK(IsInvalid());
return;
}
scheme_ = std::move(scheme);
host_ = std::move(host);
port_ = port;
DCHECK(!IsInvalid()) << "Scheme: " << scheme_ << " Host: " << host_
<< " Port: " << port;
}
SchemeHostPort::SchemeHostPort(base::StringPiece scheme,
base::StringPiece host,
uint16_t port)
: SchemeHostPort(scheme.as_string(),
host.as_string(),
port,
ConstructPolicy::CHECK_CANONICALIZATION) {}
SchemeHostPort::SchemeHostPort(const GURL& url) : port_(0) {
if (!url.is_valid())
return;
base::StringPiece scheme = url.scheme_piece();
base::StringPiece host = url.host_piece();
// A valid GURL never returns PORT_INVALID.
int port = url.EffectiveIntPort();
if (port == PORT_UNSPECIFIED) {
port = 0;
} else {
DCHECK_GE(port, 0);
DCHECK_LE(port, 65535);
}
if (!IsValidInput(scheme, host, port, ALREADY_CANONICALIZED))
return;
scheme.CopyToString(&scheme_);
host.CopyToString(&host_);
port_ = port;
}
SchemeHostPort::~SchemeHostPort() = default;
bool SchemeHostPort::IsInvalid() const {
// It suffices to just check |scheme_| for emptiness; the other fields are
// never present without it.
DCHECK(!scheme_.empty() || host_.empty());
DCHECK(!scheme_.empty() || port_ == 0);
return scheme_.empty();
}
std::string SchemeHostPort::Serialize() const {
// Null checking for |parsed| in SerializeInternal is probably slower than
// just filling it in and discarding it here.
url::Parsed parsed;
return SerializeInternal(&parsed);
}
GURL SchemeHostPort::GetURL() const {
url::Parsed parsed;
std::string serialized = SerializeInternal(&parsed);
if (IsInvalid())
return GURL(std::move(serialized), parsed, false);
// SchemeHostPort does not have enough information to determine if an empty
// host is valid or not for the given scheme. Force re-parsing.
DCHECK(!scheme_.empty());
if (host_.empty())
return GURL(serialized);
// If the serialized string is passed to GURL for parsing, it will append an
// empty path "/". Add that here. Note: per RFC 6454 we cannot do this for
// normal Origin serialization.
DCHECK(!parsed.path.is_valid());
parsed.path = Component(serialized.length(), 1);
serialized.append("/");
return GURL(std::move(serialized), parsed, true);
}
bool SchemeHostPort::operator<(const SchemeHostPort& other) const {
return std::tie(port_, scheme_, host_) <
std::tie(other.port_, other.scheme_, other.host_);
}
std::string SchemeHostPort::SerializeInternal(url::Parsed* parsed) const {
std::string result;
if (IsInvalid())
return result;
// Reserve enough space for the "normal" case of scheme://host/.
result.reserve(scheme_.size() + host_.size() + 4);
if (!scheme_.empty()) {
parsed->scheme = Component(0, scheme_.length());
result.append(scheme_);
}
result.append(kStandardSchemeSeparator);
if (!host_.empty()) {
parsed->host = Component(result.length(), host_.length());
result.append(host_);
}
if (port_ == 0)
return result;
// Omit the port component if the port matches with the default port
// defined for the scheme, if any.
int default_port = DefaultPortForScheme(scheme_.data(),
static_cast<int>(scheme_.length()));
if (default_port == PORT_UNSPECIFIED)
return result;
if (port_ != default_port) {
result.push_back(':');
std::string port(base::NumberToString(port_));
parsed->port = Component(result.length(), port.length());
result.append(std::move(port));
}
return result;
}
std::ostream& operator<<(std::ostream& out,
const SchemeHostPort& scheme_host_port) {
return out << scheme_host_port.Serialize();
}
} // namespace url
| [
"[email protected]"
] | |
eb56495c037350f00d63a6aeb539164445b0104b | cb13a7af47d668902b21298408f1f7e021fa9f44 | /plotwindow.cpp | e53ddf71be824a1265fb30f4b1234c070fb9ea87 | [] | no_license | leonid-ph/Cascade_Evaporation | 4cb6432229e974423da22c9f6dbd3ef8aede65b8 | 7142c07f7912f2d5216f02e9a30a975f6bc0ba53 | refs/heads/master | 2021-01-13T16:59:47.786641 | 2016-12-20T20:57:24 | 2016-12-20T20:57:24 | 76,990,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | cpp | #include "plotwindow.h"
#include "ui_plotwindow.h"
QVector<double> E(POINTS), N(POINTS);
PlotWindow::PlotWindow(QWidget *parent) :
QDialog(parent),
ui(new Ui::PlotWindow)
{
ui->setupUi(this);
Save_button = new QPushButton("Save", this);
Save_button->setGeometry(550, 20, 100, 30);
adjustSize();
connect(Save_button, SIGNAL(clicked()), this, SLOT( Save_Spectrum() ) );
// E.clear();N.clear();
}
void PlotWindow::Plot_Spectrum (Evaporation E, char part_type, unsigned int Events)
{
Plot(ui->widget, E , part_type, Events);
ui->widget->replot();
}
void PlotWindow::Plot(QCustomPlot *customPlot, Evaporation Ev, char part_type, unsigned int Events)
{
QVector <float> Y(0);
for (int i = 0;i < POINTS ;i++)
{
E[i] = 0;
N[i] = 0;
}
unsigned int total_parts = 0;
Y = Ev.Spectrum_generation(part_type, Events,&total_parts);
QVector <float>::const_iterator largest;
largest = std::max_element( Y.begin(), Y.end() );
Total_parts_label = new QLabel("total_parts", this);
Total_parts_label->setGeometry(350, 60, 200, 30);
Total_parts_label->setText( "Total parts:\n " + QString::number(total_parts));
//float Step = *largest/float(POINTS);
float Step = 50/float(POINTS);
///////////////////////////////////////////////////////////////////
//QVector<double> E(POINTS), N(POINTS);
for (int i = 0;i < POINTS ;i++)
{
E[i] = i*Step;
}
for (unsigned int i=0; i<Events; i++)
{
for (int j =0; j < POINTS; j++ )
if ( (Y[i] >= E[j] - Step/2 )&&( Y[i] < E[j] + Step/2 ) )
{
N[j]++;
}
}
///////////////////////////////////////////////////////////////////
// create graph and assign data to it:
customPlot->addGraph();
customPlot->graph(0)->setData(E, N);
// give the axes some labels:
customPlot->xAxis->setLabel("Energy (Mev)");
customPlot->yAxis->setLabel("N");
// set axes ranges, so we see all data:
customPlot->graph(0)->rescaleAxes();
}
void PlotWindow::Save_Spectrum(void)
{
QFile file("Spectrum.txt");
file.open(QIODevice::WriteOnly | QIODevice::Text);
QTextStream out(&file);
for (int j =0; j < E.size() ; j++ )
{
out <<E[j]<<" "<<N[j]<<"\n";
}
// optional, as QFile destructor will already do it:
file.close();
}
PlotWindow::~PlotWindow()
{
delete ui;
}
| [
"[email protected]"
] | |
1fcd096e0e57ba8d875be99f020260dff0b1bed1 | 01bbdc03caaa77bb364da7c7317b0203d039c4a5 | /Calculate_Sqrt.cpp | 2dec030dc630234ff1b08f4f6ace0e7442b12af3 | [] | no_license | UyCode/calculateSQRT | 1ad86e1c6608b929f5ccb64745723fe62a9ae923 | 19fc7d7f13a829afcf61cb66e7221ed8dc848e9c | refs/heads/master | 2020-05-05T04:27:11.982208 | 2019-07-28T13:32:08 | 2019-07-28T13:32:08 | 179,712,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | // Calculate_Sqrt.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
using namespace std;
int calculateMax(float a, float b);
int calculateMin(float a, float b);
int main()
{
float x;
float y;
cout << "pease input two number: ";
cin >> x;
cin >> y;
float max = calculateMax(x, y);
float min = calculateMin(x, y);
cout << "Max = " << max << endl;
cout << "Min = " << min << endl;
float r = min / max;
float ans = max * sqrt(1 + r * r);
cout <<"the Square Root (sqrt) of two numbers is : "<< ans << endl;
system("pause");
return 0;
}
int calculateMin(float a, float b) {
return a <= b ? a : b;
}
int calculateMax(float a, float b) {
return a >= b ? a : b;
}
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
// Tips for Getting Started:
// 1. Use the Solution Explorer window to add/manage files
// 2. Use the Team Explorer window to connect to source control
// 3. Use the Output window to see build output and other messages
// 4. Use the Error List window to view errors
// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
| [
"[email protected]"
] | |
da760a554f4a27904f650b766cd47e382e3c2280 | 8a4a27e78fd0710bc20e6e772b79b2997e278882 | /AWSResizer/AWSExceptionHelpers/gdiinit.cpp | 6fd54b1e09f71cebcb5d813839a600d4af409c78 | [] | no_license | alexf2/ImageResizer | b85917b00e965524a6f9ea5d503fe629e8a16876 | 9d5813f6fab5732fdc3b3b54cca6f50015e598cc | refs/heads/master | 2021-01-24T03:12:19.816553 | 2018-02-25T21:37:55 | 2018-02-25T21:37:55 | 122,879,584 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99 | cpp | #include "stdafx.h"
#include "GDIInit.h"
CGDIPlusInitializer CGDIPlusInitializer::m_gpiInstance;
| [
"[email protected]"
] | |
14257e051e7f1b81ae5054982a45e31dc501fef6 | 93c52f37713fd89bf45262ab96ea6c3dafe9257d | /file_plugins/dxf/entities/dxf_graphicobject.cpp | bd1dab9c157d2d134ccaefcbbc4645c392f78dbd | [] | no_license | mehmetcanbudak/GERBER_X3 | fcf47541228cb678d20064b789fe5e135ad4dd7f | c0234580956e12fed670f1275e8ed8f2c66ca3ca | refs/heads/dev2mod | 2023-03-02T13:59:19.118022 | 2021-02-13T14:27:43 | 2021-02-13T14:27:43 | 338,819,639 | 0 | 0 | null | 2021-02-14T14:21:34 | 2021-02-14T14:09:06 | null | UTF-8 | C++ | false | false | 2,658 | cpp | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
/*******************************************************************************
* *
* Author : Damir Bakiev *
* Version : na *
* Date : 01 February 2020 *
* Website : na *
* Copyright : Damir Bakiev 2016-2021 *
* *
* License: *
* Use, modification & distribution is subject to Boost Software License Ver 1. *
* http://www.boost.org/LICENSE_1_0.txt *
* *
*******************************************************************************/
#include "dxf_graphicobject.h"
namespace Dxf {
GraphicObject::GraphicObject(const File* file, const Entity* entity, const Path& path, const Paths& paths)
: m_gFile(file)
, m_entity(entity)
, m_path(path)
, m_paths(paths)
{
}
void GraphicObject::setRotation(double rotationAngle)
{
m_rotationAngle = rotationAngle;
RotatePath(m_path, m_rotationAngle /*, m_pos*/);
for (auto& path : m_paths)
RotatePath(path, m_rotationAngle /*, m_pos*/);
}
void GraphicObject::setScale(double scaleX, double scaleY)
{
m_scaleX = scaleX, m_scaleY = scaleY;
auto scale = [](Path& path, double sx, double sy, const IntPoint& center = {}) {
const bool fl = Area(path) < 0;
for (IntPoint& pt : path) {
const double dAangle = (M_PI * 2) - center.angleRadTo(pt);
const double length = center.distTo(pt);
pt = IntPoint(static_cast<cInt>(cos(dAangle) * length * sx), static_cast<cInt>(sin(dAangle) * length * sy));
pt.X += center.X;
pt.Y += center.Y;
}
if (fl != (Area(path) < 0))
ReversePath(path);
};
scale(m_path, m_scaleX, m_scaleY, {} /*m_pos*/);
for (auto& path : m_paths)
scale(path, m_scaleX, m_scaleY, {} /*m_pos*/);
}
void GraphicObject::setPos(QPointF pos)
{
m_pos = pos;
TranslatePath(m_path, m_pos);
for (auto& path : m_paths)
TranslatePath(path, m_pos);
}
}
| [
"[email protected]"
] | |
8fa70526700089c95994cd3ceedbc5e228d061f0 | 65b5166d07447967789744624c0b5ae3cc731a51 | /Client/project/Yaoyao/Classes/frame/AppDelegate.cpp | a190e8f56390cfdb3bdc90e36ace96714856d471 | [] | no_license | walkbin/CrossGame | b2f9f1357f17fd3fc12c81bf006a1e4c09c52d4a | c6a2e640149f3ff72c42707f12f09b8c7fa48eef | refs/heads/master | 2021-01-10T01:34:54.571421 | 2013-03-30T06:34:02 | 2013-03-30T06:34:02 | 8,430,069 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,146 | cpp | #include "AppDelegate.h"
#include <vector>
#include <string>
#include "config/AppMacros.h"
#include "assist/InstanceMgr.h"
USING_NS_CC;
using namespace std;
using namespace walkbin;
AppDelegate::AppDelegate()
{
InstanceMgr::create();
}
AppDelegate::~AppDelegate()
{
InstanceMgr::destroy();
}
bool AppDelegate::applicationDidFinishLaunching() {
// initialize director
CCDirector* pDirector = CCDirector::sharedDirector();
CCEGLView* pEGLView = CCEGLView::sharedOpenGLView();
pDirector->setOpenGLView(pEGLView);
// Set the design resolution
pEGLView->setDesignResolutionSize(designResolutionSize.width, designResolutionSize.height, kResolutionNoBorder);
CCSize frameSize = pEGLView->getFrameSize();
vector<string> searchPath;
// In this demo, we select resource according to the frame's height.
// If the resource size is different from design resolution size, you need to set contentScaleFactor.
// We use the ratio of resource's height to the height of design resolution,
// this can make sure that the resource's height could fit for the height of design resolution.
Resource resourceInfo;
if(1)
{
resourceInfo = mediumResource;
}
else
{
// if the frame's height is larger than the height of medium resource size, select large resource.
if (frameSize.height > mediumResource.size.height)
resourceInfo = largeResource;
// if the frame's height is larger than the height of small resource size, select medium resource.
else if (frameSize.height > smallResource.size.height)
resourceInfo = mediumResource;
// if the frame's height is smaller than the height of medium resource size, select small resource.
else
resourceInfo = smallResource;
}
searchPath.push_back(resourceInfo.directory);
pDirector->setContentScaleFactor(MIN(resourceInfo.size.height/designResolutionSize.height, resourceInfo.size.width/designResolutionSize.width));
// set searching path
CCFileUtils::sharedFileUtils()->setSearchPaths(searchPath);
// turn on display FPS
pDirector->setDisplayStats(true);
// set FPS. the default value is 1.0/60 if you don't call this
pDirector->setAnimationInterval(1.0 / 60);
InstanceMgr::create();
// create a scene. it's an autorelease object
CCScene *pScene = InstanceMgr::uiMgr->getScene();
InstanceMgr::mainLogic->startState();
pDirector->runWithScene(pScene);
return true;
}
// This function will be called when the app is inactive. When comes a phone call,it's be invoked too
void AppDelegate::applicationDidEnterBackground() {
CCDirector::sharedDirector()->stopAnimation();
// if you use SimpleAudioEngine, it must be pause
// SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();
}
// this function will be called when the app is active again
void AppDelegate::applicationWillEnterForeground() {
CCDirector::sharedDirector()->startAnimation();
// if you use SimpleAudioEngine, it must resume here
// SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();
}
| [
"[email protected]"
] | |
5064f5d8555f63f25c8a728acdf4c507fe3bdc84 | be6e940a74a8437fdc5c543aa93f4434f4b01602 | /House/interfaces/iLightSwitchIn.h | d2cd22c8458e200dfe6c19220848e8a1a23f533c | [] | no_license | Rosi2143/HouseWorkspace | 9f108bac0f8c8b5452cf71d9c59c21bd34ee94e7 | ba48a160d57bc90000c1e3fce43305ac9caa22a9 | refs/heads/master | 2021-01-17T09:15:26.395886 | 2020-02-02T15:55:59 | 2020-02-02T15:55:59 | 28,301,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | h | /*
* iLightSwitchIn.h
*
* Created on: Jan 25, 2015
* Author: micha
*/
#ifndef ILIGHTSWITCHIN_H_
#define ILIGHTSWITCHIN_H_
#include <string>
#include <list>
#include <iostream>
#include "Base.h"
typedef enum LightSwitchInState {
LightOn, LightOff
} LightSwitchInState;
class iRoom;
class iLightSwitchIn: public Base {
public:
// Constructors
iLightSwitchIn(unsigned int Id, std::string Name, iRoom* pRoom) :
Base(Id, Name, pRoom) {
}
;
iLightSwitchIn(const iLightSwitchIn& light) :
Base(light) { // copy constructor
}
virtual ~iLightSwitchIn() {
}
// Operators
virtual iLightSwitchIn& operator=(const iLightSwitchIn& other) { // assignment operator
Base::operator=(other);
return *this;
}
// access functions
virtual LightSwitchInState getState() const = 0;
virtual LightSwitchInState toggleState() = 0;
// construction functions
protected:
iLightSwitchIn() :
Base(0, "", nullptr) {
std::cout << "Wrong default constructor iLightSwitchIn";
}
};
#endif /* ILIGHTSWITCHIN_H_ */
| [
"[email protected]"
] | |
f1eb12795d63e6638c3fdb03fea23c18397f1bce | 1fdf99615af750b48c9f75366760723939e7a0d5 | /Ragdoll.h | 44091bb4bf66a3e4db013becc2e749b4b0d62df1 | [] | no_license | whdi0404/OpenGLEngine | eea9fd81947315ba0a568dfaf2971bf871efbd5b | f4d36aafdcd30093c3be990fa7780e1aef6b43b9 | refs/heads/master | 2021-01-11T16:35:57.949556 | 2018-07-18T17:08:10 | 2018-07-18T17:08:10 | 80,108,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #pragma once
#include "Component.h"
class SkinnedMesh;
class RigidBody;
class Avatar;
struct RagdollInfo
{
public:
//13 Bones
Transform* Pelvis;
Transform* LeftHips;
Transform* LeftKnee;
Transform* LeftFoot;
Transform* LeftArm;
Transform* LeftElbow;
Transform* RightHips;
Transform* RightKnee;
Transform* RightFoot;
Transform* RightArm;
Transform* RightElbow;
Transform* MiddleSpine;
Transform* Head;
GameObject* RootObject;
};
class Ragdoll :
public Component
{
private:
struct RagdollBone
{
int boneIndex;
RigidBody* rigidBody;
glm::mat4x4 deformMat;
};
private:
RagdollBone rootBone;
std::vector<RagdollBone> ragdollBones;
public:
Ragdoll();
~Ragdoll();
GetSetMacro(Avatar*, Avatar, avatar);
void Update() override;
void MakeRagdoll(std::string id, RagdollInfo ragdollInfo);
}; | [
"[email protected]"
] | |
8b8a97ffc917a9f54b91c6f044206b26b4ed8ada | e5d5e4d0ef2db5ebeab4a6464f672568ad961961 | /src/common/Network/Packet/PacketHeaderBase.h | 14a570c89a906a1b1400008213faca3bf049502d | [
"Apache-2.0",
"GPL-1.0-or-later",
"GPL-2.0-or-later",
"GPL-2.0-only"
] | permissive | elados93/trex-core | d7eebc5efbbb6ca0e971d0d1eca79793eb389a3b | 3a6d63af1ff468f94887a091e3a408a8449cf832 | refs/heads/master | 2020-07-03T13:11:03.017040 | 2019-11-25T09:20:04 | 2019-11-25T09:20:04 | 182,962,731 | 1 | 0 | Apache-2.0 | 2019-05-06T09:05:56 | 2019-04-23T07:49:11 | C | UTF-8 | C++ | false | false | 1,640 | h | #ifndef _PACKET_HEADER_BASE_H_
#define _PACKET_HEADER_BASE_H_
/*
Copyright (c) 2015-2015 Cisco Systems, Inc.
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 "CPktCmn.h"
/**
* This class should be the base class for all packet headers in the system.
* Its target is to obligate all the headers to implement some common interface.
* e.g. Providing the pointer for the header, its size, dumping itself etc.
* Since that all header are being casted over some memory because
* of performance orientation, we are not using the pure virtual feature
* of C++. Thus this obligation is enforced at link time since there will be
* no implmentation in the base and if the interface will be used in some derived
* that didn't implement it, it will fail at link time.
*/
class PacketHeaderBase
{
public:
uint8_t* getPointer (){return (uint8_t*)this;};
uint32_t getSize ();
uint16_t getNextProtocol ();
void setNextProtocol (uint16_t);
void dump (FILE* fd);
};
enum
{
TCPDefaultHeaderSize = 20,//TCP
UDPDefaultHeaderSize = 8 //UDP
};
#endif //_PACKET_HEADER_BASE_H_
| [
"[email protected]"
] | |
ec549c46a202c941cd329ba1b659d4a011fcfc5b | 035c71ec70ae75b3ad62dccded6257f3e5982bb6 | /include/UserTrackingAction.h | 438e926acdc0984cfabd5d9a923e130c888ef751 | [] | no_license | mholtrop/hps-sim | 1f07148a59424ed722b59c7b5c4e5dc7547e9647 | 1c1801375ce6dc0f3f7ef796a87bce4df819138c | refs/heads/master | 2020-03-21T12:42:00.958970 | 2018-03-01T22:46:05 | 2018-03-01T22:46:05 | 138,567,371 | 0 | 0 | null | 2018-06-25T08:44:31 | 2018-06-25T08:44:30 | null | UTF-8 | C++ | false | false | 6,491 | h | #ifndef HPSSIM_USERTRACKINGACTION_H_
#define HPSSIM_USERTRACKINGACTION_H_ 1
/*
* Geant4
*/
#include "G4UserTrackingAction.hh"
#include "G4TrackingManager.hh"
#include "G4RunManager.hh"
/*
* LCDD
*/
#include "lcdd/core/UserRegionInformation.hh"
#include "lcdd/detectors/CurrentTrackState.hh"
/*
* HPS
*/
#include "PluginManager.h"
#include "TrackMap.h"
#include "UserPrimaryParticleInformation.h"
#include "UserTrackInformation.h"
namespace hpssim {
/**
* @class UserTrackingAction
* @brief Implementation of Geant4 user tracking action
*/
class UserTrackingAction : public G4UserTrackingAction {
public:
UserTrackingAction() {
}
virtual ~UserTrackingAction() {
}
void PreUserTrackingAction(const G4Track* aTrack) {
//std::cout << "UserTrackingAction: pre tracking - " << aTrack->GetTrackID() << std::endl;
int trackID = aTrack->GetTrackID();
// This is set for LCDD sensitive detectors, which is strange but we don't want to change it right now!
CurrentTrackState::setCurrentTrackID(trackID);
if (trackMap_.contains(trackID)) {
if (trackMap_.hasTrajectory(trackID)) {
// This makes sure the tracking manager does not delete the trajectory if it already exists.
fpTrackingManager->SetStoreTrajectory(true);
}
} else {
// Process a new track.
processTrack(aTrack);
}
PluginManager::getPluginManager()->preTracking(aTrack);
}
void PostUserTrackingAction(const G4Track* aTrack) {
//std::cout << "UserTrackingAction: post tracking - " << aTrack->GetTrackID() << std::endl;
// Save extra trajectories on tracks that were flagged for saving during event processing.
auto info = dynamic_cast<UserTrackInformation*>(aTrack->GetUserInformation());
// Save tracks with tracker hits.
// This flag is used by LCDD tracker detectors.
if (info->hasTrackerHit()) {
info->setSaveFlag(true);
}
// Store trajectory if info has save flag turned on.
if (info->getSaveFlag()) {
if (!trackMap_.hasTrajectory(aTrack->GetTrackID())) {
storeTrajectory(aTrack);
//std::cout << "UserTrackingAction: Storing extra trajectory for track " << aTrack->GetTrackID() << std::endl;
}
}
// Set end point momentum on the trajectory.
if (fpTrackingManager->GetStoreTrajectory()) {
auto traj = dynamic_cast<Trajectory*>(fpTrackingManager->GimmeTrajectory());
if (traj) {
// Set end point momentum from last point if track is being killed.
if (aTrack->GetTrackStatus() == G4TrackStatus::fStopAndKill) {
traj->setEndPointMomentum(aTrack);
}
// Pass save flag from track info to the trajectory for persistency engine.
bool saveFlag = UserTrackInformation::getUserTrackInformation(aTrack)->getSaveFlag();
//std::cout << "UserTrackingAction: Passing save flag " << saveFlag
// << " to trajectory " << aTrack->GetTrackID() << std::endl;
traj->setSaveFlag(saveFlag);
}
}
PluginManager::getPluginManager()->postTracking(aTrack);
}
void storeTrajectory(const G4Track* aTrack) {
//std::cout << "UserTrackingAction: Creating new trajectory for " << aTrack->GetTrackID() << std::endl;
// Create a new trajectory for this track.
fpTrackingManager->SetStoreTrajectory(true);
Trajectory* traj = new Trajectory(aTrack);
fpTrackingManager->SetTrajectory(traj);
// Map track ID to trajectory.
trackMap_.addTrajectory(traj);
}
void processTrack(const G4Track* aTrack) {
// Setup the track info object.
UserTrackInformation* info = nullptr;
if (!aTrack->GetUserInformation()) {
info = new UserTrackInformation;
info->setInitialMomentum(aTrack->GetMomentum());
const_cast<G4Track*>(aTrack)->SetUserInformation(info);
}
/*
* Check if trajectory storage should be turned on.
* Region is flagged for storing secondaries (e.g. "tracking region") or the particle is a primary.
*/
UserRegionInformation* regionInfo =
(UserRegionInformation*) aTrack->GetLogicalVolumeAtVertex()->GetRegion()->GetUserInformation();
bool isPrimary = (aTrack->GetDynamicParticle()->GetPrimaryParticle() != nullptr);
if ((regionInfo && regionInfo->getStoreSecondaries()) || isPrimary) {
/*
if (regionInfo && regionInfo->getStoreSecondaries()) {
std::cout << "UserTrackingAction: Storing trajectory for " << aTrack->GetTrackID() << " in region "
<< aTrack->GetLogicalVolumeAtVertex()->GetRegion()->GetName()
<< std::endl;
}
if (isPrimary) {
std::cout << "UserTrackingAction: Storing trajectory for primary track " << aTrack->GetTrackID() << std::endl;
}
*/
storeTrajectory(aTrack);
info->setSaveFlag(true);
} else {
// Trajectory storage is turned off!
fpTrackingManager->SetStoreTrajectory(false);
info->setSaveFlag(false);
}
// Save the association between track ID and its parent ID for all tracks in the event.
trackMap_.addSecondary(aTrack->GetTrackID(), aTrack->GetParentID());
}
TrackMap* getTrackMap() {
return &trackMap_;
}
static UserTrackingAction* getUserTrackingAction() {
return static_cast<UserTrackingAction*>(const_cast<G4UserTrackingAction*>(G4RunManager::GetRunManager()->GetUserTrackingAction()));
}
G4TrackingManager* getTrackingManager() {
return fpTrackingManager;
}
private:
TrackMap trackMap_;
};
}
#endif
| [
"[email protected]"
] | |
0a5109250d71df2efd627562f110c5ca511721f7 | 45e0e2f1102d32f92698d6f587532a1ae4eaca32 | /chapter2/BinarySearchUseLib.cpp | d221af217e9f9c38dce4324ef0585e79211eb5da | [] | no_license | suliutree/ThePracticeOfProgramming | 1393ea72dc435514077a3b5f59485a20c13ad208 | 1bf0d0d01703ab4e29aaec78e84d49c7128a0e9a | refs/heads/master | 2021-01-10T03:07:34.383596 | 2015-12-13T02:30:36 | 2015-12-13T02:30:36 | 45,090,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | /*
用库函数bsearch重写HTML查询函数
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
typedef struct Nameval Nameval;
struct Nameval {
char *name;
int value;
};
Nameval htmlchars[] = {
"AA", 0x00c6,
"AB", 0x00c1,
"AC", 0x00c2,
"BA", 0x11b1,
"BB", 0x11b2,
"BC", 0x11b3
};
#define NELEMS(array) (sizeof(array) / sizeof(array[0]))
int nvcmp(const void *va, const void *vb);
int lookup(char *name, Nameval tab[], int ntab)
{
Nameval key, *np;
key.name = name;
key.value = 0;
// 返回一个指针指向检索到的元素,如果没有检索到元素,bsearch返回NULL
np = (Nameval *)bsearch(&key, tab, ntab, sizeof(tab[0]), nvcmp);
if (np == NULL)
return -1;
else
return np-tab;
}
int nvcmp(const void *va, const void *vb)
{
const Nameval *a, *b;
a = (Nameval *)va;
b = (Nameval *)vb;
return strcmp(a->name, b->name);
}
int main()
{
char str[256];
gets(str);
int index = lookup(str, htmlchars, NELEMS(htmlchars));
if (index >= 0)
printf("Found %s", htmlchars[index].name);
else
printf("Not found %s", str);
getch();
return 0;
}
| [
"[email protected]"
] | |
7bf383268cf9227e0c8946f065f0a2a70e3a6c81 | caf4d7d62b0910034936a949b02863254076b6e2 | /example/src/ofApp.h | bd5f8c44723c93c368ef8c45648da472e0412df0 | [
"MIT"
] | permissive | tado/ofxARtoolkitPlus | 3f9d5a82b882138fed71569bfa0ee42c89440f03 | 4a4ef41caadc5d49e754529e5a609b80dfba1fec | refs/heads/master | 2022-11-14T05:30:33.959628 | 2020-07-06T06:50:31 | 2020-07-06T06:50:31 | 277,459,726 | 0 | 0 | null | 2020-07-06T06:23:58 | 2020-07-06T06:23:57 | null | UTF-8 | C++ | false | false | 1,055 | h | #include "ofxOpenCv.h"
#include "ofxARToolkitPlus.h"
#include "ofMain.h"
// Uncomment this to use a camera instead of a video file
#define CAMERA_CONNECTED
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);
/* Size of the image */
int width, height;
/* Use either camera or a video file */
#ifdef CAMERA_CONNECTED
ofVideoGrabber vidGrabber;
#else
ofVideoPlayer vidPlayer;
#endif
/* ARToolKitPlus class */
ofxARToolkitPlus artk;
int threshold;
/* OpenCV images */
ofxCvColorImage colorImage;
ofxCvGrayscaleImage grayImage;
ofxCvGrayscaleImage grayThres;
/* Image to distort on to the marker */
ofImage displayImage;
/* The four corners of the image */
vector<ofPoint> displayImageCorners;
}; | [
"[email protected]"
] | |
bf844ecf4095902f9d6bd363f534079a13399082 | 5d3cdcda13754499710e4057a47adb153ba118dd | /arduino/device2/lib/dht22/DHT22.cpp | a876df7d227630d8aff9ec297c3d2c82929f0004 | [] | no_license | kzub/vent2 | 034155da12892fde32d954ad8a2578a648d54692 | f77c041ec389e55c264c4ccf23347600537b23d2 | refs/heads/master | 2021-01-20T00:27:47.460795 | 2018-12-25T12:10:49 | 2018-12-25T12:10:49 | 89,133,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,382 | cpp | #include "DHT22.h"
#include <Arduino.h>
#include <pins_arduino.h>
extern "C" {
#include <avr/interrupt.h>
#include <avr/io.h>
#include <avr/pgmspace.h>
}
namespace DHT22 {
#define DIRECT_READ(base, mask) (((*(base)) & (mask)) ? 1 : 0)
#define DIRECT_MODE_INPUT(base, mask) ((*(base + 1)) &= ~(mask))
#define DIRECT_MODE_OUTPUT(base, mask) ((*(base + 1)) |= (mask))
// #define DIRECT_WRITE_HIGH(base, mask) ((*(base + 2)) |= (mask))
#define DHT22_DATA_BIT_COUNT 40
Sensor::Sensor(uint8_t pin) : pin(pin) {
pinMode(pin, INPUT);
bitmask = digitalPinToBitMask(pin);
reg = portInputRegister(digitalPinToPort(pin));
lastReadTime = millis();
lastHumidity = DHT22_ERROR_VALUE;
lastTemperature = DHT22_ERROR_VALUE;
}
//
// Read the 40 bit data stream from the DHT 22
// Store the results in private member data to be read by public member functions
Error Sensor::readData() {
unsigned long currentTime = millis();
if (abs(currentTime - lastReadTime) < DHT22_READ_INTERVAL) {
return Error(ErrorCode::TOO_QUICK);
}
lastReadTime = currentTime;
// Pin needs to start HIGH, wait until it is HIGH with a timeout
cli();
DIRECT_MODE_INPUT(reg, bitmask);
sei();
// wait for bus be ready
auto res = waitForHigh(250, ErrorCode::BUS_HUNG);
if (res) {
return res;
}
// Send the activate pulse
cli();
DIRECT_MODE_OUTPUT(reg, bitmask); // Output Low
sei();
delayMicroseconds(1100); // 1.1 ms
cli();
DIRECT_MODE_INPUT(reg, bitmask); // Switch back to input so pin can float
sei();
// bus release
res = waitForHigh(200, ErrorCode::NOT_PRESENT);
if (res) {
return res;
}
// ACK start
res = waitForLow(200, ErrorCode::NOT_PRESENT);
if (res) {
return res;
}
// ACK finish
res = waitForHigh(150, ErrorCode::ACK_TOO_LONG);
if (res) {
return res;
}
// first data byte
res = waitForLow(150, ErrorCode::ACK_TOO_LONG);
if (res) {
return res;
}
// Read the 40 bit data stream
uint8_t bitTimes[DHT22_DATA_BIT_COUNT];
memset(bitTimes, 0, DHT22_DATA_BIT_COUNT);
for (int i = 0; i < DHT22_DATA_BIT_COUNT; i++) {
res = waitForLow(100, ErrorCode::SYNC_TIMEOUT);
if (res) {
return res;
}
res = waitForHigh(100, ErrorCode::SYNC_TIMEOUT);
if (res) {
return res;
}
res = measureHigh(100, ErrorCode::DATA_TIMEOUT, bitTimes[i]);
if (res) {
return res;
}
}
int currentHumidity = 0;
int currentTemperature = 0;
uint8_t checkSum = 0;
uint8_t measurePoint = 30 / DHT22_CHECK_STEP_US;
// Now bitTimes have the number of retries (us *2)
// that were needed to find the end of each data bit
// Spec: 0 is 22 to 30 us
// Spec: 1 is 75 us
// bitTimes[x] <= 30 is a 0
// bitTimes[x] > 30 is a 1
// Note: the bits are offset by one from the data sheet, not sure why
for (int i = 0; i < 16; i++) {
if (bitTimes[i] > measurePoint) {
currentHumidity |= (1 << (15 - i));
}
}
for (int i = 0; i < 16; i++) {
if (bitTimes[i + 16] > measurePoint) {
currentTemperature |= (1 << (15 - i));
}
}
for (int i = 0; i < 8; i++) {
if (bitTimes[i + 32] > measurePoint) {
checkSum |= (1 << (7 - i));
}
}
lastHumidity = currentHumidity & 0x7FFF;
if (currentTemperature & 0x8000) {
// Below zero, non standard way of encoding negative numbers!
// Convert to native negative format.
lastTemperature = -(currentTemperature & 0x7FFF);
} else {
lastTemperature = currentTemperature;
}
uint8_t csPart1 = currentHumidity >> 8;
uint8_t csPart2 = currentHumidity & 0xFF;
uint8_t csPart3 = currentTemperature >> 8;
uint8_t csPart4 = currentTemperature & 0xFF;
if (checkSum == ((csPart1 + csPart2 + csPart3 + csPart4) & 0xFF)) {
return ErrorCode::NONE;
}
return ErrorCode::CHECKSUM;
}
Error Sensor::waitForHigh(uint8_t us, Error stage) {
uint8_t retryCount = 0;
uint8_t maxRetry = us / DHT22_CHECK_STEP_US;
do {
if (retryCount > maxRetry) {
return Error(stage);
}
retryCount++;
delayMicroseconds(DHT22_CHECK_STEP_US);
} while (!DIRECT_READ(reg, bitmask));
return Error(ErrorCode::NONE);
}
Error Sensor::waitForLow(uint8_t us, Error stage) {
uint8_t retryCount = 0;
uint8_t maxRetry = us / DHT22_CHECK_STEP_US;
do {
if (retryCount > maxRetry) {
return Error(stage);
}
retryCount++;
delayMicroseconds(DHT22_CHECK_STEP_US);
} while (DIRECT_READ(reg, bitmask));
return Error(ErrorCode::NONE);
}
Error Sensor::measureHigh(uint8_t us, Error stage, uint8_t &retryCount) {
retryCount = 0;
uint8_t maxRetry = us / DHT22_CHECK_STEP_US;
do {
if (retryCount > maxRetry) {
return Error(stage);
}
retryCount++;
delayMicroseconds(DHT22_CHECK_STEP_US);
} while (DIRECT_READ(reg, bitmask));
return Error(ErrorCode::NONE);
}
const char *Error::getMessage() {
switch (err) {
case ErrorCode::BUS_HUNG:
return "BUS Hung";
case ErrorCode::NOT_PRESENT:
return "Not Present";
case ErrorCode::ACK_TOO_LONG:
return "ACK time out";
case ErrorCode::SYNC_TIMEOUT:
return "Sync Timeout";
case ErrorCode::DATA_TIMEOUT:
return "Data Timeout";
case ErrorCode::TOO_QUICK:
return "Polled to quick";
case ErrorCode::CHECKSUM:
return "Wrong checksum";
default:
return "Unknown error code";
}
}
} // namespace dht22 | [
"[email protected]"
] | |
6d573efe92704baf8fee58f844dd761a8e376aa6 | cd125c31a3f1e2b6af2937b3c33d56fa2e52f9ab | /pancho_arduino/pancho_arduino.ino | ef9113f4556aa52891889a8b0a9511ca5d1cd5d3 | [] | no_license | tohigu/ProtestProtestRevolution | 442a88658c147534ede6ec495cd004130b6235d2 | 1bddd19467b7306cbe3fc8524024b76bd3a91592 | refs/heads/master | 2016-09-06T16:15:13.137296 | 2015-07-23T19:43:03 | 2015-07-23T19:43:03 | 39,454,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | ino | #define CAMERA_PIN 5
#define POT_PIN 6
#define UMBRELLA_PIN 2 // (analog)
// CAMERA
boolean currCamera = false;
boolean lastCamera = false; // to detect state changes
// POT
boolean currPot = false;
boolean lastPot = false;
// UMBRELLA
int umbrellaLight = 0;
int umbrellaThreshold = 220; // how much light there needs to be to be "on"/open
boolean currUmbrella = false;
boolean lastUmbrella = false;
void setup() {
Serial.begin(9600);
pinMode(CAMERA_PIN, INPUT_PULLUP);
pinMode(POT_PIN, INPUT_PULLUP);
Serial.println("ready to revolt");
}
void loop() {
// get current states
currCamera = digitalRead(CAMERA_PIN);
currPot = digitalRead(POT_PIN);
umbrellaLight = analogRead(UMBRELLA_PIN);
// check for buttons being pressed (without repeats)
if(currCamera == LOW and lastCamera == HIGH ) {
Serial.println("Photo taken");
}
if(currPot == LOW and lastPot == HIGH) {
Serial.println("Pot bangeed");
}
// for the umbrella we check if the light crossed the threshold
// and if the last state of the umbrella was unopened/false
if(umbrellaLight > umbrellaThreshold and lastUmbrella == false) {
currUmbrella = true; // it's open now, so set state to true
Serial.println("Umbrella opened");
}
if(umbrellaLight < umbrellaThreshold) {
// if it goes under threshold just set it to unopened/false
currUmbrella = false;
}
// new states
lastCamera = currCamera;
lastPot = currPot;
lastUmbrella = currUmbrella;
//Serial.println(analogRead(2)); //Write the value of the photoresistor to the serial monitor.
delay(40);
}
| [
"[email protected]"
] | |
9ca234b3564a1a888ff225c74d0c419d886ca347 | af872e29031275ed185ddfc73cc695252c3ddadc | /bfs.cpp | 3c6e8180ad00fd66b7eff157a5c5c3460ea25185 | [] | no_license | vaspatrik/parallel-bfs | bfb3be5aa7523031cb14b676d0402868f929fc33 | 7cde207256e162ef6c0f3bb914de6baa8fc75d70 | refs/heads/master | 2021-08-14T07:10:00.072007 | 2017-11-14T23:43:17 | 2017-11-14T23:43:17 | 109,326,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,921 | cpp |
#include "MsPbfs.h"
//#include <lemon/bfs.h>
const std::size_t sourceNum = 3;
template <unsigned int bitsetSize>
void printNodeFound(std::size_t level, std::size_t nodeId, std::size_t maxNodeId, std::bitset<bitsetSize> foundIn)
{
std::cout << nodeId << " is found on level\t" << level << "\tin the following BFS(s):\t"; // we want to reverse ids so we see those of the original graph
//std::cout << nodeId + 1 << " is found on level\t" << level << "\tin the following BFS(s):\t";
for(std::size_t i = 0; i < foundIn.size(); ++i)
{
if(foundIn[i])
{
std::cout << i + 1 << " ";
}
}
std::cout << std::endl;
}
template <unsigned int bitsetSize>
void TopDownMsBfs(const ListGraph& g, const std::vector<Node>& sources, std::function<PrintFunctionType<bitsetSize>> callback)
{
// during the loop we always use the previous 'next' as the new 'frontier'. To avoid data copying we are simply swapping two maps in each iteration.
ListGraph::NodeMap<Label<bitsetSize>> map1(g, 0); // we use map1 as the frontier at first
ListGraph::NodeMap<Label<bitsetSize>> map2(g, 0);
ListGraph::NodeMap<Label<bitsetSize>> seen(g, 0);
// initializing start nodes
for(std::size_t i = 0; i < sources.size(); ++i)
{
Node s = sources[i];
map1[s][i] = 1; // set frontier for sources
seen[s][i] = 1; // set seen for sources
}
bool foundNewNode = true;
std::size_t iterationNum = 1;
while(foundNewNode)
{
// these parts were omitted from the paper:
// condition for the loop: we check whether we found any new nodes last time (if not then we can have at most one additional round but still way cheaper than checking each bit in each round) - this is a small deviation from the original algorithm
// we have to use the previous 'next' as the new 'frontier'
// have to set all 'next' values to 0
foundNewNode = false;
ListGraph::NodeMap<Label<bitsetSize>>& frontier = (iterationNum % 2 == 1 ? map1 : map2);
ListGraph::NodeMap<Label<bitsetSize>>& next = (iterationNum % 2 == 0 ? map1 : map2);
for(typename ListGraph::NodeIt v(g); v != INVALID; ++v)
{
next[v].reset();
}
// body of the algorithm (Listing 1)
for (typename ListGraph::NodeIt v(g); v != INVALID; ++v)
{
if(frontier[v].none())
{
continue;
}
for (ListGraph::IncEdgeIt e(g, v); e!=INVALID; ++e) //iterating edges starting from v
{
Node neighbour = g.runningNode(e); // 'other' end of edge (ie neighbours)
next[neighbour] |= frontier[v];
}
}
for (typename ListGraph::NodeIt v(g); v != INVALID; ++v)
{
if(next[v].none())
{
continue;
}
next[v] &= ~(seen[v]);
seen[v] |= next[v];
if(next[v].any())
{
callback(iterationNum, g.id(v), g.maxNodeId(), next[v]);
foundNewNode = true;
}
}
++iterationNum;
}
}
template <unsigned int bitsetSize>
void BottomUpMsBfs(const ListGraph& g, const std::vector<Node>& sources, std::function<PrintFunctionType<bitsetSize>> callback)
{
// during the loop we always use the previous 'next' as the new 'frontier'. To avoid data copying we are simply swapping two maps in each iteration.
ListGraph::NodeMap<Label<bitsetSize>> map1(g, 0); // we use map1 as the frontier at first
ListGraph::NodeMap<Label<bitsetSize>> map2(g, 0);
ListGraph::NodeMap<Label<bitsetSize>> seen(g, 0);
// initializing start nodes
for(std::size_t i = 0; i < sources.size(); ++i)
{
Node s = sources[i];
map1[s][i] = 1; // set frontier for sources
seen[s][i] = 1; // set seen for sources
}
bool foundNewNode = true;
std::size_t iterationNum = 1;
while(foundNewNode)
{
foundNewNode = false;
ListGraph::NodeMap<Label<bitsetSize>>& frontier = (iterationNum % 2 == 1 ? map1 : map2);
ListGraph::NodeMap<Label<bitsetSize>>& next = (iterationNum % 2 == 0 ? map1 : map2);
for(typename ListGraph::NodeIt v(g); v != INVALID; ++v)
{
next[v].reset();
}
// body of the algorithm (Listing 2)
for (typename ListGraph::NodeIt v(g); v != INVALID; ++v)
{
if(seen[v].all())
{
continue;
}
for (ListGraph::IncEdgeIt e(g, v); e!=INVALID; ++e) //iterating edges starting from v
{
Node neighbour = g.runningNode(e); // 'other' end of edge (ie neighbours)
next[v] |= frontier[neighbour];
}
next[v] &= ~(seen[v]);
seen[v] |= next[v];
if(next[v].any())
{
callback(iterationNum, g.id(v), g.maxNodeId(), next[v]);
foundNewNode = true;
}
}
++iterationNum;
}
}
template <unsigned int bitsetSize>
void TopDownMsPBfs(const ListGraph& g, const std::vector<Node>& sources, std::function<PrintFunctionType<bitsetSize>> callback)
{
MsBfs<sourceNum> msbfs(g);
msbfs.topDownMsPbfs(sources, callback);
}
template <unsigned int bitsetSize>
void BottomUpMsPBfs(const ListGraph& g, const std::vector<Node>& sources, std::function<PrintFunctionType<bitsetSize>> callback)
{
MsBfs<sourceNum> msbfs(g);
msbfs.bottomUpMsPbfs(sources, callback);
}
// @param file name to lgf file
int main(int argc, char** argv)
{
if(argc != 2)
{
std::cout << "Usage: executable_name.exe path_and_filename_to_input_graph";
exit(1);
}
// read in and initialize graph structure (graph, sources, node labels)
// note: sources are marked in lgf file (source1, source2, source3, ...)
ListGraph readInGraph;
std::vector<Node> sources(sourceNum);
GraphReader<ListGraph> reader(readInGraph, argv[1]);
for(std::size_t i = 1; i <= sourceNum; ++i)
{
std::string attributeName = "source" + std::to_string(i);
reader.node(attributeName, sources[i - 1]); // read ith source into sources
}
reader.run();
std::cout << "TopDownMsBfs: " << std::endl;
// Top-down MS-BFS
{ // cannot delete NodeMap from graphs so we copy the whole graph each time so that we can label it anew
ListGraph g;
GraphCopy<ListGraph, ListGraph>(readInGraph, g).run();
std::function<PrintFunctionType<sourceNum>> callback = printNodeFound<sourceNum>;
TopDownMsBfs<sourceNum>(g, sources, callback);
}
std::cout << "BottomUpMsBfs: " << std::endl;
// Bottom Up MS-BFS
{
ListGraph g;
GraphCopy<ListGraph, ListGraph>(readInGraph, g).run();
std::function<PrintFunctionType<sourceNum>> callback = printNodeFound<sourceNum>;
BottomUpMsBfs<sourceNum>(g, sources, callback);
}
std::cout << std::endl;
std::cout << "TopDownMsPBfs: " << std::endl;
{
ListGraph g;
GraphCopy<ListGraph, ListGraph>(readInGraph, g).run();
std::function<PrintFunctionType<sourceNum>> callback = printNodeFound<sourceNum>;
TopDownMsPBfs<sourceNum>(g, sources, callback);
}
std::cout << "BottomUpMsPBfs: " << std::endl;
{
ListGraph g;
GraphCopy<ListGraph, ListGraph>(readInGraph, g).run();
std::function<PrintFunctionType<sourceNum>> callback = printNodeFound<sourceNum>;
BottomUpMsPBfs<sourceNum>(g, sources, callback);
}
return 0;
} | [
"[email protected]"
] | |
0c084229cef059ff7fe89ebff5142d0242ccee3f | 77d2d17912a66e229df226fee9eb54b8eea3e699 | /main.cpp | 15c5f570e7cb9cd0ee300b06b7a4bb50e70e7be8 | [] | no_license | roc-n/Ubuntu16_first_repository | 3208e6e061d6560639b4e4124ad907589aebfc3d | 099c59fcf6d3ebccc1380eaf28b06541cd804d9a | refs/heads/master | 2023-01-09T05:47:39.677430 | 2020-11-14T11:42:54 | 2020-11-14T11:42:54 | 312,804,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | #include <iostream>
#include "stack.h"
int main() {
as dd = {0, 0, nullptr};
dd.a = 100;
std::cout << "Hello, World!" << std::endl;
std::cout << dd.a << std::endl;
std::cin >> dd.a;
std::cout << dd.a << std::endl;
return 0;
}
| [
"[email protected]"
] | |
6cfef662a35ec05ed68d0429789930f2de421272 | 49fe0876511164cc4561c5b0e34c83623cf5d64e | /ReactCommon/fabric/core/conversions.h | 9a9c4495e254127afb92f86988b967a6a15a0eba | [
"CC-BY-4.0",
"CC-BY-NC-SA-4.0",
"MIT",
"CC-BY-SA-4.0"
] | permissive | vikr01/react-native | 73d39c1830619aba22cf44b3d5be19ee0437b929 | 54e8d6cdc8ba9eebfc75a435d7249f6b0449d518 | refs/heads/master | 2023-04-08T16:35:47.429039 | 2018-11-08T04:15:34 | 2018-11-08T04:17:42 | 156,657,716 | 0 | 0 | MIT | 2023-04-04T01:19:02 | 2018-11-08T06:02:01 | JavaScript | UTF-8 | C++ | false | false | 864 | h | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <fabric/core/LayoutPrimitives.h>
namespace facebook {
namespace react {
inline std::string toString(const LayoutDirection &layoutDirection) {
switch (layoutDirection) {
case LayoutDirection::Undefined:
return "undefined";
case LayoutDirection::LeftToRight:
return "ltr";
case LayoutDirection::RightToLeft:
return "rtl";
}
}
inline std::string toString(const DisplayType &displayType) {
switch (displayType) {
case DisplayType::None:
return "none";
case DisplayType::Flex:
return "flex";
case DisplayType::Inline:
return "inline";
}
}
} // namespace react
} // namespace facebook
| [
"[email protected]"
] | |
4b1267a8748cfdf11bc0fada9c4286043c500c5b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_log_8046.cpp | f7644879bbae0eee11cbbde1a5d709c6a4b2030e | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | fputs(
" If this option is used several times, the last one will be used.\n"
"\n"
" --data-ascii <data>\n"
" See -d, --data.\n"
"\n"
" --data-binary <data>\n"
" (HTTP) This posts data exactly as specified with no extra pro-\n"
" cessing whatsoever.\n"
"\n"
" If you start the data with the letter @, the rest should be a\n"
" filename. Data is posted in a similar manner as --data-ascii\n"
, stdout); | [
"[email protected]"
] | |
5d3d739d2fedc4a0220d8c0125d8487d19339fa6 | c9830f78fc17cbca1e5a2ad90aca5907566f5716 | /interfaz.cpp | f13439ba5baf78979a27966ded644e19b6b724a2 | [
"Unlicense"
] | permissive | Zeldris97/Parcial-de-laboratiorio-2 | f9b3ce9d46480b5c50f44e132d715c32717f2309 | cac7289d1e21013261bdf0f033d67793cfc3f18d | refs/heads/master | 2022-12-25T21:27:13.290073 | 2020-09-25T00:43:43 | 2020-09-25T00:43:43 | 298,428,683 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,851 | cpp | #include <iostream>
using namespace std;
#include <cstring>
#include "interfaz.h"
#include "rlutil.h"
using namespace rlutil;
void setColors(int foreColor, int backColor) {
setColor(foreColor);
setBackgroundColor(backColor);
}
void bar(int foreColor, int backColor, int y, int width) {
if (width > SCREEN_WIDTH)
width = SCREEN_WIDTH;
if (y > SCREEN_HEIGHT)
y = SCREEN_HEIGHT;
setColors(foreColor, backColor);
for (int x = 1; x <= width; x++) {
gotoxy(x, y);
cout << " ";
}
setColors(APP_FORECOLOR, APP_BACKCOLOR);
resetColor();
}
void msj(const char* mensaje, int foreColor, int backColor, int y, Orientation o) {
bar(foreColor, backColor, y, SCREEN_WIDTH);
setColors(foreColor, backColor);
//TODO: Analizar la orientación
gotoxy(1, y);
cout << mensaje;
cin.ignore();
getch();
resetColor();
bar(APP_FORECOLOR, APP_BACKCOLOR, y, SCREEN_WIDTH);
setColors(APP_FORECOLOR, APP_BACKCOLOR);
}
void title(const char* mensaje, int foreColor, int backColor) {
bar(foreColor, backColor, 1, SCREEN_WIDTH);
setColors(foreColor, backColor);
int centro = (SCREEN_WIDTH - strlen(mensaje)) / 2;
gotoxy(centro, 1);
cout << mensaje;
resetColor();
setColors(APP_FORECOLOR, APP_BACKCOLOR);
}
void delline(int line, int foreColor, int backColor) {
setColors(foreColor, backColor);
for (int x = 0; x <= SCREEN_WIDTH; x++) {
gotoxy(x, line);
cout << " ";
}
resetColor();
setColors(APP_FORECOLOR, APP_BACKCOLOR);
}
void initUI() {
#ifdef _WIN32
system("mode con: cols=80 lines=500");
SetConsoleOutputCP(1252);
SetConsoleCP(1252);
setlocale(LC_ALL, "spanish");
#else
#endif
}
| [
"[email protected]"
] | |
e75ed997b9070c041e20a7eade12e972ddbe3427 | bc7b44dfa96345c92d15951c42576d33c3ec6558 | /codeforces/938B.cpp | 0792f0d9437d6c4abbc47d3f8fe7e002e392420a | [] | no_license | cjlcarvalho/maratona | e1a29bc90701e808ff395e7452e7fffc8411fac9 | e16b95c5d831dc48a3d8c69781f757b210e66730 | refs/heads/master | 2022-02-22T13:07:53.897259 | 2022-02-12T00:42:02 | 2022-02-12T00:42:02 | 91,300,520 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include <bits/stdc++.h>
using namespace std;
int dist(int a, int b) {
return abs(a - b);
}
int main() {
int n;
cin >> n;
int vet[n];
for (int i = 0; i < n; i++) cin >> vet[i];
int you = 1, friendp = 1000000;
int result = 0;
int i = 0, j = n - 1;
while (i <= j) {
if (dist(you, vet[i]) <= dist(friendp, vet[i])) {
if (dist(friendp, vet[j]) < dist(you, vet[j])) {
result += max(dist(you, vet[i]), dist(friendp, vet[j]));
you = vet[i];
friendp = vet[j];
i++;
j--;
}
else {
result += dist(you, vet[i]);
you = vet[i];
i++;
}
}
else {
result += dist(friendp, vet[i]);
friendp = vet[i];
i++;
}
}
cout << result << endl;
return 0;
}
| [
"[email protected]"
] | |
b4cbbc88b6e918fd6b8ef850a7ad87f951f5a55b | 84496cbb5b19246ca80cee11ad30077c7f9baac0 | /zy/2.2.cpp | b7fe5e2c10a5148c3840061f370fea6204b70714 | [] | no_license | leoleoasd/oi | 27b67ab3758b7f76acaa32d023c16862b409d9bc | 0a3b37efe8819c959b605206311531fd5e3038bc | refs/heads/master | 2021-06-26T03:21:49.851232 | 2020-10-24T08:27:02 | 2020-10-24T08:27:02 | 131,392,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int gcd(int a,int b){
if(b > a){
return gcd(b,a);
}
int c = a % b;
while(c){
b = a;
a = c;
c = a % b;
}
return b;
}
int main(){
int a,b;
cin>>a>>b;
cout<<gcd(a,b);
return 0;
}
| [
"[email protected]"
] | |
6afbe8cc331b29ca69c7c5b6597abc50fe9e0482 | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /KOMPROMAT/kompvter/include/kompvter/deps/squish/maths.h | 8619273d0b124a81e5d1b58bc8361b0bcd8d5675 | [] | no_license | erinmaus/autonomaus | 8a3619f8380eae451dc40ba507b46661c5bc8247 | 9653f27f6ef0bbe14371a7077744a1fd8b97ae8d | refs/heads/master | 2022-10-01T01:24:23.028210 | 2018-05-09T21:59:26 | 2020-06-10T21:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,377 | h | /* -----------------------------------------------------------------------------
Copyright (c) 2006 Simon Brown [email protected]
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-------------------------------------------------------------------------- */
#ifndef SQUISH_MATHS_H
#define SQUISH_MATHS_H
#include <cmath>
#include <algorithm>
#include "squish/config.h"
namespace squish {
class Vec3
{
public:
typedef Vec3 const& Arg;
Vec3()
{
}
explicit Vec3( float s )
{
m_x = s;
m_y = s;
m_z = s;
}
Vec3( float x, float y, float z )
{
m_x = x;
m_y = y;
m_z = z;
}
float X() const { return m_x; }
float Y() const { return m_y; }
float Z() const { return m_z; }
Vec3 operator-() const
{
return Vec3( -m_x, -m_y, -m_z );
}
Vec3& operator+=( Arg v )
{
m_x += v.m_x;
m_y += v.m_y;
m_z += v.m_z;
return *this;
}
Vec3& operator-=( Arg v )
{
m_x -= v.m_x;
m_y -= v.m_y;
m_z -= v.m_z;
return *this;
}
Vec3& operator*=( Arg v )
{
m_x *= v.m_x;
m_y *= v.m_y;
m_z *= v.m_z;
return *this;
}
Vec3& operator*=( float s )
{
m_x *= s;
m_y *= s;
m_z *= s;
return *this;
}
Vec3& operator/=( Arg v )
{
m_x /= v.m_x;
m_y /= v.m_y;
m_z /= v.m_z;
return *this;
}
Vec3& operator/=( float s )
{
float t = 1.0f/s;
m_x *= t;
m_y *= t;
m_z *= t;
return *this;
}
friend Vec3 operator+( Arg left, Arg right )
{
Vec3 copy( left );
return copy += right;
}
friend Vec3 operator-( Arg left, Arg right )
{
Vec3 copy( left );
return copy -= right;
}
friend Vec3 operator*( Arg left, Arg right )
{
Vec3 copy( left );
return copy *= right;
}
friend Vec3 operator*( Arg left, float right )
{
Vec3 copy( left );
return copy *= right;
}
friend Vec3 operator*( float left, Arg right )
{
Vec3 copy( right );
return copy *= left;
}
friend Vec3 operator/( Arg left, Arg right )
{
Vec3 copy( left );
return copy /= right;
}
friend Vec3 operator/( Arg left, float right )
{
Vec3 copy( left );
return copy /= right;
}
friend float Dot( Arg left, Arg right )
{
return left.m_x*right.m_x + left.m_y*right.m_y + left.m_z*right.m_z;
}
friend Vec3 Min( Arg left, Arg right )
{
return Vec3(
std::min( left.m_x, right.m_x ),
std::min( left.m_y, right.m_y ),
std::min( left.m_z, right.m_z )
);
}
friend Vec3 Max( Arg left, Arg right )
{
return Vec3(
std::max( left.m_x, right.m_x ),
std::max( left.m_y, right.m_y ),
std::max( left.m_z, right.m_z )
);
}
friend Vec3 Truncate( Arg v )
{
return Vec3(
v.m_x > 0.0f ? std::floor( v.m_x ) : std::ceil( v.m_x ),
v.m_y > 0.0f ? std::floor( v.m_y ) : std::ceil( v.m_y ),
v.m_z > 0.0f ? std::floor( v.m_z ) : std::ceil( v.m_z )
);
}
private:
float m_x;
float m_y;
float m_z;
};
inline float LengthSquared( Vec3::Arg v )
{
return Dot( v, v );
}
class Sym3x3
{
public:
Sym3x3()
{
}
Sym3x3( float s )
{
for( int i = 0; i < 6; ++i )
m_x[i] = s;
}
float operator[]( int index ) const
{
return m_x[index];
}
float& operator[]( int index )
{
return m_x[index];
}
private:
float m_x[6];
};
Sym3x3 ComputeWeightedCovariance( int n, Vec3 const* points, float const* weights );
Vec3 ComputePrincipleComponent( Sym3x3 const& matrix );
} // namespace squish
#endif // ndef SQUISH_MATHS_H
| [
"[email protected]"
] | |
166c329932d96fbced9f24fbe3307c98b7b22a2b | 2bce17904e161a4bdaa2d65cefd25802bf81c85b | /codeforces/827/A/A.cc | 2fdef4cca887eaec20de3783a62797ee3a431307 | [] | no_license | lichenk/AlgorithmContest | 9c3e26ccbe66d56f27e574f5469e9cfa4c6a74a9 | 74f64554cb05dc173b5d44b8b67394a0b6bb3163 | refs/heads/master | 2020-03-24T12:52:13.437733 | 2018-08-26T01:41:13 | 2018-08-26T01:41:13 | 142,727,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,909 | cc | #include <bits/stdc++.h>
#include <assert.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define PB push_back
#define MP make_pair
#define MOD 1000000007LL
#define endl "\n"
#define fst first
#define snd second
const ll UNDEF = -1;
const ll INF=1e18;
template<typename T> inline bool chkmax(T &aa, T bb) { return aa < bb ? aa = bb, true : false; }
template<typename T> inline bool chkmin(T &aa, T bb) { return aa > bb ? aa = bb, true : false; }
typedef pair<ll,ll> pll;
typedef vector<ll> vll;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
#define DEBUG_CAT
#ifdef DEBUG_CAT
#define dbg(...) printf( __VA_ARGS__ )
#else
#define dbg(...) /****nothing****/
#endif
int rint()
{
int x; scanf("%d",&x); return x;
}
char rch()
{
char x; scanf("%c",&x); return x;
}
const int mn=2e6+4;
int _idx=0;
char _prealloc[mn];
char * alloc(int sz) {
char *ans=_prealloc+_idx;
_idx+=sz;
return ans;
}
char *t[mn];
char tmp[mn];
pii tab[mn];
char vfinal[mn];
int main()
{
ios_base::sync_with_stdio(false); cin.tie(0);
int n; scanf("%d",&n);
int flen=0;
for (int i=0;i<n;i++) {
int k;
scanf("%s %d",tmp,&k);
int slen=strlen(tmp);
t[i]=alloc(slen);
memcpy(t[i],tmp,slen);
for (int j=0;j<k;j++) {
int x; scanf("%d",&x);
//printf("i:%d k:%d x:%d\n",i,k,x); fflush(stdout);
--x;
chkmax(tab[x],MP(slen,i));
chkmax(flen,slen+x);
}
}
//memset(vfinal,'a',flen);
int last=-1;
for (int x=0;x<flen;x++) {
if (tab[x].fst>0&&(last==-1||tab[x].fst+x>tab[last].fst+last)) {
last=x;
}
if (last==-1) vfinal[x]='a';
else {
pii got=tab[last];
int idx=x-last;
int slen=got.fst;
//printf("x:%d idx:%d got.snd:%d %c\n",x,idx,got.snd,t[got.snd][idx]);
if (idx>=slen) vfinal[x]='a';
else vfinal[x]=t[got.snd][idx];
}
}
printf("%s\n",vfinal);
} | [
"Li Chen Koh"
] | Li Chen Koh |
c1265d9465b2fba27da6095b6e4c1071133e33d7 | bc71140d481370d14e29ef3d9f3fc650089942fc | /nstim.mod.old/samples/dx9_primitive_types/dx9_primitive_types.cpp | 93aec713382e1215ec6e7f4ab9aa93bff0426a49 | [] | no_license | thangduong/optical_imaging | ca65682ec0633b8271098ca3e56d840774adfedf | bc8b4e49c44e5484a6f21c63658ad15929d0ae63 | refs/heads/master | 2021-09-15T13:47:37.153018 | 2018-03-10T00:18:56 | 2018-03-10T00:18:56 | 124,606,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,883 | cpp | //-----------------------------------------------------------------------------
// Name: dx9_primitive_types.cpp
// Author: Kevin Harris ([email protected])
// Last Modified: 10/04/04
// Description: This sample demonstrates how to properly use all the
// primitive types available under Direct3D.
//
// The primitive types are:
//
// D3DPT_POINTLIST
// D3DPT_LINELIST
// D3DPT_LINESTRIP
// D3DPT_TRIANGLELIST
// D3DPT_TRIANGLESTRIP
// D3DPT_TRIANGLEFAN
//
// Control Keys: F1 - Switch the primitive type to be rendered.
// F2 - Toggle wire-frame mode.
//-----------------------------------------------------------------------------
#define WIN32_LEAN_AND_MEAN
#include <d3dx9.h>
#include <mmsystem.h>
#include "resource.h"
//-----------------------------------------------------------------------------
// GLOBALS
//-----------------------------------------------------------------------------
HWND g_hWnd = NULL;
LPDIRECT3D9 g_pD3D = NULL;
LPDIRECT3DDEVICE9 g_pd3dDevice = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pPointList_VB = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pLineStrip_VB = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pLineList_VB = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pTriangleList_VB = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pTriangleStrip_VB = NULL;
LPDIRECT3DVERTEXBUFFER9 g_pTriangleFan_VB = NULL;
#define D3DFVF_MY_VERTEX ( D3DFVF_XYZ | D3DFVF_DIFFUSE )
struct Vertex
{
float x, y, z; // Position of vertex in 3D space
DWORD color; // Color of vertex
};
bool g_bRenderInWireFrame = false;
D3DPRIMITIVETYPE g_currentPrimitive = D3DPT_TRIANGLEFAN;
//
// We'll store the vertex data in simple arrays until we're ready to load
// them into actual Direct3D Vertex Buffers. Seeing the vertices laid out
// like this should make it easier to understand how vertices need to be
// passed to be considered valid for each primitive type.
//
Vertex g_pointList[] =
{
{ 0.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{ 0.5f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{-0.5f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
{ 0.0f,-0.5f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 1.0, 0.0, 1.0 ) },
{ 0.0f, 0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 1.0, 1.0 ) },
};
Vertex g_lineList[] =
{
{-1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) }, // Line #1
{ 0.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{ 0.5f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) }, // Line #2
{ 0.5f, -1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{ 1.0f, -0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) }, // Line #3
{-1.0f, -0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
};
Vertex g_lineStrip[] =
{
{ 0.5f, 0.5f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{ 1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{ 0.0f,-1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
{-1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 1.0, 0.0, 1.0 ) },
{ 0.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 1.0, 1.0 ) },
{ 0.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
};
Vertex g_triangleList[] =
{
{-1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) }, // Triangle #1
{ 0.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{ 1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
{-0.5f,-1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 1.0, 0.0, 1.0 ) }, // Triangle #2
{ 0.0f,-0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 1.0, 1.0 ) },
{ 0.5f,-1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
};
Vertex g_triangleStrip[] =
{
{-2.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{-1.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{-1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
{ 0.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 1.0, 0.0, 1.0 ) },
{ 0.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 1.0, 1.0 ) },
{ 1.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 1.0, 1.0 ) },
{ 1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{ 2.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) }
};
Vertex g_triangleFan[] =
{
{ 0.0f,-1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 0.0, 1.0 ) },
{-1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 0.0, 1.0 ) },
{-0.5f, 0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 0.0, 1.0, 1.0 ) },
{ 0.0f, 1.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 1.0, 0.0, 1.0 ) },
{ 0.5f, 0.5f, 0.0f, D3DCOLOR_COLORVALUE( 0.0, 1.0, 1.0, 1.0 ) },
{ 1.0f, 0.0f, 0.0f, D3DCOLOR_COLORVALUE( 1.0, 0.0, 1.0, 1.0 ) }
};
//-----------------------------------------------------------------------------
// PROTOTYPES
//-----------------------------------------------------------------------------
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow);
LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
void init(void);
void shutDown(void);
void render(void);
//-----------------------------------------------------------------------------
// Name: WinMain()
// Desc: The application's entry point
//-----------------------------------------------------------------------------
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow )
{
WNDCLASSEX winClass;
MSG uMsg;
memset(&uMsg,0,sizeof(uMsg));
winClass.lpszClassName = "MY_WINDOWS_CLASS";
winClass.cbSize = sizeof(WNDCLASSEX);
winClass.style = CS_HREDRAW | CS_VREDRAW;
winClass.lpfnWndProc = WindowProc;
winClass.hInstance = hInstance;
winClass.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_DIRECTX_ICON);
winClass.hIconSm = LoadIcon(hInstance, (LPCTSTR)IDI_DIRECTX_ICON);
winClass.hCursor = LoadCursor(NULL, IDC_ARROW);
winClass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
winClass.lpszMenuName = NULL;
winClass.cbClsExtra = 0;
winClass.cbWndExtra = 0;
if( !RegisterClassEx(&winClass) )
return E_FAIL;
g_hWnd = CreateWindowEx( NULL, "MY_WINDOWS_CLASS",
"Direct3D (DX9) - Primitve Types",
WS_OVERLAPPEDWINDOW | WS_VISIBLE,
0, 0, 640, 480, NULL, NULL, hInstance, NULL );
if( g_hWnd == NULL )
return E_FAIL;
ShowWindow( g_hWnd, nCmdShow );
UpdateWindow( g_hWnd );
init();
while( uMsg.message != WM_QUIT )
{
if( PeekMessage( &uMsg, NULL, 0, 0, PM_REMOVE ) )
{
TranslateMessage( &uMsg );
DispatchMessage( &uMsg );
}
else
render();
}
shutDown();
UnregisterClass( "MY_WINDOWS_CLASS", winClass.hInstance );
return uMsg.wParam;
}
//-----------------------------------------------------------------------------
// Name: WindowProc()
// Desc: The window's message handler
//-----------------------------------------------------------------------------
LRESULT CALLBACK WindowProc( HWND hWnd,
UINT msg,
WPARAM wParam,
LPARAM lParam )
{
switch( msg )
{
case WM_KEYDOWN:
{
switch( wParam )
{
case VK_ESCAPE:
PostQuitMessage(0);
break;
case VK_F1:
{
if( g_currentPrimitive == D3DPT_POINTLIST )
g_currentPrimitive = D3DPT_LINELIST;
else if( g_currentPrimitive == D3DPT_LINELIST )
g_currentPrimitive = D3DPT_LINESTRIP;
else if( g_currentPrimitive == D3DPT_LINESTRIP )
g_currentPrimitive = D3DPT_TRIANGLELIST;
else if( g_currentPrimitive == D3DPT_TRIANGLELIST )
g_currentPrimitive = D3DPT_TRIANGLESTRIP;
else if( g_currentPrimitive == D3DPT_TRIANGLESTRIP )
g_currentPrimitive = D3DPT_TRIANGLEFAN;
else if( g_currentPrimitive == D3DPT_TRIANGLEFAN )
g_currentPrimitive = D3DPT_POINTLIST;
}
break;
case VK_F2:
g_bRenderInWireFrame = !g_bRenderInWireFrame;
if( g_bRenderInWireFrame == true )
g_pd3dDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
else
g_pd3dDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_SOLID );
}
}
break;
case WM_CLOSE:
{
PostQuitMessage(0);
}
case WM_DESTROY:
{
PostQuitMessage(0);
}
break;
default:
{
return DefWindowProc( hWnd, msg, wParam, lParam );
}
break;
}
return 0;
}
//-----------------------------------------------------------------------------
// Name: init()
// Desc: Initializes Direct3D under DirectX 9.0
//-----------------------------------------------------------------------------
void init( void )
{
g_pD3D = Direct3DCreate9( D3D_SDK_VERSION );
D3DDISPLAYMODE d3ddm;
g_pD3D->GetAdapterDisplayMode( D3DADAPTER_DEFAULT, &d3ddm );
D3DPRESENT_PARAMETERS d3dpp;
ZeroMemory( &d3dpp, sizeof(d3dpp) );
d3dpp.Windowed = TRUE;
d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
d3dpp.BackBufferFormat = d3ddm.Format;
d3dpp.EnableAutoDepthStencil = TRUE;
d3dpp.AutoDepthStencilFormat = D3DFMT_D16;
d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
g_pD3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, g_hWnd,
D3DCREATE_SOFTWARE_VERTEXPROCESSING,
&d3dpp, &g_pd3dDevice );
g_pd3dDevice->SetRenderState(D3DRS_LIGHTING, FALSE);
g_pd3dDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE);
D3DXMATRIX mProjection;
D3DXMatrixPerspectiveFovLH( &mProjection, D3DXToRadian( 45.0f ), 1.0f, 1.0f, 100.0f );
g_pd3dDevice->SetTransform( D3DTS_PROJECTION, &mProjection );
Vertex *pVertices = NULL;
//
// Point List
//
g_pd3dDevice->CreateVertexBuffer( 5*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pPointList_VB,
NULL );
pVertices = NULL;
g_pPointList_VB->Lock( 0, sizeof(g_pointList), (void**)&pVertices, 0 );
memcpy( pVertices, g_pointList, sizeof(g_pointList) );
g_pPointList_VB->Unlock();
//
// Line List
//
g_pd3dDevice->CreateVertexBuffer( 6*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pLineList_VB,
NULL );
pVertices = NULL;
g_pLineList_VB->Lock( 0, sizeof(g_lineList), (void**)&pVertices, 0 );
memcpy( pVertices, g_lineList, sizeof(g_lineList) );
g_pLineList_VB->Unlock();
//
// Line Strip
//
g_pd3dDevice->CreateVertexBuffer( 6*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pLineStrip_VB,
NULL );
pVertices = NULL;
g_pLineStrip_VB->Lock( 0, sizeof(g_lineStrip), (void**)&pVertices, 0 );
memcpy( pVertices, g_lineStrip, sizeof(g_lineStrip) );
g_pLineStrip_VB->Unlock();
//
// Triangle List
//
g_pd3dDevice->CreateVertexBuffer( 6*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pTriangleList_VB,
NULL );
pVertices = NULL;
g_pTriangleList_VB->Lock( 0, sizeof(g_triangleList), (void**)&pVertices, 0 );
memcpy( pVertices, g_triangleList, sizeof(g_triangleList) );
g_pTriangleList_VB->Unlock();
//
// Triangle Strip
//
g_pd3dDevice->CreateVertexBuffer( 8*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pTriangleStrip_VB,
NULL );
pVertices = NULL;
g_pTriangleStrip_VB->Lock( 0, sizeof(g_triangleStrip), (void**)&pVertices, 0 );
memcpy( pVertices, g_triangleStrip, sizeof(g_triangleStrip) );
g_pTriangleStrip_VB->Unlock();
//
// Triangle Fan
//
g_pd3dDevice->CreateVertexBuffer( 6*sizeof(Vertex), 0, D3DFVF_MY_VERTEX,
D3DPOOL_DEFAULT, &g_pTriangleFan_VB,
NULL );
pVertices = NULL;
g_pTriangleFan_VB->Lock( 0, sizeof(g_triangleFan), (void**)&pVertices, 0 );
memcpy( pVertices, g_triangleFan, sizeof(g_triangleFan) );
g_pTriangleFan_VB->Unlock();
}
//-----------------------------------------------------------------------------
// Name: shutDown()
// Desc: Release all Direct3D resources.
//-----------------------------------------------------------------------------
void shutDown( void )
{
if( g_pPointList_VB != NULL )
g_pPointList_VB->Release();
if( g_pLineList_VB != NULL )
g_pLineList_VB->Release();
if( g_pLineStrip_VB != NULL )
g_pLineStrip_VB->Release();
if( g_pTriangleList_VB != NULL )
g_pTriangleList_VB->Release();
if( g_pTriangleStrip_VB != NULL )
g_pTriangleStrip_VB->Release();
if( g_pTriangleFan_VB != NULL )
g_pTriangleFan_VB->Release();
if( g_pd3dDevice != NULL )
g_pd3dDevice->Release();
if( g_pD3D != NULL )
g_pD3D->Release();
}
//-----------------------------------------------------------------------------
// Name: render()
// Desc: Render or draw our scene to the monitor.
//-----------------------------------------------------------------------------
void render( void )
{
g_pd3dDevice->Clear( 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER,
D3DCOLOR_COLORVALUE(0.0f,0.0f,0.0f,1.0f), 1.0f, 0 );
g_pd3dDevice->BeginScene();
D3DXMATRIX mWorld;
D3DXMatrixTranslation( &mWorld, 0.0f, 0.0f, 5.0f );
g_pd3dDevice->SetTransform( D3DTS_WORLD, &mWorld );
switch( g_currentPrimitive )
{
case D3DPT_POINTLIST:
g_pd3dDevice->SetStreamSource( 0, g_pPointList_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_POINTLIST, 0, 5 );
break;
case D3DPT_LINELIST:
g_pd3dDevice->SetStreamSource( 0, g_pLineList_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_LINELIST, 0, 3);
break;
case D3DPT_LINESTRIP:
g_pd3dDevice->SetStreamSource( 0, g_pLineStrip_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_LINESTRIP, 0, 5);
break;
case D3DPT_TRIANGLELIST:
g_pd3dDevice->SetStreamSource( 0, g_pTriangleList_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_TRIANGLELIST, 0, 2 );
break;
case D3DPT_TRIANGLESTRIP:
g_pd3dDevice->SetStreamSource( 0, g_pTriangleStrip_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_TRIANGLESTRIP, 0, 6 );
break;
case D3DPT_TRIANGLEFAN:
g_pd3dDevice->SetStreamSource( 0, g_pTriangleFan_VB, 0, sizeof(Vertex) );
g_pd3dDevice->SetFVF( D3DFVF_MY_VERTEX );
g_pd3dDevice->DrawPrimitive( D3DPT_TRIANGLEFAN, 0, 4 );
break;
default:
break;
}
g_pd3dDevice->EndScene();
g_pd3dDevice->Present( NULL, NULL, NULL, NULL );
}
| [
"[email protected]"
] | |
06017e01fb6baa692960703f0b7d9456f9bd90d3 | a2ed4438988908c5e4f878c65ab99a6dcab0795d | /rsa3d/geometry/xenocollide/Collide.h | 58e23540d3a35f56e5c20bf81ec4ea2aa1e1c662 | [] | no_license | misiekc/rsa3d | 8cc3489db30533ba8578b839a416804037ad1db4 | 061ea987f824ccbe8092f2d2007ec826f1cb9aaa | refs/heads/master | 2023-01-19T14:36:55.355276 | 2023-01-11T08:14:39 | 2023-01-11T08:14:39 | 84,184,125 | 2 | 2 | null | 2017-04-04T08:28:58 | 2017-03-07T10:05:51 | C++ | UTF-8 | C++ | false | false | 2,009 | h | /*
XenoCollide Collision Detection and Physics Library
Copyright (c) 2007-2014 Gary Snethen http://xenocollide.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising
from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product documentation
would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/*
* Adapted by Michał Cieśla
*/
#pragma once
#include "../Vector.h"
#include "CollideGeometry.h"
#include "Quat.h"
//////////////////////////////////////////////////////////////////////////////
// This file (and its associated *.cpp file) contain the implementation of
// the XenoCollide algorithm.
class Collide{
private:
static inline void Swap(Vector<3>& a, Vector<3>& b);
public:
//////////////////////////////////////////////////////////////////////////////
// Intersect() is the simplest XenoCollide routine. It returns true if two
// CollideGeometry objects overlap, or false if they do not.
static bool Intersect(CollideGeometry& p1, const Quat& q1, const Vector<3>& t1, CollideGeometry& p2, const Quat& q2, const Vector<3>& t2, double boundaryTolerance);
//////////////////////////////////////////////////////////////////////////////
// TransformSupportVert() finds the support point for a rotated and/or
// translated CollideGeometry.
static Vector<3> TransformSupportVert( CollideGeometry& p, const Quat& q, const Vector<3>& t, const Vector<3>& n );
};
| [
"[email protected]"
] | |
df17cf9348df7d72d860452b11ea292ad95fa081 | e8940f26b6102d8db7464f05b0764d93865bde1c | /fragment/utily_from_osquery/getFileVersion.cpp | 1cf558ec1672fc0eb7b44df840a682a2aeb0e96c | [] | no_license | zr000/ShoppingCarrier | 5350dc54cdf7aa175e1d861666d647ee543d50cb | 1c2adcf0b7f622d52342a74abeda5b644d94545c | refs/heads/master | 2021-06-24T06:01:26.492815 | 2020-12-10T03:15:31 | 2020-12-10T03:15:31 | 146,838,314 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | Status windowsGetFileVersion(const std::string& path, std::string& rVersion) {
DWORD handle = 0;
auto verSize = GetFileVersionInfoSize(path.c_str(), &handle);
auto verInfo = std::make_unique<BYTE[]>(verSize);
if (verInfo == nullptr) {
return Status(1, "Failed to malloc for version info");
}
auto err = GetFileVersionInfo(path.c_str(), handle, verSize, verInfo.get());
if (err == 0) {
return Status(GetLastError(), "Failed to get file version info");
}
VS_FIXEDFILEINFO* pFileInfo = nullptr;
UINT verInfoSize = 0;
err = VerQueryValue(
verInfo.get(), TEXT("\\"), (LPVOID*)&pFileInfo, &verInfoSize);
if (err == 0) {
return Status(GetLastError(), "Failed to query version value");
}
rVersion =
std::to_string((pFileInfo->dwProductVersionMS >> 16 & 0xffff)) + "." +
std::to_string((pFileInfo->dwProductVersionMS >> 0 & 0xffff)) + "." +
std::to_string((pFileInfo->dwProductVersionLS >> 16 & 0xffff)) + "." +
std::to_string((pFileInfo->dwProductVersionLS >> 0 & 0xffff));
return Status();
} | [
"[email protected]"
] | |
3f5146fa0da2f6ae615a003973632982edd86fad | 0a8fdf54f29b3c3eeeb1b7016c7206d0647478ea | /rmq.cpp | 5e7f9634a65de834ed3b96e0d881ae5c159abe6e | [] | no_license | Wanwannodao/algorithms | a1dbf9aaf36912518d1e652c79358f8fe7f3514a | 5ac421eed540a9bd21a26fefaa62159f454a9318 | refs/heads/master | 2021-05-05T18:56:35.670080 | 2017-10-21T12:53:02 | 2017-10-21T12:53:02 | 103,761,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | #include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <numeric>
#include <cstdlib>
#include <queue>
#include <stack>
#include <climits>
using namespace std;
typedef long long ll;
#define pb push_back
#define rep(i, n) for (int i=0;i<(n);++i)
#define rep2(i, s, n) for (int i=s;i<(n);++i)
#define rev(i, n) for (int i=(n);i>0;--i)
#define INF (1e9+1e9)
/* SegTree
http://codeforces.com/blog/entry/18051
*/
class SegTree
{
public:
vector<int> t;
int n;
SegTree(int n) : n(n){
t.resize(n<<1); fill(t.begin(),t.end(),INT_MAX);
build();
}
void build() { rev(i,n-1) t[i] = min(t[i<<1], t[i<<1|1]); }
void modify(int p, int value) {
for(t[p += n] = value; p > 1; p >>= 1) t[p>>1] = min(t[p], t[p^1]);
}
int query(int l, int r) { // [l,r)
int res = INT_MAX;
for(l += n, r += n; l < r; l >>= 1, r >>= 1) {
if (l&1) res = min(res, t[l++]);
if (r&1) res = min(res, t[--r]);
}
return res;
}
};
int main() {
int N,Q; cin>>N>>Q;
SegTree st(N);
vector<int> C,X,Y;
rep(i,Q) {
int c,x,y; cin>>c>>x>>y;
C.pb(c); X.pb(x); Y.pb(y);
}
rep(i,Q)
if (C[i] == 0) st.modify(X[i], Y[i]);
else cout << st.query(X[i], Y[i]+1) << endl;
}
| [
"[email protected]"
] | |
b9be90c6011a81742ca5655c6e318584ca38e1ac | 83bde29f10c02a7a49b4a1a217281bde91c1acfe | /zerojudge/b683_3.cpp | 211308edd5f242b73806b51c090b85bbba009c37 | [] | no_license | topcodingwizard/code | 74a217527f79b2f2ab47f0585798d6d55b92f3c0 | 3a5d3c4d54f84e06625ee4e53b9375bae6eb8275 | refs/heads/master | 2023-09-05T15:56:31.620344 | 2021-11-15T01:07:21 | 2021-11-15T01:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | #include <bits/stdc++.h>
using namespace std;
int fa[1000];
int cnt[1000];
bool cir[1000];
int root(int x) {
if (fa[x] == x) return x;
return fa[x] = root(fa[x]);
}
void Union(int u, int v) {
u = root(u), v = root(v);
if (u == v)
cir[u] = 1;
else {
fa[v] = u;
cnt[u] += cnt[v];
cnt[v] = 0;
}
}
char G[40][40];
int encode(int x, int y) {
return x * 30 + y;
}
int main() {
int H, W;
cin >> H >> W;
for (int i = 0; i < H; i++) {
scanf("%s", G[i]);
}
for (int i = 0; i < 1000; i++) {
fa[i] = i;
cnt[i] = 1;
cir[i] = 0;
}
for (int i = 0; i < H; i++) {
for (int j = 0; j < W - 1; j++) {
if (G[i][j] == '.' && G[i][j] == G[i][j + 1])
Union(encode(i, j), encode(i, j + 1));
}
}
for (int i = 0; i < H - 1; i++) {
for (int j = 0; j < W; j++) {
if (G[i][j] == '.' && G[i][j] == G[i + 1][j])
Union(encode(i, j), encode(i + 1, j));
}
}
unsigned long long x = 0, y = 0, z = 1;
for (int i = 0; i < H; i++) {
for (int j = 0; j < W; j++) {
int id = encode(i, j);
if (fa[id] == id && cir[id] == 1) {
x++;
y += cnt[id];
z *= (unsigned long long)cnt[id];
}
}
}
cout << x << " " << y << " " << z << endl;
}
| [
"[email protected]"
] | |
d4054691752dce265a1bac5ab083c84250318360 | de6d379ae7ba4caa3352547fee932d1e818436f6 | /Test2_May_22_2019/OOPTest2/Problem2/Calculator.h | b85fb9bc6869cfc4d516894c252c13327f620dd3 | [] | no_license | startrunner/fmi-oop-homework | f17d270784d069ea2662175c64e271f64ad0d9af | bee3e901cdfb95476d98beeb8b9c31c6bbc46639 | refs/heads/master | 2020-04-30T16:50:55.467166 | 2019-05-22T08:17:29 | 2019-05-22T08:17:29 | 176,960,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,412 | h | #pragma once
#include <vector>
class NumberTransformation
{
public:
NumberTransformation() {}
virtual int transform(int number)const = 0;
virtual NumberTransformation* clone()const = 0;
virtual ~NumberTransformation() {}
};
class IdentityTransformation : public NumberTransformation
{
public:
virtual int transform(int number) const override { return number; }
virtual NumberTransformation* clone()const override
{
return new IdentityTransformation(*this);
}
};
//Any binary operation
class OperationTransformation : public NumberTransformation
{
int operand;
public:
int transform(int number)const override
{
return operate(number, operand);
}
protected:
OperationTransformation(int operand) :operand(operand) {}
OperationTransformation(const OperationTransformation &other) :operand(other.operand) {}
OperationTransformation& operator=(const OperationTransformation &other)
{
if (this == &other)return *this;
this->operand = other.operand;
return *this;
}
virtual int operate(int x, int y) const = 0;
};
class SumTransformation : public OperationTransformation
{
public:
SumTransformation() :SumTransformation(0) {}
SumTransformation(int addition) :OperationTransformation(addition) {}
SumTransformation(const SumTransformation &other) :OperationTransformation(other) {}
SumTransformation& operator =(const SumTransformation &other)
{
OperationTransformation::operator=(other);
return *this;
}
virtual NumberTransformation* clone()const override
{
return new SumTransformation(*this);
}
protected:
int operate(int x, int y)const override { return x + y; }
public:
virtual ~SumTransformation() {}
};
class ProductTransformation : public OperationTransformation
{
public:
ProductTransformation() :ProductTransformation(1) {}
ProductTransformation(int multiplier) :OperationTransformation(multiplier) {}
ProductTransformation(const ProductTransformation &other) :OperationTransformation(other) {}
ProductTransformation& operator = (const SumTransformation &other)
{
OperationTransformation::operator=(other);
return *this;
}
virtual ProductTransformation* clone()const override
{
return new ProductTransformation(*this);
}
protected:
int operate(int x, int y)const override { return x * y; }
public:
virtual ~ProductTransformation() {}
};
class Calculator
{
std::vector<NumberTransformation*> transformations;
public:
Calculator() {}
Calculator(const Calculator &other)
{
for (NumberTransformation *transformation : other.transformations)
{
transformations.push_back(transformation->clone());
}
}
Calculator& operator =(const Calculator &other)
{
if (this == &other)return *this;
for (NumberTransformation *transformation : transformations)delete transformation;
transformations.clear();
transformations.reserve(other.transformations.size());
for (NumberTransformation *transformation : other.transformations)
{
transformations.push_back(transformation->clone());
}
return *this;
}
void add(const NumberTransformation *transformation)
{
transformations.push_back(transformation->clone());
}
int calculate(int number)const
{
for (NumberTransformation *transformation : transformations)
{
number = transformation->transform(number);
}
return number;
}
virtual ~Calculator()
{
for (NumberTransformation *transformation : transformations)delete transformation;
}
}; | [
"[email protected]"
] | |
d00be8c4496b990dfb011335b03f33c3edbcdc12 | 71d2dbb8afdf5e83d5a967b64ca05aa7376acfce | /Tarea-3-Disenio-Alg/1-Camionero/main.cpp | cb36e2b5a14e435d7c519121ac45fbd49a023d28 | [] | no_license | the-guti/Analisis-y-Diseno-de-Algoritmos | 571e0eab846fb91e8325187fafb837f7b2595c7c | 0a6a0838b2ef4292359a11a415bb3562699b2e2d | refs/heads/master | 2023-03-08T13:30:10.991419 | 2018-02-14T20:21:23 | 2018-02-14T20:21:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | cpp | //Roberto Alejandro Gutierrez Guillen A01019608
#include <iostream>
#include <vector>
using namespace std;
/*
Un camionero conduce desde DF a Acapulco siguiendo una ruta dada y llevando un camión que le permite,
con el tanque de gasolina lleno, recorrer n kilómetros sin parar. El camionero dispone de un mapa de
carreteras que le indica las distancias entre las gasolineras que hay en su ruta. Como va con prisa,
el camionero desea detenerse a abastecer gasolina el menor número de veces posible.
Diseñe un algoritmo eficiente que determine en qué gasolineras tiene que parar el camionero.
*/
//Complejidad O(n) por el for que recorre "n" distancias entre gasolineras del vector "stops"
//La técnica del algoritmo es ávido
int main() {
int gasTankKm = 80;
int kmRec = 0;
cout << "Introduce cantidad de kilometros que el coche puede recorrer con el tanque lleno" << endl;
//cin >> gasTankKm;
cout << endl;
vector<int> gasStationsDist;
vector<int> stops;
gasStationsDist.push_back(49);
gasStationsDist.push_back(46);
gasStationsDist.push_back(21);
gasStationsDist.push_back(17);
gasStationsDist.push_back(19);
gasStationsDist.push_back(40);
gasStationsDist.push_back(25);
gasStationsDist.push_back(51);
gasStationsDist.push_back(13);
gasStationsDist.push_back(50);
gasStationsDist.push_back(45);
int gasLeft = gasTankKm;;
for(int i = 0;i <= gasStationsDist.size()-1 ;i++){
gasLeft-=gasStationsDist[i];
kmRec+=gasStationsDist[i];
if(gasLeft<gasStationsDist[i+1]){
stops.push_back(i);
gasLeft = gasTankKm;
}
}
if(kmRec >= 375){
if(stops.empty()){//375 km entre DF y Aac
}else{
cout << "El coche se paro en las siguientes Gasolineras" << endl;
for(int i = 0; i< stops.size();i++){
cout << "Parada número " << i <<": "<< stops[i]<< endl;
}
}
}else {
cout << "El coche no puede recorrer el trayecto con ese tanque de gasolina" << endl;
cout << "El coche recorrió: " << kmRec << endl;
}
return 0;
} | [
"[email protected]"
] | |
8424fddd51eaa86a3316337287354b53e1e33d84 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/WebRTC/rev.9862/include/Win64/VS2013/include/webrtc/video_engine/vie_remb.h | 9f38259ca83e68fa9ca1809f58bb3e2cb59f79a4 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 2,367 | h | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef WEBRTC_VIDEO_ENGINE_VIE_REMB_H_
#define WEBRTC_VIDEO_ENGINE_VIE_REMB_H_
#include <list>
#include <utility>
#include <vector>
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/interface/module.h"
#include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h"
#include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h"
namespace webrtc {
class CriticalSectionWrapper;
class ProcessThread;
class RtpRtcp;
class VieRemb : public RemoteBitrateObserver {
public:
VieRemb();
~VieRemb();
// Called to add a receive channel to include in the REMB packet.
void AddReceiveChannel(RtpRtcp* rtp_rtcp);
// Removes the specified channel from REMB estimate.
void RemoveReceiveChannel(RtpRtcp* rtp_rtcp);
// Called to add a module that can generate and send REMB RTCP.
void AddRembSender(RtpRtcp* rtp_rtcp);
// Removes a REMB RTCP sender.
void RemoveRembSender(RtpRtcp* rtp_rtcp);
// Returns true if the instance is in use, false otherwise.
bool InUse() const;
// Called every time there is a new bitrate estimate for a receive channel
// group. This call will trigger a new RTCP REMB packet if the bitrate
// estimate has decreased or if no RTCP REMB packet has been sent for
// a certain time interval.
// Implements RtpReceiveBitrateUpdate.
virtual void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs,
unsigned int bitrate);
private:
typedef std::list<RtpRtcp*> RtpModules;
rtc::scoped_ptr<CriticalSectionWrapper> list_crit_;
// The last time a REMB was sent.
int64_t last_remb_time_;
unsigned int last_send_bitrate_;
// All RtpRtcp modules to include in the REMB packet.
RtpModules receive_modules_;
// All modules that can send REMB RTCP.
RtpModules rtcp_sender_;
// The last bitrate update.
unsigned int bitrate_;
};
} // namespace webrtc
#endif // WEBRTC_VIDEO_ENGINE_VIE_REMB_H_
| [
"[email protected]"
] | |
974373ec48f60c49dec467703c337a8f65f78789 | 73185944d6e7ec558dd7da69d3f5edefa64c1c96 | /projects/interview/point2offer/search_matrix.cpp | b8a00b652da47614be299f4dbc340ad0711300d4 | [
"BSD-2-Clause"
] | permissive | Bingwen-Hu/hackaway | b5a233b6a1a4865389f0be04bcb63db88809e4c7 | 69727d76fd652390d9660e9ea4354ba5cc76dd5c | refs/heads/master | 2020-08-06T01:17:39.135931 | 2019-10-28T11:46:55 | 2019-10-28T11:46:55 | 212,782,128 | 0 | 0 | BSD-2-Clause | 2019-10-28T11:46:57 | 2019-10-04T09:43:01 | Python | UTF-8 | C++ | false | false | 1,001 | cpp | #include <iostream>
bool searchMatrix(int matrix[5][5], int target)
{
int i = 0, j = 4;
while (true) {
int search = matrix[i][j];
if (target > search) {
i++;
} else if (target < search) {
j--;
} else {
return true;
}
if (i > 4 or j < 0) {
return false;
}
}
return false;
}
int main()
{
int matrix[5][5] = {
{1, 4, 7, 11, 15},
{2, 5, 8, 12, 19},
{3, 6, 9, 16, 22},
{10, 13, 14, 17, 24},
{18, 21, 23, 26, 30},
};
int target1 = 5;
int target2 = 20;
int target3 = 40;
bool search1 = searchMatrix(matrix, target1);
bool search2 = searchMatrix(matrix, target2);
bool search3 = searchMatrix(matrix, target3);
std::cout << "search for target1 " << search1 << std::endl;
std::cout << "search for target2 " << search2 << std::endl;
std::cout << "search for target3 " << search3 << std::endl;
}
| [
"[email protected]"
] | |
e9b8cb3d7a1fc0ea238300e369e4322382014cd2 | 06ee7afe4631e96ba6b54b882ec7535af18dd327 | /QuinnsEscape/Source/QuinnsEscape/World/HeadHittableBox.cpp | 3dd1fc54b6606e3b989fd901975a918a0ea66e54 | [
"Apache-2.0"
] | permissive | JoshLmao/6CS025-QuinnsEscape | 910662a789d221418b0b2ed9b20335edb19d1f57 | a4e51aad5c55a4c4e33a2cbe9a6cacea271923f0 | refs/heads/main | 2023-04-25T08:48:40.954740 | 2021-05-04T19:12:20 | 2021-05-04T19:12:20 | 338,066,401 | 0 | 0 | Apache-2.0 | 2021-03-25T18:40:57 | 2021-02-11T15:20:28 | C++ | UTF-8 | C++ | false | false | 3,796 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "HeadHittableBox.h"
#include "Components/StaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "GameFramework/Character.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "UObject/ConstructorHelpers.h"
#include "Components/TextRenderComponent.h"
#include "Engine/TextRenderActor.h"
#include "Components/AudioComponent.h"
#include "Sound/SoundBase.h"
#include "QuinnGameplayStatics.h"
// Sets default values
AHeadHittableBox::AHeadHittableBox()
{
m_recievedHeadHitCount = 0;
// Create mesh component and make root
MeshComponent = CreateDefaultSubobject<UStaticMeshComponent>(TEXT("Mesh Component"));
RootComponent = MeshComponent;
// Block all mesh channels
MeshComponent->SetCollisionResponseToAllChannels(ECollisionResponse::ECR_Block);
// Load default cube, set if loaded
static ConstructorHelpers::FObjectFinder<UStaticMesh> cubeMesh(TEXT("/Game/Geometry/Meshes/1M_Cube"));
if (cubeMesh.Succeeded())
{
MeshComponent->SetStaticMesh(cubeMesh.Object);
}
else
{
UE_LOG(LogTemp, Error, TEXT("Unable to find 1M_Cube! Unable to set MeshComponent mesh"));
}
// Create box collider beneath box
BeneathBoxCollider = CreateDefaultSubobject<UBoxComponent>(TEXT("Beneath Box Collider"));
BeneathBoxCollider->SetupAttachment(RootComponent);
BeneathBoxCollider->OnComponentBeginOverlap.AddDynamic(this, &AHeadHittableBox::OnOverlapBegin);
// Add local offset & set extent (default values)
BeneathBoxCollider->AddRelativeLocation(FVector(0, 0, -65.0f));
BeneathBoxCollider->SetBoxExtent(FVector(55, 55, 20));
AudioComponent = CreateDefaultSubobject<UAudioComponent>(TEXT("Audio Component"));
AudioComponent->SetupAttachment(RootComponent);
}
// Called when the game starts or when spawned
void AHeadHittableBox::BeginPlay()
{
Super::BeginPlay();
}
void AHeadHittableBox::OnOverlapBegin(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult)
{
// Check that collided actor is
if (OtherActor->IsA(ACharacter::StaticClass()))
{
ACharacter* character = Cast<ACharacter>(OtherActor);
// Detect if character is falling to classify a head hit
if (character && character->GetMovementComponent() && character->GetMovementComponent()->IsFalling())
{
// Increment total head hit count
m_recievedHeadHitCount++;
// Play hit sound if valid
if (IsValid(HitSound))
{
QuinnGameplayStatics::PlaySoundRndPitch(AudioComponent, HitSound, 0.9f, 1.1f);
}
// Trigger recieved head hit event
if (OnRecievedHeadHit.IsBound())
{
OnRecievedHeadHit.Broadcast(character);
}
}
}
}
ATextRenderActor* AHeadHittableBox::CreateBoxWithText(FString content, FColor color)
{
// Spawn text actor in world
ATextRenderActor* textActor = GetWorld()->SpawnActor<ATextRenderActor>(ATextRenderActor::StaticClass(), FVector(), FRotator());
if (textActor)
{
// Snap TextComponent actor to Box
FAttachmentTransformRules rules(EAttachmentRule::SnapToTarget, true);
textActor->AttachToActor(this, rules);
// Set text and color
textActor->GetTextRender()->SetText(content);
textActor->GetTextRender()->SetTextRenderColor(color);
// Scale up to make visible
textActor->SetActorScale3D(FVector(5.f, 5.f, 5.f));
// Offset to infront of box
textActor->SetActorRelativeLocation(FVector(BeneathBoxCollider->GetScaledBoxExtent().X, 30, -70));
// Return created text
return textActor;
}
// Error when creating text actor
return nullptr;
}
void AHeadHittableBox::SetTextColor(ATextRenderActor* textActor, FColor color)
{
if (IsValid(textActor))
{
textActor->GetTextRender()->SetTextRenderColor(color);
}
} | [
"[email protected]"
] | |
016d581bedee6ee7b96a6b0dfad447d4a3112a17 | 4eaf471c08f8761ebcb33ff63d7693a0e8cfd8ba | /src/parametertracepoint.h | 3501132758ea12805d31bb3b58361bebe81cf41c | [
"Apache-2.0"
] | permissive | adhitya1978/projector_Calibration | ac2f0a65661d342aefa7f91ae75a72010be845f7 | 9cb9c59e27cee51b8fed601d2cec31bb64116939 | refs/heads/master | 2022-03-28T21:34:42.332462 | 2020-01-17T11:11:40 | 2020-01-17T11:11:40 | 232,729,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | h | #ifndef PARAMETERTRACEPOINT_H
#define PARAMETERTRACEPOINT_H
#include <QObject>
//! SDK
#include "interface_types.h"
#include "common/client.h"
#include "outbondpacket.h"
#include "parameter.h"
using namespace std;
using namespace zlaser::thrift;
class ParameterTracePoint : public QObject, public Parameter
{
Q_OBJECT
public:
explicit ParameterTracePoint(const QList<SCANNING_POINT*> &refPoints, QObject *parent = nullptr);
~ParameterTracePoint();
void setTracePoint(double DX, double DY);
QList<SCANNING_POINT*> get() const;
QString get_parameter_name() { return "Tracepoint"; }
PARAMETER_TYPE type() { return POINT_MODEL; }
private:
QList<SCANNING_POINT*> m_ReferencePoints;
signals:
//! auto update while changed
public slots:
};
#endif // PARAMETERTRACEPOINT_H
| [
"[email protected]"
] | |
35243bfc6795cc52dd3991ac9bfab751e0cd702a | e3ac6d1aafff3fdfb95159c54925aded869711ed | /Temp/StagingArea/Data/il2cppOutput/t269306229.h | 2ae238385c029cff85d64906418c068cdde5f552 | [] | no_license | charlantkj/refugeeGame- | 21a80d17cf5c82eed2112f04ac67d8f3b6761c1d | d5ea832a33e652ed7cdbabcf740e599497a99e4d | refs/heads/master | 2021-01-01T05:26:18.635755 | 2016-04-24T22:33:48 | 2016-04-24T22:33:48 | 56,997,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "t2778772662.h"
#include "t269306229.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
struct t269306229
{
public:
int32_t f1;
public:
inline static int32_t fog1() { return static_cast<int32_t>(offsetof(t269306229, f1)); }
inline int32_t fg1() const { return f1; }
inline int32_t* fag1() { return &f1; }
inline void fs1(int32_t value)
{
f1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"[email protected]"
] | |
5045bdb9499b0b5fa12ca65fe14085870af36f76 | d26de612d84349d4e11281326d5c675d89a516ba | /project/src/noise.cpp | 11f142602627f9a54f7ffbeb972c24243d2146c6 | [] | no_license | azurblur/CloakRealtimeSimulation | c0239472f73394879696a57148ede0b494006c91 | f71bf04b137eeb50b4a9b13e1373da9c434157fa | refs/heads/master | 2021-01-21T06:11:19.339275 | 2014-02-08T21:51:39 | 2014-02-08T21:51:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | #include "noise.h"
#include <boost/random.hpp>
noise::noise()
{
}
double noise::GetRandomNoise(double mean, double sigma)
{
typedef boost::normal_distribution<double> NormalDistribution;
typedef boost::mt19937 RandomGenerator;
typedef boost::variate_generator<RandomGenerator&, \
NormalDistribution> GaussianGenerator;
/** Initiate Random Number generator with current time */
static RandomGenerator rng(static_cast<unsigned> (time(0)));
/* Choose Normal Distribution */
NormalDistribution gaussian_dist(mean, sigma);
/* Create a Gaussian Random Number generator
* by binding with previously defined
* normal distribution object
*/
GaussianGenerator generator(rng, gaussian_dist);
// sample from the distribution
return generator();
}
| [
"[email protected]"
] | |
8b5d0ab3b38dc7926c1e576ad07138655c4792e0 | 602caac4b5aea73bbdc9753884f0008408b52089 | /silentphone2/support/silentphone/tiviengine/g_cfg.cpp | 154c74b1b6f128d1b322c78e0a44f4c536d83c43 | [] | no_license | jay-thriple/silent-phone-android | 183d6472ddca4f894f4de75a1c96c61e20a1416c | e8c37cee898bc5f678f9f3706b10ed7b6d942b93 | refs/heads/master | 2021-06-19T03:38:37.976759 | 2017-06-27T20:00:59 | 2017-06-27T20:00:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,154 | cpp | /*
Created by Janis Narbuts
Copyright (C) 2004-2012, Tivi LTD, www.tiviphone.com. All rights reserved.
Copyright (C) 2012-2017, Silent Circle, LLC. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Any redistribution, use, or modification is done solely for personal
benefit and not for any commercial purpose or for monetary gain
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name Silent Circle nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL SILENT CIRCLE, LLC 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.
*/
#include <stdlib.h>
#include <string.h>
#include "../baseclasses/CTEditBase.h"
#include "main.h"
#include "../utils/CTDataBuf.h"
#include "tivi_log.h"
void setCfgFN(CTEditBase &b, int iIndex);
void setFileBackgroundReadable(CTEditBase &b);
void setAudioInputVolume(int);
void setAudioOutputVolume(int);
void setDefaultDialingPref();
int t_snprintf(char *buf, int iMaxSize, const char *format, ...);
//TODO int getGlobInts(char *pkeys[], int *values[], int iMax);
typedef struct{
int iExitingAndDoSaveNothingOnDisk;
//zrtp
int iClearZRTPCaches;
int iClearZRTP_ZID;
int iPreferDH2K;
int iDisableAES256; //rename to iDisable256keySize
int iDisableDH2K;
int iDisable256SAS;
int iDisableECDH384;
int iDisableECDH256;
int iEnableSHA384;//rename to iDisable384hashSize
int iDisableSkein;//auth
int iDisableTwofish;
int iEnableDisclosure; //must not be saved
int iHideCfg;
int iEnableDialHelper;
int iDontSimplifyVideoUI;
//display unsolicited video
int iDisplayUnsolicitedVideo;
int iAudioUnderflow;
int iShowRXLed;
int iShowGeekStrip;
int iKeepScreenOnIfBatOk;
int iEnableAirplay;//must not be saved , it is not safe to send audio to somewhere
int iPreferNIST;
int iDisableBernsteinCurve3617;
int iDisableBernsteinCurve25519;
int iDisableSkeinHash;
int iSASConfirmClickCount;//TODO remove
int iRetroRingtone;//TODO remove
int iShowAxoErrorMessages;
int iDontSendDeliveryNotifications;
int iShowMessageNotifications;
int iBlockLocalDataRetention;
int iBlockRemoteDataRetention;
int iDisableCallKit;
int iEnableNativeRingtone;
int iForceFWTraversal;
int iEnableFWTraversal;
int ao_volume;//windows only
int ai_volume;//windows only
char szLastUsedAccount[128];
char szRingTone[64];
char szTextTone[64];
char szOnHoldMusic[64];
char szPutOnHoldSound[64];
char szWelcomeSound[64];
char szDialingPrefCountry[64];
char szRecentsMaxHistory[32];
char szMessageNotifcations[64];
// Passocde
int iPasscodeEnableWipe;
int iPasscodeEnableTouchID;
char szPasscodeTimeout[32];
//DebugLogging:
int iEnableDebugLogging;
char szDebugLoggingSetting[32];
}TG_SETTINS;
/*
ecdh-384(enable-sha384), ecdh-256, dh-3072,dh-2048,
enable-sha384
*/
//the g_Settings must be a singleton
TG_SETTINS g_Settings;
#define G_CFG_FILE_ID 10555
int getGCfgFileID(){return G_CFG_FILE_ID;}
class CTG{
int iInitOk;
TG_SETTINS prevSettings;
public:
CTG(){iInitOk=0;memset(&g_Settings,0,sizeof(TG_SETTINS));memset(&prevSettings,0,sizeof(TG_SETTINS));}
void init(){
if(iInitOk)return;
iInitOk=1;
CTEditBase b(4096*2);
setCfgFN(b,G_CFG_FILE_ID);
g_Settings.iEnableSHA384=1;
g_Settings.iSASConfirmClickCount=10;
g_Settings.iAudioUnderflow = 1;
g_Settings.iShowRXLed = 1;
#ifdef __APPLE__
int isTablet(void);
g_Settings.iKeepScreenOnIfBatOk = isTablet();//ipad, not iphone
#endif
int iCfgLen=0;
char *p=loadFileW(b.getText(),iCfgLen);
if(!p){iInitOk=0;return;}
setFileBackgroundReadable(b);
// puts(p);
int getCFGItemSz(char *ret, int iMaxSize, char *p, int iCfgLen, const char *key);
int getCFGItemI(int *ret, char *p, int iCfgLen, const char *key);
#define M_FNC_INT_T(_DST,_K) getCFGItemI(&(_DST),p,iCfgLen,#_K)
M_FNC_INT_T(g_Settings.iDisableDH2K,iDisableDH2K);
M_FNC_INT_T(g_Settings.iPreferDH2K,iPreferDH2K);
M_FNC_INT_T(g_Settings.iDisableAES256,iDisableAES256);
M_FNC_INT_T(g_Settings.iDisable256SAS,iDisable256SAS);
M_FNC_INT_T(g_Settings.iDisableECDH384,iDisableECDH384);
M_FNC_INT_T(g_Settings.iDisableECDH256,iDisableECDH256);
M_FNC_INT_T(g_Settings.iEnableSHA384,iEnableSHA384);
M_FNC_INT_T(g_Settings.iDisableSkein,iDisableSkein);
M_FNC_INT_T(g_Settings.iDisableTwofish,iDisableTwofish);
M_FNC_INT_T(g_Settings.iShowAxoErrorMessages,iShowAxoErrorMessages);
M_FNC_INT_T(g_Settings.iDontSendDeliveryNotifications,iDontSendDeliveryNotifications);
g_Settings.iShowMessageNotifications = 1;
M_FNC_INT_T(g_Settings.iShowMessageNotifications,iShowMessageNotifications);
// M_FNC_INT_T(g_Settings.iBlockLocalDataRetention,iBlockLocalDataRetention);
//M_FNC_INT_T(g_Settings.iBlockRemoteDataRetention,iBlockRemoteDataRetention);
g_Settings.iBlockLocalDataRetention = 1;//block DR
g_Settings.iBlockRemoteDataRetention = 1;//block DR
g_Settings.iDisableCallKit = 0;
M_FNC_INT_T(g_Settings.iDisableCallKit, iDisableCallKit);
g_Settings.iEnableNativeRingtone = 0;
M_FNC_INT_T(g_Settings.iEnableNativeRingtone, iEnableNativeRingtone);
int r = M_FNC_INT_T(g_Settings.iPreferNIST,iPreferNIST);
if( r<0 ){//iPreferNIST is not detected
g_Settings.iPreferNIST = 0;
g_Settings.iDisableTwofish = 0;//must override here it was previously 1
g_Settings.iDisableSkein = 0;
}
M_FNC_INT_T(g_Settings.iDisableBernsteinCurve25519,iDisableBernsteinCurve25519);
M_FNC_INT_T(g_Settings.iDisableBernsteinCurve3617,iDisableBernsteinCurve3617);
if(g_Settings.iDisableECDH384==0){
g_Settings.iEnableSHA384=1;
g_Settings.iDisableAES256=0;
}
g_Settings.iEnableDialHelper=1;
M_FNC_INT_T(g_Settings.iHideCfg,iHideCfg);
M_FNC_INT_T(g_Settings.iEnableDialHelper,iEnableDialHelper);
M_FNC_INT_T(g_Settings.iDontSimplifyVideoUI,iDontSimplifyVideoUI);
M_FNC_INT_T(g_Settings.iDisplayUnsolicitedVideo,iDisplayUnsolicitedVideo);
M_FNC_INT_T(g_Settings.iAudioUnderflow,iAudioUnderflow);
M_FNC_INT_T(g_Settings.iShowGeekStrip,iShowGeekStrip);
g_Settings.iDontSimplifyVideoUI=1;
M_FNC_INT_T(g_Settings.iKeepScreenOnIfBatOk,iKeepScreenOnIfBatOk);
M_FNC_INT_T(g_Settings.iShowRXLed,iShowRXLed);
M_FNC_INT_T(g_Settings.iDisableSkeinHash,iDisableSkeinHash);
M_FNC_INT_T(g_Settings.iForceFWTraversal,iForceFWTraversal);
g_Settings.iEnableFWTraversal = 1;
M_FNC_INT_T(g_Settings.iEnableFWTraversal,iEnableFWTraversal);
M_FNC_INT_T(g_Settings.iRetroRingtone,iRetroRingtone);
M_FNC_INT_T(g_Settings.iSASConfirmClickCount,iSASConfirmClickCount);
g_Settings.ao_volume=100;//defaults
g_Settings.ai_volume=100;
M_FNC_INT_T(g_Settings.ao_volume,ao_volume);
M_FNC_INT_T(g_Settings.ai_volume,ai_volume);
setAudioOutputVolume(g_Settings.ao_volume);
setAudioInputVolume(g_Settings.ai_volume);
g_Settings.iSASConfirmClickCount=10;
getCFGItemSz(g_Settings.szLastUsedAccount,sizeof(g_Settings.szLastUsedAccount),p,iCfgLen,"szLastUsedAccount");
strcpy(g_Settings.szRingTone,"Default");
getCFGItemSz(g_Settings.szRingTone,sizeof(g_Settings.szRingTone),p,iCfgLen,"szRingTone");
strcpy(g_Settings.szTextTone,"Default");
getCFGItemSz(g_Settings.szTextTone,sizeof(g_Settings.szTextTone),p,iCfgLen,"szTextTone");
getCFGItemSz(g_Settings.szDialingPrefCountry,sizeof(g_Settings.szDialingPrefCountry),p,iCfgLen,"szDialingPrefCountry");
strcpy(g_Settings.szRecentsMaxHistory,"1 month");
strcpy(g_Settings.szMessageNotifcations,"Message and Sender");
getCFGItemSz(g_Settings.szRecentsMaxHistory,sizeof(g_Settings.szRecentsMaxHistory),p,iCfgLen,"szRecentsMaxHistory");
getCFGItemSz(g_Settings.szMessageNotifcations,sizeof(g_Settings.szMessageNotifcations),p,iCfgLen,"szMessageNotifcations");
//DebugLogging:
g_Settings.iEnableDebugLogging = 0;
M_FNC_INT_T(g_Settings.iEnableDebugLogging, iEnableDebugLogging);
strcpy(g_Settings.szDebugLoggingSetting,"1 day");
getCFGItemSz(g_Settings.szDebugLoggingSetting,sizeof(g_Settings.szDebugLoggingSetting),p,iCfgLen,"szDebugLoggingSetting");
// Passcode
g_Settings.iPasscodeEnableWipe = 0;
M_FNC_INT_T(g_Settings.iPasscodeEnableWipe, iPasscodeEnableWipe);
g_Settings.iPasscodeEnableTouchID = 1;
M_FNC_INT_T(g_Settings.iPasscodeEnableTouchID, iPasscodeEnableTouchID);
strcpy(g_Settings.szPasscodeTimeout, "1 minute");
getCFGItemSz(g_Settings.szPasscodeTimeout, sizeof(g_Settings.szPasscodeTimeout), p, iCfgLen, "szPasscodeTimeout");
//strncmp(g_Settings.szRecentsMaxHistory, "szRec",5)==0 old bug fix, where it was storeing key: value with value as ""
if(!g_Settings.szDialingPrefCountry[0] || strncmp(g_Settings.szDialingPrefCountry, "szRec",5)==0){
setDefaultDialingPref();
}
memcpy(&prevSettings,&g_Settings,sizeof(TG_SETTINS));
delete p;
}
void save(){
if(!iInitOk)return;
if(g_Settings.iExitingAndDoSaveNothingOnDisk)return;
if(memcmp(&prevSettings,&g_Settings,sizeof(TG_SETTINS))==0)return;
memcpy(&prevSettings,&g_Settings,sizeof(TG_SETTINS));
char dst[4096*2];
CTEditBase b(4096*2);
setCfgFN(b,G_CFG_FILE_ID);
int l=0;
#define SAVE_G_CFG_I(_V,_K) l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %d\n",#_K,_V);
SAVE_G_CFG_I(g_Settings.iPreferDH2K,iPreferDH2K);
SAVE_G_CFG_I(g_Settings.iDisableAES256,iDisableAES256);
SAVE_G_CFG_I(g_Settings.iDisable256SAS,iDisable256SAS);
SAVE_G_CFG_I(g_Settings.iDisableDH2K,iDisableDH2K);
SAVE_G_CFG_I(g_Settings.iDisableECDH384,iDisableECDH384);
SAVE_G_CFG_I(g_Settings.iDisableECDH256,iDisableECDH256);
SAVE_G_CFG_I(g_Settings.iEnableSHA384,iEnableSHA384);
SAVE_G_CFG_I(g_Settings.iDisableSkein,iDisableSkein);
SAVE_G_CFG_I(g_Settings.iDisableTwofish,iDisableTwofish);
SAVE_G_CFG_I(g_Settings.iPreferNIST,iPreferNIST);
SAVE_G_CFG_I(g_Settings.iDisableBernsteinCurve3617,iDisableBernsteinCurve3617);
SAVE_G_CFG_I(g_Settings.iDisableBernsteinCurve25519,iDisableBernsteinCurve25519);
SAVE_G_CFG_I(g_Settings.iHideCfg,iHideCfg);
SAVE_G_CFG_I(g_Settings.iShowAxoErrorMessages,iShowAxoErrorMessages);
SAVE_G_CFG_I(g_Settings.iShowMessageNotifications,iShowMessageNotifications);
SAVE_G_CFG_I(g_Settings.iDontSendDeliveryNotifications,iDontSendDeliveryNotifications);
SAVE_G_CFG_I(g_Settings.iBlockLocalDataRetention,iBlockLocalDataRetention);
SAVE_G_CFG_I(g_Settings.iBlockRemoteDataRetention,iBlockRemoteDataRetention);
SAVE_G_CFG_I(g_Settings.iDisableCallKit, iDisableCallKit);
SAVE_G_CFG_I(g_Settings.iEnableNativeRingtone, iEnableNativeRingtone);
SAVE_G_CFG_I(g_Settings.iEnableDialHelper,iEnableDialHelper);
SAVE_G_CFG_I(g_Settings.iDontSimplifyVideoUI,iDontSimplifyVideoUI);
SAVE_G_CFG_I(g_Settings.iDisplayUnsolicitedVideo,iDisplayUnsolicitedVideo);
SAVE_G_CFG_I(g_Settings.iAudioUnderflow,iAudioUnderflow);
SAVE_G_CFG_I(g_Settings.iShowGeekStrip,iShowGeekStrip);
SAVE_G_CFG_I(g_Settings.iRetroRingtone,iRetroRingtone);
SAVE_G_CFG_I(g_Settings.iForceFWTraversal,iForceFWTraversal);
SAVE_G_CFG_I(g_Settings.iEnableFWTraversal,iEnableFWTraversal);
SAVE_G_CFG_I(g_Settings.iSASConfirmClickCount,iSASConfirmClickCount);//TODO remove
SAVE_G_CFG_I(g_Settings.iShowRXLed,iShowRXLed);
SAVE_G_CFG_I(g_Settings.iKeepScreenOnIfBatOk,iKeepScreenOnIfBatOk);
SAVE_G_CFG_I(g_Settings.iDisableSkeinHash, iDisableSkeinHash);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szLastUsedAccount",g_Settings.szLastUsedAccount);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szRingTone",g_Settings.szRingTone);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szTextTone",g_Settings.szTextTone);
if(!g_Settings.szDialingPrefCountry[0]){
setDefaultDialingPref();
}
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szDialingPrefCountry",g_Settings.szDialingPrefCountry);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szRecentsMaxHistory",g_Settings.szRecentsMaxHistory);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szMessageNotifcations",g_Settings.szMessageNotifcations);
//DebugLogging
SAVE_G_CFG_I(g_Settings.iEnableDebugLogging,iEnableDebugLogging);
l+=t_snprintf(&dst[l],sizeof(dst)-1-l,"%s: %s\n","szDebugLoggingSetting",g_Settings.szDebugLoggingSetting);
// Passcode
SAVE_G_CFG_I(g_Settings.iPasscodeEnableWipe, iPasscodeEnableWipe);
SAVE_G_CFG_I(g_Settings.iPasscodeEnableTouchID, iPasscodeEnableTouchID);
l+=t_snprintf(&dst[l], sizeof(dst)-1-l, "%s: %s\n", "szPasscodeTimeout", g_Settings.szPasscodeTimeout);
saveFileW(b.getText(),&dst[0],l);
setFileBackgroundReadable(b);
}
~CTG(){
save();
}
};
CTG gs;
static char szTextToneNames[1024] = "Default";
struct{
const char *disp_name;
const char *file_name;
}tableTT[]={
{"Default","default"},
{"Aurora","sms_alert_aurora"},
{"Bamboo","sms_alert_bamboo"},
{"Circles","sms_alert_circles"},
{"Complete","sms_alert_complete"},
{"Hello","sms_alert_hello"},
{"Input","sms_alert_input"},
{"Keys","sms_alert_keys"},
{"Note","sms_alert_note"},
{"Popcorn","sms_alert_popcorn"},
{"Synth","sms_alert_synth"},
{NULL,NULL}
};
void initTTList(){
int l=0;
for(int i=0;;i++) {
if(!tableTT[i].disp_name)
break;
l += t_snprintf(&szTextToneNames[l], sizeof(szTextToneNames),"%s,",tableTT[i].disp_name);
}
if(l)
szTextToneNames[l-1]=0;
puts(szTextToneNames);
}
static char szRingToneNames[1024] = "Default";
struct{
const char *disp_name;
const char *file_name;
}tableRT[]={
{"Default","ring"},
{"Retro","ring_retro"},
{"On Site","cisco"},
{"Take a Memo","trimline"},
{"The Victorian","european_major_third"},
{"Touch Base","v120"},
{"Bright Idea","piano_arpeg"},
{"Coronation","fanfare"},
{"Delta","jazz_sax_in_the_subway"},
{"Intuition","dance_synth"},
{"Seafarer's Call","foghorn"},
{"Titania", "flute_with_echo"},
{"Two Way Street","oboe"},
{"WhisperZ","piccolo_flutter"},
{"Whole In Time","whole_in_time"},
{NULL,NULL}
};
void initRTList(){
int l=0;
for(int i=0;;i++) {
if(!tableRT[i].disp_name)
break;
l += t_snprintf(&szRingToneNames[l], sizeof(szRingToneNames),"%s,",tableRT[i].disp_name);
}
if(l)
szRingToneNames[l-1]=0;
puts(szRingToneNames);
}
void t_save_glob(){
gs.save();
}
void t_init_glob(){
gs.init();
initRTList();
initTTList();
}
void setDefaultDialingPref(){
const char *getPrefLang(void);
const char *getCountryByID(const char *);
#ifdef __APPLE__
const char *getSystemCountryCode(void);
const char *lang = getSystemCountryCode();
#else
const char *lang = getPrefLang();
#endif
strcpy(g_Settings.szDialingPrefCountry, getCountryByID(lang));
if(!g_Settings.szDialingPrefCountry[0]){
strcpy(g_Settings.szDialingPrefCountry, "USA");
}
}
void *findGlobalCfgKey(char *key, int iKeyLen, int &iSize, char **opt, int *type){
if(key && key[0]=='*')return NULL;
#define GLOB_I_CHK(_K) \
if(iKeyLen+1==sizeof(#_K) && t_isEqual(key,#_K,iKeyLen)){\
if(type)*type=PHONE_CFG::e_tbint;\
if(opt)*opt=NULL;\
iSize=sizeof(g_Settings._K);\
return &g_Settings._K;\
}
#define GLOB_SZ_CHK(_K) \
if(iKeyLen+1==sizeof(#_K) && t_isEqual(key,#_K,iKeyLen)){\
if(type)*type=PHONE_CFG::e_char;\
if(opt)*opt=NULL;\
iSize=sizeof(g_Settings._K);\
return &g_Settings._K;\
}
#define GLOB_SZ_CHK_O(_K,_O) \
if(iKeyLen+1==sizeof(#_K) && t_isEqual(key,#_K,iKeyLen)){\
if(type)*type=PHONE_CFG::e_char;\
if(opt)*opt=(char *)_O;\
iSize=sizeof(g_Settings._K);\
return &g_Settings._K;\
}
//
GLOB_I_CHK(iExitingAndDoSaveNothingOnDisk);
GLOB_I_CHK(iDisableTwofish);
GLOB_I_CHK(iDisableSkein);
GLOB_I_CHK(iDisableECDH256);
GLOB_I_CHK(iDisableECDH384);
GLOB_I_CHK(iEnableSHA384);
GLOB_I_CHK(iDisableAES256);
GLOB_I_CHK(iDisableDH2K);
GLOB_I_CHK(iDisable256SAS);
GLOB_I_CHK(iClearZRTPCaches);
GLOB_I_CHK(iClearZRTP_ZID);
GLOB_I_CHK(iPreferDH2K);
GLOB_I_CHK(iHideCfg);
GLOB_I_CHK(iShowAxoErrorMessages);
GLOB_I_CHK(iDontSendDeliveryNotifications);
GLOB_I_CHK(iShowMessageNotifications);
GLOB_I_CHK(iBlockLocalDataRetention);
GLOB_I_CHK(iBlockRemoteDataRetention);
GLOB_I_CHK(iDisableCallKit);
GLOB_I_CHK(iEnableNativeRingtone);
GLOB_I_CHK(iDontSimplifyVideoUI);
GLOB_I_CHK(iDisplayUnsolicitedVideo);
GLOB_I_CHK(iAudioUnderflow);
GLOB_I_CHK(iShowGeekStrip);
GLOB_I_CHK(iForceFWTraversal);
GLOB_I_CHK(iEnableFWTraversal);
GLOB_I_CHK(iRetroRingtone);
GLOB_I_CHK(iPreferNIST);
GLOB_I_CHK(iDisableSkeinHash);
GLOB_I_CHK(iDisableBernsteinCurve3617);
GLOB_I_CHK(iDisableBernsteinCurve25519);
GLOB_I_CHK(iEnableDisclosure);
GLOB_I_CHK(iSASConfirmClickCount);
GLOB_I_CHK(iShowRXLed);
GLOB_I_CHK(iKeepScreenOnIfBatOk);
GLOB_I_CHK(iEnableDialHelper);
GLOB_I_CHK(iEnableAirplay);
GLOB_I_CHK(ai_volume);
GLOB_I_CHK(ao_volume);
GLOB_SZ_CHK(szLastUsedAccount);
GLOB_SZ_CHK_O(szTextTone,&szTextToneNames[0]);
GLOB_SZ_CHK_O(szRingTone,&szRingToneNames[0]);
//TODO if (this is changing) fix recent list and save
GLOB_SZ_CHK_O(szRecentsMaxHistory, "5 minutes,1 hour,12 hours,1 day,1 week,1 month,1 year");
GLOB_SZ_CHK_O(szMessageNotifcations, "Notification only,Sender only,Message and Sender");
//DbugLogging:
GLOB_I_CHK(iEnableDebugLogging);
GLOB_SZ_CHK_O(szDebugLoggingSetting, "1 day,2 day,3 day");
// Passcode
GLOB_I_CHK(iPasscodeEnableWipe);
GLOB_I_CHK(iPasscodeEnableTouchID);
GLOB_SZ_CHK_O(szPasscodeTimeout, "Immediately,10 seconds,30 seconds,1 minute,2 minutes,5 minutes,15 minutes,30 minutes");
/*
5 minutes
1 hour
12 hours
1 day
1 week
1 month
1 year
*/
#ifndef _WIN32
const char *getDialingPrefCountryList(void);
static int once=0;
if(!once && (g_Settings.szDialingPrefCountry[0]==0 ||
g_Settings.szDialingPrefCountry[2]==0) &&
strcmp(key, "szDialingPrefCountry")==0){
once=1;
setDefaultDialingPref();
}
GLOB_SZ_CHK_O(szDialingPrefCountry,getDialingPrefCountryList());
#endif
GLOB_SZ_CHK(szPutOnHoldSound);
GLOB_SZ_CHK(szOnHoldMusic);
GLOB_SZ_CHK(szWelcomeSound);
return NULL;
}
//TODO new file
class CTSounds: public CTDataBuf{
int iTested;
public:
CTSounds():CTDataBuf(){iTested=0;}
void load(const char *fn){
if(iTested)return;
iTested=1;
int _iLen;
#ifdef __APPLE__
char *iosLoadFile(const char *fn, int &iLen );
char *p=iosLoadFile(fn,_iLen);
if(!p)p=loadFile(fn,_iLen);
if(p){
set(p,_iLen,1);
}
printf("sound loaded (%s res=%d len=%d)\n",fn,!!p,_iLen);
#else
// char *p=loadFile(fn, <#int &iLen#>)
#endif
}
};
CTSounds welcomeSnd;
CTSounds onHoldSnd;
CTSounds putOnHoldSnd;
static void loadSounds(){
welcomeSnd.load(g_Settings.szWelcomeSound);
onHoldSnd.load(g_Settings.szOnHoldMusic);
putOnHoldSnd.load(g_Settings.szPutOnHoldSound);
}
CTDataBuf *g_getSound(const char *name){
loadSounds();
if(strcmp(name,"welcomeSnd")==0){return &welcomeSnd;}
if(strcmp(name,"onHoldSnd")==0){ return &onHoldSnd;}
if(strcmp(name,"putOnHoldSnd")==0){ return &putOnHoldSnd;}
return 0;
}
int forceFWTraversal(){return g_Settings.iForceFWTraversal && g_Settings.iEnableFWTraversal;}
void *findGlobalCfgKey(const char *key){
int iSize;
char *opt;
int type;
return findGlobalCfgKey((char*)key,(int)strlen(key),iSize,&opt,&type);
}
const char * getTexttone(const char *p) {
if(!p)
p = (char*)findGlobalCfgKey("szTextTone");
if(!p || !p[0])
return tableTT[0].file_name;
for(int i=0;;i++) {
if(!tableTT[i].disp_name)
break;
if(strcmp(tableTT[i].disp_name, p) == 0)
return tableTT[i].file_name;
}
return tableTT[0].file_name;
}
const char * getEmergencyRingtone(){return "emergency";}
const char * getRingtone(const char *p) {
if(!p)
p = (char*)findGlobalCfgKey("szRingTone");
if(!p || !p[0])
return tableRT[0].file_name;
for(int i=0;;i++) {
if(!tableRT[i].disp_name)
break;
if(strcmp(tableRT[i].disp_name, p)==0)
return tableRT[i].file_name;
}
return tableRT[0].file_name;
}
void checkGlobalChange(void *pVariable){
if(pVariable==(void*)&g_Settings.iEnableFWTraversal){
void enableSIPTLS443forSC(int iEnable);
enableSIPTLS443forSC(g_Settings.iEnableFWTraversal);
}
else if(pVariable==(void*)&g_Settings.ai_volume){
setAudioInputVolume(g_Settings.ai_volume);
}
else if(pVariable==(void*)&g_Settings.ao_volume){
setAudioOutputVolume(g_Settings.ao_volume);
}
}
int setGlobalValueByKey(const char *key, int iKeyLen, char *sz){
int iSize;
char *opt;
int type;
char *p = (char*)findGlobalCfgKey((char*)key,iKeyLen,iSize,&opt,&type);
if(!p || iSize<1)return -1;
if(type==PHONE_CFG::e_char){
strncpy(p,sz,iSize);
p[iSize-1]=0;
}
else{
*(int*)p=atoi(sz);
checkGlobalChange(p);
}
return 1;
}
int setGlobalValueByKey(const char *key, char *sz){
return setGlobalValueByKey(key,(int)strlen(key),sz);
}
int hasActiveCalls();
void checkGlobalSettings(void *g_zrtp){
if(g_Settings.iClearZRTPCaches && !hasActiveCalls()){
g_Settings.iClearZRTPCaches=0;
void clearZrtpCachesG(void *pZrtpGlobals);
clearZrtpCachesG(g_zrtp);
log_events( __FUNCTION__, "caches cleared");
}
}
| [
"[email protected]"
] | |
7503aae84868fbe7808dbebfd2800fd1f5c17f18 | b79bc9eaaed7e43d3a2531f6c01f7ce1773a6fb2 | /Practice/DFS/2.cpp | 1cce11d03015efb3fae14ee0ddd8e6d4c99fae62 | [] | no_license | YugaNamba/AtCoder | f080094f6573ad1505ea561db8c27dd9db40455c | ca4f0ede2ed9c848f3a1b0a3090517dae5af3c39 | refs/heads/main | 2023-05-29T05:22:31.115022 | 2021-06-09T04:51:26 | 2021-06-09T04:51:26 | 351,976,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | cpp | #include <bits/stdc++.h>
#define FOR(i, m, n) for (int i = m; i < (n); i++)
#define RFOR(i, m, n) for (int i = (m - 1); i >= 0; i--)
#define REP(i, n) FOR(i, 0, n)
#define RREP(i, n) RFOR(i, n, 0)
#define ALL(v) v.begin(), v.end()
#define RALL(v) v.rbegin(), v.rend()
#define print(ele) cout << ele << endl
#define print10(ele) cout << fixed << setprecision(10) << ele << endl
using namespace std;
typedef long long ll;
const int mod = 1e9 + 7;
const ll INF = 1000000000000000000LL;
struct mint {
ll x;
mint(ll x = 0) : x((x % mod + mod) % mod) {}
mint& operator+=(const mint a) {
if ((x += a.x) >= mod) x -= mod;
return *this;
}
mint& operator-=(const mint a) {
if ((x += mod - a.x) >= mod) x -= mod;
return *this;
}
mint& operator*=(const mint a) {
(x *= a.x) %= mod;
return *this;
}
mint operator+(const mint a) const {
mint res(*this);
return res += a;
}
mint operator-(const mint a) const {
mint res(*this);
return res -= a;
}
mint operator*(const mint a) const {
mint res(*this);
return res *= a;
}
mint pow(ll t) const {
if (!t) return 1;
mint a = pow(t >> 1);
a *= a;
if (t & 1) a *= *this;
return a;
}
// for prime mod
mint inv() const { return pow(mod - 2); }
mint& operator/=(const mint a) { return (*this) *= a.inv(); }
mint operator/(const mint a) const {
mint res(*this);
return res /= a;
}
};
mint factorial(ll n) {
mint answer = 1;
while (n > 1) {
answer *= n;
n--;
}
return answer;
}
mint combination(ll n, ll r) {
return factorial(n) / (factorial(r) * factorial(n - r));
}
mint permutation(ll n, ll r) { return factorial(n) / factorial(n - r); }
// setprecision(8) 桁数指定
ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
template <typename T>
void remove(std::vector<T>& vector, unsigned int index) {
vector.erase(vector.begin() + index);
}
map<ll, ll> prime_factor(ll n) {
map<ll, ll> ret;
for (ll i = 2; i * i <= n; i++) {
while (n % i == 0) {
ret[i]++;
n /= i;
}
}
if (n != 1) ret[n] = 1;
return ret;
}
// for (auto p : prime_factor(n)) {
// while (p.second--) {
// cout << p.first << endl;
// }
//}
vector<ll> divisor(ll n) {
vector<ll> ret;
for (ll i = 1; i * i <= n; i++) {
if (n % i == 0) {
ret.push_back(i);
if (i * i != n) ret.push_back(n / i);
}
}
sort(begin(ret), end(ret));
return (ret);
}
bool compare_by_b(pair<ll, ll> a, pair<ll, ll> b) {
if (a.second != b.second) {
return a.second < b.second;
} else {
return a.first < b.first;
}
}
vector<ll> Eratosthenes(const ll N) {
bool is_prime[1000000 + 1];
vector<ll> P;
for (ll i = 0; i <= N; i++) {
is_prime[i] = true;
}
for (ll i = 2; i <= N; i++) {
if (is_prime[i]) {
for (ll j = 2 * i; j <= N; j += i) {
is_prime[j] = false;
}
P.emplace_back(i);
}
}
return P;
}
typedef vector<int> ivec;
typedef vector<string> svec;
typedef vector<ll> lvec;
using Graph = vector<ivec>;
vector<bool> seen;
void dfs(const Graph& G, int v) {
seen[v] = true;
for (auto nextV : G[v]) {
if (seen[nextV]) continue;
dfs(G, nextV);
}
}
int main() {
int N, M;
cin >> N >> M;
Graph G(N);
REP(i, M) {
int a, b;
cin >> a >> b;
G[a].push_back(b);
G[b].push_back(a);
}
int count = 0;
seen.assign(N, false);
REP(i, N) {
if (seen[i]) continue;
dfs(G, i);
count++;
}
cout << count << endl;
return 0;
} | [
"[email protected]"
] | |
ceeda799f5da785cdf7bc67e8751c282b2db3e2d | 77c4ca9b33e007daecfc4318537d7babea5dde84 | /tensorflow/lite/experimental/delegates/hexagon/builders/reshape_builder.cc | 400b9da85c443131572d6082917650cb15dad561 | [
"Apache-2.0"
] | permissive | RJ722/tensorflow | 308eede8e911e2b6a6930fef3e24a493ab9a2a61 | 6c935289da11da738f2eaed18644082f3a6938d6 | refs/heads/master | 2020-12-20T16:51:12.767583 | 2020-01-25T06:46:50 | 2020-01-25T06:51:20 | 236,138,137 | 2 | 3 | Apache-2.0 | 2020-01-25T07:12:41 | 2020-01-25T07:12:40 | null | UTF-8 | C++ | false | false | 4,752 | cc | /* Copyright 2019 The TensorFlow Authors. 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 "tensorflow/lite/experimental/delegates/hexagon/builders/reshape_builder.h"
#include <stdint.h>
#include <limits>
#include "tensorflow/lite/c/builtin_op_data.h"
#include "tensorflow/lite/experimental/delegates/hexagon/hexagon_nn/hexagon_nn.h"
#include "tensorflow/lite/kernels/internal/reference/reference_ops.h"
#include "tensorflow/lite/kernels/kernel_util.h"
namespace tflite {
namespace delegates {
namespace hexagon {
namespace {
void PopulateOutputShapeFromTensor(const TfLiteTensor* shape_tensor,
std::vector<int>* output_shape) {
for (int i = 0; i < shape_tensor->dims->data[0]; ++i) {
output_shape->push_back(shape_tensor->data.i32[i]);
}
}
void PopulateShapeFromParam(const TfLiteReshapeParams* params,
std::vector<int>* output_shape) {
// The function is returned above this line if the shape tensor is usable.
// Now fallback to the shape parameter in `TfLiteReshapeParams`.
int num_dimensions = params->num_dimensions;
if (num_dimensions == 1 && params->shape[0] == 0) {
// Legacy tflite models use a shape parameter of [0] to indicate scalars,
// so adjust accordingly. TODO(b/111614235): Allow zero-sized buffers during
// toco conversion.
num_dimensions = 0;
}
for (int i = 0; i < num_dimensions; ++i) {
output_shape->push_back(params->shape[i]);
}
}
} // namespace
TfLiteStatus ReshapeOpBuilder::PopulateSubGraph(const TfLiteIntArray* inputs,
const TfLiteIntArray* outputs,
TfLiteContext* context) {
// Input data tensor.
AddInput(graph_builder_->GetHexagonTensorId(inputs->data[0]));
// Output shape.
TfLiteTensor* shape_tensor;
bool output_shape_is_dynamic = false;
if (inputs->size == 2) {
shape_tensor = &context->tensors[inputs->data[1]];
bool is_shape_tensor =
(shape_tensor->dims->size == 1 && shape_tensor->type == kTfLiteInt32);
// If tensor shape is dynamic, pass it along directly.
if (shape_tensor->allocation_type != kTfLiteMmapRo && is_shape_tensor) {
output_shape_is_dynamic = true;
AddInput(graph_builder_->GetHexagonTensorId(inputs->data[1]));
}
if (!is_shape_tensor) {
shape_tensor = nullptr;
}
}
if (!output_shape_is_dynamic) {
if (shape_tensor) {
PopulateOutputShapeFromTensor(shape_tensor, &output_shape_);
} else {
const TfLiteReshapeParams* reshape_params =
reinterpret_cast<const TfLiteReshapeParams*>(builtin_data_);
PopulateShapeFromParam(reshape_params, &output_shape_);
}
int num_elements_in_shape = static_cast<int>(output_shape_.size());
output_shape_shape_ = {1, 1, 1, num_elements_in_shape};
auto* shape_node = graph_builder_->AddConstNodeWithData(
output_shape_shape_.data(),
reinterpret_cast<char*>(output_shape_.data()),
sizeof(int) * num_elements_in_shape);
AddInput(TensorID(shape_node->GetID(), 0));
}
// Hexagon output for this node.
int output_batch_size, output_height_size, output_width_size,
output_depth_size;
GetDims(&output_batch_size, &output_height_size, &output_width_size,
&output_depth_size, context->tensors[outputs->data[0]].dims);
node_output_ = AddOutput(sizeof(uint8_t), 4,
{output_batch_size, output_height_size,
output_width_size, output_depth_size});
return kTfLiteOk;
}
TfLiteStatus ReshapeOpBuilder::RegisterOutputs(const TfLiteIntArray* outputs,
TfLiteContext* context) {
// Should be only 1 output.
graph_builder_->AddTensorWithID(outputs->data[0], node_output_.first,
node_output_.second);
return kTfLiteOk;
}
ReshapeOpBuilder::~ReshapeOpBuilder() {}
OpBuilder* CreateReshapeBuilder(GraphBuilder* graph_builder, int op_type) {
return new ReshapeOpBuilder(graph_builder, op_type);
}
} // namespace hexagon
} // namespace delegates
} // namespace tflite
| [
"[email protected]"
] | |
0aea955d84e789100d99658679a28245de1e5337 | 59418b5794f251391650d8593704190606fa2b41 | /sample_plugins/original_snippets/em5/action/base/SpawnUnitAction.cpp | 20caec3eda33b1fc8d74140fd4e6981bacc1ba82 | [] | no_license | JeveruBerry/emergency5_sdk | 8e5726f28123962541f7e9e4d70b2d8d5cc76cff | e5b23d905c356aab6f8b26432c72d18e5838ccf6 | refs/heads/master | 2023-08-25T12:25:19.117165 | 2018-12-18T16:55:16 | 2018-12-18T17:09:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,636 | cpp | // Copyright (C) 2012-2018 Promotion Software GmbH
//[-------------------------------------------------------]
//[ Includes ]
//[-------------------------------------------------------]
#include "em5/PrecompiledHeader.h"
#include "em5/action/base/SpawnUnitAction.h"
#include "em5/action/ActionPriority.h"
#include "em5/action/SignalAction.h"
#include "em5/action/move/MoveAction.h"
#include "em5/base/ContainerCategory.h"
#include "em5/command/component/CommandableComponent.h"
#include "em5/component/vehicle/HelicopterComponent.h"
#include "em5/component/effect/FadeEffectComponent.h"
#include "em5/command/move/MoveCommand.h"
#include "em5/game/player/Player.h"
#include "em5/game/selection/SelectionMarkerManager.h"
#include "em5/game/units/OrderInfoManager.h"
#include "em5/game/units/UnitPool.h"
#include "em5/game/Game.h"
#include "em5/map/MapHelper.h"
#include "em5/map/EntityHelper.h"
#include "em5/network/NetworkManager.h"
#include "em5/plugin/Messages.h"
#include "em5/EM5Helper.h"
#include <qsf_ai/navigation/em4Router/em2012/RouteFinder/RouteFinder.h>
#include <qsf_ai/navigation/em4Router/wrapper/actor/EActor.h>
#include <qsf_ai/navigation/em4Router/wrapper/EM3Singletons.h>
#include <qsf_ai/navigation/goal/ReachSinglePointGoal.h>
#include <qsf/component/base/TransformComponent.h>
#include <qsf/component/move/MovableComponent.h>
#include <qsf/input/device/KeyboardDevice.h>
#include <qsf/input/InputSystem.h>
#include <qsf/logic/action/ActionComponent.h>
#include <qsf/message/MessageSystem.h>
#include <qsf/math/Random.h>
#include <qsf/physics/collision/CollisionHelper.h>
#include <qsf/physics/collision/BulletCollisionComponent.h>
#include <qsf/prototype/PrototypeManager.h>
#include <qsf/QsfHelper.h>
#include <qsf/map/Map.h>
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
namespace em5
{
//[-------------------------------------------------------]
//[ Public definitions ]
//[-------------------------------------------------------]
const qsf::NamedIdentifier SpawnUnitAction::ACTION_ID = "em5::SpawnUnitAction";
//[-------------------------------------------------------]
//[ Public static methods ]
//[-------------------------------------------------------]
void SpawnUnitAction::setupCreatedEntityAsUnitVehicle(qsf::Entity& newOrderedUnit, qsf::Entity& spawnPointEntity, const OrderInfo& orderInfo, const Player& player)
{
// Use the spawn point's transformation for the spawned unit as well
const qsf::TransformComponent& spawnPointTransformComponent = spawnPointEntity.getOrCreateComponentSafe<qsf::TransformComponent>();
setupCreatedEntityAsUnitVehicle(newOrderedUnit, spawnPointTransformComponent.getTransform(), orderInfo, player);
}
void SpawnUnitAction::setupCreatedEntityAsUnitVehicle(qsf::Entity& newOrderedUnit, const qsf::Transform& transform, const OrderInfo& orderInfo, const Player& player)
{
// New vehicle unit was created
// - Set the initial transform to the given one
// - Setup some vehicle specific settings
// - Setup fade in effect
// - Setup the entity as unit
// Set position to spawn point
qsf::TransformComponent& transformComponent = newOrderedUnit.getOrCreateComponentSafe<qsf::TransformComponent>();
qsf::MovableComponent* movableComponent = newOrderedUnit.getComponent<qsf::MovableComponent>();
if (nullptr != movableComponent)
{
movableComponent->warpToPositionAndRotation(transform.getPosition(), transform.getRotation());
}
else
{
transformComponent.setPositionAndRotation(transform.getPosition(), transform.getRotation());
}
if (nullptr == EM5_NETWORK.getMultiplayerClient())
{
// Fade in effect
newOrderedUnit.getOrCreateComponentSafe<FadeEffectComponent>().fadeIn(qsf::Time::fromSeconds(1.0f));
}
setupCreatedEntityAsUnitVehicle(newOrderedUnit, orderInfo, player);
}
void SpawnUnitAction::setupCreatedEntityAsUnitVehicle(qsf::Entity& newOrderedUnit, const OrderInfo& orderInfo, const Player& player)
{
// Activate lights if we have a helicopter
HelicopterComponent* helicopterComponent = newOrderedUnit.getComponent<HelicopterComponent>();
if (nullptr != helicopterComponent)
{
helicopterComponent->forceFlying(true);
}
// Mark the vehicle as not parking
VehicleComponent* vehicleComponent = newOrderedUnit.getComponent<VehicleComponent>();
if (nullptr != vehicleComponent)
{
vehicleComponent->setIsParkingEntity(false);
}
// Setup the entity as unit
setupCreatedEntityAsUnit(newOrderedUnit, orderInfo, player);
}
void SpawnUnitAction::registerPersonnelInSpawn(const OrderInfo& orderInfo, const OrderInfo::OrderPair& orderPair, const Player& player)
{
// Register a number of X of personal for spawning
const OrderInfo* personalOrderInfo = EM5_GAME.getOrderInfoManager().findElement(qsf::StringHash(orderPair.first));
QSF_CHECK(personalOrderInfo != nullptr, "SpawnUnitAction::init() Vehicle has unknown start personal: \"" + orderPair.first + "\" skip this person. Check em5 order info asset \"" + orderInfo.getName() + "\" for details.", return);
UnitPool& unitPool = player.getUnitPool();
for (uint32 i = 0; i < orderPair.second; ++i)
{
if (unitPool.isUnitAvailableInHQ(*personalOrderInfo))
{
unitPool.registerUnitInSpawn(*personalOrderInfo);
}
}
}
void SpawnUnitAction::fillVehicleWithStartPersonnel(qsf::Entity& vehicleEntity, const OrderInfo& orderInfo, const Player& player, OrderInfo::OrderPairList* orderPairList, uint64 spawnpointEntityId, uint64 userData)
{
VehicleComponent* vehicleComponent = vehicleEntity.getComponent<VehicleComponent>();
if (nullptr != vehicleComponent)
{
qsf::Map& map = vehicleEntity.getMap();
MapHelper mapHelper(map);
const UnitPool& unitPool = player.getUnitPool();
const OrderInfoManager& orderInfoManager = EM5_GAME.getOrderInfoManager();
for (const auto& personalPair : orderInfo.getStartPersonnelList())
{
// Create a number of X of personnel for every type
OrderInfo* personalOrderInfo = orderInfoManager.findElement(qsf::StringHash(personalPair.first));
QSF_CHECK(personalOrderInfo != nullptr, "SpawnUnitAction::fillVehicleWithStartPersonnel() Vehicle has unknown start personnel: \"" + personalPair.first + "\" skip this person. Check em5 order info asset \"" + orderInfo.getName() + "\" for details.", continue);
// Find number of personnel
uint32 numberOfPersonnel = personalPair.second;
// If order configuration has a number of units, take this number
if (nullptr != orderPairList)
{
const auto configurationPairIterator = orderPairList->find(personalPair.first);
if (configurationPairIterator != orderPairList->end())
{
numberOfPersonnel = configurationPairIterator->second;
}
}
for (uint32 i = 0; i < numberOfPersonnel; ++i)
{
// Note that the vehicle's personnel is already registered in spawn here
if (unitPool.isUnitAvailableInSpawn(*personalOrderInfo))
{
uint32 prefabAssetId = personalOrderInfo->getPrefab().getLocalAssetId();
qsf::Entity* newPersonnelUnit = nullptr;
bool hidden = true;
if (qsf::isInitialized(prefabAssetId) && prefabAssetId != 0)
{
newPersonnelUnit = mapHelper.createObjectByLocalPrefabAssetId(prefabAssetId);
}
else
{
// The motor boot transporter carried his "personnel" with him in visible state
newPersonnelUnit = map.getEntityById(vehicleComponent->getSpecialEntity());
hidden = false;
}
QSF_ASSERT(nullptr != newPersonnelUnit, "SpawnUnitAction::fillVehicleWithStartPersonnel() failed to create entity instance", continue);
if (nullptr != newPersonnelUnit)
{
setupCreatedEntityAsUnitPerson(*newPersonnelUnit, &vehicleComponent->getEntity(), *personalOrderInfo, player, hidden);
sendUnitSpawnedMessage(*newPersonnelUnit, spawnpointEntityId, userData);
}
}
}
}
}
}
void SpawnUnitAction::setupCreatedEntityAsUnitPerson(qsf::Entity& newOrderedUnit, qsf::Entity* vehicleEntity, const OrderInfo& orderInfo, const Player& player, bool hidden)
{
// New person unit was created
// - Assign the person unit to the vehicle unit to which the person belongs
// - Setup the entity as unit
// - Note: This also works with an motorboat, though it is technically a vehicle
if (nullptr != vehicleEntity)
{
// Enter vehicle
EntityHelper(newOrderedUnit).enterContainer(*vehicleEntity, container::CONTAINERTYPE_SQUAD, hidden);
}
// Setup the entity as unit
setupCreatedEntityAsUnit(newOrderedUnit, orderInfo, player);
}
void SpawnUnitAction::setupCreatedEntityAsUnit(qsf::Entity& newOrderedUnit, const OrderInfo& orderInfo, const Player& player)
{
// Register the ordering player to the entity
// In case of assert break point here, we have possible a "qsf::game::CommandableComponent", in this case check the editing of the unit and add a "em5::CommandableComponent"
CommandableComponent& commandableComponent = newOrderedUnit.getOrCreateComponentSafe<CommandableComponent>();
commandableComponent.setPlayerId(player.getPlayerIndex());
commandableComponent.setTeamId(player.getTeamId());
commandableComponent.setUnitType(orderInfo.getOrderInfoId());
commandableComponent.setUnitTagsAsString(orderInfo.getUnitTagsAsString());
commandableComponent.setMiniMapIconType(orderInfo.getMiniMapIconType());
// Assign random speaker index for command and selection feedback
const uint32 speakerIndex = qsf::Random::getRandomUint(1, 2);
commandableComponent.setSpeakerIndex(speakerIndex);
// Register the unit to the ordering player's unit pool as a unit on map
UnitPool& unitPool = player.getUnitPool();
unitPool.registerUnitInMap(orderInfo, newOrderedUnit.getId());
unitPool.unregisterUnitInSpawn(orderInfo);
if (!EntityHelper(newOrderedUnit).isEntityHidden())
{
// Show ground marker, except if entity is initially inside a vehicle already
SelectionMarkerManager::getInstanceSafe().showGroundMarker(newOrderedUnit, false);
}
if (nullptr != EM5_NETWORK.getMultiplayerHost())
{
EntityHelper::setupEntityAsGhost(newOrderedUnit, player.getPlayerIndex());
}
QSF_MESSAGE.emitMessage(qsf::MessageConfiguration(Messages::EM5_UNIT_SETUP, orderInfo.getOrderInfoId(), newOrderedUnit.getId()));
}
void SpawnUnitAction::sendUnitSpawnedMessage(const qsf::Entity& newOrderedUnit, uint64 spawnpointEntityId, uint64 userData)
{
QSF_MESSAGE.emitMessage(qsf::MessageConfiguration(Messages::EM5_SPAWN_UNIT, newOrderedUnit.getId(), spawnpointEntityId, userData));
}
void SpawnUnitAction::sendUnitSpawnedPlayerUpdateSelectionMessage(uint32 playerId, uint64 spawnedUnitEntityId)
{
QSF_MESSAGE.emitMessage(qsf::MessageConfiguration(Messages::EM5_UNIT_SPAWNED_PLAYER_UPDATE_SELECTION, playerId, spawnedUnitEntityId));
}
//[-------------------------------------------------------]
//[ Public methods ]
//[-------------------------------------------------------]
SpawnUnitAction::SpawnUnitAction() :
Action(ACTION_ID),
mCurrentState(STATE_INIT),
mOrderInfo(nullptr),
mUserData(qsf::getUninitialized<uint64>()),
mPlayer(nullptr),
mIndex(0),
mMaxIndex(0)
{
// Nothing here
}
SpawnUnitAction::~SpawnUnitAction()
{
// Nothing here
}
void SpawnUnitAction::init(const OrderInfo& orderInfo, const glm::vec3& targetPosition, Player* player, const OrderInfo::OrderPairList& orderPairList, int index, int maxIndex, const glm::quat* targetRotation, uint64 userData)
{
mOrderInfo = &orderInfo;
mTargetPosition = targetPosition;
if (nullptr != targetRotation)
{
mTargetRotation = *targetRotation;
}
else
{
mTargetRotation.reset();
}
mUserData = userData;
mPlayer = player;
mOrderPairList = orderPairList;
mIndex = index;
mMaxIndex = maxIndex;
registerUnitWithPersonnelInSpawn();
mOrderedTimeStamp = EM5_GAME.getSimulationClock().getCurrentTime();
}
//[-------------------------------------------------------]
//[ Public virtual qsf::Actions methods ]
//[-------------------------------------------------------]
void SpawnUnitAction::serialize(qsf::BinarySerializer& serializer)
{
serializer.serializeAs<uint16>(mCurrentState);
}
//[-------------------------------------------------------]
//[ Protected virtual qsf::Action methods ]
//[-------------------------------------------------------]
qsf::action::Result SpawnUnitAction::updateAction(const qsf::Clock&)
{
QSF_CHECK(nullptr != mOrderInfo, "EM5: The order information instance of the spawn unit action is invalid", return qsf::action::RESULT_DONE);
QSF_CHECK(nullptr != mPlayer, "EM5: The player instance of the spawn unit action is invalid", return qsf::action::RESULT_DONE);
switch (mCurrentState)
{
case STATE_INIT:
{
// TODO(mk) Start open door animation
mCurrentState = STATE_WAIT_FORSPACE;
// Fall through by design
}
case STATE_WAIT_FORSPACE:
{
// Check for collision in the area
bool isColliding = false;
{
// Get collision from prefab, ignore child objects
qsf::Prototype* prototype = QSF_MAINPROTOTYPE.getPrefabByLocalAssetId(mOrderInfo->getPrefab().getLocalAssetId());
QSF_CHECK(nullptr != prototype, "EM5: Can't create prefab with asset \"" << mOrderInfo->getPrefab().getLocalAssetId() << "\" skip creating process", return qsf::action::RESULT_DONE);
qsf::BulletCollisionComponent* collisionComponent = prototype->getComponent<qsf::BulletCollisionComponent>();
if (nullptr != collisionComponent)
{
// Check at the spawn point position
const qsf::TransformComponent& spawnPointTransformComponent = getEntity().getOrCreateComponentSafe<qsf::TransformComponent>();
qsf::Transform transform = spawnPointTransformComponent.getTransform();
transform.setScale(qsf::Math::GLM_VEC3_UNIT_XYZ);
isColliding = !qsf::CollisionHelper(getMap()).canBeAddedWithoutCollision(transform, *collisionComponent);
// Lets ask the old routefinder too
{
glm::vec3 anchorPoint, extensions;
glm::quat rotation;
collisionComponent->getAsOrientedBoundingBox(anchorPoint, rotation, extensions);
qsf::ai::CollisionList collisionRange;
qsf::ai::EM3::Router->FindCollisions(extensions, -1, qsf::ai::ERouterObjectState(transform.getPosition(), glm::mat3_cast(transform.getRotation())), collisionRange, qsf::ai::EOTC_ANYTHING); // call with values for right now
for (qsf::ai::ECollisionObject* collision : collisionRange)
{
// Check type of the collision object
qsf::ai::EActor* actor = collision->GetObject();
if (nullptr != actor)
{
// Collision with persons and vehicles are not allowed
if (actor->GetType() == qsf::ai::EAT_VEHICLE || actor->GetType() == qsf::ai::EAT_PERSON)
{
isColliding = true;
}
}
}
}
}
}
if (isColliding)
{
// Area is blocked, try again next time
return qsf::action::RESULT_CONTINUE;
}
mCurrentState = STATE_WAIT_FORORDERTIME;
// Fall through by design
}
case STATE_WAIT_FORORDERTIME:
{
//// Wait till the order time of the unit is over
// TODO(co) Why is this commented without any comment why it's commented?
//mOrderTime += clock.getTimePassed().getSeconds();
//if (mOrderTime < mOrderInfo->getOrderSpeed())
//{
// // Wait till unit can spawn
// return qsf::action::RESULT_CONTINUE;
//}
mCurrentState = STATE_SPAWNUNIT;
// Fall through by design
}
case STATE_SPAWNUNIT:
{
// Find correct prefab and create new entity from it
mNewSpawnedVehicle = MapHelper(getEntity().getMap()).createObjectByLocalPrefabAssetId(mOrderInfo->getPrefab().getLocalAssetId());
if (mNewSpawnedVehicle.valid())
{
#ifndef ENDUSER
// Just for debugging: Directly spawn at cursor when "Alt" is pressed
if (QSF_INPUT.getKeyboard().anyMenuPressed())
{
qsf::Transform transform = getEntity().getOrCreateComponentSafe<qsf::TransformComponent>().getTransform();
transform.setPosition(mTargetPosition);
if (mTargetRotation.is_initialized())
{
transform.setRotation(*mTargetRotation);
}
setupCreatedEntityAsUnitVehicle(mNewSpawnedVehicle.getSafe(), transform, *mOrderInfo, *mPlayer);
}
else
#endif
{
setupCreatedEntityAsUnitVehicle(mNewSpawnedVehicle.getSafe(), getEntity(), *mOrderInfo, *mPlayer);
}
// Fill vehicle with start personnel
fillVehicleWithStartPersonnel(mNewSpawnedVehicle.getSafe(), *mOrderInfo, *mPlayer, &mOrderPairList, getEntityId(), mUserData);
// Send message
sendUnitSpawnedMessage(mNewSpawnedVehicle.getSafe(), getEntityId(), mUserData);
}
// We interrupt and delay the next part to give the navigation system time to create the router component with all his necessary settings
// Next tick we have everything and can send a valid movement target
mCurrentState = STATE_SPAWNUNIT_2_PART;
return qsf::action::RESULT_CONTINUE;
}
case STATE_SPAWNUNIT_2_PART:
{
QSF_CHECK(mNewSpawnedVehicle.valid(), "Spawned vehicle was just destryoed", return qsf::action::RESULT_DONE);
// For multiple ordered units, find a good target position to avoid pushing all units to the same position
if (mMaxIndex > 1)
{
MoveCommand::computeMultiSelectionTargetPositionForOrdering(mNewSpawnedVehicle.getSafe(), mIndex, mMaxIndex, mTargetPosition);
}
else
{
// For single entity, find target place with enough room
MoveCommand::computeAvailableTargetPosition(mNewSpawnedVehicle.getSafe(), mTargetPosition);
}
// Move to given position
qsf::logic::TargetPoint moveTargetConfig;
moveTargetConfig.mPosition = mTargetPosition;
moveTargetConfig.mOrientation = mTargetRotation;
moveTargetConfig.mTolerance = 1.0f;
qsf::ActionComponent& actionComponent = mNewSpawnedVehicle->getOrCreateComponentSafe<qsf::ActionComponent>();
actionComponent.pushAction<MoveAction>(action::COMMAND_LOW, qsf::action::APPEND_TO_BACK).init(new qsf::ai::ReachSinglePointGoal(moveTargetConfig), MovementModes::MOVEMENT_MODE_PLAYER_VEHICLE_ON_EMERGENCY_OPERATIONS);
const qsf::MessageConfiguration message(Messages::EM5_UNIT_REACHED_DESTINATION_AFTER_SPAWN, mOrderInfo->getOrderInfoId());
actionComponent.pushAction<SignalAction>(action::COMMAND_LOW, qsf::action::APPEND_TO_BACK).init(message);
// Only select target if the time after the ordering is very short
if ((EM5_GAME.getSimulationClock().getCurrentTime() - mOrderedTimeStamp) <= qsf::Time::fromSeconds(1.0f))
{
// Emit a message for the relevant player's selection manager to decide if the selection should be changed
sendUnitSpawnedPlayerUpdateSelectionMessage(mPlayer->getPlayerIndex(), mNewSpawnedVehicle->getId());
}
mCurrentState = STATE_CLOSEDOORS;
// Fall through by design
}
case STATE_CLOSEDOORS:
{
// TODO(mk) Check if this was the last ordered unit
// - "true" wait till the vehicle is out and close the door
// - "false" abort, next spawnUnitAction can start
break;
}
}
return qsf::action::RESULT_DONE;
}
//[-------------------------------------------------------]
//[ Private methods ]
//[-------------------------------------------------------]
void SpawnUnitAction::registerUnitWithPersonnelInSpawn()
{
QSF_CHECK(nullptr != mOrderInfo, "EM5: The order information instance of the spawn unit action is invalid", return);
QSF_CHECK(nullptr != mPlayer, "EM5: The player instance of the spawn unit action is invalid", return);
mPlayer->getUnitPool().registerUnitInSpawn(*mOrderInfo);
// Register childs (only if they are available)
if (0 == mIndex)
{
for (auto personalPair : mOrderPairList)
{
registerPersonnelInSpawn(*mOrderInfo, personalPair, *mPlayer);
}
}
else
{
for (const auto& personalPair : mOrderInfo->getStartPersonnelList())
{
registerPersonnelInSpawn(*mOrderInfo, personalPair, *mPlayer);
}
}
}
//[-------------------------------------------------------]
//[ Namespace ]
//[-------------------------------------------------------]
} // em5
| [
"[email protected]"
] | |
45a1b5fdf3dd1baa05c15153173c763d466edba1 | 38616fa53a78f61d866ad4f2d3251ef471366229 | /3rdparty/RobustGNSS/gtsam/gtsam/gpstk/Week.cpp | acde96cf7dc6f117f1a770e04c25c2eeca781947 | [
"MIT",
"BSD-3-Clause",
"LGPL-2.1-only",
"MPL-2.0",
"LGPL-2.0-or-later",
"BSD-2-Clause"
] | permissive | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 3b467fa6d3f34cabbd5ee59596ac1950aabf2522 | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | refs/heads/master | 2020-06-08T12:42:31.977541 | 2019-06-10T15:04:33 | 2019-06-10T15:04:33 | 193,229,646 | 1 | 0 | MIT | 2019-06-22T12:07:29 | 2019-06-22T12:07:29 | null | UTF-8 | C++ | false | false | 1,862 | cpp | /// @file Week.cpp
//============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// any later version.
//
// The GPSTk is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with GPSTk; if not, write to the Free Software Foundation,
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
//
// Copyright 2004, The University of Texas at Austin
//
//============================================================================
//============================================================================
//
//This software developed by Applied Research Laboratories at the University of
//Texas at Austin, under contract to an agency or agencies within the U.S.
//Department of Defense. The U.S. Government retains all rights to use,
//duplicate, distribute, disclose, or release this software.
//
//Pursuant to DoD Directive 523024
//
// DISTRIBUTION STATEMENT A: This software has been approved for public
// release, distribution is unlimited.
//
//=============================================================================
#include "Week.hpp"
#include "TimeConstants.hpp"
namespace gpstk
{
Week& Week::operator=(const Week& right)
{
week = right.week;
timeSystem = right.timeSystem;
return *this;
}
} // namespace
| [
"[email protected]"
] | |
da6d961b8815ba086fb1ebb3740b38d766facd21 | 03f59e66fcb962d77938fb3f5eaa1803abcba395 | /1163 - Bank Robbery/main.cpp | 49bd20556043e6d3943ebd38e640f66c50b3bb74 | [] | no_license | tanmoy13/LightOj | 3d1c007644a39095253137bbca81e0361a1959d6 | 6ee507561f33feedceca7b3a1b790e4943c425a0 | refs/heads/master | 2021-01-10T03:14:44.677589 | 2017-06-17T00:13:55 | 2017-06-17T00:13:55 | 55,767,513 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,783 | cpp | /*
Let, the given number is X = A - B. Here, B = A/10.
So, A - A/10 = X
A - (A-A%10)/10 = X
10A - A + (A%10) = 10X
9A = 10X - K , let K = A%10
A = (10X - K)/9
A = X + (X - K)/9
For K equals to 0 to 9, if (X - K)%9 = 0, then A would be a solution.
If we get a solution for K = 0, then we would also get a solution for
K = 9 in this case. That means, if X%9 = 0, then there exists two solution.
*/
/*
If opportunity doesn't knock, build a door.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|S|.|S|.|R|.|A|.|S|.|A|.|M|.|K|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Success is how high you bounce when you hit bottom.
*/
#include <bits/stdc++.h>
#define pii pair <int,int>
#define pll pair <long long,long long>
#define sc scanf
#define pf printf
#define Pi 2*acos(0.0)
#define ms(a,b) memset(a, b, sizeof(a))
#define pb(a) push_back(a)
#define MP make_pair
#define db double
#define ll long long
#define EPS 10E-10
#define ff first
#define ss second
#define sqr(x) (x)*(x)
#define D(x) cout<<#x " = "<<(x)<<endl
#define VI vector <int>
#define DBG pf("Hi\n")
#define MOD 1000000007
#define CIN ios_base::sync_with_stdio(0); cin.tie(0)
#define SZ(a) (int)a.size()
#define sf(a) scanf("%d",&a)
#define sfl(a) scanf("%lld",&a)
#define sff(a,b) scanf("%d %d",&a,&b)
#define sffl(a,b) scanf("%lld %lld",&a,&b)
#define sfff(a,b,c) scanf("%d %d %d",&a,&b,&c)
#define sfffl(a,b,c) scanf("%lld %lld %lld",&a,&b,&c)
#define stlloop(v) for(__typeof(v.begin()) it=v.begin();it!=v.end();it++)
#define loop(i,n) for(int i=0;i<n;i++)
#define REP(i,a,b) for(int i=a;i<b;i++)
#define RREP(i,a,b) for(int i=a;i>=b;i--)
#define TEST_CASE(t) for(int z=1;z<=t;z++)
#define PRINT_CASE printf("Case %d: ",z)
#define CASE_PRINT cout<<"Case "<<z<<": "
#define all(a) a.begin(),a.end()
#define intlim 2147483648
#define infinity (1<<28)
#define ull unsigned long long
#define gcd(a, b) __gcd(a, b)
#define lcm(a, b) ((a)*((b)/gcd(a,b)))
using namespace std;
/*----------------------Graph Moves----------------*/
//const int fx[]={+1,-1,+0,+0};
//const int fy[]={+0,+0,+1,-1};
//const int fx[]={+0,+0,+1,-1,-1,+1,-1,+1}; // Kings Move
//const int fy[]={-1,+1,+0,+0,+1,+1,-1,-1}; // Kings Move
//const int fx[]={-2, -2, -1, -1, 1, 1, 2, 2}; // Knights Move
//const int fy[]={-1, 1, -2, 2, -2, 2, -1, 1}; // Knights Move
/*------------------------------------------------*/
/*-----------------------Bitmask------------------*/
//int Set(int N,int pos){return N=N | (1<<pos);}
//int reset(int N,int pos){return N= N & ~(1<<pos);}
//bool check(int N,int pos){return (bool)(N & (1<<pos));}
/*------------------------------------------------*/
int main()
{
///freopen("in.txt","r",stdin);
///freopen("out.txt","w",stdout);
int t;
sf(t);
TEST_CASE(t)
{
ll a;
sfl(a);
bool test=0;
PRINT_CASE;
for(int i=9;i>=0;i--)
{
if((a-i)%9==0)
{
if(test) printf(" ");
printf("%lld",a+((a-i)/9));
test=1;
}
}
printf("\n");
}
return 0;
}
| [
"[email protected]"
] | |
70a6bc6061de421106120a809bbb1f3113ead18c | 63a1ac98260e0aa78034e70b13ca4ca8c1596c16 | /Tree/426.Convert_BST_to Sorted_Doubly_LinkedList.cpp | 48a331c1643e3eb94a831cc5d25f5e6387e0d86e | [] | no_license | Hi-Pete/leetcode | d49f2fa935b0ebb62d4666036e7dd24c6e9307f1 | f103c5179b5485471a3958d01253ba2b5a70b594 | refs/heads/main | 2023-07-31T23:43:35.414865 | 2021-09-27T16:51:53 | 2021-09-27T16:51:53 | 349,070,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,045 | cpp | // 426. 将二叉搜索树转化为排序的双向链表
// 将一个 二叉搜索树 就地转化为一个 已排序的双向循环链表
// 对于双向循环列表,你可以将左右孩子指针作为双向循环链表的前驱和后继指针
// 第一个节点的前驱是最后一个节点,最后一个节点的后继是第一个节点
// 特别地,我们希望可以 就地 完成转换操作
// 当转化完成以后,树中节点的左指针需要指向前驱,树中节点的右指针需要指向后继
// 还需要返回链表中最小元素的指针
//
#include <iostream>
class Node {
public:
int val;
Node *left;
Node *right;
Node() {}
Node(int _val) {
val = _val;
left = nullptr;
right = nullptr;
}
Node(int _val, Node *_left, Node *_right) {
val = _val;
left = _left;
right = _right;
}
};
class Solution {
void convert(Node* pNode, Node** pLastNodeInList){
if(!pNode)
return;
if(pNode->left)
convert(pNode->left, pLastNodeInList);
// 中序遍历
pNode->left = *pLastNodeInList;
(*pLastNodeInList)->right = pNode;
*pLastNodeInList = pNode;
if(pNode->right)
convert(pNode->right, pLastNodeInList);
}
public:
Node* treeToDoublyList(Node* root) {
if (!root)
return nullptr;
Node dummyNode(0, nullptr, nullptr);
Node* pLastNodeInList = &dummyNode;
convert(root, &pLastNodeInList);
dummyNode.right->left = pLastNodeInList;
pLastNodeInList->right = dummyNode.right;
return dummyNode.right;
}
};
int main(){
Node* node1 = new Node(1);
Node* node3 = new Node(3);
Node* node5 = new Node(5);
Node* node2 = new Node(2, node1, node3);
Node* node4 = new Node(4, node2, node5);
Solution solve;
Node* res = solve.treeToDoublyList(node4);
while (res){
std::cout << res->val;
res = res->right;
}
return 0;
} | [
"[email protected]"
] | |
1acceb287a663523aff83129f8196f77bedb7a7f | 12f327dbb9ec14defe8ab3f25f8200b2f07c4448 | /legacy_vision/include/ShooterFloodFinder.h | d18e87d62ed718d0503ea35f4f87190a4156ff26 | [] | no_license | mattlangford/software-common-depricated | 1cb81b56b6f743d9beabc36043ff5e4fecd8eb5d | c2cbea1fddad337c7bdbe5998d1bee9f5e6a9658 | refs/heads/master | 2021-01-19T20:47:55.700905 | 2016-10-16T20:55:45 | 2016-10-20T01:50:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | h | #ifndef SHOOTER_FLOOD_FINDER_H
#define SHOOTER_FLOOD_FINDER_H
#include "IFinder.h"
#include <boost/optional.hpp>
class ShooterFloodFinder : public IFinder
{
public:
ShooterFloodFinder(std::vector<std::string> objectPath, boost::property_tree::ptree config) : IFinder(objectPath, config) {
if(objectPath.size() != 2 || !(
objectPath[0] == "red" ||
objectPath[0] == "yellow" ||
objectPath[0] == "green" ||
objectPath[0] == "blue" ||
false) || !(
objectPath[1] == "box" ||
objectPath[1] == "small" ||
objectPath[1] == "large" ||
false))
throw std::runtime_error("invalid objectPath");
};
FinderResult find(const subjugator::ImageSource::Image &img);
private:
struct QuadPointResults {
cv::Point point;
int score;
cv::Vec<uchar, 4> hues;
cv::Vec<uchar, 4> sats;
std::map<std::string, cv::Point> dirs;
cv::Mat scores;
};
boost::optional<QuadPointResults> trackQuadPoint(
const cv::Mat (&hsv_split)[3]);
std::pair<cv::Vec<uchar, 4>, cv::Vec<uchar, 4> > sample_point(
const cv::Mat (&hsv_split)[3], int r, int c, int offset);
};
#endif
| [
"[email protected]"
] | |
9c5da9fa734d36107260f8f932baa4a2499174a9 | a6996ad2ac720cc11f0fe949959175084ea45c1c | /include/EventSystem.h | 417969e77988859477686b662ceb497eaaaaf259 | [] | no_license | yaspoon/BallGame | 37d97818d107a53b36d8b7ff1a0dc0c1262bdf03 | fdd87fb17df1aa319609130dafad3289e219a38a | refs/heads/master | 2016-09-06T21:45:22.650565 | 2015-04-18T06:03:37 | 2015-04-18T06:03:37 | 21,819,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #ifndef EVENTSYSTEM_H
#define EVENTSYSTEM_H
#include "Event.h"
enum EventSystemType
{
EV_SYS_UNKNOWN = 0,
EV_SYS_QUIT
};
class EventSystem: public Event
{
public:
EventSystem();
EventSystem(EventSystemType newType);
virtual ~EventSystem();
EventSystemType getSystemType();
protected:
private:
EventSystemType type;
};
#endif // EVENTSYSTEM_H
| [
"twunknown[put at here]gmail.com"
] | twunknown[put at here]gmail.com |
ab04b22da2ecdd7c385f0eaf03e032b6548e3139 | 9a521fc23dfd392aaa1cdbe590da051b3a0af252 | /cpp/headers/zInterface/functionsets/zFn.h | b24033a26a664e2d8f867fa31a5d5639cbe30731 | [
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MPL-2.0"
] | permissive | venumb/ZSPACE | 268a35e3768b1c870166ea747966b504593ee888 | a85de6d29c9099fcbd3d2c67f5f1be315eed6dc4 | refs/heads/master | 2021-12-20T13:41:39.903402 | 2021-12-01T11:10:54 | 2021-12-01T11:10:54 | 158,460,632 | 2 | 0 | MIT | 2020-02-20T17:23:39 | 2018-11-20T22:43:21 | C++ | UTF-8 | C++ | false | false | 4,999 | h | // This file is part of zspace, a simple C++ collection of geometry data-structures & algorithms,
// data analysis & visualization framework.
//
// Copyright (C) 2019 ZSPACE
//
// This Source Code Form is subject to the terms of the MIT License
// If a copy of the MIT License was not distributed with this file, You can
// obtain one at https://opensource.org/licenses/MIT.
//
// Author : Vishu Bhooshan <[email protected]>
//
#ifndef ZSPACE_FN_H
#define ZSPACE_FN_H
#pragma once
#include <headers/zInterface/objects/zObj.h>
namespace zSpace
{
/** \addtogroup zInterface
* \brief The Application Program Interface of the library.
* @{
*/
/** \addtogroup zFuntionSets
* \brief The function set classes of the library.
* @{
*/
/*! \class zFn
* \brief The base function set class.
* \since version 0.0.2
*/
/** @}*/
/** @}*/
class ZSPACE_API zFn
{
protected:
/*! \brief function type */
zFnType fnType;
public:
//--------------------------
//---- CONSTRUCTOR
//--------------------------
/*! \brief Default constructor.
*
* \since version 0.0.2
*/
zFn();
//--------------------------
//---- DESTRUCTOR
//--------------------------
/*! \brief Default destructor.
*
* \since version 0.0.2
*/
~zFn();
//--------------------------
//---- VIRTUAL METHODS
//--------------------------
/*! \brief This method return the function set type.
*
* \return zFnType - type of function set.
* \since version 0.0.2
*/
virtual zFnType getType() = 0;
/*! \brief This method imports the object linked to function type.
*
* \param [in] path - output file name including the directory path and extension.
* \param [in] type - type of file to be imported.
* \param [in] staticGeom - true if the object is static. Helps speed up display especially for meshes object. Default set to false.
* \since version 0.0.2
*/
virtual void from(string path, zFileTpye type, bool staticGeom = false) = 0;
/*! \brief This method exports the object linked to function type.
*
* \param [in] path - input file name including the directory path and extension.
* \param [in] type - type of file to be exported.
* \since version 0.0.2
*/
virtual void to(string path, zFileTpye type) = 0;
/*! \brief This method clears the dynamic and array memory the object holds.
*
* \param [out] minBB - output minimum bounding box.
* \param [out] maxBB - output maximum bounding box.
* \since version 0.0.2
*/
virtual void getBounds(zPoint &minBB, zPoint &maxBB) = 0;
/*! \brief This method clears the dynamic and array memory the object holds.
*
* \since version 0.0.2
*/
virtual void clear() = 0;
//--------------------------
//---- SET METHODS
//--------------------------
/*! \brief This method sets the object transform to the input transform.
*
* \param [in] inTransform - input transform.
* \param [in] decompose - decomposes transform to rotation and translation if true.
* \param [in] updatePositions - updates the object positions if true.
* \since version 0.0.2
*/
virtual void setTransform(zTransform &inTransform, bool decompose = true, bool updatePositions = true) = 0;
/*! \brief This method sets the scale components of the object.
*
* \param [in] scale - input scale values.
* \since version 0.0.2
*/
virtual void setScale(zFloat4 &scale) = 0;
/*! \brief This method sets the rotation components of the object.
*
* \param [in] rotation - input rotation values.
* \param [in] append - true if the input values are added to the existing rotations.
* \since version 0.0.2
*/
virtual void setRotation(zFloat4 &rotation, bool append = false) = 0;
/*! \brief This method sets the translation components of the object.
*
* \param [in] translation - input translation vector.
* \param [in] append - true if the input values are added to the existing translation.
* \since version 0.0.2
*/
virtual void setTranslation(zVector &translation, bool append = false) = 0;
/*! \brief This method sets the pivot of the object.
*
* \param [in] pivot - input pivot position.
* \since version 0.0.2
*/
virtual void setPivot(zVector &pivot) = 0;
//--------------------------
//---- GET METHODS
//--------------------------
/*! \brief This method gets the object transform.
*
* \since version 0.0.2
*/
virtual void getTransform(zTransform &transform) = 0;
//--------------------------
//---- TRANSFORMATION METHODS
//--------------------------
protected:
/*! \brief This method scales the object with the input scale transformation matix.
*
* \since version 0.0.2
*/
virtual void transformObject(zTransform &transform) = 0;
};
}
#if defined(ZSPACE_STATIC_LIBRARY) || defined(ZSPACE_DYNAMIC_LIBRARY)
// All defined OK so do nothing
#else
#include<source/zInterface/functionsets/zFn.cpp>
#endif
#endif | [
"[email protected]"
] | |
76ee0179b8a60a15d1b118ef97136e14daf9e114 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Implementation/2528.cpp | e708b3e5aa55c16aff74a4166669fe75cca04c1a | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | #import<cstdio>
int h,k,n,w;main(){for(scanf("%d%d",&n,&h);n--;w+=k>h?2:1)scanf("%d",&k);printf("%d",w);} | [
"[email protected]"
] | |
9c1f75350e3c8ad1ffccd8e3beefd358ecb3ec49 | d02073b2d9f07ac87658d3845ad5dca868ee9526 | /ATTinyHelloWorld.ino | 34b1dd86ac5837cc044cdfab04145637287183e1 | [] | no_license | bradenjarvis/ATTiny85HelloWorld | 93ebbbc7fb9f79f9b4d1f4fd4888cfe5a55d3588 | 945dbbd27b951ce1339ef9e6f3e37483d5b4c363 | refs/heads/main | 2023-02-24T02:53:51.749606 | 2021-01-25T19:08:14 | 2021-01-25T19:08:14 | 332,551,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | ino |
int led = 1;
int but = 0;
int buttonValue = 0;
int butCount = 0;
int preVal = 0;
int newState = LOW;
unsigned long previousMillis = 0;
const long butInterval = 100;
void setup() {
pinMode(led, OUTPUT);
pinMode(but, INPUT);
}
void loop() {
buttonValue = digitalRead(but);
unsigned long currentMillis = millis();
if (buttonValue != preVal) { //if button is pressed add state
if (buttonValue == HIGH) {
butCount++;
if (butCount > 2) { //reset state counter
butCount = 0;
}
}
}
preVal = buttonValue;
if (butCount == 0) { // state 1 (LED on)
digitalWrite(led, HIGH);
}
else if (butCount == 1) { //state 2 (LED off)
digitalWrite(led, LOW);
}
else if (butCount == 2) { //state 3 (blinking LED 100m)
if (currentMillis - previousMillis >= butInterval) { // blinking with a timer
previousMillis = currentMillis;
if (newState == LOW) {
newState = HIGH;
}
else {
newState = LOW;
}
digitalWrite(led, newState);
}
}
}
| [
"[email protected]"
] | |
fc3b2e42e5cc873763d33a5b5ecbda4bc5baf57d | e232be5c6831bc7d6ab4f1939010f30d5959015a | /suif/include/suif1/operand.h | c92e85e7050a59dc907936892925f2541c6bbb72 | [
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause"
] | permissive | lottaquestions/taskgraph-metaprogramming | 9a8f1a3d9e65d56b2d0c426479df5f8c52c87d53 | 54c4e2806a97bec555a90784ab4cf0880660bf89 | refs/heads/master | 2023-08-29T10:56:06.099505 | 2020-04-14T21:09:28 | 2020-04-14T21:09:28 | 681,137,540 | 0 | 0 | BSD-3-Clause | 2023-08-21T10:54:05 | 2023-08-21T10:54:02 | null | UTF-8 | C++ | false | false | 4,369 | h | /* SUIF Operands */
/* Copyright (c) 1994 Stanford University
All rights reserved.
This software is provided under the terms described in
the "suif_copyright.h" include file. */
#include <suif_copyright.h>
#ifndef OPERAND_H
#define OPERAND_H
#pragma interface
RCS_HEADER(operand_h,
"$Id$")
class in_stream;
class out_stream;
class base_symtab;
class var_sym;
class instruction;
class immed;
class tree_node;
class type_node;
struct replacements;
/*
* Operands represent the sources and destinations of SUIF instructions.
* In the simplest cases, operands may either be null or refer directly to
* variables. A source operand may also point to another instruction. This
* is used to implement expression trees and, at lower levels of the system,
* to refer to the results of other instructions in a flat list. An
* instruction pointer in a destination operand refers to the instruction
* that uses the result value.
*
* The "is_expr" method tests if a source operand is a subexpression that is
* not contained in a separate tree_instr (i.e. it's not in a flat list).
* This method should not be used for destination operands.
*
* Before changing an operand from an instruction pointer to some other
* value, the instruction must be removed. The "remove" method checks if the
* operand is an instruction, and if so, calls the "instruction::remove"
* method for it.
*/
enum operand_kinds {
OPER_NULL, /* null operand */
OPER_SYM, /* variable symbol */
OPER_INSTR, /* instruction */
OPER_REG /* register operand */
};
class operand_dataonly {
friend class operand;
protected:
union {
operand_kinds k;
type_node *typ; /* type for register operand */
} v;
union { /* union of basic operands */
var_sym *sym; /* symbol */
instruction *i; /* instruction pointer */
int r;
} u;
public:
operand_kinds kind() const;
boolean is_null() const { return (v.k == OPER_NULL); }
boolean is_symbol() const { return (v.k == OPER_SYM); }
boolean is_instr() const { return (v.k == OPER_INSTR); }
boolean is_expr() const; /* is source operand a sub-expr? */
boolean is_reg() const { return (v.k >= OPER_REG); }
boolean is_immed() const; /* is operand a ldc immediate? */
boolean is_hard_reg() const
{ return ((v.k >= OPER_REG) ? (u.r >= 0) : FALSE); }
boolean is_virtual_reg() const
{ return ((v.k >= OPER_REG) ? (u.r < 0) : FALSE); }
var_sym *symbol() const;
instruction *instr() const;
int reg() const;
immed immediate() const;
boolean operator==(const operand_dataonly &r) const;
boolean operator!=(const operand_dataonly &r) const
{ return !(*this == r); }
};
class operand : public operand_dataonly {
public:
operand(const operand_dataonly &other) { v = other.v; u = other.u; }
operand(const operand &other) { v = other.v; u = other.u; }
operand(in_stream *is, base_symtab *syms, tree_node *t);
operand(var_sym *s) { set_symbol(s); }
operand(instruction *i) { set_instr(i); }
operand(int r, type_node *t) { set_reg(r,t); }
operand() { u.sym = NULL; set_null(); }
~operand();
void set_null() { v.k = OPER_NULL; }
void set_symbol(var_sym *s) { v.k = OPER_SYM; u.sym = s; }
void set_instr(instruction *i) { v.k = OPER_INSTR; u.i = i; }
void set_reg(int r, type_node *t) { v.typ = t; u.r = r; }
void remove(); /* remove src operand from expr tree */
type_node *type() const; /* find the type of the operand */
boolean is_const_int(int *c=NULL) const;
/* is this a constant integer? */
operand& operator=(const operand &r);
operand clone(base_symtab *dst_scope = NULL);
operand clone_helper(replacements *r, boolean no_copy = FALSE);
void find_exposed_refs(base_symtab *dst_scope, replacements *r);
void write(out_stream *os) const;
void print(instruction *i, FILE *f=stdout) const;
void print(FILE *fp=stdout) const;
void print_source(FILE *f=stdout) const { print(f); } /* obsolete */
};
DECLARE_DLIST_CLASS(operand_list, operand);
#endif /* OPERAND_H */
| [
"[email protected]"
] | |
b142417833a218a49423023ca09ba510928a79c2 | f3c97e827b1a16fd38a7cb3a8842ef9c11090b3e | /src/starboard/benchmark/memory_benchmark.cc | 24e3cf12096dc4db3baa77b47a3328246dd7e50c | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | aabtop/cobalt | eaef2f37e36928db2041d64b1e6ee605c3ec32fc | e83fce97d7405b0b5e569d961aa431b1112ac6ac | refs/heads/master | 2023-04-28T13:33:32.867228 | 2021-05-27T15:48:59 | 2021-05-27T15:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cc | // Copyright 2019 The Cobalt Authors. 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 "starboard/memory.h"
#include "third_party/google_benchmark/include/benchmark/benchmark.h"
namespace starboard {
namespace benchmark {
namespace {
void BM_MemoryCopy(::benchmark::State& state) {
void* memory1 = SbMemoryAllocate(state.range(0));
void* memory2 = SbMemoryAllocate(state.range(0));
for (auto _ : state) {
SbMemoryCopy(memory1, memory2, state.range(0));
::benchmark::ClobberMemory();
}
state.SetBytesProcessed(int64_t(state.iterations()) *
int64_t(state.range(0)));
SbMemoryDeallocate(memory1);
SbMemoryDeallocate(memory2);
}
void BM_MemoryMove(::benchmark::State& state) {
void* memory1 = SbMemoryAllocate(state.range(0));
void* memory2 = SbMemoryAllocate(state.range(0));
for (auto _ : state) {
SbMemoryMove(memory1, memory2, state.range(0));
::benchmark::ClobberMemory();
}
state.SetBytesProcessed(int64_t(state.iterations()) *
int64_t(state.range(0)));
SbMemoryDeallocate(memory1);
SbMemoryDeallocate(memory2);
}
BENCHMARK(BM_MemoryCopy)->RangeMultiplier(4)->Range(16, 1024 * 1024);
BENCHMARK(BM_MemoryCopy)
->Arg(1024 * 1024)
->DenseThreadRange(1, 4)
->UseRealTime();
BENCHMARK(BM_MemoryMove)->Arg(1024 * 1024);
} // namespace
} // namespace benchmark
} // namespace starboard
| [
"[email protected]"
] | |
99e8f883ee40b296955b41e589618bc68b9151f8 | b79d75b7f26ca57f7ae200be898386dadd0c3ca5 | /manet_dispatcher_head_ideal.pr.cpp | 3b8815c0bf731858d5971c4bf79d4bec25337f7f | [] | no_license | YomnaMohsen/Key-distribution-protocol | f266444cccc19862071462a357356650de9b3041 | c09728170444e9b5a5f19a0522bb29a780ea1540 | refs/heads/main | 2023-06-26T17:12:25.823468 | 2021-07-30T20:04:26 | 2021-07-30T20:04:26 | 386,398,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,474 | cpp | /* Process model C++ form file: manet_dispatcher_head_ideal.pr.cpp */
/* Portions of this file copyright 1986-2008 by OPNET Technologies, Inc. */
/* This variable carries the header into the object file */
const char manet_dispatcher_head_ideal_pr_cpp [] = "MIL_3_Tfile_Hdr_ 145A 30A modeler 7 55B5D372 55B5D372 1 hp-PC hp 0 0 none none 0 0 none 0 0 0 0 0 0 0 0 1e80 8 ";
#include <string.h>
/* OPNET system definitions */
#include <opnet.h>
/* Header Block */
/** Include files. **/
#include <ip_higher_layer_proto_reg_sup.h>
#include <ip_rte_v4.h>
#include <ip_rte_support.h>
#include <ip_addr_v4.h>
#include <manet.h>
#include <oms_dist_support.h>
#include <oms_pr.h>
#include <oms_tan.h>
#include <oms_log_support.h>
#include <oms_sim_attr_cache.h>
#include<iostream>
//new
using namespace std;
/* Transition Macros*/
#define SELF_INTERRUPT (OPC_INTRPT_SELF == intrpt_type)
#define STREAM_INTERRUPT (OPC_INTRPT_STRM == intrpt_type)
////////////////////////////////////////////////////////////////////////////////
//Done by me
//msg type
// msg sent from global node to head
#define head 1
// msg sent from head
#define key 2
Prg_List * global_list;
Prg_List * part_list;
int *x;
const double RadioRange=75.0;
bool done=false,done2=false;
static unsigned char initkey[16]={0xA,0xE,0x3,0x2,0x9,0x2,0x3,0x2,0xE,0xA,0x6,0xD,0x0,0xD,0x7,0x3};
// static Prg_List * ckey;
static unsigned char initkey2[16]={0xD,0xF,0x3,0x8,0x7,0x6,0x4,0x7,0xB,0x5,0x3,0xC,0x9,0xE,0xF,0x5};
// Prg_List* symkey;// to store key for head
//end code
//**********************************************************************************
/* Structure to hold information about a flow */
typedef struct ManetT_Flow_Info
{
int row_index;
OmsT_Dist_Handle pkt_interarrival_dist_ptr;
OmsT_Dist_Handle pkt_size_dist_ptr;
InetT_Address* dest_address_ptr;
double stop_time;
} ManetT_Flow_Info;
//Done by me
// def for handling msgs
struct msg_info
{
int type;
unsigned char info[16];
//Prg_List * info;
};
struct node_info
{
int node_id;
bool accessed;
double x;
double y;
};
//////end code
/** Function prototypes. **/
static void manet_rpg_sv_init (void);
static void manet_rpg_register_self (void);
static void manet_rpg_sent_stats_update (double pkt_size);
static void manet_rpg_received_stats_update (double pkt_size);
static void manet_rpg_packet_flow_info_read (void);
static void manet_rpg_generate_packet (void);
static void manet_rpg_packet_destroy (Packet* pkptr);
//Done by me
// new
void create_key(unsigned char arr[]);
void store_key(unsigned char key_arr[]);
// end code
//*************************************************************************************
/* End of Header Block */
#if !defined (VOSD_NO_FIN)
#undef BIN
#undef BOUT
#define BIN FIN_LOCAL_FIELD(_op_last_line_passed) = __LINE__ - _op_block_origin;
#define BOUT BIN
#define BINIT FIN_LOCAL_FIELD(_op_last_line_passed) = 0; _op_block_origin = __LINE__;
#else
#define BINIT
#endif /* #if !defined (VOSD_NO_FIN) */
/* State variable definitions */
class manet_dispatcher_head_ideal_state
{
private:
/* Internal state tracking for FSM */
FSM_SYS_STATE
public:
manet_dispatcher_head_ideal_state (void);
/* Destructor contains Termination Block */
~manet_dispatcher_head_ideal_state (void);
/* State Variables */
Objid my_objid ; /* Object identifier of the surrounding module. */
Objid my_node_objid ; /* Object identifier of the surrounding node. */
Objid my_subnet_objid ; /* Object identifier of the surrounding subnet. */
Stathandle local_packets_received_hndl ; /* Statictic handle for local packet throughput. */
Stathandle local_bits_received_hndl ; /* Statictic handle for local bit throughput. */
Stathandle local_delay_hndl ; /* Statictic handle for local end-to-end delay. */
Stathandle global_packets_received_hndl ; /* Statictic handle for global packet throughput. */
Stathandle global_bits_received_hndl ; /* Statictic handle for global bit throughput. */
int outstrm_to_ip_encap ; /* Index of the stream to ip_encap */
int instrm_from_ip_encap ; /* Index of the stream from ip_encap */
ManetT_Flow_Info* manet_flow_info_array ; /* Information of the different flows */
int higher_layer_proto_id ; /* Protocol ID assigned by IP */
Ici* ip_encap_req_ici_ptr ; /* ICI to be associated with packets being sent to ip_encap */
Stathandle local_packets_sent_hndl ;
Stathandle local_bits_sent_hndl ;
Stathandle global_packets_sent_hndl ;
Stathandle global_bits_sent_hndl ;
Stathandle global_delay_hndl ;
IpT_Interface_Info* iface_info_ptr ; /* IP interface information for this station node */
double next_pkt_interarrival ;
Prg_List * cluster_key ;
Prg_List * symmetric_key ;
/* FSM code */
void manet_dispatcher_head_ideal (OP_SIM_CONTEXT_ARG_OPT);
/* Diagnostic Block */
void _op_manet_dispatcher_head_ideal_diag (OP_SIM_CONTEXT_ARG_OPT);
#if defined (VOSD_NEW_BAD_ALLOC)
void * operator new (size_t) throw (VOSD_BAD_ALLOC);
#else
void * operator new (size_t);
#endif
void operator delete (void *);
/* Memory management */
static VosT_Obtype obtype;
};
VosT_Obtype manet_dispatcher_head_ideal_state::obtype = (VosT_Obtype)OPC_NIL;
#define my_objid op_sv_ptr->my_objid
#define my_node_objid op_sv_ptr->my_node_objid
#define my_subnet_objid op_sv_ptr->my_subnet_objid
#define local_packets_received_hndl op_sv_ptr->local_packets_received_hndl
#define local_bits_received_hndl op_sv_ptr->local_bits_received_hndl
#define local_delay_hndl op_sv_ptr->local_delay_hndl
#define global_packets_received_hndl op_sv_ptr->global_packets_received_hndl
#define global_bits_received_hndl op_sv_ptr->global_bits_received_hndl
#define outstrm_to_ip_encap op_sv_ptr->outstrm_to_ip_encap
#define instrm_from_ip_encap op_sv_ptr->instrm_from_ip_encap
#define manet_flow_info_array op_sv_ptr->manet_flow_info_array
#define higher_layer_proto_id op_sv_ptr->higher_layer_proto_id
#define ip_encap_req_ici_ptr op_sv_ptr->ip_encap_req_ici_ptr
#define local_packets_sent_hndl op_sv_ptr->local_packets_sent_hndl
#define local_bits_sent_hndl op_sv_ptr->local_bits_sent_hndl
#define global_packets_sent_hndl op_sv_ptr->global_packets_sent_hndl
#define global_bits_sent_hndl op_sv_ptr->global_bits_sent_hndl
#define global_delay_hndl op_sv_ptr->global_delay_hndl
#define iface_info_ptr op_sv_ptr->iface_info_ptr
#define next_pkt_interarrival op_sv_ptr->next_pkt_interarrival
#define cluster_key op_sv_ptr->cluster_key
#define symmetric_key op_sv_ptr->symmetric_key
/* These macro definitions will define a local variable called */
/* "op_sv_ptr" in each function containing a FIN statement. */
/* This variable points to the state variable data structure, */
/* and can be used from a C debugger to display their values. */
#undef FIN_PREAMBLE_DEC
#undef FIN_PREAMBLE_CODE
#define FIN_PREAMBLE_DEC manet_dispatcher_head_ideal_state *op_sv_ptr;
#define FIN_PREAMBLE_CODE \
op_sv_ptr = ((manet_dispatcher_head_ideal_state *)(OP_SIM_CONTEXT_PTR->_op_mod_state_ptr));
/* Function Block */
#if !defined (VOSD_NO_FIN)
enum { _op_block_origin = __LINE__ + 2};
#endif
static void
manet_rpg_sv_init (void)
{
/** initializes all state variables used in this process model. **/
FIN (manet_rpg_sv_init ());
/* Obtain the object identifiers for the surrounding module, */
/* node and subnet. */
my_objid = op_id_self ();
my_node_objid = op_topo_parent (my_objid);
my_subnet_objid = op_topo_parent (my_node_objid);
/* Create the ici that will be associated with packets being */
/* sent to IP. */
ip_encap_req_ici_ptr = op_ici_create ("inet_encap_req");
/* Register the local and global statictics. */
local_packets_sent_hndl = op_stat_reg ("MANET.Traffic Sent (packets/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_LOCAL);
local_bits_sent_hndl = op_stat_reg ("MANET.Traffic Sent (bits/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_LOCAL);
local_packets_received_hndl = op_stat_reg ("MANET.Traffic Received (packets/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_LOCAL);
local_bits_received_hndl = op_stat_reg ("MANET.Traffic Received (bits/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_LOCAL);
local_delay_hndl = op_stat_reg ("MANET.Delay (secs)", OPC_STAT_INDEX_NONE, OPC_STAT_LOCAL);
global_delay_hndl = op_stat_reg ("MANET.Delay (secs)", OPC_STAT_INDEX_NONE, OPC_STAT_GLOBAL);
global_packets_sent_hndl = op_stat_reg ("MANET.Traffic Sent (packets/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_GLOBAL);
global_bits_sent_hndl = op_stat_reg ("MANET.Traffic Sent (bits/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_GLOBAL);
global_packets_received_hndl = op_stat_reg ("MANET.Traffic Received (packets/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_GLOBAL);
global_bits_received_hndl = op_stat_reg ("MANET.Traffic Received (bits/sec)", OPC_STAT_INDEX_NONE, OPC_STAT_GLOBAL);
FOUT;
}
static void
manet_rpg_register_self (void)
{
char proc_model_name [128];
OmsT_Pr_Handle own_process_record_handle;
Prohandle own_prohandle;
/** Get a higher layer protocol ID from IP and register this **/
/** process in the model-wide process registry to be discovered **/
/** by the lower layer. **/
FIN (rpg_dispatcher_register_self ());
/* Register RPG as a higher layer protocol over IP layer */
/* and retrieve an auto-assigned protocol id. */
higher_layer_proto_id = IpC_Protocol_Unspec;
Ip_Higher_Layer_Protocol_Register ("rpg", &higher_layer_proto_id);
/* Obtain the process model name and process handle. */
op_ima_obj_attr_get (my_objid, "process model", proc_model_name);
own_prohandle = op_pro_self ();
/* Register this process in the model-wide process registry */
own_process_record_handle = (OmsT_Pr_Handle) oms_pr_process_register
(my_node_objid, my_objid, own_prohandle, proc_model_name);
/* Set the protocol attribute to the same string we used in */
/* Ip_Higher_Layer_Protocol_Register. Necessary for ip_encap*/
/* to discover this process. Set the module object id also. */
oms_pr_attr_set (own_process_record_handle,
"protocol", OMSC_PR_STRING, "rpg",
"module objid", OMSC_PR_OBJID, my_objid,
OPC_NIL);
FOUT;
}
static void
manet_rpg_sent_stats_update (double size)
{
/** This function updates the local and global statictics **/
/** related with packet sending. **/
FIN (manet_rpg_sent_stats_update (<args>));
/* Update the local and global sent statistics. */
op_stat_write (local_bits_sent_hndl, size);
op_stat_write (local_bits_sent_hndl, 0.0);
op_stat_write (local_packets_sent_hndl, 1.0);
op_stat_write (local_packets_sent_hndl, 0.0);
op_stat_write (global_bits_sent_hndl, size);
op_stat_write (global_bits_sent_hndl, 0.0);
op_stat_write (global_packets_sent_hndl, 1.0);
op_stat_write (global_packets_sent_hndl, 0.0);
FOUT;
}
static void
manet_rpg_received_stats_update (double size)
{
/** This function updates the local and global statictics **/
/** related with packet sending. **/
FIN (manet_rpg_received_stats_update (<args>));
/* Update the local and global sent statistics. */
op_stat_write (local_bits_received_hndl, size);
op_stat_write (local_bits_received_hndl, 0.0);
op_stat_write (local_packets_received_hndl, 1.0);
op_stat_write (local_packets_received_hndl, 0.0);
op_stat_write (global_bits_received_hndl, size);
op_stat_write (global_bits_received_hndl, 0.0);
op_stat_write (global_packets_received_hndl, 1.0);
op_stat_write (global_packets_received_hndl, 0.0);
FOUT;
}
static void
manet_rpg_packet_flow_info_read (void)
{
int i, row_count;
char temp_str [256];
char interarrival_str [256];
char pkt_size_str [256];
char log_message_str [256];
Objid trafgen_params_comp_objid;
Objid ith_flow_attr_objid;
double start_time;
InetT_Address* dest_address_ptr;
InetT_Address dest_address;
static OmsT_Log_Handle manet_traffic_generation_log_handle;
static Boolean manet_traffic_generation_log_handle_not_created = OPC_TRUE;
/** Read in the attributes for each flow **/
FIN (manet_rpg_packet_flow_info_read (void));
/* Get a handle to the Traffic Generation Parameters compound attribute.*/
op_ima_obj_attr_get (my_objid, "Traffic Generation Parameters", &trafgen_params_comp_objid);
/* Obtain the row count */
row_count = op_topo_child_count (trafgen_params_comp_objid, OPC_OBJTYPE_GENERIC);
/* If there are no flows specified, exit from the function */
if (row_count == 0)
{
FOUT;
}
/* Allocate enough memory to hold all the information. */
manet_flow_info_array = (ManetT_Flow_Info*) op_prg_mem_alloc (sizeof (ManetT_Flow_Info) * row_count);
/* Loop through each row and read in the information specified. */
for (i = 0; i < row_count; i++)
{
/* Get the object ID of the associated row for the ith child. */
ith_flow_attr_objid = op_topo_child (trafgen_params_comp_objid, OPC_OBJTYPE_GENERIC, i);
/* Read in the start time and stop times */
op_ima_obj_attr_get (ith_flow_attr_objid, "Start Time", &start_time);
op_ima_obj_attr_get (ith_flow_attr_objid, "Stop Time", &manet_flow_info_array [i].stop_time);
/* Read in the packet inter-arrival time and packet size */
op_ima_obj_attr_get (ith_flow_attr_objid, "Packet Inter-Arrival Time", interarrival_str);
op_ima_obj_attr_get (ith_flow_attr_objid, "Packet Size", pkt_size_str);
/* Set the distribution handles */
manet_flow_info_array [i].pkt_interarrival_dist_ptr = oms_dist_load_from_string (interarrival_str);
manet_flow_info_array [i].pkt_size_dist_ptr = oms_dist_load_from_string (pkt_size_str);
/* Read in the destination IP address. */
op_ima_obj_attr_get (ith_flow_attr_objid, "Destination IP Address", temp_str);
if (strcmp (temp_str, "auto assigned"))
{
/* Explicit destination address has been assigned */
dest_address = inet_address_create (temp_str, InetC_Addr_Family_Unknown);
manet_flow_info_array [i].dest_address_ptr = inet_address_create_dynamic (dest_address);
inet_address_destroy (dest_address);
}
else
{
/* The destination address is set to auto-assigned */
/* Choose a random destination address */
dest_address_ptr = manet_rte_dest_ip_address_obtain (iface_info_ptr);
manet_flow_info_array [i].dest_address_ptr = dest_address_ptr;
if (dest_address_ptr == OPC_NIL)
{
/* Write a simulation log */
char my_node_name [64];
op_ima_obj_attr_get_str (my_node_objid, "name", 64, my_node_name);
if (manet_traffic_generation_log_handle_not_created)
{
manet_traffic_generation_log_handle = oms_log_handle_create (OpC_Log_Category_Configuration, "MANET", "Traffic Setup", 32, 0,
"WARNING:\n"
"The following list of MANET traffic sources do not have valid destinations:\n\n"
"Node name Traffic row index\n"
"----------------- --------------------\n",
"SUGGESTION(S):\n"
"Make sure that 1 or more prefixes are available for the MANET source to send its traffic to.\n\n"
"RESULT(S):\n"
"No Traffic will be generated at the MANET source.");
manet_traffic_generation_log_handle_not_created = OPC_FALSE;
}
sprintf (log_message_str, "%s\t\t\t\t\t\t\t%d\n", my_node_name, i);
oms_log_message_append (manet_traffic_generation_log_handle, log_message_str);
}
}
/* Schedule an interrupt for the start time of this flow. */
/* Use the row index as the interrupt code, so that we can handle */
/* the interrupt correctly. */
op_intrpt_schedule_self (start_time, i);
}
FOUT;
}
static void
manet_rpg_generate_packet (void)
{
int row_num;
double schedule_time;
double pksize;
Packet* pkt_ptr;
InetT_Address src_address;
InetT_Address* src_addr_ptr;
InetT_Address* copy_address_ptr;
double tf_scaling_factor = 1;
/** A packet needs to be generated for a particular flow **/
/** Generate the packet of an appropriate size and send it **/
/** to IP. Also schedule an event for the next packet **/
/** generation time for this flow. **/
FIN (manet_rpg_generate_packet (void));
/* Identify the right packet flow using the interrupt code */
row_num = op_intrpt_code ();
/* If no destination was found, exit */
if (manet_flow_info_array [row_num].dest_address_ptr == OPC_NIL)
FOUT;
/* Schedule a self interrupt for the next packet generation */
/* time. The netx packet generation time will be the current*/
/* time + the packet inter-arrival time. The interrupt code */
/* will be the row number. */
tf_scaling_factor = Oms_Sim_Attr_Traffic_Scaling_Get ();
next_pkt_interarrival = (oms_dist_nonnegative_outcome (manet_flow_info_array [row_num].pkt_interarrival_dist_ptr)) / (tf_scaling_factor);
schedule_time = op_sim_time () + next_pkt_interarrival;
/* Schedule the next inter-arrival if it is less than the */
/* stop time for the flow */
if ((manet_flow_info_array [row_num].stop_time == -1.0) ||
(schedule_time < manet_flow_info_array [row_num].stop_time))
{
op_intrpt_schedule_self (op_sim_time () + next_pkt_interarrival, row_num);
}
/* Create an unformatted packet */
pksize = (double) ceil (oms_dist_outcome (manet_flow_info_array [row_num].pkt_size_dist_ptr));
/* Size of the packet must be a multiple of 8. The extra bits will not be modeled */
pksize = pksize - fmod (pksize, 8.0);
pkt_ptr = op_pk_create (pksize);
/* Update the packet sent statistics */
manet_rpg_sent_stats_update (pksize);
/* Make a copy of the destination address */
/* and set it in the ICI for ip_encap */
copy_address_ptr = manet_flow_info_array [row_num].dest_address_ptr;
/* Set the destination address in the ICI */
op_ici_attr_set (ip_encap_req_ici_ptr, "dest_addr", copy_address_ptr);
/* Set the source address of this node based on the */
/* IP address family of the destination */
if (inet_address_family_get (copy_address_ptr) == InetC_Addr_Family_v6)
{
/* The destination is a IPv6 address */
/* Set the IPv6 source address */
src_address = inet_rte_intf_addr_get (iface_info_ptr, InetC_Addr_Family_v6);
}
else
{
/* The destination is a IPv4 address */
/* Set the IPv4 source address */
src_address = inet_rte_intf_addr_get (iface_info_ptr, InetC_Addr_Family_v4);
}
/* Create the source address */
src_addr_ptr = inet_address_create_dynamic (src_address);
/* Set the source address in the ICI */
op_ici_attr_set (ip_encap_req_ici_ptr, "src_addr", src_addr_ptr);
/* install the ICI */
op_ici_install (ip_encap_req_ici_ptr);
/* Send the packet to ip_encap */
/* Since we are reusing the ici we should use */
/* op_pk_send_forced. Otherwise if two flows generate a */
/* packet at the same time, the second packet genration will*/
/* overwrite the ici before the first packet is processed by*/
/* ip_encap. */
op_pk_send_forced (pkt_ptr, outstrm_to_ip_encap);
/* Destroy the temorpary source address */
inet_address_destroy_dynamic (src_addr_ptr);
/* Uninstall the ICI */
op_ici_install (OPC_NIL);
FOUT;
}
//Modified destory fn
static void
manet_rpg_packet_destroy (Packet* pkptr)//new
{
double delay;
double pk_size;
/** Get a packet from IP and destroy it. Destroy **/
/** the accompanying ici also. **/
FIN (manet_rpg_packet_destroy (Packet* pkptr));
/* Remove the packet from stream */
//pkptr = op_pk_get (instrm_from_ip_encap);
/* Update the "Traffic Received" statistics */
pk_size = (double) op_pk_total_size_get (pkptr);
/* Update the statistics for the packet received */
manet_rpg_received_stats_update (pk_size);
/* Compute the delay */
delay = op_sim_time () - op_pk_creation_time_get (pkptr);
/* Update the "Delay" statistic */
op_stat_write (local_delay_hndl, delay);
op_stat_write (global_delay_hndl, delay);
op_ici_destroy (op_intrpt_ici ());
op_pk_destroy (pkptr);
FOUT;
}
//Done by me
//3
void create_key(unsigned char arr_key[]) // if node is head
{
Objid procid,node_id;
Packet * pktptr;
msg_info *msg;
int j;
for (int i = 0; i<op_topo_object_count(OPC_OBJTYPE_NODE_MOB); i++)
{
msg=new msg_info();
msg->type=key;
for(j=0;j<16;j++)
{
msg->info[j]=arr_key[j];
}
node_id = op_topo_object(OPC_OBJTYPE_NODE_MOB,i);
/*for(int i=0;i<16;i++)
{
//unsigned char * ch1=( unsigned char *)prg_list_access(msg->info,i);
printf("%x",msg->info[i]);
//cout<<*ch;
}
cout<<"\n";
cout<<"__________________________"<<"\n";*/
pktptr=op_pk_create(0);
op_pk_fd_set (pktptr, 0, OPC_FIELD_TYPE_STRUCT, msg, sizeof(msg_info)*8,op_prg_mem_copy_create,op_prg_mem_free,sizeof(msg_info));
procid = op_id_from_name(node_id,OPC_OBJTYPE_PROC,"traf_src");
op_pk_deliver(pktptr,procid,0);
}
}
void store_key(unsigned char key_arr[])
{
unsigned char * ch;
FIN(store_keys(<args>));
//cout<<"store"<<"\n";
for(int i=0;i<16;i++)
{
ch=&key_arr[i];// access symkey
prg_list_insert(symmetric_key,ch,i);
}
FOUT;
}
//end my code
/* End of Function Block */
/* Undefine optional tracing in FIN/FOUT/FRET */
/* The FSM has its own tracing code and the other */
/* functions should not have any tracing. */
#undef FIN_TRACING
#define FIN_TRACING
#undef FOUTRET_TRACING
#define FOUTRET_TRACING
/* Undefine shortcuts to state variables because the */
/* following functions are part of the state class */
#undef my_objid
#undef my_node_objid
#undef my_subnet_objid
#undef local_packets_received_hndl
#undef local_bits_received_hndl
#undef local_delay_hndl
#undef global_packets_received_hndl
#undef global_bits_received_hndl
#undef outstrm_to_ip_encap
#undef instrm_from_ip_encap
#undef manet_flow_info_array
#undef higher_layer_proto_id
#undef ip_encap_req_ici_ptr
#undef local_packets_sent_hndl
#undef local_bits_sent_hndl
#undef global_packets_sent_hndl
#undef global_bits_sent_hndl
#undef global_delay_hndl
#undef iface_info_ptr
#undef next_pkt_interarrival
#undef cluster_key
#undef symmetric_key
/* Access from C kernel using C linkage */
extern "C"
{
VosT_Obtype _op_manet_dispatcher_head_ideal_init (int * init_block_ptr);
VosT_Address _op_manet_dispatcher_head_ideal_alloc (VosT_Obtype, int);
void manet_dispatcher_head_ideal (OP_SIM_CONTEXT_ARG_OPT)
{
((manet_dispatcher_head_ideal_state *)(OP_SIM_CONTEXT_PTR->_op_mod_state_ptr))->manet_dispatcher_head_ideal (OP_SIM_CONTEXT_PTR_OPT);
}
void _op_manet_dispatcher_head_ideal_svar (void *, const char *, void **);
void _op_manet_dispatcher_head_ideal_diag (OP_SIM_CONTEXT_ARG_OPT)
{
((manet_dispatcher_head_ideal_state *)(OP_SIM_CONTEXT_PTR->_op_mod_state_ptr))->_op_manet_dispatcher_head_ideal_diag (OP_SIM_CONTEXT_PTR_OPT);
}
void _op_manet_dispatcher_head_ideal_terminate (OP_SIM_CONTEXT_ARG_OPT)
{
/* The destructor is the Termination Block */
delete (manet_dispatcher_head_ideal_state *)(OP_SIM_CONTEXT_PTR->_op_mod_state_ptr);
}
} /* end of 'extern "C"' */
/* Process model interrupt handling procedure */
void
manet_dispatcher_head_ideal_state::manet_dispatcher_head_ideal (OP_SIM_CONTEXT_ARG_OPT)
{
#if !defined (VOSD_NO_FIN)
int _op_block_origin = 0;
#endif
FIN_MT (manet_dispatcher_head_ideal_state::manet_dispatcher_head_ideal ());
try
{
/* Temporary Variables */
List* proc_record_handle_lptr;
int proc_record_handle_list_size;
OmsT_Pr_Handle process_record_handle;
Objid low_module_objid;
IpT_Rte_Module_Data* ip_module_data_ptr;
int intrpt_type;
int intrpt_code=0;
/* End of Temporary Variables */
FSM_ENTER ("manet_dispatcher_head_ideal")
FSM_BLOCK_SWITCH
{
/*---------------------------------------------------------*/
/** state (init) enter executives **/
FSM_STATE_ENTER_UNFORCED_NOLABEL (0, "init", "manet_dispatcher_head_ideal [init enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [init enter execs]", state0_enter_exec)
{
/* Initialize the state variables used by this model. */
manet_rpg_sv_init ();
/* Register this process in the network wide process registery so that */
/* lower layer can detect our existence. */
manet_rpg_register_self ();
/* Schedule a self interrupt to wait for lower layer process to */
/* initialize and register itself in the model-wide process registry. */
/* This is necessary since global RPG start time may have been set as */
/* low as zero seconds, which is acceptable when operating over MAC */
/* layer. */
op_intrpt_schedule_self (op_sim_time (), 0);
//Done by me
cluster_key=prg_list_create();
prg_list_init(cluster_key);
symmetric_key=prg_list_create();
prg_list_init(symmetric_key);
//ENd my code
}
FSM_PROFILE_SECTION_OUT (state0_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (1,"manet_dispatcher_head_ideal")
/** state (init) exit executives **/
FSM_STATE_EXIT_UNFORCED (0, "init", "manet_dispatcher_head_ideal [init exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [init exit execs]", state0_exit_exec)
{
}
FSM_PROFILE_SECTION_OUT (state0_exit_exec)
/** state (init) transition processing **/
FSM_TRANSIT_FORCE (2, state2_enter_exec, ;, "default", "", "init", "wait", "tr_31", "manet_dispatcher_head_ideal [init -> wait : default / ]")
/*---------------------------------------------------------*/
/** state (discover) enter executives **/
FSM_STATE_ENTER_UNFORCED (1, "discover", state1_enter_exec, "manet_dispatcher_head_ideal [discover enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [discover enter execs]", state1_enter_exec)
{
/* Schedule a self interrupt, that will indicate the completion of */
/* lower layer initializations. We will perform the discovery process */
/* following the delivery of this interrupt, i.e. in the exit execs of */
/* this state. */
op_intrpt_schedule_self (op_sim_time (), 0);
}
FSM_PROFILE_SECTION_OUT (state1_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (3,"manet_dispatcher_head_ideal")
/** state (discover) exit executives **/
FSM_STATE_EXIT_UNFORCED (1, "discover", "manet_dispatcher_head_ideal [discover exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [discover exit execs]", state1_exit_exec)
{
/** In this state we try to discover the IP module **/
/* First check whether we have an IP module in the same node. */
proc_record_handle_lptr = op_prg_list_create ();
oms_pr_process_discover (my_objid, proc_record_handle_lptr,
"node objid", OMSC_PR_OBJID, my_node_objid,
"protocol", OMSC_PR_STRING, "ip_encap",
OPC_NIL);
/* Check the number of modules matching to the given discovery query. */
proc_record_handle_list_size = op_prg_list_size (proc_record_handle_lptr);
if (proc_record_handle_list_size != 1)
{
/* A node with multiple IP modules is not an acceptable */
/* configuration. Terminate the simulation. */
op_sim_end ("Error: Zero or Multiple IP modules are found in the surrounding node.", "", "", "");
}
else
{
/* We have exactly one ip_encap module in the surrounding node and */
/* we should be running over this module. Get a handle to its */
/* process record. */
process_record_handle = (OmsT_Pr_Handle) op_prg_list_access (proc_record_handle_lptr, OPC_LISTPOS_HEAD);
/* Obtain the module objid of the IP-ENCAP module and using that */
/* determine our stream numbers with the lower layer. */
oms_pr_attr_get (process_record_handle, "module objid", OMSC_PR_OBJID, &low_module_objid);
oms_tan_neighbor_streams_find (my_objid, low_module_objid, &instrm_from_ip_encap, &outstrm_to_ip_encap);
}
/* Deallocate no longer needed process registry */
/* information. */
while (op_prg_list_size (proc_record_handle_lptr))
op_prg_list_remove (proc_record_handle_lptr, OPC_LISTPOS_HEAD);
op_prg_mem_free (proc_record_handle_lptr);
/* Obtain the IP interface information for the local */
/* ip process from the model-wide registry. */
proc_record_handle_lptr = op_prg_list_create ();
oms_pr_process_discover (OPC_OBJID_INVALID, proc_record_handle_lptr,
"node objid", OMSC_PR_OBJID, my_node_objid,
"protocol", OMSC_PR_STRING, "ip",
OPC_NIL);
proc_record_handle_list_size = op_prg_list_size (proc_record_handle_lptr);
if (proc_record_handle_list_size != 1)
{
/* An error should be created if there are more */
/* than one ip process in the local node, or */
/* if no match is found. */
op_sim_end ("Error: either zero or several ip processes found in the local node", "", "", "");
}
else
{
/* Obtain a handle on the process record. */
process_record_handle = (OmsT_Pr_Handle) op_prg_list_access (proc_record_handle_lptr, OPC_LISTPOS_HEAD);
/* Obtain a pointer to the ip module data . */
oms_pr_attr_get (process_record_handle, "module data", OMSC_PR_POINTER, &ip_module_data_ptr);
}
/* Deallocate no longer needed process registry */
/* information. */
while (op_prg_list_size (proc_record_handle_lptr))
op_prg_list_remove (proc_record_handle_lptr, OPC_LISTPOS_HEAD);
op_prg_mem_free (proc_record_handle_lptr);
/* Get the IP address of this station node */
/* Since this node can have only one */
/* interface, access index 0 */
iface_info_ptr = inet_rte_intf_tbl_access (ip_module_data_ptr,0);
/* Register this node's IP address in the global */
/* list of IP address for auto assignment of a */
/* destination address */
manet_rte_ip_address_register (iface_info_ptr);
}
FSM_PROFILE_SECTION_OUT (state1_exit_exec)
/** state (discover) transition processing **/
FSM_TRANSIT_FORCE (3, state3_enter_exec, ;, "default", "", "discover", "wait_2", "tr_40", "manet_dispatcher_head_ideal [discover -> wait_2 : default / ]")
/*---------------------------------------------------------*/
/** state (wait) enter executives **/
FSM_STATE_ENTER_UNFORCED (2, "wait", state2_enter_exec, "manet_dispatcher_head_ideal [wait enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait enter execs]", state2_enter_exec)
{
/* Wait for one more wave of interrupts to gurantee that lower layers */
/* will have finalized their address resolution when we query for the */
/* address (and other) information in the exit execs of discover state. */
op_intrpt_schedule_self (op_sim_time (), 0);
}
FSM_PROFILE_SECTION_OUT (state2_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (5,"manet_dispatcher_head_ideal")
/** state (wait) exit executives **/
FSM_STATE_EXIT_UNFORCED (2, "wait", "manet_dispatcher_head_ideal [wait exit execs]")
/** state (wait) transition processing **/
FSM_TRANSIT_FORCE (4, state4_enter_exec, ;, "default", "", "wait", "wait_0", "tr_37", "manet_dispatcher_head_ideal [wait -> wait_0 : default / ]")
/*---------------------------------------------------------*/
/** state (wait_2) enter executives **/
FSM_STATE_ENTER_UNFORCED (3, "wait_2", state3_enter_exec, "manet_dispatcher_head_ideal [wait_2 enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_2 enter execs]", state3_enter_exec)
{
/** Wait so that all nodes can register their **/
/** own addresses in the global list of possible **/
/** IP destinations. **/
op_intrpt_schedule_self (op_sim_time (), 0);
}
FSM_PROFILE_SECTION_OUT (state3_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (7,"manet_dispatcher_head_ideal")
/** state (wait_2) exit executives **/
FSM_STATE_EXIT_UNFORCED (3, "wait_2", "manet_dispatcher_head_ideal [wait_2 exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_2 exit execs]", state3_exit_exec)
{
/* Read in the traffic flow information */
manet_rpg_packet_flow_info_read ();
//cout<<op_sim_time()<<"\n";
}
FSM_PROFILE_SECTION_OUT (state3_exit_exec)
/** state (wait_2) transition processing **/
FSM_TRANSIT_FORCE (6, state6_enter_exec, ;, "default", "", "wait_2", "dispatch", "tr_48", "manet_dispatcher_head_ideal [wait_2 -> dispatch : default / ]")
/*---------------------------------------------------------*/
/** state (wait_0) enter executives **/
FSM_STATE_ENTER_UNFORCED (4, "wait_0", state4_enter_exec, "manet_dispatcher_head_ideal [wait_0 enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_0 enter execs]", state4_enter_exec)
{
/** Wait so that all nodes can register their **/
/** own addresses in the global list of possible **/
/** IP destinations. **/
op_intrpt_schedule_self (op_sim_time (), 0);
}
FSM_PROFILE_SECTION_OUT (state4_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (9,"manet_dispatcher_head_ideal")
/** state (wait_0) exit executives **/
FSM_STATE_EXIT_UNFORCED (4, "wait_0", "manet_dispatcher_head_ideal [wait_0 exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_0 exit execs]", state4_exit_exec)
{
}
FSM_PROFILE_SECTION_OUT (state4_exit_exec)
/** state (wait_0) transition processing **/
FSM_TRANSIT_FORCE (5, state5_enter_exec, ;, "default", "", "wait_0", "wait_1", "tr_39", "manet_dispatcher_head_ideal [wait_0 -> wait_1 : default / ]")
/*---------------------------------------------------------*/
/** state (wait_1) enter executives **/
FSM_STATE_ENTER_UNFORCED (5, "wait_1", state5_enter_exec, "manet_dispatcher_head_ideal [wait_1 enter execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_1 enter execs]", state5_enter_exec)
{
/** Wait so that all nodes can register their **/
/** own addresses in the global list of possible **/
/** IP destinations. **/
op_intrpt_schedule_self (op_sim_time (), 0);
}
FSM_PROFILE_SECTION_OUT (state5_enter_exec)
/** blocking after enter executives of unforced state. **/
FSM_EXIT (11,"manet_dispatcher_head_ideal")
/** state (wait_1) exit executives **/
FSM_STATE_EXIT_UNFORCED (5, "wait_1", "manet_dispatcher_head_ideal [wait_1 exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [wait_1 exit execs]", state5_exit_exec)
{
}
FSM_PROFILE_SECTION_OUT (state5_exit_exec)
/** state (wait_1) transition processing **/
FSM_TRANSIT_FORCE (1, state1_enter_exec, ;, "default", "", "wait_1", "discover", "tr_32", "manet_dispatcher_head_ideal [wait_1 -> discover : default / ]")
/*---------------------------------------------------------*/
/** state (dispatch) enter executives **/
FSM_STATE_ENTER_UNFORCED (6, "dispatch", state6_enter_exec, "manet_dispatcher_head_ideal [dispatch enter execs]")
/** blocking after enter executives of unforced state. **/
FSM_EXIT (13,"manet_dispatcher_head_ideal")
/** state (dispatch) exit executives **/
FSM_STATE_EXIT_UNFORCED (6, "dispatch", "manet_dispatcher_head_ideal [dispatch exit execs]")
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [dispatch exit execs]", state6_exit_exec)
{
/* Get the interrupt type. This will be used to determine */
/* whether this is a self interrupt to generate a packet or */
/* a stream interrupt from ip_encap. */
//Done by me
int x;
Packet * rcvd_pkt=OPC_NIL;
if(op_sim_time()>1)
{
if(!done)
{
done=true;
store_key(initkey);
create_key(initkey);
}
}
if(op_sim_time()>150)
{
//cout<<op_sim_time()<<"\n";
if(!done2)
{
done2=true;
store_key(initkey2);
create_key(initkey2);
}
}
//msg_info * msg=new msg_info();
intrpt_type = op_intrpt_type ();
if (intrpt_type==OPC_INTRPT_STRM)
{
rcvd_pkt=op_pk_get (op_intrpt_strm ());
x=op_pk_fd_max_index(rcvd_pkt);
if(x<0)
{
//cout<<x<<"\n";
manet_rpg_packet_destroy(rcvd_pkt);
}
}
}//end code
FSM_PROFILE_SECTION_OUT (state6_exit_exec)
/** state (dispatch) transition processing **/
FSM_PROFILE_SECTION_IN ("manet_dispatcher_head_ideal [dispatch trans conditions]", state6_trans_conds)
FSM_INIT_COND (SELF_INTERRUPT)
FSM_DFLT_COND
FSM_TEST_LOGIC ("dispatch")
FSM_PROFILE_SECTION_OUT (state6_trans_conds)
FSM_TRANSIT_SWITCH
{
FSM_CASE_TRANSIT (0, 6, state6_enter_exec, manet_rpg_generate_packet ();, "SELF_INTERRUPT", "manet_rpg_generate_packet ()", "dispatch", "dispatch", "tr_36", "manet_dispatcher_head_ideal [dispatch -> dispatch : SELF_INTERRUPT / manet_rpg_generate_packet ()]")
FSM_CASE_TRANSIT (1, 6, state6_enter_exec, ;, "default", "", "dispatch", "dispatch", "tr_47", "manet_dispatcher_head_ideal [dispatch -> dispatch : default / ]")
}
/*---------------------------------------------------------*/
}
FSM_EXIT (0,"manet_dispatcher_head_ideal")
}
catch (...)
{
Vos_Error_Print (VOSC_ERROR_ABORT,
(const char *)VOSC_NIL,
"Unhandled C++ exception in process model (manet_dispatcher_head_ideal)",
(const char *)VOSC_NIL, (const char *)VOSC_NIL);
}
}
void
manet_dispatcher_head_ideal_state::_op_manet_dispatcher_head_ideal_diag (OP_SIM_CONTEXT_ARG_OPT)
{
/* No Diagnostic Block */
}
void
manet_dispatcher_head_ideal_state::operator delete (void* ptr)
{
FIN (manet_dispatcher_head_ideal_state::operator delete (ptr));
Vos_Poolmem_Dealloc (ptr);
FOUT
}
manet_dispatcher_head_ideal_state::~manet_dispatcher_head_ideal_state (void)
{
FIN (manet_dispatcher_head_ideal_state::~manet_dispatcher_head_ideal_state ())
/* No Termination Block */
FOUT
}
#undef FIN_PREAMBLE_DEC
#undef FIN_PREAMBLE_CODE
#define FIN_PREAMBLE_DEC
#define FIN_PREAMBLE_CODE
void *
manet_dispatcher_head_ideal_state::operator new (size_t)
#if defined (VOSD_NEW_BAD_ALLOC)
throw (VOSD_BAD_ALLOC)
#endif
{
void * new_ptr;
FIN_MT (manet_dispatcher_head_ideal_state::operator new ());
new_ptr = Vos_Alloc_Object (manet_dispatcher_head_ideal_state::obtype);
#if defined (VOSD_NEW_BAD_ALLOC)
if (new_ptr == VOSC_NIL) throw VOSD_BAD_ALLOC();
#endif
FRET (new_ptr)
}
/* State constructor initializes FSM handling */
/* by setting the initial state to the first */
/* block of code to enter. */
manet_dispatcher_head_ideal_state::manet_dispatcher_head_ideal_state (void) :
_op_current_block (0)
{
#if defined (OPD_ALLOW_ODB)
_op_current_state = "manet_dispatcher_head_ideal [init enter execs]";
#endif
}
VosT_Obtype
_op_manet_dispatcher_head_ideal_init (int * init_block_ptr)
{
FIN_MT (_op_manet_dispatcher_head_ideal_init (init_block_ptr))
manet_dispatcher_head_ideal_state::obtype = Vos_Define_Object_Prstate ("proc state vars (manet_dispatcher_head_ideal)",
sizeof (manet_dispatcher_head_ideal_state));
*init_block_ptr = 0;
FRET (manet_dispatcher_head_ideal_state::obtype)
}
VosT_Address
_op_manet_dispatcher_head_ideal_alloc (VosT_Obtype, int)
{
#if !defined (VOSD_NO_FIN)
int _op_block_origin = 0;
#endif
manet_dispatcher_head_ideal_state * ptr;
FIN_MT (_op_manet_dispatcher_head_ideal_alloc ())
/* New instance will have FSM handling initialized */
#if defined (VOSD_NEW_BAD_ALLOC)
try {
ptr = new manet_dispatcher_head_ideal_state;
} catch (const VOSD_BAD_ALLOC &) {
ptr = VOSC_NIL;
}
#else
ptr = new manet_dispatcher_head_ideal_state;
#endif
FRET ((VosT_Address)ptr)
}
void
_op_manet_dispatcher_head_ideal_svar (void * gen_ptr, const char * var_name, void ** var_p_ptr)
{
manet_dispatcher_head_ideal_state *prs_ptr;
FIN_MT (_op_manet_dispatcher_head_ideal_svar (gen_ptr, var_name, var_p_ptr))
if (var_name == OPC_NIL)
{
*var_p_ptr = (void *)OPC_NIL;
FOUT
}
prs_ptr = (manet_dispatcher_head_ideal_state *)gen_ptr;
if (strcmp ("my_objid" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->my_objid);
FOUT
}
if (strcmp ("my_node_objid" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->my_node_objid);
FOUT
}
if (strcmp ("my_subnet_objid" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->my_subnet_objid);
FOUT
}
if (strcmp ("local_packets_received_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->local_packets_received_hndl);
FOUT
}
if (strcmp ("local_bits_received_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->local_bits_received_hndl);
FOUT
}
if (strcmp ("local_delay_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->local_delay_hndl);
FOUT
}
if (strcmp ("global_packets_received_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->global_packets_received_hndl);
FOUT
}
if (strcmp ("global_bits_received_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->global_bits_received_hndl);
FOUT
}
if (strcmp ("outstrm_to_ip_encap" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->outstrm_to_ip_encap);
FOUT
}
if (strcmp ("instrm_from_ip_encap" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->instrm_from_ip_encap);
FOUT
}
if (strcmp ("manet_flow_info_array" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->manet_flow_info_array);
FOUT
}
if (strcmp ("higher_layer_proto_id" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->higher_layer_proto_id);
FOUT
}
if (strcmp ("ip_encap_req_ici_ptr" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->ip_encap_req_ici_ptr);
FOUT
}
if (strcmp ("local_packets_sent_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->local_packets_sent_hndl);
FOUT
}
if (strcmp ("local_bits_sent_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->local_bits_sent_hndl);
FOUT
}
if (strcmp ("global_packets_sent_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->global_packets_sent_hndl);
FOUT
}
if (strcmp ("global_bits_sent_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->global_bits_sent_hndl);
FOUT
}
if (strcmp ("global_delay_hndl" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->global_delay_hndl);
FOUT
}
if (strcmp ("iface_info_ptr" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->iface_info_ptr);
FOUT
}
if (strcmp ("next_pkt_interarrival" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->next_pkt_interarrival);
FOUT
}
if (strcmp ("cluster_key" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->cluster_key);
FOUT
}
if (strcmp ("symmetric_key" , var_name) == 0)
{
*var_p_ptr = (void *) (&prs_ptr->symmetric_key);
FOUT
}
*var_p_ptr = (void *)OPC_NIL;
FOUT
}
| [
"[email protected]"
] | |
434dbcf3add72de1850aac87bdd1cbefb5b12932 | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Furniture_StandDrinkingAtBar_NoActor_parameters.hpp | 2f42189a2d912eaf571efeeed4f2f4adc604a69d | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | hpp | #pragma once
// TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Furniture_StandDrinkingAtBar_NoActor_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Furniture_StandDrinkingAtBar_NoActor.Furniture_StandDrinkingAtBar_NoActor_C.UserConstructionScript
struct AFurniture_StandDrinkingAtBar_NoActor_C_UserConstructionScript_Params
{
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"[email protected]"
] | |
751b56a310da6862091078b070e89ed8507e4669 | 9a66d8339de7cf8debcd79b2d6bc4b669245087e | /范馨月/第6次-2017312299-范馨月-金融实验/Computer.cpp | 55dd7f342398eefa03533a75f96811c812244e00 | [] | no_license | jinrongsyb17/homework-space | 391183e268f1a09e586a18e4cbe2735b59173074 | f0c8fe0c17c6fb08c55d967899d9b26a1782b0e3 | refs/heads/master | 2020-03-28T14:40:12.876141 | 2019-01-02T04:57:27 | 2019-01-02T04:57:27 | 148,510,153 | 9 | 18 | null | 2018-09-18T11:05:38 | 2018-09-12T16:33:38 | C++ | UTF-8 | C++ | false | false | 1,356 | cpp | #include<iostream>
using namespace std;
enum CPU_Rank { P1 = 1, P2, P3, P4, P5, P6, P7 };
class CPU {
public:
CPU(CPU_Rank inputR = P1, int inputF=1500, double inputV=200.0) {
rank = (CPU_Rank)inputR;
frequency = inputF;
voltage = inputV;
cout << "The constructor is called." << endl;
}
void run() {
cout << "CPU is running." << endl;
cout << rank << endl << frequency << " MHZ" << endl << voltage << " V" << endl;
}
void stop() {
cout << "CPU has stopped." << endl;
}
~CPU() {
cout << "The deconstructor is called." << endl;
}
private:
CPU_Rank rank;
int frequency;
double voltage;
};
class RAM {
private:
double size;
public:
RAM(double inputSize=4) {
size = inputSize;
}
};
class CDROM {
private:
double size;
public:
CDROM(double inputSize=100) {
size = inputSize;
}
};
class Computer {
private:
CPU cpu;
RAM ram;
CDROM cdrom;
public:
Computer(CPU_Rank inputR, int inputF, double inputV, double sizeRam, double sizeCdrom) :cpu(inputR, inputF, inputV), ram(sizeRam), cdrom(sizeCdrom) {
cout << "The constructoe is called" << endl;
}
void run() {
cout << "The computer is running" << endl;
cpu.run();
}
void stop() {
cout << "The computer has stopped" << endl;
cpu.stop();
}
};
int main() {
Computer com(P3, 1600, 300.0, 2.0, 400.0);
com.run();
com.stop();
system("pause");
return 0;
} | [
"[email protected]"
] | |
173d096812550035a1152d811246d9f7a283631c | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/assist_ranker/ranker_url_fetcher.h | 4f22b221174f8fab2e9602319ff79b1ae847af6f | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 2,383 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_ASSIST_RANKER_RANKER_URL_FETCHER_H_
#define COMPONENTS_ASSIST_RANKER_RANKER_URL_FETCHER_H_
#include <memory>
#include "base/callback.h"
#include "base/macros.h"
#include "url/gurl.h"
namespace network {
class SimpleURLLoader;
namespace mojom {
class URLLoaderFactory;
} // namespace mojom
} // namespace network
namespace assist_ranker {
// Downloads Ranker models.
class RankerURLFetcher {
public:
// Callback type for Request().
typedef base::OnceCallback<void(bool, const std::string&)> Callback;
// Represents internal state if the fetch is completed successfully.
enum State {
IDLE, // No fetch request was issued.
REQUESTING, // A fetch request was issued, but not finished yet.
COMPLETED, // The last fetch request was finished successfully.
FAILED, // The last fetch request was finished with a failure.
};
RankerURLFetcher();
~RankerURLFetcher();
int max_retry_on_5xx() { return max_retry_on_5xx_; }
void set_max_retry_on_5xx(int count) { max_retry_on_5xx_ = count; }
// Requests to |url|. |callback| will be invoked when the function returns
// true, and the request is finished asynchronously.
// Returns false if the previous request is not finished, or the request
// is omitted due to retry limitation.
bool Request(const GURL& url,
Callback callback,
network::mojom::URLLoaderFactory* url_loader_factory);
// Gets internal state.
State state() { return state_; }
private:
void OnSimpleLoaderComplete(std::unique_ptr<std::string> response_body);
// URL to send the request.
GURL url_;
// Internal state.
enum State state_;
// SimpleURLLoader instance.
std::unique_ptr<network::SimpleURLLoader> simple_url_loader_;
// Callback passed at Request(). It will be invoked when an asynchronous
// fetch operation is finished.
Callback callback_;
// Counts how many times did it try to fetch the language list.
int retry_count_;
// Max number how many times to retry on the server error
int max_retry_on_5xx_;
DISALLOW_COPY_AND_ASSIGN(RankerURLFetcher);
};
} // namespace assist_ranker
#endif // COMPONENTS_ASSIST_RANKER_RANKER_URL_FETCHER_H_
| [
"[email protected]"
] | |
2427d10000ed5658d1d1439cb2a164974246a741 | 8dee7f236ecccb1d2a8ca496a9826353f5bd9d78 | /include/bmp/playerbmp2.h | 09416aa35bd5a2389d4f7934a18fcafc211abcee | [
"MIT"
] | permissive | ant512/EarthShakerDS | 6675bc3f3df6923b56ef820ca8d748de57f5b52b | c23920bb96652570616059ee4b807e82617c2385 | refs/heads/master | 2020-05-18T13:14:12.995125 | 2015-02-08T06:05:01 | 2015-02-08T06:05:01 | 15,246,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | h | #ifndef _PLAYERBMP2_H_
#define _PLAYERBMP2_H_
#include "bitmapwrapper.h"
class PlayerBmp2 : public WoopsiGfx::BitmapWrapper {
public:
PlayerBmp2();
};
#endif
| [
"devnull@localhost"
] | devnull@localhost |
218564d332b114ea28234691cc658b7d519fda13 | dca9b87a0a2bc3ad49beb6d47781b21115cc0230 | /compiler/regex_library/src/re3.cc | 7c082a4db304423927aec8a09073af645030d3f9 | [] | no_license | ranjanZ/isi_work | ed568319c7beae36ea94c46ce05be814c184cd46 | b4f08e58e380f2443a844fe8831e44a02ecbe670 | refs/heads/master | 2021-05-29T15:02:35.619872 | 2015-03-19T16:03:23 | 2015-03-19T16:03:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,396 | cc | #include"re3.h"
#include<stdlib.h>
//This function is used to display a NFA.
void dis_NFA(NFA nfa)
{
for(int i=0;i<int(nfa.T.size());i++)
{
// cout<<nfa.T[i].v1<<"----"<<nfa.T[i].c<<"--->"<<nfa.T[i].v2<<endl;
}
}
//This function is used to build new NFA by doing concatenation operation on given two NFAs.
NFA concatenation(NFA nfa1,NFA nfa2)
{
transition T1;
NFA temp=NFA();
temp.set_vcount(nfa1.final_state+1+nfa2.final_state+1);
temp.set_fstate(nfa1.final_state+1+nfa2.final_state+1-1);
temp.T=nfa1.T;
temp.set_trans(nfa1.get_fstate(),nfa1.final_state+1,'$'); //$ is a null transition
for(int i=0;i<int(nfa2.T.size());i++)
{
T1=nfa2.T[i];
temp.set_trans(nfa1.final_state+1+T1.v1,nfa1.final_state+1+T1.v2,T1.c);
}
return(temp); //return new NFA
}
//This function is used to build new NFA by doing closure operation on given a NFA.
NFA closure(NFA nfa)
{
//see this we need to add extra two state --> http://userpages.umbc.edu/~squire/images/re2.gif
NFA temp=NFA();
transition T1;
temp.set_vcount(nfa.final_state+1+2);
temp.set_fstate(nfa.final_state+1+1);
nfa.set_trans(nfa.get_fstate(),0,'$');
for(int i=0;i<(int)nfa.T.size();i++)
{
T1=nfa.T[i];
temp.set_trans(1+T1.v1,1+T1.v2,T1.c);
}
temp.set_trans(0,1,'$');
temp.set_trans(0,temp.get_fstate(),'$');
temp.set_trans(1+nfa.get_fstate(),temp.get_fstate(),'$');
return(temp);
}
//This function is used to build new NFA by doing or operation on given two NFAs.
NFA nfa_or(NFA nfa1,NFA nfa2)
{
int vcount;
NFA temp=NFA();
int base=1;
vcount = nfa1.final_state+1 + nfa2.final_state+1 + 2;
temp.set_vcount(vcount);
for(int j=0;j<(int)nfa1.T.size();j++)
{
temp.set_trans(base+nfa1.T[j].v1,base+nfa1.T[j].v2,nfa1.T[j].c);
}
temp.set_trans(0,base,'$');
temp.set_trans(base+nfa1.final_state,vcount-1,'$');
base = base + nfa1.final_state+1;
temp.set_trans(0,base,'$'); //new added for bug
temp.set_trans(base+nfa2.final_state,vcount-1,'$'); //""
for(int j=0;j<(int)nfa2.T.size();j++)
{
temp.set_trans(base+nfa2.T[j].v1,base+nfa2.T[j].v2,nfa2.T[j].c);
}
return temp;
}
//This recursive function is used to traverse the NFA to parse the string.
void traverseNFA(string str,int i,int curr_state , NFA nfa)
{
if(curr_state == nfa.final_state && i == (int)str.size() )
{
parse_status = true;
return ;
}
for(int j = 0 ; j <(int)nfa.T.size(); j++)
{
if(nfa.T[j].v1 == curr_state)
{
if(nfa.T[j].c == str[i]) // || nfa.T[j].c == '.')
{
traverseNFA(str,i+1,nfa.T[j].v2, nfa);
}
if (nfa.T[j].c == '$')
{
traverseNFA(str,i,nfa.T[j].v2, nfa);
}
}
}
}
//This function is used to parse the string
bool strParse(string str , NFA nfa)
{
int i = 0,curr_state = 0;
parse_status = false;
traverseNFA(str,i,curr_state, nfa);
return parse_status;
}
//This function convert the regex into appropriate form to process again.
vector<char> convertRegex(string re)
{
vector<char> temp;
int i = 0;
bool flag = 1;
while( i < int(re.size()) )
{
if(re[i] == '(')
{
if(flag!=1)
{
temp.push_back('*');
}
temp.push_back(re[i]);
flag=1;
}
else if(re[i] == ')')
{
temp.push_back(re[i]);
flag = 0;
}
else if(re[i] == '|')
{
temp.push_back('+');
flag=1;
}
else if(re[i] == '*')
{
flag = 1;
temp.push_back('$');
}
else
{
if(flag != 1)
{
temp.push_back('*');
flag = 1;
i--;
}
else
{
temp.push_back(re[i]);
flag = 0;
}
}
i++;
}
return(temp);
}
//It return the priority of the given operator.It is used in postfix conversion.
int priority(char ch)
{
if(ch == '(')
return 4;
if(ch == '$' )
return 3;
else if(ch == '*' )
return 2;
else if(ch == '+' )
return 1;
else
return 0;
}
//This function convert the converted_regex to postfix form.
vector<char> conv_regextoPostfix(vector<char> conv_regex)
{
stack<char> symbol_stack, char_stack,temp_stack;
vector<char> postfix_conv_regex;
for(int i = 0; i <(int) conv_regex.size(); i++)
{
if( (conv_regex[i] != '*') && (conv_regex[i] != '$') && (conv_regex[i] != '+') && (conv_regex[i] != '(') && (conv_regex[i] != ')'))
{
char_stack.push(conv_regex[i]);
}
else
{
if(conv_regex[i] == '(')
{
symbol_stack.push(conv_regex[i]);
}
else if(conv_regex[i] == ')')
{
while(symbol_stack.top() != '(' )
{
char_stack.push(symbol_stack.top());
symbol_stack.pop();
}
symbol_stack.pop();
}
else if(conv_regex[i] == '+' || conv_regex[i] == '*' )//|| conv_regex[i] == '$' )
{
while(symbol_stack.size()!=0 && symbol_stack.top() != '(' && priority(symbol_stack.top()) > priority(conv_regex[i]))
{
if(symbol_stack.size()==0)
{
cout<<"error in regex"<<endl;
exit(0);
}
char_stack.push(symbol_stack.top());
symbol_stack.pop();
}
symbol_stack.push(conv_regex[i]);
}
else if(conv_regex[i] == '$')
{
char_stack.push(conv_regex[i]);
}
}
}
while(symbol_stack.size()!=0)
{
char_stack.push(symbol_stack.top());
symbol_stack.pop();
}
while(char_stack.size()!=0)
{
temp_stack.push(char_stack.top());
char_stack.pop();
}
while(temp_stack.size()!=0)
{
postfix_conv_regex.push_back(temp_stack.top());
temp_stack.pop();
}
return(postfix_conv_regex);
}
//This function build a NFA for a given regex.
NFA regex_to_nfa(string regex)
{
vector<char> con_re = convertRegex(regex);
vector<char> pf_con_re = conv_regextoPostfix(con_re);
stack<NFA> stack1;
NFA nfa1,nfa2;
for(int i=0;i<(int)con_re.size();i++)
{
//cout<<con_re[i];
}
//cout<<endl;
for(int i=0;i<(int)pf_con_re.size();i++)
{
//cout<<pf_con_re[i];
}
//cout<<endl;
for(int i=0;i<(int)pf_con_re.size();i++)
{
if(pf_con_re[i]!='*' && pf_con_re[i]!='$' && pf_con_re[i]!='+')
{
NFA nfa=NFA();
nfa.set_vcount(2);
nfa.set_trans(0,1,pf_con_re[i]);
nfa.set_fstate(1);
stack1.push(nfa);
}
else if(pf_con_re[i]=='$')
{
NFA tnfa=stack1.top();
stack1.pop();
stack1.push(closure(tnfa));
}
else if(pf_con_re[i]=='*')
{
nfa1=stack1.top();
stack1.pop();
nfa2=stack1.top();
stack1.pop();
stack1.push(concatenation(nfa2,nfa1));
}
else if(pf_con_re[i]=='+')
{
vector<NFA> vnfa;
nfa1=stack1.top();
stack1.pop();
if(stack1.size()==0)
{
cout<<"error:regex"<<endl;
exit(0);
}
nfa2=stack1.top();
stack1.pop();
stack1.push(nfa_or(nfa1,nfa2));
}
}
while(stack1.size()!=1)
{
nfa1=stack1.top();
stack1.pop();
nfa2=stack1.top();
stack1.pop();
stack1.push(concatenation(nfa2,nfa1));
}
return(stack1.top());
}
//This recursive function is used to traverse the NFA to check whether the given string have any substring which match with the regex.
void traverseNFA1(string str,int i,int curr_state , NFA nfa)
{
if(curr_state == nfa.final_state && i == (int)str.size() )
{
parse_status = true;
return ;
}
if(i>(int)str.size())
{
return;
}
for(int j = 0 ; j <(int)nfa.T.size(); j++)
{
if(nfa.T[j].v1 == curr_state)
{
if(nfa.T[j].c == str[i] || nfa.T[j].c == '.')
{
traverseNFA1(str,i+1,nfa.T[j].v2, nfa);
}
if (nfa.T[j].c == '$')
{
traverseNFA1(str,i,nfa.T[j].v2, nfa);
}
if (nfa.T[j].c == '#')
{
traverseNFA1(str,i+1,nfa.T[j].v2, nfa);
}
if (nfa.T[j].c == '?')
{
parse_status = true;
return ;
}
}
}
}
//This function is used to parse the string.
bool strParse1(string str , NFA nfa)
{
int i = 0,curr_state = 0;
parse_status = false;
traverseNFA1(str,i,curr_state, nfa);
return parse_status;
}
//This function is used to match the string with the given regular expression.
bool regex_match(string regex,string str)
{
NFA nfa;
nfa = regex_to_nfa(regex);
return strParse(str,nfa);
}
//This function is used to match any substring of given string with the given regular expression.
bool regex_submatch(string regex,string str)
{
NFA nfa;
nfa = regex_to_nfa("#*"+regex+"?*");
return strParse1(str,nfa);
}
| [
"[email protected]"
] | |
c51beaf663aff07916b01ddfcb009524736d78fd | 276b9fe8e3564a9b8e1ba5c424703626d9e4c84e | /ray/src/ray/sampler/InterpolatingSampler.h | da1d1bf0f9073d951f2faf11070c3b51aa2b68ea | [] | no_license | Sopel97/ray | 0e588b08250ad9a6cb0c402cbd5d25840ce325b8 | 4d306b4f17bf8e52e0a33140c936210ed84a7a6f | refs/heads/master | 2020-04-26T14:12:14.223158 | 2019-08-01T17:11:44 | 2019-08-01T17:11:44 | 173,604,730 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,329 | h | #pragma once
#include <ray/material/Color.h>
#include <ray/math/Ray.h>
#include <ray/math/Vec2.h>
#include <ray/math/Vec3.h>
#include <ray/utility/Array2.h>
#include <ray/utility/IntRange2.h>
#include <ray/Camera.h>
#include <algorithm>
#include <cmath>
#include <execution>
namespace ray
{
// uses the given sampler for offsets, averages the colors computed from interpolating single samples in those offsets.
template <typename MultisamplerT>
struct InterpolatingSampler
{
InterpolatingSampler(MultisamplerT&& multisampler) :
m_multisampler(std::move(multisampler))
{
}
template <typename TraceFuncT, typename StoreFuncT, typename ExecT = std::execution::sequenced_policy>
void forEachSample(const Camera& camera, TraceFuncT traceFunc, StoreFuncT storeFunc, ExecT exec = ExecT{}) const
{
const Viewport vp = camera.viewport();
auto sample = [&](const Point2f& coords) {
return traceFunc(vp.rayAt(coords));
};
Array2<ColorRGBf> samples(vp.widthPixels, vp.heightPixels);
auto range = IntRange2(Point2i(vp.widthPixels, vp.heightPixels));
std::for_each(exec, range.begin(), range.end(), [&](const Point2i& xyi) {
auto[xi, yi] = xyi;
samples(xi, yi) = sample(Point2f(static_cast<float>(xi), static_cast<float>(yi)));
});
auto sampleInterpolate = [&](const Point2i& xyi, const Vec2f& offset) {
int xmin = xyi.x - 1;
int ymin = xyi.y - 1;
float tx = offset.x + 1.0f;
float ty = offset.y + 1.0f;
if (offset.x > 0.0f)
{
xmin += 1;
tx -= 1.0f;
}
if (offset.y > 0.0f)
{
ymin += 1;
ty -= 1.0f;
}
const ColorRGBf interpolated =
samples(xmin, ymin) * ((1.0f - tx) * (1.0f - ty))
+ samples(xmin + 1, ymin) * ((tx) * (1.0f - ty))
+ samples(xmin, ymin + 1) * ((1.0f - tx) * (ty))
+ samples(xmin + 1, ymin + 1) * ((tx) * (ty));
return interpolated;
};
std::for_each(exec, range.begin(), range.end(), [&](const Point2i& xyi) {
auto[xi, yi] = xyi;
if (xi == 0 || yi == 0 || xi == vp.widthPixels - 1 || yi == vp.heightPixels - 1)
{
storeFunc(xyi, samples(xi, yi));
}
else
{
ColorRGBf color{};
int numSamples = 0;
m_multisampler.forEachSampleOffset(xyi, [&](const Vec2f& offset, float contribution) {
color += sampleInterpolate(xyi, offset) * contribution;
++numSamples;
});
color =
(color * static_cast<float>(numSamples) + samples(xi, yi))
/ static_cast<float>(numSamples + 1);
storeFunc(xyi, color);
}
});
}
private:
MultisamplerT m_multisampler;
};
}
| [
"[email protected]"
] | |
80b06460ebba1a27afeb099cecaf0852d17aabac | a35b30a7c345a988e15d376a4ff5c389a6e8b23a | /boost/math/special_functions/owens_t.hpp | 20aa12827e6e3add24a615efb34e21d2014e7601 | [] | no_license | huahang/thirdparty | 55d4cc1c8a34eff1805ba90fcbe6b99eb59a7f0b | 07a5d64111a55dda631b7e8d34878ca5e5de05ab | refs/heads/master | 2021-01-15T14:29:26.968553 | 2014-02-06T07:35:22 | 2014-02-06T07:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | hpp | #include "thirdparty/boost_1_55_0/boost/math/special_functions/owens_t.hpp"
| [
"[email protected]"
] | |
36ecbb7b8789068968e85379c0947038bd25eb91 | 760da3ed9e79037dfccbf21ed82763bd42f315ce | /nasser/noiseVsRandom/src/testApp.cpp | e2ab354baa65a518af26b09e6c7b086702558a73 | [] | no_license | nasser/dtplayfulsystems | 279e25883083d774db927779bd0f12b78680671d | c8772f1f996013447deb373b52577cb2d0cfd728 | refs/heads/master | 2020-05-20T12:42:34.979435 | 2014-05-04T16:28:38 | 2014-05-04T16:28:38 | 16,565,198 | 3 | 1 | null | 2014-05-15T01:43:06 | 2014-02-06T01:36:10 | C | UTF-8 | C++ | false | false | 1,641 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
}
//--------------------------------------------------------------
void testApp::update(){
cout << ofNoise(6) << endl;
}
//--------------------------------------------------------------
void testApp::draw(){
for (int i=0; i<100; i++) {
for (int j=0; j<100; j++) {
ofSetColor(255 * ofNoise(i * 0.01, j, mouseY * 20, 1), 255 * ofNoise(i * 0.01, j, mouseY * 20, 2), 255 * ofNoise(i * 0.01, j, mouseY* 20, 3));
ofRect(i * 10, j * 10, 10, 10);
}
}
}
//--------------------------------------------------------------
void testApp::keyPressed(int key){
}
//--------------------------------------------------------------
void testApp::keyReleased(int key){
}
//--------------------------------------------------------------
void testApp::mouseMoved(int x, int y ){
}
//--------------------------------------------------------------
void testApp::mouseDragged(int x, int y, int button){
}
//--------------------------------------------------------------
void testApp::mousePressed(int x, int y, int button){
}
//--------------------------------------------------------------
void testApp::mouseReleased(int x, int y, int button){
}
//--------------------------------------------------------------
void testApp::windowResized(int w, int h){
}
//--------------------------------------------------------------
void testApp::gotMessage(ofMessage msg){
}
//--------------------------------------------------------------
void testApp::dragEvent(ofDragInfo dragInfo){
}
| [
"[email protected]"
] | |
995a295d941da29a5b8bd6db95342e8b4b97af72 | 82770c7bc5e2f27a48b8c370b0bab2ee41f24d86 | /graph-tool/src/graph/stats/graph_histograms.cc | 87e110497b7218b3185c9e5e53f007f288759169 | [
"Apache-2.0",
"GPL-3.0-or-later",
"GPL-3.0-only",
"LicenseRef-scancode-philippe-de-muyter"
] | permissive | johankaito/fufuka | 77ddb841f27f6ce8036d7b38cb51dc62e85b2679 | 32a96ecf98ce305c2206c38443e58fdec88c788d | refs/heads/master | 2022-07-20T00:51:55.922063 | 2015-08-21T20:56:48 | 2015-08-21T20:56:48 | 39,845,849 | 2 | 0 | Apache-2.0 | 2022-06-29T23:30:11 | 2015-07-28T16:39:54 | Python | UTF-8 | C++ | false | false | 2,720 | cc | // graph-tool -- a general graph modification and manipulation thingy
//
// Copyright (C) 2006-2015 Tiago de Paula Peixoto <[email protected]>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 3
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "graph.hh"
#include "graph_filtering.hh"
#include "graph_properties.hh"
#include "graph_histograms.hh"
#include <boost/python.hpp>
using namespace std;
using namespace boost;
using namespace graph_tool;
struct deg_check : public boost::static_visitor<>
{
void operator()(boost::any a) const
{
if (!belongs<vertex_scalar_properties>()(a))
throw ValueException("Vertex property must be of scalar type.");
}
template<class T>
void operator()(const T&) const {}
};
// this will return the vertex histogram of degrees or scalar properties
python::object
get_vertex_histogram(GraphInterface& gi, GraphInterface::deg_t deg,
const vector<long double>& bins)
{
boost::apply_visitor(deg_check(), deg);
python::object hist;
python::object ret_bins;
run_action<>()(gi, get_histogram<VertexHistogramFiller>(hist, bins,
ret_bins),
scalar_selectors())(degree_selector(deg));
return python::make_tuple(hist, ret_bins);
}
// this will return the vertex histogram of degrees or scalar properties
python::object
get_edge_histogram(GraphInterface& gi, boost::any prop,
const vector<long double>& bins)
{
if (!belongs<edge_scalar_properties>()(prop))
throw ValueException("Edge property must be of scalar type.");
python::object hist;
python::object ret_bins;
bool directed = gi.GetDirected();
gi.SetDirected(true);
run_action<graph_tool::detail::always_directed>()
(gi, get_histogram<EdgeHistogramFiller>(hist, bins, ret_bins),
edge_scalar_properties())(prop);
gi.SetDirected(directed);
return python::make_tuple(hist, ret_bins);
}
using namespace boost::python;
void export_histograms()
{
def("get_vertex_histogram", &get_vertex_histogram);
def("get_edge_histogram", &get_edge_histogram);
}
| [
"[email protected]"
] | |
0e075b253080225cf44971047849aea56a2b1841 | 812e26500ff3ad49533f341c05adb57218f06cd0 | /GlobalStructs.h | 4847b8a591bc9c4c7e5224e16fdc51645402bfbf | [] | no_license | LeanBool/SNESEmulator | 3b9a24ee72252b5e16e9b0bada677160dd698844 | 303ea5266cdd9ad7ec710858130645a1b79d9f57 | refs/heads/master | 2023-04-10T01:26:13.223862 | 2021-04-15T16:53:16 | 2021-04-15T16:53:16 | 355,891,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,939 | h | #pragma once
#include <cstdint>
struct fvec2
{
float x;
float y;
bool operator==(const fvec2& other) { if (other.x == this->x && other.y == this->y) { return true; } return false; }
fvec2& operator+(const fvec2& other) { this->x += other.x; this->y += other.y; return *this; }
fvec2& operator-(const fvec2& other) { this->x -= other.x; this->y -= other.y; return *this; }
fvec2& operator*(const fvec2& other) { this->x *= other.x; this->y *= other.y; return *this; }
fvec2& operator*(const float& other) { this->x *= other; this->y *= other; return *this; }
fvec2& operator/(const fvec2& other) { this->x /= other.x; this->y /= other.y; return *this; }
fvec2& operator/(const float& other) { this->x /= other; this->y /= other; return *this; }
};
struct fvec3
{
float x;
float y;
float z;
bool operator==(const fvec3& other) { if (other.x == this->x && other.y == this->y && other.z == this->z) { return true; } return false; }
fvec3& operator+(const fvec3& other) { this->x += other.x; this->y += other.y; this->z += other.z; return *this; }
fvec3& operator-(const fvec3& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; return *this; }
fvec3& operator*(const fvec3& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; return *this; }
fvec3& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; return *this; }
fvec3& operator/(const fvec3& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; return *this; }
fvec3& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; return *this; }
};
struct fvec4
{
float x;
float y;
float z;
float w;
bool operator==(const fvec4& other) { if (other.x == this->x && other.y == this->y && other.z == this->z && other.w == this->w) { return true; } return false; }
fvec4& operator+(const fvec4& other) { this->x += other.x; this->y += other.y; this->z += other.z; this->w += other.w; return *this; }
fvec4& operator-(const fvec4& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; this->w -= other.w; return *this; }
fvec4& operator*(const fvec4& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; this->w *= other.w; return *this; }
fvec4& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; this->w *= other; return *this; }
fvec4& operator/(const fvec4& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; this->w /= other.w; return *this; }
fvec4& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; this->w /= other; return *this; }
};
struct ivec2
{
int x;
int y;
bool operator==(const ivec2& other) { if (other.x == this->x && other.y == this->y) { return true; } return false; }
ivec2& operator+(const ivec2& other) { this->x += other.x; this->y += other.y; return *this; }
ivec2& operator-(const ivec2& other) { this->x -= other.x; this->y -= other.y; return *this; }
ivec2& operator*(const ivec2& other) { this->x *= other.x; this->y *= other.y; return *this; }
ivec2& operator*(const float& other) { this->x *= other; this->y *= other; return *this; }
ivec2& operator/(const ivec2& other) { this->x /= other.x; this->y /= other.y; return *this; }
ivec2& operator/(const float& other) { this->x /= other; this->y /= other; return *this; }
};
struct ivec3
{
int x;
int y;
int z;
bool operator==(const ivec3& other) { if (other.x == this->x && other.y == this->y && other.z == this->z) { return true; } return false; }
ivec3& operator+(const ivec3& other) { this->x += other.x; this->y += other.y; this->z += other.z; return *this; }
ivec3& operator-(const ivec3& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; return *this; }
ivec3& operator*(const ivec3& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; return *this; }
ivec3& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; return *this; }
ivec3& operator/(const ivec3& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; return *this; }
ivec3& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; return *this; }
};
struct ivec4
{
int x;
int y;
int z;
int w;
bool operator==(const ivec4& other) { if (other.x == this->x && other.y == this->y && other.z == this->z && other.w == this->w) { return true; } return false; }
ivec4& operator+(const ivec4& other) { this->x += other.x; this->y += other.y; this->z += other.z; this->w += other.w; return *this; }
ivec4& operator-(const ivec4& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; this->w -= other.w; return *this; }
ivec4& operator*(const ivec4& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; this->w *= other.w; return *this; }
ivec4& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; this->w *= other; return *this; }
ivec4& operator/(const ivec4& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; this->w /= other.w; return *this; }
ivec4& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; this->w /= other; return *this; }
};
struct bvec2
{
uint8_t x;
uint8_t y;
bool operator==(const bvec2& other) { if (other.x == this->x && other.y == this->y) { return true; } return false; }
bvec2& operator+(const bvec2& other) { this->x += other.x; this->y += other.y; return *this; }
bvec2& operator-(const bvec2& other) { this->x -= other.x; this->y -= other.y; return *this; }
bvec2& operator*(const bvec2& other) { this->x *= other.x; this->y *= other.y; return *this; }
bvec2& operator*(const float& other) { this->x *= other; this->y *= other; return *this; }
bvec2& operator/(const bvec2& other) { this->x /= other.x; this->y /= other.y; return *this; }
bvec2& operator/(const float& other) { this->x /= other; this->y /= other; return *this; }
};
struct bvec3
{
uint8_t x;
uint8_t y;
uint8_t z;
bool operator==(const bvec3& other) { if (other.x == this->x && other.y == this->y && other.z == this->z) { return true; } return false; }
bvec3& operator+(const bvec3& other) { this->x += other.x; this->y += other.y; this->z += other.z; return *this; }
bvec3& operator-(const bvec3& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; return *this; }
bvec3& operator*(const bvec3& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; return *this; }
bvec3& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; return *this; }
bvec3& operator/(const bvec3& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; return *this; }
bvec3& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; return *this; }
};
struct bvec4
{
uint8_t x;
uint8_t y;
uint8_t z;
uint8_t w;
bool operator==(const bvec4& other) { if (other.x == this->x && other.y == this->y && other.z == this->z && other.w == this->w) { return true; } return false; }
bvec4& operator+(const bvec4& other) { this->x += other.x; this->y += other.y; this->z += other.z; this->w += other.w; return *this; }
bvec4& operator-(const bvec4& other) { this->x -= other.x; this->y -= other.y; this->z -= other.z; this->w -= other.w; return *this; }
bvec4& operator*(const bvec4& other) { this->x *= other.x; this->y *= other.y; this->z *= other.z; this->w *= other.w; return *this; }
bvec4& operator*(const float& other) { this->x *= other; this->y *= other; this->z *= other; this->w *= other; return *this; }
bvec4& operator/(const bvec4& other) { this->x /= other.x; this->y /= other.y; this->z /= other.z; this->w /= other.w; return *this; }
bvec4& operator/(const float& other) { this->x /= other; this->y /= other; this->z /= other; this->w /= other; return *this; }
};
struct fRec
{
enum Start
{
topleft,
topright,
bottomleft,
bottomright
};
fRec(const fvec2& pos,const fvec2& size, Start start = topleft)
{
recSize = size;
if (start == topleft)
{
topLeft = pos;
}
else if (start == topright)
{
topLeft = { pos.x - size.x, pos.y };
}
else if (start == bottomleft)
{
topLeft = { pos.x, pos.y - size.y };
}
else
{
topLeft = { pos.x - size.x, pos.y - size.y };
}
topRight = { topLeft.x + size.x, topLeft.y };
bottomLeft = { topLeft.x, topLeft.y - size.y };
bottomRight = { topLeft.x + size.x, topLeft.y - size.y };
}
fRec()
{
recSize = { 0,0 };
topLeft = { 0,0 };
topRight = { 0,0 };
bottomLeft = { 0,0 };
bottomRight = { 0,0 };
}
bool vecInRec(const fvec2& pos)
{
if (pos.x > topLeft.x && pos.x < topLeft.x + recSize.x)
{
if (pos.y > topLeft.y - recSize.y && pos.y < topLeft.y)
{
return true;
}
}
return false;
}
fvec2 topLeft;
fvec2 topRight;
fvec2 bottomLeft;
fvec2 bottomRight;
fvec2 recSize;
}; | [
"[email protected]"
] | |
f4fec8c7db44acd2730a24dde28badc1fdc11da1 | 7218e5663622ba16ee9acd69d380ef6b75b8c763 | /studies/extraJetsPreprocBDT/process.cc | f4738a892eaf091c92ee5756de2bc15f7f6a3230 | [] | no_license | sgnoohc/VBSHWWBabyLooper | 992121758520a8ce3d13a7c61884f68c8ef000ae | 8048eeba45114b6ac46230990f957d4414b03174 | refs/heads/main | 2023-07-01T03:12:10.081675 | 2021-08-11T18:34:57 | 2021-08-11T18:34:57 | 302,483,681 | 0 | 2 | null | 2020-12-02T21:38:11 | 2020-10-08T23:24:12 | C++ | UTF-8 | C++ | false | false | 22,019 | cc | #include "Nano.h"
#include "rooutil.h"
#include "cxxopts.h"
#include "Base.h"
#include "ElectronSelections.h"
#include "MuonSelections.h"
#include "VBSHWW.h"
#include "bdt.icc"
// ./process INPUTFILEPATH OUTPUTFILE [NEVENTS]
int main(int argc, char** argv)
{
VBSHWW vbs(argc, argv);
// Additional branches
vbs.tx.createBranch<vector<int>>("extra_jets_good_jets_idx");
vbs.tx.createBranch<vector<LV>>("extra_jets_p4");
vbs.tx.createBranch<vector<float>>("extra_jets_qg_disc");
vbs.tx.createBranch<vector<float>>("extra_jets_btag_score");
vbs.tx.createBranch<vector<LV>>("q_from_W_p4");
vbs.tx.createBranch<vector<int>>("q_from_W_id");
vbs.tx.createBranch<vector<LV>>("extra_jet_pair_ld_p4");
vbs.tx.createBranch<vector<LV>>("extra_jet_pair_tr_p4");
// (BDT) Extra jets
vbs.tx.createBranch<vector<bool>>("MVA_extra_jet_pair_is_match");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_dR");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_M");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_eta");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_phi");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_qg_disc");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_deepjet"); // PROPOSED
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_eta");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_phi");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_qg_disc");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_deepjet"); // PROPOSED
// (BDT) Extra jets + Higgs b-jets
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_bjet_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_bjet_M");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_bjet_dR");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_bjet_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_bjet_M");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_bjet_dR");
// (BDT) Extra jets + leptons
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_lep_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_lep_M");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_ld_lep_dR");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_lep_pt");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_lep_M");
vbs.tx.createBranch<vector<float>>("MVA_extra_jet_pair_tr_lep_dR");
// (BDT) Event
vbs.tx.createBranch<int>("MVA_run");
vbs.tx.createBranch<int>("MVA_event");
vbs.tx.createBranch<int>("MVA_lumi");
vbs.tx.createBranch<float>("MVA_MET_pt");
vbs.tx.createBranch<float>("MVA_MET_phi");
// (BDT) Higgs b-jets
vbs.tx.createBranch<float>("MVA_bjet_pair_ld_deepjet");
vbs.tx.createBranch<float>("MVA_bjet_pair_tr_deepjet");
vbs.tx.createBranch<float>("MVA_bjet_pair_ld_pt");
vbs.tx.createBranch<float>("MVA_bjet_pair_tr_pt");
vbs.tx.createBranch<float>("MVA_bjet_pair_ld_eta");
vbs.tx.createBranch<float>("MVA_bjet_pair_tr_eta");
vbs.tx.createBranch<float>("MVA_bjet_pair_ld_phi");
vbs.tx.createBranch<float>("MVA_bjet_pair_tr_phi");
// (BDT) Leptons
vbs.tx.createBranch<int>("MVA_lep_pair_ld_id");
vbs.tx.createBranch<int>("MVA_lep_pair_tr_id");
vbs.tx.createBranch<float>("MVA_lep_pair_ld_pt");
vbs.tx.createBranch<float>("MVA_lep_pair_tr_pt");
vbs.tx.createBranch<float>("MVA_lep_pair_ld_eta");
vbs.tx.createBranch<float>("MVA_lep_pair_tr_eta");
vbs.tx.createBranch<float>("MVA_lep_pair_ld_phi");
vbs.tx.createBranch<float>("MVA_lep_pair_tr_phi");
// (BDT) VBS jets
vbs.tx.createBranch<float>("MVA_vbs_pair_ld_pt");
vbs.tx.createBranch<float>("MVA_vbs_pair_tr_pt");
vbs.tx.createBranch<float>("MVA_vbs_pair_ld_eta");
vbs.tx.createBranch<float>("MVA_vbs_pair_tr_eta");
vbs.tx.createBranch<float>("MVA_vbs_pair_ld_phi");
vbs.tx.createBranch<float>("MVA_vbs_pair_tr_phi");
vbs.initSRCutflow();
//*****************************
// - Tag two extra jets
//*****************************
// Description: save kinematics of extra jets (good jets != (vbs or higgs jets))
vbs.cutflow.addCutToLastActiveCut("SelectExtraJets",
[&]()
{
// Higgs and VBS jet idxs in good_jets_*
const int& i_higgs_jet_0 = vbs.tx.getBranch<vector<int>>("higgs_jets_good_jets_idx")[0];
const int& i_higgs_jet_1 = vbs.tx.getBranch<vector<int>>("higgs_jets_good_jets_idx")[1];
const int& i_vbs_jet_0 = vbs.tx.getBranch<vector<int>>("vbs_jets_good_jets_idx")[0];
const int& i_vbs_jet_1 = vbs.tx.getBranch<vector<int>>("vbs_jets_good_jets_idx")[1];
// Good jet p4
const vector<LV>& good_jets_p4 = vbs.tx.getBranch<vector<LV>>("good_jets_p4");
const vector<float>& good_jets_qg_disc = vbs.tx.getBranch<vector<float>>("good_jets_qg_disc");
const vector<float>& good_jets_btag_score = vbs.tx.getBranch<vector<float>>("good_jets_btag_score");
// Find extra jets
vector<int> extra_jets_good_jets_idx;
vector<LV> extra_jets_p4;
vector<float> extra_jets_qg_disc;
vector<float> extra_jets_btag_score;
// Good jets include b-jets -- they only have a 20 GeV pt requirement
for (int i = 0; i < int(good_jets_p4.size()); i++)
{
// Reject any jets tagged as b-jets from Higgs
if (i == i_higgs_jet_0) { continue; }
if (i == i_higgs_jet_1) { continue; }
// Reject any jets tagged as VBS jets
if (i == i_vbs_jet_0) { continue; }
if (i == i_vbs_jet_1) { continue; }
// Further requirements
if (good_jets_p4[i].pt() < 30) { continue; }
// These are "extra" jets!
extra_jets_good_jets_idx.push_back(i);
extra_jets_p4.push_back(good_jets_p4.at(i));
extra_jets_qg_disc.push_back(good_jets_qg_disc.at(i));
extra_jets_btag_score.push_back(good_jets_btag_score.at(i));
}
vbs.tx.setBranch<vector<int>>("extra_jets_good_jets_idx", extra_jets_good_jets_idx);
vbs.tx.setBranch<vector<LV>>("extra_jets_p4", extra_jets_p4);
vbs.tx.setBranch<vector<float>>("extra_jets_qg_disc", extra_jets_qg_disc);
vbs.tx.setBranch<vector<float>>("extra_jets_btag_score", extra_jets_btag_score);
// Sort by pt
vbs.tx.sortVecBranchesByPt(
// name of the vector<LV> branch to use to pt sort by
"extra_jets_p4",
// names of any associated vector<float> branches to sort along
{"extra_jets_qg_disc"},
// names of any associated vector<int> branches to sort along
{"extra_jets_good_jets_idx"},
// names of any associated vector<bool> branches to sort along
{}
);
return true;
},
UNITY);
//*****************************
// - Tag two extra jets
//*****************************
// Description: save kinematics of extra jets (good jets != (vbs or higgs jets))
vbs.cutflow.addCutToLastActiveCut("MakeExtraJetPairs",
[&]()
{
const vector<LV>& extra_jets_p4 = vbs.tx.getBranch<vector<LV>>("extra_jets_p4");
const vector<float>& extra_jets_btag_scores = vbs.tx.getBranch<vector<float>>("extra_jets_btag_score");
if (extra_jets_p4.size() < 2) { return true; }
const LV& MET_p4 = vbs.tx.getBranch<LV>("met_p4");
const vector<float>& extra_jets_qg_disc = vbs.tx.getBranch<vector<float>>("extra_jets_qg_disc");
const LV& ld_bjet_p4 = vbs.tx.getBranch<vector<LV>>("higgs_jets_p4")[0];
const LV& tr_bjet_p4 = vbs.tx.getBranch<vector<LV>>("higgs_jets_p4")[1];
const float& ld_bjet_score = vbs.tx.getBranch<vector<float>>("higgs_jets_btag_score")[0];
const float& tr_bjet_score = vbs.tx.getBranch<vector<float>>("higgs_jets_btag_score")[1];
const LV& ld_lep_p4 = vbs.tx.getBranch<vector<LV>>("good_leptons_p4")[0];
const LV& tr_lep_p4 = vbs.tx.getBranch<vector<LV>>("good_leptons_p4")[1];
const int& ld_lep_id = vbs.tx.getBranch<vector<int>>("good_leptons_pdgid")[0];
const int& tr_lep_id = vbs.tx.getBranch<vector<int>>("good_leptons_pdgid")[1];
const LV& ld_vbs_p4 = vbs.tx.getBranch<vector<LV>>("vbs_jets_p4")[0];
const LV& tr_vbs_p4 = vbs.tx.getBranch<vector<LV>>("vbs_jets_p4")[1];
for (unsigned int i = 0; i < extra_jets_p4.size(); i++)
{
for (unsigned int j = i+1; j < extra_jets_p4.size(); j++)
{
// Sort into leading (ld) and trailing (tr)
LV ld_extrajet_p4;
LV tr_extrajet_p4;
float ld_qg_disc;
float tr_qg_disc;
float ld_deepjet; // PROPOSED
float tr_deepjet; // PROPOSED
if (extra_jets_p4[i].pt() > extra_jets_p4[j].pt())
{
ld_extrajet_p4 = extra_jets_p4.at(i);
tr_extrajet_p4 = extra_jets_p4.at(j);
ld_qg_disc = extra_jets_qg_disc.at(i); // PROPOSED
tr_qg_disc = extra_jets_qg_disc.at(j); // PROPOSED
ld_deepjet = extra_jets_btag_scores.at(i); // PROPOSED
tr_deepjet = extra_jets_btag_scores.at(j); // PROPOSED
}
else
{
ld_extrajet_p4 = extra_jets_p4.at(j);
tr_extrajet_p4 = extra_jets_p4.at(i);
ld_qg_disc = extra_jets_qg_disc.at(j);
tr_qg_disc = extra_jets_qg_disc.at(i);
ld_deepjet = extra_jets_btag_scores.at(j); // PROPOSED
tr_deepjet = extra_jets_btag_scores.at(i); // PROPOSED
}
// Extra jets
LV extrajet_pair_p4 = (ld_extrajet_p4 + tr_extrajet_p4);
vbs.tx.pushbackToBranch<LV>("extra_jet_pair_ld_p4", ld_extrajet_p4);
vbs.tx.pushbackToBranch<LV>("extra_jet_pair_tr_p4", tr_extrajet_p4);
vbs.tx.pushbackToBranch<float>(
"MVA_extra_jet_pair_dR",
RooUtil::Calc::DeltaR(ld_extrajet_p4, tr_extrajet_p4)
);
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_pt", extrajet_pair_p4.pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_M", extrajet_pair_p4.M());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_pt", ld_extrajet_p4.pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_eta", ld_extrajet_p4.eta());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_phi", ld_extrajet_p4.phi());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_qg_disc", ld_qg_disc);
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_deepjet", ld_deepjet); // PROPOSED
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_pt", tr_extrajet_p4.pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_eta", tr_extrajet_p4.eta());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_phi", tr_extrajet_p4.phi());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_qg_disc", tr_qg_disc);
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_deepjet", tr_deepjet); // PROPOSED
// Extra jets + Higgs b-jet systems
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_bjet_pt", (extrajet_pair_p4 + ld_bjet_p4).pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_bjet_M", (extrajet_pair_p4 + ld_bjet_p4).M());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_bjet_dR", RooUtil::Calc::DeltaR(extrajet_pair_p4, ld_bjet_p4));
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_bjet_pt", (extrajet_pair_p4 + tr_bjet_p4).pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_bjet_M", (extrajet_pair_p4 + tr_bjet_p4).M());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_bjet_dR", RooUtil::Calc::DeltaR(extrajet_pair_p4, tr_bjet_p4));
// Extra jets + lepton systems
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_lep_pt", (extrajet_pair_p4 + ld_lep_p4).pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_lep_M", (extrajet_pair_p4 + ld_lep_p4).M());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_ld_lep_dR", RooUtil::Calc::DeltaR(extrajet_pair_p4, ld_lep_p4));
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_lep_pt", (extrajet_pair_p4 + tr_lep_p4).pt());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_lep_M", (extrajet_pair_p4 + tr_lep_p4).M());
vbs.tx.pushbackToBranch<float>("MVA_extra_jet_pair_tr_lep_dR", RooUtil::Calc::DeltaR(extrajet_pair_p4, tr_lep_p4));
// Event
vbs.tx.setBranch<int>("MVA_run", nt.run());
vbs.tx.setBranch<int>("MVA_event", nt.event());
vbs.tx.setBranch<int>("MVA_lumi", nt.luminosityBlock());
vbs.tx.setBranch<float>("MVA_MET_pt", MET_p4.pt());
vbs.tx.setBranch<float>("MVA_MET_phi", MET_p4.phi());
// Higgs b-jets
vbs.tx.setBranch<float>("MVA_bjet_pair_ld_deepjet", ld_bjet_score);
vbs.tx.setBranch<float>("MVA_bjet_pair_tr_deepjet", tr_bjet_score);
vbs.tx.setBranch<float>("MVA_bjet_pair_ld_pt", ld_bjet_p4.pt());
vbs.tx.setBranch<float>("MVA_bjet_pair_tr_pt", tr_bjet_p4.pt());
vbs.tx.setBranch<float>("MVA_bjet_pair_ld_eta", ld_bjet_p4.eta());
vbs.tx.setBranch<float>("MVA_bjet_pair_tr_eta", tr_bjet_p4.eta());
vbs.tx.setBranch<float>("MVA_bjet_pair_ld_phi", ld_bjet_p4.phi());
vbs.tx.setBranch<float>("MVA_bjet_pair_tr_phi", tr_bjet_p4.phi());
// Leptons
vbs.tx.setBranch<int>("MVA_lep_pair_ld_id", ld_lep_id);
vbs.tx.setBranch<int>("MVA_lep_pair_tr_id", tr_lep_id);
vbs.tx.setBranch<float>("MVA_lep_pair_ld_pt", ld_lep_p4.pt());
vbs.tx.setBranch<float>("MVA_lep_pair_tr_pt", tr_lep_p4.pt());
vbs.tx.setBranch<float>("MVA_lep_pair_ld_eta", ld_lep_p4.eta());
vbs.tx.setBranch<float>("MVA_lep_pair_tr_eta", tr_lep_p4.eta());
vbs.tx.setBranch<float>("MVA_lep_pair_ld_phi", ld_lep_p4.phi());
vbs.tx.setBranch<float>("MVA_lep_pair_tr_phi", tr_lep_p4.phi());
// VBS jets
vbs.tx.setBranch<float>("MVA_vbs_pair_ld_pt", ld_vbs_p4.pt());
vbs.tx.setBranch<float>("MVA_vbs_pair_tr_pt", tr_vbs_p4.pt());
vbs.tx.setBranch<float>("MVA_vbs_pair_ld_eta", ld_vbs_p4.eta());
vbs.tx.setBranch<float>("MVA_vbs_pair_tr_eta", tr_vbs_p4.eta());
vbs.tx.setBranch<float>("MVA_vbs_pair_ld_phi", ld_vbs_p4.phi());
vbs.tx.setBranch<float>("MVA_vbs_pair_tr_phi", tr_vbs_p4.phi());
}
}
return true;
},
UNITY);
vbs.cutflow.addCutToLastActiveCut("GeqTwoExtraJets",
[&]()
{
const vector<LV>& extra_jets_p4 = vbs.tx.getBranch<vector<LV>>("extra_jets_p4");
return (extra_jets_p4.size() >= 2);
},
UNITY
);
//*****************************
// - Select W->qq events
//*****************************
// Description: Select events with a W->qq decay, save quark kinematics
vbs.cutflow.addCutToLastActiveCut("SelectGenWtoQQ",
[&]()
{
int quark_A_idx = -1;
int quark_A_mother_idx = -1;
int quark_B_idx = -1;
for (unsigned int idx = 0; idx < nt.nGenPart(); ++idx)
{
if (abs(nt.GenPart_pdgId()[idx]) >= 6) { continue; }
if (nt.GenPart_status()[idx] != 23) { continue; }
// Try to find mother
int mother_idx = nt.GenPart_genPartIdxMother()[idx];
if (mother_idx < 0) { continue; }
// Check if mother is a W
if (abs(nt.GenPart_pdgId()[mother_idx]) == 24)
{
if (quark_A_idx < 0)
{
quark_A_idx = idx;
quark_A_mother_idx = mother_idx;
}
else if (mother_idx == quark_A_mother_idx)
{
quark_B_idx = idx;
break;
}
}
}
if (quark_A_idx < 0 || quark_B_idx < 0) { return false; }
// Sort into leading and trailing
int quark_idx_0;
int quark_idx_1;
if (nt.GenPart_pt()[quark_A_idx] >= nt.GenPart_pt()[quark_B_idx])
{
quark_idx_0 = quark_A_idx;
quark_idx_1 = quark_B_idx;
}
else
{
quark_idx_0 = quark_B_idx;
quark_idx_1 = quark_A_idx;
}
// Fill branches
vbs.tx.pushbackToBranch<LV>("q_from_W_p4", nt.GenPart_p4()[quark_idx_0]);
vbs.tx.pushbackToBranch<LV>("q_from_W_p4", nt.GenPart_p4()[quark_idx_1]);
vbs.tx.pushbackToBranch<int>("q_from_W_id", nt.GenPart_pdgId()[quark_idx_0]);
vbs.tx.pushbackToBranch<int>("q_from_W_id", nt.GenPart_pdgId()[quark_idx_1]);
return true;
},
UNITY);
vbs.cutflow.addCutToLastActiveCut("TaggableQQ",
[&]()
{
const LV& q_from_W_0 = vbs.tx.getBranch<vector<LV>>("q_from_W_p4")[0];
const LV& q_from_W_1 = vbs.tx.getBranch<vector<LV>>("q_from_W_p4")[1];
// const vector<LV>& good_jets_p4 = vbs.tx.getBranch<vector<LV>>("good_jets_p4");
// Require trailing pt > 30, forcing both quarks to have pt > 30
// if (q_from_W_1.pt() < 30) { return false; }
// // Select quarks that are within dR < 0.4 of any reco jet
// bool matched_0 = false;
// bool matched_1 = false;
// for (auto& jet : good_jets_p4)
// {
// if (!matched_0 && RooUtil::Calc::DeltaR(q_from_W_0, jet) < 0.4) { matched_0 = true; }
// else if (!matched_1 && RooUtil::Calc::DeltaR(q_from_W_1, jet) < 0.4) { matched_1 = true; }
// if (matched_0 && matched_1) { break; }
// }
// return (matched_0 && matched_1);
bool q0_in_calo = (fabs(q_from_W_0.eta()) < 5.);
bool q1_in_calo = (fabs(q_from_W_1.eta()) < 5.);
return (q0_in_calo && q1_in_calo && q_from_W_1.pt() > 30);
},
UNITY);
vbs.cutflow.getCut("SelectGenWtoQQ");
vbs.cutflow.addCutToLastActiveCut("MatchQQtoOnePair",
[&]()
{
const LV& q_from_W_0 = vbs.tx.getBranch<vector<LV>>("q_from_W_p4")[0];
const LV& q_from_W_1 = vbs.tx.getBranch<vector<LV>>("q_from_W_p4")[1];
const vector<LV>& extra_jets_p4 = vbs.tx.getBranch<vector<LV>>("extra_jets_p4");
int n_matches = 0;
for (unsigned int i = 0; i < extra_jets_p4.size(); i++)
{
LV p4_i = extra_jets_p4.at(i);
for (unsigned int j = i+1; j < extra_jets_p4.size(); j++)
{
LV p4_j = extra_jets_p4.at(j);
float dR_i0 = RooUtil::Calc::DeltaR(p4_i, q_from_W_0);
float dR_i1 = RooUtil::Calc::DeltaR(p4_i, q_from_W_1);
float dR_j0 = RooUtil::Calc::DeltaR(p4_j, q_from_W_0);
float dR_j1 = RooUtil::Calc::DeltaR(p4_j, q_from_W_1);
bool matched = (dR_i0 < 0.4 && dR_j1 < 0.4) || (dR_i1 < 0.4 && dR_j0 < 0.4);
vbs.tx.pushbackToBranch<bool>("MVA_extra_jet_pair_is_match", matched);
if (matched) { n_matches++; }
}
}
return (n_matches == 1);
},
UNITY);
vbs.cutflow.bookCutflows();
vbs.cutflow.bookEventLists();
// Looping input file
while (vbs.looper.nextEvent())
{
// If splitting jobs are requested then determine whether to process the event or not based on remainder
if (vbs.job_index != -1 and vbs.nsplit_jobs > 0)
{
if (vbs.looper.getNEventsProcessed() % vbs.nsplit_jobs != (unsigned int) vbs.job_index)
continue;
}
vbs.process("MatchQQtoOnePair");
}
// Writing output file
vbs.cutflow.saveOutput();
// Write the data structure to the root file
vbs.tx.write();
// The below can be sometimes crucial
delete vbs.output_tfile;
}
| [
"[email protected]"
] | |
0ad356354956619b78d2ff16bac70c24457df9cb | 9903dddd130e477d9053dbb7a7d2dc5919f65386 | /FIT/FITsim/AliFITv7.cxx | e7f64af081633672c66d79ae772cc5c394040c68 | [] | permissive | ehellbar/AliRoot | c755e10c786efbc902f1cf1011f5c3bd6a4f0c0a | 387c0d12d306db20e4c23f003c201788589aeb8d | refs/heads/master | 2022-04-15T18:41:37.868022 | 2017-12-13T12:37:22 | 2017-12-15T08:38:42 | 114,354,549 | 0 | 0 | BSD-3-Clause | 2019-07-02T14:21:50 | 2017-12-15T09:46:36 | C++ | UTF-8 | C++ | false | false | 61,533 | cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors are mentioned in the code where appropriate. *
* *
* Permission to use, copy, modify and distribute this software and its *
* documentation strictly for non-commercial purposes is hereby granted *
* without fee, provided that the above copyright notice appears in all *
* copies and that both the copyright notice and this permission notice *
* appear in the supporting documentation. The authors make no claims *
* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
/////////////////////////////////////////////////////////////////////
// //
// FIT detector full geometry version 5 //
//
//Begin Html
/*
<img src="gif/AliFITv6Class.gif">
*/
//End Html
// [email protected]
////T0+ optical propreties from Maciej and Noa
// V0+ part by Lizardo Valencia Palomo [email protected] //
// //
// //
//////////////////////////////////////////////////////////////////////
#include <Riostream.h>
#include <stdlib.h>
#include "TGeoCompositeShape.h"
#include "TGeoManager.h"
#include "TGeoMatrix.h"
#include "TGeoVolume.h"
#include "TGeoTube.h"
#include "TGeoBBox.h"
#include "TGeoNode.h"
#include "TGeoArb8.h"
#include <TGeoGlobalMagField.h>
#include <TGraph.h>
#include <TLorentzVector.h>
#include <TMath.h>
#include <TVirtualMC.h>
#include <TString.h>
#include <TParticle.h>
#include "AliLog.h"
#include "AliMagF.h"
#include "AliRun.h"
#include "AliFITHits.h"
#include "AliFITv7.h"
#include "AliMC.h"
#include "AliCDBLocal.h"
#include "AliCDBStorage.h"
#include "AliCDBManager.h"
#include "AliCDBEntry.h"
#include "AliTrackReference.h"
ClassImp(AliFITv7)
using std::cout;
using std::endl;
//--------------------------------------------------------------------
AliFITv7::AliFITv7(): AliFIT(),
fIdSens1(0),
fIdSens2(0),
fPMTeff(0x0),
//V0+
nSectors(16),
nRings(5),
fCellId(0),
fSenseless(-1),
fV0PlusR0(3.97),//Computed for z = 325 cm from IP
fV0PlusR1(7.6),//From V0A
fV0PlusR2(13.8),//From V0A
fV0PlusR3(22.7),//From V0A
fV0PlusR4(41.3),//From V0A
fV0PlusR5(72.94),//Computed for z = 325 cm from IP
fV0PlusR6(72.6),//Needed to compute fV0PlusnMeters
fV0PlusSciWd(2.5),//From V0A
fV0PlusFraWd(0.2),//From V0A
fV0PlusZposition(+325),//Must be changed to specifications from Corrado (meeting 10/11/176)
fV0PlusnMeters(fV0PlusR6*0.01),//From V0A
fV0PlusLightYield(93.75),//From V0A
fV0PlusLightAttenuation(0.05),//From V0A
fV0PlusFibToPhot(0.3)//From V0A
{
//
// Standart constructor for T0 Detector version 0
for (Int_t i = 0; i < nSectors; i++)
{
for (Int_t j = 0; j < nRings; j++) fIdV0Plus[i][j] = 0;
}
}
//--------------------------------------------------------------------
AliFITv7::AliFITv7(const char *name, const char *title):
AliFIT(name,title),
fIdSens1(0),
fIdSens2(0),
fPMTeff(0x0),
//V0+
nSectors(16),
nRings(5),
fCellId(0),
fSenseless(-1),
fV0PlusR0(3.97),//Computed for z = 325 cm from IP
fV0PlusR1(7.6),//From V0A
fV0PlusR2(13.8),//From V0A
fV0PlusR3(22.7),//From V0A
fV0PlusR4(41.3),//From V0A
fV0PlusR5(72.94),//Computed for z = 325 cm from IP
fV0PlusR6(72.6),//Needed to compute fV0PlusnMeters
fV0PlusSciWd(2.5),//From V0A
fV0PlusFraWd(0.2),//From V0A
fV0PlusZposition(+325),//Must be changed to specifications from Corrado (meeting 10/11/176)
fV0PlusnMeters(fV0PlusR6*0.01),//From V0A
fV0PlusLightYield(93.75),//From V0A
fV0PlusLightAttenuation(0.05),//From V0A
fV0PlusFibToPhot(0.3)//From V0A
{
//
// Standart constructor for FIT Detector version 0
//
fIshunt = 2;
// SetPMTeff();
}
//_____________________________________________________________________________
AliFITv7::~AliFITv7()
{
// desctructor
}
//-------------------------------------------------------------------------
void AliFITv7::CreateGeometry()
{
//
// Create the geometry of FIT Detector
//
// begin Html
//
Int_t *idtmed = fIdtmed->GetArray();
Float_t zdetC = 85; //center of mother volume
Float_t zdetA = 333;
Int_t idrotm[999];
Double_t x,y,z;
// Float_t pstartC[3] = {6., 20 ,5};
// Float_t pstartA[3] = {2.55, 20 ,5};
Float_t pstartC[3] = {20, 20 ,5};
Float_t pstartA[3] = {20, 20 ,5};
Float_t pinstart[3] = {2.95, 2.95, 4.34};
Float_t pmcp[3] = {2.949, 2.949, 2.8}; //MCP
AliMatrix(idrotm[901], 90., 0., 90., 90., 180., 0.);
//-------------------------------------------------------------------
//-------------------------------------------------------------------
//C side Concave Geometry
Double_t crad = 82.; //define concave c-side radius here
Double_t dP = 3.31735114408; // Work in Progress side length
//uniform angle between detector faces==
Double_t btta = 2*TMath::ATan(dP/crad);
//get noncompensated translation data
Double_t grdin[6] = {-3, -2, -1, 1, 2, 3};
Double_t gridpoints[6];
for(Int_t i = 0; i < 6; i++){
gridpoints[i] = crad*TMath::Sin((1 - 1/(2*TMath::Abs(grdin[i])))*grdin[i]*btta);
}
std::vector<Double_t> xi,yi;
for(Int_t j = 5; j >= 0; j--){
for(Int_t i = 0; i < 6; i++){
if(!(((j == 5 || j == 0) && (i == 5 || i == 0)) ||
((j == 3 || j == 2) && (i == 3 || i == 2))))
{
xi.push_back(gridpoints[i]);
yi.push_back(gridpoints[j]);
}
}
}
Double_t zi[28];
for(Int_t i = 0; i < 28; i++) {
zi[i] = TMath::Sqrt(TMath::Power(crad, 2) - TMath::Power(xi[i], 2) - TMath::Power(yi[i], 2));
}
//get rotation data
Double_t ac[28], bc[28], gc[28];
for(Int_t i = 0; i < 28; i++) {
ac[i] = TMath::ATan(yi[i]/xi[i]) - TMath::Pi()/2 + 2*TMath::Pi();
if(xi[i] < 0){
bc[i] = TMath::ACos(zi[i]/crad);
}
else {
bc[i] = -1 * TMath::ACos(zi[i]/crad);
}
}
Double_t xc2[28], yc2[28], zc2[28];
//compensation based on node position within individual detector geometries
//determine compensated radius
Double_t rcomp = crad + pstartC[2] / 2.0; //
for(Int_t i = 0; i < 28; i++) {
//Get compensated translation data
xc2[i] = rcomp*TMath::Cos(ac[i] + TMath::Pi()/2)*TMath::Sin(-1*bc[i]);
yc2[i] = rcomp*TMath::Sin(ac[i] + TMath::Pi()/2)*TMath::Sin(-1*bc[i]);
zc2[i] = rcomp*TMath::Cos(bc[i]);
//Convert angles to degrees
ac[i]*=180/TMath::Pi();
bc[i]*=180/TMath::Pi();
gc[i] = -1 * ac[i];
}
//A Side
Float_t xa[24] = {-11.8, -5.9, 0, 5.9, 11.8,
-11.8, -5.9, 0, 5.9, 11.8,
-12.8, -6.9, 6.9, 12.8,
-11.8, -5.9, 0, 5.9, 11.8,
-11.8, -5.9, 0, 5.9, 11.8 };
Float_t ya[24] = { 11.9, 11.9, 12.9, 11.9, 11.9,
6.0, 6.0, 7.0, 6.0, 6.0,
-0.1, -0.1, 0.1, 0.1,
-6.0, -6.0, -7.0, -6.0, -6.0,
-11.9,-11.9,-12.9,-11.9,-11.9 };
TGeoVolumeAssembly* stlinA = new TGeoVolumeAssembly("0STL"); // A side mother
TGeoVolumeAssembly* stlinC = new TGeoVolumeAssembly("0STR"); // C side mother
//FIT interior
TVirtualMC::GetMC()->Gsvolu("0INS","BOX",idtmed[kOpAir],pinstart,3);
TGeoVolume *ins = gGeoManager->GetVolume("0INS");
TGeoTranslation *tr[52];
TString nameTr;
//A side Translations
for (Int_t itr=0; itr<24; itr++) {
nameTr = Form("0TR%i",itr+1);
z=-pstartA[2]+pinstart[2];
tr[itr] = new TGeoTranslation(nameTr.Data(),xa[itr],ya[itr], z );
printf(" itr %i A %f %f %f \n",itr, xa[itr], ya[itr], z+zdetA);
tr[itr]->RegisterYourself();
stlinA->AddNode(ins,itr,tr[itr]);
}
TGeoRotation *rot[28];
TString nameRot;
TGeoCombiTrans *com[28];
TString nameCom;
//C Side Transformations
for (Int_t itr=24;itr<52; itr++) {
nameTr = Form("0TR%i",itr+1);
nameRot = Form("0Rot%i",itr+1);
//nameCom = Form("0Com%i",itr+1);
rot[itr-24] = new TGeoRotation(nameRot.Data(),ac[itr-24],bc[itr-24],gc[itr-24]);
rot[itr-24]->RegisterYourself();
tr[itr] = new TGeoTranslation(nameTr.Data(),xc2[itr-24],yc2[itr-24], (zc2[itr-24]-80.) );
tr[itr]->Print();
tr[itr]->RegisterYourself();
//com[itr-24] = new TGeoCombiTrans(tr[itr],rot[itr-24]);
com[itr-24] = new TGeoCombiTrans(xc2[itr-24],yc2[itr-24], (zc2[itr-24]-80),rot[itr-24]);
TGeoHMatrix hm = *com[itr-24];
TGeoHMatrix *ph = new TGeoHMatrix(hm);
stlinC->AddNode(ins,itr,ph);
}
TGeoVolume *alice = gGeoManager->GetVolume("ALIC");
alice->AddNode(stlinA,1,new TGeoTranslation(0,0, zdetA ) );
// alice->AddNode(stlinC,1,new TGeoTranslation(0,0, -zdetC ) );
TGeoRotation * rotC = new TGeoRotation( "rotC",90., 0., 90., 90., 180., 0.);
alice->AddNode(stlinC,1, new TGeoCombiTrans(0., 0., -zdetC , rotC) );
SetOneMCP(ins);
SetVZEROGeo(alice);
}
//--------------------------------------------------------------------
void AliFITv7::SetOneMCP(TGeoVolume *ins)
{
cout<<"AliFITv7::SetOneMCP "<<ins<<endl;
Double_t x,y,z;
Double_t crad = 82.; // Define concave c-side radius here
Double_t dP = 3.31735114408; // Work in Progress side length
Int_t *idtmed = fIdtmed->GetArray();
Float_t pinstart[3] = {2.95,2.95,4.34};
Float_t ptop[3] = {1.324, 1.324, 1.}; // Cherenkov radiator
Float_t ptopref[3] = {1.3241, 1.3241, 1.}; // Cherenkov radiator wrapped with reflector
Double_t prfv[3]= {0.0002,1.323, 1.}; // Vertical refracting layer bettwen radiators and between radiator and not optical Air
Float_t pmcp[3] = {2.949, 2.949, 2.8}; // MCP
Float_t pmcptopglass[3] = {2.949, 2.949, 0.1}; // MCP top glass optical
Float_t preg[3] = {1.324, 1.324, 0.005}; // Photcathode
Double_t prfh[3]= {1.323,0.0002, 1.}; // Horizontal refracting layer bettwen radiators and ...
Double_t pal[3]= {2.648,2.648, 0.25}; // 5mm Al on top of each radiator
// Entry window (glass)
TVirtualMC::GetMC()->Gsvolu("0TOP","BOX",idtmed[kOpGlass],ptop,3); // Glass radiator
TGeoVolume *top = gGeoManager->GetVolume("0TOP");
TVirtualMC::GetMC()->Gsvolu("0TRE","BOX",idtmed[kAir],ptopref,3); // Air: wrapped radiator
TGeoVolume *topref = gGeoManager->GetVolume("0TRE");
TVirtualMC::GetMC()->Gsvolu("0RFV","BOX",idtmed[kOpAir],prfv,3); // Optical Air vertical
TGeoVolume *rfv = gGeoManager->GetVolume("0RFV");
TVirtualMC::GetMC()->Gsvolu("0RFH","BOX",idtmed[kOpAir],prfh,3); // Optical Air horizontal
TGeoVolume *rfh = gGeoManager->GetVolume("0RFH");
TVirtualMC::GetMC()->Gsvolu("0PAL","BOX",idtmed[kAl],pal,3); // 5mm Al on top of the radiator
TGeoVolume *altop = gGeoManager->GetVolume("0PAL");
Double_t thet = TMath::ATan(dP/crad);
Double_t rat = TMath::Tan(thet)/2.0;
//Al housing definition
Double_t mgon[16];
mgon[0] = -45;
mgon[1] = 360.0;
mgon[2] = 4;
mgon[3] = 4;
z = -pinstart[2] + 2*pal[2];
mgon[4] = z;
mgon[5] = 2*ptop[0] + preg[2];
mgon[6] = dP+rat*z*4/3;
z = -pinstart[2] + 2*pal[2] + 2*ptopref[2];
mgon[7] = z;
mgon[8] = mgon[5];
mgon[9] = dP+z*rat;
mgon[10] = z;
mgon[11] = pmcp[0] + preg[2];
mgon[12] = mgon[9];
z = -pinstart[2] + 2*pal[2] + 2*ptopref[2] + 2*preg[2] + 2*pmcp[2];
mgon[13] = z;
mgon[14] = mgon[11];
mgon[15] = dP+z*rat*pmcp[2]*9/10;
TVirtualMC::GetMC()->Gsvolu("0SUP","PGON",idtmed[kAl], mgon, 16); //Al Housing for Support Structure
TGeoVolume *alsup = gGeoManager->GetVolume("0SUP");
TVirtualMC::GetMC()->Gsvolu ("0REG", "BOX", idtmed[kOpGlassCathode], preg, 3);
TGeoVolume *cat = gGeoManager->GetVolume("0REG");
//wrapped radiator + reflecting layers
Int_t ntops=0, nrfvs=0, nrfhs=0;
Float_t xin=0, yin=0, xinv=0, yinv=0,xinh=0,yinh=0;
x=y=z=0;
topref->AddNode(top, 1, new TGeoTranslation(0,0,0) );
xinv = -ptop[0] - prfv[0];
topref->AddNode(rfv, 1, new TGeoTranslation(xinv,0,0) );
printf(" GEOGEO refv %f , 0,0 \n",xinv);
xinv = ptop[0] + prfv[0];
topref->AddNode(rfv, 2, new TGeoTranslation(xinv,0,0) );
printf(" GEOGEO refv %f , 0,0 \n",xinv);
yinv = -ptop[1] - prfh[1];
topref->AddNode(rfh, 1, new TGeoTranslation(0,yinv,0) );
printf(" GEOGEO refh , 0, %f, 0 \n",yinv);
yinv = ptop[1] + prfh[1];
topref->AddNode(rfh, 2, new TGeoTranslation(0,yinv,0) );
//container for radiator, cathode
for (Int_t ix=0; ix<2; ix++) {
xin = - pinstart[0] + 0.3 + (ix+0.5)*2*ptopref[0];
for (Int_t iy=0; iy<2 ; iy++) {
z = - pinstart[2] + 2*pal[2] + ptopref[2];
yin = - pinstart[1] + 0.3 + (iy+0.5)*2*ptopref[1];
ntops++;
ins->AddNode(topref, ntops, new TGeoTranslation(xin,yin,z) );
printf(" 0TOP full %i x %f y %f z %f \n", ntops, xin, yin, z);
z += ptopref[2] + 2.*pmcptopglass[2] + preg[2] ;
ins->AddNode(cat, ntops, new TGeoTranslation(xin, yin, z) );
cat->Print();
printf(" GEOGEO CATHOD x=%f , y= %f z= %f num %i\n", xin, yin, z, ntops);
}
}
//Al top
z=-pinstart[2] + pal[2];
ins->AddNode(altop, 1 , new TGeoTranslation(0,0,z) );
// MCP
TVirtualMC::GetMC()->Gsvolu("0MCP","BOX",idtmed[kAir],pmcp,3); //glass
TGeoVolume *mcp = gGeoManager->GetVolume("0MCP");
mcp->Print();
TVirtualMC::GetMC()->Gsvolu("0MTO", "BOX", idtmed[kOpGlass], pmcptopglass,3); //Op Glass
TGeoVolume *mcptop = gGeoManager->GetVolume("0MTO");
z = - pinstart[2] + 2*pal[2] + 2*ptopref[2] + pmcptopglass[2];
ins->AddNode(mcptop, 1, new TGeoTranslation(0,0,z) );
// mcptop->Print();
// z = pinstart[2] - pmcp[2];
// ins->AddNode(mcp, 1 , new TGeoTranslation(0,0,z) );
// Al Housing for Support Structure
// ins->AddNode(alsup,1);
}
//--------------------------------------------------------------------
void AliFITv7::SetVZEROGeo(TGeoVolume *alice)
{
// V0+
cout<<" AliFITv7::SetVZEROGeo "<<alice<<endl;
const int kV0PlusColorSci = 5;
TGeoMedium *medV0PlusSci = gGeoManager->GetMedium("FIT_V0PlusSci");
Double_t Pi = TMath::Pi();
Double_t Sin22p5 = TMath::Sin(Pi/8.);
Double_t Cos22p5 = TMath::Cos(Pi/8.);
Double_t v0PlusPts[16];
// Defining the master volume for V0Plus
TGeoVolume *v0Plus = new TGeoVolumeAssembly("V0LE");
// For boolean sustraction
for (Int_t i = 0; i < 2; i++) {
v0PlusPts[0+8*i] = fV0PlusR0-fV0PlusFraWd/2.-fV0PlusFraWd; v0PlusPts[1+8*i] = -fV0PlusFraWd;
v0PlusPts[2+8*i] = fV0PlusR0-fV0PlusFraWd/2.-fV0PlusFraWd; v0PlusPts[3+8*i] = fV0PlusFraWd/2.;
v0PlusPts[4+8*i] = fV0PlusR5+fV0PlusFraWd/2.+fV0PlusFraWd; v0PlusPts[5+8*i] = fV0PlusFraWd/2.;
v0PlusPts[6+8*i] = fV0PlusR5+fV0PlusFraWd/2.+fV0PlusFraWd; v0PlusPts[7+8*i] = -fV0PlusFraWd;
}
new TGeoArb8("sV0PlusCha1",fV0PlusSciWd/1.5,v0PlusPts);
for (Int_t i = 0; i < 2; i++) {
v0PlusPts[0+8*i] = fV0PlusR0*Cos22p5-fV0PlusFraWd;
v0PlusPts[1+8*i] = (fV0PlusR0-fV0PlusFraWd)*Sin22p5-fV0PlusFraWd;
v0PlusPts[2+8*i] = (fV0PlusR0-fV0PlusFraWd/2.)*Cos22p5-fV0PlusFraWd;
v0PlusPts[3+8*i] = (fV0PlusR0-fV0PlusFraWd/2.)*Sin22p5;
v0PlusPts[4+8*i] = (fV0PlusR5+fV0PlusFraWd/2.)*Cos22p5+fV0PlusFraWd;
v0PlusPts[5+8*i] = (fV0PlusR5+fV0PlusFraWd/2.)*Sin22p5+2.*fV0PlusFraWd;
v0PlusPts[6+8*i] = (fV0PlusR5+fV0PlusFraWd)*Cos22p5+fV0PlusFraWd;
v0PlusPts[7+8*i] = fV0PlusR5*Sin22p5+fV0PlusFraWd;
}
new TGeoArb8("sV0PlusCha2", fV0PlusSciWd/2.+2.*fV0PlusFraWd, v0PlusPts);
new TGeoCompositeShape("sV0PlusCha","sV0PlusCha1+sV0PlusCha2");
//Sensitive scintillator
new TGeoTubeSeg( "sV0PlusR1b", fV0PlusR0+fV0PlusFraWd/2., fV0PlusR1-fV0PlusFraWd/2., fV0PlusSciWd/2., 0, 22.5);
new TGeoTubeSeg( "sV0PlusR2b", fV0PlusR1+fV0PlusFraWd/2., fV0PlusR2-fV0PlusFraWd/2., fV0PlusSciWd/2., 0, 22.5);
new TGeoTubeSeg( "sV0PlusR3b", fV0PlusR2+fV0PlusFraWd/2., fV0PlusR3-fV0PlusFraWd/2., fV0PlusSciWd/2., 0, 22.5);
new TGeoTubeSeg( "sV0PlusR4b", fV0PlusR3+fV0PlusFraWd/2., fV0PlusR4-fV0PlusFraWd/2., fV0PlusSciWd/2., 0, 22.5);
new TGeoTubeSeg( "sV0PlusR5b", fV0PlusR4+fV0PlusFraWd/2., fV0PlusR5-fV0PlusFraWd/2., fV0PlusSciWd/2., 0, 22.5);
TGeoCompositeShape *sV0PlusR1 = new TGeoCompositeShape("sV0PlusR1","sV0PlusR1b-sV0PlusCha");
TGeoCompositeShape *sV0PlusR2 = new TGeoCompositeShape("sV0PlusR2","sV0PlusR2b-sV0PlusCha");
TGeoCompositeShape *sV0PlusR3 = new TGeoCompositeShape("sV0PlusR3","sV0PlusR3b-sV0PlusCha");
TGeoCompositeShape *sV0PlusR4 = new TGeoCompositeShape("sV0PlusR4","sV0PlusR4b-sV0PlusCha");
TGeoCompositeShape *sV0PlusR5 = new TGeoCompositeShape("sV0PlusR5","sV0PlusR5b-sV0PlusCha");
// Definition sector 1
TGeoVolume *v0Plus1Sec1 = new TGeoVolume("V0Plus1Sec1",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec1 = new TGeoVolume("V0Plus2Sec1",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec1 = new TGeoVolume("V0Plus3Sec1",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec1 = new TGeoVolume("V0Plus4Sec1",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec1 = new TGeoVolume("V0Plus5Sec1",sV0PlusR5,medV0PlusSci);
v0Plus1Sec1->SetLineColor(kV0PlusColorSci);
v0Plus2Sec1->SetLineColor(kV0PlusColorSci);
v0Plus3Sec1->SetLineColor(kV0PlusColorSci);
v0Plus4Sec1->SetLineColor(kV0PlusColorSci);
v0Plus5Sec1->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec1 = new TGeoVolumeAssembly("V0PlusSciSec1");
v0PlusSciSec1->AddNode(v0Plus1Sec1,1);
v0PlusSciSec1->AddNode(v0Plus2Sec1,1);
v0PlusSciSec1->AddNode(v0Plus3Sec1,1);
v0PlusSciSec1->AddNode(v0Plus4Sec1,1);
v0PlusSciSec1->AddNode(v0Plus5Sec1,1);
TGeoVolume *v0PlusSec1 = new TGeoVolumeAssembly("V0PlusSec1");
v0PlusSec1->AddNode(v0PlusSciSec1,1);
TGeoRotation *RotSec1 = new TGeoRotation("RotSec1", 90., 0*22.5, 90., 90.+0*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec1,0+1,RotSec1);
// Definition sector 2
TGeoVolume *v0Plus1Sec2 = new TGeoVolume("V0Plus1Sec2",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec2 = new TGeoVolume("V0Plus2Sec2",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec2 = new TGeoVolume("V0Plus3Sec2",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec2 = new TGeoVolume("V0Plus4Sec2",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec2 = new TGeoVolume("V0Plus5Sec2",sV0PlusR5,medV0PlusSci);
v0Plus1Sec2->SetLineColor(kV0PlusColorSci);
v0Plus2Sec2->SetLineColor(kV0PlusColorSci);
v0Plus3Sec2->SetLineColor(kV0PlusColorSci);
v0Plus4Sec2->SetLineColor(kV0PlusColorSci);
v0Plus5Sec2->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec2 = new TGeoVolumeAssembly("V0PlusSciSec2");
v0PlusSciSec2->AddNode(v0Plus1Sec2,1);
v0PlusSciSec2->AddNode(v0Plus2Sec2,1);
v0PlusSciSec2->AddNode(v0Plus3Sec2,1);
v0PlusSciSec2->AddNode(v0Plus4Sec2,1);
v0PlusSciSec2->AddNode(v0Plus5Sec2,1);
TGeoVolume *v0PlusSec2 = new TGeoVolumeAssembly("V0PlusSec2");
v0PlusSec2->AddNode(v0PlusSciSec2,1);
TGeoRotation *RotSec2 = new TGeoRotation("RotSec2", 90., 1*22.5, 90., 90.+1*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec2,1+1,RotSec2);
// Definition sector 3
TGeoVolume *v0Plus1Sec3 = new TGeoVolume("V0Plus1Sec3",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec3 = new TGeoVolume("V0Plus2Sec3",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec3 = new TGeoVolume("V0Plus3Sec3",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec3 = new TGeoVolume("V0Plus4Sec3",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec3 = new TGeoVolume("V0Plus5Sec3",sV0PlusR5,medV0PlusSci);
v0Plus1Sec3->SetLineColor(kV0PlusColorSci);
v0Plus2Sec3->SetLineColor(kV0PlusColorSci);
v0Plus3Sec3->SetLineColor(kV0PlusColorSci);
v0Plus4Sec3->SetLineColor(kV0PlusColorSci);
v0Plus5Sec3->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec3 = new TGeoVolumeAssembly("V0PlusSciSec3");
v0PlusSciSec3->AddNode(v0Plus1Sec3,1);
v0PlusSciSec3->AddNode(v0Plus2Sec3,1);
v0PlusSciSec3->AddNode(v0Plus3Sec3,1);
v0PlusSciSec3->AddNode(v0Plus4Sec3,1);
v0PlusSciSec3->AddNode(v0Plus5Sec3,1);
TGeoVolume *v0PlusSec3 = new TGeoVolumeAssembly("V0PlusSec3");
v0PlusSec3->AddNode(v0PlusSciSec3,1);
TGeoRotation *RotSec3 = new TGeoRotation("RotSec3", 90., 2*22.5, 90., 90.+2*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec3,2+1,RotSec3);
// Definition sector 4
TGeoVolume *v0Plus1Sec4 = new TGeoVolume("V0Plus1Sec4",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec4 = new TGeoVolume("V0Plus2Sec4",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec4 = new TGeoVolume("V0Plus3Sec4",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec4 = new TGeoVolume("V0Plus4Sec4",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec4 = new TGeoVolume("V0Plus5Sec4",sV0PlusR5,medV0PlusSci);
v0Plus1Sec4->SetLineColor(kV0PlusColorSci);
v0Plus2Sec4->SetLineColor(kV0PlusColorSci);
v0Plus3Sec4->SetLineColor(kV0PlusColorSci);
v0Plus4Sec4->SetLineColor(kV0PlusColorSci);
v0Plus5Sec4->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec4 = new TGeoVolumeAssembly("V0PlusSciSec4");
v0PlusSciSec4->AddNode(v0Plus1Sec4,1);
v0PlusSciSec4->AddNode(v0Plus2Sec4,1);
v0PlusSciSec4->AddNode(v0Plus3Sec4,1);
v0PlusSciSec4->AddNode(v0Plus4Sec4,1);
v0PlusSciSec4->AddNode(v0Plus5Sec4,1);
TGeoVolume *v0PlusSec4 = new TGeoVolumeAssembly("V0PlusSec4");
v0PlusSec4->AddNode(v0PlusSciSec4,1);
TGeoRotation *RotSec4 = new TGeoRotation("RotSec4", 90., 3*22.5, 90., 90.+3*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec4,3+1,RotSec4);
// Definition sector 5
TGeoVolume *v0Plus1Sec5 = new TGeoVolume("V0Plus1Sec5",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec5 = new TGeoVolume("V0Plus2Sec5",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec5 = new TGeoVolume("V0Plus3Sec5",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec5 = new TGeoVolume("V0Plus4Sec5",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec5 = new TGeoVolume("V0Plus5Sec5",sV0PlusR5,medV0PlusSci);
v0Plus1Sec5->SetLineColor(kV0PlusColorSci);
v0Plus2Sec5->SetLineColor(kV0PlusColorSci);
v0Plus3Sec5->SetLineColor(kV0PlusColorSci);
v0Plus4Sec5->SetLineColor(kV0PlusColorSci);
v0Plus5Sec5->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec5 = new TGeoVolumeAssembly("V0PlusSciSec5");
v0PlusSciSec5->AddNode(v0Plus1Sec5,1);
v0PlusSciSec5->AddNode(v0Plus2Sec5,1);
v0PlusSciSec5->AddNode(v0Plus3Sec5,1);
v0PlusSciSec5->AddNode(v0Plus4Sec5,1);
v0PlusSciSec5->AddNode(v0Plus5Sec5,1);
TGeoVolume *v0PlusSec5 = new TGeoVolumeAssembly("V0PlusSec5");
v0PlusSec5->AddNode(v0PlusSciSec5,1);
TGeoRotation *RotSec5 = new TGeoRotation("RotSec5", 90., 4*22.5, 90., 90.+4*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec5,4+1,RotSec5);
// Definition sector 6
TGeoVolume *v0Plus1Sec6 = new TGeoVolume("V0Plus1Sec6",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec6 = new TGeoVolume("V0Plus2Sec6",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec6 = new TGeoVolume("V0Plus3Sec6",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec6 = new TGeoVolume("V0Plus4Sec6",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec6 = new TGeoVolume("V0Plus5Sec6",sV0PlusR5,medV0PlusSci);
v0Plus1Sec6->SetLineColor(kV0PlusColorSci);
v0Plus2Sec6->SetLineColor(kV0PlusColorSci);
v0Plus3Sec6->SetLineColor(kV0PlusColorSci);
v0Plus4Sec6->SetLineColor(kV0PlusColorSci);
v0Plus5Sec6->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec6 = new TGeoVolumeAssembly("V0PlusSciSec6");
v0PlusSciSec6->AddNode(v0Plus1Sec6,1);
v0PlusSciSec6->AddNode(v0Plus2Sec6,1);
v0PlusSciSec6->AddNode(v0Plus3Sec6,1);
v0PlusSciSec6->AddNode(v0Plus4Sec6,1);
v0PlusSciSec6->AddNode(v0Plus5Sec6,1);
TGeoVolume *v0PlusSec6 = new TGeoVolumeAssembly("V0PlusSec6");
v0PlusSec6->AddNode(v0PlusSciSec6,1);
TGeoRotation *RotSec6 = new TGeoRotation("RotSec6", 90., 5*22.5, 90., 90.+5*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec6,5+1,RotSec6);
// Definition sector 7
TGeoVolume *v0Plus1Sec7 = new TGeoVolume("V0Plus1Sec7",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec7 = new TGeoVolume("V0Plus2Sec7",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec7 = new TGeoVolume("V0Plus3Sec7",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec7 = new TGeoVolume("V0Plus4Sec7",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec7 = new TGeoVolume("V0Plus5Sec7",sV0PlusR5,medV0PlusSci);
v0Plus1Sec7->SetLineColor(kV0PlusColorSci);
v0Plus2Sec7->SetLineColor(kV0PlusColorSci);
v0Plus3Sec7->SetLineColor(kV0PlusColorSci);
v0Plus4Sec7->SetLineColor(kV0PlusColorSci);
v0Plus5Sec7->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec7 = new TGeoVolumeAssembly("V0PlusSciSec7");
v0PlusSciSec7->AddNode(v0Plus1Sec7,1);
v0PlusSciSec7->AddNode(v0Plus2Sec7,1);
v0PlusSciSec7->AddNode(v0Plus3Sec7,1);
v0PlusSciSec7->AddNode(v0Plus4Sec7,1);
v0PlusSciSec7->AddNode(v0Plus5Sec7,1);
TGeoVolume *v0PlusSec7 = new TGeoVolumeAssembly("V0PlusSec7");
v0PlusSec7->AddNode(v0PlusSciSec7,1);
TGeoRotation *RotSec7 = new TGeoRotation("RotSec7", 90., 6*22.5, 90., 90.+6*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec7,6+1,RotSec7);
// Definition sector 8
TGeoVolume *v0Plus1Sec8 = new TGeoVolume("V0Plus1Sec8",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec8 = new TGeoVolume("V0Plus2Sec8",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec8 = new TGeoVolume("V0Plus3Sec8",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec8 = new TGeoVolume("V0Plus4Sec8",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec8 = new TGeoVolume("V0Plus5Sec8",sV0PlusR5,medV0PlusSci);
v0Plus1Sec8->SetLineColor(kV0PlusColorSci);
v0Plus2Sec8->SetLineColor(kV0PlusColorSci);
v0Plus3Sec8->SetLineColor(kV0PlusColorSci);
v0Plus4Sec8->SetLineColor(kV0PlusColorSci);
v0Plus5Sec8->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec8 = new TGeoVolumeAssembly("V0PlusSciSec8");
v0PlusSciSec8->AddNode(v0Plus1Sec8,1);
v0PlusSciSec8->AddNode(v0Plus2Sec8,1);
v0PlusSciSec8->AddNode(v0Plus3Sec8,1);
v0PlusSciSec8->AddNode(v0Plus4Sec8,1);
v0PlusSciSec8->AddNode(v0Plus5Sec8,1);
TGeoVolume *v0PlusSec8 = new TGeoVolumeAssembly("V0PlusSec8");
v0PlusSec8->AddNode(v0PlusSciSec8,1);
TGeoRotation *RotSec8 = new TGeoRotation("RotSec8", 90., 7*22.5, 90., 90.+7*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec8,7+1,RotSec8);
// Definition sector 9
TGeoVolume *v0Plus1Sec9 = new TGeoVolume("V0Plus1Sec9",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec9 = new TGeoVolume("V0Plus2Sec9",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec9 = new TGeoVolume("V0Plus3Sec9",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec9 = new TGeoVolume("V0Plus4Sec9",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec9 = new TGeoVolume("V0Plus5Sec9",sV0PlusR5,medV0PlusSci);
v0Plus1Sec9->SetLineColor(kV0PlusColorSci);
v0Plus2Sec9->SetLineColor(kV0PlusColorSci);
v0Plus3Sec9->SetLineColor(kV0PlusColorSci);
v0Plus4Sec9->SetLineColor(kV0PlusColorSci);
v0Plus5Sec9->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec9 = new TGeoVolumeAssembly("V0PlusSciSec9");
v0PlusSciSec9->AddNode(v0Plus1Sec9,1);
v0PlusSciSec9->AddNode(v0Plus2Sec9,1);
v0PlusSciSec9->AddNode(v0Plus3Sec9,1);
v0PlusSciSec9->AddNode(v0Plus4Sec9,1);
v0PlusSciSec9->AddNode(v0Plus5Sec9,1);
TGeoVolume *v0PlusSec9 = new TGeoVolumeAssembly("V0PlusSec9");
v0PlusSec9->AddNode(v0PlusSciSec9,1);
TGeoRotation *RotSec9 = new TGeoRotation("RotSec9", 90., 8*22.5, 90., 90.+8*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec9,8+1,RotSec9);
// Definition sector 10
TGeoVolume *v0Plus1Sec10 = new TGeoVolume("V0Plus1Sec10",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec10 = new TGeoVolume("V0Plus2Sec10",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec10 = new TGeoVolume("V0Plus3Sec10",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec10 = new TGeoVolume("V0Plus4Sec10",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec10 = new TGeoVolume("V0Plus5Sec10",sV0PlusR5,medV0PlusSci);
v0Plus1Sec10->SetLineColor(kV0PlusColorSci);
v0Plus2Sec10->SetLineColor(kV0PlusColorSci);
v0Plus3Sec10->SetLineColor(kV0PlusColorSci);
v0Plus4Sec10->SetLineColor(kV0PlusColorSci);
v0Plus5Sec10->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec10 = new TGeoVolumeAssembly("V0PlusSciSec10");
v0PlusSciSec10->AddNode(v0Plus1Sec10,1);
v0PlusSciSec10->AddNode(v0Plus2Sec10,1);
v0PlusSciSec10->AddNode(v0Plus3Sec10,1);
v0PlusSciSec10->AddNode(v0Plus4Sec10,1);
v0PlusSciSec10->AddNode(v0Plus5Sec10,1);
TGeoVolume *v0PlusSec10 = new TGeoVolumeAssembly("V0PlusSec10");
v0PlusSec10->AddNode(v0PlusSciSec10,1);
TGeoRotation *RotSec10 = new TGeoRotation("RotSec10", 90., 9*22.5, 90., 90.+9*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec10,9+1,RotSec10);
// Definition sector 11
TGeoVolume *v0Plus1Sec11 = new TGeoVolume("V0Plus1Sec11",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec11 = new TGeoVolume("V0Plus2Sec11",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec11 = new TGeoVolume("V0Plus3Sec11",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec11 = new TGeoVolume("V0Plus4Sec11",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec11 = new TGeoVolume("V0Plus5Sec11",sV0PlusR5,medV0PlusSci);
v0Plus1Sec11->SetLineColor(kV0PlusColorSci);
v0Plus2Sec11->SetLineColor(kV0PlusColorSci);
v0Plus3Sec11->SetLineColor(kV0PlusColorSci);
v0Plus4Sec11->SetLineColor(kV0PlusColorSci);
v0Plus5Sec11->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec11 = new TGeoVolumeAssembly("V0PlusSciSec11");
v0PlusSciSec11->AddNode(v0Plus1Sec11,1);
v0PlusSciSec11->AddNode(v0Plus2Sec11,1);
v0PlusSciSec11->AddNode(v0Plus3Sec11,1);
v0PlusSciSec11->AddNode(v0Plus4Sec11,1);
v0PlusSciSec11->AddNode(v0Plus5Sec11,1);
TGeoVolume *v0PlusSec11 = new TGeoVolumeAssembly("V0PlusSec11");
v0PlusSec11->AddNode(v0PlusSciSec11,1);
TGeoRotation *RotSec11 = new TGeoRotation("RotSec11", 90., 10*22.5, 90., 90.+10*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec11,10+1,RotSec11);
// Definition sector 12
TGeoVolume *v0Plus1Sec12 = new TGeoVolume("V0Plus1Sec12",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec12 = new TGeoVolume("V0Plus2Sec12",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec12 = new TGeoVolume("V0Plus3Sec12",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec12 = new TGeoVolume("V0Plus4Sec12",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec12 = new TGeoVolume("V0Plus5Sec12",sV0PlusR5,medV0PlusSci);
v0Plus1Sec12->SetLineColor(kV0PlusColorSci);
v0Plus2Sec12->SetLineColor(kV0PlusColorSci);
v0Plus3Sec12->SetLineColor(kV0PlusColorSci);
v0Plus4Sec12->SetLineColor(kV0PlusColorSci);
v0Plus5Sec12->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec12 = new TGeoVolumeAssembly("V0PlusSciSec12");
v0PlusSciSec12->AddNode(v0Plus1Sec12,1);
v0PlusSciSec12->AddNode(v0Plus2Sec12,1);
v0PlusSciSec12->AddNode(v0Plus3Sec12,1);
v0PlusSciSec12->AddNode(v0Plus4Sec12,1);
v0PlusSciSec12->AddNode(v0Plus5Sec12,1);
TGeoVolume *v0PlusSec12 = new TGeoVolumeAssembly("V0PlusSec12");
v0PlusSec12->AddNode(v0PlusSciSec12,1);
TGeoRotation *RotSec12 = new TGeoRotation("RotSec12", 90., 11*22.5, 90., 90.+11*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec12,11+1,RotSec12);
// Definition sector 13
TGeoVolume *v0Plus1Sec13 = new TGeoVolume("V0Plus1Sec13",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec13 = new TGeoVolume("V0Plus2Sec13",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec13 = new TGeoVolume("V0Plus3Sec13",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec13 = new TGeoVolume("V0Plus4Sec13",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec13 = new TGeoVolume("V0Plus5Sec13",sV0PlusR5,medV0PlusSci);
v0Plus1Sec13->SetLineColor(kV0PlusColorSci);
v0Plus2Sec13->SetLineColor(kV0PlusColorSci);
v0Plus3Sec13->SetLineColor(kV0PlusColorSci);
v0Plus4Sec13->SetLineColor(kV0PlusColorSci);
v0Plus5Sec13->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec13 = new TGeoVolumeAssembly("V0PlusSciSec13");
v0PlusSciSec13->AddNode(v0Plus1Sec13,1);
v0PlusSciSec13->AddNode(v0Plus2Sec13,1);
v0PlusSciSec13->AddNode(v0Plus3Sec13,1);
v0PlusSciSec13->AddNode(v0Plus4Sec13,1);
v0PlusSciSec13->AddNode(v0Plus5Sec13,1);
TGeoVolume *v0PlusSec13 = new TGeoVolumeAssembly("V0PlusSec13");
v0PlusSec13->AddNode(v0PlusSciSec13,1);
TGeoRotation *RotSec13 = new TGeoRotation("RotSec13", 90., 12*22.5, 90., 90.+12*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec13,12+1,RotSec13);
// Definition sector 14
TGeoVolume *v0Plus1Sec14 = new TGeoVolume("V0Plus1Sec14",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec14 = new TGeoVolume("V0Plus2Sec14",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec14 = new TGeoVolume("V0Plus3Sec14",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec14 = new TGeoVolume("V0Plus4Sec14",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec14 = new TGeoVolume("V0Plus5Sec14",sV0PlusR5,medV0PlusSci);
v0Plus1Sec14->SetLineColor(kV0PlusColorSci);
v0Plus2Sec14->SetLineColor(kV0PlusColorSci);
v0Plus3Sec14->SetLineColor(kV0PlusColorSci);
v0Plus4Sec14->SetLineColor(kV0PlusColorSci);
v0Plus5Sec14->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec14 = new TGeoVolumeAssembly("V0PlusSciSec14");
v0PlusSciSec14->AddNode(v0Plus1Sec14,1);
v0PlusSciSec14->AddNode(v0Plus2Sec14,1);
v0PlusSciSec14->AddNode(v0Plus3Sec14,1);
v0PlusSciSec14->AddNode(v0Plus4Sec14,1);
v0PlusSciSec14->AddNode(v0Plus5Sec14,1);
TGeoVolume *v0PlusSec14 = new TGeoVolumeAssembly("V0PlusSec14");
v0PlusSec14->AddNode(v0PlusSciSec14,1);
TGeoRotation *RotSec14 = new TGeoRotation("RotSec14", 90., 13*22.5, 90., 90.+13*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec14,13+1,RotSec14);
// Definition sector 15
TGeoVolume *v0Plus1Sec15 = new TGeoVolume("V0Plus1Sec15",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec15 = new TGeoVolume("V0Plus2Sec15",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec15 = new TGeoVolume("V0Plus3Sec15",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec15 = new TGeoVolume("V0Plus4Sec15",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec15 = new TGeoVolume("V0Plus5Sec15",sV0PlusR5,medV0PlusSci);
v0Plus1Sec15->SetLineColor(kV0PlusColorSci);
v0Plus2Sec15->SetLineColor(kV0PlusColorSci);
v0Plus3Sec15->SetLineColor(kV0PlusColorSci);
v0Plus4Sec15->SetLineColor(kV0PlusColorSci);
v0Plus5Sec15->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec15 = new TGeoVolumeAssembly("V0PlusSciSec15");
v0PlusSciSec15->AddNode(v0Plus1Sec15,1);
v0PlusSciSec15->AddNode(v0Plus2Sec15,1);
v0PlusSciSec15->AddNode(v0Plus3Sec15,1);
v0PlusSciSec15->AddNode(v0Plus4Sec15,1);
v0PlusSciSec15->AddNode(v0Plus5Sec15,1);
TGeoVolume *v0PlusSec15 = new TGeoVolumeAssembly("V0PlusSec15");
v0PlusSec15->AddNode(v0PlusSciSec15,1);
TGeoRotation *RotSec15 = new TGeoRotation("RotSec15", 90., 14*22.5, 90., 90.+14*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec15,14+1,RotSec15);
// Definition sector 16
TGeoVolume *v0Plus1Sec16 = new TGeoVolume("V0Plus1Sec16",sV0PlusR1,medV0PlusSci);
TGeoVolume *v0Plus2Sec16 = new TGeoVolume("V0Plus2Sec16",sV0PlusR2,medV0PlusSci);
TGeoVolume *v0Plus3Sec16 = new TGeoVolume("V0Plus3Sec16",sV0PlusR3,medV0PlusSci);
TGeoVolume *v0Plus4Sec16 = new TGeoVolume("V0Plus4Sec16",sV0PlusR4,medV0PlusSci);
TGeoVolume *v0Plus5Sec16 = new TGeoVolume("V0Plus5Sec16",sV0PlusR5,medV0PlusSci);
v0Plus1Sec16->SetLineColor(kV0PlusColorSci);
v0Plus2Sec16->SetLineColor(kV0PlusColorSci);
v0Plus3Sec16->SetLineColor(kV0PlusColorSci);
v0Plus4Sec16->SetLineColor(kV0PlusColorSci);
v0Plus5Sec16->SetLineColor(kV0PlusColorSci);
TGeoVolume *v0PlusSciSec16 = new TGeoVolumeAssembly("V0PlusSciSec16");
v0PlusSciSec16->AddNode(v0Plus1Sec16,1);
v0PlusSciSec16->AddNode(v0Plus2Sec16,1);
v0PlusSciSec16->AddNode(v0Plus3Sec16,1);
v0PlusSciSec16->AddNode(v0Plus4Sec16,1);
v0PlusSciSec16->AddNode(v0Plus5Sec16,1);
TGeoVolume *v0PlusSec16 = new TGeoVolumeAssembly("V0PlusSec16");
v0PlusSec16->AddNode(v0PlusSciSec16,1);
TGeoRotation *RotSec16 = new TGeoRotation("RotSec16", 90., 15*22.5, 90., 90.+15*22.5, 0., 0.);
v0Plus->AddNode(v0PlusSec16,15+1,RotSec16);
alice->AddNode(v0Plus,1,new TGeoTranslation(0, 0, fV0PlusZposition));
}
//------------------------------------------------------------------------
void AliFITv7::AddAlignableVolumes() const
{
//
// Create entries for alignable volumes associating the symbolic volume
// name with the corresponding volume path. Needs to be synchronized with
// eventual changes in the geometry.
//
TString volPath;
TString symName, sn;
TString vpAalign = "/ALIC_1/0STL_1";
TString vpCalign = "/ALIC_1/0STR_1";
for (Int_t imod=0; imod<2; imod++) {
if (imod==0) {volPath = vpCalign; symName="/ALIC_1/0STL"; }
if (imod==1) {volPath = vpAalign; symName="/ALIC_1/0STR"; }
AliDebug(2,"--------------------------------------------");
AliDebug(2,Form("volPath=%s\n",volPath.Data()));
AliDebug(2,Form("symName=%s\n",symName.Data()));
AliDebug(2,"--------------------------------------------");
if(!gGeoManager->SetAlignableEntry(symName.Data(),volPath.Data())){
AliFatal(Form("Alignable entry %s not created. Volume path %s not valid", symName.Data(),volPath.Data()));
}
}
}
//------------------------------------------------------------------------
void AliFITv7::CreateMaterials()
{
Int_t isxfld = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();
Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();
// Float_t a,z,d,radl,absl,buf[1];
// Int_t nbuf;
// AIR
Float_t aAir[4]={12.0107,14.0067,15.9994,39.948};
Float_t zAir[4]={6.,7.,8.,18.};
Float_t wAir[4]={0.000124,0.755267,0.231781,0.012827};
Float_t dAir = 1.20479E-3;
Float_t dAir1 = 1.20479E-11;
// Radiator glass SiO2
Float_t aglass[2]={28.0855,15.9994};
Float_t zglass[2]={14.,8.};
Float_t wglass[2]={1.,2.};
Float_t dglass=2.65;
// MCP glass SiO2
Float_t dglass_mcp=1.3;
//*** Definition Of avaible T0 materials ***
AliMixture(1, "Vacuum$", aAir, zAir, dAir1,4,wAir);
AliMixture(2, "Air$", aAir, zAir, dAir,4,wAir);
AliMixture( 4, "MCP glass $",aglass,zglass,dglass_mcp,-2,wglass);
AliMixture( 24, "Radiator Optical glass$",aglass,zglass,dglass,-2,wglass);
AliMaterial(11, "Aliminium$", 26.98, 13.0, 2.7, 8.9,999);
AliMedium(1, "Air$", 2, 0, isxfld, sxmgmx, 10., .1, 1., .003, .003);
AliMedium(3, "Vacuum$", 1, 0, isxfld, sxmgmx, 10., .01, .1, .003, .003);
AliMedium(6, "Glass$", 4, 0, isxfld, sxmgmx, 10., .01, .1, .003, .003);
AliMedium(7, "OpAir$", 2, 0, isxfld, sxmgmx, 10., .1, 1., .003, .003);
AliMedium(15, "Aluminium$", 11, 0, isxfld, sxmgmx, 10., .01, 1., .003, .003);
AliMedium(16, "OpticalGlass$", 24, 1, isxfld, sxmgmx, 10., .01, .1, .003, .003);
AliMedium(19, "OpticalGlassCathode$", 24, 1, isxfld, sxmgmx, 10., .01, .1, .003, .003);
AliMedium(22, "SensAir$", 2, 1, isxfld, sxmgmx, 10., .1, 1., .003, .003);
//V0+
// Parameters for simulation scope
Int_t FieldType = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ(); // Field type
Double_t MaxField = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max(); // Field max.
Double_t MaxBending = 10; // Max Angle
Double_t MaxStepSize = 0.01; // Max step size
Double_t MaxEnergyLoss = 1; // Max Delta E
Double_t Precision = 0.003; // Precision
Double_t MinStepSize = 0.003; // Minimum step size
Int_t Id;
Double_t A, Z, RadLength, AbsLength;
Float_t Density, as[4], zs[4], ws[4];
// Parameters for V0Plusscintilator: BC404
as[0] = 1.00794; as[1] = 12.011;
zs[0] = 1.; zs[1] = 6.;
ws[0] = 5.21; ws[1] = 4.74;
Density = 1.032;
Id = 5;
AliMixture(Id, "V0PlusSci", as, zs, Density, -2, ws);
AliMedium(Id, "V0PlusSci", Id, 1, FieldType, MaxField, MaxBending, MaxStepSize, MaxEnergyLoss, Precision, MinStepSize);
AliDebugClass(1,": ++++++++++++++Medium set++++++++++");
}
//-------------------------------------------------------------------
void AliFITv7::DefineOpticalProperties()
{
// Path of the optical properties input file
TString optPropPath = "$(ALICE_ROOT)/FIT/sim/quartzOptProperties.txt";
optPropPath = gSystem->ExpandPathName(optPropPath.Data()); // Expand $(ALICE_ROOT) into real system path
// Optical properties definition.
Int_t *idtmed = fIdtmed->GetArray();
// Prepare pointers for arrays read from the input file
Float_t *aPckov=NULL;
Double_t *dPckov=NULL;
Float_t *aAbsSiO2=NULL;
Float_t *rindexSiO2=NULL;
Float_t *qeff = NULL;
Int_t kNbins=0;
ReadOptProperties(optPropPath.Data(), &aPckov, &dPckov, &aAbsSiO2, &rindexSiO2, &qeff, kNbins);
fPMTeff = new TGraph(kNbins,aPckov,qeff); // set QE
// Prepare pointers for arrays with constant and hardcoded values (independent of wavelength)
Float_t *efficAll=NULL;
Float_t *rindexAir=NULL;
Float_t *absorAir=NULL;
Float_t *rindexCathodeNext=NULL;
Float_t *absorbCathodeNext=NULL;
Double_t *efficMet=NULL;
Double_t *aReflMet=NULL;
FillOtherOptProperties(&efficAll, &rindexAir, &absorAir, &rindexCathodeNext,
&absorbCathodeNext, &efficMet, &aReflMet, kNbins);
TVirtualMC::GetMC()->SetCerenkov (idtmed[kOpGlass], kNbins, aPckov, aAbsSiO2, efficAll, rindexSiO2);
// TVirtualMC::GetMC()->SetCerenkov (idtmed[kOpGlassCathode], kNbins, aPckov, aAbsSiO2, effCathode, rindexSiO2);
TVirtualMC::GetMC()->SetCerenkov (idtmed[kOpGlassCathode], kNbins, aPckov, aAbsSiO2, efficAll, rindexSiO2);
// TVirtualMC::GetMC()->SetCerenkov (idtmed[kOpAir], kNbins, aPckov, absorAir ,efficAll, rindexAir);
// TVirtualMC::GetMC()->SetCerenkov (idtmed[kOpAirNext], kNbins, aPckov, absorbCathodeNext, efficAll, rindexCathodeNext);
//Define a border for radiator optical properties
// TODO: Maciek: The following 3 lines just generate warnings and do nothing else - could be deleted
// - for now I only comment them out
//TVirtualMC::GetMC()->DefineOpSurface("surfRd", kUnified /*kGlisur*/,kDielectric_metal,kPolished, 0.);
//TVirtualMC::GetMC()->SetMaterialProperty("surfRd", "EFFICIENCY", kNbins, dPckov, efficMet);
//TVirtualMC::GetMC()->SetMaterialProperty("surfRd", "REFLECTIVITY", kNbins, dPckov, aReflMet);
DeleteOptPropertiesArr(&aPckov, &dPckov, &aAbsSiO2, &rindexSiO2, &efficAll, &rindexAir, &absorAir, &rindexCathodeNext, &absorbCathodeNext, &efficMet, &aReflMet);
}
//-------------------------------------------------------------------
void AliFITv7::Init()
{
AliFIT::Init();
fIdSens1=TVirtualMC::GetMC()->VolId("0REG");
// fIdSens1=TVirtualMC::GetMC()->VolId("0TOP");
//Defining the sensitive volumes
for (Int_t Sec = 0; Sec < nSectors; Sec++) {
for (Int_t Ring = 0; Ring < nRings; Ring++) {
fIdV0Plus[Sec][Ring] = TVirtualMC::GetMC()->VolId(Form("V0Plus%dSec%d",Ring+1,Sec+1));
}
}
AliDebug(1,Form("%s: *** FIT version 1 initialized ***\n",ClassName()));
}
//-------------------------------------------------------------------
void AliFITv7::StepManager()
{
// Called for every step in the FIT Detector
Int_t id, copy, copy1;
static Float_t hits[13];
static Int_t vol[3];
TLorentzVector pos;
TLorentzVector mom;
// TClonesArray &lhits = *fHits;
if(!TVirtualMC::GetMC()->IsTrackAlive()) return; // particle has disappeared
id = TVirtualMC::GetMC()->CurrentVolID(copy);
// printf("T0 :::volumes %i %s \n", id, TVirtualMC::GetMC()->CurrentVolName() );
// T0+
// Check the sensitive volume
if (id == fIdSens1) {
if (TVirtualMC::GetMC()->IsTrackEntering()) {
TVirtualMC::GetMC()->CurrentVolOffID(1,copy1);
vol[1] = copy1;
vol[0] = copy;
TVirtualMC::GetMC()->TrackPosition(pos);
TVirtualMC::GetMC()->TrackMomentum(mom);
Float_t Pt = TMath::Sqrt( mom.Px() * mom.Px() + mom.Py() * mom.Py() );
TParticle *Particle = gAlice->GetMCApp()->Particle(gAlice->GetMCApp()->GetCurrentTrackNumber());
hits[0] = pos[0];
hits[1] = pos[1];
hits[2] = pos[2];
if (pos[2]<0) {
vol[2] = 0;
}
else {
vol[2] = 1;
}
Float_t etot = TVirtualMC::GetMC()->Etot();
hits[3] = etot;
Int_t iPart = TVirtualMC::GetMC()->TrackPid();
Int_t partID = TVirtualMC::GetMC()->IdFromPDG(iPart);
hits[4] = partID;
Float_t ttime = TVirtualMC::GetMC()->TrackTime();
hits[5] = ttime*1e12;
hits[6] = TVirtualMC::GetMC()->TrackCharge();
hits[7] = mom.Px();
hits[8] = mom.Py();
hits[9] = mom.Pz();
hits[10] = fSenseless; // Energy loss is sensless for T0+
hits[11] = fSenseless; // Track length is sensless for T0+
hits[12] = fSenseless; // Photon production for V0+
// printf("T0 :::volumes pmt %i mcp %i vol %i x %f y %f z %f particle %f all \n", vol[0], vol[1], vol[2], hits[0], hits[1], hits[2], hits[4]);
if (TVirtualMC::GetMC()->TrackPid() == 50000050) { // If particles is photon then ...
if(RegisterPhotoE(hits[3])) {
fIshunt = 2;
AddHit(gAlice->GetMCApp()->GetCurrentTrackNumber(),vol,hits);
// Create a track reference at the exit of photocatode
}
}
//charge particle HITS
if (TVirtualMC::GetMC()->TrackCharge()) {
fIshunt = 0;
AddHit(gAlice->GetMCApp()->GetCurrentTrackNumber(),vol,hits);
}
//charge particle TrackReference
if (TVirtualMC::GetMC()->TrackCharge()) {
AddTrackReference(gAlice->GetMCApp()->GetCurrentTrackNumber(), AliTrackReference::kFIT);
}
} // trck entering
} //sensitive
//V0+
if (!gMC->TrackCharge() || !gMC->IsTrackAlive()) return; // Only interested in charged and alive tracks
//Check if there is a hit in any of the V0+ sensitive volumes defined in Init
Bool_t IsId = kFALSE;
for (Int_t i = 0; i < nSectors; i++) {
for (Int_t j = 0; j < nRings; j++) {
if (id == fIdV0Plus[i][j]) {
IsId = kTRUE;
break;
}
}
}
if (IsId == kTRUE) { //If yes, then perform the following
//Defining V0+ ring numbers using the sensitive volumes
Int_t RingNumber;
if ( (id == fIdV0Plus[0][0]) || (id == fIdV0Plus[1][0]) || (id == fIdV0Plus[2][0]) || (id == fIdV0Plus[3][0]) || (id == fIdV0Plus[4][0]) || (id == fIdV0Plus[5][0]) || (id == fIdV0Plus[6][0]) || (id == fIdV0Plus[7][0]) || (id == fIdV0Plus[8][0]) || (id == fIdV0Plus[9][0]) || (id == fIdV0Plus[10][0]) || (id == fIdV0Plus[11][0]) || (id == fIdV0Plus[12][0]) || (id == fIdV0Plus[13][0]) || (id == fIdV0Plus[14][0]) || (id == fIdV0Plus[15][0]) ) RingNumber = 1;
else if ( (id == fIdV0Plus[0][1]) || (id == fIdV0Plus[1][1]) || (id == fIdV0Plus[2][1]) || (id == fIdV0Plus[3][1]) || (id == fIdV0Plus[4][1]) || (id == fIdV0Plus[5][1]) || (id == fIdV0Plus[6][1]) || (id == fIdV0Plus[7][1]) || (id == fIdV0Plus[8][1]) || (id == fIdV0Plus[9][1]) || (id == fIdV0Plus[10][1]) || (id == fIdV0Plus[11][1]) || (id == fIdV0Plus[12][1]) || (id == fIdV0Plus[13][1]) || (id == fIdV0Plus[14][1]) || (id == fIdV0Plus[15][1]) ) RingNumber = 2;
else if ( (id == fIdV0Plus[0][2]) || (id == fIdV0Plus[1][2]) || (id == fIdV0Plus[2][2]) || (id == fIdV0Plus[3][2]) || (id == fIdV0Plus[4][2]) || (id == fIdV0Plus[5][2]) || (id == fIdV0Plus[6][2]) || (id == fIdV0Plus[7][2]) || (id == fIdV0Plus[8][2]) || (id == fIdV0Plus[9][2]) || (id == fIdV0Plus[10][2]) || (id == fIdV0Plus[11][2]) || (id == fIdV0Plus[12][2]) || (id == fIdV0Plus[13][2]) || (id == fIdV0Plus[14][2]) || (id == fIdV0Plus[15][2]) ) RingNumber = 3;
else if ( (id == fIdV0Plus[0][3]) || (id == fIdV0Plus[1][3]) || (id == fIdV0Plus[2][3]) || (id == fIdV0Plus[3][3]) || (id == fIdV0Plus[4][3]) || (id == fIdV0Plus[5][3]) || (id == fIdV0Plus[6][3]) || (id == fIdV0Plus[7][3]) || (id == fIdV0Plus[8][3]) || (id == fIdV0Plus[9][3]) || (id == fIdV0Plus[10][3]) || (id == fIdV0Plus[11][3]) || (id == fIdV0Plus[12][3]) || (id == fIdV0Plus[13][3]) || (id == fIdV0Plus[14][3]) || (id == fIdV0Plus[15][3]) ) RingNumber = 4;
else if ( (id == fIdV0Plus[0][4]) || (id == fIdV0Plus[1][4]) || (id == fIdV0Plus[2][4]) || (id == fIdV0Plus[3][4]) || (id == fIdV0Plus[4][4]) || (id == fIdV0Plus[5][4]) || (id == fIdV0Plus[6][4]) || (id == fIdV0Plus[7][4]) || (id == fIdV0Plus[8][4]) || (id == fIdV0Plus[9][4]) || (id == fIdV0Plus[10][4]) || (id == fIdV0Plus[11][4]) || (id == fIdV0Plus[12][4]) || (id == fIdV0Plus[13][4]) || (id == fIdV0Plus[14][4]) || (id == fIdV0Plus[15][4]) ) RingNumber = 5;
else RingNumber = 0;
if (RingNumber){
if (TVirtualMC::GetMC()->IsTrackEntering()) {
TVirtualMC::GetMC()->TrackPosition(pos);
TVirtualMC::GetMC()->TrackMomentum(mom);
Float_t Pt = TMath::Sqrt( mom.Px() * mom.Px() + mom.Py() * mom.Py() );
TParticle *Particle = gAlice->GetMCApp()->Particle(gAlice->GetMCApp()->GetCurrentTrackNumber());
hits[0] = pos[0];
hits[1] = pos[1];
hits[2] = pos[2];
Float_t etot=TVirtualMC::GetMC()->Etot();
hits[3] = etot;
Int_t iPart = TVirtualMC::GetMC()->TrackPid();
Int_t partID = TVirtualMC::GetMC()->IdFromPDG(iPart);
hits[4] = partID;
Float_t ttime = TVirtualMC::GetMC()->TrackTime();
hits[5]=ttime*1e12;
hits[6] = TVirtualMC::GetMC()->TrackCharge();
hits[7] = mom.Px();
hits[8] = mom.Py();
hits[9] = mom.Pz();
} //Track entering
if (gMC->IsTrackExiting() || gMC->IsTrackStop() || gMC->IsTrackDisappeared()) {
Float_t Eloss, Tlength;
Float_t EnergyDep = TVirtualMC::GetMC()->Edep();
Float_t Step = TVirtualMC::GetMC()->TrackStep(); //Energy loss in the current step
Int_t nPhotonsInStep = 0;
Int_t nPhotons = 0;
nPhotonsInStep = Int_t(EnergyDep / (fV0PlusLightYield*1e-9) );
nPhotons = nPhotonsInStep - Int_t((Float_t(nPhotonsInStep) * fV0PlusLightAttenuation * fV0PlusnMeters));
nPhotons = nPhotons - Int_t( Float_t(nPhotons) * fV0PlusFibToPhot);
Eloss += EnergyDep;
Tlength += Step;
hits[10] = Eloss;
hits[11] = Tlength;
hits[12] = nPhotons;
vol[0] = GetCellId(vol);
vol[1] = RingNumber;
vol[2] = 2;
fIshunt = 0;
AddHit(gAlice->GetMCApp()->GetCurrentTrackNumber(), vol, hits);
AddTrackReference(gAlice->GetMCApp()->GetCurrentTrackNumber(), AliTrackReference::kFIT);
Tlength = 0.0;
Eloss = 0.0;
} //Track exiting, stopped or disappeared track
} //Ring number
}
}
//------------------------------------------------------------------------
Bool_t AliFITv7::RegisterPhotoE(Double_t energy)
{
Float_t eff = fPMTeff->Eval(energy);
Double_t p = gRandom->Rndm();
if (p > eff){
return kFALSE;
}
return kTRUE;
}
//-------------------------------------------------------------------------
Int_t AliFITv7::GetCellId(Int_t *vol)
{
fCellId = 0;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec1")) fCellId = 1;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec2")) fCellId = 2;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec3")) fCellId = 3;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec4")) fCellId = 4;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec5")) fCellId = 5;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec6")) fCellId = 6;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec7")) fCellId = 7;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec8")) fCellId = 8;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec9")) fCellId = 9;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec10")) fCellId = 10;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec11")) fCellId = 11;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec12")) fCellId = 12;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec13")) fCellId = 13;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec14")) fCellId = 14;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec15")) fCellId = 15;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus1Sec16")) fCellId = 16;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec1")) fCellId = 17;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec2")) fCellId = 18;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec3")) fCellId = 19;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec4")) fCellId = 20;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec5")) fCellId = 21;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec6")) fCellId = 22;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec7")) fCellId = 23;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec8")) fCellId = 24;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec9")) fCellId = 25;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec10")) fCellId = 26;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec11")) fCellId = 27;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec12")) fCellId = 28;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec13")) fCellId = 29;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec14")) fCellId = 30;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec15")) fCellId = 31;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus2Sec16")) fCellId = 32;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec1")) fCellId = 33;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec2")) fCellId = 34;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec3")) fCellId = 35;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec4")) fCellId = 36;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec5")) fCellId = 37;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec6")) fCellId = 38;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec7")) fCellId = 39;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec8")) fCellId = 40;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec9")) fCellId = 41;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec10")) fCellId = 42;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec11")) fCellId = 43;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec12")) fCellId = 44;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec13")) fCellId = 45;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec14")) fCellId = 46;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec15")) fCellId = 47;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus3Sec16")) fCellId = 48;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec1")) fCellId = 49;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec2")) fCellId = 50;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec3")) fCellId = 51;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec4")) fCellId = 52;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec5")) fCellId = 53;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec6")) fCellId = 54;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec7")) fCellId = 55;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec8")) fCellId = 56;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec9")) fCellId = 57;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec10")) fCellId = 58;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec11")) fCellId = 59;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec12")) fCellId = 60;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec13")) fCellId = 61;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec14")) fCellId = 62;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec15")) fCellId = 63;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus4Sec16")) fCellId = 64;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec1")) fCellId = 65;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec2")) fCellId = 66;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec3")) fCellId = 67;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec4")) fCellId = 68;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec5")) fCellId = 69;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec6")) fCellId = 70;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec7")) fCellId = 71;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec8")) fCellId = 72;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec9")) fCellId = 73;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec10")) fCellId = 74;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec11")) fCellId = 75;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec12")) fCellId = 76;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec13")) fCellId = 77;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec14")) fCellId = 78;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec15")) fCellId = 79;
if (gMC->CurrentVolID(vol[2]) == gMC->VolId("V0Plus5Sec16")) fCellId = 80;
return fCellId;
}
//-----------------------------------------------------------------
Int_t AliFITv7::ReadOptProperties(const std::string filePath, Float_t **e, Double_t **de,
Float_t **abs, Float_t **n, Float_t **qe, Int_t &kNbins) const{
std::ifstream infile;
infile.open(filePath.c_str());
// Check if file is opened correctly
if (infile.fail()==true) {
AliFatal(Form("Error opening ascii file: %s", filePath.c_str()));
return -1;
}
std::string comment; // dummy, used just to read 4 first lines and move the cursor to the 5th, otherwise unused
if (!getline(infile,comment)) { // first comment line
AliFatal(Form("Error opening ascii file (it is probably a folder!): %s", filePath.c_str()));
return -2;
}
getline(infile,comment); // 2nd comment line
// Get number of elements required for the array
infile >> kNbins;
if (kNbins<0 || kNbins>1e4) {
AliFatal(Form("Input arraySize out of range 0..1e4: %i. Check input file: %s", kNbins, filePath.c_str()));
return -4;
}
// Allocate memory required for arrays
*e = new Float_t[kNbins];
*de = new Double_t[kNbins];
*abs = new Float_t[kNbins];
*n = new Float_t[kNbins];
*qe = new Float_t[kNbins];
getline(infile,comment); // finish 3rd line after the kNbins are read
getline(infile,comment); // 4th comment line - ignore
// read the main body of the file (table of values: energy, absorption length, refractive index and quantum efficiency)
Int_t iLine=0;
std::string sLine;
getline(infile, sLine);
while (!infile.eof()) {
if (iLine >= kNbins) {
AliFatal(Form("Line number: %i reaches range of declared arraySize: %i. Check input file: %s", iLine, kNbins, filePath.c_str()));
return -5;
}
std::stringstream ssLine(sLine);
ssLine >> (*de)[iLine];
(*de)[iLine] *= 1e-9; // Convert eV -> GeV immediately
(*e)[iLine] = static_cast<Float_t> ((*de)[iLine]); // same value, different precision
ssLine >> (*abs)[iLine];
ssLine >> (*n)[iLine];
ssLine >> (*qe)[iLine];
if (!(ssLine.good() || ssLine.eof())) { // check if there were problems with numbers conversion
AliFatal(Form("Error while reading line %i: %s", iLine, ssLine.str().c_str()));
return -6;
}
getline(infile, sLine);
iLine++;
}
if (iLine != kNbins) {
AliFatal(Form("Total number of lines %i is different than declared %i. Check input file: %s", iLine, kNbins, filePath.c_str()));
return -7;
}
AliInfo(Form("Optical properties taken from the file: %s. Number of lines read: %i",filePath.c_str(),iLine));
return 0;
}
//--------------------------------------------------------------------
void AliFITv7::FillOtherOptProperties(Float_t **efficAll, Float_t **rindexAir, Float_t **absorAir,
Float_t **rindexCathodeNext, Float_t **absorbCathodeNext,
Double_t **efficMet, Double_t **aReflMet, const Int_t kNbins) const{
// Allocate memory for these arrays according to the required size
*efficAll = new Float_t[kNbins];
*rindexAir = new Float_t[kNbins];
*absorAir = new Float_t[kNbins];
*rindexCathodeNext = new Float_t[kNbins];
*absorbCathodeNext = new Float_t[kNbins];
*efficMet = new Double_t[kNbins];
*aReflMet = new Double_t[kNbins];
// Set constant values to the arrays
for (Int_t i=0; i<kNbins; i++) {
(*efficAll)[i]=1.;
(*rindexAir)[i] = 1.;
(*absorAir)[i]=0.3;
(*rindexCathodeNext)[i]=0;
(*absorbCathodeNext)[i]=0;
(*efficMet)[i]=0.;
(*aReflMet)[i]=1.;
}
}
//--------------------------------------------------------------------
void AliFITv7::DeleteOptPropertiesArr(Float_t **e, Double_t **de, Float_t **abs,
Float_t **n, Float_t **efficAll, Float_t **rindexAir, Float_t **absorAir,
Float_t **rindexCathodeNext, Float_t **absorbCathodeNext,
Double_t **efficMet, Double_t **aReflMet) const{
delete [] (*e);
delete [] (*de);
delete [] (*abs);
delete [] (*n);
delete [] (*efficAll);
delete [] (*rindexAir);
delete [] (*absorAir);
delete [] (*rindexCathodeNext);
delete [] (*absorbCathodeNext);
delete [] (*efficMet);
delete [] (*aReflMet);
}
| [
"[email protected]"
] | |
a92b5bd1f81f967f829849047274c4f955472187 | 5ed86e19f8b02472e6ab0651cd02ad48b1c1e1cf | /2S2KT_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Bulk_PhotonUnityNetworking.Utilities_0.cpp | e06cc171effefe02be149d782ba0e8b4c0c89983 | [] | no_license | playtradev/2S2K | 14a5d65645fd8ea57ce13e3e86eec91defb59348 | 4dbf9a1b5356ba1b9f9886096a7788d678fd2937 | refs/heads/master | 2020-05-09T06:47:01.465823 | 2019-04-15T15:28:19 | 2019-04-15T15:28:19 | 180,981,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138,819 | 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"
struct VirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct VirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
struct GenericVirtActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_virtual_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, 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);
}
};
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>
struct InterfaceActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2, typename T3>
struct InterfaceActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
struct GenericInterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (const RuntimeMethod* method, RuntimeObject* obj)
{
VirtualInvokeData invokeData;
il2cpp_codegen_get_generic_interface_invoke_data(method, obj, &invokeData);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
// ExitGames.Client.Photon.EncryptorManaged.Decryptor
struct Decryptor_t2116099858;
// ExitGames.Client.Photon.EncryptorManaged.Encryptor
struct Encryptor_t200327285;
// ExitGames.Client.Photon.EventData
struct EventData_t3728223374;
// ExitGames.Client.Photon.Hashtable
struct Hashtable_t1048209202;
// ExitGames.Client.Photon.IPhotonPeerListener
struct IPhotonPeerListener_t2581629031;
// ExitGames.Client.Photon.NetworkSimulationSet
struct NetworkSimulationSet_t2000596048;
// ExitGames.Client.Photon.OperationResponse
struct OperationResponse_t423627973;
// ExitGames.Client.Photon.PeerBase
struct PeerBase_t2956237011;
// ExitGames.Client.Photon.PhotonPeer
struct PhotonPeer_t1608153861;
// ExitGames.Client.Photon.TrafficStats
struct TrafficStats_t1302902347;
// ExitGames.Client.Photon.TrafficStatsGameLevel
struct TrafficStatsGameLevel_t4013908777;
// Photon.Pun.IPunPrefabPool
struct IPunPrefabPool_t3883302575;
// Photon.Pun.MonoBehaviourPun
struct MonoBehaviourPun_t1682334777;
// Photon.Pun.MonoBehaviourPunCallbacks
struct MonoBehaviourPunCallbacks_t1810614660;
// Photon.Pun.PhotonHandler
struct PhotonHandler_t2009989172;
// Photon.Pun.PhotonStream
struct PhotonStream_t2658340202;
// Photon.Pun.PhotonView
struct PhotonView_t3684715584;
// Photon.Pun.ServerSettings
struct ServerSettings_t1942971328;
// Photon.Pun.UtilityScripts.ButtonInsideScrollList
struct ButtonInsideScrollList_t2732141882;
// Photon.Pun.UtilityScripts.CellTree
struct CellTree_t656254725;
// Photon.Pun.UtilityScripts.CellTreeNode
struct CellTreeNode_t3709723763;
// Photon.Pun.UtilityScripts.CellTreeNode[]
struct CellTreeNodeU5BU5D_t3211867234;
// Photon.Pun.UtilityScripts.ConnectAndJoinRandom
struct ConnectAndJoinRandom_t1495527429;
// Photon.Pun.UtilityScripts.CountdownTimer
struct CountdownTimer_t636337431;
// Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired
struct CountdownTimerHasExpired_t4234756006;
// Photon.Pun.UtilityScripts.CullArea
struct CullArea_t635391622;
// Photon.Pun.UtilityScripts.CullingHandler
struct CullingHandler_t4282308608;
// Photon.Pun.UtilityScripts.EventSystemSpawner
struct EventSystemSpawner_t2883568726;
// Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition
struct GraphicToggleIsOnTransition_t3135858402;
// Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks
struct IPunTurnManagerCallbacks_t1795442957;
// Photon.Pun.UtilityScripts.MoveByKeys
struct MoveByKeys_t979471368;
// Photon.Pun.UtilityScripts.OnClickDestroy
struct OnClickDestroy_t3019334366;
// Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0
struct U3CDestroyRpcU3Ec__Iterator0_t785359983;
// Photon.Pun.UtilityScripts.OnClickInstantiate
struct OnClickInstantiate_t3820097070;
// Photon.Pun.UtilityScripts.OnClickRpc
struct OnClickRpc_t2528495255;
// Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0
struct U3CClickFlashU3Ec__Iterator0_t700316031;
// Photon.Pun.UtilityScripts.OnEscapeQuit
struct OnEscapeQuit_t589738653;
// Photon.Pun.UtilityScripts.OnJoinedInstantiate
struct OnJoinedInstantiate_t361656573;
// Photon.Pun.UtilityScripts.OnPointerOverTooltip
struct OnPointerOverTooltip_t3690126031;
// Photon.Pun.UtilityScripts.OnStartDelete
struct OnStartDelete_t2541883597;
// Photon.Pun.UtilityScripts.PhotonLagSimulationGui
struct PhotonLagSimulationGui_t145554164;
// Photon.Pun.UtilityScripts.PhotonStatsGui
struct PhotonStatsGui_t2125249956;
// Photon.Pun.UtilityScripts.PlayerNumbering
struct PlayerNumbering_t1896744609;
// Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged
struct PlayerNumberingChanged_t966975091;
// Photon.Pun.UtilityScripts.PointedAtGameObjectInfo
struct PointedAtGameObjectInfo_t425461813;
// Photon.Pun.UtilityScripts.PunPlayerScores
struct PunPlayerScores_t3603890024;
// Photon.Pun.UtilityScripts.PunTeams
struct PunTeams_t4131221827;
// Photon.Pun.UtilityScripts.PunTeams/Team[]
struct TeamU5BU5D_t2100851205;
// Photon.Pun.UtilityScripts.PunTurnManager
struct PunTurnManager_t13104469;
// Photon.Pun.UtilityScripts.SmoothSyncMovement
struct SmoothSyncMovement_t663920301;
// Photon.Pun.UtilityScripts.StatesGui
struct StatesGui_t4032328020;
// Photon.Pun.UtilityScripts.TabViewManager
struct TabViewManager_t3686055887;
// Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0
struct U3CStartU3Ec__AnonStorey0_t1921436154;
// Photon.Pun.UtilityScripts.TabViewManager/Tab
struct Tab_t117203701;
// Photon.Pun.UtilityScripts.TabViewManager/TabChangeEvent
struct TabChangeEvent_t3080003849;
// Photon.Pun.UtilityScripts.TabViewManager/Tab[]
struct TabU5BU5D_t533311896;
// Photon.Pun.UtilityScripts.TextButtonTransition
struct TextButtonTransition_t2307109358;
// Photon.Pun.UtilityScripts.TextToggleIsOnTransition
struct TextToggleIsOnTransition_t4243955300;
// Photon.Realtime.AuthenticationValues
struct AuthenticationValues_t2847553853;
// Photon.Realtime.ConnectionCallbacksContainer
struct ConnectionCallbacksContainer_t2312424951;
// Photon.Realtime.EnterRoomParams
struct EnterRoomParams_t646487994;
// Photon.Realtime.FriendInfo[]
struct FriendInfoU5BU5D_t4068492167;
// Photon.Realtime.InRoomCallbacksContainer
struct InRoomCallbacksContainer_t443710975;
// Photon.Realtime.LoadBalancingClient
struct LoadBalancingClient_t609581828;
// Photon.Realtime.LoadBalancingPeer
struct LoadBalancingPeer_t529840942;
// Photon.Realtime.LobbyCallbacksContainer
struct LobbyCallbacksContainer_t3869521158;
// Photon.Realtime.MatchMakingCallbacksContainer
struct MatchMakingCallbacksContainer_t2832811225;
// Photon.Realtime.Player
struct Player_t2879569589;
// Photon.Realtime.Player[]
struct PlayerU5BU5D_t3651776216;
// Photon.Realtime.RaiseEventOptions
struct RaiseEventOptions_t4260424731;
// Photon.Realtime.Region
struct Region_t644416079;
// Photon.Realtime.RegionHandler
struct RegionHandler_t2691069734;
// Photon.Realtime.Room
struct Room_t1409754143;
// Photon.Realtime.RoomInfo
struct RoomInfo_t3118950765;
// Photon.Realtime.RoomInfo[]
struct RoomInfoU5BU5D_t1512057408;
// Photon.Realtime.RoomOptions
struct RoomOptions_t957731565;
// Photon.Realtime.TypedLobby
struct TypedLobby_t3393892244;
// Photon.Realtime.TypedLobbyInfo[]
struct TypedLobbyInfoU5BU5D_t1747345657;
// Photon.Realtime.WebFlags
struct WebFlags_t3155447403;
// Photon.Realtime.WebRpcCallbacksContainer
struct WebRpcCallbacksContainer_t1689926351;
// System.Action`1<ExitGames.Client.Photon.EventData>
struct Action_1_t3900690969;
// System.Action`1<ExitGames.Client.Photon.OperationResponse>
struct Action_1_t596095568;
// System.Action`1<Photon.Realtime.RegionHandler>
struct Action_1_t2863537329;
// System.Action`2<Photon.Pun.PhotonView,Photon.Realtime.Player>
struct Action_2_t2795769547;
// System.Action`2<Photon.Realtime.ClientState,Photon.Realtime.ClientState>
struct Action_2_t3837823974;
// System.AsyncCallback
struct AsyncCallback_t3962456242;
// System.Byte[]
struct ByteU5BU5D_t4116647657;
// System.Char[]
struct CharU5BU5D_t3528271667;
// System.Collections.Generic.Dictionary`2/Transform`1<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>,System.Collections.DictionaryEntry>
struct Transform_1_t1950348001;
// System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,Photon.Realtime.Player,System.Collections.DictionaryEntry>
struct Transform_1_t3256115060;
// System.Collections.Generic.Dictionary`2/Transform`1<System.Int32,UnityEngine.GameObject,System.Collections.DictionaryEntry>
struct Transform_1_t2932937990;
// System.Collections.Generic.Dictionary`2/Transform`1<System.Object,System.Object,System.Collections.DictionaryEntry>
struct Transform_1_t4209139644;
// System.Collections.Generic.Dictionary`2/Transform`1<System.String,System.Object,System.Collections.DictionaryEntry>
struct Transform_1_t1694351041;
// System.Collections.Generic.Dictionary`2/Transform`1<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab,System.Collections.DictionaryEntry>
struct Transform_1_t1713191712;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,Photon.Realtime.Player>
struct ValueCollection_t3484327238;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.Object>
struct ValueCollection_t3684863813;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Int32>
struct Dictionary_2_t1720840067;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Type>
struct Dictionary_2_t1253839074;
// System.Collections.Generic.Dictionary`2<Photon.Pun.PhotonNetwork/RaiseEventBatch,Photon.Pun.PhotonNetwork/SerializeViewBatch>
struct Dictionary_2_t784705653;
// System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>>
struct Dictionary_2_t660995199;
// System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Object>
struct Dictionary_2_t3684424328;
// System.Collections.Generic.Dictionary`2<System.Byte,System.Object>
struct Dictionary_2_t1405253484;
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Pun.PhotonView>
struct Dictionary_2_t2573428915;
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>
struct Dictionary_2_t1768282920;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_t1968819495;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData>
struct Dictionary_2_t2696614423;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GameObject>
struct Dictionary_2_t2349950;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t132545152;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_t2736202052;
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t2865362463;
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<System.Reflection.MethodInfo>>
struct Dictionary_2_t1499080758;
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab>
struct Dictionary_2_t1152131052;
// System.Collections.Generic.HashSet`1/Link<Photon.Realtime.Player>[]
struct LinkU5BU5D_t2044693675;
// System.Collections.Generic.HashSet`1/Link<System.Int32>[]
struct LinkU5BU5D_t3073131127;
// System.Collections.Generic.HashSet`1<Photon.Realtime.Player>
struct HashSet_1_t1444519063;
// System.Collections.Generic.HashSet`1<System.Byte>
struct HashSet_1_t3994213146;
// System.Collections.Generic.HashSet`1<System.Int32>
struct HashSet_1_t1515895227;
// System.Collections.Generic.HashSet`1<System.Object>
struct HashSet_1_t1645055638;
// System.Collections.Generic.HashSet`1<System.String>
struct HashSet_1_t412400163;
// System.Collections.Generic.IEnumerable`1<Photon.Realtime.Player>
struct IEnumerable_1_t1859422478;
// System.Collections.Generic.IEnumerable`1<System.Byte>
struct IEnumerable_1_t114149265;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2059959053;
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle>
struct IEnumerable_1_t1715229950;
// System.Collections.Generic.IEqualityComparer`1<Photon.Pun.UtilityScripts.PunTeams/Team>
struct IEqualityComparer_1_t913600766;
// System.Collections.Generic.IEqualityComparer`1<Photon.Realtime.Player>
struct IEqualityComparer_1_t691934311;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_t763310475;
// System.Collections.Generic.IEqualityComparer`1<System.Object>
struct IEqualityComparer_1_t892470886;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_t3954782707;
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.UI.Toggle>
struct IEqualityComparer_1_t547741783;
// System.Collections.Generic.Link[]
struct LinkU5BU5D_t964245573;
// System.Collections.Generic.List`1<Photon.Pun.UtilityScripts.CellTreeNode>
struct List_1_t886831209;
// System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>
struct List_1_t4232228456;
// System.Collections.Generic.List`1<Photon.Realtime.Player>
struct List_1_t56677035;
// System.Collections.Generic.List`1<Photon.Realtime.Player>[]
struct List_1U5BU5D_t2552393290;
// System.Collections.Generic.List`1<Photon.Realtime.Region>
struct List_1_t2116490821;
// System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>
struct List_1_t3235053882;
// System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>
struct List_1_t296058211;
// System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>
struct List_1_t2063875166;
// System.Collections.Generic.List`1<System.Byte>
struct List_1_t2606371118;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t257213610;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup>
struct List_1_t1260619206;
// System.Collections.Generic.List`1<UnityEngine.Component>
struct List_1_t3395709193;
// System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>
struct List_1_t3491343620;
// System.Collections.Generic.List`1<UnityEngine.EventSystems.EventSystem>
struct List_1_t2475741330;
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>
struct List_1_t537414295;
// System.Collections.Generic.List`1<UnityEngine.GameObject>
struct List_1_t2585711361;
// System.Collections.Generic.List`1<UnityEngine.UI.Selectable>
struct List_1_t427135887;
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle>
struct List_1_t4207451803;
// System.Collections.IDictionary
struct IDictionary_t1363984059;
// System.Collections.IEnumerator
struct IEnumerator_t1853284238;
// System.Comparison`1<Photon.Realtime.Region>
struct Comparison_1_t419347258;
// System.Comparison`1<UnityEngine.EventSystems.RaycastResult>
struct Comparison_1_t3135238028;
// System.Delegate
struct Delegate_t1188392813;
// System.DelegateData
struct DelegateData_t1677132599;
// System.Diagnostics.Stopwatch
struct Stopwatch_t305734070;
// System.Func`2<Photon.Realtime.IConnectionCallbacks,System.String>
struct Func_2_t1183849258;
// System.Func`2<Photon.Realtime.Player,System.Boolean>
struct Func_2_t272149066;
// System.Func`2<Photon.Realtime.Player,System.Int32>
struct Func_2_t3125806854;
// System.Func`2<System.Object,System.Int32>
struct Func_2_t2317969963;
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean>
struct Func_2_t3446800538;
// System.IAsyncResult
struct IAsyncResult_t767004451;
// System.Int32[]
struct Int32U5BU5D_t385246372;
// System.IntPtr[]
struct IntPtrU5BU5D_t4013366056;
// System.Linq.IOrderedEnumerable`1<Photon.Realtime.Player>
struct IOrderedEnumerable_1_t3535333889;
// System.Linq.IOrderedEnumerable`1<System.Object>
struct IOrderedEnumerable_1_t3735870464;
// System.NotSupportedException
struct NotSupportedException_t1314879016;
// System.Object[]
struct ObjectU5BU5D_t2843939325;
// System.Predicate`1<UnityEngine.UI.Toggle>
struct Predicate_1_t3560671185;
// System.Reflection.MemberFilter
struct MemberFilter_t426314064;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t950877179;
// System.String
struct String_t;
// System.String[]
struct StringU5BU5D_t1281789340;
// System.Threading.ManualResetEvent
struct ManualResetEvent_t451242010;
// System.Threading.Thread
struct Thread_t2300836069;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t3940880105;
// System.Void
struct Void_t1185182177;
// UnityEngine.AsyncOperation
struct AsyncOperation_t1445031843;
// UnityEngine.Behaviour
struct Behaviour_t1437897464;
// UnityEngine.Camera
struct Camera_t4157153871;
// UnityEngine.Camera/CameraCallback
struct CameraCallback_t190067161;
// UnityEngine.Canvas
struct Canvas_t3310196443;
// UnityEngine.CanvasRenderer
struct CanvasRenderer_t2598313366;
// UnityEngine.Component
struct Component_t1923634451;
// UnityEngine.Component[]
struct ComponentU5BU5D_t3294940482;
// UnityEngine.Coroutine
struct Coroutine_t3829159415;
// UnityEngine.EventSystems.AxisEventData
struct AxisEventData_t2331243652;
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t3903027533;
// UnityEngine.EventSystems.BaseInput
struct BaseInput_t3630163547;
// UnityEngine.EventSystems.BaseInputModule
struct BaseInputModule_t2019268878;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_t4150874583;
// UnityEngine.EventSystems.EventSystem
struct EventSystem_t1003666588;
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t3807901092;
// UnityEngine.EventSystems.PointerInputModule/MouseState
struct MouseState_t384203932;
// UnityEngine.EventSystems.StandaloneInputModule
struct StandaloneInputModule_t2760469101;
// UnityEngine.Events.InvokableCallList
struct InvokableCallList_t2498835369;
// UnityEngine.Events.PersistentCallGroup
struct PersistentCallGroup_t3050769227;
// UnityEngine.Events.UnityAction
struct UnityAction_t3245792599;
// UnityEngine.Events.UnityAction`1<System.Boolean>
struct UnityAction_1_t682124106;
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_t978947469;
// UnityEngine.Events.UnityEvent`1<System.Object>
struct UnityEvent_1_t3961765668;
// UnityEngine.Events.UnityEvent`1<System.String>
struct UnityEvent_1_t2729110193;
// UnityEngine.GUI/WindowFunction
struct WindowFunction_t3146511083;
// UnityEngine.GUILayoutOption
struct GUILayoutOption_t811797299;
// UnityEngine.GUILayoutOption[]
struct GUILayoutOptionU5BU5D_t2510215842;
// UnityEngine.GUIStyle
struct GUIStyle_t3956901511;
// UnityEngine.GUIStyleState
struct GUIStyleState_t1397964415;
// UnityEngine.GameObject
struct GameObject_t1113636619;
// UnityEngine.GameObject[]
struct GameObjectU5BU5D_t3328599146;
// UnityEngine.Material
struct Material_t340375123;
// UnityEngine.Mesh
struct Mesh_t3648964284;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t3962482529;
// UnityEngine.MonoBehaviour[]
struct MonoBehaviourU5BU5D_t2007329276;
// UnityEngine.Object
struct Object_t631007953;
// UnityEngine.RectOffset
struct RectOffset_t1369453676;
// UnityEngine.RectTransform
struct RectTransform_t3704657025;
// UnityEngine.RectTransform/ReapplyDrivenProperties
struct ReapplyDrivenProperties_t1258266594;
// UnityEngine.Renderer
struct Renderer_t2627027031;
// UnityEngine.Rigidbody
struct Rigidbody_t3916780224;
// UnityEngine.Rigidbody2D
struct Rigidbody2D_t939494601;
// UnityEngine.Sprite
struct Sprite_t280657092;
// UnityEngine.SpriteRenderer
struct SpriteRenderer_t3235626157;
// UnityEngine.TextGenerator
struct TextGenerator_t3211863866;
// UnityEngine.Texture2D
struct Texture2D_t3840446185;
// UnityEngine.Transform
struct Transform_t3600365921;
// UnityEngine.UI.AnimationTriggers
struct AnimationTriggers_t2532145056;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween>
struct TweenRunner_1_t3055525458;
// UnityEngine.UI.FontData
struct FontData_t746620069;
// UnityEngine.UI.Graphic
struct Graphic_t1660335611;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent
struct CullStateChangedEvent_t3661388177;
// UnityEngine.UI.RectMask2D
struct RectMask2D_t3474889437;
// UnityEngine.UI.ScrollRect
struct ScrollRect_t4137855814;
// UnityEngine.UI.ScrollRect/ScrollRectEvent
struct ScrollRectEvent_t343079324;
// UnityEngine.UI.Scrollbar
struct Scrollbar_t1494447233;
// UnityEngine.UI.Selectable
struct Selectable_t3250028441;
// UnityEngine.UI.Text
struct Text_t1901882714;
// UnityEngine.UI.Toggle
struct Toggle_t2735377061;
// UnityEngine.UI.Toggle/ToggleEvent
struct ToggleEvent_t1873685584;
// UnityEngine.UI.ToggleGroup
struct ToggleGroup_t123837990;
// UnityEngine.UI.Toggle[]
struct ToggleU5BU5D_t2531460392;
// UnityEngine.UI.VertexHelper
struct VertexHelper_t2453304189;
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_t1981460040;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t1457185986;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1718750761;
extern RuntimeClass* Byte_t1134296376_il2cpp_TypeInfo_var;
extern RuntimeClass* CellTreeNode_t3709723763_il2cpp_TypeInfo_var;
extern RuntimeClass* CellTree_t656254725_il2cpp_TypeInfo_var;
extern RuntimeClass* ClientState_t741254012_il2cpp_TypeInfo_var;
extern RuntimeClass* CountdownTimerHasExpired_t4234756006_il2cpp_TypeInfo_var;
extern RuntimeClass* CountdownTimer_t636337431_il2cpp_TypeInfo_var;
extern RuntimeClass* Debug_t3317548046_il2cpp_TypeInfo_var;
extern RuntimeClass* Dictionary_2_t1152131052_il2cpp_TypeInfo_var;
extern RuntimeClass* Dictionary_2_t660995199_il2cpp_TypeInfo_var;
extern RuntimeClass* DisconnectCause_t3734433884_il2cpp_TypeInfo_var;
extern RuntimeClass* Enum_t4135868527_il2cpp_TypeInfo_var;
extern RuntimeClass* Func_2_t3125806854_il2cpp_TypeInfo_var;
extern RuntimeClass* GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var;
extern RuntimeClass* GUIStyle_t3956901511_il2cpp_TypeInfo_var;
extern RuntimeClass* GUI_t1624858472_il2cpp_TypeInfo_var;
extern RuntimeClass* GameObject_t1113636619_il2cpp_TypeInfo_var;
extern RuntimeClass* HashSet_1_t1444519063_il2cpp_TypeInfo_var;
extern RuntimeClass* HashSet_1_t1515895227_il2cpp_TypeInfo_var;
extern RuntimeClass* Hashtable_t1048209202_il2cpp_TypeInfo_var;
extern RuntimeClass* IDisposable_t3640265483_il2cpp_TypeInfo_var;
extern RuntimeClass* IEnumerator_t1853284238_il2cpp_TypeInfo_var;
extern RuntimeClass* IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var;
extern RuntimeClass* Input_t1431474628_il2cpp_TypeInfo_var;
extern RuntimeClass* Int32U5BU5D_t385246372_il2cpp_TypeInfo_var;
extern RuntimeClass* Int32_t2950945753_il2cpp_TypeInfo_var;
extern RuntimeClass* Int64_t3736567304_il2cpp_TypeInfo_var;
extern RuntimeClass* List_1_t2606371118_il2cpp_TypeInfo_var;
extern RuntimeClass* List_1_t56677035_il2cpp_TypeInfo_var;
extern RuntimeClass* List_1_t886831209_il2cpp_TypeInfo_var;
extern RuntimeClass* Mathf_t3464937446_il2cpp_TypeInfo_var;
extern RuntimeClass* NotSupportedException_t1314879016_il2cpp_TypeInfo_var;
extern RuntimeClass* ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var;
extern RuntimeClass* Object_t631007953_il2cpp_TypeInfo_var;
extern RuntimeClass* PhotonNetwork_t3232838738_il2cpp_TypeInfo_var;
extern RuntimeClass* PlayerNumberingChanged_t966975091_il2cpp_TypeInfo_var;
extern RuntimeClass* PlayerNumbering_t1896744609_il2cpp_TypeInfo_var;
extern RuntimeClass* PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var;
extern RuntimeClass* PunTeams_t4131221827_il2cpp_TypeInfo_var;
extern RuntimeClass* Quaternion_t2301928331_il2cpp_TypeInfo_var;
extern RuntimeClass* RaiseEventOptions_t4260424731_il2cpp_TypeInfo_var;
extern RuntimeClass* RoomOptions_t957731565_il2cpp_TypeInfo_var;
extern RuntimeClass* SendOptions_t967321410_il2cpp_TypeInfo_var;
extern RuntimeClass* ServerConnection_t1897300512_il2cpp_TypeInfo_var;
extern RuntimeClass* Single_t1397266774_il2cpp_TypeInfo_var;
extern RuntimeClass* StatesGui_t4032328020_il2cpp_TypeInfo_var;
extern RuntimeClass* String_t_il2cpp_TypeInfo_var;
extern RuntimeClass* Team_t3101236044_il2cpp_TypeInfo_var;
extern RuntimeClass* TurnExtensions_t575626914_il2cpp_TypeInfo_var;
extern RuntimeClass* Type_t_il2cpp_TypeInfo_var;
extern RuntimeClass* U3CClickFlashU3Ec__Iterator0_t700316031_il2cpp_TypeInfo_var;
extern RuntimeClass* U3CDestroyRpcU3Ec__Iterator0_t785359983_il2cpp_TypeInfo_var;
extern RuntimeClass* U3CStartU3Ec__AnonStorey0_t1921436154_il2cpp_TypeInfo_var;
extern RuntimeClass* UnityAction_1_t682124106_il2cpp_TypeInfo_var;
extern RuntimeClass* Vector2U5BU5D_t1457185986_il2cpp_TypeInfo_var;
extern RuntimeClass* Vector2_t2156229523_il2cpp_TypeInfo_var;
extern RuntimeClass* Vector3_t3722313464_il2cpp_TypeInfo_var;
extern RuntimeClass* WindowFunction_t3146511083_il2cpp_TypeInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1_FieldInfo_var;
extern RuntimeField* U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0_FieldInfo_var;
extern String_t* _stringLiteral1040231083;
extern String_t* _stringLiteral1042926513;
extern String_t* _stringLiteral1185472782;
extern String_t* _stringLiteral1270814699;
extern String_t* _stringLiteral1289456955;
extern String_t* _stringLiteral1292936883;
extern String_t* _stringLiteral1383611647;
extern String_t* _stringLiteral1392974304;
extern String_t* _stringLiteral1394251666;
extern String_t* _stringLiteral1503442511;
extern String_t* _stringLiteral1512030231;
extern String_t* _stringLiteral1636126115;
extern String_t* _stringLiteral1694281943;
extern String_t* _stringLiteral1798499810;
extern String_t* _stringLiteral1801776656;
extern String_t* _stringLiteral1828639942;
extern String_t* _stringLiteral1865647988;
extern String_t* _stringLiteral1905830978;
extern String_t* _stringLiteral1948345292;
extern String_t* _stringLiteral1956379267;
extern String_t* _stringLiteral1960057320;
extern String_t* _stringLiteral1968429183;
extern String_t* _stringLiteral1981399249;
extern String_t* _stringLiteral2039914422;
extern String_t* _stringLiteral2097589678;
extern String_t* _stringLiteral2190353384;
extern String_t* _stringLiteral2281429228;
extern String_t* _stringLiteral2320622491;
extern String_t* _stringLiteral2340317877;
extern String_t* _stringLiteral2342356055;
extern String_t* _stringLiteral2396748665;
extern String_t* _stringLiteral2435509311;
extern String_t* _stringLiteral2624477069;
extern String_t* _stringLiteral2642543365;
extern String_t* _stringLiteral2680616118;
extern String_t* _stringLiteral2688095987;
extern String_t* _stringLiteral2704330057;
extern String_t* _stringLiteral2712625001;
extern String_t* _stringLiteral275284584;
extern String_t* _stringLiteral2871578753;
extern String_t* _stringLiteral2886079241;
extern String_t* _stringLiteral2891869312;
extern String_t* _stringLiteral2926167460;
extern String_t* _stringLiteral2927055467;
extern String_t* _stringLiteral2950038661;
extern String_t* _stringLiteral2950688325;
extern String_t* _stringLiteral2952665461;
extern String_t* _stringLiteral2984908384;
extern String_t* _stringLiteral2991614154;
extern String_t* _stringLiteral3054202007;
extern String_t* _stringLiteral3116922775;
extern String_t* _stringLiteral3142235956;
extern String_t* _stringLiteral3239394676;
extern String_t* _stringLiteral3326793915;
extern String_t* _stringLiteral335638622;
extern String_t* _stringLiteral3359837298;
extern String_t* _stringLiteral3450517380;
extern String_t* _stringLiteral3451369434;
extern String_t* _stringLiteral3451434946;
extern String_t* _stringLiteral3452614528;
extern String_t* _stringLiteral3452614530;
extern String_t* _stringLiteral3452614532;
extern String_t* _stringLiteral3452614535;
extern String_t* _stringLiteral3452614546;
extern String_t* _stringLiteral3534642813;
extern String_t* _stringLiteral3546935536;
extern String_t* _stringLiteral3560943847;
extern String_t* _stringLiteral3579557770;
extern String_t* _stringLiteral3596229084;
extern String_t* _stringLiteral3596229116;
extern String_t* _stringLiteral3688549586;
extern String_t* _stringLiteral37550718;
extern String_t* _stringLiteral3791560906;
extern String_t* _stringLiteral3815572937;
extern String_t* _stringLiteral3846590399;
extern String_t* _stringLiteral3882764546;
extern String_t* _stringLiteral3917410033;
extern String_t* _stringLiteral395050122;
extern String_t* _stringLiteral4072378657;
extern String_t* _stringLiteral4077018639;
extern String_t* _stringLiteral410293404;
extern String_t* _stringLiteral458337336;
extern String_t* _stringLiteral489363928;
extern String_t* _stringLiteral545069893;
extern String_t* _stringLiteral667689730;
extern String_t* _stringLiteral690802062;
extern String_t* _stringLiteral731579180;
extern String_t* _stringLiteral744485924;
extern String_t* _stringLiteral762250762;
extern String_t* _stringLiteral764279639;
extern String_t* _stringLiteral764586223;
extern String_t* _stringLiteral772360383;
extern String_t* _stringLiteral795167749;
extern String_t* _stringLiteral834226267;
extern String_t* _stringLiteral873868984;
extern String_t* _stringLiteral950452602;
extern const RuntimeMethod* Component_GetComponentInParent_TisScrollRect_t4137855814_m3221780564_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisGraphic_t1660335611_m1118939870_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisPhotonView_t3684715584_m2959291925_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisRenderer_t2627027031_m4050762431_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisRigidbody2D_t939494601_m870337490_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisRigidbody_t3916780224_m546874772_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisSpriteRenderer_t3235626157_m1416425555_RuntimeMethod_var;
extern const RuntimeMethod* Component_GetComponent_TisText_t1901882714_m2069588619_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Add_m2387223709_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_Remove_m4038518975_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_TryGetValue_m3280774074_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m3567964180_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2__ctor_m820275806_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Item_m1675675625_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Item_m1995330077_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_get_Values_m2530150265_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_set_Item_m368567659_RuntimeMethod_var;
extern const RuntimeMethod* Dictionary_2_set_Item_m822340338_RuntimeMethod_var;
extern const RuntimeMethod* Enumerable_FirstOrDefault_TisToggle_t2735377061_m296792468_RuntimeMethod_var;
extern const RuntimeMethod* Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475_RuntimeMethod_var;
extern const RuntimeMethod* Enumerable_ToArray_TisPlayer_t2879569589_m1227591871_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m1812819993_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m4132484595_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_Dispose_m867125006_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m1207128889_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m1900473804_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_MoveNext_m2965827227_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m1363080909_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m4025676787_RuntimeMethod_var;
extern const RuntimeMethod* Enumerator_get_Current_m906480813_RuntimeMethod_var;
extern const RuntimeMethod* Func_2__ctor_m2512717385_RuntimeMethod_var;
extern const RuntimeMethod* GameObject_AddComponent_TisEventSystem_t1003666588_m3234499316_RuntimeMethod_var;
extern const RuntimeMethod* GameObject_AddComponent_TisStandaloneInputModule_t2760469101_m1339490436_RuntimeMethod_var;
extern const RuntimeMethod* GraphicToggleIsOnTransition_OnValueChanged_m3626746267_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_Add_m2244038802_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_Add_m2381074529_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_Clear_m4049590895_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_Contains_m1997749353_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_Contains_m2453795586_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1__ctor_m1661370653_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1__ctor_m4101629095_RuntimeMethod_var;
extern const RuntimeMethod* HashSet_1_get_Count_m1214708533_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m1879260396_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m1912247451_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m3606445653_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Add_m3890707704_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Clear_m664864482_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Contains_m22698353_RuntimeMethod_var;
extern const RuntimeMethod* List_1_GetEnumerator_m1539921157_RuntimeMethod_var;
extern const RuntimeMethod* List_1_GetEnumerator_m3145015159_RuntimeMethod_var;
extern const RuntimeMethod* List_1_GetEnumerator_m4151690152_RuntimeMethod_var;
extern const RuntimeMethod* List_1_Insert_m2431904002_RuntimeMethod_var;
extern const RuntimeMethod* List_1_ToArray_m4027363486_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m2754258052_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m2987814451_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m3273246438_RuntimeMethod_var;
extern const RuntimeMethod* List_1__ctor_m88219481_RuntimeMethod_var;
extern const RuntimeMethod* List_1_get_Count_m1724015548_RuntimeMethod_var;
extern const RuntimeMethod* List_1_get_Item_m3131675103_RuntimeMethod_var;
extern const RuntimeMethod* Object_FindObjectOfType_TisCullArea_t635391622_m2204414486_RuntimeMethod_var;
extern const RuntimeMethod* Object_FindObjectOfType_TisEventSystem_t1003666588_m1717287152_RuntimeMethod_var;
extern const RuntimeMethod* PhotonLagSimulationGui_NetSimHasNoPeerWindow_m3178588920_RuntimeMethod_var;
extern const RuntimeMethod* PhotonLagSimulationGui_NetSimWindow_m1378968257_RuntimeMethod_var;
extern const RuntimeMethod* PhotonStatsGui_TrafficStatsWindow_m2032808384_RuntimeMethod_var;
extern const RuntimeMethod* PlayerNumberingExtensions_GetPlayerNumber_m3036515695_RuntimeMethod_var;
extern const RuntimeMethod* PlayerNumbering_U3CRefreshDataU3Em__0_m1913162865_RuntimeMethod_var;
extern const RuntimeMethod* TextToggleIsOnTransition_OnValueChanged_m1225106709_RuntimeMethod_var;
extern const RuntimeMethod* U3CClickFlashU3Ec__Iterator0_Reset_m3139757069_RuntimeMethod_var;
extern const RuntimeMethod* U3CDestroyRpcU3Ec__Iterator0_Reset_m3008668574_RuntimeMethod_var;
extern const RuntimeMethod* U3CStartU3Ec__AnonStorey0_U3CU3Em__0_m340462239_RuntimeMethod_var;
extern const RuntimeMethod* UnityAction_1__ctor_m3007623985_RuntimeMethod_var;
extern const RuntimeMethod* UnityEvent_1_AddListener_m2847988282_RuntimeMethod_var;
extern const RuntimeMethod* UnityEvent_1_Invoke_m2550716684_RuntimeMethod_var;
extern const RuntimeMethod* UnityEvent_1_RemoveListener_m1660329188_RuntimeMethod_var;
extern const RuntimeMethod* UnityEvent_1__ctor_m2980558499_RuntimeMethod_var;
extern const RuntimeType* Team_t3101236044_0_0_0_var;
extern const uint32_t ButtonInsideScrollList_Start_m404284743_MetadataUsageId;
extern const uint32_t ButtonInsideScrollList_UnityEngine_EventSystems_IPointerDownHandler_OnPointerDown_m3219428351_MetadataUsageId;
extern const uint32_t ButtonInsideScrollList_UnityEngine_EventSystems_IPointerUpHandler_OnPointerUp_m262584427_MetadataUsageId;
extern const uint32_t CellTreeNode_AddChild_m4144798801_MetadataUsageId;
extern const uint32_t CellTreeNode_GetActiveCells_m131210235_MetadataUsageId;
extern const uint32_t CellTreeNode_IsPointNearCell_m496229503_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_ConnectNow_m1440738071_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_OnConnectedToMaster_m2750593320_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_OnDisconnected_m4139352883_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_OnJoinRandomFailed_m2829837337_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_OnJoinedLobby_m3090473406_MetadataUsageId;
extern const uint32_t ConnectAndJoinRandom_OnJoinedRoom_m2516502544_MetadataUsageId;
extern const uint32_t CountdownTimer_OnRoomPropertiesUpdate_m491895390_MetadataUsageId;
extern const uint32_t CountdownTimer_Start_m2502424132_MetadataUsageId;
extern const uint32_t CountdownTimer_Update_m4059902890_MetadataUsageId;
extern const uint32_t CountdownTimer_add_OnCountdownTimerHasExpired_m1239220387_MetadataUsageId;
extern const uint32_t CountdownTimer_remove_OnCountdownTimerHasExpired_m2729137716_MetadataUsageId;
extern const uint32_t CullArea_CreateCellHierarchy_m210888405_MetadataUsageId;
extern const uint32_t CullArea_CreateChildCells_m2624996668_MetadataUsageId;
extern const uint32_t CullArea_GetActiveCells_m3422485057_MetadataUsageId;
extern const uint32_t CullArea__ctor_m3288008499_MetadataUsageId;
extern const uint32_t CullingHandler_HaveActiveCellsChanged_m598046573_MetadataUsageId;
extern const uint32_t CullingHandler_OnEnable_m945045169_MetadataUsageId;
extern const uint32_t CullingHandler_OnGUI_m718030668_MetadataUsageId;
extern const uint32_t CullingHandler_OnPhotonSerializeView_m1011243146_MetadataUsageId;
extern const uint32_t CullingHandler_Start_m621240527_MetadataUsageId;
extern const uint32_t CullingHandler_UpdateInterestGroups_m1842924977_MetadataUsageId;
extern const uint32_t CullingHandler_Update_m2854085633_MetadataUsageId;
extern const uint32_t EventSystemSpawner_OnEnable_m3323201331_MetadataUsageId;
extern const uint32_t GraphicToggleIsOnTransition_OnDisable_m2507484951_MetadataUsageId;
extern const uint32_t GraphicToggleIsOnTransition_OnEnable_m2254698303_MetadataUsageId;
extern const uint32_t MoveByKeys_FixedUpdate_m2380733459_MetadataUsageId;
extern const uint32_t MoveByKeys_Start_m2905789456_MetadataUsageId;
extern const uint32_t OnClickDestroy_DestroyRpc_m1554995263_MetadataUsageId;
extern const uint32_t OnClickDestroy_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m427568694_MetadataUsageId;
extern const uint32_t OnClickInstantiate_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m3076304384_MetadataUsageId;
extern const uint32_t OnClickRpc_ClickFlash_m2300011927_MetadataUsageId;
extern const uint32_t OnClickRpc_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m809129665_MetadataUsageId;
extern const uint32_t OnEscapeQuit_Update_m1749981856_MetadataUsageId;
extern const uint32_t OnJoinedInstantiate_OnDisable_m1481815562_MetadataUsageId;
extern const uint32_t OnJoinedInstantiate_OnEnable_m3714837654_MetadataUsageId;
extern const uint32_t OnJoinedInstantiate_OnJoinedRoom_m168670443_MetadataUsageId;
extern const uint32_t OnPointerOverTooltip_OnDestroy_m19069061_MetadataUsageId;
extern const uint32_t OnPointerOverTooltip_UnityEngine_EventSystems_IPointerEnterHandler_OnPointerEnter_m1507243938_MetadataUsageId;
extern const uint32_t OnPointerOverTooltip_UnityEngine_EventSystems_IPointerExitHandler_OnPointerExit_m3227103662_MetadataUsageId;
extern const uint32_t OnStartDelete_Start_m2144313118_MetadataUsageId;
extern const uint32_t PhotonLagSimulationGui_NetSimHasNoPeerWindow_m3178588920_MetadataUsageId;
extern const uint32_t PhotonLagSimulationGui_NetSimWindow_m1378968257_MetadataUsageId;
extern const uint32_t PhotonLagSimulationGui_OnGUI_m1855844633_MetadataUsageId;
extern const uint32_t PhotonLagSimulationGui_Start_m2705320046_MetadataUsageId;
extern const uint32_t PhotonStatsGui_OnGUI_m1132878649_MetadataUsageId;
extern const uint32_t PhotonStatsGui_TrafficStatsWindow_m2032808384_MetadataUsageId;
extern const uint32_t PhotonStatsGui_Update_m1444365946_MetadataUsageId;
extern const uint32_t PlayerNumberingExtensions_GetPlayerNumber_m3036515695_MetadataUsageId;
extern const uint32_t PlayerNumberingExtensions_SetPlayerNumber_m1320318705_MetadataUsageId;
extern const uint32_t PlayerNumbering_Awake_m1134146647_MetadataUsageId;
extern const uint32_t PlayerNumbering_OnLeftRoom_m1424830271_MetadataUsageId;
extern const uint32_t PlayerNumbering_OnPlayerPropertiesUpdate_m3757415167_MetadataUsageId;
extern const uint32_t PlayerNumbering_RefreshData_m3174524296_MetadataUsageId;
extern const uint32_t PlayerNumbering_add_OnPlayerNumberingChanged_m1360814868_MetadataUsageId;
extern const uint32_t PlayerNumbering_remove_OnPlayerNumberingChanged_m4107329667_MetadataUsageId;
extern const uint32_t PointedAtGameObjectInfo_LateUpdate_m3992808320_MetadataUsageId;
extern const uint32_t PointedAtGameObjectInfo_RemoveFocus_m129442045_MetadataUsageId;
extern const uint32_t PointedAtGameObjectInfo_SetFocus_m3920654545_MetadataUsageId;
extern const uint32_t PointedAtGameObjectInfo_Start_m3449783446_MetadataUsageId;
extern const uint32_t PunTeams_OnDisable_m3615301927_MetadataUsageId;
extern const uint32_t PunTeams_Start_m4184821440_MetadataUsageId;
extern const uint32_t PunTeams_UpdateTeams_m2257841423_MetadataUsageId;
extern const uint32_t PunTurnManager_GetPlayerFinishedTurn_m1120062368_MetadataUsageId;
extern const uint32_t PunTurnManager_OnRoomPropertiesUpdate_m3206865206_MetadataUsageId;
extern const uint32_t PunTurnManager_ProcessOnEvent_m4186446278_MetadataUsageId;
extern const uint32_t PunTurnManager_SendMove_m131092175_MetadataUsageId;
extern const uint32_t PunTurnManager_Update_m271052818_MetadataUsageId;
extern const uint32_t PunTurnManager__ctor_m3892227812_MetadataUsageId;
extern const uint32_t PunTurnManager_get_ElapsedTimeInTurn_m200579265_MetadataUsageId;
extern const uint32_t PunTurnManager_get_IsCompletedByAll_m2089146779_MetadataUsageId;
extern const uint32_t PunTurnManager_get_IsFinishedByMe_m3169690618_MetadataUsageId;
extern const uint32_t PunTurnManager_get_RemainingSecondsInTurn_m1281916915_MetadataUsageId;
extern const uint32_t PunTurnManager_get_Turn_m613516047_MetadataUsageId;
extern const uint32_t PunTurnManager_set_Turn_m1618395572_MetadataUsageId;
extern const uint32_t ScoreExtensions_AddScore_m1501882001_MetadataUsageId;
extern const uint32_t ScoreExtensions_GetScore_m1758861964_MetadataUsageId;
extern const uint32_t ScoreExtensions_SetScore_m2852120127_MetadataUsageId;
extern const uint32_t SmoothSyncMovement_Awake_m3867079641_MetadataUsageId;
extern const uint32_t SmoothSyncMovement_OnPhotonSerializeView_m2846101314_MetadataUsageId;
extern const uint32_t SmoothSyncMovement_Update_m4017652860_MetadataUsageId;
extern const uint32_t SmoothSyncMovement__ctor_m4047694916_MetadataUsageId;
extern const uint32_t StatesGui_Awake_m3534082901_MetadataUsageId;
extern const uint32_t StatesGui_OnDisable_m1465164230_MetadataUsageId;
extern const uint32_t StatesGui_OnGUI_m2550125736_MetadataUsageId;
extern const uint32_t StatesGui_PlayerToString_m2491781136_MetadataUsageId;
extern const uint32_t TabChangeEvent__ctor_m2715359150_MetadataUsageId;
extern const uint32_t TabViewManager_OnTabSelected_m3112329729_MetadataUsageId;
extern const uint32_t TabViewManager_SelectTab_m170906911_MetadataUsageId;
extern const uint32_t TabViewManager_Start_m3245621917_MetadataUsageId;
extern const uint32_t Tab__ctor_m4081913537_MetadataUsageId;
extern const uint32_t TeamExtensions_GetTeam_m2656974499_MetadataUsageId;
extern const uint32_t TeamExtensions_SetTeam_m96072579_MetadataUsageId;
extern const uint32_t TextButtonTransition_Awake_m2258665499_MetadataUsageId;
extern const uint32_t TextButtonTransition_OnPointerEnter_m1943928115_MetadataUsageId;
extern const uint32_t TextButtonTransition_OnPointerExit_m3861436028_MetadataUsageId;
extern const uint32_t TextToggleIsOnTransition_OnDisable_m3630902897_MetadataUsageId;
extern const uint32_t TextToggleIsOnTransition_OnEnable_m1219669493_MetadataUsageId;
extern const uint32_t TurnExtensions_GetFinishedTurn_m753257667_MetadataUsageId;
extern const uint32_t TurnExtensions_GetTurnStart_m3099907616_MetadataUsageId;
extern const uint32_t TurnExtensions_GetTurn_m1426973900_MetadataUsageId;
extern const uint32_t TurnExtensions_SetFinishedTurn_m4292240673_MetadataUsageId;
extern const uint32_t TurnExtensions_SetTurn_m487888605_MetadataUsageId;
extern const uint32_t TurnExtensions__cctor_m4185854308_MetadataUsageId;
extern const uint32_t U3CClickFlashU3Ec__Iterator0_MoveNext_m357997759_MetadataUsageId;
extern const uint32_t U3CClickFlashU3Ec__Iterator0_Reset_m3139757069_MetadataUsageId;
extern const uint32_t U3CDestroyRpcU3Ec__Iterator0_MoveNext_m3135956445_MetadataUsageId;
extern const uint32_t U3CDestroyRpcU3Ec__Iterator0_Reset_m3008668574_MetadataUsageId;
struct GUIStyleState_t1397964415_marshaled_com;
struct GUIStyleState_t1397964415_marshaled_pinvoke;
struct RectOffset_t1369453676_marshaled_com;
struct TabU5BU5D_t533311896;
struct PlayerU5BU5D_t3651776216;
struct ByteU5BU5D_t4116647657;
struct Int32U5BU5D_t385246372;
struct ObjectU5BU5D_t2843939325;
struct StringU5BU5D_t1281789340;
struct GUILayoutOptionU5BU5D_t2510215842;
struct GameObjectU5BU5D_t3328599146;
struct Vector2U5BU5D_t1457185986;
#ifndef U3CMODULEU3E_T692745560_H
#define U3CMODULEU3E_T692745560_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t692745560
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CMODULEU3E_T692745560_H
#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 EVENTDATA_T3728223374_H
#define EVENTDATA_T3728223374_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.EventData
struct EventData_t3728223374 : public RuntimeObject
{
public:
// System.Byte ExitGames.Client.Photon.EventData::Code
uint8_t ___Code_0;
// System.Collections.Generic.Dictionary`2<System.Byte,System.Object> ExitGames.Client.Photon.EventData::Parameters
Dictionary_2_t1405253484 * ___Parameters_1;
// System.Int32 ExitGames.Client.Photon.EventData::sender
int32_t ___sender_3;
public:
inline static int32_t get_offset_of_Code_0() { return static_cast<int32_t>(offsetof(EventData_t3728223374, ___Code_0)); }
inline uint8_t get_Code_0() const { return ___Code_0; }
inline uint8_t* get_address_of_Code_0() { return &___Code_0; }
inline void set_Code_0(uint8_t value)
{
___Code_0 = value;
}
inline static int32_t get_offset_of_Parameters_1() { return static_cast<int32_t>(offsetof(EventData_t3728223374, ___Parameters_1)); }
inline Dictionary_2_t1405253484 * get_Parameters_1() const { return ___Parameters_1; }
inline Dictionary_2_t1405253484 ** get_address_of_Parameters_1() { return &___Parameters_1; }
inline void set_Parameters_1(Dictionary_2_t1405253484 * value)
{
___Parameters_1 = value;
Il2CppCodeGenWriteBarrier((&___Parameters_1), value);
}
inline static int32_t get_offset_of_sender_3() { return static_cast<int32_t>(offsetof(EventData_t3728223374, ___sender_3)); }
inline int32_t get_sender_3() const { return ___sender_3; }
inline int32_t* get_address_of_sender_3() { return &___sender_3; }
inline void set_sender_3(int32_t value)
{
___sender_3 = value;
}
};
struct EventData_t3728223374_StaticFields
{
public:
// System.Byte ExitGames.Client.Photon.EventData::SenderKey
uint8_t ___SenderKey_2;
// System.Byte ExitGames.Client.Photon.EventData::CustomDataKey
uint8_t ___CustomDataKey_4;
public:
inline static int32_t get_offset_of_SenderKey_2() { return static_cast<int32_t>(offsetof(EventData_t3728223374_StaticFields, ___SenderKey_2)); }
inline uint8_t get_SenderKey_2() const { return ___SenderKey_2; }
inline uint8_t* get_address_of_SenderKey_2() { return &___SenderKey_2; }
inline void set_SenderKey_2(uint8_t value)
{
___SenderKey_2 = value;
}
inline static int32_t get_offset_of_CustomDataKey_4() { return static_cast<int32_t>(offsetof(EventData_t3728223374_StaticFields, ___CustomDataKey_4)); }
inline uint8_t get_CustomDataKey_4() const { return ___CustomDataKey_4; }
inline uint8_t* get_address_of_CustomDataKey_4() { return &___CustomDataKey_4; }
inline void set_CustomDataKey_4(uint8_t value)
{
___CustomDataKey_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTDATA_T3728223374_H
#ifndef NETWORKSIMULATIONSET_T2000596048_H
#define NETWORKSIMULATIONSET_T2000596048_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.NetworkSimulationSet
struct NetworkSimulationSet_t2000596048 : public RuntimeObject
{
public:
// System.Boolean ExitGames.Client.Photon.NetworkSimulationSet::isSimulationEnabled
bool ___isSimulationEnabled_0;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::outgoingLag
int32_t ___outgoingLag_1;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::outgoingJitter
int32_t ___outgoingJitter_2;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::outgoingLossPercentage
int32_t ___outgoingLossPercentage_3;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::incomingLag
int32_t ___incomingLag_4;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::incomingJitter
int32_t ___incomingJitter_5;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::incomingLossPercentage
int32_t ___incomingLossPercentage_6;
// ExitGames.Client.Photon.PeerBase ExitGames.Client.Photon.NetworkSimulationSet::peerBase
PeerBase_t2956237011 * ___peerBase_7;
// System.Threading.Thread ExitGames.Client.Photon.NetworkSimulationSet::netSimThread
Thread_t2300836069 * ___netSimThread_8;
// System.Threading.ManualResetEvent ExitGames.Client.Photon.NetworkSimulationSet::NetSimManualResetEvent
ManualResetEvent_t451242010 * ___NetSimManualResetEvent_9;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::<LostPackagesOut>k__BackingField
int32_t ___U3CLostPackagesOutU3Ek__BackingField_10;
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::<LostPackagesIn>k__BackingField
int32_t ___U3CLostPackagesInU3Ek__BackingField_11;
public:
inline static int32_t get_offset_of_isSimulationEnabled_0() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___isSimulationEnabled_0)); }
inline bool get_isSimulationEnabled_0() const { return ___isSimulationEnabled_0; }
inline bool* get_address_of_isSimulationEnabled_0() { return &___isSimulationEnabled_0; }
inline void set_isSimulationEnabled_0(bool value)
{
___isSimulationEnabled_0 = value;
}
inline static int32_t get_offset_of_outgoingLag_1() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___outgoingLag_1)); }
inline int32_t get_outgoingLag_1() const { return ___outgoingLag_1; }
inline int32_t* get_address_of_outgoingLag_1() { return &___outgoingLag_1; }
inline void set_outgoingLag_1(int32_t value)
{
___outgoingLag_1 = value;
}
inline static int32_t get_offset_of_outgoingJitter_2() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___outgoingJitter_2)); }
inline int32_t get_outgoingJitter_2() const { return ___outgoingJitter_2; }
inline int32_t* get_address_of_outgoingJitter_2() { return &___outgoingJitter_2; }
inline void set_outgoingJitter_2(int32_t value)
{
___outgoingJitter_2 = value;
}
inline static int32_t get_offset_of_outgoingLossPercentage_3() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___outgoingLossPercentage_3)); }
inline int32_t get_outgoingLossPercentage_3() const { return ___outgoingLossPercentage_3; }
inline int32_t* get_address_of_outgoingLossPercentage_3() { return &___outgoingLossPercentage_3; }
inline void set_outgoingLossPercentage_3(int32_t value)
{
___outgoingLossPercentage_3 = value;
}
inline static int32_t get_offset_of_incomingLag_4() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___incomingLag_4)); }
inline int32_t get_incomingLag_4() const { return ___incomingLag_4; }
inline int32_t* get_address_of_incomingLag_4() { return &___incomingLag_4; }
inline void set_incomingLag_4(int32_t value)
{
___incomingLag_4 = value;
}
inline static int32_t get_offset_of_incomingJitter_5() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___incomingJitter_5)); }
inline int32_t get_incomingJitter_5() const { return ___incomingJitter_5; }
inline int32_t* get_address_of_incomingJitter_5() { return &___incomingJitter_5; }
inline void set_incomingJitter_5(int32_t value)
{
___incomingJitter_5 = value;
}
inline static int32_t get_offset_of_incomingLossPercentage_6() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___incomingLossPercentage_6)); }
inline int32_t get_incomingLossPercentage_6() const { return ___incomingLossPercentage_6; }
inline int32_t* get_address_of_incomingLossPercentage_6() { return &___incomingLossPercentage_6; }
inline void set_incomingLossPercentage_6(int32_t value)
{
___incomingLossPercentage_6 = value;
}
inline static int32_t get_offset_of_peerBase_7() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___peerBase_7)); }
inline PeerBase_t2956237011 * get_peerBase_7() const { return ___peerBase_7; }
inline PeerBase_t2956237011 ** get_address_of_peerBase_7() { return &___peerBase_7; }
inline void set_peerBase_7(PeerBase_t2956237011 * value)
{
___peerBase_7 = value;
Il2CppCodeGenWriteBarrier((&___peerBase_7), value);
}
inline static int32_t get_offset_of_netSimThread_8() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___netSimThread_8)); }
inline Thread_t2300836069 * get_netSimThread_8() const { return ___netSimThread_8; }
inline Thread_t2300836069 ** get_address_of_netSimThread_8() { return &___netSimThread_8; }
inline void set_netSimThread_8(Thread_t2300836069 * value)
{
___netSimThread_8 = value;
Il2CppCodeGenWriteBarrier((&___netSimThread_8), value);
}
inline static int32_t get_offset_of_NetSimManualResetEvent_9() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___NetSimManualResetEvent_9)); }
inline ManualResetEvent_t451242010 * get_NetSimManualResetEvent_9() const { return ___NetSimManualResetEvent_9; }
inline ManualResetEvent_t451242010 ** get_address_of_NetSimManualResetEvent_9() { return &___NetSimManualResetEvent_9; }
inline void set_NetSimManualResetEvent_9(ManualResetEvent_t451242010 * value)
{
___NetSimManualResetEvent_9 = value;
Il2CppCodeGenWriteBarrier((&___NetSimManualResetEvent_9), value);
}
inline static int32_t get_offset_of_U3CLostPackagesOutU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___U3CLostPackagesOutU3Ek__BackingField_10)); }
inline int32_t get_U3CLostPackagesOutU3Ek__BackingField_10() const { return ___U3CLostPackagesOutU3Ek__BackingField_10; }
inline int32_t* get_address_of_U3CLostPackagesOutU3Ek__BackingField_10() { return &___U3CLostPackagesOutU3Ek__BackingField_10; }
inline void set_U3CLostPackagesOutU3Ek__BackingField_10(int32_t value)
{
___U3CLostPackagesOutU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CLostPackagesInU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(NetworkSimulationSet_t2000596048, ___U3CLostPackagesInU3Ek__BackingField_11)); }
inline int32_t get_U3CLostPackagesInU3Ek__BackingField_11() const { return ___U3CLostPackagesInU3Ek__BackingField_11; }
inline int32_t* get_address_of_U3CLostPackagesInU3Ek__BackingField_11() { return &___U3CLostPackagesInU3Ek__BackingField_11; }
inline void set_U3CLostPackagesInU3Ek__BackingField_11(int32_t value)
{
___U3CLostPackagesInU3Ek__BackingField_11 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NETWORKSIMULATIONSET_T2000596048_H
#ifndef TRAFFICSTATS_T1302902347_H
#define TRAFFICSTATS_T1302902347_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.TrafficStats
struct TrafficStats_t1302902347 : public RuntimeObject
{
public:
// System.Int32 ExitGames.Client.Photon.TrafficStats::<PackageHeaderSize>k__BackingField
int32_t ___U3CPackageHeaderSizeU3Ek__BackingField_0;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<ReliableCommandCount>k__BackingField
int32_t ___U3CReliableCommandCountU3Ek__BackingField_1;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<UnreliableCommandCount>k__BackingField
int32_t ___U3CUnreliableCommandCountU3Ek__BackingField_2;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<FragmentCommandCount>k__BackingField
int32_t ___U3CFragmentCommandCountU3Ek__BackingField_3;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<ControlCommandCount>k__BackingField
int32_t ___U3CControlCommandCountU3Ek__BackingField_4;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<TotalPacketCount>k__BackingField
int32_t ___U3CTotalPacketCountU3Ek__BackingField_5;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<TotalCommandsInPackets>k__BackingField
int32_t ___U3CTotalCommandsInPacketsU3Ek__BackingField_6;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<ReliableCommandBytes>k__BackingField
int32_t ___U3CReliableCommandBytesU3Ek__BackingField_7;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<UnreliableCommandBytes>k__BackingField
int32_t ___U3CUnreliableCommandBytesU3Ek__BackingField_8;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<FragmentCommandBytes>k__BackingField
int32_t ___U3CFragmentCommandBytesU3Ek__BackingField_9;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<ControlCommandBytes>k__BackingField
int32_t ___U3CControlCommandBytesU3Ek__BackingField_10;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<TimestampOfLastAck>k__BackingField
int32_t ___U3CTimestampOfLastAckU3Ek__BackingField_11;
// System.Int32 ExitGames.Client.Photon.TrafficStats::<TimestampOfLastReliableCommand>k__BackingField
int32_t ___U3CTimestampOfLastReliableCommandU3Ek__BackingField_12;
public:
inline static int32_t get_offset_of_U3CPackageHeaderSizeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CPackageHeaderSizeU3Ek__BackingField_0)); }
inline int32_t get_U3CPackageHeaderSizeU3Ek__BackingField_0() const { return ___U3CPackageHeaderSizeU3Ek__BackingField_0; }
inline int32_t* get_address_of_U3CPackageHeaderSizeU3Ek__BackingField_0() { return &___U3CPackageHeaderSizeU3Ek__BackingField_0; }
inline void set_U3CPackageHeaderSizeU3Ek__BackingField_0(int32_t value)
{
___U3CPackageHeaderSizeU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CReliableCommandCountU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CReliableCommandCountU3Ek__BackingField_1)); }
inline int32_t get_U3CReliableCommandCountU3Ek__BackingField_1() const { return ___U3CReliableCommandCountU3Ek__BackingField_1; }
inline int32_t* get_address_of_U3CReliableCommandCountU3Ek__BackingField_1() { return &___U3CReliableCommandCountU3Ek__BackingField_1; }
inline void set_U3CReliableCommandCountU3Ek__BackingField_1(int32_t value)
{
___U3CReliableCommandCountU3Ek__BackingField_1 = value;
}
inline static int32_t get_offset_of_U3CUnreliableCommandCountU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CUnreliableCommandCountU3Ek__BackingField_2)); }
inline int32_t get_U3CUnreliableCommandCountU3Ek__BackingField_2() const { return ___U3CUnreliableCommandCountU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3CUnreliableCommandCountU3Ek__BackingField_2() { return &___U3CUnreliableCommandCountU3Ek__BackingField_2; }
inline void set_U3CUnreliableCommandCountU3Ek__BackingField_2(int32_t value)
{
___U3CUnreliableCommandCountU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CFragmentCommandCountU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CFragmentCommandCountU3Ek__BackingField_3)); }
inline int32_t get_U3CFragmentCommandCountU3Ek__BackingField_3() const { return ___U3CFragmentCommandCountU3Ek__BackingField_3; }
inline int32_t* get_address_of_U3CFragmentCommandCountU3Ek__BackingField_3() { return &___U3CFragmentCommandCountU3Ek__BackingField_3; }
inline void set_U3CFragmentCommandCountU3Ek__BackingField_3(int32_t value)
{
___U3CFragmentCommandCountU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_U3CControlCommandCountU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CControlCommandCountU3Ek__BackingField_4)); }
inline int32_t get_U3CControlCommandCountU3Ek__BackingField_4() const { return ___U3CControlCommandCountU3Ek__BackingField_4; }
inline int32_t* get_address_of_U3CControlCommandCountU3Ek__BackingField_4() { return &___U3CControlCommandCountU3Ek__BackingField_4; }
inline void set_U3CControlCommandCountU3Ek__BackingField_4(int32_t value)
{
___U3CControlCommandCountU3Ek__BackingField_4 = value;
}
inline static int32_t get_offset_of_U3CTotalPacketCountU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CTotalPacketCountU3Ek__BackingField_5)); }
inline int32_t get_U3CTotalPacketCountU3Ek__BackingField_5() const { return ___U3CTotalPacketCountU3Ek__BackingField_5; }
inline int32_t* get_address_of_U3CTotalPacketCountU3Ek__BackingField_5() { return &___U3CTotalPacketCountU3Ek__BackingField_5; }
inline void set_U3CTotalPacketCountU3Ek__BackingField_5(int32_t value)
{
___U3CTotalPacketCountU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CTotalCommandsInPacketsU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CTotalCommandsInPacketsU3Ek__BackingField_6)); }
inline int32_t get_U3CTotalCommandsInPacketsU3Ek__BackingField_6() const { return ___U3CTotalCommandsInPacketsU3Ek__BackingField_6; }
inline int32_t* get_address_of_U3CTotalCommandsInPacketsU3Ek__BackingField_6() { return &___U3CTotalCommandsInPacketsU3Ek__BackingField_6; }
inline void set_U3CTotalCommandsInPacketsU3Ek__BackingField_6(int32_t value)
{
___U3CTotalCommandsInPacketsU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CReliableCommandBytesU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CReliableCommandBytesU3Ek__BackingField_7)); }
inline int32_t get_U3CReliableCommandBytesU3Ek__BackingField_7() const { return ___U3CReliableCommandBytesU3Ek__BackingField_7; }
inline int32_t* get_address_of_U3CReliableCommandBytesU3Ek__BackingField_7() { return &___U3CReliableCommandBytesU3Ek__BackingField_7; }
inline void set_U3CReliableCommandBytesU3Ek__BackingField_7(int32_t value)
{
___U3CReliableCommandBytesU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_U3CUnreliableCommandBytesU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CUnreliableCommandBytesU3Ek__BackingField_8)); }
inline int32_t get_U3CUnreliableCommandBytesU3Ek__BackingField_8() const { return ___U3CUnreliableCommandBytesU3Ek__BackingField_8; }
inline int32_t* get_address_of_U3CUnreliableCommandBytesU3Ek__BackingField_8() { return &___U3CUnreliableCommandBytesU3Ek__BackingField_8; }
inline void set_U3CUnreliableCommandBytesU3Ek__BackingField_8(int32_t value)
{
___U3CUnreliableCommandBytesU3Ek__BackingField_8 = value;
}
inline static int32_t get_offset_of_U3CFragmentCommandBytesU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CFragmentCommandBytesU3Ek__BackingField_9)); }
inline int32_t get_U3CFragmentCommandBytesU3Ek__BackingField_9() const { return ___U3CFragmentCommandBytesU3Ek__BackingField_9; }
inline int32_t* get_address_of_U3CFragmentCommandBytesU3Ek__BackingField_9() { return &___U3CFragmentCommandBytesU3Ek__BackingField_9; }
inline void set_U3CFragmentCommandBytesU3Ek__BackingField_9(int32_t value)
{
___U3CFragmentCommandBytesU3Ek__BackingField_9 = value;
}
inline static int32_t get_offset_of_U3CControlCommandBytesU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CControlCommandBytesU3Ek__BackingField_10)); }
inline int32_t get_U3CControlCommandBytesU3Ek__BackingField_10() const { return ___U3CControlCommandBytesU3Ek__BackingField_10; }
inline int32_t* get_address_of_U3CControlCommandBytesU3Ek__BackingField_10() { return &___U3CControlCommandBytesU3Ek__BackingField_10; }
inline void set_U3CControlCommandBytesU3Ek__BackingField_10(int32_t value)
{
___U3CControlCommandBytesU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CTimestampOfLastAckU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CTimestampOfLastAckU3Ek__BackingField_11)); }
inline int32_t get_U3CTimestampOfLastAckU3Ek__BackingField_11() const { return ___U3CTimestampOfLastAckU3Ek__BackingField_11; }
inline int32_t* get_address_of_U3CTimestampOfLastAckU3Ek__BackingField_11() { return &___U3CTimestampOfLastAckU3Ek__BackingField_11; }
inline void set_U3CTimestampOfLastAckU3Ek__BackingField_11(int32_t value)
{
___U3CTimestampOfLastAckU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CTimestampOfLastReliableCommandU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(TrafficStats_t1302902347, ___U3CTimestampOfLastReliableCommandU3Ek__BackingField_12)); }
inline int32_t get_U3CTimestampOfLastReliableCommandU3Ek__BackingField_12() const { return ___U3CTimestampOfLastReliableCommandU3Ek__BackingField_12; }
inline int32_t* get_address_of_U3CTimestampOfLastReliableCommandU3Ek__BackingField_12() { return &___U3CTimestampOfLastReliableCommandU3Ek__BackingField_12; }
inline void set_U3CTimestampOfLastReliableCommandU3Ek__BackingField_12(int32_t value)
{
___U3CTimestampOfLastReliableCommandU3Ek__BackingField_12 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TRAFFICSTATS_T1302902347_H
#ifndef TRAFFICSTATSGAMELEVEL_T4013908777_H
#define TRAFFICSTATSGAMELEVEL_T4013908777_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.TrafficStatsGameLevel
struct TrafficStatsGameLevel_t4013908777 : public RuntimeObject
{
public:
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::timeOfLastDispatchCall
int32_t ___timeOfLastDispatchCall_0;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::timeOfLastSendCall
int32_t ___timeOfLastSendCall_1;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<OperationByteCount>k__BackingField
int32_t ___U3COperationByteCountU3Ek__BackingField_2;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<OperationCount>k__BackingField
int32_t ___U3COperationCountU3Ek__BackingField_3;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<ResultByteCount>k__BackingField
int32_t ___U3CResultByteCountU3Ek__BackingField_4;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<ResultCount>k__BackingField
int32_t ___U3CResultCountU3Ek__BackingField_5;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<EventByteCount>k__BackingField
int32_t ___U3CEventByteCountU3Ek__BackingField_6;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<EventCount>k__BackingField
int32_t ___U3CEventCountU3Ek__BackingField_7;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestOpResponseCallback>k__BackingField
int32_t ___U3CLongestOpResponseCallbackU3Ek__BackingField_8;
// System.Byte ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestOpResponseCallbackOpCode>k__BackingField
uint8_t ___U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestEventCallback>k__BackingField
int32_t ___U3CLongestEventCallbackU3Ek__BackingField_10;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestMessageCallback>k__BackingField
int32_t ___U3CLongestMessageCallbackU3Ek__BackingField_11;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestRawMessageCallback>k__BackingField
int32_t ___U3CLongestRawMessageCallbackU3Ek__BackingField_12;
// System.Byte ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestEventCallbackCode>k__BackingField
uint8_t ___U3CLongestEventCallbackCodeU3Ek__BackingField_13;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestDeltaBetweenDispatching>k__BackingField
int32_t ___U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<LongestDeltaBetweenSending>k__BackingField
int32_t ___U3CLongestDeltaBetweenSendingU3Ek__BackingField_15;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<DispatchIncomingCommandsCalls>k__BackingField
int32_t ___U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16;
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::<SendOutgoingCommandsCalls>k__BackingField
int32_t ___U3CSendOutgoingCommandsCallsU3Ek__BackingField_17;
public:
inline static int32_t get_offset_of_timeOfLastDispatchCall_0() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___timeOfLastDispatchCall_0)); }
inline int32_t get_timeOfLastDispatchCall_0() const { return ___timeOfLastDispatchCall_0; }
inline int32_t* get_address_of_timeOfLastDispatchCall_0() { return &___timeOfLastDispatchCall_0; }
inline void set_timeOfLastDispatchCall_0(int32_t value)
{
___timeOfLastDispatchCall_0 = value;
}
inline static int32_t get_offset_of_timeOfLastSendCall_1() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___timeOfLastSendCall_1)); }
inline int32_t get_timeOfLastSendCall_1() const { return ___timeOfLastSendCall_1; }
inline int32_t* get_address_of_timeOfLastSendCall_1() { return &___timeOfLastSendCall_1; }
inline void set_timeOfLastSendCall_1(int32_t value)
{
___timeOfLastSendCall_1 = value;
}
inline static int32_t get_offset_of_U3COperationByteCountU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3COperationByteCountU3Ek__BackingField_2)); }
inline int32_t get_U3COperationByteCountU3Ek__BackingField_2() const { return ___U3COperationByteCountU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3COperationByteCountU3Ek__BackingField_2() { return &___U3COperationByteCountU3Ek__BackingField_2; }
inline void set_U3COperationByteCountU3Ek__BackingField_2(int32_t value)
{
___U3COperationByteCountU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3COperationCountU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3COperationCountU3Ek__BackingField_3)); }
inline int32_t get_U3COperationCountU3Ek__BackingField_3() const { return ___U3COperationCountU3Ek__BackingField_3; }
inline int32_t* get_address_of_U3COperationCountU3Ek__BackingField_3() { return &___U3COperationCountU3Ek__BackingField_3; }
inline void set_U3COperationCountU3Ek__BackingField_3(int32_t value)
{
___U3COperationCountU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_U3CResultByteCountU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CResultByteCountU3Ek__BackingField_4)); }
inline int32_t get_U3CResultByteCountU3Ek__BackingField_4() const { return ___U3CResultByteCountU3Ek__BackingField_4; }
inline int32_t* get_address_of_U3CResultByteCountU3Ek__BackingField_4() { return &___U3CResultByteCountU3Ek__BackingField_4; }
inline void set_U3CResultByteCountU3Ek__BackingField_4(int32_t value)
{
___U3CResultByteCountU3Ek__BackingField_4 = value;
}
inline static int32_t get_offset_of_U3CResultCountU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CResultCountU3Ek__BackingField_5)); }
inline int32_t get_U3CResultCountU3Ek__BackingField_5() const { return ___U3CResultCountU3Ek__BackingField_5; }
inline int32_t* get_address_of_U3CResultCountU3Ek__BackingField_5() { return &___U3CResultCountU3Ek__BackingField_5; }
inline void set_U3CResultCountU3Ek__BackingField_5(int32_t value)
{
___U3CResultCountU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CEventByteCountU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CEventByteCountU3Ek__BackingField_6)); }
inline int32_t get_U3CEventByteCountU3Ek__BackingField_6() const { return ___U3CEventByteCountU3Ek__BackingField_6; }
inline int32_t* get_address_of_U3CEventByteCountU3Ek__BackingField_6() { return &___U3CEventByteCountU3Ek__BackingField_6; }
inline void set_U3CEventByteCountU3Ek__BackingField_6(int32_t value)
{
___U3CEventByteCountU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CEventCountU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CEventCountU3Ek__BackingField_7)); }
inline int32_t get_U3CEventCountU3Ek__BackingField_7() const { return ___U3CEventCountU3Ek__BackingField_7; }
inline int32_t* get_address_of_U3CEventCountU3Ek__BackingField_7() { return &___U3CEventCountU3Ek__BackingField_7; }
inline void set_U3CEventCountU3Ek__BackingField_7(int32_t value)
{
___U3CEventCountU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_U3CLongestOpResponseCallbackU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestOpResponseCallbackU3Ek__BackingField_8)); }
inline int32_t get_U3CLongestOpResponseCallbackU3Ek__BackingField_8() const { return ___U3CLongestOpResponseCallbackU3Ek__BackingField_8; }
inline int32_t* get_address_of_U3CLongestOpResponseCallbackU3Ek__BackingField_8() { return &___U3CLongestOpResponseCallbackU3Ek__BackingField_8; }
inline void set_U3CLongestOpResponseCallbackU3Ek__BackingField_8(int32_t value)
{
___U3CLongestOpResponseCallbackU3Ek__BackingField_8 = value;
}
inline static int32_t get_offset_of_U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9)); }
inline uint8_t get_U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9() const { return ___U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9; }
inline uint8_t* get_address_of_U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9() { return &___U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9; }
inline void set_U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9(uint8_t value)
{
___U3CLongestOpResponseCallbackOpCodeU3Ek__BackingField_9 = value;
}
inline static int32_t get_offset_of_U3CLongestEventCallbackU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestEventCallbackU3Ek__BackingField_10)); }
inline int32_t get_U3CLongestEventCallbackU3Ek__BackingField_10() const { return ___U3CLongestEventCallbackU3Ek__BackingField_10; }
inline int32_t* get_address_of_U3CLongestEventCallbackU3Ek__BackingField_10() { return &___U3CLongestEventCallbackU3Ek__BackingField_10; }
inline void set_U3CLongestEventCallbackU3Ek__BackingField_10(int32_t value)
{
___U3CLongestEventCallbackU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CLongestMessageCallbackU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestMessageCallbackU3Ek__BackingField_11)); }
inline int32_t get_U3CLongestMessageCallbackU3Ek__BackingField_11() const { return ___U3CLongestMessageCallbackU3Ek__BackingField_11; }
inline int32_t* get_address_of_U3CLongestMessageCallbackU3Ek__BackingField_11() { return &___U3CLongestMessageCallbackU3Ek__BackingField_11; }
inline void set_U3CLongestMessageCallbackU3Ek__BackingField_11(int32_t value)
{
___U3CLongestMessageCallbackU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CLongestRawMessageCallbackU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestRawMessageCallbackU3Ek__BackingField_12)); }
inline int32_t get_U3CLongestRawMessageCallbackU3Ek__BackingField_12() const { return ___U3CLongestRawMessageCallbackU3Ek__BackingField_12; }
inline int32_t* get_address_of_U3CLongestRawMessageCallbackU3Ek__BackingField_12() { return &___U3CLongestRawMessageCallbackU3Ek__BackingField_12; }
inline void set_U3CLongestRawMessageCallbackU3Ek__BackingField_12(int32_t value)
{
___U3CLongestRawMessageCallbackU3Ek__BackingField_12 = value;
}
inline static int32_t get_offset_of_U3CLongestEventCallbackCodeU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestEventCallbackCodeU3Ek__BackingField_13)); }
inline uint8_t get_U3CLongestEventCallbackCodeU3Ek__BackingField_13() const { return ___U3CLongestEventCallbackCodeU3Ek__BackingField_13; }
inline uint8_t* get_address_of_U3CLongestEventCallbackCodeU3Ek__BackingField_13() { return &___U3CLongestEventCallbackCodeU3Ek__BackingField_13; }
inline void set_U3CLongestEventCallbackCodeU3Ek__BackingField_13(uint8_t value)
{
___U3CLongestEventCallbackCodeU3Ek__BackingField_13 = value;
}
inline static int32_t get_offset_of_U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14)); }
inline int32_t get_U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14() const { return ___U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14; }
inline int32_t* get_address_of_U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14() { return &___U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14; }
inline void set_U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14(int32_t value)
{
___U3CLongestDeltaBetweenDispatchingU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CLongestDeltaBetweenSendingU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CLongestDeltaBetweenSendingU3Ek__BackingField_15)); }
inline int32_t get_U3CLongestDeltaBetweenSendingU3Ek__BackingField_15() const { return ___U3CLongestDeltaBetweenSendingU3Ek__BackingField_15; }
inline int32_t* get_address_of_U3CLongestDeltaBetweenSendingU3Ek__BackingField_15() { return &___U3CLongestDeltaBetweenSendingU3Ek__BackingField_15; }
inline void set_U3CLongestDeltaBetweenSendingU3Ek__BackingField_15(int32_t value)
{
___U3CLongestDeltaBetweenSendingU3Ek__BackingField_15 = value;
}
inline static int32_t get_offset_of_U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16)); }
inline int32_t get_U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16() const { return ___U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16; }
inline int32_t* get_address_of_U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16() { return &___U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16; }
inline void set_U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16(int32_t value)
{
___U3CDispatchIncomingCommandsCallsU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_U3CSendOutgoingCommandsCallsU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(TrafficStatsGameLevel_t4013908777, ___U3CSendOutgoingCommandsCallsU3Ek__BackingField_17)); }
inline int32_t get_U3CSendOutgoingCommandsCallsU3Ek__BackingField_17() const { return ___U3CSendOutgoingCommandsCallsU3Ek__BackingField_17; }
inline int32_t* get_address_of_U3CSendOutgoingCommandsCallsU3Ek__BackingField_17() { return &___U3CSendOutgoingCommandsCallsU3Ek__BackingField_17; }
inline void set_U3CSendOutgoingCommandsCallsU3Ek__BackingField_17(int32_t value)
{
___U3CSendOutgoingCommandsCallsU3Ek__BackingField_17 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TRAFFICSTATSGAMELEVEL_T4013908777_H
#ifndef PHOTONSTREAM_T2658340202_H
#define PHOTONSTREAM_T2658340202_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.PhotonStream
struct PhotonStream_t2658340202 : public RuntimeObject
{
public:
// System.Collections.Generic.List`1<System.Object> Photon.Pun.PhotonStream::writeData
List_1_t257213610 * ___writeData_0;
// System.Object[] Photon.Pun.PhotonStream::readData
ObjectU5BU5D_t2843939325* ___readData_1;
// System.Byte Photon.Pun.PhotonStream::currentItem
uint8_t ___currentItem_2;
// System.Boolean Photon.Pun.PhotonStream::<IsWriting>k__BackingField
bool ___U3CIsWritingU3Ek__BackingField_3;
public:
inline static int32_t get_offset_of_writeData_0() { return static_cast<int32_t>(offsetof(PhotonStream_t2658340202, ___writeData_0)); }
inline List_1_t257213610 * get_writeData_0() const { return ___writeData_0; }
inline List_1_t257213610 ** get_address_of_writeData_0() { return &___writeData_0; }
inline void set_writeData_0(List_1_t257213610 * value)
{
___writeData_0 = value;
Il2CppCodeGenWriteBarrier((&___writeData_0), value);
}
inline static int32_t get_offset_of_readData_1() { return static_cast<int32_t>(offsetof(PhotonStream_t2658340202, ___readData_1)); }
inline ObjectU5BU5D_t2843939325* get_readData_1() const { return ___readData_1; }
inline ObjectU5BU5D_t2843939325** get_address_of_readData_1() { return &___readData_1; }
inline void set_readData_1(ObjectU5BU5D_t2843939325* value)
{
___readData_1 = value;
Il2CppCodeGenWriteBarrier((&___readData_1), value);
}
inline static int32_t get_offset_of_currentItem_2() { return static_cast<int32_t>(offsetof(PhotonStream_t2658340202, ___currentItem_2)); }
inline uint8_t get_currentItem_2() const { return ___currentItem_2; }
inline uint8_t* get_address_of_currentItem_2() { return &___currentItem_2; }
inline void set_currentItem_2(uint8_t value)
{
___currentItem_2 = value;
}
inline static int32_t get_offset_of_U3CIsWritingU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(PhotonStream_t2658340202, ___U3CIsWritingU3Ek__BackingField_3)); }
inline bool get_U3CIsWritingU3Ek__BackingField_3() const { return ___U3CIsWritingU3Ek__BackingField_3; }
inline bool* get_address_of_U3CIsWritingU3Ek__BackingField_3() { return &___U3CIsWritingU3Ek__BackingField_3; }
inline void set_U3CIsWritingU3Ek__BackingField_3(bool value)
{
___U3CIsWritingU3Ek__BackingField_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONSTREAM_T2658340202_H
#ifndef CELLTREE_T656254725_H
#define CELLTREE_T656254725_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CellTree
struct CellTree_t656254725 : public RuntimeObject
{
public:
// Photon.Pun.UtilityScripts.CellTreeNode Photon.Pun.UtilityScripts.CellTree::<RootNode>k__BackingField
CellTreeNode_t3709723763 * ___U3CRootNodeU3Ek__BackingField_0;
public:
inline static int32_t get_offset_of_U3CRootNodeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(CellTree_t656254725, ___U3CRootNodeU3Ek__BackingField_0)); }
inline CellTreeNode_t3709723763 * get_U3CRootNodeU3Ek__BackingField_0() const { return ___U3CRootNodeU3Ek__BackingField_0; }
inline CellTreeNode_t3709723763 ** get_address_of_U3CRootNodeU3Ek__BackingField_0() { return &___U3CRootNodeU3Ek__BackingField_0; }
inline void set_U3CRootNodeU3Ek__BackingField_0(CellTreeNode_t3709723763 * value)
{
___U3CRootNodeU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CRootNodeU3Ek__BackingField_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CELLTREE_T656254725_H
#ifndef U3CDESTROYRPCU3EC__ITERATOR0_T785359983_H
#define U3CDESTROYRPCU3EC__ITERATOR0_T785359983_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0
struct U3CDestroyRpcU3Ec__Iterator0_t785359983 : public RuntimeObject
{
public:
// Photon.Pun.UtilityScripts.OnClickDestroy Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::$this
OnClickDestroy_t3019334366 * ___U24this_0;
// System.Object Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::$current
RuntimeObject * ___U24current_1;
// System.Boolean Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::$disposing
bool ___U24disposing_2;
// System.Int32 Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::$PC
int32_t ___U24PC_3;
public:
inline static int32_t get_offset_of_U24this_0() { return static_cast<int32_t>(offsetof(U3CDestroyRpcU3Ec__Iterator0_t785359983, ___U24this_0)); }
inline OnClickDestroy_t3019334366 * get_U24this_0() const { return ___U24this_0; }
inline OnClickDestroy_t3019334366 ** get_address_of_U24this_0() { return &___U24this_0; }
inline void set_U24this_0(OnClickDestroy_t3019334366 * value)
{
___U24this_0 = value;
Il2CppCodeGenWriteBarrier((&___U24this_0), value);
}
inline static int32_t get_offset_of_U24current_1() { return static_cast<int32_t>(offsetof(U3CDestroyRpcU3Ec__Iterator0_t785359983, ___U24current_1)); }
inline RuntimeObject * get_U24current_1() const { return ___U24current_1; }
inline RuntimeObject ** get_address_of_U24current_1() { return &___U24current_1; }
inline void set_U24current_1(RuntimeObject * value)
{
___U24current_1 = value;
Il2CppCodeGenWriteBarrier((&___U24current_1), value);
}
inline static int32_t get_offset_of_U24disposing_2() { return static_cast<int32_t>(offsetof(U3CDestroyRpcU3Ec__Iterator0_t785359983, ___U24disposing_2)); }
inline bool get_U24disposing_2() const { return ___U24disposing_2; }
inline bool* get_address_of_U24disposing_2() { return &___U24disposing_2; }
inline void set_U24disposing_2(bool value)
{
___U24disposing_2 = value;
}
inline static int32_t get_offset_of_U24PC_3() { return static_cast<int32_t>(offsetof(U3CDestroyRpcU3Ec__Iterator0_t785359983, ___U24PC_3)); }
inline int32_t get_U24PC_3() const { return ___U24PC_3; }
inline int32_t* get_address_of_U24PC_3() { return &___U24PC_3; }
inline void set_U24PC_3(int32_t value)
{
___U24PC_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CDESTROYRPCU3EC__ITERATOR0_T785359983_H
#ifndef PLAYERNUMBERINGEXTENSIONS_T2795551351_H
#define PLAYERNUMBERINGEXTENSIONS_T2795551351_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PlayerNumberingExtensions
struct PlayerNumberingExtensions_t2795551351 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PLAYERNUMBERINGEXTENSIONS_T2795551351_H
#ifndef SCOREEXTENSIONS_T2818287168_H
#define SCOREEXTENSIONS_T2818287168_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.ScoreExtensions
struct ScoreExtensions_t2818287168 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SCOREEXTENSIONS_T2818287168_H
#ifndef U3CSTARTU3EC__ANONSTOREY0_T1921436154_H
#define U3CSTARTU3EC__ANONSTOREY0_T1921436154_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0
struct U3CStartU3Ec__AnonStorey0_t1921436154 : public RuntimeObject
{
public:
// Photon.Pun.UtilityScripts.TabViewManager/Tab Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0::_tab
Tab_t117203701 * ____tab_0;
// Photon.Pun.UtilityScripts.TabViewManager Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0::$this
TabViewManager_t3686055887 * ___U24this_1;
public:
inline static int32_t get_offset_of__tab_0() { return static_cast<int32_t>(offsetof(U3CStartU3Ec__AnonStorey0_t1921436154, ____tab_0)); }
inline Tab_t117203701 * get__tab_0() const { return ____tab_0; }
inline Tab_t117203701 ** get_address_of__tab_0() { return &____tab_0; }
inline void set__tab_0(Tab_t117203701 * value)
{
____tab_0 = value;
Il2CppCodeGenWriteBarrier((&____tab_0), value);
}
inline static int32_t get_offset_of_U24this_1() { return static_cast<int32_t>(offsetof(U3CStartU3Ec__AnonStorey0_t1921436154, ___U24this_1)); }
inline TabViewManager_t3686055887 * get_U24this_1() const { return ___U24this_1; }
inline TabViewManager_t3686055887 ** get_address_of_U24this_1() { return &___U24this_1; }
inline void set_U24this_1(TabViewManager_t3686055887 * value)
{
___U24this_1 = value;
Il2CppCodeGenWriteBarrier((&___U24this_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CSTARTU3EC__ANONSTOREY0_T1921436154_H
#ifndef TAB_T117203701_H
#define TAB_T117203701_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TabViewManager/Tab
struct Tab_t117203701 : public RuntimeObject
{
public:
// System.String Photon.Pun.UtilityScripts.TabViewManager/Tab::ID
String_t* ___ID_0;
// UnityEngine.UI.Toggle Photon.Pun.UtilityScripts.TabViewManager/Tab::Toggle
Toggle_t2735377061 * ___Toggle_1;
// UnityEngine.RectTransform Photon.Pun.UtilityScripts.TabViewManager/Tab::View
RectTransform_t3704657025 * ___View_2;
public:
inline static int32_t get_offset_of_ID_0() { return static_cast<int32_t>(offsetof(Tab_t117203701, ___ID_0)); }
inline String_t* get_ID_0() const { return ___ID_0; }
inline String_t** get_address_of_ID_0() { return &___ID_0; }
inline void set_ID_0(String_t* value)
{
___ID_0 = value;
Il2CppCodeGenWriteBarrier((&___ID_0), value);
}
inline static int32_t get_offset_of_Toggle_1() { return static_cast<int32_t>(offsetof(Tab_t117203701, ___Toggle_1)); }
inline Toggle_t2735377061 * get_Toggle_1() const { return ___Toggle_1; }
inline Toggle_t2735377061 ** get_address_of_Toggle_1() { return &___Toggle_1; }
inline void set_Toggle_1(Toggle_t2735377061 * value)
{
___Toggle_1 = value;
Il2CppCodeGenWriteBarrier((&___Toggle_1), value);
}
inline static int32_t get_offset_of_View_2() { return static_cast<int32_t>(offsetof(Tab_t117203701, ___View_2)); }
inline RectTransform_t3704657025 * get_View_2() const { return ___View_2; }
inline RectTransform_t3704657025 ** get_address_of_View_2() { return &___View_2; }
inline void set_View_2(RectTransform_t3704657025 * value)
{
___View_2 = value;
Il2CppCodeGenWriteBarrier((&___View_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TAB_T117203701_H
#ifndef TEAMEXTENSIONS_T1434078711_H
#define TEAMEXTENSIONS_T1434078711_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TeamExtensions
struct TeamExtensions_t1434078711 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEAMEXTENSIONS_T1434078711_H
#ifndef TURNEXTENSIONS_T575626914_H
#define TURNEXTENSIONS_T575626914_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TurnExtensions
struct TurnExtensions_t575626914 : public RuntimeObject
{
public:
public:
};
struct TurnExtensions_t575626914_StaticFields
{
public:
// System.String Photon.Pun.UtilityScripts.TurnExtensions::TurnPropKey
String_t* ___TurnPropKey_0;
// System.String Photon.Pun.UtilityScripts.TurnExtensions::TurnStartPropKey
String_t* ___TurnStartPropKey_1;
// System.String Photon.Pun.UtilityScripts.TurnExtensions::FinishedTurnPropKey
String_t* ___FinishedTurnPropKey_2;
public:
inline static int32_t get_offset_of_TurnPropKey_0() { return static_cast<int32_t>(offsetof(TurnExtensions_t575626914_StaticFields, ___TurnPropKey_0)); }
inline String_t* get_TurnPropKey_0() const { return ___TurnPropKey_0; }
inline String_t** get_address_of_TurnPropKey_0() { return &___TurnPropKey_0; }
inline void set_TurnPropKey_0(String_t* value)
{
___TurnPropKey_0 = value;
Il2CppCodeGenWriteBarrier((&___TurnPropKey_0), value);
}
inline static int32_t get_offset_of_TurnStartPropKey_1() { return static_cast<int32_t>(offsetof(TurnExtensions_t575626914_StaticFields, ___TurnStartPropKey_1)); }
inline String_t* get_TurnStartPropKey_1() const { return ___TurnStartPropKey_1; }
inline String_t** get_address_of_TurnStartPropKey_1() { return &___TurnStartPropKey_1; }
inline void set_TurnStartPropKey_1(String_t* value)
{
___TurnStartPropKey_1 = value;
Il2CppCodeGenWriteBarrier((&___TurnStartPropKey_1), value);
}
inline static int32_t get_offset_of_FinishedTurnPropKey_2() { return static_cast<int32_t>(offsetof(TurnExtensions_t575626914_StaticFields, ___FinishedTurnPropKey_2)); }
inline String_t* get_FinishedTurnPropKey_2() const { return ___FinishedTurnPropKey_2; }
inline String_t** get_address_of_FinishedTurnPropKey_2() { return &___FinishedTurnPropKey_2; }
inline void set_FinishedTurnPropKey_2(String_t* value)
{
___FinishedTurnPropKey_2 = value;
Il2CppCodeGenWriteBarrier((&___FinishedTurnPropKey_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TURNEXTENSIONS_T575626914_H
#ifndef PLAYER_T2879569589_H
#define PLAYER_T2879569589_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.Player
struct Player_t2879569589 : public RuntimeObject
{
public:
// Photon.Realtime.Room Photon.Realtime.Player::<RoomReference>k__BackingField
Room_t1409754143 * ___U3CRoomReferenceU3Ek__BackingField_0;
// System.Int32 Photon.Realtime.Player::actorNumber
int32_t ___actorNumber_1;
// System.Boolean Photon.Realtime.Player::IsLocal
bool ___IsLocal_2;
// System.String Photon.Realtime.Player::nickName
String_t* ___nickName_3;
// System.String Photon.Realtime.Player::<UserId>k__BackingField
String_t* ___U3CUserIdU3Ek__BackingField_4;
// System.Boolean Photon.Realtime.Player::<IsInactive>k__BackingField
bool ___U3CIsInactiveU3Ek__BackingField_5;
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Player::<CustomProperties>k__BackingField
Hashtable_t1048209202 * ___U3CCustomPropertiesU3Ek__BackingField_6;
// System.Object Photon.Realtime.Player::TagObject
RuntimeObject * ___TagObject_7;
public:
inline static int32_t get_offset_of_U3CRoomReferenceU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___U3CRoomReferenceU3Ek__BackingField_0)); }
inline Room_t1409754143 * get_U3CRoomReferenceU3Ek__BackingField_0() const { return ___U3CRoomReferenceU3Ek__BackingField_0; }
inline Room_t1409754143 ** get_address_of_U3CRoomReferenceU3Ek__BackingField_0() { return &___U3CRoomReferenceU3Ek__BackingField_0; }
inline void set_U3CRoomReferenceU3Ek__BackingField_0(Room_t1409754143 * value)
{
___U3CRoomReferenceU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CRoomReferenceU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_actorNumber_1() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___actorNumber_1)); }
inline int32_t get_actorNumber_1() const { return ___actorNumber_1; }
inline int32_t* get_address_of_actorNumber_1() { return &___actorNumber_1; }
inline void set_actorNumber_1(int32_t value)
{
___actorNumber_1 = value;
}
inline static int32_t get_offset_of_IsLocal_2() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___IsLocal_2)); }
inline bool get_IsLocal_2() const { return ___IsLocal_2; }
inline bool* get_address_of_IsLocal_2() { return &___IsLocal_2; }
inline void set_IsLocal_2(bool value)
{
___IsLocal_2 = value;
}
inline static int32_t get_offset_of_nickName_3() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___nickName_3)); }
inline String_t* get_nickName_3() const { return ___nickName_3; }
inline String_t** get_address_of_nickName_3() { return &___nickName_3; }
inline void set_nickName_3(String_t* value)
{
___nickName_3 = value;
Il2CppCodeGenWriteBarrier((&___nickName_3), value);
}
inline static int32_t get_offset_of_U3CUserIdU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___U3CUserIdU3Ek__BackingField_4)); }
inline String_t* get_U3CUserIdU3Ek__BackingField_4() const { return ___U3CUserIdU3Ek__BackingField_4; }
inline String_t** get_address_of_U3CUserIdU3Ek__BackingField_4() { return &___U3CUserIdU3Ek__BackingField_4; }
inline void set_U3CUserIdU3Ek__BackingField_4(String_t* value)
{
___U3CUserIdU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((&___U3CUserIdU3Ek__BackingField_4), value);
}
inline static int32_t get_offset_of_U3CIsInactiveU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___U3CIsInactiveU3Ek__BackingField_5)); }
inline bool get_U3CIsInactiveU3Ek__BackingField_5() const { return ___U3CIsInactiveU3Ek__BackingField_5; }
inline bool* get_address_of_U3CIsInactiveU3Ek__BackingField_5() { return &___U3CIsInactiveU3Ek__BackingField_5; }
inline void set_U3CIsInactiveU3Ek__BackingField_5(bool value)
{
___U3CIsInactiveU3Ek__BackingField_5 = value;
}
inline static int32_t get_offset_of_U3CCustomPropertiesU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___U3CCustomPropertiesU3Ek__BackingField_6)); }
inline Hashtable_t1048209202 * get_U3CCustomPropertiesU3Ek__BackingField_6() const { return ___U3CCustomPropertiesU3Ek__BackingField_6; }
inline Hashtable_t1048209202 ** get_address_of_U3CCustomPropertiesU3Ek__BackingField_6() { return &___U3CCustomPropertiesU3Ek__BackingField_6; }
inline void set_U3CCustomPropertiesU3Ek__BackingField_6(Hashtable_t1048209202 * value)
{
___U3CCustomPropertiesU3Ek__BackingField_6 = value;
Il2CppCodeGenWriteBarrier((&___U3CCustomPropertiesU3Ek__BackingField_6), value);
}
inline static int32_t get_offset_of_TagObject_7() { return static_cast<int32_t>(offsetof(Player_t2879569589, ___TagObject_7)); }
inline RuntimeObject * get_TagObject_7() const { return ___TagObject_7; }
inline RuntimeObject ** get_address_of_TagObject_7() { return &___TagObject_7; }
inline void set_TagObject_7(RuntimeObject * value)
{
___TagObject_7 = value;
Il2CppCodeGenWriteBarrier((&___TagObject_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PLAYER_T2879569589_H
#ifndef REGIONHANDLER_T2691069734_H
#define REGIONHANDLER_T2691069734_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.RegionHandler
struct RegionHandler_t2691069734 : public RuntimeObject
{
public:
// System.Collections.Generic.List`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler::<EnabledRegions>k__BackingField
List_1_t2116490821 * ___U3CEnabledRegionsU3Ek__BackingField_0;
// System.String Photon.Realtime.RegionHandler::availableRegionCodes
String_t* ___availableRegionCodes_1;
// Photon.Realtime.Region Photon.Realtime.RegionHandler::bestRegionCache
Region_t644416079 * ___bestRegionCache_2;
// System.Collections.Generic.List`1<Photon.Realtime.RegionPinger> Photon.Realtime.RegionHandler::pingerList
List_1_t3235053882 * ___pingerList_3;
// System.Action`1<Photon.Realtime.RegionHandler> Photon.Realtime.RegionHandler::onCompleteCall
Action_1_t2863537329 * ___onCompleteCall_4;
// System.Int32 Photon.Realtime.RegionHandler::previousPing
int32_t ___previousPing_5;
// System.Boolean Photon.Realtime.RegionHandler::<IsPinging>k__BackingField
bool ___U3CIsPingingU3Ek__BackingField_6;
public:
inline static int32_t get_offset_of_U3CEnabledRegionsU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___U3CEnabledRegionsU3Ek__BackingField_0)); }
inline List_1_t2116490821 * get_U3CEnabledRegionsU3Ek__BackingField_0() const { return ___U3CEnabledRegionsU3Ek__BackingField_0; }
inline List_1_t2116490821 ** get_address_of_U3CEnabledRegionsU3Ek__BackingField_0() { return &___U3CEnabledRegionsU3Ek__BackingField_0; }
inline void set_U3CEnabledRegionsU3Ek__BackingField_0(List_1_t2116490821 * value)
{
___U3CEnabledRegionsU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CEnabledRegionsU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_availableRegionCodes_1() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___availableRegionCodes_1)); }
inline String_t* get_availableRegionCodes_1() const { return ___availableRegionCodes_1; }
inline String_t** get_address_of_availableRegionCodes_1() { return &___availableRegionCodes_1; }
inline void set_availableRegionCodes_1(String_t* value)
{
___availableRegionCodes_1 = value;
Il2CppCodeGenWriteBarrier((&___availableRegionCodes_1), value);
}
inline static int32_t get_offset_of_bestRegionCache_2() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___bestRegionCache_2)); }
inline Region_t644416079 * get_bestRegionCache_2() const { return ___bestRegionCache_2; }
inline Region_t644416079 ** get_address_of_bestRegionCache_2() { return &___bestRegionCache_2; }
inline void set_bestRegionCache_2(Region_t644416079 * value)
{
___bestRegionCache_2 = value;
Il2CppCodeGenWriteBarrier((&___bestRegionCache_2), value);
}
inline static int32_t get_offset_of_pingerList_3() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___pingerList_3)); }
inline List_1_t3235053882 * get_pingerList_3() const { return ___pingerList_3; }
inline List_1_t3235053882 ** get_address_of_pingerList_3() { return &___pingerList_3; }
inline void set_pingerList_3(List_1_t3235053882 * value)
{
___pingerList_3 = value;
Il2CppCodeGenWriteBarrier((&___pingerList_3), value);
}
inline static int32_t get_offset_of_onCompleteCall_4() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___onCompleteCall_4)); }
inline Action_1_t2863537329 * get_onCompleteCall_4() const { return ___onCompleteCall_4; }
inline Action_1_t2863537329 ** get_address_of_onCompleteCall_4() { return &___onCompleteCall_4; }
inline void set_onCompleteCall_4(Action_1_t2863537329 * value)
{
___onCompleteCall_4 = value;
Il2CppCodeGenWriteBarrier((&___onCompleteCall_4), value);
}
inline static int32_t get_offset_of_previousPing_5() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___previousPing_5)); }
inline int32_t get_previousPing_5() const { return ___previousPing_5; }
inline int32_t* get_address_of_previousPing_5() { return &___previousPing_5; }
inline void set_previousPing_5(int32_t value)
{
___previousPing_5 = value;
}
inline static int32_t get_offset_of_U3CIsPingingU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734, ___U3CIsPingingU3Ek__BackingField_6)); }
inline bool get_U3CIsPingingU3Ek__BackingField_6() const { return ___U3CIsPingingU3Ek__BackingField_6; }
inline bool* get_address_of_U3CIsPingingU3Ek__BackingField_6() { return &___U3CIsPingingU3Ek__BackingField_6; }
inline void set_U3CIsPingingU3Ek__BackingField_6(bool value)
{
___U3CIsPingingU3Ek__BackingField_6 = value;
}
};
struct RegionHandler_t2691069734_StaticFields
{
public:
// System.Comparison`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler::<>f__am$cache0
Comparison_1_t419347258 * ___U3CU3Ef__amU24cache0_7;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_7() { return static_cast<int32_t>(offsetof(RegionHandler_t2691069734_StaticFields, ___U3CU3Ef__amU24cache0_7)); }
inline Comparison_1_t419347258 * get_U3CU3Ef__amU24cache0_7() const { return ___U3CU3Ef__amU24cache0_7; }
inline Comparison_1_t419347258 ** get_address_of_U3CU3Ef__amU24cache0_7() { return &___U3CU3Ef__amU24cache0_7; }
inline void set_U3CU3Ef__amU24cache0_7(Comparison_1_t419347258 * value)
{
___U3CU3Ef__amU24cache0_7 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REGIONHANDLER_T2691069734_H
#ifndef ROOMINFO_T3118950765_H
#define ROOMINFO_T3118950765_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.RoomInfo
struct RoomInfo_t3118950765 : public RuntimeObject
{
public:
// System.Boolean Photon.Realtime.RoomInfo::RemovedFromList
bool ___RemovedFromList_0;
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomInfo::customProperties
Hashtable_t1048209202 * ___customProperties_1;
// System.Byte Photon.Realtime.RoomInfo::maxPlayers
uint8_t ___maxPlayers_2;
// System.Int32 Photon.Realtime.RoomInfo::emptyRoomTtl
int32_t ___emptyRoomTtl_3;
// System.Int32 Photon.Realtime.RoomInfo::playerTtl
int32_t ___playerTtl_4;
// System.String[] Photon.Realtime.RoomInfo::expectedUsers
StringU5BU5D_t1281789340* ___expectedUsers_5;
// System.Boolean Photon.Realtime.RoomInfo::isOpen
bool ___isOpen_6;
// System.Boolean Photon.Realtime.RoomInfo::isVisible
bool ___isVisible_7;
// System.Boolean Photon.Realtime.RoomInfo::autoCleanUp
bool ___autoCleanUp_8;
// System.String Photon.Realtime.RoomInfo::name
String_t* ___name_9;
// System.Int32 Photon.Realtime.RoomInfo::masterClientId
int32_t ___masterClientId_10;
// System.String[] Photon.Realtime.RoomInfo::propertiesListedInLobby
StringU5BU5D_t1281789340* ___propertiesListedInLobby_11;
// System.Int32 Photon.Realtime.RoomInfo::<PlayerCount>k__BackingField
int32_t ___U3CPlayerCountU3Ek__BackingField_12;
public:
inline static int32_t get_offset_of_RemovedFromList_0() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___RemovedFromList_0)); }
inline bool get_RemovedFromList_0() const { return ___RemovedFromList_0; }
inline bool* get_address_of_RemovedFromList_0() { return &___RemovedFromList_0; }
inline void set_RemovedFromList_0(bool value)
{
___RemovedFromList_0 = value;
}
inline static int32_t get_offset_of_customProperties_1() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___customProperties_1)); }
inline Hashtable_t1048209202 * get_customProperties_1() const { return ___customProperties_1; }
inline Hashtable_t1048209202 ** get_address_of_customProperties_1() { return &___customProperties_1; }
inline void set_customProperties_1(Hashtable_t1048209202 * value)
{
___customProperties_1 = value;
Il2CppCodeGenWriteBarrier((&___customProperties_1), value);
}
inline static int32_t get_offset_of_maxPlayers_2() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___maxPlayers_2)); }
inline uint8_t get_maxPlayers_2() const { return ___maxPlayers_2; }
inline uint8_t* get_address_of_maxPlayers_2() { return &___maxPlayers_2; }
inline void set_maxPlayers_2(uint8_t value)
{
___maxPlayers_2 = value;
}
inline static int32_t get_offset_of_emptyRoomTtl_3() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___emptyRoomTtl_3)); }
inline int32_t get_emptyRoomTtl_3() const { return ___emptyRoomTtl_3; }
inline int32_t* get_address_of_emptyRoomTtl_3() { return &___emptyRoomTtl_3; }
inline void set_emptyRoomTtl_3(int32_t value)
{
___emptyRoomTtl_3 = value;
}
inline static int32_t get_offset_of_playerTtl_4() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___playerTtl_4)); }
inline int32_t get_playerTtl_4() const { return ___playerTtl_4; }
inline int32_t* get_address_of_playerTtl_4() { return &___playerTtl_4; }
inline void set_playerTtl_4(int32_t value)
{
___playerTtl_4 = value;
}
inline static int32_t get_offset_of_expectedUsers_5() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___expectedUsers_5)); }
inline StringU5BU5D_t1281789340* get_expectedUsers_5() const { return ___expectedUsers_5; }
inline StringU5BU5D_t1281789340** get_address_of_expectedUsers_5() { return &___expectedUsers_5; }
inline void set_expectedUsers_5(StringU5BU5D_t1281789340* value)
{
___expectedUsers_5 = value;
Il2CppCodeGenWriteBarrier((&___expectedUsers_5), value);
}
inline static int32_t get_offset_of_isOpen_6() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___isOpen_6)); }
inline bool get_isOpen_6() const { return ___isOpen_6; }
inline bool* get_address_of_isOpen_6() { return &___isOpen_6; }
inline void set_isOpen_6(bool value)
{
___isOpen_6 = value;
}
inline static int32_t get_offset_of_isVisible_7() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___isVisible_7)); }
inline bool get_isVisible_7() const { return ___isVisible_7; }
inline bool* get_address_of_isVisible_7() { return &___isVisible_7; }
inline void set_isVisible_7(bool value)
{
___isVisible_7 = value;
}
inline static int32_t get_offset_of_autoCleanUp_8() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___autoCleanUp_8)); }
inline bool get_autoCleanUp_8() const { return ___autoCleanUp_8; }
inline bool* get_address_of_autoCleanUp_8() { return &___autoCleanUp_8; }
inline void set_autoCleanUp_8(bool value)
{
___autoCleanUp_8 = value;
}
inline static int32_t get_offset_of_name_9() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___name_9)); }
inline String_t* get_name_9() const { return ___name_9; }
inline String_t** get_address_of_name_9() { return &___name_9; }
inline void set_name_9(String_t* value)
{
___name_9 = value;
Il2CppCodeGenWriteBarrier((&___name_9), value);
}
inline static int32_t get_offset_of_masterClientId_10() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___masterClientId_10)); }
inline int32_t get_masterClientId_10() const { return ___masterClientId_10; }
inline int32_t* get_address_of_masterClientId_10() { return &___masterClientId_10; }
inline void set_masterClientId_10(int32_t value)
{
___masterClientId_10 = value;
}
inline static int32_t get_offset_of_propertiesListedInLobby_11() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___propertiesListedInLobby_11)); }
inline StringU5BU5D_t1281789340* get_propertiesListedInLobby_11() const { return ___propertiesListedInLobby_11; }
inline StringU5BU5D_t1281789340** get_address_of_propertiesListedInLobby_11() { return &___propertiesListedInLobby_11; }
inline void set_propertiesListedInLobby_11(StringU5BU5D_t1281789340* value)
{
___propertiesListedInLobby_11 = value;
Il2CppCodeGenWriteBarrier((&___propertiesListedInLobby_11), value);
}
inline static int32_t get_offset_of_U3CPlayerCountU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(RoomInfo_t3118950765, ___U3CPlayerCountU3Ek__BackingField_12)); }
inline int32_t get_U3CPlayerCountU3Ek__BackingField_12() const { return ___U3CPlayerCountU3Ek__BackingField_12; }
inline int32_t* get_address_of_U3CPlayerCountU3Ek__BackingField_12() { return &___U3CPlayerCountU3Ek__BackingField_12; }
inline void set_U3CPlayerCountU3Ek__BackingField_12(int32_t value)
{
___U3CPlayerCountU3Ek__BackingField_12 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ROOMINFO_T3118950765_H
#ifndef ROOMOPTIONS_T957731565_H
#define ROOMOPTIONS_T957731565_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.RoomOptions
struct RoomOptions_t957731565 : public RuntimeObject
{
public:
// System.Boolean Photon.Realtime.RoomOptions::isVisible
bool ___isVisible_0;
// System.Boolean Photon.Realtime.RoomOptions::isOpen
bool ___isOpen_1;
// System.Byte Photon.Realtime.RoomOptions::MaxPlayers
uint8_t ___MaxPlayers_2;
// System.Int32 Photon.Realtime.RoomOptions::PlayerTtl
int32_t ___PlayerTtl_3;
// System.Int32 Photon.Realtime.RoomOptions::EmptyRoomTtl
int32_t ___EmptyRoomTtl_4;
// System.Boolean Photon.Realtime.RoomOptions::cleanupCacheOnLeave
bool ___cleanupCacheOnLeave_5;
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomOptions::CustomRoomProperties
Hashtable_t1048209202 * ___CustomRoomProperties_6;
// System.String[] Photon.Realtime.RoomOptions::CustomRoomPropertiesForLobby
StringU5BU5D_t1281789340* ___CustomRoomPropertiesForLobby_7;
// System.String[] Photon.Realtime.RoomOptions::Plugins
StringU5BU5D_t1281789340* ___Plugins_8;
// System.Boolean Photon.Realtime.RoomOptions::<SuppressRoomEvents>k__BackingField
bool ___U3CSuppressRoomEventsU3Ek__BackingField_9;
// System.Boolean Photon.Realtime.RoomOptions::<PublishUserId>k__BackingField
bool ___U3CPublishUserIdU3Ek__BackingField_10;
// System.Boolean Photon.Realtime.RoomOptions::<DeleteNullProperties>k__BackingField
bool ___U3CDeleteNullPropertiesU3Ek__BackingField_11;
// System.Boolean Photon.Realtime.RoomOptions::broadcastPropsChangeToAll
bool ___broadcastPropsChangeToAll_12;
public:
inline static int32_t get_offset_of_isVisible_0() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___isVisible_0)); }
inline bool get_isVisible_0() const { return ___isVisible_0; }
inline bool* get_address_of_isVisible_0() { return &___isVisible_0; }
inline void set_isVisible_0(bool value)
{
___isVisible_0 = value;
}
inline static int32_t get_offset_of_isOpen_1() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___isOpen_1)); }
inline bool get_isOpen_1() const { return ___isOpen_1; }
inline bool* get_address_of_isOpen_1() { return &___isOpen_1; }
inline void set_isOpen_1(bool value)
{
___isOpen_1 = value;
}
inline static int32_t get_offset_of_MaxPlayers_2() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___MaxPlayers_2)); }
inline uint8_t get_MaxPlayers_2() const { return ___MaxPlayers_2; }
inline uint8_t* get_address_of_MaxPlayers_2() { return &___MaxPlayers_2; }
inline void set_MaxPlayers_2(uint8_t value)
{
___MaxPlayers_2 = value;
}
inline static int32_t get_offset_of_PlayerTtl_3() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___PlayerTtl_3)); }
inline int32_t get_PlayerTtl_3() const { return ___PlayerTtl_3; }
inline int32_t* get_address_of_PlayerTtl_3() { return &___PlayerTtl_3; }
inline void set_PlayerTtl_3(int32_t value)
{
___PlayerTtl_3 = value;
}
inline static int32_t get_offset_of_EmptyRoomTtl_4() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___EmptyRoomTtl_4)); }
inline int32_t get_EmptyRoomTtl_4() const { return ___EmptyRoomTtl_4; }
inline int32_t* get_address_of_EmptyRoomTtl_4() { return &___EmptyRoomTtl_4; }
inline void set_EmptyRoomTtl_4(int32_t value)
{
___EmptyRoomTtl_4 = value;
}
inline static int32_t get_offset_of_cleanupCacheOnLeave_5() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___cleanupCacheOnLeave_5)); }
inline bool get_cleanupCacheOnLeave_5() const { return ___cleanupCacheOnLeave_5; }
inline bool* get_address_of_cleanupCacheOnLeave_5() { return &___cleanupCacheOnLeave_5; }
inline void set_cleanupCacheOnLeave_5(bool value)
{
___cleanupCacheOnLeave_5 = value;
}
inline static int32_t get_offset_of_CustomRoomProperties_6() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___CustomRoomProperties_6)); }
inline Hashtable_t1048209202 * get_CustomRoomProperties_6() const { return ___CustomRoomProperties_6; }
inline Hashtable_t1048209202 ** get_address_of_CustomRoomProperties_6() { return &___CustomRoomProperties_6; }
inline void set_CustomRoomProperties_6(Hashtable_t1048209202 * value)
{
___CustomRoomProperties_6 = value;
Il2CppCodeGenWriteBarrier((&___CustomRoomProperties_6), value);
}
inline static int32_t get_offset_of_CustomRoomPropertiesForLobby_7() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___CustomRoomPropertiesForLobby_7)); }
inline StringU5BU5D_t1281789340* get_CustomRoomPropertiesForLobby_7() const { return ___CustomRoomPropertiesForLobby_7; }
inline StringU5BU5D_t1281789340** get_address_of_CustomRoomPropertiesForLobby_7() { return &___CustomRoomPropertiesForLobby_7; }
inline void set_CustomRoomPropertiesForLobby_7(StringU5BU5D_t1281789340* value)
{
___CustomRoomPropertiesForLobby_7 = value;
Il2CppCodeGenWriteBarrier((&___CustomRoomPropertiesForLobby_7), value);
}
inline static int32_t get_offset_of_Plugins_8() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___Plugins_8)); }
inline StringU5BU5D_t1281789340* get_Plugins_8() const { return ___Plugins_8; }
inline StringU5BU5D_t1281789340** get_address_of_Plugins_8() { return &___Plugins_8; }
inline void set_Plugins_8(StringU5BU5D_t1281789340* value)
{
___Plugins_8 = value;
Il2CppCodeGenWriteBarrier((&___Plugins_8), value);
}
inline static int32_t get_offset_of_U3CSuppressRoomEventsU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___U3CSuppressRoomEventsU3Ek__BackingField_9)); }
inline bool get_U3CSuppressRoomEventsU3Ek__BackingField_9() const { return ___U3CSuppressRoomEventsU3Ek__BackingField_9; }
inline bool* get_address_of_U3CSuppressRoomEventsU3Ek__BackingField_9() { return &___U3CSuppressRoomEventsU3Ek__BackingField_9; }
inline void set_U3CSuppressRoomEventsU3Ek__BackingField_9(bool value)
{
___U3CSuppressRoomEventsU3Ek__BackingField_9 = value;
}
inline static int32_t get_offset_of_U3CPublishUserIdU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___U3CPublishUserIdU3Ek__BackingField_10)); }
inline bool get_U3CPublishUserIdU3Ek__BackingField_10() const { return ___U3CPublishUserIdU3Ek__BackingField_10; }
inline bool* get_address_of_U3CPublishUserIdU3Ek__BackingField_10() { return &___U3CPublishUserIdU3Ek__BackingField_10; }
inline void set_U3CPublishUserIdU3Ek__BackingField_10(bool value)
{
___U3CPublishUserIdU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CDeleteNullPropertiesU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___U3CDeleteNullPropertiesU3Ek__BackingField_11)); }
inline bool get_U3CDeleteNullPropertiesU3Ek__BackingField_11() const { return ___U3CDeleteNullPropertiesU3Ek__BackingField_11; }
inline bool* get_address_of_U3CDeleteNullPropertiesU3Ek__BackingField_11() { return &___U3CDeleteNullPropertiesU3Ek__BackingField_11; }
inline void set_U3CDeleteNullPropertiesU3Ek__BackingField_11(bool value)
{
___U3CDeleteNullPropertiesU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_broadcastPropsChangeToAll_12() { return static_cast<int32_t>(offsetof(RoomOptions_t957731565, ___broadcastPropsChangeToAll_12)); }
inline bool get_broadcastPropsChangeToAll_12() const { return ___broadcastPropsChangeToAll_12; }
inline bool* get_address_of_broadcastPropsChangeToAll_12() { return &___broadcastPropsChangeToAll_12; }
inline void set_broadcastPropsChangeToAll_12(bool value)
{
___broadcastPropsChangeToAll_12 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ROOMOPTIONS_T957731565_H
#ifndef WEBFLAGS_T3155447403_H
#define WEBFLAGS_T3155447403_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.WebFlags
struct WebFlags_t3155447403 : public RuntimeObject
{
public:
// System.Byte Photon.Realtime.WebFlags::WebhookFlags
uint8_t ___WebhookFlags_1;
public:
inline static int32_t get_offset_of_WebhookFlags_1() { return static_cast<int32_t>(offsetof(WebFlags_t3155447403, ___WebhookFlags_1)); }
inline uint8_t get_WebhookFlags_1() const { return ___WebhookFlags_1; }
inline uint8_t* get_address_of_WebhookFlags_1() { return &___WebhookFlags_1; }
inline void set_WebhookFlags_1(uint8_t value)
{
___WebhookFlags_1 = value;
}
};
struct WebFlags_t3155447403_StaticFields
{
public:
// Photon.Realtime.WebFlags Photon.Realtime.WebFlags::Default
WebFlags_t3155447403 * ___Default_0;
public:
inline static int32_t get_offset_of_Default_0() { return static_cast<int32_t>(offsetof(WebFlags_t3155447403_StaticFields, ___Default_0)); }
inline WebFlags_t3155447403 * get_Default_0() const { return ___Default_0; }
inline WebFlags_t3155447403 ** get_address_of_Default_0() { return &___Default_0; }
inline void set_Default_0(WebFlags_t3155447403 * value)
{
___Default_0 = value;
Il2CppCodeGenWriteBarrier((&___Default_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WEBFLAGS_T3155447403_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 VALUECOLLECTION_T3484327238_H
#define VALUECOLLECTION_T3484327238_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,Photon.Realtime.Player>
struct ValueCollection_t3484327238 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/ValueCollection::dictionary
Dictionary_2_t1768282920 * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(ValueCollection_t3484327238, ___dictionary_0)); }
inline Dictionary_2_t1768282920 * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_t1768282920 ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_t1768282920 * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((&___dictionary_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VALUECOLLECTION_T3484327238_H
#ifndef DICTIONARY_2_T660995199_H
#define DICTIONARY_2_T660995199_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>>
struct Dictionary_2_t660995199 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
TeamU5BU5D_t2100851205* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
List_1U5BU5D_t2552393290* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___keySlots_6)); }
inline TeamU5BU5D_t2100851205* get_keySlots_6() const { return ___keySlots_6; }
inline TeamU5BU5D_t2100851205** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(TeamU5BU5D_t2100851205* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___valueSlots_7)); }
inline List_1U5BU5D_t2552393290* get_valueSlots_7() const { return ___valueSlots_7; }
inline List_1U5BU5D_t2552393290** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(List_1U5BU5D_t2552393290* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t660995199_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t1950348001 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t660995199_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t1950348001 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t1950348001 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t1950348001 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T660995199_H
#ifndef DICTIONARY_2_T1768282920_H
#define DICTIONARY_2_T1768282920_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>
struct Dictionary_2_t1768282920 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
Int32U5BU5D_t385246372* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
PlayerU5BU5D_t3651776216* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___keySlots_6)); }
inline Int32U5BU5D_t385246372* get_keySlots_6() const { return ___keySlots_6; }
inline Int32U5BU5D_t385246372** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(Int32U5BU5D_t385246372* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___valueSlots_7)); }
inline PlayerU5BU5D_t3651776216* get_valueSlots_7() const { return ___valueSlots_7; }
inline PlayerU5BU5D_t3651776216** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(PlayerU5BU5D_t3651776216* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t1768282920_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t3256115060 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t1768282920_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t3256115060 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t3256115060 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t3256115060 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T1768282920_H
#ifndef DICTIONARY_2_T2349950_H
#define DICTIONARY_2_T2349950_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GameObject>
struct Dictionary_2_t2349950 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
Int32U5BU5D_t385246372* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
GameObjectU5BU5D_t3328599146* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___keySlots_6)); }
inline Int32U5BU5D_t385246372* get_keySlots_6() const { return ___keySlots_6; }
inline Int32U5BU5D_t385246372** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(Int32U5BU5D_t385246372* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___valueSlots_7)); }
inline GameObjectU5BU5D_t3328599146* get_valueSlots_7() const { return ___valueSlots_7; }
inline GameObjectU5BU5D_t3328599146** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(GameObjectU5BU5D_t3328599146* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t2349950_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t2932937990 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t2349950_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t2932937990 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t2932937990 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t2932937990 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T2349950_H
#ifndef DICTIONARY_2_T132545152_H
#define DICTIONARY_2_T132545152_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_t132545152 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
ObjectU5BU5D_t2843939325* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
ObjectU5BU5D_t2843939325* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___keySlots_6)); }
inline ObjectU5BU5D_t2843939325* get_keySlots_6() const { return ___keySlots_6; }
inline ObjectU5BU5D_t2843939325** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(ObjectU5BU5D_t2843939325* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___valueSlots_7)); }
inline ObjectU5BU5D_t2843939325* get_valueSlots_7() const { return ___valueSlots_7; }
inline ObjectU5BU5D_t2843939325** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(ObjectU5BU5D_t2843939325* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t132545152_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t4209139644 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t132545152_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t4209139644 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t4209139644 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t4209139644 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T132545152_H
#ifndef DICTIONARY_2_T2865362463_H
#define DICTIONARY_2_T2865362463_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t2865362463 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
StringU5BU5D_t1281789340* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
ObjectU5BU5D_t2843939325* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___keySlots_6)); }
inline StringU5BU5D_t1281789340* get_keySlots_6() const { return ___keySlots_6; }
inline StringU5BU5D_t1281789340** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(StringU5BU5D_t1281789340* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___valueSlots_7)); }
inline ObjectU5BU5D_t2843939325* get_valueSlots_7() const { return ___valueSlots_7; }
inline ObjectU5BU5D_t2843939325** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(ObjectU5BU5D_t2843939325* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t2865362463_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t1694351041 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t2865362463_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t1694351041 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t1694351041 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t1694351041 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T2865362463_H
#ifndef DICTIONARY_2_T1152131052_H
#define DICTIONARY_2_T1152131052_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab>
struct Dictionary_2_t1152131052 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.Link[] System.Collections.Generic.Dictionary`2::linkSlots
LinkU5BU5D_t964245573* ___linkSlots_5;
// TKey[] System.Collections.Generic.Dictionary`2::keySlots
ToggleU5BU5D_t2531460392* ___keySlots_6;
// TValue[] System.Collections.Generic.Dictionary`2::valueSlots
TabU5BU5D_t533311896* ___valueSlots_7;
// System.Int32 System.Collections.Generic.Dictionary`2::touchedSlots
int32_t ___touchedSlots_8;
// System.Int32 System.Collections.Generic.Dictionary`2::emptySlot
int32_t ___emptySlot_9;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_10;
// System.Int32 System.Collections.Generic.Dictionary`2::threshold
int32_t ___threshold_11;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::hcp
RuntimeObject* ___hcp_12;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.Dictionary`2::serialization_info
SerializationInfo_t950877179 * ___serialization_info_13;
// System.Int32 System.Collections.Generic.Dictionary`2::generation
int32_t ___generation_14;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_linkSlots_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___linkSlots_5)); }
inline LinkU5BU5D_t964245573* get_linkSlots_5() const { return ___linkSlots_5; }
inline LinkU5BU5D_t964245573** get_address_of_linkSlots_5() { return &___linkSlots_5; }
inline void set_linkSlots_5(LinkU5BU5D_t964245573* value)
{
___linkSlots_5 = value;
Il2CppCodeGenWriteBarrier((&___linkSlots_5), value);
}
inline static int32_t get_offset_of_keySlots_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___keySlots_6)); }
inline ToggleU5BU5D_t2531460392* get_keySlots_6() const { return ___keySlots_6; }
inline ToggleU5BU5D_t2531460392** get_address_of_keySlots_6() { return &___keySlots_6; }
inline void set_keySlots_6(ToggleU5BU5D_t2531460392* value)
{
___keySlots_6 = value;
Il2CppCodeGenWriteBarrier((&___keySlots_6), value);
}
inline static int32_t get_offset_of_valueSlots_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___valueSlots_7)); }
inline TabU5BU5D_t533311896* get_valueSlots_7() const { return ___valueSlots_7; }
inline TabU5BU5D_t533311896** get_address_of_valueSlots_7() { return &___valueSlots_7; }
inline void set_valueSlots_7(TabU5BU5D_t533311896* value)
{
___valueSlots_7 = value;
Il2CppCodeGenWriteBarrier((&___valueSlots_7), value);
}
inline static int32_t get_offset_of_touchedSlots_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___touchedSlots_8)); }
inline int32_t get_touchedSlots_8() const { return ___touchedSlots_8; }
inline int32_t* get_address_of_touchedSlots_8() { return &___touchedSlots_8; }
inline void set_touchedSlots_8(int32_t value)
{
___touchedSlots_8 = value;
}
inline static int32_t get_offset_of_emptySlot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___emptySlot_9)); }
inline int32_t get_emptySlot_9() const { return ___emptySlot_9; }
inline int32_t* get_address_of_emptySlot_9() { return &___emptySlot_9; }
inline void set_emptySlot_9(int32_t value)
{
___emptySlot_9 = value;
}
inline static int32_t get_offset_of_count_10() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___count_10)); }
inline int32_t get_count_10() const { return ___count_10; }
inline int32_t* get_address_of_count_10() { return &___count_10; }
inline void set_count_10(int32_t value)
{
___count_10 = value;
}
inline static int32_t get_offset_of_threshold_11() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___threshold_11)); }
inline int32_t get_threshold_11() const { return ___threshold_11; }
inline int32_t* get_address_of_threshold_11() { return &___threshold_11; }
inline void set_threshold_11(int32_t value)
{
___threshold_11 = value;
}
inline static int32_t get_offset_of_hcp_12() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___hcp_12)); }
inline RuntimeObject* get_hcp_12() const { return ___hcp_12; }
inline RuntimeObject** get_address_of_hcp_12() { return &___hcp_12; }
inline void set_hcp_12(RuntimeObject* value)
{
___hcp_12 = value;
Il2CppCodeGenWriteBarrier((&___hcp_12), value);
}
inline static int32_t get_offset_of_serialization_info_13() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___serialization_info_13)); }
inline SerializationInfo_t950877179 * get_serialization_info_13() const { return ___serialization_info_13; }
inline SerializationInfo_t950877179 ** get_address_of_serialization_info_13() { return &___serialization_info_13; }
inline void set_serialization_info_13(SerializationInfo_t950877179 * value)
{
___serialization_info_13 = value;
Il2CppCodeGenWriteBarrier((&___serialization_info_13), value);
}
inline static int32_t get_offset_of_generation_14() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052, ___generation_14)); }
inline int32_t get_generation_14() const { return ___generation_14; }
inline int32_t* get_address_of_generation_14() { return &___generation_14; }
inline void set_generation_14(int32_t value)
{
___generation_14 = value;
}
};
struct Dictionary_2_t1152131052_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2/Transform`1<TKey,TValue,System.Collections.DictionaryEntry> System.Collections.Generic.Dictionary`2::<>f__am$cacheB
Transform_1_t1713191712 * ___U3CU3Ef__amU24cacheB_15;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cacheB_15() { return static_cast<int32_t>(offsetof(Dictionary_2_t1152131052_StaticFields, ___U3CU3Ef__amU24cacheB_15)); }
inline Transform_1_t1713191712 * get_U3CU3Ef__amU24cacheB_15() const { return ___U3CU3Ef__amU24cacheB_15; }
inline Transform_1_t1713191712 ** get_address_of_U3CU3Ef__amU24cacheB_15() { return &___U3CU3Ef__amU24cacheB_15; }
inline void set_U3CU3Ef__amU24cacheB_15(Transform_1_t1713191712 * value)
{
___U3CU3Ef__amU24cacheB_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cacheB_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DICTIONARY_2_T1152131052_H
#ifndef HASHSET_1_T1444519063_H
#define HASHSET_1_T1444519063_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.HashSet`1<Photon.Realtime.Player>
struct HashSet_1_t1444519063 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.HashSet`1::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.HashSet`1/Link<T>[] System.Collections.Generic.HashSet`1::links
LinkU5BU5D_t2044693675* ___links_5;
// T[] System.Collections.Generic.HashSet`1::slots
PlayerU5BU5D_t3651776216* ___slots_6;
// System.Int32 System.Collections.Generic.HashSet`1::touched
int32_t ___touched_7;
// System.Int32 System.Collections.Generic.HashSet`1::empty_slot
int32_t ___empty_slot_8;
// System.Int32 System.Collections.Generic.HashSet`1::count
int32_t ___count_9;
// System.Int32 System.Collections.Generic.HashSet`1::threshold
int32_t ___threshold_10;
// System.Collections.Generic.IEqualityComparer`1<T> System.Collections.Generic.HashSet`1::comparer
RuntimeObject* ___comparer_11;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.HashSet`1::si
SerializationInfo_t950877179 * ___si_12;
// System.Int32 System.Collections.Generic.HashSet`1::generation
int32_t ___generation_13;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_links_5() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___links_5)); }
inline LinkU5BU5D_t2044693675* get_links_5() const { return ___links_5; }
inline LinkU5BU5D_t2044693675** get_address_of_links_5() { return &___links_5; }
inline void set_links_5(LinkU5BU5D_t2044693675* value)
{
___links_5 = value;
Il2CppCodeGenWriteBarrier((&___links_5), value);
}
inline static int32_t get_offset_of_slots_6() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___slots_6)); }
inline PlayerU5BU5D_t3651776216* get_slots_6() const { return ___slots_6; }
inline PlayerU5BU5D_t3651776216** get_address_of_slots_6() { return &___slots_6; }
inline void set_slots_6(PlayerU5BU5D_t3651776216* value)
{
___slots_6 = value;
Il2CppCodeGenWriteBarrier((&___slots_6), value);
}
inline static int32_t get_offset_of_touched_7() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___touched_7)); }
inline int32_t get_touched_7() const { return ___touched_7; }
inline int32_t* get_address_of_touched_7() { return &___touched_7; }
inline void set_touched_7(int32_t value)
{
___touched_7 = value;
}
inline static int32_t get_offset_of_empty_slot_8() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___empty_slot_8)); }
inline int32_t get_empty_slot_8() const { return ___empty_slot_8; }
inline int32_t* get_address_of_empty_slot_8() { return &___empty_slot_8; }
inline void set_empty_slot_8(int32_t value)
{
___empty_slot_8 = value;
}
inline static int32_t get_offset_of_count_9() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___count_9)); }
inline int32_t get_count_9() const { return ___count_9; }
inline int32_t* get_address_of_count_9() { return &___count_9; }
inline void set_count_9(int32_t value)
{
___count_9 = value;
}
inline static int32_t get_offset_of_threshold_10() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___threshold_10)); }
inline int32_t get_threshold_10() const { return ___threshold_10; }
inline int32_t* get_address_of_threshold_10() { return &___threshold_10; }
inline void set_threshold_10(int32_t value)
{
___threshold_10 = value;
}
inline static int32_t get_offset_of_comparer_11() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___comparer_11)); }
inline RuntimeObject* get_comparer_11() const { return ___comparer_11; }
inline RuntimeObject** get_address_of_comparer_11() { return &___comparer_11; }
inline void set_comparer_11(RuntimeObject* value)
{
___comparer_11 = value;
Il2CppCodeGenWriteBarrier((&___comparer_11), value);
}
inline static int32_t get_offset_of_si_12() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___si_12)); }
inline SerializationInfo_t950877179 * get_si_12() const { return ___si_12; }
inline SerializationInfo_t950877179 ** get_address_of_si_12() { return &___si_12; }
inline void set_si_12(SerializationInfo_t950877179 * value)
{
___si_12 = value;
Il2CppCodeGenWriteBarrier((&___si_12), value);
}
inline static int32_t get_offset_of_generation_13() { return static_cast<int32_t>(offsetof(HashSet_1_t1444519063, ___generation_13)); }
inline int32_t get_generation_13() const { return ___generation_13; }
inline int32_t* get_address_of_generation_13() { return &___generation_13; }
inline void set_generation_13(int32_t value)
{
___generation_13 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHSET_1_T1444519063_H
#ifndef HASHSET_1_T1515895227_H
#define HASHSET_1_T1515895227_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.Generic.HashSet`1<System.Int32>
struct HashSet_1_t1515895227 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.HashSet`1::table
Int32U5BU5D_t385246372* ___table_4;
// System.Collections.Generic.HashSet`1/Link<T>[] System.Collections.Generic.HashSet`1::links
LinkU5BU5D_t3073131127* ___links_5;
// T[] System.Collections.Generic.HashSet`1::slots
Int32U5BU5D_t385246372* ___slots_6;
// System.Int32 System.Collections.Generic.HashSet`1::touched
int32_t ___touched_7;
// System.Int32 System.Collections.Generic.HashSet`1::empty_slot
int32_t ___empty_slot_8;
// System.Int32 System.Collections.Generic.HashSet`1::count
int32_t ___count_9;
// System.Int32 System.Collections.Generic.HashSet`1::threshold
int32_t ___threshold_10;
// System.Collections.Generic.IEqualityComparer`1<T> System.Collections.Generic.HashSet`1::comparer
RuntimeObject* ___comparer_11;
// System.Runtime.Serialization.SerializationInfo System.Collections.Generic.HashSet`1::si
SerializationInfo_t950877179 * ___si_12;
// System.Int32 System.Collections.Generic.HashSet`1::generation
int32_t ___generation_13;
public:
inline static int32_t get_offset_of_table_4() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___table_4)); }
inline Int32U5BU5D_t385246372* get_table_4() const { return ___table_4; }
inline Int32U5BU5D_t385246372** get_address_of_table_4() { return &___table_4; }
inline void set_table_4(Int32U5BU5D_t385246372* value)
{
___table_4 = value;
Il2CppCodeGenWriteBarrier((&___table_4), value);
}
inline static int32_t get_offset_of_links_5() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___links_5)); }
inline LinkU5BU5D_t3073131127* get_links_5() const { return ___links_5; }
inline LinkU5BU5D_t3073131127** get_address_of_links_5() { return &___links_5; }
inline void set_links_5(LinkU5BU5D_t3073131127* value)
{
___links_5 = value;
Il2CppCodeGenWriteBarrier((&___links_5), value);
}
inline static int32_t get_offset_of_slots_6() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___slots_6)); }
inline Int32U5BU5D_t385246372* get_slots_6() const { return ___slots_6; }
inline Int32U5BU5D_t385246372** get_address_of_slots_6() { return &___slots_6; }
inline void set_slots_6(Int32U5BU5D_t385246372* value)
{
___slots_6 = value;
Il2CppCodeGenWriteBarrier((&___slots_6), value);
}
inline static int32_t get_offset_of_touched_7() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___touched_7)); }
inline int32_t get_touched_7() const { return ___touched_7; }
inline int32_t* get_address_of_touched_7() { return &___touched_7; }
inline void set_touched_7(int32_t value)
{
___touched_7 = value;
}
inline static int32_t get_offset_of_empty_slot_8() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___empty_slot_8)); }
inline int32_t get_empty_slot_8() const { return ___empty_slot_8; }
inline int32_t* get_address_of_empty_slot_8() { return &___empty_slot_8; }
inline void set_empty_slot_8(int32_t value)
{
___empty_slot_8 = value;
}
inline static int32_t get_offset_of_count_9() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___count_9)); }
inline int32_t get_count_9() const { return ___count_9; }
inline int32_t* get_address_of_count_9() { return &___count_9; }
inline void set_count_9(int32_t value)
{
___count_9 = value;
}
inline static int32_t get_offset_of_threshold_10() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___threshold_10)); }
inline int32_t get_threshold_10() const { return ___threshold_10; }
inline int32_t* get_address_of_threshold_10() { return &___threshold_10; }
inline void set_threshold_10(int32_t value)
{
___threshold_10 = value;
}
inline static int32_t get_offset_of_comparer_11() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___comparer_11)); }
inline RuntimeObject* get_comparer_11() const { return ___comparer_11; }
inline RuntimeObject** get_address_of_comparer_11() { return &___comparer_11; }
inline void set_comparer_11(RuntimeObject* value)
{
___comparer_11 = value;
Il2CppCodeGenWriteBarrier((&___comparer_11), value);
}
inline static int32_t get_offset_of_si_12() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___si_12)); }
inline SerializationInfo_t950877179 * get_si_12() const { return ___si_12; }
inline SerializationInfo_t950877179 ** get_address_of_si_12() { return &___si_12; }
inline void set_si_12(SerializationInfo_t950877179 * value)
{
___si_12 = value;
Il2CppCodeGenWriteBarrier((&___si_12), value);
}
inline static int32_t get_offset_of_generation_13() { return static_cast<int32_t>(offsetof(HashSet_1_t1515895227, ___generation_13)); }
inline int32_t get_generation_13() const { return ___generation_13; }
inline int32_t* get_address_of_generation_13() { return &___generation_13; }
inline void set_generation_13(int32_t value)
{
___generation_13 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHSET_1_T1515895227_H
#ifndef LIST_1_T886831209_H
#define LIST_1_T886831209_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<Photon.Pun.UtilityScripts.CellTreeNode>
struct List_1_t886831209 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
CellTreeNodeU5BU5D_t3211867234* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t886831209, ____items_1)); }
inline CellTreeNodeU5BU5D_t3211867234* get__items_1() const { return ____items_1; }
inline CellTreeNodeU5BU5D_t3211867234** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(CellTreeNodeU5BU5D_t3211867234* 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_t886831209, ____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_t886831209, ____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;
}
};
struct List_1_t886831209_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
CellTreeNodeU5BU5D_t3211867234* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t886831209_StaticFields, ___EmptyArray_4)); }
inline CellTreeNodeU5BU5D_t3211867234* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline CellTreeNodeU5BU5D_t3211867234** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(CellTreeNodeU5BU5D_t3211867234* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T886831209_H
#ifndef LIST_1_T4232228456_H
#define LIST_1_T4232228456_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<Photon.Realtime.FriendInfo>
struct List_1_t4232228456 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
FriendInfoU5BU5D_t4068492167* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t4232228456, ____items_1)); }
inline FriendInfoU5BU5D_t4068492167* get__items_1() const { return ____items_1; }
inline FriendInfoU5BU5D_t4068492167** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(FriendInfoU5BU5D_t4068492167* 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_t4232228456, ____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_t4232228456, ____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;
}
};
struct List_1_t4232228456_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
FriendInfoU5BU5D_t4068492167* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t4232228456_StaticFields, ___EmptyArray_4)); }
inline FriendInfoU5BU5D_t4068492167* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline FriendInfoU5BU5D_t4068492167** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(FriendInfoU5BU5D_t4068492167* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T4232228456_H
#ifndef LIST_1_T56677035_H
#define LIST_1_T56677035_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<Photon.Realtime.Player>
struct List_1_t56677035 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
PlayerU5BU5D_t3651776216* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t56677035, ____items_1)); }
inline PlayerU5BU5D_t3651776216* get__items_1() const { return ____items_1; }
inline PlayerU5BU5D_t3651776216** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(PlayerU5BU5D_t3651776216* 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_t56677035, ____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_t56677035, ____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;
}
};
struct List_1_t56677035_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
PlayerU5BU5D_t3651776216* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t56677035_StaticFields, ___EmptyArray_4)); }
inline PlayerU5BU5D_t3651776216* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline PlayerU5BU5D_t3651776216** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(PlayerU5BU5D_t3651776216* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T56677035_H
#ifndef LIST_1_T296058211_H
#define LIST_1_T296058211_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<Photon.Realtime.RoomInfo>
struct List_1_t296058211 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RoomInfoU5BU5D_t1512057408* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t296058211, ____items_1)); }
inline RoomInfoU5BU5D_t1512057408* get__items_1() const { return ____items_1; }
inline RoomInfoU5BU5D_t1512057408** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RoomInfoU5BU5D_t1512057408* 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_t296058211, ____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_t296058211, ____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;
}
};
struct List_1_t296058211_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
RoomInfoU5BU5D_t1512057408* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t296058211_StaticFields, ___EmptyArray_4)); }
inline RoomInfoU5BU5D_t1512057408* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline RoomInfoU5BU5D_t1512057408** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(RoomInfoU5BU5D_t1512057408* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T296058211_H
#ifndef LIST_1_T2063875166_H
#define LIST_1_T2063875166_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<Photon.Realtime.TypedLobbyInfo>
struct List_1_t2063875166 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TypedLobbyInfoU5BU5D_t1747345657* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t2063875166, ____items_1)); }
inline TypedLobbyInfoU5BU5D_t1747345657* get__items_1() const { return ____items_1; }
inline TypedLobbyInfoU5BU5D_t1747345657** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TypedLobbyInfoU5BU5D_t1747345657* 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_t2063875166, ____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_t2063875166, ____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;
}
};
struct List_1_t2063875166_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
TypedLobbyInfoU5BU5D_t1747345657* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t2063875166_StaticFields, ___EmptyArray_4)); }
inline TypedLobbyInfoU5BU5D_t1747345657* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline TypedLobbyInfoU5BU5D_t1747345657** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(TypedLobbyInfoU5BU5D_t1747345657* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T2063875166_H
#ifndef LIST_1_T2606371118_H
#define LIST_1_T2606371118_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.Byte>
struct List_1_t2606371118 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ByteU5BU5D_t4116647657* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t2606371118, ____items_1)); }
inline ByteU5BU5D_t4116647657* get__items_1() const { return ____items_1; }
inline ByteU5BU5D_t4116647657** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ByteU5BU5D_t4116647657* 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_t2606371118, ____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_t2606371118, ____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;
}
};
struct List_1_t2606371118_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
ByteU5BU5D_t4116647657* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t2606371118_StaticFields, ___EmptyArray_4)); }
inline ByteU5BU5D_t4116647657* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline ByteU5BU5D_t4116647657** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(ByteU5BU5D_t4116647657* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T2606371118_H
#ifndef LIST_1_T3395709193_H
#define LIST_1_T3395709193_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.Component>
struct List_1_t3395709193 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ComponentU5BU5D_t3294940482* ____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;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t3395709193, ____items_1)); }
inline ComponentU5BU5D_t3294940482* get__items_1() const { return ____items_1; }
inline ComponentU5BU5D_t3294940482** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ComponentU5BU5D_t3294940482* 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_t3395709193, ____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_t3395709193, ____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;
}
};
struct List_1_t3395709193_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::EmptyArray
ComponentU5BU5D_t3294940482* ___EmptyArray_4;
public:
inline static int32_t get_offset_of_EmptyArray_4() { return static_cast<int32_t>(offsetof(List_1_t3395709193_StaticFields, ___EmptyArray_4)); }
inline ComponentU5BU5D_t3294940482* get_EmptyArray_4() const { return ___EmptyArray_4; }
inline ComponentU5BU5D_t3294940482** get_address_of_EmptyArray_4() { return &___EmptyArray_4; }
inline void set_EmptyArray_4(ComponentU5BU5D_t3294940482* value)
{
___EmptyArray_4 = value;
Il2CppCodeGenWriteBarrier((&___EmptyArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIST_1_T3395709193_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.IntPtr[] System.Exception::trace_ips
IntPtrU5BU5D_t4013366056* ___trace_ips_0;
// System.Exception System.Exception::inner_exception
Exception_t * ___inner_exception_1;
// System.String System.Exception::message
String_t* ___message_2;
// System.String System.Exception::help_link
String_t* ___help_link_3;
// System.String System.Exception::class_name
String_t* ___class_name_4;
// System.String System.Exception::stack_trace
String_t* ___stack_trace_5;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_6;
// System.Int32 System.Exception::remote_stack_index
int32_t ___remote_stack_index_7;
// System.Int32 System.Exception::hresult
int32_t ___hresult_8;
// System.String System.Exception::source
String_t* ___source_9;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_10;
public:
inline static int32_t get_offset_of_trace_ips_0() { return static_cast<int32_t>(offsetof(Exception_t, ___trace_ips_0)); }
inline IntPtrU5BU5D_t4013366056* get_trace_ips_0() const { return ___trace_ips_0; }
inline IntPtrU5BU5D_t4013366056** get_address_of_trace_ips_0() { return &___trace_ips_0; }
inline void set_trace_ips_0(IntPtrU5BU5D_t4013366056* value)
{
___trace_ips_0 = value;
Il2CppCodeGenWriteBarrier((&___trace_ips_0), value);
}
inline static int32_t get_offset_of_inner_exception_1() { return static_cast<int32_t>(offsetof(Exception_t, ___inner_exception_1)); }
inline Exception_t * get_inner_exception_1() const { return ___inner_exception_1; }
inline Exception_t ** get_address_of_inner_exception_1() { return &___inner_exception_1; }
inline void set_inner_exception_1(Exception_t * value)
{
___inner_exception_1 = value;
Il2CppCodeGenWriteBarrier((&___inner_exception_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_help_link_3() { return static_cast<int32_t>(offsetof(Exception_t, ___help_link_3)); }
inline String_t* get_help_link_3() const { return ___help_link_3; }
inline String_t** get_address_of_help_link_3() { return &___help_link_3; }
inline void set_help_link_3(String_t* value)
{
___help_link_3 = value;
Il2CppCodeGenWriteBarrier((&___help_link_3), value);
}
inline static int32_t get_offset_of_class_name_4() { return static_cast<int32_t>(offsetof(Exception_t, ___class_name_4)); }
inline String_t* get_class_name_4() const { return ___class_name_4; }
inline String_t** get_address_of_class_name_4() { return &___class_name_4; }
inline void set_class_name_4(String_t* value)
{
___class_name_4 = value;
Il2CppCodeGenWriteBarrier((&___class_name_4), value);
}
inline static int32_t get_offset_of_stack_trace_5() { return static_cast<int32_t>(offsetof(Exception_t, ___stack_trace_5)); }
inline String_t* get_stack_trace_5() const { return ___stack_trace_5; }
inline String_t** get_address_of_stack_trace_5() { return &___stack_trace_5; }
inline void set_stack_trace_5(String_t* value)
{
___stack_trace_5 = value;
Il2CppCodeGenWriteBarrier((&___stack_trace_5), value);
}
inline static int32_t get_offset_of__remoteStackTraceString_6() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_6)); }
inline String_t* get__remoteStackTraceString_6() const { return ____remoteStackTraceString_6; }
inline String_t** get_address_of__remoteStackTraceString_6() { return &____remoteStackTraceString_6; }
inline void set__remoteStackTraceString_6(String_t* value)
{
____remoteStackTraceString_6 = value;
Il2CppCodeGenWriteBarrier((&____remoteStackTraceString_6), value);
}
inline static int32_t get_offset_of_remote_stack_index_7() { return static_cast<int32_t>(offsetof(Exception_t, ___remote_stack_index_7)); }
inline int32_t get_remote_stack_index_7() const { return ___remote_stack_index_7; }
inline int32_t* get_address_of_remote_stack_index_7() { return &___remote_stack_index_7; }
inline void set_remote_stack_index_7(int32_t value)
{
___remote_stack_index_7 = value;
}
inline static int32_t get_offset_of_hresult_8() { return static_cast<int32_t>(offsetof(Exception_t, ___hresult_8)); }
inline int32_t get_hresult_8() const { return ___hresult_8; }
inline int32_t* get_address_of_hresult_8() { return &___hresult_8; }
inline void set_hresult_8(int32_t value)
{
___hresult_8 = value;
}
inline static int32_t get_offset_of_source_9() { return static_cast<int32_t>(offsetof(Exception_t, ___source_9)); }
inline String_t* get_source_9() const { return ___source_9; }
inline String_t** get_address_of_source_9() { return &___source_9; }
inline void set_source_9(String_t* value)
{
___source_9 = value;
Il2CppCodeGenWriteBarrier((&___source_9), value);
}
inline static int32_t get_offset_of__data_10() { return static_cast<int32_t>(offsetof(Exception_t, ____data_10)); }
inline RuntimeObject* get__data_10() const { return ____data_10; }
inline RuntimeObject** get_address_of__data_10() { return &____data_10; }
inline void set__data_10(RuntimeObject* value)
{
____data_10 = value;
Il2CppCodeGenWriteBarrier((&____data_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCEPTION_T_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 STRING_T_H
#define STRING_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::length
int32_t ___length_0;
// System.Char System.String::start_char
Il2CppChar ___start_char_1;
public:
inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(String_t, ___length_0)); }
inline int32_t get_length_0() const { return ___length_0; }
inline int32_t* get_address_of_length_0() { return &___length_0; }
inline void set_length_0(int32_t value)
{
___length_0 = value;
}
inline static int32_t get_offset_of_start_char_1() { return static_cast<int32_t>(offsetof(String_t, ___start_char_1)); }
inline Il2CppChar get_start_char_1() const { return ___start_char_1; }
inline Il2CppChar* get_address_of_start_char_1() { return &___start_char_1; }
inline void set_start_char_1(Il2CppChar value)
{
___start_char_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_2;
// System.Char[] System.String::WhiteChars
CharU5BU5D_t3528271667* ___WhiteChars_3;
public:
inline static int32_t get_offset_of_Empty_2() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_2)); }
inline String_t* get_Empty_2() const { return ___Empty_2; }
inline String_t** get_address_of_Empty_2() { return &___Empty_2; }
inline void set_Empty_2(String_t* value)
{
___Empty_2 = value;
Il2CppCodeGenWriteBarrier((&___Empty_2), value);
}
inline static int32_t get_offset_of_WhiteChars_3() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___WhiteChars_3)); }
inline CharU5BU5D_t3528271667* get_WhiteChars_3() const { return ___WhiteChars_3; }
inline CharU5BU5D_t3528271667** get_address_of_WhiteChars_3() { return &___WhiteChars_3; }
inline void set_WhiteChars_3(CharU5BU5D_t3528271667* value)
{
___WhiteChars_3 = value;
Il2CppCodeGenWriteBarrier((&___WhiteChars_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STRING_T_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 ABSTRACTEVENTDATA_T4171500731_H
#define ABSTRACTEVENTDATA_T4171500731_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.AbstractEventData
struct AbstractEventData_t4171500731 : public RuntimeObject
{
public:
// System.Boolean UnityEngine.EventSystems.AbstractEventData::m_Used
bool ___m_Used_0;
public:
inline static int32_t get_offset_of_m_Used_0() { return static_cast<int32_t>(offsetof(AbstractEventData_t4171500731, ___m_Used_0)); }
inline bool get_m_Used_0() const { return ___m_Used_0; }
inline bool* get_address_of_m_Used_0() { return &___m_Used_0; }
inline void set_m_Used_0(bool value)
{
___m_Used_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ABSTRACTEVENTDATA_T4171500731_H
#ifndef UNITYEVENTBASE_T3960448221_H
#define UNITYEVENTBASE_T3960448221_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Events.UnityEventBase
struct UnityEventBase_t3960448221 : public RuntimeObject
{
public:
// UnityEngine.Events.InvokableCallList UnityEngine.Events.UnityEventBase::m_Calls
InvokableCallList_t2498835369 * ___m_Calls_0;
// UnityEngine.Events.PersistentCallGroup UnityEngine.Events.UnityEventBase::m_PersistentCalls
PersistentCallGroup_t3050769227 * ___m_PersistentCalls_1;
// System.String UnityEngine.Events.UnityEventBase::m_TypeName
String_t* ___m_TypeName_2;
// System.Boolean UnityEngine.Events.UnityEventBase::m_CallsDirty
bool ___m_CallsDirty_3;
public:
inline static int32_t get_offset_of_m_Calls_0() { return static_cast<int32_t>(offsetof(UnityEventBase_t3960448221, ___m_Calls_0)); }
inline InvokableCallList_t2498835369 * get_m_Calls_0() const { return ___m_Calls_0; }
inline InvokableCallList_t2498835369 ** get_address_of_m_Calls_0() { return &___m_Calls_0; }
inline void set_m_Calls_0(InvokableCallList_t2498835369 * value)
{
___m_Calls_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Calls_0), value);
}
inline static int32_t get_offset_of_m_PersistentCalls_1() { return static_cast<int32_t>(offsetof(UnityEventBase_t3960448221, ___m_PersistentCalls_1)); }
inline PersistentCallGroup_t3050769227 * get_m_PersistentCalls_1() const { return ___m_PersistentCalls_1; }
inline PersistentCallGroup_t3050769227 ** get_address_of_m_PersistentCalls_1() { return &___m_PersistentCalls_1; }
inline void set_m_PersistentCalls_1(PersistentCallGroup_t3050769227 * value)
{
___m_PersistentCalls_1 = value;
Il2CppCodeGenWriteBarrier((&___m_PersistentCalls_1), value);
}
inline static int32_t get_offset_of_m_TypeName_2() { return static_cast<int32_t>(offsetof(UnityEventBase_t3960448221, ___m_TypeName_2)); }
inline String_t* get_m_TypeName_2() const { return ___m_TypeName_2; }
inline String_t** get_address_of_m_TypeName_2() { return &___m_TypeName_2; }
inline void set_m_TypeName_2(String_t* value)
{
___m_TypeName_2 = value;
Il2CppCodeGenWriteBarrier((&___m_TypeName_2), value);
}
inline static int32_t get_offset_of_m_CallsDirty_3() { return static_cast<int32_t>(offsetof(UnityEventBase_t3960448221, ___m_CallsDirty_3)); }
inline bool get_m_CallsDirty_3() const { return ___m_CallsDirty_3; }
inline bool* get_address_of_m_CallsDirty_3() { return &___m_CallsDirty_3; }
inline void set_m_CallsDirty_3(bool value)
{
___m_CallsDirty_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNITYEVENTBASE_T3960448221_H
#ifndef YIELDINSTRUCTION_T403091072_H
#define YIELDINSTRUCTION_T403091072_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.YieldInstruction
struct YieldInstruction_t403091072 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t403091072_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t403091072_marshaled_com
{
};
#endif // YIELDINSTRUCTION_T403091072_H
#ifndef U24ARRAYTYPEU3D16_T3253128245_H
#define U24ARRAYTYPEU3D16_T3253128245_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType=16
#pragma pack(push, tp, 1)
struct U24ArrayTypeU3D16_t3253128245
{
public:
union
{
struct
{
};
uint8_t U24ArrayTypeU3D16_t3253128245__padding[16];
};
public:
};
#pragma pack(pop, tp)
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU3D16_T3253128245_H
#ifndef U24ARRAYTYPEU3D32_T3651253610_H
#define U24ARRAYTYPEU3D32_T3651253610_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType=32
#pragma pack(push, tp, 1)
struct U24ArrayTypeU3D32_t3651253610
{
public:
union
{
struct
{
};
uint8_t U24ArrayTypeU3D32_t3651253610__padding[32];
};
public:
};
#pragma pack(pop, tp)
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU3D32_T3651253610_H
#ifndef U24ARRAYTYPEU3D48_T1336283963_H
#define U24ARRAYTYPEU3D48_T1336283963_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>/$ArrayType=48
#pragma pack(push, tp, 1)
struct U24ArrayTypeU3D48_t1336283963
{
public:
union
{
struct
{
};
uint8_t U24ArrayTypeU3D48_t1336283963__padding[48];
};
public:
};
#pragma pack(pop, tp)
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U24ARRAYTYPEU3D48_T1336283963_H
#ifndef HASHTABLE_T1048209202_H
#define HASHTABLE_T1048209202_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.Hashtable
struct Hashtable_t1048209202 : public Dictionary_2_t132545152
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HASHTABLE_T1048209202_H
#ifndef PHOTONMESSAGEINFO_T1249220519_H
#define PHOTONMESSAGEINFO_T1249220519_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.PhotonMessageInfo
struct PhotonMessageInfo_t1249220519
{
public:
// System.Int32 Photon.Pun.PhotonMessageInfo::timeInt
int32_t ___timeInt_0;
// Photon.Realtime.Player Photon.Pun.PhotonMessageInfo::Sender
Player_t2879569589 * ___Sender_1;
// Photon.Pun.PhotonView Photon.Pun.PhotonMessageInfo::photonView
PhotonView_t3684715584 * ___photonView_2;
public:
inline static int32_t get_offset_of_timeInt_0() { return static_cast<int32_t>(offsetof(PhotonMessageInfo_t1249220519, ___timeInt_0)); }
inline int32_t get_timeInt_0() const { return ___timeInt_0; }
inline int32_t* get_address_of_timeInt_0() { return &___timeInt_0; }
inline void set_timeInt_0(int32_t value)
{
___timeInt_0 = value;
}
inline static int32_t get_offset_of_Sender_1() { return static_cast<int32_t>(offsetof(PhotonMessageInfo_t1249220519, ___Sender_1)); }
inline Player_t2879569589 * get_Sender_1() const { return ___Sender_1; }
inline Player_t2879569589 ** get_address_of_Sender_1() { return &___Sender_1; }
inline void set_Sender_1(Player_t2879569589 * value)
{
___Sender_1 = value;
Il2CppCodeGenWriteBarrier((&___Sender_1), value);
}
inline static int32_t get_offset_of_photonView_2() { return static_cast<int32_t>(offsetof(PhotonMessageInfo_t1249220519, ___photonView_2)); }
inline PhotonView_t3684715584 * get_photonView_2() const { return ___photonView_2; }
inline PhotonView_t3684715584 ** get_address_of_photonView_2() { return &___photonView_2; }
inline void set_photonView_2(PhotonView_t3684715584 * value)
{
___photonView_2 = value;
Il2CppCodeGenWriteBarrier((&___photonView_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of Photon.Pun.PhotonMessageInfo
struct PhotonMessageInfo_t1249220519_marshaled_pinvoke
{
int32_t ___timeInt_0;
Player_t2879569589 * ___Sender_1;
PhotonView_t3684715584 * ___photonView_2;
};
// Native definition for COM marshalling of Photon.Pun.PhotonMessageInfo
struct PhotonMessageInfo_t1249220519_marshaled_com
{
int32_t ___timeInt_0;
Player_t2879569589 * ___Sender_1;
PhotonView_t3684715584 * ___photonView_2;
};
#endif // PHOTONMESSAGEINFO_T1249220519_H
#ifndef ROOM_T1409754143_H
#define ROOM_T1409754143_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.Room
struct Room_t1409754143 : public RoomInfo_t3118950765
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.Room::<LoadBalancingClient>k__BackingField
LoadBalancingClient_t609581828 * ___U3CLoadBalancingClientU3Ek__BackingField_13;
// System.Boolean Photon.Realtime.Room::isOffline
bool ___isOffline_14;
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player> Photon.Realtime.Room::players
Dictionary_2_t1768282920 * ___players_15;
public:
inline static int32_t get_offset_of_U3CLoadBalancingClientU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(Room_t1409754143, ___U3CLoadBalancingClientU3Ek__BackingField_13)); }
inline LoadBalancingClient_t609581828 * get_U3CLoadBalancingClientU3Ek__BackingField_13() const { return ___U3CLoadBalancingClientU3Ek__BackingField_13; }
inline LoadBalancingClient_t609581828 ** get_address_of_U3CLoadBalancingClientU3Ek__BackingField_13() { return &___U3CLoadBalancingClientU3Ek__BackingField_13; }
inline void set_U3CLoadBalancingClientU3Ek__BackingField_13(LoadBalancingClient_t609581828 * value)
{
___U3CLoadBalancingClientU3Ek__BackingField_13 = value;
Il2CppCodeGenWriteBarrier((&___U3CLoadBalancingClientU3Ek__BackingField_13), value);
}
inline static int32_t get_offset_of_isOffline_14() { return static_cast<int32_t>(offsetof(Room_t1409754143, ___isOffline_14)); }
inline bool get_isOffline_14() const { return ___isOffline_14; }
inline bool* get_address_of_isOffline_14() { return &___isOffline_14; }
inline void set_isOffline_14(bool value)
{
___isOffline_14 = value;
}
inline static int32_t get_offset_of_players_15() { return static_cast<int32_t>(offsetof(Room_t1409754143, ___players_15)); }
inline Dictionary_2_t1768282920 * get_players_15() const { return ___players_15; }
inline Dictionary_2_t1768282920 ** get_address_of_players_15() { return &___players_15; }
inline void set_players_15(Dictionary_2_t1768282920 * value)
{
___players_15 = value;
Il2CppCodeGenWriteBarrier((&___players_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ROOM_T1409754143_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_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Boolean_t97287965, ___m_value_2)); }
inline bool get_m_value_2() const { return ___m_value_2; }
inline bool* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(bool value)
{
___m_value_2 = value;
}
};
struct Boolean_t97287965_StaticFields
{
public:
// System.String System.Boolean::FalseString
String_t* ___FalseString_0;
// System.String System.Boolean::TrueString
String_t* ___TrueString_1;
public:
inline static int32_t get_offset_of_FalseString_0() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___FalseString_0)); }
inline String_t* get_FalseString_0() const { return ___FalseString_0; }
inline String_t** get_address_of_FalseString_0() { return &___FalseString_0; }
inline void set_FalseString_0(String_t* value)
{
___FalseString_0 = value;
Il2CppCodeGenWriteBarrier((&___FalseString_0), value);
}
inline static int32_t get_offset_of_TrueString_1() { return static_cast<int32_t>(offsetof(Boolean_t97287965_StaticFields, ___TrueString_1)); }
inline String_t* get_TrueString_1() const { return ___TrueString_1; }
inline String_t** get_address_of_TrueString_1() { return &___TrueString_1; }
inline void set_TrueString_1(String_t* value)
{
___TrueString_1 = value;
Il2CppCodeGenWriteBarrier((&___TrueString_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOLEAN_T97287965_H
#ifndef BYTE_T1134296376_H
#define BYTE_T1134296376_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Byte
struct Byte_t1134296376
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Byte_t1134296376, ___m_value_2)); }
inline uint8_t get_m_value_2() const { return ___m_value_2; }
inline uint8_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(uint8_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BYTE_T1134296376_H
#ifndef ENUMERATOR_T2776075086_H
#define ENUMERATOR_T2776075086_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<Photon.Pun.UtilityScripts.CellTreeNode>
struct Enumerator_t2776075086
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::l
List_1_t886831209 * ___l_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::next
int32_t ___next_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::ver
int32_t ___ver_2;
// T System.Collections.Generic.List`1/Enumerator::current
CellTreeNode_t3709723763 * ___current_3;
public:
inline static int32_t get_offset_of_l_0() { return static_cast<int32_t>(offsetof(Enumerator_t2776075086, ___l_0)); }
inline List_1_t886831209 * get_l_0() const { return ___l_0; }
inline List_1_t886831209 ** get_address_of_l_0() { return &___l_0; }
inline void set_l_0(List_1_t886831209 * value)
{
___l_0 = value;
Il2CppCodeGenWriteBarrier((&___l_0), value);
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Enumerator_t2776075086, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_ver_2() { return static_cast<int32_t>(offsetof(Enumerator_t2776075086, ___ver_2)); }
inline int32_t get_ver_2() const { return ___ver_2; }
inline int32_t* get_address_of_ver_2() { return &___ver_2; }
inline void set_ver_2(int32_t value)
{
___ver_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2776075086, ___current_3)); }
inline CellTreeNode_t3709723763 * get_current_3() const { return ___current_3; }
inline CellTreeNode_t3709723763 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(CellTreeNode_t3709723763 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2776075086_H
#ifndef ENUMERATOR_T200647699_H
#define ENUMERATOR_T200647699_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.Byte>
struct Enumerator_t200647699
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::l
List_1_t2606371118 * ___l_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::next
int32_t ___next_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::ver
int32_t ___ver_2;
// T System.Collections.Generic.List`1/Enumerator::current
uint8_t ___current_3;
public:
inline static int32_t get_offset_of_l_0() { return static_cast<int32_t>(offsetof(Enumerator_t200647699, ___l_0)); }
inline List_1_t2606371118 * get_l_0() const { return ___l_0; }
inline List_1_t2606371118 ** get_address_of_l_0() { return &___l_0; }
inline void set_l_0(List_1_t2606371118 * value)
{
___l_0 = value;
Il2CppCodeGenWriteBarrier((&___l_0), value);
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Enumerator_t200647699, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_ver_2() { return static_cast<int32_t>(offsetof(Enumerator_t200647699, ___ver_2)); }
inline int32_t get_ver_2() const { return ___ver_2; }
inline int32_t* get_address_of_ver_2() { return &___ver_2; }
inline void set_ver_2(int32_t value)
{
___ver_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t200647699, ___current_3)); }
inline uint8_t get_current_3() const { return ___current_3; }
inline uint8_t* get_address_of_current_3() { return &___current_3; }
inline void set_current_3(uint8_t value)
{
___current_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T200647699_H
#ifndef ENUMERATOR_T2146457487_H
#define ENUMERATOR_T2146457487_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.Object>
struct Enumerator_t2146457487
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::l
List_1_t257213610 * ___l_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::next
int32_t ___next_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::ver
int32_t ___ver_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject * ___current_3;
public:
inline static int32_t get_offset_of_l_0() { return static_cast<int32_t>(offsetof(Enumerator_t2146457487, ___l_0)); }
inline List_1_t257213610 * get_l_0() const { return ___l_0; }
inline List_1_t257213610 ** get_address_of_l_0() { return &___l_0; }
inline void set_l_0(List_1_t257213610 * value)
{
___l_0 = value;
Il2CppCodeGenWriteBarrier((&___l_0), value);
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Enumerator_t2146457487, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_ver_2() { return static_cast<int32_t>(offsetof(Enumerator_t2146457487, ___ver_2)); }
inline int32_t get_ver_2() const { return ___ver_2; }
inline int32_t* get_address_of_ver_2() { return &___ver_2; }
inline void set_ver_2(int32_t value)
{
___ver_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2146457487, ___current_3)); }
inline RuntimeObject * get_current_3() const { return ___current_3; }
inline RuntimeObject ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RuntimeObject * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T2146457487_H
#ifndef ENUMERATOR_T989985774_H
#define ENUMERATOR_T989985774_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.Component>
struct Enumerator_t989985774
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::l
List_1_t3395709193 * ___l_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::next
int32_t ___next_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::ver
int32_t ___ver_2;
// T System.Collections.Generic.List`1/Enumerator::current
Component_t1923634451 * ___current_3;
public:
inline static int32_t get_offset_of_l_0() { return static_cast<int32_t>(offsetof(Enumerator_t989985774, ___l_0)); }
inline List_1_t3395709193 * get_l_0() const { return ___l_0; }
inline List_1_t3395709193 ** get_address_of_l_0() { return &___l_0; }
inline void set_l_0(List_1_t3395709193 * value)
{
___l_0 = value;
Il2CppCodeGenWriteBarrier((&___l_0), value);
}
inline static int32_t get_offset_of_next_1() { return static_cast<int32_t>(offsetof(Enumerator_t989985774, ___next_1)); }
inline int32_t get_next_1() const { return ___next_1; }
inline int32_t* get_address_of_next_1() { return &___next_1; }
inline void set_next_1(int32_t value)
{
___next_1 = value;
}
inline static int32_t get_offset_of_ver_2() { return static_cast<int32_t>(offsetof(Enumerator_t989985774, ___ver_2)); }
inline int32_t get_ver_2() const { return ___ver_2; }
inline int32_t* get_address_of_ver_2() { return &___ver_2; }
inline void set_ver_2(int32_t value)
{
___ver_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t989985774, ___current_3)); }
inline Component_t1923634451 * get_current_3() const { return ___current_3; }
inline Component_t1923634451 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Component_t1923634451 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((&___current_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENUMERATOR_T989985774_H
#ifndef DOUBLE_T594665363_H
#define DOUBLE_T594665363_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Double
struct Double_t594665363
{
public:
// System.Double System.Double::m_value
double ___m_value_13;
public:
inline static int32_t get_offset_of_m_value_13() { return static_cast<int32_t>(offsetof(Double_t594665363, ___m_value_13)); }
inline double get_m_value_13() const { return ___m_value_13; }
inline double* get_address_of_m_value_13() { return &___m_value_13; }
inline void set_m_value_13(double value)
{
___m_value_13 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DOUBLE_T594665363_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::split_char
CharU5BU5D_t3528271667* ___split_char_0;
public:
inline static int32_t get_offset_of_split_char_0() { return static_cast<int32_t>(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); }
inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; }
inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; }
inline void set_split_char_0(CharU5BU5D_t3528271667* value)
{
___split_char_0 = value;
Il2CppCodeGenWriteBarrier((&___split_char_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 INT16_T2552820387_H
#define INT16_T2552820387_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int16
struct Int16_t2552820387
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int16_t2552820387, ___m_value_2)); }
inline int16_t get_m_value_2() const { return ___m_value_2; }
inline int16_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(int16_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT16_T2552820387_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_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int32_t2950945753, ___m_value_2)); }
inline int32_t get_m_value_2() const { return ___m_value_2; }
inline int32_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(int32_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT32_T2950945753_H
#ifndef INT64_T3736567304_H
#define INT64_T3736567304_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Int64
struct Int64_t3736567304
{
public:
// System.Int64 System.Int64::m_value
int64_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(Int64_t3736567304, ___m_value_2)); }
inline int64_t get_m_value_2() const { return ___m_value_2; }
inline int64_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(int64_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INT64_T3736567304_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 SINGLE_T1397266774_H
#define SINGLE_T1397266774_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Single
struct Single_t1397266774
{
public:
// System.Single System.Single::m_value
float ___m_value_7;
public:
inline static int32_t get_offset_of_m_value_7() { return static_cast<int32_t>(offsetof(Single_t1397266774, ___m_value_7)); }
inline float get_m_value_7() const { return ___m_value_7; }
inline float* get_address_of_m_value_7() { return &___m_value_7; }
inline void set_m_value_7(float value)
{
___m_value_7 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SINGLE_T1397266774_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 UINT32_T2560061978_H
#define UINT32_T2560061978_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.UInt32
struct UInt32_t2560061978
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_2;
public:
inline static int32_t get_offset_of_m_value_2() { return static_cast<int32_t>(offsetof(UInt32_t2560061978, ___m_value_2)); }
inline uint32_t get_m_value_2() const { return ___m_value_2; }
inline uint32_t* get_address_of_m_value_2() { return &___m_value_2; }
inline void set_m_value_2(uint32_t value)
{
___m_value_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UINT32_T2560061978_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:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T1185182177_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 DRIVENRECTTRANSFORMTRACKER_T2562230146_H
#define DRIVENRECTTRANSFORMTRACKER_T2562230146_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.DrivenRectTransformTracker
struct DrivenRectTransformTracker_t2562230146
{
public:
union
{
struct
{
};
uint8_t DrivenRectTransformTracker_t2562230146__padding[1];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DRIVENRECTTRANSFORMTRACKER_T2562230146_H
#ifndef BASEEVENTDATA_T3903027533_H
#define BASEEVENTDATA_T3903027533_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t3903027533 : public AbstractEventData_t4171500731
{
public:
// UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.BaseEventData::m_EventSystem
EventSystem_t1003666588 * ___m_EventSystem_1;
public:
inline static int32_t get_offset_of_m_EventSystem_1() { return static_cast<int32_t>(offsetof(BaseEventData_t3903027533, ___m_EventSystem_1)); }
inline EventSystem_t1003666588 * get_m_EventSystem_1() const { return ___m_EventSystem_1; }
inline EventSystem_t1003666588 ** get_address_of_m_EventSystem_1() { return &___m_EventSystem_1; }
inline void set_m_EventSystem_1(EventSystem_t1003666588 * value)
{
___m_EventSystem_1 = value;
Il2CppCodeGenWriteBarrier((&___m_EventSystem_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BASEEVENTDATA_T3903027533_H
#ifndef UNITYEVENT_1_T978947469_H
#define UNITYEVENT_1_T978947469_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_t978947469 : public UnityEventBase_t3960448221
{
public:
// System.Object[] UnityEngine.Events.UnityEvent`1::m_InvokeArray
ObjectU5BU5D_t2843939325* ___m_InvokeArray_4;
public:
inline static int32_t get_offset_of_m_InvokeArray_4() { return static_cast<int32_t>(offsetof(UnityEvent_1_t978947469, ___m_InvokeArray_4)); }
inline ObjectU5BU5D_t2843939325* get_m_InvokeArray_4() const { return ___m_InvokeArray_4; }
inline ObjectU5BU5D_t2843939325** get_address_of_m_InvokeArray_4() { return &___m_InvokeArray_4; }
inline void set_m_InvokeArray_4(ObjectU5BU5D_t2843939325* value)
{
___m_InvokeArray_4 = value;
Il2CppCodeGenWriteBarrier((&___m_InvokeArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNITYEVENT_1_T978947469_H
#ifndef UNITYEVENT_1_T2729110193_H
#define UNITYEVENT_1_T2729110193_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Events.UnityEvent`1<System.String>
struct UnityEvent_1_t2729110193 : public UnityEventBase_t3960448221
{
public:
// System.Object[] UnityEngine.Events.UnityEvent`1::m_InvokeArray
ObjectU5BU5D_t2843939325* ___m_InvokeArray_4;
public:
inline static int32_t get_offset_of_m_InvokeArray_4() { return static_cast<int32_t>(offsetof(UnityEvent_1_t2729110193, ___m_InvokeArray_4)); }
inline ObjectU5BU5D_t2843939325* get_m_InvokeArray_4() const { return ___m_InvokeArray_4; }
inline ObjectU5BU5D_t2843939325** get_address_of_m_InvokeArray_4() { return &___m_InvokeArray_4; }
inline void set_m_InvokeArray_4(ObjectU5BU5D_t2843939325* value)
{
___m_InvokeArray_4 = value;
Il2CppCodeGenWriteBarrier((&___m_InvokeArray_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNITYEVENT_1_T2729110193_H
#ifndef QUATERNION_T2301928331_H
#define QUATERNION_T2301928331_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Quaternion
struct Quaternion_t2301928331
{
public:
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Quaternion_t2301928331, ___x_0)); }
inline float get_x_0() const { return ___x_0; }
inline float* get_address_of_x_0() { return &___x_0; }
inline void set_x_0(float value)
{
___x_0 = value;
}
inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Quaternion_t2301928331, ___y_1)); }
inline float get_y_1() const { return ___y_1; }
inline float* get_address_of_y_1() { return &___y_1; }
inline void set_y_1(float value)
{
___y_1 = value;
}
inline static int32_t get_offset_of_z_2() { return static_cast<int32_t>(offsetof(Quaternion_t2301928331, ___z_2)); }
inline float get_z_2() const { return ___z_2; }
inline float* get_address_of_z_2() { return &___z_2; }
inline void set_z_2(float value)
{
___z_2 = value;
}
inline static int32_t get_offset_of_w_3() { return static_cast<int32_t>(offsetof(Quaternion_t2301928331, ___w_3)); }
inline float get_w_3() const { return ___w_3; }
inline float* get_address_of_w_3() { return &___w_3; }
inline void set_w_3(float value)
{
___w_3 = value;
}
};
struct Quaternion_t2301928331_StaticFields
{
public:
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_t2301928331 ___identityQuaternion_4;
public:
inline static int32_t get_offset_of_identityQuaternion_4() { return static_cast<int32_t>(offsetof(Quaternion_t2301928331_StaticFields, ___identityQuaternion_4)); }
inline Quaternion_t2301928331 get_identityQuaternion_4() const { return ___identityQuaternion_4; }
inline Quaternion_t2301928331 * get_address_of_identityQuaternion_4() { return &___identityQuaternion_4; }
inline void set_identityQuaternion_4(Quaternion_t2301928331 value)
{
___identityQuaternion_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // QUATERNION_T2301928331_H
#ifndef RECT_T2360479859_H
#define RECT_T2360479859_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rect
struct Rect_t2360479859
{
public:
// System.Single UnityEngine.Rect::m_XMin
float ___m_XMin_0;
// System.Single UnityEngine.Rect::m_YMin
float ___m_YMin_1;
// System.Single UnityEngine.Rect::m_Width
float ___m_Width_2;
// System.Single UnityEngine.Rect::m_Height
float ___m_Height_3;
public:
inline static int32_t get_offset_of_m_XMin_0() { return static_cast<int32_t>(offsetof(Rect_t2360479859, ___m_XMin_0)); }
inline float get_m_XMin_0() const { return ___m_XMin_0; }
inline float* get_address_of_m_XMin_0() { return &___m_XMin_0; }
inline void set_m_XMin_0(float value)
{
___m_XMin_0 = value;
}
inline static int32_t get_offset_of_m_YMin_1() { return static_cast<int32_t>(offsetof(Rect_t2360479859, ___m_YMin_1)); }
inline float get_m_YMin_1() const { return ___m_YMin_1; }
inline float* get_address_of_m_YMin_1() { return &___m_YMin_1; }
inline void set_m_YMin_1(float value)
{
___m_YMin_1 = value;
}
inline static int32_t get_offset_of_m_Width_2() { return static_cast<int32_t>(offsetof(Rect_t2360479859, ___m_Width_2)); }
inline float get_m_Width_2() const { return ___m_Width_2; }
inline float* get_address_of_m_Width_2() { return &___m_Width_2; }
inline void set_m_Width_2(float value)
{
___m_Width_2 = value;
}
inline static int32_t get_offset_of_m_Height_3() { return static_cast<int32_t>(offsetof(Rect_t2360479859, ___m_Height_3)); }
inline float get_m_Height_3() const { return ___m_Height_3; }
inline float* get_address_of_m_Height_3() { return &___m_Height_3; }
inline void set_m_Height_3(float value)
{
___m_Height_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RECT_T2360479859_H
#ifndef SPRITESTATE_T1362986479_H
#define SPRITESTATE_T1362986479_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.SpriteState
struct SpriteState_t1362986479
{
public:
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_HighlightedSprite
Sprite_t280657092 * ___m_HighlightedSprite_0;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_PressedSprite
Sprite_t280657092 * ___m_PressedSprite_1;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_DisabledSprite
Sprite_t280657092 * ___m_DisabledSprite_2;
public:
inline static int32_t get_offset_of_m_HighlightedSprite_0() { return static_cast<int32_t>(offsetof(SpriteState_t1362986479, ___m_HighlightedSprite_0)); }
inline Sprite_t280657092 * get_m_HighlightedSprite_0() const { return ___m_HighlightedSprite_0; }
inline Sprite_t280657092 ** get_address_of_m_HighlightedSprite_0() { return &___m_HighlightedSprite_0; }
inline void set_m_HighlightedSprite_0(Sprite_t280657092 * value)
{
___m_HighlightedSprite_0 = value;
Il2CppCodeGenWriteBarrier((&___m_HighlightedSprite_0), value);
}
inline static int32_t get_offset_of_m_PressedSprite_1() { return static_cast<int32_t>(offsetof(SpriteState_t1362986479, ___m_PressedSprite_1)); }
inline Sprite_t280657092 * get_m_PressedSprite_1() const { return ___m_PressedSprite_1; }
inline Sprite_t280657092 ** get_address_of_m_PressedSprite_1() { return &___m_PressedSprite_1; }
inline void set_m_PressedSprite_1(Sprite_t280657092 * value)
{
___m_PressedSprite_1 = value;
Il2CppCodeGenWriteBarrier((&___m_PressedSprite_1), value);
}
inline static int32_t get_offset_of_m_DisabledSprite_2() { return static_cast<int32_t>(offsetof(SpriteState_t1362986479, ___m_DisabledSprite_2)); }
inline Sprite_t280657092 * get_m_DisabledSprite_2() const { return ___m_DisabledSprite_2; }
inline Sprite_t280657092 ** get_address_of_m_DisabledSprite_2() { return &___m_DisabledSprite_2; }
inline void set_m_DisabledSprite_2(Sprite_t280657092 * value)
{
___m_DisabledSprite_2 = value;
Il2CppCodeGenWriteBarrier((&___m_DisabledSprite_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.UI.SpriteState
struct SpriteState_t1362986479_marshaled_pinvoke
{
Sprite_t280657092 * ___m_HighlightedSprite_0;
Sprite_t280657092 * ___m_PressedSprite_1;
Sprite_t280657092 * ___m_DisabledSprite_2;
};
// Native definition for COM marshalling of UnityEngine.UI.SpriteState
struct SpriteState_t1362986479_marshaled_com
{
Sprite_t280657092 * ___m_HighlightedSprite_0;
Sprite_t280657092 * ___m_PressedSprite_1;
Sprite_t280657092 * ___m_DisabledSprite_2;
};
#endif // SPRITESTATE_T1362986479_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 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_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
public:
inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___x_2)); }
inline float get_x_2() const { return ___x_2; }
inline float* get_address_of_x_2() { return &___x_2; }
inline void set_x_2(float value)
{
___x_2 = value;
}
inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___y_3)); }
inline float get_y_3() const { return ___y_3; }
inline float* get_address_of_y_3() { return &___y_3; }
inline void set_y_3(float value)
{
___y_3 = value;
}
inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_t3722313464, ___z_4)); }
inline float get_z_4() const { return ___z_4; }
inline float* get_address_of_z_4() { return &___z_4; }
inline void set_z_4(float value)
{
___z_4 = value;
}
};
struct Vector3_t3722313464_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_t3722313464 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_t3722313464 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_t3722313464 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_t3722313464 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_t3722313464 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_t3722313464 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_t3722313464 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_t3722313464 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_t3722313464 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_t3722313464 ___negativeInfinityVector_14;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___zeroVector_5)); }
inline Vector3_t3722313464 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector3_t3722313464 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector3_t3722313464 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___oneVector_6)); }
inline Vector3_t3722313464 get_oneVector_6() const { return ___oneVector_6; }
inline Vector3_t3722313464 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector3_t3722313464 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___upVector_7)); }
inline Vector3_t3722313464 get_upVector_7() const { return ___upVector_7; }
inline Vector3_t3722313464 * get_address_of_upVector_7() { return &___upVector_7; }
inline void set_upVector_7(Vector3_t3722313464 value)
{
___upVector_7 = value;
}
inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___downVector_8)); }
inline Vector3_t3722313464 get_downVector_8() const { return ___downVector_8; }
inline Vector3_t3722313464 * get_address_of_downVector_8() { return &___downVector_8; }
inline void set_downVector_8(Vector3_t3722313464 value)
{
___downVector_8 = value;
}
inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___leftVector_9)); }
inline Vector3_t3722313464 get_leftVector_9() const { return ___leftVector_9; }
inline Vector3_t3722313464 * get_address_of_leftVector_9() { return &___leftVector_9; }
inline void set_leftVector_9(Vector3_t3722313464 value)
{
___leftVector_9 = value;
}
inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___rightVector_10)); }
inline Vector3_t3722313464 get_rightVector_10() const { return ___rightVector_10; }
inline Vector3_t3722313464 * get_address_of_rightVector_10() { return &___rightVector_10; }
inline void set_rightVector_10(Vector3_t3722313464 value)
{
___rightVector_10 = value;
}
inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___forwardVector_11)); }
inline Vector3_t3722313464 get_forwardVector_11() const { return ___forwardVector_11; }
inline Vector3_t3722313464 * get_address_of_forwardVector_11() { return &___forwardVector_11; }
inline void set_forwardVector_11(Vector3_t3722313464 value)
{
___forwardVector_11 = value;
}
inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___backVector_12)); }
inline Vector3_t3722313464 get_backVector_12() const { return ___backVector_12; }
inline Vector3_t3722313464 * get_address_of_backVector_12() { return &___backVector_12; }
inline void set_backVector_12(Vector3_t3722313464 value)
{
___backVector_12 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___positiveInfinityVector_13)); }
inline Vector3_t3722313464 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; }
inline Vector3_t3722313464 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; }
inline void set_positiveInfinityVector_13(Vector3_t3722313464 value)
{
___positiveInfinityVector_13 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_t3722313464_StaticFields, ___negativeInfinityVector_14)); }
inline Vector3_t3722313464 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; }
inline Vector3_t3722313464 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; }
inline void set_negativeInfinityVector_14(Vector3_t3722313464 value)
{
___negativeInfinityVector_14 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VECTOR3_T3722313464_H
#ifndef U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255369_H
#define U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255369_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t3057255369 : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t3057255369_StaticFields
{
public:
// <PrivateImplementationDetails>/$ArrayType=16 <PrivateImplementationDetails>::$field-8658990BAD6546E619D8A5C4F90BCF3F089E0953
U24ArrayTypeU3D16_t3253128245 ___U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0;
// <PrivateImplementationDetails>/$ArrayType=32 <PrivateImplementationDetails>::$field-739C505E9F0985CE1E08892BC46BE5E839FF061A
U24ArrayTypeU3D32_t3651253610 ___U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1;
// <PrivateImplementationDetails>/$ArrayType=48 <PrivateImplementationDetails>::$field-35FDBB6669F521B572D4AD71DD77E77F43C1B71B
U24ArrayTypeU3D48_t1336283963 ___U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2;
public:
inline static int32_t get_offset_of_U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255369_StaticFields, ___U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0)); }
inline U24ArrayTypeU3D16_t3253128245 get_U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0() const { return ___U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0; }
inline U24ArrayTypeU3D16_t3253128245 * get_address_of_U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0() { return &___U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0; }
inline void set_U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0(U24ArrayTypeU3D16_t3253128245 value)
{
___U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0 = value;
}
inline static int32_t get_offset_of_U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255369_StaticFields, ___U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1)); }
inline U24ArrayTypeU3D32_t3651253610 get_U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1() const { return ___U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1; }
inline U24ArrayTypeU3D32_t3651253610 * get_address_of_U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1() { return &___U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1; }
inline void set_U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1(U24ArrayTypeU3D32_t3651253610 value)
{
___U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1 = value;
}
inline static int32_t get_offset_of_U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t3057255369_StaticFields, ___U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2)); }
inline U24ArrayTypeU3D48_t1336283963 get_U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2() const { return ___U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2; }
inline U24ArrayTypeU3D48_t1336283963 * get_address_of_U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2() { return &___U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2; }
inline void set_U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2(U24ArrayTypeU3D48_t1336283963 value)
{
___U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CPRIVATEIMPLEMENTATIONDETAILSU3E_T3057255369_H
#ifndef CONNECTIONPROTOCOL_T2586603950_H
#define CONNECTIONPROTOCOL_T2586603950_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.ConnectionProtocol
struct ConnectionProtocol_t2586603950
{
public:
// System.Byte ExitGames.Client.Photon.ConnectionProtocol::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ConnectionProtocol_t2586603950, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTIONPROTOCOL_T2586603950_H
#ifndef DEBUGLEVEL_T3671880145_H
#define DEBUGLEVEL_T3671880145_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.DebugLevel
struct DebugLevel_t3671880145
{
public:
// System.Byte ExitGames.Client.Photon.DebugLevel::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(DebugLevel_t3671880145, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DEBUGLEVEL_T3671880145_H
#ifndef DELIVERYMODE_T90936453_H
#define DELIVERYMODE_T90936453_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.DeliveryMode
struct DeliveryMode_t90936453
{
public:
// System.Int32 ExitGames.Client.Photon.DeliveryMode::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(DeliveryMode_t90936453, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DELIVERYMODE_T90936453_H
#ifndef SERIALIZATIONPROTOCOL_T4091957412_H
#define SERIALIZATIONPROTOCOL_T4091957412_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.SerializationProtocol
struct SerializationProtocol_t4091957412
{
public:
// System.Int32 ExitGames.Client.Photon.SerializationProtocol::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SerializationProtocol_t4091957412, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERIALIZATIONPROTOCOL_T4091957412_H
#ifndef CONNECTMETHOD_T3582890242_H
#define CONNECTMETHOD_T3582890242_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.ConnectMethod
struct ConnectMethod_t3582890242
{
public:
// System.Int32 Photon.Pun.ConnectMethod::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ConnectMethod_t3582890242, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTMETHOD_T3582890242_H
#ifndef OWNERSHIPOPTION_T37837423_H
#define OWNERSHIPOPTION_T37837423_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.OwnershipOption
struct OwnershipOption_t37837423
{
public:
// System.Int32 Photon.Pun.OwnershipOption::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(OwnershipOption_t37837423, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // OWNERSHIPOPTION_T37837423_H
#ifndef PUNLOGLEVEL_T449296748_H
#define PUNLOGLEVEL_T449296748_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.PunLogLevel
struct PunLogLevel_t449296748
{
public:
// System.Int32 Photon.Pun.PunLogLevel::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(PunLogLevel_t449296748, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PUNLOGLEVEL_T449296748_H
#ifndef RPCTARGET_T1710769941_H
#define RPCTARGET_T1710769941_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.RpcTarget
struct RpcTarget_t1710769941
{
public:
// System.Int32 Photon.Pun.RpcTarget::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(RpcTarget_t1710769941, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RPCTARGET_T1710769941_H
#ifndef ENODETYPE_T548973521_H
#define ENODETYPE_T548973521_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CellTreeNode/ENodeType
struct ENodeType_t548973521
{
public:
// System.Int32 Photon.Pun.UtilityScripts.CellTreeNode/ENodeType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ENodeType_t548973521, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENODETYPE_T548973521_H
#ifndef INSTANTIATEOPTION_T2742092059_H
#define INSTANTIATEOPTION_T2742092059_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickInstantiate/InstantiateOption
struct InstantiateOption_t2742092059
{
public:
// System.Int32 Photon.Pun.UtilityScripts.OnClickInstantiate/InstantiateOption::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(InstantiateOption_t2742092059, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INSTANTIATEOPTION_T2742092059_H
#ifndef U3CCLICKFLASHU3EC__ITERATOR0_T700316031_H
#define U3CCLICKFLASHU3EC__ITERATOR0_T700316031_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0
struct U3CClickFlashU3Ec__Iterator0_t700316031 : public RuntimeObject
{
public:
// System.Boolean Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::<wasEmissive>__0
bool ___U3CwasEmissiveU3E__0_0;
// System.Single Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::<f>__1
float ___U3CfU3E__1_1;
// UnityEngine.Color Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::<lerped>__2
Color_t2555686324 ___U3ClerpedU3E__2_2;
// Photon.Pun.UtilityScripts.OnClickRpc Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::$this
OnClickRpc_t2528495255 * ___U24this_3;
// System.Object Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::$current
RuntimeObject * ___U24current_4;
// System.Boolean Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::$disposing
bool ___U24disposing_5;
// System.Int32 Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::$PC
int32_t ___U24PC_6;
public:
inline static int32_t get_offset_of_U3CwasEmissiveU3E__0_0() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U3CwasEmissiveU3E__0_0)); }
inline bool get_U3CwasEmissiveU3E__0_0() const { return ___U3CwasEmissiveU3E__0_0; }
inline bool* get_address_of_U3CwasEmissiveU3E__0_0() { return &___U3CwasEmissiveU3E__0_0; }
inline void set_U3CwasEmissiveU3E__0_0(bool value)
{
___U3CwasEmissiveU3E__0_0 = value;
}
inline static int32_t get_offset_of_U3CfU3E__1_1() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U3CfU3E__1_1)); }
inline float get_U3CfU3E__1_1() const { return ___U3CfU3E__1_1; }
inline float* get_address_of_U3CfU3E__1_1() { return &___U3CfU3E__1_1; }
inline void set_U3CfU3E__1_1(float value)
{
___U3CfU3E__1_1 = value;
}
inline static int32_t get_offset_of_U3ClerpedU3E__2_2() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U3ClerpedU3E__2_2)); }
inline Color_t2555686324 get_U3ClerpedU3E__2_2() const { return ___U3ClerpedU3E__2_2; }
inline Color_t2555686324 * get_address_of_U3ClerpedU3E__2_2() { return &___U3ClerpedU3E__2_2; }
inline void set_U3ClerpedU3E__2_2(Color_t2555686324 value)
{
___U3ClerpedU3E__2_2 = value;
}
inline static int32_t get_offset_of_U24this_3() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U24this_3)); }
inline OnClickRpc_t2528495255 * get_U24this_3() const { return ___U24this_3; }
inline OnClickRpc_t2528495255 ** get_address_of_U24this_3() { return &___U24this_3; }
inline void set_U24this_3(OnClickRpc_t2528495255 * value)
{
___U24this_3 = value;
Il2CppCodeGenWriteBarrier((&___U24this_3), value);
}
inline static int32_t get_offset_of_U24current_4() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U24current_4)); }
inline RuntimeObject * get_U24current_4() const { return ___U24current_4; }
inline RuntimeObject ** get_address_of_U24current_4() { return &___U24current_4; }
inline void set_U24current_4(RuntimeObject * value)
{
___U24current_4 = value;
Il2CppCodeGenWriteBarrier((&___U24current_4), value);
}
inline static int32_t get_offset_of_U24disposing_5() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U24disposing_5)); }
inline bool get_U24disposing_5() const { return ___U24disposing_5; }
inline bool* get_address_of_U24disposing_5() { return &___U24disposing_5; }
inline void set_U24disposing_5(bool value)
{
___U24disposing_5 = value;
}
inline static int32_t get_offset_of_U24PC_6() { return static_cast<int32_t>(offsetof(U3CClickFlashU3Ec__Iterator0_t700316031, ___U24PC_6)); }
inline int32_t get_U24PC_6() const { return ___U24PC_6; }
inline int32_t* get_address_of_U24PC_6() { return &___U24PC_6; }
inline void set_U24PC_6(int32_t value)
{
___U24PC_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CCLICKFLASHU3EC__ITERATOR0_T700316031_H
#ifndef TEAM_T3101236044_H
#define TEAM_T3101236044_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PunTeams/Team
struct Team_t3101236044
{
public:
// System.Byte Photon.Pun.UtilityScripts.PunTeams/Team::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(Team_t3101236044, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEAM_T3101236044_H
#ifndef TABCHANGEEVENT_T3080003849_H
#define TABCHANGEEVENT_T3080003849_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TabViewManager/TabChangeEvent
struct TabChangeEvent_t3080003849 : public UnityEvent_1_t2729110193
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TABCHANGEEVENT_T3080003849_H
#ifndef VIEWSYNCHRONIZATION_T3389619343_H
#define VIEWSYNCHRONIZATION_T3389619343_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.ViewSynchronization
struct ViewSynchronization_t3389619343
{
public:
// System.Int32 Photon.Pun.ViewSynchronization::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ViewSynchronization_t3389619343, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VIEWSYNCHRONIZATION_T3389619343_H
#ifndef AUTHMODEOPTION_T817753328_H
#define AUTHMODEOPTION_T817753328_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.AuthModeOption
struct AuthModeOption_t817753328
{
public:
// System.Int32 Photon.Realtime.AuthModeOption::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(AuthModeOption_t817753328, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHMODEOPTION_T817753328_H
#ifndef CLIENTSTATE_T741254012_H
#define CLIENTSTATE_T741254012_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.ClientState
struct ClientState_t741254012
{
public:
// System.Int32 Photon.Realtime.ClientState::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ClientState_t741254012, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLIENTSTATE_T741254012_H
#ifndef CUSTOMAUTHENTICATIONTYPE_T1748199716_H
#define CUSTOMAUTHENTICATIONTYPE_T1748199716_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.CustomAuthenticationType
struct CustomAuthenticationType_t1748199716
{
public:
// System.Byte Photon.Realtime.CustomAuthenticationType::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(CustomAuthenticationType_t1748199716, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CUSTOMAUTHENTICATIONTYPE_T1748199716_H
#ifndef DISCONNECTCAUSE_T3734433884_H
#define DISCONNECTCAUSE_T3734433884_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.DisconnectCause
struct DisconnectCause_t3734433884
{
public:
// System.Int32 Photon.Realtime.DisconnectCause::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(DisconnectCause_t3734433884, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DISCONNECTCAUSE_T3734433884_H
#ifndef ENCRYPTIONMODE_T2938293004_H
#define ENCRYPTIONMODE_T2938293004_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.EncryptionMode
struct EncryptionMode_t2938293004
{
public:
// System.Int32 Photon.Realtime.EncryptionMode::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(EncryptionMode_t2938293004, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ENCRYPTIONMODE_T2938293004_H
#ifndef EVENTCACHING_T3084913566_H
#define EVENTCACHING_T3084913566_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.EventCaching
struct EventCaching_t3084913566
{
public:
// System.Byte Photon.Realtime.EventCaching::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(EventCaching_t3084913566, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTCACHING_T3084913566_H
#ifndef JOINTYPE_T4013737574_H
#define JOINTYPE_T4013737574_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.JoinType
struct JoinType_t4013737574
{
public:
// System.Int32 Photon.Realtime.JoinType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(JoinType_t4013737574, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // JOINTYPE_T4013737574_H
#ifndef LOBBYTYPE_T2542311561_H
#define LOBBYTYPE_T2542311561_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.LobbyType
struct LobbyType_t2542311561
{
public:
// System.Byte Photon.Realtime.LobbyType::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(LobbyType_t2542311561, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOBBYTYPE_T2542311561_H
#ifndef RECEIVERGROUP_T2967785505_H
#define RECEIVERGROUP_T2967785505_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.ReceiverGroup
struct ReceiverGroup_t2967785505
{
public:
// System.Byte Photon.Realtime.ReceiverGroup::value__
uint8_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ReceiverGroup_t2967785505, ___value___1)); }
inline uint8_t get_value___1() const { return ___value___1; }
inline uint8_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(uint8_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RECEIVERGROUP_T2967785505_H
#ifndef SERVERCONNECTION_T1897300512_H
#define SERVERCONNECTION_T1897300512_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.ServerConnection
struct ServerConnection_t1897300512
{
public:
// System.Int32 Photon.Realtime.ServerConnection::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ServerConnection_t1897300512, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SERVERCONNECTION_T1897300512_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::method_code
intptr_t ___method_code_5;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_6;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_7;
// System.DelegateData System.Delegate::data
DelegateData_t1677132599 * ___data_8;
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_method_code_5() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_code_5)); }
inline intptr_t get_method_code_5() const { return ___method_code_5; }
inline intptr_t* get_address_of_method_code_5() { return &___method_code_5; }
inline void set_method_code_5(intptr_t value)
{
___method_code_5 = value;
}
inline static int32_t get_offset_of_method_info_6() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___method_info_6)); }
inline MethodInfo_t * get_method_info_6() const { return ___method_info_6; }
inline MethodInfo_t ** get_address_of_method_info_6() { return &___method_info_6; }
inline void set_method_info_6(MethodInfo_t * value)
{
___method_info_6 = value;
Il2CppCodeGenWriteBarrier((&___method_info_6), value);
}
inline static int32_t get_offset_of_original_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___original_method_info_7)); }
inline MethodInfo_t * get_original_method_info_7() const { return ___original_method_info_7; }
inline MethodInfo_t ** get_address_of_original_method_info_7() { return &___original_method_info_7; }
inline void set_original_method_info_7(MethodInfo_t * value)
{
___original_method_info_7 = value;
Il2CppCodeGenWriteBarrier((&___original_method_info_7), value);
}
inline static int32_t get_offset_of_data_8() { return static_cast<int32_t>(offsetof(Delegate_t1188392813, ___data_8)); }
inline DelegateData_t1677132599 * get_data_8() const { return ___data_8; }
inline DelegateData_t1677132599 ** get_address_of_data_8() { return &___data_8; }
inline void set_data_8(DelegateData_t1677132599 * value)
{
___data_8 = value;
Il2CppCodeGenWriteBarrier((&___data_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DELEGATE_T1188392813_H
#ifndef NOTSUPPORTEDEXCEPTION_T1314879016_H
#define NOTSUPPORTEDEXCEPTION_T1314879016_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.NotSupportedException
struct NotSupportedException_t1314879016 : public SystemException_t176217640
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NOTSUPPORTEDEXCEPTION_T1314879016_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___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(BindingFlags_t2721792723, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BINDINGFLAGS_T2721792723_H
#ifndef RUNTIMEFIELDHANDLE_T1871169219_H
#define RUNTIMEFIELDHANDLE_T1871169219_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t1871169219
{
public:
// System.IntPtr System.RuntimeFieldHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeFieldHandle_t1871169219, ___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 // RUNTIMEFIELDHANDLE_T1871169219_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 BOUNDS_T2266837910_H
#define BOUNDS_T2266837910_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bounds
struct Bounds_t2266837910
{
public:
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
Vector3_t3722313464 ___m_Center_0;
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
Vector3_t3722313464 ___m_Extents_1;
public:
inline static int32_t get_offset_of_m_Center_0() { return static_cast<int32_t>(offsetof(Bounds_t2266837910, ___m_Center_0)); }
inline Vector3_t3722313464 get_m_Center_0() const { return ___m_Center_0; }
inline Vector3_t3722313464 * get_address_of_m_Center_0() { return &___m_Center_0; }
inline void set_m_Center_0(Vector3_t3722313464 value)
{
___m_Center_0 = value;
}
inline static int32_t get_offset_of_m_Extents_1() { return static_cast<int32_t>(offsetof(Bounds_t2266837910, ___m_Extents_1)); }
inline Vector3_t3722313464 get_m_Extents_1() const { return ___m_Extents_1; }
inline Vector3_t3722313464 * get_address_of_m_Extents_1() { return &___m_Extents_1; }
inline void set_m_Extents_1(Vector3_t3722313464 value)
{
___m_Extents_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOUNDS_T2266837910_H
#ifndef COROUTINE_T3829159415_H
#define COROUTINE_T3829159415_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Coroutine
struct Coroutine_t3829159415 : public YieldInstruction_t403091072
{
public:
// System.IntPtr UnityEngine.Coroutine::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(Coroutine_t3829159415, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.Coroutine
struct Coroutine_t3829159415_marshaled_pinvoke : public YieldInstruction_t403091072_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Coroutine
struct Coroutine_t3829159415_marshaled_com : public YieldInstruction_t403091072_marshaled_com
{
intptr_t ___m_Ptr_0;
};
#endif // COROUTINE_T3829159415_H
#ifndef INPUTBUTTON_T3704011348_H
#define INPUTBUTTON_T3704011348_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.PointerEventData/InputButton
struct InputButton_t3704011348
{
public:
// System.Int32 UnityEngine.EventSystems.PointerEventData/InputButton::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(InputButton_t3704011348, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INPUTBUTTON_T3704011348_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 TYPE_T3858932131_H
#define TYPE_T3858932131_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUILayoutOption/Type
struct Type_t3858932131
{
public:
// System.Int32 UnityEngine.GUILayoutOption/Type::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(Type_t3858932131, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPE_T3858932131_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___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(KeyCode_t2599294277, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYCODE_T2599294277_H
#ifndef OBJECT_T631007953_H
#define OBJECT_T631007953_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Object
struct Object_t631007953 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_t631007953, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_t631007953_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_t631007953_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_t631007953_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_t631007953_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
#endif // OBJECT_T631007953_H
#ifndef RECTOFFSET_T1369453676_H
#define RECTOFFSET_T1369453676_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RectOffset
struct RectOffset_t1369453676 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.RectOffset::m_Ptr
intptr_t ___m_Ptr_0;
// System.Object UnityEngine.RectOffset::m_SourceStyle
RuntimeObject * ___m_SourceStyle_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(RectOffset_t1369453676, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_SourceStyle_1() { return static_cast<int32_t>(offsetof(RectOffset_t1369453676, ___m_SourceStyle_1)); }
inline RuntimeObject * get_m_SourceStyle_1() const { return ___m_SourceStyle_1; }
inline RuntimeObject ** get_address_of_m_SourceStyle_1() { return &___m_SourceStyle_1; }
inline void set_m_SourceStyle_1(RuntimeObject * value)
{
___m_SourceStyle_1 = value;
Il2CppCodeGenWriteBarrier((&___m_SourceStyle_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.RectOffset
struct RectOffset_t1369453676_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
// Native definition for COM marshalling of UnityEngine.RectOffset
struct RectOffset_t1369453676_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
#endif // RECTOFFSET_T1369453676_H
#ifndef TEXTANCHOR_T2035777396_H
#define TEXTANCHOR_T2035777396_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.TextAnchor
struct TextAnchor_t2035777396
{
public:
// System.Int32 UnityEngine.TextAnchor::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(TextAnchor_t2035777396, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTANCHOR_T2035777396_H
#ifndef COLORBLOCK_T2139031574_H
#define COLORBLOCK_T2139031574_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ColorBlock
struct ColorBlock_t2139031574
{
public:
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_NormalColor
Color_t2555686324 ___m_NormalColor_0;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_HighlightedColor
Color_t2555686324 ___m_HighlightedColor_1;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_PressedColor
Color_t2555686324 ___m_PressedColor_2;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_DisabledColor
Color_t2555686324 ___m_DisabledColor_3;
// System.Single UnityEngine.UI.ColorBlock::m_ColorMultiplier
float ___m_ColorMultiplier_4;
// System.Single UnityEngine.UI.ColorBlock::m_FadeDuration
float ___m_FadeDuration_5;
public:
inline static int32_t get_offset_of_m_NormalColor_0() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_NormalColor_0)); }
inline Color_t2555686324 get_m_NormalColor_0() const { return ___m_NormalColor_0; }
inline Color_t2555686324 * get_address_of_m_NormalColor_0() { return &___m_NormalColor_0; }
inline void set_m_NormalColor_0(Color_t2555686324 value)
{
___m_NormalColor_0 = value;
}
inline static int32_t get_offset_of_m_HighlightedColor_1() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_HighlightedColor_1)); }
inline Color_t2555686324 get_m_HighlightedColor_1() const { return ___m_HighlightedColor_1; }
inline Color_t2555686324 * get_address_of_m_HighlightedColor_1() { return &___m_HighlightedColor_1; }
inline void set_m_HighlightedColor_1(Color_t2555686324 value)
{
___m_HighlightedColor_1 = value;
}
inline static int32_t get_offset_of_m_PressedColor_2() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_PressedColor_2)); }
inline Color_t2555686324 get_m_PressedColor_2() const { return ___m_PressedColor_2; }
inline Color_t2555686324 * get_address_of_m_PressedColor_2() { return &___m_PressedColor_2; }
inline void set_m_PressedColor_2(Color_t2555686324 value)
{
___m_PressedColor_2 = value;
}
inline static int32_t get_offset_of_m_DisabledColor_3() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_DisabledColor_3)); }
inline Color_t2555686324 get_m_DisabledColor_3() const { return ___m_DisabledColor_3; }
inline Color_t2555686324 * get_address_of_m_DisabledColor_3() { return &___m_DisabledColor_3; }
inline void set_m_DisabledColor_3(Color_t2555686324 value)
{
___m_DisabledColor_3 = value;
}
inline static int32_t get_offset_of_m_ColorMultiplier_4() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_ColorMultiplier_4)); }
inline float get_m_ColorMultiplier_4() const { return ___m_ColorMultiplier_4; }
inline float* get_address_of_m_ColorMultiplier_4() { return &___m_ColorMultiplier_4; }
inline void set_m_ColorMultiplier_4(float value)
{
___m_ColorMultiplier_4 = value;
}
inline static int32_t get_offset_of_m_FadeDuration_5() { return static_cast<int32_t>(offsetof(ColorBlock_t2139031574, ___m_FadeDuration_5)); }
inline float get_m_FadeDuration_5() const { return ___m_FadeDuration_5; }
inline float* get_address_of_m_FadeDuration_5() { return &___m_FadeDuration_5; }
inline void set_m_FadeDuration_5(float value)
{
___m_FadeDuration_5 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLORBLOCK_T2139031574_H
#ifndef MODE_T1066900953_H
#define MODE_T1066900953_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Navigation/Mode
struct Mode_t1066900953
{
public:
// System.Int32 UnityEngine.UI.Navigation/Mode::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(Mode_t1066900953, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MODE_T1066900953_H
#ifndef MOVEMENTTYPE_T4072922106_H
#define MOVEMENTTYPE_T4072922106_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ScrollRect/MovementType
struct MovementType_t4072922106
{
public:
// System.Int32 UnityEngine.UI.ScrollRect/MovementType::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(MovementType_t4072922106, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MOVEMENTTYPE_T4072922106_H
#ifndef SCROLLBARVISIBILITY_T705693775_H
#define SCROLLBARVISIBILITY_T705693775_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ScrollRect/ScrollbarVisibility
struct ScrollbarVisibility_t705693775
{
public:
// System.Int32 UnityEngine.UI.ScrollRect/ScrollbarVisibility::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ScrollbarVisibility_t705693775, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SCROLLBARVISIBILITY_T705693775_H
#ifndef SELECTIONSTATE_T2656606514_H
#define SELECTIONSTATE_T2656606514_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Selectable/SelectionState
struct SelectionState_t2656606514
{
public:
// System.Int32 UnityEngine.UI.Selectable/SelectionState::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(SelectionState_t2656606514, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SELECTIONSTATE_T2656606514_H
#ifndef TRANSITION_T1769908631_H
#define TRANSITION_T1769908631_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Selectable/Transition
struct Transition_t1769908631
{
public:
// System.Int32 UnityEngine.UI.Selectable/Transition::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(Transition_t1769908631, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TRANSITION_T1769908631_H
#ifndef TOGGLEEVENT_T1873685584_H
#define TOGGLEEVENT_T1873685584_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Toggle/ToggleEvent
struct ToggleEvent_t1873685584 : public UnityEvent_1_t978947469
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TOGGLEEVENT_T1873685584_H
#ifndef TOGGLETRANSITION_T3587297765_H
#define TOGGLETRANSITION_T3587297765_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Toggle/ToggleTransition
struct ToggleTransition_t3587297765
{
public:
// System.Int32 UnityEngine.UI.Toggle/ToggleTransition::value__
int32_t ___value___1;
public:
inline static int32_t get_offset_of_value___1() { return static_cast<int32_t>(offsetof(ToggleTransition_t3587297765, ___value___1)); }
inline int32_t get_value___1() const { return ___value___1; }
inline int32_t* get_address_of_value___1() { return &___value___1; }
inline void set_value___1(int32_t value)
{
___value___1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TOGGLETRANSITION_T3587297765_H
#ifndef PHOTONPEER_T1608153861_H
#define PHOTONPEER_T1608153861_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.PhotonPeer
struct PhotonPeer_t1608153861 : public RuntimeObject
{
public:
// System.Int32 ExitGames.Client.Photon.PhotonPeer::<CommandBufferSize>k__BackingField
int32_t ___U3CCommandBufferSizeU3Ek__BackingField_0;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::<LimitOfUnreliableCommands>k__BackingField
int32_t ___U3CLimitOfUnreliableCommandsU3Ek__BackingField_1;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::WarningSize
int32_t ___WarningSize_2;
// System.Byte ExitGames.Client.Photon.PhotonPeer::ClientSdkId
uint8_t ___ClientSdkId_6;
// System.String ExitGames.Client.Photon.PhotonPeer::clientVersion
String_t* ___clientVersion_7;
// ExitGames.Client.Photon.SerializationProtocol ExitGames.Client.Photon.PhotonPeer::<SerializationProtocolType>k__BackingField
int32_t ___U3CSerializationProtocolTypeU3Ek__BackingField_8;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Type> ExitGames.Client.Photon.PhotonPeer::SocketImplementationConfig
Dictionary_2_t1253839074 * ___SocketImplementationConfig_9;
// System.Type ExitGames.Client.Photon.PhotonPeer::<SocketImplementation>k__BackingField
Type_t * ___U3CSocketImplementationU3Ek__BackingField_10;
// ExitGames.Client.Photon.DebugLevel ExitGames.Client.Photon.PhotonPeer::DebugOut
uint8_t ___DebugOut_11;
// ExitGames.Client.Photon.IPhotonPeerListener ExitGames.Client.Photon.PhotonPeer::<Listener>k__BackingField
RuntimeObject* ___U3CListenerU3Ek__BackingField_12;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::<EnableServerTracing>k__BackingField
bool ___U3CEnableServerTracingU3Ek__BackingField_13;
// System.Byte ExitGames.Client.Photon.PhotonPeer::quickResendAttempts
uint8_t ___quickResendAttempts_14;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::RhttpMinConnections
int32_t ___RhttpMinConnections_15;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::RhttpMaxConnections
int32_t ___RhttpMaxConnections_16;
// System.Byte ExitGames.Client.Photon.PhotonPeer::ChannelCount
uint8_t ___ChannelCount_17;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::crcEnabled
bool ___crcEnabled_18;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::SentCountAllowance
int32_t ___SentCountAllowance_19;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::TimePingInterval
int32_t ___TimePingInterval_20;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::DisconnectTimeout
int32_t ___DisconnectTimeout_21;
// ExitGames.Client.Photon.ConnectionProtocol ExitGames.Client.Photon.PhotonPeer::<TransportProtocol>k__BackingField
uint8_t ___U3CTransportProtocolU3Ek__BackingField_22;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::mtu
int32_t ___mtu_24;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::<IsSendingOnlyAcks>k__BackingField
bool ___U3CIsSendingOnlyAcksU3Ek__BackingField_25;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::RandomizeSequenceNumbers
bool ___RandomizeSequenceNumbers_27;
// System.Byte[] ExitGames.Client.Photon.PhotonPeer::RandomizedSequenceNumbers
ByteU5BU5D_t4116647657* ___RandomizedSequenceNumbers_28;
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::<TrafficStatsIncoming>k__BackingField
TrafficStats_t1302902347 * ___U3CTrafficStatsIncomingU3Ek__BackingField_29;
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::<TrafficStatsOutgoing>k__BackingField
TrafficStats_t1302902347 * ___U3CTrafficStatsOutgoingU3Ek__BackingField_30;
// ExitGames.Client.Photon.TrafficStatsGameLevel ExitGames.Client.Photon.PhotonPeer::<TrafficStatsGameLevel>k__BackingField
TrafficStatsGameLevel_t4013908777 * ___U3CTrafficStatsGameLevelU3Ek__BackingField_31;
// System.Diagnostics.Stopwatch ExitGames.Client.Photon.PhotonPeer::trafficStatsStopwatch
Stopwatch_t305734070 * ___trafficStatsStopwatch_32;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::trafficStatsEnabled
bool ___trafficStatsEnabled_33;
// ExitGames.Client.Photon.PeerBase ExitGames.Client.Photon.PhotonPeer::peerBase
PeerBase_t2956237011 * ___peerBase_34;
// System.Object ExitGames.Client.Photon.PhotonPeer::SendOutgoingLockObject
RuntimeObject * ___SendOutgoingLockObject_35;
// System.Object ExitGames.Client.Photon.PhotonPeer::DispatchLockObject
RuntimeObject * ___DispatchLockObject_36;
// System.Object ExitGames.Client.Photon.PhotonPeer::EnqueueLock
RuntimeObject * ___EnqueueLock_37;
// System.Byte[] ExitGames.Client.Photon.PhotonPeer::PayloadEncryptionSecret
ByteU5BU5D_t4116647657* ___PayloadEncryptionSecret_38;
// ExitGames.Client.Photon.EncryptorManaged.Encryptor ExitGames.Client.Photon.PhotonPeer::DgramEncryptor
Encryptor_t200327285 * ___DgramEncryptor_39;
// ExitGames.Client.Photon.EncryptorManaged.Decryptor ExitGames.Client.Photon.PhotonPeer::DgramDecryptor
Decryptor_t2116099858 * ___DgramDecryptor_40;
public:
inline static int32_t get_offset_of_U3CCommandBufferSizeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CCommandBufferSizeU3Ek__BackingField_0)); }
inline int32_t get_U3CCommandBufferSizeU3Ek__BackingField_0() const { return ___U3CCommandBufferSizeU3Ek__BackingField_0; }
inline int32_t* get_address_of_U3CCommandBufferSizeU3Ek__BackingField_0() { return &___U3CCommandBufferSizeU3Ek__BackingField_0; }
inline void set_U3CCommandBufferSizeU3Ek__BackingField_0(int32_t value)
{
___U3CCommandBufferSizeU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CLimitOfUnreliableCommandsU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CLimitOfUnreliableCommandsU3Ek__BackingField_1)); }
inline int32_t get_U3CLimitOfUnreliableCommandsU3Ek__BackingField_1() const { return ___U3CLimitOfUnreliableCommandsU3Ek__BackingField_1; }
inline int32_t* get_address_of_U3CLimitOfUnreliableCommandsU3Ek__BackingField_1() { return &___U3CLimitOfUnreliableCommandsU3Ek__BackingField_1; }
inline void set_U3CLimitOfUnreliableCommandsU3Ek__BackingField_1(int32_t value)
{
___U3CLimitOfUnreliableCommandsU3Ek__BackingField_1 = value;
}
inline static int32_t get_offset_of_WarningSize_2() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___WarningSize_2)); }
inline int32_t get_WarningSize_2() const { return ___WarningSize_2; }
inline int32_t* get_address_of_WarningSize_2() { return &___WarningSize_2; }
inline void set_WarningSize_2(int32_t value)
{
___WarningSize_2 = value;
}
inline static int32_t get_offset_of_ClientSdkId_6() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___ClientSdkId_6)); }
inline uint8_t get_ClientSdkId_6() const { return ___ClientSdkId_6; }
inline uint8_t* get_address_of_ClientSdkId_6() { return &___ClientSdkId_6; }
inline void set_ClientSdkId_6(uint8_t value)
{
___ClientSdkId_6 = value;
}
inline static int32_t get_offset_of_clientVersion_7() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___clientVersion_7)); }
inline String_t* get_clientVersion_7() const { return ___clientVersion_7; }
inline String_t** get_address_of_clientVersion_7() { return &___clientVersion_7; }
inline void set_clientVersion_7(String_t* value)
{
___clientVersion_7 = value;
Il2CppCodeGenWriteBarrier((&___clientVersion_7), value);
}
inline static int32_t get_offset_of_U3CSerializationProtocolTypeU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CSerializationProtocolTypeU3Ek__BackingField_8)); }
inline int32_t get_U3CSerializationProtocolTypeU3Ek__BackingField_8() const { return ___U3CSerializationProtocolTypeU3Ek__BackingField_8; }
inline int32_t* get_address_of_U3CSerializationProtocolTypeU3Ek__BackingField_8() { return &___U3CSerializationProtocolTypeU3Ek__BackingField_8; }
inline void set_U3CSerializationProtocolTypeU3Ek__BackingField_8(int32_t value)
{
___U3CSerializationProtocolTypeU3Ek__BackingField_8 = value;
}
inline static int32_t get_offset_of_SocketImplementationConfig_9() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___SocketImplementationConfig_9)); }
inline Dictionary_2_t1253839074 * get_SocketImplementationConfig_9() const { return ___SocketImplementationConfig_9; }
inline Dictionary_2_t1253839074 ** get_address_of_SocketImplementationConfig_9() { return &___SocketImplementationConfig_9; }
inline void set_SocketImplementationConfig_9(Dictionary_2_t1253839074 * value)
{
___SocketImplementationConfig_9 = value;
Il2CppCodeGenWriteBarrier((&___SocketImplementationConfig_9), value);
}
inline static int32_t get_offset_of_U3CSocketImplementationU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CSocketImplementationU3Ek__BackingField_10)); }
inline Type_t * get_U3CSocketImplementationU3Ek__BackingField_10() const { return ___U3CSocketImplementationU3Ek__BackingField_10; }
inline Type_t ** get_address_of_U3CSocketImplementationU3Ek__BackingField_10() { return &___U3CSocketImplementationU3Ek__BackingField_10; }
inline void set_U3CSocketImplementationU3Ek__BackingField_10(Type_t * value)
{
___U3CSocketImplementationU3Ek__BackingField_10 = value;
Il2CppCodeGenWriteBarrier((&___U3CSocketImplementationU3Ek__BackingField_10), value);
}
inline static int32_t get_offset_of_DebugOut_11() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___DebugOut_11)); }
inline uint8_t get_DebugOut_11() const { return ___DebugOut_11; }
inline uint8_t* get_address_of_DebugOut_11() { return &___DebugOut_11; }
inline void set_DebugOut_11(uint8_t value)
{
___DebugOut_11 = value;
}
inline static int32_t get_offset_of_U3CListenerU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CListenerU3Ek__BackingField_12)); }
inline RuntimeObject* get_U3CListenerU3Ek__BackingField_12() const { return ___U3CListenerU3Ek__BackingField_12; }
inline RuntimeObject** get_address_of_U3CListenerU3Ek__BackingField_12() { return &___U3CListenerU3Ek__BackingField_12; }
inline void set_U3CListenerU3Ek__BackingField_12(RuntimeObject* value)
{
___U3CListenerU3Ek__BackingField_12 = value;
Il2CppCodeGenWriteBarrier((&___U3CListenerU3Ek__BackingField_12), value);
}
inline static int32_t get_offset_of_U3CEnableServerTracingU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CEnableServerTracingU3Ek__BackingField_13)); }
inline bool get_U3CEnableServerTracingU3Ek__BackingField_13() const { return ___U3CEnableServerTracingU3Ek__BackingField_13; }
inline bool* get_address_of_U3CEnableServerTracingU3Ek__BackingField_13() { return &___U3CEnableServerTracingU3Ek__BackingField_13; }
inline void set_U3CEnableServerTracingU3Ek__BackingField_13(bool value)
{
___U3CEnableServerTracingU3Ek__BackingField_13 = value;
}
inline static int32_t get_offset_of_quickResendAttempts_14() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___quickResendAttempts_14)); }
inline uint8_t get_quickResendAttempts_14() const { return ___quickResendAttempts_14; }
inline uint8_t* get_address_of_quickResendAttempts_14() { return &___quickResendAttempts_14; }
inline void set_quickResendAttempts_14(uint8_t value)
{
___quickResendAttempts_14 = value;
}
inline static int32_t get_offset_of_RhttpMinConnections_15() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___RhttpMinConnections_15)); }
inline int32_t get_RhttpMinConnections_15() const { return ___RhttpMinConnections_15; }
inline int32_t* get_address_of_RhttpMinConnections_15() { return &___RhttpMinConnections_15; }
inline void set_RhttpMinConnections_15(int32_t value)
{
___RhttpMinConnections_15 = value;
}
inline static int32_t get_offset_of_RhttpMaxConnections_16() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___RhttpMaxConnections_16)); }
inline int32_t get_RhttpMaxConnections_16() const { return ___RhttpMaxConnections_16; }
inline int32_t* get_address_of_RhttpMaxConnections_16() { return &___RhttpMaxConnections_16; }
inline void set_RhttpMaxConnections_16(int32_t value)
{
___RhttpMaxConnections_16 = value;
}
inline static int32_t get_offset_of_ChannelCount_17() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___ChannelCount_17)); }
inline uint8_t get_ChannelCount_17() const { return ___ChannelCount_17; }
inline uint8_t* get_address_of_ChannelCount_17() { return &___ChannelCount_17; }
inline void set_ChannelCount_17(uint8_t value)
{
___ChannelCount_17 = value;
}
inline static int32_t get_offset_of_crcEnabled_18() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___crcEnabled_18)); }
inline bool get_crcEnabled_18() const { return ___crcEnabled_18; }
inline bool* get_address_of_crcEnabled_18() { return &___crcEnabled_18; }
inline void set_crcEnabled_18(bool value)
{
___crcEnabled_18 = value;
}
inline static int32_t get_offset_of_SentCountAllowance_19() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___SentCountAllowance_19)); }
inline int32_t get_SentCountAllowance_19() const { return ___SentCountAllowance_19; }
inline int32_t* get_address_of_SentCountAllowance_19() { return &___SentCountAllowance_19; }
inline void set_SentCountAllowance_19(int32_t value)
{
___SentCountAllowance_19 = value;
}
inline static int32_t get_offset_of_TimePingInterval_20() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___TimePingInterval_20)); }
inline int32_t get_TimePingInterval_20() const { return ___TimePingInterval_20; }
inline int32_t* get_address_of_TimePingInterval_20() { return &___TimePingInterval_20; }
inline void set_TimePingInterval_20(int32_t value)
{
___TimePingInterval_20 = value;
}
inline static int32_t get_offset_of_DisconnectTimeout_21() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___DisconnectTimeout_21)); }
inline int32_t get_DisconnectTimeout_21() const { return ___DisconnectTimeout_21; }
inline int32_t* get_address_of_DisconnectTimeout_21() { return &___DisconnectTimeout_21; }
inline void set_DisconnectTimeout_21(int32_t value)
{
___DisconnectTimeout_21 = value;
}
inline static int32_t get_offset_of_U3CTransportProtocolU3Ek__BackingField_22() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CTransportProtocolU3Ek__BackingField_22)); }
inline uint8_t get_U3CTransportProtocolU3Ek__BackingField_22() const { return ___U3CTransportProtocolU3Ek__BackingField_22; }
inline uint8_t* get_address_of_U3CTransportProtocolU3Ek__BackingField_22() { return &___U3CTransportProtocolU3Ek__BackingField_22; }
inline void set_U3CTransportProtocolU3Ek__BackingField_22(uint8_t value)
{
___U3CTransportProtocolU3Ek__BackingField_22 = value;
}
inline static int32_t get_offset_of_mtu_24() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___mtu_24)); }
inline int32_t get_mtu_24() const { return ___mtu_24; }
inline int32_t* get_address_of_mtu_24() { return &___mtu_24; }
inline void set_mtu_24(int32_t value)
{
___mtu_24 = value;
}
inline static int32_t get_offset_of_U3CIsSendingOnlyAcksU3Ek__BackingField_25() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CIsSendingOnlyAcksU3Ek__BackingField_25)); }
inline bool get_U3CIsSendingOnlyAcksU3Ek__BackingField_25() const { return ___U3CIsSendingOnlyAcksU3Ek__BackingField_25; }
inline bool* get_address_of_U3CIsSendingOnlyAcksU3Ek__BackingField_25() { return &___U3CIsSendingOnlyAcksU3Ek__BackingField_25; }
inline void set_U3CIsSendingOnlyAcksU3Ek__BackingField_25(bool value)
{
___U3CIsSendingOnlyAcksU3Ek__BackingField_25 = value;
}
inline static int32_t get_offset_of_RandomizeSequenceNumbers_27() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___RandomizeSequenceNumbers_27)); }
inline bool get_RandomizeSequenceNumbers_27() const { return ___RandomizeSequenceNumbers_27; }
inline bool* get_address_of_RandomizeSequenceNumbers_27() { return &___RandomizeSequenceNumbers_27; }
inline void set_RandomizeSequenceNumbers_27(bool value)
{
___RandomizeSequenceNumbers_27 = value;
}
inline static int32_t get_offset_of_RandomizedSequenceNumbers_28() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___RandomizedSequenceNumbers_28)); }
inline ByteU5BU5D_t4116647657* get_RandomizedSequenceNumbers_28() const { return ___RandomizedSequenceNumbers_28; }
inline ByteU5BU5D_t4116647657** get_address_of_RandomizedSequenceNumbers_28() { return &___RandomizedSequenceNumbers_28; }
inline void set_RandomizedSequenceNumbers_28(ByteU5BU5D_t4116647657* value)
{
___RandomizedSequenceNumbers_28 = value;
Il2CppCodeGenWriteBarrier((&___RandomizedSequenceNumbers_28), value);
}
inline static int32_t get_offset_of_U3CTrafficStatsIncomingU3Ek__BackingField_29() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CTrafficStatsIncomingU3Ek__BackingField_29)); }
inline TrafficStats_t1302902347 * get_U3CTrafficStatsIncomingU3Ek__BackingField_29() const { return ___U3CTrafficStatsIncomingU3Ek__BackingField_29; }
inline TrafficStats_t1302902347 ** get_address_of_U3CTrafficStatsIncomingU3Ek__BackingField_29() { return &___U3CTrafficStatsIncomingU3Ek__BackingField_29; }
inline void set_U3CTrafficStatsIncomingU3Ek__BackingField_29(TrafficStats_t1302902347 * value)
{
___U3CTrafficStatsIncomingU3Ek__BackingField_29 = value;
Il2CppCodeGenWriteBarrier((&___U3CTrafficStatsIncomingU3Ek__BackingField_29), value);
}
inline static int32_t get_offset_of_U3CTrafficStatsOutgoingU3Ek__BackingField_30() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CTrafficStatsOutgoingU3Ek__BackingField_30)); }
inline TrafficStats_t1302902347 * get_U3CTrafficStatsOutgoingU3Ek__BackingField_30() const { return ___U3CTrafficStatsOutgoingU3Ek__BackingField_30; }
inline TrafficStats_t1302902347 ** get_address_of_U3CTrafficStatsOutgoingU3Ek__BackingField_30() { return &___U3CTrafficStatsOutgoingU3Ek__BackingField_30; }
inline void set_U3CTrafficStatsOutgoingU3Ek__BackingField_30(TrafficStats_t1302902347 * value)
{
___U3CTrafficStatsOutgoingU3Ek__BackingField_30 = value;
Il2CppCodeGenWriteBarrier((&___U3CTrafficStatsOutgoingU3Ek__BackingField_30), value);
}
inline static int32_t get_offset_of_U3CTrafficStatsGameLevelU3Ek__BackingField_31() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___U3CTrafficStatsGameLevelU3Ek__BackingField_31)); }
inline TrafficStatsGameLevel_t4013908777 * get_U3CTrafficStatsGameLevelU3Ek__BackingField_31() const { return ___U3CTrafficStatsGameLevelU3Ek__BackingField_31; }
inline TrafficStatsGameLevel_t4013908777 ** get_address_of_U3CTrafficStatsGameLevelU3Ek__BackingField_31() { return &___U3CTrafficStatsGameLevelU3Ek__BackingField_31; }
inline void set_U3CTrafficStatsGameLevelU3Ek__BackingField_31(TrafficStatsGameLevel_t4013908777 * value)
{
___U3CTrafficStatsGameLevelU3Ek__BackingField_31 = value;
Il2CppCodeGenWriteBarrier((&___U3CTrafficStatsGameLevelU3Ek__BackingField_31), value);
}
inline static int32_t get_offset_of_trafficStatsStopwatch_32() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___trafficStatsStopwatch_32)); }
inline Stopwatch_t305734070 * get_trafficStatsStopwatch_32() const { return ___trafficStatsStopwatch_32; }
inline Stopwatch_t305734070 ** get_address_of_trafficStatsStopwatch_32() { return &___trafficStatsStopwatch_32; }
inline void set_trafficStatsStopwatch_32(Stopwatch_t305734070 * value)
{
___trafficStatsStopwatch_32 = value;
Il2CppCodeGenWriteBarrier((&___trafficStatsStopwatch_32), value);
}
inline static int32_t get_offset_of_trafficStatsEnabled_33() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___trafficStatsEnabled_33)); }
inline bool get_trafficStatsEnabled_33() const { return ___trafficStatsEnabled_33; }
inline bool* get_address_of_trafficStatsEnabled_33() { return &___trafficStatsEnabled_33; }
inline void set_trafficStatsEnabled_33(bool value)
{
___trafficStatsEnabled_33 = value;
}
inline static int32_t get_offset_of_peerBase_34() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___peerBase_34)); }
inline PeerBase_t2956237011 * get_peerBase_34() const { return ___peerBase_34; }
inline PeerBase_t2956237011 ** get_address_of_peerBase_34() { return &___peerBase_34; }
inline void set_peerBase_34(PeerBase_t2956237011 * value)
{
___peerBase_34 = value;
Il2CppCodeGenWriteBarrier((&___peerBase_34), value);
}
inline static int32_t get_offset_of_SendOutgoingLockObject_35() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___SendOutgoingLockObject_35)); }
inline RuntimeObject * get_SendOutgoingLockObject_35() const { return ___SendOutgoingLockObject_35; }
inline RuntimeObject ** get_address_of_SendOutgoingLockObject_35() { return &___SendOutgoingLockObject_35; }
inline void set_SendOutgoingLockObject_35(RuntimeObject * value)
{
___SendOutgoingLockObject_35 = value;
Il2CppCodeGenWriteBarrier((&___SendOutgoingLockObject_35), value);
}
inline static int32_t get_offset_of_DispatchLockObject_36() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___DispatchLockObject_36)); }
inline RuntimeObject * get_DispatchLockObject_36() const { return ___DispatchLockObject_36; }
inline RuntimeObject ** get_address_of_DispatchLockObject_36() { return &___DispatchLockObject_36; }
inline void set_DispatchLockObject_36(RuntimeObject * value)
{
___DispatchLockObject_36 = value;
Il2CppCodeGenWriteBarrier((&___DispatchLockObject_36), value);
}
inline static int32_t get_offset_of_EnqueueLock_37() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___EnqueueLock_37)); }
inline RuntimeObject * get_EnqueueLock_37() const { return ___EnqueueLock_37; }
inline RuntimeObject ** get_address_of_EnqueueLock_37() { return &___EnqueueLock_37; }
inline void set_EnqueueLock_37(RuntimeObject * value)
{
___EnqueueLock_37 = value;
Il2CppCodeGenWriteBarrier((&___EnqueueLock_37), value);
}
inline static int32_t get_offset_of_PayloadEncryptionSecret_38() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___PayloadEncryptionSecret_38)); }
inline ByteU5BU5D_t4116647657* get_PayloadEncryptionSecret_38() const { return ___PayloadEncryptionSecret_38; }
inline ByteU5BU5D_t4116647657** get_address_of_PayloadEncryptionSecret_38() { return &___PayloadEncryptionSecret_38; }
inline void set_PayloadEncryptionSecret_38(ByteU5BU5D_t4116647657* value)
{
___PayloadEncryptionSecret_38 = value;
Il2CppCodeGenWriteBarrier((&___PayloadEncryptionSecret_38), value);
}
inline static int32_t get_offset_of_DgramEncryptor_39() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___DgramEncryptor_39)); }
inline Encryptor_t200327285 * get_DgramEncryptor_39() const { return ___DgramEncryptor_39; }
inline Encryptor_t200327285 ** get_address_of_DgramEncryptor_39() { return &___DgramEncryptor_39; }
inline void set_DgramEncryptor_39(Encryptor_t200327285 * value)
{
___DgramEncryptor_39 = value;
Il2CppCodeGenWriteBarrier((&___DgramEncryptor_39), value);
}
inline static int32_t get_offset_of_DgramDecryptor_40() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861, ___DgramDecryptor_40)); }
inline Decryptor_t2116099858 * get_DgramDecryptor_40() const { return ___DgramDecryptor_40; }
inline Decryptor_t2116099858 ** get_address_of_DgramDecryptor_40() { return &___DgramDecryptor_40; }
inline void set_DgramDecryptor_40(Decryptor_t2116099858 * value)
{
___DgramDecryptor_40 = value;
Il2CppCodeGenWriteBarrier((&___DgramDecryptor_40), value);
}
};
struct PhotonPeer_t1608153861_StaticFields
{
public:
// System.Int32 ExitGames.Client.Photon.PhotonPeer::OutgoingStreamBufferSize
int32_t ___OutgoingStreamBufferSize_23;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::AsyncKeyExchange
bool ___AsyncKeyExchange_26;
public:
inline static int32_t get_offset_of_OutgoingStreamBufferSize_23() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861_StaticFields, ___OutgoingStreamBufferSize_23)); }
inline int32_t get_OutgoingStreamBufferSize_23() const { return ___OutgoingStreamBufferSize_23; }
inline int32_t* get_address_of_OutgoingStreamBufferSize_23() { return &___OutgoingStreamBufferSize_23; }
inline void set_OutgoingStreamBufferSize_23(int32_t value)
{
___OutgoingStreamBufferSize_23 = value;
}
inline static int32_t get_offset_of_AsyncKeyExchange_26() { return static_cast<int32_t>(offsetof(PhotonPeer_t1608153861_StaticFields, ___AsyncKeyExchange_26)); }
inline bool get_AsyncKeyExchange_26() const { return ___AsyncKeyExchange_26; }
inline bool* get_address_of_AsyncKeyExchange_26() { return &___AsyncKeyExchange_26; }
inline void set_AsyncKeyExchange_26(bool value)
{
___AsyncKeyExchange_26 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONPEER_T1608153861_H
#ifndef SENDOPTIONS_T967321410_H
#define SENDOPTIONS_T967321410_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// ExitGames.Client.Photon.SendOptions
struct SendOptions_t967321410
{
public:
// ExitGames.Client.Photon.DeliveryMode ExitGames.Client.Photon.SendOptions::DeliveryMode
int32_t ___DeliveryMode_2;
// System.Boolean ExitGames.Client.Photon.SendOptions::Encrypt
bool ___Encrypt_3;
// System.Byte ExitGames.Client.Photon.SendOptions::Channel
uint8_t ___Channel_4;
public:
inline static int32_t get_offset_of_DeliveryMode_2() { return static_cast<int32_t>(offsetof(SendOptions_t967321410, ___DeliveryMode_2)); }
inline int32_t get_DeliveryMode_2() const { return ___DeliveryMode_2; }
inline int32_t* get_address_of_DeliveryMode_2() { return &___DeliveryMode_2; }
inline void set_DeliveryMode_2(int32_t value)
{
___DeliveryMode_2 = value;
}
inline static int32_t get_offset_of_Encrypt_3() { return static_cast<int32_t>(offsetof(SendOptions_t967321410, ___Encrypt_3)); }
inline bool get_Encrypt_3() const { return ___Encrypt_3; }
inline bool* get_address_of_Encrypt_3() { return &___Encrypt_3; }
inline void set_Encrypt_3(bool value)
{
___Encrypt_3 = value;
}
inline static int32_t get_offset_of_Channel_4() { return static_cast<int32_t>(offsetof(SendOptions_t967321410, ___Channel_4)); }
inline uint8_t get_Channel_4() const { return ___Channel_4; }
inline uint8_t* get_address_of_Channel_4() { return &___Channel_4; }
inline void set_Channel_4(uint8_t value)
{
___Channel_4 = value;
}
};
struct SendOptions_t967321410_StaticFields
{
public:
// ExitGames.Client.Photon.SendOptions ExitGames.Client.Photon.SendOptions::SendReliable
SendOptions_t967321410 ___SendReliable_0;
// ExitGames.Client.Photon.SendOptions ExitGames.Client.Photon.SendOptions::SendUnreliable
SendOptions_t967321410 ___SendUnreliable_1;
public:
inline static int32_t get_offset_of_SendReliable_0() { return static_cast<int32_t>(offsetof(SendOptions_t967321410_StaticFields, ___SendReliable_0)); }
inline SendOptions_t967321410 get_SendReliable_0() const { return ___SendReliable_0; }
inline SendOptions_t967321410 * get_address_of_SendReliable_0() { return &___SendReliable_0; }
inline void set_SendReliable_0(SendOptions_t967321410 value)
{
___SendReliable_0 = value;
}
inline static int32_t get_offset_of_SendUnreliable_1() { return static_cast<int32_t>(offsetof(SendOptions_t967321410_StaticFields, ___SendUnreliable_1)); }
inline SendOptions_t967321410 get_SendUnreliable_1() const { return ___SendUnreliable_1; }
inline SendOptions_t967321410 * get_address_of_SendUnreliable_1() { return &___SendUnreliable_1; }
inline void set_SendUnreliable_1(SendOptions_t967321410 value)
{
___SendUnreliable_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of ExitGames.Client.Photon.SendOptions
struct SendOptions_t967321410_marshaled_pinvoke
{
int32_t ___DeliveryMode_2;
int32_t ___Encrypt_3;
uint8_t ___Channel_4;
};
// Native definition for COM marshalling of ExitGames.Client.Photon.SendOptions
struct SendOptions_t967321410_marshaled_com
{
int32_t ___DeliveryMode_2;
int32_t ___Encrypt_3;
uint8_t ___Channel_4;
};
#endif // SENDOPTIONS_T967321410_H
#ifndef PHOTONNETWORK_T3232838738_H
#define PHOTONNETWORK_T3232838738_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.PhotonNetwork
struct PhotonNetwork_t3232838738 : public RuntimeObject
{
public:
public:
};
struct PhotonNetwork_t3232838738_StaticFields
{
public:
// System.String Photon.Pun.PhotonNetwork::gameVersion
String_t* ___gameVersion_1;
// Photon.Pun.PhotonHandler Photon.Pun.PhotonNetwork::photonMono
PhotonHandler_t2009989172 * ___photonMono_2;
// Photon.Realtime.LoadBalancingClient Photon.Pun.PhotonNetwork::NetworkingClient
LoadBalancingClient_t609581828 * ___NetworkingClient_3;
// System.Int32 Photon.Pun.PhotonNetwork::MAX_VIEW_IDS
int32_t ___MAX_VIEW_IDS_4;
// Photon.Pun.ServerSettings Photon.Pun.PhotonNetwork::PhotonServerSettings
ServerSettings_t1942971328 * ___PhotonServerSettings_6;
// Photon.Pun.ConnectMethod Photon.Pun.PhotonNetwork::ConnectMethod
int32_t ___ConnectMethod_8;
// Photon.Pun.PunLogLevel Photon.Pun.PhotonNetwork::LogLevel
int32_t ___LogLevel_9;
// System.Single Photon.Pun.PhotonNetwork::PrecisionForVectorSynchronization
float ___PrecisionForVectorSynchronization_10;
// System.Single Photon.Pun.PhotonNetwork::PrecisionForQuaternionSynchronization
float ___PrecisionForQuaternionSynchronization_11;
// System.Single Photon.Pun.PhotonNetwork::PrecisionForFloatSynchronization
float ___PrecisionForFloatSynchronization_12;
// System.Boolean Photon.Pun.PhotonNetwork::offlineMode
bool ___offlineMode_13;
// Photon.Realtime.Room Photon.Pun.PhotonNetwork::offlineModeRoom
Room_t1409754143 * ___offlineModeRoom_14;
// System.Boolean Photon.Pun.PhotonNetwork::automaticallySyncScene
bool ___automaticallySyncScene_15;
// System.Int32 Photon.Pun.PhotonNetwork::sendFrequency
int32_t ___sendFrequency_16;
// System.Int32 Photon.Pun.PhotonNetwork::serializationFrequency
int32_t ___serializationFrequency_17;
// System.Boolean Photon.Pun.PhotonNetwork::isMessageQueueRunning
bool ___isMessageQueueRunning_18;
// System.Double Photon.Pun.PhotonNetwork::frametime
double ___frametime_19;
// System.Int32 Photon.Pun.PhotonNetwork::frame
int32_t ___frame_20;
// System.Diagnostics.Stopwatch Photon.Pun.PhotonNetwork::StartupStopwatch
Stopwatch_t305734070 * ___StartupStopwatch_21;
// System.Int32 Photon.Pun.PhotonNetwork::lastUsedViewSubId
int32_t ___lastUsedViewSubId_22;
// System.Int32 Photon.Pun.PhotonNetwork::lastUsedViewSubIdStatic
int32_t ___lastUsedViewSubIdStatic_23;
// System.Collections.Generic.HashSet`1<System.String> Photon.Pun.PhotonNetwork::PrefabsWithoutMagicCallback
HashSet_1_t412400163 * ___PrefabsWithoutMagicCallback_24;
// ExitGames.Client.Photon.Hashtable Photon.Pun.PhotonNetwork::SendInstantiateEvHashtable
Hashtable_t1048209202 * ___SendInstantiateEvHashtable_25;
// Photon.Realtime.RaiseEventOptions Photon.Pun.PhotonNetwork::SendInstantiateRaiseEventOptions
RaiseEventOptions_t4260424731 * ___SendInstantiateRaiseEventOptions_26;
// System.Collections.Generic.HashSet`1<System.Byte> Photon.Pun.PhotonNetwork::allowedReceivingGroups
HashSet_1_t3994213146 * ___allowedReceivingGroups_27;
// System.Collections.Generic.HashSet`1<System.Byte> Photon.Pun.PhotonNetwork::blockedSendingGroups
HashSet_1_t3994213146 * ___blockedSendingGroups_28;
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Pun.PhotonView> Photon.Pun.PhotonNetwork::photonViewList
Dictionary_2_t2573428915 * ___photonViewList_29;
// System.Action`2<Photon.Pun.PhotonView,Photon.Realtime.Player> Photon.Pun.PhotonNetwork::OnOwnershipRequestEv
Action_2_t2795769547 * ___OnOwnershipRequestEv_30;
// System.Action`2<Photon.Pun.PhotonView,Photon.Realtime.Player> Photon.Pun.PhotonNetwork::OnOwnershipTransferedEv
Action_2_t2795769547 * ___OnOwnershipTransferedEv_31;
// System.Byte Photon.Pun.PhotonNetwork::currentLevelPrefix
uint8_t ___currentLevelPrefix_32;
// System.Boolean Photon.Pun.PhotonNetwork::loadingLevelAndPausedNetwork
bool ___loadingLevelAndPausedNetwork_33;
// Photon.Pun.IPunPrefabPool Photon.Pun.PhotonNetwork::prefabPool
RuntimeObject* ___prefabPool_36;
// System.Boolean Photon.Pun.PhotonNetwork::UseRpcMonoBehaviourCache
bool ___UseRpcMonoBehaviourCache_37;
// System.Collections.Generic.Dictionary`2<System.Type,System.Collections.Generic.List`1<System.Reflection.MethodInfo>> Photon.Pun.PhotonNetwork::monoRPCMethodsCache
Dictionary_2_t1499080758 * ___monoRPCMethodsCache_38;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> Photon.Pun.PhotonNetwork::rpcShortcuts
Dictionary_2_t2736202052 * ___rpcShortcuts_39;
// UnityEngine.AsyncOperation Photon.Pun.PhotonNetwork::_AsyncLevelLoadingOperation
AsyncOperation_t1445031843 * ____AsyncLevelLoadingOperation_40;
// System.Single Photon.Pun.PhotonNetwork::_levelLoadingProgress
float ____levelLoadingProgress_41;
// ExitGames.Client.Photon.Hashtable Photon.Pun.PhotonNetwork::removeFilter
Hashtable_t1048209202 * ___removeFilter_42;
// ExitGames.Client.Photon.Hashtable Photon.Pun.PhotonNetwork::ServerCleanDestroyEvent
Hashtable_t1048209202 * ___ServerCleanDestroyEvent_43;
// Photon.Realtime.RaiseEventOptions Photon.Pun.PhotonNetwork::ServerCleanOptions
RaiseEventOptions_t4260424731 * ___ServerCleanOptions_44;
// ExitGames.Client.Photon.Hashtable Photon.Pun.PhotonNetwork::rpcFilterByViewId
Hashtable_t1048209202 * ___rpcFilterByViewId_45;
// Photon.Realtime.RaiseEventOptions Photon.Pun.PhotonNetwork::OpCleanRpcBufferOptions
RaiseEventOptions_t4260424731 * ___OpCleanRpcBufferOptions_46;
// ExitGames.Client.Photon.Hashtable Photon.Pun.PhotonNetwork::rpcEvent
Hashtable_t1048209202 * ___rpcEvent_47;
// Photon.Realtime.RaiseEventOptions Photon.Pun.PhotonNetwork::RpcOptionsToAll
RaiseEventOptions_t4260424731 * ___RpcOptionsToAll_48;
// System.Int32 Photon.Pun.PhotonNetwork::ObjectsInOneUpdate
int32_t ___ObjectsInOneUpdate_49;
// Photon.Pun.PhotonStream Photon.Pun.PhotonNetwork::serializeStreamOut
PhotonStream_t2658340202 * ___serializeStreamOut_50;
// Photon.Pun.PhotonStream Photon.Pun.PhotonNetwork::serializeStreamIn
PhotonStream_t2658340202 * ___serializeStreamIn_51;
// Photon.Realtime.RaiseEventOptions Photon.Pun.PhotonNetwork::serializeRaiseEvOptions
RaiseEventOptions_t4260424731 * ___serializeRaiseEvOptions_52;
// System.Collections.Generic.Dictionary`2<Photon.Pun.PhotonNetwork/RaiseEventBatch,Photon.Pun.PhotonNetwork/SerializeViewBatch> Photon.Pun.PhotonNetwork::serializeViewBatches
Dictionary_2_t784705653 * ___serializeViewBatches_53;
// Photon.Realtime.RegionHandler Photon.Pun.PhotonNetwork::_cachedRegionHandler
RegionHandler_t2691069734 * ____cachedRegionHandler_58;
// System.Func`2<Photon.Realtime.Player,System.Int32> Photon.Pun.PhotonNetwork::<>f__am$cache0
Func_2_t3125806854 * ___U3CU3Ef__amU24cache0_59;
// System.Func`2<Photon.Realtime.Player,System.Int32> Photon.Pun.PhotonNetwork::<>f__am$cache1
Func_2_t3125806854 * ___U3CU3Ef__amU24cache1_60;
// System.Func`2<Photon.Realtime.Player,System.Boolean> Photon.Pun.PhotonNetwork::<>f__am$cache2
Func_2_t272149066 * ___U3CU3Ef__amU24cache2_61;
// System.Action`1<ExitGames.Client.Photon.EventData> Photon.Pun.PhotonNetwork::<>f__mg$cache0
Action_1_t3900690969 * ___U3CU3Ef__mgU24cache0_62;
// System.Action`1<ExitGames.Client.Photon.OperationResponse> Photon.Pun.PhotonNetwork::<>f__mg$cache1
Action_1_t596095568 * ___U3CU3Ef__mgU24cache1_63;
// System.Func`2<Photon.Realtime.IConnectionCallbacks,System.String> Photon.Pun.PhotonNetwork::<>f__am$cache3
Func_2_t1183849258 * ___U3CU3Ef__amU24cache3_64;
// System.Action`1<Photon.Realtime.RegionHandler> Photon.Pun.PhotonNetwork::<>f__mg$cache2
Action_1_t2863537329 * ___U3CU3Ef__mgU24cache2_65;
public:
inline static int32_t get_offset_of_gameVersion_1() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___gameVersion_1)); }
inline String_t* get_gameVersion_1() const { return ___gameVersion_1; }
inline String_t** get_address_of_gameVersion_1() { return &___gameVersion_1; }
inline void set_gameVersion_1(String_t* value)
{
___gameVersion_1 = value;
Il2CppCodeGenWriteBarrier((&___gameVersion_1), value);
}
inline static int32_t get_offset_of_photonMono_2() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___photonMono_2)); }
inline PhotonHandler_t2009989172 * get_photonMono_2() const { return ___photonMono_2; }
inline PhotonHandler_t2009989172 ** get_address_of_photonMono_2() { return &___photonMono_2; }
inline void set_photonMono_2(PhotonHandler_t2009989172 * value)
{
___photonMono_2 = value;
Il2CppCodeGenWriteBarrier((&___photonMono_2), value);
}
inline static int32_t get_offset_of_NetworkingClient_3() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___NetworkingClient_3)); }
inline LoadBalancingClient_t609581828 * get_NetworkingClient_3() const { return ___NetworkingClient_3; }
inline LoadBalancingClient_t609581828 ** get_address_of_NetworkingClient_3() { return &___NetworkingClient_3; }
inline void set_NetworkingClient_3(LoadBalancingClient_t609581828 * value)
{
___NetworkingClient_3 = value;
Il2CppCodeGenWriteBarrier((&___NetworkingClient_3), value);
}
inline static int32_t get_offset_of_MAX_VIEW_IDS_4() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___MAX_VIEW_IDS_4)); }
inline int32_t get_MAX_VIEW_IDS_4() const { return ___MAX_VIEW_IDS_4; }
inline int32_t* get_address_of_MAX_VIEW_IDS_4() { return &___MAX_VIEW_IDS_4; }
inline void set_MAX_VIEW_IDS_4(int32_t value)
{
___MAX_VIEW_IDS_4 = value;
}
inline static int32_t get_offset_of_PhotonServerSettings_6() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___PhotonServerSettings_6)); }
inline ServerSettings_t1942971328 * get_PhotonServerSettings_6() const { return ___PhotonServerSettings_6; }
inline ServerSettings_t1942971328 ** get_address_of_PhotonServerSettings_6() { return &___PhotonServerSettings_6; }
inline void set_PhotonServerSettings_6(ServerSettings_t1942971328 * value)
{
___PhotonServerSettings_6 = value;
Il2CppCodeGenWriteBarrier((&___PhotonServerSettings_6), value);
}
inline static int32_t get_offset_of_ConnectMethod_8() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___ConnectMethod_8)); }
inline int32_t get_ConnectMethod_8() const { return ___ConnectMethod_8; }
inline int32_t* get_address_of_ConnectMethod_8() { return &___ConnectMethod_8; }
inline void set_ConnectMethod_8(int32_t value)
{
___ConnectMethod_8 = value;
}
inline static int32_t get_offset_of_LogLevel_9() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___LogLevel_9)); }
inline int32_t get_LogLevel_9() const { return ___LogLevel_9; }
inline int32_t* get_address_of_LogLevel_9() { return &___LogLevel_9; }
inline void set_LogLevel_9(int32_t value)
{
___LogLevel_9 = value;
}
inline static int32_t get_offset_of_PrecisionForVectorSynchronization_10() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___PrecisionForVectorSynchronization_10)); }
inline float get_PrecisionForVectorSynchronization_10() const { return ___PrecisionForVectorSynchronization_10; }
inline float* get_address_of_PrecisionForVectorSynchronization_10() { return &___PrecisionForVectorSynchronization_10; }
inline void set_PrecisionForVectorSynchronization_10(float value)
{
___PrecisionForVectorSynchronization_10 = value;
}
inline static int32_t get_offset_of_PrecisionForQuaternionSynchronization_11() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___PrecisionForQuaternionSynchronization_11)); }
inline float get_PrecisionForQuaternionSynchronization_11() const { return ___PrecisionForQuaternionSynchronization_11; }
inline float* get_address_of_PrecisionForQuaternionSynchronization_11() { return &___PrecisionForQuaternionSynchronization_11; }
inline void set_PrecisionForQuaternionSynchronization_11(float value)
{
___PrecisionForQuaternionSynchronization_11 = value;
}
inline static int32_t get_offset_of_PrecisionForFloatSynchronization_12() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___PrecisionForFloatSynchronization_12)); }
inline float get_PrecisionForFloatSynchronization_12() const { return ___PrecisionForFloatSynchronization_12; }
inline float* get_address_of_PrecisionForFloatSynchronization_12() { return &___PrecisionForFloatSynchronization_12; }
inline void set_PrecisionForFloatSynchronization_12(float value)
{
___PrecisionForFloatSynchronization_12 = value;
}
inline static int32_t get_offset_of_offlineMode_13() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___offlineMode_13)); }
inline bool get_offlineMode_13() const { return ___offlineMode_13; }
inline bool* get_address_of_offlineMode_13() { return &___offlineMode_13; }
inline void set_offlineMode_13(bool value)
{
___offlineMode_13 = value;
}
inline static int32_t get_offset_of_offlineModeRoom_14() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___offlineModeRoom_14)); }
inline Room_t1409754143 * get_offlineModeRoom_14() const { return ___offlineModeRoom_14; }
inline Room_t1409754143 ** get_address_of_offlineModeRoom_14() { return &___offlineModeRoom_14; }
inline void set_offlineModeRoom_14(Room_t1409754143 * value)
{
___offlineModeRoom_14 = value;
Il2CppCodeGenWriteBarrier((&___offlineModeRoom_14), value);
}
inline static int32_t get_offset_of_automaticallySyncScene_15() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___automaticallySyncScene_15)); }
inline bool get_automaticallySyncScene_15() const { return ___automaticallySyncScene_15; }
inline bool* get_address_of_automaticallySyncScene_15() { return &___automaticallySyncScene_15; }
inline void set_automaticallySyncScene_15(bool value)
{
___automaticallySyncScene_15 = value;
}
inline static int32_t get_offset_of_sendFrequency_16() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___sendFrequency_16)); }
inline int32_t get_sendFrequency_16() const { return ___sendFrequency_16; }
inline int32_t* get_address_of_sendFrequency_16() { return &___sendFrequency_16; }
inline void set_sendFrequency_16(int32_t value)
{
___sendFrequency_16 = value;
}
inline static int32_t get_offset_of_serializationFrequency_17() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___serializationFrequency_17)); }
inline int32_t get_serializationFrequency_17() const { return ___serializationFrequency_17; }
inline int32_t* get_address_of_serializationFrequency_17() { return &___serializationFrequency_17; }
inline void set_serializationFrequency_17(int32_t value)
{
___serializationFrequency_17 = value;
}
inline static int32_t get_offset_of_isMessageQueueRunning_18() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___isMessageQueueRunning_18)); }
inline bool get_isMessageQueueRunning_18() const { return ___isMessageQueueRunning_18; }
inline bool* get_address_of_isMessageQueueRunning_18() { return &___isMessageQueueRunning_18; }
inline void set_isMessageQueueRunning_18(bool value)
{
___isMessageQueueRunning_18 = value;
}
inline static int32_t get_offset_of_frametime_19() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___frametime_19)); }
inline double get_frametime_19() const { return ___frametime_19; }
inline double* get_address_of_frametime_19() { return &___frametime_19; }
inline void set_frametime_19(double value)
{
___frametime_19 = value;
}
inline static int32_t get_offset_of_frame_20() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___frame_20)); }
inline int32_t get_frame_20() const { return ___frame_20; }
inline int32_t* get_address_of_frame_20() { return &___frame_20; }
inline void set_frame_20(int32_t value)
{
___frame_20 = value;
}
inline static int32_t get_offset_of_StartupStopwatch_21() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___StartupStopwatch_21)); }
inline Stopwatch_t305734070 * get_StartupStopwatch_21() const { return ___StartupStopwatch_21; }
inline Stopwatch_t305734070 ** get_address_of_StartupStopwatch_21() { return &___StartupStopwatch_21; }
inline void set_StartupStopwatch_21(Stopwatch_t305734070 * value)
{
___StartupStopwatch_21 = value;
Il2CppCodeGenWriteBarrier((&___StartupStopwatch_21), value);
}
inline static int32_t get_offset_of_lastUsedViewSubId_22() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___lastUsedViewSubId_22)); }
inline int32_t get_lastUsedViewSubId_22() const { return ___lastUsedViewSubId_22; }
inline int32_t* get_address_of_lastUsedViewSubId_22() { return &___lastUsedViewSubId_22; }
inline void set_lastUsedViewSubId_22(int32_t value)
{
___lastUsedViewSubId_22 = value;
}
inline static int32_t get_offset_of_lastUsedViewSubIdStatic_23() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___lastUsedViewSubIdStatic_23)); }
inline int32_t get_lastUsedViewSubIdStatic_23() const { return ___lastUsedViewSubIdStatic_23; }
inline int32_t* get_address_of_lastUsedViewSubIdStatic_23() { return &___lastUsedViewSubIdStatic_23; }
inline void set_lastUsedViewSubIdStatic_23(int32_t value)
{
___lastUsedViewSubIdStatic_23 = value;
}
inline static int32_t get_offset_of_PrefabsWithoutMagicCallback_24() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___PrefabsWithoutMagicCallback_24)); }
inline HashSet_1_t412400163 * get_PrefabsWithoutMagicCallback_24() const { return ___PrefabsWithoutMagicCallback_24; }
inline HashSet_1_t412400163 ** get_address_of_PrefabsWithoutMagicCallback_24() { return &___PrefabsWithoutMagicCallback_24; }
inline void set_PrefabsWithoutMagicCallback_24(HashSet_1_t412400163 * value)
{
___PrefabsWithoutMagicCallback_24 = value;
Il2CppCodeGenWriteBarrier((&___PrefabsWithoutMagicCallback_24), value);
}
inline static int32_t get_offset_of_SendInstantiateEvHashtable_25() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___SendInstantiateEvHashtable_25)); }
inline Hashtable_t1048209202 * get_SendInstantiateEvHashtable_25() const { return ___SendInstantiateEvHashtable_25; }
inline Hashtable_t1048209202 ** get_address_of_SendInstantiateEvHashtable_25() { return &___SendInstantiateEvHashtable_25; }
inline void set_SendInstantiateEvHashtable_25(Hashtable_t1048209202 * value)
{
___SendInstantiateEvHashtable_25 = value;
Il2CppCodeGenWriteBarrier((&___SendInstantiateEvHashtable_25), value);
}
inline static int32_t get_offset_of_SendInstantiateRaiseEventOptions_26() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___SendInstantiateRaiseEventOptions_26)); }
inline RaiseEventOptions_t4260424731 * get_SendInstantiateRaiseEventOptions_26() const { return ___SendInstantiateRaiseEventOptions_26; }
inline RaiseEventOptions_t4260424731 ** get_address_of_SendInstantiateRaiseEventOptions_26() { return &___SendInstantiateRaiseEventOptions_26; }
inline void set_SendInstantiateRaiseEventOptions_26(RaiseEventOptions_t4260424731 * value)
{
___SendInstantiateRaiseEventOptions_26 = value;
Il2CppCodeGenWriteBarrier((&___SendInstantiateRaiseEventOptions_26), value);
}
inline static int32_t get_offset_of_allowedReceivingGroups_27() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___allowedReceivingGroups_27)); }
inline HashSet_1_t3994213146 * get_allowedReceivingGroups_27() const { return ___allowedReceivingGroups_27; }
inline HashSet_1_t3994213146 ** get_address_of_allowedReceivingGroups_27() { return &___allowedReceivingGroups_27; }
inline void set_allowedReceivingGroups_27(HashSet_1_t3994213146 * value)
{
___allowedReceivingGroups_27 = value;
Il2CppCodeGenWriteBarrier((&___allowedReceivingGroups_27), value);
}
inline static int32_t get_offset_of_blockedSendingGroups_28() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___blockedSendingGroups_28)); }
inline HashSet_1_t3994213146 * get_blockedSendingGroups_28() const { return ___blockedSendingGroups_28; }
inline HashSet_1_t3994213146 ** get_address_of_blockedSendingGroups_28() { return &___blockedSendingGroups_28; }
inline void set_blockedSendingGroups_28(HashSet_1_t3994213146 * value)
{
___blockedSendingGroups_28 = value;
Il2CppCodeGenWriteBarrier((&___blockedSendingGroups_28), value);
}
inline static int32_t get_offset_of_photonViewList_29() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___photonViewList_29)); }
inline Dictionary_2_t2573428915 * get_photonViewList_29() const { return ___photonViewList_29; }
inline Dictionary_2_t2573428915 ** get_address_of_photonViewList_29() { return &___photonViewList_29; }
inline void set_photonViewList_29(Dictionary_2_t2573428915 * value)
{
___photonViewList_29 = value;
Il2CppCodeGenWriteBarrier((&___photonViewList_29), value);
}
inline static int32_t get_offset_of_OnOwnershipRequestEv_30() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___OnOwnershipRequestEv_30)); }
inline Action_2_t2795769547 * get_OnOwnershipRequestEv_30() const { return ___OnOwnershipRequestEv_30; }
inline Action_2_t2795769547 ** get_address_of_OnOwnershipRequestEv_30() { return &___OnOwnershipRequestEv_30; }
inline void set_OnOwnershipRequestEv_30(Action_2_t2795769547 * value)
{
___OnOwnershipRequestEv_30 = value;
Il2CppCodeGenWriteBarrier((&___OnOwnershipRequestEv_30), value);
}
inline static int32_t get_offset_of_OnOwnershipTransferedEv_31() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___OnOwnershipTransferedEv_31)); }
inline Action_2_t2795769547 * get_OnOwnershipTransferedEv_31() const { return ___OnOwnershipTransferedEv_31; }
inline Action_2_t2795769547 ** get_address_of_OnOwnershipTransferedEv_31() { return &___OnOwnershipTransferedEv_31; }
inline void set_OnOwnershipTransferedEv_31(Action_2_t2795769547 * value)
{
___OnOwnershipTransferedEv_31 = value;
Il2CppCodeGenWriteBarrier((&___OnOwnershipTransferedEv_31), value);
}
inline static int32_t get_offset_of_currentLevelPrefix_32() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___currentLevelPrefix_32)); }
inline uint8_t get_currentLevelPrefix_32() const { return ___currentLevelPrefix_32; }
inline uint8_t* get_address_of_currentLevelPrefix_32() { return &___currentLevelPrefix_32; }
inline void set_currentLevelPrefix_32(uint8_t value)
{
___currentLevelPrefix_32 = value;
}
inline static int32_t get_offset_of_loadingLevelAndPausedNetwork_33() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___loadingLevelAndPausedNetwork_33)); }
inline bool get_loadingLevelAndPausedNetwork_33() const { return ___loadingLevelAndPausedNetwork_33; }
inline bool* get_address_of_loadingLevelAndPausedNetwork_33() { return &___loadingLevelAndPausedNetwork_33; }
inline void set_loadingLevelAndPausedNetwork_33(bool value)
{
___loadingLevelAndPausedNetwork_33 = value;
}
inline static int32_t get_offset_of_prefabPool_36() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___prefabPool_36)); }
inline RuntimeObject* get_prefabPool_36() const { return ___prefabPool_36; }
inline RuntimeObject** get_address_of_prefabPool_36() { return &___prefabPool_36; }
inline void set_prefabPool_36(RuntimeObject* value)
{
___prefabPool_36 = value;
Il2CppCodeGenWriteBarrier((&___prefabPool_36), value);
}
inline static int32_t get_offset_of_UseRpcMonoBehaviourCache_37() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___UseRpcMonoBehaviourCache_37)); }
inline bool get_UseRpcMonoBehaviourCache_37() const { return ___UseRpcMonoBehaviourCache_37; }
inline bool* get_address_of_UseRpcMonoBehaviourCache_37() { return &___UseRpcMonoBehaviourCache_37; }
inline void set_UseRpcMonoBehaviourCache_37(bool value)
{
___UseRpcMonoBehaviourCache_37 = value;
}
inline static int32_t get_offset_of_monoRPCMethodsCache_38() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___monoRPCMethodsCache_38)); }
inline Dictionary_2_t1499080758 * get_monoRPCMethodsCache_38() const { return ___monoRPCMethodsCache_38; }
inline Dictionary_2_t1499080758 ** get_address_of_monoRPCMethodsCache_38() { return &___monoRPCMethodsCache_38; }
inline void set_monoRPCMethodsCache_38(Dictionary_2_t1499080758 * value)
{
___monoRPCMethodsCache_38 = value;
Il2CppCodeGenWriteBarrier((&___monoRPCMethodsCache_38), value);
}
inline static int32_t get_offset_of_rpcShortcuts_39() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___rpcShortcuts_39)); }
inline Dictionary_2_t2736202052 * get_rpcShortcuts_39() const { return ___rpcShortcuts_39; }
inline Dictionary_2_t2736202052 ** get_address_of_rpcShortcuts_39() { return &___rpcShortcuts_39; }
inline void set_rpcShortcuts_39(Dictionary_2_t2736202052 * value)
{
___rpcShortcuts_39 = value;
Il2CppCodeGenWriteBarrier((&___rpcShortcuts_39), value);
}
inline static int32_t get_offset_of__AsyncLevelLoadingOperation_40() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ____AsyncLevelLoadingOperation_40)); }
inline AsyncOperation_t1445031843 * get__AsyncLevelLoadingOperation_40() const { return ____AsyncLevelLoadingOperation_40; }
inline AsyncOperation_t1445031843 ** get_address_of__AsyncLevelLoadingOperation_40() { return &____AsyncLevelLoadingOperation_40; }
inline void set__AsyncLevelLoadingOperation_40(AsyncOperation_t1445031843 * value)
{
____AsyncLevelLoadingOperation_40 = value;
Il2CppCodeGenWriteBarrier((&____AsyncLevelLoadingOperation_40), value);
}
inline static int32_t get_offset_of__levelLoadingProgress_41() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ____levelLoadingProgress_41)); }
inline float get__levelLoadingProgress_41() const { return ____levelLoadingProgress_41; }
inline float* get_address_of__levelLoadingProgress_41() { return &____levelLoadingProgress_41; }
inline void set__levelLoadingProgress_41(float value)
{
____levelLoadingProgress_41 = value;
}
inline static int32_t get_offset_of_removeFilter_42() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___removeFilter_42)); }
inline Hashtable_t1048209202 * get_removeFilter_42() const { return ___removeFilter_42; }
inline Hashtable_t1048209202 ** get_address_of_removeFilter_42() { return &___removeFilter_42; }
inline void set_removeFilter_42(Hashtable_t1048209202 * value)
{
___removeFilter_42 = value;
Il2CppCodeGenWriteBarrier((&___removeFilter_42), value);
}
inline static int32_t get_offset_of_ServerCleanDestroyEvent_43() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___ServerCleanDestroyEvent_43)); }
inline Hashtable_t1048209202 * get_ServerCleanDestroyEvent_43() const { return ___ServerCleanDestroyEvent_43; }
inline Hashtable_t1048209202 ** get_address_of_ServerCleanDestroyEvent_43() { return &___ServerCleanDestroyEvent_43; }
inline void set_ServerCleanDestroyEvent_43(Hashtable_t1048209202 * value)
{
___ServerCleanDestroyEvent_43 = value;
Il2CppCodeGenWriteBarrier((&___ServerCleanDestroyEvent_43), value);
}
inline static int32_t get_offset_of_ServerCleanOptions_44() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___ServerCleanOptions_44)); }
inline RaiseEventOptions_t4260424731 * get_ServerCleanOptions_44() const { return ___ServerCleanOptions_44; }
inline RaiseEventOptions_t4260424731 ** get_address_of_ServerCleanOptions_44() { return &___ServerCleanOptions_44; }
inline void set_ServerCleanOptions_44(RaiseEventOptions_t4260424731 * value)
{
___ServerCleanOptions_44 = value;
Il2CppCodeGenWriteBarrier((&___ServerCleanOptions_44), value);
}
inline static int32_t get_offset_of_rpcFilterByViewId_45() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___rpcFilterByViewId_45)); }
inline Hashtable_t1048209202 * get_rpcFilterByViewId_45() const { return ___rpcFilterByViewId_45; }
inline Hashtable_t1048209202 ** get_address_of_rpcFilterByViewId_45() { return &___rpcFilterByViewId_45; }
inline void set_rpcFilterByViewId_45(Hashtable_t1048209202 * value)
{
___rpcFilterByViewId_45 = value;
Il2CppCodeGenWriteBarrier((&___rpcFilterByViewId_45), value);
}
inline static int32_t get_offset_of_OpCleanRpcBufferOptions_46() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___OpCleanRpcBufferOptions_46)); }
inline RaiseEventOptions_t4260424731 * get_OpCleanRpcBufferOptions_46() const { return ___OpCleanRpcBufferOptions_46; }
inline RaiseEventOptions_t4260424731 ** get_address_of_OpCleanRpcBufferOptions_46() { return &___OpCleanRpcBufferOptions_46; }
inline void set_OpCleanRpcBufferOptions_46(RaiseEventOptions_t4260424731 * value)
{
___OpCleanRpcBufferOptions_46 = value;
Il2CppCodeGenWriteBarrier((&___OpCleanRpcBufferOptions_46), value);
}
inline static int32_t get_offset_of_rpcEvent_47() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___rpcEvent_47)); }
inline Hashtable_t1048209202 * get_rpcEvent_47() const { return ___rpcEvent_47; }
inline Hashtable_t1048209202 ** get_address_of_rpcEvent_47() { return &___rpcEvent_47; }
inline void set_rpcEvent_47(Hashtable_t1048209202 * value)
{
___rpcEvent_47 = value;
Il2CppCodeGenWriteBarrier((&___rpcEvent_47), value);
}
inline static int32_t get_offset_of_RpcOptionsToAll_48() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___RpcOptionsToAll_48)); }
inline RaiseEventOptions_t4260424731 * get_RpcOptionsToAll_48() const { return ___RpcOptionsToAll_48; }
inline RaiseEventOptions_t4260424731 ** get_address_of_RpcOptionsToAll_48() { return &___RpcOptionsToAll_48; }
inline void set_RpcOptionsToAll_48(RaiseEventOptions_t4260424731 * value)
{
___RpcOptionsToAll_48 = value;
Il2CppCodeGenWriteBarrier((&___RpcOptionsToAll_48), value);
}
inline static int32_t get_offset_of_ObjectsInOneUpdate_49() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___ObjectsInOneUpdate_49)); }
inline int32_t get_ObjectsInOneUpdate_49() const { return ___ObjectsInOneUpdate_49; }
inline int32_t* get_address_of_ObjectsInOneUpdate_49() { return &___ObjectsInOneUpdate_49; }
inline void set_ObjectsInOneUpdate_49(int32_t value)
{
___ObjectsInOneUpdate_49 = value;
}
inline static int32_t get_offset_of_serializeStreamOut_50() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___serializeStreamOut_50)); }
inline PhotonStream_t2658340202 * get_serializeStreamOut_50() const { return ___serializeStreamOut_50; }
inline PhotonStream_t2658340202 ** get_address_of_serializeStreamOut_50() { return &___serializeStreamOut_50; }
inline void set_serializeStreamOut_50(PhotonStream_t2658340202 * value)
{
___serializeStreamOut_50 = value;
Il2CppCodeGenWriteBarrier((&___serializeStreamOut_50), value);
}
inline static int32_t get_offset_of_serializeStreamIn_51() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___serializeStreamIn_51)); }
inline PhotonStream_t2658340202 * get_serializeStreamIn_51() const { return ___serializeStreamIn_51; }
inline PhotonStream_t2658340202 ** get_address_of_serializeStreamIn_51() { return &___serializeStreamIn_51; }
inline void set_serializeStreamIn_51(PhotonStream_t2658340202 * value)
{
___serializeStreamIn_51 = value;
Il2CppCodeGenWriteBarrier((&___serializeStreamIn_51), value);
}
inline static int32_t get_offset_of_serializeRaiseEvOptions_52() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___serializeRaiseEvOptions_52)); }
inline RaiseEventOptions_t4260424731 * get_serializeRaiseEvOptions_52() const { return ___serializeRaiseEvOptions_52; }
inline RaiseEventOptions_t4260424731 ** get_address_of_serializeRaiseEvOptions_52() { return &___serializeRaiseEvOptions_52; }
inline void set_serializeRaiseEvOptions_52(RaiseEventOptions_t4260424731 * value)
{
___serializeRaiseEvOptions_52 = value;
Il2CppCodeGenWriteBarrier((&___serializeRaiseEvOptions_52), value);
}
inline static int32_t get_offset_of_serializeViewBatches_53() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___serializeViewBatches_53)); }
inline Dictionary_2_t784705653 * get_serializeViewBatches_53() const { return ___serializeViewBatches_53; }
inline Dictionary_2_t784705653 ** get_address_of_serializeViewBatches_53() { return &___serializeViewBatches_53; }
inline void set_serializeViewBatches_53(Dictionary_2_t784705653 * value)
{
___serializeViewBatches_53 = value;
Il2CppCodeGenWriteBarrier((&___serializeViewBatches_53), value);
}
inline static int32_t get_offset_of__cachedRegionHandler_58() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ____cachedRegionHandler_58)); }
inline RegionHandler_t2691069734 * get__cachedRegionHandler_58() const { return ____cachedRegionHandler_58; }
inline RegionHandler_t2691069734 ** get_address_of__cachedRegionHandler_58() { return &____cachedRegionHandler_58; }
inline void set__cachedRegionHandler_58(RegionHandler_t2691069734 * value)
{
____cachedRegionHandler_58 = value;
Il2CppCodeGenWriteBarrier((&____cachedRegionHandler_58), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_59() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__amU24cache0_59)); }
inline Func_2_t3125806854 * get_U3CU3Ef__amU24cache0_59() const { return ___U3CU3Ef__amU24cache0_59; }
inline Func_2_t3125806854 ** get_address_of_U3CU3Ef__amU24cache0_59() { return &___U3CU3Ef__amU24cache0_59; }
inline void set_U3CU3Ef__amU24cache0_59(Func_2_t3125806854 * value)
{
___U3CU3Ef__amU24cache0_59 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_59), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache1_60() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__amU24cache1_60)); }
inline Func_2_t3125806854 * get_U3CU3Ef__amU24cache1_60() const { return ___U3CU3Ef__amU24cache1_60; }
inline Func_2_t3125806854 ** get_address_of_U3CU3Ef__amU24cache1_60() { return &___U3CU3Ef__amU24cache1_60; }
inline void set_U3CU3Ef__amU24cache1_60(Func_2_t3125806854 * value)
{
___U3CU3Ef__amU24cache1_60 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache1_60), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache2_61() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__amU24cache2_61)); }
inline Func_2_t272149066 * get_U3CU3Ef__amU24cache2_61() const { return ___U3CU3Ef__amU24cache2_61; }
inline Func_2_t272149066 ** get_address_of_U3CU3Ef__amU24cache2_61() { return &___U3CU3Ef__amU24cache2_61; }
inline void set_U3CU3Ef__amU24cache2_61(Func_2_t272149066 * value)
{
___U3CU3Ef__amU24cache2_61 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache2_61), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_62() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__mgU24cache0_62)); }
inline Action_1_t3900690969 * get_U3CU3Ef__mgU24cache0_62() const { return ___U3CU3Ef__mgU24cache0_62; }
inline Action_1_t3900690969 ** get_address_of_U3CU3Ef__mgU24cache0_62() { return &___U3CU3Ef__mgU24cache0_62; }
inline void set_U3CU3Ef__mgU24cache0_62(Action_1_t3900690969 * value)
{
___U3CU3Ef__mgU24cache0_62 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_62), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache1_63() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__mgU24cache1_63)); }
inline Action_1_t596095568 * get_U3CU3Ef__mgU24cache1_63() const { return ___U3CU3Ef__mgU24cache1_63; }
inline Action_1_t596095568 ** get_address_of_U3CU3Ef__mgU24cache1_63() { return &___U3CU3Ef__mgU24cache1_63; }
inline void set_U3CU3Ef__mgU24cache1_63(Action_1_t596095568 * value)
{
___U3CU3Ef__mgU24cache1_63 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache1_63), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache3_64() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__amU24cache3_64)); }
inline Func_2_t1183849258 * get_U3CU3Ef__amU24cache3_64() const { return ___U3CU3Ef__amU24cache3_64; }
inline Func_2_t1183849258 ** get_address_of_U3CU3Ef__amU24cache3_64() { return &___U3CU3Ef__amU24cache3_64; }
inline void set_U3CU3Ef__amU24cache3_64(Func_2_t1183849258 * value)
{
___U3CU3Ef__amU24cache3_64 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache3_64), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache2_65() { return static_cast<int32_t>(offsetof(PhotonNetwork_t3232838738_StaticFields, ___U3CU3Ef__mgU24cache2_65)); }
inline Action_1_t2863537329 * get_U3CU3Ef__mgU24cache2_65() const { return ___U3CU3Ef__mgU24cache2_65; }
inline Action_1_t2863537329 ** get_address_of_U3CU3Ef__mgU24cache2_65() { return &___U3CU3Ef__mgU24cache2_65; }
inline void set_U3CU3Ef__mgU24cache2_65(Action_1_t2863537329 * value)
{
___U3CU3Ef__mgU24cache2_65 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache2_65), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONNETWORK_T3232838738_H
#ifndef CELLTREENODE_T3709723763_H
#define CELLTREENODE_T3709723763_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CellTreeNode
struct CellTreeNode_t3709723763 : public RuntimeObject
{
public:
// System.Byte Photon.Pun.UtilityScripts.CellTreeNode::Id
uint8_t ___Id_0;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CellTreeNode::Center
Vector3_t3722313464 ___Center_1;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CellTreeNode::Size
Vector3_t3722313464 ___Size_2;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CellTreeNode::TopLeft
Vector3_t3722313464 ___TopLeft_3;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CellTreeNode::BottomRight
Vector3_t3722313464 ___BottomRight_4;
// Photon.Pun.UtilityScripts.CellTreeNode/ENodeType Photon.Pun.UtilityScripts.CellTreeNode::NodeType
int32_t ___NodeType_5;
// Photon.Pun.UtilityScripts.CellTreeNode Photon.Pun.UtilityScripts.CellTreeNode::Parent
CellTreeNode_t3709723763 * ___Parent_6;
// System.Collections.Generic.List`1<Photon.Pun.UtilityScripts.CellTreeNode> Photon.Pun.UtilityScripts.CellTreeNode::Childs
List_1_t886831209 * ___Childs_7;
// System.Single Photon.Pun.UtilityScripts.CellTreeNode::maxDistance
float ___maxDistance_8;
public:
inline static int32_t get_offset_of_Id_0() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___Id_0)); }
inline uint8_t get_Id_0() const { return ___Id_0; }
inline uint8_t* get_address_of_Id_0() { return &___Id_0; }
inline void set_Id_0(uint8_t value)
{
___Id_0 = value;
}
inline static int32_t get_offset_of_Center_1() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___Center_1)); }
inline Vector3_t3722313464 get_Center_1() const { return ___Center_1; }
inline Vector3_t3722313464 * get_address_of_Center_1() { return &___Center_1; }
inline void set_Center_1(Vector3_t3722313464 value)
{
___Center_1 = value;
}
inline static int32_t get_offset_of_Size_2() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___Size_2)); }
inline Vector3_t3722313464 get_Size_2() const { return ___Size_2; }
inline Vector3_t3722313464 * get_address_of_Size_2() { return &___Size_2; }
inline void set_Size_2(Vector3_t3722313464 value)
{
___Size_2 = value;
}
inline static int32_t get_offset_of_TopLeft_3() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___TopLeft_3)); }
inline Vector3_t3722313464 get_TopLeft_3() const { return ___TopLeft_3; }
inline Vector3_t3722313464 * get_address_of_TopLeft_3() { return &___TopLeft_3; }
inline void set_TopLeft_3(Vector3_t3722313464 value)
{
___TopLeft_3 = value;
}
inline static int32_t get_offset_of_BottomRight_4() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___BottomRight_4)); }
inline Vector3_t3722313464 get_BottomRight_4() const { return ___BottomRight_4; }
inline Vector3_t3722313464 * get_address_of_BottomRight_4() { return &___BottomRight_4; }
inline void set_BottomRight_4(Vector3_t3722313464 value)
{
___BottomRight_4 = value;
}
inline static int32_t get_offset_of_NodeType_5() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___NodeType_5)); }
inline int32_t get_NodeType_5() const { return ___NodeType_5; }
inline int32_t* get_address_of_NodeType_5() { return &___NodeType_5; }
inline void set_NodeType_5(int32_t value)
{
___NodeType_5 = value;
}
inline static int32_t get_offset_of_Parent_6() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___Parent_6)); }
inline CellTreeNode_t3709723763 * get_Parent_6() const { return ___Parent_6; }
inline CellTreeNode_t3709723763 ** get_address_of_Parent_6() { return &___Parent_6; }
inline void set_Parent_6(CellTreeNode_t3709723763 * value)
{
___Parent_6 = value;
Il2CppCodeGenWriteBarrier((&___Parent_6), value);
}
inline static int32_t get_offset_of_Childs_7() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___Childs_7)); }
inline List_1_t886831209 * get_Childs_7() const { return ___Childs_7; }
inline List_1_t886831209 ** get_address_of_Childs_7() { return &___Childs_7; }
inline void set_Childs_7(List_1_t886831209 * value)
{
___Childs_7 = value;
Il2CppCodeGenWriteBarrier((&___Childs_7), value);
}
inline static int32_t get_offset_of_maxDistance_8() { return static_cast<int32_t>(offsetof(CellTreeNode_t3709723763, ___maxDistance_8)); }
inline float get_maxDistance_8() const { return ___maxDistance_8; }
inline float* get_address_of_maxDistance_8() { return &___maxDistance_8; }
inline void set_maxDistance_8(float value)
{
___maxDistance_8 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CELLTREENODE_T3709723763_H
#ifndef AUTHENTICATIONVALUES_T2847553853_H
#define AUTHENTICATIONVALUES_T2847553853_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.AuthenticationValues
struct AuthenticationValues_t2847553853 : public RuntimeObject
{
public:
// Photon.Realtime.CustomAuthenticationType Photon.Realtime.AuthenticationValues::authType
uint8_t ___authType_0;
// System.String Photon.Realtime.AuthenticationValues::<AuthGetParameters>k__BackingField
String_t* ___U3CAuthGetParametersU3Ek__BackingField_1;
// System.Object Photon.Realtime.AuthenticationValues::<AuthPostData>k__BackingField
RuntimeObject * ___U3CAuthPostDataU3Ek__BackingField_2;
// System.String Photon.Realtime.AuthenticationValues::<Token>k__BackingField
String_t* ___U3CTokenU3Ek__BackingField_3;
// System.String Photon.Realtime.AuthenticationValues::<UserId>k__BackingField
String_t* ___U3CUserIdU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_authType_0() { return static_cast<int32_t>(offsetof(AuthenticationValues_t2847553853, ___authType_0)); }
inline uint8_t get_authType_0() const { return ___authType_0; }
inline uint8_t* get_address_of_authType_0() { return &___authType_0; }
inline void set_authType_0(uint8_t value)
{
___authType_0 = value;
}
inline static int32_t get_offset_of_U3CAuthGetParametersU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(AuthenticationValues_t2847553853, ___U3CAuthGetParametersU3Ek__BackingField_1)); }
inline String_t* get_U3CAuthGetParametersU3Ek__BackingField_1() const { return ___U3CAuthGetParametersU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CAuthGetParametersU3Ek__BackingField_1() { return &___U3CAuthGetParametersU3Ek__BackingField_1; }
inline void set_U3CAuthGetParametersU3Ek__BackingField_1(String_t* value)
{
___U3CAuthGetParametersU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CAuthGetParametersU3Ek__BackingField_1), value);
}
inline static int32_t get_offset_of_U3CAuthPostDataU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(AuthenticationValues_t2847553853, ___U3CAuthPostDataU3Ek__BackingField_2)); }
inline RuntimeObject * get_U3CAuthPostDataU3Ek__BackingField_2() const { return ___U3CAuthPostDataU3Ek__BackingField_2; }
inline RuntimeObject ** get_address_of_U3CAuthPostDataU3Ek__BackingField_2() { return &___U3CAuthPostDataU3Ek__BackingField_2; }
inline void set_U3CAuthPostDataU3Ek__BackingField_2(RuntimeObject * value)
{
___U3CAuthPostDataU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CAuthPostDataU3Ek__BackingField_2), value);
}
inline static int32_t get_offset_of_U3CTokenU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(AuthenticationValues_t2847553853, ___U3CTokenU3Ek__BackingField_3)); }
inline String_t* get_U3CTokenU3Ek__BackingField_3() const { return ___U3CTokenU3Ek__BackingField_3; }
inline String_t** get_address_of_U3CTokenU3Ek__BackingField_3() { return &___U3CTokenU3Ek__BackingField_3; }
inline void set_U3CTokenU3Ek__BackingField_3(String_t* value)
{
___U3CTokenU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((&___U3CTokenU3Ek__BackingField_3), value);
}
inline static int32_t get_offset_of_U3CUserIdU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(AuthenticationValues_t2847553853, ___U3CUserIdU3Ek__BackingField_4)); }
inline String_t* get_U3CUserIdU3Ek__BackingField_4() const { return ___U3CUserIdU3Ek__BackingField_4; }
inline String_t** get_address_of_U3CUserIdU3Ek__BackingField_4() { return &___U3CUserIdU3Ek__BackingField_4; }
inline void set_U3CUserIdU3Ek__BackingField_4(String_t* value)
{
___U3CUserIdU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((&___U3CUserIdU3Ek__BackingField_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // AUTHENTICATIONVALUES_T2847553853_H
#ifndef LOADBALANCINGCLIENT_T609581828_H
#define LOADBALANCINGCLIENT_T609581828_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.LoadBalancingClient
struct LoadBalancingClient_t609581828 : public RuntimeObject
{
public:
// Photon.Realtime.LoadBalancingPeer Photon.Realtime.LoadBalancingClient::<LoadBalancingPeer>k__BackingField
LoadBalancingPeer_t529840942 * ___U3CLoadBalancingPeerU3Ek__BackingField_0;
// System.String Photon.Realtime.LoadBalancingClient::<AppVersion>k__BackingField
String_t* ___U3CAppVersionU3Ek__BackingField_1;
// System.String Photon.Realtime.LoadBalancingClient::<AppId>k__BackingField
String_t* ___U3CAppIdU3Ek__BackingField_2;
// Photon.Realtime.AuthenticationValues Photon.Realtime.LoadBalancingClient::<AuthValues>k__BackingField
AuthenticationValues_t2847553853 * ___U3CAuthValuesU3Ek__BackingField_3;
// System.Boolean Photon.Realtime.LoadBalancingClient::didAuthenticate
bool ___didAuthenticate_4;
// Photon.Realtime.AuthModeOption Photon.Realtime.LoadBalancingClient::AuthMode
int32_t ___AuthMode_5;
// Photon.Realtime.EncryptionMode Photon.Realtime.LoadBalancingClient::EncryptionMode
int32_t ___EncryptionMode_6;
// ExitGames.Client.Photon.ConnectionProtocol Photon.Realtime.LoadBalancingClient::ExpectedProtocol
uint8_t ___ExpectedProtocol_7;
// System.String Photon.Realtime.LoadBalancingClient::tokenCache
String_t* ___tokenCache_8;
// System.Boolean Photon.Realtime.LoadBalancingClient::<IsUsingNameServer>k__BackingField
bool ___U3CIsUsingNameServerU3Ek__BackingField_9;
// System.String Photon.Realtime.LoadBalancingClient::NameServerHost
String_t* ___NameServerHost_10;
// System.String Photon.Realtime.LoadBalancingClient::NameServerHttp
String_t* ___NameServerHttp_11;
// System.Boolean Photon.Realtime.LoadBalancingClient::<UseAlternativeUdpPorts>k__BackingField
bool ___U3CUseAlternativeUdpPortsU3Ek__BackingField_13;
// System.String Photon.Realtime.LoadBalancingClient::<MasterServerAddress>k__BackingField
String_t* ___U3CMasterServerAddressU3Ek__BackingField_14;
// System.String Photon.Realtime.LoadBalancingClient::<GameServerAddress>k__BackingField
String_t* ___U3CGameServerAddressU3Ek__BackingField_15;
// Photon.Realtime.ServerConnection Photon.Realtime.LoadBalancingClient::<Server>k__BackingField
int32_t ___U3CServerU3Ek__BackingField_16;
// Photon.Realtime.ClientState Photon.Realtime.LoadBalancingClient::state
int32_t ___state_17;
// System.Action`2<Photon.Realtime.ClientState,Photon.Realtime.ClientState> Photon.Realtime.LoadBalancingClient::StateChanged
Action_2_t3837823974 * ___StateChanged_18;
// System.Action`1<ExitGames.Client.Photon.EventData> Photon.Realtime.LoadBalancingClient::EventReceived
Action_1_t3900690969 * ___EventReceived_19;
// System.Action`1<ExitGames.Client.Photon.OperationResponse> Photon.Realtime.LoadBalancingClient::OpResponseReceived
Action_1_t596095568 * ___OpResponseReceived_20;
// Photon.Realtime.ConnectionCallbacksContainer Photon.Realtime.LoadBalancingClient::ConnectionCallbackTargets
ConnectionCallbacksContainer_t2312424951 * ___ConnectionCallbackTargets_21;
// Photon.Realtime.MatchMakingCallbacksContainer Photon.Realtime.LoadBalancingClient::MatchMakingCallbackTargets
MatchMakingCallbacksContainer_t2832811225 * ___MatchMakingCallbackTargets_22;
// Photon.Realtime.InRoomCallbacksContainer Photon.Realtime.LoadBalancingClient::InRoomCallbackTargets
InRoomCallbacksContainer_t443710975 * ___InRoomCallbackTargets_23;
// Photon.Realtime.LobbyCallbacksContainer Photon.Realtime.LoadBalancingClient::LobbyCallbackTargets
LobbyCallbacksContainer_t3869521158 * ___LobbyCallbackTargets_24;
// Photon.Realtime.WebRpcCallbacksContainer Photon.Realtime.LoadBalancingClient::WebRpcCallbackTargets
WebRpcCallbacksContainer_t1689926351 * ___WebRpcCallbackTargets_25;
// Photon.Realtime.DisconnectCause Photon.Realtime.LoadBalancingClient::<DisconnectedCause>k__BackingField
int32_t ___U3CDisconnectedCauseU3Ek__BackingField_26;
// System.Boolean Photon.Realtime.LoadBalancingClient::<InLobby>k__BackingField
bool ___U3CInLobbyU3Ek__BackingField_27;
// Photon.Realtime.TypedLobby Photon.Realtime.LoadBalancingClient::<CurrentLobby>k__BackingField
TypedLobby_t3393892244 * ___U3CCurrentLobbyU3Ek__BackingField_28;
// System.Boolean Photon.Realtime.LoadBalancingClient::EnableLobbyStatistics
bool ___EnableLobbyStatistics_29;
// System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo> Photon.Realtime.LoadBalancingClient::lobbyStatistics
List_1_t2063875166 * ___lobbyStatistics_30;
// Photon.Realtime.Player Photon.Realtime.LoadBalancingClient::<LocalPlayer>k__BackingField
Player_t2879569589 * ___U3CLocalPlayerU3Ek__BackingField_31;
// Photon.Realtime.Room Photon.Realtime.LoadBalancingClient::<CurrentRoom>k__BackingField
Room_t1409754143 * ___U3CCurrentRoomU3Ek__BackingField_32;
// System.Int32 Photon.Realtime.LoadBalancingClient::<PlayersOnMasterCount>k__BackingField
int32_t ___U3CPlayersOnMasterCountU3Ek__BackingField_33;
// System.Int32 Photon.Realtime.LoadBalancingClient::<PlayersInRoomsCount>k__BackingField
int32_t ___U3CPlayersInRoomsCountU3Ek__BackingField_34;
// System.Int32 Photon.Realtime.LoadBalancingClient::<RoomsCount>k__BackingField
int32_t ___U3CRoomsCountU3Ek__BackingField_35;
// Photon.Realtime.JoinType Photon.Realtime.LoadBalancingClient::lastJoinType
int32_t ___lastJoinType_36;
// Photon.Realtime.EnterRoomParams Photon.Realtime.LoadBalancingClient::enterRoomParamsCache
EnterRoomParams_t646487994 * ___enterRoomParamsCache_37;
// ExitGames.Client.Photon.OperationResponse Photon.Realtime.LoadBalancingClient::failedRoomEntryOperation
OperationResponse_t423627973 * ___failedRoomEntryOperation_38;
// System.String[] Photon.Realtime.LoadBalancingClient::friendListRequested
StringU5BU5D_t1281789340* ___friendListRequested_40;
// System.String Photon.Realtime.LoadBalancingClient::<CloudRegion>k__BackingField
String_t* ___U3CCloudRegionU3Ek__BackingField_41;
// Photon.Realtime.RegionHandler Photon.Realtime.LoadBalancingClient::RegionHandler
RegionHandler_t2691069734 * ___RegionHandler_42;
public:
inline static int32_t get_offset_of_U3CLoadBalancingPeerU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CLoadBalancingPeerU3Ek__BackingField_0)); }
inline LoadBalancingPeer_t529840942 * get_U3CLoadBalancingPeerU3Ek__BackingField_0() const { return ___U3CLoadBalancingPeerU3Ek__BackingField_0; }
inline LoadBalancingPeer_t529840942 ** get_address_of_U3CLoadBalancingPeerU3Ek__BackingField_0() { return &___U3CLoadBalancingPeerU3Ek__BackingField_0; }
inline void set_U3CLoadBalancingPeerU3Ek__BackingField_0(LoadBalancingPeer_t529840942 * value)
{
___U3CLoadBalancingPeerU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CLoadBalancingPeerU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CAppVersionU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CAppVersionU3Ek__BackingField_1)); }
inline String_t* get_U3CAppVersionU3Ek__BackingField_1() const { return ___U3CAppVersionU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CAppVersionU3Ek__BackingField_1() { return &___U3CAppVersionU3Ek__BackingField_1; }
inline void set_U3CAppVersionU3Ek__BackingField_1(String_t* value)
{
___U3CAppVersionU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CAppVersionU3Ek__BackingField_1), value);
}
inline static int32_t get_offset_of_U3CAppIdU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CAppIdU3Ek__BackingField_2)); }
inline String_t* get_U3CAppIdU3Ek__BackingField_2() const { return ___U3CAppIdU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CAppIdU3Ek__BackingField_2() { return &___U3CAppIdU3Ek__BackingField_2; }
inline void set_U3CAppIdU3Ek__BackingField_2(String_t* value)
{
___U3CAppIdU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CAppIdU3Ek__BackingField_2), value);
}
inline static int32_t get_offset_of_U3CAuthValuesU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CAuthValuesU3Ek__BackingField_3)); }
inline AuthenticationValues_t2847553853 * get_U3CAuthValuesU3Ek__BackingField_3() const { return ___U3CAuthValuesU3Ek__BackingField_3; }
inline AuthenticationValues_t2847553853 ** get_address_of_U3CAuthValuesU3Ek__BackingField_3() { return &___U3CAuthValuesU3Ek__BackingField_3; }
inline void set_U3CAuthValuesU3Ek__BackingField_3(AuthenticationValues_t2847553853 * value)
{
___U3CAuthValuesU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((&___U3CAuthValuesU3Ek__BackingField_3), value);
}
inline static int32_t get_offset_of_didAuthenticate_4() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___didAuthenticate_4)); }
inline bool get_didAuthenticate_4() const { return ___didAuthenticate_4; }
inline bool* get_address_of_didAuthenticate_4() { return &___didAuthenticate_4; }
inline void set_didAuthenticate_4(bool value)
{
___didAuthenticate_4 = value;
}
inline static int32_t get_offset_of_AuthMode_5() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___AuthMode_5)); }
inline int32_t get_AuthMode_5() const { return ___AuthMode_5; }
inline int32_t* get_address_of_AuthMode_5() { return &___AuthMode_5; }
inline void set_AuthMode_5(int32_t value)
{
___AuthMode_5 = value;
}
inline static int32_t get_offset_of_EncryptionMode_6() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___EncryptionMode_6)); }
inline int32_t get_EncryptionMode_6() const { return ___EncryptionMode_6; }
inline int32_t* get_address_of_EncryptionMode_6() { return &___EncryptionMode_6; }
inline void set_EncryptionMode_6(int32_t value)
{
___EncryptionMode_6 = value;
}
inline static int32_t get_offset_of_ExpectedProtocol_7() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___ExpectedProtocol_7)); }
inline uint8_t get_ExpectedProtocol_7() const { return ___ExpectedProtocol_7; }
inline uint8_t* get_address_of_ExpectedProtocol_7() { return &___ExpectedProtocol_7; }
inline void set_ExpectedProtocol_7(uint8_t value)
{
___ExpectedProtocol_7 = value;
}
inline static int32_t get_offset_of_tokenCache_8() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___tokenCache_8)); }
inline String_t* get_tokenCache_8() const { return ___tokenCache_8; }
inline String_t** get_address_of_tokenCache_8() { return &___tokenCache_8; }
inline void set_tokenCache_8(String_t* value)
{
___tokenCache_8 = value;
Il2CppCodeGenWriteBarrier((&___tokenCache_8), value);
}
inline static int32_t get_offset_of_U3CIsUsingNameServerU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CIsUsingNameServerU3Ek__BackingField_9)); }
inline bool get_U3CIsUsingNameServerU3Ek__BackingField_9() const { return ___U3CIsUsingNameServerU3Ek__BackingField_9; }
inline bool* get_address_of_U3CIsUsingNameServerU3Ek__BackingField_9() { return &___U3CIsUsingNameServerU3Ek__BackingField_9; }
inline void set_U3CIsUsingNameServerU3Ek__BackingField_9(bool value)
{
___U3CIsUsingNameServerU3Ek__BackingField_9 = value;
}
inline static int32_t get_offset_of_NameServerHost_10() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___NameServerHost_10)); }
inline String_t* get_NameServerHost_10() const { return ___NameServerHost_10; }
inline String_t** get_address_of_NameServerHost_10() { return &___NameServerHost_10; }
inline void set_NameServerHost_10(String_t* value)
{
___NameServerHost_10 = value;
Il2CppCodeGenWriteBarrier((&___NameServerHost_10), value);
}
inline static int32_t get_offset_of_NameServerHttp_11() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___NameServerHttp_11)); }
inline String_t* get_NameServerHttp_11() const { return ___NameServerHttp_11; }
inline String_t** get_address_of_NameServerHttp_11() { return &___NameServerHttp_11; }
inline void set_NameServerHttp_11(String_t* value)
{
___NameServerHttp_11 = value;
Il2CppCodeGenWriteBarrier((&___NameServerHttp_11), value);
}
inline static int32_t get_offset_of_U3CUseAlternativeUdpPortsU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CUseAlternativeUdpPortsU3Ek__BackingField_13)); }
inline bool get_U3CUseAlternativeUdpPortsU3Ek__BackingField_13() const { return ___U3CUseAlternativeUdpPortsU3Ek__BackingField_13; }
inline bool* get_address_of_U3CUseAlternativeUdpPortsU3Ek__BackingField_13() { return &___U3CUseAlternativeUdpPortsU3Ek__BackingField_13; }
inline void set_U3CUseAlternativeUdpPortsU3Ek__BackingField_13(bool value)
{
___U3CUseAlternativeUdpPortsU3Ek__BackingField_13 = value;
}
inline static int32_t get_offset_of_U3CMasterServerAddressU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CMasterServerAddressU3Ek__BackingField_14)); }
inline String_t* get_U3CMasterServerAddressU3Ek__BackingField_14() const { return ___U3CMasterServerAddressU3Ek__BackingField_14; }
inline String_t** get_address_of_U3CMasterServerAddressU3Ek__BackingField_14() { return &___U3CMasterServerAddressU3Ek__BackingField_14; }
inline void set_U3CMasterServerAddressU3Ek__BackingField_14(String_t* value)
{
___U3CMasterServerAddressU3Ek__BackingField_14 = value;
Il2CppCodeGenWriteBarrier((&___U3CMasterServerAddressU3Ek__BackingField_14), value);
}
inline static int32_t get_offset_of_U3CGameServerAddressU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CGameServerAddressU3Ek__BackingField_15)); }
inline String_t* get_U3CGameServerAddressU3Ek__BackingField_15() const { return ___U3CGameServerAddressU3Ek__BackingField_15; }
inline String_t** get_address_of_U3CGameServerAddressU3Ek__BackingField_15() { return &___U3CGameServerAddressU3Ek__BackingField_15; }
inline void set_U3CGameServerAddressU3Ek__BackingField_15(String_t* value)
{
___U3CGameServerAddressU3Ek__BackingField_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CGameServerAddressU3Ek__BackingField_15), value);
}
inline static int32_t get_offset_of_U3CServerU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CServerU3Ek__BackingField_16)); }
inline int32_t get_U3CServerU3Ek__BackingField_16() const { return ___U3CServerU3Ek__BackingField_16; }
inline int32_t* get_address_of_U3CServerU3Ek__BackingField_16() { return &___U3CServerU3Ek__BackingField_16; }
inline void set_U3CServerU3Ek__BackingField_16(int32_t value)
{
___U3CServerU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_state_17() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___state_17)); }
inline int32_t get_state_17() const { return ___state_17; }
inline int32_t* get_address_of_state_17() { return &___state_17; }
inline void set_state_17(int32_t value)
{
___state_17 = value;
}
inline static int32_t get_offset_of_StateChanged_18() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___StateChanged_18)); }
inline Action_2_t3837823974 * get_StateChanged_18() const { return ___StateChanged_18; }
inline Action_2_t3837823974 ** get_address_of_StateChanged_18() { return &___StateChanged_18; }
inline void set_StateChanged_18(Action_2_t3837823974 * value)
{
___StateChanged_18 = value;
Il2CppCodeGenWriteBarrier((&___StateChanged_18), value);
}
inline static int32_t get_offset_of_EventReceived_19() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___EventReceived_19)); }
inline Action_1_t3900690969 * get_EventReceived_19() const { return ___EventReceived_19; }
inline Action_1_t3900690969 ** get_address_of_EventReceived_19() { return &___EventReceived_19; }
inline void set_EventReceived_19(Action_1_t3900690969 * value)
{
___EventReceived_19 = value;
Il2CppCodeGenWriteBarrier((&___EventReceived_19), value);
}
inline static int32_t get_offset_of_OpResponseReceived_20() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___OpResponseReceived_20)); }
inline Action_1_t596095568 * get_OpResponseReceived_20() const { return ___OpResponseReceived_20; }
inline Action_1_t596095568 ** get_address_of_OpResponseReceived_20() { return &___OpResponseReceived_20; }
inline void set_OpResponseReceived_20(Action_1_t596095568 * value)
{
___OpResponseReceived_20 = value;
Il2CppCodeGenWriteBarrier((&___OpResponseReceived_20), value);
}
inline static int32_t get_offset_of_ConnectionCallbackTargets_21() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___ConnectionCallbackTargets_21)); }
inline ConnectionCallbacksContainer_t2312424951 * get_ConnectionCallbackTargets_21() const { return ___ConnectionCallbackTargets_21; }
inline ConnectionCallbacksContainer_t2312424951 ** get_address_of_ConnectionCallbackTargets_21() { return &___ConnectionCallbackTargets_21; }
inline void set_ConnectionCallbackTargets_21(ConnectionCallbacksContainer_t2312424951 * value)
{
___ConnectionCallbackTargets_21 = value;
Il2CppCodeGenWriteBarrier((&___ConnectionCallbackTargets_21), value);
}
inline static int32_t get_offset_of_MatchMakingCallbackTargets_22() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___MatchMakingCallbackTargets_22)); }
inline MatchMakingCallbacksContainer_t2832811225 * get_MatchMakingCallbackTargets_22() const { return ___MatchMakingCallbackTargets_22; }
inline MatchMakingCallbacksContainer_t2832811225 ** get_address_of_MatchMakingCallbackTargets_22() { return &___MatchMakingCallbackTargets_22; }
inline void set_MatchMakingCallbackTargets_22(MatchMakingCallbacksContainer_t2832811225 * value)
{
___MatchMakingCallbackTargets_22 = value;
Il2CppCodeGenWriteBarrier((&___MatchMakingCallbackTargets_22), value);
}
inline static int32_t get_offset_of_InRoomCallbackTargets_23() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___InRoomCallbackTargets_23)); }
inline InRoomCallbacksContainer_t443710975 * get_InRoomCallbackTargets_23() const { return ___InRoomCallbackTargets_23; }
inline InRoomCallbacksContainer_t443710975 ** get_address_of_InRoomCallbackTargets_23() { return &___InRoomCallbackTargets_23; }
inline void set_InRoomCallbackTargets_23(InRoomCallbacksContainer_t443710975 * value)
{
___InRoomCallbackTargets_23 = value;
Il2CppCodeGenWriteBarrier((&___InRoomCallbackTargets_23), value);
}
inline static int32_t get_offset_of_LobbyCallbackTargets_24() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___LobbyCallbackTargets_24)); }
inline LobbyCallbacksContainer_t3869521158 * get_LobbyCallbackTargets_24() const { return ___LobbyCallbackTargets_24; }
inline LobbyCallbacksContainer_t3869521158 ** get_address_of_LobbyCallbackTargets_24() { return &___LobbyCallbackTargets_24; }
inline void set_LobbyCallbackTargets_24(LobbyCallbacksContainer_t3869521158 * value)
{
___LobbyCallbackTargets_24 = value;
Il2CppCodeGenWriteBarrier((&___LobbyCallbackTargets_24), value);
}
inline static int32_t get_offset_of_WebRpcCallbackTargets_25() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___WebRpcCallbackTargets_25)); }
inline WebRpcCallbacksContainer_t1689926351 * get_WebRpcCallbackTargets_25() const { return ___WebRpcCallbackTargets_25; }
inline WebRpcCallbacksContainer_t1689926351 ** get_address_of_WebRpcCallbackTargets_25() { return &___WebRpcCallbackTargets_25; }
inline void set_WebRpcCallbackTargets_25(WebRpcCallbacksContainer_t1689926351 * value)
{
___WebRpcCallbackTargets_25 = value;
Il2CppCodeGenWriteBarrier((&___WebRpcCallbackTargets_25), value);
}
inline static int32_t get_offset_of_U3CDisconnectedCauseU3Ek__BackingField_26() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CDisconnectedCauseU3Ek__BackingField_26)); }
inline int32_t get_U3CDisconnectedCauseU3Ek__BackingField_26() const { return ___U3CDisconnectedCauseU3Ek__BackingField_26; }
inline int32_t* get_address_of_U3CDisconnectedCauseU3Ek__BackingField_26() { return &___U3CDisconnectedCauseU3Ek__BackingField_26; }
inline void set_U3CDisconnectedCauseU3Ek__BackingField_26(int32_t value)
{
___U3CDisconnectedCauseU3Ek__BackingField_26 = value;
}
inline static int32_t get_offset_of_U3CInLobbyU3Ek__BackingField_27() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CInLobbyU3Ek__BackingField_27)); }
inline bool get_U3CInLobbyU3Ek__BackingField_27() const { return ___U3CInLobbyU3Ek__BackingField_27; }
inline bool* get_address_of_U3CInLobbyU3Ek__BackingField_27() { return &___U3CInLobbyU3Ek__BackingField_27; }
inline void set_U3CInLobbyU3Ek__BackingField_27(bool value)
{
___U3CInLobbyU3Ek__BackingField_27 = value;
}
inline static int32_t get_offset_of_U3CCurrentLobbyU3Ek__BackingField_28() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CCurrentLobbyU3Ek__BackingField_28)); }
inline TypedLobby_t3393892244 * get_U3CCurrentLobbyU3Ek__BackingField_28() const { return ___U3CCurrentLobbyU3Ek__BackingField_28; }
inline TypedLobby_t3393892244 ** get_address_of_U3CCurrentLobbyU3Ek__BackingField_28() { return &___U3CCurrentLobbyU3Ek__BackingField_28; }
inline void set_U3CCurrentLobbyU3Ek__BackingField_28(TypedLobby_t3393892244 * value)
{
___U3CCurrentLobbyU3Ek__BackingField_28 = value;
Il2CppCodeGenWriteBarrier((&___U3CCurrentLobbyU3Ek__BackingField_28), value);
}
inline static int32_t get_offset_of_EnableLobbyStatistics_29() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___EnableLobbyStatistics_29)); }
inline bool get_EnableLobbyStatistics_29() const { return ___EnableLobbyStatistics_29; }
inline bool* get_address_of_EnableLobbyStatistics_29() { return &___EnableLobbyStatistics_29; }
inline void set_EnableLobbyStatistics_29(bool value)
{
___EnableLobbyStatistics_29 = value;
}
inline static int32_t get_offset_of_lobbyStatistics_30() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___lobbyStatistics_30)); }
inline List_1_t2063875166 * get_lobbyStatistics_30() const { return ___lobbyStatistics_30; }
inline List_1_t2063875166 ** get_address_of_lobbyStatistics_30() { return &___lobbyStatistics_30; }
inline void set_lobbyStatistics_30(List_1_t2063875166 * value)
{
___lobbyStatistics_30 = value;
Il2CppCodeGenWriteBarrier((&___lobbyStatistics_30), value);
}
inline static int32_t get_offset_of_U3CLocalPlayerU3Ek__BackingField_31() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CLocalPlayerU3Ek__BackingField_31)); }
inline Player_t2879569589 * get_U3CLocalPlayerU3Ek__BackingField_31() const { return ___U3CLocalPlayerU3Ek__BackingField_31; }
inline Player_t2879569589 ** get_address_of_U3CLocalPlayerU3Ek__BackingField_31() { return &___U3CLocalPlayerU3Ek__BackingField_31; }
inline void set_U3CLocalPlayerU3Ek__BackingField_31(Player_t2879569589 * value)
{
___U3CLocalPlayerU3Ek__BackingField_31 = value;
Il2CppCodeGenWriteBarrier((&___U3CLocalPlayerU3Ek__BackingField_31), value);
}
inline static int32_t get_offset_of_U3CCurrentRoomU3Ek__BackingField_32() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CCurrentRoomU3Ek__BackingField_32)); }
inline Room_t1409754143 * get_U3CCurrentRoomU3Ek__BackingField_32() const { return ___U3CCurrentRoomU3Ek__BackingField_32; }
inline Room_t1409754143 ** get_address_of_U3CCurrentRoomU3Ek__BackingField_32() { return &___U3CCurrentRoomU3Ek__BackingField_32; }
inline void set_U3CCurrentRoomU3Ek__BackingField_32(Room_t1409754143 * value)
{
___U3CCurrentRoomU3Ek__BackingField_32 = value;
Il2CppCodeGenWriteBarrier((&___U3CCurrentRoomU3Ek__BackingField_32), value);
}
inline static int32_t get_offset_of_U3CPlayersOnMasterCountU3Ek__BackingField_33() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CPlayersOnMasterCountU3Ek__BackingField_33)); }
inline int32_t get_U3CPlayersOnMasterCountU3Ek__BackingField_33() const { return ___U3CPlayersOnMasterCountU3Ek__BackingField_33; }
inline int32_t* get_address_of_U3CPlayersOnMasterCountU3Ek__BackingField_33() { return &___U3CPlayersOnMasterCountU3Ek__BackingField_33; }
inline void set_U3CPlayersOnMasterCountU3Ek__BackingField_33(int32_t value)
{
___U3CPlayersOnMasterCountU3Ek__BackingField_33 = value;
}
inline static int32_t get_offset_of_U3CPlayersInRoomsCountU3Ek__BackingField_34() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CPlayersInRoomsCountU3Ek__BackingField_34)); }
inline int32_t get_U3CPlayersInRoomsCountU3Ek__BackingField_34() const { return ___U3CPlayersInRoomsCountU3Ek__BackingField_34; }
inline int32_t* get_address_of_U3CPlayersInRoomsCountU3Ek__BackingField_34() { return &___U3CPlayersInRoomsCountU3Ek__BackingField_34; }
inline void set_U3CPlayersInRoomsCountU3Ek__BackingField_34(int32_t value)
{
___U3CPlayersInRoomsCountU3Ek__BackingField_34 = value;
}
inline static int32_t get_offset_of_U3CRoomsCountU3Ek__BackingField_35() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CRoomsCountU3Ek__BackingField_35)); }
inline int32_t get_U3CRoomsCountU3Ek__BackingField_35() const { return ___U3CRoomsCountU3Ek__BackingField_35; }
inline int32_t* get_address_of_U3CRoomsCountU3Ek__BackingField_35() { return &___U3CRoomsCountU3Ek__BackingField_35; }
inline void set_U3CRoomsCountU3Ek__BackingField_35(int32_t value)
{
___U3CRoomsCountU3Ek__BackingField_35 = value;
}
inline static int32_t get_offset_of_lastJoinType_36() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___lastJoinType_36)); }
inline int32_t get_lastJoinType_36() const { return ___lastJoinType_36; }
inline int32_t* get_address_of_lastJoinType_36() { return &___lastJoinType_36; }
inline void set_lastJoinType_36(int32_t value)
{
___lastJoinType_36 = value;
}
inline static int32_t get_offset_of_enterRoomParamsCache_37() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___enterRoomParamsCache_37)); }
inline EnterRoomParams_t646487994 * get_enterRoomParamsCache_37() const { return ___enterRoomParamsCache_37; }
inline EnterRoomParams_t646487994 ** get_address_of_enterRoomParamsCache_37() { return &___enterRoomParamsCache_37; }
inline void set_enterRoomParamsCache_37(EnterRoomParams_t646487994 * value)
{
___enterRoomParamsCache_37 = value;
Il2CppCodeGenWriteBarrier((&___enterRoomParamsCache_37), value);
}
inline static int32_t get_offset_of_failedRoomEntryOperation_38() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___failedRoomEntryOperation_38)); }
inline OperationResponse_t423627973 * get_failedRoomEntryOperation_38() const { return ___failedRoomEntryOperation_38; }
inline OperationResponse_t423627973 ** get_address_of_failedRoomEntryOperation_38() { return &___failedRoomEntryOperation_38; }
inline void set_failedRoomEntryOperation_38(OperationResponse_t423627973 * value)
{
___failedRoomEntryOperation_38 = value;
Il2CppCodeGenWriteBarrier((&___failedRoomEntryOperation_38), value);
}
inline static int32_t get_offset_of_friendListRequested_40() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___friendListRequested_40)); }
inline StringU5BU5D_t1281789340* get_friendListRequested_40() const { return ___friendListRequested_40; }
inline StringU5BU5D_t1281789340** get_address_of_friendListRequested_40() { return &___friendListRequested_40; }
inline void set_friendListRequested_40(StringU5BU5D_t1281789340* value)
{
___friendListRequested_40 = value;
Il2CppCodeGenWriteBarrier((&___friendListRequested_40), value);
}
inline static int32_t get_offset_of_U3CCloudRegionU3Ek__BackingField_41() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___U3CCloudRegionU3Ek__BackingField_41)); }
inline String_t* get_U3CCloudRegionU3Ek__BackingField_41() const { return ___U3CCloudRegionU3Ek__BackingField_41; }
inline String_t** get_address_of_U3CCloudRegionU3Ek__BackingField_41() { return &___U3CCloudRegionU3Ek__BackingField_41; }
inline void set_U3CCloudRegionU3Ek__BackingField_41(String_t* value)
{
___U3CCloudRegionU3Ek__BackingField_41 = value;
Il2CppCodeGenWriteBarrier((&___U3CCloudRegionU3Ek__BackingField_41), value);
}
inline static int32_t get_offset_of_RegionHandler_42() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828, ___RegionHandler_42)); }
inline RegionHandler_t2691069734 * get_RegionHandler_42() const { return ___RegionHandler_42; }
inline RegionHandler_t2691069734 ** get_address_of_RegionHandler_42() { return &___RegionHandler_42; }
inline void set_RegionHandler_42(RegionHandler_t2691069734 * value)
{
___RegionHandler_42 = value;
Il2CppCodeGenWriteBarrier((&___RegionHandler_42), value);
}
};
struct LoadBalancingClient_t609581828_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Int32> Photon.Realtime.LoadBalancingClient::ProtocolToNameServerPort
Dictionary_2_t1720840067 * ___ProtocolToNameServerPort_12;
public:
inline static int32_t get_offset_of_ProtocolToNameServerPort_12() { return static_cast<int32_t>(offsetof(LoadBalancingClient_t609581828_StaticFields, ___ProtocolToNameServerPort_12)); }
inline Dictionary_2_t1720840067 * get_ProtocolToNameServerPort_12() const { return ___ProtocolToNameServerPort_12; }
inline Dictionary_2_t1720840067 ** get_address_of_ProtocolToNameServerPort_12() { return &___ProtocolToNameServerPort_12; }
inline void set_ProtocolToNameServerPort_12(Dictionary_2_t1720840067 * value)
{
___ProtocolToNameServerPort_12 = value;
Il2CppCodeGenWriteBarrier((&___ProtocolToNameServerPort_12), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOADBALANCINGCLIENT_T609581828_H
#ifndef RAISEEVENTOPTIONS_T4260424731_H
#define RAISEEVENTOPTIONS_T4260424731_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.RaiseEventOptions
struct RaiseEventOptions_t4260424731 : public RuntimeObject
{
public:
// Photon.Realtime.EventCaching Photon.Realtime.RaiseEventOptions::CachingOption
uint8_t ___CachingOption_1;
// System.Byte Photon.Realtime.RaiseEventOptions::InterestGroup
uint8_t ___InterestGroup_2;
// System.Int32[] Photon.Realtime.RaiseEventOptions::TargetActors
Int32U5BU5D_t385246372* ___TargetActors_3;
// Photon.Realtime.ReceiverGroup Photon.Realtime.RaiseEventOptions::Receivers
uint8_t ___Receivers_4;
// System.Byte Photon.Realtime.RaiseEventOptions::SequenceChannel
uint8_t ___SequenceChannel_5;
// Photon.Realtime.WebFlags Photon.Realtime.RaiseEventOptions::Flags
WebFlags_t3155447403 * ___Flags_6;
public:
inline static int32_t get_offset_of_CachingOption_1() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___CachingOption_1)); }
inline uint8_t get_CachingOption_1() const { return ___CachingOption_1; }
inline uint8_t* get_address_of_CachingOption_1() { return &___CachingOption_1; }
inline void set_CachingOption_1(uint8_t value)
{
___CachingOption_1 = value;
}
inline static int32_t get_offset_of_InterestGroup_2() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___InterestGroup_2)); }
inline uint8_t get_InterestGroup_2() const { return ___InterestGroup_2; }
inline uint8_t* get_address_of_InterestGroup_2() { return &___InterestGroup_2; }
inline void set_InterestGroup_2(uint8_t value)
{
___InterestGroup_2 = value;
}
inline static int32_t get_offset_of_TargetActors_3() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___TargetActors_3)); }
inline Int32U5BU5D_t385246372* get_TargetActors_3() const { return ___TargetActors_3; }
inline Int32U5BU5D_t385246372** get_address_of_TargetActors_3() { return &___TargetActors_3; }
inline void set_TargetActors_3(Int32U5BU5D_t385246372* value)
{
___TargetActors_3 = value;
Il2CppCodeGenWriteBarrier((&___TargetActors_3), value);
}
inline static int32_t get_offset_of_Receivers_4() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___Receivers_4)); }
inline uint8_t get_Receivers_4() const { return ___Receivers_4; }
inline uint8_t* get_address_of_Receivers_4() { return &___Receivers_4; }
inline void set_Receivers_4(uint8_t value)
{
___Receivers_4 = value;
}
inline static int32_t get_offset_of_SequenceChannel_5() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___SequenceChannel_5)); }
inline uint8_t get_SequenceChannel_5() const { return ___SequenceChannel_5; }
inline uint8_t* get_address_of_SequenceChannel_5() { return &___SequenceChannel_5; }
inline void set_SequenceChannel_5(uint8_t value)
{
___SequenceChannel_5 = value;
}
inline static int32_t get_offset_of_Flags_6() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731, ___Flags_6)); }
inline WebFlags_t3155447403 * get_Flags_6() const { return ___Flags_6; }
inline WebFlags_t3155447403 ** get_address_of_Flags_6() { return &___Flags_6; }
inline void set_Flags_6(WebFlags_t3155447403 * value)
{
___Flags_6 = value;
Il2CppCodeGenWriteBarrier((&___Flags_6), value);
}
};
struct RaiseEventOptions_t4260424731_StaticFields
{
public:
// Photon.Realtime.RaiseEventOptions Photon.Realtime.RaiseEventOptions::Default
RaiseEventOptions_t4260424731 * ___Default_0;
public:
inline static int32_t get_offset_of_Default_0() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t4260424731_StaticFields, ___Default_0)); }
inline RaiseEventOptions_t4260424731 * get_Default_0() const { return ___Default_0; }
inline RaiseEventOptions_t4260424731 ** get_address_of_Default_0() { return &___Default_0; }
inline void set_Default_0(RaiseEventOptions_t4260424731 * value)
{
___Default_0 = value;
Il2CppCodeGenWriteBarrier((&___Default_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RAISEEVENTOPTIONS_T4260424731_H
#ifndef TYPEDLOBBY_T3393892244_H
#define TYPEDLOBBY_T3393892244_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.TypedLobby
struct TypedLobby_t3393892244 : public RuntimeObject
{
public:
// System.String Photon.Realtime.TypedLobby::Name
String_t* ___Name_0;
// Photon.Realtime.LobbyType Photon.Realtime.TypedLobby::Type
uint8_t ___Type_1;
public:
inline static int32_t get_offset_of_Name_0() { return static_cast<int32_t>(offsetof(TypedLobby_t3393892244, ___Name_0)); }
inline String_t* get_Name_0() const { return ___Name_0; }
inline String_t** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(String_t* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((&___Name_0), value);
}
inline static int32_t get_offset_of_Type_1() { return static_cast<int32_t>(offsetof(TypedLobby_t3393892244, ___Type_1)); }
inline uint8_t get_Type_1() const { return ___Type_1; }
inline uint8_t* get_address_of_Type_1() { return &___Type_1; }
inline void set_Type_1(uint8_t value)
{
___Type_1 = value;
}
};
struct TypedLobby_t3393892244_StaticFields
{
public:
// Photon.Realtime.TypedLobby Photon.Realtime.TypedLobby::Default
TypedLobby_t3393892244 * ___Default_2;
public:
inline static int32_t get_offset_of_Default_2() { return static_cast<int32_t>(offsetof(TypedLobby_t3393892244_StaticFields, ___Default_2)); }
inline TypedLobby_t3393892244 * get_Default_2() const { return ___Default_2; }
inline TypedLobby_t3393892244 ** get_address_of_Default_2() { return &___Default_2; }
inline void set_Default_2(TypedLobby_t3393892244 * value)
{
___Default_2 = value;
Il2CppCodeGenWriteBarrier((&___Default_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPEDLOBBY_T3393892244_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.MulticastDelegate System.MulticastDelegate::prev
MulticastDelegate_t * ___prev_9;
// System.MulticastDelegate System.MulticastDelegate::kpm_next
MulticastDelegate_t * ___kpm_next_10;
public:
inline static int32_t get_offset_of_prev_9() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___prev_9)); }
inline MulticastDelegate_t * get_prev_9() const { return ___prev_9; }
inline MulticastDelegate_t ** get_address_of_prev_9() { return &___prev_9; }
inline void set_prev_9(MulticastDelegate_t * value)
{
___prev_9 = value;
Il2CppCodeGenWriteBarrier((&___prev_9), value);
}
inline static int32_t get_offset_of_kpm_next_10() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___kpm_next_10)); }
inline MulticastDelegate_t * get_kpm_next_10() const { return ___kpm_next_10; }
inline MulticastDelegate_t ** get_address_of_kpm_next_10() { return &___kpm_next_10; }
inline void set_kpm_next_10(MulticastDelegate_t * value)
{
___kpm_next_10 = value;
Il2CppCodeGenWriteBarrier((&___kpm_next_10), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MULTICASTDELEGATE_T_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_1;
public:
inline static int32_t get_offset_of__impl_1() { return static_cast<int32_t>(offsetof(Type_t, ____impl_1)); }
inline RuntimeTypeHandle_t3027515415 get__impl_1() const { return ____impl_1; }
inline RuntimeTypeHandle_t3027515415 * get_address_of__impl_1() { return &____impl_1; }
inline void set__impl_1(RuntimeTypeHandle_t3027515415 value)
{
____impl_1 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_2;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t3940880105* ___EmptyTypes_3;
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t426314064 * ___FilterAttribute_4;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t426314064 * ___FilterName_5;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t426314064 * ___FilterNameIgnoreCase_6;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_7;
public:
inline static int32_t get_offset_of_Delimiter_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_2)); }
inline Il2CppChar get_Delimiter_2() const { return ___Delimiter_2; }
inline Il2CppChar* get_address_of_Delimiter_2() { return &___Delimiter_2; }
inline void set_Delimiter_2(Il2CppChar value)
{
___Delimiter_2 = value;
}
inline static int32_t get_offset_of_EmptyTypes_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_3)); }
inline TypeU5BU5D_t3940880105* get_EmptyTypes_3() const { return ___EmptyTypes_3; }
inline TypeU5BU5D_t3940880105** get_address_of_EmptyTypes_3() { return &___EmptyTypes_3; }
inline void set_EmptyTypes_3(TypeU5BU5D_t3940880105* value)
{
___EmptyTypes_3 = value;
Il2CppCodeGenWriteBarrier((&___EmptyTypes_3), value);
}
inline static int32_t get_offset_of_FilterAttribute_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_4)); }
inline MemberFilter_t426314064 * get_FilterAttribute_4() const { return ___FilterAttribute_4; }
inline MemberFilter_t426314064 ** get_address_of_FilterAttribute_4() { return &___FilterAttribute_4; }
inline void set_FilterAttribute_4(MemberFilter_t426314064 * value)
{
___FilterAttribute_4 = value;
Il2CppCodeGenWriteBarrier((&___FilterAttribute_4), value);
}
inline static int32_t get_offset_of_FilterName_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_5)); }
inline MemberFilter_t426314064 * get_FilterName_5() const { return ___FilterName_5; }
inline MemberFilter_t426314064 ** get_address_of_FilterName_5() { return &___FilterName_5; }
inline void set_FilterName_5(MemberFilter_t426314064 * value)
{
___FilterName_5 = value;
Il2CppCodeGenWriteBarrier((&___FilterName_5), value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_6)); }
inline MemberFilter_t426314064 * get_FilterNameIgnoreCase_6() const { return ___FilterNameIgnoreCase_6; }
inline MemberFilter_t426314064 ** get_address_of_FilterNameIgnoreCase_6() { return &___FilterNameIgnoreCase_6; }
inline void set_FilterNameIgnoreCase_6(MemberFilter_t426314064 * value)
{
___FilterNameIgnoreCase_6 = value;
Il2CppCodeGenWriteBarrier((&___FilterNameIgnoreCase_6), value);
}
inline static int32_t get_offset_of_Missing_7() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_7)); }
inline RuntimeObject * get_Missing_7() const { return ___Missing_7; }
inline RuntimeObject ** get_address_of_Missing_7() { return &___Missing_7; }
inline void set_Missing_7(RuntimeObject * value)
{
___Missing_7 = value;
Il2CppCodeGenWriteBarrier((&___Missing_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TYPE_T_H
#ifndef COMPONENT_T1923634451_H
#define COMPONENT_T1923634451_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Component
struct Component_t1923634451 : public Object_t631007953
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPONENT_T1923634451_H
#ifndef POINTEREVENTDATA_T3807901092_H
#define POINTEREVENTDATA_T3807901092_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t3807901092 : public BaseEventData_t3903027533
{
public:
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerEnter>k__BackingField
GameObject_t1113636619 * ___U3CpointerEnterU3Ek__BackingField_2;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::m_PointerPress
GameObject_t1113636619 * ___m_PointerPress_3;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<lastPress>k__BackingField
GameObject_t1113636619 * ___U3ClastPressU3Ek__BackingField_4;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<rawPointerPress>k__BackingField
GameObject_t1113636619 * ___U3CrawPointerPressU3Ek__BackingField_5;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerDrag>k__BackingField
GameObject_t1113636619 * ___U3CpointerDragU3Ek__BackingField_6;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerCurrentRaycast>k__BackingField
RaycastResult_t3360306849 ___U3CpointerCurrentRaycastU3Ek__BackingField_7;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerPressRaycast>k__BackingField
RaycastResult_t3360306849 ___U3CpointerPressRaycastU3Ek__BackingField_8;
// System.Collections.Generic.List`1<UnityEngine.GameObject> UnityEngine.EventSystems.PointerEventData::hovered
List_1_t2585711361 * ___hovered_9;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<eligibleForClick>k__BackingField
bool ___U3CeligibleForClickU3Ek__BackingField_10;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<pointerId>k__BackingField
int32_t ___U3CpointerIdU3Ek__BackingField_11;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<position>k__BackingField
Vector2_t2156229523 ___U3CpositionU3Ek__BackingField_12;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<delta>k__BackingField
Vector2_t2156229523 ___U3CdeltaU3Ek__BackingField_13;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<pressPosition>k__BackingField
Vector2_t2156229523 ___U3CpressPositionU3Ek__BackingField_14;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldPosition>k__BackingField
Vector3_t3722313464 ___U3CworldPositionU3Ek__BackingField_15;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldNormal>k__BackingField
Vector3_t3722313464 ___U3CworldNormalU3Ek__BackingField_16;
// System.Single UnityEngine.EventSystems.PointerEventData::<clickTime>k__BackingField
float ___U3CclickTimeU3Ek__BackingField_17;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<clickCount>k__BackingField
int32_t ___U3CclickCountU3Ek__BackingField_18;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<scrollDelta>k__BackingField
Vector2_t2156229523 ___U3CscrollDeltaU3Ek__BackingField_19;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<useDragThreshold>k__BackingField
bool ___U3CuseDragThresholdU3Ek__BackingField_20;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<dragging>k__BackingField
bool ___U3CdraggingU3Ek__BackingField_21;
// UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::<button>k__BackingField
int32_t ___U3CbuttonU3Ek__BackingField_22;
public:
inline static int32_t get_offset_of_U3CpointerEnterU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpointerEnterU3Ek__BackingField_2)); }
inline GameObject_t1113636619 * get_U3CpointerEnterU3Ek__BackingField_2() const { return ___U3CpointerEnterU3Ek__BackingField_2; }
inline GameObject_t1113636619 ** get_address_of_U3CpointerEnterU3Ek__BackingField_2() { return &___U3CpointerEnterU3Ek__BackingField_2; }
inline void set_U3CpointerEnterU3Ek__BackingField_2(GameObject_t1113636619 * value)
{
___U3CpointerEnterU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((&___U3CpointerEnterU3Ek__BackingField_2), value);
}
inline static int32_t get_offset_of_m_PointerPress_3() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___m_PointerPress_3)); }
inline GameObject_t1113636619 * get_m_PointerPress_3() const { return ___m_PointerPress_3; }
inline GameObject_t1113636619 ** get_address_of_m_PointerPress_3() { return &___m_PointerPress_3; }
inline void set_m_PointerPress_3(GameObject_t1113636619 * value)
{
___m_PointerPress_3 = value;
Il2CppCodeGenWriteBarrier((&___m_PointerPress_3), value);
}
inline static int32_t get_offset_of_U3ClastPressU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3ClastPressU3Ek__BackingField_4)); }
inline GameObject_t1113636619 * get_U3ClastPressU3Ek__BackingField_4() const { return ___U3ClastPressU3Ek__BackingField_4; }
inline GameObject_t1113636619 ** get_address_of_U3ClastPressU3Ek__BackingField_4() { return &___U3ClastPressU3Ek__BackingField_4; }
inline void set_U3ClastPressU3Ek__BackingField_4(GameObject_t1113636619 * value)
{
___U3ClastPressU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((&___U3ClastPressU3Ek__BackingField_4), value);
}
inline static int32_t get_offset_of_U3CrawPointerPressU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CrawPointerPressU3Ek__BackingField_5)); }
inline GameObject_t1113636619 * get_U3CrawPointerPressU3Ek__BackingField_5() const { return ___U3CrawPointerPressU3Ek__BackingField_5; }
inline GameObject_t1113636619 ** get_address_of_U3CrawPointerPressU3Ek__BackingField_5() { return &___U3CrawPointerPressU3Ek__BackingField_5; }
inline void set_U3CrawPointerPressU3Ek__BackingField_5(GameObject_t1113636619 * value)
{
___U3CrawPointerPressU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((&___U3CrawPointerPressU3Ek__BackingField_5), value);
}
inline static int32_t get_offset_of_U3CpointerDragU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpointerDragU3Ek__BackingField_6)); }
inline GameObject_t1113636619 * get_U3CpointerDragU3Ek__BackingField_6() const { return ___U3CpointerDragU3Ek__BackingField_6; }
inline GameObject_t1113636619 ** get_address_of_U3CpointerDragU3Ek__BackingField_6() { return &___U3CpointerDragU3Ek__BackingField_6; }
inline void set_U3CpointerDragU3Ek__BackingField_6(GameObject_t1113636619 * value)
{
___U3CpointerDragU3Ek__BackingField_6 = value;
Il2CppCodeGenWriteBarrier((&___U3CpointerDragU3Ek__BackingField_6), value);
}
inline static int32_t get_offset_of_U3CpointerCurrentRaycastU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpointerCurrentRaycastU3Ek__BackingField_7)); }
inline RaycastResult_t3360306849 get_U3CpointerCurrentRaycastU3Ek__BackingField_7() const { return ___U3CpointerCurrentRaycastU3Ek__BackingField_7; }
inline RaycastResult_t3360306849 * get_address_of_U3CpointerCurrentRaycastU3Ek__BackingField_7() { return &___U3CpointerCurrentRaycastU3Ek__BackingField_7; }
inline void set_U3CpointerCurrentRaycastU3Ek__BackingField_7(RaycastResult_t3360306849 value)
{
___U3CpointerCurrentRaycastU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_U3CpointerPressRaycastU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpointerPressRaycastU3Ek__BackingField_8)); }
inline RaycastResult_t3360306849 get_U3CpointerPressRaycastU3Ek__BackingField_8() const { return ___U3CpointerPressRaycastU3Ek__BackingField_8; }
inline RaycastResult_t3360306849 * get_address_of_U3CpointerPressRaycastU3Ek__BackingField_8() { return &___U3CpointerPressRaycastU3Ek__BackingField_8; }
inline void set_U3CpointerPressRaycastU3Ek__BackingField_8(RaycastResult_t3360306849 value)
{
___U3CpointerPressRaycastU3Ek__BackingField_8 = value;
}
inline static int32_t get_offset_of_hovered_9() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___hovered_9)); }
inline List_1_t2585711361 * get_hovered_9() const { return ___hovered_9; }
inline List_1_t2585711361 ** get_address_of_hovered_9() { return &___hovered_9; }
inline void set_hovered_9(List_1_t2585711361 * value)
{
___hovered_9 = value;
Il2CppCodeGenWriteBarrier((&___hovered_9), value);
}
inline static int32_t get_offset_of_U3CeligibleForClickU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CeligibleForClickU3Ek__BackingField_10)); }
inline bool get_U3CeligibleForClickU3Ek__BackingField_10() const { return ___U3CeligibleForClickU3Ek__BackingField_10; }
inline bool* get_address_of_U3CeligibleForClickU3Ek__BackingField_10() { return &___U3CeligibleForClickU3Ek__BackingField_10; }
inline void set_U3CeligibleForClickU3Ek__BackingField_10(bool value)
{
___U3CeligibleForClickU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CpointerIdU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpointerIdU3Ek__BackingField_11)); }
inline int32_t get_U3CpointerIdU3Ek__BackingField_11() const { return ___U3CpointerIdU3Ek__BackingField_11; }
inline int32_t* get_address_of_U3CpointerIdU3Ek__BackingField_11() { return &___U3CpointerIdU3Ek__BackingField_11; }
inline void set_U3CpointerIdU3Ek__BackingField_11(int32_t value)
{
___U3CpointerIdU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CpositionU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpositionU3Ek__BackingField_12)); }
inline Vector2_t2156229523 get_U3CpositionU3Ek__BackingField_12() const { return ___U3CpositionU3Ek__BackingField_12; }
inline Vector2_t2156229523 * get_address_of_U3CpositionU3Ek__BackingField_12() { return &___U3CpositionU3Ek__BackingField_12; }
inline void set_U3CpositionU3Ek__BackingField_12(Vector2_t2156229523 value)
{
___U3CpositionU3Ek__BackingField_12 = value;
}
inline static int32_t get_offset_of_U3CdeltaU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CdeltaU3Ek__BackingField_13)); }
inline Vector2_t2156229523 get_U3CdeltaU3Ek__BackingField_13() const { return ___U3CdeltaU3Ek__BackingField_13; }
inline Vector2_t2156229523 * get_address_of_U3CdeltaU3Ek__BackingField_13() { return &___U3CdeltaU3Ek__BackingField_13; }
inline void set_U3CdeltaU3Ek__BackingField_13(Vector2_t2156229523 value)
{
___U3CdeltaU3Ek__BackingField_13 = value;
}
inline static int32_t get_offset_of_U3CpressPositionU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CpressPositionU3Ek__BackingField_14)); }
inline Vector2_t2156229523 get_U3CpressPositionU3Ek__BackingField_14() const { return ___U3CpressPositionU3Ek__BackingField_14; }
inline Vector2_t2156229523 * get_address_of_U3CpressPositionU3Ek__BackingField_14() { return &___U3CpressPositionU3Ek__BackingField_14; }
inline void set_U3CpressPositionU3Ek__BackingField_14(Vector2_t2156229523 value)
{
___U3CpressPositionU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CworldPositionU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CworldPositionU3Ek__BackingField_15)); }
inline Vector3_t3722313464 get_U3CworldPositionU3Ek__BackingField_15() const { return ___U3CworldPositionU3Ek__BackingField_15; }
inline Vector3_t3722313464 * get_address_of_U3CworldPositionU3Ek__BackingField_15() { return &___U3CworldPositionU3Ek__BackingField_15; }
inline void set_U3CworldPositionU3Ek__BackingField_15(Vector3_t3722313464 value)
{
___U3CworldPositionU3Ek__BackingField_15 = value;
}
inline static int32_t get_offset_of_U3CworldNormalU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CworldNormalU3Ek__BackingField_16)); }
inline Vector3_t3722313464 get_U3CworldNormalU3Ek__BackingField_16() const { return ___U3CworldNormalU3Ek__BackingField_16; }
inline Vector3_t3722313464 * get_address_of_U3CworldNormalU3Ek__BackingField_16() { return &___U3CworldNormalU3Ek__BackingField_16; }
inline void set_U3CworldNormalU3Ek__BackingField_16(Vector3_t3722313464 value)
{
___U3CworldNormalU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_U3CclickTimeU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CclickTimeU3Ek__BackingField_17)); }
inline float get_U3CclickTimeU3Ek__BackingField_17() const { return ___U3CclickTimeU3Ek__BackingField_17; }
inline float* get_address_of_U3CclickTimeU3Ek__BackingField_17() { return &___U3CclickTimeU3Ek__BackingField_17; }
inline void set_U3CclickTimeU3Ek__BackingField_17(float value)
{
___U3CclickTimeU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_U3CclickCountU3Ek__BackingField_18() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CclickCountU3Ek__BackingField_18)); }
inline int32_t get_U3CclickCountU3Ek__BackingField_18() const { return ___U3CclickCountU3Ek__BackingField_18; }
inline int32_t* get_address_of_U3CclickCountU3Ek__BackingField_18() { return &___U3CclickCountU3Ek__BackingField_18; }
inline void set_U3CclickCountU3Ek__BackingField_18(int32_t value)
{
___U3CclickCountU3Ek__BackingField_18 = value;
}
inline static int32_t get_offset_of_U3CscrollDeltaU3Ek__BackingField_19() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CscrollDeltaU3Ek__BackingField_19)); }
inline Vector2_t2156229523 get_U3CscrollDeltaU3Ek__BackingField_19() const { return ___U3CscrollDeltaU3Ek__BackingField_19; }
inline Vector2_t2156229523 * get_address_of_U3CscrollDeltaU3Ek__BackingField_19() { return &___U3CscrollDeltaU3Ek__BackingField_19; }
inline void set_U3CscrollDeltaU3Ek__BackingField_19(Vector2_t2156229523 value)
{
___U3CscrollDeltaU3Ek__BackingField_19 = value;
}
inline static int32_t get_offset_of_U3CuseDragThresholdU3Ek__BackingField_20() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CuseDragThresholdU3Ek__BackingField_20)); }
inline bool get_U3CuseDragThresholdU3Ek__BackingField_20() const { return ___U3CuseDragThresholdU3Ek__BackingField_20; }
inline bool* get_address_of_U3CuseDragThresholdU3Ek__BackingField_20() { return &___U3CuseDragThresholdU3Ek__BackingField_20; }
inline void set_U3CuseDragThresholdU3Ek__BackingField_20(bool value)
{
___U3CuseDragThresholdU3Ek__BackingField_20 = value;
}
inline static int32_t get_offset_of_U3CdraggingU3Ek__BackingField_21() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CdraggingU3Ek__BackingField_21)); }
inline bool get_U3CdraggingU3Ek__BackingField_21() const { return ___U3CdraggingU3Ek__BackingField_21; }
inline bool* get_address_of_U3CdraggingU3Ek__BackingField_21() { return &___U3CdraggingU3Ek__BackingField_21; }
inline void set_U3CdraggingU3Ek__BackingField_21(bool value)
{
___U3CdraggingU3Ek__BackingField_21 = value;
}
inline static int32_t get_offset_of_U3CbuttonU3Ek__BackingField_22() { return static_cast<int32_t>(offsetof(PointerEventData_t3807901092, ___U3CbuttonU3Ek__BackingField_22)); }
inline int32_t get_U3CbuttonU3Ek__BackingField_22() const { return ___U3CbuttonU3Ek__BackingField_22; }
inline int32_t* get_address_of_U3CbuttonU3Ek__BackingField_22() { return &___U3CbuttonU3Ek__BackingField_22; }
inline void set_U3CbuttonU3Ek__BackingField_22(int32_t value)
{
___U3CbuttonU3Ek__BackingField_22 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // POINTEREVENTDATA_T3807901092_H
#ifndef GUILAYOUTOPTION_T811797299_H
#define GUILAYOUTOPTION_T811797299_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUILayoutOption
struct GUILayoutOption_t811797299 : public RuntimeObject
{
public:
// UnityEngine.GUILayoutOption/Type UnityEngine.GUILayoutOption::type
int32_t ___type_0;
// System.Object UnityEngine.GUILayoutOption::value
RuntimeObject * ___value_1;
public:
inline static int32_t get_offset_of_type_0() { return static_cast<int32_t>(offsetof(GUILayoutOption_t811797299, ___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_value_1() { return static_cast<int32_t>(offsetof(GUILayoutOption_t811797299, ___value_1)); }
inline RuntimeObject * get_value_1() const { return ___value_1; }
inline RuntimeObject ** get_address_of_value_1() { return &___value_1; }
inline void set_value_1(RuntimeObject * value)
{
___value_1 = value;
Il2CppCodeGenWriteBarrier((&___value_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GUILAYOUTOPTION_T811797299_H
#ifndef GUISTYLE_T3956901511_H
#define GUISTYLE_T3956901511_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUIStyle
struct GUIStyle_t3956901511 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.GUIStyle::m_Ptr
intptr_t ___m_Ptr_0;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Normal
GUIStyleState_t1397964415 * ___m_Normal_1;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Hover
GUIStyleState_t1397964415 * ___m_Hover_2;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Active
GUIStyleState_t1397964415 * ___m_Active_3;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_Focused
GUIStyleState_t1397964415 * ___m_Focused_4;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnNormal
GUIStyleState_t1397964415 * ___m_OnNormal_5;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnHover
GUIStyleState_t1397964415 * ___m_OnHover_6;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnActive
GUIStyleState_t1397964415 * ___m_OnActive_7;
// UnityEngine.GUIStyleState UnityEngine.GUIStyle::m_OnFocused
GUIStyleState_t1397964415 * ___m_OnFocused_8;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Border
RectOffset_t1369453676 * ___m_Border_9;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Padding
RectOffset_t1369453676 * ___m_Padding_10;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Margin
RectOffset_t1369453676 * ___m_Margin_11;
// UnityEngine.RectOffset UnityEngine.GUIStyle::m_Overflow
RectOffset_t1369453676 * ___m_Overflow_12;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_Normal_1() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Normal_1)); }
inline GUIStyleState_t1397964415 * get_m_Normal_1() const { return ___m_Normal_1; }
inline GUIStyleState_t1397964415 ** get_address_of_m_Normal_1() { return &___m_Normal_1; }
inline void set_m_Normal_1(GUIStyleState_t1397964415 * value)
{
___m_Normal_1 = value;
Il2CppCodeGenWriteBarrier((&___m_Normal_1), value);
}
inline static int32_t get_offset_of_m_Hover_2() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Hover_2)); }
inline GUIStyleState_t1397964415 * get_m_Hover_2() const { return ___m_Hover_2; }
inline GUIStyleState_t1397964415 ** get_address_of_m_Hover_2() { return &___m_Hover_2; }
inline void set_m_Hover_2(GUIStyleState_t1397964415 * value)
{
___m_Hover_2 = value;
Il2CppCodeGenWriteBarrier((&___m_Hover_2), value);
}
inline static int32_t get_offset_of_m_Active_3() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Active_3)); }
inline GUIStyleState_t1397964415 * get_m_Active_3() const { return ___m_Active_3; }
inline GUIStyleState_t1397964415 ** get_address_of_m_Active_3() { return &___m_Active_3; }
inline void set_m_Active_3(GUIStyleState_t1397964415 * value)
{
___m_Active_3 = value;
Il2CppCodeGenWriteBarrier((&___m_Active_3), value);
}
inline static int32_t get_offset_of_m_Focused_4() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Focused_4)); }
inline GUIStyleState_t1397964415 * get_m_Focused_4() const { return ___m_Focused_4; }
inline GUIStyleState_t1397964415 ** get_address_of_m_Focused_4() { return &___m_Focused_4; }
inline void set_m_Focused_4(GUIStyleState_t1397964415 * value)
{
___m_Focused_4 = value;
Il2CppCodeGenWriteBarrier((&___m_Focused_4), value);
}
inline static int32_t get_offset_of_m_OnNormal_5() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_OnNormal_5)); }
inline GUIStyleState_t1397964415 * get_m_OnNormal_5() const { return ___m_OnNormal_5; }
inline GUIStyleState_t1397964415 ** get_address_of_m_OnNormal_5() { return &___m_OnNormal_5; }
inline void set_m_OnNormal_5(GUIStyleState_t1397964415 * value)
{
___m_OnNormal_5 = value;
Il2CppCodeGenWriteBarrier((&___m_OnNormal_5), value);
}
inline static int32_t get_offset_of_m_OnHover_6() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_OnHover_6)); }
inline GUIStyleState_t1397964415 * get_m_OnHover_6() const { return ___m_OnHover_6; }
inline GUIStyleState_t1397964415 ** get_address_of_m_OnHover_6() { return &___m_OnHover_6; }
inline void set_m_OnHover_6(GUIStyleState_t1397964415 * value)
{
___m_OnHover_6 = value;
Il2CppCodeGenWriteBarrier((&___m_OnHover_6), value);
}
inline static int32_t get_offset_of_m_OnActive_7() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_OnActive_7)); }
inline GUIStyleState_t1397964415 * get_m_OnActive_7() const { return ___m_OnActive_7; }
inline GUIStyleState_t1397964415 ** get_address_of_m_OnActive_7() { return &___m_OnActive_7; }
inline void set_m_OnActive_7(GUIStyleState_t1397964415 * value)
{
___m_OnActive_7 = value;
Il2CppCodeGenWriteBarrier((&___m_OnActive_7), value);
}
inline static int32_t get_offset_of_m_OnFocused_8() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_OnFocused_8)); }
inline GUIStyleState_t1397964415 * get_m_OnFocused_8() const { return ___m_OnFocused_8; }
inline GUIStyleState_t1397964415 ** get_address_of_m_OnFocused_8() { return &___m_OnFocused_8; }
inline void set_m_OnFocused_8(GUIStyleState_t1397964415 * value)
{
___m_OnFocused_8 = value;
Il2CppCodeGenWriteBarrier((&___m_OnFocused_8), value);
}
inline static int32_t get_offset_of_m_Border_9() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Border_9)); }
inline RectOffset_t1369453676 * get_m_Border_9() const { return ___m_Border_9; }
inline RectOffset_t1369453676 ** get_address_of_m_Border_9() { return &___m_Border_9; }
inline void set_m_Border_9(RectOffset_t1369453676 * value)
{
___m_Border_9 = value;
Il2CppCodeGenWriteBarrier((&___m_Border_9), value);
}
inline static int32_t get_offset_of_m_Padding_10() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Padding_10)); }
inline RectOffset_t1369453676 * get_m_Padding_10() const { return ___m_Padding_10; }
inline RectOffset_t1369453676 ** get_address_of_m_Padding_10() { return &___m_Padding_10; }
inline void set_m_Padding_10(RectOffset_t1369453676 * value)
{
___m_Padding_10 = value;
Il2CppCodeGenWriteBarrier((&___m_Padding_10), value);
}
inline static int32_t get_offset_of_m_Margin_11() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Margin_11)); }
inline RectOffset_t1369453676 * get_m_Margin_11() const { return ___m_Margin_11; }
inline RectOffset_t1369453676 ** get_address_of_m_Margin_11() { return &___m_Margin_11; }
inline void set_m_Margin_11(RectOffset_t1369453676 * value)
{
___m_Margin_11 = value;
Il2CppCodeGenWriteBarrier((&___m_Margin_11), value);
}
inline static int32_t get_offset_of_m_Overflow_12() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511, ___m_Overflow_12)); }
inline RectOffset_t1369453676 * get_m_Overflow_12() const { return ___m_Overflow_12; }
inline RectOffset_t1369453676 ** get_address_of_m_Overflow_12() { return &___m_Overflow_12; }
inline void set_m_Overflow_12(RectOffset_t1369453676 * value)
{
___m_Overflow_12 = value;
Il2CppCodeGenWriteBarrier((&___m_Overflow_12), value);
}
};
struct GUIStyle_t3956901511_StaticFields
{
public:
// System.Boolean UnityEngine.GUIStyle::showKeyboardFocus
bool ___showKeyboardFocus_13;
// UnityEngine.GUIStyle UnityEngine.GUIStyle::s_None
GUIStyle_t3956901511 * ___s_None_14;
public:
inline static int32_t get_offset_of_showKeyboardFocus_13() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511_StaticFields, ___showKeyboardFocus_13)); }
inline bool get_showKeyboardFocus_13() const { return ___showKeyboardFocus_13; }
inline bool* get_address_of_showKeyboardFocus_13() { return &___showKeyboardFocus_13; }
inline void set_showKeyboardFocus_13(bool value)
{
___showKeyboardFocus_13 = value;
}
inline static int32_t get_offset_of_s_None_14() { return static_cast<int32_t>(offsetof(GUIStyle_t3956901511_StaticFields, ___s_None_14)); }
inline GUIStyle_t3956901511 * get_s_None_14() const { return ___s_None_14; }
inline GUIStyle_t3956901511 ** get_address_of_s_None_14() { return &___s_None_14; }
inline void set_s_None_14(GUIStyle_t3956901511 * value)
{
___s_None_14 = value;
Il2CppCodeGenWriteBarrier((&___s_None_14), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.GUIStyle
struct GUIStyle_t3956901511_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_Normal_1;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_Hover_2;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_Active_3;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_Focused_4;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_OnNormal_5;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_OnHover_6;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_OnActive_7;
GUIStyleState_t1397964415_marshaled_pinvoke* ___m_OnFocused_8;
RectOffset_t1369453676_marshaled_pinvoke ___m_Border_9;
RectOffset_t1369453676_marshaled_pinvoke ___m_Padding_10;
RectOffset_t1369453676_marshaled_pinvoke ___m_Margin_11;
RectOffset_t1369453676_marshaled_pinvoke ___m_Overflow_12;
};
// Native definition for COM marshalling of UnityEngine.GUIStyle
struct GUIStyle_t3956901511_marshaled_com
{
intptr_t ___m_Ptr_0;
GUIStyleState_t1397964415_marshaled_com* ___m_Normal_1;
GUIStyleState_t1397964415_marshaled_com* ___m_Hover_2;
GUIStyleState_t1397964415_marshaled_com* ___m_Active_3;
GUIStyleState_t1397964415_marshaled_com* ___m_Focused_4;
GUIStyleState_t1397964415_marshaled_com* ___m_OnNormal_5;
GUIStyleState_t1397964415_marshaled_com* ___m_OnHover_6;
GUIStyleState_t1397964415_marshaled_com* ___m_OnActive_7;
GUIStyleState_t1397964415_marshaled_com* ___m_OnFocused_8;
RectOffset_t1369453676_marshaled_com* ___m_Border_9;
RectOffset_t1369453676_marshaled_com* ___m_Padding_10;
RectOffset_t1369453676_marshaled_com* ___m_Margin_11;
RectOffset_t1369453676_marshaled_com* ___m_Overflow_12;
};
#endif // GUISTYLE_T3956901511_H
#ifndef GAMEOBJECT_T1113636619_H
#define GAMEOBJECT_T1113636619_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GameObject
struct GameObject_t1113636619 : public Object_t631007953
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GAMEOBJECT_T1113636619_H
#ifndef MATERIAL_T340375123_H
#define MATERIAL_T340375123_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Material
struct Material_t340375123 : public Object_t631007953
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATERIAL_T340375123_H
#ifndef NAVIGATION_T3049316579_H
#define NAVIGATION_T3049316579_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Navigation
struct Navigation_t3049316579
{
public:
// UnityEngine.UI.Navigation/Mode UnityEngine.UI.Navigation::m_Mode
int32_t ___m_Mode_0;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnUp
Selectable_t3250028441 * ___m_SelectOnUp_1;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnDown
Selectable_t3250028441 * ___m_SelectOnDown_2;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnLeft
Selectable_t3250028441 * ___m_SelectOnLeft_3;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnRight
Selectable_t3250028441 * ___m_SelectOnRight_4;
public:
inline static int32_t get_offset_of_m_Mode_0() { return static_cast<int32_t>(offsetof(Navigation_t3049316579, ___m_Mode_0)); }
inline int32_t get_m_Mode_0() const { return ___m_Mode_0; }
inline int32_t* get_address_of_m_Mode_0() { return &___m_Mode_0; }
inline void set_m_Mode_0(int32_t value)
{
___m_Mode_0 = value;
}
inline static int32_t get_offset_of_m_SelectOnUp_1() { return static_cast<int32_t>(offsetof(Navigation_t3049316579, ___m_SelectOnUp_1)); }
inline Selectable_t3250028441 * get_m_SelectOnUp_1() const { return ___m_SelectOnUp_1; }
inline Selectable_t3250028441 ** get_address_of_m_SelectOnUp_1() { return &___m_SelectOnUp_1; }
inline void set_m_SelectOnUp_1(Selectable_t3250028441 * value)
{
___m_SelectOnUp_1 = value;
Il2CppCodeGenWriteBarrier((&___m_SelectOnUp_1), value);
}
inline static int32_t get_offset_of_m_SelectOnDown_2() { return static_cast<int32_t>(offsetof(Navigation_t3049316579, ___m_SelectOnDown_2)); }
inline Selectable_t3250028441 * get_m_SelectOnDown_2() const { return ___m_SelectOnDown_2; }
inline Selectable_t3250028441 ** get_address_of_m_SelectOnDown_2() { return &___m_SelectOnDown_2; }
inline void set_m_SelectOnDown_2(Selectable_t3250028441 * value)
{
___m_SelectOnDown_2 = value;
Il2CppCodeGenWriteBarrier((&___m_SelectOnDown_2), value);
}
inline static int32_t get_offset_of_m_SelectOnLeft_3() { return static_cast<int32_t>(offsetof(Navigation_t3049316579, ___m_SelectOnLeft_3)); }
inline Selectable_t3250028441 * get_m_SelectOnLeft_3() const { return ___m_SelectOnLeft_3; }
inline Selectable_t3250028441 ** get_address_of_m_SelectOnLeft_3() { return &___m_SelectOnLeft_3; }
inline void set_m_SelectOnLeft_3(Selectable_t3250028441 * value)
{
___m_SelectOnLeft_3 = value;
Il2CppCodeGenWriteBarrier((&___m_SelectOnLeft_3), value);
}
inline static int32_t get_offset_of_m_SelectOnRight_4() { return static_cast<int32_t>(offsetof(Navigation_t3049316579, ___m_SelectOnRight_4)); }
inline Selectable_t3250028441 * get_m_SelectOnRight_4() const { return ___m_SelectOnRight_4; }
inline Selectable_t3250028441 ** get_address_of_m_SelectOnRight_4() { return &___m_SelectOnRight_4; }
inline void set_m_SelectOnRight_4(Selectable_t3250028441 * value)
{
___m_SelectOnRight_4 = value;
Il2CppCodeGenWriteBarrier((&___m_SelectOnRight_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.UI.Navigation
struct Navigation_t3049316579_marshaled_pinvoke
{
int32_t ___m_Mode_0;
Selectable_t3250028441 * ___m_SelectOnUp_1;
Selectable_t3250028441 * ___m_SelectOnDown_2;
Selectable_t3250028441 * ___m_SelectOnLeft_3;
Selectable_t3250028441 * ___m_SelectOnRight_4;
};
// Native definition for COM marshalling of UnityEngine.UI.Navigation
struct Navigation_t3049316579_marshaled_com
{
int32_t ___m_Mode_0;
Selectable_t3250028441 * ___m_SelectOnUp_1;
Selectable_t3250028441 * ___m_SelectOnDown_2;
Selectable_t3250028441 * ___m_SelectOnLeft_3;
Selectable_t3250028441 * ___m_SelectOnRight_4;
};
#endif // NAVIGATION_T3049316579_H
#ifndef COUNTDOWNTIMERHASEXPIRED_T4234756006_H
#define COUNTDOWNTIMERHASEXPIRED_T4234756006_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired
struct CountdownTimerHasExpired_t4234756006 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COUNTDOWNTIMERHASEXPIRED_T4234756006_H
#ifndef PLAYERNUMBERINGCHANGED_T966975091_H
#define PLAYERNUMBERINGCHANGED_T966975091_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged
struct PlayerNumberingChanged_t966975091 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PLAYERNUMBERINGCHANGED_T966975091_H
#ifndef LOADBALANCINGPEER_T529840942_H
#define LOADBALANCINGPEER_T529840942_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Realtime.LoadBalancingPeer
struct LoadBalancingPeer_t529840942 : public PhotonPeer_t1608153861
{
public:
// System.Collections.Generic.Dictionary`2<System.Byte,System.Object> Photon.Realtime.LoadBalancingPeer::opParameters
Dictionary_2_t1405253484 * ___opParameters_42;
public:
inline static int32_t get_offset_of_opParameters_42() { return static_cast<int32_t>(offsetof(LoadBalancingPeer_t529840942, ___opParameters_42)); }
inline Dictionary_2_t1405253484 * get_opParameters_42() const { return ___opParameters_42; }
inline Dictionary_2_t1405253484 ** get_address_of_opParameters_42() { return &___opParameters_42; }
inline void set_opParameters_42(Dictionary_2_t1405253484 * value)
{
___opParameters_42 = value;
Il2CppCodeGenWriteBarrier((&___opParameters_42), value);
}
};
struct LoadBalancingPeer_t529840942_StaticFields
{
public:
// System.Type Photon.Realtime.LoadBalancingPeer::PingImplementation
Type_t * ___PingImplementation_41;
public:
inline static int32_t get_offset_of_PingImplementation_41() { return static_cast<int32_t>(offsetof(LoadBalancingPeer_t529840942_StaticFields, ___PingImplementation_41)); }
inline Type_t * get_PingImplementation_41() const { return ___PingImplementation_41; }
inline Type_t ** get_address_of_PingImplementation_41() { return &___PingImplementation_41; }
inline void set_PingImplementation_41(Type_t * value)
{
___PingImplementation_41 = value;
Il2CppCodeGenWriteBarrier((&___PingImplementation_41), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOADBALANCINGPEER_T529840942_H
#ifndef ASYNCCALLBACK_T3962456242_H
#define ASYNCCALLBACK_T3962456242_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.AsyncCallback
struct AsyncCallback_t3962456242 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASYNCCALLBACK_T3962456242_H
#ifndef FUNC_2_T3125806854_H
#define FUNC_2_T3125806854_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Func`2<Photon.Realtime.Player,System.Int32>
struct Func_2_t3125806854 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FUNC_2_T3125806854_H
#ifndef BEHAVIOUR_T1437897464_H
#define BEHAVIOUR_T1437897464_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Behaviour
struct Behaviour_t1437897464 : public Component_t1923634451
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BEHAVIOUR_T1437897464_H
#ifndef UNITYACTION_1_T682124106_H
#define UNITYACTION_1_T682124106_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Events.UnityAction`1<System.Boolean>
struct UnityAction_1_t682124106 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNITYACTION_1_T682124106_H
#ifndef WINDOWFUNCTION_T3146511083_H
#define WINDOWFUNCTION_T3146511083_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUI/WindowFunction
struct WindowFunction_t3146511083 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // WINDOWFUNCTION_T3146511083_H
#ifndef RENDERER_T2627027031_H
#define RENDERER_T2627027031_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Renderer
struct Renderer_t2627027031 : public Component_t1923634451
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERER_T2627027031_H
#ifndef RIGIDBODY_T3916780224_H
#define RIGIDBODY_T3916780224_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rigidbody
struct Rigidbody_t3916780224 : public Component_t1923634451
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RIGIDBODY_T3916780224_H
#ifndef RIGIDBODY2D_T939494601_H
#define RIGIDBODY2D_T939494601_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rigidbody2D
struct Rigidbody2D_t939494601 : public Component_t1923634451
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RIGIDBODY2D_T939494601_H
#ifndef TRANSFORM_T3600365921_H
#define TRANSFORM_T3600365921_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Transform
struct Transform_t3600365921 : public Component_t1923634451
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TRANSFORM_T3600365921_H
#ifndef CAMERA_T4157153871_H
#define CAMERA_T4157153871_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Camera
struct Camera_t4157153871 : public Behaviour_t1437897464
{
public:
public:
};
struct Camera_t4157153871_StaticFields
{
public:
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreCull
CameraCallback_t190067161 * ___onPreCull_4;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreRender
CameraCallback_t190067161 * ___onPreRender_5;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPostRender
CameraCallback_t190067161 * ___onPostRender_6;
public:
inline static int32_t get_offset_of_onPreCull_4() { return static_cast<int32_t>(offsetof(Camera_t4157153871_StaticFields, ___onPreCull_4)); }
inline CameraCallback_t190067161 * get_onPreCull_4() const { return ___onPreCull_4; }
inline CameraCallback_t190067161 ** get_address_of_onPreCull_4() { return &___onPreCull_4; }
inline void set_onPreCull_4(CameraCallback_t190067161 * value)
{
___onPreCull_4 = value;
Il2CppCodeGenWriteBarrier((&___onPreCull_4), value);
}
inline static int32_t get_offset_of_onPreRender_5() { return static_cast<int32_t>(offsetof(Camera_t4157153871_StaticFields, ___onPreRender_5)); }
inline CameraCallback_t190067161 * get_onPreRender_5() const { return ___onPreRender_5; }
inline CameraCallback_t190067161 ** get_address_of_onPreRender_5() { return &___onPreRender_5; }
inline void set_onPreRender_5(CameraCallback_t190067161 * value)
{
___onPreRender_5 = value;
Il2CppCodeGenWriteBarrier((&___onPreRender_5), value);
}
inline static int32_t get_offset_of_onPostRender_6() { return static_cast<int32_t>(offsetof(Camera_t4157153871_StaticFields, ___onPostRender_6)); }
inline CameraCallback_t190067161 * get_onPostRender_6() const { return ___onPostRender_6; }
inline CameraCallback_t190067161 ** get_address_of_onPostRender_6() { return &___onPostRender_6; }
inline void set_onPostRender_6(CameraCallback_t190067161 * value)
{
___onPostRender_6 = value;
Il2CppCodeGenWriteBarrier((&___onPostRender_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAMERA_T4157153871_H
#ifndef MONOBEHAVIOUR_T3962482529_H
#define MONOBEHAVIOUR_T3962482529_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t3962482529 : public Behaviour_t1437897464
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOBEHAVIOUR_T3962482529_H
#ifndef RECTTRANSFORM_T3704657025_H
#define RECTTRANSFORM_T3704657025_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RectTransform
struct RectTransform_t3704657025 : public Transform_t3600365921
{
public:
public:
};
struct RectTransform_t3704657025_StaticFields
{
public:
// UnityEngine.RectTransform/ReapplyDrivenProperties UnityEngine.RectTransform::reapplyDrivenProperties
ReapplyDrivenProperties_t1258266594 * ___reapplyDrivenProperties_4;
public:
inline static int32_t get_offset_of_reapplyDrivenProperties_4() { return static_cast<int32_t>(offsetof(RectTransform_t3704657025_StaticFields, ___reapplyDrivenProperties_4)); }
inline ReapplyDrivenProperties_t1258266594 * get_reapplyDrivenProperties_4() const { return ___reapplyDrivenProperties_4; }
inline ReapplyDrivenProperties_t1258266594 ** get_address_of_reapplyDrivenProperties_4() { return &___reapplyDrivenProperties_4; }
inline void set_reapplyDrivenProperties_4(ReapplyDrivenProperties_t1258266594 * value)
{
___reapplyDrivenProperties_4 = value;
Il2CppCodeGenWriteBarrier((&___reapplyDrivenProperties_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RECTTRANSFORM_T3704657025_H
#ifndef SPRITERENDERER_T3235626157_H
#define SPRITERENDERER_T3235626157_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.SpriteRenderer
struct SpriteRenderer_t3235626157 : public Renderer_t2627027031
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SPRITERENDERER_T3235626157_H
#ifndef MONOBEHAVIOURPUN_T1682334777_H
#define MONOBEHAVIOURPUN_T1682334777_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.MonoBehaviourPun
struct MonoBehaviourPun_t1682334777 : public MonoBehaviour_t3962482529
{
public:
// Photon.Pun.PhotonView Photon.Pun.MonoBehaviourPun::pvCache
PhotonView_t3684715584 * ___pvCache_4;
public:
inline static int32_t get_offset_of_pvCache_4() { return static_cast<int32_t>(offsetof(MonoBehaviourPun_t1682334777, ___pvCache_4)); }
inline PhotonView_t3684715584 * get_pvCache_4() const { return ___pvCache_4; }
inline PhotonView_t3684715584 ** get_address_of_pvCache_4() { return &___pvCache_4; }
inline void set_pvCache_4(PhotonView_t3684715584 * value)
{
___pvCache_4 = value;
Il2CppCodeGenWriteBarrier((&___pvCache_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOBEHAVIOURPUN_T1682334777_H
#ifndef PHOTONVIEW_T3684715584_H
#define PHOTONVIEW_T3684715584_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.PhotonView
struct PhotonView_t3684715584 : public MonoBehaviour_t3962482529
{
public:
// System.Int32 Photon.Pun.PhotonView::ownerId
int32_t ___ownerId_4;
// System.Byte Photon.Pun.PhotonView::Group
uint8_t ___Group_5;
// System.Boolean Photon.Pun.PhotonView::mixedModeIsReliable
bool ___mixedModeIsReliable_6;
// System.Boolean Photon.Pun.PhotonView::OwnershipWasTransfered
bool ___OwnershipWasTransfered_7;
// System.Int32 Photon.Pun.PhotonView::prefixField
int32_t ___prefixField_8;
// System.Object[] Photon.Pun.PhotonView::instantiationDataField
ObjectU5BU5D_t2843939325* ___instantiationDataField_9;
// System.Collections.Generic.List`1<System.Object> Photon.Pun.PhotonView::lastOnSerializeDataSent
List_1_t257213610 * ___lastOnSerializeDataSent_10;
// System.Collections.Generic.List`1<System.Object> Photon.Pun.PhotonView::syncValues
List_1_t257213610 * ___syncValues_11;
// System.Object[] Photon.Pun.PhotonView::lastOnSerializeDataReceived
ObjectU5BU5D_t2843939325* ___lastOnSerializeDataReceived_12;
// Photon.Pun.ViewSynchronization Photon.Pun.PhotonView::Synchronization
int32_t ___Synchronization_13;
// Photon.Pun.OwnershipOption Photon.Pun.PhotonView::OwnershipTransfer
int32_t ___OwnershipTransfer_14;
// System.Collections.Generic.List`1<UnityEngine.Component> Photon.Pun.PhotonView::ObservedComponents
List_1_t3395709193 * ___ObservedComponents_15;
// System.Int32 Photon.Pun.PhotonView::viewIdField
int32_t ___viewIdField_16;
// System.Int32 Photon.Pun.PhotonView::InstantiationId
int32_t ___InstantiationId_17;
// System.Boolean Photon.Pun.PhotonView::didAwake
bool ___didAwake_18;
// System.Boolean Photon.Pun.PhotonView::isRuntimeInstantiated
bool ___isRuntimeInstantiated_19;
// System.Boolean Photon.Pun.PhotonView::removedFromLocalViewList
bool ___removedFromLocalViewList_20;
// UnityEngine.MonoBehaviour[] Photon.Pun.PhotonView::RpcMonoBehaviours
MonoBehaviourU5BU5D_t2007329276* ___RpcMonoBehaviours_21;
public:
inline static int32_t get_offset_of_ownerId_4() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___ownerId_4)); }
inline int32_t get_ownerId_4() const { return ___ownerId_4; }
inline int32_t* get_address_of_ownerId_4() { return &___ownerId_4; }
inline void set_ownerId_4(int32_t value)
{
___ownerId_4 = value;
}
inline static int32_t get_offset_of_Group_5() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___Group_5)); }
inline uint8_t get_Group_5() const { return ___Group_5; }
inline uint8_t* get_address_of_Group_5() { return &___Group_5; }
inline void set_Group_5(uint8_t value)
{
___Group_5 = value;
}
inline static int32_t get_offset_of_mixedModeIsReliable_6() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___mixedModeIsReliable_6)); }
inline bool get_mixedModeIsReliable_6() const { return ___mixedModeIsReliable_6; }
inline bool* get_address_of_mixedModeIsReliable_6() { return &___mixedModeIsReliable_6; }
inline void set_mixedModeIsReliable_6(bool value)
{
___mixedModeIsReliable_6 = value;
}
inline static int32_t get_offset_of_OwnershipWasTransfered_7() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___OwnershipWasTransfered_7)); }
inline bool get_OwnershipWasTransfered_7() const { return ___OwnershipWasTransfered_7; }
inline bool* get_address_of_OwnershipWasTransfered_7() { return &___OwnershipWasTransfered_7; }
inline void set_OwnershipWasTransfered_7(bool value)
{
___OwnershipWasTransfered_7 = value;
}
inline static int32_t get_offset_of_prefixField_8() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___prefixField_8)); }
inline int32_t get_prefixField_8() const { return ___prefixField_8; }
inline int32_t* get_address_of_prefixField_8() { return &___prefixField_8; }
inline void set_prefixField_8(int32_t value)
{
___prefixField_8 = value;
}
inline static int32_t get_offset_of_instantiationDataField_9() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___instantiationDataField_9)); }
inline ObjectU5BU5D_t2843939325* get_instantiationDataField_9() const { return ___instantiationDataField_9; }
inline ObjectU5BU5D_t2843939325** get_address_of_instantiationDataField_9() { return &___instantiationDataField_9; }
inline void set_instantiationDataField_9(ObjectU5BU5D_t2843939325* value)
{
___instantiationDataField_9 = value;
Il2CppCodeGenWriteBarrier((&___instantiationDataField_9), value);
}
inline static int32_t get_offset_of_lastOnSerializeDataSent_10() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___lastOnSerializeDataSent_10)); }
inline List_1_t257213610 * get_lastOnSerializeDataSent_10() const { return ___lastOnSerializeDataSent_10; }
inline List_1_t257213610 ** get_address_of_lastOnSerializeDataSent_10() { return &___lastOnSerializeDataSent_10; }
inline void set_lastOnSerializeDataSent_10(List_1_t257213610 * value)
{
___lastOnSerializeDataSent_10 = value;
Il2CppCodeGenWriteBarrier((&___lastOnSerializeDataSent_10), value);
}
inline static int32_t get_offset_of_syncValues_11() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___syncValues_11)); }
inline List_1_t257213610 * get_syncValues_11() const { return ___syncValues_11; }
inline List_1_t257213610 ** get_address_of_syncValues_11() { return &___syncValues_11; }
inline void set_syncValues_11(List_1_t257213610 * value)
{
___syncValues_11 = value;
Il2CppCodeGenWriteBarrier((&___syncValues_11), value);
}
inline static int32_t get_offset_of_lastOnSerializeDataReceived_12() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___lastOnSerializeDataReceived_12)); }
inline ObjectU5BU5D_t2843939325* get_lastOnSerializeDataReceived_12() const { return ___lastOnSerializeDataReceived_12; }
inline ObjectU5BU5D_t2843939325** get_address_of_lastOnSerializeDataReceived_12() { return &___lastOnSerializeDataReceived_12; }
inline void set_lastOnSerializeDataReceived_12(ObjectU5BU5D_t2843939325* value)
{
___lastOnSerializeDataReceived_12 = value;
Il2CppCodeGenWriteBarrier((&___lastOnSerializeDataReceived_12), value);
}
inline static int32_t get_offset_of_Synchronization_13() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___Synchronization_13)); }
inline int32_t get_Synchronization_13() const { return ___Synchronization_13; }
inline int32_t* get_address_of_Synchronization_13() { return &___Synchronization_13; }
inline void set_Synchronization_13(int32_t value)
{
___Synchronization_13 = value;
}
inline static int32_t get_offset_of_OwnershipTransfer_14() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___OwnershipTransfer_14)); }
inline int32_t get_OwnershipTransfer_14() const { return ___OwnershipTransfer_14; }
inline int32_t* get_address_of_OwnershipTransfer_14() { return &___OwnershipTransfer_14; }
inline void set_OwnershipTransfer_14(int32_t value)
{
___OwnershipTransfer_14 = value;
}
inline static int32_t get_offset_of_ObservedComponents_15() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___ObservedComponents_15)); }
inline List_1_t3395709193 * get_ObservedComponents_15() const { return ___ObservedComponents_15; }
inline List_1_t3395709193 ** get_address_of_ObservedComponents_15() { return &___ObservedComponents_15; }
inline void set_ObservedComponents_15(List_1_t3395709193 * value)
{
___ObservedComponents_15 = value;
Il2CppCodeGenWriteBarrier((&___ObservedComponents_15), value);
}
inline static int32_t get_offset_of_viewIdField_16() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___viewIdField_16)); }
inline int32_t get_viewIdField_16() const { return ___viewIdField_16; }
inline int32_t* get_address_of_viewIdField_16() { return &___viewIdField_16; }
inline void set_viewIdField_16(int32_t value)
{
___viewIdField_16 = value;
}
inline static int32_t get_offset_of_InstantiationId_17() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___InstantiationId_17)); }
inline int32_t get_InstantiationId_17() const { return ___InstantiationId_17; }
inline int32_t* get_address_of_InstantiationId_17() { return &___InstantiationId_17; }
inline void set_InstantiationId_17(int32_t value)
{
___InstantiationId_17 = value;
}
inline static int32_t get_offset_of_didAwake_18() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___didAwake_18)); }
inline bool get_didAwake_18() const { return ___didAwake_18; }
inline bool* get_address_of_didAwake_18() { return &___didAwake_18; }
inline void set_didAwake_18(bool value)
{
___didAwake_18 = value;
}
inline static int32_t get_offset_of_isRuntimeInstantiated_19() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___isRuntimeInstantiated_19)); }
inline bool get_isRuntimeInstantiated_19() const { return ___isRuntimeInstantiated_19; }
inline bool* get_address_of_isRuntimeInstantiated_19() { return &___isRuntimeInstantiated_19; }
inline void set_isRuntimeInstantiated_19(bool value)
{
___isRuntimeInstantiated_19 = value;
}
inline static int32_t get_offset_of_removedFromLocalViewList_20() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___removedFromLocalViewList_20)); }
inline bool get_removedFromLocalViewList_20() const { return ___removedFromLocalViewList_20; }
inline bool* get_address_of_removedFromLocalViewList_20() { return &___removedFromLocalViewList_20; }
inline void set_removedFromLocalViewList_20(bool value)
{
___removedFromLocalViewList_20 = value;
}
inline static int32_t get_offset_of_RpcMonoBehaviours_21() { return static_cast<int32_t>(offsetof(PhotonView_t3684715584, ___RpcMonoBehaviours_21)); }
inline MonoBehaviourU5BU5D_t2007329276* get_RpcMonoBehaviours_21() const { return ___RpcMonoBehaviours_21; }
inline MonoBehaviourU5BU5D_t2007329276** get_address_of_RpcMonoBehaviours_21() { return &___RpcMonoBehaviours_21; }
inline void set_RpcMonoBehaviours_21(MonoBehaviourU5BU5D_t2007329276* value)
{
___RpcMonoBehaviours_21 = value;
Il2CppCodeGenWriteBarrier((&___RpcMonoBehaviours_21), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONVIEW_T3684715584_H
#ifndef BUTTONINSIDESCROLLLIST_T2732141882_H
#define BUTTONINSIDESCROLLLIST_T2732141882_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.ButtonInsideScrollList
struct ButtonInsideScrollList_t2732141882 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.ScrollRect Photon.Pun.UtilityScripts.ButtonInsideScrollList::scrollRect
ScrollRect_t4137855814 * ___scrollRect_4;
public:
inline static int32_t get_offset_of_scrollRect_4() { return static_cast<int32_t>(offsetof(ButtonInsideScrollList_t2732141882, ___scrollRect_4)); }
inline ScrollRect_t4137855814 * get_scrollRect_4() const { return ___scrollRect_4; }
inline ScrollRect_t4137855814 ** get_address_of_scrollRect_4() { return &___scrollRect_4; }
inline void set_scrollRect_4(ScrollRect_t4137855814 * value)
{
___scrollRect_4 = value;
Il2CppCodeGenWriteBarrier((&___scrollRect_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BUTTONINSIDESCROLLLIST_T2732141882_H
#ifndef CULLAREA_T635391622_H
#define CULLAREA_T635391622_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CullArea
struct CullArea_t635391622 : public MonoBehaviour_t3962482529
{
public:
// System.Byte Photon.Pun.UtilityScripts.CullArea::FIRST_GROUP_ID
uint8_t ___FIRST_GROUP_ID_6;
// System.Int32[] Photon.Pun.UtilityScripts.CullArea::SUBDIVISION_FIRST_LEVEL_ORDER
Int32U5BU5D_t385246372* ___SUBDIVISION_FIRST_LEVEL_ORDER_7;
// System.Int32[] Photon.Pun.UtilityScripts.CullArea::SUBDIVISION_SECOND_LEVEL_ORDER
Int32U5BU5D_t385246372* ___SUBDIVISION_SECOND_LEVEL_ORDER_8;
// System.Int32[] Photon.Pun.UtilityScripts.CullArea::SUBDIVISION_THIRD_LEVEL_ORDER
Int32U5BU5D_t385246372* ___SUBDIVISION_THIRD_LEVEL_ORDER_9;
// UnityEngine.Vector2 Photon.Pun.UtilityScripts.CullArea::Center
Vector2_t2156229523 ___Center_10;
// UnityEngine.Vector2 Photon.Pun.UtilityScripts.CullArea::Size
Vector2_t2156229523 ___Size_11;
// UnityEngine.Vector2[] Photon.Pun.UtilityScripts.CullArea::Subdivisions
Vector2U5BU5D_t1457185986* ___Subdivisions_12;
// System.Int32 Photon.Pun.UtilityScripts.CullArea::NumberOfSubdivisions
int32_t ___NumberOfSubdivisions_13;
// System.Int32 Photon.Pun.UtilityScripts.CullArea::<CellCount>k__BackingField
int32_t ___U3CCellCountU3Ek__BackingField_14;
// Photon.Pun.UtilityScripts.CellTree Photon.Pun.UtilityScripts.CullArea::<CellTree>k__BackingField
CellTree_t656254725 * ___U3CCellTreeU3Ek__BackingField_15;
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GameObject> Photon.Pun.UtilityScripts.CullArea::<Map>k__BackingField
Dictionary_2_t2349950 * ___U3CMapU3Ek__BackingField_16;
// System.Boolean Photon.Pun.UtilityScripts.CullArea::YIsUpAxis
bool ___YIsUpAxis_17;
// System.Boolean Photon.Pun.UtilityScripts.CullArea::RecreateCellHierarchy
bool ___RecreateCellHierarchy_18;
// System.Byte Photon.Pun.UtilityScripts.CullArea::idCounter
uint8_t ___idCounter_19;
public:
inline static int32_t get_offset_of_FIRST_GROUP_ID_6() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___FIRST_GROUP_ID_6)); }
inline uint8_t get_FIRST_GROUP_ID_6() const { return ___FIRST_GROUP_ID_6; }
inline uint8_t* get_address_of_FIRST_GROUP_ID_6() { return &___FIRST_GROUP_ID_6; }
inline void set_FIRST_GROUP_ID_6(uint8_t value)
{
___FIRST_GROUP_ID_6 = value;
}
inline static int32_t get_offset_of_SUBDIVISION_FIRST_LEVEL_ORDER_7() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___SUBDIVISION_FIRST_LEVEL_ORDER_7)); }
inline Int32U5BU5D_t385246372* get_SUBDIVISION_FIRST_LEVEL_ORDER_7() const { return ___SUBDIVISION_FIRST_LEVEL_ORDER_7; }
inline Int32U5BU5D_t385246372** get_address_of_SUBDIVISION_FIRST_LEVEL_ORDER_7() { return &___SUBDIVISION_FIRST_LEVEL_ORDER_7; }
inline void set_SUBDIVISION_FIRST_LEVEL_ORDER_7(Int32U5BU5D_t385246372* value)
{
___SUBDIVISION_FIRST_LEVEL_ORDER_7 = value;
Il2CppCodeGenWriteBarrier((&___SUBDIVISION_FIRST_LEVEL_ORDER_7), value);
}
inline static int32_t get_offset_of_SUBDIVISION_SECOND_LEVEL_ORDER_8() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___SUBDIVISION_SECOND_LEVEL_ORDER_8)); }
inline Int32U5BU5D_t385246372* get_SUBDIVISION_SECOND_LEVEL_ORDER_8() const { return ___SUBDIVISION_SECOND_LEVEL_ORDER_8; }
inline Int32U5BU5D_t385246372** get_address_of_SUBDIVISION_SECOND_LEVEL_ORDER_8() { return &___SUBDIVISION_SECOND_LEVEL_ORDER_8; }
inline void set_SUBDIVISION_SECOND_LEVEL_ORDER_8(Int32U5BU5D_t385246372* value)
{
___SUBDIVISION_SECOND_LEVEL_ORDER_8 = value;
Il2CppCodeGenWriteBarrier((&___SUBDIVISION_SECOND_LEVEL_ORDER_8), value);
}
inline static int32_t get_offset_of_SUBDIVISION_THIRD_LEVEL_ORDER_9() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___SUBDIVISION_THIRD_LEVEL_ORDER_9)); }
inline Int32U5BU5D_t385246372* get_SUBDIVISION_THIRD_LEVEL_ORDER_9() const { return ___SUBDIVISION_THIRD_LEVEL_ORDER_9; }
inline Int32U5BU5D_t385246372** get_address_of_SUBDIVISION_THIRD_LEVEL_ORDER_9() { return &___SUBDIVISION_THIRD_LEVEL_ORDER_9; }
inline void set_SUBDIVISION_THIRD_LEVEL_ORDER_9(Int32U5BU5D_t385246372* value)
{
___SUBDIVISION_THIRD_LEVEL_ORDER_9 = value;
Il2CppCodeGenWriteBarrier((&___SUBDIVISION_THIRD_LEVEL_ORDER_9), value);
}
inline static int32_t get_offset_of_Center_10() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___Center_10)); }
inline Vector2_t2156229523 get_Center_10() const { return ___Center_10; }
inline Vector2_t2156229523 * get_address_of_Center_10() { return &___Center_10; }
inline void set_Center_10(Vector2_t2156229523 value)
{
___Center_10 = value;
}
inline static int32_t get_offset_of_Size_11() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___Size_11)); }
inline Vector2_t2156229523 get_Size_11() const { return ___Size_11; }
inline Vector2_t2156229523 * get_address_of_Size_11() { return &___Size_11; }
inline void set_Size_11(Vector2_t2156229523 value)
{
___Size_11 = value;
}
inline static int32_t get_offset_of_Subdivisions_12() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___Subdivisions_12)); }
inline Vector2U5BU5D_t1457185986* get_Subdivisions_12() const { return ___Subdivisions_12; }
inline Vector2U5BU5D_t1457185986** get_address_of_Subdivisions_12() { return &___Subdivisions_12; }
inline void set_Subdivisions_12(Vector2U5BU5D_t1457185986* value)
{
___Subdivisions_12 = value;
Il2CppCodeGenWriteBarrier((&___Subdivisions_12), value);
}
inline static int32_t get_offset_of_NumberOfSubdivisions_13() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___NumberOfSubdivisions_13)); }
inline int32_t get_NumberOfSubdivisions_13() const { return ___NumberOfSubdivisions_13; }
inline int32_t* get_address_of_NumberOfSubdivisions_13() { return &___NumberOfSubdivisions_13; }
inline void set_NumberOfSubdivisions_13(int32_t value)
{
___NumberOfSubdivisions_13 = value;
}
inline static int32_t get_offset_of_U3CCellCountU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___U3CCellCountU3Ek__BackingField_14)); }
inline int32_t get_U3CCellCountU3Ek__BackingField_14() const { return ___U3CCellCountU3Ek__BackingField_14; }
inline int32_t* get_address_of_U3CCellCountU3Ek__BackingField_14() { return &___U3CCellCountU3Ek__BackingField_14; }
inline void set_U3CCellCountU3Ek__BackingField_14(int32_t value)
{
___U3CCellCountU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CCellTreeU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___U3CCellTreeU3Ek__BackingField_15)); }
inline CellTree_t656254725 * get_U3CCellTreeU3Ek__BackingField_15() const { return ___U3CCellTreeU3Ek__BackingField_15; }
inline CellTree_t656254725 ** get_address_of_U3CCellTreeU3Ek__BackingField_15() { return &___U3CCellTreeU3Ek__BackingField_15; }
inline void set_U3CCellTreeU3Ek__BackingField_15(CellTree_t656254725 * value)
{
___U3CCellTreeU3Ek__BackingField_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CCellTreeU3Ek__BackingField_15), value);
}
inline static int32_t get_offset_of_U3CMapU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___U3CMapU3Ek__BackingField_16)); }
inline Dictionary_2_t2349950 * get_U3CMapU3Ek__BackingField_16() const { return ___U3CMapU3Ek__BackingField_16; }
inline Dictionary_2_t2349950 ** get_address_of_U3CMapU3Ek__BackingField_16() { return &___U3CMapU3Ek__BackingField_16; }
inline void set_U3CMapU3Ek__BackingField_16(Dictionary_2_t2349950 * value)
{
___U3CMapU3Ek__BackingField_16 = value;
Il2CppCodeGenWriteBarrier((&___U3CMapU3Ek__BackingField_16), value);
}
inline static int32_t get_offset_of_YIsUpAxis_17() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___YIsUpAxis_17)); }
inline bool get_YIsUpAxis_17() const { return ___YIsUpAxis_17; }
inline bool* get_address_of_YIsUpAxis_17() { return &___YIsUpAxis_17; }
inline void set_YIsUpAxis_17(bool value)
{
___YIsUpAxis_17 = value;
}
inline static int32_t get_offset_of_RecreateCellHierarchy_18() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___RecreateCellHierarchy_18)); }
inline bool get_RecreateCellHierarchy_18() const { return ___RecreateCellHierarchy_18; }
inline bool* get_address_of_RecreateCellHierarchy_18() { return &___RecreateCellHierarchy_18; }
inline void set_RecreateCellHierarchy_18(bool value)
{
___RecreateCellHierarchy_18 = value;
}
inline static int32_t get_offset_of_idCounter_19() { return static_cast<int32_t>(offsetof(CullArea_t635391622, ___idCounter_19)); }
inline uint8_t get_idCounter_19() const { return ___idCounter_19; }
inline uint8_t* get_address_of_idCounter_19() { return &___idCounter_19; }
inline void set_idCounter_19(uint8_t value)
{
___idCounter_19 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CULLAREA_T635391622_H
#ifndef CULLINGHANDLER_T4282308608_H
#define CULLINGHANDLER_T4282308608_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CullingHandler
struct CullingHandler_t4282308608 : public MonoBehaviour_t3962482529
{
public:
// System.Int32 Photon.Pun.UtilityScripts.CullingHandler::orderIndex
int32_t ___orderIndex_4;
// Photon.Pun.UtilityScripts.CullArea Photon.Pun.UtilityScripts.CullingHandler::cullArea
CullArea_t635391622 * ___cullArea_5;
// System.Collections.Generic.List`1<System.Byte> Photon.Pun.UtilityScripts.CullingHandler::previousActiveCells
List_1_t2606371118 * ___previousActiveCells_6;
// System.Collections.Generic.List`1<System.Byte> Photon.Pun.UtilityScripts.CullingHandler::activeCells
List_1_t2606371118 * ___activeCells_7;
// Photon.Pun.PhotonView Photon.Pun.UtilityScripts.CullingHandler::pView
PhotonView_t3684715584 * ___pView_8;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CullingHandler::lastPosition
Vector3_t3722313464 ___lastPosition_9;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.CullingHandler::currentPosition
Vector3_t3722313464 ___currentPosition_10;
public:
inline static int32_t get_offset_of_orderIndex_4() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___orderIndex_4)); }
inline int32_t get_orderIndex_4() const { return ___orderIndex_4; }
inline int32_t* get_address_of_orderIndex_4() { return &___orderIndex_4; }
inline void set_orderIndex_4(int32_t value)
{
___orderIndex_4 = value;
}
inline static int32_t get_offset_of_cullArea_5() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___cullArea_5)); }
inline CullArea_t635391622 * get_cullArea_5() const { return ___cullArea_5; }
inline CullArea_t635391622 ** get_address_of_cullArea_5() { return &___cullArea_5; }
inline void set_cullArea_5(CullArea_t635391622 * value)
{
___cullArea_5 = value;
Il2CppCodeGenWriteBarrier((&___cullArea_5), value);
}
inline static int32_t get_offset_of_previousActiveCells_6() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___previousActiveCells_6)); }
inline List_1_t2606371118 * get_previousActiveCells_6() const { return ___previousActiveCells_6; }
inline List_1_t2606371118 ** get_address_of_previousActiveCells_6() { return &___previousActiveCells_6; }
inline void set_previousActiveCells_6(List_1_t2606371118 * value)
{
___previousActiveCells_6 = value;
Il2CppCodeGenWriteBarrier((&___previousActiveCells_6), value);
}
inline static int32_t get_offset_of_activeCells_7() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___activeCells_7)); }
inline List_1_t2606371118 * get_activeCells_7() const { return ___activeCells_7; }
inline List_1_t2606371118 ** get_address_of_activeCells_7() { return &___activeCells_7; }
inline void set_activeCells_7(List_1_t2606371118 * value)
{
___activeCells_7 = value;
Il2CppCodeGenWriteBarrier((&___activeCells_7), value);
}
inline static int32_t get_offset_of_pView_8() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___pView_8)); }
inline PhotonView_t3684715584 * get_pView_8() const { return ___pView_8; }
inline PhotonView_t3684715584 ** get_address_of_pView_8() { return &___pView_8; }
inline void set_pView_8(PhotonView_t3684715584 * value)
{
___pView_8 = value;
Il2CppCodeGenWriteBarrier((&___pView_8), value);
}
inline static int32_t get_offset_of_lastPosition_9() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___lastPosition_9)); }
inline Vector3_t3722313464 get_lastPosition_9() const { return ___lastPosition_9; }
inline Vector3_t3722313464 * get_address_of_lastPosition_9() { return &___lastPosition_9; }
inline void set_lastPosition_9(Vector3_t3722313464 value)
{
___lastPosition_9 = value;
}
inline static int32_t get_offset_of_currentPosition_10() { return static_cast<int32_t>(offsetof(CullingHandler_t4282308608, ___currentPosition_10)); }
inline Vector3_t3722313464 get_currentPosition_10() const { return ___currentPosition_10; }
inline Vector3_t3722313464 * get_address_of_currentPosition_10() { return &___currentPosition_10; }
inline void set_currentPosition_10(Vector3_t3722313464 value)
{
___currentPosition_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CULLINGHANDLER_T4282308608_H
#ifndef EVENTSYSTEMSPAWNER_T2883568726_H
#define EVENTSYSTEMSPAWNER_T2883568726_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.EventSystemSpawner
struct EventSystemSpawner_t2883568726 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTSYSTEMSPAWNER_T2883568726_H
#ifndef GRAPHICTOGGLEISONTRANSITION_T3135858402_H
#define GRAPHICTOGGLEISONTRANSITION_T3135858402_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition
struct GraphicToggleIsOnTransition_t3135858402 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.Toggle Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::toggle
Toggle_t2735377061 * ___toggle_4;
// UnityEngine.UI.Graphic Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::_graphic
Graphic_t1660335611 * ____graphic_5;
// UnityEngine.Color Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::NormalOnColor
Color_t2555686324 ___NormalOnColor_6;
// UnityEngine.Color Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::NormalOffColor
Color_t2555686324 ___NormalOffColor_7;
// UnityEngine.Color Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::HoverOnColor
Color_t2555686324 ___HoverOnColor_8;
// UnityEngine.Color Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::HoverOffColor
Color_t2555686324 ___HoverOffColor_9;
// System.Boolean Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::isHover
bool ___isHover_10;
public:
inline static int32_t get_offset_of_toggle_4() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___toggle_4)); }
inline Toggle_t2735377061 * get_toggle_4() const { return ___toggle_4; }
inline Toggle_t2735377061 ** get_address_of_toggle_4() { return &___toggle_4; }
inline void set_toggle_4(Toggle_t2735377061 * value)
{
___toggle_4 = value;
Il2CppCodeGenWriteBarrier((&___toggle_4), value);
}
inline static int32_t get_offset_of__graphic_5() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ____graphic_5)); }
inline Graphic_t1660335611 * get__graphic_5() const { return ____graphic_5; }
inline Graphic_t1660335611 ** get_address_of__graphic_5() { return &____graphic_5; }
inline void set__graphic_5(Graphic_t1660335611 * value)
{
____graphic_5 = value;
Il2CppCodeGenWriteBarrier((&____graphic_5), value);
}
inline static int32_t get_offset_of_NormalOnColor_6() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___NormalOnColor_6)); }
inline Color_t2555686324 get_NormalOnColor_6() const { return ___NormalOnColor_6; }
inline Color_t2555686324 * get_address_of_NormalOnColor_6() { return &___NormalOnColor_6; }
inline void set_NormalOnColor_6(Color_t2555686324 value)
{
___NormalOnColor_6 = value;
}
inline static int32_t get_offset_of_NormalOffColor_7() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___NormalOffColor_7)); }
inline Color_t2555686324 get_NormalOffColor_7() const { return ___NormalOffColor_7; }
inline Color_t2555686324 * get_address_of_NormalOffColor_7() { return &___NormalOffColor_7; }
inline void set_NormalOffColor_7(Color_t2555686324 value)
{
___NormalOffColor_7 = value;
}
inline static int32_t get_offset_of_HoverOnColor_8() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___HoverOnColor_8)); }
inline Color_t2555686324 get_HoverOnColor_8() const { return ___HoverOnColor_8; }
inline Color_t2555686324 * get_address_of_HoverOnColor_8() { return &___HoverOnColor_8; }
inline void set_HoverOnColor_8(Color_t2555686324 value)
{
___HoverOnColor_8 = value;
}
inline static int32_t get_offset_of_HoverOffColor_9() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___HoverOffColor_9)); }
inline Color_t2555686324 get_HoverOffColor_9() const { return ___HoverOffColor_9; }
inline Color_t2555686324 * get_address_of_HoverOffColor_9() { return &___HoverOffColor_9; }
inline void set_HoverOffColor_9(Color_t2555686324 value)
{
___HoverOffColor_9 = value;
}
inline static int32_t get_offset_of_isHover_10() { return static_cast<int32_t>(offsetof(GraphicToggleIsOnTransition_t3135858402, ___isHover_10)); }
inline bool get_isHover_10() const { return ___isHover_10; }
inline bool* get_address_of_isHover_10() { return &___isHover_10; }
inline void set_isHover_10(bool value)
{
___isHover_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GRAPHICTOGGLEISONTRANSITION_T3135858402_H
#ifndef ONCLICKINSTANTIATE_T3820097070_H
#define ONCLICKINSTANTIATE_T3820097070_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickInstantiate
struct OnClickInstantiate_t3820097070 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.EventSystems.PointerEventData/InputButton Photon.Pun.UtilityScripts.OnClickInstantiate::Button
int32_t ___Button_4;
// UnityEngine.KeyCode Photon.Pun.UtilityScripts.OnClickInstantiate::ModifierKey
int32_t ___ModifierKey_5;
// UnityEngine.GameObject Photon.Pun.UtilityScripts.OnClickInstantiate::Prefab
GameObject_t1113636619 * ___Prefab_6;
// Photon.Pun.UtilityScripts.OnClickInstantiate/InstantiateOption Photon.Pun.UtilityScripts.OnClickInstantiate::InstantiateType
int32_t ___InstantiateType_7;
public:
inline static int32_t get_offset_of_Button_4() { return static_cast<int32_t>(offsetof(OnClickInstantiate_t3820097070, ___Button_4)); }
inline int32_t get_Button_4() const { return ___Button_4; }
inline int32_t* get_address_of_Button_4() { return &___Button_4; }
inline void set_Button_4(int32_t value)
{
___Button_4 = value;
}
inline static int32_t get_offset_of_ModifierKey_5() { return static_cast<int32_t>(offsetof(OnClickInstantiate_t3820097070, ___ModifierKey_5)); }
inline int32_t get_ModifierKey_5() const { return ___ModifierKey_5; }
inline int32_t* get_address_of_ModifierKey_5() { return &___ModifierKey_5; }
inline void set_ModifierKey_5(int32_t value)
{
___ModifierKey_5 = value;
}
inline static int32_t get_offset_of_Prefab_6() { return static_cast<int32_t>(offsetof(OnClickInstantiate_t3820097070, ___Prefab_6)); }
inline GameObject_t1113636619 * get_Prefab_6() const { return ___Prefab_6; }
inline GameObject_t1113636619 ** get_address_of_Prefab_6() { return &___Prefab_6; }
inline void set_Prefab_6(GameObject_t1113636619 * value)
{
___Prefab_6 = value;
Il2CppCodeGenWriteBarrier((&___Prefab_6), value);
}
inline static int32_t get_offset_of_InstantiateType_7() { return static_cast<int32_t>(offsetof(OnClickInstantiate_t3820097070, ___InstantiateType_7)); }
inline int32_t get_InstantiateType_7() const { return ___InstantiateType_7; }
inline int32_t* get_address_of_InstantiateType_7() { return &___InstantiateType_7; }
inline void set_InstantiateType_7(int32_t value)
{
___InstantiateType_7 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONCLICKINSTANTIATE_T3820097070_H
#ifndef ONESCAPEQUIT_T589738653_H
#define ONESCAPEQUIT_T589738653_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnEscapeQuit
struct OnEscapeQuit_t589738653 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONESCAPEQUIT_T589738653_H
#ifndef ONJOINEDINSTANTIATE_T361656573_H
#define ONJOINEDINSTANTIATE_T361656573_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnJoinedInstantiate
struct OnJoinedInstantiate_t361656573 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.Transform Photon.Pun.UtilityScripts.OnJoinedInstantiate::SpawnPosition
Transform_t3600365921 * ___SpawnPosition_4;
// System.Single Photon.Pun.UtilityScripts.OnJoinedInstantiate::PositionOffset
float ___PositionOffset_5;
// UnityEngine.GameObject[] Photon.Pun.UtilityScripts.OnJoinedInstantiate::PrefabsToInstantiate
GameObjectU5BU5D_t3328599146* ___PrefabsToInstantiate_6;
public:
inline static int32_t get_offset_of_SpawnPosition_4() { return static_cast<int32_t>(offsetof(OnJoinedInstantiate_t361656573, ___SpawnPosition_4)); }
inline Transform_t3600365921 * get_SpawnPosition_4() const { return ___SpawnPosition_4; }
inline Transform_t3600365921 ** get_address_of_SpawnPosition_4() { return &___SpawnPosition_4; }
inline void set_SpawnPosition_4(Transform_t3600365921 * value)
{
___SpawnPosition_4 = value;
Il2CppCodeGenWriteBarrier((&___SpawnPosition_4), value);
}
inline static int32_t get_offset_of_PositionOffset_5() { return static_cast<int32_t>(offsetof(OnJoinedInstantiate_t361656573, ___PositionOffset_5)); }
inline float get_PositionOffset_5() const { return ___PositionOffset_5; }
inline float* get_address_of_PositionOffset_5() { return &___PositionOffset_5; }
inline void set_PositionOffset_5(float value)
{
___PositionOffset_5 = value;
}
inline static int32_t get_offset_of_PrefabsToInstantiate_6() { return static_cast<int32_t>(offsetof(OnJoinedInstantiate_t361656573, ___PrefabsToInstantiate_6)); }
inline GameObjectU5BU5D_t3328599146* get_PrefabsToInstantiate_6() const { return ___PrefabsToInstantiate_6; }
inline GameObjectU5BU5D_t3328599146** get_address_of_PrefabsToInstantiate_6() { return &___PrefabsToInstantiate_6; }
inline void set_PrefabsToInstantiate_6(GameObjectU5BU5D_t3328599146* value)
{
___PrefabsToInstantiate_6 = value;
Il2CppCodeGenWriteBarrier((&___PrefabsToInstantiate_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONJOINEDINSTANTIATE_T361656573_H
#ifndef ONPOINTEROVERTOOLTIP_T3690126031_H
#define ONPOINTEROVERTOOLTIP_T3690126031_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnPointerOverTooltip
struct OnPointerOverTooltip_t3690126031 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONPOINTEROVERTOOLTIP_T3690126031_H
#ifndef ONSTARTDELETE_T2541883597_H
#define ONSTARTDELETE_T2541883597_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnStartDelete
struct OnStartDelete_t2541883597 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONSTARTDELETE_T2541883597_H
#ifndef PHOTONLAGSIMULATIONGUI_T145554164_H
#define PHOTONLAGSIMULATIONGUI_T145554164_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PhotonLagSimulationGui
struct PhotonLagSimulationGui_t145554164 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.Rect Photon.Pun.UtilityScripts.PhotonLagSimulationGui::WindowRect
Rect_t2360479859 ___WindowRect_4;
// System.Int32 Photon.Pun.UtilityScripts.PhotonLagSimulationGui::WindowId
int32_t ___WindowId_5;
// System.Boolean Photon.Pun.UtilityScripts.PhotonLagSimulationGui::Visible
bool ___Visible_6;
// ExitGames.Client.Photon.PhotonPeer Photon.Pun.UtilityScripts.PhotonLagSimulationGui::<Peer>k__BackingField
PhotonPeer_t1608153861 * ___U3CPeerU3Ek__BackingField_7;
public:
inline static int32_t get_offset_of_WindowRect_4() { return static_cast<int32_t>(offsetof(PhotonLagSimulationGui_t145554164, ___WindowRect_4)); }
inline Rect_t2360479859 get_WindowRect_4() const { return ___WindowRect_4; }
inline Rect_t2360479859 * get_address_of_WindowRect_4() { return &___WindowRect_4; }
inline void set_WindowRect_4(Rect_t2360479859 value)
{
___WindowRect_4 = value;
}
inline static int32_t get_offset_of_WindowId_5() { return static_cast<int32_t>(offsetof(PhotonLagSimulationGui_t145554164, ___WindowId_5)); }
inline int32_t get_WindowId_5() const { return ___WindowId_5; }
inline int32_t* get_address_of_WindowId_5() { return &___WindowId_5; }
inline void set_WindowId_5(int32_t value)
{
___WindowId_5 = value;
}
inline static int32_t get_offset_of_Visible_6() { return static_cast<int32_t>(offsetof(PhotonLagSimulationGui_t145554164, ___Visible_6)); }
inline bool get_Visible_6() const { return ___Visible_6; }
inline bool* get_address_of_Visible_6() { return &___Visible_6; }
inline void set_Visible_6(bool value)
{
___Visible_6 = value;
}
inline static int32_t get_offset_of_U3CPeerU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(PhotonLagSimulationGui_t145554164, ___U3CPeerU3Ek__BackingField_7)); }
inline PhotonPeer_t1608153861 * get_U3CPeerU3Ek__BackingField_7() const { return ___U3CPeerU3Ek__BackingField_7; }
inline PhotonPeer_t1608153861 ** get_address_of_U3CPeerU3Ek__BackingField_7() { return &___U3CPeerU3Ek__BackingField_7; }
inline void set_U3CPeerU3Ek__BackingField_7(PhotonPeer_t1608153861 * value)
{
___U3CPeerU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((&___U3CPeerU3Ek__BackingField_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONLAGSIMULATIONGUI_T145554164_H
#ifndef PHOTONSTATSGUI_T2125249956_H
#define PHOTONSTATSGUI_T2125249956_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PhotonStatsGui
struct PhotonStatsGui_t2125249956 : public MonoBehaviour_t3962482529
{
public:
// System.Boolean Photon.Pun.UtilityScripts.PhotonStatsGui::statsWindowOn
bool ___statsWindowOn_4;
// System.Boolean Photon.Pun.UtilityScripts.PhotonStatsGui::statsOn
bool ___statsOn_5;
// System.Boolean Photon.Pun.UtilityScripts.PhotonStatsGui::healthStatsVisible
bool ___healthStatsVisible_6;
// System.Boolean Photon.Pun.UtilityScripts.PhotonStatsGui::trafficStatsOn
bool ___trafficStatsOn_7;
// System.Boolean Photon.Pun.UtilityScripts.PhotonStatsGui::buttonsOn
bool ___buttonsOn_8;
// UnityEngine.Rect Photon.Pun.UtilityScripts.PhotonStatsGui::statsRect
Rect_t2360479859 ___statsRect_9;
// System.Int32 Photon.Pun.UtilityScripts.PhotonStatsGui::WindowId
int32_t ___WindowId_10;
public:
inline static int32_t get_offset_of_statsWindowOn_4() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___statsWindowOn_4)); }
inline bool get_statsWindowOn_4() const { return ___statsWindowOn_4; }
inline bool* get_address_of_statsWindowOn_4() { return &___statsWindowOn_4; }
inline void set_statsWindowOn_4(bool value)
{
___statsWindowOn_4 = value;
}
inline static int32_t get_offset_of_statsOn_5() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___statsOn_5)); }
inline bool get_statsOn_5() const { return ___statsOn_5; }
inline bool* get_address_of_statsOn_5() { return &___statsOn_5; }
inline void set_statsOn_5(bool value)
{
___statsOn_5 = value;
}
inline static int32_t get_offset_of_healthStatsVisible_6() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___healthStatsVisible_6)); }
inline bool get_healthStatsVisible_6() const { return ___healthStatsVisible_6; }
inline bool* get_address_of_healthStatsVisible_6() { return &___healthStatsVisible_6; }
inline void set_healthStatsVisible_6(bool value)
{
___healthStatsVisible_6 = value;
}
inline static int32_t get_offset_of_trafficStatsOn_7() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___trafficStatsOn_7)); }
inline bool get_trafficStatsOn_7() const { return ___trafficStatsOn_7; }
inline bool* get_address_of_trafficStatsOn_7() { return &___trafficStatsOn_7; }
inline void set_trafficStatsOn_7(bool value)
{
___trafficStatsOn_7 = value;
}
inline static int32_t get_offset_of_buttonsOn_8() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___buttonsOn_8)); }
inline bool get_buttonsOn_8() const { return ___buttonsOn_8; }
inline bool* get_address_of_buttonsOn_8() { return &___buttonsOn_8; }
inline void set_buttonsOn_8(bool value)
{
___buttonsOn_8 = value;
}
inline static int32_t get_offset_of_statsRect_9() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___statsRect_9)); }
inline Rect_t2360479859 get_statsRect_9() const { return ___statsRect_9; }
inline Rect_t2360479859 * get_address_of_statsRect_9() { return &___statsRect_9; }
inline void set_statsRect_9(Rect_t2360479859 value)
{
___statsRect_9 = value;
}
inline static int32_t get_offset_of_WindowId_10() { return static_cast<int32_t>(offsetof(PhotonStatsGui_t2125249956, ___WindowId_10)); }
inline int32_t get_WindowId_10() const { return ___WindowId_10; }
inline int32_t* get_address_of_WindowId_10() { return &___WindowId_10; }
inline void set_WindowId_10(int32_t value)
{
___WindowId_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PHOTONSTATSGUI_T2125249956_H
#ifndef POINTEDATGAMEOBJECTINFO_T425461813_H
#define POINTEDATGAMEOBJECTINFO_T425461813_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PointedAtGameObjectInfo
struct PointedAtGameObjectInfo_t425461813 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.Text Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::text
Text_t1901882714 * ___text_5;
// UnityEngine.Transform Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::focus
Transform_t3600365921 * ___focus_6;
public:
inline static int32_t get_offset_of_text_5() { return static_cast<int32_t>(offsetof(PointedAtGameObjectInfo_t425461813, ___text_5)); }
inline Text_t1901882714 * get_text_5() const { return ___text_5; }
inline Text_t1901882714 ** get_address_of_text_5() { return &___text_5; }
inline void set_text_5(Text_t1901882714 * value)
{
___text_5 = value;
Il2CppCodeGenWriteBarrier((&___text_5), value);
}
inline static int32_t get_offset_of_focus_6() { return static_cast<int32_t>(offsetof(PointedAtGameObjectInfo_t425461813, ___focus_6)); }
inline Transform_t3600365921 * get_focus_6() const { return ___focus_6; }
inline Transform_t3600365921 ** get_address_of_focus_6() { return &___focus_6; }
inline void set_focus_6(Transform_t3600365921 * value)
{
___focus_6 = value;
Il2CppCodeGenWriteBarrier((&___focus_6), value);
}
};
struct PointedAtGameObjectInfo_t425461813_StaticFields
{
public:
// Photon.Pun.UtilityScripts.PointedAtGameObjectInfo Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::Instance
PointedAtGameObjectInfo_t425461813 * ___Instance_4;
public:
inline static int32_t get_offset_of_Instance_4() { return static_cast<int32_t>(offsetof(PointedAtGameObjectInfo_t425461813_StaticFields, ___Instance_4)); }
inline PointedAtGameObjectInfo_t425461813 * get_Instance_4() const { return ___Instance_4; }
inline PointedAtGameObjectInfo_t425461813 ** get_address_of_Instance_4() { return &___Instance_4; }
inline void set_Instance_4(PointedAtGameObjectInfo_t425461813 * value)
{
___Instance_4 = value;
Il2CppCodeGenWriteBarrier((&___Instance_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // POINTEDATGAMEOBJECTINFO_T425461813_H
#ifndef PUNPLAYERSCORES_T3603890024_H
#define PUNPLAYERSCORES_T3603890024_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PunPlayerScores
struct PunPlayerScores_t3603890024 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PUNPLAYERSCORES_T3603890024_H
#ifndef STATESGUI_T4032328020_H
#define STATESGUI_T4032328020_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.StatesGui
struct StatesGui_t4032328020 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.Rect Photon.Pun.UtilityScripts.StatesGui::GuiOffset
Rect_t2360479859 ___GuiOffset_4;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::DontDestroy
bool ___DontDestroy_5;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::ServerTimestamp
bool ___ServerTimestamp_6;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::DetailedConnection
bool ___DetailedConnection_7;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::Server
bool ___Server_8;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::AppVersion
bool ___AppVersion_9;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::UserId
bool ___UserId_10;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::Room
bool ___Room_11;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::RoomProps
bool ___RoomProps_12;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::LocalPlayer
bool ___LocalPlayer_13;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::PlayerProps
bool ___PlayerProps_14;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::Others
bool ___Others_15;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::Buttons
bool ___Buttons_16;
// System.Boolean Photon.Pun.UtilityScripts.StatesGui::ExpectedUsers
bool ___ExpectedUsers_17;
// UnityEngine.Rect Photon.Pun.UtilityScripts.StatesGui::GuiRect
Rect_t2360479859 ___GuiRect_18;
public:
inline static int32_t get_offset_of_GuiOffset_4() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___GuiOffset_4)); }
inline Rect_t2360479859 get_GuiOffset_4() const { return ___GuiOffset_4; }
inline Rect_t2360479859 * get_address_of_GuiOffset_4() { return &___GuiOffset_4; }
inline void set_GuiOffset_4(Rect_t2360479859 value)
{
___GuiOffset_4 = value;
}
inline static int32_t get_offset_of_DontDestroy_5() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___DontDestroy_5)); }
inline bool get_DontDestroy_5() const { return ___DontDestroy_5; }
inline bool* get_address_of_DontDestroy_5() { return &___DontDestroy_5; }
inline void set_DontDestroy_5(bool value)
{
___DontDestroy_5 = value;
}
inline static int32_t get_offset_of_ServerTimestamp_6() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___ServerTimestamp_6)); }
inline bool get_ServerTimestamp_6() const { return ___ServerTimestamp_6; }
inline bool* get_address_of_ServerTimestamp_6() { return &___ServerTimestamp_6; }
inline void set_ServerTimestamp_6(bool value)
{
___ServerTimestamp_6 = value;
}
inline static int32_t get_offset_of_DetailedConnection_7() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___DetailedConnection_7)); }
inline bool get_DetailedConnection_7() const { return ___DetailedConnection_7; }
inline bool* get_address_of_DetailedConnection_7() { return &___DetailedConnection_7; }
inline void set_DetailedConnection_7(bool value)
{
___DetailedConnection_7 = value;
}
inline static int32_t get_offset_of_Server_8() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___Server_8)); }
inline bool get_Server_8() const { return ___Server_8; }
inline bool* get_address_of_Server_8() { return &___Server_8; }
inline void set_Server_8(bool value)
{
___Server_8 = value;
}
inline static int32_t get_offset_of_AppVersion_9() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___AppVersion_9)); }
inline bool get_AppVersion_9() const { return ___AppVersion_9; }
inline bool* get_address_of_AppVersion_9() { return &___AppVersion_9; }
inline void set_AppVersion_9(bool value)
{
___AppVersion_9 = value;
}
inline static int32_t get_offset_of_UserId_10() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___UserId_10)); }
inline bool get_UserId_10() const { return ___UserId_10; }
inline bool* get_address_of_UserId_10() { return &___UserId_10; }
inline void set_UserId_10(bool value)
{
___UserId_10 = value;
}
inline static int32_t get_offset_of_Room_11() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___Room_11)); }
inline bool get_Room_11() const { return ___Room_11; }
inline bool* get_address_of_Room_11() { return &___Room_11; }
inline void set_Room_11(bool value)
{
___Room_11 = value;
}
inline static int32_t get_offset_of_RoomProps_12() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___RoomProps_12)); }
inline bool get_RoomProps_12() const { return ___RoomProps_12; }
inline bool* get_address_of_RoomProps_12() { return &___RoomProps_12; }
inline void set_RoomProps_12(bool value)
{
___RoomProps_12 = value;
}
inline static int32_t get_offset_of_LocalPlayer_13() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___LocalPlayer_13)); }
inline bool get_LocalPlayer_13() const { return ___LocalPlayer_13; }
inline bool* get_address_of_LocalPlayer_13() { return &___LocalPlayer_13; }
inline void set_LocalPlayer_13(bool value)
{
___LocalPlayer_13 = value;
}
inline static int32_t get_offset_of_PlayerProps_14() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___PlayerProps_14)); }
inline bool get_PlayerProps_14() const { return ___PlayerProps_14; }
inline bool* get_address_of_PlayerProps_14() { return &___PlayerProps_14; }
inline void set_PlayerProps_14(bool value)
{
___PlayerProps_14 = value;
}
inline static int32_t get_offset_of_Others_15() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___Others_15)); }
inline bool get_Others_15() const { return ___Others_15; }
inline bool* get_address_of_Others_15() { return &___Others_15; }
inline void set_Others_15(bool value)
{
___Others_15 = value;
}
inline static int32_t get_offset_of_Buttons_16() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___Buttons_16)); }
inline bool get_Buttons_16() const { return ___Buttons_16; }
inline bool* get_address_of_Buttons_16() { return &___Buttons_16; }
inline void set_Buttons_16(bool value)
{
___Buttons_16 = value;
}
inline static int32_t get_offset_of_ExpectedUsers_17() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___ExpectedUsers_17)); }
inline bool get_ExpectedUsers_17() const { return ___ExpectedUsers_17; }
inline bool* get_address_of_ExpectedUsers_17() { return &___ExpectedUsers_17; }
inline void set_ExpectedUsers_17(bool value)
{
___ExpectedUsers_17 = value;
}
inline static int32_t get_offset_of_GuiRect_18() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020, ___GuiRect_18)); }
inline Rect_t2360479859 get_GuiRect_18() const { return ___GuiRect_18; }
inline Rect_t2360479859 * get_address_of_GuiRect_18() { return &___GuiRect_18; }
inline void set_GuiRect_18(Rect_t2360479859 value)
{
___GuiRect_18 = value;
}
};
struct StatesGui_t4032328020_StaticFields
{
public:
// Photon.Pun.UtilityScripts.StatesGui Photon.Pun.UtilityScripts.StatesGui::Instance
StatesGui_t4032328020 * ___Instance_19;
public:
inline static int32_t get_offset_of_Instance_19() { return static_cast<int32_t>(offsetof(StatesGui_t4032328020_StaticFields, ___Instance_19)); }
inline StatesGui_t4032328020 * get_Instance_19() const { return ___Instance_19; }
inline StatesGui_t4032328020 ** get_address_of_Instance_19() { return &___Instance_19; }
inline void set_Instance_19(StatesGui_t4032328020 * value)
{
___Instance_19 = value;
Il2CppCodeGenWriteBarrier((&___Instance_19), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STATESGUI_T4032328020_H
#ifndef TABVIEWMANAGER_T3686055887_H
#define TABVIEWMANAGER_T3686055887_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TabViewManager
struct TabViewManager_t3686055887 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.ToggleGroup Photon.Pun.UtilityScripts.TabViewManager::ToggleGroup
ToggleGroup_t123837990 * ___ToggleGroup_4;
// Photon.Pun.UtilityScripts.TabViewManager/Tab[] Photon.Pun.UtilityScripts.TabViewManager::Tabs
TabU5BU5D_t533311896* ___Tabs_5;
// Photon.Pun.UtilityScripts.TabViewManager/TabChangeEvent Photon.Pun.UtilityScripts.TabViewManager::OnTabChanged
TabChangeEvent_t3080003849 * ___OnTabChanged_6;
// Photon.Pun.UtilityScripts.TabViewManager/Tab Photon.Pun.UtilityScripts.TabViewManager::CurrentTab
Tab_t117203701 * ___CurrentTab_7;
// System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab> Photon.Pun.UtilityScripts.TabViewManager::Tab_lut
Dictionary_2_t1152131052 * ___Tab_lut_8;
public:
inline static int32_t get_offset_of_ToggleGroup_4() { return static_cast<int32_t>(offsetof(TabViewManager_t3686055887, ___ToggleGroup_4)); }
inline ToggleGroup_t123837990 * get_ToggleGroup_4() const { return ___ToggleGroup_4; }
inline ToggleGroup_t123837990 ** get_address_of_ToggleGroup_4() { return &___ToggleGroup_4; }
inline void set_ToggleGroup_4(ToggleGroup_t123837990 * value)
{
___ToggleGroup_4 = value;
Il2CppCodeGenWriteBarrier((&___ToggleGroup_4), value);
}
inline static int32_t get_offset_of_Tabs_5() { return static_cast<int32_t>(offsetof(TabViewManager_t3686055887, ___Tabs_5)); }
inline TabU5BU5D_t533311896* get_Tabs_5() const { return ___Tabs_5; }
inline TabU5BU5D_t533311896** get_address_of_Tabs_5() { return &___Tabs_5; }
inline void set_Tabs_5(TabU5BU5D_t533311896* value)
{
___Tabs_5 = value;
Il2CppCodeGenWriteBarrier((&___Tabs_5), value);
}
inline static int32_t get_offset_of_OnTabChanged_6() { return static_cast<int32_t>(offsetof(TabViewManager_t3686055887, ___OnTabChanged_6)); }
inline TabChangeEvent_t3080003849 * get_OnTabChanged_6() const { return ___OnTabChanged_6; }
inline TabChangeEvent_t3080003849 ** get_address_of_OnTabChanged_6() { return &___OnTabChanged_6; }
inline void set_OnTabChanged_6(TabChangeEvent_t3080003849 * value)
{
___OnTabChanged_6 = value;
Il2CppCodeGenWriteBarrier((&___OnTabChanged_6), value);
}
inline static int32_t get_offset_of_CurrentTab_7() { return static_cast<int32_t>(offsetof(TabViewManager_t3686055887, ___CurrentTab_7)); }
inline Tab_t117203701 * get_CurrentTab_7() const { return ___CurrentTab_7; }
inline Tab_t117203701 ** get_address_of_CurrentTab_7() { return &___CurrentTab_7; }
inline void set_CurrentTab_7(Tab_t117203701 * value)
{
___CurrentTab_7 = value;
Il2CppCodeGenWriteBarrier((&___CurrentTab_7), value);
}
inline static int32_t get_offset_of_Tab_lut_8() { return static_cast<int32_t>(offsetof(TabViewManager_t3686055887, ___Tab_lut_8)); }
inline Dictionary_2_t1152131052 * get_Tab_lut_8() const { return ___Tab_lut_8; }
inline Dictionary_2_t1152131052 ** get_address_of_Tab_lut_8() { return &___Tab_lut_8; }
inline void set_Tab_lut_8(Dictionary_2_t1152131052 * value)
{
___Tab_lut_8 = value;
Il2CppCodeGenWriteBarrier((&___Tab_lut_8), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TABVIEWMANAGER_T3686055887_H
#ifndef TEXTBUTTONTRANSITION_T2307109358_H
#define TEXTBUTTONTRANSITION_T2307109358_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TextButtonTransition
struct TextButtonTransition_t2307109358 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.Text Photon.Pun.UtilityScripts.TextButtonTransition::_text
Text_t1901882714 * ____text_4;
// UnityEngine.UI.Selectable Photon.Pun.UtilityScripts.TextButtonTransition::Selectable
Selectable_t3250028441 * ___Selectable_5;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextButtonTransition::NormalColor
Color_t2555686324 ___NormalColor_6;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextButtonTransition::HoverColor
Color_t2555686324 ___HoverColor_7;
public:
inline static int32_t get_offset_of__text_4() { return static_cast<int32_t>(offsetof(TextButtonTransition_t2307109358, ____text_4)); }
inline Text_t1901882714 * get__text_4() const { return ____text_4; }
inline Text_t1901882714 ** get_address_of__text_4() { return &____text_4; }
inline void set__text_4(Text_t1901882714 * value)
{
____text_4 = value;
Il2CppCodeGenWriteBarrier((&____text_4), value);
}
inline static int32_t get_offset_of_Selectable_5() { return static_cast<int32_t>(offsetof(TextButtonTransition_t2307109358, ___Selectable_5)); }
inline Selectable_t3250028441 * get_Selectable_5() const { return ___Selectable_5; }
inline Selectable_t3250028441 ** get_address_of_Selectable_5() { return &___Selectable_5; }
inline void set_Selectable_5(Selectable_t3250028441 * value)
{
___Selectable_5 = value;
Il2CppCodeGenWriteBarrier((&___Selectable_5), value);
}
inline static int32_t get_offset_of_NormalColor_6() { return static_cast<int32_t>(offsetof(TextButtonTransition_t2307109358, ___NormalColor_6)); }
inline Color_t2555686324 get_NormalColor_6() const { return ___NormalColor_6; }
inline Color_t2555686324 * get_address_of_NormalColor_6() { return &___NormalColor_6; }
inline void set_NormalColor_6(Color_t2555686324 value)
{
___NormalColor_6 = value;
}
inline static int32_t get_offset_of_HoverColor_7() { return static_cast<int32_t>(offsetof(TextButtonTransition_t2307109358, ___HoverColor_7)); }
inline Color_t2555686324 get_HoverColor_7() const { return ___HoverColor_7; }
inline Color_t2555686324 * get_address_of_HoverColor_7() { return &___HoverColor_7; }
inline void set_HoverColor_7(Color_t2555686324 value)
{
___HoverColor_7 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTBUTTONTRANSITION_T2307109358_H
#ifndef TEXTTOGGLEISONTRANSITION_T4243955300_H
#define TEXTTOGGLEISONTRANSITION_T4243955300_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.TextToggleIsOnTransition
struct TextToggleIsOnTransition_t4243955300 : public MonoBehaviour_t3962482529
{
public:
// UnityEngine.UI.Toggle Photon.Pun.UtilityScripts.TextToggleIsOnTransition::toggle
Toggle_t2735377061 * ___toggle_4;
// UnityEngine.UI.Text Photon.Pun.UtilityScripts.TextToggleIsOnTransition::_text
Text_t1901882714 * ____text_5;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextToggleIsOnTransition::NormalOnColor
Color_t2555686324 ___NormalOnColor_6;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextToggleIsOnTransition::NormalOffColor
Color_t2555686324 ___NormalOffColor_7;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextToggleIsOnTransition::HoverOnColor
Color_t2555686324 ___HoverOnColor_8;
// UnityEngine.Color Photon.Pun.UtilityScripts.TextToggleIsOnTransition::HoverOffColor
Color_t2555686324 ___HoverOffColor_9;
// System.Boolean Photon.Pun.UtilityScripts.TextToggleIsOnTransition::isHover
bool ___isHover_10;
public:
inline static int32_t get_offset_of_toggle_4() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___toggle_4)); }
inline Toggle_t2735377061 * get_toggle_4() const { return ___toggle_4; }
inline Toggle_t2735377061 ** get_address_of_toggle_4() { return &___toggle_4; }
inline void set_toggle_4(Toggle_t2735377061 * value)
{
___toggle_4 = value;
Il2CppCodeGenWriteBarrier((&___toggle_4), value);
}
inline static int32_t get_offset_of__text_5() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ____text_5)); }
inline Text_t1901882714 * get__text_5() const { return ____text_5; }
inline Text_t1901882714 ** get_address_of__text_5() { return &____text_5; }
inline void set__text_5(Text_t1901882714 * value)
{
____text_5 = value;
Il2CppCodeGenWriteBarrier((&____text_5), value);
}
inline static int32_t get_offset_of_NormalOnColor_6() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___NormalOnColor_6)); }
inline Color_t2555686324 get_NormalOnColor_6() const { return ___NormalOnColor_6; }
inline Color_t2555686324 * get_address_of_NormalOnColor_6() { return &___NormalOnColor_6; }
inline void set_NormalOnColor_6(Color_t2555686324 value)
{
___NormalOnColor_6 = value;
}
inline static int32_t get_offset_of_NormalOffColor_7() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___NormalOffColor_7)); }
inline Color_t2555686324 get_NormalOffColor_7() const { return ___NormalOffColor_7; }
inline Color_t2555686324 * get_address_of_NormalOffColor_7() { return &___NormalOffColor_7; }
inline void set_NormalOffColor_7(Color_t2555686324 value)
{
___NormalOffColor_7 = value;
}
inline static int32_t get_offset_of_HoverOnColor_8() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___HoverOnColor_8)); }
inline Color_t2555686324 get_HoverOnColor_8() const { return ___HoverOnColor_8; }
inline Color_t2555686324 * get_address_of_HoverOnColor_8() { return &___HoverOnColor_8; }
inline void set_HoverOnColor_8(Color_t2555686324 value)
{
___HoverOnColor_8 = value;
}
inline static int32_t get_offset_of_HoverOffColor_9() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___HoverOffColor_9)); }
inline Color_t2555686324 get_HoverOffColor_9() const { return ___HoverOffColor_9; }
inline Color_t2555686324 * get_address_of_HoverOffColor_9() { return &___HoverOffColor_9; }
inline void set_HoverOffColor_9(Color_t2555686324 value)
{
___HoverOffColor_9 = value;
}
inline static int32_t get_offset_of_isHover_10() { return static_cast<int32_t>(offsetof(TextToggleIsOnTransition_t4243955300, ___isHover_10)); }
inline bool get_isHover_10() const { return ___isHover_10; }
inline bool* get_address_of_isHover_10() { return &___isHover_10; }
inline void set_isHover_10(bool value)
{
___isHover_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTTOGGLEISONTRANSITION_T4243955300_H
#ifndef UIBEHAVIOUR_T3495933518_H
#define UIBEHAVIOUR_T3495933518_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.UIBehaviour
struct UIBehaviour_t3495933518 : public MonoBehaviour_t3962482529
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UIBEHAVIOUR_T3495933518_H
#ifndef MONOBEHAVIOURPUNCALLBACKS_T1810614660_H
#define MONOBEHAVIOURPUNCALLBACKS_T1810614660_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.MonoBehaviourPunCallbacks
struct MonoBehaviourPunCallbacks_t1810614660 : public MonoBehaviourPun_t1682334777
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOBEHAVIOURPUNCALLBACKS_T1810614660_H
#ifndef MOVEBYKEYS_T979471368_H
#define MOVEBYKEYS_T979471368_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.MoveByKeys
struct MoveByKeys_t979471368 : public MonoBehaviourPun_t1682334777
{
public:
// System.Single Photon.Pun.UtilityScripts.MoveByKeys::Speed
float ___Speed_5;
// System.Single Photon.Pun.UtilityScripts.MoveByKeys::JumpForce
float ___JumpForce_6;
// System.Single Photon.Pun.UtilityScripts.MoveByKeys::JumpTimeout
float ___JumpTimeout_7;
// System.Boolean Photon.Pun.UtilityScripts.MoveByKeys::isSprite
bool ___isSprite_8;
// System.Single Photon.Pun.UtilityScripts.MoveByKeys::jumpingTime
float ___jumpingTime_9;
// UnityEngine.Rigidbody Photon.Pun.UtilityScripts.MoveByKeys::body
Rigidbody_t3916780224 * ___body_10;
// UnityEngine.Rigidbody2D Photon.Pun.UtilityScripts.MoveByKeys::body2d
Rigidbody2D_t939494601 * ___body2d_11;
public:
inline static int32_t get_offset_of_Speed_5() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___Speed_5)); }
inline float get_Speed_5() const { return ___Speed_5; }
inline float* get_address_of_Speed_5() { return &___Speed_5; }
inline void set_Speed_5(float value)
{
___Speed_5 = value;
}
inline static int32_t get_offset_of_JumpForce_6() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___JumpForce_6)); }
inline float get_JumpForce_6() const { return ___JumpForce_6; }
inline float* get_address_of_JumpForce_6() { return &___JumpForce_6; }
inline void set_JumpForce_6(float value)
{
___JumpForce_6 = value;
}
inline static int32_t get_offset_of_JumpTimeout_7() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___JumpTimeout_7)); }
inline float get_JumpTimeout_7() const { return ___JumpTimeout_7; }
inline float* get_address_of_JumpTimeout_7() { return &___JumpTimeout_7; }
inline void set_JumpTimeout_7(float value)
{
___JumpTimeout_7 = value;
}
inline static int32_t get_offset_of_isSprite_8() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___isSprite_8)); }
inline bool get_isSprite_8() const { return ___isSprite_8; }
inline bool* get_address_of_isSprite_8() { return &___isSprite_8; }
inline void set_isSprite_8(bool value)
{
___isSprite_8 = value;
}
inline static int32_t get_offset_of_jumpingTime_9() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___jumpingTime_9)); }
inline float get_jumpingTime_9() const { return ___jumpingTime_9; }
inline float* get_address_of_jumpingTime_9() { return &___jumpingTime_9; }
inline void set_jumpingTime_9(float value)
{
___jumpingTime_9 = value;
}
inline static int32_t get_offset_of_body_10() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___body_10)); }
inline Rigidbody_t3916780224 * get_body_10() const { return ___body_10; }
inline Rigidbody_t3916780224 ** get_address_of_body_10() { return &___body_10; }
inline void set_body_10(Rigidbody_t3916780224 * value)
{
___body_10 = value;
Il2CppCodeGenWriteBarrier((&___body_10), value);
}
inline static int32_t get_offset_of_body2d_11() { return static_cast<int32_t>(offsetof(MoveByKeys_t979471368, ___body2d_11)); }
inline Rigidbody2D_t939494601 * get_body2d_11() const { return ___body2d_11; }
inline Rigidbody2D_t939494601 ** get_address_of_body2d_11() { return &___body2d_11; }
inline void set_body2d_11(Rigidbody2D_t939494601 * value)
{
___body2d_11 = value;
Il2CppCodeGenWriteBarrier((&___body2d_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MOVEBYKEYS_T979471368_H
#ifndef ONCLICKDESTROY_T3019334366_H
#define ONCLICKDESTROY_T3019334366_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickDestroy
struct OnClickDestroy_t3019334366 : public MonoBehaviourPun_t1682334777
{
public:
// UnityEngine.EventSystems.PointerEventData/InputButton Photon.Pun.UtilityScripts.OnClickDestroy::Button
int32_t ___Button_5;
// UnityEngine.KeyCode Photon.Pun.UtilityScripts.OnClickDestroy::ModifierKey
int32_t ___ModifierKey_6;
// System.Boolean Photon.Pun.UtilityScripts.OnClickDestroy::DestroyByRpc
bool ___DestroyByRpc_7;
public:
inline static int32_t get_offset_of_Button_5() { return static_cast<int32_t>(offsetof(OnClickDestroy_t3019334366, ___Button_5)); }
inline int32_t get_Button_5() const { return ___Button_5; }
inline int32_t* get_address_of_Button_5() { return &___Button_5; }
inline void set_Button_5(int32_t value)
{
___Button_5 = value;
}
inline static int32_t get_offset_of_ModifierKey_6() { return static_cast<int32_t>(offsetof(OnClickDestroy_t3019334366, ___ModifierKey_6)); }
inline int32_t get_ModifierKey_6() const { return ___ModifierKey_6; }
inline int32_t* get_address_of_ModifierKey_6() { return &___ModifierKey_6; }
inline void set_ModifierKey_6(int32_t value)
{
___ModifierKey_6 = value;
}
inline static int32_t get_offset_of_DestroyByRpc_7() { return static_cast<int32_t>(offsetof(OnClickDestroy_t3019334366, ___DestroyByRpc_7)); }
inline bool get_DestroyByRpc_7() const { return ___DestroyByRpc_7; }
inline bool* get_address_of_DestroyByRpc_7() { return &___DestroyByRpc_7; }
inline void set_DestroyByRpc_7(bool value)
{
___DestroyByRpc_7 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONCLICKDESTROY_T3019334366_H
#ifndef ONCLICKRPC_T2528495255_H
#define ONCLICKRPC_T2528495255_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.OnClickRpc
struct OnClickRpc_t2528495255 : public MonoBehaviourPun_t1682334777
{
public:
// UnityEngine.EventSystems.PointerEventData/InputButton Photon.Pun.UtilityScripts.OnClickRpc::Button
int32_t ___Button_5;
// UnityEngine.KeyCode Photon.Pun.UtilityScripts.OnClickRpc::ModifierKey
int32_t ___ModifierKey_6;
// Photon.Pun.RpcTarget Photon.Pun.UtilityScripts.OnClickRpc::Target
int32_t ___Target_7;
// UnityEngine.Material Photon.Pun.UtilityScripts.OnClickRpc::originalMaterial
Material_t340375123 * ___originalMaterial_8;
// UnityEngine.Color Photon.Pun.UtilityScripts.OnClickRpc::originalColor
Color_t2555686324 ___originalColor_9;
// System.Boolean Photon.Pun.UtilityScripts.OnClickRpc::isFlashing
bool ___isFlashing_10;
public:
inline static int32_t get_offset_of_Button_5() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___Button_5)); }
inline int32_t get_Button_5() const { return ___Button_5; }
inline int32_t* get_address_of_Button_5() { return &___Button_5; }
inline void set_Button_5(int32_t value)
{
___Button_5 = value;
}
inline static int32_t get_offset_of_ModifierKey_6() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___ModifierKey_6)); }
inline int32_t get_ModifierKey_6() const { return ___ModifierKey_6; }
inline int32_t* get_address_of_ModifierKey_6() { return &___ModifierKey_6; }
inline void set_ModifierKey_6(int32_t value)
{
___ModifierKey_6 = value;
}
inline static int32_t get_offset_of_Target_7() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___Target_7)); }
inline int32_t get_Target_7() const { return ___Target_7; }
inline int32_t* get_address_of_Target_7() { return &___Target_7; }
inline void set_Target_7(int32_t value)
{
___Target_7 = value;
}
inline static int32_t get_offset_of_originalMaterial_8() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___originalMaterial_8)); }
inline Material_t340375123 * get_originalMaterial_8() const { return ___originalMaterial_8; }
inline Material_t340375123 ** get_address_of_originalMaterial_8() { return &___originalMaterial_8; }
inline void set_originalMaterial_8(Material_t340375123 * value)
{
___originalMaterial_8 = value;
Il2CppCodeGenWriteBarrier((&___originalMaterial_8), value);
}
inline static int32_t get_offset_of_originalColor_9() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___originalColor_9)); }
inline Color_t2555686324 get_originalColor_9() const { return ___originalColor_9; }
inline Color_t2555686324 * get_address_of_originalColor_9() { return &___originalColor_9; }
inline void set_originalColor_9(Color_t2555686324 value)
{
___originalColor_9 = value;
}
inline static int32_t get_offset_of_isFlashing_10() { return static_cast<int32_t>(offsetof(OnClickRpc_t2528495255, ___isFlashing_10)); }
inline bool get_isFlashing_10() const { return ___isFlashing_10; }
inline bool* get_address_of_isFlashing_10() { return &___isFlashing_10; }
inline void set_isFlashing_10(bool value)
{
___isFlashing_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ONCLICKRPC_T2528495255_H
#ifndef SMOOTHSYNCMOVEMENT_T663920301_H
#define SMOOTHSYNCMOVEMENT_T663920301_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.SmoothSyncMovement
struct SmoothSyncMovement_t663920301 : public MonoBehaviourPun_t1682334777
{
public:
// System.Single Photon.Pun.UtilityScripts.SmoothSyncMovement::SmoothingDelay
float ___SmoothingDelay_5;
// UnityEngine.Vector3 Photon.Pun.UtilityScripts.SmoothSyncMovement::correctPlayerPos
Vector3_t3722313464 ___correctPlayerPos_6;
// UnityEngine.Quaternion Photon.Pun.UtilityScripts.SmoothSyncMovement::correctPlayerRot
Quaternion_t2301928331 ___correctPlayerRot_7;
public:
inline static int32_t get_offset_of_SmoothingDelay_5() { return static_cast<int32_t>(offsetof(SmoothSyncMovement_t663920301, ___SmoothingDelay_5)); }
inline float get_SmoothingDelay_5() const { return ___SmoothingDelay_5; }
inline float* get_address_of_SmoothingDelay_5() { return &___SmoothingDelay_5; }
inline void set_SmoothingDelay_5(float value)
{
___SmoothingDelay_5 = value;
}
inline static int32_t get_offset_of_correctPlayerPos_6() { return static_cast<int32_t>(offsetof(SmoothSyncMovement_t663920301, ___correctPlayerPos_6)); }
inline Vector3_t3722313464 get_correctPlayerPos_6() const { return ___correctPlayerPos_6; }
inline Vector3_t3722313464 * get_address_of_correctPlayerPos_6() { return &___correctPlayerPos_6; }
inline void set_correctPlayerPos_6(Vector3_t3722313464 value)
{
___correctPlayerPos_6 = value;
}
inline static int32_t get_offset_of_correctPlayerRot_7() { return static_cast<int32_t>(offsetof(SmoothSyncMovement_t663920301, ___correctPlayerRot_7)); }
inline Quaternion_t2301928331 get_correctPlayerRot_7() const { return ___correctPlayerRot_7; }
inline Quaternion_t2301928331 * get_address_of_correctPlayerRot_7() { return &___correctPlayerRot_7; }
inline void set_correctPlayerRot_7(Quaternion_t2301928331 value)
{
___correctPlayerRot_7 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SMOOTHSYNCMOVEMENT_T663920301_H
#ifndef BASEINPUTMODULE_T2019268878_H
#define BASEINPUTMODULE_T2019268878_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.BaseInputModule
struct BaseInputModule_t2019268878 : public UIBehaviour_t3495933518
{
public:
// System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult> UnityEngine.EventSystems.BaseInputModule::m_RaycastResultCache
List_1_t537414295 * ___m_RaycastResultCache_4;
// UnityEngine.EventSystems.AxisEventData UnityEngine.EventSystems.BaseInputModule::m_AxisEventData
AxisEventData_t2331243652 * ___m_AxisEventData_5;
// UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.BaseInputModule::m_EventSystem
EventSystem_t1003666588 * ___m_EventSystem_6;
// UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::m_BaseEventData
BaseEventData_t3903027533 * ___m_BaseEventData_7;
// UnityEngine.EventSystems.BaseInput UnityEngine.EventSystems.BaseInputModule::m_InputOverride
BaseInput_t3630163547 * ___m_InputOverride_8;
// UnityEngine.EventSystems.BaseInput UnityEngine.EventSystems.BaseInputModule::m_DefaultInput
BaseInput_t3630163547 * ___m_DefaultInput_9;
public:
inline static int32_t get_offset_of_m_RaycastResultCache_4() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_RaycastResultCache_4)); }
inline List_1_t537414295 * get_m_RaycastResultCache_4() const { return ___m_RaycastResultCache_4; }
inline List_1_t537414295 ** get_address_of_m_RaycastResultCache_4() { return &___m_RaycastResultCache_4; }
inline void set_m_RaycastResultCache_4(List_1_t537414295 * value)
{
___m_RaycastResultCache_4 = value;
Il2CppCodeGenWriteBarrier((&___m_RaycastResultCache_4), value);
}
inline static int32_t get_offset_of_m_AxisEventData_5() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_AxisEventData_5)); }
inline AxisEventData_t2331243652 * get_m_AxisEventData_5() const { return ___m_AxisEventData_5; }
inline AxisEventData_t2331243652 ** get_address_of_m_AxisEventData_5() { return &___m_AxisEventData_5; }
inline void set_m_AxisEventData_5(AxisEventData_t2331243652 * value)
{
___m_AxisEventData_5 = value;
Il2CppCodeGenWriteBarrier((&___m_AxisEventData_5), value);
}
inline static int32_t get_offset_of_m_EventSystem_6() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_EventSystem_6)); }
inline EventSystem_t1003666588 * get_m_EventSystem_6() const { return ___m_EventSystem_6; }
inline EventSystem_t1003666588 ** get_address_of_m_EventSystem_6() { return &___m_EventSystem_6; }
inline void set_m_EventSystem_6(EventSystem_t1003666588 * value)
{
___m_EventSystem_6 = value;
Il2CppCodeGenWriteBarrier((&___m_EventSystem_6), value);
}
inline static int32_t get_offset_of_m_BaseEventData_7() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_BaseEventData_7)); }
inline BaseEventData_t3903027533 * get_m_BaseEventData_7() const { return ___m_BaseEventData_7; }
inline BaseEventData_t3903027533 ** get_address_of_m_BaseEventData_7() { return &___m_BaseEventData_7; }
inline void set_m_BaseEventData_7(BaseEventData_t3903027533 * value)
{
___m_BaseEventData_7 = value;
Il2CppCodeGenWriteBarrier((&___m_BaseEventData_7), value);
}
inline static int32_t get_offset_of_m_InputOverride_8() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_InputOverride_8)); }
inline BaseInput_t3630163547 * get_m_InputOverride_8() const { return ___m_InputOverride_8; }
inline BaseInput_t3630163547 ** get_address_of_m_InputOverride_8() { return &___m_InputOverride_8; }
inline void set_m_InputOverride_8(BaseInput_t3630163547 * value)
{
___m_InputOverride_8 = value;
Il2CppCodeGenWriteBarrier((&___m_InputOverride_8), value);
}
inline static int32_t get_offset_of_m_DefaultInput_9() { return static_cast<int32_t>(offsetof(BaseInputModule_t2019268878, ___m_DefaultInput_9)); }
inline BaseInput_t3630163547 * get_m_DefaultInput_9() const { return ___m_DefaultInput_9; }
inline BaseInput_t3630163547 ** get_address_of_m_DefaultInput_9() { return &___m_DefaultInput_9; }
inline void set_m_DefaultInput_9(BaseInput_t3630163547 * value)
{
___m_DefaultInput_9 = value;
Il2CppCodeGenWriteBarrier((&___m_DefaultInput_9), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BASEINPUTMODULE_T2019268878_H
#ifndef EVENTSYSTEM_T1003666588_H
#define EVENTSYSTEM_T1003666588_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.EventSystem
struct EventSystem_t1003666588 : public UIBehaviour_t3495933518
{
public:
// System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule> UnityEngine.EventSystems.EventSystem::m_SystemInputModules
List_1_t3491343620 * ___m_SystemInputModules_4;
// UnityEngine.EventSystems.BaseInputModule UnityEngine.EventSystems.EventSystem::m_CurrentInputModule
BaseInputModule_t2019268878 * ___m_CurrentInputModule_5;
// UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::m_FirstSelected
GameObject_t1113636619 * ___m_FirstSelected_7;
// System.Boolean UnityEngine.EventSystems.EventSystem::m_sendNavigationEvents
bool ___m_sendNavigationEvents_8;
// System.Int32 UnityEngine.EventSystems.EventSystem::m_DragThreshold
int32_t ___m_DragThreshold_9;
// UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::m_CurrentSelected
GameObject_t1113636619 * ___m_CurrentSelected_10;
// System.Boolean UnityEngine.EventSystems.EventSystem::m_HasFocus
bool ___m_HasFocus_11;
// System.Boolean UnityEngine.EventSystems.EventSystem::m_SelectionGuard
bool ___m_SelectionGuard_12;
// UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.EventSystem::m_DummyData
BaseEventData_t3903027533 * ___m_DummyData_13;
public:
inline static int32_t get_offset_of_m_SystemInputModules_4() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_SystemInputModules_4)); }
inline List_1_t3491343620 * get_m_SystemInputModules_4() const { return ___m_SystemInputModules_4; }
inline List_1_t3491343620 ** get_address_of_m_SystemInputModules_4() { return &___m_SystemInputModules_4; }
inline void set_m_SystemInputModules_4(List_1_t3491343620 * value)
{
___m_SystemInputModules_4 = value;
Il2CppCodeGenWriteBarrier((&___m_SystemInputModules_4), value);
}
inline static int32_t get_offset_of_m_CurrentInputModule_5() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_CurrentInputModule_5)); }
inline BaseInputModule_t2019268878 * get_m_CurrentInputModule_5() const { return ___m_CurrentInputModule_5; }
inline BaseInputModule_t2019268878 ** get_address_of_m_CurrentInputModule_5() { return &___m_CurrentInputModule_5; }
inline void set_m_CurrentInputModule_5(BaseInputModule_t2019268878 * value)
{
___m_CurrentInputModule_5 = value;
Il2CppCodeGenWriteBarrier((&___m_CurrentInputModule_5), value);
}
inline static int32_t get_offset_of_m_FirstSelected_7() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_FirstSelected_7)); }
inline GameObject_t1113636619 * get_m_FirstSelected_7() const { return ___m_FirstSelected_7; }
inline GameObject_t1113636619 ** get_address_of_m_FirstSelected_7() { return &___m_FirstSelected_7; }
inline void set_m_FirstSelected_7(GameObject_t1113636619 * value)
{
___m_FirstSelected_7 = value;
Il2CppCodeGenWriteBarrier((&___m_FirstSelected_7), value);
}
inline static int32_t get_offset_of_m_sendNavigationEvents_8() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_sendNavigationEvents_8)); }
inline bool get_m_sendNavigationEvents_8() const { return ___m_sendNavigationEvents_8; }
inline bool* get_address_of_m_sendNavigationEvents_8() { return &___m_sendNavigationEvents_8; }
inline void set_m_sendNavigationEvents_8(bool value)
{
___m_sendNavigationEvents_8 = value;
}
inline static int32_t get_offset_of_m_DragThreshold_9() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_DragThreshold_9)); }
inline int32_t get_m_DragThreshold_9() const { return ___m_DragThreshold_9; }
inline int32_t* get_address_of_m_DragThreshold_9() { return &___m_DragThreshold_9; }
inline void set_m_DragThreshold_9(int32_t value)
{
___m_DragThreshold_9 = value;
}
inline static int32_t get_offset_of_m_CurrentSelected_10() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_CurrentSelected_10)); }
inline GameObject_t1113636619 * get_m_CurrentSelected_10() const { return ___m_CurrentSelected_10; }
inline GameObject_t1113636619 ** get_address_of_m_CurrentSelected_10() { return &___m_CurrentSelected_10; }
inline void set_m_CurrentSelected_10(GameObject_t1113636619 * value)
{
___m_CurrentSelected_10 = value;
Il2CppCodeGenWriteBarrier((&___m_CurrentSelected_10), value);
}
inline static int32_t get_offset_of_m_HasFocus_11() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_HasFocus_11)); }
inline bool get_m_HasFocus_11() const { return ___m_HasFocus_11; }
inline bool* get_address_of_m_HasFocus_11() { return &___m_HasFocus_11; }
inline void set_m_HasFocus_11(bool value)
{
___m_HasFocus_11 = value;
}
inline static int32_t get_offset_of_m_SelectionGuard_12() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_SelectionGuard_12)); }
inline bool get_m_SelectionGuard_12() const { return ___m_SelectionGuard_12; }
inline bool* get_address_of_m_SelectionGuard_12() { return &___m_SelectionGuard_12; }
inline void set_m_SelectionGuard_12(bool value)
{
___m_SelectionGuard_12 = value;
}
inline static int32_t get_offset_of_m_DummyData_13() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588, ___m_DummyData_13)); }
inline BaseEventData_t3903027533 * get_m_DummyData_13() const { return ___m_DummyData_13; }
inline BaseEventData_t3903027533 ** get_address_of_m_DummyData_13() { return &___m_DummyData_13; }
inline void set_m_DummyData_13(BaseEventData_t3903027533 * value)
{
___m_DummyData_13 = value;
Il2CppCodeGenWriteBarrier((&___m_DummyData_13), value);
}
};
struct EventSystem_t1003666588_StaticFields
{
public:
// System.Collections.Generic.List`1<UnityEngine.EventSystems.EventSystem> UnityEngine.EventSystems.EventSystem::m_EventSystems
List_1_t2475741330 * ___m_EventSystems_6;
// System.Comparison`1<UnityEngine.EventSystems.RaycastResult> UnityEngine.EventSystems.EventSystem::s_RaycastComparer
Comparison_1_t3135238028 * ___s_RaycastComparer_14;
// System.Comparison`1<UnityEngine.EventSystems.RaycastResult> UnityEngine.EventSystems.EventSystem::<>f__mg$cache0
Comparison_1_t3135238028 * ___U3CU3Ef__mgU24cache0_15;
public:
inline static int32_t get_offset_of_m_EventSystems_6() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588_StaticFields, ___m_EventSystems_6)); }
inline List_1_t2475741330 * get_m_EventSystems_6() const { return ___m_EventSystems_6; }
inline List_1_t2475741330 ** get_address_of_m_EventSystems_6() { return &___m_EventSystems_6; }
inline void set_m_EventSystems_6(List_1_t2475741330 * value)
{
___m_EventSystems_6 = value;
Il2CppCodeGenWriteBarrier((&___m_EventSystems_6), value);
}
inline static int32_t get_offset_of_s_RaycastComparer_14() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588_StaticFields, ___s_RaycastComparer_14)); }
inline Comparison_1_t3135238028 * get_s_RaycastComparer_14() const { return ___s_RaycastComparer_14; }
inline Comparison_1_t3135238028 ** get_address_of_s_RaycastComparer_14() { return &___s_RaycastComparer_14; }
inline void set_s_RaycastComparer_14(Comparison_1_t3135238028 * value)
{
___s_RaycastComparer_14 = value;
Il2CppCodeGenWriteBarrier((&___s_RaycastComparer_14), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_15() { return static_cast<int32_t>(offsetof(EventSystem_t1003666588_StaticFields, ___U3CU3Ef__mgU24cache0_15)); }
inline Comparison_1_t3135238028 * get_U3CU3Ef__mgU24cache0_15() const { return ___U3CU3Ef__mgU24cache0_15; }
inline Comparison_1_t3135238028 ** get_address_of_U3CU3Ef__mgU24cache0_15() { return &___U3CU3Ef__mgU24cache0_15; }
inline void set_U3CU3Ef__mgU24cache0_15(Comparison_1_t3135238028 * value)
{
___U3CU3Ef__mgU24cache0_15 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EVENTSYSTEM_T1003666588_H
#ifndef GRAPHIC_T1660335611_H
#define GRAPHIC_T1660335611_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Graphic
struct Graphic_t1660335611 : public UIBehaviour_t3495933518
{
public:
// UnityEngine.Material UnityEngine.UI.Graphic::m_Material
Material_t340375123 * ___m_Material_6;
// UnityEngine.Color UnityEngine.UI.Graphic::m_Color
Color_t2555686324 ___m_Color_7;
// System.Boolean UnityEngine.UI.Graphic::m_RaycastTarget
bool ___m_RaycastTarget_8;
// UnityEngine.RectTransform UnityEngine.UI.Graphic::m_RectTransform
RectTransform_t3704657025 * ___m_RectTransform_9;
// UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::m_CanvasRenderer
CanvasRenderer_t2598313366 * ___m_CanvasRenderer_10;
// UnityEngine.Canvas UnityEngine.UI.Graphic::m_Canvas
Canvas_t3310196443 * ___m_Canvas_11;
// System.Boolean UnityEngine.UI.Graphic::m_VertsDirty
bool ___m_VertsDirty_12;
// System.Boolean UnityEngine.UI.Graphic::m_MaterialDirty
bool ___m_MaterialDirty_13;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyLayoutCallback
UnityAction_t3245792599 * ___m_OnDirtyLayoutCallback_14;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyVertsCallback
UnityAction_t3245792599 * ___m_OnDirtyVertsCallback_15;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyMaterialCallback
UnityAction_t3245792599 * ___m_OnDirtyMaterialCallback_16;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween> UnityEngine.UI.Graphic::m_ColorTweenRunner
TweenRunner_1_t3055525458 * ___m_ColorTweenRunner_19;
// System.Boolean UnityEngine.UI.Graphic::<useLegacyMeshGeneration>k__BackingField
bool ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20;
public:
inline static int32_t get_offset_of_m_Material_6() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_Material_6)); }
inline Material_t340375123 * get_m_Material_6() const { return ___m_Material_6; }
inline Material_t340375123 ** get_address_of_m_Material_6() { return &___m_Material_6; }
inline void set_m_Material_6(Material_t340375123 * value)
{
___m_Material_6 = value;
Il2CppCodeGenWriteBarrier((&___m_Material_6), value);
}
inline static int32_t get_offset_of_m_Color_7() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_Color_7)); }
inline Color_t2555686324 get_m_Color_7() const { return ___m_Color_7; }
inline Color_t2555686324 * get_address_of_m_Color_7() { return &___m_Color_7; }
inline void set_m_Color_7(Color_t2555686324 value)
{
___m_Color_7 = value;
}
inline static int32_t get_offset_of_m_RaycastTarget_8() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_RaycastTarget_8)); }
inline bool get_m_RaycastTarget_8() const { return ___m_RaycastTarget_8; }
inline bool* get_address_of_m_RaycastTarget_8() { return &___m_RaycastTarget_8; }
inline void set_m_RaycastTarget_8(bool value)
{
___m_RaycastTarget_8 = value;
}
inline static int32_t get_offset_of_m_RectTransform_9() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_RectTransform_9)); }
inline RectTransform_t3704657025 * get_m_RectTransform_9() const { return ___m_RectTransform_9; }
inline RectTransform_t3704657025 ** get_address_of_m_RectTransform_9() { return &___m_RectTransform_9; }
inline void set_m_RectTransform_9(RectTransform_t3704657025 * value)
{
___m_RectTransform_9 = value;
Il2CppCodeGenWriteBarrier((&___m_RectTransform_9), value);
}
inline static int32_t get_offset_of_m_CanvasRenderer_10() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_CanvasRenderer_10)); }
inline CanvasRenderer_t2598313366 * get_m_CanvasRenderer_10() const { return ___m_CanvasRenderer_10; }
inline CanvasRenderer_t2598313366 ** get_address_of_m_CanvasRenderer_10() { return &___m_CanvasRenderer_10; }
inline void set_m_CanvasRenderer_10(CanvasRenderer_t2598313366 * value)
{
___m_CanvasRenderer_10 = value;
Il2CppCodeGenWriteBarrier((&___m_CanvasRenderer_10), value);
}
inline static int32_t get_offset_of_m_Canvas_11() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_Canvas_11)); }
inline Canvas_t3310196443 * get_m_Canvas_11() const { return ___m_Canvas_11; }
inline Canvas_t3310196443 ** get_address_of_m_Canvas_11() { return &___m_Canvas_11; }
inline void set_m_Canvas_11(Canvas_t3310196443 * value)
{
___m_Canvas_11 = value;
Il2CppCodeGenWriteBarrier((&___m_Canvas_11), value);
}
inline static int32_t get_offset_of_m_VertsDirty_12() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_VertsDirty_12)); }
inline bool get_m_VertsDirty_12() const { return ___m_VertsDirty_12; }
inline bool* get_address_of_m_VertsDirty_12() { return &___m_VertsDirty_12; }
inline void set_m_VertsDirty_12(bool value)
{
___m_VertsDirty_12 = value;
}
inline static int32_t get_offset_of_m_MaterialDirty_13() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_MaterialDirty_13)); }
inline bool get_m_MaterialDirty_13() const { return ___m_MaterialDirty_13; }
inline bool* get_address_of_m_MaterialDirty_13() { return &___m_MaterialDirty_13; }
inline void set_m_MaterialDirty_13(bool value)
{
___m_MaterialDirty_13 = value;
}
inline static int32_t get_offset_of_m_OnDirtyLayoutCallback_14() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_OnDirtyLayoutCallback_14)); }
inline UnityAction_t3245792599 * get_m_OnDirtyLayoutCallback_14() const { return ___m_OnDirtyLayoutCallback_14; }
inline UnityAction_t3245792599 ** get_address_of_m_OnDirtyLayoutCallback_14() { return &___m_OnDirtyLayoutCallback_14; }
inline void set_m_OnDirtyLayoutCallback_14(UnityAction_t3245792599 * value)
{
___m_OnDirtyLayoutCallback_14 = value;
Il2CppCodeGenWriteBarrier((&___m_OnDirtyLayoutCallback_14), value);
}
inline static int32_t get_offset_of_m_OnDirtyVertsCallback_15() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_OnDirtyVertsCallback_15)); }
inline UnityAction_t3245792599 * get_m_OnDirtyVertsCallback_15() const { return ___m_OnDirtyVertsCallback_15; }
inline UnityAction_t3245792599 ** get_address_of_m_OnDirtyVertsCallback_15() { return &___m_OnDirtyVertsCallback_15; }
inline void set_m_OnDirtyVertsCallback_15(UnityAction_t3245792599 * value)
{
___m_OnDirtyVertsCallback_15 = value;
Il2CppCodeGenWriteBarrier((&___m_OnDirtyVertsCallback_15), value);
}
inline static int32_t get_offset_of_m_OnDirtyMaterialCallback_16() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_OnDirtyMaterialCallback_16)); }
inline UnityAction_t3245792599 * get_m_OnDirtyMaterialCallback_16() const { return ___m_OnDirtyMaterialCallback_16; }
inline UnityAction_t3245792599 ** get_address_of_m_OnDirtyMaterialCallback_16() { return &___m_OnDirtyMaterialCallback_16; }
inline void set_m_OnDirtyMaterialCallback_16(UnityAction_t3245792599 * value)
{
___m_OnDirtyMaterialCallback_16 = value;
Il2CppCodeGenWriteBarrier((&___m_OnDirtyMaterialCallback_16), value);
}
inline static int32_t get_offset_of_m_ColorTweenRunner_19() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___m_ColorTweenRunner_19)); }
inline TweenRunner_1_t3055525458 * get_m_ColorTweenRunner_19() const { return ___m_ColorTweenRunner_19; }
inline TweenRunner_1_t3055525458 ** get_address_of_m_ColorTweenRunner_19() { return &___m_ColorTweenRunner_19; }
inline void set_m_ColorTweenRunner_19(TweenRunner_1_t3055525458 * value)
{
___m_ColorTweenRunner_19 = value;
Il2CppCodeGenWriteBarrier((&___m_ColorTweenRunner_19), value);
}
inline static int32_t get_offset_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() { return static_cast<int32_t>(offsetof(Graphic_t1660335611, ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20)); }
inline bool get_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() const { return ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20; }
inline bool* get_address_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() { return &___U3CuseLegacyMeshGenerationU3Ek__BackingField_20; }
inline void set_U3CuseLegacyMeshGenerationU3Ek__BackingField_20(bool value)
{
___U3CuseLegacyMeshGenerationU3Ek__BackingField_20 = value;
}
};
struct Graphic_t1660335611_StaticFields
{
public:
// UnityEngine.Material UnityEngine.UI.Graphic::s_DefaultUI
Material_t340375123 * ___s_DefaultUI_4;
// UnityEngine.Texture2D UnityEngine.UI.Graphic::s_WhiteTexture
Texture2D_t3840446185 * ___s_WhiteTexture_5;
// UnityEngine.Mesh UnityEngine.UI.Graphic::s_Mesh
Mesh_t3648964284 * ___s_Mesh_17;
// UnityEngine.UI.VertexHelper UnityEngine.UI.Graphic::s_VertexHelper
VertexHelper_t2453304189 * ___s_VertexHelper_18;
public:
inline static int32_t get_offset_of_s_DefaultUI_4() { return static_cast<int32_t>(offsetof(Graphic_t1660335611_StaticFields, ___s_DefaultUI_4)); }
inline Material_t340375123 * get_s_DefaultUI_4() const { return ___s_DefaultUI_4; }
inline Material_t340375123 ** get_address_of_s_DefaultUI_4() { return &___s_DefaultUI_4; }
inline void set_s_DefaultUI_4(Material_t340375123 * value)
{
___s_DefaultUI_4 = value;
Il2CppCodeGenWriteBarrier((&___s_DefaultUI_4), value);
}
inline static int32_t get_offset_of_s_WhiteTexture_5() { return static_cast<int32_t>(offsetof(Graphic_t1660335611_StaticFields, ___s_WhiteTexture_5)); }
inline Texture2D_t3840446185 * get_s_WhiteTexture_5() const { return ___s_WhiteTexture_5; }
inline Texture2D_t3840446185 ** get_address_of_s_WhiteTexture_5() { return &___s_WhiteTexture_5; }
inline void set_s_WhiteTexture_5(Texture2D_t3840446185 * value)
{
___s_WhiteTexture_5 = value;
Il2CppCodeGenWriteBarrier((&___s_WhiteTexture_5), value);
}
inline static int32_t get_offset_of_s_Mesh_17() { return static_cast<int32_t>(offsetof(Graphic_t1660335611_StaticFields, ___s_Mesh_17)); }
inline Mesh_t3648964284 * get_s_Mesh_17() const { return ___s_Mesh_17; }
inline Mesh_t3648964284 ** get_address_of_s_Mesh_17() { return &___s_Mesh_17; }
inline void set_s_Mesh_17(Mesh_t3648964284 * value)
{
___s_Mesh_17 = value;
Il2CppCodeGenWriteBarrier((&___s_Mesh_17), value);
}
inline static int32_t get_offset_of_s_VertexHelper_18() { return static_cast<int32_t>(offsetof(Graphic_t1660335611_StaticFields, ___s_VertexHelper_18)); }
inline VertexHelper_t2453304189 * get_s_VertexHelper_18() const { return ___s_VertexHelper_18; }
inline VertexHelper_t2453304189 ** get_address_of_s_VertexHelper_18() { return &___s_VertexHelper_18; }
inline void set_s_VertexHelper_18(VertexHelper_t2453304189 * value)
{
___s_VertexHelper_18 = value;
Il2CppCodeGenWriteBarrier((&___s_VertexHelper_18), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GRAPHIC_T1660335611_H
#ifndef SCROLLRECT_T4137855814_H
#define SCROLLRECT_T4137855814_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ScrollRect
struct ScrollRect_t4137855814 : public UIBehaviour_t3495933518
{
public:
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Content
RectTransform_t3704657025 * ___m_Content_4;
// System.Boolean UnityEngine.UI.ScrollRect::m_Horizontal
bool ___m_Horizontal_5;
// System.Boolean UnityEngine.UI.ScrollRect::m_Vertical
bool ___m_Vertical_6;
// UnityEngine.UI.ScrollRect/MovementType UnityEngine.UI.ScrollRect::m_MovementType
int32_t ___m_MovementType_7;
// System.Single UnityEngine.UI.ScrollRect::m_Elasticity
float ___m_Elasticity_8;
// System.Boolean UnityEngine.UI.ScrollRect::m_Inertia
bool ___m_Inertia_9;
// System.Single UnityEngine.UI.ScrollRect::m_DecelerationRate
float ___m_DecelerationRate_10;
// System.Single UnityEngine.UI.ScrollRect::m_ScrollSensitivity
float ___m_ScrollSensitivity_11;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Viewport
RectTransform_t3704657025 * ___m_Viewport_12;
// UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::m_HorizontalScrollbar
Scrollbar_t1494447233 * ___m_HorizontalScrollbar_13;
// UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::m_VerticalScrollbar
Scrollbar_t1494447233 * ___m_VerticalScrollbar_14;
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::m_HorizontalScrollbarVisibility
int32_t ___m_HorizontalScrollbarVisibility_15;
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::m_VerticalScrollbarVisibility
int32_t ___m_VerticalScrollbarVisibility_16;
// System.Single UnityEngine.UI.ScrollRect::m_HorizontalScrollbarSpacing
float ___m_HorizontalScrollbarSpacing_17;
// System.Single UnityEngine.UI.ScrollRect::m_VerticalScrollbarSpacing
float ___m_VerticalScrollbarSpacing_18;
// UnityEngine.UI.ScrollRect/ScrollRectEvent UnityEngine.UI.ScrollRect::m_OnValueChanged
ScrollRectEvent_t343079324 * ___m_OnValueChanged_19;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_PointerStartLocalCursor
Vector2_t2156229523 ___m_PointerStartLocalCursor_20;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_ContentStartPosition
Vector2_t2156229523 ___m_ContentStartPosition_21;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_ViewRect
RectTransform_t3704657025 * ___m_ViewRect_22;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_ContentBounds
Bounds_t2266837910 ___m_ContentBounds_23;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_ViewBounds
Bounds_t2266837910 ___m_ViewBounds_24;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_Velocity
Vector2_t2156229523 ___m_Velocity_25;
// System.Boolean UnityEngine.UI.ScrollRect::m_Dragging
bool ___m_Dragging_26;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_PrevPosition
Vector2_t2156229523 ___m_PrevPosition_27;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_PrevContentBounds
Bounds_t2266837910 ___m_PrevContentBounds_28;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_PrevViewBounds
Bounds_t2266837910 ___m_PrevViewBounds_29;
// System.Boolean UnityEngine.UI.ScrollRect::m_HasRebuiltLayout
bool ___m_HasRebuiltLayout_30;
// System.Boolean UnityEngine.UI.ScrollRect::m_HSliderExpand
bool ___m_HSliderExpand_31;
// System.Boolean UnityEngine.UI.ScrollRect::m_VSliderExpand
bool ___m_VSliderExpand_32;
// System.Single UnityEngine.UI.ScrollRect::m_HSliderHeight
float ___m_HSliderHeight_33;
// System.Single UnityEngine.UI.ScrollRect::m_VSliderWidth
float ___m_VSliderWidth_34;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Rect
RectTransform_t3704657025 * ___m_Rect_35;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_HorizontalScrollbarRect
RectTransform_t3704657025 * ___m_HorizontalScrollbarRect_36;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_VerticalScrollbarRect
RectTransform_t3704657025 * ___m_VerticalScrollbarRect_37;
// UnityEngine.DrivenRectTransformTracker UnityEngine.UI.ScrollRect::m_Tracker
DrivenRectTransformTracker_t2562230146 ___m_Tracker_38;
// UnityEngine.Vector3[] UnityEngine.UI.ScrollRect::m_Corners
Vector3U5BU5D_t1718750761* ___m_Corners_39;
public:
inline static int32_t get_offset_of_m_Content_4() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Content_4)); }
inline RectTransform_t3704657025 * get_m_Content_4() const { return ___m_Content_4; }
inline RectTransform_t3704657025 ** get_address_of_m_Content_4() { return &___m_Content_4; }
inline void set_m_Content_4(RectTransform_t3704657025 * value)
{
___m_Content_4 = value;
Il2CppCodeGenWriteBarrier((&___m_Content_4), value);
}
inline static int32_t get_offset_of_m_Horizontal_5() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Horizontal_5)); }
inline bool get_m_Horizontal_5() const { return ___m_Horizontal_5; }
inline bool* get_address_of_m_Horizontal_5() { return &___m_Horizontal_5; }
inline void set_m_Horizontal_5(bool value)
{
___m_Horizontal_5 = value;
}
inline static int32_t get_offset_of_m_Vertical_6() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Vertical_6)); }
inline bool get_m_Vertical_6() const { return ___m_Vertical_6; }
inline bool* get_address_of_m_Vertical_6() { return &___m_Vertical_6; }
inline void set_m_Vertical_6(bool value)
{
___m_Vertical_6 = value;
}
inline static int32_t get_offset_of_m_MovementType_7() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_MovementType_7)); }
inline int32_t get_m_MovementType_7() const { return ___m_MovementType_7; }
inline int32_t* get_address_of_m_MovementType_7() { return &___m_MovementType_7; }
inline void set_m_MovementType_7(int32_t value)
{
___m_MovementType_7 = value;
}
inline static int32_t get_offset_of_m_Elasticity_8() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Elasticity_8)); }
inline float get_m_Elasticity_8() const { return ___m_Elasticity_8; }
inline float* get_address_of_m_Elasticity_8() { return &___m_Elasticity_8; }
inline void set_m_Elasticity_8(float value)
{
___m_Elasticity_8 = value;
}
inline static int32_t get_offset_of_m_Inertia_9() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Inertia_9)); }
inline bool get_m_Inertia_9() const { return ___m_Inertia_9; }
inline bool* get_address_of_m_Inertia_9() { return &___m_Inertia_9; }
inline void set_m_Inertia_9(bool value)
{
___m_Inertia_9 = value;
}
inline static int32_t get_offset_of_m_DecelerationRate_10() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_DecelerationRate_10)); }
inline float get_m_DecelerationRate_10() const { return ___m_DecelerationRate_10; }
inline float* get_address_of_m_DecelerationRate_10() { return &___m_DecelerationRate_10; }
inline void set_m_DecelerationRate_10(float value)
{
___m_DecelerationRate_10 = value;
}
inline static int32_t get_offset_of_m_ScrollSensitivity_11() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_ScrollSensitivity_11)); }
inline float get_m_ScrollSensitivity_11() const { return ___m_ScrollSensitivity_11; }
inline float* get_address_of_m_ScrollSensitivity_11() { return &___m_ScrollSensitivity_11; }
inline void set_m_ScrollSensitivity_11(float value)
{
___m_ScrollSensitivity_11 = value;
}
inline static int32_t get_offset_of_m_Viewport_12() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Viewport_12)); }
inline RectTransform_t3704657025 * get_m_Viewport_12() const { return ___m_Viewport_12; }
inline RectTransform_t3704657025 ** get_address_of_m_Viewport_12() { return &___m_Viewport_12; }
inline void set_m_Viewport_12(RectTransform_t3704657025 * value)
{
___m_Viewport_12 = value;
Il2CppCodeGenWriteBarrier((&___m_Viewport_12), value);
}
inline static int32_t get_offset_of_m_HorizontalScrollbar_13() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HorizontalScrollbar_13)); }
inline Scrollbar_t1494447233 * get_m_HorizontalScrollbar_13() const { return ___m_HorizontalScrollbar_13; }
inline Scrollbar_t1494447233 ** get_address_of_m_HorizontalScrollbar_13() { return &___m_HorizontalScrollbar_13; }
inline void set_m_HorizontalScrollbar_13(Scrollbar_t1494447233 * value)
{
___m_HorizontalScrollbar_13 = value;
Il2CppCodeGenWriteBarrier((&___m_HorizontalScrollbar_13), value);
}
inline static int32_t get_offset_of_m_VerticalScrollbar_14() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VerticalScrollbar_14)); }
inline Scrollbar_t1494447233 * get_m_VerticalScrollbar_14() const { return ___m_VerticalScrollbar_14; }
inline Scrollbar_t1494447233 ** get_address_of_m_VerticalScrollbar_14() { return &___m_VerticalScrollbar_14; }
inline void set_m_VerticalScrollbar_14(Scrollbar_t1494447233 * value)
{
___m_VerticalScrollbar_14 = value;
Il2CppCodeGenWriteBarrier((&___m_VerticalScrollbar_14), value);
}
inline static int32_t get_offset_of_m_HorizontalScrollbarVisibility_15() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HorizontalScrollbarVisibility_15)); }
inline int32_t get_m_HorizontalScrollbarVisibility_15() const { return ___m_HorizontalScrollbarVisibility_15; }
inline int32_t* get_address_of_m_HorizontalScrollbarVisibility_15() { return &___m_HorizontalScrollbarVisibility_15; }
inline void set_m_HorizontalScrollbarVisibility_15(int32_t value)
{
___m_HorizontalScrollbarVisibility_15 = value;
}
inline static int32_t get_offset_of_m_VerticalScrollbarVisibility_16() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VerticalScrollbarVisibility_16)); }
inline int32_t get_m_VerticalScrollbarVisibility_16() const { return ___m_VerticalScrollbarVisibility_16; }
inline int32_t* get_address_of_m_VerticalScrollbarVisibility_16() { return &___m_VerticalScrollbarVisibility_16; }
inline void set_m_VerticalScrollbarVisibility_16(int32_t value)
{
___m_VerticalScrollbarVisibility_16 = value;
}
inline static int32_t get_offset_of_m_HorizontalScrollbarSpacing_17() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HorizontalScrollbarSpacing_17)); }
inline float get_m_HorizontalScrollbarSpacing_17() const { return ___m_HorizontalScrollbarSpacing_17; }
inline float* get_address_of_m_HorizontalScrollbarSpacing_17() { return &___m_HorizontalScrollbarSpacing_17; }
inline void set_m_HorizontalScrollbarSpacing_17(float value)
{
___m_HorizontalScrollbarSpacing_17 = value;
}
inline static int32_t get_offset_of_m_VerticalScrollbarSpacing_18() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VerticalScrollbarSpacing_18)); }
inline float get_m_VerticalScrollbarSpacing_18() const { return ___m_VerticalScrollbarSpacing_18; }
inline float* get_address_of_m_VerticalScrollbarSpacing_18() { return &___m_VerticalScrollbarSpacing_18; }
inline void set_m_VerticalScrollbarSpacing_18(float value)
{
___m_VerticalScrollbarSpacing_18 = value;
}
inline static int32_t get_offset_of_m_OnValueChanged_19() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_OnValueChanged_19)); }
inline ScrollRectEvent_t343079324 * get_m_OnValueChanged_19() const { return ___m_OnValueChanged_19; }
inline ScrollRectEvent_t343079324 ** get_address_of_m_OnValueChanged_19() { return &___m_OnValueChanged_19; }
inline void set_m_OnValueChanged_19(ScrollRectEvent_t343079324 * value)
{
___m_OnValueChanged_19 = value;
Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_19), value);
}
inline static int32_t get_offset_of_m_PointerStartLocalCursor_20() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_PointerStartLocalCursor_20)); }
inline Vector2_t2156229523 get_m_PointerStartLocalCursor_20() const { return ___m_PointerStartLocalCursor_20; }
inline Vector2_t2156229523 * get_address_of_m_PointerStartLocalCursor_20() { return &___m_PointerStartLocalCursor_20; }
inline void set_m_PointerStartLocalCursor_20(Vector2_t2156229523 value)
{
___m_PointerStartLocalCursor_20 = value;
}
inline static int32_t get_offset_of_m_ContentStartPosition_21() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_ContentStartPosition_21)); }
inline Vector2_t2156229523 get_m_ContentStartPosition_21() const { return ___m_ContentStartPosition_21; }
inline Vector2_t2156229523 * get_address_of_m_ContentStartPosition_21() { return &___m_ContentStartPosition_21; }
inline void set_m_ContentStartPosition_21(Vector2_t2156229523 value)
{
___m_ContentStartPosition_21 = value;
}
inline static int32_t get_offset_of_m_ViewRect_22() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_ViewRect_22)); }
inline RectTransform_t3704657025 * get_m_ViewRect_22() const { return ___m_ViewRect_22; }
inline RectTransform_t3704657025 ** get_address_of_m_ViewRect_22() { return &___m_ViewRect_22; }
inline void set_m_ViewRect_22(RectTransform_t3704657025 * value)
{
___m_ViewRect_22 = value;
Il2CppCodeGenWriteBarrier((&___m_ViewRect_22), value);
}
inline static int32_t get_offset_of_m_ContentBounds_23() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_ContentBounds_23)); }
inline Bounds_t2266837910 get_m_ContentBounds_23() const { return ___m_ContentBounds_23; }
inline Bounds_t2266837910 * get_address_of_m_ContentBounds_23() { return &___m_ContentBounds_23; }
inline void set_m_ContentBounds_23(Bounds_t2266837910 value)
{
___m_ContentBounds_23 = value;
}
inline static int32_t get_offset_of_m_ViewBounds_24() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_ViewBounds_24)); }
inline Bounds_t2266837910 get_m_ViewBounds_24() const { return ___m_ViewBounds_24; }
inline Bounds_t2266837910 * get_address_of_m_ViewBounds_24() { return &___m_ViewBounds_24; }
inline void set_m_ViewBounds_24(Bounds_t2266837910 value)
{
___m_ViewBounds_24 = value;
}
inline static int32_t get_offset_of_m_Velocity_25() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Velocity_25)); }
inline Vector2_t2156229523 get_m_Velocity_25() const { return ___m_Velocity_25; }
inline Vector2_t2156229523 * get_address_of_m_Velocity_25() { return &___m_Velocity_25; }
inline void set_m_Velocity_25(Vector2_t2156229523 value)
{
___m_Velocity_25 = value;
}
inline static int32_t get_offset_of_m_Dragging_26() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Dragging_26)); }
inline bool get_m_Dragging_26() const { return ___m_Dragging_26; }
inline bool* get_address_of_m_Dragging_26() { return &___m_Dragging_26; }
inline void set_m_Dragging_26(bool value)
{
___m_Dragging_26 = value;
}
inline static int32_t get_offset_of_m_PrevPosition_27() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_PrevPosition_27)); }
inline Vector2_t2156229523 get_m_PrevPosition_27() const { return ___m_PrevPosition_27; }
inline Vector2_t2156229523 * get_address_of_m_PrevPosition_27() { return &___m_PrevPosition_27; }
inline void set_m_PrevPosition_27(Vector2_t2156229523 value)
{
___m_PrevPosition_27 = value;
}
inline static int32_t get_offset_of_m_PrevContentBounds_28() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_PrevContentBounds_28)); }
inline Bounds_t2266837910 get_m_PrevContentBounds_28() const { return ___m_PrevContentBounds_28; }
inline Bounds_t2266837910 * get_address_of_m_PrevContentBounds_28() { return &___m_PrevContentBounds_28; }
inline void set_m_PrevContentBounds_28(Bounds_t2266837910 value)
{
___m_PrevContentBounds_28 = value;
}
inline static int32_t get_offset_of_m_PrevViewBounds_29() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_PrevViewBounds_29)); }
inline Bounds_t2266837910 get_m_PrevViewBounds_29() const { return ___m_PrevViewBounds_29; }
inline Bounds_t2266837910 * get_address_of_m_PrevViewBounds_29() { return &___m_PrevViewBounds_29; }
inline void set_m_PrevViewBounds_29(Bounds_t2266837910 value)
{
___m_PrevViewBounds_29 = value;
}
inline static int32_t get_offset_of_m_HasRebuiltLayout_30() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HasRebuiltLayout_30)); }
inline bool get_m_HasRebuiltLayout_30() const { return ___m_HasRebuiltLayout_30; }
inline bool* get_address_of_m_HasRebuiltLayout_30() { return &___m_HasRebuiltLayout_30; }
inline void set_m_HasRebuiltLayout_30(bool value)
{
___m_HasRebuiltLayout_30 = value;
}
inline static int32_t get_offset_of_m_HSliderExpand_31() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HSliderExpand_31)); }
inline bool get_m_HSliderExpand_31() const { return ___m_HSliderExpand_31; }
inline bool* get_address_of_m_HSliderExpand_31() { return &___m_HSliderExpand_31; }
inline void set_m_HSliderExpand_31(bool value)
{
___m_HSliderExpand_31 = value;
}
inline static int32_t get_offset_of_m_VSliderExpand_32() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VSliderExpand_32)); }
inline bool get_m_VSliderExpand_32() const { return ___m_VSliderExpand_32; }
inline bool* get_address_of_m_VSliderExpand_32() { return &___m_VSliderExpand_32; }
inline void set_m_VSliderExpand_32(bool value)
{
___m_VSliderExpand_32 = value;
}
inline static int32_t get_offset_of_m_HSliderHeight_33() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HSliderHeight_33)); }
inline float get_m_HSliderHeight_33() const { return ___m_HSliderHeight_33; }
inline float* get_address_of_m_HSliderHeight_33() { return &___m_HSliderHeight_33; }
inline void set_m_HSliderHeight_33(float value)
{
___m_HSliderHeight_33 = value;
}
inline static int32_t get_offset_of_m_VSliderWidth_34() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VSliderWidth_34)); }
inline float get_m_VSliderWidth_34() const { return ___m_VSliderWidth_34; }
inline float* get_address_of_m_VSliderWidth_34() { return &___m_VSliderWidth_34; }
inline void set_m_VSliderWidth_34(float value)
{
___m_VSliderWidth_34 = value;
}
inline static int32_t get_offset_of_m_Rect_35() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Rect_35)); }
inline RectTransform_t3704657025 * get_m_Rect_35() const { return ___m_Rect_35; }
inline RectTransform_t3704657025 ** get_address_of_m_Rect_35() { return &___m_Rect_35; }
inline void set_m_Rect_35(RectTransform_t3704657025 * value)
{
___m_Rect_35 = value;
Il2CppCodeGenWriteBarrier((&___m_Rect_35), value);
}
inline static int32_t get_offset_of_m_HorizontalScrollbarRect_36() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_HorizontalScrollbarRect_36)); }
inline RectTransform_t3704657025 * get_m_HorizontalScrollbarRect_36() const { return ___m_HorizontalScrollbarRect_36; }
inline RectTransform_t3704657025 ** get_address_of_m_HorizontalScrollbarRect_36() { return &___m_HorizontalScrollbarRect_36; }
inline void set_m_HorizontalScrollbarRect_36(RectTransform_t3704657025 * value)
{
___m_HorizontalScrollbarRect_36 = value;
Il2CppCodeGenWriteBarrier((&___m_HorizontalScrollbarRect_36), value);
}
inline static int32_t get_offset_of_m_VerticalScrollbarRect_37() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_VerticalScrollbarRect_37)); }
inline RectTransform_t3704657025 * get_m_VerticalScrollbarRect_37() const { return ___m_VerticalScrollbarRect_37; }
inline RectTransform_t3704657025 ** get_address_of_m_VerticalScrollbarRect_37() { return &___m_VerticalScrollbarRect_37; }
inline void set_m_VerticalScrollbarRect_37(RectTransform_t3704657025 * value)
{
___m_VerticalScrollbarRect_37 = value;
Il2CppCodeGenWriteBarrier((&___m_VerticalScrollbarRect_37), value);
}
inline static int32_t get_offset_of_m_Tracker_38() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Tracker_38)); }
inline DrivenRectTransformTracker_t2562230146 get_m_Tracker_38() const { return ___m_Tracker_38; }
inline DrivenRectTransformTracker_t2562230146 * get_address_of_m_Tracker_38() { return &___m_Tracker_38; }
inline void set_m_Tracker_38(DrivenRectTransformTracker_t2562230146 value)
{
___m_Tracker_38 = value;
}
inline static int32_t get_offset_of_m_Corners_39() { return static_cast<int32_t>(offsetof(ScrollRect_t4137855814, ___m_Corners_39)); }
inline Vector3U5BU5D_t1718750761* get_m_Corners_39() const { return ___m_Corners_39; }
inline Vector3U5BU5D_t1718750761** get_address_of_m_Corners_39() { return &___m_Corners_39; }
inline void set_m_Corners_39(Vector3U5BU5D_t1718750761* value)
{
___m_Corners_39 = value;
Il2CppCodeGenWriteBarrier((&___m_Corners_39), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SCROLLRECT_T4137855814_H
#ifndef SELECTABLE_T3250028441_H
#define SELECTABLE_T3250028441_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Selectable
struct Selectable_t3250028441 : public UIBehaviour_t3495933518
{
public:
// UnityEngine.UI.Navigation UnityEngine.UI.Selectable::m_Navigation
Navigation_t3049316579 ___m_Navigation_5;
// UnityEngine.UI.Selectable/Transition UnityEngine.UI.Selectable::m_Transition
int32_t ___m_Transition_6;
// UnityEngine.UI.ColorBlock UnityEngine.UI.Selectable::m_Colors
ColorBlock_t2139031574 ___m_Colors_7;
// UnityEngine.UI.SpriteState UnityEngine.UI.Selectable::m_SpriteState
SpriteState_t1362986479 ___m_SpriteState_8;
// UnityEngine.UI.AnimationTriggers UnityEngine.UI.Selectable::m_AnimationTriggers
AnimationTriggers_t2532145056 * ___m_AnimationTriggers_9;
// System.Boolean UnityEngine.UI.Selectable::m_Interactable
bool ___m_Interactable_10;
// UnityEngine.UI.Graphic UnityEngine.UI.Selectable::m_TargetGraphic
Graphic_t1660335611 * ___m_TargetGraphic_11;
// System.Boolean UnityEngine.UI.Selectable::m_GroupsAllowInteraction
bool ___m_GroupsAllowInteraction_12;
// UnityEngine.UI.Selectable/SelectionState UnityEngine.UI.Selectable::m_CurrentSelectionState
int32_t ___m_CurrentSelectionState_13;
// System.Boolean UnityEngine.UI.Selectable::<isPointerInside>k__BackingField
bool ___U3CisPointerInsideU3Ek__BackingField_14;
// System.Boolean UnityEngine.UI.Selectable::<isPointerDown>k__BackingField
bool ___U3CisPointerDownU3Ek__BackingField_15;
// System.Boolean UnityEngine.UI.Selectable::<hasSelection>k__BackingField
bool ___U3ChasSelectionU3Ek__BackingField_16;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup> UnityEngine.UI.Selectable::m_CanvasGroupCache
List_1_t1260619206 * ___m_CanvasGroupCache_17;
public:
inline static int32_t get_offset_of_m_Navigation_5() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_Navigation_5)); }
inline Navigation_t3049316579 get_m_Navigation_5() const { return ___m_Navigation_5; }
inline Navigation_t3049316579 * get_address_of_m_Navigation_5() { return &___m_Navigation_5; }
inline void set_m_Navigation_5(Navigation_t3049316579 value)
{
___m_Navigation_5 = value;
}
inline static int32_t get_offset_of_m_Transition_6() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_Transition_6)); }
inline int32_t get_m_Transition_6() const { return ___m_Transition_6; }
inline int32_t* get_address_of_m_Transition_6() { return &___m_Transition_6; }
inline void set_m_Transition_6(int32_t value)
{
___m_Transition_6 = value;
}
inline static int32_t get_offset_of_m_Colors_7() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_Colors_7)); }
inline ColorBlock_t2139031574 get_m_Colors_7() const { return ___m_Colors_7; }
inline ColorBlock_t2139031574 * get_address_of_m_Colors_7() { return &___m_Colors_7; }
inline void set_m_Colors_7(ColorBlock_t2139031574 value)
{
___m_Colors_7 = value;
}
inline static int32_t get_offset_of_m_SpriteState_8() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_SpriteState_8)); }
inline SpriteState_t1362986479 get_m_SpriteState_8() const { return ___m_SpriteState_8; }
inline SpriteState_t1362986479 * get_address_of_m_SpriteState_8() { return &___m_SpriteState_8; }
inline void set_m_SpriteState_8(SpriteState_t1362986479 value)
{
___m_SpriteState_8 = value;
}
inline static int32_t get_offset_of_m_AnimationTriggers_9() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_AnimationTriggers_9)); }
inline AnimationTriggers_t2532145056 * get_m_AnimationTriggers_9() const { return ___m_AnimationTriggers_9; }
inline AnimationTriggers_t2532145056 ** get_address_of_m_AnimationTriggers_9() { return &___m_AnimationTriggers_9; }
inline void set_m_AnimationTriggers_9(AnimationTriggers_t2532145056 * value)
{
___m_AnimationTriggers_9 = value;
Il2CppCodeGenWriteBarrier((&___m_AnimationTriggers_9), value);
}
inline static int32_t get_offset_of_m_Interactable_10() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_Interactable_10)); }
inline bool get_m_Interactable_10() const { return ___m_Interactable_10; }
inline bool* get_address_of_m_Interactable_10() { return &___m_Interactable_10; }
inline void set_m_Interactable_10(bool value)
{
___m_Interactable_10 = value;
}
inline static int32_t get_offset_of_m_TargetGraphic_11() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_TargetGraphic_11)); }
inline Graphic_t1660335611 * get_m_TargetGraphic_11() const { return ___m_TargetGraphic_11; }
inline Graphic_t1660335611 ** get_address_of_m_TargetGraphic_11() { return &___m_TargetGraphic_11; }
inline void set_m_TargetGraphic_11(Graphic_t1660335611 * value)
{
___m_TargetGraphic_11 = value;
Il2CppCodeGenWriteBarrier((&___m_TargetGraphic_11), value);
}
inline static int32_t get_offset_of_m_GroupsAllowInteraction_12() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_GroupsAllowInteraction_12)); }
inline bool get_m_GroupsAllowInteraction_12() const { return ___m_GroupsAllowInteraction_12; }
inline bool* get_address_of_m_GroupsAllowInteraction_12() { return &___m_GroupsAllowInteraction_12; }
inline void set_m_GroupsAllowInteraction_12(bool value)
{
___m_GroupsAllowInteraction_12 = value;
}
inline static int32_t get_offset_of_m_CurrentSelectionState_13() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_CurrentSelectionState_13)); }
inline int32_t get_m_CurrentSelectionState_13() const { return ___m_CurrentSelectionState_13; }
inline int32_t* get_address_of_m_CurrentSelectionState_13() { return &___m_CurrentSelectionState_13; }
inline void set_m_CurrentSelectionState_13(int32_t value)
{
___m_CurrentSelectionState_13 = value;
}
inline static int32_t get_offset_of_U3CisPointerInsideU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___U3CisPointerInsideU3Ek__BackingField_14)); }
inline bool get_U3CisPointerInsideU3Ek__BackingField_14() const { return ___U3CisPointerInsideU3Ek__BackingField_14; }
inline bool* get_address_of_U3CisPointerInsideU3Ek__BackingField_14() { return &___U3CisPointerInsideU3Ek__BackingField_14; }
inline void set_U3CisPointerInsideU3Ek__BackingField_14(bool value)
{
___U3CisPointerInsideU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CisPointerDownU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___U3CisPointerDownU3Ek__BackingField_15)); }
inline bool get_U3CisPointerDownU3Ek__BackingField_15() const { return ___U3CisPointerDownU3Ek__BackingField_15; }
inline bool* get_address_of_U3CisPointerDownU3Ek__BackingField_15() { return &___U3CisPointerDownU3Ek__BackingField_15; }
inline void set_U3CisPointerDownU3Ek__BackingField_15(bool value)
{
___U3CisPointerDownU3Ek__BackingField_15 = value;
}
inline static int32_t get_offset_of_U3ChasSelectionU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___U3ChasSelectionU3Ek__BackingField_16)); }
inline bool get_U3ChasSelectionU3Ek__BackingField_16() const { return ___U3ChasSelectionU3Ek__BackingField_16; }
inline bool* get_address_of_U3ChasSelectionU3Ek__BackingField_16() { return &___U3ChasSelectionU3Ek__BackingField_16; }
inline void set_U3ChasSelectionU3Ek__BackingField_16(bool value)
{
___U3ChasSelectionU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_m_CanvasGroupCache_17() { return static_cast<int32_t>(offsetof(Selectable_t3250028441, ___m_CanvasGroupCache_17)); }
inline List_1_t1260619206 * get_m_CanvasGroupCache_17() const { return ___m_CanvasGroupCache_17; }
inline List_1_t1260619206 ** get_address_of_m_CanvasGroupCache_17() { return &___m_CanvasGroupCache_17; }
inline void set_m_CanvasGroupCache_17(List_1_t1260619206 * value)
{
___m_CanvasGroupCache_17 = value;
Il2CppCodeGenWriteBarrier((&___m_CanvasGroupCache_17), value);
}
};
struct Selectable_t3250028441_StaticFields
{
public:
// System.Collections.Generic.List`1<UnityEngine.UI.Selectable> UnityEngine.UI.Selectable::s_List
List_1_t427135887 * ___s_List_4;
public:
inline static int32_t get_offset_of_s_List_4() { return static_cast<int32_t>(offsetof(Selectable_t3250028441_StaticFields, ___s_List_4)); }
inline List_1_t427135887 * get_s_List_4() const { return ___s_List_4; }
inline List_1_t427135887 ** get_address_of_s_List_4() { return &___s_List_4; }
inline void set_s_List_4(List_1_t427135887 * value)
{
___s_List_4 = value;
Il2CppCodeGenWriteBarrier((&___s_List_4), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SELECTABLE_T3250028441_H
#ifndef TOGGLEGROUP_T123837990_H
#define TOGGLEGROUP_T123837990_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ToggleGroup
struct ToggleGroup_t123837990 : public UIBehaviour_t3495933518
{
public:
// System.Boolean UnityEngine.UI.ToggleGroup::m_AllowSwitchOff
bool ___m_AllowSwitchOff_4;
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::m_Toggles
List_1_t4207451803 * ___m_Toggles_5;
public:
inline static int32_t get_offset_of_m_AllowSwitchOff_4() { return static_cast<int32_t>(offsetof(ToggleGroup_t123837990, ___m_AllowSwitchOff_4)); }
inline bool get_m_AllowSwitchOff_4() const { return ___m_AllowSwitchOff_4; }
inline bool* get_address_of_m_AllowSwitchOff_4() { return &___m_AllowSwitchOff_4; }
inline void set_m_AllowSwitchOff_4(bool value)
{
___m_AllowSwitchOff_4 = value;
}
inline static int32_t get_offset_of_m_Toggles_5() { return static_cast<int32_t>(offsetof(ToggleGroup_t123837990, ___m_Toggles_5)); }
inline List_1_t4207451803 * get_m_Toggles_5() const { return ___m_Toggles_5; }
inline List_1_t4207451803 ** get_address_of_m_Toggles_5() { return &___m_Toggles_5; }
inline void set_m_Toggles_5(List_1_t4207451803 * value)
{
___m_Toggles_5 = value;
Il2CppCodeGenWriteBarrier((&___m_Toggles_5), value);
}
};
struct ToggleGroup_t123837990_StaticFields
{
public:
// System.Predicate`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::<>f__am$cache0
Predicate_1_t3560671185 * ___U3CU3Ef__amU24cache0_6;
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean> UnityEngine.UI.ToggleGroup::<>f__am$cache1
Func_2_t3446800538 * ___U3CU3Ef__amU24cache1_7;
public:
inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_6() { return static_cast<int32_t>(offsetof(ToggleGroup_t123837990_StaticFields, ___U3CU3Ef__amU24cache0_6)); }
inline Predicate_1_t3560671185 * get_U3CU3Ef__amU24cache0_6() const { return ___U3CU3Ef__amU24cache0_6; }
inline Predicate_1_t3560671185 ** get_address_of_U3CU3Ef__amU24cache0_6() { return &___U3CU3Ef__amU24cache0_6; }
inline void set_U3CU3Ef__amU24cache0_6(Predicate_1_t3560671185 * value)
{
___U3CU3Ef__amU24cache0_6 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_6), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache1_7() { return static_cast<int32_t>(offsetof(ToggleGroup_t123837990_StaticFields, ___U3CU3Ef__amU24cache1_7)); }
inline Func_2_t3446800538 * get_U3CU3Ef__amU24cache1_7() const { return ___U3CU3Ef__amU24cache1_7; }
inline Func_2_t3446800538 ** get_address_of_U3CU3Ef__amU24cache1_7() { return &___U3CU3Ef__amU24cache1_7; }
inline void set_U3CU3Ef__amU24cache1_7(Func_2_t3446800538 * value)
{
___U3CU3Ef__amU24cache1_7 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache1_7), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TOGGLEGROUP_T123837990_H
#ifndef CONNECTANDJOINRANDOM_T1495527429_H
#define CONNECTANDJOINRANDOM_T1495527429_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.ConnectAndJoinRandom
struct ConnectAndJoinRandom_t1495527429 : public MonoBehaviourPunCallbacks_t1810614660
{
public:
// System.Boolean Photon.Pun.UtilityScripts.ConnectAndJoinRandom::AutoConnect
bool ___AutoConnect_5;
// System.Byte Photon.Pun.UtilityScripts.ConnectAndJoinRandom::Version
uint8_t ___Version_6;
public:
inline static int32_t get_offset_of_AutoConnect_5() { return static_cast<int32_t>(offsetof(ConnectAndJoinRandom_t1495527429, ___AutoConnect_5)); }
inline bool get_AutoConnect_5() const { return ___AutoConnect_5; }
inline bool* get_address_of_AutoConnect_5() { return &___AutoConnect_5; }
inline void set_AutoConnect_5(bool value)
{
___AutoConnect_5 = value;
}
inline static int32_t get_offset_of_Version_6() { return static_cast<int32_t>(offsetof(ConnectAndJoinRandom_t1495527429, ___Version_6)); }
inline uint8_t get_Version_6() const { return ___Version_6; }
inline uint8_t* get_address_of_Version_6() { return &___Version_6; }
inline void set_Version_6(uint8_t value)
{
___Version_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONNECTANDJOINRANDOM_T1495527429_H
#ifndef COUNTDOWNTIMER_T636337431_H
#define COUNTDOWNTIMER_T636337431_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.CountdownTimer
struct CountdownTimer_t636337431 : public MonoBehaviourPunCallbacks_t1810614660
{
public:
// System.Boolean Photon.Pun.UtilityScripts.CountdownTimer::isTimerRunning
bool ___isTimerRunning_7;
// System.Single Photon.Pun.UtilityScripts.CountdownTimer::startTime
float ___startTime_8;
// UnityEngine.UI.Text Photon.Pun.UtilityScripts.CountdownTimer::Text
Text_t1901882714 * ___Text_9;
// System.Single Photon.Pun.UtilityScripts.CountdownTimer::Countdown
float ___Countdown_10;
public:
inline static int32_t get_offset_of_isTimerRunning_7() { return static_cast<int32_t>(offsetof(CountdownTimer_t636337431, ___isTimerRunning_7)); }
inline bool get_isTimerRunning_7() const { return ___isTimerRunning_7; }
inline bool* get_address_of_isTimerRunning_7() { return &___isTimerRunning_7; }
inline void set_isTimerRunning_7(bool value)
{
___isTimerRunning_7 = value;
}
inline static int32_t get_offset_of_startTime_8() { return static_cast<int32_t>(offsetof(CountdownTimer_t636337431, ___startTime_8)); }
inline float get_startTime_8() const { return ___startTime_8; }
inline float* get_address_of_startTime_8() { return &___startTime_8; }
inline void set_startTime_8(float value)
{
___startTime_8 = value;
}
inline static int32_t get_offset_of_Text_9() { return static_cast<int32_t>(offsetof(CountdownTimer_t636337431, ___Text_9)); }
inline Text_t1901882714 * get_Text_9() const { return ___Text_9; }
inline Text_t1901882714 ** get_address_of_Text_9() { return &___Text_9; }
inline void set_Text_9(Text_t1901882714 * value)
{
___Text_9 = value;
Il2CppCodeGenWriteBarrier((&___Text_9), value);
}
inline static int32_t get_offset_of_Countdown_10() { return static_cast<int32_t>(offsetof(CountdownTimer_t636337431, ___Countdown_10)); }
inline float get_Countdown_10() const { return ___Countdown_10; }
inline float* get_address_of_Countdown_10() { return &___Countdown_10; }
inline void set_Countdown_10(float value)
{
___Countdown_10 = value;
}
};
struct CountdownTimer_t636337431_StaticFields
{
public:
// Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired Photon.Pun.UtilityScripts.CountdownTimer::OnCountdownTimerHasExpired
CountdownTimerHasExpired_t4234756006 * ___OnCountdownTimerHasExpired_6;
public:
inline static int32_t get_offset_of_OnCountdownTimerHasExpired_6() { return static_cast<int32_t>(offsetof(CountdownTimer_t636337431_StaticFields, ___OnCountdownTimerHasExpired_6)); }
inline CountdownTimerHasExpired_t4234756006 * get_OnCountdownTimerHasExpired_6() const { return ___OnCountdownTimerHasExpired_6; }
inline CountdownTimerHasExpired_t4234756006 ** get_address_of_OnCountdownTimerHasExpired_6() { return &___OnCountdownTimerHasExpired_6; }
inline void set_OnCountdownTimerHasExpired_6(CountdownTimerHasExpired_t4234756006 * value)
{
___OnCountdownTimerHasExpired_6 = value;
Il2CppCodeGenWriteBarrier((&___OnCountdownTimerHasExpired_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COUNTDOWNTIMER_T636337431_H
#ifndef PLAYERNUMBERING_T1896744609_H
#define PLAYERNUMBERING_T1896744609_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PlayerNumbering
struct PlayerNumbering_t1896744609 : public MonoBehaviourPunCallbacks_t1810614660
{
public:
// System.Boolean Photon.Pun.UtilityScripts.PlayerNumbering::dontDestroyOnLoad
bool ___dontDestroyOnLoad_9;
public:
inline static int32_t get_offset_of_dontDestroyOnLoad_9() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609, ___dontDestroyOnLoad_9)); }
inline bool get_dontDestroyOnLoad_9() const { return ___dontDestroyOnLoad_9; }
inline bool* get_address_of_dontDestroyOnLoad_9() { return &___dontDestroyOnLoad_9; }
inline void set_dontDestroyOnLoad_9(bool value)
{
___dontDestroyOnLoad_9 = value;
}
};
struct PlayerNumbering_t1896744609_StaticFields
{
public:
// Photon.Pun.UtilityScripts.PlayerNumbering Photon.Pun.UtilityScripts.PlayerNumbering::instance
PlayerNumbering_t1896744609 * ___instance_5;
// Photon.Realtime.Player[] Photon.Pun.UtilityScripts.PlayerNumbering::SortedPlayers
PlayerU5BU5D_t3651776216* ___SortedPlayers_6;
// Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged Photon.Pun.UtilityScripts.PlayerNumbering::OnPlayerNumberingChanged
PlayerNumberingChanged_t966975091 * ___OnPlayerNumberingChanged_7;
// System.Func`2<Photon.Realtime.Player,System.Int32> Photon.Pun.UtilityScripts.PlayerNumbering::<>f__mg$cache0
Func_2_t3125806854 * ___U3CU3Ef__mgU24cache0_10;
// System.Func`2<Photon.Realtime.Player,System.Int32> Photon.Pun.UtilityScripts.PlayerNumbering::<>f__mg$cache1
Func_2_t3125806854 * ___U3CU3Ef__mgU24cache1_11;
// System.Func`2<Photon.Realtime.Player,System.Int32> Photon.Pun.UtilityScripts.PlayerNumbering::<>f__am$cache0
Func_2_t3125806854 * ___U3CU3Ef__amU24cache0_12;
public:
inline static int32_t get_offset_of_instance_5() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___instance_5)); }
inline PlayerNumbering_t1896744609 * get_instance_5() const { return ___instance_5; }
inline PlayerNumbering_t1896744609 ** get_address_of_instance_5() { return &___instance_5; }
inline void set_instance_5(PlayerNumbering_t1896744609 * value)
{
___instance_5 = value;
Il2CppCodeGenWriteBarrier((&___instance_5), value);
}
inline static int32_t get_offset_of_SortedPlayers_6() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___SortedPlayers_6)); }
inline PlayerU5BU5D_t3651776216* get_SortedPlayers_6() const { return ___SortedPlayers_6; }
inline PlayerU5BU5D_t3651776216** get_address_of_SortedPlayers_6() { return &___SortedPlayers_6; }
inline void set_SortedPlayers_6(PlayerU5BU5D_t3651776216* value)
{
___SortedPlayers_6 = value;
Il2CppCodeGenWriteBarrier((&___SortedPlayers_6), value);
}
inline static int32_t get_offset_of_OnPlayerNumberingChanged_7() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___OnPlayerNumberingChanged_7)); }
inline PlayerNumberingChanged_t966975091 * get_OnPlayerNumberingChanged_7() const { return ___OnPlayerNumberingChanged_7; }
inline PlayerNumberingChanged_t966975091 ** get_address_of_OnPlayerNumberingChanged_7() { return &___OnPlayerNumberingChanged_7; }
inline void set_OnPlayerNumberingChanged_7(PlayerNumberingChanged_t966975091 * value)
{
___OnPlayerNumberingChanged_7 = value;
Il2CppCodeGenWriteBarrier((&___OnPlayerNumberingChanged_7), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_10() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___U3CU3Ef__mgU24cache0_10)); }
inline Func_2_t3125806854 * get_U3CU3Ef__mgU24cache0_10() const { return ___U3CU3Ef__mgU24cache0_10; }
inline Func_2_t3125806854 ** get_address_of_U3CU3Ef__mgU24cache0_10() { return &___U3CU3Ef__mgU24cache0_10; }
inline void set_U3CU3Ef__mgU24cache0_10(Func_2_t3125806854 * value)
{
___U3CU3Ef__mgU24cache0_10 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_10), value);
}
inline static int32_t get_offset_of_U3CU3Ef__mgU24cache1_11() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___U3CU3Ef__mgU24cache1_11)); }
inline Func_2_t3125806854 * get_U3CU3Ef__mgU24cache1_11() const { return ___U3CU3Ef__mgU24cache1_11; }
inline Func_2_t3125806854 ** get_address_of_U3CU3Ef__mgU24cache1_11() { return &___U3CU3Ef__mgU24cache1_11; }
inline void set_U3CU3Ef__mgU24cache1_11(Func_2_t3125806854 * value)
{
___U3CU3Ef__mgU24cache1_11 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache1_11), value);
}
inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_12() { return static_cast<int32_t>(offsetof(PlayerNumbering_t1896744609_StaticFields, ___U3CU3Ef__amU24cache0_12)); }
inline Func_2_t3125806854 * get_U3CU3Ef__amU24cache0_12() const { return ___U3CU3Ef__amU24cache0_12; }
inline Func_2_t3125806854 ** get_address_of_U3CU3Ef__amU24cache0_12() { return &___U3CU3Ef__amU24cache0_12; }
inline void set_U3CU3Ef__amU24cache0_12(Func_2_t3125806854 * value)
{
___U3CU3Ef__amU24cache0_12 = value;
Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_12), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PLAYERNUMBERING_T1896744609_H
#ifndef PUNTEAMS_T4131221827_H
#define PUNTEAMS_T4131221827_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PunTeams
struct PunTeams_t4131221827 : public MonoBehaviourPunCallbacks_t1810614660
{
public:
public:
};
struct PunTeams_t4131221827_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>> Photon.Pun.UtilityScripts.PunTeams::PlayersPerTeam
Dictionary_2_t660995199 * ___PlayersPerTeam_5;
public:
inline static int32_t get_offset_of_PlayersPerTeam_5() { return static_cast<int32_t>(offsetof(PunTeams_t4131221827_StaticFields, ___PlayersPerTeam_5)); }
inline Dictionary_2_t660995199 * get_PlayersPerTeam_5() const { return ___PlayersPerTeam_5; }
inline Dictionary_2_t660995199 ** get_address_of_PlayersPerTeam_5() { return &___PlayersPerTeam_5; }
inline void set_PlayersPerTeam_5(Dictionary_2_t660995199 * value)
{
___PlayersPerTeam_5 = value;
Il2CppCodeGenWriteBarrier((&___PlayersPerTeam_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PUNTEAMS_T4131221827_H
#ifndef PUNTURNMANAGER_T13104469_H
#define PUNTURNMANAGER_T13104469_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Photon.Pun.UtilityScripts.PunTurnManager
struct PunTurnManager_t13104469 : public MonoBehaviourPunCallbacks_t1810614660
{
public:
// System.Single Photon.Pun.UtilityScripts.PunTurnManager::TurnDuration
float ___TurnDuration_5;
// Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks Photon.Pun.UtilityScripts.PunTurnManager::TurnManagerListener
RuntimeObject* ___TurnManagerListener_6;
// System.Collections.Generic.HashSet`1<Photon.Realtime.Player> Photon.Pun.UtilityScripts.PunTurnManager::finishedPlayers
HashSet_1_t1444519063 * ___finishedPlayers_7;
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::_isOverCallProcessed
bool ____isOverCallProcessed_11;
public:
inline static int32_t get_offset_of_TurnDuration_5() { return static_cast<int32_t>(offsetof(PunTurnManager_t13104469, ___TurnDuration_5)); }
inline float get_TurnDuration_5() const { return ___TurnDuration_5; }
inline float* get_address_of_TurnDuration_5() { return &___TurnDuration_5; }
inline void set_TurnDuration_5(float value)
{
___TurnDuration_5 = value;
}
inline static int32_t get_offset_of_TurnManagerListener_6() { return static_cast<int32_t>(offsetof(PunTurnManager_t13104469, ___TurnManagerListener_6)); }
inline RuntimeObject* get_TurnManagerListener_6() const { return ___TurnManagerListener_6; }
inline RuntimeObject** get_address_of_TurnManagerListener_6() { return &___TurnManagerListener_6; }
inline void set_TurnManagerListener_6(RuntimeObject* value)
{
___TurnManagerListener_6 = value;
Il2CppCodeGenWriteBarrier((&___TurnManagerListener_6), value);
}
inline static int32_t get_offset_of_finishedPlayers_7() { return static_cast<int32_t>(offsetof(PunTurnManager_t13104469, ___finishedPlayers_7)); }
inline HashSet_1_t1444519063 * get_finishedPlayers_7() const { return ___finishedPlayers_7; }
inline HashSet_1_t1444519063 ** get_address_of_finishedPlayers_7() { return &___finishedPlayers_7; }
inline void set_finishedPlayers_7(HashSet_1_t1444519063 * value)
{
___finishedPlayers_7 = value;
Il2CppCodeGenWriteBarrier((&___finishedPlayers_7), value);
}
inline static int32_t get_offset_of__isOverCallProcessed_11() { return static_cast<int32_t>(offsetof(PunTurnManager_t13104469, ____isOverCallProcessed_11)); }
inline bool get__isOverCallProcessed_11() const { return ____isOverCallProcessed_11; }
inline bool* get_address_of__isOverCallProcessed_11() { return &____isOverCallProcessed_11; }
inline void set__isOverCallProcessed_11(bool value)
{
____isOverCallProcessed_11 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PUNTURNMANAGER_T13104469_H
#ifndef POINTERINPUTMODULE_T3453173740_H
#define POINTERINPUTMODULE_T3453173740_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.PointerInputModule
struct PointerInputModule_t3453173740 : public BaseInputModule_t2019268878
{
public:
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData> UnityEngine.EventSystems.PointerInputModule::m_PointerData
Dictionary_2_t2696614423 * ___m_PointerData_14;
// UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::m_MouseState
MouseState_t384203932 * ___m_MouseState_15;
public:
inline static int32_t get_offset_of_m_PointerData_14() { return static_cast<int32_t>(offsetof(PointerInputModule_t3453173740, ___m_PointerData_14)); }
inline Dictionary_2_t2696614423 * get_m_PointerData_14() const { return ___m_PointerData_14; }
inline Dictionary_2_t2696614423 ** get_address_of_m_PointerData_14() { return &___m_PointerData_14; }
inline void set_m_PointerData_14(Dictionary_2_t2696614423 * value)
{
___m_PointerData_14 = value;
Il2CppCodeGenWriteBarrier((&___m_PointerData_14), value);
}
inline static int32_t get_offset_of_m_MouseState_15() { return static_cast<int32_t>(offsetof(PointerInputModule_t3453173740, ___m_MouseState_15)); }
inline MouseState_t384203932 * get_m_MouseState_15() const { return ___m_MouseState_15; }
inline MouseState_t384203932 ** get_address_of_m_MouseState_15() { return &___m_MouseState_15; }
inline void set_m_MouseState_15(MouseState_t384203932 * value)
{
___m_MouseState_15 = value;
Il2CppCodeGenWriteBarrier((&___m_MouseState_15), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // POINTERINPUTMODULE_T3453173740_H
#ifndef MASKABLEGRAPHIC_T3839221559_H
#define MASKABLEGRAPHIC_T3839221559_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_t3839221559 : public Graphic_t1660335611
{
public:
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculateStencil
bool ___m_ShouldRecalculateStencil_21;
// UnityEngine.Material UnityEngine.UI.MaskableGraphic::m_MaskMaterial
Material_t340375123 * ___m_MaskMaterial_22;
// UnityEngine.UI.RectMask2D UnityEngine.UI.MaskableGraphic::m_ParentMask
RectMask2D_t3474889437 * ___m_ParentMask_23;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_Maskable
bool ___m_Maskable_24;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_IncludeForMasking
bool ___m_IncludeForMasking_25;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent UnityEngine.UI.MaskableGraphic::m_OnCullStateChanged
CullStateChangedEvent_t3661388177 * ___m_OnCullStateChanged_26;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculate
bool ___m_ShouldRecalculate_27;
// System.Int32 UnityEngine.UI.MaskableGraphic::m_StencilValue
int32_t ___m_StencilValue_28;
// UnityEngine.Vector3[] UnityEngine.UI.MaskableGraphic::m_Corners
Vector3U5BU5D_t1718750761* ___m_Corners_29;
public:
inline static int32_t get_offset_of_m_ShouldRecalculateStencil_21() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_ShouldRecalculateStencil_21)); }
inline bool get_m_ShouldRecalculateStencil_21() const { return ___m_ShouldRecalculateStencil_21; }
inline bool* get_address_of_m_ShouldRecalculateStencil_21() { return &___m_ShouldRecalculateStencil_21; }
inline void set_m_ShouldRecalculateStencil_21(bool value)
{
___m_ShouldRecalculateStencil_21 = value;
}
inline static int32_t get_offset_of_m_MaskMaterial_22() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_MaskMaterial_22)); }
inline Material_t340375123 * get_m_MaskMaterial_22() const { return ___m_MaskMaterial_22; }
inline Material_t340375123 ** get_address_of_m_MaskMaterial_22() { return &___m_MaskMaterial_22; }
inline void set_m_MaskMaterial_22(Material_t340375123 * value)
{
___m_MaskMaterial_22 = value;
Il2CppCodeGenWriteBarrier((&___m_MaskMaterial_22), value);
}
inline static int32_t get_offset_of_m_ParentMask_23() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_ParentMask_23)); }
inline RectMask2D_t3474889437 * get_m_ParentMask_23() const { return ___m_ParentMask_23; }
inline RectMask2D_t3474889437 ** get_address_of_m_ParentMask_23() { return &___m_ParentMask_23; }
inline void set_m_ParentMask_23(RectMask2D_t3474889437 * value)
{
___m_ParentMask_23 = value;
Il2CppCodeGenWriteBarrier((&___m_ParentMask_23), value);
}
inline static int32_t get_offset_of_m_Maskable_24() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_Maskable_24)); }
inline bool get_m_Maskable_24() const { return ___m_Maskable_24; }
inline bool* get_address_of_m_Maskable_24() { return &___m_Maskable_24; }
inline void set_m_Maskable_24(bool value)
{
___m_Maskable_24 = value;
}
inline static int32_t get_offset_of_m_IncludeForMasking_25() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_IncludeForMasking_25)); }
inline bool get_m_IncludeForMasking_25() const { return ___m_IncludeForMasking_25; }
inline bool* get_address_of_m_IncludeForMasking_25() { return &___m_IncludeForMasking_25; }
inline void set_m_IncludeForMasking_25(bool value)
{
___m_IncludeForMasking_25 = value;
}
inline static int32_t get_offset_of_m_OnCullStateChanged_26() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_OnCullStateChanged_26)); }
inline CullStateChangedEvent_t3661388177 * get_m_OnCullStateChanged_26() const { return ___m_OnCullStateChanged_26; }
inline CullStateChangedEvent_t3661388177 ** get_address_of_m_OnCullStateChanged_26() { return &___m_OnCullStateChanged_26; }
inline void set_m_OnCullStateChanged_26(CullStateChangedEvent_t3661388177 * value)
{
___m_OnCullStateChanged_26 = value;
Il2CppCodeGenWriteBarrier((&___m_OnCullStateChanged_26), value);
}
inline static int32_t get_offset_of_m_ShouldRecalculate_27() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_ShouldRecalculate_27)); }
inline bool get_m_ShouldRecalculate_27() const { return ___m_ShouldRecalculate_27; }
inline bool* get_address_of_m_ShouldRecalculate_27() { return &___m_ShouldRecalculate_27; }
inline void set_m_ShouldRecalculate_27(bool value)
{
___m_ShouldRecalculate_27 = value;
}
inline static int32_t get_offset_of_m_StencilValue_28() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_StencilValue_28)); }
inline int32_t get_m_StencilValue_28() const { return ___m_StencilValue_28; }
inline int32_t* get_address_of_m_StencilValue_28() { return &___m_StencilValue_28; }
inline void set_m_StencilValue_28(int32_t value)
{
___m_StencilValue_28 = value;
}
inline static int32_t get_offset_of_m_Corners_29() { return static_cast<int32_t>(offsetof(MaskableGraphic_t3839221559, ___m_Corners_29)); }
inline Vector3U5BU5D_t1718750761* get_m_Corners_29() const { return ___m_Corners_29; }
inline Vector3U5BU5D_t1718750761** get_address_of_m_Corners_29() { return &___m_Corners_29; }
inline void set_m_Corners_29(Vector3U5BU5D_t1718750761* value)
{
___m_Corners_29 = value;
Il2CppCodeGenWriteBarrier((&___m_Corners_29), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MASKABLEGRAPHIC_T3839221559_H
#ifndef TOGGLE_T2735377061_H
#define TOGGLE_T2735377061_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Toggle
struct Toggle_t2735377061 : public Selectable_t3250028441
{
public:
// UnityEngine.UI.Toggle/ToggleTransition UnityEngine.UI.Toggle::toggleTransition
int32_t ___toggleTransition_18;
// UnityEngine.UI.Graphic UnityEngine.UI.Toggle::graphic
Graphic_t1660335611 * ___graphic_19;
// UnityEngine.UI.ToggleGroup UnityEngine.UI.Toggle::m_Group
ToggleGroup_t123837990 * ___m_Group_20;
// UnityEngine.UI.Toggle/ToggleEvent UnityEngine.UI.Toggle::onValueChanged
ToggleEvent_t1873685584 * ___onValueChanged_21;
// System.Boolean UnityEngine.UI.Toggle::m_IsOn
bool ___m_IsOn_22;
public:
inline static int32_t get_offset_of_toggleTransition_18() { return static_cast<int32_t>(offsetof(Toggle_t2735377061, ___toggleTransition_18)); }
inline int32_t get_toggleTransition_18() const { return ___toggleTransition_18; }
inline int32_t* get_address_of_toggleTransition_18() { return &___toggleTransition_18; }
inline void set_toggleTransition_18(int32_t value)
{
___toggleTransition_18 = value;
}
inline static int32_t get_offset_of_graphic_19() { return static_cast<int32_t>(offsetof(Toggle_t2735377061, ___graphic_19)); }
inline Graphic_t1660335611 * get_graphic_19() const { return ___graphic_19; }
inline Graphic_t1660335611 ** get_address_of_graphic_19() { return &___graphic_19; }
inline void set_graphic_19(Graphic_t1660335611 * value)
{
___graphic_19 = value;
Il2CppCodeGenWriteBarrier((&___graphic_19), value);
}
inline static int32_t get_offset_of_m_Group_20() { return static_cast<int32_t>(offsetof(Toggle_t2735377061, ___m_Group_20)); }
inline ToggleGroup_t123837990 * get_m_Group_20() const { return ___m_Group_20; }
inline ToggleGroup_t123837990 ** get_address_of_m_Group_20() { return &___m_Group_20; }
inline void set_m_Group_20(ToggleGroup_t123837990 * value)
{
___m_Group_20 = value;
Il2CppCodeGenWriteBarrier((&___m_Group_20), value);
}
inline static int32_t get_offset_of_onValueChanged_21() { return static_cast<int32_t>(offsetof(Toggle_t2735377061, ___onValueChanged_21)); }
inline ToggleEvent_t1873685584 * get_onValueChanged_21() const { return ___onValueChanged_21; }
inline ToggleEvent_t1873685584 ** get_address_of_onValueChanged_21() { return &___onValueChanged_21; }
inline void set_onValueChanged_21(ToggleEvent_t1873685584 * value)
{
___onValueChanged_21 = value;
Il2CppCodeGenWriteBarrier((&___onValueChanged_21), value);
}
inline static int32_t get_offset_of_m_IsOn_22() { return static_cast<int32_t>(offsetof(Toggle_t2735377061, ___m_IsOn_22)); }
inline bool get_m_IsOn_22() const { return ___m_IsOn_22; }
inline bool* get_address_of_m_IsOn_22() { return &___m_IsOn_22; }
inline void set_m_IsOn_22(bool value)
{
___m_IsOn_22 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TOGGLE_T2735377061_H
#ifndef STANDALONEINPUTMODULE_T2760469101_H
#define STANDALONEINPUTMODULE_T2760469101_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.EventSystems.StandaloneInputModule
struct StandaloneInputModule_t2760469101 : public PointerInputModule_t3453173740
{
public:
// System.Single UnityEngine.EventSystems.StandaloneInputModule::m_PrevActionTime
float ___m_PrevActionTime_16;
// UnityEngine.Vector2 UnityEngine.EventSystems.StandaloneInputModule::m_LastMoveVector
Vector2_t2156229523 ___m_LastMoveVector_17;
// System.Int32 UnityEngine.EventSystems.StandaloneInputModule::m_ConsecutiveMoveCount
int32_t ___m_ConsecutiveMoveCount_18;
// UnityEngine.Vector2 UnityEngine.EventSystems.StandaloneInputModule::m_LastMousePosition
Vector2_t2156229523 ___m_LastMousePosition_19;
// UnityEngine.Vector2 UnityEngine.EventSystems.StandaloneInputModule::m_MousePosition
Vector2_t2156229523 ___m_MousePosition_20;
// UnityEngine.GameObject UnityEngine.EventSystems.StandaloneInputModule::m_CurrentFocusedGameObject
GameObject_t1113636619 * ___m_CurrentFocusedGameObject_21;
// UnityEngine.EventSystems.PointerEventData UnityEngine.EventSystems.StandaloneInputModule::m_InputPointerEvent
PointerEventData_t3807901092 * ___m_InputPointerEvent_22;
// System.String UnityEngine.EventSystems.StandaloneInputModule::m_HorizontalAxis
String_t* ___m_HorizontalAxis_23;
// System.String UnityEngine.EventSystems.StandaloneInputModule::m_VerticalAxis
String_t* ___m_VerticalAxis_24;
// System.String UnityEngine.EventSystems.StandaloneInputModule::m_SubmitButton
String_t* ___m_SubmitButton_25;
// System.String UnityEngine.EventSystems.StandaloneInputModule::m_CancelButton
String_t* ___m_CancelButton_26;
// System.Single UnityEngine.EventSystems.StandaloneInputModule::m_InputActionsPerSecond
float ___m_InputActionsPerSecond_27;
// System.Single UnityEngine.EventSystems.StandaloneInputModule::m_RepeatDelay
float ___m_RepeatDelay_28;
// System.Boolean UnityEngine.EventSystems.StandaloneInputModule::m_ForceModuleActive
bool ___m_ForceModuleActive_29;
public:
inline static int32_t get_offset_of_m_PrevActionTime_16() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_PrevActionTime_16)); }
inline float get_m_PrevActionTime_16() const { return ___m_PrevActionTime_16; }
inline float* get_address_of_m_PrevActionTime_16() { return &___m_PrevActionTime_16; }
inline void set_m_PrevActionTime_16(float value)
{
___m_PrevActionTime_16 = value;
}
inline static int32_t get_offset_of_m_LastMoveVector_17() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_LastMoveVector_17)); }
inline Vector2_t2156229523 get_m_LastMoveVector_17() const { return ___m_LastMoveVector_17; }
inline Vector2_t2156229523 * get_address_of_m_LastMoveVector_17() { return &___m_LastMoveVector_17; }
inline void set_m_LastMoveVector_17(Vector2_t2156229523 value)
{
___m_LastMoveVector_17 = value;
}
inline static int32_t get_offset_of_m_ConsecutiveMoveCount_18() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_ConsecutiveMoveCount_18)); }
inline int32_t get_m_ConsecutiveMoveCount_18() const { return ___m_ConsecutiveMoveCount_18; }
inline int32_t* get_address_of_m_ConsecutiveMoveCount_18() { return &___m_ConsecutiveMoveCount_18; }
inline void set_m_ConsecutiveMoveCount_18(int32_t value)
{
___m_ConsecutiveMoveCount_18 = value;
}
inline static int32_t get_offset_of_m_LastMousePosition_19() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_LastMousePosition_19)); }
inline Vector2_t2156229523 get_m_LastMousePosition_19() const { return ___m_LastMousePosition_19; }
inline Vector2_t2156229523 * get_address_of_m_LastMousePosition_19() { return &___m_LastMousePosition_19; }
inline void set_m_LastMousePosition_19(Vector2_t2156229523 value)
{
___m_LastMousePosition_19 = value;
}
inline static int32_t get_offset_of_m_MousePosition_20() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_MousePosition_20)); }
inline Vector2_t2156229523 get_m_MousePosition_20() const { return ___m_MousePosition_20; }
inline Vector2_t2156229523 * get_address_of_m_MousePosition_20() { return &___m_MousePosition_20; }
inline void set_m_MousePosition_20(Vector2_t2156229523 value)
{
___m_MousePosition_20 = value;
}
inline static int32_t get_offset_of_m_CurrentFocusedGameObject_21() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_CurrentFocusedGameObject_21)); }
inline GameObject_t1113636619 * get_m_CurrentFocusedGameObject_21() const { return ___m_CurrentFocusedGameObject_21; }
inline GameObject_t1113636619 ** get_address_of_m_CurrentFocusedGameObject_21() { return &___m_CurrentFocusedGameObject_21; }
inline void set_m_CurrentFocusedGameObject_21(GameObject_t1113636619 * value)
{
___m_CurrentFocusedGameObject_21 = value;
Il2CppCodeGenWriteBarrier((&___m_CurrentFocusedGameObject_21), value);
}
inline static int32_t get_offset_of_m_InputPointerEvent_22() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_InputPointerEvent_22)); }
inline PointerEventData_t3807901092 * get_m_InputPointerEvent_22() const { return ___m_InputPointerEvent_22; }
inline PointerEventData_t3807901092 ** get_address_of_m_InputPointerEvent_22() { return &___m_InputPointerEvent_22; }
inline void set_m_InputPointerEvent_22(PointerEventData_t3807901092 * value)
{
___m_InputPointerEvent_22 = value;
Il2CppCodeGenWriteBarrier((&___m_InputPointerEvent_22), value);
}
inline static int32_t get_offset_of_m_HorizontalAxis_23() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_HorizontalAxis_23)); }
inline String_t* get_m_HorizontalAxis_23() const { return ___m_HorizontalAxis_23; }
inline String_t** get_address_of_m_HorizontalAxis_23() { return &___m_HorizontalAxis_23; }
inline void set_m_HorizontalAxis_23(String_t* value)
{
___m_HorizontalAxis_23 = value;
Il2CppCodeGenWriteBarrier((&___m_HorizontalAxis_23), value);
}
inline static int32_t get_offset_of_m_VerticalAxis_24() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_VerticalAxis_24)); }
inline String_t* get_m_VerticalAxis_24() const { return ___m_VerticalAxis_24; }
inline String_t** get_address_of_m_VerticalAxis_24() { return &___m_VerticalAxis_24; }
inline void set_m_VerticalAxis_24(String_t* value)
{
___m_VerticalAxis_24 = value;
Il2CppCodeGenWriteBarrier((&___m_VerticalAxis_24), value);
}
inline static int32_t get_offset_of_m_SubmitButton_25() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_SubmitButton_25)); }
inline String_t* get_m_SubmitButton_25() const { return ___m_SubmitButton_25; }
inline String_t** get_address_of_m_SubmitButton_25() { return &___m_SubmitButton_25; }
inline void set_m_SubmitButton_25(String_t* value)
{
___m_SubmitButton_25 = value;
Il2CppCodeGenWriteBarrier((&___m_SubmitButton_25), value);
}
inline static int32_t get_offset_of_m_CancelButton_26() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_CancelButton_26)); }
inline String_t* get_m_CancelButton_26() const { return ___m_CancelButton_26; }
inline String_t** get_address_of_m_CancelButton_26() { return &___m_CancelButton_26; }
inline void set_m_CancelButton_26(String_t* value)
{
___m_CancelButton_26 = value;
Il2CppCodeGenWriteBarrier((&___m_CancelButton_26), value);
}
inline static int32_t get_offset_of_m_InputActionsPerSecond_27() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_InputActionsPerSecond_27)); }
inline float get_m_InputActionsPerSecond_27() const { return ___m_InputActionsPerSecond_27; }
inline float* get_address_of_m_InputActionsPerSecond_27() { return &___m_InputActionsPerSecond_27; }
inline void set_m_InputActionsPerSecond_27(float value)
{
___m_InputActionsPerSecond_27 = value;
}
inline static int32_t get_offset_of_m_RepeatDelay_28() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_RepeatDelay_28)); }
inline float get_m_RepeatDelay_28() const { return ___m_RepeatDelay_28; }
inline float* get_address_of_m_RepeatDelay_28() { return &___m_RepeatDelay_28; }
inline void set_m_RepeatDelay_28(float value)
{
___m_RepeatDelay_28 = value;
}
inline static int32_t get_offset_of_m_ForceModuleActive_29() { return static_cast<int32_t>(offsetof(StandaloneInputModule_t2760469101, ___m_ForceModuleActive_29)); }
inline bool get_m_ForceModuleActive_29() const { return ___m_ForceModuleActive_29; }
inline bool* get_address_of_m_ForceModuleActive_29() { return &___m_ForceModuleActive_29; }
inline void set_m_ForceModuleActive_29(bool value)
{
___m_ForceModuleActive_29 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STANDALONEINPUTMODULE_T2760469101_H
#ifndef TEXT_T1901882714_H
#define TEXT_T1901882714_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.Text
struct Text_t1901882714 : public MaskableGraphic_t3839221559
{
public:
// UnityEngine.UI.FontData UnityEngine.UI.Text::m_FontData
FontData_t746620069 * ___m_FontData_30;
// System.String UnityEngine.UI.Text::m_Text
String_t* ___m_Text_31;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCache
TextGenerator_t3211863866 * ___m_TextCache_32;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCacheForLayout
TextGenerator_t3211863866 * ___m_TextCacheForLayout_33;
// System.Boolean UnityEngine.UI.Text::m_DisableFontTextureRebuiltCallback
bool ___m_DisableFontTextureRebuiltCallback_35;
// UnityEngine.UIVertex[] UnityEngine.UI.Text::m_TempVerts
UIVertexU5BU5D_t1981460040* ___m_TempVerts_36;
public:
inline static int32_t get_offset_of_m_FontData_30() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_FontData_30)); }
inline FontData_t746620069 * get_m_FontData_30() const { return ___m_FontData_30; }
inline FontData_t746620069 ** get_address_of_m_FontData_30() { return &___m_FontData_30; }
inline void set_m_FontData_30(FontData_t746620069 * value)
{
___m_FontData_30 = value;
Il2CppCodeGenWriteBarrier((&___m_FontData_30), value);
}
inline static int32_t get_offset_of_m_Text_31() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_Text_31)); }
inline String_t* get_m_Text_31() const { return ___m_Text_31; }
inline String_t** get_address_of_m_Text_31() { return &___m_Text_31; }
inline void set_m_Text_31(String_t* value)
{
___m_Text_31 = value;
Il2CppCodeGenWriteBarrier((&___m_Text_31), value);
}
inline static int32_t get_offset_of_m_TextCache_32() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_TextCache_32)); }
inline TextGenerator_t3211863866 * get_m_TextCache_32() const { return ___m_TextCache_32; }
inline TextGenerator_t3211863866 ** get_address_of_m_TextCache_32() { return &___m_TextCache_32; }
inline void set_m_TextCache_32(TextGenerator_t3211863866 * value)
{
___m_TextCache_32 = value;
Il2CppCodeGenWriteBarrier((&___m_TextCache_32), value);
}
inline static int32_t get_offset_of_m_TextCacheForLayout_33() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_TextCacheForLayout_33)); }
inline TextGenerator_t3211863866 * get_m_TextCacheForLayout_33() const { return ___m_TextCacheForLayout_33; }
inline TextGenerator_t3211863866 ** get_address_of_m_TextCacheForLayout_33() { return &___m_TextCacheForLayout_33; }
inline void set_m_TextCacheForLayout_33(TextGenerator_t3211863866 * value)
{
___m_TextCacheForLayout_33 = value;
Il2CppCodeGenWriteBarrier((&___m_TextCacheForLayout_33), value);
}
inline static int32_t get_offset_of_m_DisableFontTextureRebuiltCallback_35() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_DisableFontTextureRebuiltCallback_35)); }
inline bool get_m_DisableFontTextureRebuiltCallback_35() const { return ___m_DisableFontTextureRebuiltCallback_35; }
inline bool* get_address_of_m_DisableFontTextureRebuiltCallback_35() { return &___m_DisableFontTextureRebuiltCallback_35; }
inline void set_m_DisableFontTextureRebuiltCallback_35(bool value)
{
___m_DisableFontTextureRebuiltCallback_35 = value;
}
inline static int32_t get_offset_of_m_TempVerts_36() { return static_cast<int32_t>(offsetof(Text_t1901882714, ___m_TempVerts_36)); }
inline UIVertexU5BU5D_t1981460040* get_m_TempVerts_36() const { return ___m_TempVerts_36; }
inline UIVertexU5BU5D_t1981460040** get_address_of_m_TempVerts_36() { return &___m_TempVerts_36; }
inline void set_m_TempVerts_36(UIVertexU5BU5D_t1981460040* value)
{
___m_TempVerts_36 = value;
Il2CppCodeGenWriteBarrier((&___m_TempVerts_36), value);
}
};
struct Text_t1901882714_StaticFields
{
public:
// UnityEngine.Material UnityEngine.UI.Text::s_DefaultText
Material_t340375123 * ___s_DefaultText_34;
public:
inline static int32_t get_offset_of_s_DefaultText_34() { return static_cast<int32_t>(offsetof(Text_t1901882714_StaticFields, ___s_DefaultText_34)); }
inline Material_t340375123 * get_s_DefaultText_34() const { return ___s_DefaultText_34; }
inline Material_t340375123 ** get_address_of_s_DefaultText_34() { return &___s_DefaultText_34; }
inline void set_s_DefaultText_34(Material_t340375123 * value)
{
___s_DefaultText_34 = value;
Il2CppCodeGenWriteBarrier((&___s_DefaultText_34), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXT_T1901882714_H
// System.String[]
struct StringU5BU5D_t1281789340 : public RuntimeArray
{
public:
ALIGN_FIELD (8) String_t* m_Items[1];
public:
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Int32[]
struct Int32U5BU5D_t385246372 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// UnityEngine.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;
}
};
// System.Object[]
struct ObjectU5BU5D_t2843939325 : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// System.Byte[]
struct ByteU5BU5D_t4116647657 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint8_t m_Items[1];
public:
inline uint8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
{
m_Items[index] = value;
}
};
// UnityEngine.GameObject[]
struct GameObjectU5BU5D_t3328599146 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GameObject_t1113636619 * m_Items[1];
public:
inline GameObject_t1113636619 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GameObject_t1113636619 ** 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, GameObject_t1113636619 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline GameObject_t1113636619 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GameObject_t1113636619 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GameObject_t1113636619 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.GUILayoutOption[]
struct GUILayoutOptionU5BU5D_t2510215842 : public RuntimeArray
{
public:
ALIGN_FIELD (8) GUILayoutOption_t811797299 * m_Items[1];
public:
inline GUILayoutOption_t811797299 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline GUILayoutOption_t811797299 ** 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, GUILayoutOption_t811797299 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline GUILayoutOption_t811797299 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline GUILayoutOption_t811797299 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, GUILayoutOption_t811797299 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// Photon.Realtime.Player[]
struct PlayerU5BU5D_t3651776216 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Player_t2879569589 * m_Items[1];
public:
inline Player_t2879569589 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Player_t2879569589 ** 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, Player_t2879569589 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Player_t2879569589 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Player_t2879569589 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Player_t2879569589 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// Photon.Pun.UtilityScripts.TabViewManager/Tab[]
struct TabU5BU5D_t533311896 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Tab_t117203701 * m_Items[1];
public:
inline Tab_t117203701 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Tab_t117203701 ** 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, Tab_t117203701 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Tab_t117203701 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Tab_t117203701 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Tab_t117203701 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// !!0 UnityEngine.Component::GetComponentInParent<System.Object>()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Component_GetComponentInParent_TisRuntimeObject_m3491943679_gshared (Component_t1923634451 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m3947764094_gshared (List_1_t257213610 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR void List_1_Add_m3338814081_gshared (List_1_t257213610 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Object>::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR Enumerator_t2146457487 List_1_GetEnumerator_m2930774921_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m470245444_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m2142368520_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Enumerator_Dispose_m3007748546_gshared (Enumerator_t2146457487 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::Insert(System.Int32,!0)
extern "C" IL2CPP_METHOD_ATTR void List_1_Insert_m2431904002_gshared (List_1_t2606371118 * __this, int32_t p0, uint8_t p1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR void List_1_Add_m3890707704_gshared (List_1_t2606371118 * __this, uint8_t p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(!0,!1&)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m3280774074_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject ** p1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::.ctor(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m2754258052_gshared (List_1_t2606371118 * __this, int32_t p0, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<System.Object>()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Component_GetComponent_TisRuntimeObject_m2906321015_gshared (Component_t1923634451 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Object::FindObjectOfType<System.Object>()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Object_FindObjectOfType_TisRuntimeObject_m3737123519_gshared (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Byte>::get_Item(System.Int32)
extern "C" IL2CPP_METHOD_ATTR uint8_t List_1_get_Item_m3131675103_gshared (List_1_t2606371118 * __this, int32_t p0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Byte>::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m1724015548_gshared (List_1_t2606371118 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m2987814451_gshared (List_1_t2606371118 * __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Byte>::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR Enumerator_t200647699 List_1_GetEnumerator_m1539921157_gshared (List_1_t2606371118 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Byte>::get_Current()
extern "C" IL2CPP_METHOD_ATTR uint8_t Enumerator_get_Current_m1363080909_gshared (Enumerator_t200647699 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Byte>::Contains(!0)
extern "C" IL2CPP_METHOD_ATTR bool List_1_Contains_m22698353_gshared (List_1_t2606371118 * __this, uint8_t p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Byte>::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m1207128889_gshared (Enumerator_t200647699 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Byte>::Dispose()
extern "C" IL2CPP_METHOD_ATTR void Enumerator_Dispose_m1812819993_gshared (Enumerator_t200647699 * __this, const RuntimeMethod* method);
// !0[] System.Collections.Generic.List`1<System.Byte>::ToArray()
extern "C" IL2CPP_METHOD_ATTR ByteU5BU5D_t4116647657* List_1_ToArray_m4027363486_gshared (List_1_t2606371118 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<System.Object>()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * GameObject_AddComponent_TisRuntimeObject_m1560930569_gshared (GameObject_t1113636619 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`1<System.Boolean>::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void UnityAction_1__ctor_m3007623985_gshared (UnityAction_1_t682124106 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
extern "C" IL2CPP_METHOD_ATTR void UnityEvent_1_AddListener_m2847988282_gshared (UnityEvent_1_t978947469 * __this, UnityAction_1_t682124106 * p0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
extern "C" IL2CPP_METHOD_ATTR void UnityEvent_1_RemoveListener_m1660329188_gshared (UnityEvent_1_t978947469 * __this, UnityAction_1_t682124106 * p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Remove(!0)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_m4038518975_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::ContainsKey(!0)
extern "C" IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_m2278349286_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Values()
extern "C" IL2CPP_METHOD_ATTR ValueCollection_t3684863813 * Dictionary_2_get_Values_m683714624_gshared (Dictionary_2_t1968819495 * __this, const RuntimeMethod* method);
// System.Void System.Func`2<System.Object,System.Int32>::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void Func_2__ctor_m1645301223_gshared (Func_2_t2317969963 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// System.Linq.IOrderedEnumerable`1<!!0> System.Linq.Enumerable::OrderBy<System.Object,System.Int32>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,!!1>)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_OrderBy_TisRuntimeObject_TisInt32_t2950945753_m1442361909_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, Func_2_t2317969963 * p1, const RuntimeMethod* method);
// !!0[] System.Linq.Enumerable::ToArray<System.Object>(System.Collections.Generic.IEnumerable`1<!!0>)
extern "C" IL2CPP_METHOD_ATTR ObjectU5BU5D_t2843939325* Enumerable_ToArray_TisRuntimeObject_m3895604740_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.HashSet`1<System.Int32>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void HashSet_1__ctor_m1661370653_gshared (HashSet_1_t1515895227 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Int32>::Contains(!0)
extern "C" IL2CPP_METHOD_ATTR bool HashSet_1_Contains_m1997749353_gshared (HashSet_1_t1515895227 * __this, int32_t p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Int32>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR bool HashSet_1_Add_m2381074529_gshared (HashSet_1_t1515895227 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Add(!0,!1)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2_Add_m2387223709_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m355129115_gshared (Dictionary_2_t3684424328 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void List_1__ctor_m2321703786_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Object>::set_Item(!0,!1)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m3831980838_gshared (Dictionary_2_t3684424328 * __this, uint8_t p0, RuntimeObject * p1, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Object>::get_Item(!0)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Dictionary_2_get_Item_m2149162860_gshared (Dictionary_2_t3684424328 * __this, uint8_t p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
extern "C" IL2CPP_METHOD_ATTR void List_1_Clear_m3697625829_gshared (List_1_t257213610 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.HashSet`1<System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void HashSet_1__ctor_m4231804131_gshared (HashSet_1_t1645055638 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.HashSet`1<System.Object>::get_Count()
extern "C" IL2CPP_METHOD_ATTR int32_t HashSet_1_get_Count_m542532379_gshared (HashSet_1_t1645055638 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Contains(!0)
extern "C" IL2CPP_METHOD_ATTR bool HashSet_1_Contains_m3173358704_gshared (HashSet_1_t1645055638 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Add(!0)
extern "C" IL2CPP_METHOD_ATTR bool HashSet_1_Add_m1971460364_gshared (HashSet_1_t1645055638 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.HashSet`1<System.Object>::Clear()
extern "C" IL2CPP_METHOD_ATTR void HashSet_1_Clear_m507835370_gshared (HashSet_1_t1645055638 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m518943619_gshared (Dictionary_2_t132545152 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::set_Item(!0,!1)
extern "C" IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m119570864_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// !!0 System.Linq.Enumerable::FirstOrDefault<System.Object>(System.Collections.Generic.IEnumerable`1<!!0>)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Enumerable_FirstOrDefault_TisRuntimeObject_m2716282174_gshared (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Item(!0)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Dictionary_2_get_Item_m2866271333_gshared (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Object>::Invoke(!0)
extern "C" IL2CPP_METHOD_ATTR void UnityEvent_1_Invoke_m2734859485_gshared (UnityEvent_1_t3961765668 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Object>::.ctor()
extern "C" IL2CPP_METHOD_ATTR void UnityEvent_1__ctor_m1789019280_gshared (UnityEvent_1_t3961765668 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m1579109191 (MonoBehaviour_t3962482529 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponentInParent<UnityEngine.UI.ScrollRect>()
inline ScrollRect_t4137855814 * Component_GetComponentInParent_TisScrollRect_t4137855814_m3221780564 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( ScrollRect_t4137855814 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponentInParent_TisRuntimeObject_m3491943679_gshared)(__this, method);
}
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR bool Object_op_Inequality_m4071470834 (RuntimeObject * __this /* static, unused */, Object_t631007953 * p0, Object_t631007953 * p1, const RuntimeMethod* method);
// System.Void UnityEngine.Behaviour::set_enabled(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Behaviour_set_enabled_m20417929 (Behaviour_t1437897464 * __this, bool p0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Behaviour::get_enabled()
extern "C" IL2CPP_METHOD_ATTR bool Behaviour_get_enabled_m753527255 (Behaviour_t1437897464 * __this, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Object__ctor_m297566312 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CellTree::set_RootNode(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTree_set_RootNode_m341903495 (CellTree_t656254725 * __this, CellTreeNode_t3709723763 * ___value0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Pun.UtilityScripts.CellTreeNode>::.ctor(System.Int32)
inline void List_1__ctor_m3273246438 (List_1_t886831209 * __this, int32_t p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t886831209 *, int32_t, const RuntimeMethod*))List_1__ctor_m3947764094_gshared)(__this, p0, method);
}
// System.Void System.Collections.Generic.List`1<Photon.Pun.UtilityScripts.CellTreeNode>::Add(!0)
inline void List_1_Add_m1879260396 (List_1_t886831209 * __this, CellTreeNode_t3709723763 * p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t886831209 *, CellTreeNode_t3709723763 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method);
}
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Pun.UtilityScripts.CellTreeNode>::GetEnumerator()
inline Enumerator_t2776075086 List_1_GetEnumerator_m3145015159 (List_1_t886831209 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t2776075086 (*) (List_1_t886831209 *, const RuntimeMethod*))List_1_GetEnumerator_m2930774921_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Pun.UtilityScripts.CellTreeNode>::get_Current()
inline CellTreeNode_t3709723763 * Enumerator_get_Current_m906480813 (Enumerator_t2776075086 * __this, const RuntimeMethod* method)
{
return (( CellTreeNode_t3709723763 * (*) (Enumerator_t2776075086 *, const RuntimeMethod*))Enumerator_get_Current_m470245444_gshared)(__this, method);
}
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::GetActiveCells(System.Collections.Generic.List`1<System.Byte>,System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_GetActiveCells_m131210235 (CellTreeNode_t3709723763 * __this, List_1_t2606371118 * ___activeCells0, bool ___yIsUpAxis1, Vector3_t3722313464 ___position2, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Pun.UtilityScripts.CellTreeNode>::MoveNext()
inline bool Enumerator_MoveNext_m2965827227 (Enumerator_t2776075086 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t2776075086 *, const RuntimeMethod*))Enumerator_MoveNext_m2142368520_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Pun.UtilityScripts.CellTreeNode>::Dispose()
inline void Enumerator_Dispose_m867125006 (Enumerator_t2776075086 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t2776075086 *, const RuntimeMethod*))Enumerator_Dispose_m3007748546_gshared)(__this, method);
}
// System.Boolean Photon.Pun.UtilityScripts.CellTreeNode::IsPointNearCell(System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR bool CellTreeNode_IsPointNearCell_m496229503 (CellTreeNode_t3709723763 * __this, bool ___yIsUpAxis0, Vector3_t3722313464 ___point1, const RuntimeMethod* method);
// System.Boolean Photon.Pun.UtilityScripts.CellTreeNode::IsPointInsideCell(System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR bool CellTreeNode_IsPointInsideCell_m707706577 (CellTreeNode_t3709723763 * __this, bool ___yIsUpAxis0, Vector3_t3722313464 ___point1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::Insert(System.Int32,!0)
inline void List_1_Insert_m2431904002 (List_1_t2606371118 * __this, int32_t p0, uint8_t p1, const RuntimeMethod* method)
{
(( void (*) (List_1_t2606371118 *, int32_t, uint8_t, const RuntimeMethod*))List_1_Insert_m2431904002_gshared)(__this, p0, p1, method);
}
// System.Void System.Collections.Generic.List`1<System.Byte>::Add(!0)
inline void List_1_Add_m3890707704 (List_1_t2606371118 * __this, uint8_t p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t2606371118 *, uint8_t, const RuntimeMethod*))List_1_Add_m3890707704_gshared)(__this, p0, method);
}
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_op_Subtraction_m3073674971 (RuntimeObject * __this /* static, unused */, Vector3_t3722313464 p0, Vector3_t3722313464 p1, const RuntimeMethod* method);
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
extern "C" IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m1474274574 (Vector3_t3722313464 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.MonoBehaviourPunCallbacks::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MonoBehaviourPunCallbacks__ctor_m817142383 (MonoBehaviourPunCallbacks_t1810614660 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::ConnectNow()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_ConnectNow_m1440738071 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::Log(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Debug_Log_m4051431634 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::ConnectUsingSettings()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_ConnectUsingSettings_m1338349691 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 Photon.Pun.SceneManagerHelper::get_ActiveSceneBuildIndex()
extern "C" IL2CPP_METHOD_ATTR int32_t SceneManagerHelper_get_ActiveSceneBuildIndex_m3683052340 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object,System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m1715369213 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, RuntimeObject * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::set_GameVersion(System.String)
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_set_GameVersion_m1778825003 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::JoinRandomRoom()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_JoinRandomRoom_m1843297646 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Photon.Realtime.RoomOptions::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RoomOptions__ctor_m2566203557 (RoomOptions_t957731565 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::CreateRoom(System.String,Photon.Realtime.RoomOptions,Photon.Realtime.TypedLobby,System.String[])
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_CreateRoom_m2738072803 (RuntimeObject * __this /* static, unused */, String_t* p0, RoomOptions_t957731565 * p1, TypedLobby_t3393892244 * p2, StringU5BU5D_t1281789340* p3, const RuntimeMethod* method);
// System.Delegate System.Delegate::Combine(System.Delegate,System.Delegate)
extern "C" IL2CPP_METHOD_ATTR Delegate_t1188392813 * Delegate_Combine_m1859655160 (RuntimeObject * __this /* static, unused */, Delegate_t1188392813 * p0, Delegate_t1188392813 * p1, const RuntimeMethod* method);
// System.Delegate System.Delegate::Remove(System.Delegate,System.Delegate)
extern "C" IL2CPP_METHOD_ATTR Delegate_t1188392813 * Delegate_Remove_m334097152 (RuntimeObject * __this /* static, unused */, Delegate_t1188392813 * p0, Delegate_t1188392813 * p1, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR bool Object_op_Equality_m1810815630 (RuntimeObject * __this /* static, unused */, Object_t631007953 * p0, Object_t631007953 * p1, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogError(System.Object,UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR void Debug_LogError_m1665621915 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, Object_t631007953 * p1, const RuntimeMethod* method);
// System.Double Photon.Pun.PhotonNetwork::get_Time()
extern "C" IL2CPP_METHOD_ATTR double PhotonNetwork_get_Time_m1340488678 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String System.Single::ToString(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Single_ToString_m3489843083 (float* __this, String_t* p0, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m2844511972 (RuntimeObject * __this /* static, unused */, String_t* p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired::Invoke()
extern "C" IL2CPP_METHOD_ATTR void CountdownTimerHasExpired_Invoke_m3227657710 (CountdownTimerHasExpired_t4234756006 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_m3280774074 (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject ** p1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t132545152 *, RuntimeObject *, RuntimeObject **, const RuntimeMethod*))Dictionary_2_TryGetValue_m3280774074_gshared)(__this, p0, p1, method);
}
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
extern "C" IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m3117905507 (RuntimeObject * __this /* static, unused */, RuntimeArray * p0, RuntimeFieldHandle_t1871169219 p1, const RuntimeMethod* method);
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
extern "C" IL2CPP_METHOD_ATTR void Vector2__ctor_m3970636864 (Vector2_t2156229523 * __this, float p0, float p1, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullArea::CreateCellHierarchy()
extern "C" IL2CPP_METHOD_ATTR void CullArea_CreateCellHierarchy_m210888405 (CullArea_t635391622 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullArea::DrawCells()
extern "C" IL2CPP_METHOD_ATTR void CullArea_DrawCells_m2946382126 (CullArea_t635391622 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Pun.UtilityScripts.CullArea::IsCellCountAllowed()
extern "C" IL2CPP_METHOD_ATTR bool CullArea_IsCellCountAllowed_m244104497 (CullArea_t635391622 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Debug::get_isDebugBuild()
extern "C" IL2CPP_METHOD_ATTR bool Debug_get_isDebugBuild_m1389897688 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 Photon.Pun.UtilityScripts.CullArea::get_CellCount()
extern "C" IL2CPP_METHOD_ATTR int32_t CullArea_get_CellCount_m2088849471 (CullArea_t635391622 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m2971454694 (RuntimeObject * __this /* static, unused */, ObjectU5BU5D_t2843939325* p0, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogError(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Debug_LogError_m2850623458 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void UnityEngine.Application::Quit()
extern "C" IL2CPP_METHOD_ATTR void Application_Quit_m470877999 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::.ctor(System.Byte,Photon.Pun.UtilityScripts.CellTreeNode/ENodeType,Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode__ctor_m3858456218 (CellTreeNode_t3709723763 * __this, uint8_t ___id0, int32_t ___nodeType1, CellTreeNode_t3709723763 * ___parent2, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.Component::get_transform()
extern "C" IL2CPP_METHOD_ATTR Transform_t3600365921 * Component_get_transform_m3162698980 (Component_t1923634451 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Transform_get_position_m36019626 (Transform_t3600365921 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::get_localScale()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Transform_get_localScale_m129152068 (Transform_t3600365921 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
extern "C" IL2CPP_METHOD_ATTR void Vector3__ctor_m3353183577 (Vector3_t3722313464 * __this, float p0, float p1, float p2, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullArea::CreateChildCells(Photon.Pun.UtilityScripts.CellTreeNode,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CullArea_CreateChildCells_m2624996668 (CullArea_t635391622 * __this, CellTreeNode_t3709723763 * ___parent0, int32_t ___cellLevelInHierarchy1, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CellTree::.ctor(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTree__ctor_m4241260258 (CellTree_t656254725 * __this, CellTreeNode_t3709723763 * ___root0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullArea::set_CellTree(Photon.Pun.UtilityScripts.CellTree)
extern "C" IL2CPP_METHOD_ATTR void CullArea_set_CellTree_m2089538057 (CullArea_t635391622 * __this, CellTree_t656254725 * ___value0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::AddChild(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_AddChild_m4144798801 (CellTreeNode_t3709723763 * __this, CellTreeNode_t3709723763 * ___child0, const RuntimeMethod* method);
// Photon.Pun.UtilityScripts.CellTree Photon.Pun.UtilityScripts.CullArea::get_CellTree()
extern "C" IL2CPP_METHOD_ATTR CellTree_t656254725 * CullArea_get_CellTree_m2775752518 (CullArea_t635391622 * __this, const RuntimeMethod* method);
// Photon.Pun.UtilityScripts.CellTreeNode Photon.Pun.UtilityScripts.CellTree::get_RootNode()
extern "C" IL2CPP_METHOD_ATTR CellTreeNode_t3709723763 * CellTree_get_RootNode_m124022160 (CellTree_t656254725 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::Draw()
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_Draw_m3450500319 (CellTreeNode_t3709723763 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullArea::set_CellCount(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CullArea_set_CellCount_m2212321111 (CullArea_t635391622 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::.ctor(System.Int32)
inline void List_1__ctor_m2754258052 (List_1_t2606371118 * __this, int32_t p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t2606371118 *, int32_t, const RuntimeMethod*))List_1__ctor_m2754258052_gshared)(__this, p0, method);
}
// !!0 UnityEngine.Component::GetComponent<Photon.Pun.PhotonView>()
inline PhotonView_t3684715584 * Component_GetComponent_TisPhotonView_t3684715584_m2959291925 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( PhotonView_t3684715584 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// System.Boolean Photon.Pun.PhotonView::get_IsMine()
extern "C" IL2CPP_METHOD_ATTR bool PhotonView_get_IsMine_m210517380 (PhotonView_t3684715584 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Object::FindObjectOfType<Photon.Pun.UtilityScripts.CullArea>()
inline CullArea_t635391622 * Object_FindObjectOfType_TisCullArea_t635391622_m2204414486 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
return (( CullArea_t635391622 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))Object_FindObjectOfType_TisRuntimeObject_m3737123519_gshared)(__this /* static, unused */, method);
}
// System.Boolean Photon.Pun.PhotonNetwork::get_InRoom()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_get_InRoom_m1470828242 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::SetInterestGroups(System.Byte,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_SetInterestGroups_m1591525762 (RuntimeObject * __this /* static, unused */, uint8_t p0, bool p1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Component>::Add(!0)
inline void List_1_Add_m1912247451 (List_1_t3395709193 * __this, Component_t1923634451 * p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t3395709193 *, Component_t1923634451 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method);
}
// System.Boolean UnityEngine.Vector3::op_Inequality(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m315980366 (RuntimeObject * __this /* static, unused */, Vector3_t3722313464 p0, Vector3_t3722313464 p1, const RuntimeMethod* method);
// System.Boolean Photon.Pun.UtilityScripts.CullingHandler::HaveActiveCellsChanged()
extern "C" IL2CPP_METHOD_ATTR bool CullingHandler_HaveActiveCellsChanged_m598046573 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.CullingHandler::UpdateInterestGroups()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_UpdateInterestGroups_m1842924977 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Byte>::get_Item(System.Int32)
inline uint8_t List_1_get_Item_m3131675103 (List_1_t2606371118 * __this, int32_t p0, const RuntimeMethod* method)
{
return (( uint8_t (*) (List_1_t2606371118 *, int32_t, const RuntimeMethod*))List_1_get_Item_m3131675103_gshared)(__this, p0, method);
}
// System.Int32 System.Collections.Generic.List`1<System.Byte>::get_Count()
inline int32_t List_1_get_Count_m1724015548 (List_1_t2606371118 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t2606371118 *, const RuntimeMethod*))List_1_get_Count_m1724015548_gshared)(__this, method);
}
// System.Int32 UnityEngine.Screen::get_height()
extern "C" IL2CPP_METHOD_ATTR int32_t Screen_get_height_m1623532518 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect__ctor_m2614021312 (Rect_t2360479859 * __this, float p0, float p1, float p2, float p3, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::.ctor()
extern "C" IL2CPP_METHOD_ATTR void GUIStyle__ctor_m4038363858 (GUIStyle_t3956901511 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::set_alignment(UnityEngine.TextAnchor)
extern "C" IL2CPP_METHOD_ATTR void GUIStyle_set_alignment_m3944619660 (GUIStyle_t3956901511 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUIStyle::set_fontSize(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void GUIStyle_set_fontSize_m1566850023 (GUIStyle_t3956901511 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::Label(UnityEngine.Rect,System.String,UnityEngine.GUIStyle)
extern "C" IL2CPP_METHOD_ATTR void GUI_Label_m2420537077 (RuntimeObject * __this /* static, unused */, Rect_t2360479859 p0, String_t* p1, GUIStyle_t3956901511 * p2, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m3755062657 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, String_t* p2, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Byte>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1__ctor_m2987814451 (List_1_t2606371118 * __this, RuntimeObject* p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t2606371118 *, RuntimeObject*, const RuntimeMethod*))List_1__ctor_m2987814451_gshared)(__this, p0, method);
}
// System.Collections.Generic.List`1<System.Byte> Photon.Pun.UtilityScripts.CullArea::GetActiveCells(UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR List_1_t2606371118 * CullArea_GetActiveCells_m3422485057 (CullArea_t635391622 * __this, Vector3_t3722313464 ___position0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Byte>::GetEnumerator()
inline Enumerator_t200647699 List_1_GetEnumerator_m1539921157 (List_1_t2606371118 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t200647699 (*) (List_1_t2606371118 *, const RuntimeMethod*))List_1_GetEnumerator_m1539921157_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<System.Byte>::get_Current()
inline uint8_t Enumerator_get_Current_m1363080909 (Enumerator_t200647699 * __this, const RuntimeMethod* method)
{
return (( uint8_t (*) (Enumerator_t200647699 *, const RuntimeMethod*))Enumerator_get_Current_m1363080909_gshared)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1<System.Byte>::Contains(!0)
inline bool List_1_Contains_m22698353 (List_1_t2606371118 * __this, uint8_t p0, const RuntimeMethod* method)
{
return (( bool (*) (List_1_t2606371118 *, uint8_t, const RuntimeMethod*))List_1_Contains_m22698353_gshared)(__this, p0, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Byte>::MoveNext()
inline bool Enumerator_MoveNext_m1207128889 (Enumerator_t200647699 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t200647699 *, const RuntimeMethod*))Enumerator_MoveNext_m1207128889_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<System.Byte>::Dispose()
inline void Enumerator_Dispose_m1812819993 (Enumerator_t200647699 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t200647699 *, const RuntimeMethod*))Enumerator_Dispose_m1812819993_gshared)(__this, method);
}
// !0[] System.Collections.Generic.List`1<System.Byte>::ToArray()
inline ByteU5BU5D_t4116647657* List_1_ToArray_m4027363486 (List_1_t2606371118 * __this, const RuntimeMethod* method)
{
return (( ByteU5BU5D_t4116647657* (*) (List_1_t2606371118 *, const RuntimeMethod*))List_1_ToArray_m4027363486_gshared)(__this, method);
}
// System.Void Photon.Pun.PhotonNetwork::SetInterestGroups(System.Byte[],System.Byte[])
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_SetInterestGroups_m4236286776 (RuntimeObject * __this /* static, unused */, ByteU5BU5D_t4116647657* p0, ByteU5BU5D_t4116647657* p1, const RuntimeMethod* method);
// !!0 UnityEngine.Object::FindObjectOfType<UnityEngine.EventSystems.EventSystem>()
inline EventSystem_t1003666588 * Object_FindObjectOfType_TisEventSystem_t1003666588_m1717287152 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
return (( EventSystem_t1003666588 * (*) (RuntimeObject * /* static, unused */, const RuntimeMethod*))Object_FindObjectOfType_TisRuntimeObject_m3737123519_gshared)(__this /* static, unused */, method);
}
// System.Void UnityEngine.GameObject::.ctor(System.String)
extern "C" IL2CPP_METHOD_ATTR void GameObject__ctor_m2093116449 (GameObject_t1113636619 * __this, String_t* p0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.EventSystems.EventSystem>()
inline EventSystem_t1003666588 * GameObject_AddComponent_TisEventSystem_t1003666588_m3234499316 (GameObject_t1113636619 * __this, const RuntimeMethod* method)
{
return (( EventSystem_t1003666588 * (*) (GameObject_t1113636619 *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m1560930569_gshared)(__this, method);
}
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.EventSystems.StandaloneInputModule>()
inline StandaloneInputModule_t2760469101 * GameObject_AddComponent_TisStandaloneInputModule_t2760469101_m1339490436 (GameObject_t1113636619 * __this, const RuntimeMethod* method)
{
return (( StandaloneInputModule_t2760469101 * (*) (GameObject_t1113636619 *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m1560930569_gshared)(__this, method);
}
// UnityEngine.Color UnityEngine.Color::get_white()
extern "C" IL2CPP_METHOD_ATTR Color_t2555686324 Color_get_white_m332174077 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Color::get_black()
extern "C" IL2CPP_METHOD_ATTR Color_t2555686324 Color_get_black_m719512684 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.Toggle::get_isOn()
extern "C" IL2CPP_METHOD_ATTR bool Toggle_get_isOn_m1428293607 (Toggle_t2735377061 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Graphic>()
inline Graphic_t1660335611 * Component_GetComponent_TisGraphic_t1660335611_m1118939870 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( Graphic_t1660335611 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnValueChanged(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnValueChanged_m3626746267 (GraphicToggleIsOnTransition_t3135858402 * __this, bool ___isOn0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`1<System.Boolean>::.ctor(System.Object,System.IntPtr)
inline void UnityAction_1__ctor_m3007623985 (UnityAction_1_t682124106 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method)
{
(( void (*) (UnityAction_1_t682124106 *, RuntimeObject *, intptr_t, const RuntimeMethod*))UnityAction_1__ctor_m3007623985_gshared)(__this, p0, p1, method);
}
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
inline void UnityEvent_1_AddListener_m2847988282 (UnityEvent_1_t978947469 * __this, UnityAction_1_t682124106 * p0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_t978947469 *, UnityAction_1_t682124106 *, const RuntimeMethod*))UnityEvent_1_AddListener_m2847988282_gshared)(__this, p0, method);
}
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
inline void UnityEvent_1_RemoveListener_m1660329188 (UnityEvent_1_t978947469 * __this, UnityAction_1_t682124106 * p0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_t978947469 *, UnityAction_1_t682124106 *, const RuntimeMethod*))UnityEvent_1_RemoveListener_m1660329188_gshared)(__this, p0, method);
}
// System.Void Photon.Pun.MonoBehaviourPun::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MonoBehaviourPun__ctor_m4088882012 (MonoBehaviourPun_t1682334777 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<UnityEngine.SpriteRenderer>()
inline SpriteRenderer_t3235626157 * Component_GetComponent_TisSpriteRenderer_t3235626157_m1416425555 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( SpriteRenderer_t3235626157 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Rigidbody2D>()
inline Rigidbody2D_t939494601 * Component_GetComponent_TisRigidbody2D_t939494601_m870337490 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( Rigidbody2D_t939494601 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Rigidbody>()
inline Rigidbody_t3916780224 * Component_GetComponent_TisRigidbody_t3916780224_m546874772 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( Rigidbody_t3916780224 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// Photon.Pun.PhotonView Photon.Pun.MonoBehaviourPun::get_photonView()
extern "C" IL2CPP_METHOD_ATTR PhotonView_t3684715584 * MonoBehaviourPun_get_photonView_m4085429734 (MonoBehaviourPun_t1682334777 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Input::GetAxisRaw(System.String)
extern "C" IL2CPP_METHOD_ATTR float Input_GetAxisRaw_m2316819917 (RuntimeObject * __this /* static, unused */, String_t* p0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_right()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_get_right_m1913784872 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Single UnityEngine.Time::get_deltaTime()
extern "C" IL2CPP_METHOD_ATTR float Time_get_deltaTime_m372706562 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_op_Multiply_m3376773913 (RuntimeObject * __this /* static, unused */, Vector3_t3722313464 p0, float p1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_op_Addition_m779775034 (RuntimeObject * __this /* static, unused */, Vector3_t3722313464 p0, Vector3_t3722313464 p1, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR void Transform_set_position_m3387557959 (Transform_t3600365921 * __this, Vector3_t3722313464 p0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Input::GetKey(UnityEngine.KeyCode)
extern "C" IL2CPP_METHOD_ATTR bool Input_GetKey_m3736388334 (RuntimeObject * __this /* static, unused */, int32_t p0, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::get_up()
extern "C" IL2CPP_METHOD_ATTR Vector2_t2156229523 Vector2_get_up_m2647420593 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2,System.Single)
extern "C" IL2CPP_METHOD_ATTR Vector2_t2156229523 Vector2_op_Multiply_m2347887432 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 p0, float p1, const RuntimeMethod* method);
// System.Void UnityEngine.Rigidbody2D::AddForce(UnityEngine.Vector2)
extern "C" IL2CPP_METHOD_ATTR void Rigidbody2D_AddForce_m1113499586 (Rigidbody2D_t939494601 * __this, Vector2_t2156229523 p0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector2)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector2_op_Implicit_m1860157806 (RuntimeObject * __this /* static, unused */, Vector2_t2156229523 p0, const RuntimeMethod* method);
// System.Void UnityEngine.Rigidbody::AddForce(UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR void Rigidbody_AddForce_m3395934484 (Rigidbody_t3916780224 * __this, Vector3_t3722313464 p0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_forward()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_get_forward_m3100859705 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::get_button()
extern "C" IL2CPP_METHOD_ATTR int32_t PointerEventData_get_button_m359423249 (PointerEventData_t3807901092 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonView::RPC(System.String,Photon.Pun.RpcTarget,System.Object[])
extern "C" IL2CPP_METHOD_ATTR void PhotonView_RPC_m3795981556 (PhotonView_t3684715584 * __this, String_t* p0, int32_t p1, ObjectU5BU5D_t2843939325* p2, const RuntimeMethod* method);
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
extern "C" IL2CPP_METHOD_ATTR GameObject_t1113636619 * Component_get_gameObject_m442555142 (Component_t1923634451 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::Destroy(UnityEngine.GameObject)
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_Destroy_m1736085578 (RuntimeObject * __this /* static, unused */, GameObject_t1113636619 * p0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CDestroyRpcU3Ec__Iterator0__ctor_m2341089986 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR void Object_Destroy_m565254235 (RuntimeObject * __this /* static, unused */, Object_t631007953 * p0, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor()
extern "C" IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m2730133172 (NotSupportedException_t1314879016 * __this, const RuntimeMethod* method);
// System.String UnityEngine.Object::get_name()
extern "C" IL2CPP_METHOD_ATTR String_t* Object_get_name_m4211327027 (Object_t631007953 * __this, const RuntimeMethod* method);
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::get_pointerCurrentRaycast()
extern "C" IL2CPP_METHOD_ATTR RaycastResult_t3360306849 PointerEventData_get_pointerCurrentRaycast_m2627585223 (PointerEventData_t3807901092 * __this, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
extern "C" IL2CPP_METHOD_ATTR Quaternion_t2301928331 Quaternion_get_identity_m3722672781 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.GameObject Photon.Pun.PhotonNetwork::Instantiate(System.String,UnityEngine.Vector3,UnityEngine.Quaternion,System.Byte,System.Object[])
extern "C" IL2CPP_METHOD_ATTR GameObject_t1113636619 * PhotonNetwork_Instantiate_m4150460228 (RuntimeObject * __this /* static, unused */, String_t* p0, Vector3_t3722313464 p1, Quaternion_t2301928331 p2, uint8_t p3, ObjectU5BU5D_t2843939325* p4, const RuntimeMethod* method);
// UnityEngine.GameObject Photon.Pun.PhotonNetwork::InstantiateSceneObject(System.String,UnityEngine.Vector3,UnityEngine.Quaternion,System.Byte,System.Object[])
extern "C" IL2CPP_METHOD_ATTR GameObject_t1113636619 * PhotonNetwork_InstantiateSceneObject_m2667291214 (RuntimeObject * __this /* static, unused */, String_t* p0, Vector3_t3722313464 p1, Quaternion_t2301928331 p2, uint8_t p3, ObjectU5BU5D_t2843939325* p4, const RuntimeMethod* method);
// System.Collections.IEnumerator Photon.Pun.UtilityScripts.OnClickRpc::ClickFlash()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* OnClickRpc_ClickFlash_m2300011927 (OnClickRpc_t2528495255 * __this, const RuntimeMethod* method);
// UnityEngine.Coroutine UnityEngine.MonoBehaviour::StartCoroutine(System.Collections.IEnumerator)
extern "C" IL2CPP_METHOD_ATTR Coroutine_t3829159415 * MonoBehaviour_StartCoroutine_m3411253000 (MonoBehaviour_t3962482529 * __this, RuntimeObject* p0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CClickFlashU3Ec__Iterator0__ctor_m299193921 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Renderer>()
inline Renderer_t2627027031 * Component_GetComponent_TisRenderer_t2627027031_m4050762431 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( Renderer_t2627027031 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// UnityEngine.Material UnityEngine.Renderer::get_material()
extern "C" IL2CPP_METHOD_ATTR Material_t340375123 * Renderer_get_material_m4171603682 (Renderer_t2627027031 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Material::HasProperty(System.String)
extern "C" IL2CPP_METHOD_ATTR bool Material_HasProperty_m2704238996 (Material_t340375123 * __this, String_t* p0, const RuntimeMethod* method);
// System.String System.String::Concat(System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m904156431 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogWarning(System.Object)
extern "C" IL2CPP_METHOD_ATTR void Debug_LogWarning_m3752629331 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Material::IsKeywordEnabled(System.String)
extern "C" IL2CPP_METHOD_ATTR bool Material_IsKeywordEnabled_m2775114017 (Material_t340375123 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void UnityEngine.Material::EnableKeyword(System.String)
extern "C" IL2CPP_METHOD_ATTR void Material_EnableKeyword_m329692301 (Material_t340375123 * __this, String_t* p0, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Material::GetColor(System.String)
extern "C" IL2CPP_METHOD_ATTR Color_t2555686324 Material_GetColor_m2707324984 (Material_t340375123 * __this, String_t* p0, const RuntimeMethod* method);
// System.Void UnityEngine.Material::SetColor(System.String,UnityEngine.Color)
extern "C" IL2CPP_METHOD_ATTR void Material_SetColor_m2020215303 (Material_t340375123 * __this, String_t* p0, Color_t2555686324 p1, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Color::Lerp(UnityEngine.Color,UnityEngine.Color,System.Single)
extern "C" IL2CPP_METHOD_ATTR Color_t2555686324 Color_Lerp_m973389909 (RuntimeObject * __this /* static, unused */, Color_t2555686324 p0, Color_t2555686324 p1, float p2, const RuntimeMethod* method);
// System.Void UnityEngine.Material::DisableKeyword(System.String)
extern "C" IL2CPP_METHOD_ATTR void Material_DisableKeyword_m1245091008 (Material_t340375123 * __this, String_t* p0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Input::GetKeyDown(UnityEngine.KeyCode)
extern "C" IL2CPP_METHOD_ATTR bool Input_GetKeyDown_m17791917 (RuntimeObject * __this /* static, unused */, int32_t p0, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::AddCallbackTarget(System.Object)
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_AddCallbackTarget_m370237939 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::RemoveCallbackTarget(System.Object)
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_RemoveCallbackTarget_m1795886074 (RuntimeObject * __this /* static, unused */, RuntimeObject * p0, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Concat_m3937257545 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_get_up_m3584168373 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Random::get_insideUnitSphere()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Random_get_insideUnitSphere_m3252929179 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_get_normalized_m2454957984 (Vector3_t3722313464 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(System.Single,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_op_Multiply_m2104357790 (RuntimeObject * __this /* static, unused */, float p0, Vector3_t3722313464 p1, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::RemoveFocus(Photon.Pun.PhotonView)
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_RemoveFocus_m129442045 (PointedAtGameObjectInfo_t425461813 * __this, PhotonView_t3684715584 * ___pv0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::SetFocus(Photon.Pun.PhotonView)
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_SetFocus_m3920654545 (PointedAtGameObjectInfo_t425461813 * __this, PhotonView_t3684715584 * ___pv0, const RuntimeMethod* method);
// Photon.Realtime.LoadBalancingPeer Photon.Realtime.LoadBalancingClient::get_LoadBalancingPeer()
extern "C" IL2CPP_METHOD_ATTR LoadBalancingPeer_t529840942 * LoadBalancingClient_get_LoadBalancingPeer_m2466874186 (LoadBalancingClient_t609581828 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::set_Peer(ExitGames.Client.Photon.PhotonPeer)
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_set_Peer_m219467508 (PhotonLagSimulationGui_t145554164 * __this, PhotonPeer_t1608153861 * ___value0, const RuntimeMethod* method);
// ExitGames.Client.Photon.PhotonPeer Photon.Pun.UtilityScripts.PhotonLagSimulationGui::get_Peer()
extern "C" IL2CPP_METHOD_ATTR PhotonPeer_t1608153861 * PhotonLagSimulationGui_get_Peer_m2471109069 (PhotonLagSimulationGui_t145554164 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUI/WindowFunction::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void WindowFunction__ctor_m2544237635 (WindowFunction_t3146511083 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.GUILayout::Window(System.Int32,UnityEngine.Rect,UnityEngine.GUI/WindowFunction,System.String,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR Rect_t2360479859 GUILayout_Window_m4256324736 (RuntimeObject * __this /* static, unused */, int32_t p0, Rect_t2360479859 p1, WindowFunction_t3146511083 * p2, String_t* p3, GUILayoutOptionU5BU5D_t2510215842* p4, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::Label(System.String,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR void GUILayout_Label_m1960000298 (RuntimeObject * __this /* static, unused */, String_t* p0, GUILayoutOptionU5BU5D_t2510215842* p1, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.PhotonPeer::get_RoundTripTime()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonPeer_get_RoundTripTime_m765987556 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.PhotonPeer::get_RoundTripTimeVariance()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonPeer_get_RoundTripTimeVariance_m1530292774 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m2556382932 (RuntimeObject * __this /* static, unused */, String_t* p0, RuntimeObject * p1, RuntimeObject * p2, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUILayout::Toggle(System.Boolean,System.String,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR bool GUILayout_Toggle_m3863284302 (RuntimeObject * __this /* static, unused */, bool p0, String_t* p1, GUILayoutOptionU5BU5D_t2510215842* p2, const RuntimeMethod* method);
// ExitGames.Client.Photon.NetworkSimulationSet ExitGames.Client.Photon.PhotonPeer::get_NetworkSimulationSettings()
extern "C" IL2CPP_METHOD_ATTR NetworkSimulationSet_t2000596048 * PhotonPeer_get_NetworkSimulationSettings_m594045830 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::get_IncomingLag()
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkSimulationSet_get_IncomingLag_m2820107688 (NetworkSimulationSet_t2000596048 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.GUILayout::HorizontalSlider(System.Single,System.Single,System.Single,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR float GUILayout_HorizontalSlider_m3373686566 (RuntimeObject * __this /* static, unused */, float p0, float p1, float p2, GUILayoutOptionU5BU5D_t2510215842* p3, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_IncomingLag(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_IncomingLag_m497752749 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_OutgoingLag(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_OutgoingLag_m3696969856 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::get_IncomingJitter()
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkSimulationSet_get_IncomingJitter_m3174811529 (NetworkSimulationSet_t2000596048 * __this, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_IncomingJitter(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_IncomingJitter_m524640513 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_OutgoingJitter(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_OutgoingJitter_m1612355397 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.NetworkSimulationSet::get_IncomingLossPercentage()
extern "C" IL2CPP_METHOD_ATTR int32_t NetworkSimulationSet_get_IncomingLossPercentage_m3156240144 (NetworkSimulationSet_t2000596048 * __this, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_IncomingLossPercentage(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_IncomingLossPercentage_m2560354524 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.NetworkSimulationSet::set_OutgoingLossPercentage(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void NetworkSimulationSet_set_OutgoingLossPercentage_m1867998205 (NetworkSimulationSet_t2000596048 * __this, int32_t p0, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUI::get_changed()
extern "C" IL2CPP_METHOD_ATTR bool GUI_get_changed_m1047417530 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_height(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_height_m1625569324 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUI::DragWindow()
extern "C" IL2CPP_METHOD_ATTR void GUI_DragWindow_m795034056 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_x()
extern "C" IL2CPP_METHOD_ATTR float Rect_get_x_m3839990490 (Rect_t2360479859 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.Screen::get_width()
extern "C" IL2CPP_METHOD_ATTR int32_t Screen_get_width_m345039817 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_width()
extern "C" IL2CPP_METHOD_ATTR float Rect_get_width_m3421484486 (Rect_t2360479859 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_x(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_x_m2352063068 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Boolean ExitGames.Client.Photon.PhotonPeer::get_TrafficStatsEnabled()
extern "C" IL2CPP_METHOD_ATTR bool PhotonPeer_get_TrafficStatsEnabled_m3528773544 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.PhotonPeer::set_TrafficStatsEnabled(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void PhotonPeer_set_TrafficStatsEnabled_m791768935 (PhotonPeer_t1608153861 * __this, bool p0, const RuntimeMethod* method);
// ExitGames.Client.Photon.TrafficStatsGameLevel ExitGames.Client.Photon.PhotonPeer::get_TrafficStatsGameLevel()
extern "C" IL2CPP_METHOD_ATTR TrafficStatsGameLevel_t4013908777 * PhotonPeer_get_TrafficStatsGameLevel_m2334524724 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Int64 ExitGames.Client.Photon.PhotonPeer::get_TrafficStatsElapsedMs()
extern "C" IL2CPP_METHOD_ATTR int64_t PhotonPeer_get_TrafficStatsElapsedMs_m4084902159 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::BeginHorizontal(UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR void GUILayout_BeginHorizontal_m1655989246 (RuntimeObject * __this /* static, unused */, GUILayoutOptionU5BU5D_t2510215842* p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::EndHorizontal()
extern "C" IL2CPP_METHOD_ATTR void GUILayout_EndHorizontal_m125407884 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_TotalOutgoingMessageCount()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_TotalOutgoingMessageCount_m1901280818 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_TotalIncomingMessageCount()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_TotalIncomingMessageCount_m913378961 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_TotalMessageCount()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_TotalMessageCount_m60277200 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m3339413201 (RuntimeObject * __this /* static, unused */, String_t* p0, RuntimeObject * p1, RuntimeObject * p2, RuntimeObject * p3, const RuntimeMethod* method);
// System.Boolean UnityEngine.GUILayout::Button(System.String,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR bool GUILayout_Button_m1340817034 (RuntimeObject * __this /* static, unused */, String_t* p0, GUILayoutOptionU5BU5D_t2510215842* p1, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.PhotonPeer::TrafficStatsReset()
extern "C" IL2CPP_METHOD_ATTR void PhotonPeer_TrafficStatsReset_m4230257363 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::Box(System.String,UnityEngine.GUILayoutOption[])
extern "C" IL2CPP_METHOD_ATTR void GUILayout_Box_m1169236630 (RuntimeObject * __this /* static, unused */, String_t* p0, GUILayoutOptionU5BU5D_t2510215842* p1, const RuntimeMethod* method);
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::get_TrafficStatsIncoming()
extern "C" IL2CPP_METHOD_ATTR TrafficStats_t1302902347 * PhotonPeer_get_TrafficStatsIncoming_m2612151008 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::get_TrafficStatsOutgoing()
extern "C" IL2CPP_METHOD_ATTR TrafficStats_t1302902347 * PhotonPeer_get_TrafficStatsOutgoing_m2826863915 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestDeltaBetweenSending()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_LongestDeltaBetweenSending_m3568762106 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestDeltaBetweenDispatching()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_LongestDeltaBetweenDispatching_m1934683369 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestEventCallback()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_LongestEventCallback_m648070515 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Byte ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestEventCallbackCode()
extern "C" IL2CPP_METHOD_ATTR uint8_t TrafficStatsGameLevel_get_LongestEventCallbackCode_m194029821 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestOpResponseCallback()
extern "C" IL2CPP_METHOD_ATTR int32_t TrafficStatsGameLevel_get_LongestOpResponseCallback_m103005414 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Byte ExitGames.Client.Photon.TrafficStatsGameLevel::get_LongestOpResponseCallbackOpCode()
extern "C" IL2CPP_METHOD_ATTR uint8_t TrafficStatsGameLevel_get_LongestOpResponseCallbackOpCode_m1024426170 (TrafficStatsGameLevel_t4013908777 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.PhotonPeer::get_ResentReliableCommands()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonPeer_get_ResentReliableCommands_m3516088330 (PhotonPeer_t1608153861 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Format_m630303134 (RuntimeObject * __this /* static, unused */, String_t* p0, ObjectU5BU5D_t2843939325* p1, const RuntimeMethod* method);
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m3193525861 (RuntimeObject * __this /* static, unused */, Object_t631007953 * p0, const RuntimeMethod* method);
// System.Void UnityEngine.Object::DontDestroyOnLoad(UnityEngine.Object)
extern "C" IL2CPP_METHOD_ATTR void Object_DontDestroyOnLoad_m166252750 (RuntimeObject * __this /* static, unused */, Object_t631007953 * p0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::RefreshData()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_RefreshData_m3174524296 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method);
// Photon.Realtime.Player Photon.Pun.PhotonNetwork::get_LocalPlayer()
extern "C" IL2CPP_METHOD_ATTR Player_t2879569589 * PhotonNetwork_get_LocalPlayer_m1925676130 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Player::get_CustomProperties()
extern "C" IL2CPP_METHOD_ATTR Hashtable_t1048209202 * Player_get_CustomProperties_m1194306484 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Remove(!0)
inline bool Dictionary_2_Remove_m4038518975 (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t132545152 *, RuntimeObject *, const RuntimeMethod*))Dictionary_2_Remove_m4038518975_gshared)(__this, p0, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::ContainsKey(!0)
inline bool Dictionary_2_ContainsKey_m2278349286 (Dictionary_2_t132545152 * __this, RuntimeObject * p0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t132545152 *, RuntimeObject *, const RuntimeMethod*))Dictionary_2_ContainsKey_m2278349286_gshared)(__this, p0, method);
}
// Photon.Realtime.Room Photon.Pun.PhotonNetwork::get_CurrentRoom()
extern "C" IL2CPP_METHOD_ATTR Room_t1409754143 * PhotonNetwork_get_CurrentRoom_m2592017421 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 Photon.Pun.UtilityScripts.PlayerNumberingExtensions::GetPlayerNumber(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t PlayerNumberingExtensions_GetPlayerNumber_m3036515695 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player> Photon.Realtime.Room::get_Players()
extern "C" IL2CPP_METHOD_ATTR Dictionary_2_t1768282920 * Room_get_Players_m2918183696 (Room_t1409754143 * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/ValueCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::get_Values()
inline ValueCollection_t3484327238 * Dictionary_2_get_Values_m2530150265 (Dictionary_2_t1768282920 * __this, const RuntimeMethod* method)
{
return (( ValueCollection_t3484327238 * (*) (Dictionary_2_t1768282920 *, const RuntimeMethod*))Dictionary_2_get_Values_m683714624_gshared)(__this, method);
}
// System.Void System.Func`2<Photon.Realtime.Player,System.Int32>::.ctor(System.Object,System.IntPtr)
inline void Func_2__ctor_m2512717385 (Func_2_t3125806854 * __this, RuntimeObject * p0, intptr_t p1, const RuntimeMethod* method)
{
(( void (*) (Func_2_t3125806854 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_2__ctor_m1645301223_gshared)(__this, p0, p1, method);
}
// System.Linq.IOrderedEnumerable`1<!!0> System.Linq.Enumerable::OrderBy<Photon.Realtime.Player,System.Int32>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,!!1>)
inline RuntimeObject* Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475 (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, Func_2_t3125806854 * p1, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (RuntimeObject * /* static, unused */, RuntimeObject*, Func_2_t3125806854 *, const RuntimeMethod*))Enumerable_OrderBy_TisRuntimeObject_TisInt32_t2950945753_m1442361909_gshared)(__this /* static, unused */, p0, p1, method);
}
// !!0[] System.Linq.Enumerable::ToArray<Photon.Realtime.Player>(System.Collections.Generic.IEnumerable`1<!!0>)
inline PlayerU5BU5D_t3651776216* Enumerable_ToArray_TisPlayer_t2879569589_m1227591871 (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, const RuntimeMethod* method)
{
return (( PlayerU5BU5D_t3651776216* (*) (RuntimeObject * /* static, unused */, RuntimeObject*, const RuntimeMethod*))Enumerable_ToArray_TisRuntimeObject_m3895604740_gshared)(__this /* static, unused */, p0, method);
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged::Invoke()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingChanged_Invoke_m929023573 (PlayerNumberingChanged_t966975091 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.HashSet`1<System.Int32>::.ctor()
inline void HashSet_1__ctor_m1661370653 (HashSet_1_t1515895227 * __this, const RuntimeMethod* method)
{
(( void (*) (HashSet_1_t1515895227 *, const RuntimeMethod*))HashSet_1__ctor_m1661370653_gshared)(__this, method);
}
// Photon.Realtime.Player[] Photon.Pun.PhotonNetwork::get_PlayerList()
extern "C" IL2CPP_METHOD_ATTR PlayerU5BU5D_t3651776216* PhotonNetwork_get_PlayerList_m2399782506 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 Photon.Realtime.Player::get_ActorNumber()
extern "C" IL2CPP_METHOD_ATTR int32_t Player_get_ActorNumber_m1696970727 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.Byte Photon.Realtime.Room::get_PlayerCount()
extern "C" IL2CPP_METHOD_ATTR uint8_t Room_get_PlayerCount_m1869977886 (Room_t1409754143 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Int32>::Contains(!0)
inline bool HashSet_1_Contains_m1997749353 (HashSet_1_t1515895227 * __this, int32_t p0, const RuntimeMethod* method)
{
return (( bool (*) (HashSet_1_t1515895227 *, int32_t, const RuntimeMethod*))HashSet_1_Contains_m1997749353_gshared)(__this, p0, method);
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumberingExtensions::SetPlayerNumber(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingExtensions_SetPlayerNumber_m1320318705 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___playerNumber1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Int32>::Add(!0)
inline bool HashSet_1_Add_m2381074529 (HashSet_1_t1515895227 * __this, int32_t p0, const RuntimeMethod* method)
{
return (( bool (*) (HashSet_1_t1515895227 *, int32_t, const RuntimeMethod*))HashSet_1_Add_m2381074529_gshared)(__this, p0, method);
}
// System.Boolean Photon.Pun.PhotonNetwork::get_OfflineMode()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_get_OfflineMode_m1771337215 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::get_IsConnectedAndReady()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_get_IsConnectedAndReady_m1594620062 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String Photon.Realtime.Player::ToStringFull()
extern "C" IL2CPP_METHOD_ATTR String_t* Player_ToStringFull_m2368492882 (Player_t2879569589 * __this, const RuntimeMethod* method);
// Photon.Realtime.ClientState Photon.Pun.PhotonNetwork::get_NetworkClientState()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonNetwork_get_NetworkClientState_m1324246180 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.Hashtable::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Hashtable__ctor_m3127574091 (Hashtable_t1048209202 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Add(!0,!1)
inline void Dictionary_2_Add_m2387223709 (Dictionary_2_t132545152 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t132545152 *, RuntimeObject *, RuntimeObject *, const RuntimeMethod*))Dictionary_2_Add_m2387223709_gshared)(__this, p0, p1, method);
}
// System.Void Photon.Realtime.Player::SetCustomProperties(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags)
extern "C" IL2CPP_METHOD_ATTR void Player_SetCustomProperties_m2511057994 (Player_t2879569589 * __this, Hashtable_t1048209202 * p0, Hashtable_t1048209202 * p1, WebFlags_t3155447403 * p2, const RuntimeMethod* method);
// System.Int32 Photon.Pun.PhotonView::get_ViewID()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonView_get_ViewID_m4078352048 (PhotonView_t3684715584 * __this, const RuntimeMethod* method);
// System.Int32 Photon.Pun.PhotonView::get_OwnerActorNr()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonView_get_OwnerActorNr_m3685372332 (PhotonView_t3684715584 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonView::get_IsSceneView()
extern "C" IL2CPP_METHOD_ATTR bool PhotonView_get_IsSceneView_m3161453387 (PhotonView_t3684715584 * __this, const RuntimeMethod* method);
// UnityEngine.Camera UnityEngine.Camera::get_main()
extern "C" IL2CPP_METHOD_ATTR Camera_t4157153871 * Camera_get_main_m3643453163 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Camera::WorldToScreenPoint(UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Camera_WorldToScreenPoint_m3726311023 (Camera_t4157153871 * __this, Vector3_t3722313464 p0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>>::.ctor()
inline void Dictionary_2__ctor_m820275806 (Dictionary_2_t660995199 * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t660995199 *, const RuntimeMethod*))Dictionary_2__ctor_m355129115_gshared)(__this, method);
}
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m1620074514 (RuntimeObject * __this /* static, unused */, RuntimeTypeHandle_t3027515415 p0, const RuntimeMethod* method);
// System.Array System.Enum::GetValues(System.Type)
extern "C" IL2CPP_METHOD_ATTR RuntimeArray * Enum_GetValues_m4192343468 (RuntimeObject * __this /* static, unused */, Type_t * p0, const RuntimeMethod* method);
// System.Collections.IEnumerator System.Array::GetEnumerator()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* Array_GetEnumerator_m4277730612 (RuntimeArray * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Player>::.ctor()
inline void List_1__ctor_m88219481 (List_1_t56677035 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t56677035 *, const RuntimeMethod*))List_1__ctor_m2321703786_gshared)(__this, method);
}
// System.Void System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_m822340338 (Dictionary_2_t660995199 * __this, uint8_t p0, List_1_t56677035 * p1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t660995199 *, uint8_t, List_1_t56677035 *, const RuntimeMethod*))Dictionary_2_set_Item_m3831980838_gshared)(__this, p0, p1, method);
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::UpdateTeams()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_UpdateTeams_m2257841423 (PunTeams_t4131221827 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PunTeams::Start()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_Start_m4184821440 (PunTeams_t4131221827 * __this, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2<Photon.Pun.UtilityScripts.PunTeams/Team,System.Collections.Generic.List`1<Photon.Realtime.Player>>::get_Item(!0)
inline List_1_t56677035 * Dictionary_2_get_Item_m1675675625 (Dictionary_2_t660995199 * __this, uint8_t p0, const RuntimeMethod* method)
{
return (( List_1_t56677035 * (*) (Dictionary_2_t660995199 *, uint8_t, const RuntimeMethod*))Dictionary_2_get_Item_m2149162860_gshared)(__this, p0, method);
}
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Player>::Clear()
inline void List_1_Clear_m664864482 (List_1_t56677035 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t56677035 *, const RuntimeMethod*))List_1_Clear_m3697625829_gshared)(__this, method);
}
// Photon.Pun.UtilityScripts.PunTeams/Team Photon.Pun.UtilityScripts.TeamExtensions::GetTeam(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR uint8_t TeamExtensions_GetTeam_m2656974499 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Player>::Add(!0)
inline void List_1_Add_m3606445653 (List_1_t56677035 * __this, Player_t2879569589 * p0, const RuntimeMethod* method)
{
(( void (*) (List_1_t56677035 *, Player_t2879569589 *, const RuntimeMethod*))List_1_Add_m3338814081_gshared)(__this, p0, method);
}
// System.Void System.Collections.Generic.HashSet`1<Photon.Realtime.Player>::.ctor()
inline void HashSet_1__ctor_m4101629095 (HashSet_1_t1444519063 * __this, const RuntimeMethod* method)
{
(( void (*) (HashSet_1_t1444519063 *, const RuntimeMethod*))HashSet_1__ctor_m4231804131_gshared)(__this, method);
}
// System.Int32 Photon.Pun.UtilityScripts.TurnExtensions::GetTurn(Photon.Realtime.RoomInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t TurnExtensions_GetTurn_m1426973900 (RuntimeObject * __this /* static, unused */, RoomInfo_t3118950765 * ___room0, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.TurnExtensions::SetTurn(Photon.Realtime.Room,System.Int32,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TurnExtensions_SetTurn_m487888605 (RuntimeObject * __this /* static, unused */, Room_t1409754143 * ___room0, int32_t ___turn1, bool ___setStartTime2, const RuntimeMethod* method);
// System.Int32 Photon.Pun.PhotonNetwork::get_ServerTimestamp()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonNetwork_get_ServerTimestamp_m3191631178 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Int32 Photon.Pun.UtilityScripts.TurnExtensions::GetTurnStart(Photon.Realtime.RoomInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t TurnExtensions_GetTurnStart_m3099907616 (RuntimeObject * __this /* static, unused */, RoomInfo_t3118950765 * ___room0, const RuntimeMethod* method);
// System.Single Photon.Pun.UtilityScripts.PunTurnManager::get_ElapsedTimeInTurn()
extern "C" IL2CPP_METHOD_ATTR float PunTurnManager_get_ElapsedTimeInTurn_m200579265 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
extern "C" IL2CPP_METHOD_ATTR float Mathf_Max_m3146388979 (RuntimeObject * __this /* static, unused */, float p0, float p1, const RuntimeMethod* method);
// System.Int32 Photon.Pun.UtilityScripts.PunTurnManager::get_Turn()
extern "C" IL2CPP_METHOD_ATTR int32_t PunTurnManager_get_Turn_m613516047 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.HashSet`1<Photon.Realtime.Player>::get_Count()
inline int32_t HashSet_1_get_Count_m1214708533 (HashSet_1_t1444519063 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (HashSet_1_t1444519063 *, const RuntimeMethod*))HashSet_1_get_Count_m542532379_gshared)(__this, method);
}
// System.Boolean System.Collections.Generic.HashSet`1<Photon.Realtime.Player>::Contains(!0)
inline bool HashSet_1_Contains_m2453795586 (HashSet_1_t1444519063 * __this, Player_t2879569589 * p0, const RuntimeMethod* method)
{
return (( bool (*) (HashSet_1_t1444519063 *, Player_t2879569589 *, const RuntimeMethod*))HashSet_1_Contains_m3173358704_gshared)(__this, p0, method);
}
// System.Single Photon.Pun.UtilityScripts.PunTurnManager::get_RemainingSecondsInTurn()
extern "C" IL2CPP_METHOD_ATTR float PunTurnManager_get_RemainingSecondsInTurn_m1281916915 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsOver()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsOver_m473053715 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::set_Turn(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_set_Turn_m1618395572 (PunTurnManager_t13104469 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsFinishedByMe()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsFinishedByMe_m3169690618 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.RaiseEventOptions::.ctor()
extern "C" IL2CPP_METHOD_ATTR void RaiseEventOptions__ctor_m10672651 (RaiseEventOptions_t4260424731 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::RaiseEvent(System.Byte,System.Object,Photon.Realtime.RaiseEventOptions,ExitGames.Client.Photon.SendOptions)
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_RaiseEvent_m1760242852 (RuntimeObject * __this /* static, unused */, uint8_t p0, RuntimeObject * p1, RaiseEventOptions_t4260424731 * p2, SendOptions_t967321410 p3, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.TurnExtensions::SetFinishedTurn(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TurnExtensions_SetFinishedTurn_m4292240673 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___turn1, const RuntimeMethod* method);
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::ProcessOnEvent(System.Byte,System.Object,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_ProcessOnEvent_m4186446278 (PunTurnManager_t13104469 * __this, uint8_t ___eventCode0, RuntimeObject * ___content1, int32_t ___senderId2, const RuntimeMethod* method);
// System.Object ExitGames.Client.Photon.Hashtable::get_Item(System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * Hashtable_get_Item_m4119173712 (Hashtable_t1048209202 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.HashSet`1<Photon.Realtime.Player>::Add(!0)
inline bool HashSet_1_Add_m2244038802 (HashSet_1_t1444519063 * __this, Player_t2879569589 * p0, const RuntimeMethod* method)
{
return (( bool (*) (HashSet_1_t1444519063 *, Player_t2879569589 *, const RuntimeMethod*))HashSet_1_Add_m1971460364_gshared)(__this, p0, method);
}
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsCompletedByAll()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsCompletedByAll_m2089146779 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method);
// System.Object ExitGames.Client.Photon.EventData::get_CustomData()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * EventData_get_CustomData_m3830762861 (EventData_t3728223374 * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.EventData::get_Sender()
extern "C" IL2CPP_METHOD_ATTR int32_t EventData_get_Sender_m4103729516 (EventData_t3728223374 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.HashSet`1<Photon.Realtime.Player>::Clear()
inline void HashSet_1_Clear_m4049590895 (HashSet_1_t1444519063 * __this, const RuntimeMethod* method)
{
(( void (*) (HashSet_1_t1444519063 *, const RuntimeMethod*))HashSet_1_Clear_m507835370_gshared)(__this, method);
}
// System.Void ExitGames.Client.Photon.Hashtable::set_Item(System.Object,System.Object)
extern "C" IL2CPP_METHOD_ATTR void Hashtable_set_Item_m963063516 (Hashtable_t1048209202 * __this, RuntimeObject * p0, RuntimeObject * p1, const RuntimeMethod* method);
// System.Int32 Photon.Pun.UtilityScripts.ScoreExtensions::GetScore(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t ScoreExtensions_GetScore_m1758861964 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_get_zero_m1409827619 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<UnityEngine.Component>::GetEnumerator()
inline Enumerator_t989985774 List_1_GetEnumerator_m4151690152 (List_1_t3395709193 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t989985774 (*) (List_1_t3395709193 *, const RuntimeMethod*))List_1_GetEnumerator_m2930774921_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<UnityEngine.Component>::get_Current()
inline Component_t1923634451 * Enumerator_get_Current_m4025676787 (Enumerator_t989985774 * __this, const RuntimeMethod* method)
{
return (( Component_t1923634451 * (*) (Enumerator_t989985774 *, const RuntimeMethod*))Enumerator_get_Current_m470245444_gshared)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Component>::MoveNext()
inline bool Enumerator_MoveNext_m1900473804 (Enumerator_t989985774 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t989985774 *, const RuntimeMethod*))Enumerator_MoveNext_m2142368520_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Component>::Dispose()
inline void Enumerator_Dispose_m4132484595 (Enumerator_t989985774 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t989985774 *, const RuntimeMethod*))Enumerator_Dispose_m3007748546_gshared)(__this, method);
}
// System.Boolean Photon.Pun.PhotonStream::get_IsWriting()
extern "C" IL2CPP_METHOD_ATTR bool PhotonStream_get_IsWriting_m3056429191 (PhotonStream_t2658340202 * __this, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonStream::SendNext(System.Object)
extern "C" IL2CPP_METHOD_ATTR void PhotonStream_SendNext_m196961137 (PhotonStream_t2658340202 * __this, RuntimeObject * p0, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
extern "C" IL2CPP_METHOD_ATTR Quaternion_t2301928331 Transform_get_rotation_m3502953881 (Transform_t3600365921 * __this, const RuntimeMethod* method);
// System.Object Photon.Pun.PhotonStream::ReceiveNext()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * PhotonStream_ReceiveNext_m3210630961 (PhotonStream_t2658340202 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
extern "C" IL2CPP_METHOD_ATTR Vector3_t3722313464 Vector3_Lerp_m407887542 (RuntimeObject * __this /* static, unused */, Vector3_t3722313464 p0, Vector3_t3722313464 p1, float p2, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::Lerp(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
extern "C" IL2CPP_METHOD_ATTR Quaternion_t2301928331 Quaternion_Lerp_m1238806789 (RuntimeObject * __this /* static, unused */, Quaternion_t2301928331 p0, Quaternion_t2301928331 p1, float p2, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_rotation(UnityEngine.Quaternion)
extern "C" IL2CPP_METHOD_ATTR void Transform_set_rotation_m3524318132 (Transform_t3600365921 * __this, Quaternion_t2301928331 p0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::.ctor(UnityEngine.Rect)
extern "C" IL2CPP_METHOD_ATTR void Rect__ctor_m499992824 (Rect_t2360479859 * __this, Rect_t2360479859 p0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_xMin(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_xMin_m2413290617 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_y()
extern "C" IL2CPP_METHOD_ATTR float Rect_get_y_m1501338330 (Rect_t2360479859 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_yMin(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_yMin_m2724127720 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_xMax(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_xMax_m1720695099 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Single UnityEngine.Rect::get_height()
extern "C" IL2CPP_METHOD_ATTR float Rect_get_height_m1358425599 (Rect_t2360479859 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Rect::set_yMax(System.Single)
extern "C" IL2CPP_METHOD_ATTR void Rect_set_yMax_m2031532394 (Rect_t2360479859 * __this, float p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::BeginArea(UnityEngine.Rect)
extern "C" IL2CPP_METHOD_ATTR void GUILayout_BeginArea_m3340577749 (RuntimeObject * __this /* static, unused */, Rect_t2360479859 p0, const RuntimeMethod* method);
// System.String System.Double::ToString(System.String)
extern "C" IL2CPP_METHOD_ATTR String_t* Double_ToString_m896573572 (double* __this, String_t* p0, const RuntimeMethod* method);
// System.String Photon.Pun.PhotonNetwork::get_ServerAddress()
extern "C" IL2CPP_METHOD_ATTR String_t* PhotonNetwork_get_ServerAddress_m2261417848 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// Photon.Realtime.ServerConnection Photon.Pun.PhotonNetwork::get_Server()
extern "C" IL2CPP_METHOD_ATTR int32_t PhotonNetwork_get_Server_m56981912 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_AppVersion()
extern "C" IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_AppVersion_m168706073 (LoadBalancingClient_t609581828 * __this, const RuntimeMethod* method);
// Photon.Realtime.AuthenticationValues Photon.Pun.PhotonNetwork::get_AuthValues()
extern "C" IL2CPP_METHOD_ATTR AuthenticationValues_t2847553853 * PhotonNetwork_get_AuthValues_m668622286 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String Photon.Realtime.AuthenticationValues::get_UserId()
extern "C" IL2CPP_METHOD_ATTR String_t* AuthenticationValues_get_UserId_m1088651611 (AuthenticationValues_t2847553853 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Player::get_UserId()
extern "C" IL2CPP_METHOD_ATTR String_t* Player_get_UserId_m1473040619 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Room::ToStringFull()
extern "C" IL2CPP_METHOD_ATTR String_t* Room_ToStringFull_m3203878693 (Room_t1409754143 * __this, const RuntimeMethod* method);
// System.String Photon.Pun.UtilityScripts.StatesGui::PlayerToString(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR String_t* StatesGui_PlayerToString_m2491781136 (StatesGui_t4032328020 * __this, Player_t2879569589 * ___player0, const RuntimeMethod* method);
// Photon.Realtime.Player[] Photon.Pun.PhotonNetwork::get_PlayerListOthers()
extern "C" IL2CPP_METHOD_ATTR PlayerU5BU5D_t3651776216* PhotonNetwork_get_PlayerListOthers_m1000693535 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String[] Photon.Realtime.Room::get_ExpectedUsers()
extern "C" IL2CPP_METHOD_ATTR StringU5BU5D_t1281789340* Room_get_ExpectedUsers_m2526500248 (Room_t1409754143 * __this, const RuntimeMethod* method);
// System.String System.String::Join(System.String,System.String[])
extern "C" IL2CPP_METHOD_ATTR String_t* String_Join_m2050845953 (RuntimeObject * __this /* static, unused */, String_t* p0, StringU5BU5D_t1281789340* p1, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::get_IsConnected()
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_get_IsConnected_m925803950 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Void Photon.Pun.PhotonNetwork::Disconnect()
extern "C" IL2CPP_METHOD_ATTR void PhotonNetwork_Disconnect_m3519498535 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.Boolean Photon.Pun.PhotonNetwork::LeaveRoom(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR bool PhotonNetwork_LeaveRoom_m2743004410 (RuntimeObject * __this /* static, unused */, bool p0, const RuntimeMethod* method);
// System.Void UnityEngine.GUILayout::EndArea()
extern "C" IL2CPP_METHOD_ATTR void GUILayout_EndArea_m2046611416 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method);
// System.String Photon.Realtime.Player::get_NickName()
extern "C" IL2CPP_METHOD_ATTR String_t* Player_get_NickName_m711204587 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Player::get_IsMasterClient()
extern "C" IL2CPP_METHOD_ATTR bool Player_get_IsMasterClient_m670322456 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Extensions::ToStringFull(System.Collections.IDictionary)
extern "C" IL2CPP_METHOD_ATTR String_t* Extensions_ToStringFull_m973343359 (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Player::get_IsInactive()
extern "C" IL2CPP_METHOD_ATTR bool Player_get_IsInactive_m102561162 (Player_t2879569589 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab>::.ctor()
inline void Dictionary_2__ctor_m3567964180 (Dictionary_2_t1152131052 * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t1152131052 *, const RuntimeMethod*))Dictionary_2__ctor_m518943619_gshared)(__this, method);
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CStartU3Ec__AnonStorey0__ctor_m969447748 (U3CStartU3Ec__AnonStorey0_t1921436154 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_m368567659 (Dictionary_2_t1152131052 * __this, Toggle_t2735377061 * p0, Tab_t117203701 * p1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t1152131052 *, Toggle_t2735377061 *, Tab_t117203701 *, const RuntimeMethod*))Dictionary_2_set_Item_m119570864_gshared)(__this, p0, p1, method);
}
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void GameObject_SetActive_m796801857 (GameObject_t1113636619 * __this, bool p0, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
extern "C" IL2CPP_METHOD_ATTR bool String_op_Equality_m920492651 (RuntimeObject * __this /* static, unused */, String_t* p0, String_t* p1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle::set_isOn(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void Toggle_set_isOn_m3548357404 (Toggle_t2735377061 * __this, bool p0, const RuntimeMethod* method);
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::ActiveToggles()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* ToggleGroup_ActiveToggles_m3179342002 (ToggleGroup_t123837990 * __this, const RuntimeMethod* method);
// !!0 System.Linq.Enumerable::FirstOrDefault<UnityEngine.UI.Toggle>(System.Collections.Generic.IEnumerable`1<!!0>)
inline Toggle_t2735377061 * Enumerable_FirstOrDefault_TisToggle_t2735377061_m296792468 (RuntimeObject * __this /* static, unused */, RuntimeObject* p0, const RuntimeMethod* method)
{
return (( Toggle_t2735377061 * (*) (RuntimeObject * /* static, unused */, RuntimeObject*, const RuntimeMethod*))Enumerable_FirstOrDefault_TisRuntimeObject_m2716282174_gshared)(__this /* static, unused */, p0, method);
}
// !1 System.Collections.Generic.Dictionary`2<UnityEngine.UI.Toggle,Photon.Pun.UtilityScripts.TabViewManager/Tab>::get_Item(!0)
inline Tab_t117203701 * Dictionary_2_get_Item_m1995330077 (Dictionary_2_t1152131052 * __this, Toggle_t2735377061 * p0, const RuntimeMethod* method)
{
return (( Tab_t117203701 * (*) (Dictionary_2_t1152131052 *, Toggle_t2735377061 *, const RuntimeMethod*))Dictionary_2_get_Item_m2866271333_gshared)(__this, p0, method);
}
// System.Void UnityEngine.Events.UnityEvent`1<System.String>::Invoke(!0)
inline void UnityEvent_1_Invoke_m2550716684 (UnityEvent_1_t2729110193 * __this, String_t* p0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_t2729110193 *, String_t*, const RuntimeMethod*))UnityEvent_1_Invoke_m2734859485_gshared)(__this, p0, method);
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager::OnTabSelected(Photon.Pun.UtilityScripts.TabViewManager/Tab)
extern "C" IL2CPP_METHOD_ATTR void TabViewManager_OnTabSelected_m3112329729 (TabViewManager_t3686055887 * __this, Tab_t117203701 * ___tab0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.String>::.ctor()
inline void UnityEvent_1__ctor_m2980558499 (UnityEvent_1_t2729110193 * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_t2729110193 *, const RuntimeMethod*))UnityEvent_1__ctor_m1789019280_gshared)(__this, method);
}
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Text>()
inline Text_t1901882714 * Component_GetComponent_TisText_t1901882714_m2069588619 (Component_t1923634451 * __this, const RuntimeMethod* method)
{
return (( Text_t1901882714 * (*) (Component_t1923634451 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m2906321015_gshared)(__this, method);
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnValueChanged(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnValueChanged_m1225106709 (TextToggleIsOnTransition_t4243955300 * __this, bool ___isOn0, const RuntimeMethod* method);
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomInfo::get_CustomProperties()
extern "C" IL2CPP_METHOD_ATTR Hashtable_t1048209202 * RoomInfo_get_CustomProperties_m4229566866 (RoomInfo_t3118950765 * __this, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#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
#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
#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
#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
#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 Photon.Pun.UtilityScripts.ButtonInsideScrollList::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ButtonInsideScrollList__ctor_m1549583285 (ButtonInsideScrollList_t2732141882 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ButtonInsideScrollList::Start()
extern "C" IL2CPP_METHOD_ATTR void ButtonInsideScrollList_Start_m404284743 (ButtonInsideScrollList_t2732141882 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ButtonInsideScrollList_Start_m404284743_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ScrollRect_t4137855814 * L_0 = Component_GetComponentInParent_TisScrollRect_t4137855814_m3221780564(__this, /*hidden argument*/Component_GetComponentInParent_TisScrollRect_t4137855814_m3221780564_RuntimeMethod_var);
__this->set_scrollRect_4(L_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ButtonInsideScrollList::UnityEngine.EventSystems.IPointerDownHandler.OnPointerDown(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void ButtonInsideScrollList_UnityEngine_EventSystems_IPointerDownHandler_OnPointerDown_m3219428351 (ButtonInsideScrollList_t2732141882 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ButtonInsideScrollList_UnityEngine_EventSystems_IPointerDownHandler_OnPointerDown_m3219428351_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ScrollRect_t4137855814 * L_0 = __this->get_scrollRect_4();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0028;
}
}
{
ScrollRect_t4137855814 * L_2 = __this->get_scrollRect_4();
NullCheck(L_2);
VirtActionInvoker0::Invoke(41 /* System.Void UnityEngine.UI.ScrollRect::StopMovement() */, L_2);
ScrollRect_t4137855814 * L_3 = __this->get_scrollRect_4();
NullCheck(L_3);
Behaviour_set_enabled_m20417929(L_3, (bool)0, /*hidden argument*/NULL);
}
IL_0028:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ButtonInsideScrollList::UnityEngine.EventSystems.IPointerUpHandler.OnPointerUp(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void ButtonInsideScrollList_UnityEngine_EventSystems_IPointerUpHandler_OnPointerUp_m262584427 (ButtonInsideScrollList_t2732141882 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ButtonInsideScrollList_UnityEngine_EventSystems_IPointerUpHandler_OnPointerUp_m262584427_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ScrollRect_t4137855814 * L_0 = __this->get_scrollRect_4();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002d;
}
}
{
ScrollRect_t4137855814 * L_2 = __this->get_scrollRect_4();
NullCheck(L_2);
bool L_3 = Behaviour_get_enabled_m753527255(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_002d;
}
}
{
ScrollRect_t4137855814 * L_4 = __this->get_scrollRect_4();
NullCheck(L_4);
Behaviour_set_enabled_m20417929(L_4, (bool)1, /*hidden argument*/NULL);
}
IL_002d:
{
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 Photon.Pun.UtilityScripts.CellTree::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CellTree__ctor_m2100382790 (CellTree_t656254725 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTree::.ctor(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTree__ctor_m4241260258 (CellTree_t656254725 * __this, CellTreeNode_t3709723763 * ___root0, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
CellTreeNode_t3709723763 * L_0 = ___root0;
CellTree_set_RootNode_m341903495(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// Photon.Pun.UtilityScripts.CellTreeNode Photon.Pun.UtilityScripts.CellTree::get_RootNode()
extern "C" IL2CPP_METHOD_ATTR CellTreeNode_t3709723763 * CellTree_get_RootNode_m124022160 (CellTree_t656254725 * __this, const RuntimeMethod* method)
{
{
CellTreeNode_t3709723763 * L_0 = __this->get_U3CRootNodeU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTree::set_RootNode(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTree_set_RootNode_m341903495 (CellTree_t656254725 * __this, CellTreeNode_t3709723763 * ___value0, const RuntimeMethod* method)
{
{
CellTreeNode_t3709723763 * L_0 = ___value0;
__this->set_U3CRootNodeU3Ek__BackingField_0(L_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 Photon.Pun.UtilityScripts.CellTreeNode::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode__ctor_m4264632854 (CellTreeNode_t3709723763 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::.ctor(System.Byte,Photon.Pun.UtilityScripts.CellTreeNode/ENodeType,Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode__ctor_m3858456218 (CellTreeNode_t3709723763 * __this, uint8_t ___id0, int32_t ___nodeType1, CellTreeNode_t3709723763 * ___parent2, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___id0;
__this->set_Id_0(L_0);
int32_t L_1 = ___nodeType1;
__this->set_NodeType_5(L_1);
CellTreeNode_t3709723763 * L_2 = ___parent2;
__this->set_Parent_6(L_2);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::AddChild(Photon.Pun.UtilityScripts.CellTreeNode)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_AddChild_m4144798801 (CellTreeNode_t3709723763 * __this, CellTreeNode_t3709723763 * ___child0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CellTreeNode_AddChild_m4144798801_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t886831209 * L_0 = __this->get_Childs_7();
if (L_0)
{
goto IL_0017;
}
}
{
List_1_t886831209 * L_1 = (List_1_t886831209 *)il2cpp_codegen_object_new(List_1_t886831209_il2cpp_TypeInfo_var);
List_1__ctor_m3273246438(L_1, 1, /*hidden argument*/List_1__ctor_m3273246438_RuntimeMethod_var);
__this->set_Childs_7(L_1);
}
IL_0017:
{
List_1_t886831209 * L_2 = __this->get_Childs_7();
CellTreeNode_t3709723763 * L_3 = ___child0;
NullCheck(L_2);
List_1_Add_m1879260396(L_2, L_3, /*hidden argument*/List_1_Add_m1879260396_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::Draw()
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_Draw_m3450500319 (CellTreeNode_t3709723763 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CellTreeNode::GetActiveCells(System.Collections.Generic.List`1<System.Byte>,System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR void CellTreeNode_GetActiveCells_m131210235 (CellTreeNode_t3709723763 * __this, List_1_t2606371118 * ___activeCells0, bool ___yIsUpAxis1, Vector3_t3722313464 ___position2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CellTreeNode_GetActiveCells_m131210235_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CellTreeNode_t3709723763 * V_0 = NULL;
Enumerator_t2776075086 V_1;
memset(&V_1, 0, sizeof(V_1));
CellTreeNode_t3709723763 * 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 = -1;
NO_UNUSED_WARNING (__leave_target);
{
int32_t L_0 = __this->get_NodeType_5();
if ((((int32_t)L_0) == ((int32_t)2)))
{
goto IL_0052;
}
}
{
List_1_t886831209 * L_1 = __this->get_Childs_7();
NullCheck(L_1);
Enumerator_t2776075086 L_2 = List_1_GetEnumerator_m3145015159(L_1, /*hidden argument*/List_1_GetEnumerator_m3145015159_RuntimeMethod_var);
V_1 = L_2;
}
IL_0018:
try
{ // begin try (depth: 1)
{
goto IL_002e;
}
IL_001d:
{
CellTreeNode_t3709723763 * L_3 = Enumerator_get_Current_m906480813((Enumerator_t2776075086 *)(&V_1), /*hidden argument*/Enumerator_get_Current_m906480813_RuntimeMethod_var);
V_0 = L_3;
CellTreeNode_t3709723763 * L_4 = V_0;
List_1_t2606371118 * L_5 = ___activeCells0;
bool L_6 = ___yIsUpAxis1;
Vector3_t3722313464 L_7 = ___position2;
NullCheck(L_4);
CellTreeNode_GetActiveCells_m131210235(L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
}
IL_002e:
{
bool L_8 = Enumerator_MoveNext_m2965827227((Enumerator_t2776075086 *)(&V_1), /*hidden argument*/Enumerator_MoveNext_m2965827227_RuntimeMethod_var);
if (L_8)
{
goto IL_001d;
}
}
IL_003a:
{
IL2CPP_LEAVE(0x4D, FINALLY_003f);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003f;
}
FINALLY_003f:
{ // begin finally (depth: 1)
Enumerator_Dispose_m867125006((Enumerator_t2776075086 *)(&V_1), /*hidden argument*/Enumerator_Dispose_m867125006_RuntimeMethod_var);
IL2CPP_END_FINALLY(63)
} // end finally (depth: 1)
IL2CPP_CLEANUP(63)
{
IL2CPP_JUMP_TBL(0x4D, IL_004d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_004d:
{
goto IL_00b0;
}
IL_0052:
{
bool L_9 = ___yIsUpAxis1;
Vector3_t3722313464 L_10 = ___position2;
bool L_11 = CellTreeNode_IsPointNearCell_m496229503(__this, L_9, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_00b0;
}
}
{
bool L_12 = ___yIsUpAxis1;
Vector3_t3722313464 L_13 = ___position2;
bool L_14 = CellTreeNode_IsPointInsideCell_m707706577(__this, L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_00a4;
}
}
{
List_1_t2606371118 * L_15 = ___activeCells0;
uint8_t L_16 = __this->get_Id_0();
NullCheck(L_15);
List_1_Insert_m2431904002(L_15, 0, L_16, /*hidden argument*/List_1_Insert_m2431904002_RuntimeMethod_var);
CellTreeNode_t3709723763 * L_17 = __this->get_Parent_6();
V_2 = L_17;
goto IL_0099;
}
IL_0085:
{
List_1_t2606371118 * L_18 = ___activeCells0;
CellTreeNode_t3709723763 * L_19 = V_2;
NullCheck(L_19);
uint8_t L_20 = L_19->get_Id_0();
NullCheck(L_18);
List_1_Insert_m2431904002(L_18, 0, L_20, /*hidden argument*/List_1_Insert_m2431904002_RuntimeMethod_var);
CellTreeNode_t3709723763 * L_21 = V_2;
NullCheck(L_21);
CellTreeNode_t3709723763 * L_22 = L_21->get_Parent_6();
V_2 = L_22;
}
IL_0099:
{
CellTreeNode_t3709723763 * L_23 = V_2;
if (L_23)
{
goto IL_0085;
}
}
{
goto IL_00b0;
}
IL_00a4:
{
List_1_t2606371118 * L_24 = ___activeCells0;
uint8_t L_25 = __this->get_Id_0();
NullCheck(L_24);
List_1_Add_m3890707704(L_24, L_25, /*hidden argument*/List_1_Add_m3890707704_RuntimeMethod_var);
}
IL_00b0:
{
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.CellTreeNode::IsPointInsideCell(System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR bool CellTreeNode_IsPointInsideCell_m707706577 (CellTreeNode_t3709723763 * __this, bool ___yIsUpAxis0, Vector3_t3722313464 ___point1, const RuntimeMethod* method)
{
{
float L_0 = (&___point1)->get_x_2();
Vector3_t3722313464 * L_1 = __this->get_address_of_TopLeft_3();
float L_2 = L_1->get_x_2();
if ((((float)L_0) < ((float)L_2)))
{
goto IL_002e;
}
}
{
float L_3 = (&___point1)->get_x_2();
Vector3_t3722313464 * L_4 = __this->get_address_of_BottomRight_4();
float L_5 = L_4->get_x_2();
if ((!(((float)L_3) > ((float)L_5))))
{
goto IL_0030;
}
}
IL_002e:
{
return (bool)0;
}
IL_0030:
{
bool L_6 = ___yIsUpAxis0;
if (!L_6)
{
goto IL_006b;
}
}
{
float L_7 = (&___point1)->get_y_3();
Vector3_t3722313464 * L_8 = __this->get_address_of_TopLeft_3();
float L_9 = L_8->get_y_3();
if ((!(((float)L_7) >= ((float)L_9))))
{
goto IL_0066;
}
}
{
float L_10 = (&___point1)->get_y_3();
Vector3_t3722313464 * L_11 = __this->get_address_of_BottomRight_4();
float L_12 = L_11->get_y_3();
if ((!(((float)L_10) <= ((float)L_12))))
{
goto IL_0066;
}
}
{
return (bool)1;
}
IL_0066:
{
goto IL_009b;
}
IL_006b:
{
float L_13 = (&___point1)->get_z_4();
Vector3_t3722313464 * L_14 = __this->get_address_of_TopLeft_3();
float L_15 = L_14->get_z_4();
if ((!(((float)L_13) >= ((float)L_15))))
{
goto IL_009b;
}
}
{
float L_16 = (&___point1)->get_z_4();
Vector3_t3722313464 * L_17 = __this->get_address_of_BottomRight_4();
float L_18 = L_17->get_z_4();
if ((!(((float)L_16) <= ((float)L_18))))
{
goto IL_009b;
}
}
{
return (bool)1;
}
IL_009b:
{
return (bool)0;
}
}
// System.Boolean Photon.Pun.UtilityScripts.CellTreeNode::IsPointNearCell(System.Boolean,UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR bool CellTreeNode_IsPointNearCell_m496229503 (CellTreeNode_t3709723763 * __this, bool ___yIsUpAxis0, Vector3_t3722313464 ___point1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CellTreeNode_IsPointNearCell_m496229503_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t3722313464 V_0;
memset(&V_0, 0, sizeof(V_0));
{
float L_0 = __this->get_maxDistance_8();
if ((!(((float)L_0) == ((float)(0.0f)))))
{
goto IL_003f;
}
}
{
Vector3_t3722313464 * L_1 = __this->get_address_of_Size_2();
float L_2 = L_1->get_x_2();
Vector3_t3722313464 * L_3 = __this->get_address_of_Size_2();
float L_4 = L_3->get_y_3();
Vector3_t3722313464 * L_5 = __this->get_address_of_Size_2();
float L_6 = L_5->get_z_4();
__this->set_maxDistance_8(((float)((float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_2, (float)L_4)), (float)L_6))/(float)(2.0f))));
}
IL_003f:
{
Vector3_t3722313464 L_7 = ___point1;
Vector3_t3722313464 L_8 = __this->get_Center_1();
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_9 = Vector3_op_Subtraction_m3073674971(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_0 = L_9;
float L_10 = Vector3_get_sqrMagnitude_m1474274574((Vector3_t3722313464 *)(&V_0), /*hidden argument*/NULL);
float L_11 = __this->get_maxDistance_8();
float L_12 = __this->get_maxDistance_8();
return (bool)((((int32_t)((!(((float)L_10) <= ((float)((float)il2cpp_codegen_multiply((float)L_11, (float)L_12)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
#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
#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 Photon.Pun.UtilityScripts.ConnectAndJoinRandom::.ctor()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom__ctor_m1507461216 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
{
__this->set_AutoConnect_5((bool)1);
__this->set_Version_6((uint8_t)1);
MonoBehaviourPunCallbacks__ctor_m817142383(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::Start()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_Start_m1588184576 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_AutoConnect_5();
if (!L_0)
{
goto IL_0011;
}
}
{
ConnectAndJoinRandom_ConnectNow_m1440738071(__this, /*hidden argument*/NULL);
}
IL_0011:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::ConnectNow()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_ConnectNow_m1440738071 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_ConnectNow_m1440738071_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, _stringLiteral2886079241, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_ConnectUsingSettings_m1338349691(NULL /*static, unused*/, /*hidden argument*/NULL);
uint8_t L_0 = __this->get_Version_6();
uint8_t L_1 = L_0;
RuntimeObject * L_2 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_1);
int32_t L_3 = SceneManagerHelper_get_ActiveSceneBuildIndex_m3683052340(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_4 = L_3;
RuntimeObject * L_5 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_4);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_6 = String_Concat_m1715369213(NULL /*static, unused*/, L_2, _stringLiteral3452614530, L_5, /*hidden argument*/NULL);
PhotonNetwork_set_GameVersion_m1778825003(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::OnConnectedToMaster()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_OnConnectedToMaster_m2750593320 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_OnConnectedToMaster_m2750593320_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, _stringLiteral3359837298, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_JoinRandomRoom_m1843297646(NULL /*static, unused*/, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::OnJoinedLobby()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_OnJoinedLobby_m3090473406 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_OnJoinedLobby_m3090473406_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, _stringLiteral1042926513, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_JoinRandomRoom_m1843297646(NULL /*static, unused*/, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::OnJoinRandomFailed(System.Int16,System.String)
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_OnJoinRandomFailed_m2829837337 (ConnectAndJoinRandom_t1495527429 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_OnJoinRandomFailed_m2829837337_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RoomOptions_t957731565 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, _stringLiteral335638622, /*hidden argument*/NULL);
RoomOptions_t957731565 * L_0 = (RoomOptions_t957731565 *)il2cpp_codegen_object_new(RoomOptions_t957731565_il2cpp_TypeInfo_var);
RoomOptions__ctor_m2566203557(L_0, /*hidden argument*/NULL);
V_0 = L_0;
RoomOptions_t957731565 * L_1 = V_0;
NullCheck(L_1);
L_1->set_MaxPlayers_2((uint8_t)4);
RoomOptions_t957731565 * L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_CreateRoom_m2738072803(NULL /*static, unused*/, (String_t*)NULL, L_2, (TypedLobby_t3393892244 *)NULL, (StringU5BU5D_t1281789340*)(StringU5BU5D_t1281789340*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::OnDisconnected(Photon.Realtime.DisconnectCause)
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_OnDisconnected_m4139352883 (ConnectAndJoinRandom_t1495527429 * __this, int32_t ___cause0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_OnDisconnected_m4139352883_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___cause0;
int32_t L_1 = L_0;
RuntimeObject * L_2 = Box(DisconnectCause_t3734433884_il2cpp_TypeInfo_var, &L_1);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_3 = String_Concat_m1715369213(NULL /*static, unused*/, _stringLiteral1292936883, L_2, _stringLiteral3452614535, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ConnectAndJoinRandom::OnJoinedRoom()
extern "C" IL2CPP_METHOD_ATTR void ConnectAndJoinRandom_OnJoinedRoom_m2516502544 (ConnectAndJoinRandom_t1495527429 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ConnectAndJoinRandom_OnJoinedRoom_m2516502544_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, _stringLiteral2396748665, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.CountdownTimer::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer__ctor_m778718744 (CountdownTimer_t636337431 * __this, const RuntimeMethod* method)
{
{
__this->set_Countdown_10((5.0f));
MonoBehaviourPunCallbacks__ctor_m817142383(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer::add_OnCountdownTimerHasExpired(Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired)
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer_add_OnCountdownTimerHasExpired_m1239220387 (RuntimeObject * __this /* static, unused */, CountdownTimerHasExpired_t4234756006 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CountdownTimer_add_OnCountdownTimerHasExpired_m1239220387_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CountdownTimerHasExpired_t4234756006 * V_0 = NULL;
CountdownTimerHasExpired_t4234756006 * V_1 = NULL;
{
CountdownTimerHasExpired_t4234756006 * L_0 = ((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_OnCountdownTimerHasExpired_6();
V_0 = L_0;
}
IL_0006:
{
CountdownTimerHasExpired_t4234756006 * L_1 = V_0;
V_1 = L_1;
CountdownTimerHasExpired_t4234756006 * L_2 = V_1;
CountdownTimerHasExpired_t4234756006 * L_3 = ___value0;
Delegate_t1188392813 * L_4 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
CountdownTimerHasExpired_t4234756006 * L_5 = V_0;
CountdownTimerHasExpired_t4234756006 * L_6 = InterlockedCompareExchangeImpl<CountdownTimerHasExpired_t4234756006 *>((CountdownTimerHasExpired_t4234756006 **)(((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_address_of_OnCountdownTimerHasExpired_6()), ((CountdownTimerHasExpired_t4234756006 *)CastclassSealed((RuntimeObject*)L_4, CountdownTimerHasExpired_t4234756006_il2cpp_TypeInfo_var)), L_5);
V_0 = L_6;
CountdownTimerHasExpired_t4234756006 * L_7 = V_0;
CountdownTimerHasExpired_t4234756006 * L_8 = V_1;
if ((!(((RuntimeObject*)(CountdownTimerHasExpired_t4234756006 *)L_7) == ((RuntimeObject*)(CountdownTimerHasExpired_t4234756006 *)L_8))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer::remove_OnCountdownTimerHasExpired(Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired)
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer_remove_OnCountdownTimerHasExpired_m2729137716 (RuntimeObject * __this /* static, unused */, CountdownTimerHasExpired_t4234756006 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CountdownTimer_remove_OnCountdownTimerHasExpired_m2729137716_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CountdownTimerHasExpired_t4234756006 * V_0 = NULL;
CountdownTimerHasExpired_t4234756006 * V_1 = NULL;
{
CountdownTimerHasExpired_t4234756006 * L_0 = ((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_OnCountdownTimerHasExpired_6();
V_0 = L_0;
}
IL_0006:
{
CountdownTimerHasExpired_t4234756006 * L_1 = V_0;
V_1 = L_1;
CountdownTimerHasExpired_t4234756006 * L_2 = V_1;
CountdownTimerHasExpired_t4234756006 * L_3 = ___value0;
Delegate_t1188392813 * L_4 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
CountdownTimerHasExpired_t4234756006 * L_5 = V_0;
CountdownTimerHasExpired_t4234756006 * L_6 = InterlockedCompareExchangeImpl<CountdownTimerHasExpired_t4234756006 *>((CountdownTimerHasExpired_t4234756006 **)(((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_address_of_OnCountdownTimerHasExpired_6()), ((CountdownTimerHasExpired_t4234756006 *)CastclassSealed((RuntimeObject*)L_4, CountdownTimerHasExpired_t4234756006_il2cpp_TypeInfo_var)), L_5);
V_0 = L_6;
CountdownTimerHasExpired_t4234756006 * L_7 = V_0;
CountdownTimerHasExpired_t4234756006 * L_8 = V_1;
if ((!(((RuntimeObject*)(CountdownTimerHasExpired_t4234756006 *)L_7) == ((RuntimeObject*)(CountdownTimerHasExpired_t4234756006 *)L_8))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer::Start()
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer_Start_m2502424132 (CountdownTimer_t636337431 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CountdownTimer_Start_m2502424132_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Text_t1901882714 * L_0 = __this->get_Text_9();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogError_m1665621915(NULL /*static, unused*/, _stringLiteral2704330057, __this, /*hidden argument*/NULL);
return;
}
IL_001d:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer::Update()
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer_Update_m4059902890 (CountdownTimer_t636337431 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CountdownTimer_Update_m4059902890_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
{
bool L_0 = __this->get_isTimerRunning_7();
if (L_0)
{
goto IL_000c;
}
}
{
return;
}
IL_000c:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
double L_1 = PhotonNetwork_get_Time_m1340488678(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_2 = __this->get_startTime_8();
V_0 = ((float)il2cpp_codegen_subtract((float)(((float)((float)L_1))), (float)L_2));
float L_3 = __this->get_Countdown_10();
float L_4 = V_0;
V_1 = ((float)il2cpp_codegen_subtract((float)L_3, (float)L_4));
Text_t1901882714 * L_5 = __this->get_Text_9();
String_t* L_6 = Single_ToString_m3489843083((float*)(&V_1), _stringLiteral3451434946, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_7 = String_Format_m2844511972(NULL /*static, unused*/, _stringLiteral764279639, L_6, /*hidden argument*/NULL);
NullCheck(L_5);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_5, L_7);
float L_8 = V_1;
if ((!(((float)L_8) > ((float)(0.0f)))))
{
goto IL_0050;
}
}
{
return;
}
IL_0050:
{
__this->set_isTimerRunning_7((bool)0);
Text_t1901882714 * L_9 = __this->get_Text_9();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_10 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
NullCheck(L_9);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_9, L_10);
CountdownTimerHasExpired_t4234756006 * L_11 = ((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_OnCountdownTimerHasExpired_6();
if (!L_11)
{
goto IL_007b;
}
}
{
CountdownTimerHasExpired_t4234756006 * L_12 = ((CountdownTimer_t636337431_StaticFields*)il2cpp_codegen_static_fields_for(CountdownTimer_t636337431_il2cpp_TypeInfo_var))->get_OnCountdownTimerHasExpired_6();
NullCheck(L_12);
CountdownTimerHasExpired_Invoke_m3227657710(L_12, /*hidden argument*/NULL);
}
IL_007b:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer::OnRoomPropertiesUpdate(ExitGames.Client.Photon.Hashtable)
extern "C" IL2CPP_METHOD_ATTR void CountdownTimer_OnRoomPropertiesUpdate_m491895390 (CountdownTimer_t636337431 * __this, Hashtable_t1048209202 * ___propertiesThatChanged0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CountdownTimer_OnRoomPropertiesUpdate_m491895390_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
Hashtable_t1048209202 * L_0 = ___propertiesThatChanged0;
NullCheck(L_0);
bool L_1 = Dictionary_2_TryGetValue_m3280774074(L_0, _stringLiteral3688549586, (RuntimeObject **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m3280774074_RuntimeMethod_var);
if (!L_1)
{
goto IL_0025;
}
}
{
__this->set_isTimerRunning_7((bool)1);
RuntimeObject * L_2 = V_0;
__this->set_startTime_8(((*(float*)((float*)UnBox(L_2, Single_t1397266774_il2cpp_TypeInfo_var)))));
}
IL_0025:
{
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
extern "C" void DelegatePInvokeWrapper_CountdownTimerHasExpired_t4234756006 (CountdownTimerHasExpired_t4234756006 * __this, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void CountdownTimerHasExpired__ctor_m686076766 (CountdownTimerHasExpired_t4234756006 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired::Invoke()
extern "C" IL2CPP_METHOD_ATTR void CountdownTimerHasExpired_Invoke_m3227657710 (CountdownTimerHasExpired_t4234756006 * __this, const RuntimeMethod* method)
{
if(__this->get_prev_9() != NULL)
{
CountdownTimerHasExpired_Invoke_m3227657710((CountdownTimerHasExpired_t4234756006 *)__this->get_prev_9(), method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 0)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, targetMethod);
}
}
}
else
{
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
else
GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
}
}
else
{
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
}
}
// System.IAsyncResult Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired::BeginInvoke(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* CountdownTimerHasExpired_BeginInvoke_m3507850619 (CountdownTimerHasExpired_t4234756006 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
{
void *__d_args[1] = {0};
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
}
// System.Void Photon.Pun.UtilityScripts.CountdownTimer/CountdownTimerHasExpired::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void CountdownTimerHasExpired_EndInvoke_m3697299237 (CountdownTimerHasExpired_t4234756006 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#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 Photon.Pun.UtilityScripts.CullArea::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CullArea__ctor_m3288008499 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullArea__ctor_m3288008499_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_FIRST_GROUP_ID_6((uint8_t)1);
Int32U5BU5D_t385246372* L_0 = (Int32U5BU5D_t385246372*)SZArrayNew(Int32U5BU5D_t385246372_il2cpp_TypeInfo_var, (uint32_t)4);
Int32U5BU5D_t385246372* L_1 = L_0;
RuntimeFieldHandle_t1871169219 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D8658990BAD6546E619D8A5C4F90BCF3F089E0953_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
__this->set_SUBDIVISION_FIRST_LEVEL_ORDER_7(L_1);
Int32U5BU5D_t385246372* L_3 = (Int32U5BU5D_t385246372*)SZArrayNew(Int32U5BU5D_t385246372_il2cpp_TypeInfo_var, (uint32_t)8);
Int32U5BU5D_t385246372* L_4 = L_3;
RuntimeFieldHandle_t1871169219 L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D739C505E9F0985CE1E08892BC46BE5E839FF061A_1_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
__this->set_SUBDIVISION_SECOND_LEVEL_ORDER_8(L_4);
Int32U5BU5D_t385246372* L_6 = (Int32U5BU5D_t385246372*)SZArrayNew(Int32U5BU5D_t385246372_il2cpp_TypeInfo_var, (uint32_t)((int32_t)12));
Int32U5BU5D_t385246372* L_7 = L_6;
RuntimeFieldHandle_t1871169219 L_8 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t3057255369____U24fieldU2D35FDBB6669F521B572D4AD71DD77E77F43C1B71B_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m3117905507(NULL /*static, unused*/, (RuntimeArray *)(RuntimeArray *)L_7, L_8, /*hidden argument*/NULL);
__this->set_SUBDIVISION_THIRD_LEVEL_ORDER_9(L_7);
Vector2_t2156229523 L_9;
memset(&L_9, 0, sizeof(L_9));
Vector2__ctor_m3970636864((&L_9), (25.0f), (25.0f), /*hidden argument*/NULL);
__this->set_Size_11(L_9);
Vector2U5BU5D_t1457185986* L_10 = (Vector2U5BU5D_t1457185986*)SZArrayNew(Vector2U5BU5D_t1457185986_il2cpp_TypeInfo_var, (uint32_t)3);
__this->set_Subdivisions_12(L_10);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Photon.Pun.UtilityScripts.CullArea::get_CellCount()
extern "C" IL2CPP_METHOD_ATTR int32_t CullArea_get_CellCount_m2088849471 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_U3CCellCountU3Ek__BackingField_14();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::set_CellCount(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CullArea_set_CellCount_m2212321111 (CullArea_t635391622 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set_U3CCellCountU3Ek__BackingField_14(L_0);
return;
}
}
// Photon.Pun.UtilityScripts.CellTree Photon.Pun.UtilityScripts.CullArea::get_CellTree()
extern "C" IL2CPP_METHOD_ATTR CellTree_t656254725 * CullArea_get_CellTree_m2775752518 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
CellTree_t656254725 * L_0 = __this->get_U3CCellTreeU3Ek__BackingField_15();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::set_CellTree(Photon.Pun.UtilityScripts.CellTree)
extern "C" IL2CPP_METHOD_ATTR void CullArea_set_CellTree_m2089538057 (CullArea_t635391622 * __this, CellTree_t656254725 * ___value0, const RuntimeMethod* method)
{
{
CellTree_t656254725 * L_0 = ___value0;
__this->set_U3CCellTreeU3Ek__BackingField_15(L_0);
return;
}
}
// System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GameObject> Photon.Pun.UtilityScripts.CullArea::get_Map()
extern "C" IL2CPP_METHOD_ATTR Dictionary_2_t2349950 * CullArea_get_Map_m621059783 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
Dictionary_2_t2349950 * L_0 = __this->get_U3CMapU3Ek__BackingField_16();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::set_Map(System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.GameObject>)
extern "C" IL2CPP_METHOD_ATTR void CullArea_set_Map_m1551754277 (CullArea_t635391622 * __this, Dictionary_2_t2349950 * ___value0, const RuntimeMethod* method)
{
{
Dictionary_2_t2349950 * L_0 = ___value0;
__this->set_U3CMapU3Ek__BackingField_16(L_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::Awake()
extern "C" IL2CPP_METHOD_ATTR void CullArea_Awake_m723124946 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_FIRST_GROUP_ID_6();
__this->set_idCounter_19(L_0);
CullArea_CreateCellHierarchy_m210888405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::OnDrawGizmos()
extern "C" IL2CPP_METHOD_ATTR void CullArea_OnDrawGizmos_m3172406945 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_FIRST_GROUP_ID_6();
__this->set_idCounter_19(L_0);
bool L_1 = __this->get_RecreateCellHierarchy_18();
if (!L_1)
{
goto IL_001d;
}
}
{
CullArea_CreateCellHierarchy_m210888405(__this, /*hidden argument*/NULL);
}
IL_001d:
{
CullArea_DrawCells_m2946382126(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::CreateCellHierarchy()
extern "C" IL2CPP_METHOD_ATTR void CullArea_CreateCellHierarchy_m210888405 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullArea_CreateCellHierarchy_m210888405_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
CellTreeNode_t3709723763 * V_0 = NULL;
uint8_t V_1 = 0x0;
Vector3_t3722313464 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t3722313464 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t3722313464 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t3722313464 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t3722313464 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t3722313464 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t3722313464 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector3_t3722313464 V_9;
memset(&V_9, 0, sizeof(V_9));
{
bool L_0 = CullArea_IsCellCountAllowed_m244104497(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0065;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
bool L_1 = Debug_get_isDebugBuild_m1389897688(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0060;
}
}
{
ObjectU5BU5D_t2843939325* L_2 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_t2843939325* L_3 = L_2;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral744485924);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteral744485924);
ObjectU5BU5D_t2843939325* L_4 = L_3;
uint8_t L_5 = __this->get_FIRST_GROUP_ID_6();
int32_t L_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)250), (int32_t)L_5));
RuntimeObject * L_7 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_6);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_7);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_7);
ObjectU5BU5D_t2843939325* L_8 = L_4;
NullCheck(L_8);
ArrayElementTypeCheck (L_8, _stringLiteral489363928);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral489363928);
ObjectU5BU5D_t2843939325* L_9 = L_8;
int32_t L_10 = CullArea_get_CellCount_m2088849471(__this, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_12);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_12);
ObjectU5BU5D_t2843939325* L_13 = L_9;
NullCheck(L_13);
ArrayElementTypeCheck (L_13, _stringLiteral3452614530);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral3452614530);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_14 = String_Concat_m2971454694(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogError_m2850623458(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
return;
}
IL_0060:
{
Application_Quit_m470877999(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0065:
{
uint8_t L_15 = __this->get_idCounter_19();
uint8_t L_16 = L_15;
V_1 = L_16;
__this->set_idCounter_19((uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1))))));
uint8_t L_17 = V_1;
CellTreeNode_t3709723763 * L_18 = (CellTreeNode_t3709723763 *)il2cpp_codegen_object_new(CellTreeNode_t3709723763_il2cpp_TypeInfo_var);
CellTreeNode__ctor_m3858456218(L_18, L_17, 0, (CellTreeNode_t3709723763 *)NULL, /*hidden argument*/NULL);
V_0 = L_18;
bool L_19 = __this->get_YIsUpAxis_17();
if (!L_19)
{
goto IL_01d3;
}
}
{
Transform_t3600365921 * L_20 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_20);
Vector3_t3722313464 L_21 = Transform_get_position_m36019626(L_20, /*hidden argument*/NULL);
V_2 = L_21;
float L_22 = (&V_2)->get_x_2();
Transform_t3600365921 * L_23 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_23);
Vector3_t3722313464 L_24 = Transform_get_position_m36019626(L_23, /*hidden argument*/NULL);
V_3 = L_24;
float L_25 = (&V_3)->get_y_3();
Vector2_t2156229523 L_26;
memset(&L_26, 0, sizeof(L_26));
Vector2__ctor_m3970636864((&L_26), L_22, L_25, /*hidden argument*/NULL);
__this->set_Center_10(L_26);
Transform_t3600365921 * L_27 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_27);
Vector3_t3722313464 L_28 = Transform_get_localScale_m129152068(L_27, /*hidden argument*/NULL);
V_4 = L_28;
float L_29 = (&V_4)->get_x_2();
Transform_t3600365921 * L_30 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_30);
Vector3_t3722313464 L_31 = Transform_get_localScale_m129152068(L_30, /*hidden argument*/NULL);
V_5 = L_31;
float L_32 = (&V_5)->get_y_3();
Vector2_t2156229523 L_33;
memset(&L_33, 0, sizeof(L_33));
Vector2__ctor_m3970636864((&L_33), L_29, L_32, /*hidden argument*/NULL);
__this->set_Size_11(L_33);
CellTreeNode_t3709723763 * L_34 = V_0;
Vector2_t2156229523 * L_35 = __this->get_address_of_Center_10();
float L_36 = L_35->get_x_0();
Vector2_t2156229523 * L_37 = __this->get_address_of_Center_10();
float L_38 = L_37->get_y_1();
Vector3_t3722313464 L_39;
memset(&L_39, 0, sizeof(L_39));
Vector3__ctor_m3353183577((&L_39), L_36, L_38, (0.0f), /*hidden argument*/NULL);
NullCheck(L_34);
L_34->set_Center_1(L_39);
CellTreeNode_t3709723763 * L_40 = V_0;
Vector2_t2156229523 * L_41 = __this->get_address_of_Size_11();
float L_42 = L_41->get_x_0();
Vector2_t2156229523 * L_43 = __this->get_address_of_Size_11();
float L_44 = L_43->get_y_1();
Vector3_t3722313464 L_45;
memset(&L_45, 0, sizeof(L_45));
Vector3__ctor_m3353183577((&L_45), L_42, L_44, (0.0f), /*hidden argument*/NULL);
NullCheck(L_40);
L_40->set_Size_2(L_45);
CellTreeNode_t3709723763 * L_46 = V_0;
Vector2_t2156229523 * L_47 = __this->get_address_of_Center_10();
float L_48 = L_47->get_x_0();
Vector2_t2156229523 * L_49 = __this->get_address_of_Size_11();
float L_50 = L_49->get_x_0();
Vector2_t2156229523 * L_51 = __this->get_address_of_Center_10();
float L_52 = L_51->get_y_1();
Vector2_t2156229523 * L_53 = __this->get_address_of_Size_11();
float L_54 = L_53->get_y_1();
Vector3_t3722313464 L_55;
memset(&L_55, 0, sizeof(L_55));
Vector3__ctor_m3353183577((&L_55), ((float)il2cpp_codegen_subtract((float)L_48, (float)((float)((float)L_50/(float)(2.0f))))), ((float)il2cpp_codegen_subtract((float)L_52, (float)((float)((float)L_54/(float)(2.0f))))), (0.0f), /*hidden argument*/NULL);
NullCheck(L_46);
L_46->set_TopLeft_3(L_55);
CellTreeNode_t3709723763 * L_56 = V_0;
Vector2_t2156229523 * L_57 = __this->get_address_of_Center_10();
float L_58 = L_57->get_x_0();
Vector2_t2156229523 * L_59 = __this->get_address_of_Size_11();
float L_60 = L_59->get_x_0();
Vector2_t2156229523 * L_61 = __this->get_address_of_Center_10();
float L_62 = L_61->get_y_1();
Vector2_t2156229523 * L_63 = __this->get_address_of_Size_11();
float L_64 = L_63->get_y_1();
Vector3_t3722313464 L_65;
memset(&L_65, 0, sizeof(L_65));
Vector3__ctor_m3353183577((&L_65), ((float)il2cpp_codegen_add((float)L_58, (float)((float)((float)L_60/(float)(2.0f))))), ((float)il2cpp_codegen_add((float)L_62, (float)((float)((float)L_64/(float)(2.0f))))), (0.0f), /*hidden argument*/NULL);
NullCheck(L_56);
L_56->set_BottomRight_4(L_65);
goto IL_0319;
}
IL_01d3:
{
Transform_t3600365921 * L_66 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_66);
Vector3_t3722313464 L_67 = Transform_get_position_m36019626(L_66, /*hidden argument*/NULL);
V_6 = L_67;
float L_68 = (&V_6)->get_x_2();
Transform_t3600365921 * L_69 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_69);
Vector3_t3722313464 L_70 = Transform_get_position_m36019626(L_69, /*hidden argument*/NULL);
V_7 = L_70;
float L_71 = (&V_7)->get_z_4();
Vector2_t2156229523 L_72;
memset(&L_72, 0, sizeof(L_72));
Vector2__ctor_m3970636864((&L_72), L_68, L_71, /*hidden argument*/NULL);
__this->set_Center_10(L_72);
Transform_t3600365921 * L_73 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_73);
Vector3_t3722313464 L_74 = Transform_get_localScale_m129152068(L_73, /*hidden argument*/NULL);
V_8 = L_74;
float L_75 = (&V_8)->get_x_2();
Transform_t3600365921 * L_76 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_76);
Vector3_t3722313464 L_77 = Transform_get_localScale_m129152068(L_76, /*hidden argument*/NULL);
V_9 = L_77;
float L_78 = (&V_9)->get_z_4();
Vector2_t2156229523 L_79;
memset(&L_79, 0, sizeof(L_79));
Vector2__ctor_m3970636864((&L_79), L_75, L_78, /*hidden argument*/NULL);
__this->set_Size_11(L_79);
CellTreeNode_t3709723763 * L_80 = V_0;
Vector2_t2156229523 * L_81 = __this->get_address_of_Center_10();
float L_82 = L_81->get_x_0();
Vector2_t2156229523 * L_83 = __this->get_address_of_Center_10();
float L_84 = L_83->get_y_1();
Vector3_t3722313464 L_85;
memset(&L_85, 0, sizeof(L_85));
Vector3__ctor_m3353183577((&L_85), L_82, (0.0f), L_84, /*hidden argument*/NULL);
NullCheck(L_80);
L_80->set_Center_1(L_85);
CellTreeNode_t3709723763 * L_86 = V_0;
Vector2_t2156229523 * L_87 = __this->get_address_of_Size_11();
float L_88 = L_87->get_x_0();
Vector2_t2156229523 * L_89 = __this->get_address_of_Size_11();
float L_90 = L_89->get_y_1();
Vector3_t3722313464 L_91;
memset(&L_91, 0, sizeof(L_91));
Vector3__ctor_m3353183577((&L_91), L_88, (0.0f), L_90, /*hidden argument*/NULL);
NullCheck(L_86);
L_86->set_Size_2(L_91);
CellTreeNode_t3709723763 * L_92 = V_0;
Vector2_t2156229523 * L_93 = __this->get_address_of_Center_10();
float L_94 = L_93->get_x_0();
Vector2_t2156229523 * L_95 = __this->get_address_of_Size_11();
float L_96 = L_95->get_x_0();
Vector2_t2156229523 * L_97 = __this->get_address_of_Center_10();
float L_98 = L_97->get_y_1();
Vector2_t2156229523 * L_99 = __this->get_address_of_Size_11();
float L_100 = L_99->get_y_1();
Vector3_t3722313464 L_101;
memset(&L_101, 0, sizeof(L_101));
Vector3__ctor_m3353183577((&L_101), ((float)il2cpp_codegen_subtract((float)L_94, (float)((float)((float)L_96/(float)(2.0f))))), (0.0f), ((float)il2cpp_codegen_subtract((float)L_98, (float)((float)((float)L_100/(float)(2.0f))))), /*hidden argument*/NULL);
NullCheck(L_92);
L_92->set_TopLeft_3(L_101);
CellTreeNode_t3709723763 * L_102 = V_0;
Vector2_t2156229523 * L_103 = __this->get_address_of_Center_10();
float L_104 = L_103->get_x_0();
Vector2_t2156229523 * L_105 = __this->get_address_of_Size_11();
float L_106 = L_105->get_x_0();
Vector2_t2156229523 * L_107 = __this->get_address_of_Center_10();
float L_108 = L_107->get_y_1();
Vector2_t2156229523 * L_109 = __this->get_address_of_Size_11();
float L_110 = L_109->get_y_1();
Vector3_t3722313464 L_111;
memset(&L_111, 0, sizeof(L_111));
Vector3__ctor_m3353183577((&L_111), ((float)il2cpp_codegen_add((float)L_104, (float)((float)((float)L_106/(float)(2.0f))))), (0.0f), ((float)il2cpp_codegen_add((float)L_108, (float)((float)((float)L_110/(float)(2.0f))))), /*hidden argument*/NULL);
NullCheck(L_102);
L_102->set_BottomRight_4(L_111);
}
IL_0319:
{
CellTreeNode_t3709723763 * L_112 = V_0;
CullArea_CreateChildCells_m2624996668(__this, L_112, 1, /*hidden argument*/NULL);
CellTreeNode_t3709723763 * L_113 = V_0;
CellTree_t656254725 * L_114 = (CellTree_t656254725 *)il2cpp_codegen_object_new(CellTree_t656254725_il2cpp_TypeInfo_var);
CellTree__ctor_m4241260258(L_114, L_113, /*hidden argument*/NULL);
CullArea_set_CellTree_m2089538057(__this, L_114, /*hidden argument*/NULL);
__this->set_RecreateCellHierarchy_18((bool)0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::CreateChildCells(Photon.Pun.UtilityScripts.CellTreeNode,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void CullArea_CreateChildCells_m2624996668 (CullArea_t635391622 * __this, CellTreeNode_t3709723763 * ___parent0, int32_t ___cellLevelInHierarchy1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullArea_CreateChildCells_m2624996668_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
float V_2 = 0.0f;
float V_3 = 0.0f;
int32_t V_4 = 0;
int32_t V_5 = 0;
float V_6 = 0.0f;
CellTreeNode_t3709723763 * V_7 = NULL;
uint8_t V_8 = 0x0;
float V_9 = 0.0f;
float V_10 = 0.0f;
float V_11 = 0.0f;
float V_12 = 0.0f;
float V_13 = 0.0f;
float V_14 = 0.0f;
uint8_t G_B6_0 = 0x0;
uint8_t G_B5_0 = 0x0;
int32_t G_B7_0 = 0;
uint8_t G_B7_1 = 0x0;
{
int32_t L_0 = ___cellLevelInHierarchy1;
int32_t L_1 = __this->get_NumberOfSubdivisions_13();
if ((((int32_t)L_0) <= ((int32_t)L_1)))
{
goto IL_000d;
}
}
{
return;
}
IL_000d:
{
Vector2U5BU5D_t1457185986* L_2 = __this->get_Subdivisions_12();
int32_t L_3 = ___cellLevelInHierarchy1;
NullCheck(L_2);
float L_4 = ((L_2)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1)))))->get_x_0();
V_0 = (((int32_t)((int32_t)L_4)));
Vector2U5BU5D_t1457185986* L_5 = __this->get_Subdivisions_12();
int32_t L_6 = ___cellLevelInHierarchy1;
NullCheck(L_5);
float L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)1)))))->get_y_1();
V_1 = (((int32_t)((int32_t)L_7)));
CellTreeNode_t3709723763 * L_8 = ___parent0;
NullCheck(L_8);
Vector3_t3722313464 * L_9 = L_8->get_address_of_Center_1();
float L_10 = L_9->get_x_2();
CellTreeNode_t3709723763 * L_11 = ___parent0;
NullCheck(L_11);
Vector3_t3722313464 * L_12 = L_11->get_address_of_Size_2();
float L_13 = L_12->get_x_2();
V_2 = ((float)il2cpp_codegen_subtract((float)L_10, (float)((float)((float)L_13/(float)(2.0f)))));
CellTreeNode_t3709723763 * L_14 = ___parent0;
NullCheck(L_14);
Vector3_t3722313464 * L_15 = L_14->get_address_of_Size_2();
float L_16 = L_15->get_x_2();
int32_t L_17 = V_0;
V_3 = ((float)((float)L_16/(float)(((float)((float)L_17)))));
V_4 = 0;
goto IL_025b;
}
IL_006c:
{
V_5 = 0;
goto IL_024d;
}
IL_0074:
{
float L_18 = V_2;
int32_t L_19 = V_4;
float L_20 = V_3;
float L_21 = V_3;
V_6 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_18, (float)((float)il2cpp_codegen_multiply((float)(((float)((float)L_19))), (float)L_20)))), (float)((float)((float)L_21/(float)(2.0f)))));
uint8_t L_22 = __this->get_idCounter_19();
uint8_t L_23 = L_22;
V_8 = L_23;
__this->set_idCounter_19((uint8_t)(((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)1))))));
uint8_t L_24 = V_8;
int32_t L_25 = __this->get_NumberOfSubdivisions_13();
int32_t L_26 = ___cellLevelInHierarchy1;
G_B5_0 = L_24;
if ((!(((uint32_t)L_25) == ((uint32_t)L_26))))
{
G_B6_0 = L_24;
goto IL_00ab;
}
}
{
G_B7_0 = 2;
G_B7_1 = G_B5_0;
goto IL_00ac;
}
IL_00ab:
{
G_B7_0 = 1;
G_B7_1 = G_B6_0;
}
IL_00ac:
{
CellTreeNode_t3709723763 * L_27 = ___parent0;
CellTreeNode_t3709723763 * L_28 = (CellTreeNode_t3709723763 *)il2cpp_codegen_object_new(CellTreeNode_t3709723763_il2cpp_TypeInfo_var);
CellTreeNode__ctor_m3858456218(L_28, G_B7_1, G_B7_0, L_27, /*hidden argument*/NULL);
V_7 = L_28;
bool L_29 = __this->get_YIsUpAxis_17();
if (!L_29)
{
goto IL_017c;
}
}
{
CellTreeNode_t3709723763 * L_30 = ___parent0;
NullCheck(L_30);
Vector3_t3722313464 * L_31 = L_30->get_address_of_Center_1();
float L_32 = L_31->get_y_3();
CellTreeNode_t3709723763 * L_33 = ___parent0;
NullCheck(L_33);
Vector3_t3722313464 * L_34 = L_33->get_address_of_Size_2();
float L_35 = L_34->get_y_3();
V_9 = ((float)il2cpp_codegen_subtract((float)L_32, (float)((float)((float)L_35/(float)(2.0f)))));
CellTreeNode_t3709723763 * L_36 = ___parent0;
NullCheck(L_36);
Vector3_t3722313464 * L_37 = L_36->get_address_of_Size_2();
float L_38 = L_37->get_y_3();
int32_t L_39 = V_1;
V_10 = ((float)((float)L_38/(float)(((float)((float)L_39)))));
float L_40 = V_9;
int32_t L_41 = V_5;
float L_42 = V_10;
float L_43 = V_10;
V_11 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_40, (float)((float)il2cpp_codegen_multiply((float)(((float)((float)L_41))), (float)L_42)))), (float)((float)((float)L_43/(float)(2.0f)))));
CellTreeNode_t3709723763 * L_44 = V_7;
float L_45 = V_6;
float L_46 = V_11;
Vector3_t3722313464 L_47;
memset(&L_47, 0, sizeof(L_47));
Vector3__ctor_m3353183577((&L_47), L_45, L_46, (0.0f), /*hidden argument*/NULL);
NullCheck(L_44);
L_44->set_Center_1(L_47);
CellTreeNode_t3709723763 * L_48 = V_7;
float L_49 = V_3;
float L_50 = V_10;
Vector3_t3722313464 L_51;
memset(&L_51, 0, sizeof(L_51));
Vector3__ctor_m3353183577((&L_51), L_49, L_50, (0.0f), /*hidden argument*/NULL);
NullCheck(L_48);
L_48->set_Size_2(L_51);
CellTreeNode_t3709723763 * L_52 = V_7;
float L_53 = V_6;
float L_54 = V_3;
float L_55 = V_11;
float L_56 = V_10;
Vector3_t3722313464 L_57;
memset(&L_57, 0, sizeof(L_57));
Vector3__ctor_m3353183577((&L_57), ((float)il2cpp_codegen_subtract((float)L_53, (float)((float)((float)L_54/(float)(2.0f))))), ((float)il2cpp_codegen_subtract((float)L_55, (float)((float)((float)L_56/(float)(2.0f))))), (0.0f), /*hidden argument*/NULL);
NullCheck(L_52);
L_52->set_TopLeft_3(L_57);
CellTreeNode_t3709723763 * L_58 = V_7;
float L_59 = V_6;
float L_60 = V_3;
float L_61 = V_11;
float L_62 = V_10;
Vector3_t3722313464 L_63;
memset(&L_63, 0, sizeof(L_63));
Vector3__ctor_m3353183577((&L_63), ((float)il2cpp_codegen_add((float)L_59, (float)((float)((float)L_60/(float)(2.0f))))), ((float)il2cpp_codegen_add((float)L_61, (float)((float)((float)L_62/(float)(2.0f))))), (0.0f), /*hidden argument*/NULL);
NullCheck(L_58);
L_58->set_BottomRight_4(L_63);
goto IL_0234;
}
IL_017c:
{
CellTreeNode_t3709723763 * L_64 = ___parent0;
NullCheck(L_64);
Vector3_t3722313464 * L_65 = L_64->get_address_of_Center_1();
float L_66 = L_65->get_z_4();
CellTreeNode_t3709723763 * L_67 = ___parent0;
NullCheck(L_67);
Vector3_t3722313464 * L_68 = L_67->get_address_of_Size_2();
float L_69 = L_68->get_z_4();
V_12 = ((float)il2cpp_codegen_subtract((float)L_66, (float)((float)((float)L_69/(float)(2.0f)))));
CellTreeNode_t3709723763 * L_70 = ___parent0;
NullCheck(L_70);
Vector3_t3722313464 * L_71 = L_70->get_address_of_Size_2();
float L_72 = L_71->get_z_4();
int32_t L_73 = V_1;
V_13 = ((float)((float)L_72/(float)(((float)((float)L_73)))));
float L_74 = V_12;
int32_t L_75 = V_5;
float L_76 = V_13;
float L_77 = V_13;
V_14 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)L_74, (float)((float)il2cpp_codegen_multiply((float)(((float)((float)L_75))), (float)L_76)))), (float)((float)((float)L_77/(float)(2.0f)))));
CellTreeNode_t3709723763 * L_78 = V_7;
float L_79 = V_6;
float L_80 = V_14;
Vector3_t3722313464 L_81;
memset(&L_81, 0, sizeof(L_81));
Vector3__ctor_m3353183577((&L_81), L_79, (0.0f), L_80, /*hidden argument*/NULL);
NullCheck(L_78);
L_78->set_Center_1(L_81);
CellTreeNode_t3709723763 * L_82 = V_7;
float L_83 = V_3;
float L_84 = V_13;
Vector3_t3722313464 L_85;
memset(&L_85, 0, sizeof(L_85));
Vector3__ctor_m3353183577((&L_85), L_83, (0.0f), L_84, /*hidden argument*/NULL);
NullCheck(L_82);
L_82->set_Size_2(L_85);
CellTreeNode_t3709723763 * L_86 = V_7;
float L_87 = V_6;
float L_88 = V_3;
float L_89 = V_14;
float L_90 = V_13;
Vector3_t3722313464 L_91;
memset(&L_91, 0, sizeof(L_91));
Vector3__ctor_m3353183577((&L_91), ((float)il2cpp_codegen_subtract((float)L_87, (float)((float)((float)L_88/(float)(2.0f))))), (0.0f), ((float)il2cpp_codegen_subtract((float)L_89, (float)((float)((float)L_90/(float)(2.0f))))), /*hidden argument*/NULL);
NullCheck(L_86);
L_86->set_TopLeft_3(L_91);
CellTreeNode_t3709723763 * L_92 = V_7;
float L_93 = V_6;
float L_94 = V_3;
float L_95 = V_14;
float L_96 = V_13;
Vector3_t3722313464 L_97;
memset(&L_97, 0, sizeof(L_97));
Vector3__ctor_m3353183577((&L_97), ((float)il2cpp_codegen_add((float)L_93, (float)((float)((float)L_94/(float)(2.0f))))), (0.0f), ((float)il2cpp_codegen_add((float)L_95, (float)((float)((float)L_96/(float)(2.0f))))), /*hidden argument*/NULL);
NullCheck(L_92);
L_92->set_BottomRight_4(L_97);
}
IL_0234:
{
CellTreeNode_t3709723763 * L_98 = ___parent0;
CellTreeNode_t3709723763 * L_99 = V_7;
NullCheck(L_98);
CellTreeNode_AddChild_m4144798801(L_98, L_99, /*hidden argument*/NULL);
CellTreeNode_t3709723763 * L_100 = V_7;
int32_t L_101 = ___cellLevelInHierarchy1;
CullArea_CreateChildCells_m2624996668(__this, L_100, ((int32_t)il2cpp_codegen_add((int32_t)L_101, (int32_t)1)), /*hidden argument*/NULL);
int32_t L_102 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_102, (int32_t)1));
}
IL_024d:
{
int32_t L_103 = V_5;
int32_t L_104 = V_1;
if ((((int32_t)L_103) < ((int32_t)L_104)))
{
goto IL_0074;
}
}
{
int32_t L_105 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_105, (int32_t)1));
}
IL_025b:
{
int32_t L_106 = V_4;
int32_t L_107 = V_0;
if ((((int32_t)L_106) < ((int32_t)L_107)))
{
goto IL_006c;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullArea::DrawCells()
extern "C" IL2CPP_METHOD_ATTR void CullArea_DrawCells_m2946382126 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
{
CellTree_t656254725 * L_0 = CullArea_get_CellTree_m2775752518(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0030;
}
}
{
CellTree_t656254725 * L_1 = CullArea_get_CellTree_m2775752518(__this, /*hidden argument*/NULL);
NullCheck(L_1);
CellTreeNode_t3709723763 * L_2 = CellTree_get_RootNode_m124022160(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0030;
}
}
{
CellTree_t656254725 * L_3 = CullArea_get_CellTree_m2775752518(__this, /*hidden argument*/NULL);
NullCheck(L_3);
CellTreeNode_t3709723763 * L_4 = CellTree_get_RootNode_m124022160(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
CellTreeNode_Draw_m3450500319(L_4, /*hidden argument*/NULL);
goto IL_0037;
}
IL_0030:
{
__this->set_RecreateCellHierarchy_18((bool)1);
}
IL_0037:
{
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.CullArea::IsCellCountAllowed()
extern "C" IL2CPP_METHOD_ATTR bool CullArea_IsCellCountAllowed_m244104497 (CullArea_t635391622 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
Vector2_t2156229523 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2U5BU5D_t1457185986* V_3 = NULL;
int32_t V_4 = 0;
{
V_0 = 1;
V_1 = 1;
Vector2U5BU5D_t1457185986* L_0 = __this->get_Subdivisions_12();
V_3 = L_0;
V_4 = 0;
goto IL_003d;
}
IL_0013:
{
Vector2U5BU5D_t1457185986* L_1 = V_3;
int32_t L_2 = V_4;
NullCheck(L_1);
V_2 = (*(Vector2_t2156229523 *)((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2))));
int32_t L_3 = V_0;
float L_4 = (&V_2)->get_x_0();
V_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)L_3, (int32_t)(((int32_t)((int32_t)L_4)))));
int32_t L_5 = V_1;
float L_6 = (&V_2)->get_y_1();
V_1 = ((int32_t)il2cpp_codegen_multiply((int32_t)L_5, (int32_t)(((int32_t)((int32_t)L_6)))));
int32_t L_7 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
}
IL_003d:
{
int32_t L_8 = V_4;
Vector2U5BU5D_t1457185986* L_9 = V_3;
NullCheck(L_9);
if ((((int32_t)L_8) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_9)->max_length)))))))
{
goto IL_0013;
}
}
{
int32_t L_10 = V_0;
int32_t L_11 = V_1;
CullArea_set_CellCount_m2212321111(__this, ((int32_t)il2cpp_codegen_multiply((int32_t)L_10, (int32_t)L_11)), /*hidden argument*/NULL);
int32_t L_12 = CullArea_get_CellCount_m2088849471(__this, /*hidden argument*/NULL);
uint8_t L_13 = __this->get_FIRST_GROUP_ID_6();
return (bool)((((int32_t)((((int32_t)L_12) > ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)250), (int32_t)L_13))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Collections.Generic.List`1<System.Byte> Photon.Pun.UtilityScripts.CullArea::GetActiveCells(UnityEngine.Vector3)
extern "C" IL2CPP_METHOD_ATTR List_1_t2606371118 * CullArea_GetActiveCells_m3422485057 (CullArea_t635391622 * __this, Vector3_t3722313464 ___position0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullArea_GetActiveCells_m3422485057_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t2606371118 * V_0 = NULL;
{
List_1_t2606371118 * L_0 = (List_1_t2606371118 *)il2cpp_codegen_object_new(List_1_t2606371118_il2cpp_TypeInfo_var);
List_1__ctor_m2754258052(L_0, 0, /*hidden argument*/List_1__ctor_m2754258052_RuntimeMethod_var);
V_0 = L_0;
CellTree_t656254725 * L_1 = CullArea_get_CellTree_m2775752518(__this, /*hidden argument*/NULL);
NullCheck(L_1);
CellTreeNode_t3709723763 * L_2 = CellTree_get_RootNode_m124022160(L_1, /*hidden argument*/NULL);
List_1_t2606371118 * L_3 = V_0;
bool L_4 = __this->get_YIsUpAxis_17();
Vector3_t3722313464 L_5 = ___position0;
NullCheck(L_2);
CellTreeNode_GetActiveCells_m131210235(L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
List_1_t2606371118 * L_6 = V_0;
return L_6;
}
}
#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 Photon.Pun.UtilityScripts.CullingHandler::.ctor()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler__ctor_m3926717147 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_OnEnable_m945045169 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_OnEnable_m945045169_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t3722313464 V_0;
memset(&V_0, 0, sizeof(V_0));
{
PhotonView_t3684715584 * L_0 = __this->get_pView_8();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002e;
}
}
{
PhotonView_t3684715584 * L_2 = Component_GetComponent_TisPhotonView_t3684715584_m2959291925(__this, /*hidden argument*/Component_GetComponent_TisPhotonView_t3684715584_m2959291925_RuntimeMethod_var);
__this->set_pView_8(L_2);
PhotonView_t3684715584 * L_3 = __this->get_pView_8();
NullCheck(L_3);
bool L_4 = PhotonView_get_IsMine_m210517380(L_3, /*hidden argument*/NULL);
if (L_4)
{
goto IL_002e;
}
}
{
return;
}
IL_002e:
{
CullArea_t635391622 * L_5 = __this->get_cullArea_5();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_5, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
CullArea_t635391622 * L_7 = Object_FindObjectOfType_TisCullArea_t635391622_m2204414486(NULL /*static, unused*/, /*hidden argument*/Object_FindObjectOfType_TisCullArea_t635391622_m2204414486_RuntimeMethod_var);
__this->set_cullArea_5(L_7);
}
IL_004a:
{
List_1_t2606371118 * L_8 = (List_1_t2606371118 *)il2cpp_codegen_object_new(List_1_t2606371118_il2cpp_TypeInfo_var);
List_1__ctor_m2754258052(L_8, 0, /*hidden argument*/List_1__ctor_m2754258052_RuntimeMethod_var);
__this->set_previousActiveCells_6(L_8);
List_1_t2606371118 * L_9 = (List_1_t2606371118 *)il2cpp_codegen_object_new(List_1_t2606371118_il2cpp_TypeInfo_var);
List_1__ctor_m2754258052(L_9, 0, /*hidden argument*/List_1__ctor_m2754258052_RuntimeMethod_var);
__this->set_activeCells_7(L_9);
Transform_t3600365921 * L_10 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_10);
Vector3_t3722313464 L_11 = Transform_get_position_m36019626(L_10, /*hidden argument*/NULL);
Vector3_t3722313464 L_12 = L_11;
V_0 = L_12;
__this->set_lastPosition_9(L_12);
Vector3_t3722313464 L_13 = V_0;
__this->set_currentPosition_10(L_13);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::Start()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_Start_m621240527 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_Start_m621240527_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PhotonView_t3684715584 * L_0 = __this->get_pView_8();
NullCheck(L_0);
bool L_1 = PhotonView_get_IsMine_m210517380(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0011;
}
}
{
return;
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_2 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0068;
}
}
{
CullArea_t635391622 * L_3 = __this->get_cullArea_5();
NullCheck(L_3);
int32_t L_4 = L_3->get_NumberOfSubdivisions_13();
if (L_4)
{
goto IL_0057;
}
}
{
PhotonView_t3684715584 * L_5 = __this->get_pView_8();
CullArea_t635391622 * L_6 = __this->get_cullArea_5();
NullCheck(L_6);
uint8_t L_7 = L_6->get_FIRST_GROUP_ID_6();
NullCheck(L_5);
L_5->set_Group_5(L_7);
CullArea_t635391622 * L_8 = __this->get_cullArea_5();
NullCheck(L_8);
uint8_t L_9 = L_8->get_FIRST_GROUP_ID_6();
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_SetInterestGroups_m1591525762(NULL /*static, unused*/, L_9, (bool)1, /*hidden argument*/NULL);
goto IL_0068;
}
IL_0057:
{
PhotonView_t3684715584 * L_10 = __this->get_pView_8();
NullCheck(L_10);
List_1_t3395709193 * L_11 = L_10->get_ObservedComponents_15();
NullCheck(L_11);
List_1_Add_m1912247451(L_11, __this, /*hidden argument*/List_1_Add_m1912247451_RuntimeMethod_var);
}
IL_0068:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::Update()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_Update_m2854085633 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_Update_m2854085633_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PhotonView_t3684715584 * L_0 = __this->get_pView_8();
NullCheck(L_0);
bool L_1 = PhotonView_get_IsMine_m210517380(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0011;
}
}
{
return;
}
IL_0011:
{
Vector3_t3722313464 L_2 = __this->get_currentPosition_10();
__this->set_lastPosition_9(L_2);
Transform_t3600365921 * L_3 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_3);
Vector3_t3722313464 L_4 = Transform_get_position_m36019626(L_3, /*hidden argument*/NULL);
__this->set_currentPosition_10(L_4);
Vector3_t3722313464 L_5 = __this->get_currentPosition_10();
Vector3_t3722313464 L_6 = __this->get_lastPosition_9();
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
bool L_7 = Vector3_op_Inequality_m315980366(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0055;
}
}
{
bool L_8 = CullingHandler_HaveActiveCellsChanged_m598046573(__this, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0055;
}
}
{
CullingHandler_UpdateInterestGroups_m1842924977(__this, /*hidden argument*/NULL);
}
IL_0055:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::OnGUI()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_OnGUI_m718030668 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_OnGUI_m718030668_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
String_t* V_1 = NULL;
int32_t V_2 = 0;
GUIStyle_t3956901511 * V_3 = NULL;
{
PhotonView_t3684715584 * L_0 = __this->get_pView_8();
NullCheck(L_0);
bool L_1 = PhotonView_get_IsMine_m210517380(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0011;
}
}
{
return;
}
IL_0011:
{
V_0 = _stringLiteral3546935536;
V_1 = _stringLiteral667689730;
V_2 = 0;
goto IL_0073;
}
IL_0024:
{
int32_t L_2 = V_2;
CullArea_t635391622 * L_3 = __this->get_cullArea_5();
NullCheck(L_3);
int32_t L_4 = L_3->get_NumberOfSubdivisions_13();
if ((((int32_t)L_2) > ((int32_t)L_4)))
{
goto IL_0052;
}
}
{
String_t* L_5 = V_0;
List_1_t2606371118 * L_6 = __this->get_activeCells_7();
int32_t L_7 = V_2;
NullCheck(L_6);
uint8_t L_8 = List_1_get_Item_m3131675103(L_6, L_7, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_9);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_11 = String_Concat_m1715369213(NULL /*static, unused*/, L_5, L_10, _stringLiteral3791560906, /*hidden argument*/NULL);
V_0 = L_11;
}
IL_0052:
{
String_t* L_12 = V_1;
List_1_t2606371118 * L_13 = __this->get_activeCells_7();
int32_t L_14 = V_2;
NullCheck(L_13);
uint8_t L_15 = List_1_get_Item_m3131675103(L_13, L_14, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
uint8_t L_16 = L_15;
RuntimeObject * L_17 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_16);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_18 = String_Concat_m1715369213(NULL /*static, unused*/, L_12, L_17, _stringLiteral3791560906, /*hidden argument*/NULL);
V_1 = L_18;
int32_t L_19 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
}
IL_0073:
{
int32_t L_20 = V_2;
List_1_t2606371118 * L_21 = __this->get_activeCells_7();
NullCheck(L_21);
int32_t L_22 = List_1_get_Count_m1724015548(L_21, /*hidden argument*/List_1_get_Count_m1724015548_RuntimeMethod_var);
if ((((int32_t)L_20) < ((int32_t)L_22)))
{
goto IL_0024;
}
}
{
int32_t L_23 = Screen_get_height_m1623532518(NULL /*static, unused*/, /*hidden argument*/NULL);
Rect_t2360479859 L_24;
memset(&L_24, 0, sizeof(L_24));
Rect__ctor_m2614021312((&L_24), (20.0f), ((float)il2cpp_codegen_subtract((float)(((float)((float)L_23))), (float)(120.0f))), (200.0f), (40.0f), /*hidden argument*/NULL);
PhotonView_t3684715584 * L_25 = __this->get_pView_8();
NullCheck(L_25);
uint8_t L_26 = L_25->get_Group_5();
uint8_t L_27 = L_26;
RuntimeObject * L_28 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_27);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_29 = String_Concat_m1715369213(NULL /*static, unused*/, _stringLiteral410293404, L_28, _stringLiteral2642543365, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_30 = (GUIStyle_t3956901511 *)il2cpp_codegen_object_new(GUIStyle_t3956901511_il2cpp_TypeInfo_var);
GUIStyle__ctor_m4038363858(L_30, /*hidden argument*/NULL);
V_3 = L_30;
GUIStyle_t3956901511 * L_31 = V_3;
NullCheck(L_31);
GUIStyle_set_alignment_m3944619660(L_31, 0, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_32 = V_3;
NullCheck(L_32);
GUIStyle_set_fontSize_m1566850023(L_32, ((int32_t)16), /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_33 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(GUI_t1624858472_il2cpp_TypeInfo_var);
GUI_Label_m2420537077(NULL /*static, unused*/, L_24, L_29, L_33, /*hidden argument*/NULL);
int32_t L_34 = Screen_get_height_m1623532518(NULL /*static, unused*/, /*hidden argument*/NULL);
Rect_t2360479859 L_35;
memset(&L_35, 0, sizeof(L_35));
Rect__ctor_m2614021312((&L_35), (20.0f), ((float)il2cpp_codegen_subtract((float)(((float)((float)L_34))), (float)(100.0f))), (200.0f), (40.0f), /*hidden argument*/NULL);
String_t* L_36 = V_0;
String_t* L_37 = String_Concat_m3755062657(NULL /*static, unused*/, _stringLiteral2927055467, L_36, _stringLiteral2642543365, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_38 = (GUIStyle_t3956901511 *)il2cpp_codegen_object_new(GUIStyle_t3956901511_il2cpp_TypeInfo_var);
GUIStyle__ctor_m4038363858(L_38, /*hidden argument*/NULL);
V_3 = L_38;
GUIStyle_t3956901511 * L_39 = V_3;
NullCheck(L_39);
GUIStyle_set_alignment_m3944619660(L_39, 0, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_40 = V_3;
NullCheck(L_40);
GUIStyle_set_fontSize_m1566850023(L_40, ((int32_t)16), /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_41 = V_3;
GUI_Label_m2420537077(NULL /*static, unused*/, L_35, L_37, L_41, /*hidden argument*/NULL);
int32_t L_42 = Screen_get_height_m1623532518(NULL /*static, unused*/, /*hidden argument*/NULL);
Rect_t2360479859 L_43;
memset(&L_43, 0, sizeof(L_43));
Rect__ctor_m2614021312((&L_43), (20.0f), ((float)il2cpp_codegen_subtract((float)(((float)((float)L_42))), (float)(60.0f))), (200.0f), (40.0f), /*hidden argument*/NULL);
String_t* L_44 = V_1;
String_t* L_45 = String_Concat_m3755062657(NULL /*static, unused*/, _stringLiteral2927055467, L_44, _stringLiteral2642543365, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_46 = (GUIStyle_t3956901511 *)il2cpp_codegen_object_new(GUIStyle_t3956901511_il2cpp_TypeInfo_var);
GUIStyle__ctor_m4038363858(L_46, /*hidden argument*/NULL);
V_3 = L_46;
GUIStyle_t3956901511 * L_47 = V_3;
NullCheck(L_47);
GUIStyle_set_alignment_m3944619660(L_47, 0, /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_48 = V_3;
NullCheck(L_48);
GUIStyle_set_fontSize_m1566850023(L_48, ((int32_t)16), /*hidden argument*/NULL);
GUIStyle_t3956901511 * L_49 = V_3;
GUI_Label_m2420537077(NULL /*static, unused*/, L_43, L_45, L_49, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.CullingHandler::HaveActiveCellsChanged()
extern "C" IL2CPP_METHOD_ATTR bool CullingHandler_HaveActiveCellsChanged_m598046573 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_HaveActiveCellsChanged_m598046573_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
CullArea_t635391622 * L_0 = __this->get_cullArea_5();
NullCheck(L_0);
int32_t L_1 = L_0->get_NumberOfSubdivisions_13();
if (L_1)
{
goto IL_0012;
}
}
{
return (bool)0;
}
IL_0012:
{
List_1_t2606371118 * L_2 = __this->get_activeCells_7();
List_1_t2606371118 * L_3 = (List_1_t2606371118 *)il2cpp_codegen_object_new(List_1_t2606371118_il2cpp_TypeInfo_var);
List_1__ctor_m2987814451(L_3, L_2, /*hidden argument*/List_1__ctor_m2987814451_RuntimeMethod_var);
__this->set_previousActiveCells_6(L_3);
CullArea_t635391622 * L_4 = __this->get_cullArea_5();
Transform_t3600365921 * L_5 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_5);
Vector3_t3722313464 L_6 = Transform_get_position_m36019626(L_5, /*hidden argument*/NULL);
NullCheck(L_4);
List_1_t2606371118 * L_7 = CullArea_GetActiveCells_m3422485057(L_4, L_6, /*hidden argument*/NULL);
__this->set_activeCells_7(L_7);
goto IL_005a;
}
IL_0044:
{
List_1_t2606371118 * L_8 = __this->get_activeCells_7();
CullArea_t635391622 * L_9 = __this->get_cullArea_5();
NullCheck(L_9);
uint8_t L_10 = L_9->get_FIRST_GROUP_ID_6();
NullCheck(L_8);
List_1_Add_m3890707704(L_8, L_10, /*hidden argument*/List_1_Add_m3890707704_RuntimeMethod_var);
}
IL_005a:
{
List_1_t2606371118 * L_11 = __this->get_activeCells_7();
NullCheck(L_11);
int32_t L_12 = List_1_get_Count_m1724015548(L_11, /*hidden argument*/List_1_get_Count_m1724015548_RuntimeMethod_var);
CullArea_t635391622 * L_13 = __this->get_cullArea_5();
NullCheck(L_13);
int32_t L_14 = L_13->get_NumberOfSubdivisions_13();
if ((((int32_t)L_12) <= ((int32_t)L_14)))
{
goto IL_0044;
}
}
{
List_1_t2606371118 * L_15 = __this->get_activeCells_7();
NullCheck(L_15);
int32_t L_16 = List_1_get_Count_m1724015548(L_15, /*hidden argument*/List_1_get_Count_m1724015548_RuntimeMethod_var);
List_1_t2606371118 * L_17 = __this->get_previousActiveCells_6();
NullCheck(L_17);
int32_t L_18 = List_1_get_Count_m1724015548(L_17, /*hidden argument*/List_1_get_Count_m1724015548_RuntimeMethod_var);
if ((((int32_t)L_16) == ((int32_t)L_18)))
{
goto IL_0092;
}
}
{
return (bool)1;
}
IL_0092:
{
List_1_t2606371118 * L_19 = __this->get_activeCells_7();
CullArea_t635391622 * L_20 = __this->get_cullArea_5();
NullCheck(L_20);
int32_t L_21 = L_20->get_NumberOfSubdivisions_13();
NullCheck(L_19);
uint8_t L_22 = List_1_get_Item_m3131675103(L_19, L_21, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
List_1_t2606371118 * L_23 = __this->get_previousActiveCells_6();
CullArea_t635391622 * L_24 = __this->get_cullArea_5();
NullCheck(L_24);
int32_t L_25 = L_24->get_NumberOfSubdivisions_13();
NullCheck(L_23);
uint8_t L_26 = List_1_get_Item_m3131675103(L_23, L_25, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
if ((((int32_t)L_22) == ((int32_t)L_26)))
{
goto IL_00c5;
}
}
{
return (bool)1;
}
IL_00c5:
{
return (bool)0;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::UpdateInterestGroups()
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_UpdateInterestGroups_m1842924977 (CullingHandler_t4282308608 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_UpdateInterestGroups_m1842924977_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t2606371118 * V_0 = NULL;
uint8_t V_1 = 0x0;
Enumerator_t200647699 V_2;
memset(&V_2, 0, sizeof(V_2));
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 = -1;
NO_UNUSED_WARNING (__leave_target);
{
List_1_t2606371118 * L_0 = (List_1_t2606371118 *)il2cpp_codegen_object_new(List_1_t2606371118_il2cpp_TypeInfo_var);
List_1__ctor_m2754258052(L_0, 0, /*hidden argument*/List_1__ctor_m2754258052_RuntimeMethod_var);
V_0 = L_0;
List_1_t2606371118 * L_1 = __this->get_previousActiveCells_6();
NullCheck(L_1);
Enumerator_t200647699 L_2 = List_1_GetEnumerator_m1539921157(L_1, /*hidden argument*/List_1_GetEnumerator_m1539921157_RuntimeMethod_var);
V_2 = L_2;
}
IL_0013:
try
{ // begin try (depth: 1)
{
goto IL_0038;
}
IL_0018:
{
uint8_t L_3 = Enumerator_get_Current_m1363080909((Enumerator_t200647699 *)(&V_2), /*hidden argument*/Enumerator_get_Current_m1363080909_RuntimeMethod_var);
V_1 = L_3;
List_1_t2606371118 * L_4 = __this->get_activeCells_7();
uint8_t L_5 = V_1;
NullCheck(L_4);
bool L_6 = List_1_Contains_m22698353(L_4, L_5, /*hidden argument*/List_1_Contains_m22698353_RuntimeMethod_var);
if (L_6)
{
goto IL_0038;
}
}
IL_0031:
{
List_1_t2606371118 * L_7 = V_0;
uint8_t L_8 = V_1;
NullCheck(L_7);
List_1_Add_m3890707704(L_7, L_8, /*hidden argument*/List_1_Add_m3890707704_RuntimeMethod_var);
}
IL_0038:
{
bool L_9 = Enumerator_MoveNext_m1207128889((Enumerator_t200647699 *)(&V_2), /*hidden argument*/Enumerator_MoveNext_m1207128889_RuntimeMethod_var);
if (L_9)
{
goto IL_0018;
}
}
IL_0044:
{
IL2CPP_LEAVE(0x57, FINALLY_0049);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0049;
}
FINALLY_0049:
{ // begin finally (depth: 1)
Enumerator_Dispose_m1812819993((Enumerator_t200647699 *)(&V_2), /*hidden argument*/Enumerator_Dispose_m1812819993_RuntimeMethod_var);
IL2CPP_END_FINALLY(73)
} // end finally (depth: 1)
IL2CPP_CLEANUP(73)
{
IL2CPP_JUMP_TBL(0x57, IL_0057)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0057:
{
List_1_t2606371118 * L_10 = V_0;
NullCheck(L_10);
ByteU5BU5D_t4116647657* L_11 = List_1_ToArray_m4027363486(L_10, /*hidden argument*/List_1_ToArray_m4027363486_RuntimeMethod_var);
List_1_t2606371118 * L_12 = __this->get_activeCells_7();
NullCheck(L_12);
ByteU5BU5D_t4116647657* L_13 = List_1_ToArray_m4027363486(L_12, /*hidden argument*/List_1_ToArray_m4027363486_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_SetInterestGroups_m4236286776(NULL /*static, unused*/, L_11, L_13, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.CullingHandler::OnPhotonSerializeView(Photon.Pun.PhotonStream,Photon.Pun.PhotonMessageInfo)
extern "C" IL2CPP_METHOD_ATTR void CullingHandler_OnPhotonSerializeView_m1011243146 (CullingHandler_t4282308608 * __this, PhotonStream_t2658340202 * ___stream0, PhotonMessageInfo_t1249220519 ___info1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullingHandler_OnPhotonSerializeView_m1011243146_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
goto IL_001b;
}
IL_0005:
{
List_1_t2606371118 * L_0 = __this->get_activeCells_7();
CullArea_t635391622 * L_1 = __this->get_cullArea_5();
NullCheck(L_1);
uint8_t L_2 = L_1->get_FIRST_GROUP_ID_6();
NullCheck(L_0);
List_1_Add_m3890707704(L_0, L_2, /*hidden argument*/List_1_Add_m3890707704_RuntimeMethod_var);
}
IL_001b:
{
List_1_t2606371118 * L_3 = __this->get_activeCells_7();
NullCheck(L_3);
int32_t L_4 = List_1_get_Count_m1724015548(L_3, /*hidden argument*/List_1_get_Count_m1724015548_RuntimeMethod_var);
CullArea_t635391622 * L_5 = __this->get_cullArea_5();
NullCheck(L_5);
int32_t L_6 = L_5->get_NumberOfSubdivisions_13();
if ((((int32_t)L_4) <= ((int32_t)L_6)))
{
goto IL_0005;
}
}
{
CullArea_t635391622 * L_7 = __this->get_cullArea_5();
NullCheck(L_7);
int32_t L_8 = L_7->get_NumberOfSubdivisions_13();
if ((!(((uint32_t)L_8) == ((uint32_t)1))))
{
goto IL_0099;
}
}
{
int32_t L_9 = __this->get_orderIndex_4();
int32_t L_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
V_0 = L_10;
__this->set_orderIndex_4(L_10);
int32_t L_11 = V_0;
CullArea_t635391622 * L_12 = __this->get_cullArea_5();
NullCheck(L_12);
Int32U5BU5D_t385246372* L_13 = L_12->get_SUBDIVISION_FIRST_LEVEL_ORDER_7();
NullCheck(L_13);
__this->set_orderIndex_4(((int32_t)((int32_t)L_11%(int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length)))))));
PhotonView_t3684715584 * L_14 = __this->get_pView_8();
List_1_t2606371118 * L_15 = __this->get_activeCells_7();
CullArea_t635391622 * L_16 = __this->get_cullArea_5();
NullCheck(L_16);
Int32U5BU5D_t385246372* L_17 = L_16->get_SUBDIVISION_FIRST_LEVEL_ORDER_7();
int32_t L_18 = __this->get_orderIndex_4();
NullCheck(L_17);
int32_t L_19 = L_18;
int32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
NullCheck(L_15);
uint8_t L_21 = List_1_get_Item_m3131675103(L_15, L_20, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
NullCheck(L_14);
L_14->set_Group_5(L_21);
goto IL_015a;
}
IL_0099:
{
CullArea_t635391622 * L_22 = __this->get_cullArea_5();
NullCheck(L_22);
int32_t L_23 = L_22->get_NumberOfSubdivisions_13();
if ((!(((uint32_t)L_23) == ((uint32_t)2))))
{
goto IL_00fc;
}
}
{
int32_t L_24 = __this->get_orderIndex_4();
int32_t L_25 = ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)1));
V_0 = L_25;
__this->set_orderIndex_4(L_25);
int32_t L_26 = V_0;
CullArea_t635391622 * L_27 = __this->get_cullArea_5();
NullCheck(L_27);
Int32U5BU5D_t385246372* L_28 = L_27->get_SUBDIVISION_SECOND_LEVEL_ORDER_8();
NullCheck(L_28);
__this->set_orderIndex_4(((int32_t)((int32_t)L_26%(int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_28)->max_length)))))));
PhotonView_t3684715584 * L_29 = __this->get_pView_8();
List_1_t2606371118 * L_30 = __this->get_activeCells_7();
CullArea_t635391622 * L_31 = __this->get_cullArea_5();
NullCheck(L_31);
Int32U5BU5D_t385246372* L_32 = L_31->get_SUBDIVISION_SECOND_LEVEL_ORDER_8();
int32_t L_33 = __this->get_orderIndex_4();
NullCheck(L_32);
int32_t L_34 = L_33;
int32_t L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
NullCheck(L_30);
uint8_t L_36 = List_1_get_Item_m3131675103(L_30, L_35, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
NullCheck(L_29);
L_29->set_Group_5(L_36);
goto IL_015a;
}
IL_00fc:
{
CullArea_t635391622 * L_37 = __this->get_cullArea_5();
NullCheck(L_37);
int32_t L_38 = L_37->get_NumberOfSubdivisions_13();
if ((!(((uint32_t)L_38) == ((uint32_t)3))))
{
goto IL_015a;
}
}
{
int32_t L_39 = __this->get_orderIndex_4();
int32_t L_40 = ((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1));
V_0 = L_40;
__this->set_orderIndex_4(L_40);
int32_t L_41 = V_0;
CullArea_t635391622 * L_42 = __this->get_cullArea_5();
NullCheck(L_42);
Int32U5BU5D_t385246372* L_43 = L_42->get_SUBDIVISION_THIRD_LEVEL_ORDER_9();
NullCheck(L_43);
__this->set_orderIndex_4(((int32_t)((int32_t)L_41%(int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_43)->max_length)))))));
PhotonView_t3684715584 * L_44 = __this->get_pView_8();
List_1_t2606371118 * L_45 = __this->get_activeCells_7();
CullArea_t635391622 * L_46 = __this->get_cullArea_5();
NullCheck(L_46);
Int32U5BU5D_t385246372* L_47 = L_46->get_SUBDIVISION_THIRD_LEVEL_ORDER_9();
int32_t L_48 = __this->get_orderIndex_4();
NullCheck(L_47);
int32_t L_49 = L_48;
int32_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
NullCheck(L_45);
uint8_t L_51 = List_1_get_Item_m3131675103(L_45, L_50, /*hidden argument*/List_1_get_Item_m3131675103_RuntimeMethod_var);
NullCheck(L_44);
L_44->set_Group_5(L_51);
}
IL_015a:
{
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 Photon.Pun.UtilityScripts.EventSystemSpawner::.ctor()
extern "C" IL2CPP_METHOD_ATTR void EventSystemSpawner__ctor_m2144130272 (EventSystemSpawner_t2883568726 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.EventSystemSpawner::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void EventSystemSpawner_OnEnable_m3323201331 (EventSystemSpawner_t2883568726 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EventSystemSpawner_OnEnable_m3323201331_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
EventSystem_t1003666588 * V_0 = NULL;
GameObject_t1113636619 * V_1 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
EventSystem_t1003666588 * L_0 = Object_FindObjectOfType_TisEventSystem_t1003666588_m1717287152(NULL /*static, unused*/, /*hidden argument*/Object_FindObjectOfType_TisEventSystem_t1003666588_m1717287152_RuntimeMethod_var);
V_0 = L_0;
EventSystem_t1003666588 * L_1 = V_0;
bool L_2 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_1, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
GameObject_t1113636619 * L_3 = (GameObject_t1113636619 *)il2cpp_codegen_object_new(GameObject_t1113636619_il2cpp_TypeInfo_var);
GameObject__ctor_m2093116449(L_3, _stringLiteral3534642813, /*hidden argument*/NULL);
V_1 = L_3;
GameObject_t1113636619 * L_4 = V_1;
NullCheck(L_4);
GameObject_AddComponent_TisEventSystem_t1003666588_m3234499316(L_4, /*hidden argument*/GameObject_AddComponent_TisEventSystem_t1003666588_m3234499316_RuntimeMethod_var);
GameObject_t1113636619 * L_5 = V_1;
NullCheck(L_5);
GameObject_AddComponent_TisStandaloneInputModule_t2760469101_m1339490436(L_5, /*hidden argument*/GameObject_AddComponent_TisStandaloneInputModule_t2760469101_m1339490436_RuntimeMethod_var);
}
IL_002b:
{
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 Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::.ctor()
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition__ctor_m2743370137 (GraphicToggleIsOnTransition_t3135858402 * __this, const RuntimeMethod* method)
{
{
Color_t2555686324 L_0 = Color_get_white_m332174077(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_NormalOnColor_6(L_0);
Color_t2555686324 L_1 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_NormalOffColor_7(L_1);
Color_t2555686324 L_2 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_HoverOnColor_8(L_2);
Color_t2555686324 L_3 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_HoverOffColor_9(L_3);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnPointerEnter_m1644478865 (GraphicToggleIsOnTransition_t3135858402 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
Graphic_t1660335611 * G_B2_0 = NULL;
Graphic_t1660335611 * G_B1_0 = NULL;
Color_t2555686324 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
Graphic_t1660335611 * G_B3_1 = NULL;
{
__this->set_isHover_10((bool)1);
Graphic_t1660335611 * L_0 = __this->get__graphic_5();
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
G_B1_0 = L_0;
if (!L_2)
{
G_B2_0 = L_0;
goto IL_0028;
}
}
{
Color_t2555686324 L_3 = __this->get_HoverOnColor_8();
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_002e;
}
IL_0028:
{
Color_t2555686324 L_4 = __this->get_HoverOffColor_9();
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
}
IL_002e:
{
NullCheck(G_B3_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B3_1, G_B3_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnPointerExit_m2042332567 (GraphicToggleIsOnTransition_t3135858402 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
Graphic_t1660335611 * G_B2_0 = NULL;
Graphic_t1660335611 * G_B1_0 = NULL;
Color_t2555686324 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
Graphic_t1660335611 * G_B3_1 = NULL;
{
__this->set_isHover_10((bool)0);
Graphic_t1660335611 * L_0 = __this->get__graphic_5();
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
G_B1_0 = L_0;
if (!L_2)
{
G_B2_0 = L_0;
goto IL_0028;
}
}
{
Color_t2555686324 L_3 = __this->get_NormalOnColor_6();
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_002e;
}
IL_0028:
{
Color_t2555686324 L_4 = __this->get_NormalOffColor_7();
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
}
IL_002e:
{
NullCheck(G_B3_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B3_1, G_B3_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnEnable_m2254698303 (GraphicToggleIsOnTransition_t3135858402 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GraphicToggleIsOnTransition_OnEnable_m2254698303_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Graphic_t1660335611 * L_0 = Component_GetComponent_TisGraphic_t1660335611_m1118939870(__this, /*hidden argument*/Component_GetComponent_TisGraphic_t1660335611_m1118939870_RuntimeMethod_var);
__this->set__graphic_5(L_0);
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
GraphicToggleIsOnTransition_OnValueChanged_m3626746267(__this, L_2, /*hidden argument*/NULL);
Toggle_t2735377061 * L_3 = __this->get_toggle_4();
NullCheck(L_3);
ToggleEvent_t1873685584 * L_4 = L_3->get_onValueChanged_21();
intptr_t L_5 = (intptr_t)GraphicToggleIsOnTransition_OnValueChanged_m3626746267_RuntimeMethod_var;
UnityAction_1_t682124106 * L_6 = (UnityAction_1_t682124106 *)il2cpp_codegen_object_new(UnityAction_1_t682124106_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m3007623985(L_6, __this, (intptr_t)L_5, /*hidden argument*/UnityAction_1__ctor_m3007623985_RuntimeMethod_var);
NullCheck(L_4);
UnityEvent_1_AddListener_m2847988282(L_4, L_6, /*hidden argument*/UnityEvent_1_AddListener_m2847988282_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnDisable_m2507484951 (GraphicToggleIsOnTransition_t3135858402 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GraphicToggleIsOnTransition_OnDisable_m2507484951_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Toggle_t2735377061 * L_0 = __this->get_toggle_4();
NullCheck(L_0);
ToggleEvent_t1873685584 * L_1 = L_0->get_onValueChanged_21();
intptr_t L_2 = (intptr_t)GraphicToggleIsOnTransition_OnValueChanged_m3626746267_RuntimeMethod_var;
UnityAction_1_t682124106 * L_3 = (UnityAction_1_t682124106 *)il2cpp_codegen_object_new(UnityAction_1_t682124106_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m3007623985(L_3, __this, (intptr_t)L_2, /*hidden argument*/UnityAction_1__ctor_m3007623985_RuntimeMethod_var);
NullCheck(L_1);
UnityEvent_1_RemoveListener_m1660329188(L_1, L_3, /*hidden argument*/UnityEvent_1_RemoveListener_m1660329188_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.GraphicToggleIsOnTransition::OnValueChanged(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void GraphicToggleIsOnTransition_OnValueChanged_m3626746267 (GraphicToggleIsOnTransition_t3135858402 * __this, bool ___isOn0, const RuntimeMethod* method)
{
Graphic_t1660335611 * G_B5_0 = NULL;
Graphic_t1660335611 * G_B1_0 = NULL;
Graphic_t1660335611 * G_B3_0 = NULL;
Graphic_t1660335611 * G_B2_0 = NULL;
Color_t2555686324 G_B4_0;
memset(&G_B4_0, 0, sizeof(G_B4_0));
Graphic_t1660335611 * G_B4_1 = NULL;
Color_t2555686324 G_B8_0;
memset(&G_B8_0, 0, sizeof(G_B8_0));
Graphic_t1660335611 * G_B8_1 = NULL;
Graphic_t1660335611 * G_B7_0 = NULL;
Graphic_t1660335611 * G_B6_0 = NULL;
{
Graphic_t1660335611 * L_0 = __this->get__graphic_5();
bool L_1 = ___isOn0;
G_B1_0 = L_0;
if (!L_1)
{
G_B5_0 = L_0;
goto IL_002d;
}
}
{
bool L_2 = __this->get_isHover_10();
G_B2_0 = G_B1_0;
if (!L_2)
{
G_B3_0 = G_B1_0;
goto IL_0022;
}
}
{
Color_t2555686324 L_3 = __this->get_HoverOnColor_8();
G_B4_0 = L_3;
G_B4_1 = G_B2_0;
goto IL_0028;
}
IL_0022:
{
Color_t2555686324 L_4 = __this->get_HoverOnColor_8();
G_B4_0 = L_4;
G_B4_1 = G_B3_0;
}
IL_0028:
{
G_B8_0 = G_B4_0;
G_B8_1 = G_B4_1;
goto IL_0049;
}
IL_002d:
{
bool L_5 = __this->get_isHover_10();
G_B6_0 = G_B5_0;
if (!L_5)
{
G_B7_0 = G_B5_0;
goto IL_0043;
}
}
{
Color_t2555686324 L_6 = __this->get_NormalOffColor_7();
G_B8_0 = L_6;
G_B8_1 = G_B6_0;
goto IL_0049;
}
IL_0043:
{
Color_t2555686324 L_7 = __this->get_NormalOffColor_7();
G_B8_0 = L_7;
G_B8_1 = G_B7_0;
}
IL_0049:
{
NullCheck(G_B8_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B8_1, G_B8_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 Photon.Pun.UtilityScripts.MoveByKeys::.ctor()
extern "C" IL2CPP_METHOD_ATTR void MoveByKeys__ctor_m3201873286 (MoveByKeys_t979471368 * __this, const RuntimeMethod* method)
{
{
__this->set_Speed_5((10.0f));
__this->set_JumpForce_6((200.0f));
__this->set_JumpTimeout_7((0.5f));
MonoBehaviourPun__ctor_m4088882012(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.MoveByKeys::Start()
extern "C" IL2CPP_METHOD_ATTR void MoveByKeys_Start_m2905789456 (MoveByKeys_t979471368 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MoveByKeys_Start_m2905789456_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SpriteRenderer_t3235626157 * L_0 = Component_GetComponent_TisSpriteRenderer_t3235626157_m1416425555(__this, /*hidden argument*/Component_GetComponent_TisSpriteRenderer_t3235626157_m1416425555_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
__this->set_isSprite_8(L_1);
Rigidbody2D_t939494601 * L_2 = Component_GetComponent_TisRigidbody2D_t939494601_m870337490(__this, /*hidden argument*/Component_GetComponent_TisRigidbody2D_t939494601_m870337490_RuntimeMethod_var);
__this->set_body2d_11(L_2);
Rigidbody_t3916780224 * L_3 = Component_GetComponent_TisRigidbody_t3916780224_m546874772(__this, /*hidden argument*/Component_GetComponent_TisRigidbody_t3916780224_m546874772_RuntimeMethod_var);
__this->set_body_10(L_3);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.MoveByKeys::FixedUpdate()
extern "C" IL2CPP_METHOD_ATTR void MoveByKeys_FixedUpdate_m2380733459 (MoveByKeys_t979471368 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MoveByKeys_FixedUpdate_m2380733459_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2156229523 V_0;
memset(&V_0, 0, sizeof(V_0));
{
PhotonView_t3684715584 * L_0 = MonoBehaviourPun_get_photonView_m4085429734(__this, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_1 = PhotonView_get_IsMine_m210517380(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0011;
}
}
{
return;
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_2 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral1828639942, /*hidden argument*/NULL);
if ((((float)L_2) < ((float)(-0.1f))))
{
goto IL_0039;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_3 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral1828639942, /*hidden argument*/NULL);
if ((!(((float)L_3) > ((float)(0.1f)))))
{
goto IL_0074;
}
}
IL_0039:
{
Transform_t3600365921 * L_4 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
Transform_t3600365921 * L_5 = L_4;
NullCheck(L_5);
Vector3_t3722313464 L_6 = Transform_get_position_m36019626(L_5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_7 = Vector3_get_right_m1913784872(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_8 = __this->get_Speed_5();
float L_9 = Time_get_deltaTime_m372706562(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t3722313464 L_10 = Vector3_op_Multiply_m3376773913(NULL /*static, unused*/, L_7, ((float)il2cpp_codegen_multiply((float)L_8, (float)L_9)), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_11 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral1828639942, /*hidden argument*/NULL);
Vector3_t3722313464 L_12 = Vector3_op_Multiply_m3376773913(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
Vector3_t3722313464 L_13 = Vector3_op_Addition_m779775034(NULL /*static, unused*/, L_6, L_12, /*hidden argument*/NULL);
NullCheck(L_5);
Transform_set_position_m3387557959(L_5, L_13, /*hidden argument*/NULL);
}
IL_0074:
{
float L_14 = __this->get_jumpingTime_9();
if ((!(((float)L_14) <= ((float)(0.0f)))))
{
goto IL_0118;
}
}
{
Rigidbody_t3916780224 * L_15 = __this->get_body_10();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_16 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_15, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (L_16)
{
goto IL_00a6;
}
}
{
Rigidbody2D_t939494601 * L_17 = __this->get_body2d_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_17, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_0113;
}
}
IL_00a6:
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_19 = Input_GetKey_m3736388334(NULL /*static, unused*/, ((int32_t)32), /*hidden argument*/NULL);
if (!L_19)
{
goto IL_0113;
}
}
{
float L_20 = __this->get_JumpTimeout_7();
__this->set_jumpingTime_9(L_20);
IL2CPP_RUNTIME_CLASS_INIT(Vector2_t2156229523_il2cpp_TypeInfo_var);
Vector2_t2156229523 L_21 = Vector2_get_up_m2647420593(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_22 = __this->get_JumpForce_6();
Vector2_t2156229523 L_23 = Vector2_op_Multiply_m2347887432(NULL /*static, unused*/, L_21, L_22, /*hidden argument*/NULL);
V_0 = L_23;
Rigidbody2D_t939494601 * L_24 = __this->get_body2d_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_25 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_24, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_00f1;
}
}
{
Rigidbody2D_t939494601 * L_26 = __this->get_body2d_11();
Vector2_t2156229523 L_27 = V_0;
NullCheck(L_26);
Rigidbody2D_AddForce_m1113499586(L_26, L_27, /*hidden argument*/NULL);
goto IL_0113;
}
IL_00f1:
{
Rigidbody_t3916780224 * L_28 = __this->get_body_10();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_29 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_28, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_29)
{
goto IL_0113;
}
}
{
Rigidbody_t3916780224 * L_30 = __this->get_body_10();
Vector2_t2156229523 L_31 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Vector2_t2156229523_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_32 = Vector2_op_Implicit_m1860157806(NULL /*static, unused*/, L_31, /*hidden argument*/NULL);
NullCheck(L_30);
Rigidbody_AddForce_m3395934484(L_30, L_32, /*hidden argument*/NULL);
}
IL_0113:
{
goto IL_012a;
}
IL_0118:
{
float L_33 = __this->get_jumpingTime_9();
float L_34 = Time_get_deltaTime_m372706562(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_jumpingTime_9(((float)il2cpp_codegen_subtract((float)L_33, (float)L_34)));
}
IL_012a:
{
bool L_35 = __this->get_isSprite_8();
if (L_35)
{
goto IL_0198;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_36 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral2984908384, /*hidden argument*/NULL);
if ((((float)L_36) < ((float)(-0.1f))))
{
goto IL_015d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_37 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral2984908384, /*hidden argument*/NULL);
if ((!(((float)L_37) > ((float)(0.1f)))))
{
goto IL_0198;
}
}
IL_015d:
{
Transform_t3600365921 * L_38 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
Transform_t3600365921 * L_39 = L_38;
NullCheck(L_39);
Vector3_t3722313464 L_40 = Transform_get_position_m36019626(L_39, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_41 = Vector3_get_forward_m3100859705(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_42 = __this->get_Speed_5();
float L_43 = Time_get_deltaTime_m372706562(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t3722313464 L_44 = Vector3_op_Multiply_m3376773913(NULL /*static, unused*/, L_41, ((float)il2cpp_codegen_multiply((float)L_42, (float)L_43)), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
float L_45 = Input_GetAxisRaw_m2316819917(NULL /*static, unused*/, _stringLiteral2984908384, /*hidden argument*/NULL);
Vector3_t3722313464 L_46 = Vector3_op_Multiply_m3376773913(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
Vector3_t3722313464 L_47 = Vector3_op_Addition_m779775034(NULL /*static, unused*/, L_40, L_46, /*hidden argument*/NULL);
NullCheck(L_39);
Transform_set_position_m3387557959(L_39, L_47, /*hidden argument*/NULL);
}
IL_0198:
{
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 Photon.Pun.UtilityScripts.OnClickDestroy::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnClickDestroy__ctor_m503871739 (OnClickDestroy_t3019334366 * __this, const RuntimeMethod* method)
{
{
MonoBehaviourPun__ctor_m4088882012(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickDestroy::UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void OnClickDestroy_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m427568694 (OnClickDestroy_t3019334366 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnClickDestroy_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m427568694_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_0 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0036;
}
}
{
int32_t L_1 = __this->get_ModifierKey_6();
if (!L_1)
{
goto IL_0025;
}
}
{
int32_t L_2 = __this->get_ModifierKey_6();
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_3 = Input_GetKey_m3736388334(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0036;
}
}
IL_0025:
{
PointerEventData_t3807901092 * L_4 = ___eventData0;
NullCheck(L_4);
int32_t L_5 = PointerEventData_get_button_m359423249(L_4, /*hidden argument*/NULL);
int32_t L_6 = __this->get_Button_5();
if ((((int32_t)L_5) == ((int32_t)L_6)))
{
goto IL_0037;
}
}
IL_0036:
{
return;
}
IL_0037:
{
bool L_7 = __this->get_DestroyByRpc_7();
if (!L_7)
{
goto IL_005e;
}
}
{
PhotonView_t3684715584 * L_8 = MonoBehaviourPun_get_photonView_m4085429734(__this, /*hidden argument*/NULL);
ObjectU5BU5D_t2843939325* L_9 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_8);
PhotonView_RPC_m3795981556(L_8, _stringLiteral3560943847, 3, L_9, /*hidden argument*/NULL);
goto IL_0069;
}
IL_005e:
{
GameObject_t1113636619 * L_10 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_Destroy_m1736085578(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
}
IL_0069:
{
return;
}
}
// System.Collections.IEnumerator Photon.Pun.UtilityScripts.OnClickDestroy::DestroyRpc()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* OnClickDestroy_DestroyRpc_m1554995263 (OnClickDestroy_t3019334366 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnClickDestroy_DestroyRpc_m1554995263_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CDestroyRpcU3Ec__Iterator0_t785359983 * V_0 = NULL;
{
U3CDestroyRpcU3Ec__Iterator0_t785359983 * L_0 = (U3CDestroyRpcU3Ec__Iterator0_t785359983 *)il2cpp_codegen_object_new(U3CDestroyRpcU3Ec__Iterator0_t785359983_il2cpp_TypeInfo_var);
U3CDestroyRpcU3Ec__Iterator0__ctor_m2341089986(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CDestroyRpcU3Ec__Iterator0_t785359983 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U24this_0(__this);
U3CDestroyRpcU3Ec__Iterator0_t785359983 * L_2 = V_0;
return L_2;
}
}
#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 Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CDestroyRpcU3Ec__Iterator0__ctor_m2341089986 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool U3CDestroyRpcU3Ec__Iterator0_MoveNext_m3135956445 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CDestroyRpcU3Ec__Iterator0_MoveNext_m3135956445_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
int32_t L_0 = __this->get_U24PC_3();
V_0 = L_0;
__this->set_U24PC_3((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0051;
}
}
}
{
goto IL_0058;
}
IL_0021:
{
OnClickDestroy_t3019334366 * L_2 = __this->get_U24this_0();
NullCheck(L_2);
GameObject_t1113636619 * L_3 = Component_get_gameObject_m442555142(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_Destroy_m565254235(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
int32_t L_4 = 0;
RuntimeObject * L_5 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_4);
__this->set_U24current_1(L_5);
bool L_6 = __this->get_U24disposing_2();
if (L_6)
{
goto IL_004c;
}
}
{
__this->set_U24PC_3(1);
}
IL_004c:
{
goto IL_005a;
}
IL_0051:
{
__this->set_U24PC_3((-1));
}
IL_0058:
{
return (bool)0;
}
IL_005a:
{
return (bool)1;
}
}
// System.Object Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * U3CDestroyRpcU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m3010341818 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U24current_1();
return L_0;
}
}
// System.Object Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * U3CDestroyRpcU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m1573022088 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U24current_1();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::Dispose()
extern "C" IL2CPP_METHOD_ATTR void U3CDestroyRpcU3Ec__Iterator0_Dispose_m1661539120 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
{
__this->set_U24disposing_2((bool)1);
__this->set_U24PC_3((-1));
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickDestroy/<DestroyRpc>c__Iterator0::Reset()
extern "C" IL2CPP_METHOD_ATTR void U3CDestroyRpcU3Ec__Iterator0_Reset_m3008668574 (U3CDestroyRpcU3Ec__Iterator0_t785359983 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CDestroyRpcU3Ec__Iterator0_Reset_m3008668574_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
NotSupportedException_t1314879016 * L_0 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2730133172(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, NULL, U3CDestroyRpcU3Ec__Iterator0_Reset_m3008668574_RuntimeMethod_var);
}
}
#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 Photon.Pun.UtilityScripts.OnClickInstantiate::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnClickInstantiate__ctor_m542373638 (OnClickInstantiate_t3820097070 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickInstantiate::UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void OnClickInstantiate_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m3076304384 (OnClickInstantiate_t3820097070 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnClickInstantiate_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m3076304384_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
RaycastResult_t3360306849 V_1;
memset(&V_1, 0, sizeof(V_1));
RaycastResult_t3360306849 V_2;
memset(&V_2, 0, sizeof(V_2));
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_0 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0036;
}
}
{
int32_t L_1 = __this->get_ModifierKey_5();
if (!L_1)
{
goto IL_0025;
}
}
{
int32_t L_2 = __this->get_ModifierKey_5();
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_3 = Input_GetKey_m3736388334(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0036;
}
}
IL_0025:
{
PointerEventData_t3807901092 * L_4 = ___eventData0;
NullCheck(L_4);
int32_t L_5 = PointerEventData_get_button_m359423249(L_4, /*hidden argument*/NULL);
int32_t L_6 = __this->get_Button_4();
if ((((int32_t)L_5) == ((int32_t)L_6)))
{
goto IL_0037;
}
}
IL_0036:
{
return;
}
IL_0037:
{
int32_t L_7 = __this->get_InstantiateType_7();
V_0 = L_7;
int32_t L_8 = V_0;
if (!L_8)
{
goto IL_0050;
}
}
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)1)))
{
goto IL_0094;
}
}
{
goto IL_00d8;
}
IL_0050:
{
GameObject_t1113636619 * L_10 = __this->get_Prefab_6();
NullCheck(L_10);
String_t* L_11 = Object_get_name_m4211327027(L_10, /*hidden argument*/NULL);
PointerEventData_t3807901092 * L_12 = ___eventData0;
NullCheck(L_12);
RaycastResult_t3360306849 L_13 = PointerEventData_get_pointerCurrentRaycast_m2627585223(L_12, /*hidden argument*/NULL);
V_1 = L_13;
Vector3_t3722313464 L_14 = (&V_1)->get_worldPosition_7();
Vector3_t3722313464 L_15;
memset(&L_15, 0, sizeof(L_15));
Vector3__ctor_m3353183577((&L_15), (0.0f), (0.5f), (0.0f), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_16 = Vector3_op_Addition_m779775034(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Quaternion_t2301928331_il2cpp_TypeInfo_var);
Quaternion_t2301928331 L_17 = Quaternion_get_identity_m3722672781(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_Instantiate_m4150460228(NULL /*static, unused*/, L_11, L_16, L_17, (uint8_t)0, (ObjectU5BU5D_t2843939325*)(ObjectU5BU5D_t2843939325*)NULL, /*hidden argument*/NULL);
goto IL_00d8;
}
IL_0094:
{
GameObject_t1113636619 * L_18 = __this->get_Prefab_6();
NullCheck(L_18);
String_t* L_19 = Object_get_name_m4211327027(L_18, /*hidden argument*/NULL);
PointerEventData_t3807901092 * L_20 = ___eventData0;
NullCheck(L_20);
RaycastResult_t3360306849 L_21 = PointerEventData_get_pointerCurrentRaycast_m2627585223(L_20, /*hidden argument*/NULL);
V_2 = L_21;
Vector3_t3722313464 L_22 = (&V_2)->get_worldPosition_7();
Vector3_t3722313464 L_23;
memset(&L_23, 0, sizeof(L_23));
Vector3__ctor_m3353183577((&L_23), (0.0f), (0.5f), (0.0f), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_24 = Vector3_op_Addition_m779775034(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Quaternion_t2301928331_il2cpp_TypeInfo_var);
Quaternion_t2301928331 L_25 = Quaternion_get_identity_m3722672781(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_InstantiateSceneObject_m2667291214(NULL /*static, unused*/, L_19, L_24, L_25, (uint8_t)0, (ObjectU5BU5D_t2843939325*)(ObjectU5BU5D_t2843939325*)NULL, /*hidden argument*/NULL);
goto IL_00d8;
}
IL_00d8:
{
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
#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 Photon.Pun.UtilityScripts.OnClickRpc::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnClickRpc__ctor_m2000452767 (OnClickRpc_t2528495255 * __this, const RuntimeMethod* method)
{
{
MonoBehaviourPun__ctor_m4088882012(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickRpc::UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void OnClickRpc_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m809129665 (OnClickRpc_t2528495255 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnClickRpc_UnityEngine_EventSystems_IPointerClickHandler_OnPointerClick_m809129665_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_0 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0036;
}
}
{
int32_t L_1 = __this->get_ModifierKey_6();
if (!L_1)
{
goto IL_0025;
}
}
{
int32_t L_2 = __this->get_ModifierKey_6();
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_3 = Input_GetKey_m3736388334(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0036;
}
}
IL_0025:
{
PointerEventData_t3807901092 * L_4 = ___eventData0;
NullCheck(L_4);
int32_t L_5 = PointerEventData_get_button_m359423249(L_4, /*hidden argument*/NULL);
int32_t L_6 = __this->get_Button_5();
if ((((int32_t)L_5) == ((int32_t)L_6)))
{
goto IL_0037;
}
}
IL_0036:
{
return;
}
IL_0037:
{
PhotonView_t3684715584 * L_7 = MonoBehaviourPun_get_photonView_m4085429734(__this, /*hidden argument*/NULL);
int32_t L_8 = __this->get_Target_7();
ObjectU5BU5D_t2843939325* L_9 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)0);
NullCheck(L_7);
PhotonView_RPC_m3795981556(L_7, _stringLiteral2952665461, L_8, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickRpc::ClickRpc()
extern "C" IL2CPP_METHOD_ATTR void OnClickRpc_ClickRpc_m451959129 (OnClickRpc_t2528495255 * __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = OnClickRpc_ClickFlash_m2300011927(__this, /*hidden argument*/NULL);
MonoBehaviour_StartCoroutine_m3411253000(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Collections.IEnumerator Photon.Pun.UtilityScripts.OnClickRpc::ClickFlash()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* OnClickRpc_ClickFlash_m2300011927 (OnClickRpc_t2528495255 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnClickRpc_ClickFlash_m2300011927_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CClickFlashU3Ec__Iterator0_t700316031 * V_0 = NULL;
{
U3CClickFlashU3Ec__Iterator0_t700316031 * L_0 = (U3CClickFlashU3Ec__Iterator0_t700316031 *)il2cpp_codegen_object_new(U3CClickFlashU3Ec__Iterator0_t700316031_il2cpp_TypeInfo_var);
U3CClickFlashU3Ec__Iterator0__ctor_m299193921(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CClickFlashU3Ec__Iterator0_t700316031 * L_1 = V_0;
NullCheck(L_1);
L_1->set_U24this_3(__this);
U3CClickFlashU3Ec__Iterator0_t700316031 * L_2 = V_0;
return L_2;
}
}
#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 Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CClickFlashU3Ec__Iterator0__ctor_m299193921 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::MoveNext()
extern "C" IL2CPP_METHOD_ATTR bool U3CClickFlashU3Ec__Iterator0_MoveNext_m357997759 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CClickFlashU3Ec__Iterator0_MoveNext_m357997759_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
int32_t L_0 = __this->get_U24PC_6();
V_0 = L_0;
__this->set_U24PC_6((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0167;
}
}
}
{
goto IL_01dc;
}
IL_0021:
{
OnClickRpc_t2528495255 * L_2 = __this->get_U24this_3();
NullCheck(L_2);
bool L_3 = L_2->get_isFlashing_10();
if (!L_3)
{
goto IL_0036;
}
}
{
goto IL_01dc;
}
IL_0036:
{
OnClickRpc_t2528495255 * L_4 = __this->get_U24this_3();
NullCheck(L_4);
L_4->set_isFlashing_10((bool)1);
OnClickRpc_t2528495255 * L_5 = __this->get_U24this_3();
OnClickRpc_t2528495255 * L_6 = __this->get_U24this_3();
NullCheck(L_6);
Renderer_t2627027031 * L_7 = Component_GetComponent_TisRenderer_t2627027031_m4050762431(L_6, /*hidden argument*/Component_GetComponent_TisRenderer_t2627027031_m4050762431_RuntimeMethod_var);
NullCheck(L_7);
Material_t340375123 * L_8 = Renderer_get_material_m4171603682(L_7, /*hidden argument*/NULL);
NullCheck(L_5);
L_5->set_originalMaterial_8(L_8);
OnClickRpc_t2528495255 * L_9 = __this->get_U24this_3();
NullCheck(L_9);
Material_t340375123 * L_10 = L_9->get_originalMaterial_8();
NullCheck(L_10);
bool L_11 = Material_HasProperty_m2704238996(L_10, _stringLiteral1801776656, /*hidden argument*/NULL);
if (L_11)
{
goto IL_0096;
}
}
{
OnClickRpc_t2528495255 * L_12 = __this->get_U24this_3();
NullCheck(L_12);
GameObject_t1113636619 * L_13 = Component_get_gameObject_m442555142(L_12, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_14 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral2342356055, L_13, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
goto IL_01dc;
}
IL_0096:
{
OnClickRpc_t2528495255 * L_15 = __this->get_U24this_3();
NullCheck(L_15);
Material_t340375123 * L_16 = L_15->get_originalMaterial_8();
NullCheck(L_16);
bool L_17 = Material_IsKeywordEnabled_m2775114017(L_16, _stringLiteral1394251666, /*hidden argument*/NULL);
__this->set_U3CwasEmissiveU3E__0_0(L_17);
OnClickRpc_t2528495255 * L_18 = __this->get_U24this_3();
NullCheck(L_18);
Material_t340375123 * L_19 = L_18->get_originalMaterial_8();
NullCheck(L_19);
Material_EnableKeyword_m329692301(L_19, _stringLiteral1394251666, /*hidden argument*/NULL);
OnClickRpc_t2528495255 * L_20 = __this->get_U24this_3();
OnClickRpc_t2528495255 * L_21 = __this->get_U24this_3();
NullCheck(L_21);
Material_t340375123 * L_22 = L_21->get_originalMaterial_8();
NullCheck(L_22);
Color_t2555686324 L_23 = Material_GetColor_m2707324984(L_22, _stringLiteral1801776656, /*hidden argument*/NULL);
NullCheck(L_20);
L_20->set_originalColor_9(L_23);
OnClickRpc_t2528495255 * L_24 = __this->get_U24this_3();
NullCheck(L_24);
Material_t340375123 * L_25 = L_24->get_originalMaterial_8();
Color_t2555686324 L_26 = Color_get_white_m332174077(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_25);
Material_SetColor_m2020215303(L_25, _stringLiteral1801776656, L_26, /*hidden argument*/NULL);
__this->set_U3CfU3E__1_1((0.0f));
goto IL_0179;
}
IL_0110:
{
Color_t2555686324 L_27 = Color_get_white_m332174077(NULL /*static, unused*/, /*hidden argument*/NULL);
OnClickRpc_t2528495255 * L_28 = __this->get_U24this_3();
NullCheck(L_28);
Color_t2555686324 L_29 = L_28->get_originalColor_9();
float L_30 = __this->get_U3CfU3E__1_1();
Color_t2555686324 L_31 = Color_Lerp_m973389909(NULL /*static, unused*/, L_27, L_29, L_30, /*hidden argument*/NULL);
__this->set_U3ClerpedU3E__2_2(L_31);
OnClickRpc_t2528495255 * L_32 = __this->get_U24this_3();
NullCheck(L_32);
Material_t340375123 * L_33 = L_32->get_originalMaterial_8();
Color_t2555686324 L_34 = __this->get_U3ClerpedU3E__2_2();
NullCheck(L_33);
Material_SetColor_m2020215303(L_33, _stringLiteral1801776656, L_34, /*hidden argument*/NULL);
__this->set_U24current_4(NULL);
bool L_35 = __this->get_U24disposing_5();
if (L_35)
{
goto IL_0162;
}
}
{
__this->set_U24PC_6(1);
}
IL_0162:
{
goto IL_01de;
}
IL_0167:
{
float L_36 = __this->get_U3CfU3E__1_1();
__this->set_U3CfU3E__1_1(((float)il2cpp_codegen_add((float)L_36, (float)(0.08f))));
}
IL_0179:
{
float L_37 = __this->get_U3CfU3E__1_1();
if ((((float)L_37) <= ((float)(1.0f))))
{
goto IL_0110;
}
}
{
OnClickRpc_t2528495255 * L_38 = __this->get_U24this_3();
NullCheck(L_38);
Material_t340375123 * L_39 = L_38->get_originalMaterial_8();
OnClickRpc_t2528495255 * L_40 = __this->get_U24this_3();
NullCheck(L_40);
Color_t2555686324 L_41 = L_40->get_originalColor_9();
NullCheck(L_39);
Material_SetColor_m2020215303(L_39, _stringLiteral1801776656, L_41, /*hidden argument*/NULL);
bool L_42 = __this->get_U3CwasEmissiveU3E__0_0();
if (L_42)
{
goto IL_01c9;
}
}
{
OnClickRpc_t2528495255 * L_43 = __this->get_U24this_3();
NullCheck(L_43);
Material_t340375123 * L_44 = L_43->get_originalMaterial_8();
NullCheck(L_44);
Material_DisableKeyword_m1245091008(L_44, _stringLiteral1394251666, /*hidden argument*/NULL);
}
IL_01c9:
{
OnClickRpc_t2528495255 * L_45 = __this->get_U24this_3();
NullCheck(L_45);
L_45->set_isFlashing_10((bool)0);
__this->set_U24PC_6((-1));
}
IL_01dc:
{
return (bool)0;
}
IL_01de:
{
return (bool)1;
}
}
// System.Object Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * U3CClickFlashU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m2066039708 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U24current_4();
return L_0;
}
}
// System.Object Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" IL2CPP_METHOD_ATTR RuntimeObject * U3CClickFlashU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m3738875109 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U24current_4();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::Dispose()
extern "C" IL2CPP_METHOD_ATTR void U3CClickFlashU3Ec__Iterator0_Dispose_m3407481866 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
{
__this->set_U24disposing_5((bool)1);
__this->set_U24PC_6((-1));
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnClickRpc/<ClickFlash>c__Iterator0::Reset()
extern "C" IL2CPP_METHOD_ATTR void U3CClickFlashU3Ec__Iterator0_Reset_m3139757069 (U3CClickFlashU3Ec__Iterator0_t700316031 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CClickFlashU3Ec__Iterator0_Reset_m3139757069_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
NotSupportedException_t1314879016 * L_0 = (NotSupportedException_t1314879016 *)il2cpp_codegen_object_new(NotSupportedException_t1314879016_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m2730133172(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, NULL, U3CClickFlashU3Ec__Iterator0_Reset_m3139757069_RuntimeMethod_var);
}
}
#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 Photon.Pun.UtilityScripts.OnEscapeQuit::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnEscapeQuit__ctor_m1668192066 (OnEscapeQuit_t589738653 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnEscapeQuit::Update()
extern "C" IL2CPP_METHOD_ATTR void OnEscapeQuit_Update_m1749981856 (OnEscapeQuit_t589738653 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnEscapeQuit_Update_m1749981856_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_0 = Input_GetKeyDown_m17791917(NULL /*static, unused*/, ((int32_t)27), /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0011;
}
}
{
Application_Quit_m470877999(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0011:
{
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 Photon.Pun.UtilityScripts.OnJoinedInstantiate::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate__ctor_m4188102502 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
__this->set_PositionOffset_5((2.0f));
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnEnable_m3714837654 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnJoinedInstantiate_OnEnable_m3714837654_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_AddCallbackTarget_m370237939(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnDisable_m1481815562 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnJoinedInstantiate_OnDisable_m1481815562_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_RemoveCallbackTarget_m1795886074(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnJoinedRoom()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnJoinedRoom_m168670443 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnJoinedInstantiate_OnJoinedRoom_m168670443_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1113636619 * V_0 = NULL;
GameObjectU5BU5D_t3328599146* V_1 = NULL;
int32_t V_2 = 0;
Vector3_t3722313464 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t3722313464 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t3722313464 V_5;
memset(&V_5, 0, sizeof(V_5));
{
GameObjectU5BU5D_t3328599146* L_0 = __this->get_PrefabsToInstantiate_6();
if (!L_0)
{
goto IL_00a8;
}
}
{
GameObjectU5BU5D_t3328599146* L_1 = __this->get_PrefabsToInstantiate_6();
V_1 = L_1;
V_2 = 0;
goto IL_009f;
}
IL_0019:
{
GameObjectU5BU5D_t3328599146* L_2 = V_1;
int32_t L_3 = V_2;
NullCheck(L_2);
int32_t L_4 = L_3;
GameObject_t1113636619 * L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
V_0 = L_5;
GameObject_t1113636619 * L_6 = V_0;
NullCheck(L_6);
String_t* L_7 = Object_get_name_m4211327027(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral458337336, L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_9 = Vector3_get_up_m3584168373(NULL /*static, unused*/, /*hidden argument*/NULL);
V_3 = L_9;
Transform_t3600365921 * L_10 = __this->get_SpawnPosition_4();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_10, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0055;
}
}
{
Transform_t3600365921 * L_12 = __this->get_SpawnPosition_4();
NullCheck(L_12);
Vector3_t3722313464 L_13 = Transform_get_position_m36019626(L_12, /*hidden argument*/NULL);
V_3 = L_13;
}
IL_0055:
{
Vector3_t3722313464 L_14 = Random_get_insideUnitSphere_m3252929179(NULL /*static, unused*/, /*hidden argument*/NULL);
V_4 = L_14;
(&V_4)->set_y_3((0.0f));
Vector3_t3722313464 L_15 = Vector3_get_normalized_m2454957984((Vector3_t3722313464 *)(&V_4), /*hidden argument*/NULL);
V_4 = L_15;
Vector3_t3722313464 L_16 = V_3;
float L_17 = __this->get_PositionOffset_5();
Vector3_t3722313464 L_18 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_19 = Vector3_op_Multiply_m2104357790(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL);
Vector3_t3722313464 L_20 = Vector3_op_Addition_m779775034(NULL /*static, unused*/, L_16, L_19, /*hidden argument*/NULL);
V_5 = L_20;
GameObject_t1113636619 * L_21 = V_0;
NullCheck(L_21);
String_t* L_22 = Object_get_name_m4211327027(L_21, /*hidden argument*/NULL);
Vector3_t3722313464 L_23 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Quaternion_t2301928331_il2cpp_TypeInfo_var);
Quaternion_t2301928331 L_24 = Quaternion_get_identity_m3722672781(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_Instantiate_m4150460228(NULL /*static, unused*/, L_22, L_23, L_24, (uint8_t)0, (ObjectU5BU5D_t2843939325*)(ObjectU5BU5D_t2843939325*)NULL, /*hidden argument*/NULL);
int32_t L_25 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
}
IL_009f:
{
int32_t L_26 = V_2;
GameObjectU5BU5D_t3328599146* L_27 = V_1;
NullCheck(L_27);
if ((((int32_t)L_26) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length)))))))
{
goto IL_0019;
}
}
IL_00a8:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnConnected()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnConnected_m194706852 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnCustomAuthenticationResponse(System.Collections.Generic.Dictionary`2<System.String,System.Object>)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnCustomAuthenticationResponse_m543483376 (OnJoinedInstantiate_t361656573 * __this, Dictionary_2_t2865362463 * ___data0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnCustomAuthenticationFailed(System.String)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnCustomAuthenticationFailed_m2327287158 (OnJoinedInstantiate_t361656573 * __this, String_t* ___debugMessage0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnConnectedToMaster()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnConnectedToMaster_m3285065232 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnDisconnected(Photon.Realtime.DisconnectCause)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnDisconnected_m1500406236 (OnJoinedInstantiate_t361656573 * __this, int32_t ___cause0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnRegionListReceived(Photon.Realtime.RegionHandler)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnRegionListReceived_m4102093036 (OnJoinedInstantiate_t361656573 * __this, RegionHandler_t2691069734 * ___regionHandler0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnRoomListUpdate(System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnRoomListUpdate_m2906235008 (OnJoinedInstantiate_t361656573 * __this, List_1_t296058211 * ___roomList0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnFriendListUpdate(System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnFriendListUpdate_m3059507910 (OnJoinedInstantiate_t361656573 * __this, List_1_t4232228456 * ___friendList0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnJoinedLobby()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnJoinedLobby_m59875529 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnLeftLobby()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnLeftLobby_m719186379 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnLobbyStatisticsUpdate(System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnLobbyStatisticsUpdate_m4109174465 (OnJoinedInstantiate_t361656573 * __this, List_1_t2063875166 * ___lobbyStatistics0, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnCreatedRoom()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnCreatedRoom_m301579102 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnCreateRoomFailed(System.Int16,System.String)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnCreateRoomFailed_m2244931778 (OnJoinedInstantiate_t361656573 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnJoinRoomFailed(System.Int16,System.String)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnJoinRoomFailed_m901614885 (OnJoinedInstantiate_t361656573 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnJoinRandomFailed(System.Int16,System.String)
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnJoinRandomFailed_m119326725 (OnJoinedInstantiate_t361656573 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnJoinedInstantiate::OnLeftRoom()
extern "C" IL2CPP_METHOD_ATTR void OnJoinedInstantiate_OnLeftRoom_m3760551201 (OnJoinedInstantiate_t361656573 * __this, const RuntimeMethod* method)
{
{
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 Photon.Pun.UtilityScripts.OnPointerOverTooltip::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnPointerOverTooltip__ctor_m1895414587 (OnPointerOverTooltip_t3690126031 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnPointerOverTooltip::OnDestroy()
extern "C" IL2CPP_METHOD_ATTR void OnPointerOverTooltip_OnDestroy_m19069061 (OnPointerOverTooltip_t3690126031 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnPointerOverTooltip_OnDestroy_m19069061_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointedAtGameObjectInfo_t425461813 * L_0 = ((PointedAtGameObjectInfo_t425461813_StaticFields*)il2cpp_codegen_static_fields_for(PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var))->get_Instance_4();
PhotonView_t3684715584 * L_1 = Component_GetComponent_TisPhotonView_t3684715584_m2959291925(__this, /*hidden argument*/Component_GetComponent_TisPhotonView_t3684715584_m2959291925_RuntimeMethod_var);
NullCheck(L_0);
PointedAtGameObjectInfo_RemoveFocus_m129442045(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnPointerOverTooltip::UnityEngine.EventSystems.IPointerExitHandler.OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void OnPointerOverTooltip_UnityEngine_EventSystems_IPointerExitHandler_OnPointerExit_m3227103662 (OnPointerOverTooltip_t3690126031 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnPointerOverTooltip_UnityEngine_EventSystems_IPointerExitHandler_OnPointerExit_m3227103662_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointedAtGameObjectInfo_t425461813 * L_0 = ((PointedAtGameObjectInfo_t425461813_StaticFields*)il2cpp_codegen_static_fields_for(PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var))->get_Instance_4();
PhotonView_t3684715584 * L_1 = Component_GetComponent_TisPhotonView_t3684715584_m2959291925(__this, /*hidden argument*/Component_GetComponent_TisPhotonView_t3684715584_m2959291925_RuntimeMethod_var);
NullCheck(L_0);
PointedAtGameObjectInfo_RemoveFocus_m129442045(L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnPointerOverTooltip::UnityEngine.EventSystems.IPointerEnterHandler.OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void OnPointerOverTooltip_UnityEngine_EventSystems_IPointerEnterHandler_OnPointerEnter_m1507243938 (OnPointerOverTooltip_t3690126031 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnPointerOverTooltip_UnityEngine_EventSystems_IPointerEnterHandler_OnPointerEnter_m1507243938_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointedAtGameObjectInfo_t425461813 * L_0 = ((PointedAtGameObjectInfo_t425461813_StaticFields*)il2cpp_codegen_static_fields_for(PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var))->get_Instance_4();
PhotonView_t3684715584 * L_1 = Component_GetComponent_TisPhotonView_t3684715584_m2959291925(__this, /*hidden argument*/Component_GetComponent_TisPhotonView_t3684715584_m2959291925_RuntimeMethod_var);
NullCheck(L_0);
PointedAtGameObjectInfo_SetFocus_m3920654545(L_0, L_1, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.OnStartDelete::.ctor()
extern "C" IL2CPP_METHOD_ATTR void OnStartDelete__ctor_m2357970878 (OnStartDelete_t2541883597 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.OnStartDelete::Start()
extern "C" IL2CPP_METHOD_ATTR void OnStartDelete_Start_m2144313118 (OnStartDelete_t2541883597 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (OnStartDelete_Start_m2144313118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GameObject_t1113636619 * L_0 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_Destroy_m565254235(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.PhotonLagSimulationGui::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui__ctor_m3370594380 (PhotonLagSimulationGui_t145554164 * __this, const RuntimeMethod* method)
{
{
Rect_t2360479859 L_0;
memset(&L_0, 0, sizeof(L_0));
Rect__ctor_m2614021312((&L_0), (0.0f), (100.0f), (120.0f), (100.0f), /*hidden argument*/NULL);
__this->set_WindowRect_4(L_0);
__this->set_WindowId_5(((int32_t)101));
__this->set_Visible_6((bool)1);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// ExitGames.Client.Photon.PhotonPeer Photon.Pun.UtilityScripts.PhotonLagSimulationGui::get_Peer()
extern "C" IL2CPP_METHOD_ATTR PhotonPeer_t1608153861 * PhotonLagSimulationGui_get_Peer_m2471109069 (PhotonLagSimulationGui_t145554164 * __this, const RuntimeMethod* method)
{
{
PhotonPeer_t1608153861 * L_0 = __this->get_U3CPeerU3Ek__BackingField_7();
return L_0;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::set_Peer(ExitGames.Client.Photon.PhotonPeer)
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_set_Peer_m219467508 (PhotonLagSimulationGui_t145554164 * __this, PhotonPeer_t1608153861 * ___value0, const RuntimeMethod* method)
{
{
PhotonPeer_t1608153861 * L_0 = ___value0;
__this->set_U3CPeerU3Ek__BackingField_7(L_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::Start()
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_Start_m2705320046 (PhotonLagSimulationGui_t145554164 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonLagSimulationGui_Start_m2705320046_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_0 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_0);
LoadBalancingPeer_t529840942 * L_1 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_0, /*hidden argument*/NULL);
PhotonLagSimulationGui_set_Peer_m219467508(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::OnGUI()
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_OnGUI_m1855844633 (PhotonLagSimulationGui_t145554164 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonLagSimulationGui_OnGUI_m1855844633_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_Visible_6();
if (L_0)
{
goto IL_000c;
}
}
{
return;
}
IL_000c:
{
PhotonPeer_t1608153861 * L_1 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_004a;
}
}
{
int32_t L_2 = __this->get_WindowId_5();
Rect_t2360479859 L_3 = __this->get_WindowRect_4();
intptr_t L_4 = (intptr_t)PhotonLagSimulationGui_NetSimHasNoPeerWindow_m3178588920_RuntimeMethod_var;
WindowFunction_t3146511083 * L_5 = (WindowFunction_t3146511083 *)il2cpp_codegen_object_new(WindowFunction_t3146511083_il2cpp_TypeInfo_var);
WindowFunction__ctor_m2544237635(L_5, __this, (intptr_t)L_4, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_6 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
Rect_t2360479859 L_7 = GUILayout_Window_m4256324736(NULL /*static, unused*/, L_2, L_3, L_5, _stringLiteral2340317877, L_6, /*hidden argument*/NULL);
__this->set_WindowRect_4(L_7);
goto IL_0078;
}
IL_004a:
{
int32_t L_8 = __this->get_WindowId_5();
Rect_t2360479859 L_9 = __this->get_WindowRect_4();
intptr_t L_10 = (intptr_t)PhotonLagSimulationGui_NetSimWindow_m1378968257_RuntimeMethod_var;
WindowFunction_t3146511083 * L_11 = (WindowFunction_t3146511083 *)il2cpp_codegen_object_new(WindowFunction_t3146511083_il2cpp_TypeInfo_var);
WindowFunction__ctor_m2544237635(L_11, __this, (intptr_t)L_10, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_12 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
Rect_t2360479859 L_13 = GUILayout_Window_m4256324736(NULL /*static, unused*/, L_8, L_9, L_11, _stringLiteral2340317877, L_12, /*hidden argument*/NULL);
__this->set_WindowRect_4(L_13);
}
IL_0078:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::NetSimHasNoPeerWindow(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_NetSimHasNoPeerWindow_m3178588920 (PhotonLagSimulationGui_t145554164 * __this, int32_t ___windowId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonLagSimulationGui_NetSimHasNoPeerWindow_m3178588920_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
GUILayoutOptionU5BU5D_t2510215842* L_0 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, _stringLiteral2281429228, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonLagSimulationGui::NetSimWindow(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PhotonLagSimulationGui_NetSimWindow_m1378968257 (PhotonLagSimulationGui_t145554164 * __this, int32_t ___windowId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonLagSimulationGui_NetSimWindow_m1378968257_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
float V_2 = 0.0f;
float V_3 = 0.0f;
float V_4 = 0.0f;
{
PhotonPeer_t1608153861 * L_0 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_0);
int32_t L_1 = PhotonPeer_get_RoundTripTime_m765987556(L_0, /*hidden argument*/NULL);
int32_t L_2 = L_1;
RuntimeObject * L_3 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_2);
PhotonPeer_t1608153861 * L_4 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_4);
int32_t L_5 = PhotonPeer_get_RoundTripTimeVariance_m1530292774(L_4, /*hidden argument*/NULL);
int32_t L_6 = L_5;
RuntimeObject * L_7 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_6);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = String_Format_m2556382932(NULL /*static, unused*/, _stringLiteral772360383, L_3, L_7, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_9 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_10 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_10);
bool L_11 = VirtFuncInvoker0< bool >::Invoke(4 /* System.Boolean ExitGames.Client.Photon.PhotonPeer::get_IsSimulationEnabled() */, L_10);
V_0 = L_11;
bool L_12 = V_0;
GUILayoutOptionU5BU5D_t2510215842* L_13 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_14 = GUILayout_Toggle_m3863284302(NULL /*static, unused*/, L_12, _stringLiteral2991614154, L_13, /*hidden argument*/NULL);
V_1 = L_14;
bool L_15 = V_1;
bool L_16 = V_0;
if ((((int32_t)L_15) == ((int32_t)L_16)))
{
goto IL_0066;
}
}
{
PhotonPeer_t1608153861 * L_17 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
bool L_18 = V_1;
NullCheck(L_17);
VirtActionInvoker1< bool >::Invoke(5 /* System.Void ExitGames.Client.Photon.PhotonPeer::set_IsSimulationEnabled(System.Boolean) */, L_17, L_18);
}
IL_0066:
{
PhotonPeer_t1608153861 * L_19 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_19);
NetworkSimulationSet_t2000596048 * L_20 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
int32_t L_21 = NetworkSimulationSet_get_IncomingLag_m2820107688(L_20, /*hidden argument*/NULL);
V_2 = (((float)((float)L_21)));
float L_22 = V_2;
float L_23 = L_22;
RuntimeObject * L_24 = Box(Single_t1397266774_il2cpp_TypeInfo_var, &L_23);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_25 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral1040231083, L_24, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_26 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
float L_27 = V_2;
GUILayoutOptionU5BU5D_t2510215842* L_28 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
float L_29 = GUILayout_HorizontalSlider_m3373686566(NULL /*static, unused*/, L_27, (0.0f), (500.0f), L_28, /*hidden argument*/NULL);
V_2 = L_29;
PhotonPeer_t1608153861 * L_30 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_30);
NetworkSimulationSet_t2000596048 * L_31 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_30, /*hidden argument*/NULL);
float L_32 = V_2;
NullCheck(L_31);
NetworkSimulationSet_set_IncomingLag_m497752749(L_31, (((int32_t)((int32_t)L_32))), /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_33 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_33);
NetworkSimulationSet_t2000596048 * L_34 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_33, /*hidden argument*/NULL);
float L_35 = V_2;
NullCheck(L_34);
NetworkSimulationSet_set_OutgoingLag_m3696969856(L_34, (((int32_t)((int32_t)L_35))), /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_36 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_36);
NetworkSimulationSet_t2000596048 * L_37 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_36, /*hidden argument*/NULL);
NullCheck(L_37);
int32_t L_38 = NetworkSimulationSet_get_IncomingJitter_m3174811529(L_37, /*hidden argument*/NULL);
V_3 = (((float)((float)L_38)));
float L_39 = V_3;
float L_40 = L_39;
RuntimeObject * L_41 = Box(Single_t1397266774_il2cpp_TypeInfo_var, &L_40);
String_t* L_42 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral731579180, L_41, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_43 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_42, L_43, /*hidden argument*/NULL);
float L_44 = V_3;
GUILayoutOptionU5BU5D_t2510215842* L_45 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
float L_46 = GUILayout_HorizontalSlider_m3373686566(NULL /*static, unused*/, L_44, (0.0f), (100.0f), L_45, /*hidden argument*/NULL);
V_3 = L_46;
PhotonPeer_t1608153861 * L_47 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_47);
NetworkSimulationSet_t2000596048 * L_48 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_47, /*hidden argument*/NULL);
float L_49 = V_3;
NullCheck(L_48);
NetworkSimulationSet_set_IncomingJitter_m524640513(L_48, (((int32_t)((int32_t)L_49))), /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_50 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_50);
NetworkSimulationSet_t2000596048 * L_51 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_50, /*hidden argument*/NULL);
float L_52 = V_3;
NullCheck(L_51);
NetworkSimulationSet_set_OutgoingJitter_m1612355397(L_51, (((int32_t)((int32_t)L_52))), /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_53 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_53);
NetworkSimulationSet_t2000596048 * L_54 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_53, /*hidden argument*/NULL);
NullCheck(L_54);
int32_t L_55 = NetworkSimulationSet_get_IncomingLossPercentage_m3156240144(L_54, /*hidden argument*/NULL);
V_4 = (((float)((float)L_55)));
float L_56 = V_4;
float L_57 = L_56;
RuntimeObject * L_58 = Box(Single_t1397266774_il2cpp_TypeInfo_var, &L_57);
String_t* L_59 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral795167749, L_58, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_60 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_59, L_60, /*hidden argument*/NULL);
float L_61 = V_4;
GUILayoutOptionU5BU5D_t2510215842* L_62 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
float L_63 = GUILayout_HorizontalSlider_m3373686566(NULL /*static, unused*/, L_61, (0.0f), (10.0f), L_62, /*hidden argument*/NULL);
V_4 = L_63;
PhotonPeer_t1608153861 * L_64 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_64);
NetworkSimulationSet_t2000596048 * L_65 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_64, /*hidden argument*/NULL);
float L_66 = V_4;
NullCheck(L_65);
NetworkSimulationSet_set_IncomingLossPercentage_m2560354524(L_65, (((int32_t)((int32_t)L_66))), /*hidden argument*/NULL);
PhotonPeer_t1608153861 * L_67 = PhotonLagSimulationGui_get_Peer_m2471109069(__this, /*hidden argument*/NULL);
NullCheck(L_67);
NetworkSimulationSet_t2000596048 * L_68 = PhotonPeer_get_NetworkSimulationSettings_m594045830(L_67, /*hidden argument*/NULL);
float L_69 = V_4;
NullCheck(L_68);
NetworkSimulationSet_set_OutgoingLossPercentage_m1867998205(L_68, (((int32_t)((int32_t)L_69))), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GUI_t1624858472_il2cpp_TypeInfo_var);
bool L_70 = GUI_get_changed_m1047417530(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_70)
{
goto IL_01be;
}
}
{
Rect_t2360479859 * L_71 = __this->get_address_of_WindowRect_4();
Rect_set_height_m1625569324((Rect_t2360479859 *)L_71, (100.0f), /*hidden argument*/NULL);
}
IL_01be:
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t1624858472_il2cpp_TypeInfo_var);
GUI_DragWindow_m795034056(NULL /*static, unused*/, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.PhotonStatsGui::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PhotonStatsGui__ctor_m2631800500 (PhotonStatsGui_t2125249956 * __this, const RuntimeMethod* method)
{
{
__this->set_statsWindowOn_4((bool)1);
__this->set_statsOn_5((bool)1);
Rect_t2360479859 L_0;
memset(&L_0, 0, sizeof(L_0));
Rect__ctor_m2614021312((&L_0), (0.0f), (100.0f), (200.0f), (50.0f), /*hidden argument*/NULL);
__this->set_statsRect_9(L_0);
__this->set_WindowId_10(((int32_t)100));
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonStatsGui::Start()
extern "C" IL2CPP_METHOD_ATTR void PhotonStatsGui_Start_m2039923712 (PhotonStatsGui_t2125249956 * __this, const RuntimeMethod* method)
{
{
Rect_t2360479859 * L_0 = __this->get_address_of_statsRect_9();
float L_1 = Rect_get_x_m3839990490((Rect_t2360479859 *)L_0, /*hidden argument*/NULL);
if ((!(((float)L_1) <= ((float)(0.0f)))))
{
goto IL_0032;
}
}
{
Rect_t2360479859 * L_2 = __this->get_address_of_statsRect_9();
int32_t L_3 = Screen_get_width_m345039817(NULL /*static, unused*/, /*hidden argument*/NULL);
Rect_t2360479859 * L_4 = __this->get_address_of_statsRect_9();
float L_5 = Rect_get_width_m3421484486((Rect_t2360479859 *)L_4, /*hidden argument*/NULL);
Rect_set_x_m2352063068((Rect_t2360479859 *)L_2, ((float)il2cpp_codegen_subtract((float)(((float)((float)L_3))), (float)L_5)), /*hidden argument*/NULL);
}
IL_0032:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonStatsGui::Update()
extern "C" IL2CPP_METHOD_ATTR void PhotonStatsGui_Update_m1444365946 (PhotonStatsGui_t2125249956 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonStatsGui_Update_m1444365946_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_0 = Input_GetKeyDown_m17791917(NULL /*static, unused*/, ((int32_t)9), /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0031;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Input_t1431474628_il2cpp_TypeInfo_var);
bool L_1 = Input_GetKey_m3736388334(NULL /*static, unused*/, ((int32_t)304), /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0031;
}
}
{
bool L_2 = __this->get_statsWindowOn_4();
__this->set_statsWindowOn_4((bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0));
__this->set_statsOn_5((bool)1);
}
IL_0031:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonStatsGui::OnGUI()
extern "C" IL2CPP_METHOD_ATTR void PhotonStatsGui_OnGUI_m1132878649 (PhotonStatsGui_t2125249956 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonStatsGui_OnGUI_m1132878649_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_0 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_0);
LoadBalancingPeer_t529840942 * L_1 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
bool L_2 = PhotonPeer_get_TrafficStatsEnabled_m3528773544(L_1, /*hidden argument*/NULL);
bool L_3 = __this->get_statsOn_5();
if ((((int32_t)L_2) == ((int32_t)L_3)))
{
goto IL_002f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_4 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_4);
LoadBalancingPeer_t529840942 * L_5 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_4, /*hidden argument*/NULL);
bool L_6 = __this->get_statsOn_5();
NullCheck(L_5);
PhotonPeer_set_TrafficStatsEnabled_m791768935(L_5, L_6, /*hidden argument*/NULL);
}
IL_002f:
{
bool L_7 = __this->get_statsWindowOn_4();
if (L_7)
{
goto IL_003b;
}
}
{
return;
}
IL_003b:
{
int32_t L_8 = __this->get_WindowId_10();
Rect_t2360479859 L_9 = __this->get_statsRect_9();
intptr_t L_10 = (intptr_t)PhotonStatsGui_TrafficStatsWindow_m2032808384_RuntimeMethod_var;
WindowFunction_t3146511083 * L_11 = (WindowFunction_t3146511083 *)il2cpp_codegen_object_new(WindowFunction_t3146511083_il2cpp_TypeInfo_var);
WindowFunction__ctor_m2544237635(L_11, __this, (intptr_t)L_10, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_12 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
Rect_t2360479859 L_13 = GUILayout_Window_m4256324736(NULL /*static, unused*/, L_8, L_9, L_11, _stringLiteral690802062, L_12, /*hidden argument*/NULL);
__this->set_statsRect_9(L_13);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PhotonStatsGui::TrafficStatsWindow(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PhotonStatsGui_TrafficStatsWindow_m2032808384 (PhotonStatsGui_t2125249956 * __this, int32_t ___windowID0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PhotonStatsGui_TrafficStatsWindow_m2032808384_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
TrafficStatsGameLevel_t4013908777 * V_1 = NULL;
int64_t V_2 = 0;
String_t* V_3 = NULL;
String_t* V_4 = NULL;
String_t* V_5 = NULL;
String_t* V_6 = NULL;
String_t* V_7 = NULL;
String_t* V_8 = NULL;
String_t* V_9 = NULL;
{
V_0 = (bool)0;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_0 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_0);
LoadBalancingPeer_t529840942 * L_1 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
TrafficStatsGameLevel_t4013908777 * L_2 = PhotonPeer_get_TrafficStatsGameLevel_m2334524724(L_1, /*hidden argument*/NULL);
V_1 = L_2;
LoadBalancingClient_t609581828 * L_3 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_3);
LoadBalancingPeer_t529840942 * L_4 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
int64_t L_5 = PhotonPeer_get_TrafficStatsElapsedMs_m4084902159(L_4, /*hidden argument*/NULL);
V_2 = ((int64_t)((int64_t)L_5/(int64_t)(((int64_t)((int64_t)((int32_t)1000))))));
int64_t L_6 = V_2;
if ((!(((uint64_t)L_6) == ((uint64_t)(((int64_t)((int64_t)0)))))))
{
goto IL_0034;
}
}
{
V_2 = (((int64_t)((int64_t)1)));
}
IL_0034:
{
GUILayoutOptionU5BU5D_t2510215842* L_7 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_BeginHorizontal_m1655989246(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
bool L_8 = __this->get_buttonsOn_8();
GUILayoutOptionU5BU5D_t2510215842* L_9 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_10 = GUILayout_Toggle_m3863284302(NULL /*static, unused*/, L_8, _stringLiteral2039914422, L_9, /*hidden argument*/NULL);
__this->set_buttonsOn_8(L_10);
bool L_11 = __this->get_healthStatsVisible_6();
GUILayoutOptionU5BU5D_t2510215842* L_12 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_13 = GUILayout_Toggle_m3863284302(NULL /*static, unused*/, L_11, _stringLiteral764586223, L_12, /*hidden argument*/NULL);
__this->set_healthStatsVisible_6(L_13);
bool L_14 = __this->get_trafficStatsOn_7();
GUILayoutOptionU5BU5D_t2510215842* L_15 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_16 = GUILayout_Toggle_m3863284302(NULL /*static, unused*/, L_14, _stringLiteral3579557770, L_15, /*hidden argument*/NULL);
__this->set_trafficStatsOn_7(L_16);
GUILayout_EndHorizontal_m125407884(NULL /*static, unused*/, /*hidden argument*/NULL);
TrafficStatsGameLevel_t4013908777 * L_17 = V_1;
NullCheck(L_17);
int32_t L_18 = TrafficStatsGameLevel_get_TotalOutgoingMessageCount_m1901280818(L_17, /*hidden argument*/NULL);
int32_t L_19 = L_18;
RuntimeObject * L_20 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_19);
TrafficStatsGameLevel_t4013908777 * L_21 = V_1;
NullCheck(L_21);
int32_t L_22 = TrafficStatsGameLevel_get_TotalIncomingMessageCount_m913378961(L_21, /*hidden argument*/NULL);
int32_t L_23 = L_22;
RuntimeObject * L_24 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_23);
TrafficStatsGameLevel_t4013908777 * L_25 = V_1;
NullCheck(L_25);
int32_t L_26 = TrafficStatsGameLevel_get_TotalMessageCount_m60277200(L_25, /*hidden argument*/NULL);
int32_t L_27 = L_26;
RuntimeObject * L_28 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_27);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_29 = String_Format_m3339413201(NULL /*static, unused*/, _stringLiteral395050122, L_20, L_24, L_28, /*hidden argument*/NULL);
V_3 = L_29;
int64_t L_30 = V_2;
int64_t L_31 = L_30;
RuntimeObject * L_32 = Box(Int64_t3736567304_il2cpp_TypeInfo_var, &L_31);
String_t* L_33 = String_Format_m2844511972(NULL /*static, unused*/, _stringLiteral545069893, L_32, /*hidden argument*/NULL);
V_4 = L_33;
TrafficStatsGameLevel_t4013908777 * L_34 = V_1;
NullCheck(L_34);
int32_t L_35 = TrafficStatsGameLevel_get_TotalOutgoingMessageCount_m1901280818(L_34, /*hidden argument*/NULL);
int64_t L_36 = V_2;
int64_t L_37 = ((int64_t)((int64_t)(((int64_t)((int64_t)L_35)))/(int64_t)L_36));
RuntimeObject * L_38 = Box(Int64_t3736567304_il2cpp_TypeInfo_var, &L_37);
TrafficStatsGameLevel_t4013908777 * L_39 = V_1;
NullCheck(L_39);
int32_t L_40 = TrafficStatsGameLevel_get_TotalIncomingMessageCount_m913378961(L_39, /*hidden argument*/NULL);
int64_t L_41 = V_2;
int64_t L_42 = ((int64_t)((int64_t)(((int64_t)((int64_t)L_40)))/(int64_t)L_41));
RuntimeObject * L_43 = Box(Int64_t3736567304_il2cpp_TypeInfo_var, &L_42);
TrafficStatsGameLevel_t4013908777 * L_44 = V_1;
NullCheck(L_44);
int32_t L_45 = TrafficStatsGameLevel_get_TotalMessageCount_m60277200(L_44, /*hidden argument*/NULL);
int64_t L_46 = V_2;
int64_t L_47 = ((int64_t)((int64_t)(((int64_t)((int64_t)L_45)))/(int64_t)L_46));
RuntimeObject * L_48 = Box(Int64_t3736567304_il2cpp_TypeInfo_var, &L_47);
String_t* L_49 = String_Format_m3339413201(NULL /*static, unused*/, _stringLiteral395050122, L_38, L_43, L_48, /*hidden argument*/NULL);
V_5 = L_49;
String_t* L_50 = V_3;
GUILayoutOptionU5BU5D_t2510215842* L_51 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL);
String_t* L_52 = V_4;
GUILayoutOptionU5BU5D_t2510215842* L_53 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_52, L_53, /*hidden argument*/NULL);
String_t* L_54 = V_5;
GUILayoutOptionU5BU5D_t2510215842* L_55 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_54, L_55, /*hidden argument*/NULL);
bool L_56 = __this->get_buttonsOn_8();
if (!L_56)
{
goto IL_01ae;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_57 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_BeginHorizontal_m1655989246(NULL /*static, unused*/, L_57, /*hidden argument*/NULL);
bool L_58 = __this->get_statsOn_5();
GUILayoutOptionU5BU5D_t2510215842* L_59 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_60 = GUILayout_Toggle_m3863284302(NULL /*static, unused*/, L_58, _stringLiteral873868984, L_59, /*hidden argument*/NULL);
__this->set_statsOn_5(L_60);
GUILayoutOptionU5BU5D_t2510215842* L_61 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_62 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral1636126115, L_61, /*hidden argument*/NULL);
if (!L_62)
{
goto IL_0198;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_63 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_63);
LoadBalancingPeer_t529840942 * L_64 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_63, /*hidden argument*/NULL);
NullCheck(L_64);
PhotonPeer_TrafficStatsReset_m4230257363(L_64, /*hidden argument*/NULL);
LoadBalancingClient_t609581828 * L_65 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_65);
LoadBalancingPeer_t529840942 * L_66 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_65, /*hidden argument*/NULL);
NullCheck(L_66);
PhotonPeer_set_TrafficStatsEnabled_m791768935(L_66, (bool)1, /*hidden argument*/NULL);
}
IL_0198:
{
GUILayoutOptionU5BU5D_t2510215842* L_67 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_68 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral2712625001, L_67, /*hidden argument*/NULL);
V_0 = L_68;
GUILayout_EndHorizontal_m125407884(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_01ae:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_69 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_6 = L_69;
String_t* L_70 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_7 = L_70;
bool L_71 = __this->get_trafficStatsOn_7();
if (!L_71)
{
goto IL_0231;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_72 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Box_m1169236630(NULL /*static, unused*/, _stringLiteral2624477069, L_72, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_73 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_73);
LoadBalancingPeer_t529840942 * L_74 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_73, /*hidden argument*/NULL);
NullCheck(L_74);
TrafficStats_t1302902347 * L_75 = PhotonPeer_get_TrafficStatsIncoming_m2612151008(L_74, /*hidden argument*/NULL);
NullCheck(L_75);
String_t* L_76 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_75);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_77 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral1956379267, L_76, /*hidden argument*/NULL);
V_6 = L_77;
LoadBalancingClient_t609581828 * L_78 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_78);
LoadBalancingPeer_t529840942 * L_79 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_78, /*hidden argument*/NULL);
NullCheck(L_79);
TrafficStats_t1302902347 * L_80 = PhotonPeer_get_TrafficStatsOutgoing_m2826863915(L_79, /*hidden argument*/NULL);
NullCheck(L_80);
String_t* L_81 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_80);
String_t* L_82 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral834226267, L_81, /*hidden argument*/NULL);
V_7 = L_82;
String_t* L_83 = V_6;
GUILayoutOptionU5BU5D_t2510215842* L_84 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_83, L_84, /*hidden argument*/NULL);
String_t* L_85 = V_7;
GUILayoutOptionU5BU5D_t2510215842* L_86 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_85, L_86, /*hidden argument*/NULL);
}
IL_0231:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_87 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
V_8 = L_87;
bool L_88 = __this->get_healthStatsVisible_6();
if (!L_88)
{
goto IL_030c;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_89 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Box_m1169236630(NULL /*static, unused*/, _stringLiteral2320622491, L_89, /*hidden argument*/NULL);
ObjectU5BU5D_t2843939325* L_90 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)((int32_t)9));
ObjectU5BU5D_t2843939325* L_91 = L_90;
TrafficStatsGameLevel_t4013908777 * L_92 = V_1;
NullCheck(L_92);
int32_t L_93 = TrafficStatsGameLevel_get_LongestDeltaBetweenSending_m3568762106(L_92, /*hidden argument*/NULL);
int32_t L_94 = L_93;
RuntimeObject * L_95 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_94);
NullCheck(L_91);
ArrayElementTypeCheck (L_91, L_95);
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_95);
ObjectU5BU5D_t2843939325* L_96 = L_91;
TrafficStatsGameLevel_t4013908777 * L_97 = V_1;
NullCheck(L_97);
int32_t L_98 = TrafficStatsGameLevel_get_LongestDeltaBetweenDispatching_m1934683369(L_97, /*hidden argument*/NULL);
int32_t L_99 = L_98;
RuntimeObject * L_100 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_99);
NullCheck(L_96);
ArrayElementTypeCheck (L_96, L_100);
(L_96)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_100);
ObjectU5BU5D_t2843939325* L_101 = L_96;
TrafficStatsGameLevel_t4013908777 * L_102 = V_1;
NullCheck(L_102);
int32_t L_103 = TrafficStatsGameLevel_get_LongestEventCallback_m648070515(L_102, /*hidden argument*/NULL);
int32_t L_104 = L_103;
RuntimeObject * L_105 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_104);
NullCheck(L_101);
ArrayElementTypeCheck (L_101, L_105);
(L_101)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_105);
ObjectU5BU5D_t2843939325* L_106 = L_101;
TrafficStatsGameLevel_t4013908777 * L_107 = V_1;
NullCheck(L_107);
uint8_t L_108 = TrafficStatsGameLevel_get_LongestEventCallbackCode_m194029821(L_107, /*hidden argument*/NULL);
uint8_t L_109 = L_108;
RuntimeObject * L_110 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_109);
NullCheck(L_106);
ArrayElementTypeCheck (L_106, L_110);
(L_106)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_110);
ObjectU5BU5D_t2843939325* L_111 = L_106;
TrafficStatsGameLevel_t4013908777 * L_112 = V_1;
NullCheck(L_112);
int32_t L_113 = TrafficStatsGameLevel_get_LongestOpResponseCallback_m103005414(L_112, /*hidden argument*/NULL);
int32_t L_114 = L_113;
RuntimeObject * L_115 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_114);
NullCheck(L_111);
ArrayElementTypeCheck (L_111, L_115);
(L_111)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_115);
ObjectU5BU5D_t2843939325* L_116 = L_111;
TrafficStatsGameLevel_t4013908777 * L_117 = V_1;
NullCheck(L_117);
uint8_t L_118 = TrafficStatsGameLevel_get_LongestOpResponseCallbackOpCode_m1024426170(L_117, /*hidden argument*/NULL);
uint8_t L_119 = L_118;
RuntimeObject * L_120 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_119);
NullCheck(L_116);
ArrayElementTypeCheck (L_116, L_120);
(L_116)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_120);
ObjectU5BU5D_t2843939325* L_121 = L_116;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_122 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_122);
LoadBalancingPeer_t529840942 * L_123 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_122, /*hidden argument*/NULL);
NullCheck(L_123);
int32_t L_124 = PhotonPeer_get_RoundTripTime_m765987556(L_123, /*hidden argument*/NULL);
int32_t L_125 = L_124;
RuntimeObject * L_126 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_125);
NullCheck(L_121);
ArrayElementTypeCheck (L_121, L_126);
(L_121)->SetAt(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)L_126);
ObjectU5BU5D_t2843939325* L_127 = L_121;
LoadBalancingClient_t609581828 * L_128 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_128);
LoadBalancingPeer_t529840942 * L_129 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_128, /*hidden argument*/NULL);
NullCheck(L_129);
int32_t L_130 = PhotonPeer_get_RoundTripTimeVariance_m1530292774(L_129, /*hidden argument*/NULL);
int32_t L_131 = L_130;
RuntimeObject * L_132 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_131);
NullCheck(L_127);
ArrayElementTypeCheck (L_127, L_132);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(7), (RuntimeObject *)L_132);
ObjectU5BU5D_t2843939325* L_133 = L_127;
LoadBalancingClient_t609581828 * L_134 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_134);
LoadBalancingPeer_t529840942 * L_135 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_134, /*hidden argument*/NULL);
NullCheck(L_135);
int32_t L_136 = PhotonPeer_get_ResentReliableCommands_m3516088330(L_135, /*hidden argument*/NULL);
int32_t L_137 = L_136;
RuntimeObject * L_138 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_137);
NullCheck(L_133);
ArrayElementTypeCheck (L_133, L_138);
(L_133)->SetAt(static_cast<il2cpp_array_size_t>(8), (RuntimeObject *)L_138);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_139 = String_Format_m630303134(NULL /*static, unused*/, _stringLiteral3846590399, L_133, /*hidden argument*/NULL);
V_8 = L_139;
String_t* L_140 = V_8;
GUILayoutOptionU5BU5D_t2510215842* L_141 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_140, L_141, /*hidden argument*/NULL);
}
IL_030c:
{
bool L_142 = V_0;
if (!L_142)
{
goto IL_0348;
}
}
{
ObjectU5BU5D_t2843939325* L_143 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_t2843939325* L_144 = L_143;
String_t* L_145 = V_3;
NullCheck(L_144);
ArrayElementTypeCheck (L_144, L_145);
(L_144)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_145);
ObjectU5BU5D_t2843939325* L_146 = L_144;
String_t* L_147 = V_4;
NullCheck(L_146);
ArrayElementTypeCheck (L_146, L_147);
(L_146)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_147);
ObjectU5BU5D_t2843939325* L_148 = L_146;
String_t* L_149 = V_5;
NullCheck(L_148);
ArrayElementTypeCheck (L_148, L_149);
(L_148)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_149);
ObjectU5BU5D_t2843939325* L_150 = L_148;
String_t* L_151 = V_6;
NullCheck(L_150);
ArrayElementTypeCheck (L_150, L_151);
(L_150)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_151);
ObjectU5BU5D_t2843939325* L_152 = L_150;
String_t* L_153 = V_7;
NullCheck(L_152);
ArrayElementTypeCheck (L_152, L_153);
(L_152)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_153);
ObjectU5BU5D_t2843939325* L_154 = L_152;
String_t* L_155 = V_8;
NullCheck(L_154);
ArrayElementTypeCheck (L_154, L_155);
(L_154)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_155);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_156 = String_Format_m630303134(NULL /*static, unused*/, _stringLiteral1185472782, L_154, /*hidden argument*/NULL);
V_9 = L_156;
String_t* L_157 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, L_157, /*hidden argument*/NULL);
}
IL_0348:
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t1624858472_il2cpp_TypeInfo_var);
bool L_158 = GUI_get_changed_m1047417530(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_158)
{
goto IL_0362;
}
}
{
Rect_t2360479859 * L_159 = __this->get_address_of_statsRect_9();
Rect_set_height_m1625569324((Rect_t2360479859 *)L_159, (100.0f), /*hidden argument*/NULL);
}
IL_0362:
{
IL2CPP_RUNTIME_CLASS_INIT(GUI_t1624858472_il2cpp_TypeInfo_var);
GUI_DragWindow_m795034056(NULL /*static, unused*/, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.PlayerNumbering::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering__ctor_m2601181263 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method)
{
{
MonoBehaviourPunCallbacks__ctor_m817142383(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::add_OnPlayerNumberingChanged(Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_add_OnPlayerNumberingChanged_m1360814868 (RuntimeObject * __this /* static, unused */, PlayerNumberingChanged_t966975091 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_add_OnPlayerNumberingChanged_m1360814868_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
PlayerNumberingChanged_t966975091 * V_0 = NULL;
PlayerNumberingChanged_t966975091 * V_1 = NULL;
{
PlayerNumberingChanged_t966975091 * L_0 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
V_0 = L_0;
}
IL_0006:
{
PlayerNumberingChanged_t966975091 * L_1 = V_0;
V_1 = L_1;
PlayerNumberingChanged_t966975091 * L_2 = V_1;
PlayerNumberingChanged_t966975091 * L_3 = ___value0;
Delegate_t1188392813 * L_4 = Delegate_Combine_m1859655160(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
PlayerNumberingChanged_t966975091 * L_5 = V_0;
PlayerNumberingChanged_t966975091 * L_6 = InterlockedCompareExchangeImpl<PlayerNumberingChanged_t966975091 *>((PlayerNumberingChanged_t966975091 **)(((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_address_of_OnPlayerNumberingChanged_7()), ((PlayerNumberingChanged_t966975091 *)CastclassSealed((RuntimeObject*)L_4, PlayerNumberingChanged_t966975091_il2cpp_TypeInfo_var)), L_5);
V_0 = L_6;
PlayerNumberingChanged_t966975091 * L_7 = V_0;
PlayerNumberingChanged_t966975091 * L_8 = V_1;
if ((!(((RuntimeObject*)(PlayerNumberingChanged_t966975091 *)L_7) == ((RuntimeObject*)(PlayerNumberingChanged_t966975091 *)L_8))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::remove_OnPlayerNumberingChanged(Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_remove_OnPlayerNumberingChanged_m4107329667 (RuntimeObject * __this /* static, unused */, PlayerNumberingChanged_t966975091 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_remove_OnPlayerNumberingChanged_m4107329667_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
PlayerNumberingChanged_t966975091 * V_0 = NULL;
PlayerNumberingChanged_t966975091 * V_1 = NULL;
{
PlayerNumberingChanged_t966975091 * L_0 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
V_0 = L_0;
}
IL_0006:
{
PlayerNumberingChanged_t966975091 * L_1 = V_0;
V_1 = L_1;
PlayerNumberingChanged_t966975091 * L_2 = V_1;
PlayerNumberingChanged_t966975091 * L_3 = ___value0;
Delegate_t1188392813 * L_4 = Delegate_Remove_m334097152(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
PlayerNumberingChanged_t966975091 * L_5 = V_0;
PlayerNumberingChanged_t966975091 * L_6 = InterlockedCompareExchangeImpl<PlayerNumberingChanged_t966975091 *>((PlayerNumberingChanged_t966975091 **)(((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_address_of_OnPlayerNumberingChanged_7()), ((PlayerNumberingChanged_t966975091 *)CastclassSealed((RuntimeObject*)L_4, PlayerNumberingChanged_t966975091_il2cpp_TypeInfo_var)), L_5);
V_0 = L_6;
PlayerNumberingChanged_t966975091 * L_7 = V_0;
PlayerNumberingChanged_t966975091 * L_8 = V_1;
if ((!(((RuntimeObject*)(PlayerNumberingChanged_t966975091 *)L_7) == ((RuntimeObject*)(PlayerNumberingChanged_t966975091 *)L_8))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::Awake()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_Awake_m1134146647 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_Awake_m1134146647_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PlayerNumbering_t1896744609 * L_0 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_instance_5();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0044;
}
}
{
PlayerNumbering_t1896744609 * L_2 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_instance_5();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_2, __this, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0044;
}
}
{
PlayerNumbering_t1896744609 * L_4 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_instance_5();
NullCheck(L_4);
GameObject_t1113636619 * L_5 = Component_get_gameObject_m442555142(L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_5, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0044;
}
}
{
PlayerNumbering_t1896744609 * L_7 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_instance_5();
NullCheck(L_7);
GameObject_t1113636619 * L_8 = Component_get_gameObject_m442555142(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m3193525861(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
}
IL_0044:
{
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_instance_5(__this);
bool L_9 = __this->get_dontDestroyOnLoad_9();
if (!L_9)
{
goto IL_0060;
}
}
{
GameObject_t1113636619 * L_10 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_DontDestroyOnLoad_m166252750(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
}
IL_0060:
{
PlayerNumbering_RefreshData_m3174524296(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::OnJoinedRoom()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_OnJoinedRoom_m617852171 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method)
{
{
PlayerNumbering_RefreshData_m3174524296(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::OnLeftRoom()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_OnLeftRoom_m1424830271 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_OnLeftRoom_m1424830271_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_0 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_0);
Hashtable_t1048209202 * L_1 = Player_get_CustomProperties_m1194306484(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
Dictionary_2_Remove_m4038518975(L_1, _stringLiteral1392974304, /*hidden argument*/Dictionary_2_Remove_m4038518975_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::OnPlayerEnteredRoom(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_OnPlayerEnteredRoom_m1060074254 (PlayerNumbering_t1896744609 * __this, Player_t2879569589 * ___newPlayer0, const RuntimeMethod* method)
{
{
PlayerNumbering_RefreshData_m3174524296(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::OnPlayerLeftRoom(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_OnPlayerLeftRoom_m2359762477 (PlayerNumbering_t1896744609 * __this, Player_t2879569589 * ___otherPlayer0, const RuntimeMethod* method)
{
{
PlayerNumbering_RefreshData_m3174524296(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::OnPlayerPropertiesUpdate(Photon.Realtime.Player,ExitGames.Client.Photon.Hashtable)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_OnPlayerPropertiesUpdate_m3757415167 (PlayerNumbering_t1896744609 * __this, Player_t2879569589 * ___targetPlayer0, Hashtable_t1048209202 * ___changedProps1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_OnPlayerPropertiesUpdate_m3757415167_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Hashtable_t1048209202 * L_0 = ___changedProps1;
if (!L_0)
{
goto IL_001c;
}
}
{
Hashtable_t1048209202 * L_1 = ___changedProps1;
NullCheck(L_1);
bool L_2 = Dictionary_2_ContainsKey_m2278349286(L_1, _stringLiteral1392974304, /*hidden argument*/Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var);
if (!L_2)
{
goto IL_001c;
}
}
{
PlayerNumbering_RefreshData_m3174524296(__this, /*hidden argument*/NULL);
}
IL_001c:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering::RefreshData()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumbering_RefreshData_m3174524296 (PlayerNumbering_t1896744609 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumbering_RefreshData_m3174524296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashSet_1_t1515895227 * V_0 = NULL;
PlayerU5BU5D_t3651776216* V_1 = NULL;
String_t* V_2 = NULL;
Player_t2879569589 * V_3 = NULL;
PlayerU5BU5D_t3651776216* V_4 = NULL;
int32_t V_5 = 0;
String_t* V_6 = NULL;
int32_t V_7 = 0;
int32_t V_8 = 0;
ValueCollection_t3484327238 * G_B5_0 = NULL;
ValueCollection_t3484327238 * G_B4_0 = NULL;
PlayerU5BU5D_t3651776216* G_B10_0 = NULL;
PlayerU5BU5D_t3651776216* G_B9_0 = NULL;
ValueCollection_t3484327238 * G_B24_0 = NULL;
ValueCollection_t3484327238 * G_B23_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_000b;
}
}
{
return;
}
IL_000b:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_1 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_2 = PlayerNumberingExtensions_GetPlayerNumber_m3036515695(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
if ((((int32_t)L_2) < ((int32_t)0)))
{
goto IL_006b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_3 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_3);
Dictionary_2_t1768282920 * L_4 = Room_get_Players_m2918183696(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
ValueCollection_t3484327238 * L_5 = Dictionary_2_get_Values_m2530150265(L_4, /*hidden argument*/Dictionary_2_get_Values_m2530150265_RuntimeMethod_var);
Func_2_t3125806854 * L_6 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__mgU24cache0_10();
G_B4_0 = L_5;
if (L_6)
{
G_B5_0 = L_5;
goto IL_0042;
}
}
{
intptr_t L_7 = (intptr_t)PlayerNumberingExtensions_GetPlayerNumber_m3036515695_RuntimeMethod_var;
Func_2_t3125806854 * L_8 = (Func_2_t3125806854 *)il2cpp_codegen_object_new(Func_2_t3125806854_il2cpp_TypeInfo_var);
Func_2__ctor_m2512717385(L_8, NULL, (intptr_t)L_7, /*hidden argument*/Func_2__ctor_m2512717385_RuntimeMethod_var);
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_U3CU3Ef__mgU24cache0_10(L_8);
G_B5_0 = G_B4_0;
}
IL_0042:
{
Func_2_t3125806854 * L_9 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__mgU24cache0_10();
RuntimeObject* L_10 = Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475(NULL /*static, unused*/, G_B5_0, L_9, /*hidden argument*/Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475_RuntimeMethod_var);
PlayerU5BU5D_t3651776216* L_11 = Enumerable_ToArray_TisPlayer_t2879569589_m1227591871(NULL /*static, unused*/, L_10, /*hidden argument*/Enumerable_ToArray_TisPlayer_t2879569589_m1227591871_RuntimeMethod_var);
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_SortedPlayers_6(L_11);
PlayerNumberingChanged_t966975091 * L_12 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
if (!L_12)
{
goto IL_006a;
}
}
{
PlayerNumberingChanged_t966975091 * L_13 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
NullCheck(L_13);
PlayerNumberingChanged_Invoke_m929023573(L_13, /*hidden argument*/NULL);
}
IL_006a:
{
return;
}
IL_006b:
{
HashSet_1_t1515895227 * L_14 = (HashSet_1_t1515895227 *)il2cpp_codegen_object_new(HashSet_1_t1515895227_il2cpp_TypeInfo_var);
HashSet_1__ctor_m1661370653(L_14, /*hidden argument*/HashSet_1__ctor_m1661370653_RuntimeMethod_var);
V_0 = L_14;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PlayerU5BU5D_t3651776216* L_15 = PhotonNetwork_get_PlayerList_m2399782506(NULL /*static, unused*/, /*hidden argument*/NULL);
Func_2_t3125806854 * L_16 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache0_12();
G_B9_0 = L_15;
if (L_16)
{
G_B10_0 = L_15;
goto IL_008e;
}
}
{
intptr_t L_17 = (intptr_t)PlayerNumbering_U3CRefreshDataU3Em__0_m1913162865_RuntimeMethod_var;
Func_2_t3125806854 * L_18 = (Func_2_t3125806854 *)il2cpp_codegen_object_new(Func_2_t3125806854_il2cpp_TypeInfo_var);
Func_2__ctor_m2512717385(L_18, NULL, (intptr_t)L_17, /*hidden argument*/Func_2__ctor_m2512717385_RuntimeMethod_var);
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_U3CU3Ef__amU24cache0_12(L_18);
G_B10_0 = G_B9_0;
}
IL_008e:
{
Func_2_t3125806854 * L_19 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__amU24cache0_12();
RuntimeObject* L_20 = Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475(NULL /*static, unused*/, (RuntimeObject*)(RuntimeObject*)G_B10_0, L_19, /*hidden argument*/Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475_RuntimeMethod_var);
PlayerU5BU5D_t3651776216* L_21 = Enumerable_ToArray_TisPlayer_t2879569589_m1227591871(NULL /*static, unused*/, L_20, /*hidden argument*/Enumerable_ToArray_TisPlayer_t2879569589_m1227591871_RuntimeMethod_var);
V_1 = L_21;
V_2 = _stringLiteral2871578753;
PlayerU5BU5D_t3651776216* L_22 = V_1;
V_4 = L_22;
V_5 = 0;
goto IL_0180;
}
IL_00af:
{
PlayerU5BU5D_t3651776216* L_23 = V_4;
int32_t L_24 = V_5;
NullCheck(L_23);
int32_t L_25 = L_24;
Player_t2879569589 * L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
V_3 = L_26;
String_t* L_27 = V_2;
V_6 = L_27;
ObjectU5BU5D_t2843939325* L_28 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_t2843939325* L_29 = L_28;
String_t* L_30 = V_6;
NullCheck(L_29);
ArrayElementTypeCheck (L_29, L_30);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_30);
ObjectU5BU5D_t2843939325* L_31 = L_29;
Player_t2879569589 * L_32 = V_3;
NullCheck(L_32);
int32_t L_33 = Player_get_ActorNumber_m1696970727(L_32, /*hidden argument*/NULL);
int32_t L_34 = L_33;
RuntimeObject * L_35 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_34);
NullCheck(L_31);
ArrayElementTypeCheck (L_31, L_35);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_35);
ObjectU5BU5D_t2843939325* L_36 = L_31;
NullCheck(L_36);
ArrayElementTypeCheck (L_36, _stringLiteral1694281943);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral1694281943);
ObjectU5BU5D_t2843939325* L_37 = L_36;
Player_t2879569589 * L_38 = V_3;
int32_t L_39 = PlayerNumberingExtensions_GetPlayerNumber_m3036515695(NULL /*static, unused*/, L_38, /*hidden argument*/NULL);
int32_t L_40 = L_39;
RuntimeObject * L_41 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_40);
NullCheck(L_37);
ArrayElementTypeCheck (L_37, L_41);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_41);
ObjectU5BU5D_t2843939325* L_42 = L_37;
NullCheck(L_42);
ArrayElementTypeCheck (L_42, _stringLiteral3450517380);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)_stringLiteral3450517380);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_43 = String_Concat_m2971454694(NULL /*static, unused*/, L_42, /*hidden argument*/NULL);
V_2 = L_43;
Player_t2879569589 * L_44 = V_3;
int32_t L_45 = PlayerNumberingExtensions_GetPlayerNumber_m3036515695(NULL /*static, unused*/, L_44, /*hidden argument*/NULL);
V_7 = L_45;
Player_t2879569589 * L_46 = V_3;
NullCheck(L_46);
bool L_47 = L_46->get_IsLocal_2();
if (!L_47)
{
goto IL_0164;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_48 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_48);
uint8_t L_49 = Room_get_PlayerCount_m1869977886(L_48, /*hidden argument*/NULL);
uint8_t L_50 = L_49;
RuntimeObject * L_51 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_50);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_52 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral2891869312, L_51, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, L_52, /*hidden argument*/NULL);
V_8 = 0;
goto IL_014e;
}
IL_012e:
{
HashSet_1_t1515895227 * L_53 = V_0;
int32_t L_54 = V_8;
NullCheck(L_53);
bool L_55 = HashSet_1_Contains_m1997749353(L_53, L_54, /*hidden argument*/HashSet_1_Contains_m1997749353_RuntimeMethod_var);
if (L_55)
{
goto IL_0148;
}
}
{
Player_t2879569589 * L_56 = V_3;
int32_t L_57 = V_8;
PlayerNumberingExtensions_SetPlayerNumber_m1320318705(NULL /*static, unused*/, L_56, L_57, /*hidden argument*/NULL);
goto IL_015f;
}
IL_0148:
{
int32_t L_58 = V_8;
V_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_58, (int32_t)1));
}
IL_014e:
{
int32_t L_59 = V_8;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_60 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_60);
uint8_t L_61 = Room_get_PlayerCount_m1869977886(L_60, /*hidden argument*/NULL);
if ((((int32_t)L_59) < ((int32_t)L_61)))
{
goto IL_012e;
}
}
IL_015f:
{
goto IL_018b;
}
IL_0164:
{
int32_t L_62 = V_7;
if ((((int32_t)L_62) >= ((int32_t)0)))
{
goto IL_0171;
}
}
{
goto IL_018b;
}
IL_0171:
{
HashSet_1_t1515895227 * L_63 = V_0;
int32_t L_64 = V_7;
NullCheck(L_63);
HashSet_1_Add_m2381074529(L_63, L_64, /*hidden argument*/HashSet_1_Add_m2381074529_RuntimeMethod_var);
int32_t L_65 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_65, (int32_t)1));
}
IL_0180:
{
int32_t L_66 = V_5;
PlayerU5BU5D_t3651776216* L_67 = V_4;
NullCheck(L_67);
if ((((int32_t)L_66) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_67)->max_length)))))))
{
goto IL_00af;
}
}
IL_018b:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_68 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_68);
Dictionary_2_t1768282920 * L_69 = Room_get_Players_m2918183696(L_68, /*hidden argument*/NULL);
NullCheck(L_69);
ValueCollection_t3484327238 * L_70 = Dictionary_2_get_Values_m2530150265(L_69, /*hidden argument*/Dictionary_2_get_Values_m2530150265_RuntimeMethod_var);
Func_2_t3125806854 * L_71 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__mgU24cache1_11();
G_B23_0 = L_70;
if (L_71)
{
G_B24_0 = L_70;
goto IL_01b2;
}
}
{
intptr_t L_72 = (intptr_t)PlayerNumberingExtensions_GetPlayerNumber_m3036515695_RuntimeMethod_var;
Func_2_t3125806854 * L_73 = (Func_2_t3125806854 *)il2cpp_codegen_object_new(Func_2_t3125806854_il2cpp_TypeInfo_var);
Func_2__ctor_m2512717385(L_73, NULL, (intptr_t)L_72, /*hidden argument*/Func_2__ctor_m2512717385_RuntimeMethod_var);
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_U3CU3Ef__mgU24cache1_11(L_73);
G_B24_0 = G_B23_0;
}
IL_01b2:
{
Func_2_t3125806854 * L_74 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_U3CU3Ef__mgU24cache1_11();
RuntimeObject* L_75 = Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475(NULL /*static, unused*/, G_B24_0, L_74, /*hidden argument*/Enumerable_OrderBy_TisPlayer_t2879569589_TisInt32_t2950945753_m2455337475_RuntimeMethod_var);
PlayerU5BU5D_t3651776216* L_76 = Enumerable_ToArray_TisPlayer_t2879569589_m1227591871(NULL /*static, unused*/, L_75, /*hidden argument*/Enumerable_ToArray_TisPlayer_t2879569589_m1227591871_RuntimeMethod_var);
((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->set_SortedPlayers_6(L_76);
PlayerNumberingChanged_t966975091 * L_77 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
if (!L_77)
{
goto IL_01da;
}
}
{
PlayerNumberingChanged_t966975091 * L_78 = ((PlayerNumbering_t1896744609_StaticFields*)il2cpp_codegen_static_fields_for(PlayerNumbering_t1896744609_il2cpp_TypeInfo_var))->get_OnPlayerNumberingChanged_7();
NullCheck(L_78);
PlayerNumberingChanged_Invoke_m929023573(L_78, /*hidden argument*/NULL);
}
IL_01da:
{
return;
}
}
// System.Int32 Photon.Pun.UtilityScripts.PlayerNumbering::<RefreshData>m__0(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t PlayerNumbering_U3CRefreshDataU3Em__0_m1913162865 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___p0, const RuntimeMethod* method)
{
{
Player_t2879569589 * L_0 = ___p0;
NullCheck(L_0);
int32_t L_1 = Player_get_ActorNumber_m1696970727(L_0, /*hidden argument*/NULL);
return L_1;
}
}
#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
extern "C" void DelegatePInvokeWrapper_PlayerNumberingChanged_t966975091 (PlayerNumberingChanged_t966975091 * __this, const RuntimeMethod* method)
{
typedef void (DEFAULT_CALL *PInvokeFunc)();
PInvokeFunc il2cppPInvokeFunc = reinterpret_cast<PInvokeFunc>(il2cpp_codegen_get_method_pointer(((RuntimeDelegate*)__this)->method));
// Native function invocation
il2cppPInvokeFunc();
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged::.ctor(System.Object,System.IntPtr)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingChanged__ctor_m1401991339 (PlayerNumberingChanged_t966975091 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
__this->set_method_ptr_0(il2cpp_codegen_get_method_pointer((RuntimeMethod*)___method1));
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged::Invoke()
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingChanged_Invoke_m929023573 (PlayerNumberingChanged_t966975091 * __this, const RuntimeMethod* method)
{
if(__this->get_prev_9() != NULL)
{
PlayerNumberingChanged_Invoke_m929023573((PlayerNumberingChanged_t966975091 *)__this->get_prev_9(), method);
}
Il2CppMethodPointer targetMethodPointer = __this->get_method_ptr_0();
RuntimeMethod* targetMethod = (RuntimeMethod*)(__this->get_method_3());
RuntimeObject* targetThis = __this->get_m_target_2();
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
bool ___methodIsStatic = MethodIsStatic(targetMethod);
if (___methodIsStatic)
{
if (il2cpp_codegen_method_parameter_count(targetMethod) == 0)
{
// open
{
typedef void (*FunctionPointerType) (RuntimeObject *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetMethod);
}
}
else
{
// closed
{
typedef void (*FunctionPointerType) (RuntimeObject *, void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(NULL, targetThis, targetMethod);
}
}
}
else
{
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker0::Invoke(targetMethod, targetThis);
else
GenericVirtActionInvoker0::Invoke(targetMethod, targetThis);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis);
else
VirtActionInvoker0::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis);
}
}
else
{
typedef void (*FunctionPointerType) (void*, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, targetMethod);
}
}
}
}
// System.IAsyncResult Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged::BeginInvoke(System.AsyncCallback,System.Object)
extern "C" IL2CPP_METHOD_ATTR RuntimeObject* PlayerNumberingChanged_BeginInvoke_m2390398069 (PlayerNumberingChanged_t966975091 * __this, AsyncCallback_t3962456242 * ___callback0, RuntimeObject * ___object1, const RuntimeMethod* method)
{
void *__d_args[1] = {0};
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback0, (RuntimeObject*)___object1);
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumbering/PlayerNumberingChanged::EndInvoke(System.IAsyncResult)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingChanged_EndInvoke_m2454073056 (PlayerNumberingChanged_t966975091 * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
}
#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.Int32 Photon.Pun.UtilityScripts.PlayerNumberingExtensions::GetPlayerNumber(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t PlayerNumberingExtensions_GetPlayerNumber_m3036515695 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumberingExtensions_GetPlayerNumber_m3036515695_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
Player_t2879569589 * L_0 = ___player0;
if (L_0)
{
goto IL_0008;
}
}
{
return (-1);
}
IL_0008:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_1 = PhotonNetwork_get_OfflineMode_m1771337215(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0014;
}
}
{
return 0;
}
IL_0014:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_2 = PhotonNetwork_get_IsConnectedAndReady_m1594620062(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0020;
}
}
{
return (-1);
}
IL_0020:
{
Player_t2879569589 * L_3 = ___player0;
NullCheck(L_3);
Hashtable_t1048209202 * L_4 = Player_get_CustomProperties_m1194306484(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
bool L_5 = Dictionary_2_TryGetValue_m3280774074(L_4, _stringLiteral1392974304, (RuntimeObject **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m3280774074_RuntimeMethod_var);
if (!L_5)
{
goto IL_003e;
}
}
{
RuntimeObject * L_6 = V_0;
return ((*(uint8_t*)((uint8_t*)UnBox(L_6, Byte_t1134296376_il2cpp_TypeInfo_var))));
}
IL_003e:
{
return (-1);
}
}
// System.Void Photon.Pun.UtilityScripts.PlayerNumberingExtensions::SetPlayerNumber(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PlayerNumberingExtensions_SetPlayerNumber_m1320318705 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___playerNumber1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PlayerNumberingExtensions_SetPlayerNumber_m1320318705_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Hashtable_t1048209202 * V_1 = NULL;
{
Player_t2879569589 * L_0 = ___player0;
if (L_0)
{
goto IL_0007;
}
}
{
return;
}
IL_0007:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_1 = PhotonNetwork_get_OfflineMode_m1771337215(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
return;
}
IL_0012:
{
int32_t L_2 = ___playerNumber1;
if ((((int32_t)L_2) >= ((int32_t)0)))
{
goto IL_004b;
}
}
{
ObjectU5BU5D_t2843939325* L_3 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t2843939325* L_4 = L_3;
NullCheck(L_4);
ArrayElementTypeCheck (L_4, _stringLiteral1981399249);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteral1981399249);
ObjectU5BU5D_t2843939325* L_5 = L_4;
int32_t L_6 = ___playerNumber1;
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_8);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_8);
ObjectU5BU5D_t2843939325* L_9 = L_5;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral1503442511);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral1503442511);
ObjectU5BU5D_t2843939325* L_10 = L_9;
Player_t2879569589 * L_11 = ___player0;
NullCheck(L_11);
String_t* L_12 = Player_ToStringFull_m2368492882(L_11, /*hidden argument*/NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_12);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_12);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_13 = String_Concat_m2971454694(NULL /*static, unused*/, L_10, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
}
IL_004b:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_14 = PhotonNetwork_get_IsConnectedAndReady_m1594620062(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_14)
{
goto IL_0074;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_15 = PhotonNetwork_get_NetworkClientState_m1324246180(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_16 = L_15;
RuntimeObject * L_17 = Box(ClientState_t741254012_il2cpp_TypeInfo_var, &L_16);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_18 = String_Concat_m1715369213(NULL /*static, unused*/, _stringLiteral2190353384, L_17, _stringLiteral275284584, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
return;
}
IL_0074:
{
Player_t2879569589 * L_19 = ___player0;
int32_t L_20 = PlayerNumberingExtensions_GetPlayerNumber_m3036515695(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
V_0 = L_20;
int32_t L_21 = V_0;
int32_t L_22 = ___playerNumber1;
if ((((int32_t)L_21) == ((int32_t)L_22)))
{
goto IL_00b8;
}
}
{
int32_t L_23 = ___playerNumber1;
int32_t L_24 = L_23;
RuntimeObject * L_25 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_24);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_26 = String_Concat_m904156431(NULL /*static, unused*/, _stringLiteral3882764546, L_25, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_Log_m4051431634(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
Player_t2879569589 * L_27 = ___player0;
Hashtable_t1048209202 * L_28 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_28, /*hidden argument*/NULL);
V_1 = L_28;
Hashtable_t1048209202 * L_29 = V_1;
int32_t L_30 = ___playerNumber1;
uint8_t L_31 = ((uint8_t)(((int32_t)((uint8_t)L_30))));
RuntimeObject * L_32 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_31);
NullCheck(L_29);
Dictionary_2_Add_m2387223709(L_29, _stringLiteral1392974304, L_32, /*hidden argument*/Dictionary_2_Add_m2387223709_RuntimeMethod_var);
Hashtable_t1048209202 * L_33 = V_1;
NullCheck(L_27);
Player_SetCustomProperties_m2511057994(L_27, L_33, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL, /*hidden argument*/NULL);
}
IL_00b8:
{
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 Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo__ctor_m2929296216 (PointedAtGameObjectInfo_t425461813 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::Start()
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_Start_m3449783446 (PointedAtGameObjectInfo_t425461813 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PointedAtGameObjectInfo_Start_m3449783446_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointedAtGameObjectInfo_t425461813 * L_0 = ((PointedAtGameObjectInfo_t425461813_StaticFields*)il2cpp_codegen_static_fields_for(PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var))->get_Instance_4();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, _stringLiteral1383611647, /*hidden argument*/NULL);
GameObject_t1113636619 * L_2 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_Destroy_m565254235(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
}
IL_0025:
{
((PointedAtGameObjectInfo_t425461813_StaticFields*)il2cpp_codegen_static_fields_for(PointedAtGameObjectInfo_t425461813_il2cpp_TypeInfo_var))->set_Instance_4(__this);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::SetFocus(Photon.Pun.PhotonView)
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_SetFocus_m3920654545 (PointedAtGameObjectInfo_t425461813 * __this, PhotonView_t3684715584 * ___pv0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PointedAtGameObjectInfo_SetFocus_m3920654545_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
PointedAtGameObjectInfo_t425461813 * G_B2_0 = NULL;
PointedAtGameObjectInfo_t425461813 * G_B1_0 = NULL;
Transform_t3600365921 * G_B3_0 = NULL;
PointedAtGameObjectInfo_t425461813 * G_B3_1 = NULL;
int32_t G_B6_0 = 0;
ObjectU5BU5D_t2843939325* G_B6_1 = NULL;
ObjectU5BU5D_t2843939325* G_B6_2 = NULL;
String_t* G_B6_3 = NULL;
Text_t1901882714 * G_B6_4 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_t2843939325* G_B5_1 = NULL;
ObjectU5BU5D_t2843939325* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
Text_t1901882714 * G_B5_4 = NULL;
String_t* G_B7_0 = NULL;
int32_t G_B7_1 = 0;
ObjectU5BU5D_t2843939325* G_B7_2 = NULL;
ObjectU5BU5D_t2843939325* G_B7_3 = NULL;
String_t* G_B7_4 = NULL;
Text_t1901882714 * G_B7_5 = NULL;
int32_t G_B9_0 = 0;
ObjectU5BU5D_t2843939325* G_B9_1 = NULL;
ObjectU5BU5D_t2843939325* G_B9_2 = NULL;
String_t* G_B9_3 = NULL;
Text_t1901882714 * G_B9_4 = NULL;
int32_t G_B8_0 = 0;
ObjectU5BU5D_t2843939325* G_B8_1 = NULL;
ObjectU5BU5D_t2843939325* G_B8_2 = NULL;
String_t* G_B8_3 = NULL;
Text_t1901882714 * G_B8_4 = NULL;
String_t* G_B10_0 = NULL;
int32_t G_B10_1 = 0;
ObjectU5BU5D_t2843939325* G_B10_2 = NULL;
ObjectU5BU5D_t2843939325* G_B10_3 = NULL;
String_t* G_B10_4 = NULL;
Text_t1901882714 * G_B10_5 = NULL;
{
PhotonView_t3684715584 * L_0 = ___pv0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
G_B1_0 = __this;
if (!L_1)
{
G_B2_0 = __this;
goto IL_0018;
}
}
{
PhotonView_t3684715584 * L_2 = ___pv0;
NullCheck(L_2);
Transform_t3600365921 * L_3 = Component_get_transform_m3162698980(L_2, /*hidden argument*/NULL);
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_0019;
}
IL_0018:
{
G_B3_0 = ((Transform_t3600365921 *)(NULL));
G_B3_1 = G_B2_0;
}
IL_0019:
{
NullCheck(G_B3_1);
G_B3_1->set_focus_6(G_B3_0);
PhotonView_t3684715584 * L_4 = ___pv0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_4, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_00a0;
}
}
{
Text_t1901882714 * L_6 = __this->get_text_5();
ObjectU5BU5D_t2843939325* L_7 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t2843939325* L_8 = L_7;
PhotonView_t3684715584 * L_9 = ___pv0;
NullCheck(L_9);
int32_t L_10 = PhotonView_get_ViewID_m4078352048(L_9, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_8);
ArrayElementTypeCheck (L_8, L_12);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_12);
ObjectU5BU5D_t2843939325* L_13 = L_8;
PhotonView_t3684715584 * L_14 = ___pv0;
NullCheck(L_14);
int32_t L_15 = PhotonView_get_OwnerActorNr_m3685372332(L_14, /*hidden argument*/NULL);
int32_t L_16 = L_15;
RuntimeObject * L_17 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_16);
NullCheck(L_13);
ArrayElementTypeCheck (L_13, L_17);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_17);
ObjectU5BU5D_t2843939325* L_18 = L_13;
PhotonView_t3684715584 * L_19 = ___pv0;
NullCheck(L_19);
bool L_20 = PhotonView_get_IsSceneView_m3161453387(L_19, /*hidden argument*/NULL);
G_B5_0 = 2;
G_B5_1 = L_18;
G_B5_2 = L_18;
G_B5_3 = _stringLiteral2097589678;
G_B5_4 = L_6;
if (!L_20)
{
G_B6_0 = 2;
G_B6_1 = L_18;
G_B6_2 = L_18;
G_B6_3 = _stringLiteral2097589678;
G_B6_4 = L_6;
goto IL_006e;
}
}
{
G_B7_0 = _stringLiteral4072378657;
G_B7_1 = G_B5_0;
G_B7_2 = G_B5_1;
G_B7_3 = G_B5_2;
G_B7_4 = G_B5_3;
G_B7_5 = G_B5_4;
goto IL_0073;
}
IL_006e:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_21 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B7_0 = L_21;
G_B7_1 = G_B6_0;
G_B7_2 = G_B6_1;
G_B7_3 = G_B6_2;
G_B7_4 = G_B6_3;
G_B7_5 = G_B6_4;
}
IL_0073:
{
NullCheck(G_B7_2);
ArrayElementTypeCheck (G_B7_2, G_B7_0);
(G_B7_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B7_1), (RuntimeObject *)G_B7_0);
ObjectU5BU5D_t2843939325* L_22 = G_B7_3;
PhotonView_t3684715584 * L_23 = ___pv0;
NullCheck(L_23);
bool L_24 = PhotonView_get_IsMine_m210517380(L_23, /*hidden argument*/NULL);
G_B8_0 = 3;
G_B8_1 = L_22;
G_B8_2 = L_22;
G_B8_3 = G_B7_4;
G_B8_4 = G_B7_5;
if (!L_24)
{
G_B9_0 = 3;
G_B9_1 = L_22;
G_B9_2 = L_22;
G_B9_3 = G_B7_4;
G_B9_4 = G_B7_5;
goto IL_008b;
}
}
{
G_B10_0 = _stringLiteral37550718;
G_B10_1 = G_B8_0;
G_B10_2 = G_B8_1;
G_B10_3 = G_B8_2;
G_B10_4 = G_B8_3;
G_B10_5 = G_B8_4;
goto IL_0090;
}
IL_008b:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_25 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B10_0 = L_25;
G_B10_1 = G_B9_0;
G_B10_2 = G_B9_1;
G_B10_3 = G_B9_2;
G_B10_4 = G_B9_3;
G_B10_5 = G_B9_4;
}
IL_0090:
{
NullCheck(G_B10_2);
ArrayElementTypeCheck (G_B10_2, G_B10_0);
(G_B10_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B10_1), (RuntimeObject *)G_B10_0);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_26 = String_Format_m630303134(NULL /*static, unused*/, G_B10_4, G_B10_3, /*hidden argument*/NULL);
NullCheck(G_B10_5);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, G_B10_5, L_26);
goto IL_00b0;
}
IL_00a0:
{
Text_t1901882714 * L_27 = __this->get_text_5();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_28 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
NullCheck(L_27);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_27, L_28);
}
IL_00b0:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::RemoveFocus(Photon.Pun.PhotonView)
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_RemoveFocus_m129442045 (PointedAtGameObjectInfo_t425461813 * __this, PhotonView_t3684715584 * ___pv0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PointedAtGameObjectInfo_RemoveFocus_m129442045_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PhotonView_t3684715584 * L_0 = ___pv0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001d;
}
}
{
Text_t1901882714 * L_2 = __this->get_text_5();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_3 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
NullCheck(L_2);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_2, L_3);
return;
}
IL_001d:
{
PhotonView_t3684715584 * L_4 = ___pv0;
NullCheck(L_4);
Transform_t3600365921 * L_5 = Component_get_transform_m3162698980(L_4, /*hidden argument*/NULL);
Transform_t3600365921 * L_6 = __this->get_focus_6();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0044;
}
}
{
Text_t1901882714 * L_8 = __this->get_text_5();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_9 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
NullCheck(L_8);
VirtActionInvoker1< String_t* >::Invoke(73 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_8, L_9);
return;
}
IL_0044:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PointedAtGameObjectInfo::LateUpdate()
extern "C" IL2CPP_METHOD_ATTR void PointedAtGameObjectInfo_LateUpdate_m3992808320 (PointedAtGameObjectInfo_t425461813 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PointedAtGameObjectInfo_LateUpdate_m3992808320_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Transform_t3600365921 * L_0 = __this->get_focus_6();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0031;
}
}
{
Transform_t3600365921 * L_2 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
Camera_t4157153871 * L_3 = Camera_get_main_m3643453163(NULL /*static, unused*/, /*hidden argument*/NULL);
Transform_t3600365921 * L_4 = __this->get_focus_6();
NullCheck(L_4);
Vector3_t3722313464 L_5 = Transform_get_position_m36019626(L_4, /*hidden argument*/NULL);
NullCheck(L_3);
Vector3_t3722313464 L_6 = Camera_WorldToScreenPoint_m3726311023(L_3, L_5, /*hidden argument*/NULL);
NullCheck(L_2);
Transform_set_position_m3387557959(L_2, L_6, /*hidden argument*/NULL);
}
IL_0031:
{
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 Photon.Pun.UtilityScripts.PunPlayerScores::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PunPlayerScores__ctor_m1184277852 (PunPlayerScores_t3603890024 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.PunTeams::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PunTeams__ctor_m510686082 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
{
MonoBehaviourPunCallbacks__ctor_m817142383(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::Start()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_Start_m4184821440 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTeams_Start_m4184821440_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeArray * V_0 = NULL;
RuntimeObject * V_1 = NULL;
RuntimeObject* 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 = -1;
NO_UNUSED_WARNING (__leave_target);
{
Dictionary_2_t660995199 * L_0 = (Dictionary_2_t660995199 *)il2cpp_codegen_object_new(Dictionary_2_t660995199_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m820275806(L_0, /*hidden argument*/Dictionary_2__ctor_m820275806_RuntimeMethod_var);
((PunTeams_t4131221827_StaticFields*)il2cpp_codegen_static_fields_for(PunTeams_t4131221827_il2cpp_TypeInfo_var))->set_PlayersPerTeam_5(L_0);
RuntimeTypeHandle_t3027515415 L_1 = { reinterpret_cast<intptr_t> (Team_t3101236044_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_2 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Enum_t4135868527_il2cpp_TypeInfo_var);
RuntimeArray * L_3 = Enum_GetValues_m4192343468(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_0 = L_3;
RuntimeArray * L_4 = V_0;
NullCheck(L_4);
RuntimeObject* L_5 = Array_GetEnumerator_m4277730612(L_4, /*hidden argument*/NULL);
V_2 = L_5;
}
IL_0021:
try
{ // begin try (depth: 1)
{
goto IL_0042;
}
IL_0026:
{
RuntimeObject* L_6 = V_2;
NullCheck(L_6);
RuntimeObject * L_7 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_6);
V_1 = L_7;
Dictionary_2_t660995199 * L_8 = ((PunTeams_t4131221827_StaticFields*)il2cpp_codegen_static_fields_for(PunTeams_t4131221827_il2cpp_TypeInfo_var))->get_PlayersPerTeam_5();
RuntimeObject * L_9 = V_1;
List_1_t56677035 * L_10 = (List_1_t56677035 *)il2cpp_codegen_object_new(List_1_t56677035_il2cpp_TypeInfo_var);
List_1__ctor_m88219481(L_10, /*hidden argument*/List_1__ctor_m88219481_RuntimeMethod_var);
NullCheck(L_8);
Dictionary_2_set_Item_m822340338(L_8, ((*(uint8_t*)((uint8_t*)UnBox(L_9, Team_t3101236044_il2cpp_TypeInfo_var)))), L_10, /*hidden argument*/Dictionary_2_set_Item_m822340338_RuntimeMethod_var);
}
IL_0042:
{
RuntimeObject* L_11 = V_2;
NullCheck(L_11);
bool L_12 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_11);
if (L_12)
{
goto IL_0026;
}
}
IL_004d:
{
IL2CPP_LEAVE(0x66, FINALLY_0052);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0052;
}
FINALLY_0052:
{ // begin finally (depth: 1)
{
RuntimeObject* L_13 = V_2;
RuntimeObject* L_14 = ((RuntimeObject*)IsInst((RuntimeObject*)L_13, IDisposable_t3640265483_il2cpp_TypeInfo_var));
V_3 = L_14;
if (!L_14)
{
goto IL_0065;
}
}
IL_005f:
{
RuntimeObject* L_15 = V_3;
NullCheck(L_15);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_15);
}
IL_0065:
{
IL2CPP_END_FINALLY(82)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(82)
{
IL2CPP_JUMP_TBL(0x66, IL_0066)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0066:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnDisable_m3615301927 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTeams_OnDisable_m3615301927_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Dictionary_2_t660995199 * L_0 = (Dictionary_2_t660995199 *)il2cpp_codegen_object_new(Dictionary_2_t660995199_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m820275806(L_0, /*hidden argument*/Dictionary_2__ctor_m820275806_RuntimeMethod_var);
((PunTeams_t4131221827_StaticFields*)il2cpp_codegen_static_fields_for(PunTeams_t4131221827_il2cpp_TypeInfo_var))->set_PlayersPerTeam_5(L_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnJoinedRoom()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnJoinedRoom_m1976786012 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
{
PunTeams_UpdateTeams_m2257841423(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnLeftRoom()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnLeftRoom_m2471848283 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
{
PunTeams_Start_m4184821440(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnPlayerPropertiesUpdate(Photon.Realtime.Player,ExitGames.Client.Photon.Hashtable)
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnPlayerPropertiesUpdate_m3141803229 (PunTeams_t4131221827 * __this, Player_t2879569589 * ___targetPlayer0, Hashtable_t1048209202 * ___changedProps1, const RuntimeMethod* method)
{
{
PunTeams_UpdateTeams_m2257841423(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnPlayerLeftRoom(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnPlayerLeftRoom_m3109456090 (PunTeams_t4131221827 * __this, Player_t2879569589 * ___otherPlayer0, const RuntimeMethod* method)
{
{
PunTeams_UpdateTeams_m2257841423(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::OnPlayerEnteredRoom(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR void PunTeams_OnPlayerEnteredRoom_m4090389291 (PunTeams_t4131221827 * __this, Player_t2879569589 * ___newPlayer0, const RuntimeMethod* method)
{
{
PunTeams_UpdateTeams_m2257841423(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTeams::UpdateTeams()
extern "C" IL2CPP_METHOD_ATTR void PunTeams_UpdateTeams_m2257841423 (PunTeams_t4131221827 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTeams_UpdateTeams_m2257841423_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeArray * V_0 = NULL;
RuntimeObject * V_1 = NULL;
RuntimeObject* V_2 = NULL;
RuntimeObject* V_3 = NULL;
int32_t V_4 = 0;
Player_t2879569589 * V_5 = NULL;
uint8_t V_6 = 0;
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 = -1;
NO_UNUSED_WARNING (__leave_target);
{
RuntimeTypeHandle_t3027515415 L_0 = { reinterpret_cast<intptr_t> (Team_t3101236044_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_1 = Type_GetTypeFromHandle_m1620074514(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Enum_t4135868527_il2cpp_TypeInfo_var);
RuntimeArray * L_2 = Enum_GetValues_m4192343468(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
RuntimeArray * L_3 = V_0;
NullCheck(L_3);
RuntimeObject* L_4 = Array_GetEnumerator_m4277730612(L_3, /*hidden argument*/NULL);
V_2 = L_4;
}
IL_0017:
try
{ // begin try (depth: 1)
{
goto IL_0038;
}
IL_001c:
{
RuntimeObject* L_5 = V_2;
NullCheck(L_5);
RuntimeObject * L_6 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_5);
V_1 = L_6;
Dictionary_2_t660995199 * L_7 = ((PunTeams_t4131221827_StaticFields*)il2cpp_codegen_static_fields_for(PunTeams_t4131221827_il2cpp_TypeInfo_var))->get_PlayersPerTeam_5();
RuntimeObject * L_8 = V_1;
NullCheck(L_7);
List_1_t56677035 * L_9 = Dictionary_2_get_Item_m1675675625(L_7, ((*(uint8_t*)((uint8_t*)UnBox(L_8, Team_t3101236044_il2cpp_TypeInfo_var)))), /*hidden argument*/Dictionary_2_get_Item_m1675675625_RuntimeMethod_var);
NullCheck(L_9);
List_1_Clear_m664864482(L_9, /*hidden argument*/List_1_Clear_m664864482_RuntimeMethod_var);
}
IL_0038:
{
RuntimeObject* L_10 = V_2;
NullCheck(L_10);
bool L_11 = InterfaceFuncInvoker0< bool >::Invoke(1 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t1853284238_il2cpp_TypeInfo_var, L_10);
if (L_11)
{
goto IL_001c;
}
}
IL_0043:
{
IL2CPP_LEAVE(0x5C, FINALLY_0048);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0048;
}
FINALLY_0048:
{ // begin finally (depth: 1)
{
RuntimeObject* L_12 = V_2;
RuntimeObject* L_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_12, IDisposable_t3640265483_il2cpp_TypeInfo_var));
V_3 = L_13;
if (!L_13)
{
goto IL_005b;
}
}
IL_0055:
{
RuntimeObject* L_14 = V_3;
NullCheck(L_14);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t3640265483_il2cpp_TypeInfo_var, L_14);
}
IL_005b:
{
IL2CPP_END_FINALLY(72)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(72)
{
IL2CPP_JUMP_TBL(0x5C, IL_005c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005c:
{
V_4 = 0;
goto IL_0090;
}
IL_0064:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PlayerU5BU5D_t3651776216* L_15 = PhotonNetwork_get_PlayerList_m2399782506(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_16 = V_4;
NullCheck(L_15);
int32_t L_17 = L_16;
Player_t2879569589 * L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
V_5 = L_18;
Player_t2879569589 * L_19 = V_5;
uint8_t L_20 = TeamExtensions_GetTeam_m2656974499(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
V_6 = L_20;
Dictionary_2_t660995199 * L_21 = ((PunTeams_t4131221827_StaticFields*)il2cpp_codegen_static_fields_for(PunTeams_t4131221827_il2cpp_TypeInfo_var))->get_PlayersPerTeam_5();
uint8_t L_22 = V_6;
NullCheck(L_21);
List_1_t56677035 * L_23 = Dictionary_2_get_Item_m1675675625(L_21, L_22, /*hidden argument*/Dictionary_2_get_Item_m1675675625_RuntimeMethod_var);
Player_t2879569589 * L_24 = V_5;
NullCheck(L_23);
List_1_Add_m3606445653(L_23, L_24, /*hidden argument*/List_1_Add_m3606445653_RuntimeMethod_var);
int32_t L_25 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
}
IL_0090:
{
int32_t L_26 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PlayerU5BU5D_t3651776216* L_27 = PhotonNetwork_get_PlayerList_m2399782506(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_27);
if ((((int32_t)L_26) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_27)->max_length)))))))
{
goto IL_0064;
}
}
{
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
#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 Photon.Pun.UtilityScripts.PunTurnManager::.ctor()
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager__ctor_m3892227812 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager__ctor_m3892227812_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_TurnDuration_5((20.0f));
HashSet_1_t1444519063 * L_0 = (HashSet_1_t1444519063 *)il2cpp_codegen_object_new(HashSet_1_t1444519063_il2cpp_TypeInfo_var);
HashSet_1__ctor_m4101629095(L_0, /*hidden argument*/HashSet_1__ctor_m4101629095_RuntimeMethod_var);
__this->set_finishedPlayers_7(L_0);
MonoBehaviourPunCallbacks__ctor_m817142383(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Photon.Pun.UtilityScripts.PunTurnManager::get_Turn()
extern "C" IL2CPP_METHOD_ATTR int32_t PunTurnManager_get_Turn_m613516047 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_get_Turn_m613516047_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
int32_t L_1 = TurnExtensions_GetTurn_m1426973900(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::set_Turn(System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_set_Turn_m1618395572 (PunTurnManager_t13104469 * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_set_Turn_m1618395572_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set__isOverCallProcessed_11((bool)0);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_1 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
TurnExtensions_SetTurn_m487888605(NULL /*static, unused*/, L_0, L_1, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Single Photon.Pun.UtilityScripts.PunTurnManager::get_ElapsedTimeInTurn()
extern "C" IL2CPP_METHOD_ATTR float PunTurnManager_get_ElapsedTimeInTurn_m200579265 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_get_ElapsedTimeInTurn_m200579265_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_0 = PhotonNetwork_get_ServerTimestamp_m3191631178(NULL /*static, unused*/, /*hidden argument*/NULL);
Room_t1409754143 * L_1 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
int32_t L_2 = TurnExtensions_GetTurnStart_m3099907616(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
return ((float)((float)(((float)((float)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_2)))))/(float)(1000.0f)));
}
}
// System.Single Photon.Pun.UtilityScripts.PunTurnManager::get_RemainingSecondsInTurn()
extern "C" IL2CPP_METHOD_ATTR float PunTurnManager_get_RemainingSecondsInTurn_m1281916915 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_get_RemainingSecondsInTurn_m1281916915_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float L_0 = __this->get_TurnDuration_5();
float L_1 = PunTurnManager_get_ElapsedTimeInTurn_m200579265(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t3464937446_il2cpp_TypeInfo_var);
float L_2 = Mathf_Max_m3146388979(NULL /*static, unused*/, (0.0f), ((float)il2cpp_codegen_subtract((float)L_0, (float)L_1)), /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsCompletedByAll()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsCompletedByAll_m2089146779 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_get_IsCompletedByAll_m2089146779_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B4_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_002f;
}
}
{
int32_t L_1 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
if ((((int32_t)L_1) <= ((int32_t)0)))
{
goto IL_002f;
}
}
{
HashSet_1_t1444519063 * L_2 = __this->get_finishedPlayers_7();
NullCheck(L_2);
int32_t L_3 = HashSet_1_get_Count_m1214708533(L_2, /*hidden argument*/HashSet_1_get_Count_m1214708533_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_4 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_4);
uint8_t L_5 = Room_get_PlayerCount_m1869977886(L_4, /*hidden argument*/NULL);
G_B4_0 = ((((int32_t)L_3) == ((int32_t)L_5))? 1 : 0);
goto IL_0030;
}
IL_002f:
{
G_B4_0 = 0;
}
IL_0030:
{
return (bool)G_B4_0;
}
}
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsFinishedByMe()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsFinishedByMe_m3169690618 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_get_IsFinishedByMe_m3169690618_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
HashSet_1_t1444519063 * L_0 = __this->get_finishedPlayers_7();
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_1 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_2 = HashSet_1_Contains_m2453795586(L_0, L_1, /*hidden argument*/HashSet_1_Contains_m2453795586_RuntimeMethod_var);
return L_2;
}
}
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::get_IsOver()
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_get_IsOver_m473053715 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
{
float L_0 = PunTurnManager_get_RemainingSecondsInTurn_m1281916915(__this, /*hidden argument*/NULL);
return (bool)((((int32_t)((!(((float)L_0) <= ((float)(0.0f))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::Start()
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_Start_m4138004136 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::Update()
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_Update_m271052818 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_Update_m271052818_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_003a;
}
}
{
bool L_1 = PunTurnManager_get_IsOver_m473053715(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_003a;
}
}
{
bool L_2 = __this->get__isOverCallProcessed_11();
if (L_2)
{
goto IL_003a;
}
}
{
__this->set__isOverCallProcessed_11((bool)1);
RuntimeObject* L_3 = __this->get_TurnManagerListener_6();
int32_t L_4 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
NullCheck(L_3);
InterfaceActionInvoker1< int32_t >::Invoke(4 /* System.Void Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks::OnTurnTimeEnds(System.Int32) */, IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_003a:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::BeginTurn()
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_BeginTurn_m383374987 (PunTurnManager_t13104469 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
PunTurnManager_set_Turn_m1618395572(__this, ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)1)), /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::SendMove(System.Object,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_SendMove_m131092175 (PunTurnManager_t13104469 * __this, RuntimeObject * ___move0, bool ___finished1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_SendMove_m131092175_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Hashtable_t1048209202 * V_0 = NULL;
uint8_t V_1 = 0x0;
RaiseEventOptions_t4260424731 * V_2 = NULL;
int32_t G_B5_0 = 0;
{
bool L_0 = PunTurnManager_get_IsFinishedByMe_m3169690618(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, _stringLiteral3239394676, /*hidden argument*/NULL);
return;
}
IL_0016:
{
Hashtable_t1048209202 * L_1 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_1, /*hidden argument*/NULL);
V_0 = L_1;
Hashtable_t1048209202 * L_2 = V_0;
int32_t L_3 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
int32_t L_4 = L_3;
RuntimeObject * L_5 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_4);
NullCheck(L_2);
Dictionary_2_Add_m2387223709(L_2, _stringLiteral3596229084, L_5, /*hidden argument*/Dictionary_2_Add_m2387223709_RuntimeMethod_var);
Hashtable_t1048209202 * L_6 = V_0;
RuntimeObject * L_7 = ___move0;
NullCheck(L_6);
Dictionary_2_Add_m2387223709(L_6, _stringLiteral2435509311, L_7, /*hidden argument*/Dictionary_2_Add_m2387223709_RuntimeMethod_var);
bool L_8 = ___finished1;
if (!L_8)
{
goto IL_004a;
}
}
{
G_B5_0 = 2;
goto IL_004b;
}
IL_004a:
{
G_B5_0 = 1;
}
IL_004b:
{
V_1 = (uint8_t)G_B5_0;
uint8_t L_9 = V_1;
Hashtable_t1048209202 * L_10 = V_0;
RaiseEventOptions_t4260424731 * L_11 = (RaiseEventOptions_t4260424731 *)il2cpp_codegen_object_new(RaiseEventOptions_t4260424731_il2cpp_TypeInfo_var);
RaiseEventOptions__ctor_m10672651(L_11, /*hidden argument*/NULL);
V_2 = L_11;
RaiseEventOptions_t4260424731 * L_12 = V_2;
NullCheck(L_12);
L_12->set_CachingOption_1(4);
RaiseEventOptions_t4260424731 * L_13 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(SendOptions_t967321410_il2cpp_TypeInfo_var);
SendOptions_t967321410 L_14 = ((SendOptions_t967321410_StaticFields*)il2cpp_codegen_static_fields_for(SendOptions_t967321410_il2cpp_TypeInfo_var))->get_SendReliable_0();
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_RaiseEvent_m1760242852(NULL /*static, unused*/, L_9, L_10, L_13, L_14, /*hidden argument*/NULL);
bool L_15 = ___finished1;
if (!L_15)
{
goto IL_007d;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_16 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_17 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
TurnExtensions_SetFinishedTurn_m4292240673(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
}
IL_007d:
{
uint8_t L_18 = V_1;
Hashtable_t1048209202 * L_19 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_20 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_20);
int32_t L_21 = Player_get_ActorNumber_m1696970727(L_20, /*hidden argument*/NULL);
PunTurnManager_ProcessOnEvent_m4186446278(__this, L_18, L_19, L_21, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Photon.Pun.UtilityScripts.PunTurnManager::GetPlayerFinishedTurn(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR bool PunTurnManager_GetPlayerFinishedTurn_m1120062368 (PunTurnManager_t13104469 * __this, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_GetPlayerFinishedTurn_m1120062368_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Player_t2879569589 * L_0 = ___player0;
if (!L_0)
{
goto IL_0024;
}
}
{
HashSet_1_t1444519063 * L_1 = __this->get_finishedPlayers_7();
if (!L_1)
{
goto IL_0024;
}
}
{
HashSet_1_t1444519063 * L_2 = __this->get_finishedPlayers_7();
Player_t2879569589 * L_3 = ___player0;
NullCheck(L_2);
bool L_4 = HashSet_1_Contains_m2453795586(L_2, L_3, /*hidden argument*/HashSet_1_Contains_m2453795586_RuntimeMethod_var);
if (!L_4)
{
goto IL_0024;
}
}
{
return (bool)1;
}
IL_0024:
{
return (bool)0;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::ProcessOnEvent(System.Byte,System.Object,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_ProcessOnEvent_m4186446278 (PunTurnManager_t13104469 * __this, uint8_t ___eventCode0, RuntimeObject * ___content1, int32_t ___senderId2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_ProcessOnEvent_m4186446278_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Player_t2879569589 * V_0 = NULL;
Hashtable_t1048209202 * V_1 = NULL;
int32_t V_2 = 0;
RuntimeObject * V_3 = NULL;
Hashtable_t1048209202 * V_4 = NULL;
int32_t V_5 = 0;
RuntimeObject * V_6 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_1 = ___senderId2;
NullCheck(L_0);
Player_t2879569589 * L_2 = VirtFuncInvoker1< Player_t2879569589 *, int32_t >::Invoke(10 /* Photon.Realtime.Player Photon.Realtime.Room::GetPlayer(System.Int32) */, L_0, L_1);
V_0 = L_2;
uint8_t L_3 = ___eventCode0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_001f;
}
}
{
uint8_t L_4 = ___eventCode0;
if ((((int32_t)L_4) == ((int32_t)2)))
{
goto IL_0056;
}
}
{
goto IL_00ca;
}
IL_001f:
{
RuntimeObject * L_5 = ___content1;
V_1 = ((Hashtable_t1048209202 *)IsInstClass((RuntimeObject*)L_5, Hashtable_t1048209202_il2cpp_TypeInfo_var));
Hashtable_t1048209202 * L_6 = V_1;
NullCheck(L_6);
RuntimeObject * L_7 = Hashtable_get_Item_m4119173712(L_6, _stringLiteral3596229084, /*hidden argument*/NULL);
V_2 = ((*(int32_t*)((int32_t*)UnBox(L_7, Int32_t2950945753_il2cpp_TypeInfo_var))));
Hashtable_t1048209202 * L_8 = V_1;
NullCheck(L_8);
RuntimeObject * L_9 = Hashtable_get_Item_m4119173712(L_8, _stringLiteral2435509311, /*hidden argument*/NULL);
V_3 = L_9;
RuntimeObject* L_10 = __this->get_TurnManagerListener_6();
Player_t2879569589 * L_11 = V_0;
int32_t L_12 = V_2;
RuntimeObject * L_13 = V_3;
NullCheck(L_10);
InterfaceActionInvoker3< Player_t2879569589 *, int32_t, RuntimeObject * >::Invoke(2 /* System.Void Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks::OnPlayerMove(Photon.Realtime.Player,System.Int32,System.Object) */, IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var, L_10, L_11, L_12, L_13);
goto IL_00ca;
}
IL_0056:
{
RuntimeObject * L_14 = ___content1;
V_4 = ((Hashtable_t1048209202 *)IsInstClass((RuntimeObject*)L_14, Hashtable_t1048209202_il2cpp_TypeInfo_var));
Hashtable_t1048209202 * L_15 = V_4;
NullCheck(L_15);
RuntimeObject * L_16 = Hashtable_get_Item_m4119173712(L_15, _stringLiteral3596229084, /*hidden argument*/NULL);
V_5 = ((*(int32_t*)((int32_t*)UnBox(L_16, Int32_t2950945753_il2cpp_TypeInfo_var))));
Hashtable_t1048209202 * L_17 = V_4;
NullCheck(L_17);
RuntimeObject * L_18 = Hashtable_get_Item_m4119173712(L_17, _stringLiteral2435509311, /*hidden argument*/NULL);
V_6 = L_18;
int32_t L_19 = V_5;
int32_t L_20 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_19) == ((uint32_t)L_20))))
{
goto IL_00a9;
}
}
{
HashSet_1_t1444519063 * L_21 = __this->get_finishedPlayers_7();
Player_t2879569589 * L_22 = V_0;
NullCheck(L_21);
HashSet_1_Add_m2244038802(L_21, L_22, /*hidden argument*/HashSet_1_Add_m2244038802_RuntimeMethod_var);
RuntimeObject* L_23 = __this->get_TurnManagerListener_6();
Player_t2879569589 * L_24 = V_0;
int32_t L_25 = V_5;
RuntimeObject * L_26 = V_6;
NullCheck(L_23);
InterfaceActionInvoker3< Player_t2879569589 *, int32_t, RuntimeObject * >::Invoke(3 /* System.Void Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks::OnPlayerFinished(Photon.Realtime.Player,System.Int32,System.Object) */, IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var, L_23, L_24, L_25, L_26);
}
IL_00a9:
{
bool L_27 = PunTurnManager_get_IsCompletedByAll_m2089146779(__this, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00c5;
}
}
{
RuntimeObject* L_28 = __this->get_TurnManagerListener_6();
int32_t L_29 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
NullCheck(L_28);
InterfaceActionInvoker1< int32_t >::Invoke(1 /* System.Void Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks::OnTurnCompleted(System.Int32) */, IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var, L_28, L_29);
}
IL_00c5:
{
goto IL_00ca;
}
IL_00ca:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::OnEvent(ExitGames.Client.Photon.EventData)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_OnEvent_m266789113 (PunTurnManager_t13104469 * __this, EventData_t3728223374 * ___photonEvent0, const RuntimeMethod* method)
{
{
EventData_t3728223374 * L_0 = ___photonEvent0;
NullCheck(L_0);
uint8_t L_1 = L_0->get_Code_0();
EventData_t3728223374 * L_2 = ___photonEvent0;
NullCheck(L_2);
RuntimeObject * L_3 = EventData_get_CustomData_m3830762861(L_2, /*hidden argument*/NULL);
EventData_t3728223374 * L_4 = ___photonEvent0;
NullCheck(L_4);
int32_t L_5 = EventData_get_Sender_m4103729516(L_4, /*hidden argument*/NULL);
PunTurnManager_ProcessOnEvent_m4186446278(__this, L_1, L_3, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.PunTurnManager::OnRoomPropertiesUpdate(ExitGames.Client.Photon.Hashtable)
extern "C" IL2CPP_METHOD_ATTR void PunTurnManager_OnRoomPropertiesUpdate_m3206865206 (PunTurnManager_t13104469 * __this, Hashtable_t1048209202 * ___propertiesThatChanged0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PunTurnManager_OnRoomPropertiesUpdate_m3206865206_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Hashtable_t1048209202 * L_0 = ___propertiesThatChanged0;
NullCheck(L_0);
bool L_1 = Dictionary_2_ContainsKey_m2278349286(L_0, _stringLiteral3596229116, /*hidden argument*/Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var);
if (!L_1)
{
goto IL_0033;
}
}
{
__this->set__isOverCallProcessed_11((bool)0);
HashSet_1_t1444519063 * L_2 = __this->get_finishedPlayers_7();
NullCheck(L_2);
HashSet_1_Clear_m4049590895(L_2, /*hidden argument*/HashSet_1_Clear_m4049590895_RuntimeMethod_var);
RuntimeObject* L_3 = __this->get_TurnManagerListener_6();
int32_t L_4 = PunTurnManager_get_Turn_m613516047(__this, /*hidden argument*/NULL);
NullCheck(L_3);
InterfaceActionInvoker1< int32_t >::Invoke(0 /* System.Void Photon.Pun.UtilityScripts.IPunTurnManagerCallbacks::OnTurnBegins(System.Int32) */, IPunTurnManagerCallbacks_t1795442957_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_0033:
{
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 Photon.Pun.UtilityScripts.ScoreExtensions::SetScore(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ScoreExtensions_SetScore_m2852120127 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___newScore1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScoreExtensions_SetScore_m2852120127_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Hashtable_t1048209202 * V_0 = NULL;
{
Hashtable_t1048209202 * L_0 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_0, /*hidden argument*/NULL);
V_0 = L_0;
Hashtable_t1048209202 * L_1 = V_0;
int32_t L_2 = ___newScore1;
int32_t L_3 = L_2;
RuntimeObject * L_4 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_3);
NullCheck(L_1);
Hashtable_set_Item_m963063516(L_1, _stringLiteral1512030231, L_4, /*hidden argument*/NULL);
Player_t2879569589 * L_5 = ___player0;
Hashtable_t1048209202 * L_6 = V_0;
NullCheck(L_5);
Player_SetCustomProperties_m2511057994(L_5, L_6, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.ScoreExtensions::AddScore(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void ScoreExtensions_AddScore_m1501882001 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___scoreToAddToCurrent1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScoreExtensions_AddScore_m1501882001_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Hashtable_t1048209202 * V_1 = NULL;
{
Player_t2879569589 * L_0 = ___player0;
int32_t L_1 = ScoreExtensions_GetScore_m1758861964(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
int32_t L_3 = ___scoreToAddToCurrent1;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)L_3));
Hashtable_t1048209202 * L_4 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_4, /*hidden argument*/NULL);
V_1 = L_4;
Hashtable_t1048209202 * L_5 = V_1;
int32_t L_6 = V_0;
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
Hashtable_set_Item_m963063516(L_5, _stringLiteral1512030231, L_8, /*hidden argument*/NULL);
Player_t2879569589 * L_9 = ___player0;
Hashtable_t1048209202 * L_10 = V_1;
NullCheck(L_9);
Player_SetCustomProperties_m2511057994(L_9, L_10, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Photon.Pun.UtilityScripts.ScoreExtensions::GetScore(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t ScoreExtensions_GetScore_m1758861964 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScoreExtensions_GetScore_m1758861964_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
Player_t2879569589 * L_0 = ___player0;
NullCheck(L_0);
Hashtable_t1048209202 * L_1 = Player_get_CustomProperties_m1194306484(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
bool L_2 = Dictionary_2_TryGetValue_m3280774074(L_1, _stringLiteral1512030231, (RuntimeObject **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m3280774074_RuntimeMethod_var);
if (!L_2)
{
goto IL_001e;
}
}
{
RuntimeObject * L_3 = V_0;
return ((*(int32_t*)((int32_t*)UnBox(L_3, Int32_t2950945753_il2cpp_TypeInfo_var))));
}
IL_001e:
{
return 0;
}
}
#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 Photon.Pun.UtilityScripts.SmoothSyncMovement::.ctor()
extern "C" IL2CPP_METHOD_ATTR void SmoothSyncMovement__ctor_m4047694916 (SmoothSyncMovement_t663920301 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SmoothSyncMovement__ctor_m4047694916_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_SmoothingDelay_5((5.0f));
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_0 = Vector3_get_zero_m1409827619(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_correctPlayerPos_6(L_0);
IL2CPP_RUNTIME_CLASS_INIT(Quaternion_t2301928331_il2cpp_TypeInfo_var);
Quaternion_t2301928331 L_1 = Quaternion_get_identity_m3722672781(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_correctPlayerRot_7(L_1);
MonoBehaviourPun__ctor_m4088882012(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.SmoothSyncMovement::Awake()
extern "C" IL2CPP_METHOD_ATTR void SmoothSyncMovement_Awake_m3867079641 (SmoothSyncMovement_t663920301 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SmoothSyncMovement_Awake_m3867079641_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Component_t1923634451 * V_1 = NULL;
Enumerator_t989985774 V_2;
memset(&V_2, 0, sizeof(V_2));
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 = -1;
NO_UNUSED_WARNING (__leave_target);
{
V_0 = (bool)0;
PhotonView_t3684715584 * L_0 = MonoBehaviourPun_get_photonView_m4085429734(__this, /*hidden argument*/NULL);
NullCheck(L_0);
List_1_t3395709193 * L_1 = L_0->get_ObservedComponents_15();
NullCheck(L_1);
Enumerator_t989985774 L_2 = List_1_GetEnumerator_m4151690152(L_1, /*hidden argument*/List_1_GetEnumerator_m4151690152_RuntimeMethod_var);
V_2 = L_2;
}
IL_0013:
try
{ // begin try (depth: 1)
{
goto IL_0033;
}
IL_0018:
{
Component_t1923634451 * L_3 = Enumerator_get_Current_m4025676787((Enumerator_t989985774 *)(&V_2), /*hidden argument*/Enumerator_get_Current_m4025676787_RuntimeMethod_var);
V_1 = L_3;
Component_t1923634451 * L_4 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_4, __this, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0033;
}
}
IL_002c:
{
V_0 = (bool)1;
goto IL_003f;
}
IL_0033:
{
bool L_6 = Enumerator_MoveNext_m1900473804((Enumerator_t989985774 *)(&V_2), /*hidden argument*/Enumerator_MoveNext_m1900473804_RuntimeMethod_var);
if (L_6)
{
goto IL_0018;
}
}
IL_003f:
{
IL2CPP_LEAVE(0x52, FINALLY_0044);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0044;
}
FINALLY_0044:
{ // begin finally (depth: 1)
Enumerator_Dispose_m4132484595((Enumerator_t989985774 *)(&V_2), /*hidden argument*/Enumerator_Dispose_m4132484595_RuntimeMethod_var);
IL2CPP_END_FINALLY(68)
} // end finally (depth: 1)
IL2CPP_CLEANUP(68)
{
IL2CPP_JUMP_TBL(0x52, IL_0052)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0052:
{
bool L_7 = V_0;
if (L_7)
{
goto IL_0068;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = String_Concat_m904156431(NULL /*static, unused*/, __this, _stringLiteral2688095987, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
}
IL_0068:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.SmoothSyncMovement::OnPhotonSerializeView(Photon.Pun.PhotonStream,Photon.Pun.PhotonMessageInfo)
extern "C" IL2CPP_METHOD_ATTR void SmoothSyncMovement_OnPhotonSerializeView_m2846101314 (SmoothSyncMovement_t663920301 * __this, PhotonStream_t2658340202 * ___stream0, PhotonMessageInfo_t1249220519 ___info1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SmoothSyncMovement_OnPhotonSerializeView_m2846101314_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PhotonStream_t2658340202 * L_0 = ___stream0;
NullCheck(L_0);
bool L_1 = PhotonStream_get_IsWriting_m3056429191(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_003c;
}
}
{
PhotonStream_t2658340202 * L_2 = ___stream0;
Transform_t3600365921 * L_3 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_3);
Vector3_t3722313464 L_4 = Transform_get_position_m36019626(L_3, /*hidden argument*/NULL);
Vector3_t3722313464 L_5 = L_4;
RuntimeObject * L_6 = Box(Vector3_t3722313464_il2cpp_TypeInfo_var, &L_5);
NullCheck(L_2);
PhotonStream_SendNext_m196961137(L_2, L_6, /*hidden argument*/NULL);
PhotonStream_t2658340202 * L_7 = ___stream0;
Transform_t3600365921 * L_8 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_8);
Quaternion_t2301928331 L_9 = Transform_get_rotation_m3502953881(L_8, /*hidden argument*/NULL);
Quaternion_t2301928331 L_10 = L_9;
RuntimeObject * L_11 = Box(Quaternion_t2301928331_il2cpp_TypeInfo_var, &L_10);
NullCheck(L_7);
PhotonStream_SendNext_m196961137(L_7, L_11, /*hidden argument*/NULL);
goto IL_005e;
}
IL_003c:
{
PhotonStream_t2658340202 * L_12 = ___stream0;
NullCheck(L_12);
RuntimeObject * L_13 = PhotonStream_ReceiveNext_m3210630961(L_12, /*hidden argument*/NULL);
__this->set_correctPlayerPos_6(((*(Vector3_t3722313464 *)((Vector3_t3722313464 *)UnBox(L_13, Vector3_t3722313464_il2cpp_TypeInfo_var)))));
PhotonStream_t2658340202 * L_14 = ___stream0;
NullCheck(L_14);
RuntimeObject * L_15 = PhotonStream_ReceiveNext_m3210630961(L_14, /*hidden argument*/NULL);
__this->set_correctPlayerRot_7(((*(Quaternion_t2301928331 *)((Quaternion_t2301928331 *)UnBox(L_15, Quaternion_t2301928331_il2cpp_TypeInfo_var)))));
}
IL_005e:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.SmoothSyncMovement::Update()
extern "C" IL2CPP_METHOD_ATTR void SmoothSyncMovement_Update_m4017652860 (SmoothSyncMovement_t663920301 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SmoothSyncMovement_Update_m4017652860_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PhotonView_t3684715584 * L_0 = MonoBehaviourPun_get_photonView_m4085429734(__this, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_1 = PhotonView_get_IsMine_m210517380(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_006a;
}
}
{
Transform_t3600365921 * L_2 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
Transform_t3600365921 * L_3 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_3);
Vector3_t3722313464 L_4 = Transform_get_position_m36019626(L_3, /*hidden argument*/NULL);
Vector3_t3722313464 L_5 = __this->get_correctPlayerPos_6();
float L_6 = Time_get_deltaTime_m372706562(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_7 = __this->get_SmoothingDelay_5();
IL2CPP_RUNTIME_CLASS_INIT(Vector3_t3722313464_il2cpp_TypeInfo_var);
Vector3_t3722313464 L_8 = Vector3_Lerp_m407887542(NULL /*static, unused*/, L_4, L_5, ((float)il2cpp_codegen_multiply((float)L_6, (float)L_7)), /*hidden argument*/NULL);
NullCheck(L_2);
Transform_set_position_m3387557959(L_2, L_8, /*hidden argument*/NULL);
Transform_t3600365921 * L_9 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
Transform_t3600365921 * L_10 = Component_get_transform_m3162698980(__this, /*hidden argument*/NULL);
NullCheck(L_10);
Quaternion_t2301928331 L_11 = Transform_get_rotation_m3502953881(L_10, /*hidden argument*/NULL);
Quaternion_t2301928331 L_12 = __this->get_correctPlayerRot_7();
float L_13 = Time_get_deltaTime_m372706562(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_14 = __this->get_SmoothingDelay_5();
IL2CPP_RUNTIME_CLASS_INIT(Quaternion_t2301928331_il2cpp_TypeInfo_var);
Quaternion_t2301928331 L_15 = Quaternion_Lerp_m1238806789(NULL /*static, unused*/, L_11, L_12, ((float)il2cpp_codegen_multiply((float)L_13, (float)L_14)), /*hidden argument*/NULL);
NullCheck(L_9);
Transform_set_rotation_m3524318132(L_9, L_15, /*hidden argument*/NULL);
}
IL_006a:
{
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 Photon.Pun.UtilityScripts.StatesGui::.ctor()
extern "C" IL2CPP_METHOD_ATTR void StatesGui__ctor_m2633669037 (StatesGui_t4032328020 * __this, const RuntimeMethod* method)
{
Rect_t2360479859 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Rect_t2360479859 L_0;
memset(&L_0, 0, sizeof(L_0));
Rect__ctor_m2614021312((&L_0), (250.0f), (0.0f), (300.0f), (300.0f), /*hidden argument*/NULL);
__this->set_GuiOffset_4(L_0);
__this->set_DontDestroy_5((bool)1);
il2cpp_codegen_initobj((&V_0), sizeof(Rect_t2360479859 ));
Rect_t2360479859 L_1 = V_0;
__this->set_GuiRect_18(L_1);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.StatesGui::Awake()
extern "C" IL2CPP_METHOD_ATTR void StatesGui_Awake_m3534082901 (StatesGui_t4032328020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StatesGui_Awake_m3534082901_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
StatesGui_t4032328020 * L_0 = ((StatesGui_t4032328020_StaticFields*)il2cpp_codegen_static_fields_for(StatesGui_t4032328020_il2cpp_TypeInfo_var))->get_Instance_19();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m4071470834(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001c;
}
}
{
GameObject_t1113636619 * L_2 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m3193525861(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
return;
}
IL_001c:
{
bool L_3 = __this->get_DontDestroy_5();
if (!L_3)
{
goto IL_0038;
}
}
{
((StatesGui_t4032328020_StaticFields*)il2cpp_codegen_static_fields_for(StatesGui_t4032328020_il2cpp_TypeInfo_var))->set_Instance_19(__this);
GameObject_t1113636619 * L_4 = Component_get_gameObject_m442555142(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
Object_DontDestroyOnLoad_m166252750(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
}
IL_0038:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.StatesGui::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void StatesGui_OnDisable_m1465164230 (StatesGui_t4032328020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StatesGui_OnDisable_m1465164230_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_DontDestroy_5();
if (!L_0)
{
goto IL_0021;
}
}
{
StatesGui_t4032328020 * L_1 = ((StatesGui_t4032328020_StaticFields*)il2cpp_codegen_static_fields_for(StatesGui_t4032328020_il2cpp_TypeInfo_var))->get_Instance_19();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_1, __this, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0021;
}
}
{
((StatesGui_t4032328020_StaticFields*)il2cpp_codegen_static_fields_for(StatesGui_t4032328020_il2cpp_TypeInfo_var))->set_Instance_19((StatesGui_t4032328020 *)NULL);
}
IL_0021:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.StatesGui::OnGUI()
extern "C" IL2CPP_METHOD_ATTR void StatesGui_OnGUI_m2550125736 (StatesGui_t4032328020 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StatesGui_OnGUI_m2550125736_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t2360479859 V_0;
memset(&V_0, 0, sizeof(V_0));
double V_1 = 0.0;
int32_t V_2 = 0;
Player_t2879569589 * V_3 = NULL;
PlayerU5BU5D_t3651776216* V_4 = NULL;
int32_t V_5 = 0;
int32_t V_6 = 0;
String_t* G_B13_0 = NULL;
String_t* G_B12_0 = NULL;
String_t* G_B14_0 = NULL;
String_t* G_B14_1 = NULL;
String_t* G_B20_0 = NULL;
int32_t G_B33_0 = 0;
int32_t G_B35_0 = 0;
ObjectU5BU5D_t2843939325* G_B35_1 = NULL;
ObjectU5BU5D_t2843939325* G_B35_2 = NULL;
int32_t G_B34_0 = 0;
ObjectU5BU5D_t2843939325* G_B34_1 = NULL;
ObjectU5BU5D_t2843939325* G_B34_2 = NULL;
String_t* G_B36_0 = NULL;
int32_t G_B36_1 = 0;
ObjectU5BU5D_t2843939325* G_B36_2 = NULL;
ObjectU5BU5D_t2843939325* G_B36_3 = NULL;
{
Rect_t2360479859 L_0 = __this->get_GuiOffset_4();
Rect__ctor_m499992824((Rect_t2360479859 *)(&V_0), L_0, /*hidden argument*/NULL);
float L_1 = Rect_get_x_m3839990490((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
if ((!(((float)L_1) < ((float)(0.0f)))))
{
goto IL_0033;
}
}
{
int32_t L_2 = Screen_get_width_m345039817(NULL /*static, unused*/, /*hidden argument*/NULL);
float L_3 = Rect_get_width_m3421484486((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
Rect_set_x_m2352063068((Rect_t2360479859 *)(&V_0), ((float)il2cpp_codegen_subtract((float)(((float)((float)L_2))), (float)L_3)), /*hidden argument*/NULL);
}
IL_0033:
{
Rect_t2360479859 * L_4 = __this->get_address_of_GuiRect_18();
float L_5 = Rect_get_x_m3839990490((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
Rect_set_xMin_m2413290617((Rect_t2360479859 *)L_4, L_5, /*hidden argument*/NULL);
Rect_t2360479859 * L_6 = __this->get_address_of_GuiRect_18();
float L_7 = Rect_get_y_m1501338330((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
Rect_set_yMin_m2724127720((Rect_t2360479859 *)L_6, L_7, /*hidden argument*/NULL);
Rect_t2360479859 * L_8 = __this->get_address_of_GuiRect_18();
float L_9 = Rect_get_x_m3839990490((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
float L_10 = Rect_get_width_m3421484486((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
Rect_set_xMax_m1720695099((Rect_t2360479859 *)L_8, ((float)il2cpp_codegen_add((float)L_9, (float)L_10)), /*hidden argument*/NULL);
Rect_t2360479859 * L_11 = __this->get_address_of_GuiRect_18();
float L_12 = Rect_get_y_m1501338330((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
float L_13 = Rect_get_height_m1358425599((Rect_t2360479859 *)(&V_0), /*hidden argument*/NULL);
Rect_set_yMax_m2031532394((Rect_t2360479859 *)L_11, ((float)il2cpp_codegen_add((float)L_12, (float)L_13)), /*hidden argument*/NULL);
Rect_t2360479859 L_14 = __this->get_GuiRect_18();
GUILayout_BeginArea_m3340577749(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_15 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_BeginHorizontal_m1655989246(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
bool L_16 = __this->get_ServerTimestamp_6();
if (!L_16)
{
goto IL_00d4;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_17 = PhotonNetwork_get_ServerTimestamp_m3191631178(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = ((double)((double)(((double)((double)L_17)))/(double)(1000.0)));
String_t* L_18 = Double_ToString_m896573572((double*)(&V_1), _stringLiteral3451369434, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_19 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_18, L_19, /*hidden argument*/NULL);
}
IL_00d4:
{
bool L_20 = __this->get_Server_8();
if (!L_20)
{
goto IL_0103;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
String_t* L_21 = PhotonNetwork_get_ServerAddress_m2261417848(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_22 = PhotonNetwork_get_Server_m56981912(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_23 = L_22;
RuntimeObject * L_24 = Box(ServerConnection_t1897300512_il2cpp_TypeInfo_var, &L_23);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_25 = String_Concat_m1715369213(NULL /*static, unused*/, L_21, _stringLiteral3452614528, L_24, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_26 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL);
}
IL_0103:
{
bool L_27 = __this->get_DetailedConnection_7();
if (!L_27)
{
goto IL_012c;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_28 = PhotonNetwork_get_NetworkClientState_m1324246180(NULL /*static, unused*/, /*hidden argument*/NULL);
V_2 = L_28;
RuntimeObject * L_29 = Box(ClientState_t741254012_il2cpp_TypeInfo_var, (&V_2));
NullCheck(L_29);
String_t* L_30 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_29);
V_2 = *(int32_t*)UnBox(L_29);
GUILayoutOptionU5BU5D_t2510215842* L_31 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_30, L_31, /*hidden argument*/NULL);
}
IL_012c:
{
bool L_32 = __this->get_AppVersion_9();
if (!L_32)
{
goto IL_014c;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_33 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_33);
String_t* L_34 = LoadBalancingClient_get_AppVersion_m168706073(L_33, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_35 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/NULL);
}
IL_014c:
{
GUILayout_EndHorizontal_m125407884(NULL /*static, unused*/, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_36 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_BeginHorizontal_m1655989246(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
bool L_37 = __this->get_UserId_10();
if (!L_37)
{
goto IL_01b9;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
AuthenticationValues_t2847553853 * L_38 = PhotonNetwork_get_AuthValues_m668622286(NULL /*static, unused*/, /*hidden argument*/NULL);
G_B12_0 = _stringLiteral3116922775;
if (!L_38)
{
G_B13_0 = _stringLiteral3116922775;
goto IL_0185;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
AuthenticationValues_t2847553853 * L_39 = PhotonNetwork_get_AuthValues_m668622286(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_39);
String_t* L_40 = AuthenticationValues_get_UserId_m1088651611(L_39, /*hidden argument*/NULL);
G_B14_0 = L_40;
G_B14_1 = G_B12_0;
goto IL_018a;
}
IL_0185:
{
G_B14_0 = _stringLiteral1960057320;
G_B14_1 = G_B13_0;
}
IL_018a:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_41 = String_Concat_m3937257545(NULL /*static, unused*/, G_B14_1, G_B14_0, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_42 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_41, L_42, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_43 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_43);
String_t* L_44 = Player_get_UserId_m1473040619(L_43, /*hidden argument*/NULL);
String_t* L_45 = String_Concat_m3937257545(NULL /*static, unused*/, _stringLiteral1270814699, L_44, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_46 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_45, L_46, /*hidden argument*/NULL);
}
IL_01b9:
{
GUILayout_EndHorizontal_m125407884(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_47 = __this->get_Room_11();
if (!L_47)
{
goto IL_0217;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_48 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_48)
{
goto IL_0207;
}
}
{
bool L_49 = __this->get_RoomProps_12();
if (!L_49)
{
goto IL_01ed;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_50 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_50);
String_t* L_51 = Room_ToStringFull_m3203878693(L_50, /*hidden argument*/NULL);
G_B20_0 = L_51;
goto IL_01f7;
}
IL_01ed:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_52 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_52);
String_t* L_53 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_52);
G_B20_0 = L_53;
}
IL_01f7:
{
GUILayoutOptionU5BU5D_t2510215842* L_54 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, G_B20_0, L_54, /*hidden argument*/NULL);
goto IL_0217;
}
IL_0207:
{
GUILayoutOptionU5BU5D_t2510215842* L_55 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, _stringLiteral2926167460, L_55, /*hidden argument*/NULL);
}
IL_0217:
{
bool L_56 = __this->get_LocalPlayer_13();
if (!L_56)
{
goto IL_0238;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_57 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
String_t* L_58 = StatesGui_PlayerToString_m2491781136(__this, L_57, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_59 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_58, L_59, /*hidden argument*/NULL);
}
IL_0238:
{
bool L_60 = __this->get_Others_15();
if (!L_60)
{
goto IL_027b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PlayerU5BU5D_t3651776216* L_61 = PhotonNetwork_get_PlayerListOthers_m1000693535(NULL /*static, unused*/, /*hidden argument*/NULL);
V_4 = L_61;
V_5 = 0;
goto IL_0270;
}
IL_0252:
{
PlayerU5BU5D_t3651776216* L_62 = V_4;
int32_t L_63 = V_5;
NullCheck(L_62);
int32_t L_64 = L_63;
Player_t2879569589 * L_65 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_64));
V_3 = L_65;
Player_t2879569589 * L_66 = V_3;
String_t* L_67 = StatesGui_PlayerToString_m2491781136(__this, L_66, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_68 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_67, L_68, /*hidden argument*/NULL);
int32_t L_69 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)1));
}
IL_0270:
{
int32_t L_70 = V_5;
PlayerU5BU5D_t3651776216* L_71 = V_4;
NullCheck(L_71);
if ((((int32_t)L_70) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_71)->max_length)))))))
{
goto IL_0252;
}
}
IL_027b:
{
bool L_72 = __this->get_ExpectedUsers_17();
if (!L_72)
{
goto IL_0313;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_73 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_73)
{
goto IL_0313;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_74 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_74);
StringU5BU5D_t1281789340* L_75 = Room_get_ExpectedUsers_m2526500248(L_74, /*hidden argument*/NULL);
if (!L_75)
{
goto IL_02b0;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_76 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_76);
StringU5BU5D_t1281789340* L_77 = Room_get_ExpectedUsers_m2526500248(L_76, /*hidden argument*/NULL);
NullCheck(L_77);
G_B33_0 = (((int32_t)((int32_t)(((RuntimeArray *)L_77)->max_length))));
goto IL_02b1;
}
IL_02b0:
{
G_B33_0 = 0;
}
IL_02b1:
{
V_6 = G_B33_0;
ObjectU5BU5D_t2843939325* L_78 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t2843939325* L_79 = L_78;
NullCheck(L_79);
ArrayElementTypeCheck (L_79, _stringLiteral3326793915);
(L_79)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)_stringLiteral3326793915);
ObjectU5BU5D_t2843939325* L_80 = L_79;
int32_t L_81 = V_6;
int32_t L_82 = L_81;
RuntimeObject * L_83 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_82);
NullCheck(L_80);
ArrayElementTypeCheck (L_80, L_83);
(L_80)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_83);
ObjectU5BU5D_t2843939325* L_84 = L_80;
NullCheck(L_84);
ArrayElementTypeCheck (L_84, _stringLiteral3452614528);
(L_84)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)_stringLiteral3452614528);
ObjectU5BU5D_t2843939325* L_85 = L_84;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_86 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_86);
StringU5BU5D_t1281789340* L_87 = Room_get_ExpectedUsers_m2526500248(L_86, /*hidden argument*/NULL);
G_B34_0 = 3;
G_B34_1 = L_85;
G_B34_2 = L_85;
if (!L_87)
{
G_B35_0 = 3;
G_B35_1 = L_85;
G_B35_2 = L_85;
goto IL_02fd;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_88 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_88);
StringU5BU5D_t1281789340* L_89 = Room_get_ExpectedUsers_m2526500248(L_88, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_90 = String_Join_m2050845953(NULL /*static, unused*/, _stringLiteral3452614532, L_89, /*hidden argument*/NULL);
G_B36_0 = L_90;
G_B36_1 = G_B34_0;
G_B36_2 = G_B34_1;
G_B36_3 = G_B34_2;
goto IL_0302;
}
IL_02fd:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_91 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B36_0 = L_91;
G_B36_1 = G_B35_0;
G_B36_2 = G_B35_1;
G_B36_3 = G_B35_2;
}
IL_0302:
{
NullCheck(G_B36_2);
ArrayElementTypeCheck (G_B36_2, G_B36_0);
(G_B36_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B36_1), (RuntimeObject *)G_B36_0);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_92 = String_Concat_m2971454694(NULL /*static, unused*/, G_B36_3, /*hidden argument*/NULL);
GUILayoutOptionU5BU5D_t2510215842* L_93 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_Label_m1960000298(NULL /*static, unused*/, L_92, L_93, /*hidden argument*/NULL);
}
IL_0313:
{
bool L_94 = __this->get_Buttons_16();
if (!L_94)
{
goto IL_0437;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_95 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_95)
{
goto IL_0343;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_96 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_97 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral2680616118, L_96, /*hidden argument*/NULL);
if (!L_97)
{
goto IL_0343;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_ConnectUsingSettings_m1338349691(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0343:
{
GUILayoutOptionU5BU5D_t2510215842* L_98 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
GUILayout_BeginHorizontal_m1655989246(NULL /*static, unused*/, L_98, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_99 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_99)
{
goto IL_0372;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_100 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_101 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral1865647988, L_100, /*hidden argument*/NULL);
if (!L_101)
{
goto IL_0372;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_Disconnect_m3519498535(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0372:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_102 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_102)
{
goto IL_03a0;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_103 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_104 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral2950038661, L_103, /*hidden argument*/NULL);
if (!L_104)
{
goto IL_03a0;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_105 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
NullCheck(L_105);
LoadBalancingPeer_t529840942 * L_106 = LoadBalancingClient_get_LoadBalancingPeer_m2466874186(L_105, /*hidden argument*/NULL);
NullCheck(L_106);
VirtActionInvoker0::Invoke(9 /* System.Void ExitGames.Client.Photon.PhotonPeer::StopThread() */, L_106);
}
IL_03a0:
{
GUILayout_EndHorizontal_m125407884(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_107 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_107)
{
goto IL_03d5;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_108 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_108)
{
goto IL_03d5;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_109 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_110 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral1905830978, L_109, /*hidden argument*/NULL);
if (!L_110)
{
goto IL_03d5;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_LeaveRoom_m2743004410(NULL /*static, unused*/, (bool)1, /*hidden argument*/NULL);
}
IL_03d5:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_111 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_111)
{
goto IL_0404;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_112 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_112)
{
goto IL_0404;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_113 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_114 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral4077018639, L_113, /*hidden argument*/NULL);
if (!L_114)
{
goto IL_0404;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_JoinRandomRoom_m1843297646(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_0404:
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_115 = PhotonNetwork_get_IsConnected_m925803950(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_115)
{
goto IL_0437;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_116 = PhotonNetwork_get_InRoom_m1470828242(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_116)
{
goto IL_0437;
}
}
{
GUILayoutOptionU5BU5D_t2510215842* L_117 = (GUILayoutOptionU5BU5D_t2510215842*)SZArrayNew(GUILayoutOptionU5BU5D_t2510215842_il2cpp_TypeInfo_var, (uint32_t)0);
bool L_118 = GUILayout_Button_m1340817034(NULL /*static, unused*/, _stringLiteral1289456955, L_117, /*hidden argument*/NULL);
if (!L_118)
{
goto IL_0437;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
PhotonNetwork_CreateRoom_m2738072803(NULL /*static, unused*/, (String_t*)NULL, (RoomOptions_t957731565 *)NULL, (TypedLobby_t3393892244 *)NULL, (StringU5BU5D_t1281789340*)(StringU5BU5D_t1281789340*)NULL, /*hidden argument*/NULL);
}
IL_0437:
{
GUILayout_EndArea_m2046611416(NULL /*static, unused*/, /*hidden argument*/NULL);
return;
}
}
// System.String Photon.Pun.UtilityScripts.StatesGui::PlayerToString(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR String_t* StatesGui_PlayerToString_m2491781136 (StatesGui_t4032328020 * __this, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StatesGui_PlayerToString_m2491781136_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t G_B4_0 = 0;
ObjectU5BU5D_t2843939325* G_B4_1 = NULL;
ObjectU5BU5D_t2843939325* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
int32_t G_B3_0 = 0;
ObjectU5BU5D_t2843939325* G_B3_1 = NULL;
ObjectU5BU5D_t2843939325* G_B3_2 = NULL;
String_t* G_B3_3 = NULL;
String_t* G_B5_0 = NULL;
int32_t G_B5_1 = 0;
ObjectU5BU5D_t2843939325* G_B5_2 = NULL;
ObjectU5BU5D_t2843939325* G_B5_3 = NULL;
String_t* G_B5_4 = NULL;
int32_t G_B7_0 = 0;
ObjectU5BU5D_t2843939325* G_B7_1 = NULL;
ObjectU5BU5D_t2843939325* G_B7_2 = NULL;
String_t* G_B7_3 = NULL;
int32_t G_B6_0 = 0;
ObjectU5BU5D_t2843939325* G_B6_1 = NULL;
ObjectU5BU5D_t2843939325* G_B6_2 = NULL;
String_t* G_B6_3 = NULL;
String_t* G_B8_0 = NULL;
int32_t G_B8_1 = 0;
ObjectU5BU5D_t2843939325* G_B8_2 = NULL;
ObjectU5BU5D_t2843939325* G_B8_3 = NULL;
String_t* G_B8_4 = NULL;
int32_t G_B10_0 = 0;
ObjectU5BU5D_t2843939325* G_B10_1 = NULL;
ObjectU5BU5D_t2843939325* G_B10_2 = NULL;
String_t* G_B10_3 = NULL;
int32_t G_B9_0 = 0;
ObjectU5BU5D_t2843939325* G_B9_1 = NULL;
ObjectU5BU5D_t2843939325* G_B9_2 = NULL;
String_t* G_B9_3 = NULL;
String_t* G_B11_0 = NULL;
int32_t G_B11_1 = 0;
ObjectU5BU5D_t2843939325* G_B11_2 = NULL;
ObjectU5BU5D_t2843939325* G_B11_3 = NULL;
String_t* G_B11_4 = NULL;
int32_t G_B13_0 = 0;
ObjectU5BU5D_t2843939325* G_B13_1 = NULL;
ObjectU5BU5D_t2843939325* G_B13_2 = NULL;
String_t* G_B13_3 = NULL;
int32_t G_B12_0 = 0;
ObjectU5BU5D_t2843939325* G_B12_1 = NULL;
ObjectU5BU5D_t2843939325* G_B12_2 = NULL;
String_t* G_B12_3 = NULL;
String_t* G_B14_0 = NULL;
int32_t G_B14_1 = 0;
ObjectU5BU5D_t2843939325* G_B14_2 = NULL;
ObjectU5BU5D_t2843939325* G_B14_3 = NULL;
String_t* G_B14_4 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
LoadBalancingClient_t609581828 * L_0 = ((PhotonNetwork_t3232838738_StaticFields*)il2cpp_codegen_static_fields_for(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var))->get_NetworkingClient_3();
if (L_0)
{
goto IL_001a;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogError_m2850623458(NULL /*static, unused*/, _stringLiteral1968429183, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
return L_1;
}
IL_001a:
{
ObjectU5BU5D_t2843939325* L_2 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)7);
ObjectU5BU5D_t2843939325* L_3 = L_2;
ObjectU5BU5D_t2843939325* L_4 = (ObjectU5BU5D_t2843939325*)SZArrayNew(ObjectU5BU5D_t2843939325_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_t2843939325* L_5 = L_4;
Player_t2879569589 * L_6 = ___player0;
NullCheck(L_6);
int32_t L_7 = Player_get_ActorNumber_m1696970727(L_6, /*hidden argument*/NULL);
int32_t L_8 = L_7;
RuntimeObject * L_9 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_8);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_9);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_9);
ObjectU5BU5D_t2843939325* L_10 = L_5;
NullCheck(L_10);
ArrayElementTypeCheck (L_10, _stringLiteral1948345292);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)_stringLiteral1948345292);
ObjectU5BU5D_t2843939325* L_11 = L_10;
Player_t2879569589 * L_12 = ___player0;
NullCheck(L_12);
String_t* L_13 = Player_get_UserId_m1473040619(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_13);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_13);
ObjectU5BU5D_t2843939325* L_14 = L_11;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, _stringLiteral3452614546);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)_stringLiteral3452614546);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_15 = String_Concat_m2971454694(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_15);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_15);
ObjectU5BU5D_t2843939325* L_16 = L_3;
Player_t2879569589 * L_17 = ___player0;
NullCheck(L_17);
String_t* L_18 = Player_get_NickName_m711204587(L_17, /*hidden argument*/NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_18);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_18);
ObjectU5BU5D_t2843939325* L_19 = L_16;
Player_t2879569589 * L_20 = ___player0;
NullCheck(L_20);
bool L_21 = Player_get_IsMasterClient_m670322456(L_20, /*hidden argument*/NULL);
G_B3_0 = 2;
G_B3_1 = L_19;
G_B3_2 = L_19;
G_B3_3 = _stringLiteral762250762;
if (!L_21)
{
G_B4_0 = 2;
G_B4_1 = L_19;
G_B4_2 = L_19;
G_B4_3 = _stringLiteral762250762;
goto IL_007a;
}
}
{
G_B5_0 = _stringLiteral3054202007;
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
G_B5_3 = G_B3_2;
G_B5_4 = G_B3_3;
goto IL_007f;
}
IL_007a:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_22 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B5_0 = L_22;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
G_B5_3 = G_B4_2;
G_B5_4 = G_B4_3;
}
IL_007f:
{
NullCheck(G_B5_2);
ArrayElementTypeCheck (G_B5_2, G_B5_0);
(G_B5_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B5_1), (RuntimeObject *)G_B5_0);
ObjectU5BU5D_t2843939325* L_23 = G_B5_3;
bool L_24 = __this->get_PlayerProps_14();
G_B6_0 = 3;
G_B6_1 = L_23;
G_B6_2 = L_23;
G_B6_3 = G_B5_4;
if (!L_24)
{
G_B7_0 = 3;
G_B7_1 = L_23;
G_B7_2 = L_23;
G_B7_3 = G_B5_4;
goto IL_009d;
}
}
{
Player_t2879569589 * L_25 = ___player0;
NullCheck(L_25);
Hashtable_t1048209202 * L_26 = Player_get_CustomProperties_m1194306484(L_25, /*hidden argument*/NULL);
String_t* L_27 = Extensions_ToStringFull_m973343359(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
G_B8_0 = L_27;
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
G_B8_3 = G_B6_2;
G_B8_4 = G_B6_3;
goto IL_00a2;
}
IL_009d:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_28 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B8_0 = L_28;
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
G_B8_3 = G_B7_2;
G_B8_4 = G_B7_3;
}
IL_00a2:
{
NullCheck(G_B8_2);
ArrayElementTypeCheck (G_B8_2, G_B8_0);
(G_B8_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B8_1), (RuntimeObject *)G_B8_0);
ObjectU5BU5D_t2843939325* L_29 = G_B8_3;
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Player_t2879569589 * L_30 = PhotonNetwork_get_LocalPlayer_m1925676130(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_30);
int32_t L_31 = Player_get_ActorNumber_m1696970727(L_30, /*hidden argument*/NULL);
Player_t2879569589 * L_32 = ___player0;
NullCheck(L_32);
int32_t L_33 = Player_get_ActorNumber_m1696970727(L_32, /*hidden argument*/NULL);
G_B9_0 = 4;
G_B9_1 = L_29;
G_B9_2 = L_29;
G_B9_3 = G_B8_4;
if ((!(((uint32_t)L_31) == ((uint32_t)L_33))))
{
G_B10_0 = 4;
G_B10_1 = L_29;
G_B10_2 = L_29;
G_B10_3 = G_B8_4;
goto IL_00c4;
}
}
{
G_B11_0 = _stringLiteral3142235956;
G_B11_1 = G_B9_0;
G_B11_2 = G_B9_1;
G_B11_3 = G_B9_2;
G_B11_4 = G_B9_3;
goto IL_00c9;
}
IL_00c4:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_34 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B11_0 = L_34;
G_B11_1 = G_B10_0;
G_B11_2 = G_B10_1;
G_B11_3 = G_B10_2;
G_B11_4 = G_B10_3;
}
IL_00c9:
{
NullCheck(G_B11_2);
ArrayElementTypeCheck (G_B11_2, G_B11_0);
(G_B11_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B11_1), (RuntimeObject *)G_B11_0);
ObjectU5BU5D_t2843939325* L_35 = G_B11_3;
Player_t2879569589 * L_36 = ___player0;
NullCheck(L_36);
String_t* L_37 = Player_get_UserId_m1473040619(L_36, /*hidden argument*/NULL);
NullCheck(L_35);
ArrayElementTypeCheck (L_35, L_37);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_37);
ObjectU5BU5D_t2843939325* L_38 = L_35;
Player_t2879569589 * L_39 = ___player0;
NullCheck(L_39);
bool L_40 = Player_get_IsInactive_m102561162(L_39, /*hidden argument*/NULL);
G_B12_0 = 6;
G_B12_1 = L_38;
G_B12_2 = L_38;
G_B12_3 = G_B11_4;
if (!L_40)
{
G_B13_0 = 6;
G_B13_1 = L_38;
G_B13_2 = L_38;
G_B13_3 = G_B11_4;
goto IL_00ea;
}
}
{
G_B14_0 = _stringLiteral1798499810;
G_B14_1 = G_B12_0;
G_B14_2 = G_B12_1;
G_B14_3 = G_B12_2;
G_B14_4 = G_B12_3;
goto IL_00ef;
}
IL_00ea:
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_41 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
G_B14_0 = L_41;
G_B14_1 = G_B13_0;
G_B14_2 = G_B13_1;
G_B14_3 = G_B13_2;
G_B14_4 = G_B13_3;
}
IL_00ef:
{
NullCheck(G_B14_2);
ArrayElementTypeCheck (G_B14_2, G_B14_0);
(G_B14_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B14_1), (RuntimeObject *)G_B14_0);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_42 = String_Format_m630303134(NULL /*static, unused*/, G_B14_4, G_B14_3, /*hidden argument*/NULL);
return L_42;
}
}
#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 Photon.Pun.UtilityScripts.TabViewManager::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TabViewManager__ctor_m2906137091 (TabViewManager_t3686055887 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager::Start()
extern "C" IL2CPP_METHOD_ATTR void TabViewManager_Start_m3245621917 (TabViewManager_t3686055887 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TabViewManager_Start_m3245621917_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TabU5BU5D_t533311896* V_0 = NULL;
int32_t V_1 = 0;
U3CStartU3Ec__AnonStorey0_t1921436154 * V_2 = NULL;
{
Dictionary_2_t1152131052 * L_0 = (Dictionary_2_t1152131052 *)il2cpp_codegen_object_new(Dictionary_2_t1152131052_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m3567964180(L_0, /*hidden argument*/Dictionary_2__ctor_m3567964180_RuntimeMethod_var);
__this->set_Tab_lut_8(L_0);
TabU5BU5D_t533311896* L_1 = __this->get_Tabs_5();
V_0 = L_1;
V_1 = 0;
goto IL_00b6;
}
IL_0019:
{
U3CStartU3Ec__AnonStorey0_t1921436154 * L_2 = (U3CStartU3Ec__AnonStorey0_t1921436154 *)il2cpp_codegen_object_new(U3CStartU3Ec__AnonStorey0_t1921436154_il2cpp_TypeInfo_var);
U3CStartU3Ec__AnonStorey0__ctor_m969447748(L_2, /*hidden argument*/NULL);
V_2 = L_2;
U3CStartU3Ec__AnonStorey0_t1921436154 * L_3 = V_2;
TabU5BU5D_t533311896* L_4 = V_0;
int32_t L_5 = V_1;
NullCheck(L_4);
int32_t L_6 = L_5;
Tab_t117203701 * L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
NullCheck(L_3);
L_3->set__tab_0(L_7);
U3CStartU3Ec__AnonStorey0_t1921436154 * L_8 = V_2;
NullCheck(L_8);
L_8->set_U24this_1(__this);
Dictionary_2_t1152131052 * L_9 = __this->get_Tab_lut_8();
U3CStartU3Ec__AnonStorey0_t1921436154 * L_10 = V_2;
NullCheck(L_10);
Tab_t117203701 * L_11 = L_10->get__tab_0();
NullCheck(L_11);
Toggle_t2735377061 * L_12 = L_11->get_Toggle_1();
U3CStartU3Ec__AnonStorey0_t1921436154 * L_13 = V_2;
NullCheck(L_13);
Tab_t117203701 * L_14 = L_13->get__tab_0();
NullCheck(L_9);
Dictionary_2_set_Item_m368567659(L_9, L_12, L_14, /*hidden argument*/Dictionary_2_set_Item_m368567659_RuntimeMethod_var);
U3CStartU3Ec__AnonStorey0_t1921436154 * L_15 = V_2;
NullCheck(L_15);
Tab_t117203701 * L_16 = L_15->get__tab_0();
NullCheck(L_16);
RectTransform_t3704657025 * L_17 = L_16->get_View_2();
NullCheck(L_17);
GameObject_t1113636619 * L_18 = Component_get_gameObject_m442555142(L_17, /*hidden argument*/NULL);
U3CStartU3Ec__AnonStorey0_t1921436154 * L_19 = V_2;
NullCheck(L_19);
Tab_t117203701 * L_20 = L_19->get__tab_0();
NullCheck(L_20);
Toggle_t2735377061 * L_21 = L_20->get_Toggle_1();
NullCheck(L_21);
bool L_22 = Toggle_get_isOn_m1428293607(L_21, /*hidden argument*/NULL);
NullCheck(L_18);
GameObject_SetActive_m796801857(L_18, L_22, /*hidden argument*/NULL);
U3CStartU3Ec__AnonStorey0_t1921436154 * L_23 = V_2;
NullCheck(L_23);
Tab_t117203701 * L_24 = L_23->get__tab_0();
NullCheck(L_24);
Toggle_t2735377061 * L_25 = L_24->get_Toggle_1();
NullCheck(L_25);
bool L_26 = Toggle_get_isOn_m1428293607(L_25, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_0091;
}
}
{
U3CStartU3Ec__AnonStorey0_t1921436154 * L_27 = V_2;
NullCheck(L_27);
Tab_t117203701 * L_28 = L_27->get__tab_0();
__this->set_CurrentTab_7(L_28);
}
IL_0091:
{
U3CStartU3Ec__AnonStorey0_t1921436154 * L_29 = V_2;
NullCheck(L_29);
Tab_t117203701 * L_30 = L_29->get__tab_0();
NullCheck(L_30);
Toggle_t2735377061 * L_31 = L_30->get_Toggle_1();
NullCheck(L_31);
ToggleEvent_t1873685584 * L_32 = L_31->get_onValueChanged_21();
U3CStartU3Ec__AnonStorey0_t1921436154 * L_33 = V_2;
intptr_t L_34 = (intptr_t)U3CStartU3Ec__AnonStorey0_U3CU3Em__0_m340462239_RuntimeMethod_var;
UnityAction_1_t682124106 * L_35 = (UnityAction_1_t682124106 *)il2cpp_codegen_object_new(UnityAction_1_t682124106_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m3007623985(L_35, L_33, (intptr_t)L_34, /*hidden argument*/UnityAction_1__ctor_m3007623985_RuntimeMethod_var);
NullCheck(L_32);
UnityEvent_1_AddListener_m2847988282(L_32, L_35, /*hidden argument*/UnityEvent_1_AddListener_m2847988282_RuntimeMethod_var);
int32_t L_36 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)1));
}
IL_00b6:
{
int32_t L_37 = V_1;
TabU5BU5D_t533311896* L_38 = V_0;
NullCheck(L_38);
if ((((int32_t)L_37) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_38)->max_length)))))))
{
goto IL_0019;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager::SelectTab(System.String)
extern "C" IL2CPP_METHOD_ATTR void TabViewManager_SelectTab_m170906911 (TabViewManager_t3686055887 * __this, String_t* ___id0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TabViewManager_SelectTab_m170906911_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Tab_t117203701 * V_0 = NULL;
TabU5BU5D_t533311896* V_1 = NULL;
int32_t V_2 = 0;
{
TabU5BU5D_t533311896* L_0 = __this->get_Tabs_5();
V_1 = L_0;
V_2 = 0;
goto IL_0034;
}
IL_000e:
{
TabU5BU5D_t533311896* L_1 = V_1;
int32_t L_2 = V_2;
NullCheck(L_1);
int32_t L_3 = L_2;
Tab_t117203701 * L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_0 = L_4;
Tab_t117203701 * L_5 = V_0;
NullCheck(L_5);
String_t* L_6 = L_5->get_ID_0();
String_t* L_7 = ___id0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_8 = String_op_Equality_m920492651(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0030;
}
}
{
Tab_t117203701 * L_9 = V_0;
NullCheck(L_9);
Toggle_t2735377061 * L_10 = L_9->get_Toggle_1();
NullCheck(L_10);
Toggle_set_isOn_m3548357404(L_10, (bool)1, /*hidden argument*/NULL);
return;
}
IL_0030:
{
int32_t L_11 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0034:
{
int32_t L_12 = V_2;
TabU5BU5D_t533311896* L_13 = V_1;
NullCheck(L_13);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray *)L_13)->max_length)))))))
{
goto IL_000e;
}
}
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager::OnTabSelected(Photon.Pun.UtilityScripts.TabViewManager/Tab)
extern "C" IL2CPP_METHOD_ATTR void TabViewManager_OnTabSelected_m3112329729 (TabViewManager_t3686055887 * __this, Tab_t117203701 * ___tab0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TabViewManager_OnTabSelected_m3112329729_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Tab_t117203701 * L_0 = __this->get_CurrentTab_7();
NullCheck(L_0);
RectTransform_t3704657025 * L_1 = L_0->get_View_2();
NullCheck(L_1);
GameObject_t1113636619 * L_2 = Component_get_gameObject_m442555142(L_1, /*hidden argument*/NULL);
NullCheck(L_2);
GameObject_SetActive_m796801857(L_2, (bool)0, /*hidden argument*/NULL);
Dictionary_2_t1152131052 * L_3 = __this->get_Tab_lut_8();
ToggleGroup_t123837990 * L_4 = __this->get_ToggleGroup_4();
NullCheck(L_4);
RuntimeObject* L_5 = ToggleGroup_ActiveToggles_m3179342002(L_4, /*hidden argument*/NULL);
Toggle_t2735377061 * L_6 = Enumerable_FirstOrDefault_TisToggle_t2735377061_m296792468(NULL /*static, unused*/, L_5, /*hidden argument*/Enumerable_FirstOrDefault_TisToggle_t2735377061_m296792468_RuntimeMethod_var);
NullCheck(L_3);
Tab_t117203701 * L_7 = Dictionary_2_get_Item_m1995330077(L_3, L_6, /*hidden argument*/Dictionary_2_get_Item_m1995330077_RuntimeMethod_var);
__this->set_CurrentTab_7(L_7);
Tab_t117203701 * L_8 = __this->get_CurrentTab_7();
NullCheck(L_8);
RectTransform_t3704657025 * L_9 = L_8->get_View_2();
NullCheck(L_9);
GameObject_t1113636619 * L_10 = Component_get_gameObject_m442555142(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
GameObject_SetActive_m796801857(L_10, (bool)1, /*hidden argument*/NULL);
TabChangeEvent_t3080003849 * L_11 = __this->get_OnTabChanged_6();
Tab_t117203701 * L_12 = __this->get_CurrentTab_7();
NullCheck(L_12);
String_t* L_13 = L_12->get_ID_0();
NullCheck(L_11);
UnityEvent_1_Invoke_m2550716684(L_11, L_13, /*hidden argument*/UnityEvent_1_Invoke_m2550716684_RuntimeMethod_var);
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 Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0::.ctor()
extern "C" IL2CPP_METHOD_ATTR void U3CStartU3Ec__AnonStorey0__ctor_m969447748 (U3CStartU3Ec__AnonStorey0_t1921436154 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TabViewManager/<Start>c__AnonStorey0::<>m__0(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void U3CStartU3Ec__AnonStorey0_U3CU3Em__0_m340462239 (U3CStartU3Ec__AnonStorey0_t1921436154 * __this, bool ___isSelected0, const RuntimeMethod* method)
{
{
bool L_0 = ___isSelected0;
if (L_0)
{
goto IL_0007;
}
}
{
return;
}
IL_0007:
{
TabViewManager_t3686055887 * L_1 = __this->get_U24this_1();
Tab_t117203701 * L_2 = __this->get__tab_0();
NullCheck(L_1);
TabViewManager_OnTabSelected_m3112329729(L_1, L_2, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.TabViewManager/Tab::.ctor()
extern "C" IL2CPP_METHOD_ATTR void Tab__ctor_m4081913537 (Tab_t117203701 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Tab__ctor_m4081913537_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_2();
__this->set_ID_0(L_0);
Object__ctor_m297566312(__this, /*hidden argument*/NULL);
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 Photon.Pun.UtilityScripts.TabViewManager/TabChangeEvent::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TabChangeEvent__ctor_m2715359150 (TabChangeEvent_t3080003849 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TabChangeEvent__ctor_m2715359150_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m2980558499(__this, /*hidden argument*/UnityEvent_1__ctor_m2980558499_RuntimeMethod_var);
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
// Photon.Pun.UtilityScripts.PunTeams/Team Photon.Pun.UtilityScripts.TeamExtensions::GetTeam(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR uint8_t TeamExtensions_GetTeam_m2656974499 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TeamExtensions_GetTeam_m2656974499_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
{
Player_t2879569589 * L_0 = ___player0;
NullCheck(L_0);
Hashtable_t1048209202 * L_1 = Player_get_CustomProperties_m1194306484(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
bool L_2 = Dictionary_2_TryGetValue_m3280774074(L_1, _stringLiteral3917410033, (RuntimeObject **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m3280774074_RuntimeMethod_var);
if (!L_2)
{
goto IL_001e;
}
}
{
RuntimeObject * L_3 = V_0;
return ((*(uint8_t*)((uint8_t*)UnBox(L_3, Team_t3101236044_il2cpp_TypeInfo_var))));
}
IL_001e:
{
return (uint8_t)(0);
}
}
// System.Void Photon.Pun.UtilityScripts.TeamExtensions::SetTeam(Photon.Realtime.Player,Photon.Pun.UtilityScripts.PunTeams/Team)
extern "C" IL2CPP_METHOD_ATTR void TeamExtensions_SetTeam_m96072579 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, uint8_t ___team1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TeamExtensions_SetTeam_m96072579_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0;
Hashtable_t1048209202 * V_1 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
bool L_0 = PhotonNetwork_get_IsConnectedAndReady_m1594620062(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0029;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_1 = PhotonNetwork_get_NetworkClientState_m1324246180(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_2 = L_1;
RuntimeObject * L_3 = Box(ClientState_t741254012_il2cpp_TypeInfo_var, &L_2);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_4 = String_Concat_m1715369213(NULL /*static, unused*/, _stringLiteral2950688325, L_3, _stringLiteral275284584, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t3317548046_il2cpp_TypeInfo_var);
Debug_LogWarning_m3752629331(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
return;
}
IL_0029:
{
Player_t2879569589 * L_5 = ___player0;
uint8_t L_6 = TeamExtensions_GetTeam_m2656974499(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
V_0 = L_6;
uint8_t L_7 = V_0;
uint8_t L_8 = ___team1;
if ((((int32_t)L_7) == ((int32_t)L_8)))
{
goto IL_0057;
}
}
{
Player_t2879569589 * L_9 = ___player0;
Hashtable_t1048209202 * L_10 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_10, /*hidden argument*/NULL);
V_1 = L_10;
Hashtable_t1048209202 * L_11 = V_1;
uint8_t L_12 = ___team1;
uint8_t L_13 = ((uint8_t)L_12);
RuntimeObject * L_14 = Box(Byte_t1134296376_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
Dictionary_2_Add_m2387223709(L_11, _stringLiteral3917410033, L_14, /*hidden argument*/Dictionary_2_Add_m2387223709_RuntimeMethod_var);
Hashtable_t1048209202 * L_15 = V_1;
NullCheck(L_9);
Player_SetCustomProperties_m2511057994(L_9, L_15, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL, /*hidden argument*/NULL);
}
IL_0057:
{
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 Photon.Pun.UtilityScripts.TextButtonTransition::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition__ctor_m3972737964 (TextButtonTransition_t2307109358 * __this, const RuntimeMethod* method)
{
{
Color_t2555686324 L_0 = Color_get_white_m332174077(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_NormalColor_6(L_0);
Color_t2555686324 L_1 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_HoverColor_7(L_1);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextButtonTransition::Awake()
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition_Awake_m2258665499 (TextButtonTransition_t2307109358 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextButtonTransition_Awake_m2258665499_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Text_t1901882714 * L_0 = Component_GetComponent_TisText_t1901882714_m2069588619(__this, /*hidden argument*/Component_GetComponent_TisText_t1901882714_m2069588619_RuntimeMethod_var);
__this->set__text_4(L_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextButtonTransition::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition_OnEnable_m1650052259 (TextButtonTransition_t2307109358 * __this, const RuntimeMethod* method)
{
{
Text_t1901882714 * L_0 = __this->get__text_4();
Color_t2555686324 L_1 = __this->get_NormalColor_6();
NullCheck(L_0);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_0, L_1);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextButtonTransition::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition_OnDisable_m3636152 (TextButtonTransition_t2307109358 * __this, const RuntimeMethod* method)
{
{
Text_t1901882714 * L_0 = __this->get__text_4();
Color_t2555686324 L_1 = __this->get_NormalColor_6();
NullCheck(L_0);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_0, L_1);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextButtonTransition::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition_OnPointerEnter_m1943928115 (TextButtonTransition_t2307109358 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextButtonTransition_OnPointerEnter_m1943928115_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Selectable_t3250028441 * L_0 = __this->get_Selectable_5();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0021;
}
}
{
Selectable_t3250028441 * L_2 = __this->get_Selectable_5();
NullCheck(L_2);
bool L_3 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, L_2);
if (!L_3)
{
goto IL_0032;
}
}
IL_0021:
{
Text_t1901882714 * L_4 = __this->get__text_4();
Color_t2555686324 L_5 = __this->get_HoverColor_7();
NullCheck(L_4);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_4, L_5);
}
IL_0032:
{
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextButtonTransition::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void TextButtonTransition_OnPointerExit_m3861436028 (TextButtonTransition_t2307109358 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextButtonTransition_OnPointerExit_m3861436028_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Selectable_t3250028441 * L_0 = __this->get_Selectable_5();
IL2CPP_RUNTIME_CLASS_INIT(Object_t631007953_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m1810815630(NULL /*static, unused*/, L_0, (Object_t631007953 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0021;
}
}
{
Selectable_t3250028441 * L_2 = __this->get_Selectable_5();
NullCheck(L_2);
bool L_3 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, L_2);
if (!L_3)
{
goto IL_0032;
}
}
IL_0021:
{
Text_t1901882714 * L_4 = __this->get__text_4();
Color_t2555686324 L_5 = __this->get_NormalColor_6();
NullCheck(L_4);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_4, L_5);
}
IL_0032:
{
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 Photon.Pun.UtilityScripts.TextToggleIsOnTransition::.ctor()
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition__ctor_m2448769082 (TextToggleIsOnTransition_t4243955300 * __this, const RuntimeMethod* method)
{
{
Color_t2555686324 L_0 = Color_get_white_m332174077(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_NormalOnColor_6(L_0);
Color_t2555686324 L_1 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_NormalOffColor_7(L_1);
Color_t2555686324 L_2 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_HoverOnColor_8(L_2);
Color_t2555686324 L_3 = Color_get_black_m719512684(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_HoverOffColor_9(L_3);
MonoBehaviour__ctor_m1579109191(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnEnable()
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnEnable_m1219669493 (TextToggleIsOnTransition_t4243955300 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextToggleIsOnTransition_OnEnable_m1219669493_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Text_t1901882714 * L_0 = Component_GetComponent_TisText_t1901882714_m2069588619(__this, /*hidden argument*/Component_GetComponent_TisText_t1901882714_m2069588619_RuntimeMethod_var);
__this->set__text_5(L_0);
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
TextToggleIsOnTransition_OnValueChanged_m1225106709(__this, L_2, /*hidden argument*/NULL);
Toggle_t2735377061 * L_3 = __this->get_toggle_4();
NullCheck(L_3);
ToggleEvent_t1873685584 * L_4 = L_3->get_onValueChanged_21();
intptr_t L_5 = (intptr_t)TextToggleIsOnTransition_OnValueChanged_m1225106709_RuntimeMethod_var;
UnityAction_1_t682124106 * L_6 = (UnityAction_1_t682124106 *)il2cpp_codegen_object_new(UnityAction_1_t682124106_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m3007623985(L_6, __this, (intptr_t)L_5, /*hidden argument*/UnityAction_1__ctor_m3007623985_RuntimeMethod_var);
NullCheck(L_4);
UnityEvent_1_AddListener_m2847988282(L_4, L_6, /*hidden argument*/UnityEvent_1_AddListener_m2847988282_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnDisable()
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnDisable_m3630902897 (TextToggleIsOnTransition_t4243955300 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TextToggleIsOnTransition_OnDisable_m3630902897_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Toggle_t2735377061 * L_0 = __this->get_toggle_4();
NullCheck(L_0);
ToggleEvent_t1873685584 * L_1 = L_0->get_onValueChanged_21();
intptr_t L_2 = (intptr_t)TextToggleIsOnTransition_OnValueChanged_m1225106709_RuntimeMethod_var;
UnityAction_1_t682124106 * L_3 = (UnityAction_1_t682124106 *)il2cpp_codegen_object_new(UnityAction_1_t682124106_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m3007623985(L_3, __this, (intptr_t)L_2, /*hidden argument*/UnityAction_1__ctor_m3007623985_RuntimeMethod_var);
NullCheck(L_1);
UnityEvent_1_RemoveListener_m1660329188(L_1, L_3, /*hidden argument*/UnityEvent_1_RemoveListener_m1660329188_RuntimeMethod_var);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnValueChanged(System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnValueChanged_m1225106709 (TextToggleIsOnTransition_t4243955300 * __this, bool ___isOn0, const RuntimeMethod* method)
{
Text_t1901882714 * G_B5_0 = NULL;
Text_t1901882714 * G_B1_0 = NULL;
Text_t1901882714 * G_B3_0 = NULL;
Text_t1901882714 * G_B2_0 = NULL;
Color_t2555686324 G_B4_0;
memset(&G_B4_0, 0, sizeof(G_B4_0));
Text_t1901882714 * G_B4_1 = NULL;
Color_t2555686324 G_B8_0;
memset(&G_B8_0, 0, sizeof(G_B8_0));
Text_t1901882714 * G_B8_1 = NULL;
Text_t1901882714 * G_B7_0 = NULL;
Text_t1901882714 * G_B6_0 = NULL;
{
Text_t1901882714 * L_0 = __this->get__text_5();
bool L_1 = ___isOn0;
G_B1_0 = L_0;
if (!L_1)
{
G_B5_0 = L_0;
goto IL_002d;
}
}
{
bool L_2 = __this->get_isHover_10();
G_B2_0 = G_B1_0;
if (!L_2)
{
G_B3_0 = G_B1_0;
goto IL_0022;
}
}
{
Color_t2555686324 L_3 = __this->get_HoverOnColor_8();
G_B4_0 = L_3;
G_B4_1 = G_B2_0;
goto IL_0028;
}
IL_0022:
{
Color_t2555686324 L_4 = __this->get_HoverOnColor_8();
G_B4_0 = L_4;
G_B4_1 = G_B3_0;
}
IL_0028:
{
G_B8_0 = G_B4_0;
G_B8_1 = G_B4_1;
goto IL_0049;
}
IL_002d:
{
bool L_5 = __this->get_isHover_10();
G_B6_0 = G_B5_0;
if (!L_5)
{
G_B7_0 = G_B5_0;
goto IL_0043;
}
}
{
Color_t2555686324 L_6 = __this->get_NormalOffColor_7();
G_B8_0 = L_6;
G_B8_1 = G_B6_0;
goto IL_0049;
}
IL_0043:
{
Color_t2555686324 L_7 = __this->get_NormalOffColor_7();
G_B8_0 = L_7;
G_B8_1 = G_B7_0;
}
IL_0049:
{
NullCheck(G_B8_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B8_1, G_B8_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnPointerEnter_m1767745687 (TextToggleIsOnTransition_t4243955300 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
Text_t1901882714 * G_B2_0 = NULL;
Text_t1901882714 * G_B1_0 = NULL;
Color_t2555686324 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
Text_t1901882714 * G_B3_1 = NULL;
{
__this->set_isHover_10((bool)1);
Text_t1901882714 * L_0 = __this->get__text_5();
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
G_B1_0 = L_0;
if (!L_2)
{
G_B2_0 = L_0;
goto IL_0028;
}
}
{
Color_t2555686324 L_3 = __this->get_HoverOnColor_8();
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_002e;
}
IL_0028:
{
Color_t2555686324 L_4 = __this->get_HoverOffColor_9();
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
}
IL_002e:
{
NullCheck(G_B3_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B3_1, G_B3_0);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TextToggleIsOnTransition::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" IL2CPP_METHOD_ATTR void TextToggleIsOnTransition_OnPointerExit_m4017413846 (TextToggleIsOnTransition_t4243955300 * __this, PointerEventData_t3807901092 * ___eventData0, const RuntimeMethod* method)
{
Text_t1901882714 * G_B2_0 = NULL;
Text_t1901882714 * G_B1_0 = NULL;
Color_t2555686324 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
Text_t1901882714 * G_B3_1 = NULL;
{
__this->set_isHover_10((bool)0);
Text_t1901882714 * L_0 = __this->get__text_5();
Toggle_t2735377061 * L_1 = __this->get_toggle_4();
NullCheck(L_1);
bool L_2 = Toggle_get_isOn_m1428293607(L_1, /*hidden argument*/NULL);
G_B1_0 = L_0;
if (!L_2)
{
G_B2_0 = L_0;
goto IL_0028;
}
}
{
Color_t2555686324 L_3 = __this->get_NormalOnColor_6();
G_B3_0 = L_3;
G_B3_1 = G_B1_0;
goto IL_002e;
}
IL_0028:
{
Color_t2555686324 L_4 = __this->get_NormalOffColor_7();
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
}
IL_002e:
{
NullCheck(G_B3_1);
VirtActionInvoker1< Color_t2555686324 >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, G_B3_1, G_B3_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 Photon.Pun.UtilityScripts.TurnExtensions::SetTurn(Photon.Realtime.Room,System.Int32,System.Boolean)
extern "C" IL2CPP_METHOD_ATTR void TurnExtensions_SetTurn_m487888605 (RuntimeObject * __this /* static, unused */, Room_t1409754143 * ___room0, int32_t ___turn1, bool ___setStartTime2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions_SetTurn_m487888605_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Hashtable_t1048209202 * V_0 = NULL;
{
Room_t1409754143 * L_0 = ___room0;
if (!L_0)
{
goto IL_0011;
}
}
{
Room_t1409754143 * L_1 = ___room0;
NullCheck(L_1);
Hashtable_t1048209202 * L_2 = RoomInfo_get_CustomProperties_m4229566866(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0012;
}
}
IL_0011:
{
return;
}
IL_0012:
{
Hashtable_t1048209202 * L_3 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_3, /*hidden argument*/NULL);
V_0 = L_3;
Hashtable_t1048209202 * L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_5 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnPropKey_0();
int32_t L_6 = ___turn1;
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_4);
Hashtable_set_Item_m963063516(L_4, L_5, L_8, /*hidden argument*/NULL);
bool L_9 = ___setStartTime2;
if (!L_9)
{
goto IL_0044;
}
}
{
Hashtable_t1048209202 * L_10 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_11 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnStartPropKey_1();
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
int32_t L_12 = PhotonNetwork_get_ServerTimestamp_m3191631178(NULL /*static, unused*/, /*hidden argument*/NULL);
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_10);
Hashtable_set_Item_m963063516(L_10, L_11, L_14, /*hidden argument*/NULL);
}
IL_0044:
{
Room_t1409754143 * L_15 = ___room0;
Hashtable_t1048209202 * L_16 = V_0;
NullCheck(L_15);
VirtActionInvoker3< Hashtable_t1048209202 *, Hashtable_t1048209202 *, WebFlags_t3155447403 * >::Invoke(5 /* System.Void Photon.Realtime.Room::SetCustomProperties(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags) */, L_15, L_16, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL);
return;
}
}
// System.Int32 Photon.Pun.UtilityScripts.TurnExtensions::GetTurn(Photon.Realtime.RoomInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t TurnExtensions_GetTurn_m1426973900 (RuntimeObject * __this /* static, unused */, RoomInfo_t3118950765 * ___room0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions_GetTurn_m1426973900_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RoomInfo_t3118950765 * L_0 = ___room0;
if (!L_0)
{
goto IL_0026;
}
}
{
RoomInfo_t3118950765 * L_1 = ___room0;
NullCheck(L_1);
Hashtable_t1048209202 * L_2 = RoomInfo_get_CustomProperties_m4229566866(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0026;
}
}
{
RoomInfo_t3118950765 * L_3 = ___room0;
NullCheck(L_3);
Hashtable_t1048209202 * L_4 = RoomInfo_get_CustomProperties_m4229566866(L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_5 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnPropKey_0();
NullCheck(L_4);
bool L_6 = Dictionary_2_ContainsKey_m2278349286(L_4, L_5, /*hidden argument*/Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var);
if (L_6)
{
goto IL_0028;
}
}
IL_0026:
{
return 0;
}
IL_0028:
{
RoomInfo_t3118950765 * L_7 = ___room0;
NullCheck(L_7);
Hashtable_t1048209202 * L_8 = RoomInfo_get_CustomProperties_m4229566866(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_9 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnPropKey_0();
NullCheck(L_8);
RuntimeObject * L_10 = Hashtable_get_Item_m4119173712(L_8, L_9, /*hidden argument*/NULL);
return ((*(int32_t*)((int32_t*)UnBox(L_10, Int32_t2950945753_il2cpp_TypeInfo_var))));
}
}
// System.Int32 Photon.Pun.UtilityScripts.TurnExtensions::GetTurnStart(Photon.Realtime.RoomInfo)
extern "C" IL2CPP_METHOD_ATTR int32_t TurnExtensions_GetTurnStart_m3099907616 (RuntimeObject * __this /* static, unused */, RoomInfo_t3118950765 * ___room0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions_GetTurnStart_m3099907616_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RoomInfo_t3118950765 * L_0 = ___room0;
if (!L_0)
{
goto IL_0026;
}
}
{
RoomInfo_t3118950765 * L_1 = ___room0;
NullCheck(L_1);
Hashtable_t1048209202 * L_2 = RoomInfo_get_CustomProperties_m4229566866(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0026;
}
}
{
RoomInfo_t3118950765 * L_3 = ___room0;
NullCheck(L_3);
Hashtable_t1048209202 * L_4 = RoomInfo_get_CustomProperties_m4229566866(L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_5 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnStartPropKey_1();
NullCheck(L_4);
bool L_6 = Dictionary_2_ContainsKey_m2278349286(L_4, L_5, /*hidden argument*/Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var);
if (L_6)
{
goto IL_0028;
}
}
IL_0026:
{
return 0;
}
IL_0028:
{
RoomInfo_t3118950765 * L_7 = ___room0;
NullCheck(L_7);
Hashtable_t1048209202 * L_8 = RoomInfo_get_CustomProperties_m4229566866(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_9 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnStartPropKey_1();
NullCheck(L_8);
RuntimeObject * L_10 = Hashtable_get_Item_m4119173712(L_8, L_9, /*hidden argument*/NULL);
return ((*(int32_t*)((int32_t*)UnBox(L_10, Int32_t2950945753_il2cpp_TypeInfo_var))));
}
}
// System.Int32 Photon.Pun.UtilityScripts.TurnExtensions::GetFinishedTurn(Photon.Realtime.Player)
extern "C" IL2CPP_METHOD_ATTR int32_t TurnExtensions_GetFinishedTurn_m753257667 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions_GetFinishedTurn_m753257667_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Room_t1409754143 * V_0 = NULL;
String_t* V_1 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
Room_t1409754143 * L_1 = V_0;
if (!L_1)
{
goto IL_002c;
}
}
{
Room_t1409754143 * L_2 = V_0;
NullCheck(L_2);
Hashtable_t1048209202 * L_3 = RoomInfo_get_CustomProperties_m4229566866(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_002c;
}
}
{
Room_t1409754143 * L_4 = V_0;
NullCheck(L_4);
Hashtable_t1048209202 * L_5 = RoomInfo_get_CustomProperties_m4229566866(L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_6 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_TurnPropKey_0();
NullCheck(L_5);
bool L_7 = Dictionary_2_ContainsKey_m2278349286(L_5, L_6, /*hidden argument*/Dictionary_2_ContainsKey_m2278349286_RuntimeMethod_var);
if (L_7)
{
goto IL_002e;
}
}
IL_002c:
{
return 0;
}
IL_002e:
{
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_8 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_FinishedTurnPropKey_2();
Player_t2879569589 * L_9 = ___player0;
NullCheck(L_9);
int32_t L_10 = Player_get_ActorNumber_m1696970727(L_9, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_11);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_13 = String_Concat_m904156431(NULL /*static, unused*/, L_8, L_12, /*hidden argument*/NULL);
V_1 = L_13;
Room_t1409754143 * L_14 = V_0;
NullCheck(L_14);
Hashtable_t1048209202 * L_15 = RoomInfo_get_CustomProperties_m4229566866(L_14, /*hidden argument*/NULL);
String_t* L_16 = V_1;
NullCheck(L_15);
RuntimeObject * L_17 = Hashtable_get_Item_m4119173712(L_15, L_16, /*hidden argument*/NULL);
return ((*(int32_t*)((int32_t*)UnBox(L_17, Int32_t2950945753_il2cpp_TypeInfo_var))));
}
}
// System.Void Photon.Pun.UtilityScripts.TurnExtensions::SetFinishedTurn(Photon.Realtime.Player,System.Int32)
extern "C" IL2CPP_METHOD_ATTR void TurnExtensions_SetFinishedTurn_m4292240673 (RuntimeObject * __this /* static, unused */, Player_t2879569589 * ___player0, int32_t ___turn1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions_SetFinishedTurn_m4292240673_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Room_t1409754143 * V_0 = NULL;
String_t* V_1 = NULL;
Hashtable_t1048209202 * V_2 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonNetwork_t3232838738_il2cpp_TypeInfo_var);
Room_t1409754143 * L_0 = PhotonNetwork_get_CurrentRoom_m2592017421(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
Room_t1409754143 * L_1 = V_0;
if (!L_1)
{
goto IL_0017;
}
}
{
Room_t1409754143 * L_2 = V_0;
NullCheck(L_2);
Hashtable_t1048209202 * L_3 = RoomInfo_get_CustomProperties_m4229566866(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0018;
}
}
IL_0017:
{
return;
}
IL_0018:
{
IL2CPP_RUNTIME_CLASS_INIT(TurnExtensions_t575626914_il2cpp_TypeInfo_var);
String_t* L_4 = ((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->get_FinishedTurnPropKey_2();
Player_t2879569589 * L_5 = ___player0;
NullCheck(L_5);
int32_t L_6 = Player_get_ActorNumber_m1696970727(L_5, /*hidden argument*/NULL);
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_7);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_9 = String_Concat_m904156431(NULL /*static, unused*/, L_4, L_8, /*hidden argument*/NULL);
V_1 = L_9;
Hashtable_t1048209202 * L_10 = (Hashtable_t1048209202 *)il2cpp_codegen_object_new(Hashtable_t1048209202_il2cpp_TypeInfo_var);
Hashtable__ctor_m3127574091(L_10, /*hidden argument*/NULL);
V_2 = L_10;
Hashtable_t1048209202 * L_11 = V_2;
String_t* L_12 = V_1;
int32_t L_13 = ___turn1;
int32_t L_14 = L_13;
RuntimeObject * L_15 = Box(Int32_t2950945753_il2cpp_TypeInfo_var, &L_14);
NullCheck(L_11);
Hashtable_set_Item_m963063516(L_11, L_12, L_15, /*hidden argument*/NULL);
Room_t1409754143 * L_16 = V_0;
Hashtable_t1048209202 * L_17 = V_2;
NullCheck(L_16);
VirtActionInvoker3< Hashtable_t1048209202 *, Hashtable_t1048209202 *, WebFlags_t3155447403 * >::Invoke(5 /* System.Void Photon.Realtime.Room::SetCustomProperties(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags) */, L_16, L_17, (Hashtable_t1048209202 *)NULL, (WebFlags_t3155447403 *)NULL);
return;
}
}
// System.Void Photon.Pun.UtilityScripts.TurnExtensions::.cctor()
extern "C" IL2CPP_METHOD_ATTR void TurnExtensions__cctor_m4185854308 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TurnExtensions__cctor_m4185854308_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->set_TurnPropKey_0(_stringLiteral3596229116);
((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->set_TurnStartPropKey_1(_stringLiteral950452602);
((TurnExtensions_t575626914_StaticFields*)il2cpp_codegen_static_fields_for(TurnExtensions_t575626914_il2cpp_TypeInfo_var))->set_FinishedTurnPropKey_2(_stringLiteral3815572937);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"[email protected]"
] | |
766144487fc340953d87c231c61bfb0320623941 | cf48befa6375f9892a0784e715bf402c5fa25e50 | /SPPM/SPPM/kdtree.h | a77b625b17bd41c894868da41c02e9af03f44278 | [] | no_license | tabochans/FriendsRender-R-public | 74df63c16941923217d4fcb51a6d919d98208647 | f514d54d3dd6594727dc1fcf4364206f1164a832 | refs/heads/master | 2020-07-22T12:06:42.086293 | 2019-09-10T13:54:58 | 2019-09-10T13:54:58 | 207,196,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,779 | h | #pragma once
#include <vector>
#include <ostream>
#include <fstream>
#include "MT.h"
#include "Primitive.h"
#include "Vec.h"
namespace tgraph {
template<typename T>
struct Node {
T element;
enum AXIS {
AX_X = 0,
AX_Y = 1,
AX_Z = 2
};
AXIS axis;
const Node* parent;
const Node* children[2];
Node(const T& _element, AXIS _axis, const Node* _parent, const Node* _children1, const Node* _children2) :
element(_element), axis(_axis), parent(_parent), children{ _children1, _children2 } {
}
Node() : element(), axis(AX_X), parent(nullptr), children{ nullptr, nullptr } {}
};
template<typename T>
class kdtree {
static constexpr int Num_Bin = 8;
int m_NumNode;
mutable RandomMT m_MT;
private:
mutable std::vector<std::vector<int>> m_indexBin;
std::vector<Node<T>> m_Nodes;
const Node<T>* RootNode;
struct BoundingBox {
float xyz_minmax[6];
BoundingBox(float x_min, float x_max, float y_min, float y_max, float z_min, float z_max) :
xyz_minmax{ x_min, x_max, y_min, y_max, z_min, z_max } {
}
BoundingBox() {
BoundingBox(FLT_MAX, FLT_MIN, FLT_MAX, FLT_MIN, FLT_MAX, FLT_MIN);
}
};
BoundingBox m_BoundingBox;
bool divide(const std::vector<T>& elements, Node<T>& newNode, std::vector<T>& left, std::vector<T>& right) const;
int getDivideIndex(const std::vector<T>& elements, typename Node<T>::AXIS axis) const;
void getBoundingBox(const std::vector<T>& elements, std::array<float, 3>& minX, std::array<float, 3>& maxX) const;
float getScore(const std::array<int, Num_Bin>& bin, int NumElement, float Length, float SliceArea, int dIndex, typename Node<T>::AXIS axis) const;
float getAverage(const std::vector<T>& elements, typename Node<T>::AXIS axis) const;
float getVariance(const std::vector<T>& elements, float average, typename Node<T>::AXIS axis) const;
const Node<T>* createTree_rec(const std::vector<T>& elements, const Node<T>* parent);
const Node<T>* getNearestRegion(const PTUtility::Vec3& point) const;
const Node<T>* getNearestRegion_rec(const PTUtility::Vec3& point, const Node<T>* parent) const;
void GetNearPointInRegion(const PTUtility::Vec3& point, PTUtility::Vec3& candidate, const Node<T>* node, BoundingBox& bb) const;
void NaiveSearch(const PTUtility::Vec3& point, PTUtility::Vec3& candidate, const Node<T>* node) const;
void expandBB(BoundingBox& bb, const PTUtility::Vec3& point) const;
bool isInterBB(const BoundingBox& bb, const PTUtility::Vec3& point, const PTUtility::Vec3& candidate) const;
bool isBBIncludesbb(const BoundingBox& BB, const BoundingBox& bb) const;
void getPointsInsideBox_rec(std::vector<T>& points, const PTUtility::Vec3& AABBmin, const PTUtility::Vec3& AABBmax, const Node<T>* node) const;
void exportTree_rec(const Node<T>* node, const Primitive::AABB& aabb, int depth, std::ofstream& file, int& offset) const;
static bool isIncludePoint(const PTUtility::Vec3& point, const PTUtility::Vec3& min, const PTUtility::Vec3& max) {
for (int i = 0; i < 3; ++i) {
if (min[i] > point[i]) {
return false;
}
if (max[i] < point[i]) {
return false;
}
}
return true;
}
static bool writeBox(std::ostream& ost, const Primitive::AABB& aabb, unsigned int indexoffset) {
const PTUtility::Vec3 center = 0.5f * (aabb.m_MinPos + aabb.m_MaxPos);
const PTUtility::Vec3 width = aabb.m_MaxPos - aabb.m_MinPos;
// write 8 vertices forming Cube object
constexpr int vlist[8][3] = {
{-1,-1, 1},
{-1, 1, 1},
{ 1, 1, 1},
{ 1,-1, 1},
{-1,-1,-1},
{-1, 1,-1},
{ 1, 1,-1},
{ 1,-1,-1}
};
for (int i = 0; i < 8; ++i) {
const PTUtility::Vec3 pos = center + 0.5 * width * PTUtility::Vec3(vlist[i][0], vlist[i][1], vlist[i][2]);
ost << "v " << pos.x() << " " << pos.y() << " " << pos.z() << std::endl;
}
// write index
ost << "f " << 1 + indexoffset << " " << 4 + indexoffset << " " << 3 + indexoffset << " " << indexoffset + 2 << std::endl;
ost << "f " << 1 + indexoffset << " " << 5 + indexoffset << " " << 8 + indexoffset << " " << indexoffset + 4 << std::endl;
ost << "f " << 2 + indexoffset << " " << 6 + indexoffset << " " << 5 + indexoffset << " " << indexoffset + 1 << std::endl;
ost << "f " << 3 + indexoffset << " " << 7 + indexoffset << " " << 6 + indexoffset << " " << indexoffset + 2 << std::endl;
ost << "f " << 4 + indexoffset << " " << 8 + indexoffset << " " << 7 + indexoffset << " " << indexoffset + 3 << std::endl;
ost << "f " << 6 + indexoffset << " " << 7 + indexoffset << " " << 8 + indexoffset << " " << indexoffset + 5 << std::endl;
return 0;
}
public:
int CreateTree(const std::vector<T>& points);
T GetNearestElement(const PTUtility::Vec3& point);
const T GetNearestElement(const PTUtility::Vec3& point) const;
int GetElementsInsideBox(std::vector<T>& points, const PTUtility::Vec3& AABBmin, const PTUtility::Vec3& AABBmax) const;
void ExportTree(const char* fileName, int MaxDepth) const;
kdtree();
virtual ~kdtree();
};
};
namespace tgraph {
template<typename T>
bool kdtree<T>::divide(const std::vector<T>& elements, Node<T> & newNode, std::vector<T>& left, std::vector<T>& right) const {
if (elements.size() == 0) {
return 0;
}
else if (elements.size() == 1) {
newNode.axis = Node<T>::AXIS::AX_X;
newNode.element = elements[0];
return 0;
}
float max_var = 0.0f;
float average[3] = {0,0,0};
typename Node<T>::AXIS max_axis = Node<T>::AXIS::AX_X;
for (int dim = 0; dim < 3; ++dim) {
average[dim] = getAverage(elements, (typename Node<T>::AXIS)dim);
float var = getVariance(elements, average[dim], (typename Node<T>::AXIS)dim);
if (var > max_var) {
max_var = var;
max_axis = (typename Node<T>::AXIS)dim;
}
}
newNode.axis = (typename Node<T>::AXIS)max_axis;
int axis = newNode.axis;
// elements are divided into right and left
if(0){
// divide point is calculated by sorting elements. It's really costly.
std::vector<T> elm = elements;
std::sort(elm.begin(), elm.end(), [&axis](const T & a, const T & b) { return a.Pos()[axis] < b.Pos()[axis]; });
float dividePos = (elm[0].Pos()[axis] + elm[elm.size() - 1].Pos()[axis]) / 2.0f;
int DividePoint = elm.size() / 2.0f;
for (int i = 1; i < elm.size(); ++i) {
if (elm[i - 1].Pos()[axis] < dividePos && elm[i].Pos()[axis] + 0.0001 >= dividePos) {
DividePoint = i;
break;
}
}
newNode.element = elm[DividePoint];
for (int i = 0; i < elm.size(); ++i) {
if (i == DividePoint) {
continue;
}
else if (i < DividePoint) {
left.push_back(elm[i]);
}
else {
right.push_back(elm[i]);
}
}
}
else {
// divide point is calculated by binning and SAH.
int divideIndex = getDivideIndex(elements, newNode.axis);
newNode.element = elements[divideIndex];
left.reserve(elements.size() / 2);
right.reserve(elements.size() / 2);
for (int i = 0; i < elements.size(); ++i) {
if (i == divideIndex) {
}
else if (elements[i].Pos()[axis] < newNode.element.Pos()[axis]) {
left.push_back(elements[i]);
}
else {
right.push_back(elements[i]);
}
}
}
return right.size() + left.size();
}
template<typename T>
void kdtree<T>::getBoundingBox(const std::vector<T>& elements, std::array<float, 3>& minX, std::array<float, 3>& maxX) const {
minX = std::array<float, 3>{ 1e10, 1e10, 1e10 };
maxX = std::array<float, 3>{ -1e10 ,-1e10 ,-1e10 };
for (const auto& e : elements) {
for (int i = 0; i < 3; ++i) {
if (minX[i] > e.Pos()[i]) {
minX[i] = e.Pos()[i];
}
if (maxX[i] < e.Pos()[i]) {
maxX[i] = e.Pos()[i];
}
}
}
}
template<typename T>
float kdtree<T>::getScore(const std::array<int, Num_Bin>& bin, int NumElement, float Length, float SliceArea, int dIndex, typename Node<T>::AXIS axis) const {
int N_left = 0;
float D_left = 0.0f;
{
int i0 = 0;
for (i0 = 0; i0 <= dIndex && bin[i0] == 0; ++i0);
int i1 = 0;
for (i1 = dIndex; i1 >= 0 && bin[i1] == 0; --i1);
for (int i = i0; i < i1; ++i) {
N_left += bin[i];
}
D_left = (i1 - i0 + 1) * Length / (float)Num_Bin;
}
int N_right = 0;
float D_right = 0.0f;
{
int i0 = 0;
for (i0 = dIndex + 1; i0 < Num_Bin && bin[i0] == 0; ++i0);
int i1 = 0;
for (i1 = Num_Bin - 1; i1 > dIndex && bin[i1] == 0; --i1);
for (int i = i0; i < i1; ++i) {
N_right += bin[i];
}
D_right = (i1 - i0 + 1) * Length / (float)Num_Bin;
}
if (N_left <= 1 && dIndex == 0) {
return 1e10;
}
if (N_right <= 1 && dIndex == Num_Bin - 1) {
return 1e10;
}
return (D_left / ((float)N_left + 0.01f) + D_right / ((float)N_right + 0.01f)) * SliceArea / (float)NumElement;
}
template<typename T>
int kdtree<T>::getDivideIndex(const std::vector<T>& elements, typename Node<T>::AXIS axis) const {
const int N = elements.size();
if (N <= 2) {
return 0;
}
std::array<float, 3> minX, maxX;
getBoundingBox(elements, minX, maxX);
const float rangeMin = minX[axis];
const float rangeMax = maxX[axis];
const float D = (rangeMax - rangeMin) / (float)Num_Bin;
const float S = (maxX[(axis + 1) % 3] - minX[(axis + 1) % 3]) * (maxX[(axis + 2) % 3] - minX[(axis + 2) % 3]);
std::array<int, Num_Bin> Bin{};
std::array<int, Num_Bin> Ptr{};
for (int i = 0; i < elements.size(); ++i) {
int index = std::max(0, std::min(Num_Bin - 1, int((elements[i].Pos()[axis] - rangeMin) / D)));
Bin[index]++;
m_indexBin[index][++Ptr[index]] = i;
}
float minScore = FLT_MAX;
int divideBinIndex = 0;
for (int i = 0; i < Num_Bin; ++i) {
float score = getScore(Bin, elements.size(), rangeMax - rangeMin, S, i, axis);
if (score < minScore) {
minScore = score;
divideBinIndex = i;
}
}
return m_indexBin[divideBinIndex][Bin[divideBinIndex] * m_MT.genrand64_real2()];
}
template<typename T>
float kdtree<T>::getAverage(const std::vector<T>& elements, typename Node<T>::AXIS axis) const {
if (elements.size() == 0) { return 0; }
float x = 0.0f;
for (const auto& e : elements) {
x += e.Pos()[axis];
}
return x / float(elements.size());
}
template<typename T>
float kdtree<T>::getVariance(const std::vector<T>& elements, float average, typename Node<T>::AXIS axis) const {
if (elements.size() == 0) {
return 0;
}
float result = 0.0f;
for (const auto& e : elements) {
result += std::pow(e.Pos()[axis] - average, 2.0f);
}
return result / float(elements.size());
}
template<typename T>
const Node<T>* kdtree<T>::createTree_rec(const std::vector<T>& elements, const Node<T>* parent) {
if (elements.size() == 0) {
return nullptr;
}
Node<T>& node = m_Nodes[m_NumNode++];
node.parent = parent;
std::vector<T> *right, *left;
right = new std::vector<T>;
left = new std::vector<T>;
bool res = divide(elements, node, *left, *right);
node.children[0] = createTree_rec(*left, &node);
delete left;
node.children[1] = createTree_rec(*right, &node);
delete right;
return &node;
}
template<typename T>
const Node<T>* kdtree<T>::getNearestRegion(const PTUtility::Vec3 & point) const {
return getNearestRegion_rec(point, &m_Nodes[0]);
}
template<typename T>
const Node<T>* kdtree<T>::getNearestRegion_rec(const PTUtility::Vec3 & point, const Node<T>* parent) const {
const Node<T>* next = (parent->element.Pos()[parent->axis] > point[parent->axis] ? parent->children[0] : parent->children[1]);
if (next) {
return getNearestRegion_rec(point, next);
}
else {
return parent;
}
}
template<typename T>
void kdtree<T>::GetNearPointInRegion(const PTUtility::Vec3 & point, PTUtility::Vec3& candidate, const Node<T>* node, BoundingBox& bb) const {
if (!node) { return; }
if (point[node->axis] > node->element.Pos()[node->axis]) {
if (bb.xyz_minmax[node->axis * 2] > node->element.Pos()[node->axis]) {
bb.xyz_minmax[node->axis * 2] = node->element.Pos()[node->axis];
}
}
else {
if (bb.xyz_minmax[node->axis * 2 + 1] < node->element.Pos()[node->axis]) {
bb.xyz_minmax[node->axis * 2 + 1] = node->element.Pos()[node->axis];
}
}
if ((node->element.Pos() - point).norm2() < (candidate - point).norm2()) {
candidate = node->element.Pos();
}
float dist = (candidate - point).norm();
if (node->element.Pos()[node->axis] < point[node->axis] + dist) {
// search left node
NaiveSearch(point, candidate, node->children[1]);
}
if (node->element.Pos()[node->axis] > point[node->axis] - dist) {
// search right node
NaiveSearch(point, candidate, node->children[0]);
}
}
template<typename T>
int kdtree<T>::CreateTree(const std::vector<T>& elements) {
m_Nodes.resize(elements.size() + 100);
m_indexBin = std::vector<std::vector<int>>(Num_Bin, std::vector<int>(elements.size(), 0));
m_NumNode = 0;
RootNode = createTree_rec(elements, nullptr);
for (const auto& e : elements) {
expandBB(m_BoundingBox, e.Pos());
}
return 0;
}
template<typename T>
T kdtree<T>::GetNearestElement(const PTUtility::Vec3& point) {
const Node<T>* node = getNearestRegion(point);
T candidate = node->element;
BoundingBox bb(point[0], point[0], point[1], point[1], point[2], point[2]);
GetNearPointInRegion(point, candidate.Pos(), node->children[0], bb);
GetNearPointInRegion(point, candidate.Pos(), node->children[1], bb);
while (node->parent && !isInterBB(bb, point, candidate.Pos())) {
const Node<T>* parent = node->parent;
candidate = (point - candidate.Pos()).norm2() < (point - parent->element.Pos()).norm2() ? candidate : parent->element;
GetNearPointInRegion(point, candidate.Pos(), parent->children[point[parent->axis] < parent->element.Pos()[parent->axis]], bb);
node = node->parent;
}
return candidate;
}
template<typename T>
const T kdtree<T>::GetNearestElement(const PTUtility::Vec3& point) const {
return GetNearestElement(point);
}
template<typename T>
int kdtree<T>::GetElementsInsideBox(std::vector<T> & points, const PTUtility::Vec3& AABBmin, const PTUtility::Vec3& AABBmax) const {
getPointsInsideBox_rec(points, AABBmin, AABBmax, &m_Nodes[0]);
return points.size();
}
template<typename T>
void kdtree<T>::getPointsInsideBox_rec(std::vector<T>& points, const PTUtility::Vec3& AABBmin, const PTUtility::Vec3& AABBmax, const Node<T>* node) const {
const int axis = node->axis;
const PTUtility::Vec3& pos = node->element.Pos();
if (isIncludePoint(pos, AABBmin, AABBmax)) {
points.push_back(node->element);
}
if (node->children[1]) {
if (pos[axis] < AABBmax[axis]) {
getPointsInsideBox_rec(points, AABBmin, AABBmax, node->children[1]);
}
}
if (node->children[0]) {
if (pos[axis] > AABBmin[axis]) {
getPointsInsideBox_rec(points, AABBmin, AABBmax, node->children[0]);
}
}
}
template<typename T>
void kdtree<T>::NaiveSearch(const PTUtility::Vec3& point, PTUtility::Vec3& candidate, const Node<T>* node) const {
if (!node) {
return;
}
candidate = (point - candidate).norm2() < (point - node->element.Pos()).norm2() ? candidate : node->element.Pos();
float dist = (point - candidate).norm();
if (node->element.Pos()[node->axis] < point[node->axis] + dist) {
// search left node
NaiveSearch(point, candidate, node->children[1]);
}
if (node->element.Pos()[node->axis] > point[node->axis] - dist) {
// search right node
NaiveSearch(point, candidate, node->children[0]);
}
}
template<typename T>
void kdtree<T>::expandBB(BoundingBox & bb, const PTUtility::Vec3 & point) const {
for (int i = 0; i < 3; ++i) {
if (bb.xyz_minmax[i * 2] > point[i]) {
bb.xyz_minmax[i * 2] = point[i];
}
if (bb.xyz_minmax[i * 2 + 1] < point[i]) {
bb.xyz_minmax[i * 2 + 1] = point[i];
}
}
}
template<typename T>
bool kdtree<T>::isInterBB(const BoundingBox& bb, const PTUtility::Vec3 & point, const PTUtility::Vec3 & candidate) const {
float dist = (point - candidate).norm();
for (int i = 0; i < 3; ++i) {
if (bb.xyz_minmax[i * 2] > point[i] - dist) {
return false;
}
if (bb.xyz_minmax[i * 2 + 1] < point[i] + dist) {
return false;
}
}
return true;
}
template<typename T>
bool kdtree<T>::isBBIncludesbb(const BoundingBox& BB, const BoundingBox& bb) const {
for (int i = 0; i < 3; ++i) {
if (bb.xyz_minmax[i * 2] > BB.xyz_minmax[i * 2]) {
return false;
}
if (bb.xyz_minmax[i * 2 + 1] < BB.xyz_minmax[i * 2 + 1]) {
return false;
}
}
return true;
}
template<typename T>
void kdtree<T>::exportTree_rec(const Node<T>* node, const Primitive::AABB& aabb, int depth, std::ofstream& file, int& offset) const {
if (!node) { return; }
if (depth <= 0) { return; }
const T& e = node->element;
Primitive::AABB left, right; left = right = aabb;
left.m_MaxPos[node->axis] = e.Pos()[node->axis];
right.m_MinPos[node->axis] = e.Pos()[node->axis];
writeBox(file, left, offset); offset += 8;
writeBox(file, right, offset); offset += 8;
exportTree_rec(node->children[0], left, depth - 1, file, offset);
exportTree_rec(node->children[1], right, depth - 1, file, offset);
}
template<typename T>
void kdtree<T>:: ExportTree(const char* fileName, int MaxDepth) const {
std::ofstream file(fileName);
Primitive::AABB aabb(
PTUtility::Vec3(m_BoundingBox.xyz_minmax[0], m_BoundingBox.xyz_minmax[2], m_BoundingBox.xyz_minmax[4]),
PTUtility::Vec3(m_BoundingBox.xyz_minmax[1], m_BoundingBox.xyz_minmax[3], m_BoundingBox.xyz_minmax[5])
);
int count = 0;
writeBox(file, aabb, count); count += 8;
exportTree_rec(&m_Nodes[0], aabb, MaxDepth, file, count);
file.close();
return;
}
template<typename T>
kdtree<T>::kdtree() {
}
template<typename T>
kdtree<T>::~kdtree() {
}
};
| [
"***@***.com"
] | ***@***.com |
92f06ce587cd12e64ddbcebaa4f123f5c4ebf660 | 40225ccd8ea5c06723a913faac24e228230a5d1c | /1087 - Diablo.cpp | 63503b7206d072986532cb25cbd9ce4b1d6c1d8a | [] | no_license | maruf-rahad/lightoj | ca6f11903435362128bb150dbaeddab742c14ac0 | 9d23b249f76b886c09ac9d89372e9ea62263d1dd | refs/heads/master | 2023-01-13T13:07:53.160513 | 2020-11-17T18:01:07 | 2020-11-17T18:01:07 | 292,589,769 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | #include<bits/stdc++.h>
using namespace std;
#define mx 200000
int ara[mx];
struct node{
int capacity;
int ase;
int val;
};
node tree[mx*4];
void zero(int n)
{
int i;
for(i=0;i<=n;i++)
{
ara[n] = 0;
}
for(i=0;i<=n*4;i++)
{
tree[i].capacity = 0;
tree[i].ase = 0;
tree[i].val = 0;
}
}
void build(int node,int b,int e)
{
if(b==e)
{
tree[node].val = ara[b];
if(ara[b]!=0)
{
tree[node].capacity = 1;
tree[node].ase = 1;
}
return ;
}
int left = node*2;
int right = node*2+1;
int mid = (b+e)/2;
build(left,b,mid);
build(right,mid+1,e);
tree[node].ase = tree[left].ase+tree[right].ase;
tree[node].capacity = e-b+1;
}
int main()
{
int t,n,m,a,b,i,j,x,y,sum;
scanf("%d",&t);
while(t--)
{
scanf("%d %d",&n,&m);
zero(n+m+10);
for(i=1;i<=n;i++)
{
scanf("%d",&ara[i]);
}
build(1,1,n+m+5);
for(i=1;i<=30;i++)
{
printf("%d %d %d\n",i,tree[i].capacity,tree[i].ase);
}
}
return 0;
}
| [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.