blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
774d157ec40d72df11f978c169428b077630df8f | ff0a1bc5822dc6de815ed2d76255897036441558 | /utag/app/src/MiscHeaders.h | f92aab2f3f7c946c60125977d665ca3fae48784b | [
"MIT"
] | permissive | ronald112/utag | cde8881cc037e1c1ffa1aadb688e5e64c44eb4cd | 277af8cec0a2f429a76f52e322d423e3c5af595a | refs/heads/master | 2023-01-21T12:44:09.556785 | 2020-12-04T14:11:49 | 2020-12-04T14:11:49 | 295,969,378 | 2 | 1 | MIT | 2020-12-04T14:11:50 | 2020-09-16T08:20:37 | C++ | UTF-8 | C++ | false | false | 653 | h | #pragma once
#include <vector>
#include <iostream>
#include <iomanip>
#include <stdio.h>
#include <regex>
#include <string>
#include <map>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
// TAGLIB
#include <tag.h>
#include <fileref.h>
#include <tpropertymap.h>
#include <tlist.h>
#include <tfile.h>
// More for Taglib
#include <id3v2/id3v2tag.h>
#include <id3v2/frames/attachedpictureframe.h>
#include <apefile.h>
#include <apetag.h>
#include <asffile.h>
#include <flacfile.h>
#include <mpcfile.h>
#include <mp4file.h>
#include <mpegfile.h>
#include <taglib.h>
#include <tstring.h>
#include <wavpackfile.h>
#include <mp4coverart.h>
| [
"ronald11211@gmail.com"
] | ronald11211@gmail.com |
406a7b815d34ab36bc9a90d274964bd62f370caa | e4d1719d4aa563dd2a03a2dc2b2916b2cb6c7fec | /src/base58.h | 2fd2a0af0233904e91d69a1328752f81b1eb2813 | [
"MIT"
] | permissive | emoneypower/emoneypower-master | 27a2cc1c6dbe5fa6282cfcbf55a482d53d20e1c1 | 3399bbce15837e18d54285ef3669bb0aaeac165a | refs/heads/master | 2021-01-25T11:33:05.623216 | 2017-06-10T10:11:59 | 2017-06-10T10:11:59 | 93,931,378 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,068 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of standard base-64 encoding?
// - Don't want 0OIl characters that look the same in some fonts and
// could be used to create visually identical looking account numbers.
// - A string with non-alphanumeric characters is not as easily accepted as an account number.
// - E-mail usually won't line-break if there's no punctuation to break at.
// - Double-clicking selects the whole number as one word if it's all alphanumeric.
//
#ifndef BITCOIN_BASE58_H
#define BITCOIN_BASE58_H
#include <string>
#include <vector>
#include "bignum.h"
#include "key.h"
#include "script.h"
static const char* pszBase58 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
// Encode a byte sequence as a base58-encoded string
inline std::string EncodeBase58(const unsigned char* pbegin, const unsigned char* pend)
{
CAutoBN_CTX pctx;
CBigNum bn58 = 58;
CBigNum bn0 = 0;
// Convert big endian data to little endian
// Extra zero at the end make sure bignum will interpret as a positive number
std::vector<unsigned char> vchTmp(pend-pbegin+1, 0);
reverse_copy(pbegin, pend, vchTmp.begin());
// Convert little endian data to bignum
CBigNum bn;
bn.setvch(vchTmp);
// Convert bignum to std::string
std::string str;
// Expected size increase from base58 conversion is approximately 137%
// use 138% to be safe
str.reserve((pend - pbegin) * 138 / 100 + 1);
CBigNum dv;
CBigNum rem;
while (bn > bn0)
{
if (!BN_div(&dv, &rem, &bn, &bn58, pctx))
throw bignum_error("EncodeBase58 : BN_div failed");
bn = dv;
unsigned int c = rem.getulong();
str += pszBase58[c];
}
// Leading zeroes encoded as base58 zeros
for (const unsigned char* p = pbegin; p < pend && *p == 0; p++)
str += pszBase58[0];
// Convert little endian std::string to big endian
reverse(str.begin(), str.end());
return str;
}
// Encode a byte vector as a base58-encoded string
inline std::string EncodeBase58(const std::vector<unsigned char>& vch)
{
return EncodeBase58(&vch[0], &vch[0] + vch.size());
}
// Decode a base58-encoded string psz into byte vector vchRet
// returns true if decoding is successful
inline bool DecodeBase58(const char* psz, std::vector<unsigned char>& vchRet)
{
CAutoBN_CTX pctx;
vchRet.clear();
CBigNum bn58 = 58;
CBigNum bn = 0;
CBigNum bnChar;
while (isspace(*psz))
psz++;
// Convert big endian string to bignum
for (const char* p = psz; *p; p++)
{
const char* p1 = strchr(pszBase58, *p);
if (p1 == NULL)
{
while (isspace(*p))
p++;
if (*p != '\0')
return false;
break;
}
bnChar.setulong(p1 - pszBase58);
if (!BN_mul(&bn, &bn, &bn58, pctx))
throw bignum_error("DecodeBase58 : BN_mul failed");
bn += bnChar;
}
// Get bignum as little endian data
std::vector<unsigned char> vchTmp = bn.getvch();
// Trim off sign byte if present
if (vchTmp.size() >= 2 && vchTmp.end()[-1] == 0 && vchTmp.end()[-2] >= 0x80)
vchTmp.erase(vchTmp.end()-1);
// Restore leading zeros
int nLeadingZeros = 0;
for (const char* p = psz; *p == pszBase58[0]; p++)
nLeadingZeros++;
vchRet.assign(nLeadingZeros + vchTmp.size(), 0);
// Convert little endian data to big endian
reverse_copy(vchTmp.begin(), vchTmp.end(), vchRet.end() - vchTmp.size());
return true;
}
// Decode a base58-encoded string str into byte vector vchRet
// returns true if decoding is successful
inline bool DecodeBase58(const std::string& str, std::vector<unsigned char>& vchRet)
{
return DecodeBase58(str.c_str(), vchRet);
}
// Encode a byte vector to a base58-encoded string, including checksum
inline std::string EncodeBase58Check(const std::vector<unsigned char>& vchIn)
{
// add 4-byte hash check to the end
std::vector<unsigned char> vch(vchIn);
uint256 hash = Hash(vch.begin(), vch.end());
vch.insert(vch.end(), (unsigned char*)&hash, (unsigned char*)&hash + 4);
return EncodeBase58(vch);
}
// Decode a base58-encoded string psz that includes a checksum, into byte vector vchRet
// returns true if decoding is successful
inline bool DecodeBase58Check(const char* psz, std::vector<unsigned char>& vchRet)
{
if (!DecodeBase58(psz, vchRet))
return false;
if (vchRet.size() < 4)
{
vchRet.clear();
return false;
}
uint256 hash = Hash(vchRet.begin(), vchRet.end()-4);
if (memcmp(&hash, &vchRet.end()[-4], 4) != 0)
{
vchRet.clear();
return false;
}
vchRet.resize(vchRet.size()-4);
return true;
}
// Decode a base58-encoded string str that includes a checksum, into byte vector vchRet
// returns true if decoding is successful
inline bool DecodeBase58Check(const std::string& str, std::vector<unsigned char>& vchRet)
{
return DecodeBase58Check(str.c_str(), vchRet);
}
/** Base class for all base58-encoded data */
class CBase58Data
{
protected:
// the version byte
unsigned char nVersion;
// the actually encoded data
std::vector<unsigned char> vchData;
CBase58Data()
{
nVersion = 0;
vchData.clear();
}
~CBase58Data()
{
// zero the memory, as it may contain sensitive data
if (!vchData.empty())
memset(&vchData[0], 0, vchData.size());
}
void SetData(int nVersionIn, const void* pdata, size_t nSize)
{
nVersion = nVersionIn;
vchData.resize(nSize);
if (!vchData.empty())
memcpy(&vchData[0], pdata, nSize);
}
void SetData(int nVersionIn, const unsigned char *pbegin, const unsigned char *pend)
{
SetData(nVersionIn, (void*)pbegin, pend - pbegin);
}
public:
bool SetString(const char* psz)
{
std::vector<unsigned char> vchTemp;
DecodeBase58Check(psz, vchTemp);
if (vchTemp.empty())
{
vchData.clear();
nVersion = 0;
return false;
}
nVersion = vchTemp[0];
vchData.resize(vchTemp.size() - 1);
if (!vchData.empty())
memcpy(&vchData[0], &vchTemp[1], vchData.size());
memset(&vchTemp[0], 0, vchTemp.size());
return true;
}
bool SetString(const std::string& str)
{
return SetString(str.c_str());
}
std::string ToString() const
{
std::vector<unsigned char> vch(1, nVersion);
vch.insert(vch.end(), vchData.begin(), vchData.end());
return EncodeBase58Check(vch);
}
int CompareTo(const CBase58Data& b58) const
{
if (nVersion < b58.nVersion) return -1;
if (nVersion > b58.nVersion) return 1;
if (vchData < b58.vchData) return -1;
if (vchData > b58.vchData) return 1;
return 0;
}
bool operator==(const CBase58Data& b58) const { return CompareTo(b58) == 0; }
bool operator<=(const CBase58Data& b58) const { return CompareTo(b58) <= 0; }
bool operator>=(const CBase58Data& b58) const { return CompareTo(b58) >= 0; }
bool operator< (const CBase58Data& b58) const { return CompareTo(b58) < 0; }
bool operator> (const CBase58Data& b58) const { return CompareTo(b58) > 0; }
};
/** base58-encoded addresses.
* Public-key-hash-addresses have version 25 (or 111 testnet).
* The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key.
* Script-hash-addresses have version 85 (or 196 testnet).
* The data vector contains RIPEMD160(SHA256(cscript)), where cscript is the serialized redemption script.
*/
class CBitcoinAddress;
class CBitcoinAddressVisitor : public boost::static_visitor<bool>
{
private:
CBitcoinAddress *addr;
public:
CBitcoinAddressVisitor(CBitcoinAddress *addrIn) : addr(addrIn) { }
bool operator()(const CKeyID &id) const;
bool operator()(const CScriptID &id) const;
bool operator()(const CNoDestination &no) const;
};
class CBitcoinAddress : public CBase58Data
{
public:
enum
{
PUBKEY_ADDRESS = 33,
SCRIPT_ADDRESS = 101,
PUBKEY_ADDRESS_TEST = 11,
SCRIPT_ADDRESS_TEST = 116,
};
bool Set(const CKeyID &id) {
SetData(fTestNet ? PUBKEY_ADDRESS_TEST : PUBKEY_ADDRESS, &id, 20);
return true;
}
bool Set(const CScriptID &id) {
SetData(fTestNet ? SCRIPT_ADDRESS_TEST : SCRIPT_ADDRESS, &id, 20);
return true;
}
bool Set(const CTxDestination &dest)
{
return boost::apply_visitor(CBitcoinAddressVisitor(this), dest);
}
bool IsValid() const
{
unsigned int nExpectedSize = 20;
bool fExpectTestNet = false;
switch(nVersion)
{
case PUBKEY_ADDRESS:
nExpectedSize = 20; // Hash of public key
fExpectTestNet = false;
break;
case SCRIPT_ADDRESS:
nExpectedSize = 20; // Hash of CScript
fExpectTestNet = false;
break;
case PUBKEY_ADDRESS_TEST:
nExpectedSize = 20;
fExpectTestNet = true;
break;
case SCRIPT_ADDRESS_TEST:
nExpectedSize = 20;
fExpectTestNet = true;
break;
default:
return false;
}
return fExpectTestNet == fTestNet && vchData.size() == nExpectedSize;
}
CBitcoinAddress()
{
}
CBitcoinAddress(const CTxDestination &dest)
{
Set(dest);
}
CBitcoinAddress(const std::string& strAddress)
{
SetString(strAddress);
}
CBitcoinAddress(const char* pszAddress)
{
SetString(pszAddress);
}
CTxDestination Get() const {
if (!IsValid())
return CNoDestination();
switch (nVersion) {
case PUBKEY_ADDRESS:
case PUBKEY_ADDRESS_TEST: {
uint160 id;
memcpy(&id, &vchData[0], 20);
return CKeyID(id);
}
case SCRIPT_ADDRESS:
case SCRIPT_ADDRESS_TEST: {
uint160 id;
memcpy(&id, &vchData[0], 20);
return CScriptID(id);
}
}
return CNoDestination();
}
bool GetKeyID(CKeyID &keyID) const {
if (!IsValid())
return false;
switch (nVersion) {
case PUBKEY_ADDRESS:
case PUBKEY_ADDRESS_TEST: {
uint160 id;
memcpy(&id, &vchData[0], 20);
keyID = CKeyID(id);
return true;
}
default: return false;
}
}
bool IsScript() const {
if (!IsValid())
return false;
switch (nVersion) {
case SCRIPT_ADDRESS:
case SCRIPT_ADDRESS_TEST: {
return true;
}
default: return false;
}
}
};
bool inline CBitcoinAddressVisitor::operator()(const CKeyID &id) const { return addr->Set(id); }
bool inline CBitcoinAddressVisitor::operator()(const CScriptID &id) const { return addr->Set(id); }
bool inline CBitcoinAddressVisitor::operator()(const CNoDestination &id) const { return false; }
/** A base58-encoded secret key */
class CBitcoinSecret : public CBase58Data
{
public:
void SetSecret(const CSecret& vchSecret, bool fCompressed)
{
assert(vchSecret.size() == 32);
SetData(128 + (fTestNet ? CBitcoinAddress::PUBKEY_ADDRESS_TEST : CBitcoinAddress::PUBKEY_ADDRESS), &vchSecret[0], vchSecret.size());
if (fCompressed)
vchData.push_back(1);
}
CSecret GetSecret(bool &fCompressedOut)
{
CSecret vchSecret;
vchSecret.resize(32);
memcpy(&vchSecret[0], &vchData[0], 32);
fCompressedOut = vchData.size() == 33;
return vchSecret;
}
bool IsValid() const
{
bool fExpectTestNet = false;
switch(nVersion)
{
case (128 + CBitcoinAddress::PUBKEY_ADDRESS):
break;
case (128 + CBitcoinAddress::PUBKEY_ADDRESS_TEST):
fExpectTestNet = true;
break;
default:
return false;
}
return fExpectTestNet == fTestNet && (vchData.size() == 32 || (vchData.size() == 33 && vchData[32] == 1));
}
bool SetString(const char* pszSecret)
{
return CBase58Data::SetString(pszSecret) && IsValid();
}
bool SetString(const std::string& strSecret)
{
return SetString(strSecret.c_str());
}
CBitcoinSecret(const CSecret& vchSecret, bool fCompressed)
{
SetSecret(vchSecret, fCompressed);
}
CBitcoinSecret()
{
}
};
#endif
| [
"admin@coin.com"
] | admin@coin.com |
ff5b8ec2ea7e544341db56e298e4fc62566361e9 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/SB+dmb.ldla+polp.c.cbmc.cpp | 15cba5f5fd5259e5ea0de62ecc603c4bf52376f7 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 29,186 | cpp | // Global variabls:
// 0:vars:2
// 2:atom_0_X2_0:1
// 3:atom_1_X2_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
#define ADDRSIZE 4
#define LOCALADDRSIZE 2
#define NTHREAD 3
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) {
char ret = __get_rng();
ASSUME(ret >= from && ret <= to);
return ret;
}
char get_rng_th( char from, char to ) {
char ret = __get_rng();
ASSUME(ret >= from && ret <= to);
return ret;
}
int main(int argc, char **argv) {
// Declare arrays for intial value version in contexts
int local_mem[LOCALADDRSIZE];
// Dumping initializations
local_mem[0+0] = 0;
local_mem[1+0] = 0;
int cstart[NTHREAD];
int creturn[NTHREAD];
// declare arrays for contexts activity
int active[NCONTEXT];
int ctx_used[NCONTEXT];
// declare arrays for intial value version in contexts
int meminit_[ADDRSIZE*NCONTEXT];
#define meminit(x,k) meminit_[(x)*NCONTEXT+k]
int coinit_[ADDRSIZE*NCONTEXT];
#define coinit(x,k) coinit_[(x)*NCONTEXT+k]
int deltainit_[ADDRSIZE*NCONTEXT];
#define deltainit(x,k) deltainit_[(x)*NCONTEXT+k]
// declare arrays for running value version in contexts
int mem_[ADDRSIZE*NCONTEXT];
#define mem(x,k) mem_[(x)*NCONTEXT+k]
int co_[ADDRSIZE*NCONTEXT];
#define co(x,k) co_[(x)*NCONTEXT+k]
int delta_[ADDRSIZE*NCONTEXT];
#define delta(x,k) delta_[(x)*NCONTEXT+k]
// declare arrays for local buffer and observed writes
int buff_[NTHREAD*ADDRSIZE];
#define buff(x,k) buff_[(x)*ADDRSIZE+k]
int pw_[NTHREAD*ADDRSIZE];
#define pw(x,k) pw_[(x)*ADDRSIZE+k]
// declare arrays for context stamps
char cr_[NTHREAD*ADDRSIZE];
#define cr(x,k) cr_[(x)*ADDRSIZE+k]
char iw_[NTHREAD*ADDRSIZE];
#define iw(x,k) iw_[(x)*ADDRSIZE+k]
char cw_[NTHREAD*ADDRSIZE];
#define cw(x,k) cw_[(x)*ADDRSIZE+k]
char cx_[NTHREAD*ADDRSIZE];
#define cx(x,k) cx_[(x)*ADDRSIZE+k]
char is_[NTHREAD*ADDRSIZE];
#define is(x,k) is_[(x)*ADDRSIZE+k]
char cs_[NTHREAD*ADDRSIZE];
#define cs(x,k) cs_[(x)*ADDRSIZE+k]
char crmax_[NTHREAD*ADDRSIZE];
#define crmax(x,k) crmax_[(x)*ADDRSIZE+k]
char sforbid_[ADDRSIZE*NCONTEXT];
#define sforbid(x,k) sforbid_[(x)*NCONTEXT+k]
// declare arrays for synchronizations
int cl[NTHREAD];
int cdy[NTHREAD];
int cds[NTHREAD];
int cdl[NTHREAD];
int cisb[NTHREAD];
int caddr[NTHREAD];
int cctrl[NTHREAD];
__LOCALS__
buff(0,0) = 0;
pw(0,0) = 0;
cr(0,0) = 0;
iw(0,0) = 0;
cw(0,0) = 0;
cx(0,0) = 0;
is(0,0) = 0;
cs(0,0) = 0;
crmax(0,0) = 0;
buff(0,1) = 0;
pw(0,1) = 0;
cr(0,1) = 0;
iw(0,1) = 0;
cw(0,1) = 0;
cx(0,1) = 0;
is(0,1) = 0;
cs(0,1) = 0;
crmax(0,1) = 0;
buff(0,2) = 0;
pw(0,2) = 0;
cr(0,2) = 0;
iw(0,2) = 0;
cw(0,2) = 0;
cx(0,2) = 0;
is(0,2) = 0;
cs(0,2) = 0;
crmax(0,2) = 0;
buff(0,3) = 0;
pw(0,3) = 0;
cr(0,3) = 0;
iw(0,3) = 0;
cw(0,3) = 0;
cx(0,3) = 0;
is(0,3) = 0;
cs(0,3) = 0;
crmax(0,3) = 0;
cl[0] = 0;
cdy[0] = 0;
cds[0] = 0;
cdl[0] = 0;
cisb[0] = 0;
caddr[0] = 0;
cctrl[0] = 0;
cstart[0] = get_rng(0,NCONTEXT-1);
creturn[0] = get_rng(0,NCONTEXT-1);
buff(1,0) = 0;
pw(1,0) = 0;
cr(1,0) = 0;
iw(1,0) = 0;
cw(1,0) = 0;
cx(1,0) = 0;
is(1,0) = 0;
cs(1,0) = 0;
crmax(1,0) = 0;
buff(1,1) = 0;
pw(1,1) = 0;
cr(1,1) = 0;
iw(1,1) = 0;
cw(1,1) = 0;
cx(1,1) = 0;
is(1,1) = 0;
cs(1,1) = 0;
crmax(1,1) = 0;
buff(1,2) = 0;
pw(1,2) = 0;
cr(1,2) = 0;
iw(1,2) = 0;
cw(1,2) = 0;
cx(1,2) = 0;
is(1,2) = 0;
cs(1,2) = 0;
crmax(1,2) = 0;
buff(1,3) = 0;
pw(1,3) = 0;
cr(1,3) = 0;
iw(1,3) = 0;
cw(1,3) = 0;
cx(1,3) = 0;
is(1,3) = 0;
cs(1,3) = 0;
crmax(1,3) = 0;
cl[1] = 0;
cdy[1] = 0;
cds[1] = 0;
cdl[1] = 0;
cisb[1] = 0;
caddr[1] = 0;
cctrl[1] = 0;
cstart[1] = get_rng(0,NCONTEXT-1);
creturn[1] = get_rng(0,NCONTEXT-1);
buff(2,0) = 0;
pw(2,0) = 0;
cr(2,0) = 0;
iw(2,0) = 0;
cw(2,0) = 0;
cx(2,0) = 0;
is(2,0) = 0;
cs(2,0) = 0;
crmax(2,0) = 0;
buff(2,1) = 0;
pw(2,1) = 0;
cr(2,1) = 0;
iw(2,1) = 0;
cw(2,1) = 0;
cx(2,1) = 0;
is(2,1) = 0;
cs(2,1) = 0;
crmax(2,1) = 0;
buff(2,2) = 0;
pw(2,2) = 0;
cr(2,2) = 0;
iw(2,2) = 0;
cw(2,2) = 0;
cx(2,2) = 0;
is(2,2) = 0;
cs(2,2) = 0;
crmax(2,2) = 0;
buff(2,3) = 0;
pw(2,3) = 0;
cr(2,3) = 0;
iw(2,3) = 0;
cw(2,3) = 0;
cx(2,3) = 0;
is(2,3) = 0;
cs(2,3) = 0;
crmax(2,3) = 0;
cl[2] = 0;
cdy[2] = 0;
cds[2] = 0;
cdl[2] = 0;
cisb[2] = 0;
caddr[2] = 0;
cctrl[2] = 0;
cstart[2] = get_rng(0,NCONTEXT-1);
creturn[2] = get_rng(0,NCONTEXT-1);
// Dumping initializations
mem(0+0,0) = 0;
mem(0+1,0) = 0;
mem(2+0,0) = 0;
mem(3+0,0) = 0;
// Dumping context matching equalities
co(0,0) = 0;
delta(0,0) = -1;
mem(0,1) = meminit(0,1);
co(0,1) = coinit(0,1);
delta(0,1) = deltainit(0,1);
mem(0,2) = meminit(0,2);
co(0,2) = coinit(0,2);
delta(0,2) = deltainit(0,2);
mem(0,3) = meminit(0,3);
co(0,3) = coinit(0,3);
delta(0,3) = deltainit(0,3);
mem(0,4) = meminit(0,4);
co(0,4) = coinit(0,4);
delta(0,4) = deltainit(0,4);
co(1,0) = 0;
delta(1,0) = -1;
mem(1,1) = meminit(1,1);
co(1,1) = coinit(1,1);
delta(1,1) = deltainit(1,1);
mem(1,2) = meminit(1,2);
co(1,2) = coinit(1,2);
delta(1,2) = deltainit(1,2);
mem(1,3) = meminit(1,3);
co(1,3) = coinit(1,3);
delta(1,3) = deltainit(1,3);
mem(1,4) = meminit(1,4);
co(1,4) = coinit(1,4);
delta(1,4) = deltainit(1,4);
co(2,0) = 0;
delta(2,0) = -1;
mem(2,1) = meminit(2,1);
co(2,1) = coinit(2,1);
delta(2,1) = deltainit(2,1);
mem(2,2) = meminit(2,2);
co(2,2) = coinit(2,2);
delta(2,2) = deltainit(2,2);
mem(2,3) = meminit(2,3);
co(2,3) = coinit(2,3);
delta(2,3) = deltainit(2,3);
mem(2,4) = meminit(2,4);
co(2,4) = coinit(2,4);
delta(2,4) = deltainit(2,4);
co(3,0) = 0;
delta(3,0) = -1;
mem(3,1) = meminit(3,1);
co(3,1) = coinit(3,1);
delta(3,1) = deltainit(3,1);
mem(3,2) = meminit(3,2);
co(3,2) = coinit(3,2);
delta(3,2) = deltainit(3,2);
mem(3,3) = meminit(3,3);
co(3,3) = coinit(3,3);
delta(3,3) = deltainit(3,3);
mem(3,4) = meminit(3,4);
co(3,4) = coinit(3,4);
delta(3,4) = deltainit(3,4);
// Dumping thread 1
int ret_thread_1 = 0;
cdy[1] = get_rng(0,NCONTEXT-1);
ASSUME(cdy[1] >= cstart[1]);
T1BLOCK0:
// call void @llvm.dbg.value(metadata i8* %arg, metadata !36, metadata !DIExpression()), !dbg !47
// br label %label_1, !dbg !48
goto T1BLOCK1;
T1BLOCK1:
// call void @llvm.dbg.label(metadata !46), !dbg !49
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0), metadata !37, metadata !DIExpression()), !dbg !50
// call void @llvm.dbg.value(metadata i64 1, metadata !40, metadata !DIExpression()), !dbg !50
// store atomic i64 1, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0) release, align 8, !dbg !51
// ST: Guess
// : Release
iw(1,0) = get_rng(0,NCONTEXT-1);// 1 ASSIGN STIW _l20_c3
old_cw = cw(1,0);
cw(1,0) = get_rng(0,NCONTEXT-1);// 1 ASSIGN STCOM _l20_c3
// Check
ASSUME(active[iw(1,0)] == 1);
ASSUME(active[cw(1,0)] == 1);
ASSUME(sforbid(0,cw(1,0))== 0);
ASSUME(iw(1,0) >= 0);
ASSUME(iw(1,0) >= 0);
ASSUME(cw(1,0) >= iw(1,0));
ASSUME(cw(1,0) >= old_cw);
ASSUME(cw(1,0) >= cr(1,0));
ASSUME(cw(1,0) >= cl[1]);
ASSUME(cw(1,0) >= cisb[1]);
ASSUME(cw(1,0) >= cdy[1]);
ASSUME(cw(1,0) >= cdl[1]);
ASSUME(cw(1,0) >= cds[1]);
ASSUME(cw(1,0) >= cctrl[1]);
ASSUME(cw(1,0) >= caddr[1]);
ASSUME(cw(1,0) >= cr(1,0+0));
ASSUME(cw(1,0) >= cr(1,0+1));
ASSUME(cw(1,0) >= cr(1,2+0));
ASSUME(cw(1,0) >= cr(1,3+0));
ASSUME(cw(1,0) >= cw(1,0+0));
ASSUME(cw(1,0) >= cw(1,0+1));
ASSUME(cw(1,0) >= cw(1,2+0));
ASSUME(cw(1,0) >= cw(1,3+0));
// Update
caddr[1] = max(caddr[1],0);
buff(1,0) = 1;
mem(0,cw(1,0)) = 1;
co(0,cw(1,0))+=1;
delta(0,cw(1,0)) = -1;
is(1,0) = iw(1,0);
cs(1,0) = cw(1,0);
ASSUME(creturn[1] >= cw(1,0));
// call void (...) @dmbld(), !dbg !52
// dumbld: Guess
cdl[1] = get_rng(0,NCONTEXT-1);
// Check
ASSUME(cdl[1] >= cdy[1]);
ASSUME(cdl[1] >= cr(1,0+0));
ASSUME(cdl[1] >= cr(1,0+1));
ASSUME(cdl[1] >= cr(1,2+0));
ASSUME(cdl[1] >= cr(1,3+0));
ASSUME(creturn[1] >= cdl[1]);
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1), metadata !42, metadata !DIExpression()), !dbg !53
// %0 = load atomic i64, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1) acquire, align 8, !dbg !54
// LD: Guess
// : Acquire
old_cr = cr(1,0+1*1);
cr(1,0+1*1) = get_rng(0,NCONTEXT-1);// 1 ASSIGN LDCOM _l22_c15
// Check
ASSUME(active[cr(1,0+1*1)] == 1);
ASSUME(cr(1,0+1*1) >= iw(1,0+1*1));
ASSUME(cr(1,0+1*1) >= 0);
ASSUME(cr(1,0+1*1) >= cdy[1]);
ASSUME(cr(1,0+1*1) >= cisb[1]);
ASSUME(cr(1,0+1*1) >= cdl[1]);
ASSUME(cr(1,0+1*1) >= cl[1]);
ASSUME(cr(1,0+1*1) >= cx(1,0+1*1));
ASSUME(cr(1,0+1*1) >= cs(1,0+0));
ASSUME(cr(1,0+1*1) >= cs(1,0+1));
ASSUME(cr(1,0+1*1) >= cs(1,2+0));
ASSUME(cr(1,0+1*1) >= cs(1,3+0));
// Update
creg_r0 = cr(1,0+1*1);
crmax(1,0+1*1) = max(crmax(1,0+1*1),cr(1,0+1*1));
caddr[1] = max(caddr[1],0);
if(cr(1,0+1*1) < cw(1,0+1*1)) {
r0 = buff(1,0+1*1);
ASSUME((!(( (cw(1,0+1*1) < 1) && (1 < crmax(1,0+1*1)) )))||(sforbid(0+1*1,1)> 0));
ASSUME((!(( (cw(1,0+1*1) < 2) && (2 < crmax(1,0+1*1)) )))||(sforbid(0+1*1,2)> 0));
ASSUME((!(( (cw(1,0+1*1) < 3) && (3 < crmax(1,0+1*1)) )))||(sforbid(0+1*1,3)> 0));
ASSUME((!(( (cw(1,0+1*1) < 4) && (4 < crmax(1,0+1*1)) )))||(sforbid(0+1*1,4)> 0));
} else {
if(pw(1,0+1*1) != co(0+1*1,cr(1,0+1*1))) {
ASSUME(cr(1,0+1*1) >= old_cr);
}
pw(1,0+1*1) = co(0+1*1,cr(1,0+1*1));
r0 = mem(0+1*1,cr(1,0+1*1));
}
cl[1] = max(cl[1],cr(1,0+1*1));
ASSUME(creturn[1] >= cr(1,0+1*1));
// call void @llvm.dbg.value(metadata i64 %0, metadata !44, metadata !DIExpression()), !dbg !53
// %conv = trunc i64 %0 to i32, !dbg !55
// call void @llvm.dbg.value(metadata i32 %conv, metadata !41, metadata !DIExpression()), !dbg !47
// %cmp = icmp eq i32 %conv, 0, !dbg !56
creg__r0__0_ = max(0,creg_r0);
// %conv1 = zext i1 %cmp to i32, !dbg !56
// call void @llvm.dbg.value(metadata i32 %conv1, metadata !45, metadata !DIExpression()), !dbg !47
// store i32 %conv1, i32* @atom_0_X2_0, align 4, !dbg !57, !tbaa !58
// ST: Guess
iw(1,2) = get_rng(0,NCONTEXT-1);// 1 ASSIGN STIW _l24_c15
old_cw = cw(1,2);
cw(1,2) = get_rng(0,NCONTEXT-1);// 1 ASSIGN STCOM _l24_c15
// Check
ASSUME(active[iw(1,2)] == 1);
ASSUME(active[cw(1,2)] == 1);
ASSUME(sforbid(2,cw(1,2))== 0);
ASSUME(iw(1,2) >= creg__r0__0_);
ASSUME(iw(1,2) >= 0);
ASSUME(cw(1,2) >= iw(1,2));
ASSUME(cw(1,2) >= old_cw);
ASSUME(cw(1,2) >= cr(1,2));
ASSUME(cw(1,2) >= cl[1]);
ASSUME(cw(1,2) >= cisb[1]);
ASSUME(cw(1,2) >= cdy[1]);
ASSUME(cw(1,2) >= cdl[1]);
ASSUME(cw(1,2) >= cds[1]);
ASSUME(cw(1,2) >= cctrl[1]);
ASSUME(cw(1,2) >= caddr[1]);
// Update
caddr[1] = max(caddr[1],0);
buff(1,2) = (r0==0);
mem(2,cw(1,2)) = (r0==0);
co(2,cw(1,2))+=1;
delta(2,cw(1,2)) = -1;
ASSUME(creturn[1] >= cw(1,2));
// ret i8* null, !dbg !62
ret_thread_1 = (- 1);
goto T1BLOCK_END;
T1BLOCK_END:
// Dumping thread 2
int ret_thread_2 = 0;
cdy[2] = get_rng(0,NCONTEXT-1);
ASSUME(cdy[2] >= cstart[2]);
T2BLOCK0:
// call void @llvm.dbg.value(metadata i8* %arg, metadata !65, metadata !DIExpression()), !dbg !75
// br label %label_2, !dbg !48
goto T2BLOCK1;
T2BLOCK1:
// call void @llvm.dbg.label(metadata !74), !dbg !77
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1), metadata !66, metadata !DIExpression()), !dbg !78
// call void @llvm.dbg.value(metadata i64 1, metadata !68, metadata !DIExpression()), !dbg !78
// store atomic i64 1, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1) release, align 8, !dbg !51
// ST: Guess
// : Release
iw(2,0+1*1) = get_rng(0,NCONTEXT-1);// 2 ASSIGN STIW _l30_c3
old_cw = cw(2,0+1*1);
cw(2,0+1*1) = get_rng(0,NCONTEXT-1);// 2 ASSIGN STCOM _l30_c3
// Check
ASSUME(active[iw(2,0+1*1)] == 2);
ASSUME(active[cw(2,0+1*1)] == 2);
ASSUME(sforbid(0+1*1,cw(2,0+1*1))== 0);
ASSUME(iw(2,0+1*1) >= 0);
ASSUME(iw(2,0+1*1) >= 0);
ASSUME(cw(2,0+1*1) >= iw(2,0+1*1));
ASSUME(cw(2,0+1*1) >= old_cw);
ASSUME(cw(2,0+1*1) >= cr(2,0+1*1));
ASSUME(cw(2,0+1*1) >= cl[2]);
ASSUME(cw(2,0+1*1) >= cisb[2]);
ASSUME(cw(2,0+1*1) >= cdy[2]);
ASSUME(cw(2,0+1*1) >= cdl[2]);
ASSUME(cw(2,0+1*1) >= cds[2]);
ASSUME(cw(2,0+1*1) >= cctrl[2]);
ASSUME(cw(2,0+1*1) >= caddr[2]);
ASSUME(cw(2,0+1*1) >= cr(2,0+0));
ASSUME(cw(2,0+1*1) >= cr(2,0+1));
ASSUME(cw(2,0+1*1) >= cr(2,2+0));
ASSUME(cw(2,0+1*1) >= cr(2,3+0));
ASSUME(cw(2,0+1*1) >= cw(2,0+0));
ASSUME(cw(2,0+1*1) >= cw(2,0+1));
ASSUME(cw(2,0+1*1) >= cw(2,2+0));
ASSUME(cw(2,0+1*1) >= cw(2,3+0));
// Update
caddr[2] = max(caddr[2],0);
buff(2,0+1*1) = 1;
mem(0+1*1,cw(2,0+1*1)) = 1;
co(0+1*1,cw(2,0+1*1))+=1;
delta(0+1*1,cw(2,0+1*1)) = -1;
is(2,0+1*1) = iw(2,0+1*1);
cs(2,0+1*1) = cw(2,0+1*1);
ASSUME(creturn[2] >= cw(2,0+1*1));
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0), metadata !70, metadata !DIExpression()), !dbg !80
// %0 = load atomic i64, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0) monotonic, align 8, !dbg !53
// LD: Guess
old_cr = cr(2,0);
cr(2,0) = get_rng(0,NCONTEXT-1);// 2 ASSIGN LDCOM _l31_c15
// Check
ASSUME(active[cr(2,0)] == 2);
ASSUME(cr(2,0) >= iw(2,0));
ASSUME(cr(2,0) >= 0);
ASSUME(cr(2,0) >= cdy[2]);
ASSUME(cr(2,0) >= cisb[2]);
ASSUME(cr(2,0) >= cdl[2]);
ASSUME(cr(2,0) >= cl[2]);
// Update
creg_r1 = cr(2,0);
crmax(2,0) = max(crmax(2,0),cr(2,0));
caddr[2] = max(caddr[2],0);
if(cr(2,0) < cw(2,0)) {
r1 = buff(2,0);
ASSUME((!(( (cw(2,0) < 1) && (1 < crmax(2,0)) )))||(sforbid(0,1)> 0));
ASSUME((!(( (cw(2,0) < 2) && (2 < crmax(2,0)) )))||(sforbid(0,2)> 0));
ASSUME((!(( (cw(2,0) < 3) && (3 < crmax(2,0)) )))||(sforbid(0,3)> 0));
ASSUME((!(( (cw(2,0) < 4) && (4 < crmax(2,0)) )))||(sforbid(0,4)> 0));
} else {
if(pw(2,0) != co(0,cr(2,0))) {
ASSUME(cr(2,0) >= old_cr);
}
pw(2,0) = co(0,cr(2,0));
r1 = mem(0,cr(2,0));
}
ASSUME(creturn[2] >= cr(2,0));
// call void @llvm.dbg.value(metadata i64 %0, metadata !72, metadata !DIExpression()), !dbg !80
// %conv = trunc i64 %0 to i32, !dbg !54
// call void @llvm.dbg.value(metadata i32 %conv, metadata !69, metadata !DIExpression()), !dbg !75
// %cmp = icmp eq i32 %conv, 0, !dbg !55
creg__r1__0_ = max(0,creg_r1);
// %conv1 = zext i1 %cmp to i32, !dbg !55
// call void @llvm.dbg.value(metadata i32 %conv1, metadata !73, metadata !DIExpression()), !dbg !75
// store i32 %conv1, i32* @atom_1_X2_0, align 4, !dbg !56, !tbaa !57
// ST: Guess
iw(2,3) = get_rng(0,NCONTEXT-1);// 2 ASSIGN STIW _l33_c15
old_cw = cw(2,3);
cw(2,3) = get_rng(0,NCONTEXT-1);// 2 ASSIGN STCOM _l33_c15
// Check
ASSUME(active[iw(2,3)] == 2);
ASSUME(active[cw(2,3)] == 2);
ASSUME(sforbid(3,cw(2,3))== 0);
ASSUME(iw(2,3) >= creg__r1__0_);
ASSUME(iw(2,3) >= 0);
ASSUME(cw(2,3) >= iw(2,3));
ASSUME(cw(2,3) >= old_cw);
ASSUME(cw(2,3) >= cr(2,3));
ASSUME(cw(2,3) >= cl[2]);
ASSUME(cw(2,3) >= cisb[2]);
ASSUME(cw(2,3) >= cdy[2]);
ASSUME(cw(2,3) >= cdl[2]);
ASSUME(cw(2,3) >= cds[2]);
ASSUME(cw(2,3) >= cctrl[2]);
ASSUME(cw(2,3) >= caddr[2]);
// Update
caddr[2] = max(caddr[2],0);
buff(2,3) = (r1==0);
mem(3,cw(2,3)) = (r1==0);
co(3,cw(2,3))+=1;
delta(3,cw(2,3)) = -1;
ASSUME(creturn[2] >= cw(2,3));
// ret i8* null, !dbg !61
ret_thread_2 = (- 1);
goto T2BLOCK_END;
T2BLOCK_END:
// Dumping thread 0
int ret_thread_0 = 0;
cdy[0] = get_rng(0,NCONTEXT-1);
ASSUME(cdy[0] >= cstart[0]);
T0BLOCK0:
// %thr0 = alloca i64, align 8
// %thr1 = alloca i64, align 8
// call void @llvm.dbg.value(metadata i32 %argc, metadata !93, metadata !DIExpression()), !dbg !109
// call void @llvm.dbg.value(metadata i8** %argv, metadata !94, metadata !DIExpression()), !dbg !109
// %0 = bitcast i64* %thr0 to i8*, !dbg !57
// call void @llvm.lifetime.start.p0i8(i64 8, i8* %0) #7, !dbg !57
// call void @llvm.dbg.declare(metadata i64* %thr0, metadata !95, metadata !DIExpression()), !dbg !111
// %1 = bitcast i64* %thr1 to i8*, !dbg !59
// call void @llvm.lifetime.start.p0i8(i64 8, i8* %1) #7, !dbg !59
// call void @llvm.dbg.declare(metadata i64* %thr1, metadata !99, metadata !DIExpression()), !dbg !113
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1), metadata !100, metadata !DIExpression()), !dbg !114
// call void @llvm.dbg.value(metadata i64 0, metadata !102, metadata !DIExpression()), !dbg !114
// store atomic i64 0, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 1) monotonic, align 8, !dbg !62
// ST: Guess
iw(0,0+1*1) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STIW _l41_c3
old_cw = cw(0,0+1*1);
cw(0,0+1*1) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STCOM _l41_c3
// Check
ASSUME(active[iw(0,0+1*1)] == 0);
ASSUME(active[cw(0,0+1*1)] == 0);
ASSUME(sforbid(0+1*1,cw(0,0+1*1))== 0);
ASSUME(iw(0,0+1*1) >= 0);
ASSUME(iw(0,0+1*1) >= 0);
ASSUME(cw(0,0+1*1) >= iw(0,0+1*1));
ASSUME(cw(0,0+1*1) >= old_cw);
ASSUME(cw(0,0+1*1) >= cr(0,0+1*1));
ASSUME(cw(0,0+1*1) >= cl[0]);
ASSUME(cw(0,0+1*1) >= cisb[0]);
ASSUME(cw(0,0+1*1) >= cdy[0]);
ASSUME(cw(0,0+1*1) >= cdl[0]);
ASSUME(cw(0,0+1*1) >= cds[0]);
ASSUME(cw(0,0+1*1) >= cctrl[0]);
ASSUME(cw(0,0+1*1) >= caddr[0]);
// Update
caddr[0] = max(caddr[0],0);
buff(0,0+1*1) = 0;
mem(0+1*1,cw(0,0+1*1)) = 0;
co(0+1*1,cw(0,0+1*1))+=1;
delta(0+1*1,cw(0,0+1*1)) = -1;
ASSUME(creturn[0] >= cw(0,0+1*1));
// call void @llvm.dbg.value(metadata i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0), metadata !103, metadata !DIExpression()), !dbg !116
// call void @llvm.dbg.value(metadata i64 0, metadata !105, metadata !DIExpression()), !dbg !116
// store atomic i64 0, i64* getelementptr inbounds ([2 x i64], [2 x i64]* @vars, i64 0, i64 0) monotonic, align 8, !dbg !64
// ST: Guess
iw(0,0) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STIW _l42_c3
old_cw = cw(0,0);
cw(0,0) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STCOM _l42_c3
// Check
ASSUME(active[iw(0,0)] == 0);
ASSUME(active[cw(0,0)] == 0);
ASSUME(sforbid(0,cw(0,0))== 0);
ASSUME(iw(0,0) >= 0);
ASSUME(iw(0,0) >= 0);
ASSUME(cw(0,0) >= iw(0,0));
ASSUME(cw(0,0) >= old_cw);
ASSUME(cw(0,0) >= cr(0,0));
ASSUME(cw(0,0) >= cl[0]);
ASSUME(cw(0,0) >= cisb[0]);
ASSUME(cw(0,0) >= cdy[0]);
ASSUME(cw(0,0) >= cdl[0]);
ASSUME(cw(0,0) >= cds[0]);
ASSUME(cw(0,0) >= cctrl[0]);
ASSUME(cw(0,0) >= caddr[0]);
// Update
caddr[0] = max(caddr[0],0);
buff(0,0) = 0;
mem(0,cw(0,0)) = 0;
co(0,cw(0,0))+=1;
delta(0,cw(0,0)) = -1;
ASSUME(creturn[0] >= cw(0,0));
// store i32 0, i32* @atom_0_X2_0, align 4, !dbg !65, !tbaa !66
// ST: Guess
iw(0,2) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STIW _l43_c15
old_cw = cw(0,2);
cw(0,2) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STCOM _l43_c15
// Check
ASSUME(active[iw(0,2)] == 0);
ASSUME(active[cw(0,2)] == 0);
ASSUME(sforbid(2,cw(0,2))== 0);
ASSUME(iw(0,2) >= 0);
ASSUME(iw(0,2) >= 0);
ASSUME(cw(0,2) >= iw(0,2));
ASSUME(cw(0,2) >= old_cw);
ASSUME(cw(0,2) >= cr(0,2));
ASSUME(cw(0,2) >= cl[0]);
ASSUME(cw(0,2) >= cisb[0]);
ASSUME(cw(0,2) >= cdy[0]);
ASSUME(cw(0,2) >= cdl[0]);
ASSUME(cw(0,2) >= cds[0]);
ASSUME(cw(0,2) >= cctrl[0]);
ASSUME(cw(0,2) >= caddr[0]);
// Update
caddr[0] = max(caddr[0],0);
buff(0,2) = 0;
mem(2,cw(0,2)) = 0;
co(2,cw(0,2))+=1;
delta(2,cw(0,2)) = -1;
ASSUME(creturn[0] >= cw(0,2));
// store i32 0, i32* @atom_1_X2_0, align 4, !dbg !70, !tbaa !66
// ST: Guess
iw(0,3) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STIW _l44_c15
old_cw = cw(0,3);
cw(0,3) = get_rng(0,NCONTEXT-1);// 0 ASSIGN STCOM _l44_c15
// Check
ASSUME(active[iw(0,3)] == 0);
ASSUME(active[cw(0,3)] == 0);
ASSUME(sforbid(3,cw(0,3))== 0);
ASSUME(iw(0,3) >= 0);
ASSUME(iw(0,3) >= 0);
ASSUME(cw(0,3) >= iw(0,3));
ASSUME(cw(0,3) >= old_cw);
ASSUME(cw(0,3) >= cr(0,3));
ASSUME(cw(0,3) >= cl[0]);
ASSUME(cw(0,3) >= cisb[0]);
ASSUME(cw(0,3) >= cdy[0]);
ASSUME(cw(0,3) >= cdl[0]);
ASSUME(cw(0,3) >= cds[0]);
ASSUME(cw(0,3) >= cctrl[0]);
ASSUME(cw(0,3) >= caddr[0]);
// Update
caddr[0] = max(caddr[0],0);
buff(0,3) = 0;
mem(3,cw(0,3)) = 0;
co(3,cw(0,3))+=1;
delta(3,cw(0,3)) = -1;
ASSUME(creturn[0] >= cw(0,3));
// %call = call i32 @pthread_create(i64* noundef %thr0, %union.pthread_attr_t* noundef null, i8* (i8*)* noundef @t0, i8* noundef null) #7, !dbg !71
// dumbsy: Guess
old_cdy = cdy[0];
cdy[0] = get_rng(0,NCONTEXT-1);
// Check
ASSUME(cdy[0] >= old_cdy);
ASSUME(cdy[0] >= cisb[0]);
ASSUME(cdy[0] >= cdl[0]);
ASSUME(cdy[0] >= cds[0]);
ASSUME(cdy[0] >= cctrl[0]);
ASSUME(cdy[0] >= cw(0,0+0));
ASSUME(cdy[0] >= cw(0,0+1));
ASSUME(cdy[0] >= cw(0,2+0));
ASSUME(cdy[0] >= cw(0,3+0));
ASSUME(cdy[0] >= cr(0,0+0));
ASSUME(cdy[0] >= cr(0,0+1));
ASSUME(cdy[0] >= cr(0,2+0));
ASSUME(cdy[0] >= cr(0,3+0));
ASSUME(creturn[0] >= cdy[0]);
ASSUME(cstart[1] >= cdy[0]);
// %call3 = call i32 @pthread_create(i64* noundef %thr1, %union.pthread_attr_t* noundef null, i8* (i8*)* noundef @t1, i8* noundef null) #7, !dbg !72
// dumbsy: Guess
old_cdy = cdy[0];
cdy[0] = get_rng(0,NCONTEXT-1);
// Check
ASSUME(cdy[0] >= old_cdy);
ASSUME(cdy[0] >= cisb[0]);
ASSUME(cdy[0] >= cdl[0]);
ASSUME(cdy[0] >= cds[0]);
ASSUME(cdy[0] >= cctrl[0]);
ASSUME(cdy[0] >= cw(0,0+0));
ASSUME(cdy[0] >= cw(0,0+1));
ASSUME(cdy[0] >= cw(0,2+0));
ASSUME(cdy[0] >= cw(0,3+0));
ASSUME(cdy[0] >= cr(0,0+0));
ASSUME(cdy[0] >= cr(0,0+1));
ASSUME(cdy[0] >= cr(0,2+0));
ASSUME(cdy[0] >= cr(0,3+0));
ASSUME(creturn[0] >= cdy[0]);
ASSUME(cstart[2] >= cdy[0]);
// %2 = load i64, i64* %thr0, align 8, !dbg !73, !tbaa !74
r3 = local_mem[0];
// %call4 = call i32 @pthread_join(i64 noundef %2, i8** noundef null), !dbg !76
// dumbsy: Guess
old_cdy = cdy[0];
cdy[0] = get_rng(0,NCONTEXT-1);
// Check
ASSUME(cdy[0] >= old_cdy);
ASSUME(cdy[0] >= cisb[0]);
ASSUME(cdy[0] >= cdl[0]);
ASSUME(cdy[0] >= cds[0]);
ASSUME(cdy[0] >= cctrl[0]);
ASSUME(cdy[0] >= cw(0,0+0));
ASSUME(cdy[0] >= cw(0,0+1));
ASSUME(cdy[0] >= cw(0,2+0));
ASSUME(cdy[0] >= cw(0,3+0));
ASSUME(cdy[0] >= cr(0,0+0));
ASSUME(cdy[0] >= cr(0,0+1));
ASSUME(cdy[0] >= cr(0,2+0));
ASSUME(cdy[0] >= cr(0,3+0));
ASSUME(creturn[0] >= cdy[0]);
ASSUME(cdy[0] >= creturn[1]);
// %3 = load i64, i64* %thr1, align 8, !dbg !77, !tbaa !74
r4 = local_mem[1];
// %call5 = call i32 @pthread_join(i64 noundef %3, i8** noundef null), !dbg !78
// dumbsy: Guess
old_cdy = cdy[0];
cdy[0] = get_rng(0,NCONTEXT-1);
// Check
ASSUME(cdy[0] >= old_cdy);
ASSUME(cdy[0] >= cisb[0]);
ASSUME(cdy[0] >= cdl[0]);
ASSUME(cdy[0] >= cds[0]);
ASSUME(cdy[0] >= cctrl[0]);
ASSUME(cdy[0] >= cw(0,0+0));
ASSUME(cdy[0] >= cw(0,0+1));
ASSUME(cdy[0] >= cw(0,2+0));
ASSUME(cdy[0] >= cw(0,3+0));
ASSUME(cdy[0] >= cr(0,0+0));
ASSUME(cdy[0] >= cr(0,0+1));
ASSUME(cdy[0] >= cr(0,2+0));
ASSUME(cdy[0] >= cr(0,3+0));
ASSUME(creturn[0] >= cdy[0]);
ASSUME(cdy[0] >= creturn[2]);
// %4 = load i32, i32* @atom_0_X2_0, align 4, !dbg !79, !tbaa !66
// LD: Guess
old_cr = cr(0,2);
cr(0,2) = get_rng(0,NCONTEXT-1);// 0 ASSIGN LDCOM _l52_c12
// Check
ASSUME(active[cr(0,2)] == 0);
ASSUME(cr(0,2) >= iw(0,2));
ASSUME(cr(0,2) >= 0);
ASSUME(cr(0,2) >= cdy[0]);
ASSUME(cr(0,2) >= cisb[0]);
ASSUME(cr(0,2) >= cdl[0]);
ASSUME(cr(0,2) >= cl[0]);
// Update
creg_r5 = cr(0,2);
crmax(0,2) = max(crmax(0,2),cr(0,2));
caddr[0] = max(caddr[0],0);
if(cr(0,2) < cw(0,2)) {
r5 = buff(0,2);
ASSUME((!(( (cw(0,2) < 1) && (1 < crmax(0,2)) )))||(sforbid(2,1)> 0));
ASSUME((!(( (cw(0,2) < 2) && (2 < crmax(0,2)) )))||(sforbid(2,2)> 0));
ASSUME((!(( (cw(0,2) < 3) && (3 < crmax(0,2)) )))||(sforbid(2,3)> 0));
ASSUME((!(( (cw(0,2) < 4) && (4 < crmax(0,2)) )))||(sforbid(2,4)> 0));
} else {
if(pw(0,2) != co(2,cr(0,2))) {
ASSUME(cr(0,2) >= old_cr);
}
pw(0,2) = co(2,cr(0,2));
r5 = mem(2,cr(0,2));
}
ASSUME(creturn[0] >= cr(0,2));
// call void @llvm.dbg.value(metadata i32 %4, metadata !106, metadata !DIExpression()), !dbg !109
// %5 = load i32, i32* @atom_1_X2_0, align 4, !dbg !80, !tbaa !66
// LD: Guess
old_cr = cr(0,3);
cr(0,3) = get_rng(0,NCONTEXT-1);// 0 ASSIGN LDCOM _l53_c12
// Check
ASSUME(active[cr(0,3)] == 0);
ASSUME(cr(0,3) >= iw(0,3));
ASSUME(cr(0,3) >= 0);
ASSUME(cr(0,3) >= cdy[0]);
ASSUME(cr(0,3) >= cisb[0]);
ASSUME(cr(0,3) >= cdl[0]);
ASSUME(cr(0,3) >= cl[0]);
// Update
creg_r6 = cr(0,3);
crmax(0,3) = max(crmax(0,3),cr(0,3));
caddr[0] = max(caddr[0],0);
if(cr(0,3) < cw(0,3)) {
r6 = buff(0,3);
ASSUME((!(( (cw(0,3) < 1) && (1 < crmax(0,3)) )))||(sforbid(3,1)> 0));
ASSUME((!(( (cw(0,3) < 2) && (2 < crmax(0,3)) )))||(sforbid(3,2)> 0));
ASSUME((!(( (cw(0,3) < 3) && (3 < crmax(0,3)) )))||(sforbid(3,3)> 0));
ASSUME((!(( (cw(0,3) < 4) && (4 < crmax(0,3)) )))||(sforbid(3,4)> 0));
} else {
if(pw(0,3) != co(3,cr(0,3))) {
ASSUME(cr(0,3) >= old_cr);
}
pw(0,3) = co(3,cr(0,3));
r6 = mem(3,cr(0,3));
}
ASSUME(creturn[0] >= cr(0,3));
// call void @llvm.dbg.value(metadata i32 %5, metadata !107, metadata !DIExpression()), !dbg !109
// %and = and i32 %4, %5, !dbg !81
creg_r7 = max(creg_r5,creg_r6);
r7 = r5 & r6;
// call void @llvm.dbg.value(metadata i32 %and, metadata !108, metadata !DIExpression()), !dbg !109
// %cmp = icmp eq i32 %and, 1, !dbg !82
creg__r7__1_ = max(0,creg_r7);
// br i1 %cmp, label %if.then, label %if.end, !dbg !84
old_cctrl = cctrl[0];
cctrl[0] = get_rng(0,NCONTEXT-1);
ASSUME(cctrl[0] >= old_cctrl);
ASSUME(cctrl[0] >= creg__r7__1_);
if((r7==1)) {
goto T0BLOCK1;
} else {
goto T0BLOCK2;
}
T0BLOCK1:
// call void @__assert_fail(i8* noundef getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* noundef getelementptr inbounds ([101 x i8], [101 x i8]* @.str.1, i64 0, i64 0), i32 noundef 55, i8* noundef getelementptr inbounds ([23 x i8], [23 x i8]* @__PRETTY_FUNCTION__.main, i64 0, i64 0)) #8, !dbg !85
// unreachable, !dbg !85
r8 = 1;
goto T0BLOCK_END;
T0BLOCK2:
// %6 = bitcast i64* %thr1 to i8*, !dbg !88
// call void @llvm.lifetime.end.p0i8(i64 8, i8* %6) #7, !dbg !88
// %7 = bitcast i64* %thr0 to i8*, !dbg !88
// call void @llvm.lifetime.end.p0i8(i64 8, i8* %7) #7, !dbg !88
// ret i32 0, !dbg !89
ret_thread_0 = 0;
goto T0BLOCK_END;
T0BLOCK_END:
ASSUME(meminit(0,1) == mem(0,0));
ASSUME(coinit(0,1) == co(0,0));
ASSUME(deltainit(0,1) == delta(0,0));
ASSUME(meminit(0,2) == mem(0,1));
ASSUME(coinit(0,2) == co(0,1));
ASSUME(deltainit(0,2) == delta(0,1));
ASSUME(meminit(0,3) == mem(0,2));
ASSUME(coinit(0,3) == co(0,2));
ASSUME(deltainit(0,3) == delta(0,2));
ASSUME(meminit(0,4) == mem(0,3));
ASSUME(coinit(0,4) == co(0,3));
ASSUME(deltainit(0,4) == delta(0,3));
ASSUME(meminit(1,1) == mem(1,0));
ASSUME(coinit(1,1) == co(1,0));
ASSUME(deltainit(1,1) == delta(1,0));
ASSUME(meminit(1,2) == mem(1,1));
ASSUME(coinit(1,2) == co(1,1));
ASSUME(deltainit(1,2) == delta(1,1));
ASSUME(meminit(1,3) == mem(1,2));
ASSUME(coinit(1,3) == co(1,2));
ASSUME(deltainit(1,3) == delta(1,2));
ASSUME(meminit(1,4) == mem(1,3));
ASSUME(coinit(1,4) == co(1,3));
ASSUME(deltainit(1,4) == delta(1,3));
ASSUME(meminit(2,1) == mem(2,0));
ASSUME(coinit(2,1) == co(2,0));
ASSUME(deltainit(2,1) == delta(2,0));
ASSUME(meminit(2,2) == mem(2,1));
ASSUME(coinit(2,2) == co(2,1));
ASSUME(deltainit(2,2) == delta(2,1));
ASSUME(meminit(2,3) == mem(2,2));
ASSUME(coinit(2,3) == co(2,2));
ASSUME(deltainit(2,3) == delta(2,2));
ASSUME(meminit(2,4) == mem(2,3));
ASSUME(coinit(2,4) == co(2,3));
ASSUME(deltainit(2,4) == delta(2,3));
ASSUME(meminit(3,1) == mem(3,0));
ASSUME(coinit(3,1) == co(3,0));
ASSUME(deltainit(3,1) == delta(3,0));
ASSUME(meminit(3,2) == mem(3,1));
ASSUME(coinit(3,2) == co(3,1));
ASSUME(deltainit(3,2) == delta(3,1));
ASSUME(meminit(3,3) == mem(3,2));
ASSUME(coinit(3,3) == co(3,2));
ASSUME(deltainit(3,3) == delta(3,2));
ASSUME(meminit(3,4) == mem(3,3));
ASSUME(coinit(3,4) == co(3,3));
ASSUME(deltainit(3,4) == delta(3,3));
ASSERT(r8== 0);
}
| [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
6861961fd427e090f888fd86e42828f1c3557d2f | bc93833a9a2606dd051738dd06d6d17c18cbdcae | /3rdparty/opencv/sources/samples/cpp/letter_recog.cpp | 174e7f98399aa828cf01f9180d6cc2105d39d7b1 | [
"MIT",
"BSD-3-Clause"
] | permissive | Wizapply/OvrvisionPro | f0552626f22d6fe96824034310a4f08ab874b62e | 41680a1f9cfd617a9d33f1df9d9a91e8ffd4dc4b | refs/heads/master | 2021-11-11T02:37:23.840617 | 2021-05-06T03:00:48 | 2021-05-06T03:00:48 | 43,277,465 | 30 | 32 | NOASSERTION | 2019-12-25T14:07:27 | 2015-09-28T03:17:23 | C | UTF-8 | C++ | false | false | 18,297 | cpp | #include "opencv2/core/core.hpp"
#include "opencv2/ml/ml.hpp"
#include <cstdio>
#include <vector>
#include <iostream>
using namespace std;
using namespace cv;
using namespace cv::ml;
static void help()
{
printf("\nThe sample demonstrates how to train Random Trees classifier\n"
"(or Boosting classifier, or MLP, or Knearest, or Nbayes, or Support Vector Machines - see main()) using the provided dataset.\n"
"\n"
"We use the sample database letter-recognition.data\n"
"from UCI Repository, here is the link:\n"
"\n"
"Newman, D.J. & Hettich, S. & Blake, C.L. & Merz, C.J. (1998).\n"
"UCI Repository of machine learning databases\n"
"[http://www.ics.uci.edu/~mlearn/MLRepository.html].\n"
"Irvine, CA: University of California, Department of Information and Computer Science.\n"
"\n"
"The dataset consists of 20000 feature vectors along with the\n"
"responses - capital latin letters A..Z.\n"
"The first 16000 (10000 for boosting)) samples are used for training\n"
"and the remaining 4000 (10000 for boosting) - to test the classifier.\n"
"======================================================\n");
printf("\nThis is letter recognition sample.\n"
"The usage: letter_recog [-data <path to letter-recognition.data>] \\\n"
" [-save <output XML file for the classifier>] \\\n"
" [-load <XML file with the pre-trained classifier>] \\\n"
" [-boost|-mlp|-knearest|-nbayes|-svm] # to use boost/mlp/knearest/SVM classifier instead of default Random Trees\n" );
}
// This function reads data and responses from the file <filename>
static bool
read_num_class_data( const string& filename, int var_count,
Mat* _data, Mat* _responses )
{
const int M = 1024;
char buf[M+2];
Mat el_ptr(1, var_count, CV_32F);
int i;
vector<int> responses;
_data->release();
_responses->release();
FILE* f = fopen( filename.c_str(), "rt" );
if( !f )
{
cout << "Could not read the database " << filename << endl;
return false;
}
for(;;)
{
char* ptr;
if( !fgets( buf, M, f ) || !strchr( buf, ',' ) )
break;
responses.push_back((int)buf[0]);
ptr = buf+2;
for( i = 0; i < var_count; i++ )
{
int n = 0;
sscanf( ptr, "%f%n", &el_ptr.at<float>(i), &n );
ptr += n + 1;
}
if( i < var_count )
break;
_data->push_back(el_ptr);
}
fclose(f);
Mat(responses).copyTo(*_responses);
cout << "The database " << filename << " is loaded.\n";
return true;
}
template<typename T>
static Ptr<T> load_classifier(const string& filename_to_load)
{
// load classifier from the specified file
Ptr<T> model = StatModel::load<T>( filename_to_load );
if( model.empty() )
cout << "Could not read the classifier " << filename_to_load << endl;
else
cout << "The classifier " << filename_to_load << " is loaded.\n";
return model;
}
static Ptr<TrainData>
prepare_train_data(const Mat& data, const Mat& responses, int ntrain_samples)
{
Mat sample_idx = Mat::zeros( 1, data.rows, CV_8U );
Mat train_samples = sample_idx.colRange(0, ntrain_samples);
train_samples.setTo(Scalar::all(1));
int nvars = data.cols;
Mat var_type( nvars + 1, 1, CV_8U );
var_type.setTo(Scalar::all(VAR_ORDERED));
var_type.at<uchar>(nvars) = VAR_CATEGORICAL;
return TrainData::create(data, ROW_SAMPLE, responses,
noArray(), sample_idx, noArray(), var_type);
}
inline TermCriteria TC(int iters, double eps)
{
return TermCriteria(TermCriteria::MAX_ITER + (eps > 0 ? TermCriteria::EPS : 0), iters, eps);
}
static void test_and_save_classifier(const Ptr<StatModel>& model,
const Mat& data, const Mat& responses,
int ntrain_samples, int rdelta,
const string& filename_to_save)
{
int i, nsamples_all = data.rows;
double train_hr = 0, test_hr = 0;
// compute prediction error on train and test data
for( i = 0; i < nsamples_all; i++ )
{
Mat sample = data.row(i);
float r = model->predict( sample );
r = std::abs(r + rdelta - responses.at<int>(i)) <= FLT_EPSILON ? 1.f : 0.f;
if( i < ntrain_samples )
train_hr += r;
else
test_hr += r;
}
test_hr /= nsamples_all - ntrain_samples;
train_hr = ntrain_samples > 0 ? train_hr/ntrain_samples : 1.;
printf( "Recognition rate: train = %.1f%%, test = %.1f%%\n",
train_hr*100., test_hr*100. );
if( !filename_to_save.empty() )
{
model->save( filename_to_save );
}
}
static bool
build_rtrees_classifier( const string& data_filename,
const string& filename_to_save,
const string& filename_to_load )
{
Mat data;
Mat responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
Ptr<RTrees> model;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.8);
// Create or load Random Trees classifier
if( !filename_to_load.empty() )
{
model = load_classifier<RTrees>(filename_to_load);
if( model.empty() )
return false;
ntrain_samples = 0;
}
else
{
// create classifier by using <data> and <responses>
cout << "Training the classifier ...\n";
// Params( int maxDepth, int minSampleCount,
// double regressionAccuracy, bool useSurrogates,
// int maxCategories, const Mat& priors,
// bool calcVarImportance, int nactiveVars,
// TermCriteria termCrit );
Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples);
model = RTrees::create();
model->setMaxDepth(10);
model->setMinSampleCount(10);
model->setRegressionAccuracy(0);
model->setUseSurrogates(false);
model->setMaxCategories(15);
model->setPriors(Mat());
model->setCalculateVarImportance(true);
model->setActiveVarCount(4);
model->setTermCriteria(TC(100,0.01f));
model->train(tdata);
cout << endl;
}
test_and_save_classifier(model, data, responses, ntrain_samples, 0, filename_to_save);
cout << "Number of trees: " << model->getRoots().size() << endl;
// Print variable importance
Mat var_importance = model->getVarImportance();
if( !var_importance.empty() )
{
double rt_imp_sum = sum( var_importance )[0];
printf("var#\timportance (in %%):\n");
int i, n = (int)var_importance.total();
for( i = 0; i < n; i++ )
printf( "%-2d\t%-4.1f\n", i, 100.f*var_importance.at<float>(i)/rt_imp_sum);
}
return true;
}
static bool
build_boost_classifier( const string& data_filename,
const string& filename_to_save,
const string& filename_to_load )
{
const int class_count = 26;
Mat data;
Mat responses;
Mat weak_responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
int i, j, k;
Ptr<Boost> model;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.5);
int var_count = data.cols;
// Create or load Boosted Tree classifier
if( !filename_to_load.empty() )
{
model = load_classifier<Boost>(filename_to_load);
if( model.empty() )
return false;
ntrain_samples = 0;
}
else
{
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
// As currently boosted tree classifier in MLL can only be trained
// for 2-class problems, we transform the training database by
// "unrolling" each training sample as many times as the number of
// classes (26) that we have.
//
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Mat new_data( ntrain_samples*class_count, var_count + 1, CV_32F );
Mat new_responses( ntrain_samples*class_count, 1, CV_32S );
// 1. unroll the database type mask
printf( "Unrolling the database...\n");
for( i = 0; i < ntrain_samples; i++ )
{
const float* data_row = data.ptr<float>(i);
for( j = 0; j < class_count; j++ )
{
float* new_data_row = (float*)new_data.ptr<float>(i*class_count+j);
memcpy(new_data_row, data_row, var_count*sizeof(data_row[0]));
new_data_row[var_count] = (float)j;
new_responses.at<int>(i*class_count + j) = responses.at<int>(i) == j+'A';
}
}
Mat var_type( 1, var_count + 2, CV_8U );
var_type.setTo(Scalar::all(VAR_ORDERED));
var_type.at<uchar>(var_count) = var_type.at<uchar>(var_count+1) = VAR_CATEGORICAL;
Ptr<TrainData> tdata = TrainData::create(new_data, ROW_SAMPLE, new_responses,
noArray(), noArray(), noArray(), var_type);
vector<double> priors(2);
priors[0] = 1;
priors[1] = 26;
cout << "Training the classifier (may take a few minutes)...\n";
model = Boost::create();
model->setBoostType(Boost::GENTLE);
model->setWeakCount(100);
model->setWeightTrimRate(0.95);
model->setMaxDepth(5);
model->setUseSurrogates(false);
model->setPriors(Mat(priors));
model->train(tdata);
cout << endl;
}
Mat temp_sample( 1, var_count + 1, CV_32F );
float* tptr = temp_sample.ptr<float>();
// compute prediction error on train and test data
double train_hr = 0, test_hr = 0;
for( i = 0; i < nsamples_all; i++ )
{
int best_class = 0;
double max_sum = -DBL_MAX;
const float* ptr = data.ptr<float>(i);
for( k = 0; k < var_count; k++ )
tptr[k] = ptr[k];
for( j = 0; j < class_count; j++ )
{
tptr[var_count] = (float)j;
float s = model->predict( temp_sample, noArray(), StatModel::RAW_OUTPUT );
if( max_sum < s )
{
max_sum = s;
best_class = j + 'A';
}
}
double r = std::abs(best_class - responses.at<int>(i)) < FLT_EPSILON ? 1 : 0;
if( i < ntrain_samples )
train_hr += r;
else
test_hr += r;
}
test_hr /= nsamples_all-ntrain_samples;
train_hr = ntrain_samples > 0 ? train_hr/ntrain_samples : 1.;
printf( "Recognition rate: train = %.1f%%, test = %.1f%%\n",
train_hr*100., test_hr*100. );
cout << "Number of trees: " << model->getRoots().size() << endl;
// Save classifier to file if needed
if( !filename_to_save.empty() )
model->save( filename_to_save );
return true;
}
static bool
build_mlp_classifier( const string& data_filename,
const string& filename_to_save,
const string& filename_to_load )
{
const int class_count = 26;
Mat data;
Mat responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
Ptr<ANN_MLP> model;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.8);
// Create or load MLP classifier
if( !filename_to_load.empty() )
{
model = load_classifier<ANN_MLP>(filename_to_load);
if( model.empty() )
return false;
ntrain_samples = 0;
}
else
{
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
// MLP does not support categorical variables by explicitly.
// So, instead of the output class label, we will use
// a binary vector of <class_count> components for training and,
// therefore, MLP will give us a vector of "probabilities" at the
// prediction stage
//
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Mat train_data = data.rowRange(0, ntrain_samples);
Mat train_responses = Mat::zeros( ntrain_samples, class_count, CV_32F );
// 1. unroll the responses
cout << "Unrolling the responses...\n";
for( int i = 0; i < ntrain_samples; i++ )
{
int cls_label = responses.at<int>(i) - 'A';
train_responses.at<float>(i, cls_label) = 1.f;
}
// 2. train classifier
int layer_sz[] = { data.cols, 100, 100, class_count };
int nlayers = (int)(sizeof(layer_sz)/sizeof(layer_sz[0]));
Mat layer_sizes( 1, nlayers, CV_32S, layer_sz );
#if 1
int method = ANN_MLP::BACKPROP;
double method_param = 0.001;
int max_iter = 300;
#else
int method = ANN_MLP::RPROP;
double method_param = 0.1;
int max_iter = 1000;
#endif
Ptr<TrainData> tdata = TrainData::create(train_data, ROW_SAMPLE, train_responses);
cout << "Training the classifier (may take a few minutes)...\n";
model = ANN_MLP::create();
model->setLayerSizes(layer_sizes);
model->setActivationFunction(ANN_MLP::SIGMOID_SYM, 0, 0);
model->setTermCriteria(TC(max_iter,0));
model->setTrainMethod(method, method_param);
model->train(tdata);
cout << endl;
}
test_and_save_classifier(model, data, responses, ntrain_samples, 'A', filename_to_save);
return true;
}
static bool
build_knearest_classifier( const string& data_filename, int K )
{
Mat data;
Mat responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.8);
// create classifier by using <data> and <responses>
cout << "Training the classifier ...\n";
Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples);
Ptr<KNearest> model = KNearest::create();
model->setDefaultK(K);
model->setIsClassifier(true);
model->train(tdata);
cout << endl;
test_and_save_classifier(model, data, responses, ntrain_samples, 0, string());
return true;
}
static bool
build_nbayes_classifier( const string& data_filename )
{
Mat data;
Mat responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
Ptr<NormalBayesClassifier> model;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.8);
// create classifier by using <data> and <responses>
cout << "Training the classifier ...\n";
Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples);
model = NormalBayesClassifier::create();
model->train(tdata);
cout << endl;
test_and_save_classifier(model, data, responses, ntrain_samples, 0, string());
return true;
}
static bool
build_svm_classifier( const string& data_filename,
const string& filename_to_save,
const string& filename_to_load )
{
Mat data;
Mat responses;
bool ok = read_num_class_data( data_filename, 16, &data, &responses );
if( !ok )
return ok;
Ptr<SVM> model;
int nsamples_all = data.rows;
int ntrain_samples = (int)(nsamples_all*0.8);
// Create or load Random Trees classifier
if( !filename_to_load.empty() )
{
model = load_classifier<SVM>(filename_to_load);
if( model.empty() )
return false;
ntrain_samples = 0;
}
else
{
// create classifier by using <data> and <responses>
cout << "Training the classifier ...\n";
Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples);
model = SVM::create();
model->setType(SVM::C_SVC);
model->setKernel(SVM::LINEAR);
model->setC(1);
model->train(tdata);
cout << endl;
}
test_and_save_classifier(model, data, responses, ntrain_samples, 0, filename_to_save);
return true;
}
int main( int argc, char *argv[] )
{
string filename_to_save = "";
string filename_to_load = "";
string data_filename = "../data/letter-recognition.data";
int method = 0;
int i;
for( i = 1; i < argc; i++ )
{
if( strcmp(argv[i],"-data") == 0 ) // flag "-data letter_recognition.xml"
{
i++;
data_filename = argv[i];
}
else if( strcmp(argv[i],"-save") == 0 ) // flag "-save filename.xml"
{
i++;
filename_to_save = argv[i];
}
else if( strcmp(argv[i],"-load") == 0) // flag "-load filename.xml"
{
i++;
filename_to_load = argv[i];
}
else if( strcmp(argv[i],"-boost") == 0)
{
method = 1;
}
else if( strcmp(argv[i],"-mlp") == 0 )
{
method = 2;
}
else if( strcmp(argv[i], "-knearest") == 0 || strcmp(argv[i], "-knn") == 0 )
{
method = 3;
}
else if( strcmp(argv[i], "-nbayes") == 0)
{
method = 4;
}
else if( strcmp(argv[i], "-svm") == 0)
{
method = 5;
}
else
break;
}
if( i < argc ||
(method == 0 ?
build_rtrees_classifier( data_filename, filename_to_save, filename_to_load ) :
method == 1 ?
build_boost_classifier( data_filename, filename_to_save, filename_to_load ) :
method == 2 ?
build_mlp_classifier( data_filename, filename_to_save, filename_to_load ) :
method == 3 ?
build_knearest_classifier( data_filename, 10 ) :
method == 4 ?
build_nbayes_classifier( data_filename) :
method == 5 ?
build_svm_classifier( data_filename, filename_to_save, filename_to_load ):
-1) < 0)
{
help();
}
return 0;
}
| [
"info@wizapply.com"
] | info@wizapply.com |
4237442f6f6f879b3c279ef6d29e900bcba39354 | c2a06ac916e3693068a6c2546c65e9758c00236c | /Plugins/Wwise/ThirdParty/include/AK/SoundEngine/Common/IAkRTPCSubscriber.h | db99e36c51a9f9f619e1e619890d9d0e12d71d61 | [] | no_license | GodwinA/RuneAge | 3396002afc39c2dd1efc50cf9a740adfd27a9c93 | 88bc7a6ef87cbfb55e7fa0c045a0701607675323 | refs/heads/master | 2021-03-21T05:15:38.112936 | 2021-02-13T22:14:06 | 2021-02-13T22:14:06 | 247,266,101 | 1 | 0 | null | 2020-03-18T12:46:42 | 2020-03-14T11:46:00 | C++ | UTF-8 | C++ | false | false | 2,439 | h | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
may use this file in accordance with the end user license agreement provided
with the software or, alternatively, in accordance with the terms contained in a
written agreement between you and Audiokinetic Inc.
Apache License Usage
Alternatively, this file may be used under the Apache License, Version 2.0 (the
"Apache License"); you may not use this file except in compliance with the
Apache License. You may obtain a copy of the Apache License at
http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed
under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
the specific language governing permissions and limitations under the License.
Version: v2019.2.0 Build: 7216
Copyright (c) 2006-2020 Audiokinetic Inc.
*******************************************************************************/
// IAkRTPCSubscriber.h
/// \file
/// RTPC Subscriber interface.
#ifndef _IAK_RTPC_SUBSCRIBER_H_
#define _IAK_RTPC_SUBSCRIBER_H_
#include <AK/SoundEngine/Common/AkTypes.h>
namespace AK
{
/// Real-Time Parameter Control Subscriber interface.
/// This interface must be implemented by every AK::IAkPluginParam implementation, allowing
/// real-time editing with Wwise and in-game RTPC control.
/// \akwarning
/// The functions in this interface are not thread-safe, unless stated otherwise.
/// \endakwarning
/// \sa
/// - AK::IAkPluginParam
class IAkRTPCSubscriber
{
protected:
/// Virtual destructor on interface to avoid warnings.
virtual ~IAkRTPCSubscriber(){}
public:
/// This function will be called to notify the subscriber every time a selected value is entered or modified
/// \return AK_Success if successful, AK_Fail otherwise
virtual AKRESULT SetParam(
AkPluginParamID in_paramID, ///< Plug-in parameter ID
const void * in_pParam, ///< Parameter value pointer
AkUInt32 in_uParamSize ///< Parameter size
) = 0;
};
}
#endif //_IAK_RTPC_SUBSCRIBER_H_
| [
"50031430+Numbox@users.noreply.github.com"
] | 50031430+Numbox@users.noreply.github.com |
966a565a62a784c862d708998c888adf54913b59 | 786de89be635eb21295070a6a3452f3a7fe6712c | /CSPadPixCoords/tags/V00-01-00/src/PixCoordsTest.cpp | 773609296140a963db2857617252cb3fff5951fe | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,891 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class PixCoordsTest...
//
// Author List:
// Mikhail S. Dubrovin
//
//------------------------------------------------------------------------
//-----------------------
// This Class's Header --
//-----------------------
#include "CSPadPixCoords/PixCoordsTest.h"
//-----------------
// C/C++ Headers --
//-----------------
#include <time.h>
//-------------------------------
// Collaborating Class Headers --
//-------------------------------
#include "MsgLogger/MsgLogger.h"
// to work with detector data include corresponding
// header from psddl_psana package
#include "psddl_psana/acqiris.ddl.h"
#include "PSEvt/EventId.h"
#include "CSPadPixCoords/Image2D.h"
//-----------------------------------------------------------------------
// Local Macros, Typedefs, Structures, Unions and Forward Declarations --
//-----------------------------------------------------------------------
#include <boost/lexical_cast.hpp>
// This declares this class as psana module
using namespace CSPadPixCoords;
PSANA_MODULE_FACTORY(PixCoordsTest)
// ----------------------------------------
// -- Public Function Member Definitions --
// ----------------------------------------
namespace CSPadPixCoords {
//----------------
// Constructors --
//----------------
PixCoordsTest::PixCoordsTest (const std::string& name)
: Module(name)
, m_calibDir()
, m_typeGroupName()
, m_source()
, m_src()
, m_maxEvents()
, m_filter()
, m_count(0)
{
// get the values from configuration or use defaults
m_calibDir = configStr("calibDir", "/reg/d/psdm/CXI/cxi35711/calib");
m_typeGroupName = configStr("typeGroupName", "CsPad::CalibV1");
m_source = configStr("source", "CxiDs1.0:Cspad.0");
m_runNumber = config ("runNumber", 32U);
m_maxEvents = config ("events", 32U);
m_filter = config ("filter", false);
m_src = m_source;
}
//--------------
// Destructor --
//--------------
PixCoordsTest::~PixCoordsTest ()
{
}
//--------------------
/// Method which is called once at the beginning of the job
void
PixCoordsTest::beginJob(Event& evt, Env& env)
{
}
//--------------------
/// Method which is called at the beginning of the run
void
PixCoordsTest::beginRun(Event& evt, Env& env)
{
cout << "ImageCSPad::beginRun " << endl;
//m_cspad_calibpar = new PSCalib::CSPadCalibPars(); // get default calib pars from my local directory.
m_cspad_calibpar = new PSCalib::CSPadCalibPars(m_calibDir, m_typeGroupName, m_source, m_runNumber);
m_pix_coords_2x1 = new CSPadPixCoords::PixCoords2x1 ();
m_pix_coords_quad = new CSPadPixCoords::PixCoordsQuad ( m_pix_coords_2x1, m_cspad_calibpar );
m_pix_coords_cspad = new CSPadPixCoords::PixCoordsCSPad ( m_pix_coords_quad, m_cspad_calibpar );
m_cspad_calibpar -> printCalibPars();
m_pix_coords_2x1 -> print_member_data();
this -> getQuadConfigPars(env);
}
//--------------------
void
PixCoordsTest::getQuadConfigPars(Env& env)
{
shared_ptr<Psana::CsPad::ConfigV3> config = env.configStore().get(m_src);
if (config.get()) {
for (uint32_t q = 0; q < config->numQuads(); ++ q) {
m_roiMask[q] = config->roiMask(q);
m_numAsicsStored[q] = config->numAsicsStored(q);
}
}
m_n2x1 = Psana::CsPad::SectorsPerQuad; // v_image_shape[0]; // 8
m_ncols2x1 = Psana::CsPad::ColumnsPerASIC; // v_image_shape[1]; // 185
m_nrows2x1 = Psana::CsPad::MaxRowsPerASIC * 2; // v_image_shape[2]; // 388
m_sizeOf2x1Img = m_nrows2x1 * m_ncols2x1; // 185*388;
XCOOR = CSPadPixCoords::PixCoords2x1::X;
YCOOR = CSPadPixCoords::PixCoords2x1::Y;
ZCOOR = CSPadPixCoords::PixCoords2x1::Z;
}
//--------------------
/// Method which is called at the beginning of the calibration cycle
void
PixCoordsTest::beginCalibCycle(Event& evt, Env& env)
{
}
//--------------------
/// Method which is called with event data, this is the only required
/// method, all other methods are optional
void
PixCoordsTest::event(Event& evt, Env& env)
{
// this is how to gracefully stop analysis job
++m_count;
if (m_count >= m_maxEvents) stop();
cout << "m_count=" << m_count << endl;
shared_ptr<Psana::CsPad::DataV2> data2 = evt.get(m_src);
if (data2.get()) {
this -> test_cspad_init ();
int nQuads = data2->quads_shape()[0];
cout << "nQuads = " << nQuads << endl;
for (int q = 0; q < nQuads; ++ q) {
const Psana::CsPad::ElementV2& el = data2->quads(q);
const int16_t* data = el.data();
int quad = el.quad() ;
std::vector<int> v_image_shape = el.data_shape();
CSPadPixCoords::QuadParameters *quadpars = new CSPadPixCoords::QuadParameters(quad, v_image_shape, NX_QUAD, NY_QUAD, m_numAsicsStored[q], m_roiMask[q]);
this -> test_2x1 (data, quadpars, m_cspad_calibpar);
this -> test_quad (data, quadpars, m_cspad_calibpar);
struct timespec start, stop;
int status = clock_gettime( CLOCK_REALTIME, &start ); // Get LOCAL time
this -> test_cspad (data, quadpars, m_cspad_calibpar);
status = clock_gettime( CLOCK_REALTIME, &stop ); // Get LOCAL time
cout << "Time to fill quad is "
<< stop.tv_sec - start.tv_sec + 1e-9*(stop.tv_nsec - start.tv_nsec)
<< " sec" << endl;
}
this -> test_cspad_save ();
} // if (data2.get())
}
//--------------------
/// Method which is called at the end of the calibration cycle
void
PixCoordsTest::endCalibCycle(Event& evt, Env& env)
{
}
//--------------------
/// Method which is called at the end of the run
void
PixCoordsTest::endRun(Event& evt, Env& env)
{
}
//--------------------
/// Method which is called once at the end of the job
void
PixCoordsTest::endJob(Event& evt, Env& env)
{
}
//--------------------
void
PixCoordsTest::test_2x1(const int16_t* data, CSPadPixCoords::QuadParameters* quadpars, PSCalib::CSPadCalibPars *cspad_calibpar)
{
int quad = quadpars -> getQuadNumber();
uint32_t roiMask = quadpars -> getRoiMask();
std::vector<int> v_image_shape = quadpars -> getImageShapeVector();
//cout << "PixCoordsTest::test_2x1: quadNumber=" << quad << endl;
// SELECT QUADRANT NUMBER FOR TEST HERE !!!
if(quad != 2) return;
// SELECT 2x1 ORIENTATION FOR TEST HERE !!!
CSPadPixCoords::PixCoords2x1::ORIENTATION rot=CSPadPixCoords::PixCoords2x1::R000;
// SELECT 2x1 SECTION NUMBER FOR TEST HERE !!!
uint32_t sect=1;
bool bitIsOn = roiMask & (1<<sect);
if( !bitIsOn ) return;
// Initialization
for (unsigned ix=0; ix<NX_2x1; ix++){
for (unsigned iy=0; iy<NY_2x1; iy++){
m_arr_2x1_image[ix][iy] = 0;
}
}
double mrgx=20.1;
double mrgy=20.1;
const int16_t *data2x1 = &data[sect * m_sizeOf2x1Img];
for (uint32_t c=0; c<m_ncols2x1; c++) {
for (uint32_t r=0; r<m_nrows2x1; r++) {
double xcoor = m_pix_coords_2x1 -> getPixCoorRotN90_pix (rot, XCOOR, r, c);
double ycoor = m_pix_coords_2x1 -> getPixCoorRotN90_pix (rot, YCOOR, r, c);
int ix = (int) (mrgx + xcoor);
int iy = (int) (mrgy + ycoor);
if(ix < 0) continue;
if(iy < 0) continue;
if(ix >= NX_2x1) continue;
if(iy >= NY_2x1) continue;
m_arr_2x1_image[ix][iy] = (double)data2x1[c*m_nrows2x1+r];
}
}
CSPadPixCoords::Image2D<double> *img2d = new CSPadPixCoords::Image2D<double>(&m_arr_2x1_image[0][0],NX_2x1,NY_2x1);
img2d -> saveImageInFile("test_2x1.txt",0);
}
//--------------------
void
PixCoordsTest::test_quad(const int16_t* data, CSPadPixCoords::QuadParameters* quadpars, PSCalib::CSPadCalibPars *cspad_calibpar)
{
int quad = quadpars -> getQuadNumber();
uint32_t roiMask = quadpars -> getRoiMask();
std::vector<int> v_image_shape = quadpars -> getImageShapeVector();
cout << "PixCoordsTest::test_quad: quadNumber=" << quad << endl;
// Initialization
for (unsigned ix=0; ix<NX_QUAD; ix++){
for (unsigned iy=0; iy<NY_QUAD; iy++){
m_arr_quad_image[ix][iy] = 0;
}
}
for(uint32_t sect=0; sect < m_n2x1; sect++)
{
bool bitIsOn = roiMask & (1<<sect);
if( !bitIsOn ) continue;
const int16_t *data2x1 = &data[sect * m_sizeOf2x1Img];
for (uint32_t c=0; c<m_ncols2x1; c++) {
for (uint32_t r=0; r<m_nrows2x1; r++) {
int ix = (int) m_pix_coords_quad -> getPixCoorRot000_pix (XCOOR, quad, sect, r, c);
int iy = (int) m_pix_coords_quad -> getPixCoorRot000_pix (YCOOR, quad, sect, r, c);
if(ix < 0) continue;
if(iy < 0) continue;
if(ix >= NX_QUAD) continue;
if(iy >= NY_QUAD) continue;
m_arr_quad_image[ix][iy] = (double)data2x1[c*m_nrows2x1+r];
}
}
}
string fname = "test_q";
fname += boost::lexical_cast<string>( quad );
fname += ".txt";
CSPadPixCoords::Image2D<double> *img2d = new CSPadPixCoords::Image2D<double>(&m_arr_quad_image[0][0],NX_QUAD,NY_QUAD);
img2d -> saveImageInFile(fname,0);
}
//--------------------
void
PixCoordsTest::test_cspad_init()
{
// Initialization
for (unsigned ix=0; ix<NX_CSPAD; ix++){
for (unsigned iy=0; iy<NY_CSPAD; iy++){
m_arr_cspad_image[ix][iy] = 0;
}
}
m_cspad_ind = 0;
m_coor_x_pix = m_pix_coords_cspad -> getPixCoorArrX_pix();
m_coor_y_pix = m_pix_coords_cspad -> getPixCoorArrY_pix();
m_coor_x_int = m_pix_coords_cspad -> getPixCoorArrX_int();
m_coor_y_int = m_pix_coords_cspad -> getPixCoorArrY_int();
}
//--------------------
void
PixCoordsTest::test_cspad(const int16_t* data, CSPadPixCoords::QuadParameters* quadpars, PSCalib::CSPadCalibPars *cspad_calibpar)
{
//int quad = quadpars -> getQuadNumber();
uint32_t roiMask = quadpars -> getRoiMask();
std::vector<int> v_image_shape = quadpars -> getImageShapeVector();
for(uint32_t sect=0; sect < m_n2x1; sect++)
{
bool bitIsOn = roiMask & (1<<sect);
if( !bitIsOn ) { m_cspad_ind += m_sizeOf2x1Img; continue; }
const int16_t *data2x1 = &data[sect * m_sizeOf2x1Img];
//cout << " add section " << sect << endl;
for (uint32_t c=0; c<m_ncols2x1; c++) {
for (uint32_t r=0; r<m_nrows2x1; r++) {
// This access takes 14ms/quad
//int ix = (int) m_pix_coords_cspad -> getPixCoor_pix (XCOOR, quad, sect, r, c);
//int iy = (int) m_pix_coords_cspad -> getPixCoor_pix (YCOOR, quad, sect, r, c);
// This access takes 8ms/quad
//int ix = (int) m_coor_x_pix [m_cspad_ind];
//int iy = (int) m_coor_y_pix [m_cspad_ind];
// This access takes 6ms/quad
int ix = m_coor_x_int [m_cspad_ind];
int iy = m_coor_y_int [m_cspad_ind];
m_cspad_ind++;
if(ix < 0) continue;
if(iy < 0) continue;
if(ix >= NX_CSPAD) continue;
if(iy >= NY_CSPAD) continue;
m_arr_cspad_image[ix][iy] = (double)data2x1[c*m_nrows2x1+r];
}
}
}
}
//--------------------
void
PixCoordsTest::test_cspad_save()
{
CSPadPixCoords::Image2D<double> *img2d = new CSPadPixCoords::Image2D<double>(&m_arr_cspad_image[0][0],NX_CSPAD,NY_CSPAD);
img2d -> saveImageInFile("test_cspad.txt",0);
}
//--------------------
} // namespace CSPadPixCoords
| [
"salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
ce567969e4f8ed28f6e8c6762710ff39ba97f78e | 05abd67702d516433cbf9cbfae6a0c196b2f192c | /tests/000-hello.cpp | 62500619c5778ebf2d92c44b3e0168c1710752a3 | [
"MIT"
] | permissive | yanlinlin82/icpp | 88bc72d2398a24053024a8e214365f4288332c60 | 4e3127a87201aef6bf96b97082a23d35ca4fe230 | refs/heads/master | 2020-12-19T23:07:18.853331 | 2020-02-09T16:08:40 | 2020-02-09T16:08:40 | 235,877,992 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12 | cpp | ../hello.cpp | [
"yanlinlin82@gmail.com"
] | yanlinlin82@gmail.com |
80d1b2cfae8a5264b78d4382cc6d8b927a0ce375 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-gumtree/dmlc_xgboost_old_new_new_log_595.cpp | 5b33511f2be4e48c5867f5f33a485b98030b2ec9 | [] | 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 | 77 | cpp | utils::Assert( buffer_offset >=0, "interact mode must cache training data" ); | [
"993273596@qq.com"
] | 993273596@qq.com |
33ed16b86ec35ef016c13e8193dda6bf0c713f43 | f33120a2949840c63c87d56471f89d270b019d64 | /Chap3/332.cpp | b368400326bb95681e36ea54b91f298178d9d520 | [] | no_license | Maimer/cpp_primer | c5c239532a1edfe10bb594c183873e0dc1cc175d | d17c873f5b23afd28806a0b2b5828c6b4bbaa3ad | refs/heads/master | 2016-08-04T08:27:27.761374 | 2014-09-07T17:44:56 | 2014-09-07T17:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> nums(10, 0);
int it2 = 0;
for(auto it = nums.begin(); it != nums.end(); ++it, ++it2) {
*it = it2;
}
for(auto i : nums) {
cout << i << " ";
}
cout << endl;
return 0;
} | [
"nesnl23@yahoo.com"
] | nesnl23@yahoo.com |
62fc7b256a5d3a6922d21be1dc345ea57ec1715c | 9ea6a57db4e23796151620af6306c5834037a2a1 | /Cpp/Benchmarks/virtual_VS_static_depper/Cpp_tests/manual_polymorphism/Weapons/Sword/sword.h | 0e0716f60fb9aa7620530611a482d62cd3510858 | [] | no_license | dhustkoder/code_backup | 787943f9cbb081141e491f19d6d89a770a214bae | e6201423fba2cfedea09d144df048a94daa1750d | refs/heads/master | 2020-04-06T09:52:43.528775 | 2016-11-29T11:37:33 | 2016-11-29T11:37:33 | 41,769,153 | 2 | 0 | null | 2015-09-05T04:33:17 | 2015-09-01T23:46:01 | C++ | UTF-8 | C++ | false | false | 550 | h | #ifndef SWORD_H
#define SWORD_H
#include "../weapon.h"
struct Sword : Weapon
{
Sword(const char *name)
: Weapon(name, Weapon::WeaponType::Sword)
{
}
int attack() noexcept;
~Sword();
private:
friend class Weapon;
void cast_to_concrete_type() noexcept;
};
inline int Sword::attack() noexcept
{
return 1;
}
inline void Sword::cast_to_concrete_type() noexcept
{
this->~Sword();
}
inline Sword::~Sword()
{
asm volatile( "" : : "g"(this) : );
#ifdef DESTRUCTOR_PRINT
printf("D Sword\n");
#endif
m_destructorFree = true;
}
#endif | [
"rafaelmoura.dev@gmail.com"
] | rafaelmoura.dev@gmail.com |
d9cecaf50c907a80eefa93746d2d9fec8ba8a1af | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/UI_RewardSlot_Skill_classes.h | 75651c8e9e70e88a42929c7fc9c3f2d71976c17c | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass UI_RewardSlot_Skill.UI_RewardSlot_Skill_C
// 0x0020 (FullSize[0x0280] - InheritedSize[0x0260])
class UUI_RewardSlot_Skill_C : public UUserWidget
{
public:
struct FPointerToUberGraphFrame UberGraphFrame; // 0x0260(0x0008) (ZeroConstructor, Transient, DuplicateTransient, UObjectWrapper)
class UTextBlock* txt_Count; // 0x0268(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, NoDestructor, PersistentInstance, HasGetValueTypeHash)
class UTextBlock* txt_SkillName; // 0x0270(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, RepSkip, NoDestructor, PersistentInstance, HasGetValueTypeHash)
TEnumAsByte<E_Skills_E_Skills> Skill; // 0x0278(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData, NoDestructor, ExposeOnSpawn, HasGetValueTypeHash)
unsigned char UnknownData_8TLT[0x3]; // 0x0279(0x0003) MISSED OFFSET (FIX SPACE BETWEEN PREVIOUS PROPERTY)
int Count; // 0x027C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData, NoDestructor, ExposeOnSpawn, HasGetValueTypeHash)
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("WidgetBlueprintGeneratedClass UI_RewardSlot_Skill.UI_RewardSlot_Skill_C");
return ptr;
}
void Construct();
void ExecuteUbergraph_UI_RewardSlot_Skill(int EntryPoint);
void AfterRead();
void BeforeDelete();
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e90173c1c04770705858be1a9975d73832d3d484 | e675581a0e3c8c5c7d1d0d6adce2788cf2e061c8 | /BUI/Core/BSmartPointer.h | e659f3e24a53d359dc3f9d4326fcd09d1e6e8c71 | [] | no_license | czbreborn/BUI | 8214c653eddfc613e0f4051a5a8433040aa44e9a | f168ef7f19e12428ff3b943e516bcf5ca8e1edd9 | refs/heads/master | 2021-01-15T15:25:36.585908 | 2016-08-10T08:45:54 | 2016-08-10T08:45:54 | 53,115,895 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | h | #ifndef __BSMARTPOINTER_H__
#define __BSMARTPOINTER_H__
#pragma once
namespace BUI{
class BUI_API BRefCount
{
public:
BRefCount();
LONG GetRefCount() const;
LONG AddRefCount();
LONG RemoveRefCount();
void ResetRefCount();
private:
LONG m_shareRefCount;
};
template<typename T>
class BUI_API BShareRefPtr
{
public:
BShareRefPtr();
virtual ~BShareRefPtr();
BShareRefPtr(T* object);
BShareRefPtr(const BShareRefPtr<T>& src);
template<typename U>
BShareRefPtr(const BShareRefPtr<U>& src);
BShareRefPtr<T>& operator=(T* object);
BShareRefPtr<T>& operator=(const BShareRefPtr<T>& src);
template<typename U>
BShareRefPtr<T>& operator=(const BShareRefPtr<U>& src);
void Reset();
T* GetObject() const;
public:
T* operator->() const;
operator bool() const;
bool operator==(T* object) const;
bool operator==(const BShareRefPtr<T>& right) const;
template<typename U>
bool operator==(U* object) const;
bool operator!=(T* object) const;
bool operator!=(const BShareRefPtr<T>& right) const;
template<typename U>
bool operator!=(U* object) const;
private:
BShareRefPtr<T>& assign(T* object);
void release();
private:
BRefCount m_refCount;
T* m_object;
};
template<typename T, typename U>
bool operator==(const BShareRefPtr<T>& t, const BShareRefPtr<U>& u);
template<typename T, typename U>
bool operator!=(const BShareRefPtr<T>& t, const BShareRefPtr<U>& u);
}
#endif | [
"zhibiao.czb@alibaba-inc.com"
] | zhibiao.czb@alibaba-inc.com |
e184566aa1e419b9184b5fdf346c1841cf6c2c51 | 0184e96e37298e01d7270afa64035ef26888dc22 | /src/imgProc/ltiStructureTensorCornerness.h | 3988b0bba085d22109feca14ddd733abcf2f5fd7 | [] | no_license | edwinV21/LTI-LIB2 | 8f938915cc9918f55618ac7e3213862dba2ecce1 | 458cb35eedc1c0d1758416b78c112ff226116ede | refs/heads/master | 2021-01-16T21:07:49.394303 | 2017-12-04T23:51:27 | 2017-12-04T23:51:27 | 100,211,418 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,082 | h | /*
* Copyright (C) 1998-2005
* Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany
*
* This file is part of the LTI-Computer Vision Library (LTI-Lib)
*
* The LTI-Lib is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License (LGPL)
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* The LTI-Lib 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 the LTI-Lib; see the file LICENSE. If
* not, write to the Free Software Foundation, Inc., 59 Temple Place -
* Suite 330, Boston, MA 02111-1307, USA.
*/
/**
* \file ltiStructureTensorCornerness.h
* Contains the class lti::structureTensorCornerness, a
* cornernessFunctor which uses the structure tensor
* \author Peter Doerfler
* \date 13.1.2005
*
* revisions ..: $Id: ltiStructureTensorCornerness.h,v 1.5 2013-03-10 05:57:46 alvarado Exp $
*/
#ifndef _LTI_STRUCTURE_TENSOR_CORNERNESS_H_
#define _LTI_STRUCTURE_TENSOR_CORNERNESS_H_
#include "ltiChannel.h"
#include "ltiChannel8.h"
#include "ltiImage.h"
#include "ltiConvolution.h"
#include "ltiCornernessFunctor.h"
#include "ltiGradientFunctor.h"
#include "ltiColorContrastGradient.h"
namespace lti {
/**
* Class structureTensorCornerness.
*
* This functor computes a cornerness from the structure tensor as
* introduces by Harris. Let I_x and I_y be the gradient of an image
* I in x and y direction then:
*
* \f[ I_{\mathit{temp}} = G(x,y,\sigma) *
* \begin{bmatrix}
* \left(I_x(x,y)\right)^2 & I_x(x,y)I_y(x,y) \\
* I_x(x,y)I_y(x,y) & \left(I_y(x,y)\right)^2 \\
* \end{bmatrix} \f]
*
* \f[ \mathit{cornerness} = \mathrm{det}(I_{\mathit{temp}}) -
* \alpha \cdot \left(\mathrm{trace}(I_{\mathit{temp}})\right)^2 \f]
*
* Here, G(x,y,sigma) is the Gaussian with variance sigma and * is
* the convolution. The Gaussian is configured via
* parameters::integralKernelSize and
* parameters::integralVariance. Further, the second term with
* factor parameters::alpha reduces the influence of edges in the
* image. Typical values are in [0.04; 0.06].
*
* Take care that the kernel size for the integration should always
* be larger than the kernel size (or 'influence region') of the
* gradient.
*
* @ingroup gEdgeCorner
*/
class structureTensorCornerness : public cornernessFunctor {
public:
/**
* The parameters for the class structureTensorCornerness
*/
class parameters : public cornernessFunctor::parameters {
public:
/**
* Default constructor
*/
parameters();
/**
* Copy constructor
* @param other the parameters object to be copied
*/
parameters(const parameters& other);
/**
* Destructor
*/
~parameters();
/**
* Copy the contents of a parameters object
* @param other the parameters object to be copied
* @return a reference to this parameters object
*/
parameters& copy(const parameters& other);
/**
* Copy the contents of a parameters object
* @param other the parameters object to be copied
* @return a reference to this parameters object
*/
parameters& operator=(const parameters& other);
/**
* Returns the complete name of the parameters class.
*/
virtual const std::string& name() const;
/**
* Returns a pointer to a clone of the parameters.
*/
virtual parameters* clone() const;
/**
* Returns a pointer to a new instance of the parameters.
*/
virtual parameters* newInstance() const;
/**
* Write the parameters in the given ioHandler
* @param handler the ioHandler to be used
* @param complete if true (the default) the enclosing begin/end will
* be also written, otherwise only the data block will be written.
* @return true if write was successful
*/
virtual bool write(ioHandler& handler,const bool complete=true) const;
/**
* Read the parameters from the given ioHandler
* @param handler the ioHandler to be used
* @param complete if true (the default) the enclosing begin/end will
* be also written, otherwise only the data block will be written.
* @return true if write was successful
*/
virtual bool read(ioHandler& handler,const bool complete=true);
// ------------------------------------------------
// the parameters
// ------------------------------------------------
/**
* @name parameters for the Gaussian intergration kernel
*/
//@{
/**
* Size of the Gaussian kernel used for integration
*
* Default value: 7
*/
int integrationKernelSize;
/**
* Variance of the Gaussian kernel used for intergration. The
* value of -1 sets the value automatically fittion the kernel
* size. See lti::gaussKernel1D<float>::generate() for further
* details.
*
* Default value: -1
*/
float integrationVariance;
//@}
/**
* Influence of the trace of the structure tensor. See
* structureTensorCornerness for details.
*
* Default value: 0.04
*/
float alpha;
/**
* Parameters of the gradientFunctor used for
* differentiation. Originally the harrisKernelX was used. But
* Schmid and Mohr showed that it is much better to use an
* oriented Gaussian derivative. This is also set as
* default. Other values are as they are default in
* gradientFunctor::parameters. Of course, the outputFormat is
* always set to Cartesian.
*/
gradientFunctor::parameters gradientParameters;
/**
* Parameters for the colorContrastGradient used for
* 'differentiation' of color images. The same options as in
* gradientParameters are present. Additionally, the method for
* color handling has to be chosen.
*
* As for gradientParameters the default kernel used is OGD, and
* outputFormat is always changed to Cartesian. All other
* parametes are default from colorContrastGradient::parameters.
*/
colorContrastGradient::parameters colorGradientParameters;
};
/**
* Default constructor
*/
structureTensorCornerness();
/**
* Construct a functor using the given parameters
*/
structureTensorCornerness(const parameters& par);
/**
* Copy constructor
* @param other the object to be copied
*/
structureTensorCornerness(const structureTensorCornerness& other);
/**
* Destructor
*/
virtual ~structureTensorCornerness();
/**
* Copy data of "other" functor.
* @param other the functor to be copied
* @return a reference to this functor object
*/
structureTensorCornerness& copy(const structureTensorCornerness& other);
/**
* Alias for copy member
* @param other the functor to be copied
* @return a reference to this functor object
*/
structureTensorCornerness&
operator=(const structureTensorCornerness& other);
/**
* Returns the complete name of the functor class
*/
virtual const std::string& name() const;
/**
* Returns a pointer to a clone of this functor.
*/
virtual structureTensorCornerness* clone() const;
/**
* Returns a pointer to a new instance of this functor.
*/
virtual structureTensorCornerness* newInstance() const;
/**
* Returns used parameters
*/
const parameters& getParameters() const;
/**
*
* The gradientFunctorParameters are checked for compliancy with
* the definitions above. See
* parameters::gradientParameters.
*
* @return true if successful, false otherwise
*/
virtual bool updateParameters();
protected:
/**
* Calculates the cornerness of \a src and leaves it in \a
* dest. The minimal and maximal cornerness values are returned as
* well.
*
* @param src channel with the source data.
* @param dest channel where the result will be left.
* @param minCornerness minimum cornerness value found
* @param maxCornerness maximum cornerness value found
* @return true if apply successful or false otherwise.
*/
virtual bool worker(const channel& src, channel& dest,
float& minCornerness, float& maxCornerness) const;
/**
* Calculates the cornerness of \a src and leaves it in \a dest.
*
* Due to the different nature of grey and color images a
* different but similar method will be used here. This can be
* done by e.g. using a colorGradient instead of a normal
* gradient.
*
* @param src channel with the source data.
* @param dest channel where the result will be left.
* @param minCornerness minimum cornerness value found
* @param maxCornerness maximum cornerness value found
* @return true if apply successful or false otherwise.
*/
virtual bool worker(const image& src, channel& dest,
float& minCornerness, float& maxCornerness) const;
/**
* Computes the structure tensor and integrates over the elements
* with the Gaussian kernel.
*
* @param src the original image
* @param gx2 integrated squared gradient in x direction
* @param gy2 integrated squared gradient in y direction
* @param gxgy integrated product of gradients in x and y direction
* @return true when successfull
*/
bool computeStructureTensor(const channel& src,
channel& gx2,
channel& gy2,
channel& gxgy) const;
/**
* Computes the structure tensor and integrates over the elements
* with the Gaussian kernel.
*
* @param src the original image
* @param gx2 integrated squared gradient in x direction
* @param gy2 integrated squared gradient in y direction
* @param gxgy integrated product of gradients in x and y direction
* @return true when successfull
*/
bool computeStructureTensor(const image& src,
channel& gx2,
channel& gy2,
channel& gxgy) const;
/**
* Calculates the cornerness from the structure tensor.
*
* @param gx2 result from computeStructureTensor()
* @param gy2 result from computeStructureTensor()
* @param gxgy result from computeStructureTensor()
* @param cornerness the cornerness
* @param minCornerness smallest cornerness value
* @param maxCornerness largest cornerness value
* @return true when successful
*/
bool computeCornerness(const channel& gx2,
const channel& gy2,
const channel& gxgy,
channel& cornerness,
float& minCornerness,
float& maxCornerness) const;
/**
* gradientFunctor used for finding gradients of channels
*/
gradientFunctor gradient_;
/**
* colorContrastGradient used for finding gradients of channels
*/
colorContrastGradient colorGradient_;
/**
* This convolution is used for the integration with a Gauss kernel
*/
convolution gaussFilter_;
};
}
#endif
| [
"edvl21@gmail.com"
] | edvl21@gmail.com |
96bbb22b076685c2f105414756a6ba742e1b66b7 | 64c7b1fa2debeffa693fb6d900e896ddcc34777e | /NCTUns-6.0/src/nctuns/module/wimax/mac_16j_NT/library.cc | 22b833a4f1acf47565bec4ffff04959fab0d1eab | [
"LicenseRef-scancode-other-permissive"
] | permissive | knev/nctuns | 6134250cac2c9430c63456b9f3000ab071538563 | 1da9012704c2cf88342c6229d1cf7ffea196d727 | refs/heads/master | 2021-01-18T15:02:36.747902 | 2015-04-24T04:51:27 | 2015-04-24T04:51:27 | 34,366,952 | 0 | 0 | null | 2015-04-22T03:42:16 | 2015-04-22T03:42:16 | null | UTF-8 | C++ | false | false | 6,146 | cc | /*
* Copyright (c) from 2000 to 2009
*
* Network and System Laboratory
* Department of Computer Science
* College of Computer Science
* National Chiao Tung University, Taiwan
* All Rights Reserved.
*
* This source code file is part of the NCTUns 6.0 network simulator.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation is hereby granted (excluding for commercial or
* for-profit use), provided that both the copyright notice and this
* permission notice appear in all copies of the software, derivative
* works, or modified versions, and any portions thereof, and that
* both notices appear in supporting documentation, and that credit
* is given to National Chiao Tung University, Taiwan in all publications
* reporting on direct or indirect use of this code or its derivatives.
*
* National Chiao Tung University, Taiwan makes no representations
* about the suitability of this software for any purpose. It is provided
* "AS IS" without express or implied warranty.
*
* A Web site containing the latest NCTUns 6.0 network simulator software
* and its documentations is set up at http://NSL.csie.nctu.edu.tw/nctuns.html.
*
* Project Chief-Technology-Officer
*
* Prof. Shie-Yuan Wang <shieyuan@csie.nctu.edu.tw>
* National Chiao Tung University, Taiwan
*
* 09/01/2009
*/
#include "library.h"
/* ========================================================================= */
uint32_t OFDMA_crc_table_NT[256] = {
0x00000000L, 0xb71dc104L, 0x6e3b8209L, 0xd926430dL, 0xdc760413L,
0x6b6bc517L, 0xb24d861aL, 0x0550471eL, 0xb8ed0826L, 0x0ff0c922L,
0xd6d68a2fL, 0x61cb4b2bL, 0x649b0c35L, 0xd386cd31L, 0x0aa08e3cL,
0xbdbd4f38L, 0x70db114cL, 0xc7c6d048L, 0x1ee09345L, 0xa9fd5241L,
0xacad155fL, 0x1bb0d45bL, 0xc2969756L, 0x758b5652L, 0xc836196aL,
0x7f2bd86eL, 0xa60d9b63L, 0x11105a67L, 0x14401d79L, 0xa35ddc7dL,
0x7a7b9f70L, 0xcd665e74L, 0xe0b62398L, 0x57abe29cL, 0x8e8da191L,
0x39906095L, 0x3cc0278bL, 0x8bdde68fL, 0x52fba582L, 0xe5e66486L,
0x585b2bbeL, 0xef46eabaL, 0x3660a9b7L, 0x817d68b3L, 0x842d2fadL,
0x3330eea9L, 0xea16ada4L, 0x5d0b6ca0L, 0x906d32d4L, 0x2770f3d0L,
0xfe56b0ddL, 0x494b71d9L, 0x4c1b36c7L, 0xfb06f7c3L, 0x2220b4ceL,
0x953d75caL, 0x28803af2L, 0x9f9dfbf6L, 0x46bbb8fbL, 0xf1a679ffL,
0xf4f63ee1L, 0x43ebffe5L, 0x9acdbce8L, 0x2dd07decL, 0x77708634L,
0xc06d4730L, 0x194b043dL, 0xae56c539L, 0xab068227L, 0x1c1b4323L,
0xc53d002eL, 0x7220c12aL, 0xcf9d8e12L, 0x78804f16L, 0xa1a60c1bL,
0x16bbcd1fL, 0x13eb8a01L, 0xa4f64b05L, 0x7dd00808L, 0xcacdc90cL,
0x07ab9778L, 0xb0b6567cL, 0x69901571L, 0xde8dd475L, 0xdbdd936bL,
0x6cc0526fL, 0xb5e61162L, 0x02fbd066L, 0xbf469f5eL, 0x085b5e5aL,
0xd17d1d57L, 0x6660dc53L, 0x63309b4dL, 0xd42d5a49L, 0x0d0b1944L,
0xba16d840L, 0x97c6a5acL, 0x20db64a8L, 0xf9fd27a5L, 0x4ee0e6a1L,
0x4bb0a1bfL, 0xfcad60bbL, 0x258b23b6L, 0x9296e2b2L, 0x2f2bad8aL,
0x98366c8eL, 0x41102f83L, 0xf60dee87L, 0xf35da999L, 0x4440689dL,
0x9d662b90L, 0x2a7bea94L, 0xe71db4e0L, 0x500075e4L, 0x892636e9L,
0x3e3bf7edL, 0x3b6bb0f3L, 0x8c7671f7L, 0x555032faL, 0xe24df3feL,
0x5ff0bcc6L, 0xe8ed7dc2L, 0x31cb3ecfL, 0x86d6ffcbL, 0x8386b8d5L,
0x349b79d1L, 0xedbd3adcL, 0x5aa0fbd8L, 0xeee00c69L, 0x59fdcd6dL,
0x80db8e60L, 0x37c64f64L, 0x3296087aL, 0x858bc97eL, 0x5cad8a73L,
0xebb04b77L, 0x560d044fL, 0xe110c54bL, 0x38368646L, 0x8f2b4742L,
0x8a7b005cL, 0x3d66c158L, 0xe4408255L, 0x535d4351L, 0x9e3b1d25L,
0x2926dc21L, 0xf0009f2cL, 0x471d5e28L, 0x424d1936L, 0xf550d832L,
0x2c769b3fL, 0x9b6b5a3bL, 0x26d61503L, 0x91cbd407L, 0x48ed970aL,
0xfff0560eL, 0xfaa01110L, 0x4dbdd014L, 0x949b9319L, 0x2386521dL,
0x0e562ff1L, 0xb94beef5L, 0x606dadf8L, 0xd7706cfcL, 0xd2202be2L,
0x653deae6L, 0xbc1ba9ebL, 0x0b0668efL, 0xb6bb27d7L, 0x01a6e6d3L,
0xd880a5deL, 0x6f9d64daL, 0x6acd23c4L, 0xddd0e2c0L, 0x04f6a1cdL,
0xb3eb60c9L, 0x7e8d3ebdL, 0xc990ffb9L, 0x10b6bcb4L, 0xa7ab7db0L,
0xa2fb3aaeL, 0x15e6fbaaL, 0xccc0b8a7L, 0x7bdd79a3L, 0xc660369bL,
0x717df79fL, 0xa85bb492L, 0x1f467596L, 0x1a163288L, 0xad0bf38cL,
0x742db081L, 0xc3307185L, 0x99908a5dL, 0x2e8d4b59L, 0xf7ab0854L,
0x40b6c950L, 0x45e68e4eL, 0xf2fb4f4aL, 0x2bdd0c47L, 0x9cc0cd43L,
0x217d827bL, 0x9660437fL, 0x4f460072L, 0xf85bc176L, 0xfd0b8668L,
0x4a16476cL, 0x93300461L, 0x242dc565L, 0xe94b9b11L, 0x5e565a15L,
0x87701918L, 0x306dd81cL, 0x353d9f02L, 0x82205e06L, 0x5b061d0bL,
0xec1bdc0fL, 0x51a69337L, 0xe6bb5233L, 0x3f9d113eL, 0x8880d03aL,
0x8dd09724L, 0x3acd5620L, 0xe3eb152dL, 0x54f6d429L, 0x7926a9c5L,
0xce3b68c1L, 0x171d2bccL, 0xa000eac8L, 0xa550add6L, 0x124d6cd2L,
0xcb6b2fdfL, 0x7c76eedbL, 0xc1cba1e3L, 0x76d660e7L, 0xaff023eaL,
0x18ede2eeL, 0x1dbda5f0L, 0xaaa064f4L, 0x738627f9L, 0xc49be6fdL,
0x09fdb889L, 0xbee0798dL, 0x67c63a80L, 0xd0dbfb84L, 0xd58bbc9aL,
0x62967d9eL, 0xbbb03e93L, 0x0cadff97L, 0xb110b0afL, 0x060d71abL,
0xdf2b32a6L, 0x6836f3a2L, 0x6d66b4bcL, 0xda7b75b8L, 0x035d36b5L,
0xb440f7b1L
};
/* ========================================================================= */
uint32_t crc32_16j_NT(uint32_t crc, char *buf, int len)
{
int a = 0;
if (buf == NULL)
return 0L;
memcpy(&crc, buf, 4);
crc = 0xffffffffL ^ crc;
while (len != 0)
{
a = (crc) & 0xff;
buf++;
len--;
crc = crc >> 8;
if (len >= 4)
crc += (buf[3] << 24);
crc = crc ^ OFDMA_crc_table_NT[a];
}
return crc ^ 0xffffffffL;
}
uint8_t hcs_16j_NT(char *buf, int len)
{
// Generator: D^8 + D^2 + D + 1
char crc = 0x00;
int i;
char b;
for (i = 0; i < len; i++) {
crc ^= buf[i];
for (b = 0; b < 8; ++b) {
if (crc & 0x80)
crc = (crc << 1) ^ 0x07;
else
crc = (crc << 1);
}
}
return crc;
}
/* Ranging codes: PRBS generator (Spec 16e. 8.4.7.3)*/
void gen_ranging_code_NT(uint8_t perm_base, uint8_t code[][18], int code_num)
{
int seed = ((perm_base & 0x7F) << 8) | 0x00D4;
uint8_t buf[18] = "";
int index = 0;
int tmp = 0;
for(index = 0;index < code_num;index++)
{
memset(buf, 0, 18);
for(int i = 0;i < 144;i++)
{
tmp = (seed & 0x1) ^ ((seed & 0x100) >> 8) ^ ((seed & 0x800) >> 11) ^ ((seed & 0x4000) >> 14);
buf[i / 8] <<= 1;
buf[i / 8] |= tmp;
seed = (seed >> 1) | (tmp << 14);
}
memcpy(code[index], buf, 18);
}
}
| [
"tekdogan@gmail.com@75bd5688-ff95-11de-b4af-25c34a55dae2"
] | tekdogan@gmail.com@75bd5688-ff95-11de-b4af-25c34a55dae2 |
b4d89cd581f634a10d5864ff46a68aa50fbcd8b5 | 66e9113800a7a97b6361a3e8ee888ed2d8f7dc9d | /SampleQRCodes/TestBuild/Il2CppOutputProject/Source/il2cppOutput/PhotonRealtime1.cpp | 9ce4e2f2f0b2d22306952eb650148642fd48d9a5 | [
"MIT"
] | permissive | Dooyoung-Kim/QRTracking | fd8a1a8c7c069e87c9e4dc70927db6de9e6a6090 | ba519f0a10a0b897b2e324430c52d58efa9b31c0 | refs/heads/main | 2023-08-19T10:21:09.091279 | 2021-10-20T11:49:15 | 2021-10-20T11:49:15 | 412,719,461 | 1 | 2 | MIT | 2021-10-02T07:08:05 | 2021-10-02T07:08:05 | null | UTF-8 | C++ | false | false | 1,069,007 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
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 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 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, typename T1, typename T2>
struct VirtFuncInvoker2
{
typedef R (*Func)(void*, T1, T2, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
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, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
struct InterfaceActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
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>
struct InterfaceActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
// System.Action`1<ExitGames.Client.Photon.DisconnectMessage>
struct Action_1_tE0B77E68E6552F66CFEB13CBCE644786F806356E;
// System.Action`1<ExitGames.Client.Photon.EventData>
struct Action_1_tE42328A05E8E95AF3C2424273ACB8605ADA047E3;
// System.Action`1<System.Object>
struct Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC;
// System.Action`1<ExitGames.Client.Photon.OperationResponse>
struct Action_1_t1F80B3B5BE5D7778C86DA28AB5D2E5D5814E5622;
// System.Action`1<ExitGames.Client.Photon.ParameterDictionary>
struct Action_1_tA0415BE25F46F3C2D2C2A3CEA83CD6D7F8CABBA6;
// System.Action`1<Photon.Realtime.Region>
struct Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752;
// System.Action`1<Photon.Realtime.RegionHandler>
struct Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790;
// System.Action`2<Photon.Realtime.ClientState,Photon.Realtime.ClientState>
struct Action_2_t9BAECADE7E59203F365C12486B7F2D8BAD9047D5;
// System.Comparison`1<System.Object>
struct Comparison_1_tB56E8E7C2BF431D44E8EBD15EA3E6F41AAFF03D2;
// System.Comparison`1<Photon.Realtime.Region>
struct Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Int32>
struct Dictionary_2_t81EA4B33E20A42C2644280178E604790BE9E7517;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Type>
struct Dictionary_2_tB4F2179ABD10B6654DEDBFFF229D101AACDD9DDD;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F;
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>
struct Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D;
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399;
// System.Func`1<System.Boolean>
struct Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F;
// System.Func`1<ExitGames.Client.Photon.ParameterDictionary>
struct Func_1_t75A9A536825EE746B02940F3CBC68DB8172B6098;
// System.Collections.Generic.HashSet`1<System.Object>
struct HashSet_1_t680119C7ED8D82AED56CDB83DF6F0E9149852A9B;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_t62010156673DE1460AB1D1CEBE5DCD48665E1A38;
// System.Collections.Generic.IEqualityComparer`1<System.Object>
struct IEqualityComparer_1_t1A386BEF1855064FD5CC71F340A68881A52B4932;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_tE6A65C5E45E33FD7D9849FD0914DE3AD32B68050;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Object>
struct KeyCollection_tBAE0EBE1B8D4A3690FCB3ADC3EF79DF8654B6A36;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,Photon.Realtime.Player>
struct KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Object,System.Object>
struct KeyCollection_tCA4820F8266AF4059CC5A14888D8195F0D797499;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.String,System.Object>
struct KeyCollection_t0043475CBB02FD67894529F3CAA818080A2F7A17;
// System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>
struct List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C;
// System.Collections.Generic.List`1<Photon.Realtime.ILobbyCallbacks>
struct List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E;
// System.Collections.Generic.List`1<Photon.Realtime.IMatchmakingCallbacks>
struct List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD;
// System.Collections.Generic.List`1<Photon.Realtime.IWebRpcCallback>
struct List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5;
// System.Collections.Generic.List`1<Photon.Realtime.Region>
struct List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F;
// System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>
struct List_1_t1D673277C302265BA143A7DD99DD859AF26CD431;
// System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>
struct List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694;
// System.Collections.Generic.List`1<System.String>
struct List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3;
// System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>
struct List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70;
// ExitGames.Client.Photon.NonAllocDictionary`2<System.Byte,System.Object>
struct NonAllocDictionary_2_t07335A344F844A2A25FA48F0345B70D74EADE0E9;
// ExitGames.Client.Photon.Pool`1<ExitGames.Client.Photon.ParameterDictionary>
struct Pool_1_t486C4CD13767CDEBD81407C28377537798E3C724;
// System.Predicate`1<System.Object>
struct Predicate_1_t5C96B81B31A697B11C4C3767E3298773AF25DFEB;
// System.Predicate`1<Photon.Realtime.Region>
struct Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E;
// System.Collections.Generic.Queue`1<Photon.Realtime.LoadBalancingClient/CallbackTargetChange>
struct Queue_1_tFF9526B5F79416765882A99F02C06F237631B787;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,Photon.Realtime.Player>
struct ValueCollection_tB1D381CB2B9FFAFA947CD2DE6E3BE83EAFBFEE27;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Object,System.Object>
struct ValueCollection_t0ACCC25930444F15B1857D00E9FB6021E5842852;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.Object>
struct ValueCollection_tB942A1033B750DCF04FE948413982D120FC69A4E;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,Photon.Realtime.Player>[]
struct EntryU5BU5D_tA87471823F6412DDEA130AD9B1808436E95B6D7D;
// System.Collections.Generic.Dictionary`2/Entry<System.Object,System.Object>[]
struct EntryU5BU5D_tA11A27A435DD770DB701FA3C8559ACA8B4E445E7;
// System.Collections.Generic.Dictionary`2/Entry<System.String,System.Object>[]
struct EntryU5BU5D_tDCA1A62E50C5B5A40FD6F44107088AF42F5671D2;
// System.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Delegate[]
struct DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8;
// Photon.Realtime.FriendInfo[]
struct FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982;
// Photon.Realtime.IInRoomCallbacks[]
struct IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4;
// Photon.Realtime.ILobbyCallbacks[]
struct ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C;
// Photon.Realtime.IMatchmakingCallbacks[]
struct IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868;
// Photon.Realtime.IWebRpcCallback[]
struct IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9;
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
// System.IntPtr[]
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
// Photon.Realtime.Region[]
struct RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB;
// Photon.Realtime.RegionPinger[]
struct RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772;
// Photon.Realtime.RoomInfo[]
struct RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
// System.String[]
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// Photon.Realtime.TypedLobbyInfo[]
struct TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A;
// System.AsyncCallback
struct AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA;
// Photon.Realtime.AuthenticationValues
struct AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A;
// System.Reflection.Binder
struct Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30;
// Photon.Realtime.ConnectionCallbacksContainer
struct ConnectionCallbacksContainer_t3FF418F792503D0BAEBE8E0FBA164ED635C5E627;
// System.DelegateData
struct DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288;
// System.Net.EndPoint
struct EndPoint_t18D4AE8D03090A2B262136E59F95CE61418C34DA;
// Photon.Realtime.EnterRoomParams
struct EnterRoomParams_t332FBCA3D53159524F5A58B535B05BF1E0470B3E;
// Photon.Realtime.ErrorInfo
struct ErrorInfo_tCF1CC371330203F98D00E197EE87658A8D0E0B80;
// Photon.Realtime.ErrorInfoCallbacksContainer
struct ErrorInfoCallbacksContainer_tB826CF47FBDA7DDE1BDE3433AD155B973DD800E6;
// System.Exception
struct Exception_t;
// ExitGames.Client.Photon.Hashtable
struct Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D;
// System.IAsyncResult
struct IAsyncResult_tC9F97BF36FCF122D29D3101D80642278297BF370;
// System.Collections.IDictionary
struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
// System.Collections.IEnumerator
struct IEnumerator_t5956F3AFB7ECF1117E3BC5890E7FC7B7F7A04105;
// Photon.Realtime.ILobbyCallbacks
struct ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA;
// Photon.Realtime.IMatchmakingCallbacks
struct IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE;
// System.IOAsyncCallback
struct IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E;
// ExitGames.Client.Photon.Encryption.IPhotonEncryptor
struct IPhotonEncryptor_t18BE97ECF51CF1962D3DAC142E983D781EC188B8;
// ExitGames.Client.Photon.IPhotonPeerListener
struct IPhotonPeerListener_t0EC4F0FF705EF3782FB5B261CB697B10EAC05127;
// ExitGames.Client.Photon.ITrafficRecorder
struct ITrafficRecorder_tFD1FC8FBC534DF3179E04BBAEDC3FE31263A1E92;
// Photon.Realtime.IWebRpcCallback
struct IWebRpcCallback_t88753C6C07891FBB7208902706B417D185B0B910;
// Photon.Realtime.InRoomCallbacksContainer
struct InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0;
// Photon.Realtime.LoadBalancingClient
struct LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A;
// Photon.Realtime.LoadBalancingPeer
struct LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4;
// Photon.Realtime.LobbyCallbacksContainer
struct LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788;
// Photon.Realtime.MatchMakingCallbacksContainer
struct MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09;
// System.Reflection.MemberFilter
struct MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A;
// System.NotImplementedException
struct NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6;
// System.NotSupportedException
struct NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339;
// Photon.Realtime.OpJoinRandomRoomParams
struct OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327;
// Photon.Realtime.OperationCode
struct OperationCode_tAE19E0EDB5B1C4ECDB32B71296B2551B6603BD76;
// ExitGames.Client.Photon.OperationResponse
struct OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339;
// Photon.Realtime.ParameterCode
struct ParameterCode_t2F505673161CEE1BB9B5B8C246092D789400E687;
// ExitGames.Client.Photon.ParameterDictionary
struct ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48;
// ExitGames.Client.Photon.PeerBase
struct PeerBase_t0434FE9EB58DFED6DB6E034A71351A7D4BF7C1CC;
// ExitGames.Client.Photon.PhotonPeer
struct PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD;
// Photon.Realtime.PhotonPing
struct PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D;
// Photon.Realtime.PingMono
struct PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB;
// Photon.Realtime.Player
struct Player_tC6DFC22DFF5978489C4CFA025695FEC556610214;
// Photon.Realtime.RaiseEventOptions
struct RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738;
// System.Random
struct Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118;
// Photon.Realtime.Region
struct Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0;
// Photon.Realtime.RegionHandler
struct RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53;
// Photon.Realtime.RegionPinger
struct RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139;
// Photon.Realtime.Room
struct Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D;
// Photon.Realtime.RoomInfo
struct RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889;
// Photon.Realtime.RoomOptions
struct RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
// System.Net.Sockets.SafeSocketHandle
struct SafeSocketHandle_t5050671179FB886DA1763A0E4EFB3FCD072363C9;
// System.Threading.SemaphoreSlim
struct SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385;
// System.Net.Sockets.Socket
struct Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09;
// System.Diagnostics.Stopwatch
struct Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89;
// System.String
struct String_t;
// System.Text.StringBuilder
struct StringBuilder_t;
// ExitGames.Client.Photon.StructWrapping.StructWrapperPools
struct StructWrapperPools_t86A975A25702E83B608EAB108905AEE46DFF47C3;
// Photon.Realtime.SupportLogger
struct SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002;
// ExitGames.Client.Photon.TrafficStats
struct TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871;
// ExitGames.Client.Photon.TrafficStatsGameLevel
struct TrafficStatsGameLevel_t058AE246B0BBFC65A16C16D2FB5631204E603CFE;
// System.Type
struct Type_t;
// Photon.Realtime.TypedLobby
struct TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5;
// Photon.Realtime.TypedLobbyInfo
struct TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6;
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
// System.Threading.WaitCallback
struct WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319;
// UnityEngine.WaitForSeconds
struct WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013;
// Photon.Realtime.WebFlags
struct WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F;
// Photon.Realtime.WebRpcCallbacksContainer
struct WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96;
// Photon.Realtime.WebRpcResponse
struct WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2;
// Photon.Realtime.LoadBalancingClient/CallbackTargetChange
struct CallbackTargetChange_tA10959BD5B7373AA9F6B40DB22CA100C2264C012;
// Photon.Realtime.LoadBalancingClient/EncryptionDataParameters
struct EncryptionDataParameters_tDF3DEF142EEA07FAC06E2DED344CB06BB9A07981;
// Photon.Realtime.LoadBalancingPeer/<>c
struct U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0;
// Photon.Realtime.RegionHandler/<>c
struct U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87;
// Photon.Realtime.RegionHandler/<>c__DisplayClass23_0
struct U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7;
// Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19
struct U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B;
IL2CPP_EXTERN_C RuntimeClass* Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AuthModeOption_t9A5CEB3C8BAF3AF2800AB83DC4E89CB5352758A8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ClientState_t11533963D5C7136417FA3C78902BB507A656A3DE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Console_t79987B1B5914E76054A8CBE506B9E11936A8BC07_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CustomAuthenticationType_tD0F6E6C7B5CFDC781EAB5E9CDC44F285B1499BEB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DisconnectCause_t68C88FC8A40416BE143C2121B174CD15DCE9ACA6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EncryptionMode_tEB96412F69C8B07702ED390EB12AB8A4FC1DEFCD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IWebRpcCallback_t88753C6C07891FBB7208902706B417D185B0B910_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t1D673277C302265BA143A7DD99DD859AF26CD431_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Player_tC6DFC22DFF5978489C4CFA025695FEC556610214_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimePlatform_tB8798C800FD9810C0FE2B7D2F2A0A3979D239065_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SupportClass_t46830F4C99606EB80D0E3B11502460A06782A012_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TargetFrameworks_tFB9EC18927F8361341260A59B592FAA8EB50177D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E____1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0_FieldInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD;
IL2CPP_EXTERN_C String_t* _stringLiteral01551127791BB14934414B8428B67FD51B390033;
IL2CPP_EXTERN_C String_t* _stringLiteral0189FB6AD9D638E3C269666967B4E89E8D319903;
IL2CPP_EXTERN_C String_t* _stringLiteral01BC6FF5AB7C7B79FA9D79F6E208A0C99F1F2A6F;
IL2CPP_EXTERN_C String_t* _stringLiteral07FD03DD59FDAA80CC68099220C8227F2FA1CCFF;
IL2CPP_EXTERN_C String_t* _stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9;
IL2CPP_EXTERN_C String_t* _stringLiteral111D994A41187DCF854E2098345172E28925CD36;
IL2CPP_EXTERN_C String_t* _stringLiteral158BCE3BED0666F14459D16BA73D781AC5421828;
IL2CPP_EXTERN_C String_t* _stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1;
IL2CPP_EXTERN_C String_t* _stringLiteral1DC8F452741B98B4EDFFC344FFF572F7D4862E33;
IL2CPP_EXTERN_C String_t* _stringLiteral1E2510325BB91639BC80976746CCEC9FE9947D99;
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
IL2CPP_EXTERN_C String_t* _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466;
IL2CPP_EXTERN_C String_t* _stringLiteral271CB9743B301F4C7123339F6C43C77525F17510;
IL2CPP_EXTERN_C String_t* _stringLiteral28A00C6C2538607194DCD2548EF0DFB07D324A14;
IL2CPP_EXTERN_C String_t* _stringLiteral28C16AD3D08B7CCD40C5C1BC966F3A5EB27FEF18;
IL2CPP_EXTERN_C String_t* _stringLiteral293EEA1FC571998DF9F8F43C7C67DEE8ADA92F9C;
IL2CPP_EXTERN_C String_t* _stringLiteral2BA731B2704F57E0D64A0B832502A59C9A647418;
IL2CPP_EXTERN_C String_t* _stringLiteral2D1D849A8EF3D0DDA637B8ADA1554F7B578F1CC2;
IL2CPP_EXTERN_C String_t* _stringLiteral33CA58FEF7436C175DDEA4DF7B79D3ED94347F00;
IL2CPP_EXTERN_C String_t* _stringLiteral38011452171D5D98758667404D6F17F5AF329293;
IL2CPP_EXTERN_C String_t* _stringLiteral39B336DD36B50FB46EDCCA9BA800A47C91B64279;
IL2CPP_EXTERN_C String_t* _stringLiteral3B24932FF933699B3A82EAC56B23A2606464B1D8;
IL2CPP_EXTERN_C String_t* _stringLiteral3FBE4F3AA3E49A414AF5407C10B40EE841A2CC35;
IL2CPP_EXTERN_C String_t* _stringLiteral4107A0725173791DF5ACF52B43FBF074AD90C194;
IL2CPP_EXTERN_C String_t* _stringLiteral420970FC857D0E541C788790F58AA66962B22CC8;
IL2CPP_EXTERN_C String_t* _stringLiteral434B88A621AE585B51960C78E2DF0477F0B8A8B8;
IL2CPP_EXTERN_C String_t* _stringLiteral455DE8D137F50C17707B3E37FA74BEBEE69B1EAD;
IL2CPP_EXTERN_C String_t* _stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77;
IL2CPP_EXTERN_C String_t* _stringLiteral49221D9FFDE2F83640CB6D959D4A66D1492381B7;
IL2CPP_EXTERN_C String_t* _stringLiteral4AC887B4E0A467A6BA01B455BC69AFA2A62EE8A1;
IL2CPP_EXTERN_C String_t* _stringLiteral50639CAD49418C7B223CC529395C0E2A3892501C;
IL2CPP_EXTERN_C String_t* _stringLiteral540DF62958FE561DF345A0B2657F949B0DBED003;
IL2CPP_EXTERN_C String_t* _stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB;
IL2CPP_EXTERN_C String_t* _stringLiteral574AF626B2ECA36F40D5D593643BB7683F9514E2;
IL2CPP_EXTERN_C String_t* _stringLiteral5B49F56286E679FA58107352F1A55E4C9D0B9352;
IL2CPP_EXTERN_C String_t* _stringLiteral5C2B738C07CAF0CE8EC4DF3FD24573F2DFFE3D56;
IL2CPP_EXTERN_C String_t* _stringLiteral5C67743CDBE53FB079609F78DCB88B3481C5E480;
IL2CPP_EXTERN_C String_t* _stringLiteral677B5ACFFA9821CA29C5B6329DD4778CE1AC133B;
IL2CPP_EXTERN_C String_t* _stringLiteral6808135BCC86E2F4461A09CFB8F51ED8ADE6E02A;
IL2CPP_EXTERN_C String_t* _stringLiteral691FADBE26C2608C232E86F1289D3E5FCC330C03;
IL2CPP_EXTERN_C String_t* _stringLiteral7055E349A166CE4A3570F4C7C1A34114B0CEBF90;
IL2CPP_EXTERN_C String_t* _stringLiteral7136AEAA5BD67DEBF76ECAFE7D0099300C49F853;
IL2CPP_EXTERN_C String_t* _stringLiteral72B7AAEA9F105BC899930B342A7753298A5FCFB2;
IL2CPP_EXTERN_C String_t* _stringLiteral744BF9AE3CE56EE58F000CE7C3F4F94C51ABA032;
IL2CPP_EXTERN_C String_t* _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D;
IL2CPP_EXTERN_C String_t* _stringLiteral7E357C31C3E3A0DB2B89D68F7FD43137F7E8DDED;
IL2CPP_EXTERN_C String_t* _stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1;
IL2CPP_EXTERN_C String_t* _stringLiteral875CF8A46A6E3F0725287DAF52B09AF91CB77C71;
IL2CPP_EXTERN_C String_t* _stringLiteral8D1239F07A9E8331EAEB0B65C253D33291FDD92B;
IL2CPP_EXTERN_C String_t* _stringLiteral8F922B5D2735B37B3F9E1522305AB8CCD8ED274B;
IL2CPP_EXTERN_C String_t* _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3;
IL2CPP_EXTERN_C String_t* _stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01;
IL2CPP_EXTERN_C String_t* _stringLiteral9692BF3609B3FA99897E14252C1A031B33C30B4C;
IL2CPP_EXTERN_C String_t* _stringLiteral975531AFC28B31E2C3F222277BE27AB31AE7D4B6;
IL2CPP_EXTERN_C String_t* _stringLiteral9A237664FCA59B03D60331058EF83BB83DB96F01;
IL2CPP_EXTERN_C String_t* _stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA;
IL2CPP_EXTERN_C String_t* _stringLiteralAD6CD2C36915DEB6A18BCF0F46B294FC1D97072F;
IL2CPP_EXTERN_C String_t* _stringLiteralAD892ABAE7A60B21A969B33CD88235B1C22DC99A;
IL2CPP_EXTERN_C String_t* _stringLiteralB056053ED873F9751A6BF8D0EBEA1D10D0FF2F34;
IL2CPP_EXTERN_C String_t* _stringLiteralB18B972DF30D22EF004BFFEF3F5C7E126C9DA580;
IL2CPP_EXTERN_C String_t* _stringLiteralB4175BA66C7FF6F238B86BBCB5E18C2056A2A746;
IL2CPP_EXTERN_C String_t* _stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4;
IL2CPP_EXTERN_C String_t* _stringLiteralB7A31DE996B60085FB46F6A81676B93820640015;
IL2CPP_EXTERN_C String_t* _stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB;
IL2CPP_EXTERN_C String_t* _stringLiteralC5C042EF0B89D7EEE23EC7B3EC0EEEDD3426C182;
IL2CPP_EXTERN_C String_t* _stringLiteralC6E991ED5BE61BA247C34D2EA20D5214650C6DDC;
IL2CPP_EXTERN_C String_t* _stringLiteralCADE992351A796143F5F5164E100121E1080BF4C;
IL2CPP_EXTERN_C String_t* _stringLiteralCCD622A0C172A17233733204AD188DD1F1207FAC;
IL2CPP_EXTERN_C String_t* _stringLiteralD4790BF76CC94ADC0486FBF64F752246D60263C5;
IL2CPP_EXTERN_C String_t* _stringLiteralD6531E0D94FC153A90B43E184D8F7C53223B3B7D;
IL2CPP_EXTERN_C String_t* _stringLiteralD9E5192EBC7274833C57CDADEBF297584EA1559B;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralDAE93AA613D9CE34751185FB80DED40E346E9444;
IL2CPP_EXTERN_C String_t* _stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F;
IL2CPP_EXTERN_C String_t* _stringLiteralE115685933AB6FADBFC7D7A380253AE496EE2014;
IL2CPP_EXTERN_C String_t* _stringLiteralE2B8CF328F46C5FE3BCBA0EAD12CCBFAF5CE1356;
IL2CPP_EXTERN_C String_t* _stringLiteralE51BAB8EEF309071E735D738BA793BB2B271FC56;
IL2CPP_EXTERN_C String_t* _stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D;
IL2CPP_EXTERN_C String_t* _stringLiteralFAFE1135E66E66BD15C9C823C63EB9B6F691436F;
IL2CPP_EXTERN_C String_t* _stringLiteralFB509740A88CB90C1FADEE5AF8BBF1DEEA0A7D27;
IL2CPP_EXTERN_C String_t* _stringLiteralFCF229FD3FDDCC26316DD55763B57CA36D12D076;
IL2CPP_EXTERN_C String_t* _stringLiteralFD75639C00900E4F0EE245691B4C30ECBDA2F78D;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Array_Sort_TisString_t_m229639047FA4F41C666B22D8622E9E365388021D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Comparison_1__ctor_mA4CB303D14E30311ABEC07F98790A911CB0CE796_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m5EBBC2A06520776FEB61E60D39288257C2B21CAE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Remove_m5B30EAC7849BFA06D84BA702A294CFE6294AA0C5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mDD07DD29A313814DB347A27C63F186F838A3CCB6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m509E785E52A1C3861A9831F55E46B4095C2B2D1A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Keys_m07E7526C0EDDB7AAF410E54239FF7E55392D14AD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m24787D672A337A4370033965C61983244CAEDCC9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m492BB7DE67687EE031F83C8871BA52A7982E5DB2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m87945B334F6E2C5477F4595280639EA880375F96_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mB2610FB2D29BBB67AC83D7778780869CEDE26135_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mC3E14D29C667AA45F0B7C9EC1D69CC7A366303BC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mD05E3258BF460CE4EEDF9EE6175D66A1FFF4A8F5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mF0E7127A0315685B63DDC4C8DDE93B09EE3BDB12_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m680C25AEA7D55337233A7E8BC43CB744C13AC70C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mB1AAE567ED13BADAD4377F5F44617333C25DC4E0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mF4F97169F8E940F596801EF80998DE4C323EA7BA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* KeyCollection_GetEnumerator_m7B65C611E4CD78F269F1708E35EF9B60991D29BE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m1ED31F575834F4032303CF576B52D0959CC4817B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m2C1C7B1A5C96A774FA3A81D20EDA0E761151F731_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Find_m546ED31E212B8AFCA28B0B71E5E00F857C1FE4AF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m226CFA5DFA50CE13735EE6513D8A8B7E613DEE45_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mB2C214F87115F7C88741421A1EF07FDA844B0220_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Sort_m5ED6D7674462D105D844BB73392804E0F8E61DA3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m94163AE84EBF9A1F7483014A8E9906BD93D9EBDB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m0D84EC4C094708A14A2710C8649E512A70CB6522_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m30772CE0C80FA42C42B1696F89CA51E3A33EEA53_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4D81A60A3C9A9F425B13CEE1AC43A357335E8B0B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m5462D7A858BD379CFB03F04883D27C04BA82CCED_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mCA9D92E55CB629CEA65A2C9E2CD99E57A978EA58_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mDC17CD5E09EACFEDC3ED85B6903F3CE2B06E5702_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m83A9CA4DC00347E0F2910B6DADDD67583ED0D539_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m7E05A57B3F8096D5A019982D00205AD93C738515_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PhotonPing_Dispose_m290F9ACB42FB54CE018162A411D69C1B966CA630_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PhotonPing_Done_mB5ED5DA306F7D0292028DB14E33D07479850B614_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PhotonPing_StartPing_m772EB2BB0A3040C506B948D01DABD8FB0B84C474_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Predicate_1__ctor_m7F486EFBCC6C25F9EE9C0BC8DD6150682E273598_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RegionHandler_OnPreferredRegionPinged_mA55641C720644909E2B0E801CC9003F16A94943F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RegionHandler_OnRegionDone_m597D17F1600D81FB08B9F07869BFC91C59446458_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RegionPinger_RegionPingPooled_mC411AB78EF6354181B0389C38383AF90D18AD625_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CRegionPingCoroutineU3Ed__19_System_Collections_IEnumerator_Reset_mFCCB66E1232CF6645B1DA455C9D5154948EE2ECB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3Cget_BestRegionU3Eb__8_0_m1AC1E7195D3E64B769C3237D6086BF7FE6051D54_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass23_0_U3CPingMinimumOfRegionsU3Eb__0_m27AD0937D9EC80F239FF68225E8211250B13D312_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_0_0_0_var;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>
struct Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tA87471823F6412DDEA130AD9B1808436E95B6D7D* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_tB1D381CB2B9FFAFA947CD2DE6E3BE83EAFBFEE27 * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___buckets_0)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___entries_1)); }
inline EntryU5BU5D_tA87471823F6412DDEA130AD9B1808436E95B6D7D* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tA87471823F6412DDEA130AD9B1808436E95B6D7D** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tA87471823F6412DDEA130AD9B1808436E95B6D7D* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___keys_7)); }
inline KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ___values_8)); }
inline ValueCollection_tB1D381CB2B9FFAFA947CD2DE6E3BE83EAFBFEE27 * get_values_8() const { return ___values_8; }
inline ValueCollection_tB1D381CB2B9FFAFA947CD2DE6E3BE83EAFBFEE27 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_tB1D381CB2B9FFAFA947CD2DE6E3BE83EAFBFEE27 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tA11A27A435DD770DB701FA3C8559ACA8B4E445E7* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_tCA4820F8266AF4059CC5A14888D8195F0D797499 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t0ACCC25930444F15B1857D00E9FB6021E5842852 * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___buckets_0)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___entries_1)); }
inline EntryU5BU5D_tA11A27A435DD770DB701FA3C8559ACA8B4E445E7* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tA11A27A435DD770DB701FA3C8559ACA8B4E445E7** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tA11A27A435DD770DB701FA3C8559ACA8B4E445E7* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___keys_7)); }
inline KeyCollection_tCA4820F8266AF4059CC5A14888D8195F0D797499 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_tCA4820F8266AF4059CC5A14888D8195F0D797499 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_tCA4820F8266AF4059CC5A14888D8195F0D797499 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ___values_8)); }
inline ValueCollection_t0ACCC25930444F15B1857D00E9FB6021E5842852 * get_values_8() const { return ___values_8; }
inline ValueCollection_t0ACCC25930444F15B1857D00E9FB6021E5842852 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t0ACCC25930444F15B1857D00E9FB6021E5842852 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.String,System.Object>
struct Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tDCA1A62E50C5B5A40FD6F44107088AF42F5671D2* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t0043475CBB02FD67894529F3CAA818080A2F7A17 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_tB942A1033B750DCF04FE948413982D120FC69A4E * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___buckets_0)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___entries_1)); }
inline EntryU5BU5D_tDCA1A62E50C5B5A40FD6F44107088AF42F5671D2* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tDCA1A62E50C5B5A40FD6F44107088AF42F5671D2** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tDCA1A62E50C5B5A40FD6F44107088AF42F5671D2* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___keys_7)); }
inline KeyCollection_t0043475CBB02FD67894529F3CAA818080A2F7A17 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t0043475CBB02FD67894529F3CAA818080A2F7A17 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t0043475CBB02FD67894529F3CAA818080A2F7A17 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ___values_8)); }
inline ValueCollection_tB942A1033B750DCF04FE948413982D120FC69A4E * get_values_8() const { return ___values_8; }
inline ValueCollection_tB942A1033B750DCF04FE948413982D120FC69A4E ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_tB942A1033B750DCF04FE948413982D120FC69A4E * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.EmptyArray`1<System.Object>
struct EmptyArray_1_tBF73225DFA890366D579424FE8F40073BF9FBAD4 : public RuntimeObject
{
public:
public:
};
struct EmptyArray_1_tBF73225DFA890366D579424FE8F40073BF9FBAD4_StaticFields
{
public:
// T[] System.EmptyArray`1::Value
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___Value_0;
public:
inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(EmptyArray_1_tBF73225DFA890366D579424FE8F40073BF9FBAD4_StaticFields, ___Value_0)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get_Value_0() const { return ___Value_0; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of_Value_0() { return &___Value_0; }
inline void set_Value_0(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
___Value_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Value_0), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,Photon.Realtime.Player>
struct KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 : public RuntimeObject
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection::dictionary
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * ___dictionary_0;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113, ___dictionary_0)); }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>
struct List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C, ____items_1)); }
inline FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* get__items_1() const { return ____items_1; }
inline FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C, ____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_t329E537BFFC32042EF9818A1DAD852B96553F60C, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C_StaticFields, ____emptyArray_5)); }
inline FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* get__emptyArray_5() const { return ____emptyArray_5; }
inline FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(FriendInfoU5BU5D_tE2FC67380561482C72E89F355A6F7A4569D56982* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.IInRoomCallbacks>
struct List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A, ____items_1)); }
inline IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* get__items_1() const { return ____items_1; }
inline IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A, ____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_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A_StaticFields, ____emptyArray_5)); }
inline IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* get__emptyArray_5() const { return ____emptyArray_5; }
inline IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(IInRoomCallbacksU5BU5D_tFBF0709A03C17B9678D9348FF592289D16A3A8F4* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.ILobbyCallbacks>
struct List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E, ____items_1)); }
inline ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* get__items_1() const { return ____items_1; }
inline ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E, ____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_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E_StaticFields, ____emptyArray_5)); }
inline ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* get__emptyArray_5() const { return ____emptyArray_5; }
inline ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ILobbyCallbacksU5BU5D_t92A1F19E657F29CC3E8D1777A31B1B606A1DD08C* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.IMatchmakingCallbacks>
struct List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD, ____items_1)); }
inline IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* get__items_1() const { return ____items_1; }
inline IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD, ____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_t3541A2225D785EFFDC52FF0462284B3290B628FD, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD_StaticFields, ____emptyArray_5)); }
inline IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* get__emptyArray_5() const { return ____emptyArray_5; }
inline IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(IMatchmakingCallbacksU5BU5D_tA36C2F471B13DCC3E6C96FC798C697BCA35CE868* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.IWebRpcCallback>
struct List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34, ____items_1)); }
inline IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* get__items_1() const { return ____items_1; }
inline IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34, ____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_t1223B9546ED77E8B481F8B48E3044CDADC546E34, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34_StaticFields, ____emptyArray_5)); }
inline IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* get__emptyArray_5() const { return ____emptyArray_5; }
inline IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(IWebRpcCallbackU5BU5D_tE324A8C247054CB577FC03E39F8BA7A51F69BEA9* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7, ____items_1)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get__items_1() const { return ____items_1; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7, ____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_t260B41F956D673396C33A4CF94E8D6C4389EACB7, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7_StaticFields, ____emptyArray_5)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get__emptyArray_5() const { return ____emptyArray_5; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5, ____items_1)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get__items_1() const { return ____items_1; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5, ____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_t3F94120C77410A62EAE48421CF166B83AB95A2F5, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5_StaticFields, ____emptyArray_5)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get__emptyArray_5() const { return ____emptyArray_5; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.Region>
struct List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F, ____items_1)); }
inline RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* get__items_1() const { return ____items_1; }
inline RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F, ____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_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F_StaticFields, ____emptyArray_5)); }
inline RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* get__emptyArray_5() const { return ____emptyArray_5; }
inline RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RegionU5BU5D_tBAB497EEC00BDFAAF0D7B10A130B77E72B9EB2BB* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>
struct List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431, ____items_1)); }
inline RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* get__items_1() const { return ____items_1; }
inline RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431, ____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_t1D673277C302265BA143A7DD99DD859AF26CD431, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t1D673277C302265BA143A7DD99DD859AF26CD431_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431_StaticFields, ____emptyArray_5)); }
inline RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* get__emptyArray_5() const { return ____emptyArray_5; }
inline RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RegionPingerU5BU5D_t2BB2B0E9360917C172DBAF8A53DE66D9C04CA772* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>
struct List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694, ____items_1)); }
inline RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* get__items_1() const { return ____items_1; }
inline RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694, ____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_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694_StaticFields, ____emptyArray_5)); }
inline RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* get__emptyArray_5() const { return ____emptyArray_5; }
inline RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(RoomInfoU5BU5D_tE2FBC099EAF490BD0F682FA7DD88585975230DEB* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.String>
struct List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3, ____items_1)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get__items_1() const { return ____items_1; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3, ____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_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3_StaticFields, ____emptyArray_5)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get__emptyArray_5() const { return ____emptyArray_5; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>
struct List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
public:
inline static int32_t get_offset_of__items_1() { return static_cast<int32_t>(offsetof(List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70, ____items_1)); }
inline TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* get__items_1() const { return ____items_1; }
inline TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* value)
{
____items_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_1), (void*)value);
}
inline static int32_t get_offset_of__size_2() { return static_cast<int32_t>(offsetof(List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70, ____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_tE47B5E59999F5719162B295364BEE262CCDB9C70, ____version_3)); }
inline int32_t get__version_3() const { return ____version_3; }
inline int32_t* get_address_of__version_3() { return &____version_3; }
inline void set__version_3(int32_t value)
{
____version_3 = value;
}
inline static int32_t get_offset_of__syncRoot_4() { return static_cast<int32_t>(offsetof(List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70, ____syncRoot_4)); }
inline RuntimeObject * get__syncRoot_4() const { return ____syncRoot_4; }
inline RuntimeObject ** get_address_of__syncRoot_4() { return &____syncRoot_4; }
inline void set__syncRoot_4(RuntimeObject * value)
{
____syncRoot_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_4), (void*)value);
}
};
struct List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70_StaticFields, ____emptyArray_5)); }
inline TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* get__emptyArray_5() const { return ____emptyArray_5; }
inline TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(TypedLobbyInfoU5BU5D_tD52EA55FBF373E0F6FEF6118691A506ADBFF833A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
struct Il2CppArrayBounds;
// System.Array
// Photon.Realtime.ErrorInfo
struct ErrorInfo_tCF1CC371330203F98D00E197EE87658A8D0E0B80 : public RuntimeObject
{
public:
// System.String Photon.Realtime.ErrorInfo::Info
String_t* ___Info_0;
public:
inline static int32_t get_offset_of_Info_0() { return static_cast<int32_t>(offsetof(ErrorInfo_tCF1CC371330203F98D00E197EE87658A8D0E0B80, ___Info_0)); }
inline String_t* get_Info_0() const { return ___Info_0; }
inline String_t** get_address_of_Info_0() { return &___Info_0; }
inline void set_Info_0(String_t* value)
{
___Info_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Info_0), (void*)value);
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// Photon.Realtime.OperationCode
struct OperationCode_tAE19E0EDB5B1C4ECDB32B71296B2551B6603BD76 : public RuntimeObject
{
public:
public:
};
// ExitGames.Client.Photon.OperationResponse
struct OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 : public RuntimeObject
{
public:
// System.Byte ExitGames.Client.Photon.OperationResponse::OperationCode
uint8_t ___OperationCode_0;
// System.Int16 ExitGames.Client.Photon.OperationResponse::ReturnCode
int16_t ___ReturnCode_1;
// System.String ExitGames.Client.Photon.OperationResponse::DebugMessage
String_t* ___DebugMessage_2;
// ExitGames.Client.Photon.ParameterDictionary ExitGames.Client.Photon.OperationResponse::Parameters
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * ___Parameters_3;
public:
inline static int32_t get_offset_of_OperationCode_0() { return static_cast<int32_t>(offsetof(OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339, ___OperationCode_0)); }
inline uint8_t get_OperationCode_0() const { return ___OperationCode_0; }
inline uint8_t* get_address_of_OperationCode_0() { return &___OperationCode_0; }
inline void set_OperationCode_0(uint8_t value)
{
___OperationCode_0 = value;
}
inline static int32_t get_offset_of_ReturnCode_1() { return static_cast<int32_t>(offsetof(OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339, ___ReturnCode_1)); }
inline int16_t get_ReturnCode_1() const { return ___ReturnCode_1; }
inline int16_t* get_address_of_ReturnCode_1() { return &___ReturnCode_1; }
inline void set_ReturnCode_1(int16_t value)
{
___ReturnCode_1 = value;
}
inline static int32_t get_offset_of_DebugMessage_2() { return static_cast<int32_t>(offsetof(OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339, ___DebugMessage_2)); }
inline String_t* get_DebugMessage_2() const { return ___DebugMessage_2; }
inline String_t** get_address_of_DebugMessage_2() { return &___DebugMessage_2; }
inline void set_DebugMessage_2(String_t* value)
{
___DebugMessage_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DebugMessage_2), (void*)value);
}
inline static int32_t get_offset_of_Parameters_3() { return static_cast<int32_t>(offsetof(OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339, ___Parameters_3)); }
inline ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * get_Parameters_3() const { return ___Parameters_3; }
inline ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 ** get_address_of_Parameters_3() { return &___Parameters_3; }
inline void set_Parameters_3(ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * value)
{
___Parameters_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Parameters_3), (void*)value);
}
};
// Photon.Realtime.ParameterCode
struct ParameterCode_t2F505673161CEE1BB9B5B8C246092D789400E687 : public RuntimeObject
{
public:
public:
};
// ExitGames.Client.Photon.ParameterDictionary
struct ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 : public RuntimeObject
{
public:
// ExitGames.Client.Photon.NonAllocDictionary`2<System.Byte,System.Object> ExitGames.Client.Photon.ParameterDictionary::paramDict
NonAllocDictionary_2_t07335A344F844A2A25FA48F0345B70D74EADE0E9 * ___paramDict_0;
// ExitGames.Client.Photon.StructWrapping.StructWrapperPools ExitGames.Client.Photon.ParameterDictionary::wrapperPools
StructWrapperPools_t86A975A25702E83B608EAB108905AEE46DFF47C3 * ___wrapperPools_1;
public:
inline static int32_t get_offset_of_paramDict_0() { return static_cast<int32_t>(offsetof(ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48, ___paramDict_0)); }
inline NonAllocDictionary_2_t07335A344F844A2A25FA48F0345B70D74EADE0E9 * get_paramDict_0() const { return ___paramDict_0; }
inline NonAllocDictionary_2_t07335A344F844A2A25FA48F0345B70D74EADE0E9 ** get_address_of_paramDict_0() { return &___paramDict_0; }
inline void set_paramDict_0(NonAllocDictionary_2_t07335A344F844A2A25FA48F0345B70D74EADE0E9 * value)
{
___paramDict_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___paramDict_0), (void*)value);
}
inline static int32_t get_offset_of_wrapperPools_1() { return static_cast<int32_t>(offsetof(ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48, ___wrapperPools_1)); }
inline StructWrapperPools_t86A975A25702E83B608EAB108905AEE46DFF47C3 * get_wrapperPools_1() const { return ___wrapperPools_1; }
inline StructWrapperPools_t86A975A25702E83B608EAB108905AEE46DFF47C3 ** get_address_of_wrapperPools_1() { return &___wrapperPools_1; }
inline void set_wrapperPools_1(StructWrapperPools_t86A975A25702E83B608EAB108905AEE46DFF47C3 * value)
{
___wrapperPools_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___wrapperPools_1), (void*)value);
}
};
// Photon.Realtime.PhotonPing
struct PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D : public RuntimeObject
{
public:
// System.String Photon.Realtime.PhotonPing::DebugString
String_t* ___DebugString_0;
// System.Boolean Photon.Realtime.PhotonPing::Successful
bool ___Successful_1;
// System.Boolean Photon.Realtime.PhotonPing::GotResult
bool ___GotResult_2;
// System.Int32 Photon.Realtime.PhotonPing::PingLength
int32_t ___PingLength_3;
// System.Byte[] Photon.Realtime.PhotonPing::PingBytes
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___PingBytes_4;
// System.Byte Photon.Realtime.PhotonPing::PingId
uint8_t ___PingId_5;
public:
inline static int32_t get_offset_of_DebugString_0() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___DebugString_0)); }
inline String_t* get_DebugString_0() const { return ___DebugString_0; }
inline String_t** get_address_of_DebugString_0() { return &___DebugString_0; }
inline void set_DebugString_0(String_t* value)
{
___DebugString_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DebugString_0), (void*)value);
}
inline static int32_t get_offset_of_Successful_1() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___Successful_1)); }
inline bool get_Successful_1() const { return ___Successful_1; }
inline bool* get_address_of_Successful_1() { return &___Successful_1; }
inline void set_Successful_1(bool value)
{
___Successful_1 = value;
}
inline static int32_t get_offset_of_GotResult_2() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___GotResult_2)); }
inline bool get_GotResult_2() const { return ___GotResult_2; }
inline bool* get_address_of_GotResult_2() { return &___GotResult_2; }
inline void set_GotResult_2(bool value)
{
___GotResult_2 = value;
}
inline static int32_t get_offset_of_PingLength_3() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___PingLength_3)); }
inline int32_t get_PingLength_3() const { return ___PingLength_3; }
inline int32_t* get_address_of_PingLength_3() { return &___PingLength_3; }
inline void set_PingLength_3(int32_t value)
{
___PingLength_3 = value;
}
inline static int32_t get_offset_of_PingBytes_4() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___PingBytes_4)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_PingBytes_4() const { return ___PingBytes_4; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_PingBytes_4() { return &___PingBytes_4; }
inline void set_PingBytes_4(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___PingBytes_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PingBytes_4), (void*)value);
}
inline static int32_t get_offset_of_PingId_5() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D, ___PingId_5)); }
inline uint8_t get_PingId_5() const { return ___PingId_5; }
inline uint8_t* get_address_of_PingId_5() { return &___PingId_5; }
inline void set_PingId_5(uint8_t value)
{
___PingId_5 = value;
}
};
struct PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_StaticFields
{
public:
// System.Random Photon.Realtime.PhotonPing::RandomIdProvider
Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * ___RandomIdProvider_6;
public:
inline static int32_t get_offset_of_RandomIdProvider_6() { return static_cast<int32_t>(offsetof(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_StaticFields, ___RandomIdProvider_6)); }
inline Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * get_RandomIdProvider_6() const { return ___RandomIdProvider_6; }
inline Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 ** get_address_of_RandomIdProvider_6() { return &___RandomIdProvider_6; }
inline void set_RandomIdProvider_6(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * value)
{
___RandomIdProvider_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RandomIdProvider_6), (void*)value);
}
};
// Photon.Realtime.Player
struct Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 : public RuntimeObject
{
public:
// Photon.Realtime.Room Photon.Realtime.Player::<RoomReference>k__BackingField
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * ___U3CRoomReferenceU3Ek__BackingField_0;
// System.Int32 Photon.Realtime.Player::actorNumber
int32_t ___actorNumber_1;
// System.Boolean Photon.Realtime.Player::IsLocal
bool ___IsLocal_2;
// System.Boolean Photon.Realtime.Player::<HasRejoined>k__BackingField
bool ___U3CHasRejoinedU3Ek__BackingField_3;
// System.String Photon.Realtime.Player::nickName
String_t* ___nickName_4;
// System.String Photon.Realtime.Player::<UserId>k__BackingField
String_t* ___U3CUserIdU3Ek__BackingField_5;
// System.Boolean Photon.Realtime.Player::<IsInactive>k__BackingField
bool ___U3CIsInactiveU3Ek__BackingField_6;
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Player::<CustomProperties>k__BackingField
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___U3CCustomPropertiesU3Ek__BackingField_7;
// System.Object Photon.Realtime.Player::TagObject
RuntimeObject * ___TagObject_8;
public:
inline static int32_t get_offset_of_U3CRoomReferenceU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___U3CRoomReferenceU3Ek__BackingField_0)); }
inline Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * get_U3CRoomReferenceU3Ek__BackingField_0() const { return ___U3CRoomReferenceU3Ek__BackingField_0; }
inline Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D ** get_address_of_U3CRoomReferenceU3Ek__BackingField_0() { return &___U3CRoomReferenceU3Ek__BackingField_0; }
inline void set_U3CRoomReferenceU3Ek__BackingField_0(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * value)
{
___U3CRoomReferenceU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CRoomReferenceU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_actorNumber_1() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___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_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___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_U3CHasRejoinedU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___U3CHasRejoinedU3Ek__BackingField_3)); }
inline bool get_U3CHasRejoinedU3Ek__BackingField_3() const { return ___U3CHasRejoinedU3Ek__BackingField_3; }
inline bool* get_address_of_U3CHasRejoinedU3Ek__BackingField_3() { return &___U3CHasRejoinedU3Ek__BackingField_3; }
inline void set_U3CHasRejoinedU3Ek__BackingField_3(bool value)
{
___U3CHasRejoinedU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_nickName_4() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___nickName_4)); }
inline String_t* get_nickName_4() const { return ___nickName_4; }
inline String_t** get_address_of_nickName_4() { return &___nickName_4; }
inline void set_nickName_4(String_t* value)
{
___nickName_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nickName_4), (void*)value);
}
inline static int32_t get_offset_of_U3CUserIdU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___U3CUserIdU3Ek__BackingField_5)); }
inline String_t* get_U3CUserIdU3Ek__BackingField_5() const { return ___U3CUserIdU3Ek__BackingField_5; }
inline String_t** get_address_of_U3CUserIdU3Ek__BackingField_5() { return &___U3CUserIdU3Ek__BackingField_5; }
inline void set_U3CUserIdU3Ek__BackingField_5(String_t* value)
{
___U3CUserIdU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CUserIdU3Ek__BackingField_5), (void*)value);
}
inline static int32_t get_offset_of_U3CIsInactiveU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___U3CIsInactiveU3Ek__BackingField_6)); }
inline bool get_U3CIsInactiveU3Ek__BackingField_6() const { return ___U3CIsInactiveU3Ek__BackingField_6; }
inline bool* get_address_of_U3CIsInactiveU3Ek__BackingField_6() { return &___U3CIsInactiveU3Ek__BackingField_6; }
inline void set_U3CIsInactiveU3Ek__BackingField_6(bool value)
{
___U3CIsInactiveU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CCustomPropertiesU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___U3CCustomPropertiesU3Ek__BackingField_7)); }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * get_U3CCustomPropertiesU3Ek__BackingField_7() const { return ___U3CCustomPropertiesU3Ek__BackingField_7; }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D ** get_address_of_U3CCustomPropertiesU3Ek__BackingField_7() { return &___U3CCustomPropertiesU3Ek__BackingField_7; }
inline void set_U3CCustomPropertiesU3Ek__BackingField_7(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * value)
{
___U3CCustomPropertiesU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCustomPropertiesU3Ek__BackingField_7), (void*)value);
}
inline static int32_t get_offset_of_TagObject_8() { return static_cast<int32_t>(offsetof(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214, ___TagObject_8)); }
inline RuntimeObject * get_TagObject_8() const { return ___TagObject_8; }
inline RuntimeObject ** get_address_of_TagObject_8() { return &___TagObject_8; }
inline void set_TagObject_8(RuntimeObject * value)
{
___TagObject_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TagObject_8), (void*)value);
}
};
// System.Random
struct Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 : public RuntimeObject
{
public:
// System.Int32 System.Random::inext
int32_t ___inext_3;
// System.Int32 System.Random::inextp
int32_t ___inextp_4;
// System.Int32[] System.Random::SeedArray
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___SeedArray_5;
public:
inline static int32_t get_offset_of_inext_3() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inext_3)); }
inline int32_t get_inext_3() const { return ___inext_3; }
inline int32_t* get_address_of_inext_3() { return &___inext_3; }
inline void set_inext_3(int32_t value)
{
___inext_3 = value;
}
inline static int32_t get_offset_of_inextp_4() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___inextp_4)); }
inline int32_t get_inextp_4() const { return ___inextp_4; }
inline int32_t* get_address_of_inextp_4() { return &___inextp_4; }
inline void set_inextp_4(int32_t value)
{
___inextp_4 = value;
}
inline static int32_t get_offset_of_SeedArray_5() { return static_cast<int32_t>(offsetof(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118, ___SeedArray_5)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_SeedArray_5() const { return ___SeedArray_5; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_SeedArray_5() { return &___SeedArray_5; }
inline void set_SeedArray_5(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___SeedArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SeedArray_5), (void*)value);
}
};
// Photon.Realtime.Region
struct Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 : public RuntimeObject
{
public:
// System.String Photon.Realtime.Region::<Code>k__BackingField
String_t* ___U3CCodeU3Ek__BackingField_0;
// System.String Photon.Realtime.Region::<Cluster>k__BackingField
String_t* ___U3CClusterU3Ek__BackingField_1;
// System.String Photon.Realtime.Region::<HostAndPort>k__BackingField
String_t* ___U3CHostAndPortU3Ek__BackingField_2;
// System.Int32 Photon.Realtime.Region::<Ping>k__BackingField
int32_t ___U3CPingU3Ek__BackingField_3;
public:
inline static int32_t get_offset_of_U3CCodeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0, ___U3CCodeU3Ek__BackingField_0)); }
inline String_t* get_U3CCodeU3Ek__BackingField_0() const { return ___U3CCodeU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CCodeU3Ek__BackingField_0() { return &___U3CCodeU3Ek__BackingField_0; }
inline void set_U3CCodeU3Ek__BackingField_0(String_t* value)
{
___U3CCodeU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCodeU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CClusterU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0, ___U3CClusterU3Ek__BackingField_1)); }
inline String_t* get_U3CClusterU3Ek__BackingField_1() const { return ___U3CClusterU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CClusterU3Ek__BackingField_1() { return &___U3CClusterU3Ek__BackingField_1; }
inline void set_U3CClusterU3Ek__BackingField_1(String_t* value)
{
___U3CClusterU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CClusterU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CHostAndPortU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0, ___U3CHostAndPortU3Ek__BackingField_2)); }
inline String_t* get_U3CHostAndPortU3Ek__BackingField_2() const { return ___U3CHostAndPortU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CHostAndPortU3Ek__BackingField_2() { return &___U3CHostAndPortU3Ek__BackingField_2; }
inline void set_U3CHostAndPortU3Ek__BackingField_2(String_t* value)
{
___U3CHostAndPortU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CHostAndPortU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CPingU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0, ___U3CPingU3Ek__BackingField_3)); }
inline int32_t get_U3CPingU3Ek__BackingField_3() const { return ___U3CPingU3Ek__BackingField_3; }
inline int32_t* get_address_of_U3CPingU3Ek__BackingField_3() { return &___U3CPingU3Ek__BackingField_3; }
inline void set_U3CPingU3Ek__BackingField_3(int32_t value)
{
___U3CPingU3Ek__BackingField_3 = value;
}
};
// Photon.Realtime.RegionHandler
struct RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 : public RuntimeObject
{
public:
// System.Collections.Generic.List`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler::<EnabledRegions>k__BackingField
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * ___U3CEnabledRegionsU3Ek__BackingField_1;
// System.String Photon.Realtime.RegionHandler::availableRegionCodes
String_t* ___availableRegionCodes_2;
// Photon.Realtime.Region Photon.Realtime.RegionHandler::bestRegionCache
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___bestRegionCache_3;
// System.Collections.Generic.List`1<Photon.Realtime.RegionPinger> Photon.Realtime.RegionHandler::pingerList
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * ___pingerList_4;
// System.Action`1<Photon.Realtime.RegionHandler> Photon.Realtime.RegionHandler::onCompleteCall
Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * ___onCompleteCall_5;
// System.Int32 Photon.Realtime.RegionHandler::previousPing
int32_t ___previousPing_6;
// System.Boolean Photon.Realtime.RegionHandler::<IsPinging>k__BackingField
bool ___U3CIsPingingU3Ek__BackingField_7;
// System.String Photon.Realtime.RegionHandler::previousSummaryProvided
String_t* ___previousSummaryProvided_8;
public:
inline static int32_t get_offset_of_U3CEnabledRegionsU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___U3CEnabledRegionsU3Ek__BackingField_1)); }
inline List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * get_U3CEnabledRegionsU3Ek__BackingField_1() const { return ___U3CEnabledRegionsU3Ek__BackingField_1; }
inline List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F ** get_address_of_U3CEnabledRegionsU3Ek__BackingField_1() { return &___U3CEnabledRegionsU3Ek__BackingField_1; }
inline void set_U3CEnabledRegionsU3Ek__BackingField_1(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * value)
{
___U3CEnabledRegionsU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CEnabledRegionsU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_availableRegionCodes_2() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___availableRegionCodes_2)); }
inline String_t* get_availableRegionCodes_2() const { return ___availableRegionCodes_2; }
inline String_t** get_address_of_availableRegionCodes_2() { return &___availableRegionCodes_2; }
inline void set_availableRegionCodes_2(String_t* value)
{
___availableRegionCodes_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___availableRegionCodes_2), (void*)value);
}
inline static int32_t get_offset_of_bestRegionCache_3() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___bestRegionCache_3)); }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * get_bestRegionCache_3() const { return ___bestRegionCache_3; }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 ** get_address_of_bestRegionCache_3() { return &___bestRegionCache_3; }
inline void set_bestRegionCache_3(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * value)
{
___bestRegionCache_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___bestRegionCache_3), (void*)value);
}
inline static int32_t get_offset_of_pingerList_4() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___pingerList_4)); }
inline List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * get_pingerList_4() const { return ___pingerList_4; }
inline List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 ** get_address_of_pingerList_4() { return &___pingerList_4; }
inline void set_pingerList_4(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * value)
{
___pingerList_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___pingerList_4), (void*)value);
}
inline static int32_t get_offset_of_onCompleteCall_5() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___onCompleteCall_5)); }
inline Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * get_onCompleteCall_5() const { return ___onCompleteCall_5; }
inline Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 ** get_address_of_onCompleteCall_5() { return &___onCompleteCall_5; }
inline void set_onCompleteCall_5(Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * value)
{
___onCompleteCall_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___onCompleteCall_5), (void*)value);
}
inline static int32_t get_offset_of_previousPing_6() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___previousPing_6)); }
inline int32_t get_previousPing_6() const { return ___previousPing_6; }
inline int32_t* get_address_of_previousPing_6() { return &___previousPing_6; }
inline void set_previousPing_6(int32_t value)
{
___previousPing_6 = value;
}
inline static int32_t get_offset_of_U3CIsPingingU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___U3CIsPingingU3Ek__BackingField_7)); }
inline bool get_U3CIsPingingU3Ek__BackingField_7() const { return ___U3CIsPingingU3Ek__BackingField_7; }
inline bool* get_address_of_U3CIsPingingU3Ek__BackingField_7() { return &___U3CIsPingingU3Ek__BackingField_7; }
inline void set_U3CIsPingingU3Ek__BackingField_7(bool value)
{
___U3CIsPingingU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_previousSummaryProvided_8() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53, ___previousSummaryProvided_8)); }
inline String_t* get_previousSummaryProvided_8() const { return ___previousSummaryProvided_8; }
inline String_t** get_address_of_previousSummaryProvided_8() { return &___previousSummaryProvided_8; }
inline void set_previousSummaryProvided_8(String_t* value)
{
___previousSummaryProvided_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___previousSummaryProvided_8), (void*)value);
}
};
struct RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields
{
public:
// System.Type Photon.Realtime.RegionHandler::PingImplementation
Type_t * ___PingImplementation_0;
// System.UInt16 Photon.Realtime.RegionHandler::PortToPingOverride
uint16_t ___PortToPingOverride_9;
public:
inline static int32_t get_offset_of_PingImplementation_0() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields, ___PingImplementation_0)); }
inline Type_t * get_PingImplementation_0() const { return ___PingImplementation_0; }
inline Type_t ** get_address_of_PingImplementation_0() { return &___PingImplementation_0; }
inline void set_PingImplementation_0(Type_t * value)
{
___PingImplementation_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PingImplementation_0), (void*)value);
}
inline static int32_t get_offset_of_PortToPingOverride_9() { return static_cast<int32_t>(offsetof(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields, ___PortToPingOverride_9)); }
inline uint16_t get_PortToPingOverride_9() const { return ___PortToPingOverride_9; }
inline uint16_t* get_address_of_PortToPingOverride_9() { return &___PortToPingOverride_9; }
inline void set_PortToPingOverride_9(uint16_t value)
{
___PortToPingOverride_9 = value;
}
};
// Photon.Realtime.RegionPinger
struct RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 : public RuntimeObject
{
public:
// Photon.Realtime.Region Photon.Realtime.RegionPinger::region
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___region_4;
// System.String Photon.Realtime.RegionPinger::regionAddress
String_t* ___regionAddress_5;
// System.Int32 Photon.Realtime.RegionPinger::CurrentAttempt
int32_t ___CurrentAttempt_6;
// System.Boolean Photon.Realtime.RegionPinger::<Done>k__BackingField
bool ___U3CDoneU3Ek__BackingField_7;
// System.Action`1<Photon.Realtime.Region> Photon.Realtime.RegionPinger::onDoneCall
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * ___onDoneCall_8;
// Photon.Realtime.PhotonPing Photon.Realtime.RegionPinger::ping
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * ___ping_9;
// System.Collections.Generic.List`1<System.Int32> Photon.Realtime.RegionPinger::rttResults
List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * ___rttResults_10;
public:
inline static int32_t get_offset_of_region_4() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___region_4)); }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * get_region_4() const { return ___region_4; }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 ** get_address_of_region_4() { return &___region_4; }
inline void set_region_4(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * value)
{
___region_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___region_4), (void*)value);
}
inline static int32_t get_offset_of_regionAddress_5() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___regionAddress_5)); }
inline String_t* get_regionAddress_5() const { return ___regionAddress_5; }
inline String_t** get_address_of_regionAddress_5() { return &___regionAddress_5; }
inline void set_regionAddress_5(String_t* value)
{
___regionAddress_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___regionAddress_5), (void*)value);
}
inline static int32_t get_offset_of_CurrentAttempt_6() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___CurrentAttempt_6)); }
inline int32_t get_CurrentAttempt_6() const { return ___CurrentAttempt_6; }
inline int32_t* get_address_of_CurrentAttempt_6() { return &___CurrentAttempt_6; }
inline void set_CurrentAttempt_6(int32_t value)
{
___CurrentAttempt_6 = value;
}
inline static int32_t get_offset_of_U3CDoneU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___U3CDoneU3Ek__BackingField_7)); }
inline bool get_U3CDoneU3Ek__BackingField_7() const { return ___U3CDoneU3Ek__BackingField_7; }
inline bool* get_address_of_U3CDoneU3Ek__BackingField_7() { return &___U3CDoneU3Ek__BackingField_7; }
inline void set_U3CDoneU3Ek__BackingField_7(bool value)
{
___U3CDoneU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_onDoneCall_8() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___onDoneCall_8)); }
inline Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * get_onDoneCall_8() const { return ___onDoneCall_8; }
inline Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 ** get_address_of_onDoneCall_8() { return &___onDoneCall_8; }
inline void set_onDoneCall_8(Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * value)
{
___onDoneCall_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___onDoneCall_8), (void*)value);
}
inline static int32_t get_offset_of_ping_9() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___ping_9)); }
inline PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * get_ping_9() const { return ___ping_9; }
inline PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D ** get_address_of_ping_9() { return &___ping_9; }
inline void set_ping_9(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * value)
{
___ping_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ping_9), (void*)value);
}
inline static int32_t get_offset_of_rttResults_10() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139, ___rttResults_10)); }
inline List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * get_rttResults_10() const { return ___rttResults_10; }
inline List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 ** get_address_of_rttResults_10() { return &___rttResults_10; }
inline void set_rttResults_10(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * value)
{
___rttResults_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___rttResults_10), (void*)value);
}
};
struct RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields
{
public:
// System.Int32 Photon.Realtime.RegionPinger::Attempts
int32_t ___Attempts_0;
// System.Boolean Photon.Realtime.RegionPinger::IgnoreInitialAttempt
bool ___IgnoreInitialAttempt_1;
// System.Int32 Photon.Realtime.RegionPinger::MaxMilliseconsPerPing
int32_t ___MaxMilliseconsPerPing_2;
// System.Int32 Photon.Realtime.RegionPinger::PingWhenFailed
int32_t ___PingWhenFailed_3;
public:
inline static int32_t get_offset_of_Attempts_0() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields, ___Attempts_0)); }
inline int32_t get_Attempts_0() const { return ___Attempts_0; }
inline int32_t* get_address_of_Attempts_0() { return &___Attempts_0; }
inline void set_Attempts_0(int32_t value)
{
___Attempts_0 = value;
}
inline static int32_t get_offset_of_IgnoreInitialAttempt_1() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields, ___IgnoreInitialAttempt_1)); }
inline bool get_IgnoreInitialAttempt_1() const { return ___IgnoreInitialAttempt_1; }
inline bool* get_address_of_IgnoreInitialAttempt_1() { return &___IgnoreInitialAttempt_1; }
inline void set_IgnoreInitialAttempt_1(bool value)
{
___IgnoreInitialAttempt_1 = value;
}
inline static int32_t get_offset_of_MaxMilliseconsPerPing_2() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields, ___MaxMilliseconsPerPing_2)); }
inline int32_t get_MaxMilliseconsPerPing_2() const { return ___MaxMilliseconsPerPing_2; }
inline int32_t* get_address_of_MaxMilliseconsPerPing_2() { return &___MaxMilliseconsPerPing_2; }
inline void set_MaxMilliseconsPerPing_2(int32_t value)
{
___MaxMilliseconsPerPing_2 = value;
}
inline static int32_t get_offset_of_PingWhenFailed_3() { return static_cast<int32_t>(offsetof(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields, ___PingWhenFailed_3)); }
inline int32_t get_PingWhenFailed_3() const { return ___PingWhenFailed_3; }
inline int32_t* get_address_of_PingWhenFailed_3() { return &___PingWhenFailed_3; }
inline void set_PingWhenFailed_3(int32_t value)
{
___PingWhenFailed_3 = value;
}
};
// Photon.Realtime.RoomInfo
struct RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 : public RuntimeObject
{
public:
// System.Boolean Photon.Realtime.RoomInfo::RemovedFromList
bool ___RemovedFromList_0;
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomInfo::customProperties
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___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_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___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_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___customProperties_1)); }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * get_customProperties_1() const { return ___customProperties_1; }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D ** get_address_of_customProperties_1() { return &___customProperties_1; }
inline void set_customProperties_1(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * value)
{
___customProperties_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___customProperties_1), (void*)value);
}
inline static int32_t get_offset_of_maxPlayers_2() { return static_cast<int32_t>(offsetof(RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___expectedUsers_5)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_expectedUsers_5() const { return ___expectedUsers_5; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_expectedUsers_5() { return &___expectedUsers_5; }
inline void set_expectedUsers_5(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___expectedUsers_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___expectedUsers_5), (void*)value);
}
inline static int32_t get_offset_of_isOpen_6() { return static_cast<int32_t>(offsetof(RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___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((void**)(&___name_9), (void*)value);
}
inline static int32_t get_offset_of_masterClientId_10() { return static_cast<int32_t>(offsetof(RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889, ___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_t7069F437E8D00842881716F7573A4ED7EA119889, ___propertiesListedInLobby_11)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_propertiesListedInLobby_11() const { return ___propertiesListedInLobby_11; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_propertiesListedInLobby_11() { return &___propertiesListedInLobby_11; }
inline void set_propertiesListedInLobby_11(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___propertiesListedInLobby_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___propertiesListedInLobby_11), (void*)value);
}
inline static int32_t get_offset_of_U3CPlayerCountU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889, ___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;
}
};
// Photon.Realtime.RoomOptions
struct RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F : 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_t43276794A006CD84952AFAB156E51DD9D331596D * ___CustomRoomProperties_6;
// System.String[] Photon.Realtime.RoomOptions::CustomRoomPropertiesForLobby
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___CustomRoomPropertiesForLobby_7;
// System.String[] Photon.Realtime.RoomOptions::Plugins
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___Plugins_8;
// System.Boolean Photon.Realtime.RoomOptions::<SuppressRoomEvents>k__BackingField
bool ___U3CSuppressRoomEventsU3Ek__BackingField_9;
// System.Boolean Photon.Realtime.RoomOptions::<SuppressPlayerInfo>k__BackingField
bool ___U3CSuppressPlayerInfoU3Ek__BackingField_10;
// System.Boolean Photon.Realtime.RoomOptions::<PublishUserId>k__BackingField
bool ___U3CPublishUserIdU3Ek__BackingField_11;
// System.Boolean Photon.Realtime.RoomOptions::<DeleteNullProperties>k__BackingField
bool ___U3CDeleteNullPropertiesU3Ek__BackingField_12;
// System.Boolean Photon.Realtime.RoomOptions::broadcastPropsChangeToAll
bool ___broadcastPropsChangeToAll_13;
public:
inline static int32_t get_offset_of_isVisible_0() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_t9923C5A201832F8328FFCA30828018311BA60A2F, ___CustomRoomProperties_6)); }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * get_CustomRoomProperties_6() const { return ___CustomRoomProperties_6; }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D ** get_address_of_CustomRoomProperties_6() { return &___CustomRoomProperties_6; }
inline void set_CustomRoomProperties_6(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * value)
{
___CustomRoomProperties_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CustomRoomProperties_6), (void*)value);
}
inline static int32_t get_offset_of_CustomRoomPropertiesForLobby_7() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___CustomRoomPropertiesForLobby_7)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_CustomRoomPropertiesForLobby_7() const { return ___CustomRoomPropertiesForLobby_7; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_CustomRoomPropertiesForLobby_7() { return &___CustomRoomPropertiesForLobby_7; }
inline void set_CustomRoomPropertiesForLobby_7(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___CustomRoomPropertiesForLobby_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___CustomRoomPropertiesForLobby_7), (void*)value);
}
inline static int32_t get_offset_of_Plugins_8() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___Plugins_8)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_Plugins_8() const { return ___Plugins_8; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_Plugins_8() { return &___Plugins_8; }
inline void set_Plugins_8(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___Plugins_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Plugins_8), (void*)value);
}
inline static int32_t get_offset_of_U3CSuppressRoomEventsU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___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_U3CSuppressPlayerInfoU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___U3CSuppressPlayerInfoU3Ek__BackingField_10)); }
inline bool get_U3CSuppressPlayerInfoU3Ek__BackingField_10() const { return ___U3CSuppressPlayerInfoU3Ek__BackingField_10; }
inline bool* get_address_of_U3CSuppressPlayerInfoU3Ek__BackingField_10() { return &___U3CSuppressPlayerInfoU3Ek__BackingField_10; }
inline void set_U3CSuppressPlayerInfoU3Ek__BackingField_10(bool value)
{
___U3CSuppressPlayerInfoU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CPublishUserIdU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___U3CPublishUserIdU3Ek__BackingField_11)); }
inline bool get_U3CPublishUserIdU3Ek__BackingField_11() const { return ___U3CPublishUserIdU3Ek__BackingField_11; }
inline bool* get_address_of_U3CPublishUserIdU3Ek__BackingField_11() { return &___U3CPublishUserIdU3Ek__BackingField_11; }
inline void set_U3CPublishUserIdU3Ek__BackingField_11(bool value)
{
___U3CPublishUserIdU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CDeleteNullPropertiesU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___U3CDeleteNullPropertiesU3Ek__BackingField_12)); }
inline bool get_U3CDeleteNullPropertiesU3Ek__BackingField_12() const { return ___U3CDeleteNullPropertiesU3Ek__BackingField_12; }
inline bool* get_address_of_U3CDeleteNullPropertiesU3Ek__BackingField_12() { return &___U3CDeleteNullPropertiesU3Ek__BackingField_12; }
inline void set_U3CDeleteNullPropertiesU3Ek__BackingField_12(bool value)
{
___U3CDeleteNullPropertiesU3Ek__BackingField_12 = value;
}
inline static int32_t get_offset_of_broadcastPropsChangeToAll_13() { return static_cast<int32_t>(offsetof(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F, ___broadcastPropsChangeToAll_13)); }
inline bool get_broadcastPropsChangeToAll_13() const { return ___broadcastPropsChangeToAll_13; }
inline bool* get_address_of_broadcastPropsChangeToAll_13() { return &___broadcastPropsChangeToAll_13; }
inline void set_broadcastPropsChangeToAll_13(bool value)
{
___broadcastPropsChangeToAll_13 = value;
}
};
// System.Diagnostics.Stopwatch
struct Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 : public RuntimeObject
{
public:
// System.Int64 System.Diagnostics.Stopwatch::elapsed
int64_t ___elapsed_2;
// System.Int64 System.Diagnostics.Stopwatch::started
int64_t ___started_3;
// System.Boolean System.Diagnostics.Stopwatch::is_running
bool ___is_running_4;
public:
inline static int32_t get_offset_of_elapsed_2() { return static_cast<int32_t>(offsetof(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89, ___elapsed_2)); }
inline int64_t get_elapsed_2() const { return ___elapsed_2; }
inline int64_t* get_address_of_elapsed_2() { return &___elapsed_2; }
inline void set_elapsed_2(int64_t value)
{
___elapsed_2 = value;
}
inline static int32_t get_offset_of_started_3() { return static_cast<int32_t>(offsetof(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89, ___started_3)); }
inline int64_t get_started_3() const { return ___started_3; }
inline int64_t* get_address_of_started_3() { return &___started_3; }
inline void set_started_3(int64_t value)
{
___started_3 = value;
}
inline static int32_t get_offset_of_is_running_4() { return static_cast<int32_t>(offsetof(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89, ___is_running_4)); }
inline bool get_is_running_4() const { return ___is_running_4; }
inline bool* get_address_of_is_running_4() { return &___is_running_4; }
inline void set_is_running_4(bool value)
{
___is_running_4 = value;
}
};
struct Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_StaticFields
{
public:
// System.Int64 System.Diagnostics.Stopwatch::Frequency
int64_t ___Frequency_0;
// System.Boolean System.Diagnostics.Stopwatch::IsHighResolution
bool ___IsHighResolution_1;
public:
inline static int32_t get_offset_of_Frequency_0() { return static_cast<int32_t>(offsetof(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_StaticFields, ___Frequency_0)); }
inline int64_t get_Frequency_0() const { return ___Frequency_0; }
inline int64_t* get_address_of_Frequency_0() { return &___Frequency_0; }
inline void set_Frequency_0(int64_t value)
{
___Frequency_0 = value;
}
inline static int32_t get_offset_of_IsHighResolution_1() { return static_cast<int32_t>(offsetof(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_StaticFields, ___IsHighResolution_1)); }
inline bool get_IsHighResolution_1() const { return ___IsHighResolution_1; }
inline bool* get_address_of_IsHighResolution_1() { return &___IsHighResolution_1; }
inline void set_IsHighResolution_1(bool value)
{
___IsHighResolution_1 = value;
}
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___m_ChunkChars_0;
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
StringBuilder_t * ___m_ChunkPrevious_1;
// System.Int32 System.Text.StringBuilder::m_ChunkLength
int32_t ___m_ChunkLength_2;
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
int32_t ___m_ChunkOffset_3;
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
int32_t ___m_MaxCapacity_4;
public:
inline static int32_t get_offset_of_m_ChunkChars_0() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkChars_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkChars_0), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkPrevious_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkPrevious_1)); }
inline StringBuilder_t * get_m_ChunkPrevious_1() const { return ___m_ChunkPrevious_1; }
inline StringBuilder_t ** get_address_of_m_ChunkPrevious_1() { return &___m_ChunkPrevious_1; }
inline void set_m_ChunkPrevious_1(StringBuilder_t * value)
{
___m_ChunkPrevious_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkPrevious_1), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkLength_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkLength_2)); }
inline int32_t get_m_ChunkLength_2() const { return ___m_ChunkLength_2; }
inline int32_t* get_address_of_m_ChunkLength_2() { return &___m_ChunkLength_2; }
inline void set_m_ChunkLength_2(int32_t value)
{
___m_ChunkLength_2 = value;
}
inline static int32_t get_offset_of_m_ChunkOffset_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkOffset_3)); }
inline int32_t get_m_ChunkOffset_3() const { return ___m_ChunkOffset_3; }
inline int32_t* get_address_of_m_ChunkOffset_3() { return &___m_ChunkOffset_3; }
inline void set_m_ChunkOffset_3(int32_t value)
{
___m_ChunkOffset_3 = value;
}
inline static int32_t get_offset_of_m_MaxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_MaxCapacity_4)); }
inline int32_t get_m_MaxCapacity_4() const { return ___m_MaxCapacity_4; }
inline int32_t* get_address_of_m_MaxCapacity_4() { return &___m_MaxCapacity_4; }
inline void set_m_MaxCapacity_4(int32_t value)
{
___m_MaxCapacity_4 = value;
}
};
// System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
{
};
// Photon.Realtime.WebFlags
struct WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F : 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_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F, ___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_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_StaticFields
{
public:
// Photon.Realtime.WebFlags Photon.Realtime.WebFlags::Default
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___Default_0;
public:
inline static int32_t get_offset_of_Default_0() { return static_cast<int32_t>(offsetof(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_StaticFields, ___Default_0)); }
inline WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * get_Default_0() const { return ___Default_0; }
inline WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F ** get_address_of_Default_0() { return &___Default_0; }
inline void set_Default_0(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * value)
{
___Default_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Default_0), (void*)value);
}
};
// Photon.Realtime.WebRpcResponse
struct WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 : public RuntimeObject
{
public:
// System.String Photon.Realtime.WebRpcResponse::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.Int32 Photon.Realtime.WebRpcResponse::<ResultCode>k__BackingField
int32_t ___U3CResultCodeU3Ek__BackingField_1;
// System.String Photon.Realtime.WebRpcResponse::<Message>k__BackingField
String_t* ___U3CMessageU3Ek__BackingField_2;
// System.Collections.Generic.Dictionary`2<System.String,System.Object> Photon.Realtime.WebRpcResponse::<Parameters>k__BackingField
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * ___U3CParametersU3Ek__BackingField_3;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CNameU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CResultCodeU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2, ___U3CResultCodeU3Ek__BackingField_1)); }
inline int32_t get_U3CResultCodeU3Ek__BackingField_1() const { return ___U3CResultCodeU3Ek__BackingField_1; }
inline int32_t* get_address_of_U3CResultCodeU3Ek__BackingField_1() { return &___U3CResultCodeU3Ek__BackingField_1; }
inline void set_U3CResultCodeU3Ek__BackingField_1(int32_t value)
{
___U3CResultCodeU3Ek__BackingField_1 = value;
}
inline static int32_t get_offset_of_U3CMessageU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2, ___U3CMessageU3Ek__BackingField_2)); }
inline String_t* get_U3CMessageU3Ek__BackingField_2() const { return ___U3CMessageU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CMessageU3Ek__BackingField_2() { return &___U3CMessageU3Ek__BackingField_2; }
inline void set_U3CMessageU3Ek__BackingField_2(String_t* value)
{
___U3CMessageU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CMessageU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CParametersU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2, ___U3CParametersU3Ek__BackingField_3)); }
inline Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * get_U3CParametersU3Ek__BackingField_3() const { return ___U3CParametersU3Ek__BackingField_3; }
inline Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 ** get_address_of_U3CParametersU3Ek__BackingField_3() { return &___U3CParametersU3Ek__BackingField_3; }
inline void set_U3CParametersU3Ek__BackingField_3(Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * value)
{
___U3CParametersU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CParametersU3Ek__BackingField_3), (void*)value);
}
};
// UnityEngine.YieldInstruction
struct YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF_marshaled_com
{
};
// Photon.Realtime.LoadBalancingClient/CallbackTargetChange
struct CallbackTargetChange_tA10959BD5B7373AA9F6B40DB22CA100C2264C012 : public RuntimeObject
{
public:
// System.Object Photon.Realtime.LoadBalancingClient/CallbackTargetChange::Target
RuntimeObject * ___Target_0;
// System.Boolean Photon.Realtime.LoadBalancingClient/CallbackTargetChange::AddTarget
bool ___AddTarget_1;
public:
inline static int32_t get_offset_of_Target_0() { return static_cast<int32_t>(offsetof(CallbackTargetChange_tA10959BD5B7373AA9F6B40DB22CA100C2264C012, ___Target_0)); }
inline RuntimeObject * get_Target_0() const { return ___Target_0; }
inline RuntimeObject ** get_address_of_Target_0() { return &___Target_0; }
inline void set_Target_0(RuntimeObject * value)
{
___Target_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Target_0), (void*)value);
}
inline static int32_t get_offset_of_AddTarget_1() { return static_cast<int32_t>(offsetof(CallbackTargetChange_tA10959BD5B7373AA9F6B40DB22CA100C2264C012, ___AddTarget_1)); }
inline bool get_AddTarget_1() const { return ___AddTarget_1; }
inline bool* get_address_of_AddTarget_1() { return &___AddTarget_1; }
inline void set_AddTarget_1(bool value)
{
___AddTarget_1 = value;
}
};
// Photon.Realtime.LoadBalancingClient/EncryptionDataParameters
struct EncryptionDataParameters_tDF3DEF142EEA07FAC06E2DED344CB06BB9A07981 : public RuntimeObject
{
public:
public:
};
// Photon.Realtime.LoadBalancingPeer/<>c
struct U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_StaticFields
{
public:
// Photon.Realtime.LoadBalancingPeer/<>c Photon.Realtime.LoadBalancingPeer/<>c::<>9
U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * ___U3CU3E9_0;
// System.Func`1<ExitGames.Client.Photon.ParameterDictionary> Photon.Realtime.LoadBalancingPeer/<>c::<>9__4_0
Func_1_t75A9A536825EE746B02940F3CBC68DB8172B6098 * ___U3CU3E9__4_0_1;
// System.Action`1<ExitGames.Client.Photon.ParameterDictionary> Photon.Realtime.LoadBalancingPeer/<>c::<>9__4_1
Action_1_tA0415BE25F46F3C2D2C2A3CEA83CD6D7F8CABBA6 * ___U3CU3E9__4_1_2;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__4_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_StaticFields, ___U3CU3E9__4_0_1)); }
inline Func_1_t75A9A536825EE746B02940F3CBC68DB8172B6098 * get_U3CU3E9__4_0_1() const { return ___U3CU3E9__4_0_1; }
inline Func_1_t75A9A536825EE746B02940F3CBC68DB8172B6098 ** get_address_of_U3CU3E9__4_0_1() { return &___U3CU3E9__4_0_1; }
inline void set_U3CU3E9__4_0_1(Func_1_t75A9A536825EE746B02940F3CBC68DB8172B6098 * value)
{
___U3CU3E9__4_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__4_0_1), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__4_1_2() { return static_cast<int32_t>(offsetof(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_StaticFields, ___U3CU3E9__4_1_2)); }
inline Action_1_tA0415BE25F46F3C2D2C2A3CEA83CD6D7F8CABBA6 * get_U3CU3E9__4_1_2() const { return ___U3CU3E9__4_1_2; }
inline Action_1_tA0415BE25F46F3C2D2C2A3CEA83CD6D7F8CABBA6 ** get_address_of_U3CU3E9__4_1_2() { return &___U3CU3E9__4_1_2; }
inline void set_U3CU3E9__4_1_2(Action_1_tA0415BE25F46F3C2D2C2A3CEA83CD6D7F8CABBA6 * value)
{
___U3CU3E9__4_1_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__4_1_2), (void*)value);
}
};
// Photon.Realtime.RegionHandler/<>c
struct U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields
{
public:
// Photon.Realtime.RegionHandler/<>c Photon.Realtime.RegionHandler/<>c::<>9
U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * ___U3CU3E9_0;
// System.Comparison`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler/<>c::<>9__8_0
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * ___U3CU3E9__8_0_1;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__8_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields, ___U3CU3E9__8_0_1)); }
inline Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * get_U3CU3E9__8_0_1() const { return ___U3CU3E9__8_0_1; }
inline Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 ** get_address_of_U3CU3E9__8_0_1() { return &___U3CU3E9__8_0_1; }
inline void set_U3CU3E9__8_0_1(Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * value)
{
___U3CU3E9__8_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__8_0_1), (void*)value);
}
};
// Photon.Realtime.RegionHandler/<>c__DisplayClass23_0
struct U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 : public RuntimeObject
{
public:
// System.String Photon.Realtime.RegionHandler/<>c__DisplayClass23_0::prevBestRegionCode
String_t* ___prevBestRegionCode_0;
public:
inline static int32_t get_offset_of_prevBestRegionCode_0() { return static_cast<int32_t>(offsetof(U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7, ___prevBestRegionCode_0)); }
inline String_t* get_prevBestRegionCode_0() const { return ___prevBestRegionCode_0; }
inline String_t** get_address_of_prevBestRegionCode_0() { return &___prevBestRegionCode_0; }
inline void set_prevBestRegionCode_0(String_t* value)
{
___prevBestRegionCode_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___prevBestRegionCode_0), (void*)value);
}
};
// Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19
struct U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B : public RuntimeObject
{
public:
// System.Int32 Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// Photon.Realtime.RegionPinger Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<>4__this
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * ___U3CU3E4__this_2;
// System.Single Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<rttSum>5__1
float ___U3CrttSumU3E5__1_3;
// System.Int32 Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<replyCount>5__2
int32_t ___U3CreplyCountU3E5__2_4;
// System.Diagnostics.Stopwatch Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<sw>5__3
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * ___U3CswU3E5__3_5;
// System.Boolean Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<overtime>5__4
bool ___U3CovertimeU3E5__4_6;
// System.Int32 Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<rtt>5__5
int32_t ___U3CrttU3E5__5_7;
// System.Exception Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::<e>5__6
Exception_t * ___U3CeU3E5__6_8;
public:
inline static int32_t get_offset_of_U3CU3E1__state_0() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CU3E1__state_0)); }
inline int32_t get_U3CU3E1__state_0() const { return ___U3CU3E1__state_0; }
inline int32_t* get_address_of_U3CU3E1__state_0() { return &___U3CU3E1__state_0; }
inline void set_U3CU3E1__state_0(int32_t value)
{
___U3CU3E1__state_0 = value;
}
inline static int32_t get_offset_of_U3CU3E2__current_1() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CU3E2__current_1)); }
inline RuntimeObject * get_U3CU3E2__current_1() const { return ___U3CU3E2__current_1; }
inline RuntimeObject ** get_address_of_U3CU3E2__current_1() { return &___U3CU3E2__current_1; }
inline void set_U3CU3E2__current_1(RuntimeObject * value)
{
___U3CU3E2__current_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E2__current_1), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E4__this_2() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CU3E4__this_2)); }
inline RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * get_U3CU3E4__this_2() const { return ___U3CU3E4__this_2; }
inline RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 ** get_address_of_U3CU3E4__this_2() { return &___U3CU3E4__this_2; }
inline void set_U3CU3E4__this_2(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * value)
{
___U3CU3E4__this_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E4__this_2), (void*)value);
}
inline static int32_t get_offset_of_U3CrttSumU3E5__1_3() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CrttSumU3E5__1_3)); }
inline float get_U3CrttSumU3E5__1_3() const { return ___U3CrttSumU3E5__1_3; }
inline float* get_address_of_U3CrttSumU3E5__1_3() { return &___U3CrttSumU3E5__1_3; }
inline void set_U3CrttSumU3E5__1_3(float value)
{
___U3CrttSumU3E5__1_3 = value;
}
inline static int32_t get_offset_of_U3CreplyCountU3E5__2_4() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CreplyCountU3E5__2_4)); }
inline int32_t get_U3CreplyCountU3E5__2_4() const { return ___U3CreplyCountU3E5__2_4; }
inline int32_t* get_address_of_U3CreplyCountU3E5__2_4() { return &___U3CreplyCountU3E5__2_4; }
inline void set_U3CreplyCountU3E5__2_4(int32_t value)
{
___U3CreplyCountU3E5__2_4 = value;
}
inline static int32_t get_offset_of_U3CswU3E5__3_5() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CswU3E5__3_5)); }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * get_U3CswU3E5__3_5() const { return ___U3CswU3E5__3_5; }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 ** get_address_of_U3CswU3E5__3_5() { return &___U3CswU3E5__3_5; }
inline void set_U3CswU3E5__3_5(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * value)
{
___U3CswU3E5__3_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CswU3E5__3_5), (void*)value);
}
inline static int32_t get_offset_of_U3CovertimeU3E5__4_6() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CovertimeU3E5__4_6)); }
inline bool get_U3CovertimeU3E5__4_6() const { return ___U3CovertimeU3E5__4_6; }
inline bool* get_address_of_U3CovertimeU3E5__4_6() { return &___U3CovertimeU3E5__4_6; }
inline void set_U3CovertimeU3E5__4_6(bool value)
{
___U3CovertimeU3E5__4_6 = value;
}
inline static int32_t get_offset_of_U3CrttU3E5__5_7() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CrttU3E5__5_7)); }
inline int32_t get_U3CrttU3E5__5_7() const { return ___U3CrttU3E5__5_7; }
inline int32_t* get_address_of_U3CrttU3E5__5_7() { return &___U3CrttU3E5__5_7; }
inline void set_U3CrttU3E5__5_7(int32_t value)
{
___U3CrttU3E5__5_7 = value;
}
inline static int32_t get_offset_of_U3CeU3E5__6_8() { return static_cast<int32_t>(offsetof(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B, ___U3CeU3E5__6_8)); }
inline Exception_t * get_U3CeU3E5__6_8() const { return ___U3CeU3E5__6_8; }
inline Exception_t ** get_address_of_U3CeU3E5__6_8() { return &___U3CeU3E5__6_8; }
inline void set_U3CeU3E5__6_8(Exception_t * value)
{
___U3CeU3E5__6_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CeU3E5__6_8), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<Photon.Realtime.ILobbyCallbacks>
struct Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject* ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7, ___list_0)); }
inline List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E * get_list_0() const { return ___list_0; }
inline List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7, ___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((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IMatchmakingCallbacks>
struct Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject* ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD, ___list_0)); }
inline List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD * get_list_0() const { return ___list_0; }
inline List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD, ___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((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IWebRpcCallback>
struct Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject* ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2, ___list_0)); }
inline List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 * get_list_0() const { return ___list_0; }
inline List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2, ___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((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<System.Object>
struct Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6, ___list_0)); }
inline List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * get_list_0() const { return ___list_0; }
inline List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6, ___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((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<Photon.Realtime.Region>
struct Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66, ___list_0)); }
inline List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * get_list_0() const { return ___list_0; }
inline List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66, ___current_3)); }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * get_current_3() const { return ___current_3; }
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.List`1/Enumerator<Photon.Realtime.RegionPinger>
struct Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513
{
public:
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * ___current_3;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513, ___list_0)); }
inline List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * get_list_0() const { return ___list_0; }
inline List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_current_3() { return static_cast<int32_t>(offsetof(Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513, ___current_3)); }
inline RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * get_current_3() const { return ___current_3; }
inline RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 ** get_address_of_current_3() { return &___current_3; }
inline void set_current_3(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * value)
{
___current_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___current_3), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,System.Object>
struct Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::dictionary
Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::version
int32_t ___version_2;
// TKey System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::currentKey
int32_t ___currentKey_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA, ___dictionary_0)); }
inline Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_currentKey_3() { return static_cast<int32_t>(offsetof(Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA, ___currentKey_3)); }
inline int32_t get_currentKey_3() const { return ___currentKey_3; }
inline int32_t* get_address_of_currentKey_3() { return &___currentKey_3; }
inline void set_currentKey_3(int32_t value)
{
___currentKey_3 = value;
}
};
// System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,Photon.Realtime.Player>
struct Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458
{
public:
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::dictionary
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * ___dictionary_0;
// System.Int32 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::version
int32_t ___version_2;
// TKey System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator::currentKey
int32_t ___currentKey_3;
public:
inline static int32_t get_offset_of_dictionary_0() { return static_cast<int32_t>(offsetof(Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458, ___dictionary_0)); }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * get_dictionary_0() const { return ___dictionary_0; }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B ** get_address_of_dictionary_0() { return &___dictionary_0; }
inline void set_dictionary_0(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * value)
{
___dictionary_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dictionary_0), (void*)value);
}
inline static int32_t get_offset_of_index_1() { return static_cast<int32_t>(offsetof(Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458, ___index_1)); }
inline int32_t get_index_1() const { return ___index_1; }
inline int32_t* get_address_of_index_1() { return &___index_1; }
inline void set_index_1(int32_t value)
{
___index_1 = value;
}
inline static int32_t get_offset_of_version_2() { return static_cast<int32_t>(offsetof(Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458, ___version_2)); }
inline int32_t get_version_2() const { return ___version_2; }
inline int32_t* get_address_of_version_2() { return &___version_2; }
inline void set_version_2(int32_t value)
{
___version_2 = value;
}
inline static int32_t get_offset_of_currentKey_3() { return static_cast<int32_t>(offsetof(Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458, ___currentKey_3)); }
inline int32_t get_currentKey_3() const { return ___currentKey_3; }
inline int32_t* get_address_of_currentKey_3() { return &___currentKey_3; }
inline void set_currentKey_3(int32_t value)
{
___currentKey_3 = value;
}
};
// System.Boolean
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
}
};
// System.Byte
struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___m_value_0)); }
inline uint8_t get_m_value_0() const { return ___m_value_0; }
inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint8_t value)
{
___m_value_0 = value;
}
};
// System.Char
struct Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
{
public:
public:
};
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
{
};
// ExitGames.Client.Photon.Hashtable
struct Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D : public Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D
{
public:
public:
};
struct Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_StaticFields
{
public:
// System.Object[] ExitGames.Client.Photon.Hashtable::boxedByte
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___boxedByte_14;
public:
inline static int32_t get_offset_of_boxedByte_14() { return static_cast<int32_t>(offsetof(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_StaticFields, ___boxedByte_14)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get_boxedByte_14() const { return ___boxedByte_14; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of_boxedByte_14() { return &___boxedByte_14; }
inline void set_boxedByte_14(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
___boxedByte_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___boxedByte_14), (void*)value);
}
};
// Photon.Realtime.InRoomCallbacksContainer
struct InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 : public List_1_t0E8580C8E1F9347E0A7E0B4B807B0139BF9F888A
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.InRoomCallbacksContainer::client
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client_6;
public:
inline static int32_t get_offset_of_client_6() { return static_cast<int32_t>(offsetof(InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0, ___client_6)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_client_6() const { return ___client_6; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_client_6() { return &___client_6; }
inline void set_client_6(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___client_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_6), (void*)value);
}
};
// System.Int16
struct Int16_tD0F031114106263BB459DA1F099FF9F42691295A
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_tD0F031114106263BB459DA1F099FF9F42691295A, ___m_value_0)); }
inline int16_t get_m_value_0() const { return ___m_value_0; }
inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int16_t value)
{
___m_value_0 = value;
}
};
// System.Int32
struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
// System.Int64
struct Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3
{
public:
// System.Int64 System.Int64::m_value
int64_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int64_t378EE0D608BD3107E77238E85F30D2BBD46981F3, ___m_value_0)); }
inline int64_t get_m_value_0() const { return ___m_value_0; }
inline int64_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int64_t value)
{
___m_value_0 = value;
}
};
// 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;
}
};
// Photon.Realtime.LobbyCallbacksContainer
struct LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 : public List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.LobbyCallbacksContainer::client
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client_6;
public:
inline static int32_t get_offset_of_client_6() { return static_cast<int32_t>(offsetof(LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788, ___client_6)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_client_6() const { return ___client_6; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_client_6() { return &___client_6; }
inline void set_client_6(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___client_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_6), (void*)value);
}
};
// Photon.Realtime.MatchMakingCallbacksContainer
struct MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 : public List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.MatchMakingCallbacksContainer::client
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client_6;
public:
inline static int32_t get_offset_of_client_6() { return static_cast<int32_t>(offsetof(MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09, ___client_6)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_client_6() const { return ___client_6; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_client_6() { return &___client_6; }
inline void set_client_6(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___client_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_6), (void*)value);
}
};
// Photon.Realtime.PhotonPortDefinition
struct PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0
{
public:
// System.UInt16 Photon.Realtime.PhotonPortDefinition::NameServerPort
uint16_t ___NameServerPort_1;
// System.UInt16 Photon.Realtime.PhotonPortDefinition::MasterServerPort
uint16_t ___MasterServerPort_2;
// System.UInt16 Photon.Realtime.PhotonPortDefinition::GameServerPort
uint16_t ___GameServerPort_3;
public:
inline static int32_t get_offset_of_NameServerPort_1() { return static_cast<int32_t>(offsetof(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0, ___NameServerPort_1)); }
inline uint16_t get_NameServerPort_1() const { return ___NameServerPort_1; }
inline uint16_t* get_address_of_NameServerPort_1() { return &___NameServerPort_1; }
inline void set_NameServerPort_1(uint16_t value)
{
___NameServerPort_1 = value;
}
inline static int32_t get_offset_of_MasterServerPort_2() { return static_cast<int32_t>(offsetof(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0, ___MasterServerPort_2)); }
inline uint16_t get_MasterServerPort_2() const { return ___MasterServerPort_2; }
inline uint16_t* get_address_of_MasterServerPort_2() { return &___MasterServerPort_2; }
inline void set_MasterServerPort_2(uint16_t value)
{
___MasterServerPort_2 = value;
}
inline static int32_t get_offset_of_GameServerPort_3() { return static_cast<int32_t>(offsetof(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0, ___GameServerPort_3)); }
inline uint16_t get_GameServerPort_3() const { return ___GameServerPort_3; }
inline uint16_t* get_address_of_GameServerPort_3() { return &___GameServerPort_3; }
inline void set_GameServerPort_3(uint16_t value)
{
___GameServerPort_3 = value;
}
};
struct PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_StaticFields
{
public:
// Photon.Realtime.PhotonPortDefinition Photon.Realtime.PhotonPortDefinition::AlternativeUdpPorts
PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 ___AlternativeUdpPorts_0;
public:
inline static int32_t get_offset_of_AlternativeUdpPorts_0() { return static_cast<int32_t>(offsetof(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_StaticFields, ___AlternativeUdpPorts_0)); }
inline PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 get_AlternativeUdpPorts_0() const { return ___AlternativeUdpPorts_0; }
inline PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 * get_address_of_AlternativeUdpPorts_0() { return &___AlternativeUdpPorts_0; }
inline void set_AlternativeUdpPorts_0(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 value)
{
___AlternativeUdpPorts_0 = value;
}
};
// Photon.Realtime.PingMono
struct PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB : public PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D
{
public:
// System.Net.Sockets.Socket Photon.Realtime.PingMono::sock
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * ___sock_7;
public:
inline static int32_t get_offset_of_sock_7() { return static_cast<int32_t>(offsetof(PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB, ___sock_7)); }
inline Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * get_sock_7() const { return ___sock_7; }
inline Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 ** get_address_of_sock_7() { return &___sock_7; }
inline void set_sock_7(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * value)
{
___sock_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___sock_7), (void*)value);
}
};
// Photon.Realtime.Room
struct Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D : public RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.Room::<LoadBalancingClient>k__BackingField
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___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_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * ___players_15;
// System.Boolean Photon.Realtime.Room::<BroadcastPropertiesChangeToAll>k__BackingField
bool ___U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16;
// System.Boolean Photon.Realtime.Room::<SuppressRoomEvents>k__BackingField
bool ___U3CSuppressRoomEventsU3Ek__BackingField_17;
// System.Boolean Photon.Realtime.Room::<SuppressPlayerInfo>k__BackingField
bool ___U3CSuppressPlayerInfoU3Ek__BackingField_18;
// System.Boolean Photon.Realtime.Room::<PublishUserId>k__BackingField
bool ___U3CPublishUserIdU3Ek__BackingField_19;
// System.Boolean Photon.Realtime.Room::<DeleteNullProperties>k__BackingField
bool ___U3CDeleteNullPropertiesU3Ek__BackingField_20;
public:
inline static int32_t get_offset_of_U3CLoadBalancingClientU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CLoadBalancingClientU3Ek__BackingField_13)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_U3CLoadBalancingClientU3Ek__BackingField_13() const { return ___U3CLoadBalancingClientU3Ek__BackingField_13; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_U3CLoadBalancingClientU3Ek__BackingField_13() { return &___U3CLoadBalancingClientU3Ek__BackingField_13; }
inline void set_U3CLoadBalancingClientU3Ek__BackingField_13(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___U3CLoadBalancingClientU3Ek__BackingField_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CLoadBalancingClientU3Ek__BackingField_13), (void*)value);
}
inline static int32_t get_offset_of_isOffline_14() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___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_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___players_15)); }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * get_players_15() const { return ___players_15; }
inline Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B ** get_address_of_players_15() { return &___players_15; }
inline void set_players_15(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * value)
{
___players_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___players_15), (void*)value);
}
inline static int32_t get_offset_of_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16)); }
inline bool get_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16() const { return ___U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16; }
inline bool* get_address_of_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16() { return &___U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16; }
inline void set_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16(bool value)
{
___U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_U3CSuppressRoomEventsU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CSuppressRoomEventsU3Ek__BackingField_17)); }
inline bool get_U3CSuppressRoomEventsU3Ek__BackingField_17() const { return ___U3CSuppressRoomEventsU3Ek__BackingField_17; }
inline bool* get_address_of_U3CSuppressRoomEventsU3Ek__BackingField_17() { return &___U3CSuppressRoomEventsU3Ek__BackingField_17; }
inline void set_U3CSuppressRoomEventsU3Ek__BackingField_17(bool value)
{
___U3CSuppressRoomEventsU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_U3CSuppressPlayerInfoU3Ek__BackingField_18() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CSuppressPlayerInfoU3Ek__BackingField_18)); }
inline bool get_U3CSuppressPlayerInfoU3Ek__BackingField_18() const { return ___U3CSuppressPlayerInfoU3Ek__BackingField_18; }
inline bool* get_address_of_U3CSuppressPlayerInfoU3Ek__BackingField_18() { return &___U3CSuppressPlayerInfoU3Ek__BackingField_18; }
inline void set_U3CSuppressPlayerInfoU3Ek__BackingField_18(bool value)
{
___U3CSuppressPlayerInfoU3Ek__BackingField_18 = value;
}
inline static int32_t get_offset_of_U3CPublishUserIdU3Ek__BackingField_19() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CPublishUserIdU3Ek__BackingField_19)); }
inline bool get_U3CPublishUserIdU3Ek__BackingField_19() const { return ___U3CPublishUserIdU3Ek__BackingField_19; }
inline bool* get_address_of_U3CPublishUserIdU3Ek__BackingField_19() { return &___U3CPublishUserIdU3Ek__BackingField_19; }
inline void set_U3CPublishUserIdU3Ek__BackingField_19(bool value)
{
___U3CPublishUserIdU3Ek__BackingField_19 = value;
}
inline static int32_t get_offset_of_U3CDeleteNullPropertiesU3Ek__BackingField_20() { return static_cast<int32_t>(offsetof(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D, ___U3CDeleteNullPropertiesU3Ek__BackingField_20)); }
inline bool get_U3CDeleteNullPropertiesU3Ek__BackingField_20() const { return ___U3CDeleteNullPropertiesU3Ek__BackingField_20; }
inline bool* get_address_of_U3CDeleteNullPropertiesU3Ek__BackingField_20() { return &___U3CDeleteNullPropertiesU3Ek__BackingField_20; }
inline void set_U3CDeleteNullPropertiesU3Ek__BackingField_20(bool value)
{
___U3CDeleteNullPropertiesU3Ek__BackingField_20 = value;
}
};
// System.Single
struct Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E
{
public:
// System.Single System.Single::m_value
float ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Single_tE07797BA3C98D4CA9B5A19413C19A76688AB899E, ___m_value_0)); }
inline float get_m_value_0() const { return ___m_value_0; }
inline float* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(float value)
{
___m_value_0 = value;
}
};
// System.UInt16
struct UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD
{
public:
// System.UInt16 System.UInt16::m_value
uint16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt16_t894EA9D4FB7C799B244E7BBF2DF0EEEDBC77A8BD, ___m_value_0)); }
inline uint16_t get_m_value_0() const { return ___m_value_0; }
inline uint16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint16_t value)
{
___m_value_0 = value;
}
};
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
{
public:
union
{
struct
{
};
uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
};
public:
};
// UnityEngine.WaitForSeconds
struct WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013 : public YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF
{
public:
// System.Single UnityEngine.WaitForSeconds::m_Seconds
float ___m_Seconds_0;
public:
inline static int32_t get_offset_of_m_Seconds_0() { return static_cast<int32_t>(offsetof(WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013, ___m_Seconds_0)); }
inline float get_m_Seconds_0() const { return ___m_Seconds_0; }
inline float* get_address_of_m_Seconds_0() { return &___m_Seconds_0; }
inline void set_m_Seconds_0(float value)
{
___m_Seconds_0 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.WaitForSeconds
struct WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013_marshaled_pinvoke : public YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF_marshaled_pinvoke
{
float ___m_Seconds_0;
};
// Native definition for COM marshalling of UnityEngine.WaitForSeconds
struct WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013_marshaled_com : public YieldInstruction_tB0B4E05316710E51ECCC1E57174C27FE6DEBBEAF_marshaled_com
{
float ___m_Seconds_0;
};
// Photon.Realtime.WebRpcCallbacksContainer
struct WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 : public List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34
{
public:
// Photon.Realtime.LoadBalancingClient Photon.Realtime.WebRpcCallbacksContainer::client
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client_6;
public:
inline static int32_t get_offset_of_client_6() { return static_cast<int32_t>(offsetof(WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96, ___client_6)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_client_6() const { return ___client_6; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_client_6() { return &___client_6; }
inline void set_client_6(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___client_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_6), (void*)value);
}
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=13
struct __StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555__padding[13];
};
public:
};
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E_StaticFields
{
public:
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=13 <PrivateImplementationDetails>::1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919
__StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555 ___1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0;
public:
inline static int32_t get_offset_of_U31995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E_StaticFields, ___1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0)); }
inline __StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555 get_U31995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0() const { return ___1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0; }
inline __StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555 * get_address_of_U31995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0() { return &___1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0; }
inline void set_U31995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0(__StaticArrayInitTypeSizeU3D13_tA9848F816D9E2A753B1091F23CD30644AD588555 value)
{
___1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0 = value;
}
};
// System.Net.Sockets.AddressFamily
struct AddressFamily_tFCF4C888B95C069AB2D4720EC8C2E19453C28B33
{
public:
// System.Int32 System.Net.Sockets.AddressFamily::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AddressFamily_tFCF4C888B95C069AB2D4720EC8C2E19453C28B33, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.AuthModeOption
struct AuthModeOption_t9A5CEB3C8BAF3AF2800AB83DC4E89CB5352758A8
{
public:
// System.Int32 Photon.Realtime.AuthModeOption::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AuthModeOption_t9A5CEB3C8BAF3AF2800AB83DC4E89CB5352758A8, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.ClientAppType
struct ClientAppType_t01DC8E82AB058170EEDEA419365F12ACFD487298
{
public:
// System.Int32 Photon.Realtime.ClientAppType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ClientAppType_t01DC8E82AB058170EEDEA419365F12ACFD487298, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.ClientState
struct ClientState_t11533963D5C7136417FA3C78902BB507A656A3DE
{
public:
// System.Int32 Photon.Realtime.ClientState::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ClientState_t11533963D5C7136417FA3C78902BB507A656A3DE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// ExitGames.Client.Photon.ConnectionProtocol
struct ConnectionProtocol_tBBBA5F69A70BC9508D69E212194FA05C18A2F5D6
{
public:
// System.Byte ExitGames.Client.Photon.ConnectionProtocol::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ConnectionProtocol_tBBBA5F69A70BC9508D69E212194FA05C18A2F5D6, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.CustomAuthenticationType
struct CustomAuthenticationType_tD0F6E6C7B5CFDC781EAB5E9CDC44F285B1499BEB
{
public:
// System.Byte Photon.Realtime.CustomAuthenticationType::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CustomAuthenticationType_tD0F6E6C7B5CFDC781EAB5E9CDC44F285B1499BEB, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// ExitGames.Client.Photon.DebugLevel
struct DebugLevel_t263148AD7DE2A3334EB2CE1A328FEA8053A9B4B3
{
public:
// System.Byte ExitGames.Client.Photon.DebugLevel::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DebugLevel_t263148AD7DE2A3334EB2CE1A328FEA8053A9B4B3, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * get_data_9() const { return ___data_9; }
inline DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t17DD30660E330C49381DAA99F934BE75CB11F288 * ___data_9;
int32_t ___method_is_virtual_10;
};
// Photon.Realtime.DisconnectCause
struct DisconnectCause_t68C88FC8A40416BE143C2121B174CD15DCE9ACA6
{
public:
// System.Int32 Photon.Realtime.DisconnectCause::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DisconnectCause_t68C88FC8A40416BE143C2121B174CD15DCE9ACA6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.EncryptionMode
struct EncryptionMode_tEB96412F69C8B07702ED390EB12AB8A4FC1DEFCD
{
public:
// System.Int32 Photon.Realtime.EncryptionMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(EncryptionMode_tEB96412F69C8B07702ED390EB12AB8A4FC1DEFCD, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.EventCaching
struct EventCaching_t52D6B6052E2339146C3D8E6361CC83EF62097A7C
{
public:
// System.Byte Photon.Realtime.EventCaching::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(EventCaching_t52D6B6052E2339146C3D8E6361CC83EF62097A7C, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)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((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Photon.Realtime.JoinType
struct JoinType_t2B1031B1428F1DD0B093F43E3D4242D91E23FF65
{
public:
// System.Int32 Photon.Realtime.JoinType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(JoinType_t2B1031B1428F1DD0B093F43E3D4242D91E23FF65, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.LobbyType
struct LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1
{
public:
// System.Byte Photon.Realtime.LobbyType::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.MatchmakingMode
struct MatchmakingMode_tCA6C5633BA97E67DA426841F4915A3A76EDFE6DB
{
public:
// System.Byte Photon.Realtime.MatchmakingMode::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MatchmakingMode_tCA6C5633BA97E67DA426841F4915A3A76EDFE6DB, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// UnityEngine.Object
struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A : 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_tF2F3778131EFF286AF62B7B013A170F95A91571A, ___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_tF2F3778131EFF286AF62B7B013A170F95A91571A_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_tF2F3778131EFF286AF62B7B013A170F95A91571A_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tF2F3778131EFF286AF62B7B013A170F95A91571A_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// Photon.Realtime.PropertyTypeFlag
struct PropertyTypeFlag_tDAD6DC8413D5F910CD1BA5AD07333285450988F8
{
public:
// System.Byte Photon.Realtime.PropertyTypeFlag::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(PropertyTypeFlag_tDAD6DC8413D5F910CD1BA5AD07333285450988F8, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// System.Net.Sockets.ProtocolType
struct ProtocolType_t07C7AB65B583B132A2D99BC06BB2A909BDDCE156
{
public:
// System.Int32 System.Net.Sockets.ProtocolType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ProtocolType_t07C7AB65B583B132A2D99BC06BB2A909BDDCE156, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.ReceiverGroup
struct ReceiverGroup_t3589B96E6F8BDCC2DA45E8B19D1E93826CF224DF
{
public:
// System.Byte Photon.Realtime.ReceiverGroup::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ReceiverGroup_t3589B96E6F8BDCC2DA45E8B19D1E93826CF224DF, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.RoomOptionBit
struct RoomOptionBit_t4B91659A383133AF2F839CC3A78CABAC7E0B9489
{
public:
// System.Int32 Photon.Realtime.RoomOptionBit::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RoomOptionBit_t4B91659A383133AF2F839CC3A78CABAC7E0B9489, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96
{
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_t7BE65FC857501059EBAC9772C93B02CD413D9C96, ___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;
}
};
// UnityEngine.RuntimePlatform
struct RuntimePlatform_tB8798C800FD9810C0FE2B7D2F2A0A3979D239065
{
public:
// System.Int32 UnityEngine.RuntimePlatform::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RuntimePlatform_tB8798C800FD9810C0FE2B7D2F2A0A3979D239065, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9
{
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_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9, ___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;
}
};
// System.Net.Sockets.SelectMode
struct SelectMode_t7D3ECD1A1B4A1E90B7F847C52E4E8580E2112189
{
public:
// System.Int32 System.Net.Sockets.SelectMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SelectMode_t7D3ECD1A1B4A1E90B7F847C52E4E8580E2112189, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// ExitGames.Client.Photon.SerializationProtocol
struct SerializationProtocol_tBF4CD1DAD7F9CADC167A452963B89557234FFBAB
{
public:
// System.Int32 ExitGames.Client.Photon.SerializationProtocol::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SerializationProtocol_tBF4CD1DAD7F9CADC167A452963B89557234FFBAB, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Photon.Realtime.ServerConnection
struct ServerConnection_t85511B4B2D222BF3E597E032A33940A848958DB2
{
public:
// System.Int32 Photon.Realtime.ServerConnection::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ServerConnection_t85511B4B2D222BF3E597E032A33940A848958DB2, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Net.Sockets.SocketFlags
struct SocketFlags_tF0B10EB763B26956198DACD9942489DC65D8B248
{
public:
// System.Int32 System.Net.Sockets.SocketFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketFlags_tF0B10EB763B26956198DACD9942489DC65D8B248, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Net.Sockets.SocketType
struct SocketType_t234FBD298C115F92305ABC40D2E592FC535DFF94
{
public:
// System.Int32 System.Net.Sockets.SocketType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SocketType_t234FBD298C115F92305ABC40D2E592FC535DFF94, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// ExitGames.Client.Photon.TargetFrameworks
struct TargetFrameworks_tFB9EC18927F8361341260A59B592FAA8EB50177D
{
public:
// System.Int32 ExitGames.Client.Photon.TargetFrameworks::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TargetFrameworks_tFB9EC18927F8361341260A59B592FAA8EB50177D, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.TimeSpan
struct TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203
{
public:
// System.Int64 System.TimeSpan::_ticks
int64_t ____ticks_22;
public:
inline static int32_t get_offset_of__ticks_22() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203, ____ticks_22)); }
inline int64_t get__ticks_22() const { return ____ticks_22; }
inline int64_t* get_address_of__ticks_22() { return &____ticks_22; }
inline void set__ticks_22(int64_t value)
{
____ticks_22 = value;
}
};
struct TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields
{
public:
// System.TimeSpan System.TimeSpan::Zero
TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 ___Zero_19;
// System.TimeSpan System.TimeSpan::MaxValue
TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 ___MaxValue_20;
// System.TimeSpan System.TimeSpan::MinValue
TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 ___MinValue_21;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyConfigChecked
bool ____legacyConfigChecked_23;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.TimeSpan::_legacyMode
bool ____legacyMode_24;
public:
inline static int32_t get_offset_of_Zero_19() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields, ___Zero_19)); }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 get_Zero_19() const { return ___Zero_19; }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * get_address_of_Zero_19() { return &___Zero_19; }
inline void set_Zero_19(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 value)
{
___Zero_19 = value;
}
inline static int32_t get_offset_of_MaxValue_20() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields, ___MaxValue_20)); }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 get_MaxValue_20() const { return ___MaxValue_20; }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * get_address_of_MaxValue_20() { return &___MaxValue_20; }
inline void set_MaxValue_20(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 value)
{
___MaxValue_20 = value;
}
inline static int32_t get_offset_of_MinValue_21() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields, ___MinValue_21)); }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 get_MinValue_21() const { return ___MinValue_21; }
inline TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * get_address_of_MinValue_21() { return &___MinValue_21; }
inline void set_MinValue_21(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 value)
{
___MinValue_21 = value;
}
inline static int32_t get_offset_of__legacyConfigChecked_23() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields, ____legacyConfigChecked_23)); }
inline bool get__legacyConfigChecked_23() const { return ____legacyConfigChecked_23; }
inline bool* get_address_of__legacyConfigChecked_23() { return &____legacyConfigChecked_23; }
inline void set__legacyConfigChecked_23(bool value)
{
____legacyConfigChecked_23 = value;
}
inline static int32_t get_offset_of__legacyMode_24() { return static_cast<int32_t>(offsetof(TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203_StaticFields, ____legacyMode_24)); }
inline bool get__legacyMode_24() const { return ____legacyMode_24; }
inline bool* get_address_of__legacyMode_24() { return &____legacyMode_24; }
inline void set__legacyMode_24(bool value)
{
____legacyMode_24 = value;
}
};
// System.Nullable`1<ExitGames.Client.Photon.ConnectionProtocol>
struct Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26
{
public:
// T System.Nullable`1::value
uint8_t ___value_0;
// System.Boolean System.Nullable`1::has_value
bool ___has_value_1;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26, ___value_0)); }
inline uint8_t get_value_0() const { return ___value_0; }
inline uint8_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(uint8_t value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26, ___has_value_1)); }
inline bool get_has_value_1() const { return ___has_value_1; }
inline bool* get_address_of_has_value_1() { return &___has_value_1; }
inline void set_has_value_1(bool value)
{
___has_value_1 = value;
}
};
// Photon.Realtime.AuthenticationValues
struct AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A : 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.Object Photon.Realtime.AuthenticationValues::<Token>k__BackingField
RuntimeObject * ___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_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A, ___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_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A, ___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((void**)(&___U3CAuthGetParametersU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CAuthPostDataU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A, ___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((void**)(&___U3CAuthPostDataU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CTokenU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A, ___U3CTokenU3Ek__BackingField_3)); }
inline RuntimeObject * get_U3CTokenU3Ek__BackingField_3() const { return ___U3CTokenU3Ek__BackingField_3; }
inline RuntimeObject ** get_address_of_U3CTokenU3Ek__BackingField_3() { return &___U3CTokenU3Ek__BackingField_3; }
inline void set_U3CTokenU3Ek__BackingField_3(RuntimeObject * value)
{
___U3CTokenU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CTokenU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CUserIdU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A, ___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((void**)(&___U3CUserIdU3Ek__BackingField_4), (void*)value);
}
};
// UnityEngine.Component
struct Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684 : public Object_tF2F3778131EFF286AF62B7B013A170F95A91571A
{
public:
public:
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_t677D8FE08A5F99E8EE49150B73966CD6E9BF7DB8* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// Photon.Realtime.OpJoinRandomRoomParams
struct OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327 : public RuntimeObject
{
public:
// ExitGames.Client.Photon.Hashtable Photon.Realtime.OpJoinRandomRoomParams::ExpectedCustomRoomProperties
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___ExpectedCustomRoomProperties_0;
// System.Byte Photon.Realtime.OpJoinRandomRoomParams::ExpectedMaxPlayers
uint8_t ___ExpectedMaxPlayers_1;
// Photon.Realtime.MatchmakingMode Photon.Realtime.OpJoinRandomRoomParams::MatchingType
uint8_t ___MatchingType_2;
// Photon.Realtime.TypedLobby Photon.Realtime.OpJoinRandomRoomParams::TypedLobby
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * ___TypedLobby_3;
// System.String Photon.Realtime.OpJoinRandomRoomParams::SqlLobbyFilter
String_t* ___SqlLobbyFilter_4;
// System.String[] Photon.Realtime.OpJoinRandomRoomParams::ExpectedUsers
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___ExpectedUsers_5;
public:
inline static int32_t get_offset_of_ExpectedCustomRoomProperties_0() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___ExpectedCustomRoomProperties_0)); }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * get_ExpectedCustomRoomProperties_0() const { return ___ExpectedCustomRoomProperties_0; }
inline Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D ** get_address_of_ExpectedCustomRoomProperties_0() { return &___ExpectedCustomRoomProperties_0; }
inline void set_ExpectedCustomRoomProperties_0(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * value)
{
___ExpectedCustomRoomProperties_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ExpectedCustomRoomProperties_0), (void*)value);
}
inline static int32_t get_offset_of_ExpectedMaxPlayers_1() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___ExpectedMaxPlayers_1)); }
inline uint8_t get_ExpectedMaxPlayers_1() const { return ___ExpectedMaxPlayers_1; }
inline uint8_t* get_address_of_ExpectedMaxPlayers_1() { return &___ExpectedMaxPlayers_1; }
inline void set_ExpectedMaxPlayers_1(uint8_t value)
{
___ExpectedMaxPlayers_1 = value;
}
inline static int32_t get_offset_of_MatchingType_2() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___MatchingType_2)); }
inline uint8_t get_MatchingType_2() const { return ___MatchingType_2; }
inline uint8_t* get_address_of_MatchingType_2() { return &___MatchingType_2; }
inline void set_MatchingType_2(uint8_t value)
{
___MatchingType_2 = value;
}
inline static int32_t get_offset_of_TypedLobby_3() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___TypedLobby_3)); }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * get_TypedLobby_3() const { return ___TypedLobby_3; }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 ** get_address_of_TypedLobby_3() { return &___TypedLobby_3; }
inline void set_TypedLobby_3(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * value)
{
___TypedLobby_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TypedLobby_3), (void*)value);
}
inline static int32_t get_offset_of_SqlLobbyFilter_4() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___SqlLobbyFilter_4)); }
inline String_t* get_SqlLobbyFilter_4() const { return ___SqlLobbyFilter_4; }
inline String_t** get_address_of_SqlLobbyFilter_4() { return &___SqlLobbyFilter_4; }
inline void set_SqlLobbyFilter_4(String_t* value)
{
___SqlLobbyFilter_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SqlLobbyFilter_4), (void*)value);
}
inline static int32_t get_offset_of_ExpectedUsers_5() { return static_cast<int32_t>(offsetof(OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327, ___ExpectedUsers_5)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_ExpectedUsers_5() const { return ___ExpectedUsers_5; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_ExpectedUsers_5() { return &___ExpectedUsers_5; }
inline void set_ExpectedUsers_5(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___ExpectedUsers_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ExpectedUsers_5), (void*)value);
}
};
// ExitGames.Client.Photon.PhotonPeer
struct PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD : 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.Int32 ExitGames.Client.Photon.PhotonPeer::CommandLogSize
int32_t ___CommandLogSize_4;
// ExitGames.Client.Photon.TargetFrameworks ExitGames.Client.Photon.PhotonPeer::TargetFramework
int32_t ___TargetFramework_8;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::RemoveAppIdFromWebSocketPath
bool ___RemoveAppIdFromWebSocketPath_10;
// System.Byte ExitGames.Client.Photon.PhotonPeer::ClientSdkId
uint8_t ___ClientSdkId_11;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::UseInitV3
bool ___UseInitV3_16;
// ExitGames.Client.Photon.SerializationProtocol ExitGames.Client.Photon.PhotonPeer::<SerializationProtocolType>k__BackingField
int32_t ___U3CSerializationProtocolTypeU3Ek__BackingField_17;
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Type> ExitGames.Client.Photon.PhotonPeer::SocketImplementationConfig
Dictionary_2_tB4F2179ABD10B6654DEDBFFF229D101AACDD9DDD * ___SocketImplementationConfig_18;
// System.Type ExitGames.Client.Photon.PhotonPeer::<SocketImplementation>k__BackingField
Type_t * ___U3CSocketImplementationU3Ek__BackingField_19;
// ExitGames.Client.Photon.DebugLevel ExitGames.Client.Photon.PhotonPeer::DebugOut
uint8_t ___DebugOut_20;
// ExitGames.Client.Photon.IPhotonPeerListener ExitGames.Client.Photon.PhotonPeer::<Listener>k__BackingField
RuntimeObject* ___U3CListenerU3Ek__BackingField_21;
// System.Action`1<ExitGames.Client.Photon.DisconnectMessage> ExitGames.Client.Photon.PhotonPeer::OnDisconnectMessage
Action_1_tE0B77E68E6552F66CFEB13CBCE644786F806356E * ___OnDisconnectMessage_22;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::reuseEventInstance
bool ___reuseEventInstance_23;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::useByteArraySlicePoolForEvents
bool ___useByteArraySlicePoolForEvents_24;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::wrapIncomingStructs
bool ___wrapIncomingStructs_25;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::SendInCreationOrder
bool ___SendInCreationOrder_26;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::SequenceDeltaLimitResends
int32_t ___SequenceDeltaLimitResends_27;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::SequenceDeltaLimitSends
int32_t ___SequenceDeltaLimitSends_28;
// ExitGames.Client.Photon.ITrafficRecorder ExitGames.Client.Photon.PhotonPeer::TrafficRecorder
RuntimeObject* ___TrafficRecorder_29;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::<EnableServerTracing>k__BackingField
bool ___U3CEnableServerTracingU3Ek__BackingField_30;
// System.Byte ExitGames.Client.Photon.PhotonPeer::quickResendAttempts
uint8_t ___quickResendAttempts_31;
// System.Byte ExitGames.Client.Photon.PhotonPeer::ChannelCount
uint8_t ___ChannelCount_32;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::EnableEncryptedFlag
bool ___EnableEncryptedFlag_33;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::crcEnabled
bool ___crcEnabled_34;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::SentCountAllowance
int32_t ___SentCountAllowance_35;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::InitialResendTimeMax
int32_t ___InitialResendTimeMax_36;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::TimePingInterval
int32_t ___TimePingInterval_37;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::disconnectTimeout
int32_t ___disconnectTimeout_38;
// ExitGames.Client.Photon.ConnectionProtocol ExitGames.Client.Photon.PhotonPeer::<TransportProtocol>k__BackingField
uint8_t ___U3CTransportProtocolU3Ek__BackingField_39;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::mtu
int32_t ___mtu_41;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::<IsSendingOnlyAcks>k__BackingField
bool ___U3CIsSendingOnlyAcksU3Ek__BackingField_42;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::RandomizeSequenceNumbers
bool ___RandomizeSequenceNumbers_44;
// System.Byte[] ExitGames.Client.Photon.PhotonPeer::RandomizedSequenceNumbers
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___RandomizedSequenceNumbers_45;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::GcmDatagramEncryption
bool ___GcmDatagramEncryption_46;
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::<TrafficStatsIncoming>k__BackingField
TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * ___U3CTrafficStatsIncomingU3Ek__BackingField_47;
// ExitGames.Client.Photon.TrafficStats ExitGames.Client.Photon.PhotonPeer::<TrafficStatsOutgoing>k__BackingField
TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * ___U3CTrafficStatsOutgoingU3Ek__BackingField_48;
// ExitGames.Client.Photon.TrafficStatsGameLevel ExitGames.Client.Photon.PhotonPeer::<TrafficStatsGameLevel>k__BackingField
TrafficStatsGameLevel_t058AE246B0BBFC65A16C16D2FB5631204E603CFE * ___U3CTrafficStatsGameLevelU3Ek__BackingField_49;
// System.Diagnostics.Stopwatch ExitGames.Client.Photon.PhotonPeer::trafficStatsStopwatch
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * ___trafficStatsStopwatch_50;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::trafficStatsEnabled
bool ___trafficStatsEnabled_51;
// ExitGames.Client.Photon.PeerBase ExitGames.Client.Photon.PhotonPeer::peerBase
PeerBase_t0434FE9EB58DFED6DB6E034A71351A7D4BF7C1CC * ___peerBase_52;
// System.Object ExitGames.Client.Photon.PhotonPeer::SendOutgoingLockObject
RuntimeObject * ___SendOutgoingLockObject_53;
// System.Object ExitGames.Client.Photon.PhotonPeer::DispatchLockObject
RuntimeObject * ___DispatchLockObject_54;
// System.Object ExitGames.Client.Photon.PhotonPeer::EnqueueLock
RuntimeObject * ___EnqueueLock_55;
// System.Type ExitGames.Client.Photon.PhotonPeer::payloadEncryptorType
Type_t * ___payloadEncryptorType_56;
// System.Byte[] ExitGames.Client.Photon.PhotonPeer::PayloadEncryptionSecret
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___PayloadEncryptionSecret_57;
// System.Type ExitGames.Client.Photon.PhotonPeer::encryptorType
Type_t * ___encryptorType_58;
// ExitGames.Client.Photon.Encryption.IPhotonEncryptor ExitGames.Client.Photon.PhotonPeer::Encryptor
RuntimeObject* ___Encryptor_59;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::<CountDiscarded>k__BackingField
int32_t ___U3CCountDiscardedU3Ek__BackingField_60;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::<DeltaUnreliableNumber>k__BackingField
int32_t ___U3CDeltaUnreliableNumberU3Ek__BackingField_61;
public:
inline static int32_t get_offset_of_U3CCommandBufferSizeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___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_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___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_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___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_CommandLogSize_4() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___CommandLogSize_4)); }
inline int32_t get_CommandLogSize_4() const { return ___CommandLogSize_4; }
inline int32_t* get_address_of_CommandLogSize_4() { return &___CommandLogSize_4; }
inline void set_CommandLogSize_4(int32_t value)
{
___CommandLogSize_4 = value;
}
inline static int32_t get_offset_of_TargetFramework_8() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___TargetFramework_8)); }
inline int32_t get_TargetFramework_8() const { return ___TargetFramework_8; }
inline int32_t* get_address_of_TargetFramework_8() { return &___TargetFramework_8; }
inline void set_TargetFramework_8(int32_t value)
{
___TargetFramework_8 = value;
}
inline static int32_t get_offset_of_RemoveAppIdFromWebSocketPath_10() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___RemoveAppIdFromWebSocketPath_10)); }
inline bool get_RemoveAppIdFromWebSocketPath_10() const { return ___RemoveAppIdFromWebSocketPath_10; }
inline bool* get_address_of_RemoveAppIdFromWebSocketPath_10() { return &___RemoveAppIdFromWebSocketPath_10; }
inline void set_RemoveAppIdFromWebSocketPath_10(bool value)
{
___RemoveAppIdFromWebSocketPath_10 = value;
}
inline static int32_t get_offset_of_ClientSdkId_11() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___ClientSdkId_11)); }
inline uint8_t get_ClientSdkId_11() const { return ___ClientSdkId_11; }
inline uint8_t* get_address_of_ClientSdkId_11() { return &___ClientSdkId_11; }
inline void set_ClientSdkId_11(uint8_t value)
{
___ClientSdkId_11 = value;
}
inline static int32_t get_offset_of_UseInitV3_16() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___UseInitV3_16)); }
inline bool get_UseInitV3_16() const { return ___UseInitV3_16; }
inline bool* get_address_of_UseInitV3_16() { return &___UseInitV3_16; }
inline void set_UseInitV3_16(bool value)
{
___UseInitV3_16 = value;
}
inline static int32_t get_offset_of_U3CSerializationProtocolTypeU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CSerializationProtocolTypeU3Ek__BackingField_17)); }
inline int32_t get_U3CSerializationProtocolTypeU3Ek__BackingField_17() const { return ___U3CSerializationProtocolTypeU3Ek__BackingField_17; }
inline int32_t* get_address_of_U3CSerializationProtocolTypeU3Ek__BackingField_17() { return &___U3CSerializationProtocolTypeU3Ek__BackingField_17; }
inline void set_U3CSerializationProtocolTypeU3Ek__BackingField_17(int32_t value)
{
___U3CSerializationProtocolTypeU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_SocketImplementationConfig_18() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SocketImplementationConfig_18)); }
inline Dictionary_2_tB4F2179ABD10B6654DEDBFFF229D101AACDD9DDD * get_SocketImplementationConfig_18() const { return ___SocketImplementationConfig_18; }
inline Dictionary_2_tB4F2179ABD10B6654DEDBFFF229D101AACDD9DDD ** get_address_of_SocketImplementationConfig_18() { return &___SocketImplementationConfig_18; }
inline void set_SocketImplementationConfig_18(Dictionary_2_tB4F2179ABD10B6654DEDBFFF229D101AACDD9DDD * value)
{
___SocketImplementationConfig_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SocketImplementationConfig_18), (void*)value);
}
inline static int32_t get_offset_of_U3CSocketImplementationU3Ek__BackingField_19() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CSocketImplementationU3Ek__BackingField_19)); }
inline Type_t * get_U3CSocketImplementationU3Ek__BackingField_19() const { return ___U3CSocketImplementationU3Ek__BackingField_19; }
inline Type_t ** get_address_of_U3CSocketImplementationU3Ek__BackingField_19() { return &___U3CSocketImplementationU3Ek__BackingField_19; }
inline void set_U3CSocketImplementationU3Ek__BackingField_19(Type_t * value)
{
___U3CSocketImplementationU3Ek__BackingField_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CSocketImplementationU3Ek__BackingField_19), (void*)value);
}
inline static int32_t get_offset_of_DebugOut_20() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___DebugOut_20)); }
inline uint8_t get_DebugOut_20() const { return ___DebugOut_20; }
inline uint8_t* get_address_of_DebugOut_20() { return &___DebugOut_20; }
inline void set_DebugOut_20(uint8_t value)
{
___DebugOut_20 = value;
}
inline static int32_t get_offset_of_U3CListenerU3Ek__BackingField_21() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CListenerU3Ek__BackingField_21)); }
inline RuntimeObject* get_U3CListenerU3Ek__BackingField_21() const { return ___U3CListenerU3Ek__BackingField_21; }
inline RuntimeObject** get_address_of_U3CListenerU3Ek__BackingField_21() { return &___U3CListenerU3Ek__BackingField_21; }
inline void set_U3CListenerU3Ek__BackingField_21(RuntimeObject* value)
{
___U3CListenerU3Ek__BackingField_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CListenerU3Ek__BackingField_21), (void*)value);
}
inline static int32_t get_offset_of_OnDisconnectMessage_22() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___OnDisconnectMessage_22)); }
inline Action_1_tE0B77E68E6552F66CFEB13CBCE644786F806356E * get_OnDisconnectMessage_22() const { return ___OnDisconnectMessage_22; }
inline Action_1_tE0B77E68E6552F66CFEB13CBCE644786F806356E ** get_address_of_OnDisconnectMessage_22() { return &___OnDisconnectMessage_22; }
inline void set_OnDisconnectMessage_22(Action_1_tE0B77E68E6552F66CFEB13CBCE644786F806356E * value)
{
___OnDisconnectMessage_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___OnDisconnectMessage_22), (void*)value);
}
inline static int32_t get_offset_of_reuseEventInstance_23() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___reuseEventInstance_23)); }
inline bool get_reuseEventInstance_23() const { return ___reuseEventInstance_23; }
inline bool* get_address_of_reuseEventInstance_23() { return &___reuseEventInstance_23; }
inline void set_reuseEventInstance_23(bool value)
{
___reuseEventInstance_23 = value;
}
inline static int32_t get_offset_of_useByteArraySlicePoolForEvents_24() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___useByteArraySlicePoolForEvents_24)); }
inline bool get_useByteArraySlicePoolForEvents_24() const { return ___useByteArraySlicePoolForEvents_24; }
inline bool* get_address_of_useByteArraySlicePoolForEvents_24() { return &___useByteArraySlicePoolForEvents_24; }
inline void set_useByteArraySlicePoolForEvents_24(bool value)
{
___useByteArraySlicePoolForEvents_24 = value;
}
inline static int32_t get_offset_of_wrapIncomingStructs_25() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___wrapIncomingStructs_25)); }
inline bool get_wrapIncomingStructs_25() const { return ___wrapIncomingStructs_25; }
inline bool* get_address_of_wrapIncomingStructs_25() { return &___wrapIncomingStructs_25; }
inline void set_wrapIncomingStructs_25(bool value)
{
___wrapIncomingStructs_25 = value;
}
inline static int32_t get_offset_of_SendInCreationOrder_26() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SendInCreationOrder_26)); }
inline bool get_SendInCreationOrder_26() const { return ___SendInCreationOrder_26; }
inline bool* get_address_of_SendInCreationOrder_26() { return &___SendInCreationOrder_26; }
inline void set_SendInCreationOrder_26(bool value)
{
___SendInCreationOrder_26 = value;
}
inline static int32_t get_offset_of_SequenceDeltaLimitResends_27() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SequenceDeltaLimitResends_27)); }
inline int32_t get_SequenceDeltaLimitResends_27() const { return ___SequenceDeltaLimitResends_27; }
inline int32_t* get_address_of_SequenceDeltaLimitResends_27() { return &___SequenceDeltaLimitResends_27; }
inline void set_SequenceDeltaLimitResends_27(int32_t value)
{
___SequenceDeltaLimitResends_27 = value;
}
inline static int32_t get_offset_of_SequenceDeltaLimitSends_28() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SequenceDeltaLimitSends_28)); }
inline int32_t get_SequenceDeltaLimitSends_28() const { return ___SequenceDeltaLimitSends_28; }
inline int32_t* get_address_of_SequenceDeltaLimitSends_28() { return &___SequenceDeltaLimitSends_28; }
inline void set_SequenceDeltaLimitSends_28(int32_t value)
{
___SequenceDeltaLimitSends_28 = value;
}
inline static int32_t get_offset_of_TrafficRecorder_29() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___TrafficRecorder_29)); }
inline RuntimeObject* get_TrafficRecorder_29() const { return ___TrafficRecorder_29; }
inline RuntimeObject** get_address_of_TrafficRecorder_29() { return &___TrafficRecorder_29; }
inline void set_TrafficRecorder_29(RuntimeObject* value)
{
___TrafficRecorder_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrafficRecorder_29), (void*)value);
}
inline static int32_t get_offset_of_U3CEnableServerTracingU3Ek__BackingField_30() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CEnableServerTracingU3Ek__BackingField_30)); }
inline bool get_U3CEnableServerTracingU3Ek__BackingField_30() const { return ___U3CEnableServerTracingU3Ek__BackingField_30; }
inline bool* get_address_of_U3CEnableServerTracingU3Ek__BackingField_30() { return &___U3CEnableServerTracingU3Ek__BackingField_30; }
inline void set_U3CEnableServerTracingU3Ek__BackingField_30(bool value)
{
___U3CEnableServerTracingU3Ek__BackingField_30 = value;
}
inline static int32_t get_offset_of_quickResendAttempts_31() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___quickResendAttempts_31)); }
inline uint8_t get_quickResendAttempts_31() const { return ___quickResendAttempts_31; }
inline uint8_t* get_address_of_quickResendAttempts_31() { return &___quickResendAttempts_31; }
inline void set_quickResendAttempts_31(uint8_t value)
{
___quickResendAttempts_31 = value;
}
inline static int32_t get_offset_of_ChannelCount_32() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___ChannelCount_32)); }
inline uint8_t get_ChannelCount_32() const { return ___ChannelCount_32; }
inline uint8_t* get_address_of_ChannelCount_32() { return &___ChannelCount_32; }
inline void set_ChannelCount_32(uint8_t value)
{
___ChannelCount_32 = value;
}
inline static int32_t get_offset_of_EnableEncryptedFlag_33() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___EnableEncryptedFlag_33)); }
inline bool get_EnableEncryptedFlag_33() const { return ___EnableEncryptedFlag_33; }
inline bool* get_address_of_EnableEncryptedFlag_33() { return &___EnableEncryptedFlag_33; }
inline void set_EnableEncryptedFlag_33(bool value)
{
___EnableEncryptedFlag_33 = value;
}
inline static int32_t get_offset_of_crcEnabled_34() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___crcEnabled_34)); }
inline bool get_crcEnabled_34() const { return ___crcEnabled_34; }
inline bool* get_address_of_crcEnabled_34() { return &___crcEnabled_34; }
inline void set_crcEnabled_34(bool value)
{
___crcEnabled_34 = value;
}
inline static int32_t get_offset_of_SentCountAllowance_35() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SentCountAllowance_35)); }
inline int32_t get_SentCountAllowance_35() const { return ___SentCountAllowance_35; }
inline int32_t* get_address_of_SentCountAllowance_35() { return &___SentCountAllowance_35; }
inline void set_SentCountAllowance_35(int32_t value)
{
___SentCountAllowance_35 = value;
}
inline static int32_t get_offset_of_InitialResendTimeMax_36() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___InitialResendTimeMax_36)); }
inline int32_t get_InitialResendTimeMax_36() const { return ___InitialResendTimeMax_36; }
inline int32_t* get_address_of_InitialResendTimeMax_36() { return &___InitialResendTimeMax_36; }
inline void set_InitialResendTimeMax_36(int32_t value)
{
___InitialResendTimeMax_36 = value;
}
inline static int32_t get_offset_of_TimePingInterval_37() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___TimePingInterval_37)); }
inline int32_t get_TimePingInterval_37() const { return ___TimePingInterval_37; }
inline int32_t* get_address_of_TimePingInterval_37() { return &___TimePingInterval_37; }
inline void set_TimePingInterval_37(int32_t value)
{
___TimePingInterval_37 = value;
}
inline static int32_t get_offset_of_disconnectTimeout_38() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___disconnectTimeout_38)); }
inline int32_t get_disconnectTimeout_38() const { return ___disconnectTimeout_38; }
inline int32_t* get_address_of_disconnectTimeout_38() { return &___disconnectTimeout_38; }
inline void set_disconnectTimeout_38(int32_t value)
{
___disconnectTimeout_38 = value;
}
inline static int32_t get_offset_of_U3CTransportProtocolU3Ek__BackingField_39() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CTransportProtocolU3Ek__BackingField_39)); }
inline uint8_t get_U3CTransportProtocolU3Ek__BackingField_39() const { return ___U3CTransportProtocolU3Ek__BackingField_39; }
inline uint8_t* get_address_of_U3CTransportProtocolU3Ek__BackingField_39() { return &___U3CTransportProtocolU3Ek__BackingField_39; }
inline void set_U3CTransportProtocolU3Ek__BackingField_39(uint8_t value)
{
___U3CTransportProtocolU3Ek__BackingField_39 = value;
}
inline static int32_t get_offset_of_mtu_41() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___mtu_41)); }
inline int32_t get_mtu_41() const { return ___mtu_41; }
inline int32_t* get_address_of_mtu_41() { return &___mtu_41; }
inline void set_mtu_41(int32_t value)
{
___mtu_41 = value;
}
inline static int32_t get_offset_of_U3CIsSendingOnlyAcksU3Ek__BackingField_42() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CIsSendingOnlyAcksU3Ek__BackingField_42)); }
inline bool get_U3CIsSendingOnlyAcksU3Ek__BackingField_42() const { return ___U3CIsSendingOnlyAcksU3Ek__BackingField_42; }
inline bool* get_address_of_U3CIsSendingOnlyAcksU3Ek__BackingField_42() { return &___U3CIsSendingOnlyAcksU3Ek__BackingField_42; }
inline void set_U3CIsSendingOnlyAcksU3Ek__BackingField_42(bool value)
{
___U3CIsSendingOnlyAcksU3Ek__BackingField_42 = value;
}
inline static int32_t get_offset_of_RandomizeSequenceNumbers_44() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___RandomizeSequenceNumbers_44)); }
inline bool get_RandomizeSequenceNumbers_44() const { return ___RandomizeSequenceNumbers_44; }
inline bool* get_address_of_RandomizeSequenceNumbers_44() { return &___RandomizeSequenceNumbers_44; }
inline void set_RandomizeSequenceNumbers_44(bool value)
{
___RandomizeSequenceNumbers_44 = value;
}
inline static int32_t get_offset_of_RandomizedSequenceNumbers_45() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___RandomizedSequenceNumbers_45)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_RandomizedSequenceNumbers_45() const { return ___RandomizedSequenceNumbers_45; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_RandomizedSequenceNumbers_45() { return &___RandomizedSequenceNumbers_45; }
inline void set_RandomizedSequenceNumbers_45(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___RandomizedSequenceNumbers_45 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RandomizedSequenceNumbers_45), (void*)value);
}
inline static int32_t get_offset_of_GcmDatagramEncryption_46() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___GcmDatagramEncryption_46)); }
inline bool get_GcmDatagramEncryption_46() const { return ___GcmDatagramEncryption_46; }
inline bool* get_address_of_GcmDatagramEncryption_46() { return &___GcmDatagramEncryption_46; }
inline void set_GcmDatagramEncryption_46(bool value)
{
___GcmDatagramEncryption_46 = value;
}
inline static int32_t get_offset_of_U3CTrafficStatsIncomingU3Ek__BackingField_47() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CTrafficStatsIncomingU3Ek__BackingField_47)); }
inline TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * get_U3CTrafficStatsIncomingU3Ek__BackingField_47() const { return ___U3CTrafficStatsIncomingU3Ek__BackingField_47; }
inline TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 ** get_address_of_U3CTrafficStatsIncomingU3Ek__BackingField_47() { return &___U3CTrafficStatsIncomingU3Ek__BackingField_47; }
inline void set_U3CTrafficStatsIncomingU3Ek__BackingField_47(TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * value)
{
___U3CTrafficStatsIncomingU3Ek__BackingField_47 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CTrafficStatsIncomingU3Ek__BackingField_47), (void*)value);
}
inline static int32_t get_offset_of_U3CTrafficStatsOutgoingU3Ek__BackingField_48() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CTrafficStatsOutgoingU3Ek__BackingField_48)); }
inline TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * get_U3CTrafficStatsOutgoingU3Ek__BackingField_48() const { return ___U3CTrafficStatsOutgoingU3Ek__BackingField_48; }
inline TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 ** get_address_of_U3CTrafficStatsOutgoingU3Ek__BackingField_48() { return &___U3CTrafficStatsOutgoingU3Ek__BackingField_48; }
inline void set_U3CTrafficStatsOutgoingU3Ek__BackingField_48(TrafficStats_tD0749D381A0995A317FB0FD8F1196D4E8F1E4871 * value)
{
___U3CTrafficStatsOutgoingU3Ek__BackingField_48 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CTrafficStatsOutgoingU3Ek__BackingField_48), (void*)value);
}
inline static int32_t get_offset_of_U3CTrafficStatsGameLevelU3Ek__BackingField_49() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CTrafficStatsGameLevelU3Ek__BackingField_49)); }
inline TrafficStatsGameLevel_t058AE246B0BBFC65A16C16D2FB5631204E603CFE * get_U3CTrafficStatsGameLevelU3Ek__BackingField_49() const { return ___U3CTrafficStatsGameLevelU3Ek__BackingField_49; }
inline TrafficStatsGameLevel_t058AE246B0BBFC65A16C16D2FB5631204E603CFE ** get_address_of_U3CTrafficStatsGameLevelU3Ek__BackingField_49() { return &___U3CTrafficStatsGameLevelU3Ek__BackingField_49; }
inline void set_U3CTrafficStatsGameLevelU3Ek__BackingField_49(TrafficStatsGameLevel_t058AE246B0BBFC65A16C16D2FB5631204E603CFE * value)
{
___U3CTrafficStatsGameLevelU3Ek__BackingField_49 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CTrafficStatsGameLevelU3Ek__BackingField_49), (void*)value);
}
inline static int32_t get_offset_of_trafficStatsStopwatch_50() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___trafficStatsStopwatch_50)); }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * get_trafficStatsStopwatch_50() const { return ___trafficStatsStopwatch_50; }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 ** get_address_of_trafficStatsStopwatch_50() { return &___trafficStatsStopwatch_50; }
inline void set_trafficStatsStopwatch_50(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * value)
{
___trafficStatsStopwatch_50 = value;
Il2CppCodeGenWriteBarrier((void**)(&___trafficStatsStopwatch_50), (void*)value);
}
inline static int32_t get_offset_of_trafficStatsEnabled_51() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___trafficStatsEnabled_51)); }
inline bool get_trafficStatsEnabled_51() const { return ___trafficStatsEnabled_51; }
inline bool* get_address_of_trafficStatsEnabled_51() { return &___trafficStatsEnabled_51; }
inline void set_trafficStatsEnabled_51(bool value)
{
___trafficStatsEnabled_51 = value;
}
inline static int32_t get_offset_of_peerBase_52() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___peerBase_52)); }
inline PeerBase_t0434FE9EB58DFED6DB6E034A71351A7D4BF7C1CC * get_peerBase_52() const { return ___peerBase_52; }
inline PeerBase_t0434FE9EB58DFED6DB6E034A71351A7D4BF7C1CC ** get_address_of_peerBase_52() { return &___peerBase_52; }
inline void set_peerBase_52(PeerBase_t0434FE9EB58DFED6DB6E034A71351A7D4BF7C1CC * value)
{
___peerBase_52 = value;
Il2CppCodeGenWriteBarrier((void**)(&___peerBase_52), (void*)value);
}
inline static int32_t get_offset_of_SendOutgoingLockObject_53() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___SendOutgoingLockObject_53)); }
inline RuntimeObject * get_SendOutgoingLockObject_53() const { return ___SendOutgoingLockObject_53; }
inline RuntimeObject ** get_address_of_SendOutgoingLockObject_53() { return &___SendOutgoingLockObject_53; }
inline void set_SendOutgoingLockObject_53(RuntimeObject * value)
{
___SendOutgoingLockObject_53 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SendOutgoingLockObject_53), (void*)value);
}
inline static int32_t get_offset_of_DispatchLockObject_54() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___DispatchLockObject_54)); }
inline RuntimeObject * get_DispatchLockObject_54() const { return ___DispatchLockObject_54; }
inline RuntimeObject ** get_address_of_DispatchLockObject_54() { return &___DispatchLockObject_54; }
inline void set_DispatchLockObject_54(RuntimeObject * value)
{
___DispatchLockObject_54 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DispatchLockObject_54), (void*)value);
}
inline static int32_t get_offset_of_EnqueueLock_55() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___EnqueueLock_55)); }
inline RuntimeObject * get_EnqueueLock_55() const { return ___EnqueueLock_55; }
inline RuntimeObject ** get_address_of_EnqueueLock_55() { return &___EnqueueLock_55; }
inline void set_EnqueueLock_55(RuntimeObject * value)
{
___EnqueueLock_55 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EnqueueLock_55), (void*)value);
}
inline static int32_t get_offset_of_payloadEncryptorType_56() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___payloadEncryptorType_56)); }
inline Type_t * get_payloadEncryptorType_56() const { return ___payloadEncryptorType_56; }
inline Type_t ** get_address_of_payloadEncryptorType_56() { return &___payloadEncryptorType_56; }
inline void set_payloadEncryptorType_56(Type_t * value)
{
___payloadEncryptorType_56 = value;
Il2CppCodeGenWriteBarrier((void**)(&___payloadEncryptorType_56), (void*)value);
}
inline static int32_t get_offset_of_PayloadEncryptionSecret_57() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___PayloadEncryptionSecret_57)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_PayloadEncryptionSecret_57() const { return ___PayloadEncryptionSecret_57; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_PayloadEncryptionSecret_57() { return &___PayloadEncryptionSecret_57; }
inline void set_PayloadEncryptionSecret_57(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___PayloadEncryptionSecret_57 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PayloadEncryptionSecret_57), (void*)value);
}
inline static int32_t get_offset_of_encryptorType_58() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___encryptorType_58)); }
inline Type_t * get_encryptorType_58() const { return ___encryptorType_58; }
inline Type_t ** get_address_of_encryptorType_58() { return &___encryptorType_58; }
inline void set_encryptorType_58(Type_t * value)
{
___encryptorType_58 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encryptorType_58), (void*)value);
}
inline static int32_t get_offset_of_Encryptor_59() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___Encryptor_59)); }
inline RuntimeObject* get_Encryptor_59() const { return ___Encryptor_59; }
inline RuntimeObject** get_address_of_Encryptor_59() { return &___Encryptor_59; }
inline void set_Encryptor_59(RuntimeObject* value)
{
___Encryptor_59 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Encryptor_59), (void*)value);
}
inline static int32_t get_offset_of_U3CCountDiscardedU3Ek__BackingField_60() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CCountDiscardedU3Ek__BackingField_60)); }
inline int32_t get_U3CCountDiscardedU3Ek__BackingField_60() const { return ___U3CCountDiscardedU3Ek__BackingField_60; }
inline int32_t* get_address_of_U3CCountDiscardedU3Ek__BackingField_60() { return &___U3CCountDiscardedU3Ek__BackingField_60; }
inline void set_U3CCountDiscardedU3Ek__BackingField_60(int32_t value)
{
___U3CCountDiscardedU3Ek__BackingField_60 = value;
}
inline static int32_t get_offset_of_U3CDeltaUnreliableNumberU3Ek__BackingField_61() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD, ___U3CDeltaUnreliableNumberU3Ek__BackingField_61)); }
inline int32_t get_U3CDeltaUnreliableNumberU3Ek__BackingField_61() const { return ___U3CDeltaUnreliableNumberU3Ek__BackingField_61; }
inline int32_t* get_address_of_U3CDeltaUnreliableNumberU3Ek__BackingField_61() { return &___U3CDeltaUnreliableNumberU3Ek__BackingField_61; }
inline void set_U3CDeltaUnreliableNumberU3Ek__BackingField_61(int32_t value)
{
___U3CDeltaUnreliableNumberU3Ek__BackingField_61 = value;
}
};
struct PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields
{
public:
// System.Boolean ExitGames.Client.Photon.PhotonPeer::NoNativeCallbacks
bool ___NoNativeCallbacks_9;
// System.String ExitGames.Client.Photon.PhotonPeer::clientVersion
String_t* ___clientVersion_12;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::NativeSocketLibAvailable
bool ___NativeSocketLibAvailable_13;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::NativePayloadEncryptionLibAvailable
bool ___NativePayloadEncryptionLibAvailable_14;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::NativeDatagramEncryptionLibAvailable
bool ___NativeDatagramEncryptionLibAvailable_15;
// System.Int32 ExitGames.Client.Photon.PhotonPeer::OutgoingStreamBufferSize
int32_t ___OutgoingStreamBufferSize_40;
// System.Boolean ExitGames.Client.Photon.PhotonPeer::AsyncKeyExchange
bool ___AsyncKeyExchange_43;
public:
inline static int32_t get_offset_of_NoNativeCallbacks_9() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___NoNativeCallbacks_9)); }
inline bool get_NoNativeCallbacks_9() const { return ___NoNativeCallbacks_9; }
inline bool* get_address_of_NoNativeCallbacks_9() { return &___NoNativeCallbacks_9; }
inline void set_NoNativeCallbacks_9(bool value)
{
___NoNativeCallbacks_9 = value;
}
inline static int32_t get_offset_of_clientVersion_12() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___clientVersion_12)); }
inline String_t* get_clientVersion_12() const { return ___clientVersion_12; }
inline String_t** get_address_of_clientVersion_12() { return &___clientVersion_12; }
inline void set_clientVersion_12(String_t* value)
{
___clientVersion_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___clientVersion_12), (void*)value);
}
inline static int32_t get_offset_of_NativeSocketLibAvailable_13() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___NativeSocketLibAvailable_13)); }
inline bool get_NativeSocketLibAvailable_13() const { return ___NativeSocketLibAvailable_13; }
inline bool* get_address_of_NativeSocketLibAvailable_13() { return &___NativeSocketLibAvailable_13; }
inline void set_NativeSocketLibAvailable_13(bool value)
{
___NativeSocketLibAvailable_13 = value;
}
inline static int32_t get_offset_of_NativePayloadEncryptionLibAvailable_14() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___NativePayloadEncryptionLibAvailable_14)); }
inline bool get_NativePayloadEncryptionLibAvailable_14() const { return ___NativePayloadEncryptionLibAvailable_14; }
inline bool* get_address_of_NativePayloadEncryptionLibAvailable_14() { return &___NativePayloadEncryptionLibAvailable_14; }
inline void set_NativePayloadEncryptionLibAvailable_14(bool value)
{
___NativePayloadEncryptionLibAvailable_14 = value;
}
inline static int32_t get_offset_of_NativeDatagramEncryptionLibAvailable_15() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___NativeDatagramEncryptionLibAvailable_15)); }
inline bool get_NativeDatagramEncryptionLibAvailable_15() const { return ___NativeDatagramEncryptionLibAvailable_15; }
inline bool* get_address_of_NativeDatagramEncryptionLibAvailable_15() { return &___NativeDatagramEncryptionLibAvailable_15; }
inline void set_NativeDatagramEncryptionLibAvailable_15(bool value)
{
___NativeDatagramEncryptionLibAvailable_15 = value;
}
inline static int32_t get_offset_of_OutgoingStreamBufferSize_40() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___OutgoingStreamBufferSize_40)); }
inline int32_t get_OutgoingStreamBufferSize_40() const { return ___OutgoingStreamBufferSize_40; }
inline int32_t* get_address_of_OutgoingStreamBufferSize_40() { return &___OutgoingStreamBufferSize_40; }
inline void set_OutgoingStreamBufferSize_40(int32_t value)
{
___OutgoingStreamBufferSize_40 = value;
}
inline static int32_t get_offset_of_AsyncKeyExchange_43() { return static_cast<int32_t>(offsetof(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_StaticFields, ___AsyncKeyExchange_43)); }
inline bool get_AsyncKeyExchange_43() const { return ___AsyncKeyExchange_43; }
inline bool* get_address_of_AsyncKeyExchange_43() { return &___AsyncKeyExchange_43; }
inline void set_AsyncKeyExchange_43(bool value)
{
___AsyncKeyExchange_43 = value;
}
};
// Photon.Realtime.RaiseEventOptions
struct RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 : 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_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___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_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___Flags_6;
public:
inline static int32_t get_offset_of_CachingOption_1() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738, ___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_t92DE5FA55450412988E3D6096C662FA03C257738, ___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_t92DE5FA55450412988E3D6096C662FA03C257738, ___TargetActors_3)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_TargetActors_3() const { return ___TargetActors_3; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_TargetActors_3() { return &___TargetActors_3; }
inline void set_TargetActors_3(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___TargetActors_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TargetActors_3), (void*)value);
}
inline static int32_t get_offset_of_Receivers_4() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738, ___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_t92DE5FA55450412988E3D6096C662FA03C257738, ___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_t92DE5FA55450412988E3D6096C662FA03C257738, ___Flags_6)); }
inline WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * get_Flags_6() const { return ___Flags_6; }
inline WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F ** get_address_of_Flags_6() { return &___Flags_6; }
inline void set_Flags_6(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * value)
{
___Flags_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Flags_6), (void*)value);
}
};
struct RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_StaticFields
{
public:
// Photon.Realtime.RaiseEventOptions Photon.Realtime.RaiseEventOptions::Default
RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * ___Default_0;
public:
inline static int32_t get_offset_of_Default_0() { return static_cast<int32_t>(offsetof(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_StaticFields, ___Default_0)); }
inline RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * get_Default_0() const { return ___Default_0; }
inline RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 ** get_address_of_Default_0() { return &___Default_0; }
inline void set_Default_0(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * value)
{
___Default_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Default_0), (void*)value);
}
};
// System.Net.Sockets.Socket
struct Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 : public RuntimeObject
{
public:
// System.Boolean System.Net.Sockets.Socket::is_closed
bool ___is_closed_6;
// System.Boolean System.Net.Sockets.Socket::is_listening
bool ___is_listening_7;
// System.Boolean System.Net.Sockets.Socket::useOverlappedIO
bool ___useOverlappedIO_8;
// System.Int32 System.Net.Sockets.Socket::linger_timeout
int32_t ___linger_timeout_9;
// System.Net.Sockets.AddressFamily System.Net.Sockets.Socket::addressFamily
int32_t ___addressFamily_10;
// System.Net.Sockets.SocketType System.Net.Sockets.Socket::socketType
int32_t ___socketType_11;
// System.Net.Sockets.ProtocolType System.Net.Sockets.Socket::protocolType
int32_t ___protocolType_12;
// System.Net.Sockets.SafeSocketHandle System.Net.Sockets.Socket::m_Handle
SafeSocketHandle_t5050671179FB886DA1763A0E4EFB3FCD072363C9 * ___m_Handle_13;
// System.Net.EndPoint System.Net.Sockets.Socket::seed_endpoint
EndPoint_t18D4AE8D03090A2B262136E59F95CE61418C34DA * ___seed_endpoint_14;
// System.Threading.SemaphoreSlim System.Net.Sockets.Socket::ReadSem
SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * ___ReadSem_15;
// System.Threading.SemaphoreSlim System.Net.Sockets.Socket::WriteSem
SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * ___WriteSem_16;
// System.Boolean System.Net.Sockets.Socket::is_blocking
bool ___is_blocking_17;
// System.Boolean System.Net.Sockets.Socket::is_bound
bool ___is_bound_18;
// System.Boolean System.Net.Sockets.Socket::is_connected
bool ___is_connected_19;
// System.Int32 System.Net.Sockets.Socket::m_IntCleanedUp
int32_t ___m_IntCleanedUp_20;
// System.Boolean System.Net.Sockets.Socket::connect_in_progress
bool ___connect_in_progress_21;
// System.Int32 System.Net.Sockets.Socket::ID
int32_t ___ID_22;
public:
inline static int32_t get_offset_of_is_closed_6() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___is_closed_6)); }
inline bool get_is_closed_6() const { return ___is_closed_6; }
inline bool* get_address_of_is_closed_6() { return &___is_closed_6; }
inline void set_is_closed_6(bool value)
{
___is_closed_6 = value;
}
inline static int32_t get_offset_of_is_listening_7() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___is_listening_7)); }
inline bool get_is_listening_7() const { return ___is_listening_7; }
inline bool* get_address_of_is_listening_7() { return &___is_listening_7; }
inline void set_is_listening_7(bool value)
{
___is_listening_7 = value;
}
inline static int32_t get_offset_of_useOverlappedIO_8() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___useOverlappedIO_8)); }
inline bool get_useOverlappedIO_8() const { return ___useOverlappedIO_8; }
inline bool* get_address_of_useOverlappedIO_8() { return &___useOverlappedIO_8; }
inline void set_useOverlappedIO_8(bool value)
{
___useOverlappedIO_8 = value;
}
inline static int32_t get_offset_of_linger_timeout_9() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___linger_timeout_9)); }
inline int32_t get_linger_timeout_9() const { return ___linger_timeout_9; }
inline int32_t* get_address_of_linger_timeout_9() { return &___linger_timeout_9; }
inline void set_linger_timeout_9(int32_t value)
{
___linger_timeout_9 = value;
}
inline static int32_t get_offset_of_addressFamily_10() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___addressFamily_10)); }
inline int32_t get_addressFamily_10() const { return ___addressFamily_10; }
inline int32_t* get_address_of_addressFamily_10() { return &___addressFamily_10; }
inline void set_addressFamily_10(int32_t value)
{
___addressFamily_10 = value;
}
inline static int32_t get_offset_of_socketType_11() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___socketType_11)); }
inline int32_t get_socketType_11() const { return ___socketType_11; }
inline int32_t* get_address_of_socketType_11() { return &___socketType_11; }
inline void set_socketType_11(int32_t value)
{
___socketType_11 = value;
}
inline static int32_t get_offset_of_protocolType_12() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___protocolType_12)); }
inline int32_t get_protocolType_12() const { return ___protocolType_12; }
inline int32_t* get_address_of_protocolType_12() { return &___protocolType_12; }
inline void set_protocolType_12(int32_t value)
{
___protocolType_12 = value;
}
inline static int32_t get_offset_of_m_Handle_13() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___m_Handle_13)); }
inline SafeSocketHandle_t5050671179FB886DA1763A0E4EFB3FCD072363C9 * get_m_Handle_13() const { return ___m_Handle_13; }
inline SafeSocketHandle_t5050671179FB886DA1763A0E4EFB3FCD072363C9 ** get_address_of_m_Handle_13() { return &___m_Handle_13; }
inline void set_m_Handle_13(SafeSocketHandle_t5050671179FB886DA1763A0E4EFB3FCD072363C9 * value)
{
___m_Handle_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Handle_13), (void*)value);
}
inline static int32_t get_offset_of_seed_endpoint_14() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___seed_endpoint_14)); }
inline EndPoint_t18D4AE8D03090A2B262136E59F95CE61418C34DA * get_seed_endpoint_14() const { return ___seed_endpoint_14; }
inline EndPoint_t18D4AE8D03090A2B262136E59F95CE61418C34DA ** get_address_of_seed_endpoint_14() { return &___seed_endpoint_14; }
inline void set_seed_endpoint_14(EndPoint_t18D4AE8D03090A2B262136E59F95CE61418C34DA * value)
{
___seed_endpoint_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___seed_endpoint_14), (void*)value);
}
inline static int32_t get_offset_of_ReadSem_15() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___ReadSem_15)); }
inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * get_ReadSem_15() const { return ___ReadSem_15; }
inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 ** get_address_of_ReadSem_15() { return &___ReadSem_15; }
inline void set_ReadSem_15(SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * value)
{
___ReadSem_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ReadSem_15), (void*)value);
}
inline static int32_t get_offset_of_WriteSem_16() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___WriteSem_16)); }
inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * get_WriteSem_16() const { return ___WriteSem_16; }
inline SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 ** get_address_of_WriteSem_16() { return &___WriteSem_16; }
inline void set_WriteSem_16(SemaphoreSlim_t3EF85FC980AE57957BEBB6B78E81DE2E3233D385 * value)
{
___WriteSem_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___WriteSem_16), (void*)value);
}
inline static int32_t get_offset_of_is_blocking_17() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___is_blocking_17)); }
inline bool get_is_blocking_17() const { return ___is_blocking_17; }
inline bool* get_address_of_is_blocking_17() { return &___is_blocking_17; }
inline void set_is_blocking_17(bool value)
{
___is_blocking_17 = value;
}
inline static int32_t get_offset_of_is_bound_18() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___is_bound_18)); }
inline bool get_is_bound_18() const { return ___is_bound_18; }
inline bool* get_address_of_is_bound_18() { return &___is_bound_18; }
inline void set_is_bound_18(bool value)
{
___is_bound_18 = value;
}
inline static int32_t get_offset_of_is_connected_19() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___is_connected_19)); }
inline bool get_is_connected_19() const { return ___is_connected_19; }
inline bool* get_address_of_is_connected_19() { return &___is_connected_19; }
inline void set_is_connected_19(bool value)
{
___is_connected_19 = value;
}
inline static int32_t get_offset_of_m_IntCleanedUp_20() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___m_IntCleanedUp_20)); }
inline int32_t get_m_IntCleanedUp_20() const { return ___m_IntCleanedUp_20; }
inline int32_t* get_address_of_m_IntCleanedUp_20() { return &___m_IntCleanedUp_20; }
inline void set_m_IntCleanedUp_20(int32_t value)
{
___m_IntCleanedUp_20 = value;
}
inline static int32_t get_offset_of_connect_in_progress_21() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___connect_in_progress_21)); }
inline bool get_connect_in_progress_21() const { return ___connect_in_progress_21; }
inline bool* get_address_of_connect_in_progress_21() { return &___connect_in_progress_21; }
inline void set_connect_in_progress_21(bool value)
{
___connect_in_progress_21 = value;
}
inline static int32_t get_offset_of_ID_22() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09, ___ID_22)); }
inline int32_t get_ID_22() const { return ___ID_22; }
inline int32_t* get_address_of_ID_22() { return &___ID_22; }
inline void set_ID_22(int32_t value)
{
___ID_22 = value;
}
};
struct Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields
{
public:
// System.Object System.Net.Sockets.Socket::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_0;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_SupportsIPv4
bool ___s_SupportsIPv4_1;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_SupportsIPv6
bool ___s_SupportsIPv6_2;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_OSSupportsIPv6
bool ___s_OSSupportsIPv6_3;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_Initialized
bool ___s_Initialized_4;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Net.Sockets.Socket::s_LoggingEnabled
bool ___s_LoggingEnabled_5;
// System.AsyncCallback System.Net.Sockets.Socket::AcceptAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___AcceptAsyncCallback_23;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginAcceptCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginAcceptCallback_24;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginAcceptReceiveCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginAcceptReceiveCallback_25;
// System.AsyncCallback System.Net.Sockets.Socket::ConnectAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___ConnectAsyncCallback_26;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginConnectCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginConnectCallback_27;
// System.AsyncCallback System.Net.Sockets.Socket::DisconnectAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___DisconnectAsyncCallback_28;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginDisconnectCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginDisconnectCallback_29;
// System.AsyncCallback System.Net.Sockets.Socket::ReceiveAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___ReceiveAsyncCallback_30;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginReceiveCallback_31;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveGenericCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginReceiveGenericCallback_32;
// System.AsyncCallback System.Net.Sockets.Socket::ReceiveFromAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___ReceiveFromAsyncCallback_33;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginReceiveFromCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginReceiveFromCallback_34;
// System.AsyncCallback System.Net.Sockets.Socket::SendAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___SendAsyncCallback_35;
// System.IOAsyncCallback System.Net.Sockets.Socket::BeginSendGenericCallback
IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * ___BeginSendGenericCallback_36;
// System.AsyncCallback System.Net.Sockets.Socket::SendToAsyncCallback
AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * ___SendToAsyncCallback_37;
public:
inline static int32_t get_offset_of_s_InternalSyncObject_0() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_InternalSyncObject_0)); }
inline RuntimeObject * get_s_InternalSyncObject_0() const { return ___s_InternalSyncObject_0; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_0() { return &___s_InternalSyncObject_0; }
inline void set_s_InternalSyncObject_0(RuntimeObject * value)
{
___s_InternalSyncObject_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_InternalSyncObject_0), (void*)value);
}
inline static int32_t get_offset_of_s_SupportsIPv4_1() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_SupportsIPv4_1)); }
inline bool get_s_SupportsIPv4_1() const { return ___s_SupportsIPv4_1; }
inline bool* get_address_of_s_SupportsIPv4_1() { return &___s_SupportsIPv4_1; }
inline void set_s_SupportsIPv4_1(bool value)
{
___s_SupportsIPv4_1 = value;
}
inline static int32_t get_offset_of_s_SupportsIPv6_2() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_SupportsIPv6_2)); }
inline bool get_s_SupportsIPv6_2() const { return ___s_SupportsIPv6_2; }
inline bool* get_address_of_s_SupportsIPv6_2() { return &___s_SupportsIPv6_2; }
inline void set_s_SupportsIPv6_2(bool value)
{
___s_SupportsIPv6_2 = value;
}
inline static int32_t get_offset_of_s_OSSupportsIPv6_3() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_OSSupportsIPv6_3)); }
inline bool get_s_OSSupportsIPv6_3() const { return ___s_OSSupportsIPv6_3; }
inline bool* get_address_of_s_OSSupportsIPv6_3() { return &___s_OSSupportsIPv6_3; }
inline void set_s_OSSupportsIPv6_3(bool value)
{
___s_OSSupportsIPv6_3 = value;
}
inline static int32_t get_offset_of_s_Initialized_4() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_Initialized_4)); }
inline bool get_s_Initialized_4() const { return ___s_Initialized_4; }
inline bool* get_address_of_s_Initialized_4() { return &___s_Initialized_4; }
inline void set_s_Initialized_4(bool value)
{
___s_Initialized_4 = value;
}
inline static int32_t get_offset_of_s_LoggingEnabled_5() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___s_LoggingEnabled_5)); }
inline bool get_s_LoggingEnabled_5() const { return ___s_LoggingEnabled_5; }
inline bool* get_address_of_s_LoggingEnabled_5() { return &___s_LoggingEnabled_5; }
inline void set_s_LoggingEnabled_5(bool value)
{
___s_LoggingEnabled_5 = value;
}
inline static int32_t get_offset_of_AcceptAsyncCallback_23() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___AcceptAsyncCallback_23)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_AcceptAsyncCallback_23() const { return ___AcceptAsyncCallback_23; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_AcceptAsyncCallback_23() { return &___AcceptAsyncCallback_23; }
inline void set_AcceptAsyncCallback_23(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___AcceptAsyncCallback_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___AcceptAsyncCallback_23), (void*)value);
}
inline static int32_t get_offset_of_BeginAcceptCallback_24() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginAcceptCallback_24)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginAcceptCallback_24() const { return ___BeginAcceptCallback_24; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginAcceptCallback_24() { return &___BeginAcceptCallback_24; }
inline void set_BeginAcceptCallback_24(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginAcceptCallback_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginAcceptCallback_24), (void*)value);
}
inline static int32_t get_offset_of_BeginAcceptReceiveCallback_25() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginAcceptReceiveCallback_25)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginAcceptReceiveCallback_25() const { return ___BeginAcceptReceiveCallback_25; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginAcceptReceiveCallback_25() { return &___BeginAcceptReceiveCallback_25; }
inline void set_BeginAcceptReceiveCallback_25(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginAcceptReceiveCallback_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginAcceptReceiveCallback_25), (void*)value);
}
inline static int32_t get_offset_of_ConnectAsyncCallback_26() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___ConnectAsyncCallback_26)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_ConnectAsyncCallback_26() const { return ___ConnectAsyncCallback_26; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_ConnectAsyncCallback_26() { return &___ConnectAsyncCallback_26; }
inline void set_ConnectAsyncCallback_26(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___ConnectAsyncCallback_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ConnectAsyncCallback_26), (void*)value);
}
inline static int32_t get_offset_of_BeginConnectCallback_27() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginConnectCallback_27)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginConnectCallback_27() const { return ___BeginConnectCallback_27; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginConnectCallback_27() { return &___BeginConnectCallback_27; }
inline void set_BeginConnectCallback_27(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginConnectCallback_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginConnectCallback_27), (void*)value);
}
inline static int32_t get_offset_of_DisconnectAsyncCallback_28() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___DisconnectAsyncCallback_28)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_DisconnectAsyncCallback_28() const { return ___DisconnectAsyncCallback_28; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_DisconnectAsyncCallback_28() { return &___DisconnectAsyncCallback_28; }
inline void set_DisconnectAsyncCallback_28(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___DisconnectAsyncCallback_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DisconnectAsyncCallback_28), (void*)value);
}
inline static int32_t get_offset_of_BeginDisconnectCallback_29() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginDisconnectCallback_29)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginDisconnectCallback_29() const { return ___BeginDisconnectCallback_29; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginDisconnectCallback_29() { return &___BeginDisconnectCallback_29; }
inline void set_BeginDisconnectCallback_29(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginDisconnectCallback_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginDisconnectCallback_29), (void*)value);
}
inline static int32_t get_offset_of_ReceiveAsyncCallback_30() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___ReceiveAsyncCallback_30)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_ReceiveAsyncCallback_30() const { return ___ReceiveAsyncCallback_30; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_ReceiveAsyncCallback_30() { return &___ReceiveAsyncCallback_30; }
inline void set_ReceiveAsyncCallback_30(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___ReceiveAsyncCallback_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ReceiveAsyncCallback_30), (void*)value);
}
inline static int32_t get_offset_of_BeginReceiveCallback_31() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginReceiveCallback_31)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginReceiveCallback_31() const { return ___BeginReceiveCallback_31; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginReceiveCallback_31() { return &___BeginReceiveCallback_31; }
inline void set_BeginReceiveCallback_31(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginReceiveCallback_31 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginReceiveCallback_31), (void*)value);
}
inline static int32_t get_offset_of_BeginReceiveGenericCallback_32() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginReceiveGenericCallback_32)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginReceiveGenericCallback_32() const { return ___BeginReceiveGenericCallback_32; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginReceiveGenericCallback_32() { return &___BeginReceiveGenericCallback_32; }
inline void set_BeginReceiveGenericCallback_32(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginReceiveGenericCallback_32 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginReceiveGenericCallback_32), (void*)value);
}
inline static int32_t get_offset_of_ReceiveFromAsyncCallback_33() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___ReceiveFromAsyncCallback_33)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_ReceiveFromAsyncCallback_33() const { return ___ReceiveFromAsyncCallback_33; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_ReceiveFromAsyncCallback_33() { return &___ReceiveFromAsyncCallback_33; }
inline void set_ReceiveFromAsyncCallback_33(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___ReceiveFromAsyncCallback_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ReceiveFromAsyncCallback_33), (void*)value);
}
inline static int32_t get_offset_of_BeginReceiveFromCallback_34() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginReceiveFromCallback_34)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginReceiveFromCallback_34() const { return ___BeginReceiveFromCallback_34; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginReceiveFromCallback_34() { return &___BeginReceiveFromCallback_34; }
inline void set_BeginReceiveFromCallback_34(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginReceiveFromCallback_34 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginReceiveFromCallback_34), (void*)value);
}
inline static int32_t get_offset_of_SendAsyncCallback_35() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___SendAsyncCallback_35)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_SendAsyncCallback_35() const { return ___SendAsyncCallback_35; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_SendAsyncCallback_35() { return &___SendAsyncCallback_35; }
inline void set_SendAsyncCallback_35(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___SendAsyncCallback_35 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SendAsyncCallback_35), (void*)value);
}
inline static int32_t get_offset_of_BeginSendGenericCallback_36() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___BeginSendGenericCallback_36)); }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * get_BeginSendGenericCallback_36() const { return ___BeginSendGenericCallback_36; }
inline IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E ** get_address_of_BeginSendGenericCallback_36() { return &___BeginSendGenericCallback_36; }
inline void set_BeginSendGenericCallback_36(IOAsyncCallback_tB965FCE75DB2822B784F36808F71EA447D5F977E * value)
{
___BeginSendGenericCallback_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&___BeginSendGenericCallback_36), (void*)value);
}
inline static int32_t get_offset_of_SendToAsyncCallback_37() { return static_cast<int32_t>(offsetof(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_StaticFields, ___SendToAsyncCallback_37)); }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * get_SendToAsyncCallback_37() const { return ___SendToAsyncCallback_37; }
inline AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA ** get_address_of_SendToAsyncCallback_37() { return &___SendToAsyncCallback_37; }
inline void set_SendToAsyncCallback_37(AsyncCallback_tA7921BEF974919C46FF8F9D9867C567B200BB0EA * value)
{
___SendToAsyncCallback_37 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SendToAsyncCallback_37), (void*)value);
}
};
// System.SystemException
struct SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62 : public Exception_t
{
public:
public:
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// Photon.Realtime.TypedLobby
struct TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 : 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_tD368895EDDB4706F8B68ABCA542E3E697845B1C5, ___Name_0)); }
inline String_t* get_Name_0() const { return ___Name_0; }
inline String_t** get_address_of_Name_0() { return &___Name_0; }
inline void set_Name_0(String_t* value)
{
___Name_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Name_0), (void*)value);
}
inline static int32_t get_offset_of_Type_1() { return static_cast<int32_t>(offsetof(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5, ___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_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_StaticFields
{
public:
// Photon.Realtime.TypedLobby Photon.Realtime.TypedLobby::Default
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * ___Default_2;
public:
inline static int32_t get_offset_of_Default_2() { return static_cast<int32_t>(offsetof(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_StaticFields, ___Default_2)); }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * get_Default_2() const { return ___Default_2; }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 ** get_address_of_Default_2() { return &___Default_2; }
inline void set_Default_2(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * value)
{
___Default_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Default_2), (void*)value);
}
};
// System.Action`1<Photon.Realtime.Region>
struct Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 : public MulticastDelegate_t
{
public:
public:
};
// System.Action`1<Photon.Realtime.RegionHandler>
struct Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 : public MulticastDelegate_t
{
public:
public:
};
// System.Comparison`1<Photon.Realtime.Region>
struct Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 : public MulticastDelegate_t
{
public:
public:
};
// System.Func`1<System.Boolean>
struct Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<Photon.Realtime.Region>
struct Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.Behaviour
struct Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9 : public Component_t62FBC8D2420DA4BE9037AFE430740F6B3EECA684
{
public:
public:
};
// Photon.Realtime.LoadBalancingClient
struct LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A : public RuntimeObject
{
public:
// Photon.Realtime.LoadBalancingPeer Photon.Realtime.LoadBalancingClient::<LoadBalancingPeer>k__BackingField
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * ___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.ClientAppType Photon.Realtime.LoadBalancingClient::<ClientType>k__BackingField
int32_t ___U3CClientTypeU3Ek__BackingField_3;
// Photon.Realtime.AuthenticationValues Photon.Realtime.LoadBalancingClient::<AuthValues>k__BackingField
AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * ___U3CAuthValuesU3Ek__BackingField_4;
// Photon.Realtime.AuthModeOption Photon.Realtime.LoadBalancingClient::AuthMode
int32_t ___AuthMode_5;
// Photon.Realtime.EncryptionMode Photon.Realtime.LoadBalancingClient::EncryptionMode
int32_t ___EncryptionMode_6;
// System.Nullable`1<ExitGames.Client.Photon.ConnectionProtocol> Photon.Realtime.LoadBalancingClient::<ExpectedProtocol>k__BackingField
Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26 ___U3CExpectedProtocolU3Ek__BackingField_7;
// System.Object Photon.Realtime.LoadBalancingClient::tokenCache
RuntimeObject * ___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.Boolean Photon.Realtime.LoadBalancingClient::<UseAlternativeUdpPorts>k__BackingField
bool ___U3CUseAlternativeUdpPortsU3Ek__BackingField_12;
// Photon.Realtime.PhotonPortDefinition Photon.Realtime.LoadBalancingClient::ServerPortOverrides
PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 ___ServerPortOverrides_13;
// System.Boolean Photon.Realtime.LoadBalancingClient::<EnableProtocolFallback>k__BackingField
bool ___U3CEnableProtocolFallbackU3Ek__BackingField_14;
// System.String Photon.Realtime.LoadBalancingClient::<MasterServerAddress>k__BackingField
String_t* ___U3CMasterServerAddressU3Ek__BackingField_15;
// System.String Photon.Realtime.LoadBalancingClient::<GameServerAddress>k__BackingField
String_t* ___U3CGameServerAddressU3Ek__BackingField_16;
// Photon.Realtime.ServerConnection Photon.Realtime.LoadBalancingClient::<Server>k__BackingField
int32_t ___U3CServerU3Ek__BackingField_17;
// System.String Photon.Realtime.LoadBalancingClient::ProxyServerAddress
String_t* ___ProxyServerAddress_18;
// Photon.Realtime.ClientState Photon.Realtime.LoadBalancingClient::state
int32_t ___state_19;
// System.Action`2<Photon.Realtime.ClientState,Photon.Realtime.ClientState> Photon.Realtime.LoadBalancingClient::StateChanged
Action_2_t9BAECADE7E59203F365C12486B7F2D8BAD9047D5 * ___StateChanged_20;
// System.Action`1<ExitGames.Client.Photon.EventData> Photon.Realtime.LoadBalancingClient::EventReceived
Action_1_tE42328A05E8E95AF3C2424273ACB8605ADA047E3 * ___EventReceived_21;
// System.Action`1<ExitGames.Client.Photon.OperationResponse> Photon.Realtime.LoadBalancingClient::OpResponseReceived
Action_1_t1F80B3B5BE5D7778C86DA28AB5D2E5D5814E5622 * ___OpResponseReceived_22;
// Photon.Realtime.ConnectionCallbacksContainer Photon.Realtime.LoadBalancingClient::ConnectionCallbackTargets
ConnectionCallbacksContainer_t3FF418F792503D0BAEBE8E0FBA164ED635C5E627 * ___ConnectionCallbackTargets_23;
// Photon.Realtime.MatchMakingCallbacksContainer Photon.Realtime.LoadBalancingClient::MatchMakingCallbackTargets
MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * ___MatchMakingCallbackTargets_24;
// Photon.Realtime.InRoomCallbacksContainer Photon.Realtime.LoadBalancingClient::InRoomCallbackTargets
InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * ___InRoomCallbackTargets_25;
// Photon.Realtime.LobbyCallbacksContainer Photon.Realtime.LoadBalancingClient::LobbyCallbackTargets
LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * ___LobbyCallbackTargets_26;
// Photon.Realtime.WebRpcCallbacksContainer Photon.Realtime.LoadBalancingClient::WebRpcCallbackTargets
WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 * ___WebRpcCallbackTargets_27;
// Photon.Realtime.ErrorInfoCallbacksContainer Photon.Realtime.LoadBalancingClient::ErrorInfoCallbackTargets
ErrorInfoCallbacksContainer_tB826CF47FBDA7DDE1BDE3433AD155B973DD800E6 * ___ErrorInfoCallbackTargets_28;
// Photon.Realtime.DisconnectCause Photon.Realtime.LoadBalancingClient::<DisconnectedCause>k__BackingField
int32_t ___U3CDisconnectedCauseU3Ek__BackingField_29;
// Photon.Realtime.TypedLobby Photon.Realtime.LoadBalancingClient::<CurrentLobby>k__BackingField
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * ___U3CCurrentLobbyU3Ek__BackingField_30;
// System.Boolean Photon.Realtime.LoadBalancingClient::EnableLobbyStatistics
bool ___EnableLobbyStatistics_31;
// System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo> Photon.Realtime.LoadBalancingClient::lobbyStatistics
List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * ___lobbyStatistics_32;
// Photon.Realtime.Player Photon.Realtime.LoadBalancingClient::<LocalPlayer>k__BackingField
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___U3CLocalPlayerU3Ek__BackingField_33;
// Photon.Realtime.Room Photon.Realtime.LoadBalancingClient::<CurrentRoom>k__BackingField
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * ___U3CCurrentRoomU3Ek__BackingField_34;
// System.Int32 Photon.Realtime.LoadBalancingClient::<PlayersOnMasterCount>k__BackingField
int32_t ___U3CPlayersOnMasterCountU3Ek__BackingField_35;
// System.Int32 Photon.Realtime.LoadBalancingClient::<PlayersInRoomsCount>k__BackingField
int32_t ___U3CPlayersInRoomsCountU3Ek__BackingField_36;
// System.Int32 Photon.Realtime.LoadBalancingClient::<RoomsCount>k__BackingField
int32_t ___U3CRoomsCountU3Ek__BackingField_37;
// Photon.Realtime.JoinType Photon.Realtime.LoadBalancingClient::lastJoinType
int32_t ___lastJoinType_38;
// Photon.Realtime.EnterRoomParams Photon.Realtime.LoadBalancingClient::enterRoomParamsCache
EnterRoomParams_t332FBCA3D53159524F5A58B535B05BF1E0470B3E * ___enterRoomParamsCache_39;
// ExitGames.Client.Photon.OperationResponse Photon.Realtime.LoadBalancingClient::failedRoomEntryOperation
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * ___failedRoomEntryOperation_40;
// System.String[] Photon.Realtime.LoadBalancingClient::friendListRequested
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___friendListRequested_42;
// System.String Photon.Realtime.LoadBalancingClient::<CloudRegion>k__BackingField
String_t* ___U3CCloudRegionU3Ek__BackingField_43;
// System.String Photon.Realtime.LoadBalancingClient::<CurrentCluster>k__BackingField
String_t* ___U3CCurrentClusterU3Ek__BackingField_44;
// Photon.Realtime.RegionHandler Photon.Realtime.LoadBalancingClient::RegionHandler
RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * ___RegionHandler_45;
// System.String Photon.Realtime.LoadBalancingClient::bestRegionSummaryFromStorage
String_t* ___bestRegionSummaryFromStorage_46;
// System.String Photon.Realtime.LoadBalancingClient::SummaryToCache
String_t* ___SummaryToCache_47;
// System.Boolean Photon.Realtime.LoadBalancingClient::connectToBestRegion
bool ___connectToBestRegion_48;
// System.Collections.Generic.Queue`1<Photon.Realtime.LoadBalancingClient/CallbackTargetChange> Photon.Realtime.LoadBalancingClient::callbackTargetChanges
Queue_1_tFF9526B5F79416765882A99F02C06F237631B787 * ___callbackTargetChanges_49;
// System.Collections.Generic.HashSet`1<System.Object> Photon.Realtime.LoadBalancingClient::callbackTargets
HashSet_1_t680119C7ED8D82AED56CDB83DF6F0E9149852A9B * ___callbackTargets_50;
// System.Int32 Photon.Realtime.LoadBalancingClient::NameServerPortInAppSettings
int32_t ___NameServerPortInAppSettings_51;
public:
inline static int32_t get_offset_of_U3CLoadBalancingPeerU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CLoadBalancingPeerU3Ek__BackingField_0)); }
inline LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * get_U3CLoadBalancingPeerU3Ek__BackingField_0() const { return ___U3CLoadBalancingPeerU3Ek__BackingField_0; }
inline LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 ** get_address_of_U3CLoadBalancingPeerU3Ek__BackingField_0() { return &___U3CLoadBalancingPeerU3Ek__BackingField_0; }
inline void set_U3CLoadBalancingPeerU3Ek__BackingField_0(LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * value)
{
___U3CLoadBalancingPeerU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CLoadBalancingPeerU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CAppVersionU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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((void**)(&___U3CAppVersionU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CAppIdU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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((void**)(&___U3CAppIdU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_U3CClientTypeU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CClientTypeU3Ek__BackingField_3)); }
inline int32_t get_U3CClientTypeU3Ek__BackingField_3() const { return ___U3CClientTypeU3Ek__BackingField_3; }
inline int32_t* get_address_of_U3CClientTypeU3Ek__BackingField_3() { return &___U3CClientTypeU3Ek__BackingField_3; }
inline void set_U3CClientTypeU3Ek__BackingField_3(int32_t value)
{
___U3CClientTypeU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_U3CAuthValuesU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CAuthValuesU3Ek__BackingField_4)); }
inline AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * get_U3CAuthValuesU3Ek__BackingField_4() const { return ___U3CAuthValuesU3Ek__BackingField_4; }
inline AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A ** get_address_of_U3CAuthValuesU3Ek__BackingField_4() { return &___U3CAuthValuesU3Ek__BackingField_4; }
inline void set_U3CAuthValuesU3Ek__BackingField_4(AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * value)
{
___U3CAuthValuesU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CAuthValuesU3Ek__BackingField_4), (void*)value);
}
inline static int32_t get_offset_of_AuthMode_5() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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_U3CExpectedProtocolU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CExpectedProtocolU3Ek__BackingField_7)); }
inline Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26 get_U3CExpectedProtocolU3Ek__BackingField_7() const { return ___U3CExpectedProtocolU3Ek__BackingField_7; }
inline Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26 * get_address_of_U3CExpectedProtocolU3Ek__BackingField_7() { return &___U3CExpectedProtocolU3Ek__BackingField_7; }
inline void set_U3CExpectedProtocolU3Ek__BackingField_7(Nullable_1_t34CAF3F41FC8F041E615064F47B004DB52CE2B26 value)
{
___U3CExpectedProtocolU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_tokenCache_8() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___tokenCache_8)); }
inline RuntimeObject * get_tokenCache_8() const { return ___tokenCache_8; }
inline RuntimeObject ** get_address_of_tokenCache_8() { return &___tokenCache_8; }
inline void set_tokenCache_8(RuntimeObject * value)
{
___tokenCache_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___tokenCache_8), (void*)value);
}
inline static int32_t get_offset_of_U3CIsUsingNameServerU3Ek__BackingField_9() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___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((void**)(&___NameServerHost_10), (void*)value);
}
inline static int32_t get_offset_of_U3CUseAlternativeUdpPortsU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CUseAlternativeUdpPortsU3Ek__BackingField_12)); }
inline bool get_U3CUseAlternativeUdpPortsU3Ek__BackingField_12() const { return ___U3CUseAlternativeUdpPortsU3Ek__BackingField_12; }
inline bool* get_address_of_U3CUseAlternativeUdpPortsU3Ek__BackingField_12() { return &___U3CUseAlternativeUdpPortsU3Ek__BackingField_12; }
inline void set_U3CUseAlternativeUdpPortsU3Ek__BackingField_12(bool value)
{
___U3CUseAlternativeUdpPortsU3Ek__BackingField_12 = value;
}
inline static int32_t get_offset_of_ServerPortOverrides_13() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___ServerPortOverrides_13)); }
inline PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 get_ServerPortOverrides_13() const { return ___ServerPortOverrides_13; }
inline PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 * get_address_of_ServerPortOverrides_13() { return &___ServerPortOverrides_13; }
inline void set_ServerPortOverrides_13(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 value)
{
___ServerPortOverrides_13 = value;
}
inline static int32_t get_offset_of_U3CEnableProtocolFallbackU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CEnableProtocolFallbackU3Ek__BackingField_14)); }
inline bool get_U3CEnableProtocolFallbackU3Ek__BackingField_14() const { return ___U3CEnableProtocolFallbackU3Ek__BackingField_14; }
inline bool* get_address_of_U3CEnableProtocolFallbackU3Ek__BackingField_14() { return &___U3CEnableProtocolFallbackU3Ek__BackingField_14; }
inline void set_U3CEnableProtocolFallbackU3Ek__BackingField_14(bool value)
{
___U3CEnableProtocolFallbackU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CMasterServerAddressU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CMasterServerAddressU3Ek__BackingField_15)); }
inline String_t* get_U3CMasterServerAddressU3Ek__BackingField_15() const { return ___U3CMasterServerAddressU3Ek__BackingField_15; }
inline String_t** get_address_of_U3CMasterServerAddressU3Ek__BackingField_15() { return &___U3CMasterServerAddressU3Ek__BackingField_15; }
inline void set_U3CMasterServerAddressU3Ek__BackingField_15(String_t* value)
{
___U3CMasterServerAddressU3Ek__BackingField_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CMasterServerAddressU3Ek__BackingField_15), (void*)value);
}
inline static int32_t get_offset_of_U3CGameServerAddressU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CGameServerAddressU3Ek__BackingField_16)); }
inline String_t* get_U3CGameServerAddressU3Ek__BackingField_16() const { return ___U3CGameServerAddressU3Ek__BackingField_16; }
inline String_t** get_address_of_U3CGameServerAddressU3Ek__BackingField_16() { return &___U3CGameServerAddressU3Ek__BackingField_16; }
inline void set_U3CGameServerAddressU3Ek__BackingField_16(String_t* value)
{
___U3CGameServerAddressU3Ek__BackingField_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CGameServerAddressU3Ek__BackingField_16), (void*)value);
}
inline static int32_t get_offset_of_U3CServerU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CServerU3Ek__BackingField_17)); }
inline int32_t get_U3CServerU3Ek__BackingField_17() const { return ___U3CServerU3Ek__BackingField_17; }
inline int32_t* get_address_of_U3CServerU3Ek__BackingField_17() { return &___U3CServerU3Ek__BackingField_17; }
inline void set_U3CServerU3Ek__BackingField_17(int32_t value)
{
___U3CServerU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_ProxyServerAddress_18() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___ProxyServerAddress_18)); }
inline String_t* get_ProxyServerAddress_18() const { return ___ProxyServerAddress_18; }
inline String_t** get_address_of_ProxyServerAddress_18() { return &___ProxyServerAddress_18; }
inline void set_ProxyServerAddress_18(String_t* value)
{
___ProxyServerAddress_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ProxyServerAddress_18), (void*)value);
}
inline static int32_t get_offset_of_state_19() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___state_19)); }
inline int32_t get_state_19() const { return ___state_19; }
inline int32_t* get_address_of_state_19() { return &___state_19; }
inline void set_state_19(int32_t value)
{
___state_19 = value;
}
inline static int32_t get_offset_of_StateChanged_20() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___StateChanged_20)); }
inline Action_2_t9BAECADE7E59203F365C12486B7F2D8BAD9047D5 * get_StateChanged_20() const { return ___StateChanged_20; }
inline Action_2_t9BAECADE7E59203F365C12486B7F2D8BAD9047D5 ** get_address_of_StateChanged_20() { return &___StateChanged_20; }
inline void set_StateChanged_20(Action_2_t9BAECADE7E59203F365C12486B7F2D8BAD9047D5 * value)
{
___StateChanged_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___StateChanged_20), (void*)value);
}
inline static int32_t get_offset_of_EventReceived_21() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___EventReceived_21)); }
inline Action_1_tE42328A05E8E95AF3C2424273ACB8605ADA047E3 * get_EventReceived_21() const { return ___EventReceived_21; }
inline Action_1_tE42328A05E8E95AF3C2424273ACB8605ADA047E3 ** get_address_of_EventReceived_21() { return &___EventReceived_21; }
inline void set_EventReceived_21(Action_1_tE42328A05E8E95AF3C2424273ACB8605ADA047E3 * value)
{
___EventReceived_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EventReceived_21), (void*)value);
}
inline static int32_t get_offset_of_OpResponseReceived_22() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___OpResponseReceived_22)); }
inline Action_1_t1F80B3B5BE5D7778C86DA28AB5D2E5D5814E5622 * get_OpResponseReceived_22() const { return ___OpResponseReceived_22; }
inline Action_1_t1F80B3B5BE5D7778C86DA28AB5D2E5D5814E5622 ** get_address_of_OpResponseReceived_22() { return &___OpResponseReceived_22; }
inline void set_OpResponseReceived_22(Action_1_t1F80B3B5BE5D7778C86DA28AB5D2E5D5814E5622 * value)
{
___OpResponseReceived_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___OpResponseReceived_22), (void*)value);
}
inline static int32_t get_offset_of_ConnectionCallbackTargets_23() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___ConnectionCallbackTargets_23)); }
inline ConnectionCallbacksContainer_t3FF418F792503D0BAEBE8E0FBA164ED635C5E627 * get_ConnectionCallbackTargets_23() const { return ___ConnectionCallbackTargets_23; }
inline ConnectionCallbacksContainer_t3FF418F792503D0BAEBE8E0FBA164ED635C5E627 ** get_address_of_ConnectionCallbackTargets_23() { return &___ConnectionCallbackTargets_23; }
inline void set_ConnectionCallbackTargets_23(ConnectionCallbacksContainer_t3FF418F792503D0BAEBE8E0FBA164ED635C5E627 * value)
{
___ConnectionCallbackTargets_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ConnectionCallbackTargets_23), (void*)value);
}
inline static int32_t get_offset_of_MatchMakingCallbackTargets_24() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___MatchMakingCallbackTargets_24)); }
inline MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * get_MatchMakingCallbackTargets_24() const { return ___MatchMakingCallbackTargets_24; }
inline MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 ** get_address_of_MatchMakingCallbackTargets_24() { return &___MatchMakingCallbackTargets_24; }
inline void set_MatchMakingCallbackTargets_24(MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * value)
{
___MatchMakingCallbackTargets_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___MatchMakingCallbackTargets_24), (void*)value);
}
inline static int32_t get_offset_of_InRoomCallbackTargets_25() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___InRoomCallbackTargets_25)); }
inline InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * get_InRoomCallbackTargets_25() const { return ___InRoomCallbackTargets_25; }
inline InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 ** get_address_of_InRoomCallbackTargets_25() { return &___InRoomCallbackTargets_25; }
inline void set_InRoomCallbackTargets_25(InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * value)
{
___InRoomCallbackTargets_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___InRoomCallbackTargets_25), (void*)value);
}
inline static int32_t get_offset_of_LobbyCallbackTargets_26() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___LobbyCallbackTargets_26)); }
inline LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * get_LobbyCallbackTargets_26() const { return ___LobbyCallbackTargets_26; }
inline LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 ** get_address_of_LobbyCallbackTargets_26() { return &___LobbyCallbackTargets_26; }
inline void set_LobbyCallbackTargets_26(LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * value)
{
___LobbyCallbackTargets_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LobbyCallbackTargets_26), (void*)value);
}
inline static int32_t get_offset_of_WebRpcCallbackTargets_27() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___WebRpcCallbackTargets_27)); }
inline WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 * get_WebRpcCallbackTargets_27() const { return ___WebRpcCallbackTargets_27; }
inline WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 ** get_address_of_WebRpcCallbackTargets_27() { return &___WebRpcCallbackTargets_27; }
inline void set_WebRpcCallbackTargets_27(WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 * value)
{
___WebRpcCallbackTargets_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___WebRpcCallbackTargets_27), (void*)value);
}
inline static int32_t get_offset_of_ErrorInfoCallbackTargets_28() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___ErrorInfoCallbackTargets_28)); }
inline ErrorInfoCallbacksContainer_tB826CF47FBDA7DDE1BDE3433AD155B973DD800E6 * get_ErrorInfoCallbackTargets_28() const { return ___ErrorInfoCallbackTargets_28; }
inline ErrorInfoCallbacksContainer_tB826CF47FBDA7DDE1BDE3433AD155B973DD800E6 ** get_address_of_ErrorInfoCallbackTargets_28() { return &___ErrorInfoCallbackTargets_28; }
inline void set_ErrorInfoCallbackTargets_28(ErrorInfoCallbacksContainer_tB826CF47FBDA7DDE1BDE3433AD155B973DD800E6 * value)
{
___ErrorInfoCallbackTargets_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ErrorInfoCallbackTargets_28), (void*)value);
}
inline static int32_t get_offset_of_U3CDisconnectedCauseU3Ek__BackingField_29() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CDisconnectedCauseU3Ek__BackingField_29)); }
inline int32_t get_U3CDisconnectedCauseU3Ek__BackingField_29() const { return ___U3CDisconnectedCauseU3Ek__BackingField_29; }
inline int32_t* get_address_of_U3CDisconnectedCauseU3Ek__BackingField_29() { return &___U3CDisconnectedCauseU3Ek__BackingField_29; }
inline void set_U3CDisconnectedCauseU3Ek__BackingField_29(int32_t value)
{
___U3CDisconnectedCauseU3Ek__BackingField_29 = value;
}
inline static int32_t get_offset_of_U3CCurrentLobbyU3Ek__BackingField_30() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CCurrentLobbyU3Ek__BackingField_30)); }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * get_U3CCurrentLobbyU3Ek__BackingField_30() const { return ___U3CCurrentLobbyU3Ek__BackingField_30; }
inline TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 ** get_address_of_U3CCurrentLobbyU3Ek__BackingField_30() { return &___U3CCurrentLobbyU3Ek__BackingField_30; }
inline void set_U3CCurrentLobbyU3Ek__BackingField_30(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * value)
{
___U3CCurrentLobbyU3Ek__BackingField_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCurrentLobbyU3Ek__BackingField_30), (void*)value);
}
inline static int32_t get_offset_of_EnableLobbyStatistics_31() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___EnableLobbyStatistics_31)); }
inline bool get_EnableLobbyStatistics_31() const { return ___EnableLobbyStatistics_31; }
inline bool* get_address_of_EnableLobbyStatistics_31() { return &___EnableLobbyStatistics_31; }
inline void set_EnableLobbyStatistics_31(bool value)
{
___EnableLobbyStatistics_31 = value;
}
inline static int32_t get_offset_of_lobbyStatistics_32() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___lobbyStatistics_32)); }
inline List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * get_lobbyStatistics_32() const { return ___lobbyStatistics_32; }
inline List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 ** get_address_of_lobbyStatistics_32() { return &___lobbyStatistics_32; }
inline void set_lobbyStatistics_32(List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * value)
{
___lobbyStatistics_32 = value;
Il2CppCodeGenWriteBarrier((void**)(&___lobbyStatistics_32), (void*)value);
}
inline static int32_t get_offset_of_U3CLocalPlayerU3Ek__BackingField_33() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CLocalPlayerU3Ek__BackingField_33)); }
inline Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * get_U3CLocalPlayerU3Ek__BackingField_33() const { return ___U3CLocalPlayerU3Ek__BackingField_33; }
inline Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 ** get_address_of_U3CLocalPlayerU3Ek__BackingField_33() { return &___U3CLocalPlayerU3Ek__BackingField_33; }
inline void set_U3CLocalPlayerU3Ek__BackingField_33(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * value)
{
___U3CLocalPlayerU3Ek__BackingField_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CLocalPlayerU3Ek__BackingField_33), (void*)value);
}
inline static int32_t get_offset_of_U3CCurrentRoomU3Ek__BackingField_34() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CCurrentRoomU3Ek__BackingField_34)); }
inline Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * get_U3CCurrentRoomU3Ek__BackingField_34() const { return ___U3CCurrentRoomU3Ek__BackingField_34; }
inline Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D ** get_address_of_U3CCurrentRoomU3Ek__BackingField_34() { return &___U3CCurrentRoomU3Ek__BackingField_34; }
inline void set_U3CCurrentRoomU3Ek__BackingField_34(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * value)
{
___U3CCurrentRoomU3Ek__BackingField_34 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCurrentRoomU3Ek__BackingField_34), (void*)value);
}
inline static int32_t get_offset_of_U3CPlayersOnMasterCountU3Ek__BackingField_35() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CPlayersOnMasterCountU3Ek__BackingField_35)); }
inline int32_t get_U3CPlayersOnMasterCountU3Ek__BackingField_35() const { return ___U3CPlayersOnMasterCountU3Ek__BackingField_35; }
inline int32_t* get_address_of_U3CPlayersOnMasterCountU3Ek__BackingField_35() { return &___U3CPlayersOnMasterCountU3Ek__BackingField_35; }
inline void set_U3CPlayersOnMasterCountU3Ek__BackingField_35(int32_t value)
{
___U3CPlayersOnMasterCountU3Ek__BackingField_35 = value;
}
inline static int32_t get_offset_of_U3CPlayersInRoomsCountU3Ek__BackingField_36() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CPlayersInRoomsCountU3Ek__BackingField_36)); }
inline int32_t get_U3CPlayersInRoomsCountU3Ek__BackingField_36() const { return ___U3CPlayersInRoomsCountU3Ek__BackingField_36; }
inline int32_t* get_address_of_U3CPlayersInRoomsCountU3Ek__BackingField_36() { return &___U3CPlayersInRoomsCountU3Ek__BackingField_36; }
inline void set_U3CPlayersInRoomsCountU3Ek__BackingField_36(int32_t value)
{
___U3CPlayersInRoomsCountU3Ek__BackingField_36 = value;
}
inline static int32_t get_offset_of_U3CRoomsCountU3Ek__BackingField_37() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CRoomsCountU3Ek__BackingField_37)); }
inline int32_t get_U3CRoomsCountU3Ek__BackingField_37() const { return ___U3CRoomsCountU3Ek__BackingField_37; }
inline int32_t* get_address_of_U3CRoomsCountU3Ek__BackingField_37() { return &___U3CRoomsCountU3Ek__BackingField_37; }
inline void set_U3CRoomsCountU3Ek__BackingField_37(int32_t value)
{
___U3CRoomsCountU3Ek__BackingField_37 = value;
}
inline static int32_t get_offset_of_lastJoinType_38() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___lastJoinType_38)); }
inline int32_t get_lastJoinType_38() const { return ___lastJoinType_38; }
inline int32_t* get_address_of_lastJoinType_38() { return &___lastJoinType_38; }
inline void set_lastJoinType_38(int32_t value)
{
___lastJoinType_38 = value;
}
inline static int32_t get_offset_of_enterRoomParamsCache_39() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___enterRoomParamsCache_39)); }
inline EnterRoomParams_t332FBCA3D53159524F5A58B535B05BF1E0470B3E * get_enterRoomParamsCache_39() const { return ___enterRoomParamsCache_39; }
inline EnterRoomParams_t332FBCA3D53159524F5A58B535B05BF1E0470B3E ** get_address_of_enterRoomParamsCache_39() { return &___enterRoomParamsCache_39; }
inline void set_enterRoomParamsCache_39(EnterRoomParams_t332FBCA3D53159524F5A58B535B05BF1E0470B3E * value)
{
___enterRoomParamsCache_39 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enterRoomParamsCache_39), (void*)value);
}
inline static int32_t get_offset_of_failedRoomEntryOperation_40() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___failedRoomEntryOperation_40)); }
inline OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * get_failedRoomEntryOperation_40() const { return ___failedRoomEntryOperation_40; }
inline OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 ** get_address_of_failedRoomEntryOperation_40() { return &___failedRoomEntryOperation_40; }
inline void set_failedRoomEntryOperation_40(OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * value)
{
___failedRoomEntryOperation_40 = value;
Il2CppCodeGenWriteBarrier((void**)(&___failedRoomEntryOperation_40), (void*)value);
}
inline static int32_t get_offset_of_friendListRequested_42() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___friendListRequested_42)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_friendListRequested_42() const { return ___friendListRequested_42; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_friendListRequested_42() { return &___friendListRequested_42; }
inline void set_friendListRequested_42(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___friendListRequested_42 = value;
Il2CppCodeGenWriteBarrier((void**)(&___friendListRequested_42), (void*)value);
}
inline static int32_t get_offset_of_U3CCloudRegionU3Ek__BackingField_43() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CCloudRegionU3Ek__BackingField_43)); }
inline String_t* get_U3CCloudRegionU3Ek__BackingField_43() const { return ___U3CCloudRegionU3Ek__BackingField_43; }
inline String_t** get_address_of_U3CCloudRegionU3Ek__BackingField_43() { return &___U3CCloudRegionU3Ek__BackingField_43; }
inline void set_U3CCloudRegionU3Ek__BackingField_43(String_t* value)
{
___U3CCloudRegionU3Ek__BackingField_43 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCloudRegionU3Ek__BackingField_43), (void*)value);
}
inline static int32_t get_offset_of_U3CCurrentClusterU3Ek__BackingField_44() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___U3CCurrentClusterU3Ek__BackingField_44)); }
inline String_t* get_U3CCurrentClusterU3Ek__BackingField_44() const { return ___U3CCurrentClusterU3Ek__BackingField_44; }
inline String_t** get_address_of_U3CCurrentClusterU3Ek__BackingField_44() { return &___U3CCurrentClusterU3Ek__BackingField_44; }
inline void set_U3CCurrentClusterU3Ek__BackingField_44(String_t* value)
{
___U3CCurrentClusterU3Ek__BackingField_44 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCurrentClusterU3Ek__BackingField_44), (void*)value);
}
inline static int32_t get_offset_of_RegionHandler_45() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___RegionHandler_45)); }
inline RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * get_RegionHandler_45() const { return ___RegionHandler_45; }
inline RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 ** get_address_of_RegionHandler_45() { return &___RegionHandler_45; }
inline void set_RegionHandler_45(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * value)
{
___RegionHandler_45 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RegionHandler_45), (void*)value);
}
inline static int32_t get_offset_of_bestRegionSummaryFromStorage_46() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___bestRegionSummaryFromStorage_46)); }
inline String_t* get_bestRegionSummaryFromStorage_46() const { return ___bestRegionSummaryFromStorage_46; }
inline String_t** get_address_of_bestRegionSummaryFromStorage_46() { return &___bestRegionSummaryFromStorage_46; }
inline void set_bestRegionSummaryFromStorage_46(String_t* value)
{
___bestRegionSummaryFromStorage_46 = value;
Il2CppCodeGenWriteBarrier((void**)(&___bestRegionSummaryFromStorage_46), (void*)value);
}
inline static int32_t get_offset_of_SummaryToCache_47() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___SummaryToCache_47)); }
inline String_t* get_SummaryToCache_47() const { return ___SummaryToCache_47; }
inline String_t** get_address_of_SummaryToCache_47() { return &___SummaryToCache_47; }
inline void set_SummaryToCache_47(String_t* value)
{
___SummaryToCache_47 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SummaryToCache_47), (void*)value);
}
inline static int32_t get_offset_of_connectToBestRegion_48() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___connectToBestRegion_48)); }
inline bool get_connectToBestRegion_48() const { return ___connectToBestRegion_48; }
inline bool* get_address_of_connectToBestRegion_48() { return &___connectToBestRegion_48; }
inline void set_connectToBestRegion_48(bool value)
{
___connectToBestRegion_48 = value;
}
inline static int32_t get_offset_of_callbackTargetChanges_49() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___callbackTargetChanges_49)); }
inline Queue_1_tFF9526B5F79416765882A99F02C06F237631B787 * get_callbackTargetChanges_49() const { return ___callbackTargetChanges_49; }
inline Queue_1_tFF9526B5F79416765882A99F02C06F237631B787 ** get_address_of_callbackTargetChanges_49() { return &___callbackTargetChanges_49; }
inline void set_callbackTargetChanges_49(Queue_1_tFF9526B5F79416765882A99F02C06F237631B787 * value)
{
___callbackTargetChanges_49 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callbackTargetChanges_49), (void*)value);
}
inline static int32_t get_offset_of_callbackTargets_50() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___callbackTargets_50)); }
inline HashSet_1_t680119C7ED8D82AED56CDB83DF6F0E9149852A9B * get_callbackTargets_50() const { return ___callbackTargets_50; }
inline HashSet_1_t680119C7ED8D82AED56CDB83DF6F0E9149852A9B ** get_address_of_callbackTargets_50() { return &___callbackTargets_50; }
inline void set_callbackTargets_50(HashSet_1_t680119C7ED8D82AED56CDB83DF6F0E9149852A9B * value)
{
___callbackTargets_50 = value;
Il2CppCodeGenWriteBarrier((void**)(&___callbackTargets_50), (void*)value);
}
inline static int32_t get_offset_of_NameServerPortInAppSettings_51() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A, ___NameServerPortInAppSettings_51)); }
inline int32_t get_NameServerPortInAppSettings_51() const { return ___NameServerPortInAppSettings_51; }
inline int32_t* get_address_of_NameServerPortInAppSettings_51() { return &___NameServerPortInAppSettings_51; }
inline void set_NameServerPortInAppSettings_51(int32_t value)
{
___NameServerPortInAppSettings_51 = value;
}
};
struct LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<ExitGames.Client.Photon.ConnectionProtocol,System.Int32> Photon.Realtime.LoadBalancingClient::ProtocolToNameServerPort
Dictionary_2_t81EA4B33E20A42C2644280178E604790BE9E7517 * ___ProtocolToNameServerPort_11;
public:
inline static int32_t get_offset_of_ProtocolToNameServerPort_11() { return static_cast<int32_t>(offsetof(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A_StaticFields, ___ProtocolToNameServerPort_11)); }
inline Dictionary_2_t81EA4B33E20A42C2644280178E604790BE9E7517 * get_ProtocolToNameServerPort_11() const { return ___ProtocolToNameServerPort_11; }
inline Dictionary_2_t81EA4B33E20A42C2644280178E604790BE9E7517 ** get_address_of_ProtocolToNameServerPort_11() { return &___ProtocolToNameServerPort_11; }
inline void set_ProtocolToNameServerPort_11(Dictionary_2_t81EA4B33E20A42C2644280178E604790BE9E7517 * value)
{
___ProtocolToNameServerPort_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ProtocolToNameServerPort_11), (void*)value);
}
};
// Photon.Realtime.LoadBalancingPeer
struct LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 : public PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD
{
public:
// ExitGames.Client.Photon.Pool`1<ExitGames.Client.Photon.ParameterDictionary> Photon.Realtime.LoadBalancingPeer::paramDictionaryPool
Pool_1_t486C4CD13767CDEBD81407C28377537798E3C724 * ___paramDictionaryPool_62;
public:
inline static int32_t get_offset_of_paramDictionaryPool_62() { return static_cast<int32_t>(offsetof(LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4, ___paramDictionaryPool_62)); }
inline Pool_1_t486C4CD13767CDEBD81407C28377537798E3C724 * get_paramDictionaryPool_62() const { return ___paramDictionaryPool_62; }
inline Pool_1_t486C4CD13767CDEBD81407C28377537798E3C724 ** get_address_of_paramDictionaryPool_62() { return &___paramDictionaryPool_62; }
inline void set_paramDictionaryPool_62(Pool_1_t486C4CD13767CDEBD81407C28377537798E3C724 * value)
{
___paramDictionaryPool_62 = value;
Il2CppCodeGenWriteBarrier((void**)(&___paramDictionaryPool_62), (void*)value);
}
};
// System.NotImplementedException
struct NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.NotSupportedException
struct NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// Photon.Realtime.TypedLobbyInfo
struct TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6 : public TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5
{
public:
// System.Int32 Photon.Realtime.TypedLobbyInfo::PlayerCount
int32_t ___PlayerCount_3;
// System.Int32 Photon.Realtime.TypedLobbyInfo::RoomCount
int32_t ___RoomCount_4;
public:
inline static int32_t get_offset_of_PlayerCount_3() { return static_cast<int32_t>(offsetof(TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6, ___PlayerCount_3)); }
inline int32_t get_PlayerCount_3() const { return ___PlayerCount_3; }
inline int32_t* get_address_of_PlayerCount_3() { return &___PlayerCount_3; }
inline void set_PlayerCount_3(int32_t value)
{
___PlayerCount_3 = value;
}
inline static int32_t get_offset_of_RoomCount_4() { return static_cast<int32_t>(offsetof(TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6, ___RoomCount_4)); }
inline int32_t get_RoomCount_4() const { return ___RoomCount_4; }
inline int32_t* get_address_of_RoomCount_4() { return &___RoomCount_4; }
inline void set_RoomCount_4(int32_t value)
{
___RoomCount_4 = value;
}
};
// System.Threading.WaitCallback
struct WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319 : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A : public Behaviour_t1A3DDDCF73B4627928FBFE02ED52B7251777DBD9
{
public:
public:
};
// Photon.Realtime.SupportLogger
struct SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 : public MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A
{
public:
// System.Boolean Photon.Realtime.SupportLogger::LogTrafficStats
bool ___LogTrafficStats_4;
// System.Boolean Photon.Realtime.SupportLogger::loggedStillOfflineMessage
bool ___loggedStillOfflineMessage_5;
// Photon.Realtime.LoadBalancingClient Photon.Realtime.SupportLogger::client
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client_6;
// System.Diagnostics.Stopwatch Photon.Realtime.SupportLogger::startStopwatch
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * ___startStopwatch_7;
// System.Int32 Photon.Realtime.SupportLogger::pingMax
int32_t ___pingMax_8;
// System.Int32 Photon.Realtime.SupportLogger::pingMin
int32_t ___pingMin_9;
public:
inline static int32_t get_offset_of_LogTrafficStats_4() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___LogTrafficStats_4)); }
inline bool get_LogTrafficStats_4() const { return ___LogTrafficStats_4; }
inline bool* get_address_of_LogTrafficStats_4() { return &___LogTrafficStats_4; }
inline void set_LogTrafficStats_4(bool value)
{
___LogTrafficStats_4 = value;
}
inline static int32_t get_offset_of_loggedStillOfflineMessage_5() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___loggedStillOfflineMessage_5)); }
inline bool get_loggedStillOfflineMessage_5() const { return ___loggedStillOfflineMessage_5; }
inline bool* get_address_of_loggedStillOfflineMessage_5() { return &___loggedStillOfflineMessage_5; }
inline void set_loggedStillOfflineMessage_5(bool value)
{
___loggedStillOfflineMessage_5 = value;
}
inline static int32_t get_offset_of_client_6() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___client_6)); }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * get_client_6() const { return ___client_6; }
inline LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A ** get_address_of_client_6() { return &___client_6; }
inline void set_client_6(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * value)
{
___client_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___client_6), (void*)value);
}
inline static int32_t get_offset_of_startStopwatch_7() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___startStopwatch_7)); }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * get_startStopwatch_7() const { return ___startStopwatch_7; }
inline Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 ** get_address_of_startStopwatch_7() { return &___startStopwatch_7; }
inline void set_startStopwatch_7(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * value)
{
___startStopwatch_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___startStopwatch_7), (void*)value);
}
inline static int32_t get_offset_of_pingMax_8() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___pingMax_8)); }
inline int32_t get_pingMax_8() const { return ___pingMax_8; }
inline int32_t* get_address_of_pingMax_8() { return &___pingMax_8; }
inline void set_pingMax_8(int32_t value)
{
___pingMax_8 = value;
}
inline static int32_t get_offset_of_pingMin_9() { return static_cast<int32_t>(offsetof(SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002, ___pingMin_9)); }
inline int32_t get_pingMin_9() const { return ___pingMin_9; }
inline int32_t* get_address_of_pingMin_9() { return &___pingMin_9; }
inline void set_pingMin_9(int32_t value)
{
___pingMin_9 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : 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;
}
};
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.String[]
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A : 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((void**)m_Items + index, (void*)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((void**)m_Items + index, (void*)value);
}
};
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Il2CppChar m_Items[1];
public:
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* 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, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m0F0E00088CF56FEACC9E32D8B7D91B93D91DAA3B_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6 List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline (Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared (Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared (Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m12374F2F6F3D2DE9CBF98D3BD63CBB0DA19C69C5_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/KeyCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Keys()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyCollection_tBAE0EBE1B8D4A3690FCB3ADC3EF79DF8654B6A36 * Dictionary_2_get_Keys_m924AFD154B5C2155ADFF034DB79BDEEF3A6F3B5A_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA KeyCollection_GetEnumerator_mA018E0C14EC4A2C26DF919AD74EF61DE3FFAFD2B_gshared (KeyCollection_tBAE0EBE1B8D4A3690FCB3ADC3EF79DF8654B6A36 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,System.Object>::get_Current()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Enumerator_get_Current_mEE9617C9ECD7EEA6CAA8FC1AE4F768FD45871932_gshared_inline (Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mA2ED7DB9BD5A1F9A31392132DDE9FB0C0B46FC33_gshared (Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,System.Object>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m18560771770B27164D929430D52691A8B91EED40_gshared (Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA * __this, const RuntimeMethod* method);
// !1 System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::get_Item(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Dictionary_2_get_Item_mD43F161D674E625D0DA61EE00A30B1EF39ECA8C6_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_gshared (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, const RuntimeMethod* method);
// System.Void System.Comparison`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Comparison_1__ctor_mDE1798563694D30022D3B7E1010347C573690B4A_gshared (Comparison_1_tB56E8E7C2BF431D44E8EBD15EA3E6F41AAFF03D2 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Sort(System.Comparison`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Sort_m5EB3F127CD42F1ACA97F4DB8754C49F23B64D750_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, Comparison_1_tB56E8E7C2BF431D44E8EBD15EA3E6F41AAFF03D2 * ___comparison0, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mF00B574E58FB078BB753B05A3B86DD0A7A266B63_gshared_inline (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, int32_t ___index0, const RuntimeMethod* method);
// !!0[] System.Array::Empty<System.Object>()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_gshared_inline (const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mFEB2301A6F28290A828A979BA9CC847B16B3D538_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mE5B3CBB3A625606D9BC4337FEAAF1D66BCB6F96E_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Void System.Array::Sort<System.Object>(!!0[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Sort_TisRuntimeObject_m335FCBA500B94191E3EC1DD6C1E40691D33D2ACE_gshared (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___array0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m5D847939ABB9A78203B062CAFFE975792174D00F_gshared_inline (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method);
// System.Void System.Predicate`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Predicate_1__ctor_m3F41E32C976C3C48B3FC63FBFD3FBBC5B5F23EDD_gshared (Predicate_1_t5C96B81B31A697B11C4C3767E3298773AF25DFEB * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Object>::Find(System.Predicate`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * List_1_Find_mBE8A91B51D29EC296321E6070FCD76081576B31E_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, Predicate_1_t5C96B81B31A697B11C4C3767E3298773AF25DFEB * ___match0, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_mA671E933C9D3DAE4E3F71D34FDDA971739618158_gshared (Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::Invoke(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1_Invoke_m587509C88BB83721D7918D89DF07606BB752D744_gshared (Action_1_tD9663D9715FAA4E62035CFCF1AD4D094EE7872DC * __this, RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m5FB5A9C59D8625FDFB06876C4D8848F0F07ABFD0_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91_gshared (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Func`1<System.Boolean>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9_gshared (Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_gshared (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * __this, int32_t ___item0, const RuntimeMethod* method);
// System.String Photon.Realtime.Extensions::ToStringFull<System.Int32>(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1_gshared (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * ___data0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_mE7F9D51201F5A72BF4995CA0F3F0E866DB21E638_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Remove(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_Remove_mAC77908EC28C242ACC8C3C4CDEA945E73B95CFA4_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::ContainsKey(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_mE6DB9458466D0F98B67E2C6CAEFABBF9576AC4D7_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::set_Item(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_m71867F9FFBB49DE962FD0036368A0F6E87F30C90_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::TryGetValue(!0,!1&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m0A88BBB063127AFAD853506A433ACB07D7AAD67E_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// !0[] System.Collections.Generic.List`1<System.Object>::ToArray()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* List_1_ToArray_mA737986DE6389E9DD8FA8E3D4E222DE4DA34958D_gshared (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.ILobbyCallbacks>::.ctor()
inline void List_1__ctor_mCA9D92E55CB629CEA65A2C9E2CD99E57A978EA58 (List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E *, const RuntimeMethod*))List_1__ctor_m0F0E00088CF56FEACC9E32D8B7D91B93D91DAA3B_gshared)(__this, method);
}
// System.Void Photon.Realtime.LoadBalancingClient::UpdateCallbackTargets()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Realtime.ILobbyCallbacks>::GetEnumerator()
inline Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B (List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E * __this, const RuntimeMethod* method)
{
return (( Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 (*) (List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E *, const RuntimeMethod*))List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Realtime.ILobbyCallbacks>::get_Current()
inline RuntimeObject* Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_inline (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 * __this, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *, const RuntimeMethod*))Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Realtime.ILobbyCallbacks>::MoveNext()
inline bool Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845 (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *, const RuntimeMethod*))Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Realtime.ILobbyCallbacks>::Dispose()
inline void Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7 (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *, const RuntimeMethod*))Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<Photon.Realtime.IMatchmakingCallbacks>::.ctor()
inline void List_1__ctor_m30772CE0C80FA42C42B1696F89CA51E3A33EEA53 (List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD *, const RuntimeMethod*))List_1__ctor_m0F0E00088CF56FEACC9E32D8B7D91B93D91DAA3B_gshared)(__this, method);
}
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Realtime.IMatchmakingCallbacks>::GetEnumerator()
inline Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0 (List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD * __this, const RuntimeMethod* method)
{
return (( Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD (*) (List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD *, const RuntimeMethod*))List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IMatchmakingCallbacks>::get_Current()
inline RuntimeObject* Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD * __this, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *, const RuntimeMethod*))Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IMatchmakingCallbacks>::MoveNext()
inline bool Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55 (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *, const RuntimeMethod*))Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IMatchmakingCallbacks>::Dispose()
inline void Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032 (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *, const RuntimeMethod*))Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared)(__this, method);
}
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void System.NotImplementedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotImplementedException__ctor_mA2E9CE7F00CB335581A296D2596082D57E45BA83 (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_mE27238308FED781F2D6A719F0903F2E1311B058F (RuntimeArray * ___array0, RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96 ___fldHandle1, const RuntimeMethod* method);
// System.Void System.Random::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Random__ctor_mF40AD1812BABC06235B661CCE513E4F74EEE9F05 (Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.PhotonPing::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing_Init_mAD876403E230F0768B99F0CF6E06E7C1E01FE78F (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method);
// System.Boolean System.String::Contains(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Contains_mA26BDCCE8F191E8965EB8EEFC18BB4D0F85A075A (String_t* __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::.ctor(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Socket__ctor_m5A4B335AEC1450ABE31CF1151F3F5A93D9D0280C (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, int32_t ___addressFamily0, int32_t ___socketType1, int32_t ___protocolType2, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::set_ReceiveTimeout(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Socket_set_ReceiveTimeout_mF081C1A1416112CE1ED3609594F76062B4B4DB23 (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Connect(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Socket_Connect_m08347703B1E1E29B13D95F2719B76C7B2A51950A (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, String_t* ___host0, int32_t ___port1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Send(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Socket_Send_m8E974F1735436F40554635503D4E6C8EF387DA3D (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, const RuntimeMethod* method);
// System.Void System.Console::WriteLine(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Console_WriteLine_m8CE2BD87102C3CAB370A59BF3D9DC80B88C871B4 (RuntimeObject * ___value0, const RuntimeMethod* method);
// System.Boolean System.Net.Sockets.Socket::Poll(System.Int32,System.Net.Sockets.SelectMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Socket_Poll_m82012C326974DCA0B8C57A98E68C3E099D52BF7C (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, int32_t ___microSeconds0, int32_t ___mode1, const RuntimeMethod* method);
// System.Int32 System.Net.Sockets.Socket::Receive(System.Byte[],System.Net.Sockets.SocketFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Socket_Receive_m5F3C0A7B05CA5DCEC831ED7DDD5E6287EFE0E014 (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, int32_t ___socketFlags1, const RuntimeMethod* method);
// System.Void System.Net.Sockets.Socket::Close()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Socket_Close_m24AB78F5DAC1C39BB7FFB30A9620B2B07E01DEEB (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * __this, const RuntimeMethod* method);
// System.Type System.Exception::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Exception_GetType_mC5B8B5C944B326B751282AB0E8C25A7F85457D9F (Exception_t * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78 (String_t* ___str00, String_t* ___str11, String_t* ___str22, String_t* ___str33, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.Void Photon.Realtime.PhotonPing::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing__ctor_mD767D9B09CEBAEB9610E525972F0D8847ADC4FAE (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method);
// System.Boolean System.String::IsNullOrEmpty(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C (String_t* ___value0, const RuntimeMethod* method);
// System.Boolean System.String::Equals(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D (String_t* __this, String_t* ___value0, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Player::SetPlayerNameProperty()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_SetPlayerNameProperty_m27280785AF62B35325219AEE9D3030D0D784F875 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// Photon.Realtime.Room Photon.Realtime.Player::get_RoomReference()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// System.Int32 Photon.Realtime.Player::get_ActorNumber()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// System.Int32 Photon.Realtime.Room::get_MasterClientId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Room_get_MasterClientId_m8C3C4A530CB248B2233AE6B4B077E3A513F13A98 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.Player::.ctor(System.String,System.Int32,System.Boolean,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player__ctor_m9F3E4442FAF89479A1A574AFD658E55C11D4AB01 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___nickName0, int32_t ___actorNumber1, bool ___isLocal2, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___playerProperties3, const RuntimeMethod* method);
// System.Void Photon.Realtime.Player::set_NickName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_NickName_mEE2753718BF9B663534AFE3C867F2BC6DBDB4A87 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.Hashtable::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.Player::set_CustomProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_CustomProperties_m37F0FB5A43628E9BFEB058FFCC3A31A22D4E243D_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___value0, const RuntimeMethod* method);
// Photon.Realtime.Player Photon.Realtime.Player::GetNextFor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Player_GetNextFor_m8C362309E1526ACE31D09BA8C02D295BBBFB686B (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, int32_t ___currentPlayerId0, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player> Photon.Realtime.Room::get_Players()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::get_Count()
inline int32_t Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9 (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, const RuntimeMethod*))Dictionary_2_get_Count_m12374F2F6F3D2DE9CBF98D3BD63CBB0DA19C69C5_gshared)(__this, method);
}
// System.Collections.Generic.Dictionary`2/KeyCollection<!0,!1> System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::get_Keys()
inline KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * Dictionary_2_get_Keys_m07E7526C0EDDB7AAF410E54239FF7E55392D14AD (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, const RuntimeMethod* method)
{
return (( KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, const RuntimeMethod*))Dictionary_2_get_Keys_m924AFD154B5C2155ADFF034DB79BDEEF3A6F3B5A_gshared)(__this, method);
}
// System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<!0,!1> System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,Photon.Realtime.Player>::GetEnumerator()
inline Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 KeyCollection_GetEnumerator_m7B65C611E4CD78F269F1708E35EF9B60991D29BE (KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 (*) (KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 *, const RuntimeMethod*))KeyCollection_GetEnumerator_mA018E0C14EC4A2C26DF919AD74EF61DE3FFAFD2B_gshared)(__this, method);
}
// !0 System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,Photon.Realtime.Player>::get_Current()
inline int32_t Enumerator_get_Current_mB1AAE567ED13BADAD4377F5F44617333C25DC4E0_inline (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *, const RuntimeMethod*))Enumerator_get_Current_mEE9617C9ECD7EEA6CAA8FC1AE4F768FD45871932_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,Photon.Realtime.Player>::MoveNext()
inline bool Enumerator_MoveNext_mF0E7127A0315685B63DDC4C8DDE93B09EE3BDB12 (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *, const RuntimeMethod*))Enumerator_MoveNext_mA2ED7DB9BD5A1F9A31392132DDE9FB0C0B46FC33_gshared)(__this, method);
}
// System.Void System.Collections.Generic.Dictionary`2/KeyCollection/Enumerator<System.Int32,Photon.Realtime.Player>::Dispose()
inline void Enumerator_Dispose_m492BB7DE67687EE031F83C8871BA52A7982E5DB2 (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *, const RuntimeMethod*))Enumerator_Dispose_m18560771770B27164D929430D52691A8B91EED40_gshared)(__this, method);
}
// !1 System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::get_Item(!0)
inline Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, int32_t, const RuntimeMethod*))Dictionary_2_get_Item_mD43F161D674E625D0DA61EE00A30B1EF39ECA8C6_gshared)(__this, ___key0, method);
}
// System.Int32 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Count()
inline int32_t Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D *, const RuntimeMethod*))Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_gshared)(__this, method);
}
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Player::get_CustomProperties()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// System.Boolean ExitGames.Client.Photon.Hashtable::ContainsKey(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457 (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, uint8_t ___key0, const RuntimeMethod* method);
// System.Object ExitGames.Client.Photon.Hashtable::get_Item(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20 (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, uint8_t ___key0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Player::set_UserId(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_UserId_m2FD6970F1B0A82F7D48B386ECAF34E4DF1FD0976_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Player::set_IsInactive(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_IsInactive_m904CB5036C0DBEC4943A2663082E4146C4D79952_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Extensions::MergeStringKeys(System.Collections.IDictionary,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Extensions_MergeStringKeys_mE39680404E703BD165F84EF78D7E08A2DF203105 (RuntimeObject* ___target0, RuntimeObject* ___addHash1, const RuntimeMethod* method);
// System.Void Photon.Realtime.Extensions::StripKeysWithNullValues(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___original0, const RuntimeMethod* method);
// System.String Photon.Realtime.Player::get_NickName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Player_get_NickName_mCDE13B308E32D797A42DCECCCCD30B23EFADD36A (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m8D1CB0410C35E052A53AE957C914C841E54BAB66 (String_t* ___format0, RuntimeObject * ___arg01, RuntimeObject * ___arg12, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Player::get_IsInactive()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Player_get_IsInactive_m39D157D63551D890BF0DE31851D925991E7C1F04_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Extensions::ToStringFull(System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Extensions_ToStringFull_m1DDC28EF858A4A871C01A6AEB1D0556024C0B0A9 (RuntimeObject* ___origin0, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B (String_t* ___format0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Extensions::StripToStringKeys(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * Extensions_StripToStringKeys_m7F7CF8264ACB77CD5DA69931C598055AE91A89C3 (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___original0, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Room::get_IsOffline()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_IsOffline_mEC1F44A8B7A31D12F3C7D979A62FB16EBB09B591 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.Extensions::Merge(System.Collections.IDictionary,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Extensions_Merge_m30D0B2F3322E82BAAA1958DD88BC7301DCFFB3D5 (RuntimeObject* ___target0, RuntimeObject* ___addHash1, const RuntimeMethod* method);
// Photon.Realtime.LoadBalancingClient Photon.Realtime.Room::get_LoadBalancingClient()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.InRoomCallbacksContainer::OnPlayerPropertiesUpdate(Photon.Realtime.Player,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InRoomCallbacksContainer_OnPlayerPropertiesUpdate_mDD5C0943F4EB1E01772C2C23379B63A4EF4511E4 (InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___targetPlayer0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___changedProp1, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.LoadBalancingClient::OpSetPropertiesOfActor(System.Int32,ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool LoadBalancingClient_OpSetPropertiesOfActor_mC9503B19876AD65CED0D05404F6E72539F50DA70 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, int32_t ___actorNr0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___actorProperties1, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___expectedProperties2, WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___webFlags3, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.Hashtable::set_Item(System.Byte,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hashtable_set_Item_m9B46CD960DB297C2BC7A72B2A866026F47993A46 (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, uint8_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void Photon.Realtime.RaiseEventOptions::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaiseEventOptions__ctor_m6064ADF3BB478AB5877218261F31D68414F33743 (RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * __this, const RuntimeMethod* method);
// System.Int32 Photon.Realtime.Region::get_Ping()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::SetCodeAndCluster(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_SetCodeAndCluster_m83ACBA80807D01D4A19518F772C1C35AC2264743 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___codeAsString0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::set_HostAndPort(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_HostAndPort_m065751D570836B30749D118ABA37A00335EF7254_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::set_Ping(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::set_Code(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Code_mEAFEB116AE2DDA79B13118F93DD68C92DEB0E666_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::set_Cluster(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Cluster_m48C6668A7A0A81D48A371E0C4804EE2E79D26F00_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.String System.String::ToLower()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_ToLower_m7875A49FE166D0A68F3F6B6E70C0C056EBEFD31D (String_t* __this, const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE (String_t* __this, Il2CppChar ___value0, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_m7A39A2AC0893AE940CF4CEC841326D56FFB9D86B (String_t* __this, int32_t ___startIndex0, int32_t ___length1, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Region::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_ToString_mE2996D4EB3DCAE15A5A7593559BDFA793ADFA75F (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, bool ___compact0, const RuntimeMethod* method);
// System.String Photon.Realtime.Region::get_Code()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.Region::get_Cluster()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// System.String Photon.Realtime.Region::get_HostAndPort()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_HostAndPort_m53658E909B3162A56847A0309E67F29C6DE4E81A_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m039737CCD992C5BFC8D16DFD681F5E8786E87FA6 (String_t* ___format0, RuntimeObject * ___arg01, RuntimeObject * ___arg12, RuntimeObject * ___arg23, const RuntimeMethod* method);
// System.Collections.Generic.List`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler::get_EnabledRegions()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method);
// System.Void System.Comparison`1<Photon.Realtime.Region>::.ctor(System.Object,System.IntPtr)
inline void Comparison_1__ctor_mA4CB303D14E30311ABEC07F98790A911CB0CE796 (Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Comparison_1__ctor_mDE1798563694D30022D3B7E1010347C573690B4A_gshared)(__this, ___object0, ___method1, method);
}
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Region>::Sort(System.Comparison`1<!0>)
inline void List_1_Sort_m5ED6D7674462D105D844BB73392804E0F8E61DA3 (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * ___comparison0, const RuntimeMethod* method)
{
(( void (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 *, const RuntimeMethod*))List_1_Sort_m5EB3F127CD42F1ACA97F4DB8754C49F23B64D750_gshared)(__this, ___comparison0, method);
}
// !0 System.Collections.Generic.List`1<Photon.Realtime.Region>::get_Item(System.Int32)
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * List_1_get_Item_m7E05A57B3F8096D5A019982D00205AD93C738515_inline (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, int32_t, const RuntimeMethod*))List_1_get_Item_mF00B574E58FB078BB753B05A3B86DD0A7A266B63_gshared_inline)(__this, ___index0, method);
}
// Photon.Realtime.Region Photon.Realtime.RegionHandler::get_BestRegion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method);
// System.String System.Int32::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411 (int32_t* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9 (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___values0, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E (StringBuilder_t * __this, String_t* ___format0, RuntimeObject * ___arg01, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>::GetEnumerator()
inline Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 (*) (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 *, const RuntimeMethod*))List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Realtime.RegionPinger>::get_Current()
inline RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_inline (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 * __this, const RuntimeMethod* method)
{
return (( RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * (*) (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *, const RuntimeMethod*))Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline)(__this, method);
}
// System.String Photon.Realtime.RegionPinger::GetResults()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionPinger_GetResults_mEED322C25127363B3875B4FF7C6EB0E272C266C6 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method);
// !!0[] System.Array::Empty<System.Object>()
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_inline (const RuntimeMethod* method)
{
return (( ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* (*) (const RuntimeMethod*))Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_gshared_inline)(method);
}
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m97C4AAABA51FCC2D426BD22FE05BEC045AB9D6F8 (StringBuilder_t * __this, String_t* ___format0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Realtime.RegionPinger>::MoveNext()
inline bool Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *, const RuntimeMethod*))Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Realtime.RegionPinger>::Dispose()
inline void Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *, const RuntimeMethod*))Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared)(__this, method);
}
// System.Object ExitGames.Client.Photon.OperationResponse::get_Item(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * OperationResponse_get_Item_m6BA53FB6E91171C9234D48D230DFBEBCE4A0565A (OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * __this, uint8_t ___parameterCode0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Region>::.ctor(System.Int32)
inline void List_1__ctor_mDC17CD5E09EACFEDC3ED85B6903F3CE2B06E5702 (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, int32_t, const RuntimeMethod*))List_1__ctor_mFEB2301A6F28290A828A979BA9CC847B16B3D538_gshared)(__this, ___capacity0, method);
}
// System.Void Photon.Realtime.RegionHandler::set_EnabledRegions(System.Collections.Generic.List`1<Photon.Realtime.Region>)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionHandler_set_EnabledRegions_m5EFE1E628A091772B065D096049D4123DF3AC558_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * ___value0, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::ReplacePortWithAlternative(System.String,System.UInt16)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_ReplacePortWithAlternative_m9F6A48F8917FF6AD0B53257C41CC4F5F53E8C076 (String_t* ___address0, uint16_t ___replacementPort1, const RuntimeMethod* method);
// System.Void Photon.Realtime.Region::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region__ctor_m549303EACE8FCBB2E1AE4767610E0BF01F0E91F7 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___code0, String_t* ___address1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.Region>::Add(!0)
inline void List_1_Add_m1ED31F575834F4032303CF576B52D0959CC4817B (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *, const RuntimeMethod*))List_1_Add_mE5B3CBB3A625606D9BC4337FEAAF1D66BCB6F96E_gshared)(__this, ___item0, method);
}
// System.Void System.Array::Sort<System.String>(!!0[])
inline void Array_Sort_TisString_t_m229639047FA4F41C666B22D8622E9E365388021D (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___array0, const RuntimeMethod* method)
{
(( void (*) (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*, const RuntimeMethod*))Array_Sort_TisRuntimeObject_m335FCBA500B94191E3EC1DD6C1E40691D33D2ACE_gshared)(___array0, method);
}
// System.String System.String::Join(System.String,System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Join_m8846EB11F0A221BDE237DE041D17764B36065404 (String_t* ___separator0, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>::.ctor()
inline void List_1__ctor_m0D84EC4C094708A14A2710C8649E512A70CB6522 (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 *, const RuntimeMethod*))List_1__ctor_m0F0E00088CF56FEACC9E32D8B7D91B93D91DAA3B_gshared)(__this, method);
}
// System.Void Photon.Realtime.RegionHandler/<>c__DisplayClass23_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass23_0__ctor_mC296F93C8F6437A0F4715E9440359C8FC9237016 (U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<Photon.Realtime.Region>::get_Count()
inline int32_t List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_inline (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, const RuntimeMethod*))List_1_get_Count_m5D847939ABB9A78203B062CAFFE975792174D00F_gshared_inline)(__this, method);
}
// System.Boolean Photon.Realtime.RegionHandler::get_IsPinging()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool RegionHandler_get_IsPinging_mA6A9F7994FC26A5108BD62566ED6BD6E5CEBA719_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.RegionHandler::set_IsPinging(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.RegionHandler::PingEnabledRegions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method);
// System.String[] System.String::Split(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* String_Split_m2C74DC2B85B322998094BEDE787C378822E1F28B (String_t* __this, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___separator0, const RuntimeMethod* method);
// System.Boolean System.Int32::TryParse(System.String,System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Int32_TryParse_m748B8DB1D0C9D25C3D1812D7887411C4AFC1DDC2 (String_t* ___s0, int32_t* ___result1, const RuntimeMethod* method);
// System.Void System.Predicate`1<Photon.Realtime.Region>::.ctor(System.Object,System.IntPtr)
inline void Predicate_1__ctor_m7F486EFBCC6C25F9EE9C0BC8DD6150682E273598 (Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E *, RuntimeObject *, intptr_t, const RuntimeMethod*))Predicate_1__ctor_m3F41E32C976C3C48B3FC63FBFD3FBBC5B5F23EDD_gshared)(__this, ___object0, ___method1, method);
}
// !0 System.Collections.Generic.List`1<Photon.Realtime.Region>::Find(System.Predicate`1<!0>)
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * List_1_Find_m546ED31E212B8AFCA28B0B71E5E00F857C1FE4AF (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E * ___match0, const RuntimeMethod* method)
{
return (( Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E *, const RuntimeMethod*))List_1_Find_mBE8A91B51D29EC296321E6070FCD76081576B31E_gshared)(__this, ___match0, method);
}
// System.Void System.Action`1<Photon.Realtime.Region>::.ctor(System.Object,System.IntPtr)
inline void Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65 (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_mA671E933C9D3DAE4E3F71D34FDDA971739618158_gshared)(__this, ___object0, ___method1, method);
}
// System.Void Photon.Realtime.RegionPinger::.ctor(Photon.Realtime.Region,System.Action`1<Photon.Realtime.Region>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionPinger__ctor_mA521A419053A6F01FBB059F3A008BA7DCC9636BE (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___region0, Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * ___onDoneCallback1, const RuntimeMethod* method);
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4 (RuntimeObject * ___obj0, bool* ___lockTaken1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>::Add(!0)
inline void List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6 (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * __this, RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 *, RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 *, const RuntimeMethod*))List_1_Add_mE5B3CBB3A625606D9BC4337FEAAF1D66BCB6F96E_gshared)(__this, ___item0, method);
}
// System.Void System.Threading.Monitor::Exit(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.RegionPinger::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionPinger_Start_mAA64B2B210595EB278EE982AEBC2BF3DA6AD319E (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method);
// System.Void System.Action`1<Photon.Realtime.RegionHandler>::Invoke(!0)
inline void Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA (Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * __this, RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * ___obj0, const RuntimeMethod* method)
{
(( void (*) (Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 *, RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 *, const RuntimeMethod*))Action_1_Invoke_m587509C88BB83721D7918D89DF07606BB752D744_gshared)(__this, ___obj0, method);
}
// System.Void System.Collections.Generic.List`1<Photon.Realtime.RegionPinger>::Clear()
inline void List_1_Clear_m2C1C7B1A5C96A774FA3A81D20EDA0E761151F731 (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 *, const RuntimeMethod*))List_1_Clear_m5FB5A9C59D8625FDFB06876C4D8848F0F07ABFD0_gshared)(__this, method);
}
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Realtime.Region>::GetEnumerator()
inline Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 List_1_GetEnumerator_mB2C214F87115F7C88741421A1EF07FDA844B0220 (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * __this, const RuntimeMethod* method)
{
return (( Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 (*) (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *, const RuntimeMethod*))List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Realtime.Region>::get_Current()
inline Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * Enumerator_get_Current_m680C25AEA7D55337233A7E8BC43CB744C13AC70C_inline (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 * __this, const RuntimeMethod* method)
{
return (( Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * (*) (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *, const RuntimeMethod*))Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Realtime.Region>::MoveNext()
inline bool Enumerator_MoveNext_mD05E3258BF460CE4EEDF9EE6175D66A1FFF4A8F5 (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *, const RuntimeMethod*))Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Realtime.Region>::Dispose()
inline void Enumerator_Dispose_m87945B334F6E2C5477F4595280639EA880375F96 (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *, const RuntimeMethod*))Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared)(__this, method);
}
// System.Boolean Photon.Realtime.RegionPinger::get_Done()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool RegionPinger_get_Done_mA12F6069155AD2FEC5C71FC586280EF830032967_inline (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.RegionPinger::set_Done(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean System.Type::op_Equality(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Equality_mA438719A1FDF103C7BBBB08AEF564E7FAEEA0046 (Type_t * ___left0, Type_t * ___right1, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E (RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ___handle0, const RuntimeMethod* method);
// System.Void Photon.Realtime.PingMono::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PingMono__ctor_mAF65A6D22B1A28755969ECADC356F8E3B2BC8431 (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * __this, const RuntimeMethod* method);
// System.Boolean System.Type::op_Inequality(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Inequality_m6DDC5E923203A79BF505F9275B694AD3FAA36DB0 (Type_t * ___left0, Type_t * ___right1, const RuntimeMethod* method);
// System.Object System.Activator::CreateInstance(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Activator_CreateInstance_m1BACAB5F4FBF138CCCB537DDCB0683A2AC064295 (Type_t * ___type0, const RuntimeMethod* method);
// System.Int32 System.String::LastIndexOf(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_LastIndexOf_m29D788F388576F13C5D522AD008A86859E5BA826 (String_t* __this, Il2CppChar ___value0, const RuntimeMethod* method);
// System.String Photon.Realtime.RegionPinger::ResolveHost(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionPinger_ResolveHost_m8B0710A79D5DEFE6F3B5F229E56016EA475938B2 (String_t* ___hostName0, const RuntimeMethod* method);
// Photon.Realtime.PhotonPing Photon.Realtime.RegionPinger::GetPingImplementation()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * RegionPinger_GetPingImplementation_mD044705B25DAADA26FDD2DF041AC7E0646844E3C (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor(System.Int32)
inline void List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91 (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 *, int32_t, const RuntimeMethod*))List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91_gshared)(__this, ___capacity0, method);
}
// System.Void System.Threading.WaitCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitCallback__ctor_m50EFFE5096DF1DE733EA9895CEEC8EB6F142D5D5 (WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Boolean System.Threading.ThreadPool::QueueUserWorkItem(System.Threading.WaitCallback)
IL2CPP_EXTERN_C IL2CPP_NO_INLINE IL2CPP_METHOD_ATTR bool ThreadPool_QueueUserWorkItem_m76F5D0CD8F37E5D736F781049045AD9173E9A323 (WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319 * ___callBack0, const RuntimeMethod* method);
// System.Void System.Func`1<System.Boolean>::.ctor(System.Object,System.IntPtr)
inline void Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9 (Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9_gshared)(__this, ___object0, ___method1, method);
}
// System.Byte ExitGames.Client.Photon.SupportClass::StartBackgroundCalls(System.Func`1<System.Boolean>,System.Int32,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t SupportClass_StartBackgroundCalls_m573BDED13F03AAE31CD4461421167D5241CE66FE (Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F * ___myThread0, int32_t ___millisecondsInterval1, String_t* ___taskName2, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.RegionPinger::RegionPingThreaded()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method);
// System.Void System.Diagnostics.Stopwatch::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stopwatch__ctor_mDE97B28A72294ABF18E6E9769086E202C3586CA7 (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Void System.Diagnostics.Stopwatch::Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stopwatch_Reset_m79B1D65568465AE5B1A68EF3A2A65218590ABD14 (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Void System.Diagnostics.Stopwatch::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stopwatch_Start_mED237B2178B2075FAED706E2A38111496B28DBDE (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Void System.Diagnostics.Debug::WriteLine(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_WriteLine_m2B08D80ABA95E71F063FA07FB6BF1771C7799ED0 (String_t* ___message0, const RuntimeMethod* method);
// System.Int64 System.Diagnostics.Stopwatch::get_ElapsedMilliseconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Stopwatch_get_ElapsedMilliseconds_m6A137C9E989F74F61752FA86BB41ABAEC2A11FB5 (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Void System.Threading.Thread::Sleep(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Thread_Sleep_m8E61FC80BD38981CB18CA549909710790283DDCC (int32_t ___millisecondsTimeout0, const RuntimeMethod* method);
// System.Void System.Diagnostics.Stopwatch::Stop()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Stopwatch_Stop_mF6DEB63574AC382A681D1D8B9FFE56C1C806BE63 (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
inline void List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 *, int32_t, const RuntimeMethod*))List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_gshared)(__this, ___item0, method);
}
// System.Void System.Action`1<Photon.Realtime.Region>::Invoke(!0)
inline void Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675 (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___obj0, const RuntimeMethod* method)
{
(( void (*) (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 *, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *, const RuntimeMethod*))Action_1_Invoke_m587509C88BB83721D7918D89DF07606BB752D744_gshared)(__this, ___obj0, method);
}
// System.Void Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRegionPingCoroutineU3Ed__19__ctor_m14AA75A055CB1DE9121DA55EEA505223CF5404D2 (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.String Photon.Realtime.Extensions::ToStringFull<System.Int32>(System.Collections.Generic.List`1<T>)
inline String_t* Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1 (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * ___data0, const RuntimeMethod* method)
{
return (( String_t* (*) (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 *, const RuntimeMethod*))Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1_gshared)(___data0, method);
}
// System.Boolean System.String::StartsWith(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_mDE2FF98CAFFD13F88EDEB6C40158DDF840BFCF12 (String_t* __this, String_t* ___value0, const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_mB6B87FD76552BBF6D4E2B9F07F857FE051DCE190 (String_t* __this, int32_t ___startIndex0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.Hashtable::Add(System.Byte,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216 (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, uint8_t ___k0, RuntimeObject * ___v1, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.LoadBalancingClient::OpSetPropertiesOfRoom(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___gameProperties0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___expectedProperties1, WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___webFlags2, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.LoadBalancingClient::OpSetPropertyOfRoom(System.Byte,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool LoadBalancingClient_OpSetPropertyOfRoom_mFAF6C9C61B7D06F90426805522BA1A4D5AAA6197 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, uint8_t ___propCode0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::.ctor()
inline void Dictionary_2__ctor_m509E785E52A1C3861A9831F55E46B4095C2B2D1A (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, const RuntimeMethod*))Dictionary_2__ctor_mE7F9D51201F5A72BF4995CA0F3F0E866DB21E638_gshared)(__this, method);
}
// System.Void Photon.Realtime.RoomInfo::.ctor(System.String,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomInfo__ctor_m84B216343DC3F6F01B7FD2690DF871E565A52FAA (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, String_t* ___roomName0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___roomProperties1, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.RoomOptions::get_IsVisible()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_IsVisible_m5EC778AE095E58AFA3A9D52F267F85A65A732E0E (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.RoomOptions::get_IsOpen()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_IsOpen_mFDA9D97177BC7D1DF5A742640881012C1C22BEF4 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.Room::set_BroadcastPropertiesChangeToAll(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_BroadcastPropertiesChangeToAll_m713CA7B925BE579DE672122E90F710AC20C0FCB6_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Room::set_SuppressRoomEvents(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_SuppressRoomEvents_m9DA2FAD43288E82D574C683A771B07AF5CEC1748_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Room::set_SuppressPlayerInfo(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_SuppressPlayerInfo_m754DBACBDFA2A9B6C54FD4CF3B6F1BFAB3B5CBA9_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Room::set_PublishUserId(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_PublishUserId_m06E6C6526F77CD919006270A70E57CCA86AD0994_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.Room::set_DeleteNullProperties(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_DeleteNullProperties_m315E369F1958F04D18024D1A004E86C29C591523_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.RoomInfo::InternalCacheProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomInfo_InternalCacheProperties_mEC773D375C84B9084DCFB9B36528D89D859E2729 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesToCache0, const RuntimeMethod* method);
// System.Void Photon.Realtime.InRoomCallbacksContainer::OnMasterClientSwitched(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InRoomCallbacksContainer_OnMasterClientSwitched_m5C0C3207DD755226FA3A19CA395B28933548EBA0 (InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___newMasterClient0, const RuntimeMethod* method);
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomInfo::get_CustomProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * RoomInfo_get_CustomProperties_mEBEAFF1C1A2F91CD29703A18FF44E10D58701FEE (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.InRoomCallbacksContainer::OnRoomPropertiesUpdate(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InRoomCallbacksContainer_OnRoomPropertiesUpdate_m1A142EC845C5FCAE96FFA97F5322857F50824EC1 (InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesThatChanged0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::Remove(!0)
inline bool Dictionary_2_Remove_m5B30EAC7849BFA06D84BA702A294CFE6294AA0C5 (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, int32_t, const RuntimeMethod*))Dictionary_2_Remove_mAC77908EC28C242ACC8C3C4CDEA945E73B95CFA4_gshared)(__this, ___key0, method);
}
// System.Void Photon.Realtime.Player::set_RoomReference(Photon.Realtime.Room)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_RoomReference_m0181097B3E0D62C1802A2AD808240BF7378D9577_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * ___value0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::ContainsKey(!0)
inline bool Dictionary_2_ContainsKey_m5EBBC2A06520776FEB61E60D39288257C2B21CAE (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, int32_t ___key0, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, int32_t, const RuntimeMethod*))Dictionary_2_ContainsKey_mE6DB9458466D0F98B67E2C6CAEFABBF9576AC4D7_gshared)(__this, ___key0, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_m24787D672A337A4370033965C61983244CAEDCC9 (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, int32_t ___key0, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, int32_t, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *, const RuntimeMethod*))Dictionary_2_set_Item_m71867F9FFBB49DE962FD0036368A0F6E87F30C90_gshared)(__this, ___key0, ___value1, method);
}
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_mDD07DD29A313814DB347A27C63F186F838A3CCB6 (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * __this, int32_t ___key0, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 ** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *, int32_t, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 **, const RuntimeMethod*))Dictionary_2_TryGetValue_m0A88BBB063127AFAD853506A433ACB07D7AAD67E_gshared)(__this, ___key0, ___value1, method);
}
// System.String[] Photon.Realtime.Room::get_ExpectedUsers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.Room::SetExpectedUsers(System.String[],System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetExpectedUsers_mB3F6396ECAEBAF34286A6752AB64DAB1C1773EC2 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___newExpectedUsers0, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___oldExpectedUsers1, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.Hashtable::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Hashtable__ctor_m9730D9A28F50D395D9FEF94F4EFAA69946EAA60C (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * __this, int32_t ___x0, const RuntimeMethod* method);
// System.Byte Photon.Realtime.Room::get_PlayerCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Room_get_PlayerCount_mEDD8EA093DF8DC8D1D8B0DBED09A2DA2EFCF364E (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.RoomInfo::get_Name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RoomInfo_get_Name_m38D5F419210D0AFB91896D69292740374B6EFDA4 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method);
// System.Int32 Photon.Realtime.RoomInfo::get_PlayerCount()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RoomInfo_get_PlayerCount_m50B0F7EE07B876923EFF2EF60778A037A0FA9DA6_inline (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.RoomInfo::set_PlayerCount(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RoomInfo_set_PlayerCount_m937391BF1C4BCB01331FFF4E5C93664ECC9A56FA_inline (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.LoadBalancingClient::RemoveCallbackTarget(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LoadBalancingClient_RemoveCallbackTarget_m01EE49F15436A959BFD296AA9984404ECA25D369 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, RuntimeObject * ___target0, const RuntimeMethod* method);
// System.Void Photon.Realtime.LoadBalancingClient::AddCallbackTarget(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LoadBalancingClient_AddCallbackTarget_mF16F409FFF0E613D334D999BF6EAA126F090F154 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, RuntimeObject * ___target0, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::LogBasics()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_LogBasics_mFCBF9723E84B9A5E77B99417EB1DD36403A19BB0 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::set_Client(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_set_Client_mFF619F21AB932F0393D15181428B1446665435BC (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___value0, const RuntimeMethod* method);
// System.String Photon.Realtime.SupportLogger::GetFormattedTimestamp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.String System.Boolean::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Boolean_ToString_m59BB8456DD05A874BBD756E57EA8AD983287015C (bool* __this, const RuntimeMethod* method);
// System.Boolean Photon.Realtime.LoadBalancingClient::get_IsConnected()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool LoadBalancingClient_get_IsConnected_mAF312211E24968B1F60C9E74E53BE464B1222BB3 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::Log(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::CancelInvoke()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_CancelInvoke_mAF87B47704B16B114F82AC6914E4DA9AE034095D (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::InvokeRepeating(System.String,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_InvokeRepeating_mB77F4276826FBA696A150831D190875CB5802C70 (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, String_t* ___methodName0, float ___time1, float ___repeatRate2, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::CancelInvoke(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_CancelInvoke_mAD4E486A74AF79DC1AFA880691EF839CDDE630A9 (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, String_t* ___methodName0, const RuntimeMethod* method);
// System.TimeSpan System.Diagnostics.Stopwatch::get_Elapsed()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 Stopwatch_get_Elapsed_m75C9FF87F9007FC8738B722002A8F8C302F5CFA6 (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::get_Minutes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Minutes_mF5A78108FEB64953C298CEC19637378380881202 (TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::get_Seconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Seconds_m3324F3A1F96CA956DAEDDB69DB32CAA320A053F7 (TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * __this, const RuntimeMethod* method);
// System.Int32 System.TimeSpan::get_Milliseconds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeSpan_get_Milliseconds_m7DCE7C8875295A46F8A3ED0326F498F30D1F9BEE (TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 * __this, const RuntimeMethod* method);
// Photon.Realtime.LoadBalancingPeer Photon.Realtime.LoadBalancingClient::get_LoadBalancingPeer()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.Int32 ExitGames.Client.Photon.PhotonPeer::get_RoundTripTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PhotonPeer_get_RoundTripTime_m59472820E0C4B43735EAFCB760F7FA8AD2D2D125 (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, const RuntimeMethod* method);
// Photon.Realtime.ClientState Photon.Realtime.LoadBalancingClient::get_State()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LoadBalancingClient_get_State_m0983EF873FB794B55A105CF532339D23998B8378 (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String ExitGames.Client.Photon.PhotonPeer::VitalStatsToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PhotonPeer_VitalStatsToString_m46687C2E5975ED699DD056A1A47DF5FCECF5AD68 (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, bool ___all0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.String>::.ctor(System.Int32)
inline void List_1__ctor_m4D81A60A3C9A9F425B13CEE1AC43A357335E8B0B (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 *, int32_t, const RuntimeMethod*))List_1__ctor_mFEB2301A6F28290A828A979BA9CC847B16B3D538_gshared)(__this, ___capacity0, method);
}
// System.String UnityEngine.Application::get_unityVersion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Application_get_unityVersion_m96DFC04C06A62DDF3EDC830C1F103D848AC0FDF1 (const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.String>::Add(!0)
inline void List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * __this, String_t* ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 *, String_t*, const RuntimeMethod*))List_1_Add_mE5B3CBB3A625606D9BC4337FEAAF1D66BCB6F96E_gshared)(__this, ___item0, method);
}
// UnityEngine.RuntimePlatform UnityEngine.Application::get_platform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Application_get_platform_mB22F7F39CDD46667C3EF64507E55BB7DA18F66C4 (const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_AppId()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_AppVersion()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_AppVersion_mFA53FE244C2CBAD64709882193BA30826B8B69C5_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String ExitGames.Client.Photon.PhotonPeer::get_Version()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PhotonPeer_get_Version_m8D829DEFFBD0E4677A535F35570467DC4EFF93D3 (const RuntimeMethod* method);
// !0[] System.Collections.Generic.List`1<System.String>::ToArray()
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* List_1_ToArray_m94163AE84EBF9A1F7483014A8E9906BD93D9EBDB (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * __this, const RuntimeMethod* method)
{
return (( StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* (*) (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 *, const RuntimeMethod*))List_1_ToArray_mA737986DE6389E9DD8FA8E3D4E222DE4DA34958D_gshared)(__this, method);
}
// System.Type ExitGames.Client.Photon.PhotonPeer::get_SocketImplementation()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Type_t * PhotonPeer_get_SocketImplementation_mAC4A1FC38B0992934D9EB4FC6EC12021D2C07602_inline (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_UserId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_UserId_m8523275C4DFFEE75877514FF4022A2EF2C2D944E (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// Photon.Realtime.AuthenticationValues Photon.Realtime.LoadBalancingClient::get_AuthValues()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * LoadBalancingClient_get_AuthValues_m6CFE88D5746FE66CF036F3BDEE97FD3F3B080947_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// Photon.Realtime.CustomAuthenticationType Photon.Realtime.AuthenticationValues::get_AuthType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t AuthenticationValues_get_AuthType_mF05C38D7A0CBE9ADFFBF74C829A1E98373E635BE (AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * __this, const RuntimeMethod* method);
// System.String ExitGames.Client.Photon.PhotonPeer::get_PeerID()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PhotonPeer_get_PeerID_m7FAAED9A600AF34CB1133618EA2320D6C13A70AA (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_CurrentServerAddress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_CurrentServerAddress_m340A40F8C31A54CCBFF4123A14615C55052DA56F (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String ExitGames.Client.Photon.PhotonPeer::get_ServerIpAddress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* PhotonPeer_get_ServerIpAddress_m857E470756B99A4D899DE362F2250BC9F862E012 (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_CloudRegion()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_CloudRegion_m08A780475DA96A78E6D982816DB4002A149BB1AA_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogWarning(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.PhotonPeer::set_TrafficStatsEnabled(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPeer_set_TrafficStatsEnabled_m65B5C7C4FF0584A247331109F716AAA5B54D97A5 (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, bool ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::StartLogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StartLogStats_m31291D23E40BFA0A590676E589161FAD6A7A0F25 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::StartTrackValues()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StartTrackValues_m9E1B6BAFAFA345B48BD1B78DC6668F47B134BD41 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// Photon.Realtime.TypedLobby Photon.Realtime.LoadBalancingClient::get_CurrentLobby()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * LoadBalancingClient_get_CurrentLobby_m3FD1849CCACF880D859A75E3006627CC77E847E7_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String System.Int16::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int16_ToString_m8CF4F76507EFEA86FE5984D7572DC66E44C20022 (int16_t* __this, const RuntimeMethod* method);
// Photon.Realtime.Room Photon.Realtime.LoadBalancingClient::get_CurrentRoom()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * LoadBalancingClient_get_CurrentRoom_m43837CB1E6A0BB52982A5795649FE77DD5768D73_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.LoadBalancingClient::get_GameServerAddress()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_GameServerAddress_mC8284CC749DD6C046B97C985CA64B7B3A96CB5A8_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::StopLogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StopLogStats_m50CF797EB0CFBE8D9E25941C26870969591BCB40 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::StopTrackValues()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StopTrackValues_m20B3E577DEE42D0BADE001DB1D678B255F12EAD8 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.SupportLogger::LogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_LogStats_m27044F5418F6377E206E3BCAE2823A28482FE91D (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>::get_Count()
inline int32_t List_1_get_Count_m83A9CA4DC00347E0F2910B6DADDD67583ED0D539_inline (List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 *, const RuntimeMethod*))List_1_get_Count_m5D847939ABB9A78203B062CAFFE975792174D00F_gshared_inline)(__this, method);
}
// System.Void UnityEngine.Debug::LogError(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_m8850D65592770A364D494025FF3A73E8D4D70485 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED (MonoBehaviour_t37A501200D970A8257124B0EAE00A0FF3DDC354A * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.TypedLobby::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypedLobby__ctor_mB268B90F8AE8110BB439D44BCE42F126FDD52F54 (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.WebFlags::.ctor(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags__ctor_m364837F07C4F1083993B5DE05D3896D7D3D85798 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, uint8_t ___webhookFlags0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<Photon.Realtime.IWebRpcCallback>::.ctor()
inline void List_1__ctor_m5462D7A858BD379CFB03F04883D27C04BA82CCED (List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 *, const RuntimeMethod*))List_1__ctor_m0F0E00088CF56FEACC9E32D8B7D91B93D91DAA3B_gshared)(__this, method);
}
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<Photon.Realtime.IWebRpcCallback>::GetEnumerator()
inline Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 List_1_GetEnumerator_m226CFA5DFA50CE13735EE6513D8A8B7E613DEE45 (List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 * __this, const RuntimeMethod* method)
{
return (( Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 (*) (List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34 *, const RuntimeMethod*))List_1_GetEnumerator_m1739A5E25DF502A6984F9B98CFCAC2D3FABCF233_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IWebRpcCallback>::get_Current()
inline RuntimeObject* Enumerator_get_Current_mF4F97169F8E940F596801EF80998DE4C323EA7BA_inline (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 * __this, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *, const RuntimeMethod*))Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IWebRpcCallback>::MoveNext()
inline bool Enumerator_MoveNext_mC3E14D29C667AA45F0B7C9EC1D69CC7A366303BC (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *, const RuntimeMethod*))Enumerator_MoveNext_m2E56233762839CE55C67E00AC8DD3D4D3F6C0DF0_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<Photon.Realtime.IWebRpcCallback>::Dispose()
inline void Enumerator_Dispose_mB2610FB2D29BBB67AC83D7778780869CEDE26135 (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *, const RuntimeMethod*))Enumerator_Dispose_mCFB225D9E5E597A1CC8F958E53BEA1367D8AC7B8_gshared)(__this, method);
}
// System.Int32 Photon.Realtime.WebRpcResponse::get_ResultCode()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t WebRpcResponse_get_ResultCode_m749A18E937D3DB5BC3FCF0735AF445816008D874_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method);
// System.String Photon.Realtime.WebRpcResponse::get_Message()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Message_mF04DF90BF2C4DD9C079F36247717F3FD47B3F913_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method);
// System.Boolean ExitGames.Client.Photon.ParameterDictionary::TryGetValue(System.Byte,System.Object&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ParameterDictionary_TryGetValue_m3F893EE5C028930D623430DCBB5505D539A3C0CA (ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * __this, uint8_t ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// System.Void Photon.Realtime.WebRpcResponse::set_Name(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Name_mF97550D30C70A60EBFC6C5100F75F6BD1AA76A7C_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.WebRpcResponse::set_ResultCode(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_ResultCode_m60D6C87664B71424D0E8D77FF51A8D5218FDB3A9_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.WebRpcResponse::set_Parameters(System.Collections.Generic.Dictionary`2<System.String,System.Object>)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Parameters_m73D3541B04947DF3F96B17F396E1841579F2A3A5_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * ___value0, const RuntimeMethod* method);
// System.Void Photon.Realtime.WebRpcResponse::set_Message(System.String)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Message_m80D3C968F66A22B396A54635F100540265684371_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.String Photon.Realtime.WebRpcResponse::get_Name()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Name_mC87FDF0AF60CBD02DECEE672A52B8193CE63A8D9_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method);
// System.Collections.Generic.Dictionary`2<System.String,System.Object> Photon.Realtime.WebRpcResponse::get_Parameters()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * WebRpcResponse_get_Parameters_mDABD8F7AB74C1C92EA3AFFA2E3C35B485139185C_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method);
// System.String ExitGames.Client.Photon.SupportClass::DictionaryToString(System.Collections.IDictionary,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SupportClass_DictionaryToString_mA658B9A4C5FC28BD6EE24099CB512601127B093E (RuntimeObject* ___dictionary0, bool ___includeTypes1, const RuntimeMethod* method);
// System.Void Photon.Realtime.LoadBalancingPeer/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m6BD4A6F45A41995976A87A9D0C893E2023C8DFAA (U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * __this, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.ParameterDictionary::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParameterDictionary__ctor_mC02ED653C487D76F7174F0CC1CD3575323EAB9DC (ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * __this, const RuntimeMethod* method);
// System.Void ExitGames.Client.Photon.ParameterDictionary::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParameterDictionary_Clear_m6E4F4E8459C8E468D65A4D8D9429C85AEAEF23E1 (ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * __this, const RuntimeMethod* method);
// System.Void Photon.Realtime.RegionHandler/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mF7622690FDCA0B2F9AF7DCCF7567474C5AA7A1E6 (U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * __this, const RuntimeMethod* method);
// System.Int32 System.Int32::CompareTo(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int32_CompareTo_m2DD1093B956B4D96C3AC3C27FDEE3CA447B044D3 (int32_t* __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.WaitForSeconds::.ctor(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitForSeconds__ctor_mD298C4CB9532BBBDE172FC40F3397E30504038D4 (WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013 * __this, float ___seconds0, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m3EA81A5B209A87C3ADA47443F2AFFF735E5256EE (NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339 * __this, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929 (const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Photon.Realtime.LobbyCallbacksContainer::.ctor(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LobbyCallbacksContainer__ctor_m71EA6044E752E315687FD1A51B1DB2081C8F699F (LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCA9D92E55CB629CEA65A2C9E2CD99E57A978EA58_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public LobbyCallbacksContainer(LoadBalancingClient client)
IL2CPP_RUNTIME_CLASS_INIT(List_1_t0DFA793DEB3FB7DCF1640813FC01281C229D4B8E_il2cpp_TypeInfo_var);
List_1__ctor_mCA9D92E55CB629CEA65A2C9E2CD99E57A978EA58(__this, /*hidden argument*/List_1__ctor_mCA9D92E55CB629CEA65A2C9E2CD99E57A978EA58_RuntimeMethod_var);
// this.client = client;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = ___client0;
__this->set_client_6(L_0);
// }
return;
}
}
// System.Void Photon.Realtime.LobbyCallbacksContainer::OnJoinedLobby()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LobbyCallbacksContainer_OnJoinedLobby_m0B7CAECB93AD4CF38332CF8124C80DF1F4C4B051 (LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (ILobbyCallbacks target in this)
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 L_1;
L_1 = List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B(__this, /*hidden argument*/List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0028;
}
IL_0017:
{
// foreach (ILobbyCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_inline((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
V_1 = L_2;
// target.OnJoinedLobby();
RuntimeObject* L_3 = V_1;
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(0 /* System.Void Photon.Realtime.ILobbyCallbacks::OnJoinedLobby() */, ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var, L_3);
}
IL_0028:
{
// foreach (ILobbyCallbacks target in this)
bool L_4;
L_4 = Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0031:
{
IL2CPP_LEAVE(0x42, FINALLY_0033);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0033;
}
FINALLY_0033:
{ // begin finally (depth: 1)
Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
IL2CPP_END_FINALLY(51)
} // end finally (depth: 1)
IL2CPP_CLEANUP(51)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x42, IL_0042)
}
IL_0042:
{
// }
return;
}
}
// System.Void Photon.Realtime.LobbyCallbacksContainer::OnLeftLobby()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LobbyCallbacksContainer_OnLeftLobby_m71A1BB086FC4094414A01D0589A19A9DA33A7C50 (LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (ILobbyCallbacks target in this)
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 L_1;
L_1 = List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B(__this, /*hidden argument*/List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0028;
}
IL_0017:
{
// foreach (ILobbyCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_inline((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
V_1 = L_2;
// target.OnLeftLobby();
RuntimeObject* L_3 = V_1;
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(1 /* System.Void Photon.Realtime.ILobbyCallbacks::OnLeftLobby() */, ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var, L_3);
}
IL_0028:
{
// foreach (ILobbyCallbacks target in this)
bool L_4;
L_4 = Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0031:
{
IL2CPP_LEAVE(0x42, FINALLY_0033);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0033;
}
FINALLY_0033:
{ // begin finally (depth: 1)
Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
IL2CPP_END_FINALLY(51)
} // end finally (depth: 1)
IL2CPP_CLEANUP(51)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x42, IL_0042)
}
IL_0042:
{
// }
return;
}
}
// System.Void Photon.Realtime.LobbyCallbacksContainer::OnRoomListUpdate(System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LobbyCallbacksContainer_OnRoomListUpdate_mBAE6402FD8937F6A1B74E8B1DCC2B639AB3B0075 (LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * __this, List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * ___roomList0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (ILobbyCallbacks target in this)
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 L_1;
L_1 = List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B(__this, /*hidden argument*/List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0029;
}
IL_0017:
{
// foreach (ILobbyCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_inline((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
V_1 = L_2;
// target.OnRoomListUpdate(roomList);
RuntimeObject* L_3 = V_1;
List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * L_4 = ___roomList0;
NullCheck(L_3);
InterfaceActionInvoker1< List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * >::Invoke(2 /* System.Void Photon.Realtime.ILobbyCallbacks::OnRoomListUpdate(System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>) */, ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_0029:
{
// foreach (ILobbyCallbacks target in this)
bool L_5;
L_5 = Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
if (L_5)
{
goto IL_0017;
}
}
IL_0032:
{
IL2CPP_LEAVE(0x43, FINALLY_0034);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0034;
}
FINALLY_0034:
{ // begin finally (depth: 1)
Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
IL2CPP_END_FINALLY(52)
} // end finally (depth: 1)
IL2CPP_CLEANUP(52)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x43, IL_0043)
}
IL_0043:
{
// }
return;
}
}
// System.Void Photon.Realtime.LobbyCallbacksContainer::OnLobbyStatisticsUpdate(System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LobbyCallbacksContainer_OnLobbyStatisticsUpdate_m314B1CAF1F057DE164F65832DD8903C5248E2989 (LobbyCallbacksContainer_t5B0AD3D661F636EB9111E8ED4EDC5CEFEC900788 * __this, List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * ___lobbyStatistics0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (ILobbyCallbacks target in this)
Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 L_1;
L_1 = List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B(__this, /*hidden argument*/List_1_GetEnumerator_mAC88F4E1B18813890A4B9B162D0ADB3BD034A83B_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0029;
}
IL_0017:
{
// foreach (ILobbyCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_inline((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_get_Current_m848F00DA816AF12678B9C0761621FE0BEED5DE49_RuntimeMethod_var);
V_1 = L_2;
// target.OnLobbyStatisticsUpdate(lobbyStatistics);
RuntimeObject* L_3 = V_1;
List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * L_4 = ___lobbyStatistics0;
NullCheck(L_3);
InterfaceActionInvoker1< List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * >::Invoke(3 /* System.Void Photon.Realtime.ILobbyCallbacks::OnLobbyStatisticsUpdate(System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>) */, ILobbyCallbacks_tFB4324CFB7D511E5ED659F7AB361C10DEB87CDAA_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_0029:
{
// foreach (ILobbyCallbacks target in this)
bool L_5;
L_5 = Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_mB04916FC3D1D49DEE3AF71921ECC194A2A895845_RuntimeMethod_var);
if (L_5)
{
goto IL_0017;
}
}
IL_0032:
{
IL2CPP_LEAVE(0x43, FINALLY_0034);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0034;
}
FINALLY_0034:
{ // begin finally (depth: 1)
Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7((Enumerator_t6D547C4118A32930F42B7311F3291062BCF057D7 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mE62F487EE3F55143E792C923AD7B72A1B2E965D7_RuntimeMethod_var);
IL2CPP_END_FINALLY(52)
} // end finally (depth: 1)
IL2CPP_CLEANUP(52)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x43, IL_0043)
}
IL_0043:
{
// }
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.Realtime.MatchMakingCallbacksContainer::.ctor(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer__ctor_m78D69FCA696259756421F0BD1956B6EAD8B1D928 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m30772CE0C80FA42C42B1696F89CA51E3A33EEA53_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public MatchMakingCallbacksContainer(LoadBalancingClient client)
IL2CPP_RUNTIME_CLASS_INIT(List_1_t3541A2225D785EFFDC52FF0462284B3290B628FD_il2cpp_TypeInfo_var);
List_1__ctor_m30772CE0C80FA42C42B1696F89CA51E3A33EEA53(__this, /*hidden argument*/List_1__ctor_m30772CE0C80FA42C42B1696F89CA51E3A33EEA53_RuntimeMethod_var);
// this.client = client;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = ___client0;
__this->set_client_6(L_0);
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnCreatedRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnCreatedRoom_m99DA96D2C195A897C8A49B96C8E4EDC4B048FEA0 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0028;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnCreatedRoom();
RuntimeObject* L_3 = V_1;
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(1 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnCreatedRoom() */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3);
}
IL_0028:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_4;
L_4 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0031:
{
IL2CPP_LEAVE(0x42, FINALLY_0033);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0033;
}
FINALLY_0033:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(51)
} // end finally (depth: 1)
IL2CPP_CLEANUP(51)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x42, IL_0042)
}
IL_0042:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnJoinedRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnJoinedRoom_m15C785777D374CC7C3A1FCA8C595A1071201A849 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0028;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnJoinedRoom();
RuntimeObject* L_3 = V_1;
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(3 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnJoinedRoom() */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3);
}
IL_0028:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_4;
L_4 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0031:
{
IL2CPP_LEAVE(0x42, FINALLY_0033);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0033;
}
FINALLY_0033:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(51)
} // end finally (depth: 1)
IL2CPP_CLEANUP(51)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x42, IL_0042)
}
IL_0042:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnCreateRoomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnCreateRoomFailed_m02D04B82A96152A41C2D6D78DE392386F190537A (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_002a;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnCreateRoomFailed(returnCode, message);
RuntimeObject* L_3 = V_1;
int16_t L_4 = ___returnCode0;
String_t* L_5 = ___message1;
NullCheck(L_3);
InterfaceActionInvoker2< int16_t, String_t* >::Invoke(2 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnCreateRoomFailed(System.Int16,System.String) */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3, L_4, L_5);
}
IL_002a:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_6;
L_6 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_6)
{
goto IL_0017;
}
}
IL_0033:
{
IL2CPP_LEAVE(0x44, FINALLY_0035);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0035;
}
FINALLY_0035:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(53)
} // end finally (depth: 1)
IL2CPP_CLEANUP(53)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x44, IL_0044)
}
IL_0044:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnJoinRandomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnJoinRandomFailed_m13C33E78F7C4A11C61449F6B47A8F589B57CB272 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_002a;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnJoinRandomFailed(returnCode, message);
RuntimeObject* L_3 = V_1;
int16_t L_4 = ___returnCode0;
String_t* L_5 = ___message1;
NullCheck(L_3);
InterfaceActionInvoker2< int16_t, String_t* >::Invoke(5 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnJoinRandomFailed(System.Int16,System.String) */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3, L_4, L_5);
}
IL_002a:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_6;
L_6 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_6)
{
goto IL_0017;
}
}
IL_0033:
{
IL2CPP_LEAVE(0x44, FINALLY_0035);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0035;
}
FINALLY_0035:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(53)
} // end finally (depth: 1)
IL2CPP_CLEANUP(53)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x44, IL_0044)
}
IL_0044:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnJoinRoomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnJoinRoomFailed_m3DA37DED7344C043A7EE1223024855E38A09DC8C (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_002a;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnJoinRoomFailed(returnCode, message);
RuntimeObject* L_3 = V_1;
int16_t L_4 = ___returnCode0;
String_t* L_5 = ___message1;
NullCheck(L_3);
InterfaceActionInvoker2< int16_t, String_t* >::Invoke(4 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnJoinRoomFailed(System.Int16,System.String) */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3, L_4, L_5);
}
IL_002a:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_6;
L_6 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_6)
{
goto IL_0017;
}
}
IL_0033:
{
IL2CPP_LEAVE(0x44, FINALLY_0035);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0035;
}
FINALLY_0035:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(53)
} // end finally (depth: 1)
IL2CPP_CLEANUP(53)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x44, IL_0044)
}
IL_0044:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnLeftRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnLeftRoom_m51328689A54C272B2DD1BC8DC4A730AC78407AF8 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0028;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnLeftRoom();
RuntimeObject* L_3 = V_1;
NullCheck(L_3);
InterfaceActionInvoker0::Invoke(6 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnLeftRoom() */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3);
}
IL_0028:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_4;
L_4 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_4)
{
goto IL_0017;
}
}
IL_0031:
{
IL2CPP_LEAVE(0x42, FINALLY_0033);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0033;
}
FINALLY_0033:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(51)
} // end finally (depth: 1)
IL2CPP_CLEANUP(51)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x42, IL_0042)
}
IL_0042:
{
// }
return;
}
}
// System.Void Photon.Realtime.MatchMakingCallbacksContainer::OnFriendListUpdate(System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatchMakingCallbacksContainer_OnFriendListUpdate_mFD0489D9E1AB82CFD226524C96E831085A84FF68 (MatchMakingCallbacksContainer_tC3299710E85EF62C6EB01208F802EF70FAA80B09 * __this, List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C * ___friendList0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IMatchmakingCallbacks target in this)
Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD L_1;
L_1 = List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0(__this, /*hidden argument*/List_1_GetEnumerator_m4E2A1D92E11D9C25783F3FD06FC69288260EDCA0_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0029;
}
IL_0017:
{
// foreach (IMatchmakingCallbacks target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_inline((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_get_Current_m2F96A8331C2DFB57A6B8F02023EEF5E8FAA9A910_RuntimeMethod_var);
V_1 = L_2;
// target.OnFriendListUpdate(friendList);
RuntimeObject* L_3 = V_1;
List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C * L_4 = ___friendList0;
NullCheck(L_3);
InterfaceActionInvoker1< List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C * >::Invoke(0 /* System.Void Photon.Realtime.IMatchmakingCallbacks::OnFriendListUpdate(System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>) */, IMatchmakingCallbacks_tD5D5825473BAE494D8176060497F98B29E97E8AE_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_0029:
{
// foreach (IMatchmakingCallbacks target in this)
bool L_5;
L_5 = Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_MoveNext_m0BDBE5467A4C83F8940695582506B32C3FD78F55_RuntimeMethod_var);
if (L_5)
{
goto IL_0017;
}
}
IL_0032:
{
IL2CPP_LEAVE(0x43, FINALLY_0034);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0034;
}
FINALLY_0034:
{ // begin finally (depth: 1)
Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032((Enumerator_t2C2AD5450A23A50C1194A33712A5681F7227D9BD *)(&V_0), /*hidden argument*/Enumerator_Dispose_m8F93C121BCDD3A2EF88015C23E807B46FD4C5032_RuntimeMethod_var);
IL2CPP_END_FINALLY(52)
} // end finally (depth: 1)
IL2CPP_CLEANUP(52)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x43, IL_0043)
}
IL_0043:
{
// }
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.Realtime.OpJoinRandomRoomParams::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OpJoinRandomRoomParams__ctor_mD390D270BABB5B51AC8BAE3CAF1D479693186485 (OpJoinRandomRoomParams_t89D317370EE00C5999419F4004DC53A4C4A5F327 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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.Realtime.OperationCode::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OperationCode__ctor_mF452DA8D1ABA60D769CFAD6FF94851429C7EDD84 (OperationCode_tAE19E0EDB5B1C4ECDB32B71296B2551B6603BD76 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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.Realtime.ParameterCode::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ParameterCode__ctor_mB56A522B9640A9D1D0ED53F24E29B0E69F142FC0 (ParameterCode_t2F505673161CEE1BB9B5B8C246092D789400E687 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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.Boolean Photon.Realtime.PhotonPing::StartPing(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PhotonPing_StartPing_m772EB2BB0A3040C506B948D01DABD8FB0B84C474 (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, String_t* ___ip0, const RuntimeMethod* method)
{
{
// throw new NotImplementedException();
NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * L_0 = (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var)));
NotImplementedException__ctor_mA2E9CE7F00CB335581A296D2596082D57E45BA83(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PhotonPing_StartPing_m772EB2BB0A3040C506B948D01DABD8FB0B84C474_RuntimeMethod_var)));
}
}
// System.Boolean Photon.Realtime.PhotonPing::Done()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PhotonPing_Done_mB5ED5DA306F7D0292028DB14E33D07479850B614 (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method)
{
{
// throw new NotImplementedException();
NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * L_0 = (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var)));
NotImplementedException__ctor_mA2E9CE7F00CB335581A296D2596082D57E45BA83(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PhotonPing_Done_mB5ED5DA306F7D0292028DB14E33D07479850B614_RuntimeMethod_var)));
}
}
// System.Void Photon.Realtime.PhotonPing::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing_Dispose_m290F9ACB42FB54CE018162A411D69C1B966CA630 (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method)
{
{
// throw new NotImplementedException();
NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * L_0 = (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var)));
NotImplementedException__ctor_mA2E9CE7F00CB335581A296D2596082D57E45BA83(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&PhotonPing_Dispose_m290F9ACB42FB54CE018162A411D69C1B966CA630_RuntimeMethod_var)));
}
}
// System.Void Photon.Realtime.PhotonPing::Init()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing_Init_mAD876403E230F0768B99F0CF6E06E7C1E01FE78F (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// this.GotResult = false;
__this->set_GotResult_2((bool)0);
// this.Successful = false;
__this->set_Successful_1((bool)0);
// this.PingId = (byte)(RandomIdProvider.Next(255));
IL2CPP_RUNTIME_CLASS_INIT(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * L_0 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_StaticFields*)il2cpp_codegen_static_fields_for(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var))->get_RandomIdProvider_6();
NullCheck(L_0);
int32_t L_1;
L_1 = VirtFuncInvoker1< int32_t, int32_t >::Invoke(7 /* System.Int32 System.Random::Next(System.Int32) */, L_0, ((int32_t)255));
__this->set_PingId_5((uint8_t)((int32_t)((uint8_t)L_1)));
// }
return;
}
}
// System.Void Photon.Realtime.PhotonPing::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing__ctor_mD767D9B09CEBAEB9610E525972F0D8847ADC4FAE (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E____1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0_FieldInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
s_Il2CppMethodInitialized = true;
}
{
// public string DebugString = "";
__this->set_DebugString_0(_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
// protected internal int PingLength = 13;
__this->set_PingLength_3(((int32_t)13));
// protected internal byte[] PingBytes = new byte[] { 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x7d, 0x00 };
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)13));
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = L_0;
RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t2A7F14288E6A6FB6ECB79CBD8EC56BE8D4C96C0E____1995DEFE26C524A9CB3CF007B4A76A325342658A716A5F50C3B262D2F38DF919_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_mE27238308FED781F2D6A719F0903F2E1311B058F((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
__this->set_PingBytes_4(L_1);
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Realtime.PhotonPing::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPing__cctor_mDD69739A7A0B3521F15AB2B979CE43CCE2700028 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly System.Random RandomIdProvider = new System.Random();
Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 * L_0 = (Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118 *)il2cpp_codegen_object_new(Random_t6C9E9775A149D0ADCFEB4B252C408F03EE870118_il2cpp_TypeInfo_var);
Random__ctor_mF40AD1812BABC06235B661CCE513E4F74EEE9F05(L_0, /*hidden argument*/NULL);
((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_StaticFields*)il2cpp_codegen_static_fields_for(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var))->set_RandomIdProvider_6(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.Realtime.PhotonPortDefinition::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PhotonPortDefinition__cctor_mDA7ADAA2991CBA5E74570EFB78881F20D87EC36F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// public static readonly PhotonPortDefinition AlternativeUdpPorts = new PhotonPortDefinition() { NameServerPort = 27000, MasterServerPort = 27001, GameServerPort = 27002};
il2cpp_codegen_initobj((&V_0), sizeof(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 ));
(&V_0)->set_NameServerPort_1((uint16_t)((int32_t)27000));
(&V_0)->set_MasterServerPort_2((uint16_t)((int32_t)27001));
(&V_0)->set_GameServerPort_3((uint16_t)((int32_t)27002));
PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0 L_0 = V_0;
((PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_StaticFields*)il2cpp_codegen_static_fields_for(PhotonPortDefinition_tC93F6B25ADFE7580E7E03979C6252453F0DC9CA0_il2cpp_TypeInfo_var))->set_AlternativeUdpPorts_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.Boolean Photon.Realtime.PingMono::StartPing(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PingMono_StartPing_m11328F2F040B37C5C2341E5249045695092098D1 (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * __this, String_t* ___ip0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
bool V_2 = false;
Exception_t * V_3 = NULL;
bool V_4 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
int32_t G_B8_0 = 0;
{
// this.Init();
PhotonPing_Init_mAD876403E230F0768B99F0CF6E06E7C1E01FE78F(__this, /*hidden argument*/NULL);
}
IL_0008:
try
{ // begin try (depth: 1)
{
// if (this.sock == null)
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_0 = __this->get_sock_7();
V_0 = (bool)((((RuntimeObject*)(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_007f;
}
}
IL_0016:
{
// if (ip.Contains("."))
String_t* L_2 = ___ip0;
NullCheck(L_2);
bool L_3;
L_3 = String_Contains_mA26BDCCE8F191E8965EB8EEFC18BB4D0F85A075A(L_2, _stringLiteralF3E84B722399601AD7E281754E917478AA9AD48D, /*hidden argument*/NULL);
V_2 = L_3;
bool L_4 = V_2;
if (!L_4)
{
goto IL_0039;
}
}
IL_0026:
{
// this.sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_5 = (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)il2cpp_codegen_object_new(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_il2cpp_TypeInfo_var);
Socket__ctor_m5A4B335AEC1450ABE31CF1151F3F5A93D9D0280C(L_5, 2, 2, ((int32_t)17), /*hidden argument*/NULL);
__this->set_sock_7(L_5);
goto IL_004b;
}
IL_0039:
{
// this.sock = new Socket(AddressFamily.InterNetworkV6, SocketType.Dgram, ProtocolType.Udp);
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_6 = (Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)il2cpp_codegen_object_new(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09_il2cpp_TypeInfo_var);
Socket__ctor_m5A4B335AEC1450ABE31CF1151F3F5A93D9D0280C(L_6, ((int32_t)23), 2, ((int32_t)17), /*hidden argument*/NULL);
__this->set_sock_7(L_6);
}
IL_004b:
{
// this.sock.ReceiveTimeout = 5000;
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_7 = __this->get_sock_7();
NullCheck(L_7);
Socket_set_ReceiveTimeout_mF081C1A1416112CE1ED3609594F76062B4B4DB23(L_7, ((int32_t)5000), /*hidden argument*/NULL);
// int port = (RegionHandler.PortToPingOverride != 0) ? RegionHandler.PortToPingOverride : 5055;
uint16_t L_8 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PortToPingOverride_9();
if (L_8)
{
goto IL_006a;
}
}
IL_0063:
{
G_B8_0 = ((int32_t)5055);
goto IL_006f;
}
IL_006a:
{
uint16_t L_9 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PortToPingOverride_9();
G_B8_0 = ((int32_t)(L_9));
}
IL_006f:
{
V_1 = G_B8_0;
// this.sock.Connect(ip, port);
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_10 = __this->get_sock_7();
String_t* L_11 = ___ip0;
int32_t L_12 = V_1;
NullCheck(L_10);
Socket_Connect_m08347703B1E1E29B13D95F2719B76C7B2A51950A(L_10, L_11, L_12, /*hidden argument*/NULL);
}
IL_007f:
{
// this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
NullCheck(L_14);
uint8_t L_15 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingId_5();
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))), (int32_t)1))), (uint8_t)L_15);
// this.sock.Send(this.PingBytes);
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_16 = __this->get_sock_7();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
NullCheck(L_16);
int32_t L_18;
L_18 = Socket_Send_m8E974F1735436F40554635503D4E6C8EF387DA3D(L_16, L_17, /*hidden argument*/NULL);
// this.PingBytes[this.PingBytes.Length - 1] = (byte)(this.PingId+1); // this buffer is re-used for the result/receive. invalidate the result now.
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
NullCheck(L_20);
uint8_t L_21 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingId_5();
NullCheck(L_19);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length))), (int32_t)1))), (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)1)))));
goto IL_00d8;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_00c5;
}
throw e;
}
CATCH_00c5:
{ // begin catch(System.Exception)
// catch (Exception e)
V_3 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
// this.sock = null;
__this->set_sock_7((Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)NULL);
// Console.WriteLine(e);
Exception_t * L_22 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Console_t79987B1B5914E76054A8CBE506B9E11936A8BC07_il2cpp_TypeInfo_var)));
Console_WriteLine_m8CE2BD87102C3CAB370A59BF3D9DC80B88C871B4(L_22, /*hidden argument*/NULL);
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_00d8;
} // end catch (depth: 1)
IL_00d8:
{
// return false;
V_4 = (bool)0;
goto IL_00dd;
}
IL_00dd:
{
// }
bool L_23 = V_4;
return L_23;
}
}
// System.Boolean Photon.Realtime.PingMono::Done()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PingMono_Done_mDE4928C1EFAF1D1610A200AD827FAD216E5E4940 (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral434B88A621AE585B51960C78E2DF0477F0B8A8B8);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
Exception_t * V_5 = NULL;
bool V_6 = false;
bool V_7 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 3> __leave_targets;
int32_t G_B3_0 = 0;
Type_t * G_B13_0 = NULL;
String_t* G_B13_1 = NULL;
String_t* G_B13_2 = NULL;
PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * G_B13_3 = NULL;
Type_t * G_B12_0 = NULL;
String_t* G_B12_1 = NULL;
String_t* G_B12_2 = NULL;
PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * G_B12_3 = NULL;
String_t* G_B14_0 = NULL;
String_t* G_B14_1 = NULL;
String_t* G_B14_2 = NULL;
PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * G_B14_3 = NULL;
int32_t G_B18_0 = 0;
{
// if (this.GotResult || this.sock == null)
bool L_0 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_GotResult_2();
if (L_0)
{
goto IL_0014;
}
}
{
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_1 = __this->get_sock_7();
G_B3_0 = ((((RuntimeObject*)(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)L_1) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
goto IL_0015;
}
IL_0014:
{
G_B3_0 = 1;
}
IL_0015:
{
V_2 = (bool)G_B3_0;
bool L_2 = V_2;
if (!L_2)
{
goto IL_0021;
}
}
{
// return true; // this just indicates the ping is no longer waiting. this.Successful value defines if the roundtrip completed
V_3 = (bool)1;
goto IL_010b;
}
IL_0021:
{
// int read = 0;
V_0 = 0;
}
IL_0023:
try
{ // begin try (depth: 1)
{
// if (!this.sock.Poll(0, SelectMode.SelectRead))
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_3 = __this->get_sock_7();
NullCheck(L_3);
bool L_4;
L_4 = Socket_Poll_m82012C326974DCA0B8C57A98E68C3E099D52BF7C(L_3, 0, 0, /*hidden argument*/NULL);
V_4 = (bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
bool L_5 = V_4;
if (!L_5)
{
goto IL_0042;
}
}
IL_003a:
{
// return false;
V_3 = (bool)0;
goto IL_010b;
}
IL_0042:
{
// read = this.sock.Receive(this.PingBytes, SocketFlags.None);
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_6 = __this->get_sock_7();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
NullCheck(L_6);
int32_t L_8;
L_8 = Socket_Receive_m5F3C0A7B05CA5DCEC831ED7DDD5E6287EFE0E014(L_6, L_7, 0, /*hidden argument*/NULL);
V_0 = L_8;
goto IL_00b1;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0058;
}
throw e;
}
CATCH_0058:
{ // begin catch(System.Exception)
{
// catch (Exception ex)
V_5 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
// if (this.sock != null)
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_9 = __this->get_sock_7();
V_6 = (bool)((!(((RuntimeObject*)(Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)L_9) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_10 = V_6;
if (!L_10)
{
goto IL_007f;
}
}
IL_006a:
{
// this.sock.Close();
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_11 = __this->get_sock_7();
NullCheck(L_11);
Socket_Close_m24AB78F5DAC1C39BB7FFB30A9620B2B07E01DEEB(L_11, /*hidden argument*/NULL);
// this.sock = null;
__this->set_sock_7((Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)NULL);
}
IL_007f:
{
// this.DebugString += " Exception of socket! " + ex.GetType() + " ";
String_t* L_12 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_DebugString_0();
Exception_t * L_13 = V_5;
NullCheck(L_13);
Type_t * L_14;
L_14 = Exception_GetType_mC5B8B5C944B326B751282AB0E8C25A7F85457D9F(L_13, /*hidden argument*/NULL);
Type_t * L_15 = L_14;
G_B12_0 = L_15;
G_B12_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral540DF62958FE561DF345A0B2657F949B0DBED003));
G_B12_2 = L_12;
G_B12_3 = __this;
if (L_15)
{
G_B13_0 = L_15;
G_B13_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral540DF62958FE561DF345A0B2657F949B0DBED003));
G_B13_2 = L_12;
G_B13_3 = __this;
goto IL_0099;
}
}
IL_0095:
{
G_B14_0 = ((String_t*)(NULL));
G_B14_1 = G_B12_1;
G_B14_2 = G_B12_2;
G_B14_3 = G_B12_3;
goto IL_009e;
}
IL_0099:
{
NullCheck(G_B13_0);
String_t* L_16;
L_16 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B13_0);
G_B14_0 = L_16;
G_B14_1 = G_B13_1;
G_B14_2 = G_B13_2;
G_B14_3 = G_B13_3;
}
IL_009e:
{
String_t* L_17;
L_17 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(G_B14_2, G_B14_1, G_B14_0, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745)), /*hidden argument*/NULL);
NullCheck(G_B14_3);
((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)G_B14_3)->set_DebugString_0(L_17);
// return true; // this just indicates the ping is no longer waiting. this.Successful value defines if the roundtrip completed
V_3 = (bool)1;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_010b;
}
} // end catch (depth: 1)
IL_00b1:
{
// bool replyMatch = this.PingBytes[this.PingBytes.Length - 1] == this.PingId && read == this.PingLength;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingBytes_4();
NullCheck(L_19);
NullCheck(L_18);
int32_t L_20 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length))), (int32_t)1));
uint8_t L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
uint8_t L_22 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingId_5();
if ((!(((uint32_t)L_21) == ((uint32_t)L_22))))
{
goto IL_00d5;
}
}
{
int32_t L_23 = V_0;
int32_t L_24 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_PingLength_3();
G_B18_0 = ((((int32_t)L_23) == ((int32_t)L_24))? 1 : 0);
goto IL_00d6;
}
IL_00d5:
{
G_B18_0 = 0;
}
IL_00d6:
{
V_1 = (bool)G_B18_0;
// if (!replyMatch)
bool L_25 = V_1;
V_7 = (bool)((((int32_t)L_25) == ((int32_t)0))? 1 : 0);
bool L_26 = V_7;
if (!L_26)
{
goto IL_00f9;
}
}
{
// this.DebugString += " ReplyMatch is false! ";
String_t* L_27 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->get_DebugString_0();
String_t* L_28;
L_28 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_27, _stringLiteral434B88A621AE585B51960C78E2DF0477F0B8A8B8, /*hidden argument*/NULL);
((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->set_DebugString_0(L_28);
}
IL_00f9:
{
// this.Successful = replyMatch;
bool L_29 = V_1;
((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->set_Successful_1(L_29);
// this.GotResult = true;
((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)__this)->set_GotResult_2((bool)1);
// return true;
V_3 = (bool)1;
goto IL_010b;
}
IL_010b:
{
// }
bool L_30 = V_3;
return L_30;
}
}
// System.Void Photon.Realtime.PingMono::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PingMono_Dispose_m454CF07148EBF8AF778996AE8149A11C719697FF (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * __this, const RuntimeMethod* method)
{
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
}
IL_0001:
try
{ // begin try (depth: 1)
// this.sock.Close();
Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 * L_0 = __this->get_sock_7();
NullCheck(L_0);
Socket_Close_m24AB78F5DAC1C39BB7FFB30A9620B2B07E01DEEB(L_0, /*hidden argument*/NULL);
goto IL_0016;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0011;
}
throw e;
}
CATCH_0011:
{ // begin catch(System.Object)
// catch
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0016;
} // end catch (depth: 1)
IL_0016:
{
// this.sock = null;
__this->set_sock_7((Socket_tD9721140F91BE95BA05B87DD26A855B215D84D09 *)NULL);
// }
return;
}
}
// System.Void Photon.Realtime.PingMono::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PingMono__ctor_mAF65A6D22B1A28755969ECADC356F8E3B2BC8431 (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
PhotonPing__ctor_mD767D9B09CEBAEB9610E525972F0D8847ADC4FAE(__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
// Photon.Realtime.Room Photon.Realtime.Player::get_RoomReference()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// protected internal Room RoomReference { get; set; }
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0 = __this->get_U3CRoomReferenceU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Photon.Realtime.Player::set_RoomReference(Photon.Realtime.Room)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_RoomReference_m0181097B3E0D62C1802A2AD808240BF7378D9577 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * ___value0, const RuntimeMethod* method)
{
{
// protected internal Room RoomReference { get; set; }
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0 = ___value0;
__this->set_U3CRoomReferenceU3Ek__BackingField_0(L_0);
return;
}
}
// System.Int32 Photon.Realtime.Player::get_ActorNumber()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// get { return this.actorNumber; }
int32_t L_0 = __this->get_actorNumber_1();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return this.actorNumber; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Boolean Photon.Realtime.Player::get_HasRejoined()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_get_HasRejoined_m63D9C299DCFCA721F8BBD1407D9C6B10DC7C6B60 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// get; internal set;
bool L_0 = __this->get_U3CHasRejoinedU3Ek__BackingField_3();
return L_0;
}
}
// System.Void Photon.Realtime.Player::set_HasRejoined(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_HasRejoined_mE9F9AC564D0336D2ACB7BA7CCB2D15A9F28EA29C (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// get; internal set;
bool L_0 = ___value0;
__this->set_U3CHasRejoinedU3Ek__BackingField_3(L_0);
return;
}
}
// System.String Photon.Realtime.Player::get_NickName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Player_get_NickName_mCDE13B308E32D797A42DCECCCCD30B23EFADD36A (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
// return this.nickName;
String_t* L_0 = __this->get_nickName_4();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Player::set_NickName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_NickName_mEE2753718BF9B663534AFE3C867F2BC6DBDB4A87 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// if (!string.IsNullOrEmpty(this.nickName) && this.nickName.Equals(value))
String_t* L_0 = __this->get_nickName_4();
bool L_1;
L_1 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001c;
}
}
{
String_t* L_2 = __this->get_nickName_4();
String_t* L_3 = ___value0;
NullCheck(L_2);
bool L_4;
L_4 = String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D(L_2, L_3, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_4));
goto IL_001d;
}
IL_001c:
{
G_B3_0 = 0;
}
IL_001d:
{
V_0 = (bool)G_B3_0;
bool L_5 = V_0;
if (!L_5)
{
goto IL_0024;
}
}
{
// return;
goto IL_003e;
}
IL_0024:
{
// this.nickName = value;
String_t* L_6 = ___value0;
__this->set_nickName_4(L_6);
// if (this.IsLocal)
bool L_7 = __this->get_IsLocal_2();
V_1 = L_7;
bool L_8 = V_1;
if (!L_8)
{
goto IL_003e;
}
}
{
// this.SetPlayerNameProperty();
bool L_9;
L_9 = Player_SetPlayerNameProperty_m27280785AF62B35325219AEE9D3030D0D784F875(__this, /*hidden argument*/NULL);
}
IL_003e:
{
// }
return;
}
}
// System.String Photon.Realtime.Player::get_UserId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Player_get_UserId_mB5B20FBADC241A89835EC2481AB3EEC8C999649C (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// public string UserId { get; internal set; }
String_t* L_0 = __this->get_U3CUserIdU3Ek__BackingField_5();
return L_0;
}
}
// System.Void Photon.Realtime.Player::set_UserId(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_UserId_m2FD6970F1B0A82F7D48B386ECAF34E4DF1FD0976 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string UserId { get; internal set; }
String_t* L_0 = ___value0;
__this->set_U3CUserIdU3Ek__BackingField_5(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Player::get_IsMasterClient()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_get_IsMasterClient_m087DA9F4E6694FC74D58FF9A763A257994C80DED (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
{
// if (this.RoomReference == null)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0;
L_0 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
V_0 = (bool)((((RuntimeObject*)(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
// return false;
V_1 = (bool)0;
goto IL_0029;
}
IL_0013:
{
// return this.ActorNumber == this.RoomReference.MasterClientId;
int32_t L_2;
L_2 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_3;
L_3 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_3);
int32_t L_4;
L_4 = Room_get_MasterClientId_m8C3C4A530CB248B2233AE6B4B077E3A513F13A98(L_3, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_2) == ((int32_t)L_4))? 1 : 0);
goto IL_0029;
}
IL_0029:
{
// }
bool L_5 = V_1;
return L_5;
}
}
// System.Boolean Photon.Realtime.Player::get_IsInactive()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_get_IsInactive_m39D157D63551D890BF0DE31851D925991E7C1F04 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// public bool IsInactive { get; protected internal set; }
bool L_0 = __this->get_U3CIsInactiveU3Ek__BackingField_6();
return L_0;
}
}
// System.Void Photon.Realtime.Player::set_IsInactive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_IsInactive_m904CB5036C0DBEC4943A2663082E4146C4D79952 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsInactive { get; protected internal set; }
bool L_0 = ___value0;
__this->set_U3CIsInactiveU3Ek__BackingField_6(L_0);
return;
}
}
// ExitGames.Client.Photon.Hashtable Photon.Realtime.Player::get_CustomProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// public Hashtable CustomProperties { get; set; }
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = __this->get_U3CCustomPropertiesU3Ek__BackingField_7();
return L_0;
}
}
// System.Void Photon.Realtime.Player::set_CustomProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_set_CustomProperties_m37F0FB5A43628E9BFEB058FFCC3A31A22D4E243D (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___value0, const RuntimeMethod* method)
{
{
// public Hashtable CustomProperties { get; set; }
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___value0;
__this->set_U3CCustomPropertiesU3Ek__BackingField_7(L_0);
return;
}
}
// System.Void Photon.Realtime.Player::.ctor(System.String,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player__ctor_mB464852414871A4A36FD51A6E5AC04AFD8657BC9 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___nickName0, int32_t ___actorNumber1, bool ___isLocal2, const RuntimeMethod* method)
{
{
// protected internal Player(string nickName, int actorNumber, bool isLocal) : this(nickName, actorNumber, isLocal, null)
String_t* L_0 = ___nickName0;
int32_t L_1 = ___actorNumber1;
bool L_2 = ___isLocal2;
Player__ctor_m9F3E4442FAF89479A1A574AFD658E55C11D4AB01(__this, L_0, L_1, L_2, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.Player::.ctor(System.String,System.Int32,System.Boolean,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player__ctor_m9F3E4442FAF89479A1A574AFD658E55C11D4AB01 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___nickName0, int32_t ___actorNumber1, bool ___isLocal2, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___playerProperties3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private int actorNumber = -1;
__this->set_actorNumber_1((-1));
// private string nickName = string.Empty;
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_nickName_4(L_0);
// protected internal Player(string nickName, int actorNumber, bool isLocal, Hashtable playerProperties)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.IsLocal = isLocal;
bool L_1 = ___isLocal2;
__this->set_IsLocal_2(L_1);
// this.actorNumber = actorNumber;
int32_t L_2 = ___actorNumber1;
__this->set_actorNumber_1(L_2);
// this.NickName = nickName;
String_t* L_3 = ___nickName0;
Player_set_NickName_mEE2753718BF9B663534AFE3C867F2BC6DBDB4A87(__this, L_3, /*hidden argument*/NULL);
// this.CustomProperties = new Hashtable();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_4, /*hidden argument*/NULL);
Player_set_CustomProperties_m37F0FB5A43628E9BFEB058FFCC3A31A22D4E243D_inline(__this, L_4, /*hidden argument*/NULL);
// this.InternalCacheProperties(playerProperties);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_5 = ___playerProperties3;
VirtActionInvoker1< Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * >::Invoke(4 /* System.Void Photon.Realtime.Player::InternalCacheProperties(ExitGames.Client.Photon.Hashtable) */, __this, L_5);
// }
return;
}
}
// Photon.Realtime.Player Photon.Realtime.Player::Get(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Player_Get_mBD1FD9BE4996646AF296B335EF5246F2CBA97937 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, int32_t ___id0, const RuntimeMethod* method)
{
bool V_0 = false;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_1 = NULL;
{
// if (this.RoomReference == null)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0;
L_0 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
V_0 = (bool)((((RuntimeObject*)(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
// return null;
V_1 = (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)NULL;
goto IL_0023;
}
IL_0013:
{
// return this.RoomReference.GetPlayer(id);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_2;
L_2 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
int32_t L_3 = ___id0;
NullCheck(L_2);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_4;
L_4 = VirtFuncInvoker2< Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *, int32_t, bool >::Invoke(10 /* Photon.Realtime.Player Photon.Realtime.Room::GetPlayer(System.Int32,System.Boolean) */, L_2, L_3, (bool)0);
V_1 = L_4;
goto IL_0023;
}
IL_0023:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_5 = V_1;
return L_5;
}
}
// Photon.Realtime.Player Photon.Realtime.Player::GetNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Player_GetNext_m525223C25311A7F089061F0639E0E37C4EBD15E2 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_0 = NULL;
{
// return GetNextFor(this.ActorNumber);
int32_t L_0;
L_0 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1;
L_1 = Player_GetNextFor_m8C362309E1526ACE31D09BA8C02D295BBBFB686B(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0010;
}
IL_0010:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_2 = V_0;
return L_2;
}
}
// Photon.Realtime.Player Photon.Realtime.Player::GetNextFor(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Player_GetNextFor_m4A690BBE31E87EB2667B11330C26389A0FF39B79 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___currentPlayer0, const RuntimeMethod* method)
{
bool V_0 = false;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_1 = NULL;
{
// if (currentPlayer == null)
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_0 = ___currentPlayer0;
V_0 = (bool)((((RuntimeObject*)(Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
// return null;
V_1 = (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)NULL;
goto IL_001d;
}
IL_000e:
{
// return GetNextFor(currentPlayer.ActorNumber);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_2 = ___currentPlayer0;
NullCheck(L_2);
int32_t L_3;
L_3 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(L_2, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_4;
L_4 = Player_GetNextFor_m8C362309E1526ACE31D09BA8C02D295BBBFB686B(__this, L_3, /*hidden argument*/NULL);
V_1 = L_4;
goto IL_001d;
}
IL_001d:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_5 = V_1;
return L_5;
}
}
// Photon.Realtime.Player Photon.Realtime.Player::GetNextFor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Player_GetNextFor_m8C362309E1526ACE31D09BA8C02D295BBBFB686B (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, int32_t ___currentPlayerId0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Keys_m07E7526C0EDDB7AAF410E54239FF7E55392D14AD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m492BB7DE67687EE031F83C8871BA52A7982E5DB2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mF0E7127A0315685B63DDC4C8DDE93B09EE3BDB12_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mB1AAE567ED13BADAD4377F5F44617333C25DC4E0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyCollection_GetEnumerator_m7B65C611E4CD78F269F1708E35EF9B60991D29BE_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
bool V_3 = false;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_4 = NULL;
Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 V_5;
memset((&V_5), 0, sizeof(V_5));
int32_t V_6 = 0;
bool V_7 = false;
bool V_8 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
int32_t G_B4_0 = 0;
int32_t G_B13_0 = 0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B22_0 = NULL;
{
// if (this.RoomReference == null || this.RoomReference.Players == null || this.RoomReference.Players.Count < 2)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0;
L_0 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_002b;
}
}
{
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_1;
L_1 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_1);
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_2;
L_2 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_3;
L_3 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_3);
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_4;
L_4 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
int32_t L_5;
L_5 = Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9(L_4, /*hidden argument*/Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9_RuntimeMethod_var);
G_B4_0 = ((((int32_t)L_5) < ((int32_t)2))? 1 : 0);
goto IL_002c;
}
IL_002b:
{
G_B4_0 = 1;
}
IL_002c:
{
V_3 = (bool)G_B4_0;
bool L_6 = V_3;
if (!L_6)
{
goto IL_0039;
}
}
{
// return null;
V_4 = (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)NULL;
goto IL_00c8;
}
IL_0039:
{
// Dictionary<int, Player> players = this.RoomReference.Players;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_7;
L_7 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_7);
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_8;
L_8 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(L_7, /*hidden argument*/NULL);
V_0 = L_8;
// int nextHigherId = int.MaxValue; // we look for the next higher ID
V_1 = ((int32_t)2147483647LL);
// int lowestId = currentPlayerId; // if we are the player with the highest ID, there is no higher and we return to the lowest player's id
int32_t L_9 = ___currentPlayerId0;
V_2 = L_9;
// foreach (int playerid in players.Keys)
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_10 = V_0;
NullCheck(L_10);
KeyCollection_t0EA4FEB9ABEF045A10A95AC75F8679F5E8AE2113 * L_11;
L_11 = Dictionary_2_get_Keys_m07E7526C0EDDB7AAF410E54239FF7E55392D14AD(L_10, /*hidden argument*/Dictionary_2_get_Keys_m07E7526C0EDDB7AAF410E54239FF7E55392D14AD_RuntimeMethod_var);
NullCheck(L_11);
Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 L_12;
L_12 = KeyCollection_GetEnumerator_m7B65C611E4CD78F269F1708E35EF9B60991D29BE(L_11, /*hidden argument*/KeyCollection_GetEnumerator_m7B65C611E4CD78F269F1708E35EF9B60991D29BE_RuntimeMethod_var);
V_5 = L_12;
}
IL_005b:
try
{ // begin try (depth: 1)
{
goto IL_0092;
}
IL_005d:
{
// foreach (int playerid in players.Keys)
int32_t L_13;
L_13 = Enumerator_get_Current_mB1AAE567ED13BADAD4377F5F44617333C25DC4E0_inline((Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *)(&V_5), /*hidden argument*/Enumerator_get_Current_mB1AAE567ED13BADAD4377F5F44617333C25DC4E0_RuntimeMethod_var);
V_6 = L_13;
// if (playerid < lowestId)
int32_t L_14 = V_6;
int32_t L_15 = V_2;
V_7 = (bool)((((int32_t)L_14) < ((int32_t)L_15))? 1 : 0);
bool L_16 = V_7;
if (!L_16)
{
goto IL_0079;
}
}
IL_0072:
{
// lowestId = playerid; // less than any other ID (which must be at least less than this player's id).
int32_t L_17 = V_6;
V_2 = L_17;
goto IL_0091;
}
IL_0079:
{
// else if (playerid > currentPlayerId && playerid < nextHigherId)
int32_t L_18 = V_6;
int32_t L_19 = ___currentPlayerId0;
if ((((int32_t)L_18) <= ((int32_t)L_19)))
{
goto IL_0085;
}
}
IL_007e:
{
int32_t L_20 = V_6;
int32_t L_21 = V_1;
G_B13_0 = ((((int32_t)L_20) < ((int32_t)L_21))? 1 : 0);
goto IL_0086;
}
IL_0085:
{
G_B13_0 = 0;
}
IL_0086:
{
V_8 = (bool)G_B13_0;
bool L_22 = V_8;
if (!L_22)
{
goto IL_0091;
}
}
IL_008c:
{
// nextHigherId = playerid; // more than our ID and less than those found so far.
int32_t L_23 = V_6;
V_1 = L_23;
}
IL_0091:
{
}
IL_0092:
{
// foreach (int playerid in players.Keys)
bool L_24;
L_24 = Enumerator_MoveNext_mF0E7127A0315685B63DDC4C8DDE93B09EE3BDB12((Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *)(&V_5), /*hidden argument*/Enumerator_MoveNext_mF0E7127A0315685B63DDC4C8DDE93B09EE3BDB12_RuntimeMethod_var);
if (L_24)
{
goto IL_005d;
}
}
IL_009b:
{
IL2CPP_LEAVE(0xAC, FINALLY_009d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009d;
}
FINALLY_009d:
{ // begin finally (depth: 1)
Enumerator_Dispose_m492BB7DE67687EE031F83C8871BA52A7982E5DB2((Enumerator_t829882631A9B03CE31934601B60E5D6CE50C4458 *)(&V_5), /*hidden argument*/Enumerator_Dispose_m492BB7DE67687EE031F83C8871BA52A7982E5DB2_RuntimeMethod_var);
IL2CPP_END_FINALLY(157)
} // end finally (depth: 1)
IL2CPP_CLEANUP(157)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0xAC, IL_00ac)
}
IL_00ac:
{
// return (nextHigherId != int.MaxValue) ? players[nextHigherId] : players[lowestId];
int32_t L_25 = V_1;
if ((!(((uint32_t)L_25) == ((uint32_t)((int32_t)2147483647LL)))))
{
goto IL_00bd;
}
}
{
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_26 = V_0;
int32_t L_27 = V_2;
NullCheck(L_26);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_28;
L_28 = Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE(L_26, L_27, /*hidden argument*/Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE_RuntimeMethod_var);
G_B22_0 = L_28;
goto IL_00c4;
}
IL_00bd:
{
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_29 = V_0;
int32_t L_30 = V_1;
NullCheck(L_29);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_31;
L_31 = Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE(L_29, L_30, /*hidden argument*/Dictionary_2_get_Item_mC8B8D5D7CFE986D0E7FA0A269D402C4420B2FFEE_RuntimeMethod_var);
G_B22_0 = L_31;
}
IL_00c4:
{
V_4 = G_B22_0;
goto IL_00c8;
}
IL_00c8:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_32 = V_4;
return L_32;
}
}
// System.Void Photon.Realtime.Player::InternalCacheProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_InternalCacheProperties_m5916C5DC5E908F25D10980ED80306EBFD66557E2 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___properties0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
String_t* V_2 = NULL;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
int32_t G_B4_0 = 0;
{
// if (properties == null || properties.Count == 0 || this.CustomProperties.Equals(properties))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___properties0;
if (!L_0)
{
goto IL_001a;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___properties0;
NullCheck(L_1);
int32_t L_2;
L_2 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_1, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
if (!L_2)
{
goto IL_001a;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_3;
L_3 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = ___properties0;
NullCheck(L_3);
bool L_5;
L_5 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_3, L_4);
G_B4_0 = ((int32_t)(L_5));
goto IL_001b;
}
IL_001a:
{
G_B4_0 = 1;
}
IL_001b:
{
V_0 = (bool)G_B4_0;
bool L_6 = V_0;
if (!L_6)
{
goto IL_0025;
}
}
{
// return;
goto IL_00f6;
}
IL_0025:
{
// if (properties.ContainsKey(ActorProperties.PlayerName))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = ___properties0;
NullCheck(L_7);
bool L_8;
L_8 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_7, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
V_1 = L_8;
bool L_9 = V_1;
if (!L_9)
{
goto IL_0089;
}
}
{
// string nameInServersProperties = (string)properties[ActorProperties.PlayerName];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_10 = ___properties0;
NullCheck(L_10);
RuntimeObject * L_11;
L_11 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_10, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
V_2 = ((String_t*)CastclassSealed((RuntimeObject*)L_11, String_t_il2cpp_TypeInfo_var));
// if (nameInServersProperties != null)
String_t* L_12 = V_2;
V_3 = (bool)((!(((RuntimeObject*)(String_t*)L_12) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_13 = V_3;
if (!L_13)
{
goto IL_0088;
}
}
{
// if (this.IsLocal)
bool L_14 = __this->get_IsLocal_2();
V_4 = L_14;
bool L_15 = V_4;
if (!L_15)
{
goto IL_007d;
}
}
{
// if (!nameInServersProperties.Equals(this.nickName))
String_t* L_16 = V_2;
String_t* L_17 = __this->get_nickName_4();
NullCheck(L_16);
bool L_18;
L_18 = String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D(L_16, L_17, /*hidden argument*/NULL);
V_5 = (bool)((((int32_t)L_18) == ((int32_t)0))? 1 : 0);
bool L_19 = V_5;
if (!L_19)
{
goto IL_007a;
}
}
{
// this.SetPlayerNameProperty();
bool L_20;
L_20 = Player_SetPlayerNameProperty_m27280785AF62B35325219AEE9D3030D0D784F875(__this, /*hidden argument*/NULL);
}
IL_007a:
{
goto IL_0087;
}
IL_007d:
{
// this.NickName = nameInServersProperties;
String_t* L_21 = V_2;
Player_set_NickName_mEE2753718BF9B663534AFE3C867F2BC6DBDB4A87(__this, L_21, /*hidden argument*/NULL);
}
IL_0087:
{
}
IL_0088:
{
}
IL_0089:
{
// if (properties.ContainsKey(ActorProperties.UserId))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_22 = ___properties0;
NullCheck(L_22);
bool L_23;
L_23 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_22, (uint8_t)((int32_t)253), /*hidden argument*/NULL);
V_6 = L_23;
bool L_24 = V_6;
if (!L_24)
{
goto IL_00b3;
}
}
{
// this.UserId = (string)properties[ActorProperties.UserId];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_25 = ___properties0;
NullCheck(L_25);
RuntimeObject * L_26;
L_26 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_25, (uint8_t)((int32_t)253), /*hidden argument*/NULL);
Player_set_UserId_m2FD6970F1B0A82F7D48B386ECAF34E4DF1FD0976_inline(__this, ((String_t*)CastclassSealed((RuntimeObject*)L_26, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_00b3:
{
// if (properties.ContainsKey(ActorProperties.IsInactive))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_27 = ___properties0;
NullCheck(L_27);
bool L_28;
L_28 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_27, (uint8_t)((int32_t)254), /*hidden argument*/NULL);
V_7 = L_28;
bool L_29 = V_7;
if (!L_29)
{
goto IL_00dd;
}
}
{
// this.IsInactive = (bool)properties[ActorProperties.IsInactive]; //TURNBASED new well-known propery for players
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_30 = ___properties0;
NullCheck(L_30);
RuntimeObject * L_31;
L_31 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_30, (uint8_t)((int32_t)254), /*hidden argument*/NULL);
Player_set_IsInactive_m904CB5036C0DBEC4943A2663082E4146C4D79952_inline(__this, ((*(bool*)((bool*)UnBox(L_31, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL);
}
IL_00dd:
{
// this.CustomProperties.MergeStringKeys(properties);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_32;
L_32 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_33 = ___properties0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Extensions_MergeStringKeys_mE39680404E703BD165F84EF78D7E08A2DF203105(L_32, L_33, /*hidden argument*/NULL);
// this.CustomProperties.StripKeysWithNullValues();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_34;
L_34 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B(L_34, /*hidden argument*/NULL);
}
IL_00f6:
{
// }
return;
}
}
// System.String Photon.Realtime.Player::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Player_ToString_mE892D1A3AC7821018402FC997244CCEB0A61F5AB (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0189FB6AD9D638E3C269666967B4E89E8D319903);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format("#{0:00} '{1}'",this.ActorNumber, this.NickName);
int32_t L_0;
L_0 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
int32_t L_1 = L_0;
RuntimeObject * L_2 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_1);
String_t* L_3;
L_3 = Player_get_NickName_mCDE13B308E32D797A42DCECCCCD30B23EFADD36A(__this, /*hidden argument*/NULL);
String_t* L_4;
L_4 = String_Format_m8D1CB0410C35E052A53AE957C914C841E54BAB66(_stringLiteral0189FB6AD9D638E3C269666967B4E89E8D319903, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001f;
}
IL_001f:
{
// }
String_t* L_5 = V_0;
return L_5;
}
}
// System.String Photon.Realtime.Player::ToStringFull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Player_ToStringFull_mC1D1FA83AF1BE16B3D2C6BE8FF2189CB6EE2D21F (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7136AEAA5BD67DEBF76ECAFE7D0099300C49F853);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC6E991ED5BE61BA247C34D2EA20D5214650C6DDC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t G_B2_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_2 = NULL;
String_t* G_B2_3 = NULL;
int32_t G_B1_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_2 = NULL;
String_t* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_3 = NULL;
String_t* G_B3_4 = NULL;
{
// return string.Format("#{0:00} '{1}'{2} {3}", this.ActorNumber, this.NickName, this.IsInactive ? " (inactive)" : "", this.CustomProperties.ToStringFull());
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
int32_t L_2;
L_2 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
int32_t L_3 = L_2;
RuntimeObject * L_4 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_3);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_4);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_5 = L_1;
String_t* L_6;
L_6 = Player_get_NickName_mCDE13B308E32D797A42DCECCCCD30B23EFADD36A(__this, /*hidden argument*/NULL);
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_6);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = L_5;
bool L_8;
L_8 = Player_get_IsInactive_m39D157D63551D890BF0DE31851D925991E7C1F04_inline(__this, /*hidden argument*/NULL);
G_B1_0 = 2;
G_B1_1 = L_7;
G_B1_2 = L_7;
G_B1_3 = _stringLiteral7136AEAA5BD67DEBF76ECAFE7D0099300C49F853;
if (L_8)
{
G_B2_0 = 2;
G_B2_1 = L_7;
G_B2_2 = L_7;
G_B2_3 = _stringLiteral7136AEAA5BD67DEBF76ECAFE7D0099300C49F853;
goto IL_0034;
}
}
{
G_B3_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
G_B3_4 = G_B1_3;
goto IL_0039;
}
IL_0034:
{
G_B3_0 = _stringLiteralC6E991ED5BE61BA247C34D2EA20D5214650C6DDC;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
G_B3_4 = G_B2_3;
}
IL_0039:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (RuntimeObject *)G_B3_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_9 = G_B3_3;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_10;
L_10 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
String_t* L_11;
L_11 = Extensions_ToStringFull_m1DDC28EF858A4A871C01A6AEB1D0556024C0B0A9(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
ArrayElementTypeCheck (L_9, L_11);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_11);
String_t* L_12;
L_12 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(G_B3_4, L_9, /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0050;
}
IL_0050:
{
// }
String_t* L_13 = V_0;
return L_13;
}
}
// System.Boolean Photon.Realtime.Player::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_Equals_m4E9078600B0F305838DD9AF46962B2F86A0379A4 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, RuntimeObject * ___p0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Player_tC6DFC22DFF5978489C4CFA025695FEC556610214_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_0 = NULL;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// Player pp = p as Player;
RuntimeObject * L_0 = ___p0;
V_0 = ((Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)IsInstClass((RuntimeObject*)L_0, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214_il2cpp_TypeInfo_var));
// return (pp != null && this.GetHashCode() == pp.GetHashCode());
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = V_0;
if (!L_1)
{
goto IL_001b;
}
}
{
int32_t L_2;
L_2 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, __this);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_3 = V_0;
NullCheck(L_3);
int32_t L_4;
L_4 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_3);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)L_4))? 1 : 0);
goto IL_001c;
}
IL_001b:
{
G_B3_0 = 0;
}
IL_001c:
{
V_1 = (bool)G_B3_0;
goto IL_001f;
}
IL_001f:
{
// }
bool L_5 = V_1;
return L_5;
}
}
// System.Int32 Photon.Realtime.Player::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Player_GetHashCode_m31F40965714C1BF9C97501FC939FBDC8065E41C5 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// return this.ActorNumber;
int32_t L_0;
L_0 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Player::ChangeLocalID(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Player_ChangeLocalID_m26BE46EC7C8BCA44EB8C9593031E73BCF48187F6 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, int32_t ___newID0, const RuntimeMethod* method)
{
bool V_0 = false;
{
// if (!this.IsLocal)
bool L_0 = __this->get_IsLocal_2();
V_0 = (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0011;
}
}
{
// return;
goto IL_0018;
}
IL_0011:
{
// this.actorNumber = newID;
int32_t L_2 = ___newID0;
__this->set_actorNumber_1(L_2);
}
IL_0018:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.Player::SetCustomProperties(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_SetCustomProperties_m0F79D1E32577842E95B4DF62CB1F1E68EA0C4A10 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesToSet0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___expectedValues1, WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___webFlags2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_6 = NULL;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
int32_t G_B3_0 = 0;
int32_t G_B17_0 = 0;
{
// if (propertiesToSet == null || propertiesToSet.Count == 0)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___propertiesToSet0;
if (!L_0)
{
goto IL_000f;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___propertiesToSet0;
NullCheck(L_1);
int32_t L_2;
L_2 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_1, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_0010;
}
IL_000f:
{
G_B3_0 = 1;
}
IL_0010:
{
V_1 = (bool)G_B3_0;
bool L_3 = V_1;
if (!L_3)
{
goto IL_001c;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_010c;
}
IL_001c:
{
// Hashtable customProps = propertiesToSet.StripToStringKeys() as Hashtable;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = ___propertiesToSet0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_5;
L_5 = Extensions_StripToStringKeys_m7F7CF8264ACB77CD5DA69931C598055AE91A89C3(L_4, /*hidden argument*/NULL);
V_0 = L_5;
// if (this.RoomReference != null)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_6;
L_6 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
V_3 = (bool)((!(((RuntimeObject*)(Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D *)L_6) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_7 = V_3;
if (!L_7)
{
goto IL_00b8;
}
}
{
// if (this.RoomReference.IsOffline)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_8;
L_8 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_8);
bool L_9;
L_9 = Room_get_IsOffline_mEC1F44A8B7A31D12F3C7D979A62FB16EBB09B591(L_8, /*hidden argument*/NULL);
V_4 = L_9;
bool L_10 = V_4;
if (!L_10)
{
goto IL_0092;
}
}
{
// if (customProps.Count == 0)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_11 = V_0;
NullCheck(L_11);
int32_t L_12;
L_12 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_11, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
V_5 = (bool)((((int32_t)L_12) == ((int32_t)0))? 1 : 0);
bool L_13 = V_5;
if (!L_13)
{
goto IL_005d;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_010c;
}
IL_005d:
{
// this.CustomProperties.Merge(customProps);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_14;
L_14 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_15 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Extensions_Merge_m30D0B2F3322E82BAAA1958DD88BC7301DCFFB3D5(L_14, L_15, /*hidden argument*/NULL);
// this.CustomProperties.StripKeysWithNullValues();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_16;
L_16 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B(L_16, /*hidden argument*/NULL);
// this.RoomReference.LoadBalancingClient.InRoomCallbackTargets.OnPlayerPropertiesUpdate(this, customProps);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_17;
L_17 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_17);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_18;
L_18 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(L_17, /*hidden argument*/NULL);
NullCheck(L_18);
InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * L_19 = L_18->get_InRoomCallbackTargets_25();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_20 = V_0;
NullCheck(L_19);
InRoomCallbacksContainer_OnPlayerPropertiesUpdate_mDD5C0943F4EB1E01772C2C23379B63A4EF4511E4(L_19, __this, L_20, /*hidden argument*/NULL);
// return true;
V_2 = (bool)1;
goto IL_010c;
}
IL_0092:
{
// Hashtable customPropsToCheck = expectedValues.StripToStringKeys() as Hashtable;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_21 = ___expectedValues1;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_22;
L_22 = Extensions_StripToStringKeys_m7F7CF8264ACB77CD5DA69931C598055AE91A89C3(L_21, /*hidden argument*/NULL);
V_6 = L_22;
// return this.RoomReference.LoadBalancingClient.OpSetPropertiesOfActor(this.actorNumber, customProps, customPropsToCheck, webFlags);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_23;
L_23 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_23);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_24;
L_24 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(L_23, /*hidden argument*/NULL);
int32_t L_25 = __this->get_actorNumber_1();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_26 = V_0;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_27 = V_6;
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * L_28 = ___webFlags2;
NullCheck(L_24);
bool L_29;
L_29 = LoadBalancingClient_OpSetPropertiesOfActor_mC9503B19876AD65CED0D05404F6E72539F50DA70(L_24, L_25, L_26, L_27, L_28, /*hidden argument*/NULL);
V_2 = L_29;
goto IL_010c;
}
IL_00b8:
{
// if (this.IsLocal)
bool L_30 = __this->get_IsLocal_2();
V_7 = L_30;
bool L_31 = V_7;
if (!L_31)
{
goto IL_0108;
}
}
{
// if (customProps.Count == 0)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_32 = V_0;
NullCheck(L_32);
int32_t L_33;
L_33 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_32, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
V_8 = (bool)((((int32_t)L_33) == ((int32_t)0))? 1 : 0);
bool L_34 = V_8;
if (!L_34)
{
goto IL_00d9;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_010c;
}
IL_00d9:
{
// if (expectedValues == null && webFlags == null)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_35 = ___expectedValues1;
if (L_35)
{
goto IL_00e2;
}
}
{
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * L_36 = ___webFlags2;
G_B17_0 = ((((RuntimeObject*)(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)L_36) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
goto IL_00e3;
}
IL_00e2:
{
G_B17_0 = 0;
}
IL_00e3:
{
V_9 = (bool)G_B17_0;
bool L_37 = V_9;
if (!L_37)
{
goto IL_0107;
}
}
{
// this.CustomProperties.Merge(customProps);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_38;
L_38 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_39 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Extensions_Merge_m30D0B2F3322E82BAAA1958DD88BC7301DCFFB3D5(L_38, L_39, /*hidden argument*/NULL);
// this.CustomProperties.StripKeysWithNullValues();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_40;
L_40 = Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline(__this, /*hidden argument*/NULL);
Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B(L_40, /*hidden argument*/NULL);
// return true;
V_2 = (bool)1;
goto IL_010c;
}
IL_0107:
{
}
IL_0108:
{
// return false;
V_2 = (bool)0;
goto IL_010c;
}
IL_010c:
{
// }
bool L_41 = V_2;
return L_41;
}
}
// System.Boolean Photon.Realtime.Player::SetPlayerNameProperty()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Player_SetPlayerNameProperty_m27280785AF62B35325219AEE9D3030D0D784F875 (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_1 = NULL;
bool V_2 = false;
int32_t G_B3_0 = 0;
{
// if (this.RoomReference != null && !this.RoomReference.IsOffline)
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0;
L_0 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0019;
}
}
{
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_1;
L_1 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_1);
bool L_2;
L_2 = Room_get_IsOffline_mEC1F44A8B7A31D12F3C7D979A62FB16EBB09B591(L_1, /*hidden argument*/NULL);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_001a;
}
IL_0019:
{
G_B3_0 = 0;
}
IL_001a:
{
V_0 = (bool)G_B3_0;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0053;
}
}
{
// Hashtable properties = new Hashtable();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_4, /*hidden argument*/NULL);
V_1 = L_4;
// properties[ActorProperties.PlayerName] = this.nickName;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_5 = V_1;
String_t* L_6 = __this->get_nickName_4();
NullCheck(L_5);
Hashtable_set_Item_m9B46CD960DB297C2BC7A72B2A866026F47993A46(L_5, (uint8_t)((int32_t)255), L_6, /*hidden argument*/NULL);
// return this.RoomReference.LoadBalancingClient.OpSetPropertiesOfActor(this.ActorNumber, properties);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_7;
L_7 = Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline(__this, /*hidden argument*/NULL);
NullCheck(L_7);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_8;
L_8 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(L_7, /*hidden argument*/NULL);
int32_t L_9;
L_9 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_10 = V_1;
NullCheck(L_8);
bool L_11;
L_11 = LoadBalancingClient_OpSetPropertiesOfActor_mC9503B19876AD65CED0D05404F6E72539F50DA70(L_8, L_9, L_10, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
V_2 = L_11;
goto IL_0057;
}
IL_0053:
{
// return false;
V_2 = (bool)0;
goto IL_0057;
}
IL_0057:
{
// }
bool L_12 = V_2;
return L_12;
}
}
#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.Realtime.RaiseEventOptions::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaiseEventOptions__ctor_m6064ADF3BB478AB5877218261F31D68414F33743 (RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public WebFlags Flags = WebFlags.Default;
IL2CPP_RUNTIME_CLASS_INIT(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var);
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * L_0 = ((WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_StaticFields*)il2cpp_codegen_static_fields_for(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var))->get_Default_0();
__this->set_Flags_6(L_0);
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Photon.Realtime.RaiseEventOptions::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RaiseEventOptions__cctor_m99B5AE69791692EC46A312A17EF189F72A14BD04 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public readonly static RaiseEventOptions Default = new RaiseEventOptions();
RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 * L_0 = (RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738 *)il2cpp_codegen_object_new(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_il2cpp_TypeInfo_var);
RaiseEventOptions__ctor_m6064ADF3BB478AB5877218261F31D68414F33743(L_0, /*hidden argument*/NULL);
((RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_StaticFields*)il2cpp_codegen_static_fields_for(RaiseEventOptions_t92DE5FA55450412988E3D6096C662FA03C257738_il2cpp_TypeInfo_var))->set_Default_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
#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.String Photon.Realtime.Region::get_Code()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string Code { get; private set; }
String_t* L_0 = __this->get_U3CCodeU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Photon.Realtime.Region::set_Code(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Code_mEAFEB116AE2DDA79B13118F93DD68C92DEB0E666 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Code { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CCodeU3Ek__BackingField_0(L_0);
return;
}
}
// System.String Photon.Realtime.Region::get_Cluster()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string Cluster { get; private set; }
String_t* L_0 = __this->get_U3CClusterU3Ek__BackingField_1();
return L_0;
}
}
// System.Void Photon.Realtime.Region::set_Cluster(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Cluster_m48C6668A7A0A81D48A371E0C4804EE2E79D26F00 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Cluster { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CClusterU3Ek__BackingField_1(L_0);
return;
}
}
// System.String Photon.Realtime.Region::get_HostAndPort()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_get_HostAndPort_m53658E909B3162A56847A0309E67F29C6DE4E81A (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string HostAndPort { get; protected internal set; }
String_t* L_0 = __this->get_U3CHostAndPortU3Ek__BackingField_2();
return L_0;
}
}
// System.Void Photon.Realtime.Region::set_HostAndPort(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_HostAndPort_m065751D570836B30749D118ABA37A00335EF7254 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string HostAndPort { get; protected internal set; }
String_t* L_0 = ___value0;
__this->set_U3CHostAndPortU3Ek__BackingField_2(L_0);
return;
}
}
// System.Int32 Photon.Realtime.Region::get_Ping()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public int Ping { get; set; }
int32_t L_0 = __this->get_U3CPingU3Ek__BackingField_3();
return L_0;
}
}
// System.Void Photon.Realtime.Region::set_Ping(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int Ping { get; set; }
int32_t L_0 = ___value0;
__this->set_U3CPingU3Ek__BackingField_3(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Region::get_WasPinged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Region_get_WasPinged_mE8C29C0D775CCE4BD14055625E47A21CECC2ACBA (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool WasPinged { get { return this.Ping != int.MaxValue; } }
int32_t L_0;
L_0 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(__this, /*hidden argument*/NULL);
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)((int32_t)2147483647LL)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0014;
}
IL_0014:
{
// public bool WasPinged { get { return this.Ping != int.MaxValue; } }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Region::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region__ctor_m549303EACE8FCBB2E1AE4767610E0BF01F0E91F7 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___code0, String_t* ___address1, const RuntimeMethod* method)
{
{
// public Region(string code, string address)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.SetCodeAndCluster(code);
String_t* L_0 = ___code0;
Region_SetCodeAndCluster_m83ACBA80807D01D4A19518F772C1C35AC2264743(__this, L_0, /*hidden argument*/NULL);
// this.HostAndPort = address;
String_t* L_1 = ___address1;
Region_set_HostAndPort_m065751D570836B30749D118ABA37A00335EF7254_inline(__this, L_1, /*hidden argument*/NULL);
// this.Ping = int.MaxValue;
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(__this, ((int32_t)2147483647LL), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.Region::.ctor(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region__ctor_m9C701E170DC6280C7A4929517885F5200ECAB769 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___code0, int32_t ___ping1, const RuntimeMethod* method)
{
{
// public Region(string code, int ping)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.SetCodeAndCluster(code);
String_t* L_0 = ___code0;
Region_SetCodeAndCluster_m83ACBA80807D01D4A19518F772C1C35AC2264743(__this, L_0, /*hidden argument*/NULL);
// this.Ping = ping;
int32_t L_1 = ___ping1;
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(__this, L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.Region::SetCodeAndCluster(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Region_SetCodeAndCluster_m83ACBA80807D01D4A19518F772C1C35AC2264743 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___codeAsString0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B4_0 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B3_0 = NULL;
String_t* G_B5_0 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B5_1 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B7_0 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B6_0 = NULL;
String_t* G_B8_0 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * G_B8_1 = NULL;
{
// if (codeAsString == null)
String_t* L_0 = ___codeAsString0;
V_1 = (bool)((((RuntimeObject*)(String_t*)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_1;
if (!L_1)
{
goto IL_0024;
}
}
{
// this.Code = "";
Region_set_Code_mEAFEB116AE2DDA79B13118F93DD68C92DEB0E666_inline(__this, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
// this.Cluster = "";
Region_set_Cluster_m48C6668A7A0A81D48A371E0C4804EE2E79D26F00_inline(__this, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
// return;
goto IL_0070;
}
IL_0024:
{
// codeAsString = codeAsString.ToLower();
String_t* L_2 = ___codeAsString0;
NullCheck(L_2);
String_t* L_3;
L_3 = String_ToLower_m7875A49FE166D0A68F3F6B6E70C0C056EBEFD31D(L_2, /*hidden argument*/NULL);
___codeAsString0 = L_3;
// int slash = codeAsString.IndexOf('/');
String_t* L_4 = ___codeAsString0;
NullCheck(L_4);
int32_t L_5;
L_5 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(L_4, ((int32_t)47), /*hidden argument*/NULL);
V_0 = L_5;
// this.Code = slash <= 0 ? codeAsString : codeAsString.Substring(0, slash);
int32_t L_6 = V_0;
G_B3_0 = __this;
if ((((int32_t)L_6) <= ((int32_t)0)))
{
G_B4_0 = __this;
goto IL_0044;
}
}
{
String_t* L_7 = ___codeAsString0;
int32_t L_8 = V_0;
NullCheck(L_7);
String_t* L_9;
L_9 = String_Substring_m7A39A2AC0893AE940CF4CEC841326D56FFB9D86B(L_7, 0, L_8, /*hidden argument*/NULL);
G_B5_0 = L_9;
G_B5_1 = G_B3_0;
goto IL_0045;
}
IL_0044:
{
String_t* L_10 = ___codeAsString0;
G_B5_0 = L_10;
G_B5_1 = G_B4_0;
}
IL_0045:
{
NullCheck(G_B5_1);
Region_set_Code_mEAFEB116AE2DDA79B13118F93DD68C92DEB0E666_inline(G_B5_1, G_B5_0, /*hidden argument*/NULL);
// this.Cluster = slash <= 0 ? "" : codeAsString.Substring(slash+1, codeAsString.Length-slash-1);
int32_t L_11 = V_0;
G_B6_0 = __this;
if ((((int32_t)L_11) <= ((int32_t)0)))
{
G_B7_0 = __this;
goto IL_0065;
}
}
{
String_t* L_12 = ___codeAsString0;
int32_t L_13 = V_0;
String_t* L_14 = ___codeAsString0;
NullCheck(L_14);
int32_t L_15;
L_15 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_14, /*hidden argument*/NULL);
int32_t L_16 = V_0;
NullCheck(L_12);
String_t* L_17;
L_17 = String_Substring_m7A39A2AC0893AE940CF4CEC841326D56FFB9D86B(L_12, ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1)), ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16)), (int32_t)1)), /*hidden argument*/NULL);
G_B8_0 = L_17;
G_B8_1 = G_B6_0;
goto IL_006a;
}
IL_0065:
{
G_B8_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
G_B8_1 = G_B7_0;
}
IL_006a:
{
NullCheck(G_B8_1);
Region_set_Cluster_m48C6668A7A0A81D48A371E0C4804EE2E79D26F00_inline(G_B8_1, G_B8_0, /*hidden argument*/NULL);
}
IL_0070:
{
// }
return;
}
}
// System.String Photon.Realtime.Region::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_ToString_mB55F416D414498F5A6E05177DDEEC17601547B12 (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
// return this.ToString(false);
String_t* L_0;
L_0 = Region_ToString_mE2996D4EB3DCAE15A5A7593559BDFA793ADFA75F(__this, (bool)0, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_000b;
}
IL_000b:
{
// }
String_t* L_1 = V_0;
return L_1;
}
}
// System.String Photon.Realtime.Region::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Region_ToString_mE2996D4EB3DCAE15A5A7593559BDFA793ADFA75F (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, bool ___compact0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAD6CD2C36915DEB6A18BCF0F46B294FC1D97072F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB7A31DE996B60085FB46F6A81676B93820640015);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
String_t* V_3 = NULL;
{
// string regionCluster = this.Code;
String_t* L_0;
L_0 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(__this, /*hidden argument*/NULL);
V_0 = L_0;
// if (!string.IsNullOrEmpty(this.Cluster))
String_t* L_1;
L_1 = Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED_inline(__this, /*hidden argument*/NULL);
bool L_2;
L_2 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_1, /*hidden argument*/NULL);
V_1 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_002e;
}
}
{
// regionCluster += "/" + this.Cluster;
String_t* L_4 = V_0;
String_t* L_5;
L_5 = Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED_inline(__this, /*hidden argument*/NULL);
String_t* L_6;
L_6 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(L_4, _stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1, L_5, /*hidden argument*/NULL);
V_0 = L_6;
}
IL_002e:
{
// if (compact)
bool L_7 = ___compact0;
V_2 = L_7;
bool L_8 = V_2;
if (!L_8)
{
goto IL_004d;
}
}
{
// return string.Format("{0}:{1}", regionCluster, this.Ping);
String_t* L_9 = V_0;
int32_t L_10;
L_10 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(__this, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_11);
String_t* L_13;
L_13 = String_Format_m8D1CB0410C35E052A53AE957C914C841E54BAB66(_stringLiteralAD6CD2C36915DEB6A18BCF0F46B294FC1D97072F, L_9, L_12, /*hidden argument*/NULL);
V_3 = L_13;
goto IL_006d;
}
IL_004d:
{
// return string.Format("{0}[{2}]: {1}ms", regionCluster, this.Ping, this.HostAndPort);
String_t* L_14 = V_0;
int32_t L_15;
L_15 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(__this, /*hidden argument*/NULL);
int32_t L_16 = L_15;
RuntimeObject * L_17 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_16);
String_t* L_18;
L_18 = Region_get_HostAndPort_m53658E909B3162A56847A0309E67F29C6DE4E81A_inline(__this, /*hidden argument*/NULL);
String_t* L_19;
L_19 = String_Format_m039737CCD992C5BFC8D16DFD681F5E8786E87FA6(_stringLiteralB7A31DE996B60085FB46F6A81676B93820640015, L_14, L_17, L_18, /*hidden argument*/NULL);
V_3 = L_19;
goto IL_006d;
}
IL_006d:
{
// }
String_t* L_20 = V_3;
return L_20;
}
}
#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.Collections.Generic.List`1<Photon.Realtime.Region> Photon.Realtime.RegionHandler::get_EnabledRegions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
{
// public List<Region> EnabledRegions { get; protected internal set; }
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0 = __this->get_U3CEnabledRegionsU3Ek__BackingField_1();
return L_0;
}
}
// System.Void Photon.Realtime.RegionHandler::set_EnabledRegions(System.Collections.Generic.List`1<Photon.Realtime.Region>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler_set_EnabledRegions_m5EFE1E628A091772B065D096049D4123DF3AC558 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * ___value0, const RuntimeMethod* method)
{
{
// public List<Region> EnabledRegions { get; protected internal set; }
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0 = ___value0;
__this->set_U3CEnabledRegionsU3Ek__BackingField_1(L_0);
return;
}
}
// Photon.Realtime.Region Photon.Realtime.RegionHandler::get_BestRegion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Comparison_1__ctor_mA4CB303D14E30311ABEC07F98790A911CB0CE796_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Sort_m5ED6D7674462D105D844BB73392804E0F8E61DA3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m7E05A57B3F8096D5A019982D00205AD93C738515_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_U3Cget_BestRegionU3Eb__8_0_m1AC1E7195D3E64B769C3237D6086BF7FE6051D54_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * V_1 = NULL;
bool V_2 = false;
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * G_B6_0 = NULL;
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * G_B6_1 = NULL;
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * G_B5_0 = NULL;
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * G_B5_1 = NULL;
{
// if (this.EnabledRegions == null)
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0;
L_0 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
V_0 = (bool)((((RuntimeObject*)(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
// return null;
V_1 = (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)NULL;
goto IL_0070;
}
IL_0013:
{
// if (this.bestRegionCache != null)
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_2 = __this->get_bestRegionCache_3();
V_2 = (bool)((!(((RuntimeObject*)(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)L_2) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_002a;
}
}
{
// return this.bestRegionCache;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_4 = __this->get_bestRegionCache_3();
V_1 = L_4;
goto IL_0070;
}
IL_002a:
{
// this.EnabledRegions.Sort((a, b) => a.Ping.CompareTo(b.Ping) );
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_5;
L_5 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var);
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * L_6 = ((U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var))->get_U3CU3E9__8_0_1();
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * L_7 = L_6;
G_B5_0 = L_7;
G_B5_1 = L_5;
if (L_7)
{
G_B6_0 = L_7;
G_B6_1 = L_5;
goto IL_004f;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var);
U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * L_8 = ((U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * L_9 = (Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 *)il2cpp_codegen_object_new(Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531_il2cpp_TypeInfo_var);
Comparison_1__ctor_mA4CB303D14E30311ABEC07F98790A911CB0CE796(L_9, L_8, (intptr_t)((intptr_t)U3CU3Ec_U3Cget_BestRegionU3Eb__8_0_m1AC1E7195D3E64B769C3237D6086BF7FE6051D54_RuntimeMethod_var), /*hidden argument*/Comparison_1__ctor_mA4CB303D14E30311ABEC07F98790A911CB0CE796_RuntimeMethod_var);
Comparison_1_t044A798584CCE9FE210742245D3AF8847522A531 * L_10 = L_9;
((U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var))->set_U3CU3E9__8_0_1(L_10);
G_B6_0 = L_10;
G_B6_1 = G_B5_1;
}
IL_004f:
{
NullCheck(G_B6_1);
List_1_Sort_m5ED6D7674462D105D844BB73392804E0F8E61DA3(G_B6_1, G_B6_0, /*hidden argument*/List_1_Sort_m5ED6D7674462D105D844BB73392804E0F8E61DA3_RuntimeMethod_var);
// this.bestRegionCache = this.EnabledRegions[0];
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_11;
L_11 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
NullCheck(L_11);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_12;
L_12 = List_1_get_Item_m7E05A57B3F8096D5A019982D00205AD93C738515_inline(L_11, 0, /*hidden argument*/List_1_get_Item_m7E05A57B3F8096D5A019982D00205AD93C738515_RuntimeMethod_var);
__this->set_bestRegionCache_3(L_12);
// return this.bestRegionCache;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_13 = __this->get_bestRegionCache_3();
V_1 = L_13;
goto IL_0070;
}
IL_0070:
{
// }
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_14 = V_1;
return L_14;
}
}
// System.String Photon.Realtime.RegionHandler::get_SummaryToCache()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionHandler_get_SummaryToCache_m99B06CD605EE06F867ADE603DBD3349EFA80C057 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
String_t* V_2 = NULL;
{
// if (this.BestRegion != null) {
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0;
L_0 = RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383(__this, /*hidden argument*/NULL);
V_0 = (bool)((!(((RuntimeObject*)(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_005a;
}
}
{
// return this.BestRegion.Code + ";" + this.BestRegion.Ping + ";" + this.availableRegionCodes;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_2 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_2;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_4;
L_4 = RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383(__this, /*hidden argument*/NULL);
NullCheck(L_4);
String_t* L_5;
L_5 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(L_4, /*hidden argument*/NULL);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_5);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_3;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_8;
L_8 = RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383(__this, /*hidden argument*/NULL);
NullCheck(L_8);
int32_t L_9;
L_9 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(L_8, /*hidden argument*/NULL);
V_1 = L_9;
String_t* L_10;
L_10 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)(&V_1), /*hidden argument*/NULL);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_10);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_11 = L_7;
NullCheck(L_11);
ArrayElementTypeCheck (L_11, _stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral951CCB49640C8F9E81FB4E0D82730321F4E15BB3);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_12 = L_11;
String_t* L_13 = __this->get_availableRegionCodes_2();
NullCheck(L_12);
ArrayElementTypeCheck (L_12, L_13);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_13);
String_t* L_14;
L_14 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_12, /*hidden argument*/NULL);
V_2 = L_14;
goto IL_0063;
}
IL_005a:
{
// return this.availableRegionCodes;
String_t* L_15 = __this->get_availableRegionCodes_2();
V_2 = L_15;
goto IL_0063;
}
IL_0063:
{
// }
String_t* L_16 = V_2;
return L_16;
}
}
// System.String Photon.Realtime.RegionHandler::GetResults()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionHandler_GetResults_m738E699B980005D410435E357469868196323327 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral158BCE3BED0666F14459D16BA73D781AC5421828);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3FBE4F3AA3E49A414AF5407C10B40EE841A2CC35);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 V_1;
memset((&V_1), 0, sizeof(V_1));
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * V_2 = NULL;
String_t* V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// StringBuilder sb = new StringBuilder();
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_0, /*hidden argument*/NULL);
V_0 = L_0;
// sb.AppendFormat("Region Pinging Result: {0}\n", this.BestRegion.ToString());
StringBuilder_t * L_1 = V_0;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_2;
L_2 = RegionHandler_get_BestRegion_m88E09CDF0DDE049AF0BE770E8109B0FE6EA7A383(__this, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_3;
L_3 = Region_ToString_mE2996D4EB3DCAE15A5A7593559BDFA793ADFA75F(L_2, (bool)0, /*hidden argument*/NULL);
NullCheck(L_1);
StringBuilder_t * L_4;
L_4 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_1, _stringLiteral158BCE3BED0666F14459D16BA73D781AC5421828, L_3, /*hidden argument*/NULL);
// foreach (RegionPinger region in this.pingerList)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_5 = __this->get_pingerList_4();
NullCheck(L_5);
Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 L_6;
L_6 = List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB(L_5, /*hidden argument*/List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB_RuntimeMethod_var);
V_1 = L_6;
}
IL_002c:
try
{ // begin try (depth: 1)
{
goto IL_0054;
}
IL_002e:
{
// foreach (RegionPinger region in this.pingerList)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_7;
L_7 = Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_inline((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_1), /*hidden argument*/Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_RuntimeMethod_var);
V_2 = L_7;
// sb.AppendFormat(region.GetResults() + "\n");
StringBuilder_t * L_8 = V_0;
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_9 = V_2;
NullCheck(L_9);
String_t* L_10;
L_10 = RegionPinger_GetResults_mEED322C25127363B3875B4FF7C6EB0E272C266C6(L_9, /*hidden argument*/NULL);
String_t* L_11;
L_11 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_10, _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD, /*hidden argument*/NULL);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_12;
L_12 = Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_inline(/*hidden argument*/Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_RuntimeMethod_var);
NullCheck(L_8);
StringBuilder_t * L_13;
L_13 = StringBuilder_AppendFormat_m97C4AAABA51FCC2D426BD22FE05BEC045AB9D6F8(L_8, L_11, L_12, /*hidden argument*/NULL);
}
IL_0054:
{
// foreach (RegionPinger region in this.pingerList)
bool L_14;
L_14 = Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_1), /*hidden argument*/Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA_RuntimeMethod_var);
if (L_14)
{
goto IL_002e;
}
}
IL_005d:
{
IL2CPP_LEAVE(0x6E, FINALLY_005f);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_005f;
}
FINALLY_005f:
{ // begin finally (depth: 1)
Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_1), /*hidden argument*/Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D_RuntimeMethod_var);
IL2CPP_END_FINALLY(95)
} // end finally (depth: 1)
IL2CPP_CLEANUP(95)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x6E, IL_006e)
}
IL_006e:
{
// sb.AppendFormat("Previous summary: {0}", this.previousSummaryProvided);
StringBuilder_t * L_15 = V_0;
String_t* L_16 = __this->get_previousSummaryProvided_8();
NullCheck(L_15);
StringBuilder_t * L_17;
L_17 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_15, _stringLiteral3FBE4F3AA3E49A414AF5407C10B40EE841A2CC35, L_16, /*hidden argument*/NULL);
// return sb.ToString();
StringBuilder_t * L_18 = V_0;
NullCheck(L_18);
String_t* L_19;
L_19 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_18);
V_3 = L_19;
goto IL_0089;
}
IL_0089:
{
// }
String_t* L_20 = V_3;
return L_20;
}
}
// System.Void Photon.Realtime.RegionHandler::SetRegions(ExitGames.Client.Photon.OperationResponse)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler_SetRegions_m5C63B77E89C01D8AE48A522C70D649372FD22581 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * ___opGetRegions0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Array_Sort_TisString_t_m229639047FA4F41C666B22D8622E9E365388021D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m1ED31F575834F4032303CF576B52D0959CC4817B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mDC17CD5E09EACFEDC3ED85B6903F3CE2B06E5702_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
s_Il2CppMethodInitialized = true;
}
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_0 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
int32_t V_5 = 0;
String_t* V_6 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * V_7 = NULL;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
int32_t G_B8_0 = 0;
{
// if (opGetRegions.OperationCode != OperationCode.GetRegions)
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_0 = ___opGetRegions0;
NullCheck(L_0);
uint8_t L_1 = L_0->get_OperationCode_0();
V_2 = (bool)((((int32_t)((((int32_t)L_1) == ((int32_t)((int32_t)220)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_2;
if (!L_2)
{
goto IL_001b;
}
}
{
// return;
goto IL_010e;
}
IL_001b:
{
// if (opGetRegions.ReturnCode != ErrorCode.Ok)
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_3 = ___opGetRegions0;
NullCheck(L_3);
int16_t L_4 = L_3->get_ReturnCode_1();
V_3 = (bool)((!(((uint32_t)L_4) <= ((uint32_t)0)))? 1 : 0);
bool L_5 = V_3;
if (!L_5)
{
goto IL_002e;
}
}
{
// return;
goto IL_010e;
}
IL_002e:
{
// string[] regions = opGetRegions[ParameterCode.Region] as string[];
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_6 = ___opGetRegions0;
NullCheck(L_6);
RuntimeObject * L_7;
L_7 = OperationResponse_get_Item_m6BA53FB6E91171C9234D48D230DFBEBCE4A0565A(L_6, (uint8_t)((int32_t)210), /*hidden argument*/NULL);
V_0 = ((StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)IsInst((RuntimeObject*)L_7, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var));
// string[] servers = opGetRegions[ParameterCode.Address] as string[];
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_8 = ___opGetRegions0;
NullCheck(L_8);
RuntimeObject * L_9;
L_9 = OperationResponse_get_Item_m6BA53FB6E91171C9234D48D230DFBEBCE4A0565A(L_8, (uint8_t)((int32_t)230), /*hidden argument*/NULL);
V_1 = ((StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)IsInst((RuntimeObject*)L_9, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var));
// if (regions == null || servers == null || regions.Length != servers.Length)
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = V_0;
if (!L_10)
{
goto IL_0063;
}
}
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_11 = V_1;
if (!L_11)
{
goto IL_0063;
}
}
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_12 = V_0;
NullCheck(L_12);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_13 = V_1;
NullCheck(L_13);
G_B8_0 = ((((int32_t)((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))) == ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0064;
}
IL_0063:
{
G_B8_0 = 1;
}
IL_0064:
{
V_4 = (bool)G_B8_0;
bool L_14 = V_4;
if (!L_14)
{
goto IL_0070;
}
}
{
// return;
goto IL_010e;
}
IL_0070:
{
// this.bestRegionCache = null;
__this->set_bestRegionCache_3((Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)NULL);
// this.EnabledRegions = new List<Region>(regions.Length);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = V_0;
NullCheck(L_15);
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_16 = (List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F *)il2cpp_codegen_object_new(List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F_il2cpp_TypeInfo_var);
List_1__ctor_mDC17CD5E09EACFEDC3ED85B6903F3CE2B06E5702(L_16, ((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length))), /*hidden argument*/List_1__ctor_mDC17CD5E09EACFEDC3ED85B6903F3CE2B06E5702_RuntimeMethod_var);
RegionHandler_set_EnabledRegions_m5EFE1E628A091772B065D096049D4123DF3AC558_inline(__this, L_16, /*hidden argument*/NULL);
// for (int i = 0; i < regions.Length; i++)
V_5 = 0;
goto IL_00e9;
}
IL_008b:
{
// string server = servers[i];
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_17 = V_1;
int32_t L_18 = V_5;
NullCheck(L_17);
int32_t L_19 = L_18;
String_t* L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
V_6 = L_20;
// if (PortToPingOverride != 0)
uint16_t L_21 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PortToPingOverride_9();
V_8 = (bool)((!(((uint32_t)L_21) <= ((uint32_t)0)))? 1 : 0);
bool L_22 = V_8;
if (!L_22)
{
goto IL_00b2;
}
}
{
// server = LoadBalancingClient.ReplacePortWithAlternative(servers[i], PortToPingOverride);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_23 = V_1;
int32_t L_24 = V_5;
NullCheck(L_23);
int32_t L_25 = L_24;
String_t* L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
uint16_t L_27 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PortToPingOverride_9();
IL2CPP_RUNTIME_CLASS_INIT(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A_il2cpp_TypeInfo_var);
String_t* L_28;
L_28 = LoadBalancingClient_ReplacePortWithAlternative_m9F6A48F8917FF6AD0B53257C41CC4F5F53E8C076(L_26, L_27, /*hidden argument*/NULL);
V_6 = L_28;
}
IL_00b2:
{
// Region tmp = new Region(regions[i], server);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_29 = V_0;
int32_t L_30 = V_5;
NullCheck(L_29);
int32_t L_31 = L_30;
String_t* L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
String_t* L_33 = V_6;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_34 = (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)il2cpp_codegen_object_new(Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0_il2cpp_TypeInfo_var);
Region__ctor_m549303EACE8FCBB2E1AE4767610E0BF01F0E91F7(L_34, L_32, L_33, /*hidden argument*/NULL);
V_7 = L_34;
// if (string.IsNullOrEmpty(tmp.Code))
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_35 = V_7;
NullCheck(L_35);
String_t* L_36;
L_36 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(L_35, /*hidden argument*/NULL);
bool L_37;
L_37 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_36, /*hidden argument*/NULL);
V_9 = L_37;
bool L_38 = V_9;
if (!L_38)
{
goto IL_00d4;
}
}
{
// continue;
goto IL_00e3;
}
IL_00d4:
{
// this.EnabledRegions.Add(tmp);
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_39;
L_39 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_40 = V_7;
NullCheck(L_39);
List_1_Add_m1ED31F575834F4032303CF576B52D0959CC4817B(L_39, L_40, /*hidden argument*/List_1_Add_m1ED31F575834F4032303CF576B52D0959CC4817B_RuntimeMethod_var);
}
IL_00e3:
{
// for (int i = 0; i < regions.Length; i++)
int32_t L_41 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)1));
}
IL_00e9:
{
// for (int i = 0; i < regions.Length; i++)
int32_t L_42 = V_5;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_43 = V_0;
NullCheck(L_43);
V_10 = (bool)((((int32_t)L_42) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_43)->max_length)))))? 1 : 0);
bool L_44 = V_10;
if (L_44)
{
goto IL_008b;
}
}
{
// Array.Sort(regions);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_45 = V_0;
Array_Sort_TisString_t_m229639047FA4F41C666B22D8622E9E365388021D(L_45, /*hidden argument*/Array_Sort_TisString_t_m229639047FA4F41C666B22D8622E9E365388021D_RuntimeMethod_var);
// this.availableRegionCodes = string.Join(",", regions);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_46 = V_0;
String_t* L_47;
L_47 = String_Join_m8846EB11F0A221BDE237DE041D17764B36065404(_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB, L_46, /*hidden argument*/NULL);
__this->set_availableRegionCodes_2(L_47);
}
IL_010e:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.RegionHandler::get_IsPinging()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionHandler_get_IsPinging_mA6A9F7994FC26A5108BD62566ED6BD6E5CEBA719 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
{
// public bool IsPinging { get; private set; }
bool L_0 = __this->get_U3CIsPingingU3Ek__BackingField_7();
return L_0;
}
}
// System.Void Photon.Realtime.RegionHandler::set_IsPinging(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsPinging { get; private set; }
bool L_0 = ___value0;
__this->set_U3CIsPingingU3Ek__BackingField_7(L_0);
return;
}
}
// System.Void Photon.Realtime.RegionHandler::.ctor(System.UInt16)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler__ctor_mFD5F015A093A9C6B2BD83A69D24DB9BCB4CA12F8 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, uint16_t ___masterServerPortOverride0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m0D84EC4C094708A14A2710C8649E512A70CB6522_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t1D673277C302265BA143A7DD99DD859AF26CD431_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private List<RegionPinger> pingerList = new List<RegionPinger>();
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_0 = (List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 *)il2cpp_codegen_object_new(List_1_t1D673277C302265BA143A7DD99DD859AF26CD431_il2cpp_TypeInfo_var);
List_1__ctor_m0D84EC4C094708A14A2710C8649E512A70CB6522(L_0, /*hidden argument*/List_1__ctor_m0D84EC4C094708A14A2710C8649E512A70CB6522_RuntimeMethod_var);
__this->set_pingerList_4(L_0);
// public RegionHandler(ushort masterServerPortOverride = 0)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// PortToPingOverride = masterServerPortOverride;
uint16_t L_1 = ___masterServerPortOverride0;
((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->set_PortToPingOverride_9(L_1);
// }
return;
}
}
// System.Boolean Photon.Realtime.RegionHandler::PingMinimumOfRegions(System.Action`1<Photon.Realtime.RegionHandler>,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionHandler_PingMinimumOfRegions_mCE0756249D7C66546417074D3B420B8813F403D4 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * ___onCompleteCallback0, String_t* ___previousSummary1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Find_m546ED31E212B8AFCA28B0B71E5E00F857C1FE4AF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Predicate_1__ctor_m7F486EFBCC6C25F9EE9C0BC8DD6150682E273598_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_OnPreferredRegionPinged_mA55641C720644909E2B0E801CC9003F16A94943F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass23_0_U3CPingMinimumOfRegionsU3Eb__0_m27AD0937D9EC80F239FF68225E8211250B13D312_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * V_0 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_1 = NULL;
int32_t V_2 = 0;
bool V_3 = false;
String_t* V_4 = NULL;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * V_5 = NULL;
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * V_6 = NULL;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
bool V_13 = false;
bool V_14 = false;
bool V_15 = false;
bool V_16 = false;
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * V_17 = NULL;
bool V_18 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
int32_t G_B3_0 = 0;
int32_t G_B20_0 = 0;
{
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * L_0 = (U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 *)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7_il2cpp_TypeInfo_var);
U3CU3Ec__DisplayClass23_0__ctor_mC296F93C8F6437A0F4715E9440359C8FC9237016(L_0, /*hidden argument*/NULL);
V_0 = L_0;
// if (this.EnabledRegions == null || this.EnabledRegions.Count == 0)
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_1;
L_1 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001f;
}
}
{
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_2;
L_2 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3;
L_3 = List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_inline(L_2, /*hidden argument*/List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_RuntimeMethod_var);
G_B3_0 = ((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
goto IL_0020;
}
IL_001f:
{
G_B3_0 = 1;
}
IL_0020:
{
V_7 = (bool)G_B3_0;
bool L_4 = V_7;
if (!L_4)
{
goto IL_002f;
}
}
{
// return false;
V_8 = (bool)0;
goto IL_01d7;
}
IL_002f:
{
// if (this.IsPinging)
bool L_5;
L_5 = RegionHandler_get_IsPinging_mA6A9F7994FC26A5108BD62566ED6BD6E5CEBA719_inline(__this, /*hidden argument*/NULL);
V_9 = L_5;
bool L_6 = V_9;
if (!L_6)
{
goto IL_0044;
}
}
{
// return false;
V_8 = (bool)0;
goto IL_01d7;
}
IL_0044:
{
// this.IsPinging = true;
RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC_inline(__this, (bool)1, /*hidden argument*/NULL);
// this.onCompleteCall = onCompleteCallback;
Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * L_7 = ___onCompleteCallback0;
__this->set_onCompleteCall_5(L_7);
// this.previousSummaryProvided = previousSummary;
String_t* L_8 = ___previousSummary1;
__this->set_previousSummaryProvided_8(L_8);
// if (string.IsNullOrEmpty(previousSummary))
String_t* L_9 = ___previousSummary1;
bool L_10;
L_10 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_9, /*hidden argument*/NULL);
V_10 = L_10;
bool L_11 = V_10;
if (!L_11)
{
goto IL_0074;
}
}
{
// return this.PingEnabledRegions();
bool L_12;
L_12 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_12;
goto IL_01d7;
}
IL_0074:
{
// string[] values = previousSummary.Split(';');
String_t* L_13 = ___previousSummary1;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_14 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)1);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_15 = L_14;
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)59));
NullCheck(L_13);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_16;
L_16 = String_Split_m2C74DC2B85B322998094BEDE787C378822E1F28B(L_13, L_15, /*hidden argument*/NULL);
V_1 = L_16;
// if (values.Length < 3)
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_17 = V_1;
NullCheck(L_17);
V_11 = (bool)((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))) < ((int32_t)3))? 1 : 0);
bool L_18 = V_11;
if (!L_18)
{
goto IL_00a0;
}
}
{
// return this.PingEnabledRegions();
bool L_19;
L_19 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_19;
goto IL_01d7;
}
IL_00a0:
{
// bool secondValueIsInt = Int32.TryParse(values[1], out prevBestRegionPing);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_20 = V_1;
NullCheck(L_20);
int32_t L_21 = 1;
String_t* L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
bool L_23;
L_23 = Int32_TryParse_m748B8DB1D0C9D25C3D1812D7887411C4AFC1DDC2(L_22, (int32_t*)(&V_2), /*hidden argument*/NULL);
V_3 = L_23;
// if (!secondValueIsInt)
bool L_24 = V_3;
V_12 = (bool)((((int32_t)L_24) == ((int32_t)0))? 1 : 0);
bool L_25 = V_12;
if (!L_25)
{
goto IL_00c3;
}
}
{
// return this.PingEnabledRegions();
bool L_26;
L_26 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_26;
goto IL_01d7;
}
IL_00c3:
{
// string prevBestRegionCode = values[0];
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * L_27 = V_0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_28 = V_1;
NullCheck(L_28);
int32_t L_29 = 0;
String_t* L_30 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
NullCheck(L_27);
L_27->set_prevBestRegionCode_0(L_30);
// string prevAvailableRegionCodes = values[2];
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_31 = V_1;
NullCheck(L_31);
int32_t L_32 = 2;
String_t* L_33 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
V_4 = L_33;
// if (string.IsNullOrEmpty(prevBestRegionCode))
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * L_34 = V_0;
NullCheck(L_34);
String_t* L_35 = L_34->get_prevBestRegionCode_0();
bool L_36;
L_36 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_35, /*hidden argument*/NULL);
V_13 = L_36;
bool L_37 = V_13;
if (!L_37)
{
goto IL_00f0;
}
}
{
// return this.PingEnabledRegions();
bool L_38;
L_38 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_38;
goto IL_01d7;
}
IL_00f0:
{
// if (string.IsNullOrEmpty(prevAvailableRegionCodes))
String_t* L_39 = V_4;
bool L_40;
L_40 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_39, /*hidden argument*/NULL);
V_14 = L_40;
bool L_41 = V_14;
if (!L_41)
{
goto IL_010b;
}
}
{
// return this.PingEnabledRegions();
bool L_42;
L_42 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_42;
goto IL_01d7;
}
IL_010b:
{
// if (!this.availableRegionCodes.Equals(prevAvailableRegionCodes) || !this.availableRegionCodes.Contains(prevBestRegionCode))
String_t* L_43 = __this->get_availableRegionCodes_2();
String_t* L_44 = V_4;
NullCheck(L_43);
bool L_45;
L_45 = String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D(L_43, L_44, /*hidden argument*/NULL);
if (!L_45)
{
goto IL_0130;
}
}
{
String_t* L_46 = __this->get_availableRegionCodes_2();
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * L_47 = V_0;
NullCheck(L_47);
String_t* L_48 = L_47->get_prevBestRegionCode_0();
NullCheck(L_46);
bool L_49;
L_49 = String_Contains_mA26BDCCE8F191E8965EB8EEFC18BB4D0F85A075A(L_46, L_48, /*hidden argument*/NULL);
G_B20_0 = ((((int32_t)L_49) == ((int32_t)0))? 1 : 0);
goto IL_0131;
}
IL_0130:
{
G_B20_0 = 1;
}
IL_0131:
{
V_15 = (bool)G_B20_0;
bool L_50 = V_15;
if (!L_50)
{
goto IL_0145;
}
}
{
// return this.PingEnabledRegions();
bool L_51;
L_51 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_51;
goto IL_01d7;
}
IL_0145:
{
// if (prevBestRegionPing >= RegionPinger.PingWhenFailed)
int32_t L_52 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_53 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_PingWhenFailed_3();
V_16 = (bool)((((int32_t)((((int32_t)L_52) < ((int32_t)L_53))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_54 = V_16;
if (!L_54)
{
goto IL_0161;
}
}
{
// return this.PingEnabledRegions();
bool L_55;
L_55 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
V_8 = L_55;
goto IL_01d7;
}
IL_0161:
{
// this.previousPing = prevBestRegionPing;
int32_t L_56 = V_2;
__this->set_previousPing_6(L_56);
// Region preferred = this.EnabledRegions.Find(r => r.Code.Equals(prevBestRegionCode));
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_57;
L_57 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * L_58 = V_0;
Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E * L_59 = (Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E *)il2cpp_codegen_object_new(Predicate_1_t3E26A1B83A098737E7FB1535DD6C9A1630125D3E_il2cpp_TypeInfo_var);
Predicate_1__ctor_m7F486EFBCC6C25F9EE9C0BC8DD6150682E273598(L_59, L_58, (intptr_t)((intptr_t)U3CU3Ec__DisplayClass23_0_U3CPingMinimumOfRegionsU3Eb__0_m27AD0937D9EC80F239FF68225E8211250B13D312_RuntimeMethod_var), /*hidden argument*/Predicate_1__ctor_m7F486EFBCC6C25F9EE9C0BC8DD6150682E273598_RuntimeMethod_var);
NullCheck(L_57);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_60;
L_60 = List_1_Find_m546ED31E212B8AFCA28B0B71E5E00F857C1FE4AF(L_57, L_59, /*hidden argument*/List_1_Find_m546ED31E212B8AFCA28B0B71E5E00F857C1FE4AF_RuntimeMethod_var);
V_5 = L_60;
// RegionPinger singlePinger = new RegionPinger(preferred, this.OnPreferredRegionPinged);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_61 = V_5;
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * L_62 = (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 *)il2cpp_codegen_object_new(Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752_il2cpp_TypeInfo_var);
Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65(L_62, __this, (intptr_t)((intptr_t)RegionHandler_OnPreferredRegionPinged_mA55641C720644909E2B0E801CC9003F16A94943F_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65_RuntimeMethod_var);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_63 = (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 *)il2cpp_codegen_object_new(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
RegionPinger__ctor_mA521A419053A6F01FBB059F3A008BA7DCC9636BE(L_63, L_61, L_62, /*hidden argument*/NULL);
V_6 = L_63;
// lock (this.pingerList)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_64 = __this->get_pingerList_4();
V_17 = L_64;
V_18 = (bool)0;
}
IL_01a1:
try
{ // begin try (depth: 1)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_65 = V_17;
Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4(L_65, (bool*)(&V_18), /*hidden argument*/NULL);
// this.pingerList.Add(singlePinger);
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_66 = __this->get_pingerList_4();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_67 = V_6;
NullCheck(L_66);
List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6(L_66, L_67, /*hidden argument*/List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6_RuntimeMethod_var);
IL2CPP_LEAVE(0x1CA, FINALLY_01bd);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01bd;
}
FINALLY_01bd:
{ // begin finally (depth: 1)
{
bool L_68 = V_18;
if (!L_68)
{
goto IL_01c9;
}
}
IL_01c1:
{
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_69 = V_17;
Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A(L_69, /*hidden argument*/NULL);
}
IL_01c9:
{
IL2CPP_END_FINALLY(445)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(445)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x1CA, IL_01ca)
}
IL_01ca:
{
// singlePinger.Start();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_70 = V_6;
NullCheck(L_70);
bool L_71;
L_71 = RegionPinger_Start_mAA64B2B210595EB278EE982AEBC2BF3DA6AD319E(L_70, /*hidden argument*/NULL);
// return true;
V_8 = (bool)1;
goto IL_01d7;
}
IL_01d7:
{
// }
bool L_72 = V_8;
return L_72;
}
}
// System.Void Photon.Realtime.RegionHandler::OnPreferredRegionPinged(Photon.Realtime.Region)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler_OnPreferredRegionPinged_mA55641C720644909E2B0E801CC9003F16A94943F (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___preferredRegion0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (preferredRegion.Ping > this.previousPing * 1.50f)
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = ___preferredRegion0;
NullCheck(L_0);
int32_t L_1;
L_1 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = __this->get_previousPing_6();
V_0 = (bool)((((float)((float)((float)L_1))) > ((float)((float)il2cpp_codegen_multiply((float)((float)((float)L_2)), (float)(1.5f)))))? 1 : 0);
bool L_3 = V_0;
if (!L_3)
{
goto IL_0026;
}
}
{
// this.PingEnabledRegions();
bool L_4;
L_4 = RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B(__this, /*hidden argument*/NULL);
goto IL_003d;
}
IL_0026:
{
// this.IsPinging = false;
RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC_inline(__this, (bool)0, /*hidden argument*/NULL);
// this.onCompleteCall(this);
Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * L_5 = __this->get_onCompleteCall_5();
NullCheck(L_5);
Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA(L_5, __this, /*hidden argument*/Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA_RuntimeMethod_var);
}
IL_003d:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.RegionHandler::PingEnabledRegions()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionHandler_PingEnabledRegions_m565EAA45666E0707DAB9CE4250C9F1714A26D86B (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m87945B334F6E2C5477F4595280639EA880375F96_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mD05E3258BF460CE4EEDF9EE6175D66A1FFF4A8F5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m680C25AEA7D55337233A7E8BC43CB744C13AC70C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m2C1C7B1A5C96A774FA3A81D20EDA0E761151F731_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mB2C214F87115F7C88741421A1EF07FDA844B0220_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_OnRegionDone_m597D17F1600D81FB08B9F07869BFC91C59446458_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * V_2 = NULL;
bool V_3 = false;
Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 V_4;
memset((&V_4), 0, sizeof(V_4));
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * V_5 = NULL;
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * V_6 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
int32_t G_B3_0 = 0;
{
// if (this.EnabledRegions == null || this.EnabledRegions.Count == 0)
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0;
L_0 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0019;
}
}
{
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_1;
L_1 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
NullCheck(L_1);
int32_t L_2;
L_2 = List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_inline(L_1, /*hidden argument*/List_1_get_Count_m30181745086D42B9251D3BBD7FC055E1BA8F6813_RuntimeMethod_var);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_001a;
}
IL_0019:
{
G_B3_0 = 1;
}
IL_001a:
{
V_0 = (bool)G_B3_0;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0026;
}
}
{
// return false;
V_1 = (bool)0;
goto IL_00b7;
}
IL_0026:
{
// lock (this.pingerList)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_4 = __this->get_pingerList_4();
V_2 = L_4;
V_3 = (bool)0;
}
IL_002f:
try
{ // begin try (depth: 1)
{
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_5 = V_2;
Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4(L_5, (bool*)(&V_3), /*hidden argument*/NULL);
// this.pingerList.Clear();
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_6 = __this->get_pingerList_4();
NullCheck(L_6);
List_1_Clear_m2C1C7B1A5C96A774FA3A81D20EDA0E761151F731(L_6, /*hidden argument*/List_1_Clear_m2C1C7B1A5C96A774FA3A81D20EDA0E761151F731_RuntimeMethod_var);
// foreach (Region region in this.EnabledRegions)
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_7;
L_7 = RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline(__this, /*hidden argument*/NULL);
NullCheck(L_7);
Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 L_8;
L_8 = List_1_GetEnumerator_mB2C214F87115F7C88741421A1EF07FDA844B0220(L_7, /*hidden argument*/List_1_GetEnumerator_mB2C214F87115F7C88741421A1EF07FDA844B0220_RuntimeMethod_var);
V_4 = L_8;
}
IL_0053:
try
{ // begin try (depth: 2)
{
goto IL_008b;
}
IL_0055:
{
// foreach (Region region in this.EnabledRegions)
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_9;
L_9 = Enumerator_get_Current_m680C25AEA7D55337233A7E8BC43CB744C13AC70C_inline((Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *)(&V_4), /*hidden argument*/Enumerator_get_Current_m680C25AEA7D55337233A7E8BC43CB744C13AC70C_RuntimeMethod_var);
V_5 = L_9;
// RegionPinger rp = new RegionPinger(region, this.OnRegionDone);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_10 = V_5;
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * L_11 = (Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 *)il2cpp_codegen_object_new(Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752_il2cpp_TypeInfo_var);
Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65(L_11, __this, (intptr_t)((intptr_t)RegionHandler_OnRegionDone_m597D17F1600D81FB08B9F07869BFC91C59446458_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_mACDBE5DA33173EC747BA130708382D8457888E65_RuntimeMethod_var);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_12 = (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 *)il2cpp_codegen_object_new(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
RegionPinger__ctor_mA521A419053A6F01FBB059F3A008BA7DCC9636BE(L_12, L_10, L_11, /*hidden argument*/NULL);
V_6 = L_12;
// this.pingerList.Add(rp);
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_13 = __this->get_pingerList_4();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_14 = V_6;
NullCheck(L_13);
List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6(L_13, L_14, /*hidden argument*/List_1_Add_m29DC2756409B27927E8C8A33611082365F820FD6_RuntimeMethod_var);
// rp.Start(); // TODO: check return value
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_15 = V_6;
NullCheck(L_15);
bool L_16;
L_16 = RegionPinger_Start_mAA64B2B210595EB278EE982AEBC2BF3DA6AD319E(L_15, /*hidden argument*/NULL);
}
IL_008b:
{
// foreach (Region region in this.EnabledRegions)
bool L_17;
L_17 = Enumerator_MoveNext_mD05E3258BF460CE4EEDF9EE6175D66A1FFF4A8F5((Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *)(&V_4), /*hidden argument*/Enumerator_MoveNext_mD05E3258BF460CE4EEDF9EE6175D66A1FFF4A8F5_RuntimeMethod_var);
if (L_17)
{
goto IL_0055;
}
}
IL_0094:
{
IL2CPP_LEAVE(0xA5, FINALLY_0096);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0096;
}
FINALLY_0096:
{ // begin finally (depth: 2)
Enumerator_Dispose_m87945B334F6E2C5477F4595280639EA880375F96((Enumerator_tC816E68295B4A5BCE8E97B10162223867174AE66 *)(&V_4), /*hidden argument*/Enumerator_Dispose_m87945B334F6E2C5477F4595280639EA880375F96_RuntimeMethod_var);
IL2CPP_END_FINALLY(150)
} // end finally (depth: 2)
IL2CPP_CLEANUP(150)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0xA5, IL_00a5)
}
IL_00a5:
{
IL2CPP_LEAVE(0xB3, FINALLY_00a8);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00a8;
}
FINALLY_00a8:
{ // begin finally (depth: 1)
{
bool L_18 = V_3;
if (!L_18)
{
goto IL_00b2;
}
}
IL_00ab:
{
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_19 = V_2;
Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A(L_19, /*hidden argument*/NULL);
}
IL_00b2:
{
IL2CPP_END_FINALLY(168)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(168)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0xB3, IL_00b3)
}
IL_00b3:
{
// return true;
V_1 = (bool)1;
goto IL_00b7;
}
IL_00b7:
{
// }
bool L_20 = V_1;
return L_20;
}
}
// System.Void Photon.Realtime.RegionHandler::OnRegionDone(Photon.Realtime.Region)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionHandler_OnRegionDone_m597D17F1600D81FB08B9F07869BFC91C59446458 (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___region0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 V_3;
memset((&V_3), 0, sizeof(V_3));
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * V_4 = NULL;
bool V_5 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 4> __leave_targets;
{
// lock (this.pingerList)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_0 = __this->get_pingerList_4();
V_0 = L_0;
V_1 = (bool)0;
}
IL_000a:
try
{ // begin try (depth: 1)
{
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_1 = V_0;
Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4(L_1, (bool*)(&V_1), /*hidden argument*/NULL);
// if (this.IsPinging == false)
bool L_2;
L_2 = RegionHandler_get_IsPinging_mA6A9F7994FC26A5108BD62566ED6BD6E5CEBA719_inline(__this, /*hidden argument*/NULL);
V_2 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0024;
}
}
IL_0021:
{
// return;
IL2CPP_LEAVE(0x95, FINALLY_007d);
}
IL_0024:
{
// this.bestRegionCache = null;
__this->set_bestRegionCache_3((Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 *)NULL);
// foreach (RegionPinger pinger in this.pingerList)
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_4 = __this->get_pingerList_4();
NullCheck(L_4);
Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 L_5;
L_5 = List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB(L_4, /*hidden argument*/List_1_GetEnumerator_mA881752270477A0364BEF1AD22AA69256BFE20DB_RuntimeMethod_var);
V_3 = L_5;
}
IL_0038:
try
{ // begin try (depth: 2)
{
goto IL_0058;
}
IL_003a:
{
// foreach (RegionPinger pinger in this.pingerList)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_6;
L_6 = Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_inline((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_3), /*hidden argument*/Enumerator_get_Current_m365072F6308CFBE49CC0BC4D0AF71336314D9911_RuntimeMethod_var);
V_4 = L_6;
// if (!pinger.Done)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_7 = V_4;
NullCheck(L_7);
bool L_8;
L_8 = RegionPinger_get_Done_mA12F6069155AD2FEC5C71FC586280EF830032967_inline(L_7, /*hidden argument*/NULL);
V_5 = (bool)((((int32_t)L_8) == ((int32_t)0))? 1 : 0);
bool L_9 = V_5;
if (!L_9)
{
goto IL_0057;
}
}
IL_0054:
{
// return;
IL2CPP_LEAVE(0x95, FINALLY_0063);
}
IL_0057:
{
}
IL_0058:
{
// foreach (RegionPinger pinger in this.pingerList)
bool L_10;
L_10 = Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_3), /*hidden argument*/Enumerator_MoveNext_mBD1D374C780720D1439D3181A65875C8837796BA_RuntimeMethod_var);
if (L_10)
{
goto IL_003a;
}
}
IL_0061:
{
IL2CPP_LEAVE(0x72, FINALLY_0063);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0063;
}
FINALLY_0063:
{ // begin finally (depth: 2)
Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D((Enumerator_t1CDC4BAEA166B1D89D6500B51469A427F53AD513 *)(&V_3), /*hidden argument*/Enumerator_Dispose_m59819ECE18083F79ECEC78A14FCC080147D3E20D_RuntimeMethod_var);
IL2CPP_END_FINALLY(99)
} // end finally (depth: 2)
IL2CPP_CLEANUP(99)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_END_CLEANUP(0x95, FINALLY_007d);
IL2CPP_JUMP_TBL(0x72, IL_0072)
}
IL_0072:
{
// this.IsPinging = false;
RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC_inline(__this, (bool)0, /*hidden argument*/NULL);
IL2CPP_LEAVE(0x88, FINALLY_007d);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_007d;
}
FINALLY_007d:
{ // begin finally (depth: 1)
{
bool L_11 = V_1;
if (!L_11)
{
goto IL_0087;
}
}
IL_0080:
{
List_1_t1D673277C302265BA143A7DD99DD859AF26CD431 * L_12 = V_0;
Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A(L_12, /*hidden argument*/NULL);
}
IL_0087:
{
IL2CPP_END_FINALLY(125)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(125)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x95, IL_0095)
IL2CPP_JUMP_TBL(0x88, IL_0088)
}
IL_0088:
{
// this.onCompleteCall(this);
Action_1_t1B4449F674A0EA1C865984B25031E893CBAA9790 * L_13 = __this->get_onCompleteCall_5();
NullCheck(L_13);
Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA(L_13, __this, /*hidden argument*/Action_1_Invoke_m77584EBFDE28B0D7084E47182E457DE97D47D9DA_RuntimeMethod_var);
}
IL_0095:
{
// }
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.Boolean Photon.Realtime.RegionPinger::get_Done()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionPinger_get_Done_mA12F6069155AD2FEC5C71FC586280EF830032967 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
{
// public bool Done { get; private set; }
bool L_0 = __this->get_U3CDoneU3Ek__BackingField_7();
return L_0;
}
}
// System.Void Photon.Realtime.RegionPinger::set_Done(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool Done { get; private set; }
bool L_0 = ___value0;
__this->set_U3CDoneU3Ek__BackingField_7(L_0);
return;
}
}
// System.Void Photon.Realtime.RegionPinger::.ctor(Photon.Realtime.Region,System.Action`1<Photon.Realtime.Region>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionPinger__ctor_mA521A419053A6F01FBB059F3A008BA7DCC9636BE (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___region0, Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * ___onDoneCallback1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public int CurrentAttempt = 0;
__this->set_CurrentAttempt_6(0);
// public RegionPinger(Region region, Action<Region> onDoneCallback)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.region = region;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = ___region0;
__this->set_region_4(L_0);
// this.region.Ping = PingWhenFailed;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_1 = __this->get_region_4();
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_2 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_PingWhenFailed_3();
NullCheck(L_1);
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(L_1, L_2, /*hidden argument*/NULL);
// this.Done = false;
RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline(__this, (bool)0, /*hidden argument*/NULL);
// this.onDoneCall = onDoneCallback;
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * L_3 = ___onDoneCallback1;
__this->set_onDoneCall_8(L_3);
// }
return;
}
}
// Photon.Realtime.PhotonPing Photon.Realtime.RegionPinger::GetPingImplementation()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * RegionPinger_GetPingImplementation_mD044705B25DAADA26FDD2DF041AC7E0646844E3C (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * V_4 = NULL;
int32_t G_B3_0 = 0;
{
// PhotonPing ping = null;
V_0 = (PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)NULL;
// if (RegionHandler.PingImplementation == null || RegionHandler.PingImplementation == typeof(PingMono))
Type_t * L_0 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PingImplementation_0();
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Type_op_Equality_mA438719A1FDF103C7BBBB08AEF564E7FAEEA0046(L_0, (Type_t *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0026;
}
}
{
Type_t * L_2 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PingImplementation_0();
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 L_3 = { reinterpret_cast<intptr_t> (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_0_0_0_var) };
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_4;
L_4 = Type_GetTypeFromHandle_m8BB57524FF7F9DB1803BC561D2B3A4DBACEB385E(L_3, /*hidden argument*/NULL);
bool L_5;
L_5 = Type_op_Equality_mA438719A1FDF103C7BBBB08AEF564E7FAEEA0046(L_2, L_4, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_5));
goto IL_0027;
}
IL_0026:
{
G_B3_0 = 1;
}
IL_0027:
{
V_1 = (bool)G_B3_0;
bool L_6 = V_1;
if (!L_6)
{
goto IL_0033;
}
}
{
// ping = new PingMono();
PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB * L_7 = (PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB *)il2cpp_codegen_object_new(PingMono_t4A1754D42E92E6B5270E406B6FDCF5866E2B1BFB_il2cpp_TypeInfo_var);
PingMono__ctor_mAF65A6D22B1A28755969ECADC356F8E3B2BC8431(L_7, /*hidden argument*/NULL);
V_0 = L_7;
}
IL_0033:
{
// if (ping == null)
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_8 = V_0;
V_2 = (bool)((((RuntimeObject*)(PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)L_8) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_9 = V_2;
if (!L_9)
{
goto IL_005e;
}
}
{
// if (RegionHandler.PingImplementation != null)
Type_t * L_10 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PingImplementation_0();
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
bool L_11;
L_11 = Type_op_Inequality_m6DDC5E923203A79BF505F9275B694AD3FAA36DB0(L_10, (Type_t *)NULL, /*hidden argument*/NULL);
V_3 = L_11;
bool L_12 = V_3;
if (!L_12)
{
goto IL_005d;
}
}
{
// ping = (PhotonPing)Activator.CreateInstance(RegionHandler.PingImplementation);
Type_t * L_13 = ((RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_StaticFields*)il2cpp_codegen_static_fields_for(RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53_il2cpp_TypeInfo_var))->get_PingImplementation_0();
RuntimeObject * L_14;
L_14 = Activator_CreateInstance_m1BACAB5F4FBF138CCCB537DDCB0683A2AC064295(L_13, /*hidden argument*/NULL);
V_0 = ((PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D *)CastclassClass((RuntimeObject*)L_14, PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D_il2cpp_TypeInfo_var));
}
IL_005d:
{
}
IL_005e:
{
// return ping;
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_15 = V_0;
V_4 = L_15;
goto IL_0063;
}
IL_0063:
{
// }
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_16 = V_4;
return L_16;
}
}
// System.Boolean Photon.Realtime.RegionPinger::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionPinger_Start_mAA64B2B210595EB278EE982AEBC2BF3DA6AD319E (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_RegionPingPooled_mC411AB78EF6354181B0389C38383AF90D18AD625_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupportClass_t46830F4C99606EB80D0E3B11502460A06782A012_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2D1D849A8EF3D0DDA637B8ADA1554F7B578F1CC2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral50639CAD49418C7B223CC529395C0E2A3892501C);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
// string address = this.region.HostAndPort;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = __this->get_region_4();
NullCheck(L_0);
String_t* L_1;
L_1 = Region_get_HostAndPort_m53658E909B3162A56847A0309E67F29C6DE4E81A_inline(L_0, /*hidden argument*/NULL);
V_0 = L_1;
// int indexOfColon = address.LastIndexOf(':');
String_t* L_2 = V_0;
NullCheck(L_2);
int32_t L_3;
L_3 = String_LastIndexOf_m29D788F388576F13C5D522AD008A86859E5BA826(L_2, ((int32_t)58), /*hidden argument*/NULL);
V_1 = L_3;
// if (indexOfColon > 1)
int32_t L_4 = V_1;
V_3 = (bool)((((int32_t)L_4) > ((int32_t)1))? 1 : 0);
bool L_5 = V_3;
if (!L_5)
{
goto IL_0029;
}
}
{
// address = address.Substring(0, indexOfColon);
String_t* L_6 = V_0;
int32_t L_7 = V_1;
NullCheck(L_6);
String_t* L_8;
L_8 = String_Substring_m7A39A2AC0893AE940CF4CEC841326D56FFB9D86B(L_6, 0, L_7, /*hidden argument*/NULL);
V_0 = L_8;
}
IL_0029:
{
// this.regionAddress = ResolveHost(address);
String_t* L_9 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
String_t* L_10;
L_10 = RegionPinger_ResolveHost_m8B0710A79D5DEFE6F3B5F229E56016EA475938B2(L_9, /*hidden argument*/NULL);
__this->set_regionAddress_5(L_10);
// this.ping = this.GetPingImplementation();
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_11;
L_11 = RegionPinger_GetPingImplementation_mD044705B25DAADA26FDD2DF041AC7E0646844E3C(__this, /*hidden argument*/NULL);
__this->set_ping_9(L_11);
// this.Done = false;
RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline(__this, (bool)0, /*hidden argument*/NULL);
// this.CurrentAttempt = 0;
__this->set_CurrentAttempt_6(0);
// this.rttResults = new List<int>(Attempts);
int32_t L_12 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_Attempts_0();
List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * L_13 = (List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 *)il2cpp_codegen_object_new(List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7_il2cpp_TypeInfo_var);
List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91(L_13, L_12, /*hidden argument*/List_1__ctor_m2E6FAF166391779F0D33F6E8282BA71222DA1A91_RuntimeMethod_var);
__this->set_rttResults_10(L_13);
// bool queued = false;
V_2 = (bool)0;
}
IL_0062:
try
{ // begin try (depth: 1)
// queued = ThreadPool.QueueUserWorkItem(this.RegionPingPooled);
WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319 * L_14 = (WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319 *)il2cpp_codegen_object_new(WaitCallback_t82C85517E973DCC6390AFB0BC3C2276F3328A319_il2cpp_TypeInfo_var);
WaitCallback__ctor_m50EFFE5096DF1DE733EA9895CEEC8EB6F142D5D5(L_14, __this, (intptr_t)((intptr_t)RegionPinger_RegionPingPooled_mC411AB78EF6354181B0389C38383AF90D18AD625_RuntimeMethod_var), /*hidden argument*/NULL);
bool L_15;
L_15 = ThreadPool_QueueUserWorkItem_m76F5D0CD8F37E5D736F781049045AD9173E9A323(L_14, /*hidden argument*/NULL);
V_2 = L_15;
goto IL_007f;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0078;
}
throw e;
}
CATCH_0078:
{ // begin catch(System.Object)
// catch
// queued = false;
V_2 = (bool)0;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_007f;
} // end catch (depth: 1)
IL_007f:
{
// if (!queued)
bool L_16 = V_2;
V_4 = (bool)((((int32_t)L_16) == ((int32_t)0))? 1 : 0);
bool L_17 = V_4;
if (!L_17)
{
goto IL_00c3;
}
}
{
// SupportClass.StartBackgroundCalls(this.RegionPingThreaded, 0, "RegionPing_" + this.region.Code + "_" + this.region.Cluster);
Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F * L_18 = (Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F *)il2cpp_codegen_object_new(Func_1_t76FCDA5C58178ED310C472967481FDE5F47DCF0F_il2cpp_TypeInfo_var);
Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9(L_18, __this, (intptr_t)((intptr_t)RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3_RuntimeMethod_var), /*hidden argument*/Func_1__ctor_m16429CB52E95263F4C11AB13CF51474AFB25D1B9_RuntimeMethod_var);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_19 = __this->get_region_4();
NullCheck(L_19);
String_t* L_20;
L_20 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(L_19, /*hidden argument*/NULL);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_21 = __this->get_region_4();
NullCheck(L_21);
String_t* L_22;
L_22 = Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED_inline(L_21, /*hidden argument*/NULL);
String_t* L_23;
L_23 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(_stringLiteral2D1D849A8EF3D0DDA637B8ADA1554F7B578F1CC2, L_20, _stringLiteral50639CAD49418C7B223CC529395C0E2A3892501C, L_22, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(SupportClass_t46830F4C99606EB80D0E3B11502460A06782A012_il2cpp_TypeInfo_var);
uint8_t L_24;
L_24 = SupportClass_StartBackgroundCalls_m573BDED13F03AAE31CD4461421167D5241CE66FE(L_18, 0, L_23, /*hidden argument*/NULL);
}
IL_00c3:
{
// return true;
V_5 = (bool)1;
goto IL_00c8;
}
IL_00c8:
{
// }
bool L_25 = V_5;
return L_25;
}
}
// System.Void Photon.Realtime.RegionPinger::RegionPingPooled(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionPinger_RegionPingPooled_mC411AB78EF6354181B0389C38383AF90D18AD625 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, RuntimeObject * ___context0, const RuntimeMethod* method)
{
{
// this.RegionPingThreaded();
bool L_0;
L_0 = RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Boolean Photon.Realtime.RegionPinger::RegionPingThreaded()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RegionPinger_RegionPingThreaded_m908B3E683E7DA5511E0A8B28CA6D8FD230FD18C3 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
int32_t V_1 = 0;
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * V_2 = NULL;
bool V_3 = false;
int32_t V_4 = 0;
Exception_t * V_5 = NULL;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
Exception_t * G_B5_0 = NULL;
int32_t G_B5_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_3 = NULL;
Exception_t * G_B4_0 = NULL;
int32_t G_B4_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_3 = NULL;
int32_t G_B15_0 = 0;
int32_t G_B20_0 = 0;
{
// this.region.Ping = PingWhenFailed;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = __this->get_region_4();
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_1 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_PingWhenFailed_3();
NullCheck(L_0);
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(L_0, L_1, /*hidden argument*/NULL);
// float rttSum = 0.0f;
V_0 = (0.0f);
// int replyCount = 0;
V_1 = 0;
// Stopwatch sw = new Stopwatch();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_2 = (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)il2cpp_codegen_object_new(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
Stopwatch__ctor_mDE97B28A72294ABF18E6E9769086E202C3586CA7(L_2, /*hidden argument*/NULL);
V_2 = L_2;
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
__this->set_CurrentAttempt_6(0);
goto IL_016d;
}
IL_002c:
{
// bool overtime = false;
V_3 = (bool)0;
// sw.Reset();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_3 = V_2;
NullCheck(L_3);
Stopwatch_Reset_m79B1D65568465AE5B1A68EF3A2A65218590ABD14(L_3, /*hidden argument*/NULL);
// sw.Start();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_4 = V_2;
NullCheck(L_4);
Stopwatch_Start_mED237B2178B2075FAED706E2A38111496B28DBDE(L_4, /*hidden argument*/NULL);
}
IL_003d:
try
{ // begin try (depth: 1)
// this.ping.StartPing(this.regionAddress);
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_5 = __this->get_ping_9();
String_t* L_6 = __this->get_regionAddress_5();
NullCheck(L_5);
bool L_7;
L_7 = VirtFuncInvoker1< bool, String_t* >::Invoke(5 /* System.Boolean Photon.Realtime.PhotonPing::StartPing(System.String) */, L_5, L_6);
goto IL_00a9;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0053;
}
throw e;
}
CATCH_0053:
{ // begin catch(System.Exception)
{
// catch (Exception e)
V_5 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
// System.Diagnostics.Debug.WriteLine("RegionPinger.RegionPingThreaded() catched an exception for ping.StartPing(). Exception: " + e + " Source: " + e.Source + " Message: " + e.Message);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_8 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var)), (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_8;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral07FD03DD59FDAA80CC68099220C8227F2FA1CCFF)));
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral07FD03DD59FDAA80CC68099220C8227F2FA1CCFF)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
Exception_t * L_11 = V_5;
Exception_t * L_12 = L_11;
G_B4_0 = L_12;
G_B4_1 = 1;
G_B4_2 = L_10;
G_B4_3 = L_10;
if (L_12)
{
G_B5_0 = L_12;
G_B5_1 = 1;
G_B5_2 = L_10;
G_B5_3 = L_10;
goto IL_006f;
}
}
IL_006b:
{
G_B6_0 = ((String_t*)(NULL));
G_B6_1 = G_B4_1;
G_B6_2 = G_B4_2;
G_B6_3 = G_B4_3;
goto IL_0074;
}
IL_006f:
{
NullCheck(G_B5_0);
String_t* L_13;
L_13 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B5_0);
G_B6_0 = L_13;
G_B6_1 = G_B5_1;
G_B6_2 = G_B5_2;
G_B6_3 = G_B5_3;
}
IL_0074:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (String_t*)G_B6_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = G_B6_3;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4AC887B4E0A467A6BA01B455BC69AFA2A62EE8A1)));
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4AC887B4E0A467A6BA01B455BC69AFA2A62EE8A1)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = L_14;
Exception_t * L_16 = V_5;
NullCheck(L_16);
String_t* L_17;
L_17 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Exception::get_Source() */, L_16);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_17);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_17);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_18 = L_15;
NullCheck(L_18);
ArrayElementTypeCheck (L_18, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCCD622A0C172A17233733204AD188DD1F1207FAC)));
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCCD622A0C172A17233733204AD188DD1F1207FAC)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_19 = L_18;
Exception_t * L_20 = V_5;
NullCheck(L_20);
String_t* L_21;
L_21 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_20);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_21);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_21);
String_t* L_22;
L_22 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_19, /*hidden argument*/NULL);
Debug_WriteLine_m2B08D80ABA95E71F063FA07FB6BF1771C7799ED0(L_22, /*hidden argument*/NULL);
// break;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0183;
}
} // end catch (depth: 1)
IL_00a9:
{
goto IL_00d0;
}
IL_00ab:
{
// if (sw.ElapsedMilliseconds >= MaxMilliseconsPerPing)
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_23 = V_2;
NullCheck(L_23);
int64_t L_24;
L_24 = Stopwatch_get_ElapsedMilliseconds_m6A137C9E989F74F61752FA86BB41ABAEC2A11FB5(L_23, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_25 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_MaxMilliseconsPerPing_2();
V_6 = (bool)((((int32_t)((((int64_t)L_24) < ((int64_t)((int64_t)((int64_t)L_25))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_26 = V_6;
if (!L_26)
{
goto IL_00c8;
}
}
{
// overtime = true;
V_3 = (bool)1;
// break;
goto IL_00e4;
}
IL_00c8:
{
// System.Threading.Thread.Sleep(0);
Thread_Sleep_m8E61FC80BD38981CB18CA549909710790283DDCC(0, /*hidden argument*/NULL);
}
IL_00d0:
{
// while (!this.ping.Done())
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_27 = __this->get_ping_9();
NullCheck(L_27);
bool L_28;
L_28 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean Photon.Realtime.PhotonPing::Done() */, L_27);
V_7 = (bool)((((int32_t)L_28) == ((int32_t)0))? 1 : 0);
bool L_29 = V_7;
if (L_29)
{
goto IL_00ab;
}
}
IL_00e4:
{
// sw.Stop();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_30 = V_2;
NullCheck(L_30);
Stopwatch_Stop_mF6DEB63574AC382A681D1D8B9FFE56C1C806BE63(L_30, /*hidden argument*/NULL);
// int rtt = (int)sw.ElapsedMilliseconds;
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_31 = V_2;
NullCheck(L_31);
int64_t L_32;
L_32 = Stopwatch_get_ElapsedMilliseconds_m6A137C9E989F74F61752FA86BB41ABAEC2A11FB5(L_31, /*hidden argument*/NULL);
V_4 = ((int32_t)((int32_t)L_32));
// this.rttResults.Add(rtt);
List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * L_33 = __this->get_rttResults_10();
int32_t L_34 = V_4;
NullCheck(L_33);
List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F(L_33, L_34, /*hidden argument*/List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_RuntimeMethod_var);
// if (IgnoreInitialAttempt && this.CurrentAttempt == 0)
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
bool L_35 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_IgnoreInitialAttempt_1();
if (!L_35)
{
goto IL_0114;
}
}
{
int32_t L_36 = __this->get_CurrentAttempt_6();
G_B15_0 = ((((int32_t)L_36) == ((int32_t)0))? 1 : 0);
goto IL_0115;
}
IL_0114:
{
G_B15_0 = 0;
}
IL_0115:
{
V_8 = (bool)G_B15_0;
bool L_37 = V_8;
if (!L_37)
{
goto IL_011f;
}
}
{
goto IL_0156;
}
IL_011f:
{
// else if (this.ping.Successful && !overtime)
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_38 = __this->get_ping_9();
NullCheck(L_38);
bool L_39 = L_38->get_Successful_1();
if (!L_39)
{
goto IL_0132;
}
}
{
bool L_40 = V_3;
G_B20_0 = ((((int32_t)L_40) == ((int32_t)0))? 1 : 0);
goto IL_0133;
}
IL_0132:
{
G_B20_0 = 0;
}
IL_0133:
{
V_9 = (bool)G_B20_0;
bool L_41 = V_9;
if (!L_41)
{
goto IL_0156;
}
}
{
// rttSum += rtt;
float L_42 = V_0;
int32_t L_43 = V_4;
V_0 = ((float)il2cpp_codegen_add((float)L_42, (float)((float)((float)L_43))));
// replyCount++;
int32_t L_44 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)1));
// this.region.Ping = (int)((rttSum) / replyCount);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_45 = __this->get_region_4();
float L_46 = V_0;
int32_t L_47 = V_1;
NullCheck(L_45);
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(L_45, il2cpp_codegen_cast_double_to_int<int32_t>(((float)((float)L_46/(float)((float)((float)L_47))))), /*hidden argument*/NULL);
}
IL_0156:
{
// System.Threading.Thread.Sleep(10);
Thread_Sleep_m8E61FC80BD38981CB18CA549909710790283DDCC(((int32_t)10), /*hidden argument*/NULL);
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
int32_t L_48 = __this->get_CurrentAttempt_6();
__this->set_CurrentAttempt_6(((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)1)));
}
IL_016d:
{
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
int32_t L_49 = __this->get_CurrentAttempt_6();
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_50 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_Attempts_0();
V_10 = (bool)((((int32_t)L_49) < ((int32_t)L_50))? 1 : 0);
bool L_51 = V_10;
if (L_51)
{
goto IL_002c;
}
}
IL_0183:
{
// this.Done = true;
RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline(__this, (bool)1, /*hidden argument*/NULL);
// this.ping.Dispose();
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_52 = __this->get_ping_9();
NullCheck(L_52);
VirtActionInvoker0::Invoke(7 /* System.Void Photon.Realtime.PhotonPing::Dispose() */, L_52);
// this.onDoneCall(this.region);
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * L_53 = __this->get_onDoneCall_8();
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_54 = __this->get_region_4();
NullCheck(L_53);
Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675(L_53, L_54, /*hidden argument*/Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675_RuntimeMethod_var);
// return false;
V_11 = (bool)0;
goto IL_01ae;
}
IL_01ae:
{
// }
bool L_55 = V_11;
return L_55;
}
}
// System.Collections.IEnumerator Photon.Realtime.RegionPinger::RegionPingCoroutine()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* RegionPinger_RegionPingCoroutine_m44B7D148908FD67E29204DF47DCB2100731A2E1F (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * L_0 = (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B *)il2cpp_codegen_object_new(U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B_il2cpp_TypeInfo_var);
U3CRegionPingCoroutineU3Ed__19__ctor_m14AA75A055CB1DE9121DA55EEA505223CF5404D2(L_0, 0, /*hidden argument*/NULL);
U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * L_1 = L_0;
NullCheck(L_1);
L_1->set_U3CU3E4__this_2(__this);
return L_1;
}
}
// System.String Photon.Realtime.RegionPinger::GetResults()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionPinger_GetResults_mEED322C25127363B3875B4FF7C6EB0E272C266C6 (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC5C042EF0B89D7EEE23EC7B3EC0EEEDD3426C182);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format("{0}: {1} ({2})", this.region.Code, this.region.Ping, this.rttResults.ToStringFull());
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = __this->get_region_4();
NullCheck(L_0);
String_t* L_1;
L_1 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(L_0, /*hidden argument*/NULL);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_2 = __this->get_region_4();
NullCheck(L_2);
int32_t L_3;
L_3 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(L_2, /*hidden argument*/NULL);
int32_t L_4 = L_3;
RuntimeObject * L_5 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_4);
List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * L_6 = __this->get_rttResults_10();
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
String_t* L_7;
L_7 = Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1(L_6, /*hidden argument*/Extensions_ToStringFull_TisInt32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_mB7AF0777FB03BEA8978E74A1D017C0C811290EE1_RuntimeMethod_var);
String_t* L_8;
L_8 = String_Format_m039737CCD992C5BFC8D16DFD681F5E8786E87FA6(_stringLiteralC5C042EF0B89D7EEE23EC7B3EC0EEEDD3426C182, L_1, L_5, L_7, /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0034;
}
IL_0034:
{
// }
String_t* L_9 = V_0;
return L_9;
}
}
// System.String Photon.Realtime.RegionPinger::ResolveHost(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RegionPinger_ResolveHost_m8B0710A79D5DEFE6F3B5F229E56016EA475938B2 (String_t* ___hostName0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral574AF626B2ECA36F40D5D593643BB7683F9514E2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral875CF8A46A6E3F0725287DAF52B09AF91CB77C71);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
String_t* V_3 = NULL;
Exception_t * V_4 = NULL;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
Exception_t * G_B8_0 = NULL;
int32_t G_B8_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B8_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B8_3 = NULL;
Exception_t * G_B7_0 = NULL;
int32_t G_B7_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B7_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B7_3 = NULL;
String_t* G_B9_0 = NULL;
int32_t G_B9_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B9_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B9_3 = NULL;
{
// if (hostName.StartsWith("wss://"))
String_t* L_0 = ___hostName0;
NullCheck(L_0);
bool L_1;
L_1 = String_StartsWith_mDE2FF98CAFFD13F88EDEB6C40158DDF840BFCF12(L_0, _stringLiteral574AF626B2ECA36F40D5D593643BB7683F9514E2, /*hidden argument*/NULL);
V_1 = L_1;
bool L_2 = V_1;
if (!L_2)
{
goto IL_001b;
}
}
{
// hostName = hostName.Substring(6);
String_t* L_3 = ___hostName0;
NullCheck(L_3);
String_t* L_4;
L_4 = String_Substring_mB6B87FD76552BBF6D4E2B9F07F857FE051DCE190(L_3, 6, /*hidden argument*/NULL);
___hostName0 = L_4;
}
IL_001b:
{
// if (hostName.StartsWith("ws://"))
String_t* L_5 = ___hostName0;
NullCheck(L_5);
bool L_6;
L_6 = String_StartsWith_mDE2FF98CAFFD13F88EDEB6C40158DDF840BFCF12(L_5, _stringLiteral875CF8A46A6E3F0725287DAF52B09AF91CB77C71, /*hidden argument*/NULL);
V_2 = L_6;
bool L_7 = V_2;
if (!L_7)
{
goto IL_0035;
}
}
{
// hostName = hostName.Substring(5);
String_t* L_8 = ___hostName0;
NullCheck(L_8);
String_t* L_9;
L_9 = String_Substring_mB6B87FD76552BBF6D4E2B9F07F857FE051DCE190(L_8, 5, /*hidden argument*/NULL);
___hostName0 = L_9;
}
IL_0035:
{
// string ipv4Address = string.Empty;
String_t* L_10 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
V_0 = L_10;
}
IL_003b:
try
{ // begin try (depth: 1)
// return hostName;
String_t* L_11 = ___hostName0;
V_3 = L_11;
goto IL_0098;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0040;
}
throw e;
}
CATCH_0040:
{ // begin catch(System.Exception)
{
// catch (System.Exception e)
V_4 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
// System.Diagnostics.Debug.WriteLine("RegionPinger.ResolveHost() catched an exception for Dns.GetHostAddresses(). Exception: " + e + " Source: " + e.Source + " Message: " + e.Message);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_12 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var)), (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_13 = L_12;
NullCheck(L_13);
ArrayElementTypeCheck (L_13, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1DC8F452741B98B4EDFFC344FFF572F7D4862E33)));
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral1DC8F452741B98B4EDFFC344FFF572F7D4862E33)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = L_13;
Exception_t * L_15 = V_4;
Exception_t * L_16 = L_15;
G_B7_0 = L_16;
G_B7_1 = 1;
G_B7_2 = L_14;
G_B7_3 = L_14;
if (L_16)
{
G_B8_0 = L_16;
G_B8_1 = 1;
G_B8_2 = L_14;
G_B8_3 = L_14;
goto IL_005c;
}
}
IL_0058:
{
G_B9_0 = ((String_t*)(NULL));
G_B9_1 = G_B7_1;
G_B9_2 = G_B7_2;
G_B9_3 = G_B7_3;
goto IL_0061;
}
IL_005c:
{
NullCheck(G_B8_0);
String_t* L_17;
L_17 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B8_0);
G_B9_0 = L_17;
G_B9_1 = G_B8_1;
G_B9_2 = G_B8_2;
G_B9_3 = G_B8_3;
}
IL_0061:
{
NullCheck(G_B9_2);
ArrayElementTypeCheck (G_B9_2, G_B9_0);
(G_B9_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B9_1), (String_t*)G_B9_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_18 = G_B9_3;
NullCheck(L_18);
ArrayElementTypeCheck (L_18, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4AC887B4E0A467A6BA01B455BC69AFA2A62EE8A1)));
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral4AC887B4E0A467A6BA01B455BC69AFA2A62EE8A1)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_19 = L_18;
Exception_t * L_20 = V_4;
NullCheck(L_20);
String_t* L_21;
L_21 = VirtFuncInvoker0< String_t* >::Invoke(9 /* System.String System.Exception::get_Source() */, L_20);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_21);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)L_21);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_22 = L_19;
NullCheck(L_22);
ArrayElementTypeCheck (L_22, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCCD622A0C172A17233733204AD188DD1F1207FAC)));
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCCD622A0C172A17233733204AD188DD1F1207FAC)));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_23 = L_22;
Exception_t * L_24 = V_4;
NullCheck(L_24);
String_t* L_25;
L_25 = VirtFuncInvoker0< String_t* >::Invoke(5 /* System.String System.Exception::get_Message() */, L_24);
NullCheck(L_23);
ArrayElementTypeCheck (L_23, L_25);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)L_25);
String_t* L_26;
L_26 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_23, /*hidden argument*/NULL);
Debug_WriteLine_m2B08D80ABA95E71F063FA07FB6BF1771C7799ED0(L_26, /*hidden argument*/NULL);
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0094;
}
} // end catch (depth: 1)
IL_0094:
{
// return ipv4Address;
String_t* L_27 = V_0;
V_3 = L_27;
goto IL_0098;
}
IL_0098:
{
// }
String_t* L_28 = V_3;
return L_28;
}
}
// System.Void Photon.Realtime.RegionPinger::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RegionPinger__cctor_m7AC9F256FC1E40EEF9A17C3DE800B1FD5BD508D2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public static int Attempts = 5;
((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->set_Attempts_0(5);
// public static bool IgnoreInitialAttempt = true;
((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->set_IgnoreInitialAttempt_1((bool)1);
// public static int MaxMilliseconsPerPing = 800; // enter a value you're sure some server can beat (have a lower rtt)
((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->set_MaxMilliseconsPerPing_2(((int32_t)800));
// public static int PingWhenFailed = Attempts * MaxMilliseconsPerPing;
int32_t L_0 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_Attempts_0();
int32_t L_1 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_MaxMilliseconsPerPing_2();
((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->set_PingWhenFailed_3(((int32_t)il2cpp_codegen_multiply((int32_t)L_0, (int32_t)L_1)));
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.Realtime.LoadBalancingClient Photon.Realtime.Room::get_LoadBalancingClient()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public LoadBalancingClient LoadBalancingClient { get; set; }
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_U3CLoadBalancingClientU3Ek__BackingField_13();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_LoadBalancingClient(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_LoadBalancingClient_mB992F691DD20071D4DCFCD4B1C75DDC6E5DEC08F (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___value0, const RuntimeMethod* method)
{
{
// public LoadBalancingClient LoadBalancingClient { get; set; }
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = ___value0;
__this->set_U3CLoadBalancingClientU3Ek__BackingField_13(L_0);
return;
}
}
// System.String Photon.Realtime.Room::get_Name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Room_get_Name_m9EE3395DABAA77129F548CA4DA04D955A15E5743 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
// return this.name;
String_t* L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_name_9();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_Name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_Name_m64226046ECBDC5FA971D898927C334A6B5CC89A5 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// this.name = value;
String_t* L_0 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_name_9(L_0);
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::get_IsOffline()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_IsOffline_mEC1F44A8B7A31D12F3C7D979A62FB16EBB09B591 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return isOffline;
bool L_0 = __this->get_isOffline_14();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_IsOffline(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_IsOffline_mD5D4262269B87EDA4B843F8675EA98F17FF56C93 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// isOffline = value;
bool L_0 = ___value0;
__this->set_isOffline_14(L_0);
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::get_IsOpen()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_IsOpen_m73F5FA9634ACBC624CA606012DABEAF5D141C73C (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return this.isOpen;
bool L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isOpen_6();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_IsOpen(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_IsOpen_mE080FA9EF98A4CC9619FF11D1BC34EBC58934DBE (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (value != this.isOpen)
bool L_0 = ___value0;
bool L_1 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isOpen_6();
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0047;
}
}
{
// if (!this.isOffline)
bool L_3 = __this->get_isOffline_14();
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0046;
}
}
{
// this.LoadBalancingClient.OpSetPropertiesOfRoom(new Hashtable() { { GamePropertyKey.IsOpen, value } });
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_6 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_6, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = L_6;
bool L_8 = ___value0;
bool L_9 = L_8;
RuntimeObject * L_10 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_7, (uint8_t)((int32_t)253), L_10, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_11;
L_11 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_5, L_7, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
}
IL_0046:
{
}
IL_0047:
{
// this.isOpen = value;
bool L_12 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_isOpen_6(L_12);
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::get_IsVisible()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_IsVisible_m66006F2873B3F9F9C515ACC47A74A083BD304821 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return this.isVisible;
bool L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isVisible_7();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_IsVisible(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_IsVisible_m510A9E032614BC912B2B6BD3CEA0617241883972 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (value != this.isVisible)
bool L_0 = ___value0;
bool L_1 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isVisible_7();
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0047;
}
}
{
// if (!this.isOffline)
bool L_3 = __this->get_isOffline_14();
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0046;
}
}
{
// this.LoadBalancingClient.OpSetPropertiesOfRoom(new Hashtable() { { GamePropertyKey.IsVisible, value } });
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_6 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_6, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = L_6;
bool L_8 = ___value0;
bool L_9 = L_8;
RuntimeObject * L_10 = Box(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_7, (uint8_t)((int32_t)254), L_10, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_11;
L_11 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_5, L_7, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
}
IL_0046:
{
}
IL_0047:
{
// this.isVisible = value;
bool L_12 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_isVisible_7(L_12);
// }
return;
}
}
// System.Byte Photon.Realtime.Room::get_MaxPlayers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Room_get_MaxPlayers_m993971760C8EFD49F8B2DC7A897E58550C5A616A (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
uint8_t V_0 = 0x0;
{
// return this.maxPlayers;
uint8_t L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_maxPlayers_2();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
uint8_t L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_MaxPlayers(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_MaxPlayers_mF27B42C23C349C9038845BAE66B77832CD3F50AA (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, uint8_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (value != this.maxPlayers)
uint8_t L_0 = ___value0;
uint8_t L_1 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_maxPlayers_2();
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0047;
}
}
{
// if (!this.isOffline)
bool L_3 = __this->get_isOffline_14();
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0046;
}
}
{
// this.LoadBalancingClient.OpSetPropertiesOfRoom(new Hashtable() { { GamePropertyKey.MaxPlayers, value } });
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_6 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_6, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = L_6;
uint8_t L_8 = ___value0;
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_7, (uint8_t)((int32_t)255), L_10, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_11;
L_11 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_5, L_7, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
}
IL_0046:
{
}
IL_0047:
{
// this.maxPlayers = value;
uint8_t L_12 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_maxPlayers_2(L_12);
// }
return;
}
}
// System.Byte Photon.Realtime.Room::get_PlayerCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Room_get_PlayerCount_mEDD8EA093DF8DC8D1D8B0DBED09A2DA2EFCF364E (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
uint8_t V_1 = 0x0;
{
// if (this.Players == null)
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0;
L_0 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
V_0 = (bool)((((RuntimeObject*)(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0013;
}
}
{
// return 0;
V_1 = (uint8_t)0;
goto IL_0022;
}
IL_0013:
{
// return (byte)this.Players.Count;
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_2;
L_2 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3;
L_3 = Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9(L_2, /*hidden argument*/Dictionary_2_get_Count_mE97A130FBBB78E3A6808613FF6EECAA42EF30AD9_RuntimeMethod_var);
V_1 = (uint8_t)((int32_t)((uint8_t)L_3));
goto IL_0022;
}
IL_0022:
{
// }
uint8_t L_4 = V_1;
return L_4;
}
}
// System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player> Photon.Realtime.Room::get_Players()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * V_0 = NULL;
{
// return this.players;
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0 = __this->get_players_15();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_Players(System.Collections.Generic.Dictionary`2<System.Int32,Photon.Realtime.Player>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_Players_m87720ECC963CDB0FEDC94375C28BA271813B8556 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * ___value0, const RuntimeMethod* method)
{
{
// this.players = value;
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0 = ___value0;
__this->set_players_15(L_0);
// }
return;
}
}
// System.String[] Photon.Realtime.Room::get_ExpectedUsers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_0 = NULL;
{
// get { return this.expectedUsers; }
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_expectedUsers_5();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return this.expectedUsers; }
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = V_0;
return L_1;
}
}
// System.Int32 Photon.Realtime.Room::get_PlayerTtl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Room_get_PlayerTtl_m4CF7BF303EDC9C49B7C0144C0CE6F78FE0AC1562 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// get { return this.playerTtl; }
int32_t L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_playerTtl_4();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return this.playerTtl; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_PlayerTtl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_PlayerTtl_mE321157E2D3EA904309C33083DFDB3807F0FB7A9 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (value != this.playerTtl)
int32_t L_0 = ___value0;
int32_t L_1 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_playerTtl_4();
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0039;
}
}
{
// if (!this.isOffline)
bool L_3 = __this->get_isOffline_14();
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0038;
}
}
{
// this.LoadBalancingClient.OpSetPropertyOfRoom(GamePropertyKey.PlayerTtl, value); // TODO: implement Offline Mode
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
int32_t L_6 = ___value0;
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
bool L_9;
L_9 = LoadBalancingClient_OpSetPropertyOfRoom_mFAF6C9C61B7D06F90426805522BA1A4D5AAA6197(L_5, (uint8_t)((int32_t)246), L_8, /*hidden argument*/NULL);
}
IL_0038:
{
}
IL_0039:
{
// this.playerTtl = value;
int32_t L_10 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_playerTtl_4(L_10);
// }
return;
}
}
// System.Int32 Photon.Realtime.Room::get_EmptyRoomTtl()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Room_get_EmptyRoomTtl_mADC5E5F446598CA88045EC84BBFC20C00BE586A0 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// get { return this.emptyRoomTtl; }
int32_t L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_emptyRoomTtl_3();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return this.emptyRoomTtl; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_EmptyRoomTtl(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_EmptyRoomTtl_m4AFCE0B5A83B63E4C773047BACA155AF734EC328 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (value != this.emptyRoomTtl)
int32_t L_0 = ___value0;
int32_t L_1 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_emptyRoomTtl_3();
V_0 = (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0039;
}
}
{
// if (!this.isOffline)
bool L_3 = __this->get_isOffline_14();
V_1 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_0038;
}
}
{
// this.LoadBalancingClient.OpSetPropertyOfRoom(GamePropertyKey.EmptyRoomTtl, value); // TODO: implement Offline Mode
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
int32_t L_6 = ___value0;
int32_t L_7 = L_6;
RuntimeObject * L_8 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_7);
NullCheck(L_5);
bool L_9;
L_9 = LoadBalancingClient_OpSetPropertyOfRoom_mFAF6C9C61B7D06F90426805522BA1A4D5AAA6197(L_5, (uint8_t)((int32_t)245), L_8, /*hidden argument*/NULL);
}
IL_0038:
{
}
IL_0039:
{
// this.emptyRoomTtl = value;
int32_t L_10 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_emptyRoomTtl_3(L_10);
// }
return;
}
}
// System.Int32 Photon.Realtime.Room::get_MasterClientId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Room_get_MasterClientId_m8C3C4A530CB248B2233AE6B4B077E3A513F13A98 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// public int MasterClientId { get { return this.masterClientId; } }
int32_t L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_masterClientId_10();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// public int MasterClientId { get { return this.masterClientId; } }
int32_t L_1 = V_0;
return L_1;
}
}
// System.String[] Photon.Realtime.Room::get_PropertiesListedInLobby()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* Room_get_PropertiesListedInLobby_mF51299A8C7055A117319924F73C623D782B9DA2E (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* V_0 = NULL;
{
// return this.propertiesListedInLobby;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_propertiesListedInLobby_11();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.Room::set_PropertiesListedInLobby(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_PropertiesListedInLobby_mEF3EDC665C9284D75F00449C6509E53B71B9E395 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___value0, const RuntimeMethod* method)
{
{
// this.propertiesListedInLobby = value;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ___value0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_propertiesListedInLobby_11(L_0);
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::get_AutoCleanUp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_AutoCleanUp_mB42C71BE0CB3C96B5ADB8EF0504611B91DF87EF8 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return this.autoCleanUp;
bool L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_autoCleanUp_8();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean Photon.Realtime.Room::get_BroadcastPropertiesChangeToAll()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_BroadcastPropertiesChangeToAll_m4B7FA72C87C7CC054A6850A13D6B94E7C98607B3 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public bool BroadcastPropertiesChangeToAll { get; private set; }
bool L_0 = __this->get_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_BroadcastPropertiesChangeToAll(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_BroadcastPropertiesChangeToAll_m713CA7B925BE579DE672122E90F710AC20C0FCB6 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool BroadcastPropertiesChangeToAll { get; private set; }
bool L_0 = ___value0;
__this->set_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Room::get_SuppressRoomEvents()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_SuppressRoomEvents_m67A72242D46E3F650674960E2F074E0689173721 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public bool SuppressRoomEvents { get; private set; }
bool L_0 = __this->get_U3CSuppressRoomEventsU3Ek__BackingField_17();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_SuppressRoomEvents(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_SuppressRoomEvents_m9DA2FAD43288E82D574C683A771B07AF5CEC1748 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressRoomEvents { get; private set; }
bool L_0 = ___value0;
__this->set_U3CSuppressRoomEventsU3Ek__BackingField_17(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Room::get_SuppressPlayerInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_SuppressPlayerInfo_m97C336FD4C96D6E0DA5D1FCFE3835B5971CE0D13 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public bool SuppressPlayerInfo { get; private set; }
bool L_0 = __this->get_U3CSuppressPlayerInfoU3Ek__BackingField_18();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_SuppressPlayerInfo(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_SuppressPlayerInfo_m754DBACBDFA2A9B6C54FD4CF3B6F1BFAB3B5CBA9 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressPlayerInfo { get; private set; }
bool L_0 = ___value0;
__this->set_U3CSuppressPlayerInfoU3Ek__BackingField_18(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Room::get_PublishUserId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_PublishUserId_m1336BE536E3B64281094AE8BE706A2A855A55AB9 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public bool PublishUserId { get; private set; }
bool L_0 = __this->get_U3CPublishUserIdU3Ek__BackingField_19();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_PublishUserId(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_PublishUserId_m06E6C6526F77CD919006270A70E57CCA86AD0994 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool PublishUserId { get; private set; }
bool L_0 = ___value0;
__this->set_U3CPublishUserIdU3Ek__BackingField_19(L_0);
return;
}
}
// System.Boolean Photon.Realtime.Room::get_DeleteNullProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_get_DeleteNullProperties_m358FB88E9F28F7EED098B5DF820CED0F0C10DBB3 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public bool DeleteNullProperties { get; private set; }
bool L_0 = __this->get_U3CDeleteNullPropertiesU3Ek__BackingField_20();
return L_0;
}
}
// System.Void Photon.Realtime.Room::set_DeleteNullProperties(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_set_DeleteNullProperties_m315E369F1958F04D18024D1A004E86C29C591523 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool DeleteNullProperties { get; private set; }
bool L_0 = ___value0;
__this->set_U3CDeleteNullPropertiesU3Ek__BackingField_20(L_0);
return;
}
}
// System.Void Photon.Realtime.Room::.ctor(System.String,Photon.Realtime.RoomOptions,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room__ctor_m2B5BE1A8907CFBF8FD70FCE915F38D7F98457F7A (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, String_t* ___roomName0, RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * ___options1, bool ___isOffline2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m509E785E52A1C3861A9831F55E46B4095C2B2D1A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
String_t* G_B2_0 = NULL;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B2_1 = NULL;
String_t* G_B1_0 = NULL;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B1_1 = NULL;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * G_B3_0 = NULL;
String_t* G_B3_1 = NULL;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B3_2 = NULL;
{
// private Dictionary<int, Player> players = new Dictionary<int, Player>();
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0 = (Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B *)il2cpp_codegen_object_new(Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B_il2cpp_TypeInfo_var);
Dictionary_2__ctor_m509E785E52A1C3861A9831F55E46B4095C2B2D1A(L_0, /*hidden argument*/Dictionary_2__ctor_m509E785E52A1C3861A9831F55E46B4095C2B2D1A_RuntimeMethod_var);
__this->set_players_15(L_0);
// public Room(string roomName, RoomOptions options, bool isOffline = false) : base(roomName, options != null ? options.CustomRoomProperties : null)
String_t* L_1 = ___roomName0;
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_2 = ___options1;
G_B1_0 = L_1;
G_B1_1 = __this;
if (L_2)
{
G_B2_0 = L_1;
G_B2_1 = __this;
goto IL_0013;
}
}
{
G_B3_0 = ((Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)(NULL));
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
goto IL_0019;
}
IL_0013:
{
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_3 = ___options1;
NullCheck(L_3);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = L_3->get_CustomRoomProperties_6();
G_B3_0 = L_4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
}
IL_0019:
{
NullCheck(G_B3_2);
RoomInfo__ctor_m84B216343DC3F6F01B7FD2690DF871E565A52FAA(G_B3_2, G_B3_1, G_B3_0, /*hidden argument*/NULL);
// if (options != null)
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_5 = ___options1;
V_0 = (bool)((!(((RuntimeObject*)(RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F *)L_5) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_6 = V_0;
if (!L_6)
{
goto IL_005a;
}
}
{
// this.isVisible = options.IsVisible;
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_7 = ___options1;
NullCheck(L_7);
bool L_8;
L_8 = RoomOptions_get_IsVisible_m5EC778AE095E58AFA3A9D52F267F85A65A732E0E(L_7, /*hidden argument*/NULL);
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_isVisible_7(L_8);
// this.isOpen = options.IsOpen;
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_9 = ___options1;
NullCheck(L_9);
bool L_10;
L_10 = RoomOptions_get_IsOpen_mFDA9D97177BC7D1DF5A742640881012C1C22BEF4(L_9, /*hidden argument*/NULL);
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_isOpen_6(L_10);
// this.maxPlayers = options.MaxPlayers;
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_11 = ___options1;
NullCheck(L_11);
uint8_t L_12 = L_11->get_MaxPlayers_2();
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_maxPlayers_2(L_12);
// this.propertiesListedInLobby = options.CustomRoomPropertiesForLobby;
RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * L_13 = ___options1;
NullCheck(L_13);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = L_13->get_CustomRoomPropertiesForLobby_7();
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_propertiesListedInLobby_11(L_14);
}
IL_005a:
{
// this.isOffline = isOffline;
bool L_15 = ___isOffline2;
__this->set_isOffline_14(L_15);
// }
return;
}
}
// System.Void Photon.Realtime.Room::InternalCacheRoomFlags(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_InternalCacheRoomFlags_mF32E426E264F5B11FFCD3C67D1CAC11C03A234AC (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, int32_t ___roomFlags0, const RuntimeMethod* method)
{
{
// this.BroadcastPropertiesChangeToAll = (roomFlags & (int)RoomOptionBit.BroadcastPropsChangeToAll) != 0;
int32_t L_0 = ___roomFlags0;
Room_set_BroadcastPropertiesChangeToAll_m713CA7B925BE579DE672122E90F710AC20C0FCB6_inline(__this, (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)32)))) <= ((uint32_t)0)))? 1 : 0), /*hidden argument*/NULL);
// this.SuppressRoomEvents = (roomFlags & (int)RoomOptionBit.SuppressRoomEvents) != 0;
int32_t L_1 = ___roomFlags0;
Room_set_SuppressRoomEvents_m9DA2FAD43288E82D574C683A771B07AF5CEC1748_inline(__this, (bool)((!(((uint32_t)((int32_t)((int32_t)L_1&(int32_t)4))) <= ((uint32_t)0)))? 1 : 0), /*hidden argument*/NULL);
// this.SuppressPlayerInfo = (roomFlags & (int)RoomOptionBit.SuppressPlayerInfo) != 0;
int32_t L_2 = ___roomFlags0;
Room_set_SuppressPlayerInfo_m754DBACBDFA2A9B6C54FD4CF3B6F1BFAB3B5CBA9_inline(__this, (bool)((!(((uint32_t)((int32_t)((int32_t)L_2&(int32_t)((int32_t)64)))) <= ((uint32_t)0)))? 1 : 0), /*hidden argument*/NULL);
// this.PublishUserId = (roomFlags & (int)RoomOptionBit.PublishUserId) != 0;
int32_t L_3 = ___roomFlags0;
Room_set_PublishUserId_m06E6C6526F77CD919006270A70E57CCA86AD0994_inline(__this, (bool)((!(((uint32_t)((int32_t)((int32_t)L_3&(int32_t)8))) <= ((uint32_t)0)))? 1 : 0), /*hidden argument*/NULL);
// this.DeleteNullProperties = (roomFlags & (int)RoomOptionBit.DeleteNullProps) != 0;
int32_t L_4 = ___roomFlags0;
Room_set_DeleteNullProperties_m315E369F1958F04D18024D1A004E86C29C591523_inline(__this, (bool)((!(((uint32_t)((int32_t)((int32_t)L_4&(int32_t)((int32_t)16)))) <= ((uint32_t)0)))? 1 : 0), /*hidden argument*/NULL);
// this.autoCleanUp = (roomFlags & (int)RoomOptionBit.DeleteCacheOnLeave) != 0;
int32_t L_5 = ___roomFlags0;
((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->set_autoCleanUp_8((bool)((!(((uint32_t)((int32_t)((int32_t)L_5&(int32_t)2))) <= ((uint32_t)0)))? 1 : 0));
// }
return;
}
}
// System.Void Photon.Realtime.Room::InternalCacheProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_InternalCacheProperties_m52B161A637DDF04FAE32C186B0D95D9F5DDC3A93 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesToCache0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// int oldMasterId = this.masterClientId;
int32_t L_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_masterClientId_10();
V_0 = L_0;
// base.InternalCacheProperties(propertiesToCache); // important: updating the properties fields has no way to do callbacks on change
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___propertiesToCache0;
RoomInfo_InternalCacheProperties_mEC773D375C84B9084DCFB9B36528D89D859E2729(__this, L_1, /*hidden argument*/NULL);
// if (oldMasterId != 0 && this.masterClientId != oldMasterId)
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0021;
}
}
{
int32_t L_3 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_masterClientId_10();
int32_t L_4 = V_0;
G_B3_0 = ((((int32_t)((((int32_t)L_3) == ((int32_t)L_4))? 1 : 0)) == ((int32_t)0))? 1 : 0);
goto IL_0022;
}
IL_0021:
{
G_B3_0 = 0;
}
IL_0022:
{
V_1 = (bool)G_B3_0;
bool L_5 = V_1;
if (!L_5)
{
goto IL_0046;
}
}
{
// this.LoadBalancingClient.InRoomCallbackTargets.OnMasterClientSwitched(this.GetPlayer(this.masterClientId));
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_6;
L_6 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
NullCheck(L_6);
InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * L_7 = L_6->get_InRoomCallbackTargets_25();
int32_t L_8 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_masterClientId_10();
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_9;
L_9 = VirtFuncInvoker2< Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *, int32_t, bool >::Invoke(10 /* Photon.Realtime.Player Photon.Realtime.Room::GetPlayer(System.Int32,System.Boolean) */, __this, L_8, (bool)0);
NullCheck(L_7);
InRoomCallbacksContainer_OnMasterClientSwitched_m5C0C3207DD755226FA3A19CA395B28933548EBA0(L_7, L_9, /*hidden argument*/NULL);
}
IL_0046:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::SetCustomProperties(ExitGames.Client.Photon.Hashtable,ExitGames.Client.Photon.Hashtable,Photon.Realtime.WebFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetCustomProperties_m74A83BD965491F96645FCCA3340386AD48CB140A (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesToSet0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___expectedProperties1, WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * ___webFlags2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
int32_t G_B3_0 = 0;
{
// if (propertiesToSet == null || propertiesToSet.Count == 0)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___propertiesToSet0;
if (!L_0)
{
goto IL_000f;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___propertiesToSet0;
NullCheck(L_1);
int32_t L_2;
L_2 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_1, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_0010;
}
IL_000f:
{
G_B3_0 = 1;
}
IL_0010:
{
V_1 = (bool)G_B3_0;
bool L_3 = V_1;
if (!L_3)
{
goto IL_0019;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_0083;
}
IL_0019:
{
// Hashtable customProps = propertiesToSet.StripToStringKeys() as Hashtable;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = ___propertiesToSet0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_5;
L_5 = Extensions_StripToStringKeys_m7F7CF8264ACB77CD5DA69931C598055AE91A89C3(L_4, /*hidden argument*/NULL);
V_0 = L_5;
// if (this.isOffline)
bool L_6 = __this->get_isOffline_14();
V_3 = L_6;
bool L_7 = V_3;
if (!L_7)
{
goto IL_006d;
}
}
{
// if (customProps.Count == 0)
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_8 = V_0;
NullCheck(L_8);
int32_t L_9;
L_9 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_8, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
V_4 = (bool)((((int32_t)L_9) == ((int32_t)0))? 1 : 0);
bool L_10 = V_4;
if (!L_10)
{
goto IL_003f;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_0083;
}
IL_003f:
{
// this.CustomProperties.Merge(customProps);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_11;
L_11 = RoomInfo_get_CustomProperties_mEBEAFF1C1A2F91CD29703A18FF44E10D58701FEE(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_12 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Extensions_Merge_m30D0B2F3322E82BAAA1958DD88BC7301DCFFB3D5(L_11, L_12, /*hidden argument*/NULL);
// this.CustomProperties.StripKeysWithNullValues();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_13;
L_13 = RoomInfo_get_CustomProperties_mEBEAFF1C1A2F91CD29703A18FF44E10D58701FEE(__this, /*hidden argument*/NULL);
Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B(L_13, /*hidden argument*/NULL);
// this.LoadBalancingClient.InRoomCallbackTargets.OnRoomPropertiesUpdate(propertiesToSet);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_14;
L_14 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
NullCheck(L_14);
InRoomCallbacksContainer_t937E33ABD47322AD796459C24582B20FB2CD90F0 * L_15 = L_14->get_InRoomCallbackTargets_25();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_16 = ___propertiesToSet0;
NullCheck(L_15);
InRoomCallbacksContainer_OnRoomPropertiesUpdate_m1A142EC845C5FCAE96FFA97F5322857F50824EC1(L_15, L_16, /*hidden argument*/NULL);
goto IL_007f;
}
IL_006d:
{
// return this.LoadBalancingClient.OpSetPropertiesOfRoom(customProps, expectedProperties, webFlags);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_17;
L_17 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_18 = V_0;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_19 = ___expectedProperties1;
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * L_20 = ___webFlags2;
NullCheck(L_17);
bool L_21;
L_21 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_17, L_18, L_19, L_20, /*hidden argument*/NULL);
V_2 = L_21;
goto IL_0083;
}
IL_007f:
{
// return true;
V_2 = (bool)1;
goto IL_0083;
}
IL_0083:
{
// }
bool L_22 = V_2;
return L_22;
}
}
// System.Boolean Photon.Realtime.Room::SetPropertiesListedInLobby(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetPropertiesListedInLobby_mECA3C6A3278E05E8214A36ACF297D3A4E3B12881 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___lobbyProps0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
{
// if (this.isOffline)
bool L_0 = __this->get_isOffline_14();
V_1 = L_0;
bool L_1 = V_1;
if (!L_1)
{
goto IL_0010;
}
}
{
// return false;
V_2 = (bool)0;
goto IL_0034;
}
IL_0010:
{
// Hashtable customProps = new Hashtable();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_2 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_2, /*hidden argument*/NULL);
V_0 = L_2;
// customProps[GamePropertyKey.PropsListedInLobby] = lobbyProps;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_3 = V_0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = ___lobbyProps0;
NullCheck(L_3);
Hashtable_set_Item_m9B46CD960DB297C2BC7A72B2A866026F47993A46(L_3, (uint8_t)((int32_t)250), (RuntimeObject *)(RuntimeObject *)L_4, /*hidden argument*/NULL);
// return this.LoadBalancingClient.OpSetPropertiesOfRoom(customProps);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5;
L_5 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_6 = V_0;
NullCheck(L_5);
bool L_7;
L_7 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_5, L_6, (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
V_2 = L_7;
goto IL_0034;
}
IL_0034:
{
// }
bool L_8 = V_2;
return L_8;
}
}
// System.Void Photon.Realtime.Room::RemovePlayer(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_RemovePlayer_m0361DD1210BF18D24FB285BBD633C371605A2CCF (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Remove_m5B30EAC7849BFA06D84BA702A294CFE6294AA0C5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// this.Players.Remove(player.ActorNumber);
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0;
L_0 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___player0;
NullCheck(L_1);
int32_t L_2;
L_2 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(L_1, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_3;
L_3 = Dictionary_2_Remove_m5B30EAC7849BFA06D84BA702A294CFE6294AA0C5(L_0, L_2, /*hidden argument*/Dictionary_2_Remove_m5B30EAC7849BFA06D84BA702A294CFE6294AA0C5_RuntimeMethod_var);
// player.RoomReference = null;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_4 = ___player0;
NullCheck(L_4);
Player_set_RoomReference_m0181097B3E0D62C1802A2AD808240BF7378D9577_inline(L_4, (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D *)NULL, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.Room::RemovePlayer(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Room_RemovePlayer_m844F888EFD666B69958E65F2E3337C508EB1D808 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, int32_t ___id0, const RuntimeMethod* method)
{
{
// this.RemovePlayer(this.GetPlayer(id));
int32_t L_0 = ___id0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1;
L_1 = VirtFuncInvoker2< Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *, int32_t, bool >::Invoke(10 /* Photon.Realtime.Player Photon.Realtime.Room::GetPlayer(System.Int32,System.Boolean) */, __this, L_0, (bool)0);
VirtActionInvoker1< Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * >::Invoke(6 /* System.Void Photon.Realtime.Room::RemovePlayer(Photon.Realtime.Player) */, __this, L_1);
// }
return;
}
}
// System.Boolean Photon.Realtime.Room::SetMasterClient(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetMasterClient_mE4231CB8758141BE9088DB4D964398BA54B879B7 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___masterClientPlayer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
{
// if (this.isOffline)
bool L_0 = __this->get_isOffline_14();
V_2 = L_0;
bool L_1 = V_2;
if (!L_1)
{
goto IL_0010;
}
}
{
// return false;
V_3 = (bool)0;
goto IL_005b;
}
IL_0010:
{
// Hashtable newProps = new Hashtable() { { GamePropertyKey.MasterClientId, masterClientPlayer.ActorNumber } };
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_2 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_2, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_3 = L_2;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_4 = ___masterClientPlayer0;
NullCheck(L_4);
int32_t L_5;
L_5 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(L_4, /*hidden argument*/NULL);
int32_t L_6 = L_5;
RuntimeObject * L_7 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_6);
NullCheck(L_3);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_3, (uint8_t)((int32_t)248), L_7, /*hidden argument*/NULL);
V_0 = L_3;
// Hashtable prevProps = new Hashtable() { { GamePropertyKey.MasterClientId, this.MasterClientId } };
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_8 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_8, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_9 = L_8;
int32_t L_10;
L_10 = Room_get_MasterClientId_m8C3C4A530CB248B2233AE6B4B077E3A513F13A98(__this, /*hidden argument*/NULL);
int32_t L_11 = L_10;
RuntimeObject * L_12 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_11);
NullCheck(L_9);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_9, (uint8_t)((int32_t)248), L_12, /*hidden argument*/NULL);
V_1 = L_9;
// return this.LoadBalancingClient.OpSetPropertiesOfRoom(newProps, prevProps);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_13;
L_13 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_14 = V_0;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_15 = V_1;
NullCheck(L_13);
bool L_16;
L_16 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_13, L_14, L_15, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
V_3 = L_16;
goto IL_005b;
}
IL_005b:
{
// }
bool L_17 = V_3;
return L_17;
}
}
// System.Boolean Photon.Realtime.Room::AddPlayer(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_AddPlayer_m284234D68C02DB7A00428C63D986E76845D10BB6 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m5EBBC2A06520776FEB61E60D39288257C2B21CAE_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
{
// if (!this.Players.ContainsKey(player.ActorNumber))
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0;
L_0 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___player0;
NullCheck(L_1);
int32_t L_2;
L_2 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(L_1, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_3;
L_3 = Dictionary_2_ContainsKey_m5EBBC2A06520776FEB61E60D39288257C2B21CAE(L_0, L_2, /*hidden argument*/Dictionary_2_ContainsKey_m5EBBC2A06520776FEB61E60D39288257C2B21CAE_RuntimeMethod_var);
V_0 = (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
bool L_4 = V_0;
if (!L_4)
{
goto IL_0026;
}
}
{
// this.StorePlayer(player);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_5 = ___player0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_6;
L_6 = VirtFuncInvoker1< Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * >::Invoke(9 /* Photon.Realtime.Player Photon.Realtime.Room::StorePlayer(Photon.Realtime.Player) */, __this, L_5);
// return true;
V_1 = (bool)1;
goto IL_002a;
}
IL_0026:
{
// return false;
V_1 = (bool)0;
goto IL_002a;
}
IL_002a:
{
// }
bool L_7 = V_1;
return L_7;
}
}
// Photon.Realtime.Player Photon.Realtime.Room::StorePlayer(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Room_StorePlayer_m1FD358BBA00FD31BA422CCDFDF706FCD46629999 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___player0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m24787D672A337A4370033965C61983244CAEDCC9_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_0 = NULL;
{
// this.Players[player.ActorNumber] = player;
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_0;
L_0 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___player0;
NullCheck(L_1);
int32_t L_2;
L_2 = Player_get_ActorNumber_m8184AA7F53DD7BCE5B24382144BCD21C58D915E3(L_1, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_3 = ___player0;
NullCheck(L_0);
Dictionary_2_set_Item_m24787D672A337A4370033965C61983244CAEDCC9(L_0, L_2, L_3, /*hidden argument*/Dictionary_2_set_Item_m24787D672A337A4370033965C61983244CAEDCC9_RuntimeMethod_var);
// player.RoomReference = this;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_4 = ___player0;
NullCheck(L_4);
Player_set_RoomReference_m0181097B3E0D62C1802A2AD808240BF7378D9577_inline(L_4, __this, /*hidden argument*/NULL);
// return player;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_5 = ___player0;
V_0 = L_5;
goto IL_0020;
}
IL_0020:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_6 = V_0;
return L_6;
}
}
// Photon.Realtime.Player Photon.Realtime.Room::GetPlayer(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * Room_GetPlayer_mB51C279780982484C43FA4D3ACBFE64CA6254396 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, int32_t ___id0, bool ___findMaster1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mDD07DD29A313814DB347A27C63F186F838A3CCB6_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_1 = NULL;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * V_2 = NULL;
int32_t G_B4_0 = 0;
{
// int idToFind = (findMaster && id == 0) ? this.MasterClientId : id;
bool L_0 = ___findMaster1;
if (!L_0)
{
goto IL_0007;
}
}
{
int32_t L_1 = ___id0;
if (!L_1)
{
goto IL_000a;
}
}
IL_0007:
{
int32_t L_2 = ___id0;
G_B4_0 = L_2;
goto IL_0010;
}
IL_000a:
{
int32_t L_3;
L_3 = Room_get_MasterClientId_m8C3C4A530CB248B2233AE6B4B077E3A513F13A98(__this, /*hidden argument*/NULL);
G_B4_0 = L_3;
}
IL_0010:
{
V_0 = G_B4_0;
// Player result = null;
V_1 = (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 *)NULL;
// this.Players.TryGetValue(idToFind, out result);
Dictionary_2_tF0F0945D412C5A3997CF67B4F54FD1B654094D1B * L_4;
L_4 = Room_get_Players_m2987033E6E5512B1ACD26C2339A38CA1E7B42699(__this, /*hidden argument*/NULL);
int32_t L_5 = V_0;
NullCheck(L_4);
bool L_6;
L_6 = Dictionary_2_TryGetValue_mDD07DD29A313814DB347A27C63F186F838A3CCB6(L_4, L_5, (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 **)(&V_1), /*hidden argument*/Dictionary_2_TryGetValue_mDD07DD29A313814DB347A27C63F186F838A3CCB6_RuntimeMethod_var);
// return result;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_7 = V_1;
V_2 = L_7;
goto IL_0026;
}
IL_0026:
{
// }
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_8 = V_2;
return L_8;
}
}
// System.Boolean Photon.Realtime.Room::ClearExpectedUsers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_ClearExpectedUsers_m2B988167CFE7CA0CBCF229BC8C9E48473EA6F6FF (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// if (this.ExpectedUsers == null || this.ExpectedUsers.Length == 0)
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0;
L_0 = Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0015;
}
}
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1;
L_1 = Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E(__this, /*hidden argument*/NULL);
NullCheck(L_1);
G_B3_0 = ((((int32_t)(((RuntimeArray*)L_1)->max_length)) == ((int32_t)0))? 1 : 0);
goto IL_0016;
}
IL_0015:
{
G_B3_0 = 1;
}
IL_0016:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_001f;
}
}
{
// return false;
V_1 = (bool)0;
goto IL_0034;
}
IL_001f:
{
// return this.SetExpectedUsers(new string[0], this.ExpectedUsers);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4;
L_4 = Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E(__this, /*hidden argument*/NULL);
bool L_5;
L_5 = Room_SetExpectedUsers_mB3F6396ECAEBAF34286A6752AB64DAB1C1773EC2(__this, L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
goto IL_0034;
}
IL_0034:
{
// }
bool L_6 = V_1;
return L_6;
}
}
// System.Boolean Photon.Realtime.Room::SetExpectedUsers(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetExpectedUsers_mF4FCBF5D67B2EE9A4D3483095F7FD920175D766F (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___newExpectedUsers0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral455DE8D137F50C17707B3E37FA74BEBEE69B1EAD);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// if (newExpectedUsers == null || newExpectedUsers.Length == 0)
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = ___newExpectedUsers0;
if (!L_0)
{
goto IL_000b;
}
}
{
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = ___newExpectedUsers0;
NullCheck(L_1);
G_B3_0 = ((((int32_t)(((RuntimeArray*)L_1)->max_length)) == ((int32_t)0))? 1 : 0);
goto IL_000c;
}
IL_000b:
{
G_B3_0 = 1;
}
IL_000c:
{
V_0 = (bool)G_B3_0;
bool L_2 = V_0;
if (!L_2)
{
goto IL_0027;
}
}
{
// this.LoadBalancingClient.DebugReturn(DebugLevel.ERROR, "newExpectedUsers array is null or empty, call Room.ClearExpectedUsers() instead if this is what you want.");
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_3;
L_3 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
NullCheck(L_3);
VirtActionInvoker2< uint8_t, String_t* >::Invoke(14 /* System.Void Photon.Realtime.LoadBalancingClient::DebugReturn(ExitGames.Client.Photon.DebugLevel,System.String) */, L_3, 1, _stringLiteral455DE8D137F50C17707B3E37FA74BEBEE69B1EAD);
// return false;
V_1 = (bool)0;
goto IL_0037;
}
IL_0027:
{
// return this.SetExpectedUsers(newExpectedUsers, this.ExpectedUsers);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = ___newExpectedUsers0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_5;
L_5 = Room_get_ExpectedUsers_mA3C45B11F4A25D0F68770D64611AAE6E593C0E9E(__this, /*hidden argument*/NULL);
bool L_6;
L_6 = Room_SetExpectedUsers_mB3F6396ECAEBAF34286A6752AB64DAB1C1773EC2(__this, L_4, L_5, /*hidden argument*/NULL);
V_1 = L_6;
goto IL_0037;
}
IL_0037:
{
// }
bool L_7 = V_1;
return L_7;
}
}
// System.Boolean Photon.Realtime.Room::SetExpectedUsers(System.String[],System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Room_SetExpectedUsers_mB3F6396ECAEBAF34286A6752AB64DAB1C1773EC2 (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___newExpectedUsers0, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___oldExpectedUsers1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
{
// if (this.isOffline)
bool L_0 = __this->get_isOffline_14();
V_2 = L_0;
bool L_1 = V_2;
if (!L_1)
{
goto IL_0010;
}
}
{
// return false;
V_3 = (bool)0;
goto IL_0057;
}
IL_0010:
{
// Hashtable gameProperties = new Hashtable(1);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_2 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m9730D9A28F50D395D9FEF94F4EFAA69946EAA60C(L_2, 1, /*hidden argument*/NULL);
V_0 = L_2;
// gameProperties.Add(GamePropertyKey.ExpectedUsers, newExpectedUsers);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_3 = V_0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = ___newExpectedUsers0;
NullCheck(L_3);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_3, (uint8_t)((int32_t)247), (RuntimeObject *)(RuntimeObject *)L_4, /*hidden argument*/NULL);
// Hashtable expectedProperties = null;
V_1 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)NULL;
// if (oldExpectedUsers != null)
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_5 = ___oldExpectedUsers1;
V_4 = (bool)((!(((RuntimeObject*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)L_5) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_6 = V_4;
if (!L_6)
{
goto IL_0046;
}
}
{
// expectedProperties = new Hashtable(1);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m9730D9A28F50D395D9FEF94F4EFAA69946EAA60C(L_7, 1, /*hidden argument*/NULL);
V_1 = L_7;
// expectedProperties.Add(GamePropertyKey.ExpectedUsers, oldExpectedUsers);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_8 = V_1;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = ___oldExpectedUsers1;
NullCheck(L_8);
Hashtable_Add_m1B9802D2F5D2541A0789F02D27E32819202D9216(L_8, (uint8_t)((int32_t)247), (RuntimeObject *)(RuntimeObject *)L_9, /*hidden argument*/NULL);
}
IL_0046:
{
// return this.LoadBalancingClient.OpSetPropertiesOfRoom(gameProperties, expectedProperties);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_10;
L_10 = Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline(__this, /*hidden argument*/NULL);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_11 = V_0;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_12 = V_1;
NullCheck(L_10);
bool L_13;
L_13 = LoadBalancingClient_OpSetPropertiesOfRoom_m23107D3305C86DC3C6280E6E7E22ED4D217D1E55(L_10, L_11, L_12, (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)NULL, /*hidden argument*/NULL);
V_3 = L_13;
goto IL_0057;
}
IL_0057:
{
// }
bool L_14 = V_3;
return L_14;
}
}
// System.String Photon.Realtime.Room::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Room_ToString_mFACB93950B95E6712BE42AD73A9B51A00404068B (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t G_B2_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_2 = NULL;
String_t* G_B2_3 = NULL;
int32_t G_B1_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_2 = NULL;
String_t* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_3 = NULL;
String_t* G_B3_4 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
int32_t G_B4_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_3 = NULL;
String_t* G_B6_4 = NULL;
{
// return string.Format("Room: '{0}' {1},{2} {4}/{3} players.", this.name, this.isVisible ? "visible" : "hidden", this.isOpen ? "open" : "closed", this.maxPlayers, this.PlayerCount);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_name_9();
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
bool L_4 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isVisible_7();
G_B1_0 = 1;
G_B1_1 = L_3;
G_B1_2 = L_3;
G_B1_3 = _stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F;
if (L_4)
{
G_B2_0 = 1;
G_B2_1 = L_3;
G_B2_2 = L_3;
G_B2_3 = _stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F;
goto IL_0026;
}
}
{
G_B3_0 = _stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
G_B3_4 = G_B1_3;
goto IL_002b;
}
IL_0026:
{
G_B3_0 = _stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
G_B3_4 = G_B2_3;
}
IL_002b:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (RuntimeObject *)G_B3_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_5 = G_B3_3;
bool L_6 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isOpen_6();
G_B4_0 = 2;
G_B4_1 = L_5;
G_B4_2 = L_5;
G_B4_3 = G_B3_4;
if (L_6)
{
G_B5_0 = 2;
G_B5_1 = L_5;
G_B5_2 = L_5;
G_B5_3 = G_B3_4;
goto IL_003d;
}
}
{
G_B6_0 = _stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
G_B6_3 = G_B4_2;
G_B6_4 = G_B4_3;
goto IL_0042;
}
IL_003d:
{
G_B6_0 = _stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
G_B6_3 = G_B5_2;
G_B6_4 = G_B5_3;
}
IL_0042:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (RuntimeObject *)G_B6_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = G_B6_3;
uint8_t L_8 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_maxPlayers_2();
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_10);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = L_7;
uint8_t L_12;
L_12 = Room_get_PlayerCount_mEDD8EA093DF8DC8D1D8B0DBED09A2DA2EFCF364E(__this, /*hidden argument*/NULL);
uint8_t L_13 = L_12;
RuntimeObject * L_14 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_14);
String_t* L_15;
L_15 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(G_B6_4, L_11, /*hidden argument*/NULL);
V_0 = L_15;
goto IL_0067;
}
IL_0067:
{
// }
String_t* L_16 = V_0;
return L_16;
}
}
// System.String Photon.Realtime.Room::ToStringFull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Room_ToStringFull_m7FD12B561352ACBA9195672B7A533A2E5D97D72F (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t G_B2_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_2 = NULL;
String_t* G_B2_3 = NULL;
int32_t G_B1_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_2 = NULL;
String_t* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_3 = NULL;
String_t* G_B3_4 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
int32_t G_B4_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_3 = NULL;
String_t* G_B6_4 = NULL;
{
// return string.Format("Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}", this.name, this.isVisible ? "visible" : "hidden", this.isOpen ? "open" : "closed", this.maxPlayers, this.PlayerCount, this.CustomProperties.ToStringFull());
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_name_9();
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
bool L_4 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isVisible_7();
G_B1_0 = 1;
G_B1_1 = L_3;
G_B1_2 = L_3;
G_B1_3 = _stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77;
if (L_4)
{
G_B2_0 = 1;
G_B2_1 = L_3;
G_B2_2 = L_3;
G_B2_3 = _stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77;
goto IL_0026;
}
}
{
G_B3_0 = _stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
G_B3_4 = G_B1_3;
goto IL_002b;
}
IL_0026:
{
G_B3_0 = _stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
G_B3_4 = G_B2_3;
}
IL_002b:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (RuntimeObject *)G_B3_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_5 = G_B3_3;
bool L_6 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_isOpen_6();
G_B4_0 = 2;
G_B4_1 = L_5;
G_B4_2 = L_5;
G_B4_3 = G_B3_4;
if (L_6)
{
G_B5_0 = 2;
G_B5_1 = L_5;
G_B5_2 = L_5;
G_B5_3 = G_B3_4;
goto IL_003d;
}
}
{
G_B6_0 = _stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
G_B6_3 = G_B4_2;
G_B6_4 = G_B4_3;
goto IL_0042;
}
IL_003d:
{
G_B6_0 = _stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
G_B6_3 = G_B5_2;
G_B6_4 = G_B5_3;
}
IL_0042:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (RuntimeObject *)G_B6_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = G_B6_3;
uint8_t L_8 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)__this)->get_maxPlayers_2();
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_10);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = L_7;
uint8_t L_12;
L_12 = Room_get_PlayerCount_mEDD8EA093DF8DC8D1D8B0DBED09A2DA2EFCF364E(__this, /*hidden argument*/NULL);
uint8_t L_13 = L_12;
RuntimeObject * L_14 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_14);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_15 = L_11;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_16;
L_16 = RoomInfo_get_CustomProperties_mEBEAFF1C1A2F91CD29703A18FF44E10D58701FEE(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
String_t* L_17;
L_17 = Extensions_ToStringFull_m1DDC28EF858A4A871C01A6AEB1D0556024C0B0A9(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_17);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_17);
String_t* L_18;
L_18 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(G_B6_4, L_15, /*hidden argument*/NULL);
V_0 = L_18;
goto IL_0075;
}
IL_0075:
{
// }
String_t* L_19 = V_0;
return L_19;
}
}
#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
// ExitGames.Client.Photon.Hashtable Photon.Realtime.RoomInfo::get_CustomProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * RoomInfo_get_CustomProperties_mEBEAFF1C1A2F91CD29703A18FF44E10D58701FEE (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * V_0 = NULL;
{
// return this.customProperties;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = __this->get_customProperties_1();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = V_0;
return L_1;
}
}
// System.String Photon.Realtime.RoomInfo::get_Name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RoomInfo_get_Name_m38D5F419210D0AFB91896D69292740374B6EFDA4 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
// return this.name;
String_t* L_0 = __this->get_name_9();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
String_t* L_1 = V_0;
return L_1;
}
}
// System.Int32 Photon.Realtime.RoomInfo::get_PlayerCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RoomInfo_get_PlayerCount_m50B0F7EE07B876923EFF2EF60778A037A0FA9DA6 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
{
// public int PlayerCount { get; private set; }
int32_t L_0 = __this->get_U3CPlayerCountU3Ek__BackingField_12();
return L_0;
}
}
// System.Void Photon.Realtime.RoomInfo::set_PlayerCount(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomInfo_set_PlayerCount_m937391BF1C4BCB01331FFF4E5C93664ECC9A56FA (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int PlayerCount { get; private set; }
int32_t L_0 = ___value0;
__this->set_U3CPlayerCountU3Ek__BackingField_12(L_0);
return;
}
}
// System.Byte Photon.Realtime.RoomInfo::get_MaxPlayers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t RoomInfo_get_MaxPlayers_m52B64E26C3521D3B78192503FC133F2C1AD96F01 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
uint8_t V_0 = 0x0;
{
// return this.maxPlayers;
uint8_t L_0 = __this->get_maxPlayers_2();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
uint8_t L_1 = V_0;
return L_1;
}
}
// System.Boolean Photon.Realtime.RoomInfo::get_IsOpen()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomInfo_get_IsOpen_mF317DBC6BE46C1491920633B71A8C644729F0004 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return this.isOpen;
bool L_0 = __this->get_isOpen_6();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean Photon.Realtime.RoomInfo::get_IsVisible()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomInfo_get_IsVisible_mA177125A5A11191BD753D4B21E00746683B331C6 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// return this.isVisible;
bool L_0 = __this->get_isVisible_7();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.RoomInfo::.ctor(System.String,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomInfo__ctor_m84B216343DC3F6F01B7FD2690DF871E565A52FAA (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, String_t* ___roomName0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___roomProperties1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private Hashtable customProperties = new Hashtable();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = (Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D *)il2cpp_codegen_object_new(Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D_il2cpp_TypeInfo_var);
Hashtable__ctor_m797C243B6D922FB430F9CF55907083A67E5627DF(L_0, /*hidden argument*/NULL);
__this->set_customProperties_1(L_0);
// protected byte maxPlayers = 0;
__this->set_maxPlayers_2((uint8_t)0);
// protected int emptyRoomTtl = 0;
__this->set_emptyRoomTtl_3(0);
// protected int playerTtl = 0;
__this->set_playerTtl_4(0);
// protected bool isOpen = true;
__this->set_isOpen_6((bool)1);
// protected bool isVisible = true;
__this->set_isVisible_7((bool)1);
// protected bool autoCleanUp = true;
__this->set_autoCleanUp_8((bool)1);
// protected internal RoomInfo(string roomName, Hashtable roomProperties)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.InternalCacheProperties(roomProperties);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___roomProperties1;
VirtActionInvoker1< Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * >::Invoke(4 /* System.Void Photon.Realtime.RoomInfo::InternalCacheProperties(ExitGames.Client.Photon.Hashtable) */, __this, L_1);
// this.name = roomName;
String_t* L_2 = ___roomName0;
__this->set_name_9(L_2);
// }
return;
}
}
// System.Boolean Photon.Realtime.RoomInfo::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomInfo_Equals_mAD4C9AA88316F973B8C85B4177FAE2B2877F5C7A (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, RuntimeObject * ___other0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * V_0 = NULL;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// RoomInfo otherRoomInfo = other as RoomInfo;
RuntimeObject * L_0 = ___other0;
V_0 = ((RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 *)IsInstClass((RuntimeObject*)L_0, RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889_il2cpp_TypeInfo_var));
// return (otherRoomInfo != null && this.Name.Equals(otherRoomInfo.name));
RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * L_1 = V_0;
if (!L_1)
{
goto IL_001e;
}
}
{
String_t* L_2;
L_2 = RoomInfo_get_Name_m38D5F419210D0AFB91896D69292740374B6EFDA4(__this, /*hidden argument*/NULL);
RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * L_3 = V_0;
NullCheck(L_3);
String_t* L_4 = L_3->get_name_9();
NullCheck(L_2);
bool L_5;
L_5 = String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D(L_2, L_4, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_5));
goto IL_001f;
}
IL_001e:
{
G_B3_0 = 0;
}
IL_001f:
{
V_1 = (bool)G_B3_0;
goto IL_0022;
}
IL_0022:
{
// }
bool L_6 = V_1;
return L_6;
}
}
// System.Int32 Photon.Realtime.RoomInfo::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RoomInfo_GetHashCode_mA9A3460B7D46E7CC7F8A8B564639570D3E56939E (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// return this.name.GetHashCode();
String_t* L_0 = __this->get_name_9();
NullCheck(L_0);
int32_t L_1;
L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
// }
int32_t L_2 = V_0;
return L_2;
}
}
// System.String Photon.Realtime.RoomInfo::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RoomInfo_ToString_m8B4FBCB74C162EA6ECE798CF7F7A12F187C1568C (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t G_B2_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_2 = NULL;
String_t* G_B2_3 = NULL;
int32_t G_B1_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_2 = NULL;
String_t* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_3 = NULL;
String_t* G_B3_4 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
int32_t G_B4_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_3 = NULL;
String_t* G_B6_4 = NULL;
{
// return string.Format("Room: '{0}' {1},{2} {4}/{3} players.", this.name, this.isVisible ? "visible" : "hidden", this.isOpen ? "open" : "closed", this.maxPlayers, this.PlayerCount);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2 = __this->get_name_9();
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
bool L_4 = __this->get_isVisible_7();
G_B1_0 = 1;
G_B1_1 = L_3;
G_B1_2 = L_3;
G_B1_3 = _stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F;
if (L_4)
{
G_B2_0 = 1;
G_B2_1 = L_3;
G_B2_2 = L_3;
G_B2_3 = _stringLiteralE0D745433E3F5754923781169B40D23E4FC9784F;
goto IL_0026;
}
}
{
G_B3_0 = _stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
G_B3_4 = G_B1_3;
goto IL_002b;
}
IL_0026:
{
G_B3_0 = _stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
G_B3_4 = G_B2_3;
}
IL_002b:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (RuntimeObject *)G_B3_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_5 = G_B3_3;
bool L_6 = __this->get_isOpen_6();
G_B4_0 = 2;
G_B4_1 = L_5;
G_B4_2 = L_5;
G_B4_3 = G_B3_4;
if (L_6)
{
G_B5_0 = 2;
G_B5_1 = L_5;
G_B5_2 = L_5;
G_B5_3 = G_B3_4;
goto IL_003d;
}
}
{
G_B6_0 = _stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
G_B6_3 = G_B4_2;
G_B6_4 = G_B4_3;
goto IL_0042;
}
IL_003d:
{
G_B6_0 = _stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
G_B6_3 = G_B5_2;
G_B6_4 = G_B5_3;
}
IL_0042:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (RuntimeObject *)G_B6_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = G_B6_3;
uint8_t L_8 = __this->get_maxPlayers_2();
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_10);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = L_7;
int32_t L_12;
L_12 = RoomInfo_get_PlayerCount_m50B0F7EE07B876923EFF2EF60778A037A0FA9DA6_inline(__this, /*hidden argument*/NULL);
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_14);
String_t* L_15;
L_15 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(G_B6_4, L_11, /*hidden argument*/NULL);
V_0 = L_15;
goto IL_0067;
}
IL_0067:
{
// }
String_t* L_16 = V_0;
return L_16;
}
}
// System.String Photon.Realtime.RoomInfo::ToStringFull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RoomInfo_ToStringFull_mA8130A49AE90D0E6F339135E590AF6BF238DA941 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t G_B2_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B2_2 = NULL;
String_t* G_B2_3 = NULL;
int32_t G_B1_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B1_2 = NULL;
String_t* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B3_3 = NULL;
String_t* G_B3_4 = NULL;
int32_t G_B5_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B5_2 = NULL;
String_t* G_B5_3 = NULL;
int32_t G_B4_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B4_2 = NULL;
String_t* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B6_3 = NULL;
String_t* G_B6_4 = NULL;
{
// return string.Format("Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}", this.name, this.isVisible ? "visible" : "hidden", this.isOpen ? "open" : "closed", this.maxPlayers, this.PlayerCount, this.customProperties.ToStringFull());
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)6);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2 = __this->get_name_9();
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
bool L_4 = __this->get_isVisible_7();
G_B1_0 = 1;
G_B1_1 = L_3;
G_B1_2 = L_3;
G_B1_3 = _stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77;
if (L_4)
{
G_B2_0 = 1;
G_B2_1 = L_3;
G_B2_2 = L_3;
G_B2_3 = _stringLiteral475629C0DEA0F3121BE77E452FADCAEDFB9D3C77;
goto IL_0026;
}
}
{
G_B3_0 = _stringLiteral0E62D1EEC1CF40EEC3E55E672939594A78C717D9;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
G_B3_4 = G_B1_3;
goto IL_002b;
}
IL_0026:
{
G_B3_0 = _stringLiteralB66710B8486B3526B1F8168C6B5624E10E729DE4;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
G_B3_4 = G_B2_3;
}
IL_002b:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (RuntimeObject *)G_B3_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_5 = G_B3_3;
bool L_6 = __this->get_isOpen_6();
G_B4_0 = 2;
G_B4_1 = L_5;
G_B4_2 = L_5;
G_B4_3 = G_B3_4;
if (L_6)
{
G_B5_0 = 2;
G_B5_1 = L_5;
G_B5_2 = L_5;
G_B5_3 = G_B3_4;
goto IL_003d;
}
}
{
G_B6_0 = _stringLiteralAA78D62572397C450533E39C24F376013C8BCEAA;
G_B6_1 = G_B4_0;
G_B6_2 = G_B4_1;
G_B6_3 = G_B4_2;
G_B6_4 = G_B4_3;
goto IL_0042;
}
IL_003d:
{
G_B6_0 = _stringLiteral963D8FD233ED8F4791C80833301C4D3C330D3E01;
G_B6_1 = G_B5_0;
G_B6_2 = G_B5_1;
G_B6_3 = G_B5_2;
G_B6_4 = G_B5_3;
}
IL_0042:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (RuntimeObject *)G_B6_0);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = G_B6_3;
uint8_t L_8 = __this->get_maxPlayers_2();
uint8_t L_9 = L_8;
RuntimeObject * L_10 = Box(Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_10);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = L_7;
int32_t L_12;
L_12 = RoomInfo_get_PlayerCount_m50B0F7EE07B876923EFF2EF60778A037A0FA9DA6_inline(__this, /*hidden argument*/NULL);
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_14);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_15 = L_11;
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_16 = __this->get_customProperties_1();
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
String_t* L_17;
L_17 = Extensions_ToStringFull_m1DDC28EF858A4A871C01A6AEB1D0556024C0B0A9(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_17);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_17);
String_t* L_18;
L_18 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(G_B6_4, L_15, /*hidden argument*/NULL);
V_0 = L_18;
goto IL_0075;
}
IL_0075:
{
// }
String_t* L_19 = V_0;
return L_19;
}
}
// System.Void Photon.Realtime.RoomInfo::InternalCacheProperties(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomInfo_InternalCacheProperties_mEC773D375C84B9084DCFB9B36528D89D859E2729 (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesToCache0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
bool V_6 = false;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
bool V_10 = false;
bool V_11 = false;
bool V_12 = false;
int32_t G_B4_0 = 0;
{
// if (propertiesToCache == null || propertiesToCache.Count == 0 || this.customProperties.Equals(propertiesToCache))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___propertiesToCache0;
if (!L_0)
{
goto IL_001a;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_1 = ___propertiesToCache0;
NullCheck(L_1);
int32_t L_2;
L_2 = Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA(L_1, /*hidden argument*/Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_RuntimeMethod_var);
if (!L_2)
{
goto IL_001a;
}
}
{
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_3 = __this->get_customProperties_1();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_4 = ___propertiesToCache0;
NullCheck(L_3);
bool L_5;
L_5 = VirtFuncInvoker1< bool, RuntimeObject * >::Invoke(0 /* System.Boolean System.Object::Equals(System.Object) */, L_3, L_4);
G_B4_0 = ((int32_t)(L_5));
goto IL_001b;
}
IL_001a:
{
G_B4_0 = 1;
}
IL_001b:
{
V_0 = (bool)G_B4_0;
bool L_6 = V_0;
if (!L_6)
{
goto IL_0025;
}
}
{
// return;
goto IL_020e;
}
IL_0025:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.Removed))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_7 = ___propertiesToCache0;
NullCheck(L_7);
bool L_8;
L_8 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_7, (uint8_t)((int32_t)251), /*hidden argument*/NULL);
V_1 = L_8;
bool L_9 = V_1;
if (!L_9)
{
goto IL_005c;
}
}
{
// this.RemovedFromList = (bool)propertiesToCache[GamePropertyKey.Removed];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_10 = ___propertiesToCache0;
NullCheck(L_10);
RuntimeObject * L_11;
L_11 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_10, (uint8_t)((int32_t)251), /*hidden argument*/NULL);
__this->set_RemovedFromList_0(((*(bool*)((bool*)UnBox(L_11, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))));
// if (this.RemovedFromList)
bool L_12 = __this->get_RemovedFromList_0();
V_2 = L_12;
bool L_13 = V_2;
if (!L_13)
{
goto IL_005b;
}
}
{
// return;
goto IL_020e;
}
IL_005b:
{
}
IL_005c:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.MaxPlayers))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_14 = ___propertiesToCache0;
NullCheck(L_14);
bool L_15;
L_15 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_14, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
V_3 = L_15;
bool L_16 = V_3;
if (!L_16)
{
goto IL_0083;
}
}
{
// this.maxPlayers = (byte)propertiesToCache[GamePropertyKey.MaxPlayers];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_17 = ___propertiesToCache0;
NullCheck(L_17);
RuntimeObject * L_18;
L_18 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_17, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
__this->set_maxPlayers_2(((*(uint8_t*)((uint8_t*)UnBox(L_18, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var)))));
}
IL_0083:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.IsOpen))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_19 = ___propertiesToCache0;
NullCheck(L_19);
bool L_20;
L_20 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_19, (uint8_t)((int32_t)253), /*hidden argument*/NULL);
V_4 = L_20;
bool L_21 = V_4;
if (!L_21)
{
goto IL_00ac;
}
}
{
// this.isOpen = (bool)propertiesToCache[GamePropertyKey.IsOpen];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_22 = ___propertiesToCache0;
NullCheck(L_22);
RuntimeObject * L_23;
L_23 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_22, (uint8_t)((int32_t)253), /*hidden argument*/NULL);
__this->set_isOpen_6(((*(bool*)((bool*)UnBox(L_23, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))));
}
IL_00ac:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.IsVisible))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_24 = ___propertiesToCache0;
NullCheck(L_24);
bool L_25;
L_25 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_24, (uint8_t)((int32_t)254), /*hidden argument*/NULL);
V_5 = L_25;
bool L_26 = V_5;
if (!L_26)
{
goto IL_00d5;
}
}
{
// this.isVisible = (bool)propertiesToCache[GamePropertyKey.IsVisible];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_27 = ___propertiesToCache0;
NullCheck(L_27);
RuntimeObject * L_28;
L_28 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_27, (uint8_t)((int32_t)254), /*hidden argument*/NULL);
__this->set_isVisible_7(((*(bool*)((bool*)UnBox(L_28, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))));
}
IL_00d5:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.PlayerCount))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_29 = ___propertiesToCache0;
NullCheck(L_29);
bool L_30;
L_30 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_29, (uint8_t)((int32_t)252), /*hidden argument*/NULL);
V_6 = L_30;
bool L_31 = V_6;
if (!L_31)
{
goto IL_00ff;
}
}
{
// this.PlayerCount = (int)((byte)propertiesToCache[GamePropertyKey.PlayerCount]);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_32 = ___propertiesToCache0;
NullCheck(L_32);
RuntimeObject * L_33;
L_33 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_32, (uint8_t)((int32_t)252), /*hidden argument*/NULL);
RoomInfo_set_PlayerCount_m937391BF1C4BCB01331FFF4E5C93664ECC9A56FA_inline(__this, ((*(uint8_t*)((uint8_t*)UnBox(L_33, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL);
}
IL_00ff:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.CleanupCacheOnLeave))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_34 = ___propertiesToCache0;
NullCheck(L_34);
bool L_35;
L_35 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_34, (uint8_t)((int32_t)249), /*hidden argument*/NULL);
V_7 = L_35;
bool L_36 = V_7;
if (!L_36)
{
goto IL_0128;
}
}
{
// this.autoCleanUp = (bool)propertiesToCache[GamePropertyKey.CleanupCacheOnLeave];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_37 = ___propertiesToCache0;
NullCheck(L_37);
RuntimeObject * L_38;
L_38 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_37, (uint8_t)((int32_t)249), /*hidden argument*/NULL);
__this->set_autoCleanUp_8(((*(bool*)((bool*)UnBox(L_38, Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_il2cpp_TypeInfo_var)))));
}
IL_0128:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.MasterClientId))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_39 = ___propertiesToCache0;
NullCheck(L_39);
bool L_40;
L_40 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_39, (uint8_t)((int32_t)248), /*hidden argument*/NULL);
V_8 = L_40;
bool L_41 = V_8;
if (!L_41)
{
goto IL_0151;
}
}
{
// this.masterClientId = (int)propertiesToCache[GamePropertyKey.MasterClientId];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_42 = ___propertiesToCache0;
NullCheck(L_42);
RuntimeObject * L_43;
L_43 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_42, (uint8_t)((int32_t)248), /*hidden argument*/NULL);
__this->set_masterClientId_10(((*(int32_t*)((int32_t*)UnBox(L_43, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)))));
}
IL_0151:
{
// if (propertiesToCache.ContainsKey(GamePropertyKey.PropsListedInLobby))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_44 = ___propertiesToCache0;
NullCheck(L_44);
bool L_45;
L_45 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_44, (uint8_t)((int32_t)250), /*hidden argument*/NULL);
V_9 = L_45;
bool L_46 = V_9;
if (!L_46)
{
goto IL_017a;
}
}
{
// this.propertiesListedInLobby = propertiesToCache[GamePropertyKey.PropsListedInLobby] as string[];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_47 = ___propertiesToCache0;
NullCheck(L_47);
RuntimeObject * L_48;
L_48 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_47, (uint8_t)((int32_t)250), /*hidden argument*/NULL);
__this->set_propertiesListedInLobby_11(((StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)IsInst((RuntimeObject*)L_48, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var)));
}
IL_017a:
{
// if (propertiesToCache.ContainsKey((byte)GamePropertyKey.ExpectedUsers))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_49 = ___propertiesToCache0;
NullCheck(L_49);
bool L_50;
L_50 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_49, (uint8_t)((int32_t)247), /*hidden argument*/NULL);
V_10 = L_50;
bool L_51 = V_10;
if (!L_51)
{
goto IL_01a3;
}
}
{
// this.expectedUsers = (string[])propertiesToCache[GamePropertyKey.ExpectedUsers];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_52 = ___propertiesToCache0;
NullCheck(L_52);
RuntimeObject * L_53;
L_53 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_52, (uint8_t)((int32_t)247), /*hidden argument*/NULL);
__this->set_expectedUsers_5(((StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)Castclass((RuntimeObject*)L_53, StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var)));
}
IL_01a3:
{
// if (propertiesToCache.ContainsKey((byte)GamePropertyKey.EmptyRoomTtl))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_54 = ___propertiesToCache0;
NullCheck(L_54);
bool L_55;
L_55 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_54, (uint8_t)((int32_t)245), /*hidden argument*/NULL);
V_11 = L_55;
bool L_56 = V_11;
if (!L_56)
{
goto IL_01cc;
}
}
{
// this.emptyRoomTtl = (int)propertiesToCache[GamePropertyKey.EmptyRoomTtl];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_57 = ___propertiesToCache0;
NullCheck(L_57);
RuntimeObject * L_58;
L_58 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_57, (uint8_t)((int32_t)245), /*hidden argument*/NULL);
__this->set_emptyRoomTtl_3(((*(int32_t*)((int32_t*)UnBox(L_58, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)))));
}
IL_01cc:
{
// if (propertiesToCache.ContainsKey((byte)GamePropertyKey.PlayerTtl))
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_59 = ___propertiesToCache0;
NullCheck(L_59);
bool L_60;
L_60 = Hashtable_ContainsKey_m9CB2F369C145A781E745542D3C2A7AAD2B95C457(L_59, (uint8_t)((int32_t)246), /*hidden argument*/NULL);
V_12 = L_60;
bool L_61 = V_12;
if (!L_61)
{
goto IL_01f5;
}
}
{
// this.playerTtl = (int)propertiesToCache[GamePropertyKey.PlayerTtl];
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_62 = ___propertiesToCache0;
NullCheck(L_62);
RuntimeObject * L_63;
L_63 = Hashtable_get_Item_mE7368935B83FAD465E25F880BF773393C57D8F20(L_62, (uint8_t)((int32_t)246), /*hidden argument*/NULL);
__this->set_playerTtl_4(((*(int32_t*)((int32_t*)UnBox(L_63, Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var)))));
}
IL_01f5:
{
// this.customProperties.MergeStringKeys(propertiesToCache);
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_64 = __this->get_customProperties_1();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_65 = ___propertiesToCache0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
Extensions_MergeStringKeys_mE39680404E703BD165F84EF78D7E08A2DF203105(L_64, L_65, /*hidden argument*/NULL);
// this.customProperties.StripKeysWithNullValues();
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_66 = __this->get_customProperties_1();
Extensions_StripKeysWithNullValues_m8F8740F4F2091C5AB114AD575C28B6A90180765B(L_66, /*hidden argument*/NULL);
}
IL_020e:
{
// }
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.Boolean Photon.Realtime.RoomOptions::get_IsVisible()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_IsVisible_m5EC778AE095E58AFA3A9D52F267F85A65A732E0E (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool IsVisible { get { return this.isVisible; } set { this.isVisible = value; } }
bool L_0 = __this->get_isVisible_0();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// public bool IsVisible { get { return this.isVisible; } set { this.isVisible = value; } }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.RoomOptions::set_IsVisible(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_IsVisible_mC0A95ADCF711835B0C695844D5BF19226EF0DCA6 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsVisible { get { return this.isVisible; } set { this.isVisible = value; } }
bool L_0 = ___value0;
__this->set_isVisible_0(L_0);
// public bool IsVisible { get { return this.isVisible; } set { this.isVisible = value; } }
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_IsOpen()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_IsOpen_mFDA9D97177BC7D1DF5A742640881012C1C22BEF4 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool IsOpen { get { return this.isOpen; } set { this.isOpen = value; } }
bool L_0 = __this->get_isOpen_1();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// public bool IsOpen { get { return this.isOpen; } set { this.isOpen = value; } }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.RoomOptions::set_IsOpen(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_IsOpen_m76BB29F06F0FF60D50ECA66D59D89354BFDD8F5B (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsOpen { get { return this.isOpen; } set { this.isOpen = value; } }
bool L_0 = ___value0;
__this->set_isOpen_1(L_0);
// public bool IsOpen { get { return this.isOpen; } set { this.isOpen = value; } }
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_CleanupCacheOnLeave()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_CleanupCacheOnLeave_m255DA67481E9203BC0CE7788D08C4109C4115CE8 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool CleanupCacheOnLeave { get { return this.cleanupCacheOnLeave; } set { this.cleanupCacheOnLeave = value; } }
bool L_0 = __this->get_cleanupCacheOnLeave_5();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// public bool CleanupCacheOnLeave { get { return this.cleanupCacheOnLeave; } set { this.cleanupCacheOnLeave = value; } }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.RoomOptions::set_CleanupCacheOnLeave(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_CleanupCacheOnLeave_m420AE587984BE3EC583E008D6DF285FD8A708D33 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool CleanupCacheOnLeave { get { return this.cleanupCacheOnLeave; } set { this.cleanupCacheOnLeave = value; } }
bool L_0 = ___value0;
__this->set_cleanupCacheOnLeave_5(L_0);
// public bool CleanupCacheOnLeave { get { return this.cleanupCacheOnLeave; } set { this.cleanupCacheOnLeave = value; } }
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_SuppressRoomEvents()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_SuppressRoomEvents_m66C9A3354316E353ED247DC10DBBDED034083D4E (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
{
// public bool SuppressRoomEvents { get; set; }
bool L_0 = __this->get_U3CSuppressRoomEventsU3Ek__BackingField_9();
return L_0;
}
}
// System.Void Photon.Realtime.RoomOptions::set_SuppressRoomEvents(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_SuppressRoomEvents_m995E9F193F30D7FF990FDBB438722601386DECA5 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressRoomEvents { get; set; }
bool L_0 = ___value0;
__this->set_U3CSuppressRoomEventsU3Ek__BackingField_9(L_0);
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_SuppressPlayerInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_SuppressPlayerInfo_m4563DF29678C32315C7A69003B540A2FCA8556B9 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
{
// public bool SuppressPlayerInfo { get; set; }
bool L_0 = __this->get_U3CSuppressPlayerInfoU3Ek__BackingField_10();
return L_0;
}
}
// System.Void Photon.Realtime.RoomOptions::set_SuppressPlayerInfo(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_SuppressPlayerInfo_mB9312CD3F4520F120F4C8624F5ECB956376E9A4E (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressPlayerInfo { get; set; }
bool L_0 = ___value0;
__this->set_U3CSuppressPlayerInfoU3Ek__BackingField_10(L_0);
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_PublishUserId()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_PublishUserId_mB7BFB7CC3946C51C8C840DD6452E5847F5860AB4 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
{
// public bool PublishUserId { get; set; }
bool L_0 = __this->get_U3CPublishUserIdU3Ek__BackingField_11();
return L_0;
}
}
// System.Void Photon.Realtime.RoomOptions::set_PublishUserId(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_PublishUserId_mE998E9DDB1E13BF5ED8CCF07F1D70799B1750667 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool PublishUserId { get; set; }
bool L_0 = ___value0;
__this->set_U3CPublishUserIdU3Ek__BackingField_11(L_0);
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_DeleteNullProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_DeleteNullProperties_m65FEEFEAE5169DE4D06DB868F53D866CD9FE5F6F (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
{
// public bool DeleteNullProperties { get; set; }
bool L_0 = __this->get_U3CDeleteNullPropertiesU3Ek__BackingField_12();
return L_0;
}
}
// System.Void Photon.Realtime.RoomOptions::set_DeleteNullProperties(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_DeleteNullProperties_m08FCFFEC2C8F9BC20366282F619B29D1EC629C69 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool DeleteNullProperties { get; set; }
bool L_0 = ___value0;
__this->set_U3CDeleteNullPropertiesU3Ek__BackingField_12(L_0);
return;
}
}
// System.Boolean Photon.Realtime.RoomOptions::get_BroadcastPropsChangeToAll()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RoomOptions_get_BroadcastPropsChangeToAll_mD870A3DDCDBDC2250B182724ECA674DFDBB34DBA (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool BroadcastPropsChangeToAll { get { return this.broadcastPropsChangeToAll; } set { this.broadcastPropsChangeToAll = value; } }
bool L_0 = __this->get_broadcastPropsChangeToAll_13();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// public bool BroadcastPropsChangeToAll { get { return this.broadcastPropsChangeToAll; } set { this.broadcastPropsChangeToAll = value; } }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.RoomOptions::set_BroadcastPropsChangeToAll(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions_set_BroadcastPropsChangeToAll_m9EBC9B0F976F57FC954AD24E529A8AB075105B6B (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool BroadcastPropsChangeToAll { get { return this.broadcastPropsChangeToAll; } set { this.broadcastPropsChangeToAll = value; } }
bool L_0 = ___value0;
__this->set_broadcastPropsChangeToAll_13(L_0);
// public bool BroadcastPropsChangeToAll { get { return this.broadcastPropsChangeToAll; } set { this.broadcastPropsChangeToAll = value; } }
return;
}
}
// System.Void Photon.Realtime.RoomOptions::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RoomOptions__ctor_m3757C5E2DFF56EEEC7F0B7A08443DD21DA88FEF7 (RoomOptions_t9923C5A201832F8328FFCA30828018311BA60A2F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private bool isVisible = true;
__this->set_isVisible_0((bool)1);
// private bool isOpen = true;
__this->set_isOpen_1((bool)1);
// private bool cleanupCacheOnLeave = true;
__this->set_cleanupCacheOnLeave_5((bool)1);
// public string[] CustomRoomPropertiesForLobby = new string[0];
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)0);
__this->set_CustomRoomPropertiesForLobby_7(L_0);
// private bool broadcastPropsChangeToAll = true;
__this->set_broadcastPropsChangeToAll_13((bool)1);
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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
#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.Realtime.LoadBalancingClient Photon.Realtime.SupportLogger::get_Client()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * SupportLogger_get_Client_m1CC6DAAAC1C8298BD6D6DE2B8B1A96013941C3EB (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * V_0 = NULL;
{
// get { return this.client; }
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return this.client; }
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.SupportLogger::set_Client(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_set_Client_mFF619F21AB932F0393D15181428B1446665435BC (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
bool V_2 = false;
{
// if (this.client != value)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_1 = ___value0;
V_0 = (bool)((((int32_t)((((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_0) == ((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_0052;
}
}
{
// if (this.client != null)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_3 = __this->get_client_6();
V_1 = (bool)((!(((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_3) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_4 = V_1;
if (!L_4)
{
goto IL_002e;
}
}
{
// this.client.RemoveCallbackTarget(this);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5 = __this->get_client_6();
NullCheck(L_5);
LoadBalancingClient_RemoveCallbackTarget_m01EE49F15436A959BFD296AA9984404ECA25D369(L_5, __this, /*hidden argument*/NULL);
}
IL_002e:
{
// this.client = value;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_6 = ___value0;
__this->set_client_6(L_6);
// if (this.client != null)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_7 = __this->get_client_6();
V_2 = (bool)((!(((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_7) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_8 = V_2;
if (!L_8)
{
goto IL_0051;
}
}
{
// this.client.AddCallbackTarget(this);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_9 = __this->get_client_6();
NullCheck(L_9);
LoadBalancingClient_AddCallbackTarget_mF16F409FFF0E613D334D999BF6EAA126F090F154(L_9, __this, /*hidden argument*/NULL);
}
IL_0051:
{
}
IL_0052:
{
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_Start_mA500C841AF1CE588565C2B21BFB4D720B811483F (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// this.LogBasics();
SupportLogger_LogBasics_mFCBF9723E84B9A5E77B99417EB1DD36403A19BB0(__this, /*hidden argument*/NULL);
// if (this.startStopwatch == null)
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_0 = __this->get_startStopwatch_7();
V_0 = (bool)((((RuntimeObject*)(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_002e;
}
}
{
// this.startStopwatch = new Stopwatch();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_2 = (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)il2cpp_codegen_object_new(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
Stopwatch__ctor_mDE97B28A72294ABF18E6E9769086E202C3586CA7(L_2, /*hidden argument*/NULL);
__this->set_startStopwatch_7(L_2);
// this.startStopwatch.Start();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_3 = __this->get_startStopwatch_7();
NullCheck(L_3);
Stopwatch_Start_mED237B2178B2075FAED706E2A38111496B28DBDE(L_3, /*hidden argument*/NULL);
}
IL_002e:
{
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnDestroy_m5AB26EE44EAA48E395EFEF1BD81FCE474E1DD92C (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
{
// this.Client = null; // will remove this SupportLogger as callback target
SupportLogger_set_Client_mFF619F21AB932F0393D15181428B1446665435BC(__this, (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)NULL, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnApplicationPause(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnApplicationPause_m9F4B4E7C83B3084F6DB3CD9E5AC1B87F816B86DC (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, bool ___pause0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral28C16AD3D08B7CCD40C5C1BC966F3A5EB27FEF18);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7E357C31C3E3A0DB2B89D68F7FD43137F7E8DDED);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD6531E0D94FC153A90B43E184D8F7C53223B3B7D);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B2_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_2 = NULL;
int32_t G_B1_0 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_1 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_2 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_3 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnApplicationPause: " + pause + " connected: " + (this.client == null ? "no (client is null)" : this.client.IsConnected.ToString()));
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral7E357C31C3E3A0DB2B89D68F7FD43137F7E8DDED);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral7E357C31C3E3A0DB2B89D68F7FD43137F7E8DDED);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
String_t* L_5;
L_5 = Boolean_ToString_m59BB8456DD05A874BBD756E57EA8AD983287015C((bool*)(&___pause0), /*hidden argument*/NULL);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_4;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteralD6531E0D94FC153A90B43E184D8F7C53223B3B7D);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralD6531E0D94FC153A90B43E184D8F7C53223B3B7D);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_8 = __this->get_client_6();
G_B1_0 = 4;
G_B1_1 = L_7;
G_B1_2 = L_7;
if (!L_8)
{
G_B2_0 = 4;
G_B2_1 = L_7;
G_B2_2 = L_7;
goto IL_0049;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_9 = __this->get_client_6();
NullCheck(L_9);
bool L_10;
L_10 = LoadBalancingClient_get_IsConnected_mAF312211E24968B1F60C9E74E53BE464B1222BB3(L_9, /*hidden argument*/NULL);
V_0 = L_10;
String_t* L_11;
L_11 = Boolean_ToString_m59BB8456DD05A874BBD756E57EA8AD983287015C((bool*)(&V_0), /*hidden argument*/NULL);
G_B3_0 = L_11;
G_B3_1 = G_B1_0;
G_B3_2 = G_B1_1;
G_B3_3 = G_B1_2;
goto IL_004e;
}
IL_0049:
{
G_B3_0 = _stringLiteral28C16AD3D08B7CCD40C5C1BC966F3A5EB27FEF18;
G_B3_1 = G_B2_0;
G_B3_2 = G_B2_1;
G_B3_3 = G_B2_2;
}
IL_004e:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (String_t*)G_B3_0);
String_t* L_12;
L_12 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(G_B3_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_12, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnApplicationQuit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnApplicationQuit_mD48621E599EF3B5FD1603ED763A71B1A7512E598 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
{
// this.CancelInvoke();
MonoBehaviour_CancelInvoke_mAF87B47704B16B114F82AC6914E4DA9AE034095D(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::StartLogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StartLogStats_m31291D23E40BFA0A590676E589161FAD6A7A0F25 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral33CA58FEF7436C175DDEA4DF7B79D3ED94347F00);
s_Il2CppMethodInitialized = true;
}
{
// this.InvokeRepeating("LogStats", 10, 10);
MonoBehaviour_InvokeRepeating_mB77F4276826FBA696A150831D190875CB5802C70(__this, _stringLiteral33CA58FEF7436C175DDEA4DF7B79D3ED94347F00, (10.0f), (10.0f), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::StopLogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StopLogStats_m50CF797EB0CFBE8D9E25941C26870969591BCB40 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral33CA58FEF7436C175DDEA4DF7B79D3ED94347F00);
s_Il2CppMethodInitialized = true;
}
{
// this.CancelInvoke("LogStats");
MonoBehaviour_CancelInvoke_mAD4E486A74AF79DC1AFA880691EF839CDDE630A9(__this, _stringLiteral33CA58FEF7436C175DDEA4DF7B79D3ED94347F00, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::StartTrackValues()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StartTrackValues_m9E1B6BAFAFA345B48BD1B78DC6668F47B134BD41 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFD75639C00900E4F0EE245691B4C30ECBDA2F78D);
s_Il2CppMethodInitialized = true;
}
{
// this.InvokeRepeating("TrackValues", 0.5f, 0.5f);
MonoBehaviour_InvokeRepeating_mB77F4276826FBA696A150831D190875CB5802C70(__this, _stringLiteralFD75639C00900E4F0EE245691B4C30ECBDA2F78D, (0.5f), (0.5f), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::StopTrackValues()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_StopTrackValues_m20B3E577DEE42D0BADE001DB1D678B255F12EAD8 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFD75639C00900E4F0EE245691B4C30ECBDA2F78D);
s_Il2CppMethodInitialized = true;
}
{
// this.CancelInvoke("TrackValues");
MonoBehaviour_CancelInvoke_mAD4E486A74AF79DC1AFA880691EF839CDDE630A9(__this, _stringLiteralFD75639C00900E4F0EE245691B4C30ECBDA2F78D, /*hidden argument*/NULL);
// }
return;
}
}
// System.String Photon.Realtime.SupportLogger::GetFormattedTimestamp()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral39B336DD36B50FB46EDCCA9BA800A47C91B64279);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFAFE1135E66E66BD15C9C823C63EB9B6F691436F);
s_Il2CppMethodInitialized = true;
}
TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 V_0;
memset((&V_0), 0, sizeof(V_0));
bool V_1 = false;
bool V_2 = false;
String_t* V_3 = NULL;
{
// if (this.startStopwatch == null)
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_0 = __this->get_startStopwatch_7();
V_1 = (bool)((((RuntimeObject*)(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)L_0) == ((RuntimeObject*)(RuntimeObject *)NULL))? 1 : 0);
bool L_1 = V_1;
if (!L_1)
{
goto IL_0027;
}
}
{
// this.startStopwatch = new Stopwatch();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_2 = (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)il2cpp_codegen_object_new(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
Stopwatch__ctor_mDE97B28A72294ABF18E6E9769086E202C3586CA7(L_2, /*hidden argument*/NULL);
__this->set_startStopwatch_7(L_2);
// this.startStopwatch.Start();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_3 = __this->get_startStopwatch_7();
NullCheck(L_3);
Stopwatch_Start_mED237B2178B2075FAED706E2A38111496B28DBDE(L_3, /*hidden argument*/NULL);
}
IL_0027:
{
// TimeSpan span = this.startStopwatch.Elapsed;
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_4 = __this->get_startStopwatch_7();
NullCheck(L_4);
TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 L_5;
L_5 = Stopwatch_get_Elapsed_m75C9FF87F9007FC8738B722002A8F8C302F5CFA6(L_4, /*hidden argument*/NULL);
V_0 = L_5;
// if (span.Minutes > 0)
int32_t L_6;
L_6 = TimeSpan_get_Minutes_mF5A78108FEB64953C298CEC19637378380881202((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
V_2 = (bool)((((int32_t)L_6) > ((int32_t)0))? 1 : 0);
bool L_7 = V_2;
if (!L_7)
{
goto IL_0073;
}
}
{
// return string.Format("[{0}:{1}.{1}]", span.Minutes, span.Seconds, span.Milliseconds);
int32_t L_8;
L_8 = TimeSpan_get_Minutes_mF5A78108FEB64953C298CEC19637378380881202((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
int32_t L_9 = L_8;
RuntimeObject * L_10 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_9);
int32_t L_11;
L_11 = TimeSpan_get_Seconds_m3324F3A1F96CA956DAEDDB69DB32CAA320A053F7((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
int32_t L_12 = L_11;
RuntimeObject * L_13 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_12);
int32_t L_14;
L_14 = TimeSpan_get_Milliseconds_m7DCE7C8875295A46F8A3ED0326F498F30D1F9BEE((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
int32_t L_15 = L_14;
RuntimeObject * L_16 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_15);
String_t* L_17;
L_17 = String_Format_m039737CCD992C5BFC8D16DFD681F5E8786E87FA6(_stringLiteral39B336DD36B50FB46EDCCA9BA800A47C91B64279, L_10, L_13, L_16, /*hidden argument*/NULL);
V_3 = L_17;
goto IL_0098;
}
IL_0073:
{
// return string.Format("[{0}.{1}]", span.Seconds, span.Milliseconds);
int32_t L_18;
L_18 = TimeSpan_get_Seconds_m3324F3A1F96CA956DAEDDB69DB32CAA320A053F7((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
int32_t L_19 = L_18;
RuntimeObject * L_20 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_19);
int32_t L_21;
L_21 = TimeSpan_get_Milliseconds_m7DCE7C8875295A46F8A3ED0326F498F30D1F9BEE((TimeSpan_t4F6A0E13E703B65365CFCAB58E05EE0AF3EE6203 *)(&V_0), /*hidden argument*/NULL);
int32_t L_22 = L_21;
RuntimeObject * L_23 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_22);
String_t* L_24;
L_24 = String_Format_m8D1CB0410C35E052A53AE957C914C841E54BAB66(_stringLiteralFAFE1135E66E66BD15C9C823C63EB9B6F691436F, L_20, L_23, /*hidden argument*/NULL);
V_3 = L_24;
goto IL_0098;
}
IL_0098:
{
// }
String_t* L_25 = V_3;
return L_25;
}
}
// System.Void Photon.Realtime.SupportLogger::TrackValues()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_TrackValues_m70D4240C8A119A9F6A260E068D85D146DFFD6380 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
bool V_2 = false;
bool V_3 = false;
{
// if (this.client != null)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
V_0 = (bool)((!(((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_004d;
}
}
{
// int currentRtt = this.client.LoadBalancingPeer.RoundTripTime;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_2 = __this->get_client_6();
NullCheck(L_2);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_3;
L_3 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
int32_t L_4;
L_4 = PhotonPeer_get_RoundTripTime_m59472820E0C4B43735EAFCB760F7FA8AD2D2D125(L_3, /*hidden argument*/NULL);
V_1 = L_4;
// if (currentRtt > this.pingMax)
int32_t L_5 = V_1;
int32_t L_6 = __this->get_pingMax_8();
V_2 = (bool)((((int32_t)L_5) > ((int32_t)L_6))? 1 : 0);
bool L_7 = V_2;
if (!L_7)
{
goto IL_0036;
}
}
{
// this.pingMax = currentRtt;
int32_t L_8 = V_1;
__this->set_pingMax_8(L_8);
}
IL_0036:
{
// if (currentRtt < this.pingMin)
int32_t L_9 = V_1;
int32_t L_10 = __this->get_pingMin_9();
V_3 = (bool)((((int32_t)L_9) < ((int32_t)L_10))? 1 : 0);
bool L_11 = V_3;
if (!L_11)
{
goto IL_004c;
}
}
{
// this.pingMin = currentRtt;
int32_t L_12 = V_1;
__this->set_pingMin_9(L_12);
}
IL_004c:
{
}
IL_004d:
{
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::LogStats()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_LogStats_m27044F5418F6377E206E3BCAE2823A28482FE91D (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8D1239F07A9E8331EAEB0B65C253D33291FDD92B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE51BAB8EEF309071E735D738BA793BB2B271FC56);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
int32_t G_B3_0 = 0;
{
// if (this.client == null || this.client.State == ClientState.PeerCreated)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
if (!L_0)
{
goto IL_0019;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_1 = __this->get_client_6();
NullCheck(L_1);
int32_t L_2;
L_2 = LoadBalancingClient_get_State_m0983EF873FB794B55A105CF532339D23998B8378(L_1, /*hidden argument*/NULL);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_001a;
}
IL_0019:
{
G_B3_0 = 1;
}
IL_001a:
{
V_0 = (bool)G_B3_0;
bool L_3 = V_0;
if (!L_3)
{
goto IL_0021;
}
}
{
// return;
goto IL_008f;
}
IL_0021:
{
// if (this.LogTrafficStats)
bool L_4 = __this->get_LogTrafficStats_4();
V_1 = L_4;
bool L_5 = V_1;
if (!L_5)
{
goto IL_008f;
}
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger " + this.client.LoadBalancingPeer.VitalStatsToString(false) + " Ping min/max: " + this.pingMin + "/" + this.pingMax);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
String_t* L_8;
L_8 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_8);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_7;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral8D1239F07A9E8331EAEB0B65C253D33291FDD92B);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral8D1239F07A9E8331EAEB0B65C253D33291FDD92B);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_11 = __this->get_client_6();
NullCheck(L_11);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_12;
L_12 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_11, /*hidden argument*/NULL);
NullCheck(L_12);
String_t* L_13;
L_13 = PhotonPeer_VitalStatsToString_m46687C2E5975ED699DD056A1A47DF5FCECF5AD68(L_12, (bool)0, /*hidden argument*/NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_13);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_13);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_14 = L_10;
NullCheck(L_14);
ArrayElementTypeCheck (L_14, _stringLiteralE51BAB8EEF309071E735D738BA793BB2B271FC56);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralE51BAB8EEF309071E735D738BA793BB2B271FC56);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = L_14;
int32_t* L_16 = __this->get_address_of_pingMin_9();
String_t* L_17;
L_17 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)L_16, /*hidden argument*/NULL);
NullCheck(L_15);
ArrayElementTypeCheck (L_15, L_17);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_17);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_18 = L_15;
NullCheck(L_18);
ArrayElementTypeCheck (L_18, _stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral86BBAACC00198DBB3046818AD3FC2AA10AE48DE1);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_19 = L_18;
int32_t* L_20 = __this->get_address_of_pingMax_8();
String_t* L_21;
L_21 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)L_20, /*hidden argument*/NULL);
NullCheck(L_19);
ArrayElementTypeCheck (L_19, L_21);
(L_19)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)L_21);
String_t* L_22;
L_22 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_19, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_22, /*hidden argument*/NULL);
}
IL_008f:
{
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::LogBasics()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_LogBasics_mFCBF9723E84B9A5E77B99417EB1DD36403A19BB0 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AuthModeOption_t9A5CEB3C8BAF3AF2800AB83DC4E89CB5352758A8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ClientState_t11533963D5C7136417FA3C78902BB507A656A3DE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CustomAuthenticationType_tD0F6E6C7B5CFDC781EAB5E9CDC44F285B1499BEB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EncryptionMode_tEB96412F69C8B07702ED390EB12AB8A4FC1DEFCD_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m94163AE84EBF9A1F7483014A8E9906BD93D9EBDB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m4D81A60A3C9A9F425B13CEE1AC43A357335E8B0B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RuntimePlatform_tB8798C800FD9810C0FE2B7D2F2A0A3979D239065_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TargetFrameworks_tFB9EC18927F8361341260A59B592FAA8EB50177D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral28A00C6C2538607194DCD2548EF0DFB07D324A14);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2BA731B2704F57E0D64A0B832502A59C9A647418);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral420970FC857D0E541C788790F58AA66962B22CC8);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5C2B738C07CAF0CE8EC4DF3FD24573F2DFFE3D56);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6808135BCC86E2F4461A09CFB8F51ED8ADE6E02A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral691FADBE26C2608C232E86F1289D3E5FCC330C03);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8F922B5D2735B37B3F9E1522305AB8CCD8ED274B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9A237664FCA59B03D60331058EF83BB83DB96F01);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB056053ED873F9751A6BF8D0EBEA1D10D0FF2F34);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB4175BA66C7FF6F238B86BBCB5E18C2056A2A746);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCADE992351A796143F5F5164E100121E1080BF4C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9E5192EBC7274833C57CDADEBF297584EA1559B);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * V_1 = NULL;
StringBuilder_t * V_2 = NULL;
String_t* V_3 = NULL;
int32_t V_4 = 0;
bool V_5 = false;
uint8_t V_6 = 0;
String_t* G_B5_0 = NULL;
int32_t G_B9_0 = 0;
int32_t G_B13_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B13_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B13_2 = NULL;
String_t* G_B13_3 = NULL;
StringBuilder_t * G_B13_4 = NULL;
int32_t G_B12_0 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B12_1 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B12_2 = NULL;
String_t* G_B12_3 = NULL;
StringBuilder_t * G_B12_4 = NULL;
String_t* G_B14_0 = NULL;
int32_t G_B14_1 = 0;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B14_2 = NULL;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* G_B14_3 = NULL;
String_t* G_B14_4 = NULL;
StringBuilder_t * G_B14_5 = NULL;
{
// if (this.client != null)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
V_0 = (bool)((!(((RuntimeObject*)(LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A *)L_0) <= ((RuntimeObject*)(RuntimeObject *)NULL)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_028a;
}
}
{
// List<string> buildProperties = new List<string>(10);
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_2 = (List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 *)il2cpp_codegen_object_new(List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3_il2cpp_TypeInfo_var);
List_1__ctor_m4D81A60A3C9A9F425B13CEE1AC43A357335E8B0B(L_2, ((int32_t)10), /*hidden argument*/List_1__ctor_m4D81A60A3C9A9F425B13CEE1AC43A357335E8B0B_RuntimeMethod_var);
V_1 = L_2;
// buildProperties.Add(Application.unityVersion);
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_3 = V_1;
String_t* L_4;
L_4 = Application_get_unityVersion_m96DFC04C06A62DDF3EDC830C1F103D848AC0FDF1(/*hidden argument*/NULL);
NullCheck(L_3);
List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE(L_3, L_4, /*hidden argument*/List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
// buildProperties.Add(Application.platform.ToString());
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_5 = V_1;
int32_t L_6;
L_6 = Application_get_platform_mB22F7F39CDD46667C3EF64507E55BB7DA18F66C4(/*hidden argument*/NULL);
V_4 = L_6;
RuntimeObject * L_7 = Box(RuntimePlatform_tB8798C800FD9810C0FE2B7D2F2A0A3979D239065_il2cpp_TypeInfo_var, (&V_4));
NullCheck(L_7);
String_t* L_8;
L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_7);
V_4 = *(int32_t*)UnBox(L_7);
NullCheck(L_5);
List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE(L_5, L_8, /*hidden argument*/List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
// buildProperties.Add("ENABLE_IL2CPP");
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_9 = V_1;
NullCheck(L_9);
List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE(L_9, _stringLiteral8F922B5D2735B37B3F9E1522305AB8CCD8ED274B, /*hidden argument*/List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
// buildProperties.Add("DEBUG");
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_10 = V_1;
NullCheck(L_10);
List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE(L_10, _stringLiteral420970FC857D0E541C788790F58AA66962B22CC8, /*hidden argument*/List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
// buildProperties.Add("NET_4_6");
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_11 = V_1;
NullCheck(L_11);
List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE(L_11, _stringLiteralD9E5192EBC7274833C57CDADEBF297584EA1559B, /*hidden argument*/List_1_Add_m627ED3F7C50096BB8934F778CB980E79483BD2AE_RuntimeMethod_var);
// StringBuilder sb = new StringBuilder();
StringBuilder_t * L_12 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_12, /*hidden argument*/NULL);
V_2 = L_12;
// string appIdShort = string.IsNullOrEmpty(this.client.AppId) || this.client.AppId.Length < 8 ? this.client.AppId : string.Concat(this.client.AppId.Substring(0, 8), "***");
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_13 = __this->get_client_6();
NullCheck(L_13);
String_t* L_14;
L_14 = LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline(L_13, /*hidden argument*/NULL);
bool L_15;
L_15 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_14, /*hidden argument*/NULL);
if (L_15)
{
goto IL_00ae;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_16 = __this->get_client_6();
NullCheck(L_16);
String_t* L_17;
L_17 = LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline(L_16, /*hidden argument*/NULL);
NullCheck(L_17);
int32_t L_18;
L_18 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) < ((int32_t)8)))
{
goto IL_00ae;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_19 = __this->get_client_6();
NullCheck(L_19);
String_t* L_20;
L_20 = LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
String_t* L_21;
L_21 = String_Substring_m7A39A2AC0893AE940CF4CEC841326D56FFB9D86B(L_20, 0, 8, /*hidden argument*/NULL);
String_t* L_22;
L_22 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_21, _stringLiteralB056053ED873F9751A6BF8D0EBEA1D10D0FF2F34, /*hidden argument*/NULL);
G_B5_0 = L_22;
goto IL_00b9;
}
IL_00ae:
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_23 = __this->get_client_6();
NullCheck(L_23);
String_t* L_24;
L_24 = LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline(L_23, /*hidden argument*/NULL);
G_B5_0 = L_24;
}
IL_00b9:
{
V_3 = G_B5_0;
// sb.AppendFormat("{0} SupportLogger Info: ", this.GetFormattedTimestamp());
StringBuilder_t * L_25 = V_2;
String_t* L_26;
L_26 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_25);
StringBuilder_t * L_27;
L_27 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_25, _stringLiteralB4175BA66C7FF6F238B86BBCB5E18C2056A2A746, L_26, /*hidden argument*/NULL);
// sb.AppendFormat("AppID: \"{0}\" AppVersion: \"{1}\" Client: v{2} ({4}) Build: {3} ", appIdShort, this.client.AppVersion, PhotonPeer.Version, string.Join(", ", buildProperties.ToArray()), this.client.LoadBalancingPeer.TargetFramework);
StringBuilder_t * L_28 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_29 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)5);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_30 = L_29;
String_t* L_31 = V_3;
NullCheck(L_30);
ArrayElementTypeCheck (L_30, L_31);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_31);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_32 = L_30;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_33 = __this->get_client_6();
NullCheck(L_33);
String_t* L_34;
L_34 = LoadBalancingClient_get_AppVersion_mFA53FE244C2CBAD64709882193BA30826B8B69C5_inline(L_33, /*hidden argument*/NULL);
NullCheck(L_32);
ArrayElementTypeCheck (L_32, L_34);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_34);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_35 = L_32;
IL2CPP_RUNTIME_CLASS_INIT(PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD_il2cpp_TypeInfo_var);
String_t* L_36;
L_36 = PhotonPeer_get_Version_m8D829DEFFBD0E4677A535F35570467DC4EFF93D3(/*hidden argument*/NULL);
NullCheck(L_35);
ArrayElementTypeCheck (L_35, L_36);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_36);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_37 = L_35;
List_1_t6C9F81EDBF0F4A31A9B0DA372D2EF34BDA3A1AF3 * L_38 = V_1;
NullCheck(L_38);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_39;
L_39 = List_1_ToArray_m94163AE84EBF9A1F7483014A8E9906BD93D9EBDB(L_38, /*hidden argument*/List_1_ToArray_m94163AE84EBF9A1F7483014A8E9906BD93D9EBDB_RuntimeMethod_var);
String_t* L_40;
L_40 = String_Join_m8846EB11F0A221BDE237DE041D17764B36065404(_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, L_39, /*hidden argument*/NULL);
NullCheck(L_37);
ArrayElementTypeCheck (L_37, L_40);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_40);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_41 = L_37;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_42 = __this->get_client_6();
NullCheck(L_42);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_43;
L_43 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_42, /*hidden argument*/NULL);
NullCheck(L_43);
int32_t L_44 = ((PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD *)L_43)->get_TargetFramework_8();
int32_t L_45 = L_44;
RuntimeObject * L_46 = Box(TargetFrameworks_tFB9EC18927F8361341260A59B592FAA8EB50177D_il2cpp_TypeInfo_var, &L_45);
NullCheck(L_41);
ArrayElementTypeCheck (L_41, L_46);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_46);
NullCheck(L_28);
StringBuilder_t * L_47;
L_47 = StringBuilder_AppendFormat_m97C4AAABA51FCC2D426BD22FE05BEC045AB9D6F8(L_28, _stringLiteral9A237664FCA59B03D60331058EF83BB83DB96F01, L_41, /*hidden argument*/NULL);
// if (this.client != null && this.client.LoadBalancingPeer != null && this.client.LoadBalancingPeer.SocketImplementation != null)
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_48 = __this->get_client_6();
if (!L_48)
{
goto IL_0150;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_49 = __this->get_client_6();
NullCheck(L_49);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_50;
L_50 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_49, /*hidden argument*/NULL);
if (!L_50)
{
goto IL_0150;
}
}
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_51 = __this->get_client_6();
NullCheck(L_51);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_52;
L_52 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_51, /*hidden argument*/NULL);
NullCheck(L_52);
Type_t * L_53;
L_53 = PhotonPeer_get_SocketImplementation_mAC4A1FC38B0992934D9EB4FC6EC12021D2C07602_inline(L_52, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
bool L_54;
L_54 = Type_op_Inequality_m6DDC5E923203A79BF505F9275B694AD3FAA36DB0(L_53, (Type_t *)NULL, /*hidden argument*/NULL);
G_B9_0 = ((int32_t)(L_54));
goto IL_0151;
}
IL_0150:
{
G_B9_0 = 0;
}
IL_0151:
{
V_5 = (bool)G_B9_0;
bool L_55 = V_5;
if (!L_55)
{
goto IL_017a;
}
}
{
// sb.AppendFormat("Socket: {0} ", this.client.LoadBalancingPeer.SocketImplementation.Name);
StringBuilder_t * L_56 = V_2;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_57 = __this->get_client_6();
NullCheck(L_57);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_58;
L_58 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_57, /*hidden argument*/NULL);
NullCheck(L_58);
Type_t * L_59;
L_59 = PhotonPeer_get_SocketImplementation_mAC4A1FC38B0992934D9EB4FC6EC12021D2C07602_inline(L_58, /*hidden argument*/NULL);
NullCheck(L_59);
String_t* L_60;
L_60 = VirtFuncInvoker0< String_t* >::Invoke(7 /* System.String System.Reflection.MemberInfo::get_Name() */, L_59);
NullCheck(L_56);
StringBuilder_t * L_61;
L_61 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_56, _stringLiteral2BA731B2704F57E0D64A0B832502A59C9A647418, L_60, /*hidden argument*/NULL);
}
IL_017a:
{
// sb.AppendFormat("UserId: \"{0}\" AuthType: {1} AuthMode: {2} {3} ", this.client.UserId, (this.client.AuthValues != null) ? this.client.AuthValues.AuthType.ToString() : "N/A", this.client.AuthMode, this.client.EncryptionMode);
StringBuilder_t * L_62 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_63 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_64 = L_63;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_65 = __this->get_client_6();
NullCheck(L_65);
String_t* L_66;
L_66 = LoadBalancingClient_get_UserId_m8523275C4DFFEE75877514FF4022A2EF2C2D944E(L_65, /*hidden argument*/NULL);
NullCheck(L_64);
ArrayElementTypeCheck (L_64, L_66);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_66);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_67 = L_64;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_68 = __this->get_client_6();
NullCheck(L_68);
AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * L_69;
L_69 = LoadBalancingClient_get_AuthValues_m6CFE88D5746FE66CF036F3BDEE97FD3F3B080947_inline(L_68, /*hidden argument*/NULL);
G_B12_0 = 1;
G_B12_1 = L_67;
G_B12_2 = L_67;
G_B12_3 = _stringLiteral6808135BCC86E2F4461A09CFB8F51ED8ADE6E02A;
G_B12_4 = L_62;
if (L_69)
{
G_B13_0 = 1;
G_B13_1 = L_67;
G_B13_2 = L_67;
G_B13_3 = _stringLiteral6808135BCC86E2F4461A09CFB8F51ED8ADE6E02A;
G_B13_4 = L_62;
goto IL_01aa;
}
}
{
G_B14_0 = _stringLiteral28A00C6C2538607194DCD2548EF0DFB07D324A14;
G_B14_1 = G_B12_0;
G_B14_2 = G_B12_1;
G_B14_3 = G_B12_2;
G_B14_4 = G_B12_3;
G_B14_5 = G_B12_4;
goto IL_01c9;
}
IL_01aa:
{
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_70 = __this->get_client_6();
NullCheck(L_70);
AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * L_71;
L_71 = LoadBalancingClient_get_AuthValues_m6CFE88D5746FE66CF036F3BDEE97FD3F3B080947_inline(L_70, /*hidden argument*/NULL);
NullCheck(L_71);
uint8_t L_72;
L_72 = AuthenticationValues_get_AuthType_mF05C38D7A0CBE9ADFFBF74C829A1E98373E635BE(L_71, /*hidden argument*/NULL);
V_6 = L_72;
RuntimeObject * L_73 = Box(CustomAuthenticationType_tD0F6E6C7B5CFDC781EAB5E9CDC44F285B1499BEB_il2cpp_TypeInfo_var, (&V_6));
NullCheck(L_73);
String_t* L_74;
L_74 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_73);
V_6 = *(uint8_t*)UnBox(L_73);
G_B14_0 = L_74;
G_B14_1 = G_B13_0;
G_B14_2 = G_B13_1;
G_B14_3 = G_B13_2;
G_B14_4 = G_B13_3;
G_B14_5 = G_B13_4;
}
IL_01c9:
{
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);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_75 = G_B14_3;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_76 = __this->get_client_6();
NullCheck(L_76);
int32_t L_77 = L_76->get_AuthMode_5();
int32_t L_78 = L_77;
RuntimeObject * L_79 = Box(AuthModeOption_t9A5CEB3C8BAF3AF2800AB83DC4E89CB5352758A8_il2cpp_TypeInfo_var, &L_78);
NullCheck(L_75);
ArrayElementTypeCheck (L_75, L_79);
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_79);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_80 = L_75;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_81 = __this->get_client_6();
NullCheck(L_81);
int32_t L_82 = L_81->get_EncryptionMode_6();
int32_t L_83 = L_82;
RuntimeObject * L_84 = Box(EncryptionMode_tEB96412F69C8B07702ED390EB12AB8A4FC1DEFCD_il2cpp_TypeInfo_var, &L_83);
NullCheck(L_80);
ArrayElementTypeCheck (L_80, L_84);
(L_80)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_84);
NullCheck(G_B14_5);
StringBuilder_t * L_85;
L_85 = StringBuilder_AppendFormat_m97C4AAABA51FCC2D426BD22FE05BEC045AB9D6F8(G_B14_5, G_B14_4, L_80, /*hidden argument*/NULL);
// sb.AppendFormat("State: {0} ", this.client.State);
StringBuilder_t * L_86 = V_2;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_87 = __this->get_client_6();
NullCheck(L_87);
int32_t L_88;
L_88 = LoadBalancingClient_get_State_m0983EF873FB794B55A105CF532339D23998B8378(L_87, /*hidden argument*/NULL);
int32_t L_89 = L_88;
RuntimeObject * L_90 = Box(ClientState_t11533963D5C7136417FA3C78902BB507A656A3DE_il2cpp_TypeInfo_var, &L_89);
NullCheck(L_86);
StringBuilder_t * L_91;
L_91 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_86, _stringLiteral691FADBE26C2608C232E86F1289D3E5FCC330C03, L_90, /*hidden argument*/NULL);
// sb.AppendFormat("PeerID: {0} ", this.client.LoadBalancingPeer.PeerID);
StringBuilder_t * L_92 = V_2;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_93 = __this->get_client_6();
NullCheck(L_93);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_94;
L_94 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_93, /*hidden argument*/NULL);
NullCheck(L_94);
String_t* L_95;
L_95 = PhotonPeer_get_PeerID_m7FAAED9A600AF34CB1133618EA2320D6C13A70AA(L_94, /*hidden argument*/NULL);
NullCheck(L_92);
StringBuilder_t * L_96;
L_96 = StringBuilder_AppendFormat_mA3A12EF6C7AC4C5EBC41FCA633F4FC036205669E(L_92, _stringLiteral5C2B738C07CAF0CE8EC4DF3FD24573F2DFFE3D56, L_95, /*hidden argument*/NULL);
// sb.AppendFormat("NameServer: {0} Current Server: {1} IP: {2} Region: {3} ", this.client.NameServerHost, this.client.CurrentServerAddress, this.client.LoadBalancingPeer.ServerIpAddress, this.client.CloudRegion);
StringBuilder_t * L_97 = V_2;
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_98 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_99 = L_98;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_100 = __this->get_client_6();
NullCheck(L_100);
String_t* L_101 = L_100->get_NameServerHost_10();
NullCheck(L_99);
ArrayElementTypeCheck (L_99, L_101);
(L_99)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_101);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_102 = L_99;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_103 = __this->get_client_6();
NullCheck(L_103);
String_t* L_104;
L_104 = LoadBalancingClient_get_CurrentServerAddress_m340A40F8C31A54CCBFF4123A14615C55052DA56F(L_103, /*hidden argument*/NULL);
NullCheck(L_102);
ArrayElementTypeCheck (L_102, L_104);
(L_102)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_104);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_105 = L_102;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_106 = __this->get_client_6();
NullCheck(L_106);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_107;
L_107 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_106, /*hidden argument*/NULL);
NullCheck(L_107);
String_t* L_108;
L_108 = PhotonPeer_get_ServerIpAddress_m857E470756B99A4D899DE362F2250BC9F862E012(L_107, /*hidden argument*/NULL);
NullCheck(L_105);
ArrayElementTypeCheck (L_105, L_108);
(L_105)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_108);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_109 = L_105;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_110 = __this->get_client_6();
NullCheck(L_110);
String_t* L_111;
L_111 = LoadBalancingClient_get_CloudRegion_m08A780475DA96A78E6D982816DB4002A149BB1AA_inline(L_110, /*hidden argument*/NULL);
NullCheck(L_109);
ArrayElementTypeCheck (L_109, L_111);
(L_109)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_111);
NullCheck(L_97);
StringBuilder_t * L_112;
L_112 = StringBuilder_AppendFormat_m97C4AAABA51FCC2D426BD22FE05BEC045AB9D6F8(L_97, _stringLiteralCADE992351A796143F5F5164E100121E1080BF4C, L_109, /*hidden argument*/NULL);
// Debug.LogWarning(sb.ToString());
StringBuilder_t * L_113 = V_2;
NullCheck(L_113);
String_t* L_114;
L_114 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_113);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_LogWarning_m24085D883C9E74D7AB423F0625E13259923960E7(L_114, /*hidden argument*/NULL);
}
IL_028a:
{
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnConnected()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnConnected_m84F8E9098FB782DCC7618BF8366F14E27722A215 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5B49F56286E679FA58107352F1A55E4C9D0B9352);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnConnected().");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral5B49F56286E679FA58107352F1A55E4C9D0B9352, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// this.pingMax = 0;
__this->set_pingMax_8(0);
// this.pingMin = this.client.LoadBalancingPeer.RoundTripTime;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_2 = __this->get_client_6();
NullCheck(L_2);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_3;
L_3 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
int32_t L_4;
L_4 = PhotonPeer_get_RoundTripTime_m59472820E0C4B43735EAFCB760F7FA8AD2D2D125(L_3, /*hidden argument*/NULL);
__this->set_pingMin_9(L_4);
// this.LogBasics();
SupportLogger_LogBasics_mFCBF9723E84B9A5E77B99417EB1DD36403A19BB0(__this, /*hidden argument*/NULL);
// if (this.LogTrafficStats)
bool L_5 = __this->get_LogTrafficStats_4();
V_0 = L_5;
bool L_6 = V_0;
if (!L_6)
{
goto IL_0072;
}
}
{
// this.client.LoadBalancingPeer.TrafficStatsEnabled = false;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_7 = __this->get_client_6();
NullCheck(L_7);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_8;
L_8 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_7, /*hidden argument*/NULL);
NullCheck(L_8);
PhotonPeer_set_TrafficStatsEnabled_m65B5C7C4FF0584A247331109F716AAA5B54D97A5(L_8, (bool)0, /*hidden argument*/NULL);
// this.client.LoadBalancingPeer.TrafficStatsEnabled = true;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_9 = __this->get_client_6();
NullCheck(L_9);
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_10;
L_10 = LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
PhotonPeer_set_TrafficStatsEnabled_m65B5C7C4FF0584A247331109F716AAA5B54D97A5(L_10, (bool)1, /*hidden argument*/NULL);
// this.StartLogStats();
SupportLogger_StartLogStats_m31291D23E40BFA0A590676E589161FAD6A7A0F25(__this, /*hidden argument*/NULL);
}
IL_0072:
{
// this.StartTrackValues();
SupportLogger_StartTrackValues_m9E1B6BAFAFA345B48BD1B78DC6668F47B134BD41(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnConnectedToMaster()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnConnectedToMaster_m7299BA991B045F872A896E03FAB0C3506D2025FD (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral744BF9AE3CE56EE58F000CE7C3F4F94C51ABA032);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnConnectedToMaster().");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral744BF9AE3CE56EE58F000CE7C3F4F94C51ABA032, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnFriendListUpdate(System.Collections.Generic.List`1<Photon.Realtime.FriendInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnFriendListUpdate_m351F906619FC2A79BACC9AD59CF7DF831ADF481A (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, List_1_t329E537BFFC32042EF9818A1DAD852B96553F60C * ___friendList0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral49221D9FFDE2F83640CB6D959D4A66D1492381B7);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnFriendListUpdate(friendList).");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral49221D9FFDE2F83640CB6D959D4A66D1492381B7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnJoinedLobby()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnJoinedLobby_m1A22E5B0E1E641661CEAF864CC4F4A7EE6B88F0E (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB18B972DF30D22EF004BFFEF3F5C7E126C9DA580);
s_Il2CppMethodInitialized = true;
}
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B2_0 = NULL;
String_t* G_B2_1 = NULL;
String_t* G_B2_2 = NULL;
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B1_0 = NULL;
String_t* G_B1_1 = NULL;
String_t* G_B1_2 = NULL;
String_t* G_B3_0 = NULL;
String_t* G_B3_1 = NULL;
String_t* G_B3_2 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnJoinedLobby(" + this.client.CurrentLobby + ").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_1 = __this->get_client_6();
NullCheck(L_1);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_2;
L_2 = LoadBalancingClient_get_CurrentLobby_m3FD1849CCACF880D859A75E3006627CC77E847E7_inline(L_1, /*hidden argument*/NULL);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_3 = L_2;
G_B1_0 = L_3;
G_B1_1 = _stringLiteralB18B972DF30D22EF004BFFEF3F5C7E126C9DA580;
G_B1_2 = L_0;
if (L_3)
{
G_B2_0 = L_3;
G_B2_1 = _stringLiteralB18B972DF30D22EF004BFFEF3F5C7E126C9DA580;
G_B2_2 = L_0;
goto IL_001e;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
goto IL_0023;
}
IL_001e:
{
NullCheck(G_B2_0);
String_t* L_4;
L_4 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_4;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
}
IL_0023:
{
String_t* L_5;
L_5 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(G_B3_2, G_B3_1, G_B3_0, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_5, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnLeftLobby()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnLeftLobby_m507D4D4867913D803EF2D03DEF8578CD4D79C50C (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE115685933AB6FADBFC7D7A380253AE496EE2014);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnLeftLobby().");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteralE115685933AB6FADBFC7D7A380253AE496EE2014, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnCreateRoomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnCreateRoomFailed_mA4C255E899B64DAE0E4B1454A6DF58ACA6BF5AE1 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFB509740A88CB90C1FADEE5AF8BBF1DEEA0A7D27);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnCreateRoomFailed(" + returnCode+","+message+").");
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteralFB509740A88CB90C1FADEE5AF8BBF1DEEA0A7D27);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteralFB509740A88CB90C1FADEE5AF8BBF1DEEA0A7D27);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
String_t* L_5;
L_5 = Int16_ToString_m8CF4F76507EFEA86FE5984D7572DC66E44C20022((int16_t*)(&___returnCode0), /*hidden argument*/NULL);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_4;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
String_t* L_8 = ___message1;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_8);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_7;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
String_t* L_10;
L_10 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_9, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_10, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnJoinedRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnJoinedRoom_m9507DE2EFFC4B9FEDE58D06A44ACC2A062BA230A (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral01551127791BB14934414B8428B67FD51B390033);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
s_Il2CppMethodInitialized = true;
}
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B2_0 = NULL;
int32_t G_B2_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_3 = NULL;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B1_0 = NULL;
int32_t G_B1_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_3 = NULL;
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B5_0 = NULL;
int32_t G_B5_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_3 = NULL;
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B4_0 = NULL;
int32_t G_B4_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_3 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnJoinedRoom(" + this.client.CurrentRoom + "). " + this.client.CurrentLobby + " GameServer:" + this.client.GameServerAddress);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral01551127791BB14934414B8428B67FD51B390033);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral01551127791BB14934414B8428B67FD51B390033);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5 = __this->get_client_6();
NullCheck(L_5);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_6;
L_6 = LoadBalancingClient_get_CurrentRoom_m43837CB1E6A0BB52982A5795649FE77DD5768D73_inline(L_5, /*hidden argument*/NULL);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_7 = L_6;
G_B1_0 = L_7;
G_B1_1 = 2;
G_B1_2 = L_4;
G_B1_3 = L_4;
if (L_7)
{
G_B2_0 = L_7;
G_B2_1 = 2;
G_B2_2 = L_4;
G_B2_3 = L_4;
goto IL_002c;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
G_B3_3 = G_B1_3;
goto IL_0031;
}
IL_002c:
{
NullCheck(G_B2_0);
String_t* L_8;
L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_8;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
G_B3_3 = G_B2_3;
}
IL_0031:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (String_t*)G_B3_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = G_B3_3;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_11 = __this->get_client_6();
NullCheck(L_11);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_12;
L_12 = LoadBalancingClient_get_CurrentLobby_m3FD1849CCACF880D859A75E3006627CC77E847E7_inline(L_11, /*hidden argument*/NULL);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_13 = L_12;
G_B4_0 = L_13;
G_B4_1 = 4;
G_B4_2 = L_10;
G_B4_3 = L_10;
if (L_13)
{
G_B5_0 = L_13;
G_B5_1 = 4;
G_B5_2 = L_10;
G_B5_3 = L_10;
goto IL_004e;
}
}
{
G_B6_0 = ((String_t*)(NULL));
G_B6_1 = G_B4_1;
G_B6_2 = G_B4_2;
G_B6_3 = G_B4_3;
goto IL_0053;
}
IL_004e:
{
NullCheck(G_B5_0);
String_t* L_14;
L_14 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B5_0);
G_B6_0 = L_14;
G_B6_1 = G_B5_1;
G_B6_2 = G_B5_2;
G_B6_3 = G_B5_3;
}
IL_0053:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (String_t*)G_B6_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = G_B6_3;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, _stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_16 = L_15;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_17 = __this->get_client_6();
NullCheck(L_17);
String_t* L_18;
L_18 = LoadBalancingClient_get_GameServerAddress_mC8284CC749DD6C046B97C985CA64B7B3A96CB5A8_inline(L_17, /*hidden argument*/NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_18);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)L_18);
String_t* L_19;
L_19 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_19, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnJoinRoomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnJoinRoomFailed_m18CA0D929AF2DE6612CCD197C06F0FFBDD3F2143 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4107A0725173791DF5ACF52B43FBF074AD90C194);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnJoinRoomFailed(" + returnCode+","+message+").");
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral4107A0725173791DF5ACF52B43FBF074AD90C194);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral4107A0725173791DF5ACF52B43FBF074AD90C194);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
String_t* L_5;
L_5 = Int16_ToString_m8CF4F76507EFEA86FE5984D7572DC66E44C20022((int16_t*)(&___returnCode0), /*hidden argument*/NULL);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_4;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
String_t* L_8 = ___message1;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_8);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_7;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
String_t* L_10;
L_10 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_9, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_10, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnJoinRandomFailed(System.Int16,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnJoinRandomFailed_m2A52D7C7D70A4AB3AB20E5266F2444F2DC50B6A9 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, int16_t ___returnCode0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral38011452171D5D98758667404D6F17F5AF329293);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnJoinRandomFailed(" + returnCode+","+message+").");
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)6);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteral38011452171D5D98758667404D6F17F5AF329293);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral38011452171D5D98758667404D6F17F5AF329293);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
String_t* L_5;
L_5 = Int16_ToString_m8CF4F76507EFEA86FE5984D7572DC66E44C20022((int16_t*)(&___returnCode0), /*hidden argument*/NULL);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (String_t*)L_5);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_6 = L_4;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, _stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteralC18C9BB6DF0D5C60CE5A5D2D3D6111BEB6F8CCEB);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_7 = L_6;
String_t* L_8 = ___message1;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_8);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(4), (String_t*)L_8);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = L_7;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
String_t* L_10;
L_10 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_9, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_10, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnCreatedRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnCreatedRoom_mFF53519317C4E9B1A60E6061B0093FBD773B65DA (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFCF229FD3FDDCC26316DD55763B57CA36D12D076);
s_Il2CppMethodInitialized = true;
}
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B2_0 = NULL;
int32_t G_B2_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B2_3 = NULL;
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * G_B1_0 = NULL;
int32_t G_B1_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B1_3 = NULL;
String_t* G_B3_0 = NULL;
int32_t G_B3_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B3_3 = NULL;
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B5_0 = NULL;
int32_t G_B5_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B5_3 = NULL;
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * G_B4_0 = NULL;
int32_t G_B4_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B4_3 = NULL;
String_t* G_B6_0 = NULL;
int32_t G_B6_1 = 0;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_2 = NULL;
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* G_B6_3 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnCreatedRoom(" + this.client.CurrentRoom + "). " + this.client.CurrentLobby + " GameServer:" + this.client.GameServerAddress);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_0 = (StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A*)SZArrayNew(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_1 = L_0;
String_t* L_2;
L_2 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (String_t*)L_2);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_3 = L_1;
NullCheck(L_3);
ArrayElementTypeCheck (L_3, _stringLiteralFCF229FD3FDDCC26316DD55763B57CA36D12D076);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteralFCF229FD3FDDCC26316DD55763B57CA36D12D076);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_4 = L_3;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_5 = __this->get_client_6();
NullCheck(L_5);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_6;
L_6 = LoadBalancingClient_get_CurrentRoom_m43837CB1E6A0BB52982A5795649FE77DD5768D73_inline(L_5, /*hidden argument*/NULL);
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_7 = L_6;
G_B1_0 = L_7;
G_B1_1 = 2;
G_B1_2 = L_4;
G_B1_3 = L_4;
if (L_7)
{
G_B2_0 = L_7;
G_B2_1 = 2;
G_B2_2 = L_4;
G_B2_3 = L_4;
goto IL_002c;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
G_B3_3 = G_B1_3;
goto IL_0031;
}
IL_002c:
{
NullCheck(G_B2_0);
String_t* L_8;
L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_8;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
G_B3_3 = G_B2_3;
}
IL_0031:
{
NullCheck(G_B3_2);
ArrayElementTypeCheck (G_B3_2, G_B3_0);
(G_B3_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B3_1), (String_t*)G_B3_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_9 = G_B3_3;
NullCheck(L_9);
ArrayElementTypeCheck (L_9, _stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral54A5FA2EE68A6A691986920E9A7C3D6CAE866AFB);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_10 = L_9;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_11 = __this->get_client_6();
NullCheck(L_11);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_12;
L_12 = LoadBalancingClient_get_CurrentLobby_m3FD1849CCACF880D859A75E3006627CC77E847E7_inline(L_11, /*hidden argument*/NULL);
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_13 = L_12;
G_B4_0 = L_13;
G_B4_1 = 4;
G_B4_2 = L_10;
G_B4_3 = L_10;
if (L_13)
{
G_B5_0 = L_13;
G_B5_1 = 4;
G_B5_2 = L_10;
G_B5_3 = L_10;
goto IL_004e;
}
}
{
G_B6_0 = ((String_t*)(NULL));
G_B6_1 = G_B4_1;
G_B6_2 = G_B4_2;
G_B6_3 = G_B4_3;
goto IL_0053;
}
IL_004e:
{
NullCheck(G_B5_0);
String_t* L_14;
L_14 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B5_0);
G_B6_0 = L_14;
G_B6_1 = G_B5_1;
G_B6_2 = G_B5_2;
G_B6_3 = G_B5_3;
}
IL_0053:
{
NullCheck(G_B6_2);
ArrayElementTypeCheck (G_B6_2, G_B6_0);
(G_B6_2)->SetAt(static_cast<il2cpp_array_size_t>(G_B6_1), (String_t*)G_B6_0);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_15 = G_B6_3;
NullCheck(L_15);
ArrayElementTypeCheck (L_15, _stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral1834ABC14E732219D297691F3F1A2B47630D43B1);
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* L_16 = L_15;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_17 = __this->get_client_6();
NullCheck(L_17);
String_t* L_18;
L_18 = LoadBalancingClient_get_GameServerAddress_mC8284CC749DD6C046B97C985CA64B7B3A96CB5A8_inline(L_17, /*hidden argument*/NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_18);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(6), (String_t*)L_18);
String_t* L_19;
L_19 = String_Concat_mFEA7EFA1A6E75B96B1B7BC4526AAC864BFF83CC9(L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_19, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnLeftRoom()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnLeftRoom_m890242142B105A919069C56017907EF53BE305A7 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1E2510325BB91639BC80976746CCEC9FE9947D99);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnLeftRoom().");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral1E2510325BB91639BC80976746CCEC9FE9947D99, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnDisconnected(Photon.Realtime.DisconnectCause)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnDisconnected_mC523FAAAF83506E251370ECE71A379C6C352E6C7 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, int32_t ___cause0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DisconnectCause_t68C88FC8A40416BE143C2121B174CD15DCE9ACA6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral975531AFC28B31E2C3F222277BE27AB31AE7D4B6);
s_Il2CppMethodInitialized = true;
}
{
// this.StopLogStats();
SupportLogger_StopLogStats_m50CF797EB0CFBE8D9E25941C26870969591BCB40(__this, /*hidden argument*/NULL);
// this.StopTrackValues();
SupportLogger_StopTrackValues_m20B3E577DEE42D0BADE001DB1D678B255F12EAD8(__this, /*hidden argument*/NULL);
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnDisconnected(" + cause + ").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
RuntimeObject * L_1 = Box(DisconnectCause_t68C88FC8A40416BE143C2121B174CD15DCE9ACA6_il2cpp_TypeInfo_var, (&___cause0));
NullCheck(L_1);
String_t* L_2;
L_2 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_1);
___cause0 = *(int32_t*)UnBox(L_1);
String_t* L_3;
L_3 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(L_0, _stringLiteral975531AFC28B31E2C3F222277BE27AB31AE7D4B6, L_2, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_3, /*hidden argument*/NULL);
// this.LogBasics();
SupportLogger_LogBasics_mFCBF9723E84B9A5E77B99417EB1DD36403A19BB0(__this, /*hidden argument*/NULL);
// this.LogStats();
SupportLogger_LogStats_m27044F5418F6377E206E3BCAE2823A28482FE91D(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnRegionListReceived(Photon.Realtime.RegionHandler)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnRegionListReceived_m23F342AFB60871B4F34FCD0430A1BC1DB9EEFCB7 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * ___regionHandler0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD4790BF76CC94ADC0486FBF64F752246D60263C5);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnRegionListReceived(regionHandler).");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteralD4790BF76CC94ADC0486FBF64F752246D60263C5, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnRoomListUpdate(System.Collections.Generic.List`1<Photon.Realtime.RoomInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnRoomListUpdate_mA1A82F024F737C3A6CD00FC42BDB1ECCD333A5AA (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * ___roomList0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m83A9CA4DC00347E0F2910B6DADDD67583ED0D539_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDAE93AA613D9CE34751185FB80DED40E346E9444);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnRoomListUpdate(roomList). roomList.Count: " + roomList.Count);
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
List_1_t2BC1E1478FBCFD41C2AE6FD49D3C31622CD31694 * L_1 = ___roomList0;
NullCheck(L_1);
int32_t L_2;
L_2 = List_1_get_Count_m83A9CA4DC00347E0F2910B6DADDD67583ED0D539_inline(L_1, /*hidden argument*/List_1_get_Count_m83A9CA4DC00347E0F2910B6DADDD67583ED0D539_RuntimeMethod_var);
V_0 = L_2;
String_t* L_3;
L_3 = Int32_ToString_m340C0A14D16799421EFDF8A81C8A16FA76D48411((int32_t*)(&V_0), /*hidden argument*/NULL);
String_t* L_4;
L_4 = String_Concat_m89EAB4C6A96B0E5C3F87300D6BE78D386B9EFC44(L_0, _stringLiteralDAE93AA613D9CE34751185FB80DED40E346E9444, L_3, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnPlayerEnteredRoom(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnPlayerEnteredRoom_m6F88CFF775D90BC9C71F679B6979AA26EDF892B3 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___newPlayer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5C67743CDBE53FB079609F78DCB88B3481C5E480);
s_Il2CppMethodInitialized = true;
}
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B2_0 = NULL;
String_t* G_B2_1 = NULL;
String_t* G_B2_2 = NULL;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B1_0 = NULL;
String_t* G_B1_1 = NULL;
String_t* G_B1_2 = NULL;
String_t* G_B3_0 = NULL;
String_t* G_B3_1 = NULL;
String_t* G_B3_2 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnPlayerEnteredRoom(" + newPlayer+").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___newPlayer0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = _stringLiteral5C67743CDBE53FB079609F78DCB88B3481C5E480;
G_B1_2 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = _stringLiteral5C67743CDBE53FB079609F78DCB88B3481C5E480;
G_B2_2 = L_0;
goto IL_0014;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
goto IL_0019;
}
IL_0014:
{
NullCheck(G_B2_0);
String_t* L_3;
L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_3;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
}
IL_0019:
{
String_t* L_4;
L_4 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(G_B3_2, G_B3_1, G_B3_0, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnPlayerLeftRoom(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnPlayerLeftRoom_mAC299453BB544A5663DA7AEA8DB90D31BD9DD00F (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___otherPlayer0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7055E349A166CE4A3570F4C7C1A34114B0CEBF90);
s_Il2CppMethodInitialized = true;
}
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B2_0 = NULL;
String_t* G_B2_1 = NULL;
String_t* G_B2_2 = NULL;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B1_0 = NULL;
String_t* G_B1_1 = NULL;
String_t* G_B1_2 = NULL;
String_t* G_B3_0 = NULL;
String_t* G_B3_1 = NULL;
String_t* G_B3_2 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnPlayerLeftRoom(" + otherPlayer+").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___otherPlayer0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = _stringLiteral7055E349A166CE4A3570F4C7C1A34114B0CEBF90;
G_B1_2 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = _stringLiteral7055E349A166CE4A3570F4C7C1A34114B0CEBF90;
G_B2_2 = L_0;
goto IL_0014;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
goto IL_0019;
}
IL_0014:
{
NullCheck(G_B2_0);
String_t* L_3;
L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_3;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
}
IL_0019:
{
String_t* L_4;
L_4 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(G_B3_2, G_B3_1, G_B3_0, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnRoomPropertiesUpdate(ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnRoomPropertiesUpdate_mB3745E64E60BCF9A34A55CFDC48B6D1CDE522A20 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___propertiesThatChanged0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral293EEA1FC571998DF9F8F43C7C67DEE8ADA92F9C);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnRoomPropertiesUpdate(propertiesThatChanged).");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral293EEA1FC571998DF9F8F43C7C67DEE8ADA92F9C, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnPlayerPropertiesUpdate(Photon.Realtime.Player,ExitGames.Client.Photon.Hashtable)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnPlayerPropertiesUpdate_mA747B600686418996689368FFAF035D1597B39E0 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___targetPlayer0, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___changedProps1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral677B5ACFFA9821CA29C5B6329DD4778CE1AC133B);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnPlayerPropertiesUpdate(targetPlayer,changedProps).");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral677B5ACFFA9821CA29C5B6329DD4778CE1AC133B, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnMasterClientSwitched(Photon.Realtime.Player)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnMasterClientSwitched_mE4540E17E04127240F1C1E97EB5E2EBB9A351DC6 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * ___newMasterClient0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAD892ABAE7A60B21A969B33CD88235B1C22DC99A);
s_Il2CppMethodInitialized = true;
}
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B2_0 = NULL;
String_t* G_B2_1 = NULL;
String_t* G_B2_2 = NULL;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * G_B1_0 = NULL;
String_t* G_B1_1 = NULL;
String_t* G_B1_2 = NULL;
String_t* G_B3_0 = NULL;
String_t* G_B3_1 = NULL;
String_t* G_B3_2 = NULL;
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnMasterClientSwitched(" + newMasterClient+").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_1 = ___newMasterClient0;
Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = _stringLiteralAD892ABAE7A60B21A969B33CD88235B1C22DC99A;
G_B1_2 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = _stringLiteralAD892ABAE7A60B21A969B33CD88235B1C22DC99A;
G_B2_2 = L_0;
goto IL_0014;
}
}
{
G_B3_0 = ((String_t*)(NULL));
G_B3_1 = G_B1_1;
G_B3_2 = G_B1_2;
goto IL_0019;
}
IL_0014:
{
NullCheck(G_B2_0);
String_t* L_3;
L_3 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B2_0);
G_B3_0 = L_3;
G_B3_1 = G_B2_1;
G_B3_2 = G_B2_2;
}
IL_0019:
{
String_t* L_4;
L_4 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(G_B3_2, G_B3_1, G_B3_0, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_4, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnCustomAuthenticationResponse(System.Collections.Generic.Dictionary`2<System.String,System.Object>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnCustomAuthenticationResponse_mF799DBCE871603F369CF30359C40DAEFDB556643 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9692BF3609B3FA99897E14252C1A031B33C30B4C);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnCustomAuthenticationResponse(" + data.ToStringFull()+").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_1 = ___data0;
IL2CPP_RUNTIME_CLASS_INIT(Extensions_tCD205E7DF947FA2BD6A2B7036AA6F51E420CB75A_il2cpp_TypeInfo_var);
String_t* L_2;
L_2 = Extensions_ToStringFull_m1DDC28EF858A4A871C01A6AEB1D0556024C0B0A9(L_1, /*hidden argument*/NULL);
String_t* L_3;
L_3 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(L_0, _stringLiteral9692BF3609B3FA99897E14252C1A031B33C30B4C, L_2, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_3, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnCustomAuthenticationFailed(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnCustomAuthenticationFailed_m54D21C3901F6D84C80D558B31ED564F7B6FC46A1 (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, String_t* ___debugMessage0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2B8CF328F46C5FE3BCBA0EAD12CCBFAF5CE1356);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnCustomAuthenticationFailed(" + debugMessage+").");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1 = ___debugMessage0;
String_t* L_2;
L_2 = String_Concat_m37A5BF26F8F8F1892D60D727303B23FB604FEE78(L_0, _stringLiteralE2B8CF328F46C5FE3BCBA0EAD12CCBFAF5CE1356, L_1, _stringLiteral23C02924FA8C5A15B58E9DDD13C84007E2431466, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_2, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnLobbyStatisticsUpdate(System.Collections.Generic.List`1<Photon.Realtime.TypedLobbyInfo>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnLobbyStatisticsUpdate_m94EC3C6A7052B4C2E0337CEA3C69013DF491652B (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, List_1_tE47B5E59999F5719162B295364BEE262CCDB9C70 * ___lobbyStatistics0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B24932FF933699B3A82EAC56B23A2606464B1D8);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log(this.GetFormattedTimestamp() + " SupportLogger OnLobbyStatisticsUpdate(lobbyStatistics).");
String_t* L_0;
L_0 = SupportLogger_GetFormattedTimestamp_mD9915A477877F825B262C5782FB0BB2CE9286A18(__this, /*hidden argument*/NULL);
String_t* L_1;
L_1 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(L_0, _stringLiteral3B24932FF933699B3A82EAC56B23A2606464B1D8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::OnErrorInfo(Photon.Realtime.ErrorInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger_OnErrorInfo_m233D66E34EBDD77343A1EB757284DB58B853DDAE (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, ErrorInfo_tCF1CC371330203F98D00E197EE87658A8D0E0B80 * ___errorInfo0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// Debug.LogError(errorInfo.ToString());
ErrorInfo_tCF1CC371330203F98D00E197EE87658A8D0E0B80 * L_0 = ___errorInfo0;
NullCheck(L_0);
String_t* L_1;
L_1 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_0);
IL2CPP_RUNTIME_CLASS_INIT(Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var);
Debug_LogError_m8850D65592770A364D494025FF3A73E8D4D70485(L_1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.SupportLogger::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SupportLogger__ctor_m72FA807E9CDEA4877396F11164A8C472B2BABF4D (SupportLogger_t5DDB4975F6F861A267161FAD7E364707CFC0A002 * __this, const RuntimeMethod* method)
{
{
// public bool LogTrafficStats = true;
__this->set_LogTrafficStats_4((bool)1);
MonoBehaviour__ctor_mC0995D847F6A95B1A553652636C38A2AA8B13BED(__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.Boolean Photon.Realtime.TypedLobby::get_IsDefault()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TypedLobby_get_IsDefault_mB9553F45B8B6611CDC3B3DDC8BF37690D0731FF2 (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// public bool IsDefault { get { return string.IsNullOrEmpty(this.Name); } }
String_t* L_0 = __this->get_Name_0();
bool L_1;
L_1 = String_IsNullOrEmpty_m9AFBB5335B441B94E884B8A9D4A27AD60E3D7F7C(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
// public bool IsDefault { get { return string.IsNullOrEmpty(this.Name); } }
bool L_2 = V_0;
return L_2;
}
}
// System.Void Photon.Realtime.TypedLobby::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypedLobby__ctor_mB268B90F8AE8110BB439D44BCE42F126FDD52F54 (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * __this, const RuntimeMethod* method)
{
{
// internal TypedLobby()
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void Photon.Realtime.TypedLobby::.ctor(System.String,Photon.Realtime.LobbyType)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypedLobby__ctor_m7891CDB10F260006D35FA9FE297FA8706162413C (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * __this, String_t* ___name0, uint8_t ___type1, const RuntimeMethod* method)
{
{
// public TypedLobby(string name, LobbyType type)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.Name = name;
String_t* L_0 = ___name0;
__this->set_Name_0(L_0);
// this.Type = type;
uint8_t L_1 = ___type1;
__this->set_Type_1(L_1);
// }
return;
}
}
// System.String Photon.Realtime.TypedLobby::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TypedLobby_ToString_m7969239ABC7C2D9BA6E830E2ED9741E32CAE671A (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral271CB9743B301F4C7123339F6C43C77525F17510);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format("lobby '{0}'[{1}]", this.Name, this.Type);
String_t* L_0 = __this->get_Name_0();
uint8_t L_1 = __this->get_Type_1();
uint8_t L_2 = L_1;
RuntimeObject * L_3 = Box(LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1_il2cpp_TypeInfo_var, &L_2);
String_t* L_4;
L_4 = String_Format_m8D1CB0410C35E052A53AE957C914C841E54BAB66(_stringLiteral271CB9743B301F4C7123339F6C43C77525F17510, L_0, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001f;
}
IL_001f:
{
// }
String_t* L_5 = V_0;
return L_5;
}
}
// System.Void Photon.Realtime.TypedLobby::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypedLobby__cctor_mD99DB5A8542C7C2454BD81258B8D142C36CA5B11 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public static readonly TypedLobby Default = new TypedLobby();
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_0 = (TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 *)il2cpp_codegen_object_new(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var);
TypedLobby__ctor_mB268B90F8AE8110BB439D44BCE42F126FDD52F54(L_0, /*hidden argument*/NULL);
((TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_StaticFields*)il2cpp_codegen_static_fields_for(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var))->set_Default_2(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.String Photon.Realtime.TypedLobbyInfo::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TypedLobbyInfo_ToString_m70F91EE56E7C30855838F634BE734867150508CF (TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral72B7AAEA9F105BC899930B342A7753298A5FCFB2);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format("TypedLobbyInfo '{0}'[{1}] rooms: {2} players: {3}", this.Name, this.Type, this.RoomCount, this.PlayerCount);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2 = ((TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 *)__this)->get_Name_0();
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
uint8_t L_4 = ((TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 *)__this)->get_Type_1();
uint8_t L_5 = L_4;
RuntimeObject * L_6 = Box(LobbyType_t398AB21E35E9CD63CD9E514CEC5475D70D1413C1_il2cpp_TypeInfo_var, &L_5);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_6);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_6);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_7 = L_3;
int32_t L_8 = __this->get_RoomCount_4();
int32_t L_9 = L_8;
RuntimeObject * L_10 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_9);
NullCheck(L_7);
ArrayElementTypeCheck (L_7, L_10);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_10);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = L_7;
int32_t L_12 = __this->get_PlayerCount_3();
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_13);
NullCheck(L_11);
ArrayElementTypeCheck (L_11, L_14);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_14);
String_t* L_15;
L_15 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(_stringLiteral72B7AAEA9F105BC899930B342A7753298A5FCFB2, L_11, /*hidden argument*/NULL);
V_0 = L_15;
goto IL_0047;
}
IL_0047:
{
// }
String_t* L_16 = V_0;
return L_16;
}
}
// System.Void Photon.Realtime.TypedLobbyInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypedLobbyInfo__ctor_m109F691269CA136A7BDD12081CE781E7CE20DB01 (TypedLobbyInfo_t2DB7A0FF57E6248ACFAC6D38025890C9125FD8E6 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5_il2cpp_TypeInfo_var);
TypedLobby__ctor_mB268B90F8AE8110BB439D44BCE42F126FDD52F54(__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.Boolean Photon.Realtime.WebFlags::get_HttpForward()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebFlags_get_HttpForward_m71FA5BD603071C70928E949A372AAE1E402D16F5 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// get { return (WebhookFlags & HttpForwardConst) != 0; }
uint8_t L_0 = __this->get_WebhookFlags_1();
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)1))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
// get { return (WebhookFlags & HttpForwardConst) != 0; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.WebFlags::set_HttpForward(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags_set_HttpForward_mD5BE64F3F0E97FAAD77C7D60FF2AD96D5700A3E6 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
// if (value)
bool L_0 = ___value0;
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
// WebhookFlags |= HttpForwardConst;
uint8_t L_2 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_2|(int32_t)1)))));
goto IL_002b;
}
IL_0019:
{
// WebhookFlags = (byte) (WebhookFlags & ~(1 << 0));
uint8_t L_3 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)-2))))));
}
IL_002b:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.WebFlags::get_SendAuthCookie()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebFlags_get_SendAuthCookie_mF411FCD3608EF467958612D9B635877D4582AD57 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// get { return (WebhookFlags & SendAuthCookieConst) != 0; }
uint8_t L_0 = __this->get_WebhookFlags_1();
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)2))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
// get { return (WebhookFlags & SendAuthCookieConst) != 0; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.WebFlags::set_SendAuthCookie(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags_set_SendAuthCookie_m147C1B1C90D27D6877320C382347216D05DE0AF7 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
// if (value)
bool L_0 = ___value0;
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
// WebhookFlags |= SendAuthCookieConst;
uint8_t L_2 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_2|(int32_t)2)))));
goto IL_002b;
}
IL_0019:
{
// WebhookFlags = (byte)(WebhookFlags & ~(1 << 1));
uint8_t L_3 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)-3))))));
}
IL_002b:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.WebFlags::get_SendSync()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebFlags_get_SendSync_mB34C891F1E37E6989DFE2C7ECA9F7D637308AB66 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// get { return (WebhookFlags & SendSyncConst) != 0; }
uint8_t L_0 = __this->get_WebhookFlags_1();
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)4))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
// get { return (WebhookFlags & SendSyncConst) != 0; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.WebFlags::set_SendSync(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags_set_SendSync_m1DE629A4CBBA6141A5A60A463C9D21E4EE2065BF (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
// if (value)
bool L_0 = ___value0;
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
// WebhookFlags |= SendSyncConst;
uint8_t L_2 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_2|(int32_t)4)))));
goto IL_002b;
}
IL_0019:
{
// WebhookFlags = (byte)(WebhookFlags & ~(1 << 2));
uint8_t L_3 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)-5))))));
}
IL_002b:
{
// }
return;
}
}
// System.Boolean Photon.Realtime.WebFlags::get_SendState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebFlags_get_SendState_mB7E9008FB48768C6AA57D621F557C624DCD183F7 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, const RuntimeMethod* method)
{
bool V_0 = false;
{
// get { return (WebhookFlags & SendStateConst) != 0; }
uint8_t L_0 = __this->get_WebhookFlags_1();
V_0 = (bool)((!(((uint32_t)((int32_t)((int32_t)L_0&(int32_t)8))) <= ((uint32_t)0)))? 1 : 0);
goto IL_000f;
}
IL_000f:
{
// get { return (WebhookFlags & SendStateConst) != 0; }
bool L_1 = V_0;
return L_1;
}
}
// System.Void Photon.Realtime.WebFlags::set_SendState(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags_set_SendState_mD00900C2C81235351F98A2FB00545F3E4D1DB064 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, bool ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
{
// if (value)
bool L_0 = ___value0;
V_0 = L_0;
bool L_1 = V_0;
if (!L_1)
{
goto IL_0019;
}
}
{
// WebhookFlags |= SendStateConst;
uint8_t L_2 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_2|(int32_t)8)))));
goto IL_002b;
}
IL_0019:
{
// WebhookFlags = (byte)(WebhookFlags & ~(1 << 3));
uint8_t L_3 = __this->get_WebhookFlags_1();
__this->set_WebhookFlags_1((uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)-9))))));
}
IL_002b:
{
// }
return;
}
}
// System.Void Photon.Realtime.WebFlags::.ctor(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags__ctor_m364837F07C4F1083993B5DE05D3896D7D3D85798 (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * __this, uint8_t ___webhookFlags0, const RuntimeMethod* method)
{
{
// public WebFlags(byte webhookFlags)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// WebhookFlags = webhookFlags;
uint8_t L_0 = ___webhookFlags0;
__this->set_WebhookFlags_1(L_0);
// }
return;
}
}
// System.Void Photon.Realtime.WebFlags::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebFlags__cctor_m6582F6663189E7F2817615A3B1C51426C6E0D3EF (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public readonly static WebFlags Default = new WebFlags(0);
WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F * L_0 = (WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F *)il2cpp_codegen_object_new(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var);
WebFlags__ctor_m364837F07C4F1083993B5DE05D3896D7D3D85798(L_0, (uint8_t)0, /*hidden argument*/NULL);
((WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_StaticFields*)il2cpp_codegen_static_fields_for(WebFlags_t77F7A4C5693AECDDE7FF545DEAF0580CCAC8BF5F_il2cpp_TypeInfo_var))->set_Default_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.Realtime.WebRpcCallbacksContainer::.ctor(Photon.Realtime.LoadBalancingClient)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcCallbacksContainer__ctor_m138DDD1BFA950BFD2C9F40409B8CC7EE0EA0E3F9 (WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 * __this, LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * ___client0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m5462D7A858BD379CFB03F04883D27C04BA82CCED_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public WebRpcCallbacksContainer(LoadBalancingClient client)
IL2CPP_RUNTIME_CLASS_INIT(List_1_t1223B9546ED77E8B481F8B48E3044CDADC546E34_il2cpp_TypeInfo_var);
List_1__ctor_m5462D7A858BD379CFB03F04883D27C04BA82CCED(__this, /*hidden argument*/List_1__ctor_m5462D7A858BD379CFB03F04883D27C04BA82CCED_RuntimeMethod_var);
// this.client = client;
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = ___client0;
__this->set_client_6(L_0);
// }
return;
}
}
// System.Void Photon.Realtime.WebRpcCallbacksContainer::OnWebRpcResponse(ExitGames.Client.Photon.OperationResponse)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcCallbacksContainer_OnWebRpcResponse_m5648AB8BB8268CFA3EE055BF73C96E5E38823510 (WebRpcCallbacksContainer_t0AFAC6986E949F55461C6AE624D37B99FF5F5C96 * __this, OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * ___response0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mB2610FB2D29BBB67AC83D7778780869CEDE26135_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mC3E14D29C667AA45F0B7C9EC1D69CC7A366303BC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mF4F97169F8E940F596801EF80998DE4C323EA7BA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IWebRpcCallback_t88753C6C07891FBB7208902706B417D185B0B910_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m226CFA5DFA50CE13735EE6513D8A8B7E613DEE45_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 V_0;
memset((&V_0), 0, sizeof(V_0));
RuntimeObject* V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// this.client.UpdateCallbackTargets();
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_client_6();
NullCheck(L_0);
LoadBalancingClient_UpdateCallbackTargets_mB089FFBCC8CA2649A2C41B037602FB6C339DA0FC(L_0, /*hidden argument*/NULL);
// foreach (IWebRpcCallback target in this)
Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 L_1;
L_1 = List_1_GetEnumerator_m226CFA5DFA50CE13735EE6513D8A8B7E613DEE45(__this, /*hidden argument*/List_1_GetEnumerator_m226CFA5DFA50CE13735EE6513D8A8B7E613DEE45_RuntimeMethod_var);
V_0 = L_1;
}
IL_0015:
try
{ // begin try (depth: 1)
{
goto IL_0029;
}
IL_0017:
{
// foreach (IWebRpcCallback target in this)
RuntimeObject* L_2;
L_2 = Enumerator_get_Current_mF4F97169F8E940F596801EF80998DE4C323EA7BA_inline((Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *)(&V_0), /*hidden argument*/Enumerator_get_Current_mF4F97169F8E940F596801EF80998DE4C323EA7BA_RuntimeMethod_var);
V_1 = L_2;
// target.OnWebRpcResponse(response);
RuntimeObject* L_3 = V_1;
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_4 = ___response0;
NullCheck(L_3);
InterfaceActionInvoker1< OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * >::Invoke(0 /* System.Void Photon.Realtime.IWebRpcCallback::OnWebRpcResponse(ExitGames.Client.Photon.OperationResponse) */, IWebRpcCallback_t88753C6C07891FBB7208902706B417D185B0B910_il2cpp_TypeInfo_var, L_3, L_4);
}
IL_0029:
{
// foreach (IWebRpcCallback target in this)
bool L_5;
L_5 = Enumerator_MoveNext_mC3E14D29C667AA45F0B7C9EC1D69CC7A366303BC((Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *)(&V_0), /*hidden argument*/Enumerator_MoveNext_mC3E14D29C667AA45F0B7C9EC1D69CC7A366303BC_RuntimeMethod_var);
if (L_5)
{
goto IL_0017;
}
}
IL_0032:
{
IL2CPP_LEAVE(0x43, FINALLY_0034);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0034;
}
FINALLY_0034:
{ // begin finally (depth: 1)
Enumerator_Dispose_mB2610FB2D29BBB67AC83D7778780869CEDE26135((Enumerator_t67A5487A5B542C9CEF61E77E13C8A73E721FA5C2 *)(&V_0), /*hidden argument*/Enumerator_Dispose_mB2610FB2D29BBB67AC83D7778780869CEDE26135_RuntimeMethod_var);
IL2CPP_END_FINALLY(52)
} // end finally (depth: 1)
IL2CPP_CLEANUP(52)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x43, IL_0043)
}
IL_0043:
{
// }
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.String Photon.Realtime.WebRpcResponse::get_Name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Name_mC87FDF0AF60CBD02DECEE672A52B8193CE63A8D9 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public string Name { get; private set; }
String_t* L_0 = __this->get_U3CNameU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Photon.Realtime.WebRpcResponse::set_Name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcResponse_set_Name_mF97550D30C70A60EBFC6C5100F75F6BD1AA76A7C (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Name { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CNameU3Ek__BackingField_0(L_0);
return;
}
}
// System.Int32 Photon.Realtime.WebRpcResponse::get_ResultCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebRpcResponse_get_ResultCode_m749A18E937D3DB5BC3FCF0735AF445816008D874 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public int ResultCode { get; private set; }
int32_t L_0 = __this->get_U3CResultCodeU3Ek__BackingField_1();
return L_0;
}
}
// System.Void Photon.Realtime.WebRpcResponse::set_ResultCode(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcResponse_set_ResultCode_m60D6C87664B71424D0E8D77FF51A8D5218FDB3A9 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int ResultCode { get; private set; }
int32_t L_0 = ___value0;
__this->set_U3CResultCodeU3Ek__BackingField_1(L_0);
return;
}
}
// System.Int32 Photon.Realtime.WebRpcResponse::get_ReturnCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebRpcResponse_get_ReturnCode_m7E83B042C1F0F384014A44B8833C205AF16BCE3B (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// get { return ResultCode; }
int32_t L_0;
L_0 = WebRpcResponse_get_ResultCode_m749A18E937D3DB5BC3FCF0735AF445816008D874_inline(__this, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return ResultCode; }
int32_t L_1 = V_0;
return L_1;
}
}
// System.String Photon.Realtime.WebRpcResponse::get_Message()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Message_mF04DF90BF2C4DD9C079F36247717F3FD47B3F913 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public string Message { get; private set; }
String_t* L_0 = __this->get_U3CMessageU3Ek__BackingField_2();
return L_0;
}
}
// System.Void Photon.Realtime.WebRpcResponse::set_Message(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcResponse_set_Message_m80D3C968F66A22B396A54635F100540265684371 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Message { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CMessageU3Ek__BackingField_2(L_0);
return;
}
}
// System.String Photon.Realtime.WebRpcResponse::get_DebugMessage()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_DebugMessage_mAEED2DE44713D9E43403AD5FB9838E6FDCC7D383 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
// get { return Message; }
String_t* L_0;
L_0 = WebRpcResponse_get_Message_mF04DF90BF2C4DD9C079F36247717F3FD47B3F913_inline(__this, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_000a;
}
IL_000a:
{
// get { return Message; }
String_t* L_1 = V_0;
return L_1;
}
}
// System.Collections.Generic.Dictionary`2<System.String,System.Object> Photon.Realtime.WebRpcResponse::get_Parameters()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * WebRpcResponse_get_Parameters_mDABD8F7AB74C1C92EA3AFFA2E3C35B485139185C (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public Dictionary<string, object> Parameters { get; private set; }
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_0 = __this->get_U3CParametersU3Ek__BackingField_3();
return L_0;
}
}
// System.Void Photon.Realtime.WebRpcResponse::set_Parameters(System.Collections.Generic.Dictionary`2<System.String,System.Object>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcResponse_set_Parameters_m73D3541B04947DF3F96B17F396E1841579F2A3A5 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * ___value0, const RuntimeMethod* method)
{
{
// public Dictionary<string, object> Parameters { get; private set; }
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_0 = ___value0;
__this->set_U3CParametersU3Ek__BackingField_3(L_0);
return;
}
}
// System.Void Photon.Realtime.WebRpcResponse::.ctor(ExitGames.Client.Photon.OperationResponse)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRpcResponse__ctor_mFF31F3BF2BE8704BD5C85D90997A39CC3019ACBF (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * ___response0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
RuntimeObject * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
{
// public WebRpcResponse(OperationResponse response)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// if (response.Parameters.TryGetValue(ParameterCode.UriPath, out value))
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_0 = ___response0;
NullCheck(L_0);
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_1 = L_0->get_Parameters_3();
NullCheck(L_1);
bool L_2;
L_2 = ParameterDictionary_TryGetValue_m3F893EE5C028930D623430DCBB5505D539A3C0CA(L_1, (uint8_t)((int32_t)209), (RuntimeObject **)(&V_0), /*hidden argument*/NULL);
V_1 = L_2;
bool L_3 = V_1;
if (!L_3)
{
goto IL_002d;
}
}
{
// this.Name = value as string;
RuntimeObject * L_4 = V_0;
WebRpcResponse_set_Name_mF97550D30C70A60EBFC6C5100F75F6BD1AA76A7C_inline(__this, ((String_t*)IsInstSealed((RuntimeObject*)L_4, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_002d:
{
// this.ResultCode = -1;
WebRpcResponse_set_ResultCode_m60D6C87664B71424D0E8D77FF51A8D5218FDB3A9_inline(__this, (-1), /*hidden argument*/NULL);
// if (response.Parameters.TryGetValue(ParameterCode.WebRpcReturnCode, out value))
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_5 = ___response0;
NullCheck(L_5);
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_6 = L_5->get_Parameters_3();
NullCheck(L_6);
bool L_7;
L_7 = ParameterDictionary_TryGetValue_m3F893EE5C028930D623430DCBB5505D539A3C0CA(L_6, (uint8_t)((int32_t)207), (RuntimeObject **)(&V_0), /*hidden argument*/NULL);
V_2 = L_7;
bool L_8 = V_2;
if (!L_8)
{
goto IL_005a;
}
}
{
// this.ResultCode = (byte)value;
RuntimeObject * L_9 = V_0;
WebRpcResponse_set_ResultCode_m60D6C87664B71424D0E8D77FF51A8D5218FDB3A9_inline(__this, ((*(uint8_t*)((uint8_t*)UnBox(L_9, Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL);
}
IL_005a:
{
// if (response.Parameters.TryGetValue(ParameterCode.WebRpcParameters, out value))
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_10 = ___response0;
NullCheck(L_10);
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_11 = L_10->get_Parameters_3();
NullCheck(L_11);
bool L_12;
L_12 = ParameterDictionary_TryGetValue_m3F893EE5C028930D623430DCBB5505D539A3C0CA(L_11, (uint8_t)((int32_t)208), (RuntimeObject **)(&V_0), /*hidden argument*/NULL);
V_3 = L_12;
bool L_13 = V_3;
if (!L_13)
{
goto IL_007f;
}
}
{
// this.Parameters = value as Dictionary<string, object>;
RuntimeObject * L_14 = V_0;
WebRpcResponse_set_Parameters_m73D3541B04947DF3F96B17F396E1841579F2A3A5_inline(__this, ((Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 *)IsInstClass((RuntimeObject*)L_14, Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_007f:
{
// if (response.Parameters.TryGetValue(ParameterCode.WebRpcReturnMessage, out value))
OperationResponse_t9F45DBD05141C2572E1B7C2BB11FCC67539B2339 * L_15 = ___response0;
NullCheck(L_15);
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_16 = L_15->get_Parameters_3();
NullCheck(L_16);
bool L_17;
L_17 = ParameterDictionary_TryGetValue_m3F893EE5C028930D623430DCBB5505D539A3C0CA(L_16, (uint8_t)((int32_t)206), (RuntimeObject **)(&V_0), /*hidden argument*/NULL);
V_4 = L_17;
bool L_18 = V_4;
if (!L_18)
{
goto IL_00a6;
}
}
{
// this.Message = value as string;
RuntimeObject * L_19 = V_0;
WebRpcResponse_set_Message_m80D3C968F66A22B396A54635F100540265684371_inline(__this, ((String_t*)IsInstSealed((RuntimeObject*)L_19, String_t_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
}
IL_00a6:
{
// }
return;
}
}
// System.String Photon.Realtime.WebRpcResponse::ToStringFull()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebRpcResponse_ToStringFull_m336F40AFCBE6062048E7BB5EB7A0F35C397AA129 (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SupportClass_t46830F4C99606EB80D0E3B11502460A06782A012_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral111D994A41187DCF854E2098345172E28925CD36);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
// return string.Format("{0}={2}: {1} \"{3}\"", this.Name, SupportClass.DictionaryToString(this.Parameters), this.ResultCode, this.Message);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var, (uint32_t)4);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_1 = L_0;
String_t* L_2;
L_2 = WebRpcResponse_get_Name_mC87FDF0AF60CBD02DECEE672A52B8193CE63A8D9_inline(__this, /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_2);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_3 = L_1;
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_4;
L_4 = WebRpcResponse_get_Parameters_mDABD8F7AB74C1C92EA3AFFA2E3C35B485139185C_inline(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(SupportClass_t46830F4C99606EB80D0E3B11502460A06782A012_il2cpp_TypeInfo_var);
String_t* L_5;
L_5 = SupportClass_DictionaryToString_mA658B9A4C5FC28BD6EE24099CB512601127B093E(L_4, (bool)1, /*hidden argument*/NULL);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_5);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_5);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_6 = L_3;
int32_t L_7;
L_7 = WebRpcResponse_get_ResultCode_m749A18E937D3DB5BC3FCF0735AF445816008D874_inline(__this, /*hidden argument*/NULL);
int32_t L_8 = L_7;
RuntimeObject * L_9 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_8);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_9);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_9);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_10 = L_6;
String_t* L_11;
L_11 = WebRpcResponse_get_Message_mF04DF90BF2C4DD9C079F36247717F3FD47B3F913_inline(__this, /*hidden argument*/NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_11);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_11);
String_t* L_12;
L_12 = String_Format_mCED6767EA5FEE6F15ABCD5B4F9150D1284C2795B(_stringLiteral111D994A41187DCF854E2098345172E28925CD36, L_10, /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0043;
}
IL_0043:
{
// }
String_t* L_13 = V_0;
return L_13;
}
}
#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.Realtime.LoadBalancingClient/CallbackTargetChange::.ctor(System.Object,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CallbackTargetChange__ctor_m38618088F168E8FE0E6685577BF988410F072864 (CallbackTargetChange_tA10959BD5B7373AA9F6B40DB22CA100C2264C012 * __this, RuntimeObject * ___target0, bool ___addTarget1, const RuntimeMethod* method)
{
{
// public CallbackTargetChange(object target, bool addTarget)
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
// this.Target = target;
RuntimeObject * L_0 = ___target0;
__this->set_Target_0(L_0);
// this.AddTarget = addTarget;
bool L_1 = ___addTarget1;
__this->set_AddTarget_1(L_1);
// }
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.Realtime.LoadBalancingClient/EncryptionDataParameters::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptionDataParameters__ctor_mF4BCDA3DD14EDBF0E6A213A6C9E5DD925BA8F94F (EncryptionDataParameters_tDF3DEF142EEA07FAC06E2DED344CB06BB9A07981 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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.Realtime.LoadBalancingPeer/<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m2415133C1045F3307432FBDDE0AAB4A8E362EDCD (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * L_0 = (U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 *)il2cpp_codegen_object_new(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m6BD4A6F45A41995976A87A9D0C893E2023C8DFAA(L_0, /*hidden argument*/NULL);
((U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void Photon.Realtime.LoadBalancingPeer/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m6BD4A6F45A41995976A87A9D0C893E2023C8DFAA (U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// ExitGames.Client.Photon.ParameterDictionary Photon.Realtime.LoadBalancingPeer/<>c::<.ctor>b__4_0()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * U3CU3Ec_U3C_ctorU3Eb__4_0_m180E307532C4393C92BA4691ACEAA2508C47504A (U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// () => new ParameterDictionary(),
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_0 = (ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 *)il2cpp_codegen_object_new(ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48_il2cpp_TypeInfo_var);
ParameterDictionary__ctor_mC02ED653C487D76F7174F0CC1CD3575323EAB9DC(L_0, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void Photon.Realtime.LoadBalancingPeer/<>c::<.ctor>b__4_1(ExitGames.Client.Photon.ParameterDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec_U3C_ctorU3Eb__4_1_m7BE9E5B38AD94F243FD01DC8734DE3B965AF823D (U3CU3Ec_tB4A564C2046DF66976DE2F23F77AE6BBF0D0F4C0 * __this, ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * ___x0, const RuntimeMethod* method)
{
{
// x => x.Clear(),
ParameterDictionary_tB15EFEE2CDF94EA8CCB2E555C303C2E9B881FC48 * L_0 = ___x0;
NullCheck(L_0);
ParameterDictionary_Clear_m6E4F4E8459C8E468D65A4D8D9429C85AEAEF23E1(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.Realtime.RegionHandler/<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_mC06481CCCE3BEF4DF37B1346348AB89A9BADD1DF (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * L_0 = (U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 *)il2cpp_codegen_object_new(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_mF7622690FDCA0B2F9AF7DCCF7567474C5AA7A1E6(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void Photon.Realtime.RegionHandler/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_mF7622690FDCA0B2F9AF7DCCF7567474C5AA7A1E6 (U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Int32 Photon.Realtime.RegionHandler/<>c::<get_BestRegion>b__8_0(Photon.Realtime.Region,Photon.Realtime.Region)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t U3CU3Ec_U3Cget_BestRegionU3Eb__8_0_m1AC1E7195D3E64B769C3237D6086BF7FE6051D54 (U3CU3Ec_t578BC512426115D6BA887C2DBB8061337E00FC87 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___a0, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___b1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
// this.EnabledRegions.Sort((a, b) => a.Ping.CompareTo(b.Ping) );
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = ___a0;
NullCheck(L_0);
int32_t L_1;
L_1 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(L_0, /*hidden argument*/NULL);
V_0 = L_1;
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_2 = ___b1;
NullCheck(L_2);
int32_t L_3;
L_3 = Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline(L_2, /*hidden argument*/NULL);
int32_t L_4;
L_4 = Int32_CompareTo_m2DD1093B956B4D96C3AC3C27FDEE3CA447B044D3((int32_t*)(&V_0), L_3, /*hidden argument*/NULL);
return L_4;
}
}
#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.Realtime.RegionHandler/<>c__DisplayClass23_0::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass23_0__ctor_mC296F93C8F6437A0F4715E9440359C8FC9237016 (U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean Photon.Realtime.RegionHandler/<>c__DisplayClass23_0::<PingMinimumOfRegions>b__0(Photon.Realtime.Region)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass23_0_U3CPingMinimumOfRegionsU3Eb__0_m27AD0937D9EC80F239FF68225E8211250B13D312 (U3CU3Ec__DisplayClass23_0_tFB13EA639951321A04EC72EAEAB8DD2223576BB7 * __this, Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * ___r0, const RuntimeMethod* method)
{
{
// Region preferred = this.EnabledRegions.Find(r => r.Code.Equals(prevBestRegionCode));
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_0 = ___r0;
NullCheck(L_0);
String_t* L_1;
L_1 = Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline(L_0, /*hidden argument*/NULL);
String_t* L_2 = __this->get_prevBestRegionCode_0();
NullCheck(L_1);
bool L_3;
L_3 = String_Equals_m8A062B96B61A7D652E7D73C9B3E904F6B0E5F41D(L_1, L_2, /*hidden argument*/NULL);
return L_3;
}
}
#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.Realtime.RegionPinger/<RegionPingCoroutine>d__19::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRegionPingCoroutineU3Ed__19__ctor_m14AA75A055CB1DE9121DA55EEA505223CF5404D2 (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->set_U3CU3E1__state_0(L_0);
return;
}
}
// System.Void Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRegionPingCoroutineU3Ed__19_System_IDisposable_Dispose_m0D35937CF36352DF0299E2B5453E3483506C2D1B (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CRegionPingCoroutineU3Ed__19_MoveNext_mA1691C20A41DE791E371B0749AD69F0329027C4F (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Exception_t * V_1 = NULL;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
bool V_5 = false;
int32_t V_6 = 0;
bool V_7 = false;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
Exception_t * G_B12_0 = NULL;
String_t* G_B12_1 = NULL;
Exception_t * G_B11_0 = NULL;
String_t* G_B11_1 = NULL;
String_t* G_B13_0 = NULL;
String_t* G_B13_1 = NULL;
int32_t G_B23_0 = 0;
int32_t G_B28_0 = 0;
{
int32_t L_0 = __this->get_U3CU3E1__state_0();
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_001f;
}
case 1:
{
goto IL_0021;
}
case 2:
{
goto IL_0026;
}
case 3:
{
goto IL_002b;
}
}
}
{
goto IL_0030;
}
IL_001f:
{
goto IL_0032;
}
IL_0021:
{
goto IL_012a;
}
IL_0026:
{
goto IL_0225;
}
IL_002b:
{
goto IL_02aa;
}
IL_0030:
{
return (bool)0;
}
IL_0032:
{
__this->set_U3CU3E1__state_0((-1));
// this.region.Ping = PingWhenFailed;
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_2 = __this->get_U3CU3E4__this_2();
NullCheck(L_2);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_3 = L_2->get_region_4();
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_4 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_PingWhenFailed_3();
NullCheck(L_3);
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(L_3, L_4, /*hidden argument*/NULL);
// float rttSum = 0.0f;
__this->set_U3CrttSumU3E5__1_3((0.0f));
// int replyCount = 0;
__this->set_U3CreplyCountU3E5__2_4(0);
// Stopwatch sw = new Stopwatch();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_5 = (Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 *)il2cpp_codegen_object_new(Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89_il2cpp_TypeInfo_var);
Stopwatch__ctor_mDE97B28A72294ABF18E6E9769086E202C3586CA7(L_5, /*hidden argument*/NULL);
__this->set_U3CswU3E5__3_5(L_5);
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_6 = __this->get_U3CU3E4__this_2();
NullCheck(L_6);
L_6->set_CurrentAttempt_6(0);
goto IL_0245;
}
IL_007e:
{
// bool overtime = false;
__this->set_U3CovertimeU3E5__4_6((bool)0);
// sw.Reset();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_7 = __this->get_U3CswU3E5__3_5();
NullCheck(L_7);
Stopwatch_Reset_m79B1D65568465AE5B1A68EF3A2A65218590ABD14(L_7, /*hidden argument*/NULL);
// sw.Start();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_8 = __this->get_U3CswU3E5__3_5();
NullCheck(L_8);
Stopwatch_Start_mED237B2178B2075FAED706E2A38111496B28DBDE(L_8, /*hidden argument*/NULL);
}
IL_009e:
try
{ // begin try (depth: 1)
// this.ping.StartPing(this.regionAddress);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_9 = __this->get_U3CU3E4__this_2();
NullCheck(L_9);
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_10 = L_9->get_ping_9();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_11 = __this->get_U3CU3E4__this_2();
NullCheck(L_11);
String_t* L_12 = L_11->get_regionAddress_5();
NullCheck(L_10);
bool L_13;
L_13 = VirtFuncInvoker1< bool, String_t* >::Invoke(5 /* System.Boolean Photon.Realtime.PhotonPing::StartPing(System.String) */, L_10, L_12);
goto IL_00ee;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Exception_t_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_00be;
}
throw e;
}
CATCH_00be:
{ // begin catch(System.Exception)
{
// catch (Exception e)
V_1 = ((Exception_t *)IL2CPP_GET_ACTIVE_EXCEPTION(Exception_t *));
Exception_t * L_14 = V_1;
__this->set_U3CeU3E5__6_8(L_14);
// Debug.Log("catched: " + e);
Exception_t * L_15 = __this->get_U3CeU3E5__6_8();
Exception_t * L_16 = L_15;
G_B11_0 = L_16;
G_B11_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral01BC6FF5AB7C7B79FA9D79F6E208A0C99F1F2A6F));
if (L_16)
{
G_B12_0 = L_16;
G_B12_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral01BC6FF5AB7C7B79FA9D79F6E208A0C99F1F2A6F));
goto IL_00d9;
}
}
IL_00d5:
{
G_B13_0 = ((String_t*)(NULL));
G_B13_1 = G_B11_1;
goto IL_00de;
}
IL_00d9:
{
NullCheck(G_B12_0);
String_t* L_17;
L_17 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B12_0);
G_B13_0 = L_17;
G_B13_1 = G_B12_1;
}
IL_00de:
{
String_t* L_18;
L_18 = String_Concat_m4B4AB72618348C5DFBFBA8DED84B9E2EBDB55E1B(G_B13_1, G_B13_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_tEB68BCBEB8EFD60F8043C67146DC05E7F50F374B_il2cpp_TypeInfo_var)));
Debug_Log_mC26E5AD0D8D156C7FFD173AA15827F69225E9DB8(L_18, /*hidden argument*/NULL);
// break;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0260;
}
} // end catch (depth: 1)
IL_00ee:
{
goto IL_0132;
}
IL_00f0:
{
// if (sw.ElapsedMilliseconds >= MaxMilliseconsPerPing)
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_19 = __this->get_U3CswU3E5__3_5();
NullCheck(L_19);
int64_t L_20;
L_20 = Stopwatch_get_ElapsedMilliseconds_m6A137C9E989F74F61752FA86BB41ABAEC2A11FB5(L_19, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_21 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_MaxMilliseconsPerPing_2();
V_2 = (bool)((((int32_t)((((int64_t)L_20) < ((int64_t)((int64_t)((int64_t)L_21))))? 1 : 0)) == ((int32_t)0))? 1 : 0);
bool L_22 = V_2;
if (!L_22)
{
goto IL_0115;
}
}
{
// overtime = true;
__this->set_U3CovertimeU3E5__4_6((bool)1);
// break;
goto IL_0149;
}
IL_0115:
{
// yield return 0; // keep this loop tight, to avoid adding local lag to rtt.
int32_t L_23 = 0;
RuntimeObject * L_24 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_23);
__this->set_U3CU3E2__current_1(L_24);
__this->set_U3CU3E1__state_0(1);
return (bool)1;
}
IL_012a:
{
__this->set_U3CU3E1__state_0((-1));
}
IL_0132:
{
// while (!this.ping.Done())
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_25 = __this->get_U3CU3E4__this_2();
NullCheck(L_25);
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_26 = L_25->get_ping_9();
NullCheck(L_26);
bool L_27;
L_27 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean Photon.Realtime.PhotonPing::Done() */, L_26);
V_3 = (bool)((((int32_t)L_27) == ((int32_t)0))? 1 : 0);
bool L_28 = V_3;
if (L_28)
{
goto IL_00f0;
}
}
IL_0149:
{
// sw.Stop();
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_29 = __this->get_U3CswU3E5__3_5();
NullCheck(L_29);
Stopwatch_Stop_mF6DEB63574AC382A681D1D8B9FFE56C1C806BE63(L_29, /*hidden argument*/NULL);
// int rtt = (int)sw.ElapsedMilliseconds;
Stopwatch_t78C5E942A89311381E0D8894576457C33462DF89 * L_30 = __this->get_U3CswU3E5__3_5();
NullCheck(L_30);
int64_t L_31;
L_31 = Stopwatch_get_ElapsedMilliseconds_m6A137C9E989F74F61752FA86BB41ABAEC2A11FB5(L_30, /*hidden argument*/NULL);
__this->set_U3CrttU3E5__5_7(((int32_t)((int32_t)L_31)));
// this.rttResults.Add(rtt);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_32 = __this->get_U3CU3E4__this_2();
NullCheck(L_32);
List_1_t260B41F956D673396C33A4CF94E8D6C4389EACB7 * L_33 = L_32->get_rttResults_10();
int32_t L_34 = __this->get_U3CrttU3E5__5_7();
NullCheck(L_33);
List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F(L_33, L_34, /*hidden argument*/List_1_Add_mEE653047BDB3486ACC2E16DC6C3422A0BA48F01F_RuntimeMethod_var);
// if (IgnoreInitialAttempt && this.CurrentAttempt == 0)
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
bool L_35 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_IgnoreInitialAttempt_1();
if (!L_35)
{
goto IL_0195;
}
}
{
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_36 = __this->get_U3CU3E4__this_2();
NullCheck(L_36);
int32_t L_37 = L_36->get_CurrentAttempt_6();
G_B23_0 = ((((int32_t)L_37) == ((int32_t)0))? 1 : 0);
goto IL_0196;
}
IL_0195:
{
G_B23_0 = 0;
}
IL_0196:
{
V_4 = (bool)G_B23_0;
bool L_38 = V_4;
if (!L_38)
{
goto IL_01a0;
}
}
{
goto IL_020c;
}
IL_01a0:
{
// else if (this.ping.Successful && !overtime)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_39 = __this->get_U3CU3E4__this_2();
NullCheck(L_39);
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_40 = L_39->get_ping_9();
NullCheck(L_40);
bool L_41 = L_40->get_Successful_1();
if (!L_41)
{
goto IL_01bd;
}
}
{
bool L_42 = __this->get_U3CovertimeU3E5__4_6();
G_B28_0 = ((((int32_t)L_42) == ((int32_t)0))? 1 : 0);
goto IL_01be;
}
IL_01bd:
{
G_B28_0 = 0;
}
IL_01be:
{
V_5 = (bool)G_B28_0;
bool L_43 = V_5;
if (!L_43)
{
goto IL_020c;
}
}
{
// rttSum += rtt;
float L_44 = __this->get_U3CrttSumU3E5__1_3();
int32_t L_45 = __this->get_U3CrttU3E5__5_7();
__this->set_U3CrttSumU3E5__1_3(((float)il2cpp_codegen_add((float)L_44, (float)((float)((float)L_45)))));
// replyCount++;
int32_t L_46 = __this->get_U3CreplyCountU3E5__2_4();
V_6 = L_46;
int32_t L_47 = V_6;
__this->set_U3CreplyCountU3E5__2_4(((int32_t)il2cpp_codegen_add((int32_t)L_47, (int32_t)1)));
// this.region.Ping = (int)((rttSum) / replyCount);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_48 = __this->get_U3CU3E4__this_2();
NullCheck(L_48);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_49 = L_48->get_region_4();
float L_50 = __this->get_U3CrttSumU3E5__1_3();
int32_t L_51 = __this->get_U3CreplyCountU3E5__2_4();
NullCheck(L_49);
Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline(L_49, il2cpp_codegen_cast_double_to_int<int32_t>(((float)((float)L_50/(float)((float)((float)L_51))))), /*hidden argument*/NULL);
}
IL_020c:
{
// yield return new WaitForSeconds(0.1f);
WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013 * L_52 = (WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013 *)il2cpp_codegen_object_new(WaitForSeconds_t8F9189BE6E467C98C99177038881F8982E0E4013_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_mD298C4CB9532BBBDE172FC40F3397E30504038D4(L_52, (0.100000001f), /*hidden argument*/NULL);
__this->set_U3CU3E2__current_1(L_52);
__this->set_U3CU3E1__state_0(2);
return (bool)1;
}
IL_0225:
{
__this->set_U3CU3E1__state_0((-1));
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_53 = __this->get_U3CU3E4__this_2();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_54 = __this->get_U3CU3E4__this_2();
NullCheck(L_54);
int32_t L_55 = L_54->get_CurrentAttempt_6();
NullCheck(L_53);
L_53->set_CurrentAttempt_6(((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)1)));
}
IL_0245:
{
// for (this.CurrentAttempt = 0; this.CurrentAttempt < Attempts; this.CurrentAttempt++)
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_56 = __this->get_U3CU3E4__this_2();
NullCheck(L_56);
int32_t L_57 = L_56->get_CurrentAttempt_6();
IL2CPP_RUNTIME_CLASS_INIT(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var);
int32_t L_58 = ((RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_StaticFields*)il2cpp_codegen_static_fields_for(RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139_il2cpp_TypeInfo_var))->get_Attempts_0();
V_7 = (bool)((((int32_t)L_57) < ((int32_t)L_58))? 1 : 0);
bool L_59 = V_7;
if (L_59)
{
goto IL_007e;
}
}
IL_0260:
{
// this.Done = true;
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_60 = __this->get_U3CU3E4__this_2();
NullCheck(L_60);
RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline(L_60, (bool)1, /*hidden argument*/NULL);
// this.ping.Dispose();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_61 = __this->get_U3CU3E4__this_2();
NullCheck(L_61);
PhotonPing_tB78082B526E48B82BE1A26E96CEEF16855FCAA9D * L_62 = L_61->get_ping_9();
NullCheck(L_62);
VirtActionInvoker0::Invoke(7 /* System.Void Photon.Realtime.PhotonPing::Dispose() */, L_62);
// this.onDoneCall(this.region);
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_63 = __this->get_U3CU3E4__this_2();
NullCheck(L_63);
Action_1_t231742BF57382D661E5293DFD290CFA71FDAD752 * L_64 = L_63->get_onDoneCall_8();
RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * L_65 = __this->get_U3CU3E4__this_2();
NullCheck(L_65);
Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * L_66 = L_65->get_region_4();
NullCheck(L_64);
Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675(L_64, L_66, /*hidden argument*/Action_1_Invoke_mD49F210C998553BDD0B2CB38A3089052FC20F675_RuntimeMethod_var);
// yield return null;
__this->set_U3CU3E2__current_1(NULL);
__this->set_U3CU3E1__state_0(3);
return (bool)1;
}
IL_02aa:
{
__this->set_U3CU3E1__state_0((-1));
// }
return (bool)0;
}
}
// System.Object Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRegionPingCoroutineU3Ed__19_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m305CABF14729412A20B4D773A3200D7AD1A3A658 (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U3CU3E2__current_1();
return L_0;
}
}
// System.Void Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRegionPingCoroutineU3Ed__19_System_Collections_IEnumerator_Reset_mFCCB66E1232CF6645B1DA455C9D5154948EE2ECB (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, const RuntimeMethod* method)
{
{
NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339 * L_0 = (NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_tB9D89F0E9470A2C423D239D7C68EE0CFD77F9339_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m3EA81A5B209A87C3ADA47443F2AFFF735E5256EE(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CRegionPingCoroutineU3Ed__19_System_Collections_IEnumerator_Reset_mFCCB66E1232CF6645B1DA455C9D5154948EE2ECB_RuntimeMethod_var)));
}
}
// System.Object Photon.Realtime.RegionPinger/<RegionPingCoroutine>d__19::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRegionPingCoroutineU3Ed__19_System_Collections_IEnumerator_get_Current_m196E9A3F91AD0D67555FD8E1C45476A7170689F3 (U3CRegionPingCoroutineU3Ed__19_tEF56D244EF97D066044008185D1A6C5854B9E43B * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U3CU3E2__current_1();
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * Player_get_RoomReference_mA888293C2A36AF1052A404D304D10E3EF3035D5C_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// protected internal Room RoomReference { get; set; }
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0 = __this->get_U3CRoomReferenceU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_CustomProperties_m37F0FB5A43628E9BFEB058FFCC3A31A22D4E243D_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * ___value0, const RuntimeMethod* method)
{
{
// public Hashtable CustomProperties { get; set; }
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = ___value0;
__this->set_U3CCustomPropertiesU3Ek__BackingField_7(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * Player_get_CustomProperties_m9B685A13167A8DBE609E165FCB62FE9635D20639_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// public Hashtable CustomProperties { get; set; }
Hashtable_t43276794A006CD84952AFAB156E51DD9D331596D * L_0 = __this->get_U3CCustomPropertiesU3Ek__BackingField_7();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_UserId_m2FD6970F1B0A82F7D48B386ECAF34E4DF1FD0976_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string UserId { get; internal set; }
String_t* L_0 = ___value0;
__this->set_U3CUserIdU3Ek__BackingField_5(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_IsInactive_m904CB5036C0DBEC4943A2663082E4146C4D79952_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsInactive { get; protected internal set; }
bool L_0 = ___value0;
__this->set_U3CIsInactiveU3Ek__BackingField_6(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Player_get_IsInactive_m39D157D63551D890BF0DE31851D925991E7C1F04_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, const RuntimeMethod* method)
{
{
// public bool IsInactive { get; protected internal set; }
bool L_0 = __this->get_U3CIsInactiveU3Ek__BackingField_6();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * Room_get_LoadBalancingClient_m1A37D0066F25A954C9B7441B08BA8BA28EBD633A_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, const RuntimeMethod* method)
{
{
// public LoadBalancingClient LoadBalancingClient { get; set; }
LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * L_0 = __this->get_U3CLoadBalancingClientU3Ek__BackingField_13();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Region_get_Ping_m2892D706F0ED7342B95B8C68AD5B98E3C9EE9C71_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public int Ping { get; set; }
int32_t L_0 = __this->get_U3CPingU3Ek__BackingField_3();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_HostAndPort_m065751D570836B30749D118ABA37A00335EF7254_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string HostAndPort { get; protected internal set; }
String_t* L_0 = ___value0;
__this->set_U3CHostAndPortU3Ek__BackingField_2(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Ping_m2344D4A01D7469DB0CE158C98EC2067BD5F6A435_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int Ping { get; set; }
int32_t L_0 = ___value0;
__this->set_U3CPingU3Ek__BackingField_3(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Code_mEAFEB116AE2DDA79B13118F93DD68C92DEB0E666_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Code { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CCodeU3Ek__BackingField_0(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Region_set_Cluster_m48C6668A7A0A81D48A371E0C4804EE2E79D26F00_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Cluster { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CClusterU3Ek__BackingField_1(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_Code_m3C0CF3D5F0C6E60B08BEAB2223212B8A23B1C535_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string Code { get; private set; }
String_t* L_0 = __this->get_U3CCodeU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_Cluster_m199E9E1C72E3CA8F4B606C9E53725CEC57C4C0ED_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string Cluster { get; private set; }
String_t* L_0 = __this->get_U3CClusterU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Region_get_HostAndPort_m53658E909B3162A56847A0309E67F29C6DE4E81A_inline (Region_t89C627A5FBAABB9D76D611FB9A45515289752DA0 * __this, const RuntimeMethod* method)
{
{
// public string HostAndPort { get; protected internal set; }
String_t* L_0 = __this->get_U3CHostAndPortU3Ek__BackingField_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * RegionHandler_get_EnabledRegions_m20716689F94AD61EC800124FF5EFD9DE04BE6ADE_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
{
// public List<Region> EnabledRegions { get; protected internal set; }
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0 = __this->get_U3CEnabledRegionsU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionHandler_set_EnabledRegions_m5EFE1E628A091772B065D096049D4123DF3AC558_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * ___value0, const RuntimeMethod* method)
{
{
// public List<Region> EnabledRegions { get; protected internal set; }
List_1_t745FCA5180E853BD454A81B6D899CCA2BF6E3C2F * L_0 = ___value0;
__this->set_U3CEnabledRegionsU3Ek__BackingField_1(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool RegionHandler_get_IsPinging_mA6A9F7994FC26A5108BD62566ED6BD6E5CEBA719_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, const RuntimeMethod* method)
{
{
// public bool IsPinging { get; private set; }
bool L_0 = __this->get_U3CIsPingingU3Ek__BackingField_7();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionHandler_set_IsPinging_m430F7C28EAC037F294964FEC59D0B700CEC5A3DC_inline (RegionHandler_t36D0892A84D1BC0237780130699C8D09AFCA3A53 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool IsPinging { get; private set; }
bool L_0 = ___value0;
__this->set_U3CIsPingingU3Ek__BackingField_7(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool RegionPinger_get_Done_mA12F6069155AD2FEC5C71FC586280EF830032967_inline (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, const RuntimeMethod* method)
{
{
// public bool Done { get; private set; }
bool L_0 = __this->get_U3CDoneU3Ek__BackingField_7();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RegionPinger_set_Done_m24F52F5A80F1DBCE7FB49D542884D7D9060EB565_inline (RegionPinger_tD06051F26F25C7C0D8180DE64F5FC7B4B6DC6139 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool Done { get; private set; }
bool L_0 = ___value0;
__this->set_U3CDoneU3Ek__BackingField_7(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_BroadcastPropertiesChangeToAll_m713CA7B925BE579DE672122E90F710AC20C0FCB6_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool BroadcastPropertiesChangeToAll { get; private set; }
bool L_0 = ___value0;
__this->set_U3CBroadcastPropertiesChangeToAllU3Ek__BackingField_16(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_SuppressRoomEvents_m9DA2FAD43288E82D574C683A771B07AF5CEC1748_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressRoomEvents { get; private set; }
bool L_0 = ___value0;
__this->set_U3CSuppressRoomEventsU3Ek__BackingField_17(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_SuppressPlayerInfo_m754DBACBDFA2A9B6C54FD4CF3B6F1BFAB3B5CBA9_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool SuppressPlayerInfo { get; private set; }
bool L_0 = ___value0;
__this->set_U3CSuppressPlayerInfoU3Ek__BackingField_18(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_PublishUserId_m06E6C6526F77CD919006270A70E57CCA86AD0994_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool PublishUserId { get; private set; }
bool L_0 = ___value0;
__this->set_U3CPublishUserIdU3Ek__BackingField_19(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Room_set_DeleteNullProperties_m315E369F1958F04D18024D1A004E86C29C591523_inline (Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool DeleteNullProperties { get; private set; }
bool L_0 = ___value0;
__this->set_U3CDeleteNullPropertiesU3Ek__BackingField_20(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Player_set_RoomReference_m0181097B3E0D62C1802A2AD808240BF7378D9577_inline (Player_tC6DFC22DFF5978489C4CFA025695FEC556610214 * __this, Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * ___value0, const RuntimeMethod* method)
{
{
// protected internal Room RoomReference { get; set; }
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0 = ___value0;
__this->set_U3CRoomReferenceU3Ek__BackingField_0(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t RoomInfo_get_PlayerCount_m50B0F7EE07B876923EFF2EF60778A037A0FA9DA6_inline (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, const RuntimeMethod* method)
{
{
// public int PlayerCount { get; private set; }
int32_t L_0 = __this->get_U3CPlayerCountU3Ek__BackingField_12();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void RoomInfo_set_PlayerCount_m937391BF1C4BCB01331FFF4E5C93664ECC9A56FA_inline (RoomInfo_t7069F437E8D00842881716F7573A4ED7EA119889 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int PlayerCount { get; private set; }
int32_t L_0 = ___value0;
__this->set_U3CPlayerCountU3Ek__BackingField_12(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * LoadBalancingClient_get_LoadBalancingPeer_m0338967A6F302B79366C3E8345EB89EAFACC0EC4_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public LoadBalancingPeer LoadBalancingPeer { get; private set; }
LoadBalancingPeer_t92DAE78E5D0178D632E055324F3D06C0018647F4 * L_0 = __this->get_U3CLoadBalancingPeerU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_AppId_mB84C1C7601B9506EDF2A5A5F22BAA90C53AA426D_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public string AppId { get; set; }
String_t* L_0 = __this->get_U3CAppIdU3Ek__BackingField_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_AppVersion_mFA53FE244C2CBAD64709882193BA30826B8B69C5_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public string AppVersion { get; set; }
String_t* L_0 = __this->get_U3CAppVersionU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Type_t * PhotonPeer_get_SocketImplementation_mAC4A1FC38B0992934D9EB4FC6EC12021D2C07602_inline (PhotonPeer_tA9416F27EB935317E1AFD34031CEA28BF957CADD * __this, const RuntimeMethod* method)
{
{
Type_t * L_0 = __this->get_U3CSocketImplementationU3Ek__BackingField_19();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * LoadBalancingClient_get_AuthValues_m6CFE88D5746FE66CF036F3BDEE97FD3F3B080947_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public AuthenticationValues AuthValues { get; set; }
AuthenticationValues_t7683D7F7269F8FEE35AC5B681CB5C74997ACF33A * L_0 = __this->get_U3CAuthValuesU3Ek__BackingField_4();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_CloudRegion_m08A780475DA96A78E6D982816DB4002A149BB1AA_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public string CloudRegion { get; private set; }
String_t* L_0 = __this->get_U3CCloudRegionU3Ek__BackingField_43();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * LoadBalancingClient_get_CurrentLobby_m3FD1849CCACF880D859A75E3006627CC77E847E7_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public TypedLobby CurrentLobby { get; internal set; }
TypedLobby_tD368895EDDB4706F8B68ABCA542E3E697845B1C5 * L_0 = __this->get_U3CCurrentLobbyU3Ek__BackingField_30();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * LoadBalancingClient_get_CurrentRoom_m43837CB1E6A0BB52982A5795649FE77DD5768D73_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public Room CurrentRoom { get; set; }
Room_t786C725602FC0D4154E70C16DBFF7F2A1AC24A8D * L_0 = __this->get_U3CCurrentRoomU3Ek__BackingField_34();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LoadBalancingClient_get_GameServerAddress_mC8284CC749DD6C046B97C985CA64B7B3A96CB5A8_inline (LoadBalancingClient_tBEEEE3B7EAB2BE4F38AF50B935F7C73C0F8DC86A * __this, const RuntimeMethod* method)
{
{
// public string GameServerAddress { get; protected internal set; }
String_t* L_0 = __this->get_U3CGameServerAddressU3Ek__BackingField_16();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t WebRpcResponse_get_ResultCode_m749A18E937D3DB5BC3FCF0735AF445816008D874_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public int ResultCode { get; private set; }
int32_t L_0 = __this->get_U3CResultCodeU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Message_mF04DF90BF2C4DD9C079F36247717F3FD47B3F913_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public string Message { get; private set; }
String_t* L_0 = __this->get_U3CMessageU3Ek__BackingField_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Name_mF97550D30C70A60EBFC6C5100F75F6BD1AA76A7C_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Name { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CNameU3Ek__BackingField_0(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_ResultCode_m60D6C87664B71424D0E8D77FF51A8D5218FDB3A9_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// public int ResultCode { get; private set; }
int32_t L_0 = ___value0;
__this->set_U3CResultCodeU3Ek__BackingField_1(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Parameters_m73D3541B04947DF3F96B17F396E1841579F2A3A5_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * ___value0, const RuntimeMethod* method)
{
{
// public Dictionary<string, object> Parameters { get; private set; }
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_0 = ___value0;
__this->set_U3CParametersU3Ek__BackingField_3(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void WebRpcResponse_set_Message_m80D3C968F66A22B396A54635F100540265684371_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
// public string Message { get; private set; }
String_t* L_0 = ___value0;
__this->set_U3CMessageU3Ek__BackingField_2(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* WebRpcResponse_get_Name_mC87FDF0AF60CBD02DECEE672A52B8193CE63A8D9_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public string Name { get; private set; }
String_t* L_0 = __this->get_U3CNameU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * WebRpcResponse_get_Parameters_mDABD8F7AB74C1C92EA3AFFA2E3C35B485139185C_inline (WebRpcResponse_t413EAD293A9B6A8541D4BFF9EE2366C825E272E2 * __this, const RuntimeMethod* method)
{
{
// public Dictionary<string, object> Parameters { get; private set; }
Dictionary_2_t692011309BA94F599C6042A381FC9F8B3CB08399 * L_0 = __this->get_U3CParametersU3Ek__BackingField_3();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m9C4EBBD2108B51885E750F927D7936290C8E20EE_gshared_inline (Enumerator_tB6009981BD4E3881E3EC83627255A24198F902D6 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->get_current_3();
return (RuntimeObject *)L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Enumerator_get_Current_mEE9617C9ECD7EEA6CAA8FC1AE4F768FD45871932_gshared_inline (Enumerator_tFE456209A61959ABD64BFCC8CEF16DA82AAF7ECA * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get_currentKey_3();
return (int32_t)L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mF00B574E58FB078BB753B05A3B86DD0A7A266B63_gshared_inline (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->get__size_2();
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m4841366ABC2B2AFA37C10900551D7E07522C0929(/*hidden argument*/NULL);
}
IL_000e:
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_2 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)__this->get__items_1();
int32_t L_3 = ___index0;
RuntimeObject * L_4;
L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)L_2, (int32_t)L_3);
return (RuntimeObject *)L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* Array_Empty_TisRuntimeObject_m1FBC21243DF3542384C523801E8CA8A97606C747_gshared_inline (const RuntimeMethod* method)
{
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->rgctx_data, 0));
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_0 = ((EmptyArray_1_tBF73225DFA890366D579424FE8F40073BF9FBAD4_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->rgctx_data, 0)))->get_Value_0();
return (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m5D847939ABB9A78203B062CAFFE975792174D00F_gshared_inline (List_1_t3F94120C77410A62EAE48421CF166B83AB95A2F5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return (int32_t)L_0;
}
}
| [
"dooyoung.kim@kaist.ac.kr"
] | dooyoung.kim@kaist.ac.kr |
d740261049184b8547ea8f5547b6c5dcc97e04bc | 671d2904ecce977a7c5bc24b8d4c06bbd90af293 | /src/plugins/azoth/plugins/chathistory/chathistory.h | 6763f75eb5c8d8dfc3939b97b80bc094d3fd4eab | [
"BSL-1.0"
] | permissive | AlexWMF/leechcraft | 200f59db453aae375089bf5a6a9c9e16d12fd6eb | 1988df9f57eb6e37b966287caa7c1d6030f409ad | refs/heads/master | 2021-01-21T17:50:43.910984 | 2014-08-14T06:28:38 | 2014-08-14T06:28:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,945 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduce, display, distribute,
* execute, and transmit the Software, and to prepare derivative works of the
* Software, and to permit third-parties to whom the Software is furnished to
* do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including
* the above license grant, this restriction and the following disclaimer,
* must be included in all copies of the Software, in whole or in part, and
* all derivative works of the Software, unless such copies or derivative
* works are solely in the form of machine-executable object code generated by
* a source language processor.
*
* 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
**********************************************************************/
#ifndef PLUGINS_AZOTH_PLUGINS_CHATHISTORY_CHATHISTORY_H
#define PLUGINS_AZOTH_PLUGINS_CHATHISTORY_CHATHISTORY_H
#include <memory>
#include <QObject>
#include <interfaces/iinfo.h>
#include <interfaces/iplugin2.h>
#include <interfaces/iactionsexporter.h>
#include <interfaces/ihavetabs.h>
#include <interfaces/ihavesettings.h>
#include <interfaces/core/ihookproxy.h>
#include <interfaces/azoth/imessage.h>
#include <interfaces/azoth/ihistoryplugin.h>
#include "core.h"
class QTranslator;
namespace LeechCraft
{
namespace Azoth
{
namespace ChatHistory
{
class ChatHistoryWidget;
class Plugin : public QObject
, public IInfo
, public IPlugin2
, public IActionsExporter
, public IHaveTabs
, public IHaveSettings
, public IHistoryPlugin
{
Q_OBJECT
Q_INTERFACES (IInfo
IPlugin2
IActionsExporter
IHaveTabs
IHaveSettings
LeechCraft::Azoth::IHistoryPlugin)
LC_PLUGIN_METADATA ("org.LeechCraft.Azoth.ChatHistory")
Util::XmlSettingsDialog_ptr XSD_;
std::shared_ptr<STGuard<Core>> Guard_;
std::shared_ptr<QTranslator> Translator_;
QAction *ActionHistory_;
QHash<QObject*, QAction*> Entry2ActionHistory_;
QHash<QObject*, QAction*> Entry2ActionEnableHistory_;
QHash<QString, QHash<QString, QPointer<QObject>>> RequestedLogs_;
QAction *SeparatorAction_;
public:
void Init (ICoreProxy_ptr);
void SecondInit ();
QByteArray GetUniqueID () const;
void Release ();
QString GetName () const;
QString GetInfo () const;
QIcon GetIcon () const;
// IPlugin2
QSet<QByteArray> GetPluginClasses () const;
// IActionsExporter
QList<QAction*> GetActions (ActionsEmbedPlace) const;
QMap<QString, QList<QAction*>> GetMenuActions () const;
// IHaveTabs
TabClasses_t GetTabClasses () const;
void TabOpenRequested (const QByteArray&);
// IHaveSettings
Util::XmlSettingsDialog_ptr GetSettingsDialog () const;
// IHistoryPlugin
bool IsHistoryEnabledFor (QObject*) const;
void RequestLastMessages (QObject*, int);
void AddRawMessage (const QVariantMap&);
private:
void InitWidget (ChatHistoryWidget*);
public slots:
void initPlugin (QObject*);
void hookEntryActionAreasRequested (LeechCraft::IHookProxy_ptr proxy,
QObject *action,
QObject *entry);
void hookEntryActionsRemoved (LeechCraft::IHookProxy_ptr proxy,
QObject *entry);
void hookEntryActionsRequested (LeechCraft::IHookProxy_ptr proxy,
QObject *entry);
void hookGotMessage2 (LeechCraft::IHookProxy_ptr proxy,
QObject *message);
private slots:
void handleGotChatLogs (const QString&,
const QString&, int, int, const QVariant&);
void handlePushButton (const QString&);
void handleHistoryRequested ();
void handleEntryHistoryRequested ();
void handleEntryEnableHistoryRequested (bool);
signals:
void addNewTab (const QString&, QWidget*);
void removeTab (QWidget*);
void changeTabName (QWidget*, const QString&);
void changeTabIcon (QWidget*, const QIcon&);
void changeTooltip (QWidget*, QWidget*);
void statusBarChanged (QWidget*, const QString&);
void raiseTab (QWidget*);
void gotLastMessages (QObject*, const QList<QObject*>&);
void gotActions (QList<QAction*>, LeechCraft::ActionsEmbedPlace);
void gotEntity (const LeechCraft::Entity&);
};
}
}
}
#endif
| [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
6cc1aefba2e716e170a4cde22606c0dec7f6b1ed | 7a85163a0d7fc5cfdec282d07609d4714f584677 | /TCP base on QT/TcpClient/mainwindow.h | 9952756df7923ec6a424d7e81a7696d58a6b8d73 | [] | no_license | killuaZold/killuacode | b3b92037e250ade088058b5fdac35bead8466be5 | 4f549c036c9784b72c9b647840da8b7dc6d7e485 | refs/heads/master | 2021-09-02T04:28:59.429354 | 2017-12-30T09:39:45 | 2017-12-30T09:39:45 | 115,786,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,389 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QDateTime>
#include <QMouseEvent>
#include <QTextCharFormat>
#include<QFileDialog>
#include<QMessageBox>
#include"tcpclient.h"
#include <QColorDialog>
#define PADDING 4
enum Direction
{
UP,
DOWN,
LEFT,
RIGHT,
LEFTTOP,
LEFTBOTTOM,
RIGHTBOTTOM,
RIGHTTOP,
NONE
};
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
tcpClient *temp;
explicit MainWindow(QWidget *parent = 0);
// QList<QString>chatRecord; //以后修改有重大bug
QString chatRecord1[20];
QString chatRecord2[20];
QString chatRecord3[20];
void setAreaMovable(const QRect rt);
~MainWindow();
static QString str;
private slots:
void on_connectButton_clicked();
void on_disconnectButton_clicked();
void on_ConnecttableWidget_doubleClicked(const QModelIndex &index);
void saveMessagetoList(QString ,int);
void showMessage(QString ,QString,int );
void on_sendButton_clicked();
void on_closeButton_clicked();
// void on_fontComboBox_currentIndexChanged(const QString &arg1);
void on_fontComboBox_currentFontChanged(QFont f);
void on_fontsizecomboBox_currentIndexChanged(QString );
void currentFormatChanged(const QTextCharFormat &format);
void on_toolcolor_clicked();
void on_toolclear_clicked();
void on_toolblod_clicked(bool checked);
void on_toolitalic_clicked(bool checked);
void on_toolunderline_clicked(bool checked);
void on_toolsave_clicked();
private:
Ui::MainWindow *ui;
void shoWLIstMessage(QString,int);
bool saveFile(const QString& fileName);//保存聊天记录
QString hostName;
QString ipAdress;
static int currentWindowsflag;
QRect m_areaMovable;//可移动窗口的区域,鼠标只有在该区域按下才能移动窗口
bool m_bPressed;//鼠标按下标志(不分左右键)
QPoint m_ptPress;//鼠标按下的初始位置
QColor color;//颜色
//void sendMssage(int status);
protected slots:
void updateClient(QString,QString,int);
signals:
void sendMessage(QString, QString);
protected:
void mousePressEvent(QMouseEvent *);
void mouseMoveEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *);
};
#endif // MAINWINDOW_H
| [
"34957491+killuaZold@users.noreply.github.com"
] | 34957491+killuaZold@users.noreply.github.com |
d669236dde5df9be7e5318261e0bcec1b24e1d39 | 489bfd258b9a57a9314cf34f739105f1b4915d5c | /9月启/洛谷-P5015-标题统计.cpp | 144f92863eeb4886eec5db3cb5168d699a73cb32 | [] | no_license | CBYHD/xinao | 3ba7f524ea4a4fde47c0521ca921b08bf38eeb70 | 8b0a8fdeee6807b6446b8d376bb79c3e54d9ac3b | refs/heads/master | 2022-12-24T10:46:25.235252 | 2020-10-02T12:43:47 | 2020-10-02T12:43:47 | 281,280,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
getline(cin, s);
int len = s.size();
int ans = 0;
for (int i = 0; i < len; i++)
if (s[i] != ' ')
ans++;
printf("%d", ans);
} | [
"68547154+CBYHD@users.noreply.github.com"
] | 68547154+CBYHD@users.noreply.github.com |
61ed908c2dae71bd1a9a325afe4cc92390653709 | fda4841612e5734e4c72ab6e7fd92ff2420f8a59 | /a2oj/ladder15/19.cpp | cac6d60e05b802ac8cec1c1e55fb9a644c35826f | [] | no_license | Cybertron3/competitive | ef980be2a0c584f2cd785b202713a593ae26da44 | 9e6ef05865485c42b319182eaab325ca5150d5a1 | refs/heads/master | 2021-08-02T07:07:00.942252 | 2021-07-30T23:50:33 | 2021-07-30T23:50:33 | 181,389,615 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cpp | //PLUS ULTRA
//one who sits atop all the clans : Lion's Sin Escanor
// AC
#include<bits/stdc++.h>
using namespace std;
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define pb push_back
#define forn(i,st,n) for(int i = st; i < n ; i++)
#define nfor(i,st,n) for(int i = st; i >= n ; i--)
#define ss second
#define ff first
#define ll long long
typedef pair <int , int> pii;
const int N = 1e5 + 10 , mod = 1000000007;
void solve(){
string str; cin >> str;
string str2; cin >> str2;
int n =str.size();
int z = 0 , o = 0, q = 0;
forn(i,0,n){
if(str[i]=='-')z++;
else if(str[i] == '+')o++;
}
double prob = 1.0;
forn(i,0,n){
if(str2[i]== '-')z--;
else if(str2[i] == '+')o--;
else q++;
// cout << q << " ";
if( z < 0 || o < 0){
// cout << (float)prob << "\n";
prob = 0.0;
printf("%0.12f\n",prob );
return ;
}
}
// cout << q << " " << o << " " << z << " ";
double tmp = 1.0;
for(int i = 1 ; i <= q ; i++){
tmp *= i;
}
prob = tmp;
tmp = 1.0;
for(int i= 1; i <= z; i++){
tmp *= i;
}
prob = prob/tmp;
tmp = 1;
for(int i = 1; i <= q-z ; i++){
tmp *= i;
}
prob = prob / tmp;
// prob = nCr(q , z)
tmp = 1.0;
for(int i = 0; i < q ; i++ ){
tmp = tmp*2;
}
prob = prob / tmp;
// prob = (nCr(q, z))/powr(q);
// cout << prob << "\n";
printf("%0.12f\n",prob );
}
int main(){
// SPEED;
solve();
return 0;
}
| [
"18ucs110@lnmiit.ac.in"
] | 18ucs110@lnmiit.ac.in |
96ea87df37d50c58e257ee1293d3aebf9597ffaf | b3d9ad3b7c9bd2a4617e920fdeaedf2fe4bce789 | /light/src/SceneObjects/trimesh.h | deaa5a23238ea8254faaaecceb082f331c5cb3cd | [] | no_license | dwetterau/gradphics | a5ac6e08348470759d1011ecbedf2af09418ef7e | ddd97a6d6f52a968ab26d61dc9f337941e0f875d | refs/heads/master | 2021-03-24T12:16:22.965369 | 2013-12-11T23:13:19 | 2013-12-11T23:13:19 | 13,050,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | h | #ifndef TRIMESH_H__
#define TRIMESH_H__
#include <list>
#include <vector>
#include "../scene/ray.h"
#include "../scene/material.h"
#include "../scene/scene.h"
class TrimeshFace;
class Trimesh : public MaterialSceneObject
{
friend class TrimeshFace;
typedef std::vector<Vec3d> Normals;
typedef std::vector<Vec3d> Vertices;
typedef std::vector<TrimeshFace*> Faces;
typedef std::vector<Material*> Materials;
typedef std::vector<Vec2d> UVs;
Vertices vertices;
Faces faces;
Normals normals;
Materials materials;
UVs uvs;
BoundingBox localBounds;
public:
Trimesh( Scene *scene, Material *mat, TransformNode *transform )
: MaterialSceneObject(scene, mat),
displayListWithMaterials(0),
displayListWithoutMaterials(0)
{
this->transform = transform;
vertNorms = false;
}
bool vertNorms;
bool intersectLocal(const ray& r, isect& i) const;
~Trimesh();
// must add vertices, normals, and materials IN ORDER
void addVertex( const Vec3d & );
void addUV( const Vec2d & );
void addMaterial( Material *m );
void addNormal( const Vec3d & );
bool addFace( int a, int b, int c );
char *doubleCheck();
void generateNormals();
void buildKdTree();
bool hasBoundingBoxCapability() const { return true; }
BoundingBox ComputeLocalBoundingBox()
{
BoundingBox localbounds;
if (vertices.size() == 0) return localbounds;
localbounds.setMax(vertices[0]);
localbounds.setMin(vertices[0]);
Vertices::const_iterator viter;
for (viter = vertices.begin(); viter != vertices.end(); ++viter)
{
localbounds.setMax(maximum( localbounds.getMax(), *viter));
localbounds.setMin(minimum( localbounds.getMin(), *viter));
}
localBounds = localbounds;
return localbounds;
}
protected:
void glDrawLocal(int quality, bool actualMaterials, bool actualTextures) const;
mutable int displayListWithMaterials;
mutable int displayListWithoutMaterials;
kdNode root;
};
class TrimeshFace : public MaterialSceneObject
{
Trimesh *parent;
int ids[3];
Vec3d normal;
double dist;
public:
TrimeshFace( Scene *scene, Material *mat, Trimesh *parent, int a, int b, int c)
: MaterialSceneObject( scene, mat )
{
this->parent = parent;
ids[0] = a;
ids[1] = b;
ids[2] = c;
// Compute the face normal here, not on the fly
Vec3d a_coords = parent->vertices[a];
Vec3d b_coords = parent->vertices[b];
Vec3d c_coords = parent->vertices[c];
Vec3d vab = (b_coords - a_coords);
Vec3d vac = (c_coords - a_coords);
Vec3d vcb = (b_coords - c_coords);
if (vab.iszero() || vac.iszero() || vcb.iszero()) degen = true;
else {
degen = false;
normal = ((b_coords - a_coords) ^ (c_coords - a_coords));
normal.normalize();
dist = normal * a_coords;
}
localbounds = ComputeLocalBoundingBox();
bounds = localbounds;
}
BoundingBox localbounds;
bool degen;
int operator[]( int i ) const
{
return ids[i];
}
Vec3d getNormal()
{
return normal;
}
bool intersect( const ray& r, isect& i ) const;
bool intersectLocal( const ray& r, isect& i ) const;
bool hasBoundingBoxCapability() const { return true; }
BoundingBox ComputeLocalBoundingBox()
{
BoundingBox localbounds;
localbounds.setMax(maximum( parent->vertices[ids[0]], parent->vertices[ids[1]]));
localbounds.setMin(minimum( parent->vertices[ids[0]], parent->vertices[ids[1]]));
localbounds.setMax(maximum( parent->vertices[ids[2]], localbounds.getMax()));
localbounds.setMin(minimum( parent->vertices[ids[2]], localbounds.getMin()));
return localbounds;
}
const BoundingBox& getBoundingBox() const { return localbounds; }
};
#endif // TRIMESH_H__
| [
"david.wetterau@gmail.com"
] | david.wetterau@gmail.com |
7cbf1f2edf14d67ef164c96602dfbe8aa2c230d7 | 56f5af749409d1ead0de98e470e83f2ae140eb64 | /tests/unit/test_spinel_decoder.cpp | c6680bd310b4c31f659fcc91f9a05e6ed801f4e4 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ygtysr/openthread | 178101233019735864234f6a53538f87301721fe | afa7f34b265f262138f40a007e304c1c2d3f10f6 | refs/heads/master | 2021-01-25T14:45:40.552604 | 2018-03-02T17:16:36 | 2018-03-02T17:16:36 | 123,726,211 | 2 | 0 | null | 2018-03-03T19:53:32 | 2018-03-03T19:53:32 | null | UTF-8 | C++ | false | false | 33,148 | cpp | /*
* Copyright (c) 2017, The OpenThread 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <ctype.h>
#include <openthread/openthread.h>
#include "common/code_utils.hpp"
#include "common/instance.hpp"
#include "ncp/spinel_decoder.hpp"
#include "test_util.h"
namespace ot {
namespace Ncp {
enum
{
kTestBufferSize = 800,
};
// Dump the buffer content to screen.
void DumpBuffer(const char *aTextMessage, uint8_t *aBuffer, uint16_t aBufferLength)
{
enum
{
kBytesPerLine = 32, // Number of bytes per line.
};
char charBuff[kBytesPerLine + 1];
uint16_t counter;
uint8_t byte;
printf("\n%s - len = %u\n ", aTextMessage, aBufferLength);
counter = 0;
while (aBufferLength--)
{
byte = *aBuffer++;
printf("%02X ", byte);
charBuff[counter] = isprint(byte) ? static_cast<char>(byte) : '.';
counter++;
if (counter == kBytesPerLine)
{
charBuff[counter] = 0;
printf(" %s\n ", charBuff);
counter = 0;
}
}
charBuff[counter] = 0;
while (counter++ < kBytesPerLine)
{
printf(" ");
}
printf(" %s\n", charBuff);
}
void TestSpinelDecoder(void)
{
uint8_t buffer[kTestBufferSize];
SpinelDecoder decoder;
spinel_ssize_t frameLen;
const bool kBool_1 = true;
const bool kBool_2 = false;
const uint8_t kUint8 = 0x42;
const int8_t kInt8 = -73;
const uint16_t kUint16 = 0xabcd;
const int16_t kInt16 = -567;
const uint32_t kUint32 = 0xdeadbeef;
const int32_t kInt32 = -123455678L;
const uint64_t kUint64 = 0xfe10dc32ba549876ULL;
const int64_t kInt64 = -9197712039090021561LL;
const unsigned int kUint_1 = 9;
const unsigned int kUint_2 = 0xa3;
const unsigned int kUint_3 = 0x8765;
const unsigned int kUint_4 = SPINEL_MAX_UINT_PACKED - 1;
const spinel_ipv6addr_t kIp6Addr = {
{0x6B, 0x41, 0x65, 0x73, 0x42, 0x68, 0x61, 0x76, 0x54, 0x61, 0x72, 0x7A, 0x49, 0x69, 0x61, 0x4E}};
const spinel_eui48_t kEui48 = {
{4, 8, 15, 16, 23, 42} // "Lost" EUI48!
};
const spinel_eui64_t kEui64 = {
{2, 3, 5, 7, 11, 13, 17, 19}, // "Prime" EUI64!
};
const char kString_1[] = "OpenThread";
const char kString_2[] = "";
const uint16_t kData[] = {10, 20, 3, 15, 1000, 60, 16}; // ... then comes 17,18,19,20 :)
bool b_1, b_2;
uint8_t u8;
int8_t i8;
uint16_t u16;
int16_t i16;
uint32_t u32;
int32_t i32;
uint64_t u64;
int64_t i64;
unsigned int u_1, u_2, u_3, u_4;
const spinel_ipv6addr_t *ip6Addr;
const spinel_eui48_t * eui48;
const spinel_eui64_t * eui64;
const char * utf_1;
const char * utf_2;
const uint8_t * dataPtr_1;
const uint8_t * dataPtr_2;
uint16_t dataLen_1;
uint16_t dataLen_2;
memset(buffer, 0, sizeof(buffer));
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 1: Decoding simple types");
frameLen = spinel_datatype_pack(
buffer, sizeof(buffer),
(SPINEL_DATATYPE_BOOL_S SPINEL_DATATYPE_BOOL_S SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_INT8_S
SPINEL_DATATYPE_UINT16_S SPINEL_DATATYPE_INT16_S SPINEL_DATATYPE_UINT32_S SPINEL_DATATYPE_INT32_S
SPINEL_DATATYPE_UINT64_S SPINEL_DATATYPE_INT64_S SPINEL_DATATYPE_UINT_PACKED_S
SPINEL_DATATYPE_UINT_PACKED_S SPINEL_DATATYPE_UINT_PACKED_S SPINEL_DATATYPE_UINT_PACKED_S
SPINEL_DATATYPE_IPv6ADDR_S SPINEL_DATATYPE_EUI48_S SPINEL_DATATYPE_EUI64_S
SPINEL_DATATYPE_UTF8_S SPINEL_DATATYPE_UTF8_S SPINEL_DATATYPE_DATA_WLEN_S
SPINEL_DATATYPE_DATA_S),
kBool_1, kBool_2, kUint8, kInt8, kUint16, kInt16, kUint32, kInt32, kUint64, kInt64, kUint_1, kUint_2, kUint_3,
kUint_4, &kIp6Addr, &kEui48, &kEui64, kString_1, kString_2, kData, sizeof(kData), kData, sizeof(kData));
DumpBuffer("Packed Spinel Frame", buffer, static_cast<uint16_t>(frameLen));
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
VerifyOrQuit(decoder.GetFrame() == &buffer[0], "GetFrame() failed.");
VerifyOrQuit(decoder.GetLength() == frameLen, "GetLength() failed.");
VerifyOrQuit(decoder.GetReadLength() == 0, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == frameLen, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == false, "IsAllRead() failed.");
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadBool(b_2), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadInt8(i8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
SuccessOrQuit(decoder.ReadInt16(i16), "ReadInt16() failed.");
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
SuccessOrQuit(decoder.ReadInt32(i32), "ReadUint32() failed.");
SuccessOrQuit(decoder.ReadUint64(u64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadInt64(i64), "ReadUint64() failed.");
// Check the state
VerifyOrQuit(decoder.GetReadLength() != 0, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == frameLen - decoder.GetReadLength(), "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == false, "IsAllRead() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_1), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_2), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_4), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.ReadEui64(eui64), "ReadEui64() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_2), "ReadUtf8() failed.");
SuccessOrQuit(decoder.ReadDataWithLen(dataPtr_1, dataLen_1), "ReadDataWithLen() failed.");
SuccessOrQuit(decoder.ReadData(dataPtr_2, dataLen_2), "ReadData() failed.");
VerifyOrQuit(decoder.GetReadLength() == frameLen, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == 0, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(b_2 == kBool_2, "ReadBool() parse failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(i8 == kInt8, "ReadUint8() parse failed.");
VerifyOrQuit(u16 == kUint16, "ReadUint16() parse failed.");
VerifyOrQuit(i16 == kInt16, "ReadInt16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(i32 == kInt32, "ReadInt32() parse failed.");
VerifyOrQuit(u64 == kUint64, "ReadUint64() parse failed.");
VerifyOrQuit(i64 == kInt64, "ReadInt64() parse failed.");
VerifyOrQuit(u_1 == kUint_1, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_2 == kUint_2, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_4 == kUint_4, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
VerifyOrQuit(memcmp(eui64, &kEui64, sizeof(spinel_eui64_t)) == 0, "ReadEui64() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
VerifyOrQuit(memcmp(utf_2, kString_2, sizeof(kString_2)) == 0, "ReadUtf8() parse failed.");
VerifyOrQuit(dataLen_1 == sizeof(kData), "ReadData() parse failed.");
VerifyOrQuit(memcmp(dataPtr_1, &kData, sizeof(kData)) == 0, "ReadData() parse failed.");
VerifyOrQuit(dataLen_2 == sizeof(kData), "ReadData() parse failed.");
VerifyOrQuit(memcmp(dataPtr_2, &kData, sizeof(kData)) == 0, "ReadData() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 2: Test Reset(), SavePosition(), ResetToSaved()");
// `ResetToSaved()` should fail if there is no saved position
VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE, "ResetToSaved() did not fail");
decoder.Reset();
VerifyOrQuit(decoder.GetFrame() == &buffer[0], "GetFrame() failed.");
VerifyOrQuit(decoder.GetLength() == frameLen, "GetLength() failed.");
VerifyOrQuit(decoder.GetReadLength() == 0, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == frameLen, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == false, "IsAllRead() failed.");
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadBool(b_2), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadInt8(i8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
SuccessOrQuit(decoder.ReadInt16(i16), "ReadInt16() failed.");
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
SuccessOrQuit(decoder.ReadInt32(i32), "ReadUint32() failed.");
// `ResetToSaved()` should fail if there is no saved position
VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE, "ResetToSaved() did not fail");
// Save position
decoder.SavePosition();
SuccessOrQuit(decoder.ReadUint64(u64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadInt64(i64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_1), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_2), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_4), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(b_2 == kBool_2, "ReadBool() parse failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(i8 == kInt8, "ReadUint8() parse failed.");
VerifyOrQuit(u16 == kUint16, "ReadUint16() parse failed.");
VerifyOrQuit(i16 == kInt16, "ReadInt16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(i32 == kInt32, "ReadUint32() parse failed.");
VerifyOrQuit(u64 == kUint64, "ReadUint64() parse failed.");
VerifyOrQuit(i64 == kInt64, "ReadInt64() parse failed.");
VerifyOrQuit(u_1 == kUint_1, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_2 == kUint_2, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_4 == kUint_4, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
SuccessOrQuit(decoder.ResetToSaved(), "ResetToSaved() failed");
SuccessOrQuit(decoder.ReadUint64(u64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadInt64(i64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_1), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_2), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_4), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
VerifyOrQuit(u64 == kUint64, "ReadUint64() parse failed.");
VerifyOrQuit(i64 == kInt64, "ReadInt64() parse failed.");
VerifyOrQuit(u_1 == kUint_1, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_2 == kUint_2, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_4 == kUint_4, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
// Go back to save position again.
SuccessOrQuit(decoder.ResetToSaved(), "ResetToSaved() failed");
SuccessOrQuit(decoder.ReadUint64(u64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadInt64(i64), "ReadUint64() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_1), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_2), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_4), "ReadUintPacked() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
VerifyOrQuit(u64 == kUint64, "ReadUint64() parse failed.");
VerifyOrQuit(i64 == kInt64, "ReadInt64() parse failed.");
VerifyOrQuit(u_1 == kUint_1, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_2 == kUint_2, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(u_4 == kUint_4, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
// Ensure saved position is cleared when decoder is reset or re-initialized.
decoder.Reset();
// `ResetToSaved()` should fail if there is no saved position
VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE, "ResetToSaved() did not fail");
decoder.SavePosition();
SuccessOrQuit(decoder.ResetToSaved(), "ResetToSaved() failed");
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE, "ResetToSaved() did not fail");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 3: Test decoding a single simple struct.");
frameLen = spinel_datatype_pack(buffer, sizeof(buffer),
(SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_STRUCT_S(
SPINEL_DATATYPE_UINT32_S SPINEL_DATATYPE_EUI48_S SPINEL_DATATYPE_UINT_PACKED_S)
SPINEL_DATATYPE_INT16_S
),
kUint8, kUint32, &kEui48, kUint_3, kInt16);
DumpBuffer("Packed Spinel Frame (single struct)", buffer, static_cast<uint16_t>(frameLen));
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadInt16(i16), "ReadInt16() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(i16 == kInt16, "ReadInt16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 4: Test partial struct read");
// Re-use same frame as the previous test.
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
// Skip the remaining fields in the struct
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadInt16(i16), "ReadInt16() failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(i16 == kInt16, "ReadInt16() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 5: Test `GetRemainingLengthInStruct()` and `IsAllReadInStruct`() in and out of an struct");
// Re-use same frame as the previous test.
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
VerifyOrQuit(decoder.GetFrame() == &buffer[0], "GetFrame() failed.");
VerifyOrQuit(decoder.GetLength() == frameLen, "GetLength() failed.");
VerifyOrQuit(decoder.GetReadLength() == 0, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == frameLen, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == false, "IsAllRead() failed.");
// When not in an struct, `etRemainingLengthInStruct()` should consider the whole frame.
VerifyOrQuit(decoder.GetRemainingLengthInStruct() == frameLen, "GetRemLengthInStruct() failed.");
VerifyOrQuit(decoder.IsAllReadInStruct() == false, "IsAllReadInStruct() failed.");
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
VerifyOrQuit(decoder.IsAllReadInStruct() == false, "IsAllReadInStruct() failed.");
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.ReadUintPacked(u_3), "ReadUintPacked() failed.");
VerifyOrQuit(decoder.IsAllReadInStruct() == true, "IsAllReadInStruct() failed.");
VerifyOrQuit(decoder.GetRemainingLengthInStruct() == 0, "GetRemLengthInStruct() failed.");
// Try reading beyond end of the struct and ensure it fails.
VerifyOrQuit(decoder.ReadUint8(u8) == OT_ERROR_PARSE, "ReadUint8() did not fail.");
// `ReadData()` at end of struct should still succeed but return zero as the data length.
SuccessOrQuit(decoder.ReadData(dataPtr_1, dataLen_1), "ReadData() failed.");
VerifyOrQuit(dataLen_1 == 0, "ReadData() parse value failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
VerifyOrQuit(decoder.IsAllReadInStruct() == false, "IsAllReadInStruct() failed.");
SuccessOrQuit(decoder.ReadInt16(i16), "ReadInt16() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(decoder.GetRemainingLengthInStruct() == 0, "GetRemLengthInStruct() failed.");
VerifyOrQuit(decoder.IsAllReadInStruct() == true, "IsAllReadInStruct() failed.");
// `ReadData()` at end of frame should still succeed but return zero as the data length.
SuccessOrQuit(decoder.ReadData(dataPtr_1, dataLen_1), "ReadData() failed.");
VerifyOrQuit(dataLen_1 == 0, "ReadData() parse value failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(i16 == kInt16, "ReadInt16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(u_3 == kUint_3, "ReadUintPacked() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 6: Test multiple nested structs");
frameLen = spinel_datatype_pack(
buffer, sizeof(buffer),
(SPINEL_DATATYPE_STRUCT_S(SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_UTF8_S SPINEL_DATATYPE_STRUCT_S(
SPINEL_DATATYPE_BOOL_S SPINEL_DATATYPE_IPv6ADDR_S) SPINEL_DATATYPE_UINT16_S)
SPINEL_DATATYPE_EUI48_S SPINEL_DATATYPE_STRUCT_S(SPINEL_DATATYPE_UINT32_S) SPINEL_DATATYPE_INT32_S),
kUint8, kString_1, kBool_1, &kIp6Addr, kUint16, &kEui48, kUint32, kInt32);
DumpBuffer("Packed Spinel Frame (multiple struct)", buffer, static_cast<uint16_t>(frameLen));
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadInt32(i32), "WriteUint32() failed.");
VerifyOrQuit(decoder.GetReadLength() == frameLen, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == 0, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(u16 == kUint16, "ReadUint16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(i32 == kInt32, "ReadUint32() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 7: Test `SavePosition()`, `ResetToSaved()` for nested structs");
// Re-use same frame as the previous test.
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
decoder.SavePosition();
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
}
// Verify the read content so far.
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
// Do not close the inner struct and jump to previously saved position and re-read the content.
SuccessOrQuit(decoder.ResetToSaved(), "ResetToSaved() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadInt32(i32), "WriteUint32() failed.");
VerifyOrQuit(decoder.GetReadLength() == frameLen, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == 0, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(u16 == kUint16, "ReadUint16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(i32 == kInt32, "ReadUint32() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 8: Test saving position at start of an open struct");
// Re-use same frame as the previous test.
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
// Save position at start of the struct
decoder.SavePosition();
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
// Verify the read content so far.
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
// Do not close the struct and jump to the previously saved position and re-read the content.
SuccessOrQuit(decoder.ResetToSaved(), "ResetToSaved() failed.");
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadEui48(eui48), "ReadEui48() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint32(u32), "ReadUint32() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadInt32(i32), "WriteUint32() failed.");
VerifyOrQuit(decoder.GetReadLength() == frameLen, "GetReadLength() failed.");
VerifyOrQuit(decoder.GetRemainingLength() == 0, "GetRemainingLength() failed.");
VerifyOrQuit(decoder.IsAllRead() == true, "IsAllRead() failed.");
VerifyOrQuit(b_1 == kBool_1, "ReadBool() parse failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(u16 == kUint16, "ReadUint16() parse failed.");
VerifyOrQuit(u32 == kUint32, "ReadUint32() parse failed.");
VerifyOrQuit(i32 == kInt32, "ReadUint32() parse failed.");
VerifyOrQuit(memcmp(ip6Addr, &kIp6Addr, sizeof(spinel_ipv6addr_t)) == 0, "ReadIp6Address() parse failed.");
VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0, "ReadEui48() parse failed.");
VerifyOrQuit(memcmp(utf_1, kString_1, sizeof(kString_1)) == 0, "ReadUtf8() parse failed.");
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 9: Test `ResetToSaved()` failure case (jumping back to a saved position closed struct).");
// Re-use same frame as the previous test.
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUtf8(utf_1), "ReadUtf8() failed.");
SuccessOrQuit(decoder.OpenStruct(), "OpenStruct() failed.");
{
SuccessOrQuit(decoder.ReadBool(b_1), "ReadBool() failed.");
decoder.SavePosition();
SuccessOrQuit(decoder.ReadIp6Address(ip6Addr), "ReadIp6Addr() failed.");
}
SuccessOrQuit(decoder.CloseStruct(), "CloseStruct() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
// `ResetToSaved()` should fail sicne the enclosing struct for the saved position is closed.
VerifyOrQuit(decoder.ResetToSaved() == OT_ERROR_INVALID_STATE, "ResetToSaved() did not fail.");
}
printf(" -- PASS\n");
printf("\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
printf("\nTest 10: Testing error cases and failures. (e.g., wrong struct length).");
frameLen = spinel_datatype_pack(buffer, sizeof(buffer),
(SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_UINT16_S // Treat this as struct length
SPINEL_DATATYPE_BOOL_S),
kUint8, 10, kBool_1);
DumpBuffer("Packed Spinel Frame (incorrect format)", buffer, static_cast<uint16_t>(frameLen));
decoder.Init(buffer, static_cast<uint16_t>(frameLen));
decoder.SavePosition();
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
// `OpenStruct()` should fail, since it expects a length 10 but there are not enough
// bytes in the frame.
VerifyOrQuit(decoder.OpenStruct() == OT_ERROR_PARSE, "OpenStruct() did not fail.");
decoder.ResetToSaved();
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
VerifyOrQuit(u8 == kUint8, "ReadUint8() parse failed.");
VerifyOrQuit(decoder.ReadDataWithLen(dataPtr_1, dataLen_1) == OT_ERROR_PARSE, "ReadDataWithLen() did not fail.");
decoder.ResetToSaved();
SuccessOrQuit(decoder.ReadUint8(u8), "ReadUint8() failed.");
SuccessOrQuit(decoder.ReadUint16(u16), "ReadUint16() failed.");
SuccessOrQuit(decoder.ReadBool(b_1), "ReadUint16() failed.");
// Try reading beyond end of frame.
VerifyOrQuit(decoder.ReadUint8(u8) == OT_ERROR_PARSE, "ReadUint8() did not fail");
printf(" -- PASS\n");
}
} // namespace Ncp
} // namespace ot
#ifdef ENABLE_TEST_MAIN
int main(void)
{
ot::Ncp::TestSpinelDecoder();
printf("\nAll tests passed.\n");
return 0;
}
#endif
| [
"jonhui@nestlabs.com"
] | jonhui@nestlabs.com |
e0e38e87f0050b46aedd9b368d6ec4fdf395057c | 389f453f622ba748143fea2fc4ec36e46cc36a11 | /common/cylinder.h | 3b6e2a35910ce494508755f38b8669e878b3a855 | [] | no_license | afarias1/splines | 05f9373f78e6cac6d30567d3c94daa40441dcbd9 | e73d8861843d97ecbc2dbf86579a34bcd82e8db1 | refs/heads/master | 2021-01-25T03:49:57.942213 | 2013-04-24T14:07:13 | 2013-04-24T14:07:13 | 30,443,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | h | #ifndef _CYLINDER_H
#define _CYLINDER_H
#include <QGLBuffer>
#include <QGLShaderProgram>
#include <cmath>
typedef QVector2D vec2;
typedef QVector3D vec3;
typedef QVector4D vec4;
namespace cs40{
class Cylinder {
public:
/* construct a Cylinder centered at origin with given radius
* and height (along +y axis)
* by dividing it into vertical slices and horizontal stacks */
Cylinder(float radius, float height, int slices, int stacks);
~Cylinder();
/* draw the sphere using provided shader program */
void draw(QGLShaderProgram* prog);
/* Set Ambient and Diffuse color of Cylinder */
inline void setColor(const vec3& color){ m_color=color; m_color.setW(1.); }
inline void setSpecularColor(const vec3& color){
m_spec_color=color; m_spec_color.setW(1.); }
/* Get current color of object */
inline vec4 getAmbientAndDiffuseColor() const { return m_color; }
inline vec4 getSpecularColor() const {return m_spec_color;}
private:
/* Generate Vertex Buffer Objects, but do not bind/allocate.
* Return true if generate was a success, false otherwise
*/
bool initVBO();
protected:
vec4 m_color;
vec4 m_spec_color;
QGLBuffer *m_vbo;
float m_radius;
float m_height;
int m_slices;
int m_stacks;
int m_stripsize; //num vertices per horizontal strip;
};
} //namespace
#endif //CYLINDER_H
| [
"adanner@cs.swarthmore.edu"
] | adanner@cs.swarthmore.edu |
4e667108ebba54dc1ca72f16b480a3d681d35ea8 | 37945f2242a5a20c5a77f87f40390d8899c56273 | /D3D12HelloWindow/D3D12HelloWindow/GraphicsBase.h | 1365521127000757405db57cf195102e2d1f5f52 | [] | no_license | Yadnesh-Kulkarni/DirectX12 | 4fd07ac790cb35fdbd863ac91e4cb72dcec3a7b0 | 758d01ce13f6f668381acb689c077a987494b627 | refs/heads/main | 2023-08-17T17:11:16.197397 | 2021-09-14T22:10:29 | 2021-09-14T22:10:29 | 406,532,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | h | #pragma once
#include "BaseWindowClass.h"
#include "GraphicsBaseHelper.h"
class GraphicsBase
{
public:
GraphicsBase(UINT width, UINT height, std::wstring name);
virtual ~GraphicsBase();
virtual void OnInit() = 0;
virtual void OnUpdate() = 0;
virtual void OnRender() = 0;
virtual void OnDestroy() = 0;
//Event Handlers To Handle Specific Messages
virtual void OnKeyDown(UINT) {}
virtual void OnKeyUp(UINT) {}
//Getters
UINT GetWidth() const { return m_width; }
UINT GetHeight() const { return m_height; }
const WCHAR* GetTitle() const { return m_title.c_str(); }
protected:
std::wstring GetAssetFullPath(LPCWSTR assetName);
void GetHardwareAdapter(_In_ IDXGIFactory2* pFactory, _Outptr_result_maybenull_ IDXGIAdapter1** ppAdapter);
void SetCustomWindowText(LPCWSTR text);
//Viewport Dimensions
UINT m_width;
UINT m_height;
float m_aspectRatio;
bool m_useWarpDevice;
private:
std::wstring m_assetPath;
std::wstring m_title;
};
| [
"ykulkar2@uncc.edu"
] | ykulkar2@uncc.edu |
4a55488357789d164891c0056c9eb2187d1bb553 | 9fad21d3ae60b98f90c44261f2e6bb4123a3eac1 | /Discrete Math/Liza/INFBEZ/DES/des2.cpp | 3986dd76d9fba5877b9b1e5b6c06449e90cfa6fe | [] | no_license | gshovkoplyas/ITMO | 1cee3a2d8e1b2de3e3e83014f3de0bac6896ec1a | 6790dfdc98162bb5c8cacc97c87ef35459ab59a9 | refs/heads/master | 2023-07-27T05:13:06.235336 | 2021-09-08T14:21:28 | 2021-09-08T14:21:28 | 18,344,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,349 | cpp | #include <iostream>
#include <cmath>
#include <cstdio>
#include <vector>
#include <fstream>
#include <string>
#include <algorithm>
using namespace std;
ofstream fout("out.txt");
struct messageBlock
{
vector <bool> left;
vector <bool> rigth;
};
void printKey(vector <bool> key, string s)
{
fout << endl << s << endl;
for (int i = 0; i < key.size(); ++i)
{
if (key[i])
fout << 1;
else
fout << 0;
}
fout << endl << endl;
}
vector <bool> charToByteArray(char c) {
vector <bool> result;
int mask[8] = { 1, 2, 4, 8, 16, 32, 64, 128 };
for (int i = 0; i < 8; ++i) {
result.push_back(c&mask[i]);
}
reverse(result.begin(), result.end());
return result;
}
string byteArrayToChar(vector <bool> block)
{
int mask[8] = { 128, 64, 32, 16, 8, 4, 2, 1 };
string result;
int pos = 0;
char c = 0;
int count = 8;
while (count != 0)
{
for (int i = 0; i < 8; ++i, ++pos)
c += (int)(pow(2, 7 - i) * block[pos]) & mask[i];
--count;
result += c;
c = 0;
}
return result;
}
vector <bool> firstShuffle(vector <bool> block)
{
vector <bool> result(64);
int m[64] = { 58, 50, 42, 34, 26, 18, 10, 2,
60, 52, 44, 36, 28, 20, 12, 4,
62, 54, 46, 38, 30, 22, 14, 6,
64, 56, 48, 40, 32, 24, 16, 8,
57, 49, 41, 33, 25, 17, 9, 1,
59, 51, 43, 35, 27, 19, 11, 3,
61, 53, 45, 37, 29, 21, 13, 5,
63, 55, 47, 39, 31, 23, 15, 7 };
for (int i = 0; i < 64; ++i)
{
result[i] = block[m[i] - 1];
}
return result;
}
vector <bool> keyTransforming(vector <bool> key)
{
vector <bool> result(56);
int m[56] = { 57, 49, 41, 33, 25, 17, 9,
1, 58, 50, 42, 34, 26, 18,
10, 2, 59, 51, 43, 35, 27,
19, 11, 3, 60, 52, 44, 36,
63, 55, 47, 39, 31, 23, 15,
7, 62, 54, 46, 38, 30, 22,
14, 6, 61, 53, 45, 37, 29,
21, 13, 5, 28, 20, 12, 4 };
for (int i = 0; i < 56; ++i)
{
result[i] = key[m[i] - 1];
}
return result;
}
vector <bool> makeKeyCycleShiftLeft(vector <bool> key, int iter)
{
int m[16] = { 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1 };
vector <bool> l, r;
for (int i = 0; i < 28; ++i)
l.push_back(key[i]);
for (int i = 28; i < 56; ++i)
r.push_back(key[i]);
rotate(l.begin(), l.begin() + m[iter], l.end());
rotate(r.begin(), r.begin() + m[iter], r.end());
vector <bool> result;
for (int i = 0; i < l.size(); ++i)
result.push_back(l[i]);
for (int i = 0; i < r.size(); ++i)
result.push_back(r[i]);
//fout << "C" << iter + 1 << endl;
//printKey(l);
//fout << "D" << iter + 1 << endl;
//printKey(r);
return result;
}
vector <bool> keyShuffleWithCompressing(vector <bool> key)
{
vector <bool> result(48);
int m[48] = { 14, 17, 11, 24, 1, 5,
3, 28, 15, 6, 21, 10,
23, 19, 12, 4, 26, 8,
16, 7, 27, 20, 13, 2,
41, 52, 31, 37, 47, 55,
30, 40, 51, 45, 33, 48,
44, 49, 39, 56, 34, 53,
46, 42, 50, 36, 29, 32 };
for (int i = 0; i < 48; ++i)
{
result[i] = key[m[i] - 1];
}
return result;
}
vector <bool> msgShuffleWithExtension(vector <bool> block)
{
//printKey(block, "Rn-1");
vector <bool> result(48);
int m[48] = { 32, 1, 2, 3, 4, 5,
4, 5, 6, 7, 8, 9,
8, 9, 10, 11, 12, 13,
12, 13, 14, 15, 16, 17,
16, 17, 18, 19, 20, 21,
20, 21, 22, 23, 24, 25,
24, 25, 26, 27, 28, 29,
28, 29, 30, 31, 32, 1};
for (int i = 0; i < 48; ++i)
{
result[i] = block[m[i] - 1];
}
//printKey(result, "E(Rn-1)");
return result;
}
vector <bool> makeXor(vector <bool> a, vector <bool> b)
{
//printKey(a, "BLOCK");
//printKey(b, "KEY");
vector <bool> result(a.size());
for (int i = 0; i < a.size(); ++i)
{
result[i] = a[i] ^ b[i];
}
//printKey(result, "XOR");
return result;
}
vector <bool> getBytesFromSblock(vector <bool> in, int s[4][16])
{
int row, column, result;
row = 1 * (int)in[5] + 2 * (int)in[0];
column = 1 * (int)in[4] + 2 * (int)in[3] + 4 * (int)in[2] + 8 * (int)in[1];
result = s[row][column];
vector <bool> byteResult;
for (int i = 0; i < 4; ++i)
{
byteResult.push_back(result % 2);
result /= 2;
}
reverse(byteResult.begin(), byteResult.end());
return byteResult;
}
vector <bool> shuffleInSblock(vector <bool> in)
{
int s1[4][16] = { { 14, 4, 13, 1, 2, 15, 11, 8, 3, 10, 6, 12, 5, 9, 0, 7 },
{ 0, 15, 7, 4, 14, 2, 13, 1, 10, 6, 12, 11, 9, 5, 3, 8 },
{ 4, 1, 14, 8, 13, 6, 2, 11, 15, 12, 9, 7, 3, 10, 5, 0 },
{ 15, 12, 8, 2, 4, 9, 1, 7, 5, 11, 3, 14, 10, 0, 6, 13 } };
int s2[4][16] = { { 15, 1, 8, 14, 6, 11, 3, 4, 9, 7, 2, 13, 12, 0, 5, 10 },
{ 3, 13, 4, 7, 15, 2, 8, 14, 12, 0, 1, 10, 6, 9, 11, 5 },
{ 0, 14, 7, 11, 10, 4, 13, 1, 5, 8, 12, 6, 9, 3, 2, 15 },
{ 13, 8, 10, 1, 3, 15, 4, 2, 11, 6, 7, 12, 0, 5, 14, 9 } };
int s3[4][16] = { { 10, 0, 9, 14, 6, 3, 15, 5, 1, 13, 12, 7, 11, 4, 2, 8 },
{ 13, 7, 0, 9, 3, 4, 6, 10, 2, 8, 5, 14, 12, 11, 15, 1 },
{ 13, 6, 4, 9, 8, 15, 3, 0, 11, 1, 2, 12, 5, 10, 14, 7 },
{ 1, 10, 13, 0, 6, 9, 8, 7, 4, 15, 14, 3, 11, 5, 2, 12 } };
int s4[4][16] = { { 7, 13, 14, 3, 0, 6, 9, 10, 1, 2, 8, 5, 1, 12, 4, 15 },
{ 13, 8, 11, 5, 6, 15, 0, 3, 4, 7, 2, 12, 1, 10, 14, 9 },
{ 10, 6, 9, 0, 12, 11, 7, 13, 15, 1, 3, 14, 5, 2, 8, 4 },
{ 3, 15, 0, 6, 10, 1, 13, 8, 9, 4, 5, 11, 12, 7, 2, 14 } };
int s5[4][16] = { { 2, 12, 4, 1, 7, 10, 11, 6, 8, 5, 3, 15, 13, 0, 14, 9 },
{ 14, 11, 2, 12, 4, 7, 13, 1, 5, 0, 15, 10, 3, 9, 8, 6 },
{ 4, 2, 1, 11, 10, 13, 7, 8, 15, 9, 12, 5, 6, 3, 0, 14 },
{ 11, 8, 12, 7, 1, 14, 2, 13, 6, 15, 0, 9, 10, 4, 5, 3 } };
int s6[4][16] = { { 12, 1, 10, 15, 9, 2, 6, 8, 0, 13, 3, 4, 14, 7, 5, 11 },
{ 10, 15, 4, 2, 7, 12, 9, 5, 6, 1, 13, 14, 0, 11, 3, 8 },
{ 9, 14, 15, 5, 2, 8, 12, 3, 7, 0, 4, 10, 1, 13, 11, 6 },
{ 4, 3, 2, 12, 9, 5, 15, 10, 11, 14, 1, 7, 10, 0, 8, 13 } };
int s7[4][16] = { { 4, 11, 2, 14, 15, 0, 8, 13, 3, 12, 9, 7, 5, 10, 6, 1 },
{ 13, 0, 11, 7, 4, 9, 1, 10, 14, 3, 5, 12, 2, 15, 8, 6 },
{ 1, 4, 11, 13, 12, 3, 7, 14, 10, 15, 6, 8, 0, 5, 9, 2 },
{ 6, 11, 13, 8, 1, 4, 10, 7, 9, 5, 0, 15, 14, 2, 3, 12 } };
int s8[4][16] = { { 13, 2, 8, 4, 6, 15, 11, 1, 10, 9, 3, 14, 5, 0, 12, 7 },
{ 1, 15, 13, 8, 10, 3, 7, 4, 12, 5, 6, 11, 10, 14, 9, 2 },
{ 7, 11, 4, 1, 9, 12, 14, 2, 0, 6, 10, 10, 15, 3, 5, 8 },
{ 2, 1, 14, 7, 4, 10, 5, 13, 15, 19, 9, 9, 3, 5, 6, 11 } };
//make 8 subblocks
vector < vector <bool> > subBlocks;
int pos = 0;
int counter = 6;
vector <bool> temp;
for (int i = 0; i < 8; ++i)
{
while (counter > 0)
{
temp.push_back(in[pos]);
pos++;
counter--;
}
counter = 6;
subBlocks.push_back(temp);
temp.clear();
}
//make 4 byte from each 8 byte subblock
subBlocks[0] = getBytesFromSblock(subBlocks[0], s1);
subBlocks[1] = getBytesFromSblock(subBlocks[1], s2);
subBlocks[2] = getBytesFromSblock(subBlocks[2], s3);
subBlocks[3] = getBytesFromSblock(subBlocks[3], s4);
subBlocks[4] = getBytesFromSblock(subBlocks[4], s5);
subBlocks[5] = getBytesFromSblock(subBlocks[5], s6);
subBlocks[6] = getBytesFromSblock(subBlocks[6], s7);
subBlocks[7] = getBytesFromSblock(subBlocks[7], s8);
vector <bool> result;
for (int i = 0; i < subBlocks.size(); ++i)
{
for (int j = 0; j < subBlocks[i].size(); ++j)
result.push_back(subBlocks[i][j]);
}
return result;
}
vector <bool> shuffleInPblock(vector <bool> block)
{
int m[32] = { 16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10,
2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6, 22, 11, 4, 25 };
vector <bool> result(32);
for (int i = 0; i < 32; ++i)
{
result[i] = block[m[i] - 1];
}
return result;
}
vector <bool> makeMsgFinalShuffle(vector <bool> block)
{
int m[64] = { 40, 8, 48, 16, 56, 24, 64, 32, 39, 7, 47, 15, 55, 23, 63, 31,
38, 6, 46, 14, 54, 22, 62, 30, 37, 5, 45, 13, 53, 21, 61, 29,
36, 4, 44, 12, 52, 20, 60, 28, 35, 3, 43, 11, 51, 19, 59, 27,
34, 2, 42, 10, 50, 18, 58, 26, 33, 1, 41, 9, 49, 17, 57, 25 };
vector <bool> result(64);
for (int i = 0; i < 64; ++i)
{
result[i] = block[m[i] - 1];
}
return result;
}
void printBlock(int number, vector <bool> left, vector <bool> rigth)
{
fout << "L" << number << endl;
for (int i = 0; i < left.size(); ++i)
{
if (left[i])
fout << 1;
else
fout << 0;
}
fout << endl;
fout << "R" << number << endl;
for (int i = 0; i < rigth.size(); ++i)
{
if (rigth[i])
fout << 1;
else
fout << 0;
}
}
void printMsg(vector <bool> msg)
{
fout << endl;
fout << "MSG" << endl;
for (int i = 0; i < msg.size(); ++i)
{
if (msg[i])
fout << 1;
else
fout << 0;
}
fout << endl;
}
vector <bool> desF(vector <bool> part, vector <bool> key)
{
part = msgShuffleWithExtension(part);
part = makeXor(part, key);
part = shuffleInSblock(part);
part = shuffleInPblock(part);
return part;
}
int main()
{
FILE *f = fopen("des.in", "r");
FILE *k = fopen("key.in", "r");
char c;
vector <vector <bool> > msg;
vector <bool> key;
vector <bool> block;
vector <bool> byteArray;
vector < vector <bool> > keys;
vector <messageBlock> copyOfMessage;
vector <messageBlock> message;
vector <vector <bool> > keys_archive;
bool flag = false;
//reading message
fout << "ORIGINAL MESSAGE" << endl;
while (fscanf(f, "%c", &c) > 0)
{
fout << c;
byteArray = charToByteArray(c);
for (int i = 0; i < byteArray.size(); ++i)
block.push_back(byteArray[i]);
if (block.size() == 64)
{
msg.push_back(block);
block.clear();
}
}
fout << endl << endl;
if (block.size() > 0)
{
while (block.size() % 64 != 0)
block.push_back(false);
msg.push_back(block);
}
//!!!!!!!MY MESSAGE BLOCK!!!!!!!
//msg[0] = { 0,0,0,0, 0,0,0,1, 0,0,1,0, 0,0,1,1, 0,1,0,0, 0,1,0,1, 0,1,1,0, 0,1,1,1, 1,0,0,0, 1,0,0,1, 1,0,1,0, 1,0,1,1, 1,1,0,0, 1,1,0,1, 1,1,1,0, 1,1,1,1 };
//printKey(msg[0], "MSG");
//reading key
while (fscanf(k, "%c", &c) > 0)
{
byteArray = charToByteArray(c);
for (int i = 0; i < byteArray.size(); ++i)
key.push_back(byteArray[i]);
}
while (key.size() < 64)
key.push_back(false);
//Step 1, shuffle message blocks and make left/rigth parts of each block
for (int i = 0; i < msg.size(); ++i)
{
msg[i] = firstShuffle(msg[i]);
}
messageBlock temp;
for (int i = 0; i < msg.size(); ++i)
{
for (int j = 0; j < 32; ++j)
{
temp.left.push_back(msg[i][j]);
}
for (int j = 32; j < 64; ++j)
{
temp.rigth.push_back(msg[i][j]);
}
message.push_back(temp);
temp.left.clear();
temp.rigth.clear();
}
//!!!!!!!MY KEY!!!!!!!!!!!
//key = { 0,0,0,1,0,0,1,1, 0,0,1,1,0,1,0,0, 0,1,0,1,0,1,1,1, 0,1,1,1,1,0,0,1, 1,0,0,1,1,0,1,1, 1,0,1,1,1,1,0,0, 1,1,0,1,1,1,1,1, 1,1,1,1,0,0,0,1 };
//Step 2, key transforming
key = keyTransforming(key);
//Step3, making 16 keys
vector <bool> cyclicShift;
cyclicShift = key;
for (int i = 0; i < 16; ++i)
{
cyclicShift = makeKeyCycleShiftLeft(key, i);
keys.push_back(cyclicShift);
key = cyclicShift;
}
//Step4, shuffle keys with compression
for (int i = 0; i < 16; ++i)
{
keys[i] = keyShuffleWithCompressing(keys[i]);
printKey(keys[i], "KEY");
}
//printBlock(0, message[0].left, message[0].rigth);
fout << endl << endl;
//ENCODING
for (int it = 0; it < 16; ++it)
{
for (int i = 0; i < message.size(); ++i)
{
vector <bool> r0 = message[i].rigth;
vector <bool> l1 = r0;
vector <bool> l0 = message[i].left;
vector <bool> r1 = makeXor(l0, desF(r0, keys[it]));
//
for (int i = 0; i < l0.size(); i++)
fout << (int)l0[i];
fout << endl;
for (int i = 0; i < r0.size(); i++)
fout << (int)r0[i];
fout << endl;
for (int i = 0; i < l1.size(); i++)
fout << (int)l1[i];
fout << endl;
for (int i = 0; i < r1.size(); i++)
fout << (int)r1[i];
fout << endl << endl;
//
message[i].rigth = r1;
message[i].left = l1;
}
//printBlock(it + 1, message[0].left, message[0].rigth);
//printKey(keys[it], "KEY");
}
for (int i = 0; i < message.size(); ++i)
swap(message[i].left, message[i].rigth);
//finalShuffle
for (int i = 0; i < message.size(); ++i)
{
msg[i].clear();
for (int j = 0; j < message[i].left.size(); ++j)
{
msg[i].push_back(message[i].left[j]);
}
for (int j = 0; j < message[i].rigth.size(); ++j)
{
msg[i].push_back(message[i].rigth[j]);
}
msg[i] = makeMsgFinalShuffle(msg[i]);
}
fout << "shit" << endl;
printMsg(msg[0]);
//Print result
fout << "ENCRIPTION" << endl;
for (int i = 0; i < msg.size(); ++i)
{
string s = byteArrayToChar(msg[i]);
fout << s;
}
fout << endl;
//DECODING
reverse(keys.begin(), keys.end());
for (int i = 0; i < msg.size(); ++i)
{
msg[i] = firstShuffle(msg[i]);
}
temp.left.clear();
temp.rigth.clear();
message.clear();
for (int i = 0; i < msg.size(); ++i)
{
for (int j = 0; j < 32; ++j)
{
temp.left.push_back(msg[i][j]);
}
for (int j = 32; j < 64; ++j)
{
temp.rigth.push_back(msg[i][j]);
}
message.push_back(temp);
temp.left.clear();
temp.rigth.clear();
}
//printBlock(16, message[0].left, message[0].rigth);
fout << endl << endl;
for (int it = 0; it < 16; ++it)
{
for (int i = 0; i < message.size(); ++i)
{
vector <bool> r0 = message[i].rigth;
vector <bool> l1 = r0;
vector <bool> l0 = message[i].left;
vector <bool> r1 = makeXor(l0, desF(r0, keys[it]));
message[i].rigth = r1;
message[i].left = l1;
}
//printBlock(16 - it - 1, message[0].left, message[0].rigth);
//printKey(keys[it], "KEY");
}
for (int i = 0; i < message.size(); ++i)
swap(message[i].left, message[i].rigth);
//finalShuffle
for (int i = 0; i < message.size(); ++i)
{
msg[i].clear();
for (int j = 0; j < message[i].left.size(); ++j)
{
msg[i].push_back(message[i].left[j]);
}
for (int j = 0; j < message[i].rigth.size(); ++j)
{
msg[i].push_back(message[i].rigth[j]);
}
msg[i] = makeMsgFinalShuffle(msg[i]);
}
printKey(msg[0], "MSG");
//Print result
fout << "DECRIPTION" << endl;
for (int i = 0; i < msg.size(); ++i)
{
string s = byteArrayToChar(msg[i]);
fout << s;
}
fout << endl;
}
| [
"grigory.96@gmail.com"
] | grigory.96@gmail.com |
78fe7854fa6d825375ee49a02ae040e417c1f6de | d71d6eefa6337e480111a5af12180f34df6f9270 | /MTT/Middle/ui_widget.h | cd6145e709dc686788e81196e19a70456a572422 | [] | no_license | renconan/qt | fc2b3f4a07630e34ed9acdfaf94e6db99791fcc9 | c19154874ba9f48ee99e91c7999e9c8856cb3a80 | refs/heads/master | 2021-01-22T07:58:45.174666 | 2017-09-06T01:22:01 | 2017-09-06T02:51:52 | 102,321,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,156 | h | /********************************************************************************
** Form generated from reading UI file 'widget.ui'
**
** Created by: Qt User Interface Compiler version 4.8.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_WIDGET_H
#define UI_WIDGET_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QTabWidget>
#include <QtGui/QTextBrowser>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
QT_BEGIN_NAMESPACE
class Ui_Widget
{
public:
QLabel *label;
QGroupBox *groupBox;
QWidget *verticalLayoutWidget;
QVBoxLayout *verticalLayout;
QRadioButton *radioButton;
QRadioButton *radioButton_2;
QRadioButton *radioButton_3;
QRadioButton *radioButton_4;
QRadioButton *radioButton_5;
QGroupBox *groupBox_3;
QWidget *verticalLayoutWidget_4;
QVBoxLayout *verticalLayout_4;
QRadioButton *radioButton_6;
QRadioButton *radioButton_7;
QGroupBox *groupBox_4;
QWidget *verticalLayoutWidget_5;
QVBoxLayout *verticalLayout_5;
QLabel *label_8;
QLabel *label_9;
QGroupBox *groupBox_5;
QTextBrowser *textBrowser;
QLabel *label_4;
QTabWidget *tabWidget;
QWidget *tab;
QCheckBox *checkBox;
QLineEdit *lineEdit_3;
QLineEdit *lineEdit_6;
QLineEdit *lineEdit_7;
QLineEdit *lineEdit_8;
QLineEdit *lineEdit_9;
QWidget *verticalLayoutWidget_3;
QVBoxLayout *verticalLayout_3;
QLabel *label_3;
QLabel *label_10;
QLabel *label_11;
QLabel *label_12;
QLabel *label_13;
QWidget *verticalLayoutWidget_6;
QVBoxLayout *verticalLayout_6;
QLabel *label_14;
QLabel *label_15;
QLabel *label_16;
QLabel *label_17;
QLabel *label_18;
QLineEdit *lineEdit_10;
QLineEdit *lineEdit_11;
QLineEdit *lineEdit_12;
QLineEdit *lineEdit_13;
QLineEdit *lineEdit_14;
QWidget *tab_2;
QLineEdit *lineEdit_4;
QWidget *verticalLayoutWidget_2;
QVBoxLayout *verticalLayout_2;
QLabel *label_5;
QLabel *label_6;
QLineEdit *lineEdit_5;
QLabel *label_2;
QLabel *label_7;
QLabel *label_19;
QLabel *label_20;
QLabel *label_21;
QLabel *label_22;
QLabel *label_23;
QLabel *label_24;
QPushButton *pushButton_4;
QPushButton *pushButton;
QPushButton *pushButton_2;
QPushButton *pushButton_3;
void setupUi(QWidget *Widget)
{
if (Widget->objectName().isEmpty())
Widget->setObjectName(QString::fromUtf8("Widget"));
Widget->resize(800, 480);
label = new QLabel(Widget);
label->setObjectName(QString::fromUtf8("label"));
label->setGeometry(QRect(10, 10, 461, 31));
groupBox = new QGroupBox(Widget);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
groupBox->setGeometry(QRect(440, 50, 211, 211));
verticalLayoutWidget = new QWidget(groupBox);
verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
verticalLayoutWidget->setGeometry(QRect(10, 20, 171, 181));
verticalLayout = new QVBoxLayout(verticalLayoutWidget);
verticalLayout->setSpacing(6);
verticalLayout->setContentsMargins(11, 11, 11, 11);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(0, 0, 0, 0);
radioButton = new QRadioButton(verticalLayoutWidget);
radioButton->setObjectName(QString::fromUtf8("radioButton"));
verticalLayout->addWidget(radioButton);
radioButton_2 = new QRadioButton(verticalLayoutWidget);
radioButton_2->setObjectName(QString::fromUtf8("radioButton_2"));
verticalLayout->addWidget(radioButton_2);
radioButton_3 = new QRadioButton(verticalLayoutWidget);
radioButton_3->setObjectName(QString::fromUtf8("radioButton_3"));
verticalLayout->addWidget(radioButton_3);
radioButton_4 = new QRadioButton(verticalLayoutWidget);
radioButton_4->setObjectName(QString::fromUtf8("radioButton_4"));
verticalLayout->addWidget(radioButton_4);
radioButton_5 = new QRadioButton(verticalLayoutWidget);
radioButton_5->setObjectName(QString::fromUtf8("radioButton_5"));
verticalLayout->addWidget(radioButton_5);
groupBox_3 = new QGroupBox(Widget);
groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
groupBox_3->setGeometry(QRect(660, 50, 111, 211));
verticalLayoutWidget_4 = new QWidget(groupBox_3);
verticalLayoutWidget_4->setObjectName(QString::fromUtf8("verticalLayoutWidget_4"));
verticalLayoutWidget_4->setGeometry(QRect(20, 30, 71, 151));
verticalLayout_4 = new QVBoxLayout(verticalLayoutWidget_4);
verticalLayout_4->setSpacing(6);
verticalLayout_4->setContentsMargins(11, 11, 11, 11);
verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
verticalLayout_4->setContentsMargins(0, 0, 0, 0);
radioButton_6 = new QRadioButton(verticalLayoutWidget_4);
radioButton_6->setObjectName(QString::fromUtf8("radioButton_6"));
verticalLayout_4->addWidget(radioButton_6);
radioButton_7 = new QRadioButton(verticalLayoutWidget_4);
radioButton_7->setObjectName(QString::fromUtf8("radioButton_7"));
verticalLayout_4->addWidget(radioButton_7);
groupBox_4 = new QGroupBox(Widget);
groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
groupBox_4->setGeometry(QRect(10, 300, 421, 121));
verticalLayoutWidget_5 = new QWidget(groupBox_4);
verticalLayoutWidget_5->setObjectName(QString::fromUtf8("verticalLayoutWidget_5"));
verticalLayoutWidget_5->setGeometry(QRect(10, 20, 301, 91));
verticalLayout_5 = new QVBoxLayout(verticalLayoutWidget_5);
verticalLayout_5->setSpacing(6);
verticalLayout_5->setContentsMargins(11, 11, 11, 11);
verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
verticalLayout_5->setContentsMargins(0, 0, 0, 0);
label_8 = new QLabel(verticalLayoutWidget_5);
label_8->setObjectName(QString::fromUtf8("label_8"));
verticalLayout_5->addWidget(label_8);
label_9 = new QLabel(verticalLayoutWidget_5);
label_9->setObjectName(QString::fromUtf8("label_9"));
verticalLayout_5->addWidget(label_9);
groupBox_5 = new QGroupBox(Widget);
groupBox_5->setObjectName(QString::fromUtf8("groupBox_5"));
groupBox_5->setGeometry(QRect(440, 270, 331, 151));
textBrowser = new QTextBrowser(groupBox_5);
textBrowser->setObjectName(QString::fromUtf8("textBrowser"));
textBrowser->setGeometry(QRect(10, 20, 311, 121));
label_4 = new QLabel(Widget);
label_4->setObjectName(QString::fromUtf8("label_4"));
label_4->setGeometry(QRect(10, 430, 271, 41));
tabWidget = new QTabWidget(Widget);
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
tabWidget->setGeometry(QRect(10, 40, 421, 251));
tab = new QWidget();
tab->setObjectName(QString::fromUtf8("tab"));
checkBox = new QCheckBox(tab);
checkBox->setObjectName(QString::fromUtf8("checkBox"));
checkBox->setGeometry(QRect(20, 180, 111, 31));
lineEdit_3 = new QLineEdit(tab);
lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
lineEdit_3->setGeometry(QRect(115, 20, 91, 31));
lineEdit_6 = new QLineEdit(tab);
lineEdit_6->setObjectName(QString::fromUtf8("lineEdit_6"));
lineEdit_6->setGeometry(QRect(115, 50, 91, 31));
lineEdit_7 = new QLineEdit(tab);
lineEdit_7->setObjectName(QString::fromUtf8("lineEdit_7"));
lineEdit_7->setGeometry(QRect(115, 80, 91, 31));
lineEdit_8 = new QLineEdit(tab);
lineEdit_8->setObjectName(QString::fromUtf8("lineEdit_8"));
lineEdit_8->setGeometry(QRect(115, 110, 91, 31));
lineEdit_9 = new QLineEdit(tab);
lineEdit_9->setObjectName(QString::fromUtf8("lineEdit_9"));
lineEdit_9->setGeometry(QRect(115, 140, 91, 31));
verticalLayoutWidget_3 = new QWidget(tab);
verticalLayoutWidget_3->setObjectName(QString::fromUtf8("verticalLayoutWidget_3"));
verticalLayoutWidget_3->setGeometry(QRect(0, 20, 116, 151));
verticalLayout_3 = new QVBoxLayout(verticalLayoutWidget_3);
verticalLayout_3->setSpacing(6);
verticalLayout_3->setContentsMargins(11, 11, 11, 11);
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
verticalLayout_3->setContentsMargins(0, 0, 0, 0);
label_3 = new QLabel(verticalLayoutWidget_3);
label_3->setObjectName(QString::fromUtf8("label_3"));
verticalLayout_3->addWidget(label_3);
label_10 = new QLabel(verticalLayoutWidget_3);
label_10->setObjectName(QString::fromUtf8("label_10"));
verticalLayout_3->addWidget(label_10);
label_11 = new QLabel(verticalLayoutWidget_3);
label_11->setObjectName(QString::fromUtf8("label_11"));
verticalLayout_3->addWidget(label_11);
label_12 = new QLabel(verticalLayoutWidget_3);
label_12->setObjectName(QString::fromUtf8("label_12"));
verticalLayout_3->addWidget(label_12);
label_13 = new QLabel(verticalLayoutWidget_3);
label_13->setObjectName(QString::fromUtf8("label_13"));
verticalLayout_3->addWidget(label_13);
verticalLayoutWidget_6 = new QWidget(tab);
verticalLayoutWidget_6->setObjectName(QString::fromUtf8("verticalLayoutWidget_6"));
verticalLayoutWidget_6->setGeometry(QRect(210, 20, 111, 151));
verticalLayout_6 = new QVBoxLayout(verticalLayoutWidget_6);
verticalLayout_6->setSpacing(6);
verticalLayout_6->setContentsMargins(11, 11, 11, 11);
verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
verticalLayout_6->setContentsMargins(0, 0, 0, 0);
label_14 = new QLabel(verticalLayoutWidget_6);
label_14->setObjectName(QString::fromUtf8("label_14"));
verticalLayout_6->addWidget(label_14);
label_15 = new QLabel(verticalLayoutWidget_6);
label_15->setObjectName(QString::fromUtf8("label_15"));
verticalLayout_6->addWidget(label_15);
label_16 = new QLabel(verticalLayoutWidget_6);
label_16->setObjectName(QString::fromUtf8("label_16"));
verticalLayout_6->addWidget(label_16);
label_17 = new QLabel(verticalLayoutWidget_6);
label_17->setObjectName(QString::fromUtf8("label_17"));
verticalLayout_6->addWidget(label_17);
label_18 = new QLabel(verticalLayoutWidget_6);
label_18->setObjectName(QString::fromUtf8("label_18"));
verticalLayout_6->addWidget(label_18);
lineEdit_10 = new QLineEdit(tab);
lineEdit_10->setObjectName(QString::fromUtf8("lineEdit_10"));
lineEdit_10->setGeometry(QRect(320, 20, 91, 31));
lineEdit_11 = new QLineEdit(tab);
lineEdit_11->setObjectName(QString::fromUtf8("lineEdit_11"));
lineEdit_11->setGeometry(QRect(320, 50, 91, 31));
lineEdit_12 = new QLineEdit(tab);
lineEdit_12->setObjectName(QString::fromUtf8("lineEdit_12"));
lineEdit_12->setGeometry(QRect(320, 80, 91, 31));
lineEdit_13 = new QLineEdit(tab);
lineEdit_13->setObjectName(QString::fromUtf8("lineEdit_13"));
lineEdit_13->setGeometry(QRect(320, 110, 91, 31));
lineEdit_14 = new QLineEdit(tab);
lineEdit_14->setObjectName(QString::fromUtf8("lineEdit_14"));
lineEdit_14->setGeometry(QRect(320, 140, 91, 31));
tabWidget->addTab(tab, QString());
tab_2 = new QWidget();
tab_2->setObjectName(QString::fromUtf8("tab_2"));
lineEdit_4 = new QLineEdit(tab_2);
lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
lineEdit_4->setGeometry(QRect(190, 40, 113, 31));
verticalLayoutWidget_2 = new QWidget(tab_2);
verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
verticalLayoutWidget_2->setGeometry(QRect(10, 40, 176, 61));
verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
verticalLayout_2->setSpacing(6);
verticalLayout_2->setContentsMargins(11, 11, 11, 11);
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
verticalLayout_2->setContentsMargins(0, 0, 0, 0);
label_5 = new QLabel(verticalLayoutWidget_2);
label_5->setObjectName(QString::fromUtf8("label_5"));
verticalLayout_2->addWidget(label_5);
label_6 = new QLabel(verticalLayoutWidget_2);
label_6->setObjectName(QString::fromUtf8("label_6"));
verticalLayout_2->addWidget(label_6);
lineEdit_5 = new QLineEdit(tab_2);
lineEdit_5->setObjectName(QString::fromUtf8("lineEdit_5"));
lineEdit_5->setGeometry(QRect(190, 70, 113, 31));
tabWidget->addTab(tab_2, QString());
label_2 = new QLabel(Widget);
label_2->setObjectName(QString::fromUtf8("label_2"));
label_2->setGeometry(QRect(260, 455, 16, 16));
label_7 = new QLabel(Widget);
label_7->setObjectName(QString::fromUtf8("label_7"));
label_7->setGeometry(QRect(300, 455, 16, 16));
label_19 = new QLabel(Widget);
label_19->setObjectName(QString::fromUtf8("label_19"));
label_19->setGeometry(QRect(340, 455, 16, 16));
label_20 = new QLabel(Widget);
label_20->setObjectName(QString::fromUtf8("label_20"));
label_20->setGeometry(QRect(380, 455, 16, 16));
label_21 = new QLabel(Widget);
label_21->setObjectName(QString::fromUtf8("label_21"));
label_21->setGeometry(QRect(265, 435, 16, 15));
label_22 = new QLabel(Widget);
label_22->setObjectName(QString::fromUtf8("label_22"));
label_22->setGeometry(QRect(305, 435, 16, 15));
label_23 = new QLabel(Widget);
label_23->setObjectName(QString::fromUtf8("label_23"));
label_23->setGeometry(QRect(345, 435, 16, 15));
label_24 = new QLabel(Widget);
label_24->setObjectName(QString::fromUtf8("label_24"));
label_24->setGeometry(QRect(385, 435, 16, 15));
pushButton_4 = new QPushButton(Widget);
pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
pushButton_4->setGeometry(QRect(430, 435, 81, 35));
QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(pushButton_4->sizePolicy().hasHeightForWidth());
pushButton_4->setSizePolicy(sizePolicy);
pushButton_4->setMinimumSize(QSize(81, 35));
pushButton = new QPushButton(Widget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(520, 435, 81, 35));
sizePolicy.setHeightForWidth(pushButton->sizePolicy().hasHeightForWidth());
pushButton->setSizePolicy(sizePolicy);
pushButton->setMinimumSize(QSize(81, 35));
pushButton_2 = new QPushButton(Widget);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setGeometry(QRect(610, 435, 81, 35));
sizePolicy.setHeightForWidth(pushButton_2->sizePolicy().hasHeightForWidth());
pushButton_2->setSizePolicy(sizePolicy);
pushButton_2->setMinimumSize(QSize(81, 35));
pushButton_3 = new QPushButton(Widget);
pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
pushButton_3->setGeometry(QRect(700, 435, 81, 35));
sizePolicy.setHeightForWidth(pushButton_3->sizePolicy().hasHeightForWidth());
pushButton_3->setSizePolicy(sizePolicy);
pushButton_3->setMinimumSize(QSize(81, 35));
retranslateUi(Widget);
tabWidget->setCurrentIndex(1);
QMetaObject::connectSlotsByName(Widget);
} // setupUi
void retranslateUi(QWidget *Widget)
{
Widget->setWindowTitle(QApplication::translate("Widget", "Widget", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("Widget", "Intermediate Relay", 0, QApplication::UnicodeUTF8));
groupBox->setTitle(QApplication::translate("Widget", "Relay type", 0, QApplication::UnicodeUTF8));
radioButton->setText(QApplication::translate("Widget", "V Start,V Return", 0, QApplication::UnicodeUTF8));
radioButton_2->setText(QApplication::translate("Widget", "I Start,I Return", 0, QApplication::UnicodeUTF8));
radioButton_3->setText(QApplication::translate("Widget", "I Start,I Keep", 0, QApplication::UnicodeUTF8));
radioButton_4->setText(QApplication::translate("Widget", "V Start,I Keep", 0, QApplication::UnicodeUTF8));
radioButton_5->setText(QApplication::translate("Widget", "I Start,V Keep", 0, QApplication::UnicodeUTF8));
groupBox_3->setTitle(QApplication::translate("Widget", "Output type", 0, QApplication::UnicodeUTF8));
radioButton_6->setText(QApplication::translate("Widget", "DC", 0, QApplication::UnicodeUTF8));
radioButton_7->setText(QApplication::translate("Widget", "AC", 0, QApplication::UnicodeUTF8));
groupBox_4->setTitle(QString());
label_8->setText(QString());
label_9->setText(QString());
groupBox_5->setTitle(QApplication::translate("Widget", "Test Result", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("Widget", "run normally", 0, QApplication::UnicodeUTF8));
checkBox->setText(QApplication::translate("Widget", "drop off", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("Widget", "Keep Vol\357\274\210V):", 0, QApplication::UnicodeUTF8));
label_10->setText(QApplication::translate("Widget", "Start Vol(V):", 0, QApplication::UnicodeUTF8));
label_11->setText(QApplication::translate("Widget", "End Vol(V):", 0, QApplication::UnicodeUTF8));
label_12->setText(QApplication::translate("Widget", "Vol Step(V):", 0, QApplication::UnicodeUTF8));
label_13->setText(QApplication::translate("Widget", "Step time(s):", 0, QApplication::UnicodeUTF8));
label_14->setText(QApplication::translate("Widget", "Keep Cur(A):", 0, QApplication::UnicodeUTF8));
label_15->setText(QApplication::translate("Widget", "Start Cur(A):", 0, QApplication::UnicodeUTF8));
label_16->setText(QApplication::translate("Widget", "End Cur(A):", 0, QApplication::UnicodeUTF8));
label_17->setText(QApplication::translate("Widget", "Cur Step(A):", 0, QApplication::UnicodeUTF8));
label_18->setText(QApplication::translate("Widget", "Hold time(s):", 0, QApplication::UnicodeUTF8));
tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("Widget", "Trip value", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("Widget", "Test Voltage\357\274\210V)\357\274\232", 0, QApplication::UnicodeUTF8));
label_6->setText(QApplication::translate("Widget", "Maximum Time(s)\357\274\232", 0, QApplication::UnicodeUTF8));
tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("Widget", "Trip time", 0, QApplication::UnicodeUTF8));
label_2->setText(QApplication::translate("Widget", "TextLabel", 0, QApplication::UnicodeUTF8));
label_7->setText(QApplication::translate("Widget", "TextLabel", 0, QApplication::UnicodeUTF8));
label_19->setText(QApplication::translate("Widget", "TextLabel", 0, QApplication::UnicodeUTF8));
label_20->setText(QApplication::translate("Widget", "TextLabel", 0, QApplication::UnicodeUTF8));
label_21->setText(QApplication::translate("Widget", "1", 0, QApplication::UnicodeUTF8));
label_22->setText(QApplication::translate("Widget", "2", 0, QApplication::UnicodeUTF8));
label_23->setText(QApplication::translate("Widget", "3", 0, QApplication::UnicodeUTF8));
label_24->setText(QApplication::translate("Widget", "4", 0, QApplication::UnicodeUTF8));
pushButton_4->setText(QApplication::translate("Widget", "Test", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("Widget", "Help", 0, QApplication::UnicodeUTF8));
pushButton_2->setText(QApplication::translate("Widget", "Save", 0, QApplication::UnicodeUTF8));
pushButton_3->setText(QApplication::translate("Widget", "Exit", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class Widget: public Ui_Widget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_WIDGET_H
| [
"275159401@qq.com"
] | 275159401@qq.com |
e4a3dbeccbc54ef64bc439b5175a4298f0ce9281 | 109830694e7bf7fd9738ac0fec8a69e274965828 | /ImageVision/MotionCtrl.cpp | 9a006bb0a1a6d4d01503887ae8fc82889be96390 | [] | no_license | trigrass2/SawBar_Check | 3f67646fd9c88b2c6830146b8adef21491168660 | c37dbc051bd39be9703cd2d602d523ef77bd4423 | refs/heads/master | 2020-06-07T15:24:26.619446 | 2017-01-30T09:59:52 | 2017-01-30T09:59:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,738 | cpp | // MotionCtrl.cpp : 实现文件
//
#include "stdafx.h"
#include "ImageVision.h"
#include "MotionCtrl.h"
#include "afxdialogex.h"
// CMotionCtrl 对话框
IMPLEMENT_DYNAMIC(CMotionCtrl, CDialogEx)
CMotionCtrl::CMotionCtrl(CWnd* pParent /*=NULL*/)
: CDialogEx(CMotionCtrl::IDD, pParent)
{
isHomeThread = false;
isHomeThread1 = false;
}
CMotionCtrl::~CMotionCtrl()
{
}
void CMotionCtrl::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CMotionCtrl, CDialogEx)
ON_BN_CLICKED(IDC_BUTTON_COMFIRM, &CMotionCtrl::OnBnClickedButtonComfirm)
ON_WM_TIMER()
ON_WM_CLOSE()
ON_BN_CLICKED(IDC_BUTTON_SAVEPOS, &CMotionCtrl::OnBnClickedButtonSavepos)
ON_BN_CLICKED(IDC_BUTTON_SETZERO, &CMotionCtrl::OnBnClickedButtonSetzero)
ON_BN_CLICKED(IDC_BUTTON_SAVEPOS2, &CMotionCtrl::OnBnClickedButtonSavepos2)
ON_BN_CLICKED(IDC_BUTTON_SETZERO2, &CMotionCtrl::OnBnClickedButtonSetzero2)
ON_BN_CLICKED(IDC_BUTTON_COMFIRM2, &CMotionCtrl::OnBnClickedButtonComfirm2)
ON_BN_CLICKED(IDC_BUTTON_HOMERUN, &CMotionCtrl::OnBnClickedButtonHomerun)
ON_BN_CLICKED(IDC_BUTTON_HOMERUN2, &CMotionCtrl::OnBnClickedButtonHomerun2)
ON_BN_CLICKED(IDC_BUTTON_CYL, &CMotionCtrl::OnBnClickedButtonCyl)
ON_BN_CLICKED(IDC_BUTTON_PRES, &CMotionCtrl::OnBnClickedButtonPres)
ON_BN_CLICKED(IDC_BUTTON_CANCALERROR, &CMotionCtrl::OnBnClickedButtonCancalerror)
END_MESSAGE_MAP()
// CMotionCtrl 消息处理程序
void CMotionCtrl::OnBnClickedButtonComfirm()
{
// TODO: 在此添加控件通知处理程序代码
CString str;
GetDlgItem(IDC_EDIT_INITSPD)->GetWindowText(str);
g.ini.m_FstMtr.InitSpeed = _ttoi(str);
GetDlgItem(IDC_EDIT_MAXSPD)->GetWindowText(str);
g.ini.m_FstMtr.MaxSpeed= _ttoi(str);
GetDlgItem(IDC_EDIT_WAVES)->GetWindowText(str);
g.ini.m_FstMtr.Waves = _ttoi(str);
GetDlgItem(IDC_EDIT_TACC)->GetWindowText(str);
g.ini.m_FstMtr.Tacc= _ttof(str);
GetDlgItem(IDC_EDIT_ORIGIN_CMPS)->GetWindowText(str);
g.ini.m_FstMtr.compansate = _ttoi(str);
g.ini.SaveParaFile(PARA_IO);
}
BOOL CMotionCtrl::PreTranslateMessage(MSG* pMsg)
{
// TODO: 在此添加专用代码和/或调用基类
if (pMsg->message == WM_LBUTTONDOWN)
{
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_FORWARD)->m_hWnd)
{
int SysState = SYSRUNNING | FST_MOTOR_NOT_ALREADY | SYSEMGENCY;//影响回原点得因素
SysState = SysState&g.Controller.SysState;
if (SysState)
AfxMessageBox(g.ErrorString(SysState));
else
g.mc.MoveForward(FIRST_MOTOR,2*g.ini.m_FstMtr.MaxSpeed);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_BACKWORD)->m_hWnd) //后退
{
int SysState = SYSRUNNING | FST_MOTOR_NOT_ALREADY | SYSEMGENCY;//影响回原点得因素
SysState = SysState&g.Controller.SysState;
if (SysState)
AfxMessageBox(g.ErrorString(SysState));
else
g.mc.MoveBackward(FIRST_MOTOR, -1*2 * g.ini.m_FstMtr.MaxSpeed);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_FORWARD2)->m_hWnd)
{
int SysState = SYSRUNNING | SND_MOTOR_NOT_ALREADY | SYSEMGENCY;//影响回原点得因素
SysState = SysState&g.Controller.SysState;
if (SysState)
AfxMessageBox(g.ErrorString(SysState));
else
g.mc.MoveForward(SECOND_MOTOR, 2 * g.ini.m_SndMtr.MaxSpeed);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_BACKWORD2)->m_hWnd) //后退
{
int SysState = SYSRUNNING | SND_MOTOR_NOT_ALREADY |SYSEMGENCY;//影响回原点得因素
SysState = SysState&g.Controller.SysState;
if (SysState)
AfxMessageBox(g.ErrorString(SysState));
else
g.mc.MoveBackward(SECOND_MOTOR,-1* 2 * g.ini.m_SndMtr.MaxSpeed);
}
}
if (pMsg->message == WM_LBUTTONUP)
{
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_FORWARD)->m_hWnd)
{
g.mc.Stop(FIRST_MOTOR);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_BACKWORD)->m_hWnd)
{
g.mc.Stop(FIRST_MOTOR);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_FORWARD2)->m_hWnd)
{
g.mc.Stop(SECOND_MOTOR);
}
if (pMsg->hwnd == GetDlgItem(IDC_BUTTON_BACKWORD2)->m_hWnd)
{
g.mc.Stop(SECOND_MOTOR);
}
}
return CDialogEx::PreTranslateMessage(pMsg);
}
void CMotionCtrl::OnTimer(UINT_PTR nIDEvent)
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
if (1 == nIDEvent)
{
CString str;
str.Format(_T("%d"), g.mc.Get_Position(FIRST_MOTOR));
GetDlgItem(IDC_EDIT_POS)->SetWindowText(str);
str.Format(_T("%d"), g.mc.Get_Position(SECOND_MOTOR));
GetDlgItem(IDC_EDIT_POS2)->SetWindowText(str);
}
CDialogEx::OnTimer(nIDEvent);
}
BOOL CMotionCtrl::OnInitDialog()
{
CDialogEx::OnInitDialog();
// TODO: 在此添加额外的初始化
SetTimer(1, 33, NULL);
CString str;
str.Format(_T("%d"), g.ini.m_FstMtr.InitSpeed);
GetDlgItem(IDC_EDIT_INITSPD)->SetWindowText(str);
str.Format(_T("%d"), g.ini.m_FstMtr.MaxSpeed);
GetDlgItem(IDC_EDIT_MAXSPD)->SetWindowText(str);
str.Format(_T("%d"), g.ini.m_FstMtr.Waves);
GetDlgItem(IDC_EDIT_WAVES)->SetWindowText(str);
str.Format(_T("%f"), g.ini.m_FstMtr.Tacc);
GetDlgItem(IDC_EDIT_TACC)->SetWindowText(str);
str.Format(_T("%i"), g.ini.m_FstMtr.compansate);
GetDlgItem(IDC_EDIT_ORIGIN_CMPS)->SetWindowText(str);
str.Format(_T("%d"), g.ini.m_SndMtr.InitSpeed);
GetDlgItem(IDC_EDIT_INITSPD2)->SetWindowText(str);
str.Format(_T("%d"), g.ini.m_SndMtr.MaxSpeed);
GetDlgItem(IDC_EDIT_MAXSPD2)->SetWindowText(str);
str.Format(_T("%d"), g.ini.m_SndMtr.Waves);
GetDlgItem(IDC_EDIT_WAVES2)->SetWindowText(str);
str.Format(_T("%f"), g.ini.m_SndMtr.Tacc);
GetDlgItem(IDC_EDIT_TACC2)->SetWindowText(str);
str.Format(_T("%i"), g.ini.m_SndMtr.compansate);
GetDlgItem(IDC_EDIT_ORIGIN_CMPS2)->SetWindowText(str);
if (g.mc.Read_Output(OUT_CYL))
{
GetDlgItem(IDC_BUTTON_CYL)->SetWindowText(L"气缸上升");
}
else
{
GetDlgItem(IDC_BUTTON_CYL)->SetWindowText(L"气缸下降");
}
// TODO: 在此添加控件通知处理程序代码
if (g.mc.Read_Output(OUT_PRESSURE))
{
GetDlgItem(IDC_BUTTON_PRES)->SetWindowText(L"不吸气");
}
else
{
GetDlgItem(IDC_BUTTON_PRES)->SetWindowText(L"吸气");
}
return TRUE; // return TRUE unless you set the focus to a control
// 异常: OCX 属性页应返回 FALSE
}
void CMotionCtrl::OnClose()
{
// TODO: 在此添加消息处理程序代码和/或调用默认值
KillTimer(1);
CDialogEx::OnClose();
}
void CMotionCtrl::OnBnClickedButtonSavepos()
{
// TODO: 在此添加控件通知处理程序代码
CString str;
g.ini.m_FstMtr.Waves = g.mc.Get_Position(FIRST_MOTOR);
str.Format(_T("%d"), g.ini.m_FstMtr.Waves);
g.ini.SaveParaFile(PARA_IO);
GetDlgItem(IDC_EDIT_WAVES)->SetWindowText(str);
}
void CMotionCtrl::OnBnClickedButtonSetzero()
{
// TODO: 在此添加控件通知处理程序代码
g.mc.SetMotorZero(FIRST_MOTOR);
OnBnClickedButtonSavepos();
}
void CMotionCtrl::OnBnClickedButtonSavepos2()
{
// TODO: 在此添加控件通知处理程序代码
CString str;
g.ini.m_SndMtr.Waves = g.mc.Get_Position(SECOND_MOTOR);
str.Format(_T("%d"), g.ini.m_SndMtr.Waves);
g.ini.SaveParaFile(PARA_IO);
GetDlgItem(IDC_EDIT_WAVES2)->SetWindowText(str);
}
void CMotionCtrl::OnBnClickedButtonSetzero2()
{
// TODO: 在此添加控件通知处理程序代码
g.mc.SetMotorZero(SECOND_MOTOR);
OnBnClickedButtonSavepos2();
}
void CMotionCtrl::OnBnClickedButtonComfirm2()
{
// TODO: 在此添加控件通知处理程序代码
CString str;
GetDlgItem(IDC_EDIT_INITSPD2)->GetWindowText(str);
g.ini.m_SndMtr.InitSpeed = _ttoi(str);
GetDlgItem(IDC_EDIT_MAXSPD2)->GetWindowText(str);
g.ini.m_SndMtr.MaxSpeed = _ttoi(str);
GetDlgItem(IDC_EDIT_WAVES2)->GetWindowText(str);
g.ini.m_SndMtr.Waves = _ttoi(str);
GetDlgItem(IDC_EDIT_TACC2)->GetWindowText(str);
g.ini.m_SndMtr.Tacc = _ttof(str);
GetDlgItem(IDC_EDIT_ORIGIN_CMPS2)->GetWindowText(str);
g.ini.m_SndMtr.compansate = _ttoi(str);
g.ini.SaveParaFile(PARA_IO);
}
void CMotionCtrl::OnBnClickedButtonHomerun()
{
// TODO: 在此添加控件通知处理程序代码
if (SYSEMGENCY == (SYSEMGENCY&g.Controller.SysState)) return;
if (isHomeThread) return;
pHomeThread = AfxBeginThread(HomeThread, this, THREAD_PRIORITY_NORMAL, 0, 0, NULL);
return ;
}
UINT CMotionCtrl::HomeThread(LPVOID lp)
{
CMotionCtrl *p = (CMotionCtrl*)lp;
p->isHomeThread = true;
g.mc.BackToOrigin(FIRST_MOTOR, g.ini.m_FstMtr.InitSpeed, g.ini.m_FstMtr.MaxSpeed, g.ini.m_FstMtr.Tacc, g.ini.m_FstMtr.compansate);
p->isHomeThread = false;
return 0;
}
void CMotionCtrl::OnBnClickedButtonHomerun2()
{
// TODO: 在此添加控件通知处理程序代码
if (SYSEMGENCY == (SYSEMGENCY&g.Controller.SysState)) return;
if (isHomeThread1) return;
pHomeThread = AfxBeginThread(HomeThread1, this, THREAD_PRIORITY_NORMAL, 0, 0, NULL);
return;
}
UINT CMotionCtrl::HomeThread1(LPVOID lp)
{
CMotionCtrl *p = (CMotionCtrl*)lp;
p->isHomeThread1 = true;
g.mc.BackToOrigin(SECOND_MOTOR, g.ini.m_SndMtr.InitSpeed, g.ini.m_SndMtr.MaxSpeed, g.ini.m_SndMtr.Tacc, g.ini.m_SndMtr.compansate);
p->isHomeThread1 = false;
return 0;
}
void CMotionCtrl::OnBnClickedButtonCyl()
{
// TODO: 在此添加控件通知处理程序代码
if (!g.mc.Read_Output(OUT_CYL))
{
g.mc.Write_Output(OUT_CYL, ON);
GetDlgItem(IDC_BUTTON_CYL)->SetWindowText(L"气缸上升");
}
else
{
g.mc.Write_Output(OUT_CYL, OFF);
GetDlgItem(IDC_BUTTON_CYL)->SetWindowText(L"气缸下降");
}
}
void CMotionCtrl::OnBnClickedButtonPres()
{
// TODO: 在此添加控件通知处理程序代码
if (!g.mc.Read_Output(OUT_PRESSURE))
{
g.mc.Write_Output(OUT_PRESSURE, ON);
GetDlgItem(IDC_BUTTON_PRES)->SetWindowText(L"不吸气");
}
else
{
g.mc.Write_Output(OUT_PRESSURE, OFF);
GetDlgItem(IDC_BUTTON_PRES)->SetWindowText(L"吸气");
}
}
void CMotionCtrl::OnBnClickedButtonCancalerror()
{
// TODO: 在此添加控件通知处理程序代码
g.evtEmgencyStop.ResetEvent();
}
| [
"prayedsoul@qq.com"
] | prayedsoul@qq.com |
a0bcc6d312d5e05e076baab136ed53cc4f6e099b | 21544a41d068290df0588b3f957ab6c0ed2269d4 | /src/Cppcode/struct_withfun.cpp | a86bdd6ffc9c22463b0ee9224fba051873e91456 | [] | no_license | Phaico91/EigenesGit | 134d60dad139f560179cc37cac3341c5cbf7e026 | 3b62e57a3976dce7ab45d1ec7879816548e34b6c | refs/heads/main | 2023-06-13T04:53:25.539701 | 2021-07-03T11:53:22 | 2021-07-03T11:53:22 | 372,808,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | struct Person
{
char *name;
int age;
void name_set(char *);
void age_set(int);
}
| [
"Pascal_Zimmer@hotmail.de"
] | Pascal_Zimmer@hotmail.de |
e65611a274ec0fc75b043681de3f741b7428935b | 5d70c5a5f6016b16fa9d020f229f1dd870fbe0ab | /Jela/Lista.hpp | 821c51596d998041ebbc093159a77592b92004f2 | [] | no_license | KomnenA/Cpp-vezbe | ec9b60531d1c5d36c63e6a8f9acb605a610ea721 | e4d185f9bc66123e3a56a0fb81f22e4170a8aed1 | refs/heads/main | 2023-08-17T05:44:20.941986 | 2021-09-27T21:45:02 | 2021-09-27T21:45:02 | 411,051,980 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | hpp | #ifndef Lista_hpp
#define Lista_hpp
#include <iostream>
using namespace std;
class GNemaTek{
public:
GNemaTek() {
cout << "Greska: Ne postoji tekuci element!";
}
};
template <typename T>
class Lista{
struct Elem{
T podatak;
int vrednost;
Elem* sled;
Elem(const T& pod, int vr) {
podatak = pod;
vrednost = vr;
sled = nullptr;
}
};
Elem *prvi, *posl;
int br;
mutable Elem* tek;
void brisi();
public:
Lista() {
prvi = posl = tek = nullptr;
br = 0;
}
Lista(const Lista&) = delete;
Lista& operator=(const Lista&) = delete;
~Lista(){
brisi();
}
Lista& dodaj(const T& p, int v){
posl = (!prvi ? prvi : posl->sled) = new Elem(p,v);
br++;
return *this;
}
int dohvBroj() const {
return br;
}
void naPrvi() const {
tek = prvi;
}
void naSled() const {
if (tek)
tek = tek->sled;
}
bool imaTek() const {
return tek != nullptr;
}
T& dohvPodatak() const {
if (!tek)
throw GNemaTek();
return tek->podatak;
}
int& dohvVrednost() const{
if (!tek)
throw GNemaTek();
return tek->vrednost;
}
};
template <typename T>
void Lista<T>::brisi() {
while (prvi){
Elem* stari = prvi;
prvi = prvi->sled;
delete stari;
}
posl = tek = nullptr;
}
#endif /* Lista_hpp */
| [
"saramilanovic@gmail.com"
] | saramilanovic@gmail.com |
7919923ecb096cde80296e2e2ec6a269ef8f4b1e | 0a080dd71ae5a34ced094d747b017c37d8f4ad2a | /src/ClientLib/HttpDownloadManager.cpp | 62fd3a8b22c0e77f78f3f8e2d75341b8a306b787 | [
"MIT"
] | permissive | DigitalPulseSoftware/BurgWar | f2489490ef53dc8a04b219f04d120e0bc9f7b2cb | e56d50184adc03462e8b0018f68bf357f1a9e506 | refs/heads/master | 2023-07-19T18:31:12.657056 | 2022-11-23T11:16:05 | 2022-11-23T11:16:05 | 150,015,581 | 56 | 21 | MIT | 2022-07-02T17:08:55 | 2018-09-23T18:56:44 | C++ | UTF-8 | C++ | false | false | 7,369 | cpp | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#include <ClientLib/HttpDownloadManager.hpp>
#include <CoreLib/LogSystem/Logger.hpp>
#include <CoreLib/Utils.hpp>
#include <Nazara/Core/File.hpp>
#include <algorithm>
#include <stdexcept>
namespace bw
{
HttpDownloadManager::HttpDownloadManager(const Logger& logger, std::vector<std::string> baseDownloadUrls, std::size_t maxSimultaneousDownload) :
m_nextFileIndex(0),
m_baseDownloadUrls(std::move(baseDownloadUrls)),
m_logger(logger),
m_webService(logger)
{
assert(!m_baseDownloadUrls.empty());
for (std::string& downloadUrl : m_baseDownloadUrls)
{
if (downloadUrl.back() == '/')
downloadUrl.pop_back();
}
assert(maxSimultaneousDownload > 0);
m_requests.reserve(maxSimultaneousDownload);
for (std::size_t i = 0; i < maxSimultaneousDownload; ++i)
{
auto& request = m_requests.emplace_back();
request.hash = Nz::AbstractHash::Get(Nz::HashType_SHA1);
}
}
auto HttpDownloadManager::GetEntry(std::size_t fileIndex) const -> const FileEntry&
{
assert(fileIndex < m_downloadList.size());
return m_downloadList[fileIndex];
}
bool HttpDownloadManager::IsFinished() const
{
if (m_nextFileIndex < m_downloadList.size())
return false;
for (const Request& request : m_requests)
{
if (request.isActive)
return false; //< Prevent OnFinished call, downloads are still actives
}
return true;
}
void HttpDownloadManager::RegisterFile(std::string filePath, const std::array<Nz::UInt8, 20>& checksum, Nz::UInt64 expectedSize, std::filesystem::path outputPath, bool keepInMemory)
{
PendingFile& newFile = m_downloadList.emplace_back();
newFile.downloadPath = std::move(filePath);
newFile.expectedChecksum = checksum;
newFile.expectedSize = expectedSize;
newFile.keepInMemory = keepInMemory;
newFile.outputPath = std::move(outputPath);
}
void HttpDownloadManager::RequestNextFiles()
{
if (IsFinished())
{
OnFinished(this);
return;
}
if (m_nextFileIndex >= m_downloadList.size())
return; //< All remaining files are being processed
for (Request& request : m_requests)
{
if (!request.isActive)
{
PendingFile& pendingDownload = m_downloadList[m_nextFileIndex];
std::string downloadUrl = m_baseDownloadUrls[pendingDownload.downloadUrlIndex] + "/" + pendingDownload.downloadPath;
std::unique_ptr<WebRequest> webRequest = WebRequest::Get(downloadUrl);
webRequest->SetMaximumFileSize(pendingDownload.expectedSize);
webRequest->SetDataCallback([this, &request](const void* data, std::size_t size)
{
auto& fileData = m_downloadList[request.fileIndex];
fileData.downloadedSize += size;
// Prevent tricky HTTP servers sending more data than expected
if (fileData.downloadedSize > fileData.expectedSize)
{
bwLog(m_logger, LogLevel::Error, "[HTTP] {0}: receiving more bytes than expected ({1} > {2}), aborting...", GetEntry(request.fileIndex).downloadPath, fileData.downloadedSize, fileData.expectedSize);
return false;
}
request.hash->Append(reinterpret_cast<const Nz::UInt8*>(data), size);
request.file.Write(data, size);
if (request.keepInMemory)
{
std::size_t offset = request.fileContent.size();
request.fileContent.resize(offset + size);
std::memcpy(&request.fileContent[offset], data, size);
}
OnDownloadProgress(this, request.fileIndex, fileData.downloadedSize);
return true;
});
webRequest->SetResultCallback([this, &request](WebRequestResult&& result)
{
// Handle download end
PendingFile& pendingDownload = m_downloadList[request.fileIndex];
request.file.Close();
bool downloadError = true;
Error errorCode = DownloadManager::Error::FileNotFound;
std::string downloadPath = m_baseDownloadUrls[pendingDownload.downloadUrlIndex] + "/" + pendingDownload.downloadPath;
if (result)
{
if (long responseCode = result.GetReponseCode(); responseCode == 200)
{
if (pendingDownload.downloadedSize == pendingDownload.expectedSize)
{
Nz::ByteArray byteArray = request.hash->End();
m_byteArray.Assign(pendingDownload.expectedChecksum.begin(), pendingDownload.expectedChecksum.end());
if (m_byteArray == byteArray)
{
Nz::UInt64 downloadSpeed = result.GetDownloadSpeed();
if (pendingDownload.keepInMemory)
OnDownloadFinishedMemory(this, request.fileIndex, request.fileContent, downloadSpeed);
else
OnDownloadFinished(this, request.fileIndex, pendingDownload.outputPath, downloadSpeed);
downloadError = false;
}
else
{
bwLog(m_logger, LogLevel::Error, "[HTTP] Failed to download {0}: checksums don't match", downloadPath);
errorCode = DownloadManager::Error::ChecksumMismatch;
}
}
else
{
bwLog(m_logger, LogLevel::Error, "[HTTP] Failed to download {0}: sizes don't match (received {1}, expected {2})", downloadPath, pendingDownload.downloadedSize, pendingDownload.expectedSize);
errorCode = DownloadManager::Error::SizeMismatch;
}
}
else
bwLog(m_logger, LogLevel::Error, "[HTTP] Failed to download {0}: expected code 200, got {1}", downloadPath, responseCode);
}
else
bwLog(m_logger, LogLevel::Error, "[HTTP] Failed to download {0}: ", downloadPath, result.GetErrorMessage());
if (downloadError)
{
// Can we try another URL to download this file?
if (pendingDownload.downloadUrlIndex + 1 < m_baseDownloadUrls.size())
{
bwLog(m_logger, LogLevel::Info, "[HTTP] {0} download will be retried from {1}", pendingDownload.downloadPath, m_baseDownloadUrls[pendingDownload.downloadUrlIndex + 1]);
PendingFile& newFile = m_downloadList.emplace_back(pendingDownload);
newFile.downloadedSize = 0;
newFile.downloadUrlIndex++;
// pendingDownload is no longer valid from here
}
else
{
OnDownloadError(this, request.fileIndex, errorCode);
if (!request.file.Delete())
bwLog(m_logger, LogLevel::Warning, "Failed to delete {0} after a download error", pendingDownload.outputPath.generic_u8string());
}
}
// Cleanup
request.isActive = false;
});
std::filesystem::path directory = pendingDownload.outputPath.parent_path();
std::string filePath = pendingDownload.outputPath.generic_u8string();
if (!directory.empty() && !std::filesystem::is_directory(directory))
{
if (!std::filesystem::create_directories(directory))
throw std::runtime_error("failed to create client script asset directory: " + directory.generic_u8string());
}
request.fileIndex = m_nextFileIndex;
request.hash->Begin();
request.file.Open(filePath, Nz::OpenMode_WriteOnly | Nz::OpenMode_Truncate);
request.keepInMemory = pendingDownload.keepInMemory;
m_webService.AddRequest(std::move(webRequest));
OnDownloadStarted(this, m_nextFileIndex, downloadUrl);
request.isActive = true;
if (++m_nextFileIndex >= m_downloadList.size())
break;
}
}
}
void HttpDownloadManager::Update()
{
RequestNextFiles();
m_webService.Poll();
}
}
| [
"lynix680@gmail.com"
] | lynix680@gmail.com |
073c6d2c7a0759ff67dfad93e856958e7a47f8d3 | 0570750c6d8e28d837f9e4f7dc825c968c874fb4 | /build/Android/Preview1/app/src/main/include/Uno.UShort2.h | de0ee1405d59bf6f8c598042feb3e98b264be692 | [] | no_license | theaustinthompson/maryjane | b3671d950aad58fd2ed490bda8aa1113aedf5a97 | b4ddf76aa2a2caae77765435d0315cf9111d6626 | refs/heads/master | 2021-04-12T08:37:47.311922 | 2018-03-27T23:06:47 | 2018-03-27T23:06:47 | 126,034,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | h | // This file was generated based on C:/Users/borde_000/AppData/Local/Fusetools/Packages/UnoCore/1.8.0/Source/Uno/UShort2.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Uno{struct UShort2;}}
namespace g{
namespace Uno{
// public intrinsic struct UShort2 :6
// {
uStructType* UShort2_typeof();
void UShort2__ctor_1_fn(UShort2* __this, uint16_t* x, uint16_t* y);
void UShort2__Equals_fn(UShort2* __this, uType* __type, uObject* o, bool* __retval);
void UShort2__GetHashCode_fn(UShort2* __this, uType* __type, int32_t* __retval);
void UShort2__New2_fn(uint16_t* x, uint16_t* y, UShort2* __retval);
void UShort2__ToString_fn(UShort2* __this, uType* __type, uString** __retval);
struct UShort2
{
uint16_t X;
uint16_t Y;
void ctor_1(uint16_t x, uint16_t y);
bool Equals(uType* __type, uObject* o) { bool __retval; return UShort2__Equals_fn(this, __type, o, &__retval), __retval; }
int32_t GetHashCode(uType* __type) { int32_t __retval; return UShort2__GetHashCode_fn(this, __type, &__retval), __retval; }
uString* ToString(uType* __type) { uString* __retval; return UShort2__ToString_fn(this, __type, &__retval), __retval; }
};
UShort2 UShort2__New2(uint16_t x, uint16_t y);
// }
}} // ::g::Uno
| [
"austin@believeinthompson.com"
] | austin@believeinthompson.com |
ff07cca00e168c8e1836dc27531ce9d525447639 | 24d1a44ec24afd8c1fa50d1ff55eb6cb6963a619 | /spyweex/socket_utils.hpp | dce5880b8c18972236c16dd7698da18b6bc0fb01 | [] | no_license | iuliuscaesar92/spyweex | b79abb9072e62cbc7cc9efdb72b525e17ab27a2e | 3529fb7cb32d508d31d9ec298d8dc0d34cb3836b | refs/heads/master | 2021-01-21T04:47:45.458064 | 2016-07-21T11:10:22 | 2016-07-21T11:10:22 | 52,451,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | hpp |
#ifndef SOCKET_UTILS_HPP
#define SOCKET_UTILS_HPP
#include <boost/asio/buffer.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/write.hpp>
namespace http
{
namespace server
{
namespace socket_utils
{
void inline write_delimiter(boost::asio::ip::tcp::socket& socket_)
{
const char end_of_wxhtp_message[] = "end_wxhtp";
boost::asio::write(socket_,
boost::asio::buffer(end_of_wxhtp_message, strlen(end_of_wxhtp_message) + sizeof(char)));
}
}
}
}
#endif
| [
"iuliuscaesar92@yahoo.com"
] | iuliuscaesar92@yahoo.com |
c82bda2734af815eb5ce494b516d548a7541b5bc | 0ee4d9fde645001a9a12b8a0b750ab73831be80c | /cf/hulk.cpp | ddbe1f95f3d4d4bbf26b495e25628ccbce47106a | [] | no_license | salmanhiro/repo-CP-salman | 2a4a48bafc301a6b3f53e6328ea4e699bbfe7683 | 2d907a235969257adb3f565857fb43879aa0a048 | refs/heads/master | 2020-09-06T18:43:39.331824 | 2020-03-31T17:09:56 | 2020-03-31T17:09:56 | 220,512,564 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /*
A. Hulk
time limit per test1 second
memory limit per test256 megabytes
inputstandard input
outputstandard output
Dr. Bruce Banner hates his enemies (like others don't). As we all know, he can barely talk when he turns into the incredible Hulk. That's why he asked you to help him to express his feelings.
Hulk likes the Inception so much, and like that his feelings are complicated. They have n layers. The first layer is hate, second one is love, third one is hate and so on...
For example if n = 1, then his feeling is "I hate it" or if n = 2 it's "I hate that I love it", and if n = 3 it's "I hate that I love that I hate it" and so on.
Please help Dr. Banner.
Input
The only line of the input contains a single integer n (1 ≤ n ≤ 100) — the number of layers of love and hate.
Output
Print Dr.Banner's feeling in one line.
Examples
inputCopy
1
outputCopy
I hate it
inputCopy
2
outputCopy
I hate that I love it
inputCopy
3
outputCopy
I hate that I love that I hate it
*/
#include <bits/stdc++.h>
using namespace std;
int main()
{
string ender = "it";
int layer;
int i;
cin >> layer;
for (i=0; i<layer;i++)
{
if (i%2!=0){
cout <<"I love ";
}
if (i%2==0)
{
cout <<"I hate ";
}
if (i != layer-1)
{
cout <<"that ";
}
}
cout << ender;
return 0;
} | [
"salman.consulting@outlook.com"
] | salman.consulting@outlook.com |
633520e3a96b87e9d24f7321bc072a8602cc5002 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /ATL开发指南/Chap11/ATL_OLEDB_Prov/CarusoeProvDS.h | 0142f341f798e36a0e6b58f4a7419d0a16c2e009 | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 4,054 | h | // CarusoeProvDS.h : Declaration of the CCarusoeProvSource
#ifndef __CCarusoeProvSource_H_
#define __CCarusoeProvSource_H_
#include "resource.h" // main symbols
#include "CarusoeProvRS.h"
/////////////////////////////////////////////////////////////////////////////
// CDataSource
class ATL_NO_VTABLE CCarusoeProvSource :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CCarusoeProvSource, &CLSID_CarusoeProv>,
public IDBCreateSessionImpl<CCarusoeProvSource, CCarusoeProvSession>,
public IDBInitializeImpl<CCarusoeProvSource>,
public IDBPropertiesImpl<CCarusoeProvSource>,
public IPersistImpl<CCarusoeProvSource>,
public IInternalConnectionImpl<CCarusoeProvSource>,
public IDBCarusoeProvSource
{
protected:
CString m_strServerFile;
CString m_strUserId;
CString m_strPassword;
public:
HRESULT FinalConstruct()
{
return FInit();
}
HRESULT IsValidValue(ULONG iCurSet, DBPROP* pDBProp)
{
ATLASSERT(pDBProp != NULL);
CComVariant var = pDBProp->vValue;
switch (pDBProp->dwPropertyID) {
case DBPROP_INIT_LOCATION:
m_strServerFile = var.bstrVal;
break;
case DBPROP_AUTH_USERID:
m_strUserId = var.bstrVal;
break;
case DBPROP_AUTH_PASSWORD:
m_strPassword = var.bstrVal;
break;
default:
break;
}
return IDBPropertiesImpl<CCarusoeProvSource>::IsValidValue(iCurSet, pDBProp);
}
STDMETHODIMP CreateSession(IUnknown* pUnkOuter, REFIID riid, IUnknown** ppDBSession)
{
HRESULT hr = S_OK;
// Make sure we have a server file
if (m_strServerFile.IsEmpty())
hr = E_FAIL;
// Make sure we have valid logon information
if (SUCCEEDED(hr))
hr = AuthenticateLogonInfo();
// Create the Session
if (SUCCEEDED(hr))
hr = IDBCreateSessionImpl<CCarusoeProvSource, CCarusoeProvSession>::CreateSession(pUnkOuter, riid, ppDBSession);
return hr;
}
HRESULT AuthenticateLogonInfo()
{
HRESULT hr = E_ACCESSDENIED;
if (m_strUserId == CString("rpatton"))
if (m_strPassword == CString("password"))
hr = S_OK;
return hr;
}
// IDBCarusoeProvSource
STDMETHODIMP GetServerFileName(BSTR* pBSTRFileName)
{
*pBSTRFileName = m_strServerFile.AllocSysString();
return S_OK;
}
DECLARE_REGISTRY_RESOURCEID(IDR_CARUSOEPROV)
BEGIN_PROPSET_MAP(CCarusoeProvSource)
BEGIN_PROPERTY_SET(DBPROPSET_DATASOURCEINFO)
PROPERTY_INFO_ENTRY(ACTIVESESSIONS)
PROPERTY_INFO_ENTRY(DATASOURCEREADONLY)
PROPERTY_INFO_ENTRY(BYREFACCESSORS)
PROPERTY_INFO_ENTRY(OUTPUTPARAMETERAVAILABILITY)
PROPERTY_INFO_ENTRY(PROVIDEROLEDBVER)
PROPERTY_INFO_ENTRY(DSOTHREADMODEL)
PROPERTY_INFO_ENTRY(SUPPORTEDTXNISOLEVELS)
PROPERTY_INFO_ENTRY(USERNAME)
PROPERTY_INFO_ENTRY_EX(SQLSUPPORT, VT_I4, 0, DBPROPVAL_SQL_NONE, DBPROPOPTIONS_REQUIRED)
END_PROPERTY_SET(DBPROPSET_DATASOURCEINFO)
BEGIN_PROPERTY_SET(DBPROPSET_DBINIT)
PROPERTY_INFO_ENTRY(AUTH_PASSWORD)
PROPERTY_INFO_ENTRY(AUTH_PERSIST_SENSITIVE_AUTHINFO)
PROPERTY_INFO_ENTRY(AUTH_USERID)
PROPERTY_INFO_ENTRY(INIT_DATASOURCE)
PROPERTY_INFO_ENTRY(INIT_HWND)
PROPERTY_INFO_ENTRY(INIT_LCID)
PROPERTY_INFO_ENTRY(INIT_LOCATION)
PROPERTY_INFO_ENTRY(INIT_MODE)
PROPERTY_INFO_ENTRY(INIT_PROMPT)
PROPERTY_INFO_ENTRY(INIT_PROVIDERSTRING)
PROPERTY_INFO_ENTRY(INIT_TIMEOUT)
END_PROPERTY_SET(DBPROPSET_DBINIT)
CHAIN_PROPERTY_SET(CCarusoeProvCommand)
END_PROPSET_MAP()
BEGIN_COM_MAP(CCarusoeProvSource)
COM_INTERFACE_ENTRY(IDBCreateSession)
COM_INTERFACE_ENTRY(IDBInitialize)
COM_INTERFACE_ENTRY(IDBProperties)
COM_INTERFACE_ENTRY(IPersist)
COM_INTERFACE_ENTRY(IInternalConnection)
COM_INTERFACE_ENTRY(IDBCarusoeProvSource)
END_COM_MAP()
public:
};
#endif //__CCarusoeProvSource_H_
| [
"wyrover@gmail.com"
] | wyrover@gmail.com |
77cfb9c08a7abbdc98a746f4716b7bd766884ef1 | e74db130480df5075d5d942350a5783ee9b515ec | /test/unit/StrSpec.cpp | 5d952537793b2e91a93d23bba18c7c9b2e3a5bec | [] | no_license | efeng100/ShellParser | 198d2b6bd5debf7479145a46027618f669c7f350 | c57c2da8fef8f7efd5fc63801b2ee7265591f98f | refs/heads/master | 2022-04-24T20:01:56.200115 | 2020-04-28T03:38:13 | 2020-04-28T03:38:13 | 259,523,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | cpp | #include "gtest/gtest.h"
extern "C" {
#include "stdint.h"
#include "Str.h"
}
/**
* The purpose of these tests is to prove correctness of the Str
* abstraction barrier from the user's point-of-view.
*/
TEST(StrSpec, values_init_empty) {
Str s = Str_value(10);
ASSERT_EQ(0, Str_length(&s));
Str_drop(&s);
}
TEST(StrSpec, values_init_cstr) {
Str s = Str_value(10);
ASSERT_STREQ("", Str_cstr(&s));
Str_drop(&s);
}
TEST(StrSpec, get_set_contract) {
Str s = Str_value(1);
Str_set(&s, 0, 'a');
Str_set(&s, 1, 'b');
Str_set(&s, 2, 'c');
ASSERT_EQ(3, Str_length(&s));
ASSERT_EQ('a', Str_get(&s, 0));
ASSERT_EQ('b', Str_get(&s, 1));
ASSERT_EQ('c', Str_get(&s, 2));
Str_drop(&s);
}
TEST(StrSpec, cstr_set_contract) {
Str s = Str_value(1);
Str_set(&s, 0, 'a');
Str_set(&s, 1, 'p');
Str_set(&s, 2, 'p');
Str_set(&s, 3, 'l');
Str_set(&s, 4, 'e');
ASSERT_EQ(5, Str_length(&s));
ASSERT_STREQ("apple", Str_cstr(&s));
Str_drop(&s);
}
TEST(StrSpec, from_get_contract) {
Str s = Str_from("hello");
ASSERT_EQ(5, Str_length(&s));
ASSERT_EQ('h', Str_get(&s, 0));
ASSERT_EQ('e', Str_get(&s, 1));
ASSERT_EQ('l', Str_get(&s, 2));
ASSERT_EQ('l', Str_get(&s, 3));
ASSERT_EQ('o', Str_get(&s, 4));
Str_drop(&s);
}
TEST(StrSpec, splice_shorten) {
Str s = Str_from("racecar");
ASSERT_EQ(7, Str_length(&s));
Str_splice(&s, 1, 4, "o", 1);
ASSERT_EQ(4, Str_length(&s));
ASSERT_STREQ("roar", Str_cstr(&s));
Str_drop(&s);
}
TEST(StrSpec, splice_lengthen) {
Str s = Str_from("car");
ASSERT_EQ(3, Str_length(&s));
Str_splice(&s, 0, 0, "race", 4);
ASSERT_EQ(7, Str_length(&s));
ASSERT_STREQ("racecar", Str_cstr(&s));
Str_drop(&s);
}
TEST(StrSpec, append_equality) {
Str s = Str_value(0);
ASSERT_EQ(0, Str_length(&s));
Str_set(&s, 0, 'a');
ASSERT_EQ(1, Str_length(&s));
Str_append(&s, "pple");
ASSERT_EQ(5, Str_length(&s));
ASSERT_STREQ("apple", Str_cstr(&s));
Str_drop(&s);
}
| [
"fenge123@gmail.com"
] | fenge123@gmail.com |
8b6fbc3f19f93e945e2167819d32ae5fff0a66ea | 022f9783fc8c07df7ccc1599abddb4f8ded54d46 | /fishery-nets/solution1/syn/systemc/net_holes_detectidhF.h | 29818511a072065ac2f346b9376ad1c58f6e20d0 | [] | no_license | teozax/Reconfigurable-Logic-Based-System-for-Image-Processing-of-Fishery-Nets | 5e08816c69ad30f169ce3fd88b1802ff9ccd15e8 | f806cd7d25f4c9102b2b023e553a7acf02da3256 | refs/heads/main | 2023-06-09T20:35:41.424720 | 2021-06-29T11:38:02 | 2021-06-29T11:38:02 | 373,593,128 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | h | // ==============================================================
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2019.1 (64-bit)
// Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
// ==============================================================
#ifndef __net_holes_detectidhF__HH__
#define __net_holes_detectidhF__HH__
#include "ACMP_sdiv.h"
#include <systemc>
template<
int ID,
int NUM_STAGE,
int din0_WIDTH,
int din1_WIDTH,
int dout_WIDTH>
SC_MODULE(net_holes_detectidhF) {
sc_core::sc_in_clk clk;
sc_core::sc_in<sc_dt::sc_logic> reset;
sc_core::sc_in<sc_dt::sc_logic> ce;
sc_core::sc_in< sc_dt::sc_lv<din0_WIDTH> > din0;
sc_core::sc_in< sc_dt::sc_lv<din1_WIDTH> > din1;
sc_core::sc_out< sc_dt::sc_lv<dout_WIDTH> > dout;
ACMP_sdiv<ID, 53, din0_WIDTH, din1_WIDTH, dout_WIDTH> ACMP_sdiv_U;
SC_CTOR(net_holes_detectidhF): ACMP_sdiv_U ("ACMP_sdiv_U") {
ACMP_sdiv_U.clk(clk);
ACMP_sdiv_U.reset(reset);
ACMP_sdiv_U.ce(ce);
ACMP_sdiv_U.din0(din0);
ACMP_sdiv_U.din1(din1);
ACMP_sdiv_U.dout(dout);
}
};
#endif //
| [
"32217108+teozax@users.noreply.github.com"
] | 32217108+teozax@users.noreply.github.com |
2f1ce3180d033ced9f521724612fc84488fb1b2a | 376034a9eaa3937ba48d2e4ef612b51d77dfbf20 | /18/S3-3.cpp | 8810d1d51f1d6942ce2a8381c84aa2650457f4bf | [] | no_license | DenisLeonte/info-bac | 97eda48fa62c9dee391ee729f1df0461e3e1dd0c | ba7421dd51a57f8b5d54fa137138a890bdb52f34 | refs/heads/master | 2023-07-29T19:05:15.452349 | 2021-03-12T09:02:20 | 2021-03-12T09:02:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <iostream>
using namespace std;
int count(float a[], int n)
{
float s = 0;
int k = 0;
for (int i = 0; i < n; i++)
s += a[i];
s /= n;
for (int i = 0; i < n; i++)
if (a[i] >= s)
k++;
return k;
}
int main()
{
return 0;
} | [
"denis.leonte123@gmail.com"
] | denis.leonte123@gmail.com |
19d634567b733cc35aa5318646d3b0fca1a6dc23 | eac5ea009f3fa997ff873e880986d35b84891479 | /CosminFlorica_ProcessManager/ProcessManager.h | 00d869b1c9ff92989ff6b684efa46a9a818ed59f | [] | no_license | cosminflorica/process-manager | 59f7f0c4c13dc5ce29086d5e8a1b1c1fc1b48867 | f20dc8e22c64d8a491ec59c9675d4c39d88453ad | refs/heads/master | 2020-09-27T00:46:41.377507 | 2019-12-06T17:51:49 | 2019-12-06T17:51:49 | 226,381,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | h | #pragma once
#include"Process.h"
#include"ProcessList.h"
#include"LoadProcess.h"
#ifndef PROCESSMANAGER_H
#define PROCESSMANAGER_H
class ProcessManager : public ProcessList
{
int maxMemorySize;
int NumberOfObjectsCreated;
public:
ProcessManager();
ProcessManager(int maxMemory, char* fileName);
void set_offsets();
int getFileLength(char*filename);
void load();
void deleteProcess(Process*&p);
void deleleProcessAll(Process*&p);
void runProcess(Process* p);
Process* GetHead();
int GetMaxMemory();
void ps();
void kill(int id);
void killall(char* nume);
void run();
};
#endif | [
"florica.cosmin@yahoo.com"
] | florica.cosmin@yahoo.com |
23485722f9d4b1e6b5f37b3ec274a8cc3f5e5d2e | b0d25a825a4ed07ed1291346dcad6ef0170a1537 | /src/tools/CMMLRip/stdafx.cpp | e6d284573ddb2b7e3b3b6aa9bb66407dc628a27e | [
"BSD-3-Clause"
] | permissive | xiph/oggdsf | 84b184b43f008fc01f8f90a91ba33c58673e0bca | 941aea014887d9d75639ad54c209c72ade053a25 | refs/heads/main | 2023-08-27T09:47:26.237770 | 2013-03-15T00:31:50 | 2013-03-15T00:31:50 | 432,879,347 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | // stdafx.cpp : source file that includes just the standard includes
// CMMLRip.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"ogg@illiminable.com"
] | ogg@illiminable.com |
decf7378ceb64337a7faaf94afd19b224e6552a8 | 15e818aada2b18047fa895690bc1c2afda6d7273 | /control/crosswind/crosswind_frame_test.cc | 4e0028136b941502fb1dcedfce826ef7274baf35 | [
"Apache-2.0"
] | permissive | ghomsy/makani | 4ee34c4248fb0ac355f65aaed35718b1f5eabecf | 818ae8b7119b200a28af6b3669a3045f30e0dc64 | refs/heads/master | 2023-01-11T18:46:21.939471 | 2020-11-10T00:23:31 | 2020-11-10T00:23:31 | 301,863,147 | 0 | 0 | Apache-2.0 | 2020-11-10T00:23:32 | 2020-10-06T21:51:21 | null | UTF-8 | C++ | false | false | 3,881 | cc | // Copyright 2020 Makani Technologies LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <gtest/gtest.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include "common/c_math/util.h"
#include "common/c_math/vec3.h"
#include "control/crosswind/crosswind_frame.h"
#include "lib/util/test_util.h"
using ::test_util::Rand;
TEST(TransformGToCw, Recovery) {
for (int32_t i = 0; i < 222; ++i) {
Vec3 point_g = {Rand(-10.0, 10.0), Rand(-10.0, 10.0), Rand(-10.0, 10.0)};
Vec3 path_center_g = {Rand(-10.0, 10.0), Rand(-10.0, 10.0),
Rand(-10.0, 10.0)};
Vec3 point_g_out;
TransformCwToG(&point_g, &path_center_g, &point_g_out);
TransformGToCw(&point_g_out, &path_center_g, &point_g_out);
EXPECT_NEAR_VEC3(point_g, point_g_out, 1e-9);
}
}
TEST(TransformGToCw, ZeroOrigin) {
Vec3 path_center_g = kVec3Zero;
for (int32_t i = 0; i < 222; ++i) {
Vec3 point = {Rand(-10.0, 10.0), Rand(-10.0, 10.0), Rand(-10.0, 10.0)};
Vec3 point_out, point_out2;
TransformGToCw(&point, &path_center_g, &point_out);
RotateGToCw(&point, &path_center_g, &point_out2);
EXPECT_NEAR_VEC3(point_out, point_out2, 1e-9);
TransformCwToG(&point, &path_center_g, &point_out);
RotateCwToG(&point, &path_center_g, &point_out2);
EXPECT_NEAR_VEC3(point_out, point_out2, 1e-9);
}
}
TEST(CalcDcmFToG, Orthogonality) {
Vec3 apparent_wind_g;
Vec3 anchor2kite_g;
apparent_wind_g.x = -50.0;
apparent_wind_g.y = 5.0;
apparent_wind_g.z = 10.0;
for (double azi_angle = 0.0; azi_angle < 2.0 * PI; azi_angle += 0.1) {
for (double ele_angle = 0.0; ele_angle < PI / 2.0; ele_angle += 0.1) {
SphToCart(azi_angle, ele_angle, 425.0, &anchor2kite_g);
Mat3 dcm_f2g;
CalcDcmFToG(&apparent_wind_g, &anchor2kite_g, &dcm_f2g);
EXPECT_TRUE(Mat3IsOrthogonal(&dcm_f2g, 1.0e-9));
}
}
}
TEST(CalcDcmFToG, Xaxis) {
Vec3 apparent_wind_g;
Vec3 anchor2kite_g;
apparent_wind_g.x = -50.0;
apparent_wind_g.y = 5.0;
apparent_wind_g.z = 10.0;
for (double azi_angle = 0.0; azi_angle < 2.0 * PI; azi_angle += 0.1) {
for (double ele_angle = 0.0; ele_angle < PI / 2.0; ele_angle += 0.1) {
SphToCart(azi_angle, ele_angle, 425.0, &anchor2kite_g);
Mat3 dcm_f2g;
CalcDcmFToG(&apparent_wind_g, &anchor2kite_g, &dcm_f2g);
Vec3 apparent_wind_f;
Vec3 apparent_wind_f_expected;
Vec3Scale(&kVec3X, -Vec3Norm(&apparent_wind_g),
&apparent_wind_f_expected);
Mat3TransVec3Mult(&dcm_f2g, &apparent_wind_g, &apparent_wind_f);
EXPECT_NEAR_VEC3(apparent_wind_f, apparent_wind_f_expected, 1e-9);
}
}
}
TEST(CalcDcmFToG, Yaxis) {
Vec3 apparent_wind_g;
Vec3 anchor2kite_g;
apparent_wind_g.x = -50.0;
apparent_wind_g.y = 5.0;
apparent_wind_g.z = 10.0;
for (double azi_angle = 0.0; azi_angle < 2.0 * PI; azi_angle += 0.1) {
for (double ele_angle = 0.0; ele_angle < PI / 2.0; ele_angle += 0.1) {
SphToCart(azi_angle, ele_angle, 425.0, &anchor2kite_g);
Mat3 dcm_f2g;
CalcDcmFToG(&apparent_wind_g, &anchor2kite_g, &dcm_f2g);
Vec3 anchor2kite_f;
Mat3TransVec3Mult(&dcm_f2g, &anchor2kite_g, &anchor2kite_f);
EXPECT_NEAR(anchor2kite_f.y, 0.0, 1e-9);
}
}
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"luislarco@google.com"
] | luislarco@google.com |
99d09b86689efae10612bdd3933c3d520571e245 | 5bc07dbbdcda1a772de18a36432086a4c09299a9 | /TXCloudRoom/Court&CS/RTCVideoWidget.h | 52d87d2bd8f9f8afeb2cb620da9c61e8881abef8 | [] | no_license | shengang1978/webexe_exe_source | f37715405b0e822c779cd00496765f34285981bb | 716e85310449db720558eea7e2d6dbf803824e56 | refs/heads/master | 2020-04-06T17:00:01.144573 | 2018-09-29T10:52:45 | 2018-09-29T10:52:45 | 157,642,349 | 0 | 1 | null | 2018-11-15T02:46:19 | 2018-11-15T02:46:18 | null | UTF-8 | C++ | false | false | 1,043 | h | #pragma once
#include <QWidget>
#include "ui_VideoWidget.h"
#include "commonType.h"
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include "WinWidget.h"
class RTCVideoWidget : public QWidget
{
Q_OBJECT
public:
RTCVideoWidget(QWidget *parent = Q_NULLPTR, bool local = false);
~RTCVideoWidget();
void on_menu_actCamera(bool open);
void on_menu_actMic(bool open);
MenuInfo & getMenuInfo();
void startVideo(std::string userID);
void stopVideo();
void setUserName(std::string userName);
void setUserID(std::string userID);
void setMenuInfo(MenuInfo & menuInfo);
void updatePreview();
signals:
void local_actCamera(bool open);
void local_actMic(bool open);
void actCamera(bool open);
void actMic(bool open);
protected:
virtual void resizeEvent(QResizeEvent* event) Q_DECL_OVERRIDE;
private slots:
void on_dis_actCamera(bool open);
void on_dis_actMic(bool open);
private:
Ui::VideoWidget ui;
std::string m_userID;
bool m_local;
HWND m_hwnd;
QWidget * widgetDisplay;
MenuInfo m_menuInfo;
WinWidget * winWidget;
};
| [
"xuanyiyan@tencent.com"
] | xuanyiyan@tencent.com |
3c934b006ff87d20af6e607a002d759686045bc9 | 4e932dd028c6660b822936dc49a53759ffb748d7 | /d08/ex02/main.cpp | 2712ee5cb7eae1af4888ea31a1e389c6b23f7a51 | [] | no_license | YoungTran/cpp-crash-course | 134075759e2e673e5f822f605a10d388b0ccd4bc | cfe52bc6161c911ed1b0fba49c916f4d0878a2af | refs/heads/master | 2023-06-17T16:31:26.772811 | 2021-07-22T05:59:51 | 2021-07-22T05:59:51 | 168,427,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ytran <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/12 21:25:04 by ytran #+# #+# */
/* Updated: 2018/10/12 21:25:37 by ytran ### ########.fr */
/* */
/* ************************************************************************** */
#include "mutantstack.hpp"
int main()
{
MutantStack<int> mstack;
mstack.push(5);
mstack.push(17);
std::cout << mstack.top() << std::endl;
mstack.pop();
std::cout << mstack.size() << std::endl;
mstack.push(3);
mstack.push(5);
mstack.push(737);
//[...]
mstack.push(0);
MutantStack<int>::iterator it = mstack.begin();
MutantStack<int>::iterator ite = mstack.end();
++it;
--it;
while (it != ite)
{
std::cout << *it << std::endl;
++it;
}
std::stack<int> s(mstack);
return 0;
}
| [
"ytran@e1z2r4p13.42.us.org"
] | ytran@e1z2r4p13.42.us.org |
d7f498ad310a317485c163cbe46771560cc5f8b1 | 07e4af8668d015c982f4f9f190d071572143e68f | /Adstir/AdstirPlugin.cpp | 14d72d12c04c23f3497d9f8f54f0c7f9641efacd | [] | no_license | united-adstir/AdStir-Integration-Guide-Cocos2dx | 8a0f4c56f716c403907bb72f44adf532b1aae6cf | 6975681af18e55367fac5822af5875a69ccf62c5 | refs/heads/master | 2021-01-11T14:16:29.918281 | 2019-08-14T09:19:58 | 2019-08-14T09:19:58 | 81,287,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,938 | cpp | //
// AdstirPlugin.cpp
//
// Created by 森田 裕司 on 2019/07/25.
// Copyright © 2019 United Inc. All rights reserved.
//
#include <stdio.h>
#include "AdstirPlugin.h"
#include <unordered_map>
#include <jni.h>
#include "platform/android/jni/JniHelper.h"
#define VIDEO_ADS_CLASS_NAME "com/ad_stir/cocos2dx/AdstirVideoAdsPlugin"
#define VIDEO_REWARD_CLASS_NAME "com/ad_stir/cocos2dx/AdstirVideoRewardPlugin"
#define INTERSTITIAL_CLASS_NAME "com/ad_stir/cocos2dx/AdstirInterstitialPlugin"
std::unordered_map<int, Adstir::VideoRewardDelegate*> rewardDelegateMap;
std::unordered_map<int, Adstir::InterstitialDelegate*> interstitialDelegateMap;
extern "C"
{
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnLoad(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnLoad(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnFailToLoad(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnFailToLoad(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnStart(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnStart(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnFailToStart(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnFailToStart(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnComplete(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnComplete(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnCancel(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnCancel(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnFinish(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnFinish(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirVideoRewardListenerImpl_OnClose(JNIEnv* env, jobject thiz, jint spot) {
if(rewardDelegateMap[spot]) {
rewardDelegateMap[spot]->OnClose(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirInterstitialListenerImpl_OnLoad(JNIEnv* env, jobject thiz, jint spot) {
if(interstitialDelegateMap[spot]) {
interstitialDelegateMap[spot]->OnLoad(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirInterstitialListenerImpl_OnFailToLoad(JNIEnv* env, jobject thiz, jint spot) {
if(interstitialDelegateMap[spot]) {
interstitialDelegateMap[spot]->OnFailToLoad(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirInterstitialListenerImpl_OnStart(JNIEnv* env, jobject thiz, jint spot) {
if(interstitialDelegateMap[spot]) {
interstitialDelegateMap[spot]->OnStart(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirInterstitialListenerImpl_OnFailToStart(JNIEnv* env, jobject thiz, jint spot) {
if(interstitialDelegateMap[spot]) {
interstitialDelegateMap[spot]->OnFailToStart(spot);
}
return;
}
JNIEXPORT void JNICALL Java_com_ad_1stir_cocos2dx_AdstirInterstitialListenerImpl_OnClose(JNIEnv* env, jobject thiz, jint spot) {
if(interstitialDelegateMap[spot]) {
interstitialDelegateMap[spot]->OnClose(spot);
}
return;
}
}
void Adstir::VideoAds::setMediaUserID(const char* aMediaUserID)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_ADS_CLASS_NAME, "setMediaUserID", "(Ljava/lang/String;)V")) {
jstring str = t.env->NewStringUTF(aMediaUserID);
t.env->CallStaticVoidMethod(t.classID, t.methodID, str);
t.env->DeleteLocalRef(str);
t.env->DeleteLocalRef(t.classID);
}
}
void Adstir::VideoAds::init(const char *aMedia, int *aSpots, int numberOfSpots)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_ADS_CLASS_NAME, "init", "(Ljava/lang/String;[I)V")) {
jstring str = t.env->NewStringUTF(aMedia);
jintArray spots = t.env->NewIntArray(numberOfSpots);
if (spots == NULL) {
return;
}
t.env->SetIntArrayRegion(spots, 0, numberOfSpots, aSpots);
t.env->CallStaticVoidMethod(t.classID, t.methodID, str, spots);
t.env->DeleteLocalRef(spots);
t.env->DeleteLocalRef(str);
t.env->DeleteLocalRef(t.classID);
}
}
void Adstir::VideoReward::load(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_REWARD_CLASS_NAME, "load", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
void Adstir::VideoReward::show(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_REWARD_CLASS_NAME, "show", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
bool Adstir::VideoReward::canShow(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_REWARD_CLASS_NAME, "canShow", "(I)Z")) {
jboolean canShow = (jboolean) t.env->CallStaticBooleanMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
return (bool)canShow;
}
return false;
}
void Adstir::VideoReward::setDelegate(Adstir::VideoRewardDelegate* delegate, int aSpot)
{
rewardDelegateMap[aSpot] = delegate;
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, VIDEO_REWARD_CLASS_NAME, "setDelegate", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
void Adstir::Interstitial::load(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, INTERSTITIAL_CLASS_NAME, "load", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
void Adstir::Interstitial::show(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, INTERSTITIAL_CLASS_NAME, "show", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
bool Adstir::Interstitial::canShow(int aSpot)
{
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, INTERSTITIAL_CLASS_NAME, "canShow", "(I)Z")) {
jboolean canShow = (jboolean) t.env->CallStaticBooleanMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
return (bool)canShow;
}
return false;
}
void Adstir::Interstitial::setDelegate(Adstir::InterstitialDelegate* delegate, int aSpot)
{
interstitialDelegateMap[aSpot] = delegate;
cocos2d::JniMethodInfo t;
if (cocos2d::JniHelper::getStaticMethodInfo(t, INTERSTITIAL_CLASS_NAME, "setDelegate", "(I)V")) {
t.env->CallStaticVoidMethod(t.classID, t.methodID, aSpot);
t.env->DeleteLocalRef(t.classID);
}
}
| [
"yuji-morita@united.jp"
] | yuji-morita@united.jp |
27da64cb5087b7730fe2926e3e26b3e6698512b0 | 03f307910284b8930eff870e5f467dc53b563f93 | /CrazyTanks/Game.h | 88dbe822a40297ee9fb3a6c2626b5c43952df899 | [] | no_license | FIvanO/CrazyTanks2 | 3f8bdd09ae1d7e67f899f647ca35202121f7a1fa | 844c5e4ace6692cc9824164d4b330cbe9e0fde32 | refs/heads/master | 2021-04-09T16:20:15.030138 | 2018-03-22T00:10:43 | 2018-03-22T00:10:43 | 126,095,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | h | #pragma once
#include "Drawer.h"
#include "Tank.h"
#include "PlayerTank.h"
#include "EnemyTank.h"
#include "Bullet.h"
#include "Wall.h"
#include "BattleField.h"
#include "Consts.h"
class Game {
public:
void start();
private:
void win();
void lose();
int lifes = 3;
int kills = 0;
}; | [
"WasylF@gmail.com"
] | WasylF@gmail.com |
d3a0998a14f736751f7b8444e60fc5213ac2a9cb | 46827034b40ea24a6a3a4bd2acae89075cc7df7b | /examples/Module/COMX_NB-IoT/COMX_NB-IoT.ino | ded7a6a78ece173c0485c2979eb84f5abc7a32dd | [
"MIT"
] | permissive | lovyan03/M5Core2 | e91ec9844115bb721dd85b56873cbc72b1a84fe4 | 027e8f3310b5eec9d6c85bde1d0b2b6dd4819716 | refs/heads/master | 2023-03-23T10:22:07.027016 | 2021-02-26T10:16:27 | 2021-02-26T10:16:27 | 292,970,721 | 2 | 3 | MIT | 2020-09-22T12:45:33 | 2020-09-05T00:14:44 | C | UTF-8 | C++ | false | false | 9,431 | ino | #include <M5Core2.h>
#include <stdint.h>
#include <vector>
#include "TFTTerminal.h"
TFT_eSprite Disbuff = TFT_eSprite(&M5.Lcd);
TFT_eSprite TerminalBuff = TFT_eSprite(&M5.Lcd);
TFTTerminal terminal(&TerminalBuff);
TaskHandle_t xhandle_lte_event = NULL;
SemaphoreHandle_t command_list_samap;
typedef enum
{
kQUERY_MO = 0,
KTEST_MO,
kASSIGN_MO,
kACTION_MO,
kQUERY_MT,
kTEST_MT,
kASSIGN_MT,
kACTION_MT,
kINFORM
} LTEMsg_t;
typedef enum
{
kErrorSendTimeOUT = 0xe1,
kErrorReError = 0xe2,
kErroeSendError = 0xe3,
kSendReady = 0,
kSending = 1,
kWaitforMsg = 2,
kWaitforRead = 3,
kReOK
} LTEState_t;
struct ATCommand
{
uint8_t command_type;
String str_command;
uint16_t send_max_number;
uint16_t max_time;
uint8_t state;
String read_str;
uint16_t _send_count;
uint16_t _send_time_count;
} user;
using namespace std;
vector<ATCommand> serial_at;
String zmmi_str;
void LTEModuleTask(void *arg)
{
int Number = 0;
String restr;
while (1)
{
xSemaphoreTake(command_list_samap, portMAX_DELAY);
if (Serial2.available() != 0)
{
String str = Serial2.readString();
restr += str;
if(restr.indexOf("\r\n") != -1)
{
}
if( restr.indexOf("+ZMMI:")!= -1)
{
zmmi_str = restr;
}
else if ((restr.indexOf("OK") != -1) || (restr.indexOf("ERROR") != -1))
{
Serial.print(restr);
if (restr.indexOf("OK") != -1)
{
if ((serial_at[0].command_type == kACTION_MO) || (serial_at[0].command_type == kASSIGN_MO))
{
serial_at.erase(serial_at.begin());
Serial.printf("erase now %d\n", serial_at.size());
}
else
{
serial_at[0].read_str = restr;
serial_at[0].state = kWaitforRead;
}
}
else if (restr.indexOf("ERROR") != -1)
{
serial_at[0].state = kErrorReError;
}
else
{
}
restr.clear();
}
}
if (serial_at.empty() != true)
{
Number = 0;
switch (serial_at[0].state)
{
case kSendReady:
Serial.printf(serial_at[0].str_command.c_str());
Serial2.write(serial_at[0].str_command.c_str());
serial_at[0].state = kSending;
break;
case kSending:
if (serial_at[0]._send_time_count > 0)
{
serial_at[0]._send_time_count--;
}
else
{
serial_at[0].state = kWaitforMsg;
}
/* code */
break;
case kWaitforMsg:
if (serial_at[0]._send_count > 0)
{
serial_at[0]._send_count--;
serial_at[0]._send_time_count = serial_at[0].max_time;
Serial.printf(serial_at[0].str_command.c_str());
Serial2.write(serial_at[0].str_command.c_str());
restr.clear();
serial_at[0].state = 1;
}
else
{
serial_at[0].state = kErrorSendTimeOUT;
}
/* code */
break;
case kWaitforRead:
/* code */
break;
case 4:
/* code */
break;
case kErrorSendTimeOUT:
/* code */
break;
case 0xe2:
/* code */
break;
default:
break;
}
}
xSemaphoreGive(command_list_samap);
delay(10);
}
}
void AddMsg(String str, uint8_t type, uint16_t sendcount, uint16_t sendtime)
{
struct ATCommand newcommand;
newcommand.str_command = str;
newcommand.command_type = type;
newcommand.max_time = sendtime;
newcommand.send_max_number = sendcount;
newcommand.state = 0;
newcommand._send_count = sendcount;
newcommand._send_time_count = sendtime;
xSemaphoreTake(command_list_samap, portMAX_DELAY);
serial_at.push_back(newcommand);
xSemaphoreGive(command_list_samap);
}
uint8_t readSendState(uint32_t number)
{
xSemaphoreTake(command_list_samap, portMAX_DELAY);
uint8_t restate = serial_at[number].state;
xSemaphoreGive(command_list_samap);
return restate;
}
uint32_t getATMsgSize()
{
xSemaphoreTake(command_list_samap, portMAX_DELAY);
uint32_t restate = serial_at.size();
xSemaphoreGive(command_list_samap);
return restate;
}
String ReadMsgstr(uint32_t number)
{
xSemaphoreTake(command_list_samap, portMAX_DELAY);
String restate = serial_at[number].read_str;
xSemaphoreGive(command_list_samap);
return restate;
}
bool EraseFirstMsg()
{
xSemaphoreTake(command_list_samap, portMAX_DELAY);
serial_at.erase(serial_at.begin());
xSemaphoreGive(command_list_samap);
return true;
}
uint16_t GetstrNumber( String Str, uint32_t* ptrbuff )
{
uint16_t count = 0;
String Numberstr;
int indexpos = 0;
while( Str.length() > 0 )
{
indexpos = Str.indexOf(",");
if( indexpos != -1 )
{
Numberstr = Str.substring(0,Str.indexOf(","));
Str = Str.substring(Str.indexOf(",")+1,Str.length());
ptrbuff[count] = Numberstr.toInt();
count ++;
}
else
{
ptrbuff[count] = Str.toInt();
count ++;
break;
}
}
return count;
}
vector<String> restr_v;
uint16_t GetstrNumber( String StartStr,String EndStr,String Str )
{
uint16_t count = 0;
String Numberstr;
int indexpos = 0;
Str = Str.substring(Str.indexOf(StartStr) + StartStr.length(), Str.indexOf(EndStr));
Str.trim();
restr_v.clear();
while( Str.length() > 0 )
{
indexpos = Str.indexOf(",");
if( indexpos != -1 )
{
Numberstr = Str.substring(0,Str.indexOf(","));
Str = Str.substring(Str.indexOf(",")+1,Str.length());
restr_v.push_back(Numberstr);
count ++;
}
else
{
restr_v.push_back(Numberstr);;
count ++;
break;
}
}
return count;
}
String getReString( uint16_t Number )
{
if( restr_v.empty())
{
return String("");
}
return restr_v.at(Number);
}
uint16_t GetstrNumber( String StartStr,String EndStr,String Str, uint32_t* ptrbuff )
{
uint16_t count = 0;
String Numberstr;
int indexpos = 0;
Str = Str.substring(Str.indexOf(StartStr) + StartStr.length(), Str.indexOf(EndStr));
Str.trim();
while( Str.length() > 0 )
{
indexpos = Str.indexOf(",");
if( indexpos != -1 )
{
Numberstr = Str.substring(0,Str.indexOf(","));
Str = Str.substring(Str.indexOf(",")+1,Str.length());
ptrbuff[count] = Numberstr.toInt();
count ++;
}
else
{
ptrbuff[count] = Str.toInt();
count ++;
break;
}
}
return count;
}
uint32_t numberbuff[128];
String readstr;
uint8_t restate;
void setup()
{
// put your setup code here, to run once:
M5.begin(true,true,true,true,kMBusModeOutput);
// kMBusModeOutput,powered by USB or Battery
// kMBusModeInput,powered by outside input
Serial2.begin(115200, SERIAL_8N1, 13, 14);
// The 13(RX), 14(TX) pins of the CORE2 correspond to the 16(RX), 17(TX) pins of the COMX
//Please make sure that the dialing switch of COMX is set to 16(RX), 17(TX).
//Serial.printf("FUCK STC\n");
Disbuff.createSprite(320,20);
Disbuff.fillRect(0,0,320,20,BLACK);
Disbuff.drawRect(0,0,320,20,Disbuff.color565(36,36,36));
Disbuff.pushSprite(0,0);
TerminalBuff.createSprite(120,220);
TerminalBuff.fillRect(0,0,120,220,BLACK);
TerminalBuff.drawRect(0,0,120,220,Disbuff.color565(36,36,36));
TerminalBuff.pushSprite(0,20);
terminal.setFontsize(2);
terminal.setGeometry(0,20,120,220);
Disbuff.setTextColor(WHITE);
Disbuff.setTextSize(1);
for (int i = 0; i < 100; i++ )
{
Disbuff.fillRect(0,0,320,20,Disbuff.color565(36,36,36));
Disbuff.pushSprite(0,0);
Disbuff.setCursor(7,7);
Disbuff.printf("Reset Module %02d",i);
Disbuff.pushSprite(0,0);
delay(10);
}
xTaskCreate(LTEModuleTask, "LTEModuleTask", 1024 * 2, (void *)0, 4, &xhandle_lte_event);
command_list_samap = xSemaphoreCreateMutex();
xSemaphoreGive(command_list_samap);
}
void loop()
{
AddMsg("AT+CSQ\r\n", kQUERY_MT, 1000, 1000);
while ((readSendState(0) == kSendReady) || (readSendState(0) == kSending) || (readSendState(0) == kWaitforMsg))delay(50);
restate = readSendState(0);
readstr = ReadMsgstr(0).c_str();
if(( readstr.indexOf("+CSQ:") != -1 )&&( restate == kWaitforRead ))
{
int count = GetstrNumber("+CSQ:","OK",readstr,numberbuff);
if( count != 0 )
{
M5.Lcd.drawString("RSSI",240,60);
//printf("CSQ-%d:%d\r\n",numberbuff[0],numberbuff[1]);
if(( numberbuff[0] >= 2 )&&( numberbuff[0] <= 31 )&&( numberbuff[1] != 99 ))
{
int rssi = 110 - (( numberbuff[0] - 2 ) * 2 );
terminal.printf("RSSI:-%d\r\n",rssi);
M5.Lcd.fillRect(200,50,30,30,GREEN);
}
else
{
M5.Lcd.fillRect(200,50,30,30,RED);
}
}
}
EraseFirstMsg();
Disbuff.print(readstr);
terminal.print(readstr);
AddMsg("AT+CREG?\r\n", kQUERY_MT, 1000, 1000);
while ((readSendState(0) == kSendReady) || (readSendState(0) == kSending) || (readSendState(0) == kWaitforMsg))delay(50);
restate = readSendState(0);
readstr = ReadMsgstr(0).c_str();
EraseFirstMsg();
terminal.print(readstr);
AddMsg("AT+COPS?\r\n", kQUERY_MT, 1000, 1000);
while ((readSendState(0) == kSendReady) || (readSendState(0) == kSending) || (readSendState(0) == kWaitforMsg))delay(50);
restate = readSendState(0);
readstr = ReadMsgstr(0).c_str();
if(( readstr.indexOf("+COPS:") != -1 )&&( restate == kWaitforRead ))
{
int count = GetstrNumber("+COPS:","OK",readstr,numberbuff);
if( count != 0 )
{
M5.Lcd.drawString("Network",240,120);
if( numberbuff[3] == 9 )
{
M5.Lcd.fillRect(200,110,30,30,GREEN);
}
else
{
M5.Lcd.fillRect(200,110,30,30,RED);
}
}
}
EraseFirstMsg();
Disbuff.print(readstr);
terminal.print(readstr);
delay(500);
M5.update();
}
| [
"1905134716@qq.com"
] | 1905134716@qq.com |
b7e31bb65c076292054017b836cf224a2ad716c5 | a05352e2ca173249f39c7a41639e2379241ac7b3 | /vpr/SRC/timing/PostClusterDelayCalculator.tpp | 456cc518cdf796e267768ddb0a307e13959b79e3 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"MIT-Modern-Variant"
] | permissive | citylife4/vtr-verilog-to-routing | 3ac41cf801b53df74913141326c6b7ed2655f060 | 3b31d7008e7d5b7851fb0f948890d94e768058c7 | refs/heads/master | 2020-12-30T16:41:23.916135 | 2017-05-11T15:14:35 | 2017-05-11T15:14:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,280 | tpp | #include <cmath>
#include "PostClusterDelayCalculator.h"
#include "vpr_error.h"
#include "vpr_utils.h"
#include "globals.h"
//Print detailed debug info about edge delay calculation
/*#define POST_CLUSTER_DELAY_CALC_DEBUG*/
inline PostClusterDelayCalculator::PostClusterDelayCalculator(const AtomNetlist& netlist,
const AtomLookup& netlist_lookup,
float** net_delay)
: netlist_(netlist)
, netlist_lookup_(netlist_lookup)
, net_delay_(net_delay)
, atom_delay_calc_(netlist, netlist_lookup)
, edge_delay_cache_(g_timing_graph->edges().size(), tatum::Time(NAN))
, driver_clb_delay_cache_(g_timing_graph->edges().size(), tatum::Time(NAN))
, sink_clb_delay_cache_(g_timing_graph->edges().size(), tatum::Time(NAN))
, net_pin_cache_(g_timing_graph->edges().size(), std::pair<const t_net_pin*,const t_net_pin*>(nullptr,nullptr))
{}
inline tatum::Time PostClusterDelayCalculator::max_edge_delay(const tatum::TimingGraph& tg, tatum::EdgeId edge) const {
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf("=== Edge %zu (max) ===\n", size_t(edge));
#endif
tatum::EdgeType edge_type = tg.edge_type(edge);
if (edge_type == tatum::EdgeType::PRIMITIVE_COMBINATIONAL) {
return atom_combinational_delay(tg, edge);
} else if (edge_type == tatum::EdgeType::PRIMITIVE_CLOCK_LAUNCH) {
return atom_clock_to_q_delay(tg, edge);
} else if (edge_type == tatum::EdgeType::INTERCONNECT) {
return atom_net_delay(tg, edge);
}
VPR_THROW(VPR_ERROR_TIMING, "Invalid edge type");
return tatum::Time(NAN); //Suppress compiler warning
}
inline tatum::Time PostClusterDelayCalculator::setup_time(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf("=== Edge %zu (setup) ===\n", size_t(edge_id));
#endif
return atom_setup_time(tg, edge_id);
}
inline tatum::Time PostClusterDelayCalculator::min_edge_delay(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf("=== Edge %zu (min) ===\n", size_t(edge_id));
#endif
return max_edge_delay(tg, edge_id);
}
inline tatum::Time PostClusterDelayCalculator::hold_time(const tatum::TimingGraph& /*tg*/, tatum::EdgeId /*edge_id*/) const {
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
/*vtr::printf("=== Edge %zu (hold) ===\n", size_t(edge_id));*/
#endif
return tatum::Time(NAN);
}
inline tatum::Time PostClusterDelayCalculator::atom_combinational_delay(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
tatum::Time delay = edge_delay_cache_[edge_id];
if(std::isnan(delay.value())) {
//Miss
tatum::NodeId src_node = tg.edge_src_node(edge_id);
tatum::NodeId sink_node = tg.edge_sink_node(edge_id);
AtomPinId src_pin = netlist_lookup_.tnode_atom_pin(src_node);
AtomPinId sink_pin = netlist_lookup_.tnode_atom_pin(sink_node);
delay = tatum::Time(atom_delay_calc_.atom_combinational_delay(src_pin, sink_pin));
//Insert
edge_delay_cache_[edge_id] = delay;
}
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf(" Edge %zu Atom Comb Delay: %g\n", size_t(edge_id), delay.value());
#endif
return delay;
}
inline tatum::Time PostClusterDelayCalculator::atom_setup_time(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
tatum::Time tsu = edge_delay_cache_[edge_id];
if(std::isnan(tsu.value())) {
//Miss
tatum::NodeId clock_node = tg.edge_src_node(edge_id);
VTR_ASSERT(tg.node_type(clock_node) == tatum::NodeType::CPIN);
tatum::NodeId in_node = tg.edge_sink_node(edge_id);
VTR_ASSERT(tg.node_type(in_node) == tatum::NodeType::SINK);
AtomPinId input_pin = netlist_lookup_.tnode_atom_pin(in_node);
AtomPinId clock_pin = netlist_lookup_.tnode_atom_pin(clock_node);
tsu = tatum::Time(atom_delay_calc_.atom_setup_time(clock_pin, input_pin));
//Insert
edge_delay_cache_[edge_id] = tsu;
}
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf(" Edge %zu Atom Tsu: %g\n", size_t(edge_id), tsu.value());
#endif
return tsu;
}
inline tatum::Time PostClusterDelayCalculator::atom_clock_to_q_delay(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
tatum::Time tco = edge_delay_cache_[edge_id];
if(std::isnan(tco.value())) {
//Miss
tatum::NodeId clock_node = tg.edge_src_node(edge_id);
VTR_ASSERT(tg.node_type(clock_node) == tatum::NodeType::CPIN);
tatum::NodeId out_node = tg.edge_sink_node(edge_id);
VTR_ASSERT(tg.node_type(out_node) == tatum::NodeType::SOURCE);
AtomPinId output_pin = netlist_lookup_.tnode_atom_pin(out_node);
AtomPinId clock_pin = netlist_lookup_.tnode_atom_pin(clock_node);
tco = tatum::Time(atom_delay_calc_.atom_clock_to_q_delay(clock_pin, output_pin));
//Insert
edge_delay_cache_[edge_id] = tco;
}
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf(" Edge %zu Atom Tco: %g\n", size_t(edge_id), tco.value());
#endif
return tco;
}
inline tatum::Time PostClusterDelayCalculator::atom_net_delay(const tatum::TimingGraph& tg, tatum::EdgeId edge_id) const {
//A net in the atom netlist consists of several different delay components:
//
// delay = launch_cluster_delay + inter_cluster_delay + capture_cluster_delay
//
//where:
// * launch_cluster_delay is the delay from the primitive output pin to the cluster output pin,
// * inter_cluster_delay is the routing delay through the inter-cluster routing network, and
// * catpure_cluster_delay is the delay from the cluster input pin to the primitive input pin
//
//Note that if the connection is completely absorbed within the cluster then inter_cluster_delay
//and capture_cluster_delay will both be zero.
tatum::Time edge_delay = edge_delay_cache_[edge_id];
if (std::isnan(edge_delay.value())) {
//Miss
//Note that the net pin pair will only be valid if we have already processed and cached
//the clb delays on a previous call
const t_net_pin* driver_clb_net_pin = nullptr;
const t_net_pin* sink_clb_net_pin = nullptr;
std::tie(driver_clb_net_pin, sink_clb_net_pin) = net_pin_cache_[edge_id];
if(driver_clb_net_pin == nullptr && sink_clb_net_pin == nullptr) {
//No cached intermediate results
tatum::NodeId src_node = tg.edge_src_node(edge_id);
tatum::NodeId sink_node = tg.edge_sink_node(edge_id);
AtomPinId atom_src_pin = netlist_lookup_.tnode_atom_pin(src_node);
VTR_ASSERT(atom_src_pin);
AtomPinId atom_sink_pin = netlist_lookup_.tnode_atom_pin(sink_node);
VTR_ASSERT(atom_sink_pin);
AtomBlockId atom_src_block = netlist_.pin_block(atom_src_pin);
AtomBlockId atom_sink_block = netlist_.pin_block(atom_sink_pin);
int clb_src_block = netlist_lookup_.atom_clb(atom_src_block);
VTR_ASSERT(clb_src_block >= 0);
int clb_sink_block = netlist_lookup_.atom_clb(atom_sink_block);
VTR_ASSERT(clb_sink_block >= 0);
const t_pb_graph_pin* src_gpin = netlist_lookup_.atom_pin_pb_graph_pin(atom_src_pin);
VTR_ASSERT(src_gpin);
const t_pb_graph_pin* sink_gpin = netlist_lookup_.atom_pin_pb_graph_pin(atom_sink_pin);
VTR_ASSERT(sink_gpin);
int src_pb_route_id = src_gpin->pin_count_in_cluster;
int sink_pb_route_id = sink_gpin->pin_count_in_cluster;
AtomNetId atom_net = netlist_.pin_net(atom_sink_pin);
VTR_ASSERT(g_blocks[clb_src_block].pb_route[src_pb_route_id].atom_net_id == atom_net);
VTR_ASSERT(g_blocks[clb_sink_block].pb_route[sink_pb_route_id].atom_net_id == atom_net);
//NOTE: even if both the source and sink atoms are contained in the same top-level
// CLB, the connection between them may not have been absorbed, and may go
// through the global routing network.
//We trace backward from the sink to the source
//Trace the delay from the atom sink pin back to either the atom source pin (in the same cluster),
//or a cluster input pin
VTR_ASSERT(sink_clb_net_pin == nullptr);
sink_clb_net_pin = find_pb_route_clb_input_net_pin(clb_sink_block, sink_pb_route_id);
if(sink_clb_net_pin != nullptr) {
//Connection leaves the CLB
VTR_ASSERT(driver_clb_net_pin == nullptr);
int net = sink_clb_net_pin->net;
driver_clb_net_pin = &g_clbs_nlist.net[net].pins[0];
VTR_ASSERT(driver_clb_net_pin != nullptr);
VTR_ASSERT(driver_clb_net_pin->block == clb_src_block);
tatum::Time driver_clb_delay = tatum::Time(clb_delay_calc_.internal_src_to_clb_output_delay(src_pb_route_id, driver_clb_net_pin));
tatum::Time net_delay = tatum::Time(inter_cluster_delay(driver_clb_net_pin, sink_clb_net_pin));
tatum::Time sink_clb_delay = tatum::Time(clb_delay_calc_.clb_input_to_internal_sink_delay(sink_clb_net_pin, sink_pb_route_id));
edge_delay = driver_clb_delay + net_delay + sink_clb_delay;
//Save the clb delays (but not the net dealy since it may change during placement)
//also save the net pins associated with this edge
driver_clb_delay_cache_[edge_id] = driver_clb_delay;
sink_clb_delay_cache_[edge_id] = sink_clb_delay;
net_pin_cache_[edge_id] = std::make_pair(driver_clb_net_pin, sink_clb_net_pin);
} else {
//Connection entirely within the CLB
VTR_ASSERT(clb_src_block == clb_sink_block);
edge_delay = tatum::Time(clb_delay_calc_.internal_src_to_internal_sink_delay(clb_src_block, src_pb_route_id, sink_pb_route_id));
//Save the delay, since it won't change during placement or routing
// Note that we cache the full edge delay for edges completely contained within CLBs
edge_delay_cache_[edge_id] = edge_delay;
}
} else {
//Calculate the edge delay using cached clb delays and the latest net delay
//
// Note: we do not need to handle the case of edges fully contained within CLBs,
// since such delays are cached using edge_delay_cache_ and is handled earlier
// before this point
VTR_ASSERT(driver_clb_net_pin != nullptr);
VTR_ASSERT(sink_clb_net_pin != nullptr);
tatum::Time driver_clb_delay = driver_clb_delay_cache_[edge_id];
VTR_ASSERT(!std::isnan(driver_clb_delay.value()));
tatum::Time sink_clb_delay = sink_clb_delay_cache_[edge_id];
VTR_ASSERT(!std::isnan(sink_clb_delay.value()));
tatum::Time net_delay = tatum::Time(inter_cluster_delay(driver_clb_net_pin, sink_clb_net_pin));
edge_delay = driver_clb_delay + net_delay + sink_clb_delay;
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf(" Edge %zu net delay: %g = %g + %g + %g (= clb_driver + net + clb_sink)\n",
size_t(edge_id),
edge_delay.value(),
driver_clb_delay.value(),
net_delay.value(),
sink_clb_delay.value());
#endif
}
} else {
#ifdef POST_CLUSTER_DELAY_CALC_DEBUG
vtr::printf(" Edge %zu CLB Internal delay: %g\n", size_t(edge_id), edge_delay.value());
#endif
}
VTR_ASSERT(!std::isnan(edge_delay.value()));
return edge_delay;
}
inline float PostClusterDelayCalculator::inter_cluster_delay(const t_net_pin* driver_clb_pin, const t_net_pin* sink_clb_pin) const {
int net = driver_clb_pin->net;
VTR_ASSERT(driver_clb_pin->net_pin == 0);
VTR_ASSERT(sink_clb_pin->net == net);
return net_delay_[net][sink_clb_pin->net_pin];
}
| [
"k.murray@utoronto.ca"
] | k.murray@utoronto.ca |
6e70d36b29d4556759c0fd1cfed8fc6eb2987dde | c4f536b3c150b4aa70e7b54aac6d7acd21a95b97 | /inc/dcs/math/optim/optimizer/nelder_mead_simplex.hpp | d93e5f51729347a1812c565a9460a5be485d3df3 | [
"Apache-2.0"
] | permissive | sguazt/dcsxx-bs-gt | f7c6f943924e6b129680a13032d88e9c02d98707 | e1ce87cb09a02f06ba204663436f6a4ea3bd79f3 | refs/heads/master | 2021-01-01T18:23:38.489475 | 2014-11-26T16:19:10 | 2014-11-26T16:19:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,979 | hpp | /**
* \file dcs/math/optim/optimizer/nelder_mead_simplex.hpp
*
* \brief Optimization based on the Nelder-Mead simplex method.
*
* References
* -# J.A. Nelder and R. Mead,
* "A simplex method for function minimization"
* The Computer Journal 7(4):308-313, Oxford Journals, 1965
* .
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*
* <hr/>
*
* Copyright (C) 2013 Marco Guazzone (marco.guazzone@gmail.com)
* [Distributed Computing System (DCS) Group,
* Computer Science Institute,
* Department of Science and Technological Innovation,
* University of Piemonte Orientale,
* Alessandria (Italy)]
*
* This file is part of dcsxx-commons (below referred to as "this program").
*
* 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/>.
*/
#ifndef DCS_MATH_OPTIM_OPTIMIZER_NELDER_MEAD_SIMPLEX_HPP
#define DCS_MATH_OPTIM_OPTIMIZER_NELDER_MEAD_SIMPLEX_HPP
#include <cmath>
#include <cstddef>
#include <dcs/assert.hpp>
#include <dcs/debug.hpp>
#include <dcs/exception.hpp>
#include <dcs/math/optim/detail/traits.hpp>
#include <dcs/math/optim/optimization_result.hpp>
#include <dcs/math/optim/tags.hpp>
#include <dcs/math/type/matrix.hpp>
#include <limits>
#include <stdexcept>
#ifdef DCS_DEBUG
# include <string>
#endif // DCS_DEBUG
#include <vector>
namespace dcs { namespace math { namespace optim {
/**
* \brief Optimizer based on the Nelder-Mead simplex method.
*
* The Nelder–Mead method or downhill simplex method or amoeba method is a
* commonly used nonlinear optimization technique, which is a well-defined
* numerical method for problems for which derivatives may not be known.
* The Nelder–Mead technique was proposed by John Nelder and Roger Mead in
* 1965 [1] and is a technique for minimizing an objective function in a
* many-dimensional space.
*
* The method uses the concept of a simplex, which is a special polytope of N+1
* vertices in N dimensions.
* The Nelder–Mead technique is a heuristic search method that can
* converge to non-stationary points on problems that can be solved by
* alternative methods.
*
* References
* -# John A. Nelder and Roger Mead,
* "A simplex method for function minimization"
* The Computer Journal 7(4):308-313, Oxford Journals, 1965
* .
*
* \author Marco Guazzone (marco.guazzone@gmail.com)
*/
template <typename ValueT, typename RealT=ValueT>
class nelder_mead_simplex_optimizer
{
private: typedef nelder_mead_simplex_optimizer<ValueT,RealT> self_type;
public: typedef ValueT value_type;
public: typedef RealT real_type;//XXX
public: typedef minimization_direction_tag direction_category;
public: nelder_mead_simplex_optimizer()
: x0_(),
alpha_(1),
beta_(0.5),
gamma_(2),
max_it_(::std::numeric_limits< ::std::size_t >::max()),
max_fev_(::std::numeric_limits< ::std::size_t >::max()),
rel_tol_(::std::sqrt(::std::numeric_limits<value_type>::epsilon())),
abs_tol_(-::std::numeric_limits<value_type>::infinity())
{
}
public: void x0(::std::vector<value_type> const& v)
{
x0_ = v;
}
public: ::std::vector<value_type> x0() const
{
return x0_;
}
public: void alpha(value_type v)
{
alpha_ = v;
}
public: value_type alpha() const
{
return alpha_;
}
public: void beta(value_type v)
{
beta_ = v;
}
public: value_type beta() const
{
return beta_;
}
public: void gamma(value_type v)
{
gamma_ = v;
}
public: value_type gamma() const
{
return gamma_;
}
public: void max_iterations(::std::size_t v)
{
max_it_ = v;
}
public: ::std::size_t max_iterations() const
{
return max_it_;
}
public: void max_evaluations(::std::size_t v)
{
max_fev_ = v;
}
public: ::std::size_t max_evaluations() const
{
return max_fev_;
}
public: void fx_relative_tolerance(value_type v)
{
rel_tol_ = v;
}
public: value_type fx_relative_tolerance() const
{
return rel_tol_;
}
public: template <typename FuncT>
optimization_result<value_type> optimize(FuncT fun)
{
const ::std::size_t n = x0_.size();
// pre: size(x0_) > 0
DCS_ASSERT(n > 0,
DCS_EXCEPTION_THROW(::std::invalid_argument,
"Empty initial value"));
DCS_DEBUG_TRACE("Nelder-Mead direct search function minimizer");
optimization_result<value_type> res;
if (max_it_ == 0 || max_fev_ == 0)
{
res.fopt = fun(x0_);
res.xopt = x0_;
res.converged = false;
res.failed = false;
return res;
}
::std::size_t nit = 0; // Number of iterations
::std::size_t nfev = 0; // Number of function evaluations
::std::vector<value_type> x(x0_);
value_type fx = fun(x);
++nfev;
// check: fun(x) is finite
DCS_ASSERT(::std::isfinite(fx),
DCS_EXCEPTION_THROW(::std::runtime_error,
"Function cannot be evaluation at initial value"));
DCS_DEBUG_TRACE("Function value for initial parameters = " << fx);
value_type conv_tol = rel_tol_ *(::std::abs(fx)+rel_tol_);
DCS_DEBUG_TRACE("Scaled convergence tolerance is " << conv_tol);
bool fail = false;
const ::std::size_t n1 = n+1;
::dcs::math::matrix<value_type> P(n+1,n1+1);
P(n1-1,0) = fx;
for (::std::size_t i = 0; i < n; ++i)
{
P(i,0) = x[i];
}
value_type size = 0;
value_type step = 0;
for (::std::size_t i = 0; i < n; ++i)
{
if ((0.1*::std::abs(x[i])) > step)
{
step = 0.1*::std::abs(x[i]);
}
}
if (detail::value_traits<value_type>::essentially_equal(step, 0.0))
{
step = 0.1;
}
DCS_DEBUG_TRACE("Stepsize computed as " << step);
#ifdef DCS_DEBUG
std::string action;
#endif // DCS_DEBUG
for (::std::size_t j = 2; j <= n1; ++j)
{
#ifdef DCS_DEBUG
action = "BUILD ";
#endif // DCS_DEBUG
for (::std::size_t i = 0; i < n; ++i)
{
P(i,j-1) = x[i];
}
value_type try_step = step;
while (detail::value_traits<value_type>::essentially_equal(P(j-2,j-1),x[j-2]))
{
P(j-2,j-1) = x[j-2] + try_step;
try_step *= 10;
}
size += try_step;
}
::std::size_t C = n+2;
::std::size_t L = 1;
value_type oldsize = size;
bool calcvert = true;
do
{
++nit;
if (calcvert)
{
for (::std::size_t j = 0; j < n1; ++j)
{
if ((j+1) != L)
{
for (::std::size_t i = 0; i < n; ++i)
{
x[i] = P(i,j);
}
fx = fun(x);
if (!::std::isfinite(fx))
{
fx = ::std::numeric_limits<value_type>::max();
}
++nfev;
P(n1-1,j) = fx;
}
}
calcvert = false;
}
value_type VL = P(n1-1,L-1);
value_type VH = VL;
::std::size_t H(L);
for (::std::size_t j = 1; j <= n1; ++j)
{
if (j != L)
{
fx = P(n1-1,j-1);
if (fx < VL)
{
L = j;
VL = fx;
}
if (fx > VH)
{
H = j;
VH = fx;
}
}
}
if (VH <= (VL+conv_tol) || VL <= abs_tol_)
{
break;
}
DCS_DEBUG_TRACE(action << nfev << " " << VH << " " << VL);
for (::std::size_t i = 0; i < n; ++i)
{
value_type temp(-P(i,H-1));
for (::std::size_t j = 0; j < n1; ++j)
{
temp += P(i,j);
}
P(i,C-1) = temp/n;
}
for (::std::size_t i = 0; i < n; ++i)
{
x[i] = (1+alpha_)*P(i,C-1)-alpha_*P(i,H-1);
}
fx = fun(x);
if (!::std::isfinite(fx))
{
fx = ::std::numeric_limits<value_type>::max();
}
++nfev;
#ifdef DCS_DEBUG
action = "REFLECTION ";
#endif // DCS_DEBUG
value_type VR(fx);
if (VR < VL)
{
P(n1-1,C-1) = fx;
for (::std::size_t i = 0; i < n; ++i)
{
fx = gamma_*x[i]+(1-gamma_)*P(i,C-1);
P(i,C-1) = x[i];
x[i] = fx;
}
fx = fun(x);
if (!::std::isfinite(fx))
{
fx = ::std::numeric_limits<value_type>::max();
}
++nfev;
if (fx < VR)
{
for (::std::size_t i = 0; i < n; ++i)
{
P(i,H-1) = x[i];
}
P(n1-1,H-1) = fx;
#ifdef DCS_DEBUG
action = "EXTENSION ";
#endif // DCS_DEBUG
}
else
{
for (::std::size_t i = 0; i < n; ++i)
{
P(i,H-1) = P(i,C-1);
}
P(n1-1,H-1) = VR;
}
}
else
{
#ifdef DCS_DEBUG
action = "HI-REDUCTION ";
#endif // DCS_DEBUG
if (VR < VH)
{
for (::std::size_t i = 0; i < n; ++i)
{
P(i,H-1) = x[i];
}
P(n1-1,H-1) = VR;
#ifdef DCS_DEBUG
action = "LO-REDUCTION ";
#endif // DCS_DEBUG
}
for (::std::size_t i = 0; i < n; ++i)
{
x[i] = (1-beta_)*P(i,H-1) + beta_*P(i,C-1);
}
fx = fun(x);
if (!::std::isfinite(fx))
{
fx = ::std::numeric_limits<value_type>::max();
}
++nfev;
if (fx < P(n1-1,H-1))
{
for (::std::size_t i = 0; i < n; ++i)
{
P(i,H-1) = x[i];
}
P(n1-1,H-1) = fx;
}
else
{
if (VR >= VH)
{
#ifdef DCS_DEBUG
action = "SHRINK ";
#endif // DCS_DEBUG
calcvert = true;
size = 0.0;
for (::std::size_t j = 0; j < n1; ++j)
{
if ((j+1) != L)
{
for (::std::size_t i = 0; i < n; ++i)
{
P(i,j) = beta_*(P(i,j) - P(i,L-1)) + P(i,L-1);
size += ::std::abs(P(i,j) - P(i,L-1));
}
}
}
if (size < oldsize)
{
oldsize = size;
}
else
{
DCS_DEBUG_TRACE("Polytope size measure not decreased in shrink");
fail = true;
break;
}
}
}
}
}
while (nfev <= max_fev_ && nit <= max_it_);
DCS_DEBUG_TRACE("Exiting from Nelder Mead minimizer");
DCS_DEBUG_TRACE(" " << nfev << " function evaluations used");
DCS_DEBUG_TRACE(" " << nit << " iterations performed");
if (nfev > max_fev_ || nit > max_it_)
{
fail = true;
}
res.xopt.reserve(n);
for (::std::size_t i = 0; i < n; ++i)
{
res.xopt[i] = P(i,L-1);
}
res.fopt = P(n1-1,L-1);
res.converged = !fail;
res.num_iter = nit;
res.num_feval = nfev;
res.failed = fail;
return res;
}
// /**
// * \brief Optimize the given function with random-restarts
// */
// public: template <typename FuncT, typename URNGT>
// optimization_result<value_type> optimize(FuncT fun, URNGT& gen, value_type eq_tol, ::std::size_t max_rnd_it)
// {
// optimization_result<value_type> best_res;
//
// for (::std::size_t i = 0; i < max_rnd_it; ++i)
// {
// x0_ = gen();
//
// optimization_result<value_type> res;
// res = this->optimize(fun);
//
// if (i > 0)
// {
// if (detail::direction_traits<self_type>::compare(res.fopt, best_res.fopt))
// {
// best_res = res;
// }
// else if (detail::value_traits<value_type>::essentially_equal(res.fopt, best_res.fopt, eq_tol))
// {
// break;
// }
// }
// else
// {
// best_res = res;
// }
// }
//
// return best_res;
// }
private: ::std::vector<value_type> x0_; ///< The initial value
private: value_type alpha_; ///< Reflection factor
private: value_type beta_; ///< Contraction factor
private: value_type gamma_; ///< Expansion factor
private: ::std::size_t max_it_; ///< Maximum number of iterations
private: ::std::size_t max_fev_; ///< Maximum number of function evaluations
private: value_type rel_tol_; ///< Relative convergence tolerance
private: value_type abs_tol_; ///< Absolute convergence tolerance
}; // nelder_mead_simplex_optimizer
}}} // Namespace dcs::math::optim
#endif // DCS_MATH_OPTIM_OPTIMIZER_NELDER_MEAD_SIMPLEX_HPP
| [
"marco.guazzone@gmail.com"
] | marco.guazzone@gmail.com |
d431a5d752c486c3ff8278c711964772ddb53d5a | 359aae86fb6cef89e70ee03d76d4aaf11db6b63d | /exchangeinfo.cpp | 9a2d3d43ee026448358069ca9bab65d05cba7865 | [] | no_license | Dbxwz/wkxt | fc58044a3e02644b033f0f8f94eeb3c0b7eb5a2e | 43326450343b42c1339ff4852f0f49fb85903921 | refs/heads/master | 2020-03-19T07:38:06.013851 | 2018-06-06T02:42:36 | 2018-06-06T02:42:36 | 136,134,081 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,490 | cpp | #include "exchangeinfo.h"
exchangeInfo::exchangeInfo()
{
}
exchangeInfo::exchangeInfo(QByteArray ba)
{
QJsonDocument jsonDoc = QJsonDocument::fromBinaryData(ba);
this->obj = jsonDoc.object();
}
QByteArray exchangeInfo::toByte()
{
QJsonDocument jsonDoc(this->obj);
return jsonDoc.toJson();
}
void exchangeInfo::insertAck(bool a)
{
this->obj.insert("Ack", QJsonValue(a));
}
bool exchangeInfo::getAck()
{
return this->obj["Ack"].toBool();
}
void exchangeInfo::insertCost(double a)
{
this->obj.insert("Cost", QJsonValue(a));
}
double exchangeInfo::getCost()
{
return this->obj["Cost"].toDouble();
}
void exchangeInfo::insertEnergy(double a)
{
this->obj.insert("Energy", QJsonValue(a));
}
double exchangeInfo::getEnergy()
{
return this->obj["Energy"].toDouble();
}
void exchangeInfo::insertID(QString str)
{
this->obj.insert("ID", QJsonValue(str));
}
QString exchangeInfo::getID()
{
return this->obj["ID"].toString();
}
void exchangeInfo::insertReply(int a)
{
this->obj.insert("Reply", QJsonValue(a));
}
int exchangeInfo::getReply()
{
return this->obj["Reply"].toInt();
}
void exchangeInfo::insertRoom(int a)
{
this->obj.insert("Room",QJsonValue(a));
}
int exchangeInfo::getRoom()
{
return this->obj["Room"].toInt();
}
void exchangeInfo::insertTem(int a)
{
this->obj.insert("Temperature",QJsonValue(a));
}
int exchangeInfo::getTem()
{
return this->obj["Temperature"].toInt();
}
void exchangeInfo::insertType(QString str)
{
this->obj.insert("Type", QJsonValue(str));
}
QString exchangeInfo::getType()
{
return this->obj["Type"].toString();
}
void exchangeInfo::insertWindSpeed(int a)
{
this->obj.insert("WindSpeed",QJsonValue(a));
}
int exchangeInfo::getWindSpeed()
{
return this->obj["WindSpeed"].toInt();
}
void exchangeInfo::insertWindType(int a)
{
this->obj.insert("WindType",QJsonValue(a));
}
int exchangeInfo::getWindType()
{
return this->obj["WindType"].toInt();
}
void exchangeInfo::energyAndCost(double energy, double cost)
{
this->obj.insert("Type","EnergyAndCost");
insertEnergy(energy);
insertCost(cost);
}
void exchangeInfo::replyForLogin(int reply)
{
this->obj.insert("Type","ReplyForLogin");
insertReply(reply);
}
void exchangeInfo::replyForState(bool ack)
{
this->obj.insert("Type","ReplyForState");
insertAck(ack);
}
void exchangeInfo::replyForWindSupply(bool ack)
{
this->obj.insert("Type","ReplyForWindSupply");
insertAck(ack);
}
void exchangeInfo::replyForStopWindSupply(bool ack)
{
this->obj.insert("Type","ReplyForStopWindSupply");
insertAck(ack);
}
void exchangeInfo::askWindSupply(int room, int tem, int winSpeed, int windType)
{
this->obj.insert("Type","AskWindSupply");
insertRoom(room);
insertTem(tem);
insertWindSpeed(winSpeed);
insertWindType(windType);
}
void exchangeInfo::stopWindSupply(int room)
{
this->obj.insert("Type","StopWindSupply");
insertRoom(room);
}
void exchangeInfo::askLogin(int room, QString id)
{
this->obj.insert("Type","AskLogin");
insertRoom(room);
insertID(id);
}
void exchangeInfo::askLogout(int room)
{
this->obj.insert("Type","AskLogout");
insertRoom(room);
}
void exchangeInfo::state(int room, int tem)
{
this->obj.insert("Type","State");
insertRoom(room);
insertTem(tem);
}
void exchangeInfo::replyForEnergyAndCost(bool ack)
{
this->obj.insert("Type","ReplyForEnergyAndCost");
insertAck(ack);
}
| [
"lzw2428486617@gmail.com"
] | lzw2428486617@gmail.com |
385739210738644c5c280c0f66394ce2362c0ec7 | 6498246d7955066892bbe31647e2c207f6106461 | /mpanel/main.cpp | 8505d517d2e72386e9af5371a0a7310b0b7ce5ff | [] | no_license | gjianw217/MoonIC2 | a060c026b8d16f06ca6b6272c40c71723a373232 | b607e583f7db8045c59f337921b5403048555c29 | refs/heads/master | 2020-03-09T06:06:54.808786 | 2018-04-08T10:45:30 | 2018-04-08T10:45:30 | 128,630,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | #include <QCoreApplication>
#include <QtDBus>
#include "qpaneladaptor.h"
#include "qpaneldbus.h"
#include "qpanel.h"
int main(int argc, char *argv[])
{
int ret;
QCoreApplication a(argc, argv);
QPanel *panel=new QPanel(&a);
Q_ASSERT(panel!=NULL);
if(argc>=2)
ret=panel->initializtion(argv[1]);
else
ret=panel->initializtion(NULL);
if(ret<0)
{
qDebug()<<"err:init serio port";
exit(-1);
return -1;
}
QPanelDbus *panelbus=new QPanelDbus(panel,&a);
Q_ASSERT(panelbus!=NULL);
QDBusConnection bus = QDBusConnection::systemBus();
QPanelAdaptor adaptor(panelbus);
if (!bus.registerService("com.mooncell.panel")) {
qDebug() <<"err:register dbus"<< bus.lastError().message();
exit(1);
}
if(! (bus.registerObject("/panel/path", &adaptor ,QDBusConnection::ExportAllSlots))){
qDebug() <<"err:register dbus object"<< bus.lastError().message();
exit(1);
}
#define DEBUG_0
#ifdef DEBUG_0
printf(" mpanel main ...\n\r");
#endif
panelbus->setLcdClear();
//panelbus->setLcdPos(1,1);
sleep(5);
panelbus->setLcd(4,0,"mooncell");
sleep(1);
panelbus->setLcd(4,1,"welcome");
printf(" mpanel main ...\n\r");
sleep(1);
//panelbus->setLcdPos(1,1);
//sleep(2);
//panelbus->setLcdPos(0,8);
//panelbus->setLcdLine(1,"welcome");
return a.exec();
}
| [
"gjianw217@163.com"
] | gjianw217@163.com |
863fbf78ccd492f44cf28f7fe627f8fdafd8846d | 7eae31e3d80d8d6784725f991dfa8eea27b2f5be | /sources/Camera.cpp | 9cc1a93206e71d9b718b175f24a1feb9e9005aae | [] | no_license | Fakizer/RayTracing | e40e0e847c7e51894e444321a0564a75931b94f6 | 9d6d74dffd91af4947c279dd7e60a01fd2b01d3b | refs/heads/master | 2020-03-17T08:31:56.020112 | 2018-05-15T01:31:03 | 2018-05-15T01:31:03 | 133,441,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | #include "Camera.hpp"
Camera::Camera() {}
Camera::Camera(Vect o, Vect la) : origin(o), look_at(la) {
this->cw = origin.add(look_at.negative()).normalize();
this->cu = cw.negative().crossProduct(Vect(0, 0, 1)).normalize();
this->cv = cw.negative().crossProduct(cu);
}
void Camera::calcRay(double xamnt, double yamnt) {
Vect dir = cw.negative().add(cu.mult(xamnt - 0.5).add(cv.negative().mult(yamnt - 0.5))).normalize();
this->ray = Ray(origin, dir);
}
Ray Camera::getCameraRay() { return ray; }
Camera::~Camera() {}
| [
"valerii@Valeriis-Mac.local"
] | valerii@Valeriis-Mac.local |
798117cbe955ce8310cf754713bce9c8927124c1 | d0d699bfef1459b0a1ef32d16b9bd4172efd9705 | /Classes/LoadingScene.h | c5e1d96b1e41cceb1149e81f1143a3e734eb700b | [] | no_license | gengu6585/cocos2d-game | f2500eb7e60de141f6492a5ea645b243e1a4d1d0 | 0c1eba61f47aaa612b37099ced48b56aaaf45704 | refs/heads/master | 2023-02-25T05:30:45.028877 | 2021-02-03T09:31:24 | 2021-02-03T09:31:24 | 335,571,571 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 687 | h | #pragma once //保证后面的代码只执行一次
#include "cocos2d.h"
using namespace cocos2d;
class LoadingScene: public cocos2d::CCLayer
{
public:
// 创建场景
static cocos2d::CCScene* scene();
// 初始化
virtual bool init();
// 创建层
CREATE_FUNC(LoadingScene);
//切换到Hello界面的按钮的回调函数
// void 函数名(CCObject* pSender);
void seqChangeScene();
void ChangeSceneMenu1(CCObject* pSender);
private:
CCMenuItemImage* ToHello;
CCMenuItemSprite* JunpOver; //跳过按钮
CCSprite* NoTouchJunpOver; //ToScene1没有按下的状态
CCSprite* OnTouchJunpOver; //ToScene1按下的状态
CCMenu* pMenu;
};
| [
"2352462017@qq.com"
] | 2352462017@qq.com |
3db7d71ea76ce164c4ffac302a34d912634c77b6 | aba6c403aa4b8fe1ba19d14669062172c413e29a | /Sem 2/Object Computing Lab/Extras/example.cpp | b12b2e93fb3231f3454816a2bd854723ba2d1520 | [] | no_license | rsreenivas2001/LabMain | 3aa38526a40eb0496ab27dbdbfefde966077a6a6 | 249adc5f3189169cf9ed696e0234b11f7d2c028d | refs/heads/master | 2021-07-06T19:21:30.819464 | 2021-04-05T17:07:49 | 2021-04-05T17:07:49 | 232,073,123 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include<iostream>
using namespace std;
class example
{
int x;
int y;
float z;
public:
example(){x=10;y=20;z=31.5;}
};
int main()
{
example ex;
int *a=(int*)&ex;
cout<<*a;
a=a+1;
cout<<endl<<*a;
a=a+2;
cout<<endl<<*a;
} | [
"rsreenivas2001@gmail.com"
] | rsreenivas2001@gmail.com |
d412f0cf6385371d07d4d1c28b13372e88f33c6b | 04b021cb3fd6274a80ed322775fd4bc14cf161ea | /datastructures/Trees/array to post order/main.cpp | 069425df8558700441790005416053ca97437284 | [] | no_license | ashishcas/programs | f402c82fdac1aefca2db123db2391c441acf333d | fbfd90fa06b36346033b63e33619af34b9e9caf1 | refs/heads/master | 2020-03-17T13:53:40.676577 | 2019-08-20T15:54:04 | 2019-08-20T15:54:04 | 133,649,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | #include<bits/stdc++.h>
using namespace std;
/* A Binary Tree node */
struct TNode
{
int data;
struct TNode* left;
struct TNode* right;
};
struct TNode* newNode(int data)
{
struct TNode* node = (struct TNode*)
malloc(sizeof(struct TNode));
node->data = data;
node->left = NULL;
node->right = NULL;
return node;
}
/* A function that constructs Balanced Binary Search Tree from a sorted array */
struct TNode* sortedArrayToBST(int arr[], int start, int end)
{
/* Base Case */
if (start > end)
return NULL;
/* Get the middle element and make it root */
int mid = (start + end)/2;
struct TNode *root = newNode(arr[mid]);
/* Recursively construct the left subtree and make it
left child of root */
root->left = sortedArrayToBST(arr, start, mid-1);
/* Recursively construct the right subtree and make it
right child of root */
root->right = sortedArrayToBST(arr, mid+1, end);
return root;
}
/* Helper function that allocates a new node with the
given data and NULL left and right pointers. */
/* A utility function to print preorder traversal of BST */
void preOrder(struct TNode* node)
{
if (node == NULL)
return;
preOrder(node->left);
preOrder(node->right);
printf("%d ", node->data);
}
bool check(int a[],int n)
{
stack<int> s;
int root1 = INT_MIN;
for(int i=0;i<n;i++)
{
if(a[i]< root1)
return false;
while(!s.empty() && s.top() < a[i])
{
root1 = s.top();
s.pop();
}
s.push(a[i]);
}
return true;
}
int main()
{
int N;
cin>>N;
while(N--)
{
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
{
cin>>a[i];
}
if(check(a,n))
{
sort(a,a+n);
TNode *root = sortedArrayToBST(a,0,n-1);
preOrder(root);
}
else
{
cout<<"NO";
}
cout<<endl;
}
}
| [
"chilukaashish@gmail.com"
] | chilukaashish@gmail.com |
432cf901d2acf68ea3e8b80dbe0cc7be143e1f61 | f32b36ad31c573e8f2c1ff4dc53d4326b1ad367b | /cpp/module1/ex05/main.cpp | fce416f9ac89b5e0126198a44a7c372fea6863f7 | [] | no_license | re-mouse/all-study-projects | dac15ade020d9489a5cc3ccffba94f4280163f97 | ba95ab19ddd306da1188c8f9cc2bf2450cb3f440 | refs/heads/master | 2023-03-03T02:39:50.187237 | 2021-02-11T08:17:05 | 2021-02-11T08:17:05 | 337,967,515 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include "Human.hpp"
int main()
{
Human bob;
std::cout << bob.identify() << std::endl;
std::cout << bob.getBrain().identify() << std::endl;
} | [
"fmouse@gmail.com"
] | fmouse@gmail.com |
d1b089f79c2392247086b082d5d5d5cbf2958f35 | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /ARDEN/touchstone/include/touchstone/gl/resources/frameBufferResource.hpp | 2b238228dea62999be8ce720508227c2261944fe | [] | 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 | 1,568 | hpp | // This file is a part of ARDEN.
//
// Look, but don't touch.
//
// Copyright 2017 [bk]door.maus
#ifndef TOUCHSTONE_GL_RESOURCES_FRAME_BUFFER_RESOURCE_HPP
#define TOUCHSTONE_GL_RESOURCES_FRAME_BUFFER_RESOURCE_HPP
#include <unordered_map>
#include <unordered_set>
#include "touchstone/gl/types.hpp"
#include "touchstone/gl/resource.hpp"
namespace touchstone
{
class FrameBufferResource : public Resource
{
public:
FrameBufferResource(Context* context, GLuint name);
~FrameBufferResource() = default;
void attach_texture(
GLenum attachment, GLuint name, GLuint level, GLuint layer);
void attach_render_buffer(GLenum attachment, GLuint name);
void remove_attachment(GLenum attachment);
bool has_attachment(GLenum attachment) const;
bool is_texture_attachment(GLenum attachment) const;
bool is_render_buffer_attachment(GLenum attachment) const;
GLuint get_attachment_name(GLenum attachment) const;
GLsizei get_width() const;
GLsizei get_height() const;
private:
typedef std::unordered_set<GLenum> AttachmentCollection;
AttachmentCollection attachments;
struct TextureAttachment
{
GLuint name;
GLuint level;
GLuint layer;
};
std::unordered_map<GLenum, TextureAttachment> textures;
struct RenderBufferAttachment
{
GLuint name;
};
std::unordered_map<GLenum, RenderBufferAttachment> render_buffers;
public:
typedef AttachmentCollection::const_iterator const_attachment_iterator;
const_attachment_iterator attachments_begin() const;
const_attachment_iterator attachments_end() const;
};
}
#endif
| [
"squeak@erinmaus.com"
] | squeak@erinmaus.com |
84c26f475aa098495a0be29e8e3dd056edde857e | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/wave/cpp_iteration_context.hpp | 7c9152d0c2e6e7133ef5ead39607756b777bd6e6 | [
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 7,515 | hpp | /*=============================================================================
Boost.Wave: A Standard compliant C++ preprocessor library
Definition of the preprocessor context
http://www.boost.org/
Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
Software License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#if !defined(CPP_ITERATION_CONTEXT_HPP_00312288_9DDB_4668_AFE5_25D3994FD095_INCLUDED)
#define CPP_ITERATION_CONTEXT_HPP_00312288_9DDB_4668_AFE5_25D3994FD095_INCLUDED
#include <iterator>
#include <fstream>
#if defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS)
#include <sstream>
#endif
#include <boost/wave/wave_config.hpp>
#include <boost/wave/cpp_exceptions.hpp>
#include <boost/wave/language_support.hpp>
#include <boost/wave/util/file_position.hpp>
///////////////////////////////////////////////////////////////////////////////
namespace boost {
namespace wave {
namespace iteration_context_policies {
///////////////////////////////////////////////////////////////////////////////
//
// The iteration_context_policies templates are policies for the
// boost::wave::iteration_context which allows to control, how a given input file
// is to be represented by a pair of iterators pointing to the begin and
// the end of the resulting input sequence.
//
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
//
// load_file_to_string
//
// Loads a file into a string and returns the iterators pointing to
// the beginning and the end of the loaded string.
//
///////////////////////////////////////////////////////////////////////////
struct load_file_to_string
{
template <typename IterContextT>
class inner
{
public:
template <typename PositionT>
static
void init_iterators(IterContextT &iter_ctx,
PositionT const &act_pos)
{
typedef typename IterContextT::iterator_type iterator_type;
std::ifstream instream(iter_ctx.filename.c_str());
if (!instream.is_open()) {
BOOST_WAVE_THROW(preprocess_exception, bad_include_file,
iter_ctx.filename.c_str(), act_pos);
}
instream.unsetf(std::ios::skipws);
#if defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS)
// this is known to be very slow for large files on some systems
std::copy (istream_iterator<char>(instream),
istream_iterator<char>(),
std::inserter(iter_ctx.instring, iter_ctx.instring.end()));
#else
iter_ctx.instring = std::string(
std::istreambuf_iterator<char>(instream.rdbuf()),
std::istreambuf_iterator<char>());
#endif // defined(BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS)
iter_ctx.first = iterator_type(iter_ctx.instring.begin(),
iter_ctx.instring.end(), PositionT(iter_ctx.filename),
iter_ctx.language);
iter_ctx.last = iterator_type();
}
private:
std::string instring;
};
};
///////////////////////////////////////////////////////////////////////////////
//
// load_file
//
// The load_file policy opens a given file and returns the wrapped
// istreambuf_iterators.
//
///////////////////////////////////////////////////////////////////////////////
struct load_file
{
template <typename IterContextT>
class inner {
public:
~inner() { if (instream.is_open()) instream.close(); }
template <typename PositionT>
static
void init_iterators(IterContextT &iter_ctx,
PositionT const &act_pos)
{
typedef typename IterContextT::iterator_type iterator_type;
iter_ctx.instream.open(iter_ctx.filename.c_str());
if (!iter_ctx.instream.is_open()) {
BOOST_WAVE_THROW(preprocess_exception, bad_include_file,
iter_ctx.filename.c_str(), act_pos);
}
iter_ctx.instream.unsetf(std::ios::skipws);
using boost::spirit::make_multi_pass;
iter_ctx.first = iterator_type(
make_multi_pass(std::istreambuf_iterator<char>(
iter_ctx.instream.rdbuf())),
make_multi_pass(std::istreambuf_iterator<char>()),
PositionT(iter_ctx.filename), iter_ctx.language);
iter_ctx.last = iterator_type();
}
private:
std::ifstream instream;
};
};
} // namespace iterattion_context_policies
///////////////////////////////////////////////////////////////////////////////
//
template <typename IteratorT>
struct base_iteration_context
{
public:
base_iteration_context(
BOOST_WAVE_STRINGTYPE const &fname, std::size_t if_block_depth = 0)
: real_filename(fname), filename(fname), line(1), emitted_lines(1),
if_block_depth(if_block_depth)
{}
base_iteration_context(IteratorT const &first_, IteratorT const &last_,
BOOST_WAVE_STRINGTYPE const &fname, std::size_t if_block_depth = 0)
: first(first_), last(last_), real_filename(fname), filename(fname),
line(1), emitted_lines(1), if_block_depth(if_block_depth)
{}
// the actual input stream
IteratorT first; // actual input stream position
IteratorT last; // end of input stream
BOOST_WAVE_STRINGTYPE real_filename; // real name of the current file
BOOST_WAVE_STRINGTYPE filename; // actual processed file
unsigned int line; // line counter of underlying stream
unsigned int emitted_lines; // count of emitted newlines
std::size_t if_block_depth; // depth of #if block recursion
};
///////////////////////////////////////////////////////////////////////////////
//
template <
typename IteratorT,
typename InputPolicyT =
iteration_context_policies::load_file_to_string
>
struct iteration_context
: public base_iteration_context<IteratorT>,
public InputPolicyT::template
inner<iteration_context<IteratorT, InputPolicyT> >
{
typedef IteratorT iterator_type;
typedef typename IteratorT::token_type::position_type position_type;
typedef iteration_context<IteratorT, InputPolicyT> self_type;
iteration_context(BOOST_WAVE_STRINGTYPE const &fname,
position_type const &act_pos,
boost::wave::language_support language_)
: base_iteration_context<IteratorT>(fname),
language(language_)
{
InputPolicyT::template inner<self_type>::init_iterators(*this, act_pos);
}
boost::wave::language_support language;
};
///////////////////////////////////////////////////////////////////////////////
} // namespace wave
} // namespace boost
#endif // !defined(CPP_ITERATION_CONTEXT_HPP_00312288_9DDB_4668_AFE5_25D3994FD095_INCLUDED)
| [
"quhang@stanford.edu"
] | quhang@stanford.edu |
a620943b36cf2ebe5ed95b41271c5c991f181691 | d2f7372122f0a3f2257f867aba7932bd4ab1a9ec | /src/miner.cpp | ccef6f20e4b1fb339885ae3e522a04cad0fd408e | [
"MIT"
] | permissive | ezaruba/CobraBytes | 538d01d9c00329a6c2674c994c5fcb017a77b61f | 6a070a6f93d23414031b1e2042438fb5d79d14bc | refs/heads/master | 2020-04-14T20:34:06.995279 | 2018-09-08T08:49:36 | 2018-09-08T08:49:36 | 164,098,699 | 1 | 0 | null | 2019-01-04T11:22:16 | 2019-01-04T11:22:16 | null | UTF-8 | C++ | false | false | 19,986 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 The NovaCoin developers
// Copyright (c) 2017 The CobraBytes developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "miner.h"
#include "kernel.h"
using namespace std;
//////////////////////////////////////////////////////////////////////////////
//
// BitcoinMiner
//
extern unsigned int nMinerSleep;
int static FormatHashBlocks(void* pbuffer, unsigned int len)
{
unsigned char* pdata = (unsigned char*)pbuffer;
unsigned int blocks = 1 + ((len + 8) / 64);
unsigned char* pend = pdata + 64 * blocks;
memset(pdata + len, 0, 64 * blocks - len);
pdata[len] = 0x80;
unsigned int bits = len * 8;
pend[-1] = (bits >> 0) & 0xff;
pend[-2] = (bits >> 8) & 0xff;
pend[-3] = (bits >> 16) & 0xff;
pend[-4] = (bits >> 24) & 0xff;
return blocks;
}
static const unsigned int pSHA256InitState[8] =
{0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19};
void SHA256Transform(void* pstate, void* pinput, const void* pinit)
{
SHA256_CTX ctx;
unsigned char data[64];
SHA256_Init(&ctx);
for (int i = 0; i < 16; i++)
((uint32_t*)data)[i] = ByteReverse(((uint32_t*)pinput)[i]);
for (int i = 0; i < 8; i++)
ctx.h[i] = ((uint32_t*)pinit)[i];
SHA256_Update(&ctx, data, sizeof(data));
for (int i = 0; i < 8; i++)
((uint32_t*)pstate)[i] = ctx.h[i];
}
// Some explaining would be appreciated
class COrphan
{
public:
CTransaction* ptx;
set<uint256> setDependsOn;
double dPriority;
double dFeePerKb;
COrphan(CTransaction* ptxIn)
{
ptx = ptxIn;
dPriority = dFeePerKb = 0;
}
void print() const
{
printf("COrphan(hash=%s, dPriority=%.1f, dFeePerKb=%.1f)\n",
ptx->GetHash().ToString().substr(0,10).c_str(), dPriority, dFeePerKb);
BOOST_FOREACH(uint256 hash, setDependsOn)
printf(" setDependsOn %s\n", hash.ToString().substr(0,10).c_str());
}
};
uint64_t nLastBlockTx = 0;
uint64_t nLastBlockSize = 0;
int64_t nLastCoinStakeSearchInterval = 0;
// We want to sort transactions by priority and fee, so:
typedef boost::tuple<double, double, CTransaction*> TxPriority;
class TxPriorityCompare
{
bool byFee;
public:
TxPriorityCompare(bool _byFee) : byFee(_byFee) { }
bool operator()(const TxPriority& a, const TxPriority& b)
{
if (byFee)
{
if (a.get<1>() == b.get<1>())
return a.get<0>() < b.get<0>();
return a.get<1>() < b.get<1>();
}
else
{
if (a.get<0>() == b.get<0>())
return a.get<1>() < b.get<1>();
return a.get<0>() < b.get<0>();
}
}
};
// CreateNewBlock: create new block (without proof-of-work/proof-of-stake)
CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake, int64_t* pFees)
{
// Create new block
auto_ptr<CBlock> pblock(new CBlock());
if (!pblock.get())
return NULL;
CBlockIndex* pindexPrev = pindexBest;
// Create coinbase tx
CTransaction txNew;
txNew.vin.resize(1);
txNew.vin[0].prevout.SetNull();
txNew.vout.resize(1);
if (!fProofOfStake)
{
CReserveKey reservekey(pwallet);
CPubKey pubkey;
if (!reservekey.GetReservedKey(pubkey))
return NULL;
txNew.vout[0].scriptPubKey.SetDestination(pubkey.GetID());
}
else
{
// Height first in coinbase required for block.version=2
txNew.vin[0].scriptSig = (CScript() << pindexPrev->nHeight+1) + COINBASE_FLAGS;
assert(txNew.vin[0].scriptSig.size() <= 100);
txNew.vout[0].SetEmpty();
}
// Add our coinbase tx as first transaction
pblock->vtx.push_back(txNew);
// Largest block you're willing to create:
unsigned int nBlockMaxSize = GetArg("-blockmaxsize", MAX_BLOCK_SIZE_GEN/2);
// Limit to betweeen 1K and MAX_BLOCK_SIZE-1K for sanity:
nBlockMaxSize = std::max((unsigned int)1000, std::min((unsigned int)(MAX_BLOCK_SIZE-1000), nBlockMaxSize));
// How much of the block should be dedicated to high-priority transactions,
// included regardless of the fees they pay
unsigned int nBlockPrioritySize = GetArg("-blockprioritysize", 27000);
nBlockPrioritySize = std::min(nBlockMaxSize, nBlockPrioritySize);
// Minimum block size you want to create; block will be filled with free transactions
// until there are no more or the block reaches this size:
unsigned int nBlockMinSize = GetArg("-blockminsize", 0);
nBlockMinSize = std::min(nBlockMaxSize, nBlockMinSize);
// Fee-per-kilobyte amount considered the same as "free"
// Be careful setting this: if you set it to zero then
// a transaction spammer can cheaply fill blocks using
// 1-satoshi-fee transactions. It should be set above the real
// cost to you of processing a transaction.
int64_t nMinTxFee = MIN_TX_FEE;
if (mapArgs.count("-mintxfee"))
ParseMoney(mapArgs["-mintxfee"], nMinTxFee);
pblock->nBits = GetNextTargetRequired(pindexPrev, fProofOfStake);
// Collect memory pool transactions into the block
int64_t nFees = 0;
{
LOCK2(cs_main, mempool.cs);
CTxDB txdb("r");
// Priority order to process transactions
list<COrphan> vOrphan; // list memory doesn't move
map<uint256, vector<COrphan*> > mapDependers;
// This vector will be sorted into a priority queue:
vector<TxPriority> vecPriority;
vecPriority.reserve(mempool.mapTx.size());
for (map<uint256, CTransaction>::iterator mi = mempool.mapTx.begin(); mi != mempool.mapTx.end(); ++mi)
{
CTransaction& tx = (*mi).second;
if (tx.IsCoinBase() || tx.IsCoinStake() || !tx.IsFinal())
continue;
COrphan* porphan = NULL;
double dPriority = 0;
int64_t nTotalIn = 0;
bool fMissingInputs = false;
BOOST_FOREACH(const CTxIn& txin, tx.vin)
{
// Read prev transaction
CTransaction txPrev;
CTxIndex txindex;
if (!txPrev.ReadFromDisk(txdb, txin.prevout, txindex))
{
// This should never happen; all transactions in the memory
// pool should connect to either transactions in the chain
// or other transactions in the memory pool.
if (!mempool.mapTx.count(txin.prevout.hash))
{
printf("ERROR: mempool transaction missing input\n");
if (fDebug) assert("mempool transaction missing input" == 0);
fMissingInputs = true;
if (porphan)
vOrphan.pop_back();
break;
}
// Has to wait for dependencies
if (!porphan)
{
// Use list for automatic deletion
vOrphan.push_back(COrphan(&tx));
porphan = &vOrphan.back();
}
mapDependers[txin.prevout.hash].push_back(porphan);
porphan->setDependsOn.insert(txin.prevout.hash);
nTotalIn += mempool.mapTx[txin.prevout.hash].vout[txin.prevout.n].nValue;
continue;
}
int64_t nValueIn = txPrev.vout[txin.prevout.n].nValue;
nTotalIn += nValueIn;
int nConf = txindex.GetDepthInMainChain();
dPriority += (double)nValueIn * nConf;
}
if (fMissingInputs) continue;
// Priority is sum(valuein * age) / txsize
unsigned int nTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION);
dPriority /= nTxSize;
// This is a more accurate fee-per-kilobyte than is used by the client code, because the
// client code rounds up the size to the nearest 1K. That's good, because it gives an
// incentive to create smaller transactions.
double dFeePerKb = double(nTotalIn-tx.GetValueOut()) / (double(nTxSize)/1000.0);
if (porphan)
{
porphan->dPriority = dPriority;
porphan->dFeePerKb = dFeePerKb;
}
else
vecPriority.push_back(TxPriority(dPriority, dFeePerKb, &(*mi).second));
}
// Collect transactions into block
map<uint256, CTxIndex> mapTestPool;
uint64_t nBlockSize = 1000;
uint64_t nBlockTx = 0;
int nBlockSigOps = 100;
bool fSortedByFee = (nBlockPrioritySize <= 0);
TxPriorityCompare comparer(fSortedByFee);
std::make_heap(vecPriority.begin(), vecPriority.end(), comparer);
while (!vecPriority.empty())
{
// Take highest priority transaction off the priority queue:
double dPriority = vecPriority.front().get<0>();
double dFeePerKb = vecPriority.front().get<1>();
CTransaction& tx = *(vecPriority.front().get<2>());
std::pop_heap(vecPriority.begin(), vecPriority.end(), comparer);
vecPriority.pop_back();
// Size limits
unsigned int nTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION);
if (nBlockSize + nTxSize >= nBlockMaxSize)
continue;
// Legacy limits on sigOps:
unsigned int nTxSigOps = tx.GetLegacySigOpCount();
if (nBlockSigOps + nTxSigOps >= MAX_BLOCK_SIGOPS)
continue;
// Timestamp limit
if (tx.nTime > GetAdjustedTime() || (fProofOfStake && tx.nTime > pblock->vtx[0].nTime))
continue;
// Transaction fee
int64_t nMinFee = tx.GetMinFee(nBlockSize, GMF_BLOCK);
// Skip free transactions if we're past the minimum block size:
if (fSortedByFee && (dFeePerKb < nMinTxFee) && (nBlockSize + nTxSize >= nBlockMinSize))
continue;
// Prioritize by fee once past the priority size or we run out of high-priority
// transactions:
if (!fSortedByFee &&
((nBlockSize + nTxSize >= nBlockPrioritySize) || (dPriority < COIN * 144 / 250)))
{
fSortedByFee = true;
comparer = TxPriorityCompare(fSortedByFee);
std::make_heap(vecPriority.begin(), vecPriority.end(), comparer);
}
// Connecting shouldn't fail due to dependency on other memory pool transactions
// because we're already processing them in order of dependency
map<uint256, CTxIndex> mapTestPoolTmp(mapTestPool);
MapPrevTx mapInputs;
bool fInvalid;
if (!tx.FetchInputs(txdb, mapTestPoolTmp, false, true, mapInputs, fInvalid))
continue;
int64_t nTxFees = tx.GetValueIn(mapInputs)-tx.GetValueOut();
if (nTxFees < nMinFee)
continue;
nTxSigOps += tx.GetP2SHSigOpCount(mapInputs);
if (nBlockSigOps + nTxSigOps >= MAX_BLOCK_SIGOPS)
continue;
if (!tx.ConnectInputs(txdb, mapInputs, mapTestPoolTmp, CDiskTxPos(1,1,1), pindexPrev, false, true))
continue;
mapTestPoolTmp[tx.GetHash()] = CTxIndex(CDiskTxPos(1,1,1), tx.vout.size());
swap(mapTestPool, mapTestPoolTmp);
// Added
pblock->vtx.push_back(tx);
nBlockSize += nTxSize;
++nBlockTx;
nBlockSigOps += nTxSigOps;
nFees += nTxFees;
if (fDebug && GetBoolArg("-printpriority"))
{
printf("priority %.1f feeperkb %.1f txid %s\n",
dPriority, dFeePerKb, tx.GetHash().ToString().c_str());
}
// Add transactions that depend on this one to the priority queue
uint256 hash = tx.GetHash();
if (mapDependers.count(hash))
{
BOOST_FOREACH(COrphan* porphan, mapDependers[hash])
{
if (!porphan->setDependsOn.empty())
{
porphan->setDependsOn.erase(hash);
if (porphan->setDependsOn.empty())
{
vecPriority.push_back(TxPriority(porphan->dPriority, porphan->dFeePerKb, porphan->ptx));
std::push_heap(vecPriority.begin(), vecPriority.end(), comparer);
}
}
}
}
}
nLastBlockTx = nBlockTx;
nLastBlockSize = nBlockSize;
if (fDebug && GetBoolArg("-printpriority"))
printf("CreateNewBlock(): total size %"PRIu64"\n", nBlockSize);
if (!fProofOfStake)
pblock->vtx[0].vout[0].nValue = GetProofOfWorkReward(nFees);
if (pFees)
*pFees = nFees;
// Fill in header
pblock->hashPrevBlock = pindexPrev->GetBlockHash();
pblock->nTime = max(pindexPrev->GetPastTimeLimit()+1, pblock->GetMaxTransactionTime());
pblock->nTime = max(pblock->GetBlockTime(), PastDrift(pindexPrev->GetBlockTime()));
if (!fProofOfStake)
pblock->UpdateTime(pindexPrev);
pblock->nNonce = 0;
}
return pblock.release();
}
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce)
{
// Update nExtraNonce
static uint256 hashPrevBlock;
if (hashPrevBlock != pblock->hashPrevBlock)
{
nExtraNonce = 0;
hashPrevBlock = pblock->hashPrevBlock;
}
++nExtraNonce;
unsigned int nHeight = pindexPrev->nHeight+1; // Height first in coinbase required for block.version=2
pblock->vtx[0].vin[0].scriptSig = (CScript() << nHeight << CBigNum(nExtraNonce)) + COINBASE_FLAGS;
assert(pblock->vtx[0].vin[0].scriptSig.size() <= 100);
pblock->hashMerkleRoot = pblock->BuildMerkleTree();
}
void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash1)
{
//
// Pre-build hash buffers
//
struct
{
struct unnamed2
{
int nVersion;
uint256 hashPrevBlock;
uint256 hashMerkleRoot;
unsigned int nTime;
unsigned int nBits;
unsigned int nNonce;
}
block;
unsigned char pchPadding0[64];
uint256 hash1;
unsigned char pchPadding1[64];
}
tmp;
memset(&tmp, 0, sizeof(tmp));
tmp.block.nVersion = pblock->nVersion;
tmp.block.hashPrevBlock = pblock->hashPrevBlock;
tmp.block.hashMerkleRoot = pblock->hashMerkleRoot;
tmp.block.nTime = pblock->nTime;
tmp.block.nBits = pblock->nBits;
tmp.block.nNonce = pblock->nNonce;
FormatHashBlocks(&tmp.block, sizeof(tmp.block));
FormatHashBlocks(&tmp.hash1, sizeof(tmp.hash1));
// Byte swap all the input buffer
for (unsigned int i = 0; i < sizeof(tmp)/4; i++)
((unsigned int*)&tmp)[i] = ByteReverse(((unsigned int*)&tmp)[i]);
// Precalc the first half of the first hash, which stays constant
SHA256Transform(pmidstate, &tmp.block, pSHA256InitState);
memcpy(pdata, &tmp.block, 128);
memcpy(phash1, &tmp.hash1, 64);
}
bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey)
{
uint256 hashBlock = pblock->GetHash();
uint256 hashTarget = CBigNum().SetCompact(pblock->nBits).getuint256();
if(!pblock->IsProofOfWork())
return error("CheckWork() : %s is not a proof-of-work block", hashBlock.GetHex().c_str());
if (hashBlock > hashTarget)
return error("CheckWork() : proof-of-work not meeting target");
//// debug print
printf("CheckWork() : new proof-of-work block found \n hash: %s \ntarget: %s\n", hashBlock.GetHex().c_str(), hashTarget.GetHex().c_str());
pblock->print();
printf("generated %s\n", FormatMoney(pblock->vtx[0].vout[0].nValue).c_str());
// Found a solution
{
LOCK(cs_main);
if (pblock->hashPrevBlock != hashBestChain)
return error("CheckWork() : generated block is stale");
// Remove key from key pool
reservekey.KeepKey();
// Track how many getdata requests this block gets
{
LOCK(wallet.cs_wallet);
wallet.mapRequestCount[hashBlock] = 0;
}
// Process this block the same as if we had received it from another node
if (!ProcessBlock(NULL, pblock))
return error("CheckWork() : ProcessBlock, block not accepted");
}
return true;
}
bool CheckStake(CBlock* pblock, CWallet& wallet)
{
uint256 proofHash = 0, hashTarget = 0;
uint256 hashBlock = pblock->GetHash();
if(!pblock->IsProofOfStake())
return error("CheckStake() : %s is not a proof-of-stake block", hashBlock.GetHex().c_str());
// verify hash target and signature of coinstake tx
if (!CheckProofOfStake(pblock->vtx[1], pblock->nBits, proofHash, hashTarget))
return error("CheckStake() : proof-of-stake checking failed");
//// debug print
printf("CheckStake() : new proof-of-stake block found \n hash: %s \nproofhash: %s \ntarget: %s\n", hashBlock.GetHex().c_str(), proofHash.GetHex().c_str(), hashTarget.GetHex().c_str());
pblock->print();
printf("out %s\n", FormatMoney(pblock->vtx[1].GetValueOut()).c_str());
// Found a solution
{
LOCK(cs_main);
if (pblock->hashPrevBlock != hashBestChain)
return error("CheckStake() : generated block is stale");
// Track how many getdata requests this block gets
{
LOCK(wallet.cs_wallet);
wallet.mapRequestCount[hashBlock] = 0;
}
// Process this block the same as if we had received it from another node
if (!ProcessBlock(NULL, pblock))
return error("CheckStake() : ProcessBlock, block not accepted");
}
return true;
}
void StakeMiner(CWallet *pwallet)
{
SetThreadPriority(THREAD_PRIORITY_LOWEST);
// Make this thread recognisable as the mining thread
RenameThread("CobraBytes-miner");
bool fTryToSync = true;
while (true)
{
if (fShutdown)
return;
while (pwallet->IsLocked())
{
nLastCoinStakeSearchInterval = 0;
MilliSleep(1000);
if (fShutdown)
return;
}
while (vNodes.empty() || IsInitialBlockDownload())
{
nLastCoinStakeSearchInterval = 0;
fTryToSync = true;
MilliSleep(1000);
if (fShutdown)
return;
}
if (fTryToSync)
{
fTryToSync = false;
if (vNodes.size() < 3 || nBestHeight < GetNumBlocksOfPeers())
{
MilliSleep(60000);
continue;
}
}
//
// Create new block
//
int64_t nFees;
auto_ptr<CBlock> pblock(CreateNewBlock(pwallet, true, &nFees));
if (!pblock.get())
return;
// Trying to sign a block
if (pblock->SignBlock(*pwallet, nFees))
{
SetThreadPriority(THREAD_PRIORITY_NORMAL);
CheckStake(pblock.get(), *pwallet);
SetThreadPriority(THREAD_PRIORITY_LOWEST);
MilliSleep(500);
}
else
MilliSleep(nMinerSleep);
}
}
| [
"kristoff88@protonmail.com"
] | kristoff88@protonmail.com |
17222dfc9b27b1d6b32d0ac0d415c6203a0391c8 | f67c1c118ea826658121f67dd2fb3000485278e2 | /js_antonio/fooCDtect/src/MainWnd.h | b8bdc2b70bcfd4c8d05141891d0440d171ae6f0e | [] | no_license | antonioriva/foobar2000-conf | 0335cfae55efa82fe171f94ddd467c89225b7897 | 7327ff3521fe8aab013a7408c3e698475388f0d8 | refs/heads/master | 2020-05-21T15:00:07.473912 | 2018-05-20T06:43:00 | 2018-05-20T06:43:00 | 61,384,072 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,546 | h | #pragma once
#include <vector>
#include <CommCtrl.h>
#include <strsafe.h>
#define _SIZE_X_ 575
#define _SIZE_Y_ 300
#define BK_EVEN RGB(255, 255, 255)
#define BK_ODD RGB(220, 220, 220)
#define LENSTDOUT 2000
struct LISTITEM
{
int idx;
int tsort;
int rez_type; // результат (1 - CDDA, 2 - MPEG, 3 - unknown, 4 - неверный файл)
wchar_t rez_prob[5]; // вероятность
wchar_t FileName[MAX_PATH]; // полное имя файла
wchar_t StdOut[LENSTDOUT]; // всё что было в stdout
int progress;
DWORD len;
COLORREF clBk;
DWORD dwProcId1;
DWORD dwProcId2;
LISTITEM()
{
StringCchCopy(StdOut, LENSTDOUT, L"");
StringCchCopy(FileName, MAX_PATH, L"");
rez_type = -1;
idx = 0;
tsort = 0;
progress = -1;
len = 0;
clBk = BK_EVEN;
dwProcId1 = 0;
dwProcId2 = 0;
};
};
struct tagCMDL;
class VecStrings
{
std::vector <wchar_t *> strings;
int alllen;
public:
VecStrings(){ alllen = 0; };
~VecStrings(){ ClearMas(); }
void AddString(wchar_t *str)
{
int inlen = lstrlen(str);
if( inlen == 0 ) return;
wchar_t *news = new wchar_t[ inlen + 1 ];
StringCchCopy(news, inlen + 1, str);
strings.push_back(news);
alllen += inlen;
}
int get_size(){ return (int)strings.size(); }
int getalllen(){ return alllen; }
void ClearMas()
{
for( int i = 0; i < get_size(); i++ ) delete [] strings[i];
strings.clear();
alllen = 0;
}
const wchar_t *operator[] (int index)
{
if( index >= get_size() ) return NULL;
return strings[index];
}
};
class MainWnd
{
HWND hWnd; // главное окно
HWND hList; // лист
HWND hStatus;
HINSTANCE hInstance;
int max_thr;
int cur_thr;
std::vector <LISTITEM> tracks;
int index;
wchar_t last_path[MAX_PATH];
wchar_t file_ext[MAX_PATH];
wchar_t m_temppath[MAX_PATH];
int m_mode;
HICON shell_icon;
HACCEL hAccel;
int lastDrawItem;
bool autodel;
int lformat;
int lencoding;
int priority;
// хэндлы для рисования прогресса
bool tFl;
HDC tDC;
HFONT tFont;
HBRUSH tBrush;
COLORREF tGrad[1000];
public:
MainWnd(tagCMDL cmdl);
~MainWnd()
{
CloseMutex(); // тут уже ничего не принимаем, вероятно проверяющие потоки
// сами удалят файлы..
ReleaseProgressDraw();
Clean();
};
void Run(); // этим запускаем извне
protected:
void SetWinTitle();
void MyRegisterClass();
static LRESULT CALLBACK WndProc(HWND ,UINT ,WPARAM ,LPARAM );
LRESULT ClassProc(HWND, UINT, WPARAM, LPARAM );
void CreateMainWnd();
void ErrorMessageBox(const wchar_t *str);
void SetRez(wchar_t *StdOut, int item);
bool isFileNameTemp(const wchar_t *);
void GetNames();
bool FindName(wchar_t Directory[], int des_pos, wchar_t fname[]);
void Clean();
int Find_aucdtectProc(wchar_t *log, size_t cchDest);
void ChangePriorityClasses(DWORD newpriority);
void DeleteTracks();
void FindLastPath();
bool isDone();
bool GetSaveFile(wchar_t *s, size_t cchDest);
void ChangeTempFNameToReal(int idx, const wchar_t fname[]);
void SaveAll();
void SaveSelected();
void AutoSaveAll();
// bool SaveResult(bool f_all);
bool SaveList(std::vector <LISTITEM> &trlist, const wchar_t *fname);
void ShowStats();
bool GetCheckerString(wchar_t out_str[], size_t cchDest);
bool SaveLogToFile(const wchar_t * str, const wchar_t * filename);
// статус
void SetStatusText1();
void SetStatusText2();
void SetStatusText3(const wchar_t *);
void StatusBarDBClick();
void StatusBarChangePriority();
//////////////////////////////////////////////////////////////////////////
// функции листа
void CreateListView();
void AddListItem(const wchar_t* prog);
void SetItemText(int pos, int subpos, const wchar_t *str){
ListView_SetItemText(hList, pos, subpos, (LPWSTR)str);
}
void SelectAll();
void InvertSelection();
void DrawItemProgress(int item, DWORD state, HDC hDC);
void CreateItemProgress(HDC &t100, int iw, int ih, int item);
void SetItemFileName(int pos, const wchar_t* fname);
void SetItemProgress(int pos, int protz);
void SetItemLenght(int pos, DWORD len);
void SetItemResult(int pos, int rez_type, const wchar_t* prob);
int GetPosByIndex(int idx);
void SortListByDirectory(bool save = false);
void RedrawListFromTracks();
void InitProgressDraw(HDC hdc, int height);
void ReleaseProgressDraw();
void ChangeMenuRadioCheck(const int nID, const int *masIDs)
{
CheckMenuRadioItem( GetMenu(hWnd), masIDs[0], masIDs[2], nID, MF_BYCOMMAND);
}
bool isMenuItemRadioChecked(const int nID);
int GetPosEncoding();
int GetPosFormat();
// собщения
void OnClose();
LRESULT OnSize();
LRESULT OnNewThread();
void OnCopyData(int item, PCOPYDATASTRUCT lParam);
void OnLength(int item, DWORD length);
void OnProgress(int item, int pos);
void OnListDbClick(LPARAM lp);
void OnListItemChanged(LPARAM lP);
LRESULT OnLVCustomDraw(LPARAM lParam);
void OnListContextMenu(LPARAM lParam);
};
void PathFindPath(const wchar_t* fname, wchar_t* outpath, size_t cchDest);
void PathFindFilenameNoExt(const wchar_t* fname, wchar_t* outpath, size_t cchDest);
void PathFindFullFilenameNoExt(const wchar_t* fname, wchar_t* outpath, size_t cchDest);
size_t SafeStrLen(const wchar_t *, size_t cchMax);
void SortVectorByFileName(std::vector <LISTITEM> &slist);
void GetProcessNameByID( DWORD processID , wchar_t *szProcessNameOut, size_t cchDest);
int Terminate_aucdtectProc( DWORD processID );
| [
"antonio.riva@gmail.com"
] | antonio.riva@gmail.com |
98c923390a7585f791b7c0fa625e690542b7f063 | 0d4045acc9f0efc2cf38e8b9dee4f178d5e77f06 | /test/stress/set/iteration/set_iteration.h | 7757b874e55c56ff67068a831644fe266343b129 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | Tsiannian/libcds | f69b32840ae87fe195915cb59421fdbffb856320 | 1223f3c790581a0f741cffdd46fa20ed1a3da498 | refs/heads/master | 2021-01-11T06:10:32.821647 | 2016-10-17T11:50:10 | 2016-10-17T11:50:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,001 | h | /*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
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.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "set_type.h"
#include <cds_test/city.h>
namespace set {
// Test for set's thread-safe iterator:
// Several thread inserts/erases elemets from the set.
// Dedicated Iterator thread iterates over the set, calculates CityHash for each element
// and stores it in the element.
// Test goal: no crash
#define TEST_CASE(TAG, X) void X();
class Set_Iteration: public cds_test::stress_fixture
{
public:
static size_t s_nSetSize; // set size
static size_t s_nInsertThreadCount; // count of insertion thread
static size_t s_nDeleteThreadCount; // count of deletion thread
static size_t s_nThreadPassCount; // pass count for each thread
static size_t s_nMaxLoadFactor; // maximum load factor
static size_t s_nCuckooInitialSize; // initial size for CuckooSet
static size_t s_nCuckooProbesetSize; // CuckooSet probeset size (only for list-based probeset)
static size_t s_nCuckooProbesetThreshold; // CUckooSet probeset threshold (0 - use default)
static size_t s_nFeldmanSet_HeadBits;
static size_t s_nFeldmanSet_ArrayBits;
static size_t s_nLoadFactor;
static std::vector<std::string> m_arrString;
static void SetUpTestCase();
static void TearDownTestCase();
void on_modifier_done()
{
m_nModifierCount.fetch_sub( 1, atomics::memory_order_relaxed );
}
bool all_modifiers_done() const
{
return m_nModifierCount.load( atomics::memory_order_relaxed ) == 0;
}
typedef std::string key_type;
struct value_type
{
size_t val;
uint64_t hash;
explicit value_type( size_t v )
: val(v)
, hash(0)
{}
};
private:
enum {
insert_thread,
delete_thread,
extract_thread,
iterator_thread
};
atomics::atomic<size_t> m_nModifierCount;
template <class Set>
class Inserter: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
typedef typename Set::value_type keyval_type;
public:
size_t m_nInsertSuccess = 0;
size_t m_nInsertFailed = 0;
public:
Inserter( cds_test::thread_pool& pool, Set& set )
: base_class( pool, insert_thread )
, m_Set( set )
{}
Inserter( Inserter& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Inserter( *this );
}
virtual void test()
{
Set& rSet = m_Set;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
size_t nArrSize = m_arrString.size();
size_t const nSetSize = fixture.s_nSetSize;
size_t const nPassCount = fixture.s_nThreadPassCount;
if ( id() & 1 ) {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = 0; nItem < nSetSize; ++nItem ) {
if ( rSet.insert( keyval_type( m_arrString[nItem % nArrSize], nItem * 8 )))
++m_nInsertSuccess;
else
++m_nInsertFailed;
}
}
}
else {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = nSetSize; nItem > 0; --nItem ) {
if ( rSet.insert( keyval_type( m_arrString[nItem % nArrSize], nItem * 8 )))
++m_nInsertSuccess;
else
++m_nInsertFailed;
}
}
}
fixture.on_modifier_done();
}
};
template <class Set>
class Deleter: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
public:
size_t m_nDeleteSuccess = 0;
size_t m_nDeleteFailed = 0;
public:
Deleter( cds_test::thread_pool& pool, Set& set )
: base_class( pool, delete_thread )
, m_Set( set )
{}
Deleter( Deleter& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Deleter( *this );
}
virtual void test()
{
Set& rSet = m_Set;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
size_t nArrSize = m_arrString.size();
size_t const nSetSize = fixture.s_nSetSize;
size_t const nPassCount = fixture.s_nThreadPassCount;
if ( id() & 1 ) {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = 0; nItem < nSetSize; ++nItem ) {
if ( rSet.erase( m_arrString[nItem % nArrSize] ))
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
}
}
else {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = nSetSize; nItem > 0; --nItem ) {
if ( rSet.erase( m_arrString[nItem % nArrSize] ))
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
}
}
fixture.on_modifier_done();
}
};
template <typename GC, class Set>
class Extractor: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
public:
size_t m_nDeleteSuccess = 0;
size_t m_nDeleteFailed = 0;
public:
Extractor( cds_test::thread_pool& pool, Set& set )
: base_class( pool, extract_thread )
, m_Set( set )
{}
Extractor( Extractor& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Extractor( *this );
}
virtual void test()
{
Set& rSet = m_Set;
typename Set::guarded_ptr gp;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
size_t nArrSize = m_arrString.size();
size_t const nSetSize = fixture.s_nSetSize;
size_t const nPassCount = fixture.s_nThreadPassCount;
if ( id() & 1 ) {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = 0; nItem < nSetSize; ++nItem ) {
gp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( gp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
gp.release();
}
}
}
else {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = nSetSize; nItem > 0; --nItem ) {
gp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( gp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
gp.release();
}
}
}
fixture.on_modifier_done();
}
};
template <typename RCU, class Set>
class Extractor<cds::urcu::gc<RCU>, Set >: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
public:
size_t m_nDeleteSuccess = 0;
size_t m_nDeleteFailed = 0;
public:
Extractor( cds_test::thread_pool& pool, Set& set )
: base_class( pool, extract_thread )
, m_Set( set )
{}
Extractor( Extractor& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Extractor( *this );
}
virtual void test()
{
Set& rSet = m_Set;
typename Set::exempt_ptr xp;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
size_t nArrSize = m_arrString.size();
size_t const nSetSize = fixture.s_nSetSize;
size_t const nPassCount = fixture.s_nThreadPassCount;
if ( id() & 1 ) {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = 0; nItem < nSetSize; ++nItem ) {
if ( Set::c_bExtractLockExternal ) {
typename Set::rcu_lock l;
xp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( xp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
else {
xp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( xp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
xp.release();
}
}
}
else {
for ( size_t nPass = 0; nPass < nPassCount; ++nPass ) {
for ( size_t nItem = nSetSize; nItem > 0; --nItem ) {
if ( Set::c_bExtractLockExternal ) {
typename Set::rcu_lock l;
xp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( xp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
else {
xp = rSet.extract( m_arrString[nItem % nArrSize] );
if ( xp )
++m_nDeleteSuccess;
else
++m_nDeleteFailed;
}
xp.release();
}
}
}
fixture.on_modifier_done();
}
};
template <typename GC, class Set>
class Iterator: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
typedef typename Set::value_type keyval_type;
public:
size_t m_nPassCount = 0;
size_t m_nVisitCount = 0; // how many items the iterator visited
public:
Iterator( cds_test::thread_pool& pool, Set& set )
: base_class( pool, iterator_thread )
, m_Set( set )
{}
Iterator( Iterator& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Iterator( *this );
}
virtual void test()
{
Set& rSet = m_Set;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
while ( !fixture.all_modifiers_done() ) {
++m_nPassCount;
typename Set::iterator it;
typename Set::iterator itEnd;
itEnd = rSet.end();
for ( it = rSet.begin(); it != itEnd; ++it ) {
#if CDS_BUILD_BITS == 64
it->val.hash = CityHash64( it->key.c_str(), it->key.length());
#else
it->val.hash = std::hash<std::string>()( it->key );
#endif
++m_nVisitCount;
}
}
}
};
template <typename RCU, class Set>
class Iterator<cds::urcu::gc<RCU>, Set>: public cds_test::thread
{
typedef cds_test::thread base_class;
Set& m_Set;
typedef typename Set::value_type keyval_type;
public:
size_t m_nPassCount = 0;
size_t m_nVisitCount = 0; // how many items the iterator visited
public:
Iterator( cds_test::thread_pool& pool, Set& set )
: base_class( pool, iterator_thread )
, m_Set( set )
{}
Iterator( Iterator& src )
: base_class( src )
, m_Set( src.m_Set )
{}
virtual thread * clone()
{
return new Iterator( *this );
}
virtual void test()
{
Set& rSet = m_Set;
Set_Iteration& fixture = pool().template fixture<Set_Iteration>();
while ( !fixture.all_modifiers_done() ) {
++m_nPassCount;
typename Set::rcu_lock l;
for ( auto it = rSet.begin(); it != rSet.end(); ++it ) {
#if CDS_BUILD_BITS == 64
it->val.hash = CityHash64( it->key.c_str(), it->key.length() );
#else
it->val.hash = std::hash<std::string>()(it->key);
#endif
++m_nVisitCount;
}
}
}
};
protected:
template <class Set>
void do_test( Set& testSet )
{
typedef Inserter<Set> InserterThread;
typedef Deleter<Set> DeleterThread;
typedef Iterator<typename Set::gc, Set> IteratorThread;
cds_test::thread_pool& pool = get_pool();
pool.add( new InserterThread( pool, testSet ), s_nInsertThreadCount );
pool.add( new DeleterThread( pool, testSet ), s_nDeleteThreadCount );
m_nModifierCount.store( pool.size(), atomics::memory_order_relaxed );
pool.add( new IteratorThread( pool, testSet ), 1 );
propout() << std::make_pair( "insert_thread_count", s_nInsertThreadCount )
<< std::make_pair( "delete_thread_count", s_nDeleteThreadCount )
<< std::make_pair( "thread_pass_count", s_nThreadPassCount )
<< std::make_pair( "set_size", s_nSetSize );
std::chrono::milliseconds duration = pool.run();
propout() << std::make_pair( "duration", duration );
size_t nInsertSuccess = 0;
size_t nInsertFailed = 0;
size_t nDeleteSuccess = 0;
size_t nDeleteFailed = 0;
size_t nIteratorPassCount = 0;
size_t nIteratorVisitCount = 0;
for ( size_t i = 0; i < pool.size(); ++i ) {
cds_test::thread& thr = pool.get( i );
switch ( thr.type() ) {
case insert_thread:
{
InserterThread& inserter = static_cast<InserterThread&>( thr );
nInsertSuccess += inserter.m_nInsertSuccess;
nInsertFailed += inserter.m_nInsertFailed;
}
break;
case delete_thread:
{
DeleterThread& deleter = static_cast<DeleterThread&>(thr);
nDeleteSuccess += deleter.m_nDeleteSuccess;
nDeleteFailed += deleter.m_nDeleteFailed;
}
break;
case iterator_thread:
{
IteratorThread& iter = static_cast<IteratorThread&>(thr);
nIteratorPassCount += iter.m_nPassCount;
nIteratorVisitCount += iter.m_nVisitCount;
}
break;
default:
assert( false ); // Forgot anything?..
}
}
propout()
<< std::make_pair( "insert_success", nInsertSuccess )
<< std::make_pair( "delete_success", nDeleteSuccess )
<< std::make_pair( "insert_failed", nInsertFailed )
<< std::make_pair( "delete_failed", nDeleteFailed )
<< std::make_pair( "iterator_pass_count", nIteratorPassCount )
<< std::make_pair( "iterator_visit_count", nIteratorVisitCount )
<< std::make_pair( "final_set_size", testSet.size() );
testSet.clear();
EXPECT_TRUE( testSet.empty() );
additional_check( testSet );
print_stat( propout(), testSet );
additional_cleanup( testSet );
}
template <class Set>
void do_test_extract( Set& testSet )
{
typedef Inserter<Set> InserterThread;
typedef Deleter<Set> DeleterThread;
typedef Extractor<typename Set::gc, Set> ExtractThread;
typedef Iterator<typename Set::gc, Set> IteratorThread;
size_t const nDelThreadCount = s_nDeleteThreadCount / 2;
size_t const nExtractThreadCount = s_nDeleteThreadCount - nDelThreadCount;
cds_test::thread_pool& pool = get_pool();
pool.add( new InserterThread( pool, testSet ), s_nInsertThreadCount );
pool.add( new DeleterThread( pool, testSet ), nDelThreadCount );
pool.add( new ExtractThread( pool, testSet ), nExtractThreadCount );
m_nModifierCount.store( pool.size(), atomics::memory_order_relaxed );
pool.add( new IteratorThread( pool, testSet ), 1 );
propout() << std::make_pair( "insert_thread_count", s_nInsertThreadCount )
<< std::make_pair( "delete_thread_count", nDelThreadCount )
<< std::make_pair( "extract_thread_count", nExtractThreadCount )
<< std::make_pair( "thread_pass_count", s_nThreadPassCount )
<< std::make_pair( "set_size", s_nSetSize );
std::chrono::milliseconds duration = pool.run();
propout() << std::make_pair( "duration", duration );
size_t nInsertSuccess = 0;
size_t nInsertFailed = 0;
size_t nDeleteSuccess = 0;
size_t nDeleteFailed = 0;
size_t nExtractSuccess = 0;
size_t nExtractFailed = 0;
size_t nIteratorPassCount = 0;
size_t nIteratorVisitCount = 0;
for ( size_t i = 0; i < pool.size(); ++i ) {
cds_test::thread& thr = pool.get( i );
switch ( thr.type() ) {
case insert_thread:
{
InserterThread& inserter = static_cast<InserterThread&>(thr);
nInsertSuccess += inserter.m_nInsertSuccess;
nInsertFailed += inserter.m_nInsertFailed;
}
break;
case delete_thread:
{
DeleterThread& deleter = static_cast<DeleterThread&>(thr);
nDeleteSuccess += deleter.m_nDeleteSuccess;
nDeleteFailed += deleter.m_nDeleteFailed;
}
break;
case extract_thread:
{
ExtractThread& extractor = static_cast<ExtractThread&>(thr);
nExtractSuccess += extractor.m_nDeleteSuccess;
nExtractFailed += extractor.m_nDeleteFailed;
}
break;
case iterator_thread:
{
IteratorThread& iter = static_cast<IteratorThread&>(thr);
nIteratorPassCount += iter.m_nPassCount;
nIteratorVisitCount += iter.m_nVisitCount;
}
break;
default:
assert( false ); // Forgot anything?..
}
}
propout()
<< std::make_pair( "insert_success", nInsertSuccess )
<< std::make_pair( "delete_success", nDeleteSuccess )
<< std::make_pair( "extract_success", nExtractSuccess )
<< std::make_pair( "insert_failed", nInsertFailed )
<< std::make_pair( "delete_failed", nDeleteFailed )
<< std::make_pair( "extract_failed", nExtractFailed )
<< std::make_pair( "iterator_pass_count", nIteratorPassCount )
<< std::make_pair( "iterator_visit_count", nIteratorVisitCount )
<< std::make_pair( "final_set_size", testSet.size() );
testSet.clear();
EXPECT_TRUE( testSet.empty() );
additional_check( testSet );
print_stat( propout(), testSet );
additional_cleanup( testSet );
}
template <class Set>
void run_test()
{
ASSERT_TRUE( m_arrString.size() > 0 );
Set s( *this );
do_test( s );
}
template <class Set>
void run_test_extract()
{
ASSERT_TRUE( m_arrString.size() > 0 );
Set s( *this );
do_test_extract( s );
}
};
class Set_Iteration_LF: public Set_Iteration
, public ::testing::WithParamInterface<size_t>
{
public:
template <class Set>
void run_test()
{
s_nLoadFactor = GetParam();
propout() << std::make_pair( "load_factor", s_nLoadFactor );
Set_Iteration::run_test<Set>();
}
template <class Set>
void run_test_extract()
{
s_nLoadFactor = GetParam();
propout() << std::make_pair( "load_factor", s_nLoadFactor );
Set_Iteration::run_test_extract<Set>();
}
static std::vector<size_t> get_load_factors();
};
} // namespace set
| [
"libcds.dev@gmail.com"
] | libcds.dev@gmail.com |
89350ec73d41cddccb3e473512c39534b1abe056 | f81d275e672825976c613c4cd4c5e24db07506d0 | /AreaFiguras/Rombo/Rombo.cpp | f69e9cb272b2f385033dfc83e7ee9524fff0b08f | [] | no_license | ttomascard/Ejercicios-C-Plus-Plus | 1a8a650b9d740cb54f9b911409b4d106e0b2c771 | a17b14497052c7f997807033b574d9991a220613 | refs/heads/main | 2023-04-19T16:14:11.205956 | 2021-05-13T19:39:59 | 2021-05-13T19:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main()
{
float d, d2, resultado;
cout<<"Calcule el area de un rombo"<<endl;
cout<<endl<<"Ingrese la longitud de la Diagonal mayor"<<endl;
cin>>d;
cout<<"Ingrese la longitud de la Diagonal menor"<<endl;
cin>>d2;
system("cls");
resultado= d*d2/2;
cout<<"El area del rombo es: "<<resultado<<endl;
cout<<endl<<"Hecho por Tomas Cardona Montoya"<<endl;
//Hecho por Tomas Cardona Montoya
system("pause");
}
| [
"tomascard3108@gmail.com"
] | tomascard3108@gmail.com |
d57daa7b55863d54a108f30cf6ddc99a8a092a41 | 24cd93a27b4b8bf66002747e04717b09a8a076a1 | /Rush00/ACharacter.cpp | 6eca47fb027839abf64ce315bb25de65f6224aa8 | [] | no_license | ygarrot/PiscineCpp | d4a8895bb7817a49aa017e09a0941a9985d024b6 | 50b061bf65c08aca72ae17b9d469302317467633 | refs/heads/master | 2021-10-11T04:16:11.622207 | 2019-01-21T20:18:05 | 2019-01-21T20:18:05 | 166,874,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,131 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ACharacter.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jdavin <jdavin@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/01/12 11:57:00 by jdavin #+# #+# */
/* Updated: 2019/01/13 23:27:22 by ygarrot ### ########.fr */
/* */
/* ************************************************************************** */
#include "ACharacter.hpp"
ACharacter::ACharacter(): _score(0), _hp(1){
this->_type = "Character";
this->_hitboxSize[Y]=1;
this->_hitboxSize[X]=1;
this->_hitbox[0][0] = '&';
this->_position.x = 0;
this->_position.y = 0;
}
ACharacter::~ACharacter(void) {
delete this->_weapon;
}
ACharacter::ACharacter(ACharacter const &src) {
*this = src;
}
void ACharacter::displayInfo(WINDOW *info)
{
(void)info;
/* mvwprintw(info, 2, (COLS *4) /5, "hp:%d score:%d", this->_hp, this->_score); */
}
ACharacter &ACharacter::operator=(ACharacter const & src) {
AGameEntity::operator=(src);
this->_name = src._name;
this->_hp = src._hp;
this->_weapon = src._weapon;
return *this;
}
void ACharacter::takeDamage(int dmge) {
if (dmge > 0)
this->_hp -= dmge < this->_hp ? dmge : this->_hp;
}
int ACharacter::getHp(void) const {
return this->_hp;
}
std::string ACharacter::getName(void) const {
return this->_name;
}
void ACharacter::equip(AWeapon const & weapon) {
*this->_weapon = weapon;
}
AWeapon *ACharacter::getWeapon(void) const {
return this->_weapon;
}
AGameEntity *ACharacter::attack(void)
{
return this->_weapon->attack(this->_position);
}
| [
"garrot.yoan1@gmail.com"
] | garrot.yoan1@gmail.com |
95b9d972382cc2eac0411975db7329f8afb05373 | 30a03b509ed189f6a0e0574883a255774965e93e | /flightlib/src/envs/quadrotor_env/quadrotor_env.cpp | 8f80af3772bc7abe5b74ae65ed16b1c5569f7c7f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | uzh-rpg/flightmare | efdf34f546348b870307e4c375b0bf82fbf256d2 | d4218aedac18cbe9364a0a0df10ab992c4b65e4f | refs/heads/master | 2023-08-13T17:25:46.427864 | 2023-05-15T08:41:51 | 2023-05-15T08:41:51 | 279,581,575 | 811 | 346 | NOASSERTION | 2023-04-18T04:30:00 | 2020-07-14T12:40:25 | C++ | UTF-8 | C++ | false | false | 6,528 | cpp | #include "flightlib/envs/quadrotor_env/quadrotor_env.hpp"
namespace flightlib {
QuadrotorEnv::QuadrotorEnv()
: QuadrotorEnv(getenv("FLIGHTMARE_PATH") +
std::string("/flightlib/configs/quadrotor_env.yaml")) {}
QuadrotorEnv::QuadrotorEnv(const std::string &cfg_path)
: EnvBase(),
pos_coeff_(0.0),
ori_coeff_(0.0),
lin_vel_coeff_(0.0),
ang_vel_coeff_(0.0),
act_coeff_(0.0),
goal_state_((Vector<quadenv::kNObs>() << 0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0)
.finished()) {
// load configuration file
YAML::Node cfg_ = YAML::LoadFile(cfg_path);
quadrotor_ptr_ = std::make_shared<Quadrotor>();
// update dynamics
QuadrotorDynamics dynamics;
dynamics.updateParams(cfg_);
quadrotor_ptr_->updateDynamics(dynamics);
// define a bounding box
world_box_ << -20, 20, -20, 20, 0, 20;
if (!quadrotor_ptr_->setWorldBox(world_box_)) {
logger_.error("cannot set wolrd box");
};
// define input and output dimension for the environment
obs_dim_ = quadenv::kNObs;
act_dim_ = quadenv::kNAct;
Scalar mass = quadrotor_ptr_->getMass();
act_mean_ = Vector<quadenv::kNAct>::Ones() * (-mass * Gz) / 4;
act_std_ = Vector<quadenv::kNAct>::Ones() * (-mass * 2 * Gz) / 4;
// load parameters
loadParam(cfg_);
}
QuadrotorEnv::~QuadrotorEnv() {}
bool QuadrotorEnv::reset(Ref<Vector<>> obs, const bool random) {
quad_state_.setZero();
quad_act_.setZero();
if (random) {
// randomly reset the quadrotor state
// reset position
quad_state_.x(QS::POSX) = uniform_dist_(random_gen_);
quad_state_.x(QS::POSY) = uniform_dist_(random_gen_);
quad_state_.x(QS::POSZ) = uniform_dist_(random_gen_) + 5;
if (quad_state_.x(QS::POSZ) < -0.0)
quad_state_.x(QS::POSZ) = -quad_state_.x(QS::POSZ);
// reset linear velocity
quad_state_.x(QS::VELX) = uniform_dist_(random_gen_);
quad_state_.x(QS::VELY) = uniform_dist_(random_gen_);
quad_state_.x(QS::VELZ) = uniform_dist_(random_gen_);
// reset orientation
quad_state_.x(QS::ATTW) = uniform_dist_(random_gen_);
quad_state_.x(QS::ATTX) = uniform_dist_(random_gen_);
quad_state_.x(QS::ATTY) = uniform_dist_(random_gen_);
quad_state_.x(QS::ATTZ) = uniform_dist_(random_gen_);
quad_state_.qx /= quad_state_.qx.norm();
}
// reset quadrotor with random states
quadrotor_ptr_->reset(quad_state_);
// reset control command
cmd_.t = 0.0;
cmd_.thrusts.setZero();
// obtain observations
getObs(obs);
return true;
}
bool QuadrotorEnv::getObs(Ref<Vector<>> obs) {
quadrotor_ptr_->getState(&quad_state_);
// convert quaternion to euler angle
Vector<3> euler_zyx = quad_state_.q().toRotationMatrix().eulerAngles(2, 1, 0);
// quaternionToEuler(quad_state_.q(), euler);
quad_obs_ << quad_state_.p, euler_zyx, quad_state_.v, quad_state_.w;
obs.segment<quadenv::kNObs>(quadenv::kObs) = quad_obs_;
return true;
}
Scalar QuadrotorEnv::step(const Ref<Vector<>> act, Ref<Vector<>> obs) {
quad_act_ = act.cwiseProduct(act_std_) + act_mean_;
cmd_.t += sim_dt_;
cmd_.thrusts = quad_act_;
// simulate quadrotor
quadrotor_ptr_->run(cmd_, sim_dt_);
// update observations
getObs(obs);
Matrix<3, 3> rot = quad_state_.q().toRotationMatrix();
// ---------------------- reward function design
// - position tracking
Scalar pos_reward =
pos_coeff_ * (quad_obs_.segment<quadenv::kNPos>(quadenv::kPos) -
goal_state_.segment<quadenv::kNPos>(quadenv::kPos))
.squaredNorm();
// - orientation tracking
Scalar ori_reward =
ori_coeff_ * (quad_obs_.segment<quadenv::kNOri>(quadenv::kOri) -
goal_state_.segment<quadenv::kNOri>(quadenv::kOri))
.squaredNorm();
// - linear velocity tracking
Scalar lin_vel_reward =
lin_vel_coeff_ * (quad_obs_.segment<quadenv::kNLinVel>(quadenv::kLinVel) -
goal_state_.segment<quadenv::kNLinVel>(quadenv::kLinVel))
.squaredNorm();
// - angular velocity tracking
Scalar ang_vel_reward =
ang_vel_coeff_ * (quad_obs_.segment<quadenv::kNAngVel>(quadenv::kAngVel) -
goal_state_.segment<quadenv::kNAngVel>(quadenv::kAngVel))
.squaredNorm();
// - control action penalty
Scalar act_reward = act_coeff_ * act.cast<Scalar>().norm();
Scalar total_reward =
pos_reward + ori_reward + lin_vel_reward + ang_vel_reward + act_reward;
// survival reward
total_reward += 0.1;
return total_reward;
}
bool QuadrotorEnv::isTerminalState(Scalar &reward) {
if (quad_state_.x(QS::POSZ) <= 0.02) {
reward = -0.02;
return true;
}
reward = 0.0;
return false;
}
bool QuadrotorEnv::loadParam(const YAML::Node &cfg) {
if (cfg["quadrotor_env"]) {
sim_dt_ = cfg["quadrotor_env"]["sim_dt"].as<Scalar>();
max_t_ = cfg["quadrotor_env"]["max_t"].as<Scalar>();
} else {
return false;
}
if (cfg["rl"]) {
// load reinforcement learning related parameters
pos_coeff_ = cfg["rl"]["pos_coeff"].as<Scalar>();
ori_coeff_ = cfg["rl"]["ori_coeff"].as<Scalar>();
lin_vel_coeff_ = cfg["rl"]["lin_vel_coeff"].as<Scalar>();
ang_vel_coeff_ = cfg["rl"]["ang_vel_coeff"].as<Scalar>();
act_coeff_ = cfg["rl"]["act_coeff"].as<Scalar>();
} else {
return false;
}
return true;
}
bool QuadrotorEnv::getAct(Ref<Vector<>> act) const {
if (cmd_.t >= 0.0 && quad_act_.allFinite()) {
act = quad_act_;
return true;
}
return false;
}
bool QuadrotorEnv::getAct(Command *const cmd) const {
if (!cmd_.valid()) return false;
*cmd = cmd_;
return true;
}
void QuadrotorEnv::addObjectsToUnity(std::shared_ptr<UnityBridge> bridge) {
bridge->addQuadrotor(quadrotor_ptr_);
}
std::ostream &operator<<(std::ostream &os, const QuadrotorEnv &quad_env) {
os.precision(3);
os << "Quadrotor Environment:\n"
<< "obs dim = [" << quad_env.obs_dim_ << "]\n"
<< "act dim = [" << quad_env.act_dim_ << "]\n"
<< "sim dt = [" << quad_env.sim_dt_ << "]\n"
<< "max_t = [" << quad_env.max_t_ << "]\n"
<< "act_mean = [" << quad_env.act_mean_.transpose() << "]\n"
<< "act_std = [" << quad_env.act_std_.transpose() << "]\n"
<< "obs_mean = [" << quad_env.obs_mean_.transpose() << "]\n"
<< "obs_std = [" << quad_env.obs_std_.transpose() << std::endl;
os.precision();
return os;
}
} // namespace flightlib | [
"yun-long.song@outlook.com"
] | yun-long.song@outlook.com |
cfe42f2b4610e224eeb8a3e0248d02a5b66f91db | e2847929f485edb74dda23e63dff0b59e93998d2 | /0334.increasing-triplet-subsequence/increasing-triplet-subsequence.cpp | 8624e8541ae9ee6b7067dbb189b0975531ef43ee | [] | no_license | hbsun2113/LeetCodeCrawler | 36b068641fa0b485ac51c2cd151498ce7c27599f | 43507e04eb41160ecfd859de41fd42d798431d00 | refs/heads/master | 2020-05-23T21:11:32.158160 | 2019-10-18T07:20:39 | 2019-10-18T07:20:39 | 186,947,546 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | class Solution {
public:
//如此简单实现的问题都没有想出来,最近有点浮躁啊!
//https://leetcode.com/problems/increasing-triplet-subsequence/discuss/78993/Clean-and-short-with-comments-C++
bool increasingTriplet(vector<int>& nums) {
int c1=INT_MAX,c2=INT_MAX;
for(const auto &n:nums){
if(n<=c1){
c1=n;
}else if(n<=c2){
c2=n;
}else{
return true; //此时c1、c2都确定了,x是c3。
}
}
return false;
}
}; | [
"sun710467272@outlook.com"
] | sun710467272@outlook.com |
8aa3a7dd16add7a5836010233a666efa29ed54d5 | 74f03dde193ef3fee81235a30fa483258466ce69 | /longest_valid_parentheses .cpp | 4b116859ae0ead716bc7c2ea6b8c39075869ca1f | [] | no_license | teddy-hoo/leetcode | d3cf20c474c59681396f6ab793bb6b9ef13e0585 | 196c790aa2c77b0d5cb7c157add741949aebd26c | refs/heads/master | 2016-09-03T07:19:36.901033 | 2015-02-05T08:11:31 | 2015-02-05T08:11:31 | 17,579,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | class Solution {
private:
void findValidParentheses(string s, vector<bool> &isValid){
vector<int> indices;
int len = s.size();
for(int i = 0; i < len; i++){
if(indices.size() == 0 ||
!(s[i] == ')' && s[indices.back()] == '(')){
indices.push_back(i);
}
else{
isValid[indices.back()] = true;
isValid[i] = true;
indices.pop_back();
}
}
}
int calMax(vector<bool> isValid){
int max = 0;
int cur = 0;
int len = isValid.size();
for(int i = 0; i < len; i++){
if(isValid[i]){
cur++;
}
else{
max = cur > max ? cur : max;
cur = 0;
}
}
return max > cur ? max : cur;
}
public:
int longestValidParentheses(string s) {
int len = s.size();
if(s.size() <= 0){
return 0;
}
vector<bool> isValid(len, false);
findValidParentheses(s, isValid);
return calMax(isValid);
}
};
| [
"hulingchuan@hotmail.com"
] | hulingchuan@hotmail.com |
abab3803177c973711bdbd3d62022c1bf67e1fdb | 551f7aa91cfa02d357ff413e99627a072668713a | /Codeforces/106C.cpp | 2a0e4c9ce788ed59d8e2062e5c9175a82c2b7cbf | [
"MIT"
] | permissive | anubhawbhalotia/Competitive-Programming | 4ca865ca6f01a40d04e4d1f68b67964d86fd27f6 | 32d7003abf9af4999b3dfa78fe1df9022ebbf50b | refs/heads/master | 2021-07-18T23:26:16.922797 | 2021-06-10T08:33:13 | 2021-06-10T08:33:13 | 108,657,229 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | cpp | #include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <functional>
#include <bits/stdc++.h>
using namespace __gnu_pbds;
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<long long> vl;
typedef vector<vector<int>> vvi;
typedef vector<vector<long long>> vvl;
typedef vector<vector<vector<int>>> vvvi;
typedef pair<int,int> pt;
typedef pair<long long ,long long> ptl;
typedef set<int> si;
typedef set<long long> sl;
typedef unordered_set <int> usi;
typedef unordered_set <long long> usl;
typedef multiset<int> msi;
typedef multiset<long long> msl;
template <typename T>
using indexed_set = tree<T, null_type, less<T>,
rb_tree_tag, tree_order_statistics_node_update>;
// order_of_key: The number of items in a set that are strictly smaller than k
// find_by_order: It returns an iterator to the ith largest element
//Anubhaw Bhalotia https://github.com/anubhawbhalotia
#define x first
#define y second
#define mp make_pair
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define beg(x) x.begin()
#define en(x) x.end()
#define all(x) x.begin(), x.end()
#define f(i,s,n) for(int i=s;i<n;i++)
#define fe(i,s,n) for(int i=s;i<=n;i++)
#define fr(i,s,n) for(int i=s;i>n;i--)
#define fre(i,s,n) for(int i=s;i>=n;i--)
const int MOD = 998244353;
template <typename T,typename U, typename V,typename W>
auto operator+=(const pair<T,U> & l, pair<V,W> & r)
-> pair<decltype(l.first+r.first),decltype(l.second+r.second)>
{
return {l.first+r.first,l.second+r.second};
}
template <typename T,typename U, typename V,typename W>
auto operator+(const pair<T,U> & l, pair<V,W> & r)
-> pair<decltype(l.first+r.first),decltype(l.second+r.second)>
{
return {l.first+r.first,l.second+r.second};
}
template <typename T> T gcd(T a, T b) {return b == 0 ? a : gcd(b, a % b);}
int extendedEuclid(int a, int b, int *x, int *y){if(a == 0){*x = 0;*y = 1;
return b;}int x1, y1;int gcd = extendedEuclid(b % a, a, &x1, &y1);
*x = y1 - (b/a) * x1;*y = x1;return gcd;}
int dp(vvvi &DP, vi &a, vi &b, vi &c, vi &d, int &n, int &m, int &c0, int &d0,
int ndp, int mdp, int ldp)
{
if(ndp == 0 || (mdp == m - 1 && ldp == 0))
return 0;
if(ndp >= 0 && mdp >= 0 && ldp >= 0 && DP[ndp][mdp][ldp] != -1)
return DP[ndp][mdp][ldp];
int z = 0, w = ldp;
if(mdp == -1 && ndp >= c0)
{
z = max(z, dp(DP, a, b, c, d, n, m, c0, d0,
ndp - c0, mdp, ldp) + d0);
}
for(int i = max(mdp, 0); i < m; i++)
{
if(i != mdp)
w = a[i];
if(ndp >= c[i] && w >= b[i])
{
z = max(z, dp(DP, a, b, c, d, n, m, c0, d0,
ndp - c[i], i, w - b[i]) + d[i]);
}
}
if(ndp >= 0 && mdp >= 0 && ldp >= 0)
DP[ndp][mdp][ldp] = z;
return z;
}
void solution(int t)
{
int n, m, c0, d0;
cin>>n>>m>>c0>>d0;
vi a(m), b(m), c(m), d(m);
vvvi DP(1001, vvi(11, vi(101, -1)));
f(i, 0, m)
{
cin>>a[i]>>b[i]>>c[i]>>d[i];
}
cout<<dp(DP, a, b, c, d, n, m, c0, d0,
n, -1, -1)<<endl;
}
void testCase()
{
int t = 1;
// cin>>t;
f(i, 0, t)
{
solution(i + 1);
}
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
testCase();
} | [
"bhalotia.anubhaw4@gmail.com"
] | bhalotia.anubhaw4@gmail.com |
3faf92e7c6925f38ebcdff0e50966b14411b151f | 8d495adb0b14d91d9175d1f2b3aa8aff9979b70c | /prjGestionCC/Client.cpp | ec740c0e9e451d0595b08bdfc59123f1e087d802 | [] | no_license | Francky-38/Projet_CPP | ad757e363b29adb8522d16a8989d866ff53de82f | ce9d2118ac1cf7f83bfd0f2732c00a845758e6bb | refs/heads/main | 2023-04-12T13:23:12.987464 | 2021-05-11T17:33:39 | 2021-05-11T17:33:39 | 362,029,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | #include "Client.h"
Client::Client()
{
//ctor
SetID(0);
Setnom("NC");
SetadresseP(nullptr);
Setmail("NC");
}
Client::Client(unsigned int id, string n, Adresse* a, string m)
{
SetID(id);
Setnom(n);
SetadresseP(a);
Setmail(m);
}
Client::~Client()
{
//dtor
cout << endl << "Destruction du client : " << Getnom() << endl;
}
void Client::Setnom(string n)
{
if (strlen(n.c_str())<=50)
nom=n;
else
throw GccExeption(GccErreurs::ERR_NOM);
}
void Client::Setmail(string m)
{
int qtAro = std::count_if(
m.begin(),
m.end(),
std::bind1st(std::equal_to<char>(),'@')
);
if (qtAro == 1)
mail = m;
else
throw GccExeption(30);
}
string Client::toString()
{
ostringstream oss;
oss << "Client : id " << GetID() <<
" | nom " << Getnom() <<
" | " << GetadresseP()->toString() <<
" | mail " << Getmail() ;
return oss.str();
}
| [
"franckvero38@gmail.com"
] | franckvero38@gmail.com |
d80ae06181640516dbaa0d571df2afcc428c9860 | 8512bed812cfee9b1b099f1b37094539ad026e05 | /third_party/v8/src/compiler/fast-accessor-assembler.cc | 1a97fd5337e6cc6aa9af729cb94a3bdb1f056b8e | [] | no_license | gregsimon/inline4 | de8eed51e795e3418544672ee03692a6702c6c8e | 65c29c873d27c1efdd8c7dd6748666d8b9ddeaae | refs/heads/master | 2020-12-30T20:04:40.539897 | 2016-03-23T14:21:27 | 2016-03-23T14:21:27 | 37,556,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,797 | cc | // Copyright 2015 the V8 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.
#include "src/compiler/fast-accessor-assembler.h"
#include "src/base/logging.h"
#include "src/code-stubs.h" // For CallApiCallbackStub.
#include "src/compiler/graph.h"
#include "src/compiler/linkage.h"
#include "src/compiler/pipeline.h"
#include "src/compiler/raw-machine-assembler.h"
#include "src/compiler/schedule.h"
#include "src/compiler/verifier.h"
#include "src/handles-inl.h"
#include "src/objects.h" // For FAA::GetInternalField impl.
namespace v8 {
namespace internal {
namespace compiler {
FastAccessorAssembler::FastAccessorAssembler(Isolate* isolate)
: zone_(),
assembler_(new RawMachineAssembler(
isolate, new (zone()) Graph(zone()),
Linkage::GetJSCallDescriptor(&zone_, false, 1,
CallDescriptor::kNoFlags))),
state_(kBuilding) {}
FastAccessorAssembler::~FastAccessorAssembler() {}
FastAccessorAssembler::ValueId FastAccessorAssembler::IntegerConstant(
int const_value) {
CHECK_EQ(kBuilding, state_);
return FromRaw(assembler_->NumberConstant(const_value));
}
FastAccessorAssembler::ValueId FastAccessorAssembler::GetReceiver() {
CHECK_EQ(kBuilding, state_);
// For JS call descriptor, the receiver is parameter 0. If we use other
// call descriptors, this may or may not hold. So let's check.
CHECK(assembler_->call_descriptor()->IsJSFunctionCall());
return FromRaw(assembler_->Parameter(0));
}
FastAccessorAssembler::ValueId FastAccessorAssembler::LoadInternalField(
ValueId value, int field_no) {
CHECK_EQ(kBuilding, state_);
// Determine the 'value' object's instance type.
Node* object_map =
assembler_->Load(MachineType::Pointer(), FromId(value),
assembler_->IntPtrConstant(
Internals::kHeapObjectMapOffset - kHeapObjectTag));
Node* instance_type = assembler_->WordAnd(
assembler_->Load(
MachineType::Uint16(), object_map,
assembler_->IntPtrConstant(
Internals::kMapInstanceTypeAndBitFieldOffset - kHeapObjectTag)),
assembler_->IntPtrConstant(0xff));
// Check whether we have a proper JSObject.
RawMachineLabel is_jsobject, is_not_jsobject, merge;
assembler_->Branch(
assembler_->WordEqual(
instance_type, assembler_->IntPtrConstant(Internals::kJSObjectType)),
&is_jsobject, &is_not_jsobject);
// JSObject? Then load the internal field field_no.
assembler_->Bind(&is_jsobject);
Node* internal_field = assembler_->Load(
MachineType::Pointer(), FromId(value),
assembler_->IntPtrConstant(JSObject::kHeaderSize - kHeapObjectTag +
kPointerSize * field_no));
assembler_->Goto(&merge);
// No JSObject? Return undefined.
// TODO(vogelheim): Check whether this is the appropriate action, or whether
// the method should take a label instead.
assembler_->Bind(&is_not_jsobject);
Node* fail_value = assembler_->UndefinedConstant();
assembler_->Goto(&merge);
// Return.
assembler_->Bind(&merge);
Node* phi = assembler_->Phi(MachineRepresentation::kTagged, internal_field,
fail_value);
return FromRaw(phi);
}
FastAccessorAssembler::ValueId FastAccessorAssembler::LoadValue(ValueId value,
int offset) {
CHECK_EQ(kBuilding, state_);
return FromRaw(assembler_->Load(MachineType::IntPtr(), FromId(value),
assembler_->IntPtrConstant(offset)));
}
FastAccessorAssembler::ValueId FastAccessorAssembler::LoadObject(ValueId value,
int offset) {
CHECK_EQ(kBuilding, state_);
return FromRaw(
assembler_->Load(MachineType::AnyTagged(),
assembler_->Load(MachineType::Pointer(), FromId(value),
assembler_->IntPtrConstant(offset))));
}
void FastAccessorAssembler::ReturnValue(ValueId value) {
CHECK_EQ(kBuilding, state_);
assembler_->Return(FromId(value));
}
void FastAccessorAssembler::CheckFlagSetOrReturnNull(ValueId value, int mask) {
CHECK_EQ(kBuilding, state_);
RawMachineLabel pass, fail;
assembler_->Branch(
assembler_->Word32Equal(
assembler_->Word32And(FromId(value), assembler_->Int32Constant(mask)),
assembler_->Int32Constant(0)),
&pass, &fail);
assembler_->Bind(&fail);
assembler_->Return(assembler_->NullConstant());
assembler_->Bind(&pass);
}
void FastAccessorAssembler::CheckNotZeroOrReturnNull(ValueId value) {
CHECK_EQ(kBuilding, state_);
RawMachineLabel is_null, not_null;
assembler_->Branch(
assembler_->IntPtrEqual(FromId(value), assembler_->IntPtrConstant(0)),
&is_null, ¬_null);
assembler_->Bind(&is_null);
assembler_->Return(assembler_->NullConstant());
assembler_->Bind(¬_null);
}
FastAccessorAssembler::LabelId FastAccessorAssembler::MakeLabel() {
CHECK_EQ(kBuilding, state_);
RawMachineLabel* label =
new (zone()->New(sizeof(RawMachineLabel))) RawMachineLabel;
return FromRaw(label);
}
void FastAccessorAssembler::SetLabel(LabelId label_id) {
CHECK_EQ(kBuilding, state_);
assembler_->Bind(FromId(label_id));
}
void FastAccessorAssembler::CheckNotZeroOrJump(ValueId value_id,
LabelId label_id) {
CHECK_EQ(kBuilding, state_);
RawMachineLabel pass;
assembler_->Branch(
assembler_->IntPtrEqual(FromId(value_id), assembler_->IntPtrConstant(0)),
&pass, FromId(label_id));
assembler_->Bind(&pass);
}
FastAccessorAssembler::ValueId FastAccessorAssembler::Call(
FunctionCallback callback_function, ValueId arg) {
CHECK_EQ(kBuilding, state_);
// Create API function stub.
CallApiCallbackStub stub(assembler_->isolate(), 1, true);
DCHECK_EQ(1, stub.GetCallInterfaceDescriptor().GetStackParameterCount());
// Wrap the FunctionCallback in an ExternalReference.
ApiFunction callback_api_function(FUNCTION_ADDR(callback_function));
ExternalReference callback(&callback_api_function,
ExternalReference::DIRECT_API_CALL,
assembler_->isolate());
// The stub has 6 parameters.
// See: ApiCallbackDescriptorBase::BuildCallInterfaceDescriptorFunctionType
Node* args[] = {
// Stub/register parameters:
assembler_->Parameter(0), /* receiver (use accessor's) */
assembler_->UndefinedConstant(), /* call_data (undefined) */
assembler_->NullConstant(), /* holder (null) */
assembler_->ExternalConstant(callback), /* API callback function */
// JS arguments, on stack:
FromId(arg),
// Context parameter. (See Linkage::GetStubCallDescriptor.)
assembler_->UndefinedConstant()};
DCHECK_EQ(arraysize(args),
1 + stub.GetCallInterfaceDescriptor().GetParameterCount());
Node* call = assembler_->CallN(
Linkage::GetStubCallDescriptor(
assembler_->isolate(), zone(), stub.GetCallInterfaceDescriptor(),
stub.GetStackParameterCount(), CallDescriptor::kNoFlags),
assembler_->HeapConstant(stub.GetCode()), args);
return FromRaw(call);
}
MaybeHandle<Code> FastAccessorAssembler::Build() {
CHECK_EQ(kBuilding, state_);
// Cleanup: We no longer need this.
nodes_.clear();
labels_.clear();
// Export the schedule and call the compiler.
Schedule* schedule = assembler_->Export();
Code::Flags flags = Code::ComputeFlags(Code::STUB);
MaybeHandle<Code> code = Pipeline::GenerateCodeForCodeStub(
assembler_->isolate(), assembler_->call_descriptor(), assembler_->graph(),
schedule, flags, "FastAccessorAssembler");
// Update state & return.
state_ = !code.is_null() ? kBuilt : kError;
return code;
}
FastAccessorAssembler::ValueId FastAccessorAssembler::FromRaw(Node* node) {
nodes_.push_back(node);
ValueId value = {nodes_.size() - 1};
return value;
}
FastAccessorAssembler::LabelId FastAccessorAssembler::FromRaw(
RawMachineLabel* label) {
labels_.push_back(label);
LabelId label_id = {labels_.size() - 1};
return label_id;
}
Node* FastAccessorAssembler::FromId(ValueId value) const {
CHECK_LT(value.value_id, nodes_.size());
CHECK_NOT_NULL(nodes_.at(value.value_id));
return nodes_.at(value.value_id);
}
RawMachineLabel* FastAccessorAssembler::FromId(LabelId label) const {
CHECK_LT(label.label_id, labels_.size());
CHECK_NOT_NULL(labels_.at(label.label_id));
return labels_.at(label.label_id);
}
} // namespace compiler
} // namespace internal
} // namespace v8
| [
"gregsimon@gmail.com"
] | gregsimon@gmail.com |
5ec7f684112d8c2f22af9313fa7c6bd8e6c5fd5b | 059557219ac0eaed09918f0998302132ac3ae50f | /Diodes/Tests/MarwinPi_DiodeTestSuite.cpp | c1c5a84b87c2fd517c0160eb46ad56b73a898ef0 | [] | no_license | marcindus/marwinPi | dc23d28102ad680fdc1aa7f15877ca31fbdeb0d1 | a7c9d081a2232b7ff9ec396e0b7323b3ce347d69 | refs/heads/master | 2020-08-08T00:36:28.875748 | 2018-10-05T19:58:43 | 2018-10-05T19:58:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include <gtest/gtest.h>
#include "MarwinPi_Diode.hpp"
#include "MarwinPi_GpioPortMock.hpp"
namespace MarwinPi
{
class DiodeTestSuite : public ::testing::Test
{
public:
DiodeTestSuite() :
m_gpioPortMock(new GpioPortMock),
m_portRawPtr(m_gpioPortMock.get()),
m_sut(std::move(m_gpioPortMock))
{
}
std::unique_ptr<GpioPortMock> m_gpioPortMock;
GpioPortMock* m_portRawPtr;
Diode m_sut;
};
TEST_F(DiodeTestSuite, shouldWriteHighToPortWhenSwitchOn)
{
EXPECT_CALL(*m_portRawPtr, write(GpioValue::GpioValue_High));
m_sut.switchOn();
EXPECT_EQ(m_sut.isSwitchedOn(), true);
}
TEST_F(DiodeTestSuite, shouldWriteLowToPortWhenShwitchOff)
{
EXPECT_CALL(*m_portRawPtr, write(GpioValue::GpioValue_Low));
m_sut.switchOff();
EXPECT_EQ(m_sut.isSwitchedOn(), false);
}
}
| [
"marcin.windys@gmail.com"
] | marcin.windys@gmail.com |
9aee8288a9fcc938334222af356d275a0d9a92c1 | f158320b128cf20ff6d523b24d3ba41478a993c9 | /Concrete_Efficiency_Improvements_to_Multiparty_Garbling_with_an_Honest_Majority/OTExtnsion/BMR_BGW_aux.h | 3a291d235220cd06444a160343d980a91f9125aa | [] | no_license | LiorBreitman8234/BMR-Protocols | cca9f06f649cf89c6060741d2d05af9d3aa64633 | 527e43c4c9250396098573e1fd9023cbcc687ebd | refs/heads/master | 2023-06-24T17:39:00.948472 | 2017-10-26T15:21:55 | 2017-10-26T15:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,851 | h | /*
* BMR_BGW_aux.h
*
* Author: Aner Ben-Efraim
*
* year: 2016
*
*/
#ifndef _BMR_BGW_AUX_H_
#define _BMR_BGW_AUX_H_
#pragma once
#include <stdio.h>
#include <iostream>
#include "Config.h"
#include "../util/TedKrovetzAesNiWrapperC.h"
#include <wmmintrin.h>
#include <emmintrin.h>
#include <smmintrin.h>
#include <vector>
#include <time.h>
#include "secCompMultiParty.h"
//#include "main_gf_funcs.h"
// #if MULTIPLICATION_TYPE==0
#define MUL(x,y) gfmul(x,y)
#define MULT(x,y,ans) gfmul(x,y,&ans)
#define MULTHZ(x,y,ans) gfmul(x,y,&ans)
#define MULHZ(x,y) gfmul(x,y)
#define SET_ONE _mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)
//field zero
#define SET_ZERO _mm_setzero_si128()
//the partynumber(+1) embedded in the field
#define SETX(j) _mm_set_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, j+1)//j+1
//Test if 2 __m128i variables are equal
#define EQ(x,y) _mm_test_all_ones(_mm_cmpeq_epi8(x,y))
//Add 2 field elements in GF(2^128)
#define ADD(x,y) _mm_xor_si128(x,y)
//Subtraction and addition are equivalent in characteristic 2 fields
#define SUB ADD
//Evaluate x^n in GF(2^128)
#define POW(x,n) fastgfpow(x,n)
//Evaluate x^2 in GF(2^128)
#define SQ(x) square(x)
//Evaluate x^(-1) in GF(2^128)
#define INV(x) inverse(x)
//Evaluate P(x), where p is a given polynomial, in GF(2^128)
#define EVAL(x,poly,ans) fastPolynomEval(x,poly,&ans)//polynomEval(SETX(x),y,z)
//Reconstruct the secret from the shares
#define RECON(shares,deg,secret) reconstruct(shares,deg,&secret)
//returns a (pseudo)random __m128i number using AES-NI
#define RAND LoadSeedNew()
//returns a (pseudo)random bit using AES-NI
#define RAND_BIT LoadBool()
//the encryption scheme
#define PSEUDO_RANDOM_FUNCTION(seed1, seed2, index, numberOfBlocks, result) fixedKeyPseudoRandomFunctionwPipelining(seed1, seed2, index, numberOfBlocks, result);
//********************//
#define ZEROSHARE(p,g,r,l) LoadSeedLatinCrypt(p,g,r,l)
//********************//
//The degree of the secret-sharings before multiplications
extern int degSmall;
//The degree of the secret-sharing after multiplications (i.e., the degree of the secret-sharings of the PRFs)
extern int degBig;
//The type of honest majority we assume
extern int majType;
//bases for interpolation
extern __m128i* baseReduc;
extern __m128i* baseRecon;
//saved powers for evaluating polynomials
extern __m128i* powers;
//one in the field
extern const __m128i ONE;
//zero in the field
extern const __m128i ZERO;
extern int testCounter;
typedef struct polynomial {
int deg;
__m128i* coefficients;
}Polynomial;
//res=a*b
void gfmul(__m128i a, __m128i b, __m128i *res);
//This function works correctly only if all the upper half of b is zeros
void gfmulHalfZeros(__m128i a, __m128i b, __m128i *res);
//multiplies a and b
__m128i gfmul(__m128i a, __m128i b);
//This function works correctly only if all the upper half of b is zeros
__m128i gfmulHalfZeros(__m128i a, __m128i b);
__m128i gfpow(__m128i x, int deg);
__m128i fastgfpow(__m128i x, int deg);
__m128i square(__m128i x);
__m128i inverse(__m128i x);
void fastPolynomEval(int x, Polynomial poly, __m128i* ans);
__m128i polynomEval(__m128i x, __m128i* coefficients, int deg);
//using precomputed powers to save time
void fastPolynomEval(int x, __m128i* coefficients, int deg, __m128i* ans);
//computes a single coefficient for the lagrange polynomial
void computeB(int party, int numOfParties, __m128i* ans);
//precomputes powers and the coefficients for the lagrange polynomial - should be done once in setup
void preComputeCoefficients(int numOfParties, int deg);//degree should be the degree of polynomial which we reduce from
//precomputes the coefficients for the lagrange polynomial. Not needed in most versions since degree of reconstruction === degree of reduction
void preComputeReconstructionCoefficients(int numOfParties,int deg);//degree should be the degree of reconstruction
//reconstructs the secret from the shares
void reconstruct(__m128i* points, int deg, __m128i* secret);
//reconstructs the secret from the shares
__m128i reconstruct(__m128i* points, int deg);
__m128i* createShares(__m128i secret, int numOfParties, int deg);
__m128i mulShares(__m128i a, __m128i b);
void mulShares(__m128i a, __m128i b, __m128i* ab);
//creates share for BGW round
__m128i* BGWshares(__m128i shareA, __m128i shareB, int numOfParties, int deg);
__m128i BGWrecoverShare(__m128i* BGWshares, int numOfParties);
inline __m128i* mulShares(__m128i* a, __m128i* b, int length)
{
__m128i* ans = static_cast<__m128i *>(_aligned_malloc(length*sizeof(__m128i), 16));
for (int i = 0; i < length; i++)
{
MULT(a[i], b[i], ans[i]);
}
return ans;
}
#endif
| [
"anermosh@post.bgu.ac.il"
] | anermosh@post.bgu.ac.il |
ed5830e8ed285efde854672d906f8623ca022643 | f2d92728ef7aba31da26546c0c60061494c57338 | /alarm/alarm.ino | a81018ae5d9225b0ca2156e23184eec1d3664ad3 | [] | no_license | marclimmer/intellectual-computer | 20e163d45e79fba2f8ed6fedcf4ebb22ffd401e2 | 28c0e0dc0225bd2b521e638f6ab549466601036a | refs/heads/master | 2021-08-14T09:52:12.872106 | 2017-10-18T08:59:53 | 2017-10-18T08:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,520 | ino | // Definition of the input pins
int PinA1 = 15;
int PinA2 = 16;
int PinA3 = 17;
int PinA4 = 18;
int PinA5 = 19;
int PinD13 = 13; // Set Control Pin
// Definition of the variable storing the value
int ValueA1 = 0;
int ValueA2 = 0;
int ValueA3 = 0;
int ValueA4 = 0;
int ValueA5 = 0;
bool ValueD13 = false;
// Define the digital output pin for the LED
int WARNING_LAMP = 2; //WarningLamp
int ALARM_LAMP = 3; //AlarmLamp
long STATUS_CODE_GOOD = 1; // Everything is good
long STATUS_CODE_WARNING = 2; //Warning
long STATUS_CODE_ALARM = 3; //Alarm
long parsedStatusCode = 0;
void setup() {
Serial.begin(9600);
pinMode(PinD13, INPUT);
pinMode(WARNING_LAMP, OUTPUT);
pinMode(ALARM_LAMP, OUTPUT);
// Blink at startup
digitalWrite(WARNING_LAMP, HIGH);
digitalWrite(ALARM_LAMP, HIGH);
delay(500);
digitalWrite(WARNING_LAMP, LOW);
digitalWrite(ALARM_LAMP, LOW);
delay(500);
digitalWrite(WARNING_LAMP, HIGH);
digitalWrite(ALARM_LAMP, HIGH);
delay(500);
digitalWrite(WARNING_LAMP, LOW);
digitalWrite(ALARM_LAMP, LOW);
}
void ReadAnalogPins(){
ValueA1 = analogRead(PinA1);
ValueA2 = analogRead(PinA2);
ValueA3 = analogRead(PinA3);
ValueA4 = analogRead(PinA4);
ValueA5 = analogRead(PinA5);
}
void SendValuesSerialPort(){
Serial.flush(); // Waits for the transmission of outgoing serial data to complete
//Serial.print("VALUES;");
Serial.print(ValueA1);
Serial.print(";");
Serial.print(ValueA2);
Serial.print(";");
Serial.print(ValueA3);
Serial.print(";");
Serial.print(ValueA4);
Serial.print(";");
Serial.print(ValueA5);
Serial.print(";");
Serial.print("\n");
}
void SendSetValue(){
Serial.flush();
Serial.print("SET;");
Serial.print("1;"); // number of the parameter
Serial.print(ValueA1);
Serial.println(";");
}
void ReadSerialPort(){
if (Serial.available() > 0){
// look for the next valid integer in the incoming serial stream:
parsedStatusCode = Serial.parseInt();
}
}
void ToggleBuiltinLed(){
if(parsedStatusCode == STATUS_CODE_ALARM){ //Chance lamp if warning or alarm
digitalWrite(WARNING_LAMP, HIGH);
digitalWrite(ALARM_LAMP, LOW);
}
else if(parsedStatusCode == STATUS_CODE_WARNING){
digitalWrite(WARNING_LAMP, LOW);
digitalWrite(ALARM_LAMP, HIGH);
}
else if(parsedStatusCode == STATUS_CODE_GOOD){
digitalWrite(WARNING_LAMP, LOW);
digitalWrite(ALARM_LAMP, LOW);
}
}
void loop() {
ReadAnalogPins();
SendValuesSerialPort();
ReadSerialPort();
ToggleBuiltinLed();
delay(1000);
}
| [
"askia"
] | askia |
3e9ae3b45e84328d9bdca7c368e7095081098a87 | 4dff595d59df71df9eaf3ea1fda1a880abf297ec | /src/IClickable.h | 8474b9419a86987d5580ef77ab861dde9004f933 | [
"BSD-2-Clause"
] | permissive | dgi09/Tower-Defence | 125254e30e4f5c1ed37dacbfb420fb650df29543 | 2edd53d50c9f913d00de26e7e2bdc5e8b950cc02 | refs/heads/master | 2021-03-12T19:18:59.871669 | 2015-09-17T10:55:17 | 2015-09-17T10:55:17 | 42,649,877 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | h | #pragma once
struct SDL_Rect;
class IClickable
{
public:
virtual void onClick() = 0;
virtual void onOutOfFocus() = 0;
virtual SDL_Rect getInteractionArea() = 0;
bool pointInside(int x,int y);
}; | [
"thebest_m@abv.bg"
] | thebest_m@abv.bg |
e18a54682fe49728b20446c6d6d7330a8d2a11f3 | a9fe317fb61818cf455cb443af8f89886ec6da49 | /gridMouseInteractor.hpp | 471c6c318c9a819e81f7859307a56071f090e688 | [] | no_license | bjarnirisaedla/Spacecraft | 0163750f616fadcfcd23f900a335bc4b600a0cd0 | 7b2cb367104568254f6a9777a2eed331de8cde11 | refs/heads/master | 2020-08-12T23:39:39.484020 | 2019-10-13T17:52:57 | 2019-10-13T17:52:57 | 214,866,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,504 | hpp | // Define interaction style for dot mode
class GridMouseInteractorStyle : public vtkInteractorStyleTrackballActor
{
public:
static GridMouseInteractorStyle* New();
vtkTypeMacro(GridMouseInteractorStyle, vtkInteractorStyleTrackballActor);
virtual void OnLeftButtonDown()
{
leftButtonIsDown = true;
Vector3d hitColor(0,0,0);
if(textActor){
textActor->GetTextProperty()->SetFontSize (18);
textActor->SetPosition2 (10.0, 40.0);
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->AddActor2D(textActor);
textActor->GetTextProperty()->SetColor (1.,1.,1.);
}
if(actorDots.empty()){
int index = 0;
for(int i=0; i < numberOfDots; i++){
for(int j=0; j < numberOfDots; j++){
// mysystem.flowmap(Vector2d(xdots(i), ydots(j)), Vector2d(0,0), hitColor);
actorDots.push_back(createCircleActor(0.01, Vector2d(xdots(i), ydots(j)), hitColor));
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->AddActor(actorDots.back());
indexMat(i,j) = index++;
}
}
}
// Recolor dots
#pragma omp parallel for private(hitColor)
for(int i=0; i < numberOfDots; i++){
for(int j=0; j < numberOfDots; j++){
mysystem.flowmap(Vector2d(xdots(i), ydots(j)), Vector2d(0,0), hitColor);
actorDots[indexMat(i,j)]->GetProperty()->SetColor(hitColor.x(),hitColor.y(),hitColor.z());
}
}
this->Interactor->GetPicker()->Pick(this->Interactor->GetEventPosition()[0],
this->Interactor->GetEventPosition()[1],
0, // always zero.
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer());
double picked[3];
this->Interactor->GetPicker()->GetPickPosition(picked);
position = Vector2d(picked[0],picked[1]);
//setup the text and add it to the window
std::string s = "Position: " + std::to_string(position.x()) + ", " + std::to_string(position.y()) +
"\n" + "Velocity: 0.0, 0.0" ;
textActor->SetInput(s.c_str());
// Forward events
vtkInteractorStyleTrackballActor::OnLeftButtonDown();
}
virtual void OnLeftButtonUp()
{
leftButtonIsDown = false;
// Remove unwanted old actors
if(arrowActor)
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->RemoveActor(arrowActor);
if(headOfTrajectory)
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->RemoveActor(headOfTrajectory);
if(actorTrajectory)
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->RemoveActor(actorTrajectory);
arrowActor = nullptr;
headOfTrajectory = nullptr;
actorTrajectory = nullptr;
this->Interactor->GetPicker()->Pick(this->Interactor->GetEventPosition()[0],
this->Interactor->GetEventPosition()[1],
0, // always zero.
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer());
double picked[3];
this->Interactor->GetPicker()->GetPickPosition(picked);
// // plot a new trajectory
Vector3d hitColor;
Vector2d vel = calcVelocity(Vector2d(picked[0], picked[1]));
traj_pos = mysystem.integrator<maxIteration>(position, vel, hitColor);
actorTrajectory = createLineActor(hitColor);
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->AddActor(actorTrajectory);
this->Interactor->GetRenderWindow()->Render();
// Recolor dots
Vector2d velocity = calcVelocity(Vector2d(picked[0], picked[1]));
#pragma omp parallel for private(hitColor)
for(int i=0; i < numberOfDots; i++){
for(int j=0; j < numberOfDots; j++){
mysystem.flowmap(Vector2d(xdots(i), ydots(j)), velocity, hitColor);
actorDots[indexMat(i,j)]->GetProperty()->SetColor(hitColor.x(),hitColor.y(),hitColor.z());
}
}
// Forward events
vtkInteractorStyleTrackballActor::OnLeftButtonUp();
}
virtual void OnMouseMove()
{
if(leftButtonIsDown){
this->Interactor->GetPicker()->Pick(this->Interactor->GetEventPosition()[0],
this->Interactor->GetEventPosition()[1],
0, // always zero.
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer());
double picked[3];
this->Interactor->GetPicker()->GetPickPosition(picked);
// remove previous and add a green line to indicate velocity and direction
if(arrowActor)
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->RemoveActor(arrowActor);
Eigen::Matrix<double, 2, 2> m1;
m1.col(0) = position;
m1.col(1) = Vector2d(picked[0],picked[1]);
arrowActor = createLineActor(m1, Vector3d(0.,1.,0.));
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->AddActor(arrowActor);
// // remove previous and add a predicting trajectory
if(headOfTrajectory)
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->RemoveActor(headOfTrajectory);
Vector2d velocity = calcVelocity(Vector2d(picked[0],picked[1]));
Vector3d hitColor;
Eigen::Matrix<double, 2, predictIteration> m2;
m2 = mysystem.integrator<predictIteration>(position, velocity, hitColor);
headOfTrajectory = createLineActor(m2, hitColor);
this->Interactor->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->AddActor(headOfTrajectory);
// Recolor dots
#pragma omp parallel for private(hitColor)
for(int i=0; i < numberOfDots; i++){
for(int j=0; j < numberOfDots; j++){
mysystem.flowmap(Vector2d(xdots(i), ydots(j)), velocity, hitColor);
actorDots[indexMat(i,j)]->GetProperty()->SetColor(hitColor.x(),hitColor.y(),hitColor.z());
}
}
// add text to update velocity input
std::string s = "Position: " + std::to_string(position.x()) + ", " + std::to_string(position.y()) +
"\n" + "Velocity: " + std::to_string(velocity.x()) + ", " + std::to_string(velocity.y());
textActor->SetInput(s.c_str());
this->Interactor->GetRenderWindow()->Render();
}
// Forward events
// vtkInteractorStyleTrackballActor::OnMouseMove();
}
private:
bool leftButtonIsDown = false;
Vector2d position = Vector2d(0.0,0.0);
vtkActorPtr arrowActor = nullptr;
vtkActorPtr headOfTrajectory = nullptr;
vtkSmartPointer<vtkTextActor> textActor = vtkSmartPointer<vtkTextActor>::New();
const int numberOfDots = 50; // remember to change indexMat too. some stupid reason
// Eigen::Matrix<int, 10, 10> indexMat;
Eigen::MatrixXi indexMat = MatrixXi::Zero(numberOfDots, numberOfDots);
Vector2d xlimit = mysystem.getXlimits();
Vector2d ylimit = mysystem.getYlimits();
Eigen::VectorXd xdots = Eigen::VectorXd::LinSpaced(numberOfDots+2,xlimit.x(),xlimit.y()).segment(1,numberOfDots);
Eigen::VectorXd ydots = Eigen::VectorXd::LinSpaced(numberOfDots+2,ylimit.x(),ylimit.y()).segment(1,numberOfDots);
std::vector<vtkActorPtr> actorDots;
Vector2d calcVelocity(Vector2d picked) const {
return (picked - position) * 1.5;
}
};
vtkStandardNewMacro(GridMouseInteractorStyle); | [
"hbjarni@student.ethz.ch"
] | hbjarni@student.ethz.ch |
ad6c3b67a0956e8512a88edfe71047f19183a72f | b762cf95c8829ba8df1d8d1a47873e626a24bb1f | /dart/collision/dart/DARTCollide.h | 2e206d2d3622e92f4314957bc02650c225f87b3f | [
"BSD-2-Clause"
] | permissive | amelim/dart | f70045b8ecc719fb9df4d8f32fe9adaeea95fe36 | 6d3d4c433b62ae3073fefa9de85430591dcaaad9 | refs/heads/master | 2021-01-18T17:16:59.008302 | 2014-11-12T21:09:25 | 2014-11-12T21:09:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,570 | h | /*
* Copyright (c) 2013-2014, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): Jeongseok Lee <jslee02@gmail.com>
*
* Georgia Tech Graphics Lab and Humanoid Robotics Lab
*
* Directed by Prof. C. Karen Liu and Prof. Mike Stilman
* <karenliu@cc.gatech.edu> <mstilman@cc.gatech.edu>
*
* This file is provided under the following "BSD-style" License:
* 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.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef DART_COLLISION_DART_DARTCOLLIDE_H_
#define DART_COLLISION_DART_DARTCOLLIDE_H_
#include <vector>
#include <Eigen/Dense>
#include "dart/collision/CollisionDetector.h"
namespace dart {
namespace dynamics {
class Shape;
} // namespace dynamics
} // namespace dart
namespace dart {
namespace collision {
int collide(const dynamics::Shape* _shape0, const Eigen::Isometry3d& _T0,
const dynamics::Shape* _shape1, const Eigen::Isometry3d& _T1,
std::vector<Contact>* _result);
int collideBoxBox(const Eigen::Vector3d& size0, const Eigen::Isometry3d& T0,
const Eigen::Vector3d& size1, const Eigen::Isometry3d& T1,
std::vector<Contact>* result);
int collideBoxSphere(const Eigen::Vector3d& size0, const Eigen::Isometry3d& T0,
const double& r1, const Eigen::Isometry3d& T1,
std::vector<Contact>* result);
int collideSphereBox(const double& r0, const Eigen::Isometry3d& T0,
const Eigen::Vector3d& size1, const Eigen::Isometry3d& T1,
std::vector<Contact>* result);
int collideSphereSphere(const double& _r0, const Eigen::Isometry3d& c0,
const double& _r1, const Eigen::Isometry3d& c1,
std::vector<Contact>* result);
int collideCylinderSphere(
const double& cyl_rad, const double& half_height,
const Eigen::Isometry3d& T0,
const double& sphere_rad, const Eigen::Isometry3d& T1,
std::vector<Contact>* result);
int collideCylinderPlane(
const double& cyl_rad, const double& half_height,
const Eigen::Isometry3d& T0,
const Eigen::Vector3d& plane_normal, const Eigen::Isometry3d& T1,
std::vector<Contact>* result);
} // namespace collision
} // namespace dart
#endif // DART_COLLISION_DART_DARTCOLLIDE_H_
| [
"jslee02@gmail.com"
] | jslee02@gmail.com |
ad0906eb6ecb8b8d11ffc5b29b7df27f4e4e3179 | 3365d254d5139a7763660c5324aa258a594d4566 | /MacOS/OpenGL_04_Polygon/OpenGL_04_Polygon/main.cpp | 4c5f2e642d589f6e20bb3882c355b336b7450611 | [] | no_license | xexexe/hello_OpenGL | e64c8f3ae04f1f0b171ec20c424c78f30b3d66bb | a8c95c9c1b3e15a4ebad09b62bb4c94f71980679 | refs/heads/master | 2021-01-21T19:20:16.621195 | 2017-06-29T05:57:24 | 2017-06-29T05:57:24 | 92,136,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,705 | cpp | //
// main.cpp
// OpenGL_04_Polygon
//
// Created by Mark Ran on 2017/5/25.
// Copyright © 2017年 markran. All rights reserved.
//
#include <iostream>
#include <GLUT/GLUT.h>
/**
* 初始化操作
*/
void init() {
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
//设置着色模式,GL_FLAT 采用恒定着色,使用图元中某个顶点的颜色来渲染整个图元。
glShadeModel(GL_FLAT);
}
/**
* 展示绘制效果
*/
void display() {
GLubyte fly[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x03, 0x80, 0x01, 0xC0, 0x06, 0xC0, 0x03, 0x60,
0x04, 0x60, 0x06, 0x20, 0x04, 0x30, 0x0C, 0x20,
0x04, 0x18, 0x18, 0x20, 0x04, 0x0C, 0x30, 0x20,
0x04, 0x06, 0x60, 0x20, 0x44, 0x03, 0xC0, 0x22,
0x44, 0x01, 0x80, 0x22, 0x44, 0x01, 0x80, 0x22,
0x44, 0x01, 0x80, 0x22, 0x44, 0x01, 0x80, 0x22,
0x44, 0x01, 0x80, 0x22, 0x44, 0x01, 0x80, 0x22,
0x66, 0x01, 0x80, 0x66, 0x33, 0x01, 0x80, 0xCC,
0x19, 0x81, 0x81, 0x98, 0x0C, 0xC1, 0x83, 0x30,
0x07, 0xe1, 0x87, 0xe0, 0x03, 0x3f, 0xfc, 0xc0,
0x03, 0x31, 0x8c, 0xc0, 0x03, 0x33, 0xcc, 0xc0,
0x06, 0x64, 0x26, 0x60, 0x0c, 0xcc, 0x33, 0x30,
0x18, 0xcc, 0x33, 0x18, 0x10, 0xc4, 0x23, 0x08,
0x10, 0x63, 0xC6, 0x08, 0x10, 0x30, 0x0c, 0x08,
0x10, 0x18, 0x18, 0x08, 0x10, 0x00, 0x00, 0x08
};
GLubyte halftone[] = {
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55
};
//清理颜色缓冲区
glClear(GL_COLOR_BUFFER_BIT);
//设置绘制颜色(白)
glColor3f(1.0, 1.0, 1.0);
//1.绘制一个矩形(正方形),左侧
glRectf(25.0, 25.0, 125.0, 125.0);
//开启多边形点画模式
glEnable(GL_POLYGON_STIPPLE);
//2.通过点画模式绘制一个小强的矩形
//小强矩形区域 32*32位
glPolygonStipple (fly);
//指定小强所在的矩形区域
glRectf(125.0, 25.0, 225.0, 125.0);
//3.通过点画绘制一张网图
glPolygonStipple (halftone);
//指定网图所在的矩形区域
glRectf(225.0, 25.0, 325.0, 125.0);
//关闭多边形点画模式
glDisable(GL_POLYGON_STIPPLE);
glFlush();
}
/**
* 调整窗口尺寸
*
* @param width 宽度
* @param height 高度
*/
void reshape(int width, int height) {
//设置视口矩形区域,在默认情况下,视口被设置为占据打开窗口的整个像素矩形
glViewport(0, 0, (GLsizei)width, (GLsizei)height);
//对投影矩阵应用随后的矩阵操作
glMatrixMode(GL_PROJECTION);
//等于是将之前矩阵变换导致变化过的栈顶矩阵重新归位,置为单位矩阵!等于是之前的矩阵变换带来的影响到此为止了!
glLoadIdentity();
//指定2D裁剪坐标系,naer和far使用默认值-1和1
gluOrtho2D(0.0, (GLdouble)width, 0.0, (GLdouble)height);
}
/**
* 键盘事件回调
*
* @param key 键位
* @param x 宽度
* @param y 高度
*/
void keyboard(unsigned char key, int x, int y) {
switch (key) {
//ESC
case 27:
exit(0);
break;
}
}
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
//初始化GLUT库
glutInit(&argc, (char**)argv);
//设置双缓冲,RGB像素格式的窗口
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
//设置窗口大小
glutInitWindowSize(350, 150);
//设置窗口坐标
glutInitWindowPosition (100, 100);
//创建窗口
glutCreateWindow("Lines");
//初始化操作
init();
//设置展示的回调方法
glutDisplayFunc(display);
glutReshapeFunc(reshape);
glutKeyboardFunc(keyboard);
//绘制线程开始循环
glutMainLoop();
return 0;
}
| [
"ranjun@wondershare.com"
] | ranjun@wondershare.com |
53c0d01815e2451d5aef9a9a057099cfb6cbe56a | 4c0111d3323b1deadd03d8b0822cac3e44d997a5 | /cpu.cpp | 313d3e39493631ba37be0d40b34a1c6c14977f0b | [
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yuhongfang/cryptopp | 2ba904c3aaec34d32f0a92026810ad7abba734a7 | c8900f39922aa3462de5ffeb6ebf8d14d87bea29 | refs/heads/master | 2021-01-14T14:32:46.272806 | 2016-04-22T04:06:50 | 2016-04-22T04:06:50 | 56,846,257 | 2 | 0 | null | 2016-04-22T10:04:59 | 2016-04-22T10:04:58 | null | UTF-8 | C++ | false | false | 6,291 | cpp | // cpu.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "config.h"
#ifndef EXCEPTION_EXECUTE_HANDLER
# define EXCEPTION_EXECUTE_HANDLER 1
#endif
#ifndef CRYPTOPP_IMPORTS
#include "cpu.h"
#include "misc.h"
#include <algorithm>
#ifndef CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY
#include <signal.h>
#include <setjmp.h>
#endif
#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
#include <emmintrin.h>
#endif
NAMESPACE_BEGIN(CryptoPP)
#ifdef CRYPTOPP_CPUID_AVAILABLE
#if _MSC_VER >= 1400 && CRYPTOPP_BOOL_X64
bool CpuId(word32 input, word32 output[4])
{
__cpuid((int *)output, input);
return true;
}
#else
#ifndef CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY
extern "C" {
typedef void (*SigHandler)(int);
static jmp_buf s_jmpNoCPUID;
static void SigIllHandlerCPUID(int)
{
longjmp(s_jmpNoCPUID, 1);
}
static jmp_buf s_jmpNoSSE2;
static void SigIllHandlerSSE2(int)
{
longjmp(s_jmpNoSSE2, 1);
}
}
#endif
bool CpuId(word32 input, word32 output[4])
{
#if defined(CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY)
__try
{
__asm
{
mov eax, input
mov ecx, 0
cpuid
mov edi, output
mov [edi], eax
mov [edi+4], ebx
mov [edi+8], ecx
mov [edi+12], edx
}
}
// GetExceptionCode() == EXCEPTION_ILLEGAL_INSTRUCTION
__except (EXCEPTION_EXECUTE_HANDLER)
{
return false;
}
// function 0 returns the highest basic function understood in EAX
if(input == 0)
return !!output[0];
return true;
#else
// longjmp and clobber warnings. Volatile is required.
// http://github.com/weidai11/cryptopp/issues/24
// http://stackoverflow.com/q/7721854
volatile bool result = true;
SigHandler oldHandler = signal(SIGILL, SigIllHandlerCPUID);
if (oldHandler == SIG_ERR)
result = false;
if (setjmp(s_jmpNoCPUID))
result = false;
else
{
asm volatile
(
// save ebx in case -fPIC is being used
// TODO: this might need an early clobber on EDI.
# if CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64
"pushq %%rbx; cpuid; mov %%ebx, %%edi; popq %%rbx"
# else
"push %%ebx; cpuid; mov %%ebx, %%edi; pop %%ebx"
# endif
: "=a" (output[0]), "=D" (output[1]), "=c" (output[2]), "=d" (output[3])
: "a" (input), "c" (0)
);
}
signal(SIGILL, oldHandler);
return result;
#endif
}
#endif
static bool TrySSE2()
{
#if CRYPTOPP_BOOL_X64
return true;
#elif defined(CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY)
__try
{
#if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE
AS2(por xmm0, xmm0) // executing SSE2 instruction
#elif CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
__m128i x = _mm_setzero_si128();
return _mm_cvtsi128_si32(x) == 0;
#endif
}
// GetExceptionCode() == EXCEPTION_ILLEGAL_INSTRUCTION
__except (EXCEPTION_EXECUTE_HANDLER)
{
return false;
}
return true;
#else
// longjmp and clobber warnings. Volatile is required.
// http://github.com/weidai11/cryptopp/issues/24
// http://stackoverflow.com/q/7721854
volatile bool result = true;
SigHandler oldHandler = signal(SIGILL, SigIllHandlerSSE2);
if (oldHandler == SIG_ERR)
return false;
if (setjmp(s_jmpNoSSE2))
result = true;
else
{
#if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE
__asm __volatile ("por %xmm0, %xmm0");
#elif CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
__m128i x = _mm_setzero_si128();
result = _mm_cvtsi128_si32(x) == 0;
#endif
}
signal(SIGILL, oldHandler);
return result;
#endif
}
bool g_x86DetectionDone = false;
bool g_hasMMX = false, g_hasISSE = false, g_hasSSE2 = false, g_hasSSSE3 = false, g_hasSSE4 = false, g_hasAESNI = false, g_hasCLMUL = false, g_isP4 = false, g_hasRDRAND = false, g_hasRDSEED = false;
word32 g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE;
// MacPorts/GCC does not provide constructor(priority). Apple/GCC and Fink/GCC do provide it.
#define HAVE_GCC_CONSTRUCTOR1 (__GNUC__ && (CRYPTOPP_INIT_PRIORITY > 0) && ((CRYPTOPP_GCC_VERSION >= 40300) || (CRYPTOPP_CLANG_VERSION >= 20900) || (_INTEL_COMPILER >= 300)) && !(MACPORTS_GCC_COMPILER > 0))
#define HAVE_GCC_CONSTRUCTOR0 (__GNUC__ && (CRYPTOPP_INIT_PRIORITY > 0) && !(MACPORTS_GCC_COMPILER > 0))
static inline bool IsIntel(const word32 output[4])
{
// This is the "GenuineIntel" string
return (output[1] /*EBX*/ == 0x756e6547) &&
(output[2] /*ECX*/ == 0x6c65746e) &&
(output[3] /*EDX*/ == 0x49656e69);
}
static inline bool IsAMD(const word32 output[4])
{
// This is the "AuthenticAMD" string
return (output[1] /*EBX*/ == 0x68747541) &&
(output[2] /*ECX*/ == 0x69746E65) &&
(output[3] /*EDX*/ == 0x444D4163);
}
#if HAVE_GCC_CONSTRUCTOR1
void __attribute__ ((constructor (CRYPTOPP_INIT_PRIORITY + 50))) DetectX86Features()
#elif HAVE_GCC_CONSTRUCTOR0
void __attribute__ ((constructor)) DetectX86Features()
#else
void DetectX86Features()
#endif
{
word32 cpuid[4], cpuid1[4];
if (!CpuId(0, cpuid))
return;
if (!CpuId(1, cpuid1))
return;
g_hasMMX = (cpuid1[3] & (1 << 23)) != 0;
if ((cpuid1[3] & (1 << 26)) != 0)
g_hasSSE2 = TrySSE2();
g_hasSSSE3 = g_hasSSE2 && (cpuid1[2] & (1<<9));
g_hasSSE4 = g_hasSSE2 && ((cpuid1[2] & (1<<19)) || (cpuid1[2] & (1<<20)));
g_hasAESNI = g_hasSSE2 && (cpuid1[2] & (1<<25));
g_hasCLMUL = g_hasSSE2 && (cpuid1[2] & (1<<1));
if ((cpuid1[3] & (1 << 25)) != 0)
g_hasISSE = true;
else
{
word32 cpuid2[4];
CpuId(0x080000000, cpuid2);
if (cpuid2[0] >= 0x080000001)
{
CpuId(0x080000001, cpuid2);
g_hasISSE = (cpuid2[3] & (1 << 22)) != 0;
}
}
static const unsigned int RDRAND_FLAG = (1 << 30);
static const unsigned int RDSEED_FLAG = (1 << 18);
if (IsIntel(cpuid))
{
g_isP4 = ((cpuid1[0] >> 8) & 0xf) == 0xf;
g_cacheLineSize = 8 * GETBYTE(cpuid1[1], 1);
g_hasRDRAND = !!(cpuid1[2] /*ECX*/ & RDRAND_FLAG);
if (cpuid[0] /*EAX*/ >= 7)
{
word32 cpuid3[4];
if (CpuId(7, cpuid3))
g_hasRDSEED = !!(cpuid3[1] /*EBX*/ & RDSEED_FLAG);
}
}
else if (IsAMD(cpuid))
{
CpuId(0x80000005, cpuid);
g_cacheLineSize = GETBYTE(cpuid[2], 0);
g_hasRDRAND = !!(cpuid[2] /*ECX*/ & RDRAND_FLAG);
}
if (!g_cacheLineSize)
g_cacheLineSize = CRYPTOPP_L1_CACHE_LINE_SIZE;
*((volatile bool*)&g_x86DetectionDone) = true;
}
#endif
NAMESPACE_END
#endif
| [
"noloader@gmail.com"
] | noloader@gmail.com |
7dec8e6484401d7d3462f1e6a3192c772f873b2f | 5099bc23eba70d3b71aa68c6b3945c229f662d4f | /project-1.cpp | 40164cae43c430be4051d0839762dea1f138e751 | [] | no_license | jkabagem/Projects | 6bfb90797c6fe4fcb5be863e5a34b6cff95a32ce | 763e75bd9856583e5ac8b77cdb3a050b2fff1c3d | refs/heads/master | 2021-01-12T04:15:19.501624 | 2016-12-28T20:18:58 | 2016-12-28T20:18:58 | 77,557,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94 | cpp | #include iostream
using namespace std;
int main () {
cout << "Hello world\n";
return 0;
} | [
"julien kabagema"
] | julien kabagema |
5df30733d52c697e0aed3a69e47e67d2f4515c34 | 2a0eaa9bc3ee3b9233ec65df4a4487de13f80b38 | /src/addrman.cpp | 535cad091ba7a6f0a1cd37b6fcb3ad2c3b8d13e3 | [
"MIT"
] | permissive | smacheng/coolcoin | 826175915671686dc21fabd5453f22cbdb715efc | a06216b892d2b7a771a5d979b3507cbb8ec327b3 | refs/heads/master | 2021-05-02T16:29:13.536290 | 2014-01-13T06:38:44 | 2014-01-13T06:38:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,667 | cpp | // Copyright (c) 2012 Pieter Wuille
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h"
using namespace std;
int CAddrInfo::GetTriedBucket(const std::vector<unsigned char> &nKey) const
{
CDataStream ss1(SER_GETHASH, 0);
std::vector<unsigned char> vchKey = GetKey();
ss1 << nKey << vchKey;
uint64 hash1 = Hash(ss1.begin(), ss1.end()).Get64();
CDataStream ss2(SER_GETHASH, 0);
std::vector<unsigned char> vchGroupKey = GetGroup();
ss2 << nKey << vchGroupKey << (hash1 % ADDRMAN_TRIED_BUCKETS_PER_GROUP);
uint64 hash2 = Hash(ss2.begin(), ss2.end()).Get64();
return hash2 % ADDRMAN_TRIED_BUCKET_COUNT;
}
int CAddrInfo::GetNewBucket(const std::vector<unsigned char> &nKey, const CNetAddr& src) const
{
CDataStream ss1(SER_GETHASH, 0);
std::vector<unsigned char> vchGroupKey = GetGroup();
std::vector<unsigned char> vchSourceGroupKey = src.GetGroup();
ss1 << nKey << vchGroupKey << vchSourceGroupKey;
uint64 hash1 = Hash(ss1.begin(), ss1.end()).Get64();
CDataStream ss2(SER_GETHASH, 0);
ss2 << nKey << vchSourceGroupKey << (hash1 % ADDRMAN_NEW_BUCKETS_PER_SOURCE_GROUP);
uint64 hash2 = Hash(ss2.begin(), ss2.end()).Get64();
return hash2 % ADDRMAN_NEW_BUCKET_COUNT;
}
bool CAddrInfo::IsTerrible(int64 nNow) const
{
if (nLastTry && nLastTry >= nNow-60) // never remove things tried the last minute
return false;
if (nTime > nNow + 10*60) // came in a flying DeLorean
return true;
if (nTime==0 || nNow-nTime > ADDRMAN_HORIZON_DAYS*86400) // not seen in over a month
return true;
if (nLastSuccess==0 && nAttempts>=ADDRMAN_RETRIES) // tried three times and never a success
return true;
if (nNow-nLastSuccess > ADDRMAN_MIN_FAIL_DAYS*86400 && nAttempts>=ADDRMAN_MAX_FAILURES) // 10 successive failures in the last week
return true;
return false;
}
double CAddrInfo::GetChance(int64 nNow) const
{
double fChance = 1.0;
int64 nSinceLastSeen = nNow - nTime;
int64 nSinceLastTry = nNow - nLastTry;
if (nSinceLastSeen < 0) nSinceLastSeen = 0;
if (nSinceLastTry < 0) nSinceLastTry = 0;
fChance *= 600.0 / (600.0 + nSinceLastSeen);
// deprioritize very recent attempts away
if (nSinceLastTry < 60*10)
fChance *= 0.01;
// deprioritize 50% after each failed attempt
for (int n=0; n<nAttempts; n++)
fChance /= 1.5;
return fChance;
}
CAddrInfo* CAddrMan::Find(const CNetAddr& addr, int *pnId)
{
std::map<CNetAddr, int>::iterator it = mapAddr.find(addr);
if (it == mapAddr.end())
return NULL;
if (pnId)
*pnId = (*it).second;
std::map<int, CAddrInfo>::iterator it2 = mapInfo.find((*it).second);
if (it2 != mapInfo.end())
return &(*it2).second;
return NULL;
}
CAddrInfo* CAddrMan::Create(const CAddress &addr, const CNetAddr &addrSource, int *pnId)
{
int nId = nIdCount++;
mapInfo[nId] = CAddrInfo(addr, addrSource);
mapAddr[addr] = nId;
mapInfo[nId].nRandomPos = vRandom.size();
vRandom.push_back(nId);
if (pnId)
*pnId = nId;
return &mapInfo[nId];
}
void CAddrMan::SwapRandom(unsigned int nRndPos1, unsigned int nRndPos2)
{
if (nRndPos1 == nRndPos2)
return;
assert(nRndPos1 < vRandom.size() && nRndPos2 < vRandom.size());
int nId1 = vRandom[nRndPos1];
int nId2 = vRandom[nRndPos2];
assert(mapInfo.count(nId1) == 1);
assert(mapInfo.count(nId2) == 1);
mapInfo[nId1].nRandomPos = nRndPos2;
mapInfo[nId2].nRandomPos = nRndPos1;
vRandom[nRndPos1] = nId2;
vRandom[nRndPos2] = nId1;
}
int CAddrMan::SelectTried(int nKBucket)
{
std::vector<int> &vTried = vvTried[nKBucket];
// random shuffle the first few elements (using the entire list)
// find the least recently tried among them
int64 nOldest = -1;
int nOldestPos = -1;
for (unsigned int i = 0; i < ADDRMAN_TRIED_ENTRIES_INSPECT_ON_EVICT && i < vTried.size(); i++)
{
int nPos = GetRandInt(vTried.size() - i) + i;
int nTemp = vTried[nPos];
vTried[nPos] = vTried[i];
vTried[i] = nTemp;
assert(nOldest == -1 || mapInfo.count(nTemp) == 1);
if (nOldest == -1 || mapInfo[nTemp].nLastSuccess < mapInfo[nOldest].nLastSuccess) {
nOldest = nTemp;
nOldestPos = nPos;
}
}
return nOldestPos;
}
int CAddrMan::ShrinkNew(int nUBucket)
{
assert(nUBucket >= 0 && (unsigned int)nUBucket < vvNew.size());
std::set<int> &vNew = vvNew[nUBucket];
// first look for deletable items
for (std::set<int>::iterator it = vNew.begin(); it != vNew.end(); it++)
{
assert(mapInfo.count(*it));
CAddrInfo &info = mapInfo[*it];
if (info.IsTerrible())
{
if (--info.nRefCount == 0)
{
SwapRandom(info.nRandomPos, vRandom.size()-1);
vRandom.pop_back();
mapAddr.erase(info);
mapInfo.erase(*it);
nNew--;
}
vNew.erase(it);
return 0;
}
}
// otherwise, select four randomly, and pick the oldest of those to replace
int n[4] = {GetRandInt(vNew.size()), GetRandInt(vNew.size()), GetRandInt(vNew.size()), GetRandInt(vNew.size())};
int nI = 0;
int nOldest = -1;
for (std::set<int>::iterator it = vNew.begin(); it != vNew.end(); it++)
{
if (nI == n[0] || nI == n[1] || nI == n[2] || nI == n[3])
{
assert(nOldest == -1 || mapInfo.count(*it) == 1);
if (nOldest == -1 || mapInfo[*it].nTime < mapInfo[nOldest].nTime)
nOldest = *it;
}
nI++;
}
assert(mapInfo.count(nOldest) == 1);
CAddrInfo &info = mapInfo[nOldest];
if (--info.nRefCount == 0)
{
SwapRandom(info.nRandomPos, vRandom.size()-1);
vRandom.pop_back();
mapAddr.erase(info);
mapInfo.erase(nOldest);
nNew--;
}
vNew.erase(nOldest);
return 1;
}
void CAddrMan::MakeTried(CAddrInfo& info, int nId, int nOrigin)
{
assert(vvNew[nOrigin].count(nId) == 1);
// remove the entry from all new buckets
for (std::vector<std::set<int> >::iterator it = vvNew.begin(); it != vvNew.end(); it++)
{
if ((*it).erase(nId))
info.nRefCount--;
}
nNew--;
assert(info.nRefCount == 0);
// what tried bucket to move the entry to
int nKBucket = info.GetTriedBucket(nKey);
std::vector<int> &vTried = vvTried[nKBucket];
// first check whether there is place to just add it
if (vTried.size() < ADDRMAN_TRIED_BUCKET_SIZE)
{
vTried.push_back(nId);
nTried++;
info.fInTried = true;
return;
}
// otherwise, find an item to evict
int nPos = SelectTried(nKBucket);
// find which new bucket it belongs to
assert(mapInfo.count(vTried[nPos]) == 1);
int nUBucket = mapInfo[vTried[nPos]].GetNewBucket(nKey);
std::set<int> &vNew = vvNew[nUBucket];
// remove the to-be-replaced tried entry from the tried set
CAddrInfo& inCLCld = mapInfo[vTried[nPos]];
inCLCld.fInTried = false;
inCLCld.nRefCount = 1;
// do not update nTried, as we are going to move something else there immediately
// check whether there is place in that one,
if (vNew.size() < ADDRMAN_NEW_BUCKET_SIZE)
{
// if so, move it back there
vNew.insert(vTried[nPos]);
} else {
// otherwise, move it to the new bucket nId came from (there is certainly place there)
vvNew[nOrigin].insert(vTried[nPos]);
}
nNew++;
vTried[nPos] = nId;
// we just overwrote an entry in vTried; no need to update nTried
info.fInTried = true;
return;
}
void CAddrMan::Good_(const CService &addr, int64 nTime)
{
// printf("Good: addr=%s\n", addr.ToString().c_str());
int nId;
CAddrInfo *pinfo = Find(addr, &nId);
// if not found, bail out
if (!pinfo)
return;
CAddrInfo &info = *pinfo;
// check whether we are talking about the exact same CService (including same port)
if (info != addr)
return;
// update info
info.nLastSuccess = nTime;
info.nLastTry = nTime;
info.nTime = nTime;
info.nAttempts = 0;
// if it is already in the tried set, don't do anything else
if (info.fInTried)
return;
// find a bucket it is in now
int nRnd = GetRandInt(vvNew.size());
int nUBucket = -1;
for (unsigned int n = 0; n < vvNew.size(); n++)
{
int nB = (n+nRnd) % vvNew.size();
std::set<int> &vNew = vvNew[nB];
if (vNew.count(nId))
{
nUBucket = nB;
break;
}
}
// if no bucket is found, something bad happened;
// TODO: maybe re-add the node, but for now, just bail out
if (nUBucket == -1) return;
printf("Moving %s to tried\n", addr.ToString().c_str());
// move nId to the tried tables
MakeTried(info, nId, nUBucket);
}
bool CAddrMan::Add_(const CAddress &addr, const CNetAddr& source, int64 nTimePenalty)
{
if (!addr.IsRoutable())
return false;
bool fNew = false;
int nId;
CAddrInfo *pinfo = Find(addr, &nId);
if (pinfo)
{
// periodically update nTime
bool fCurrentlyOnline = (GetAdjustedTime() - addr.nTime < 24 * 60 * 60);
int64 nUpdateInterval = (fCurrentlyOnline ? 60 * 60 : 24 * 60 * 60);
if (addr.nTime && (!pinfo->nTime || pinfo->nTime < addr.nTime - nUpdateInterval - nTimePenalty))
pinfo->nTime = max((int64)0, addr.nTime - nTimePenalty);
// add services
pinfo->nServices |= addr.nServices;
// do not update if no new information is present
if (!addr.nTime || (pinfo->nTime && addr.nTime <= pinfo->nTime))
return false;
// do not update if the entry was already in the "tried" table
if (pinfo->fInTried)
return false;
// do not update if the max reference count is reached
if (pinfo->nRefCount == ADDRMAN_NEW_BUCKETS_PER_ADDRESS)
return false;
// stochastic test: previous nRefCount == N: 2^N times harder to increase it
int nFactor = 1;
for (int n=0; n<pinfo->nRefCount; n++)
nFactor *= 2;
if (nFactor > 1 && (GetRandInt(nFactor) != 0))
return false;
} else {
pinfo = Create(addr, source, &nId);
pinfo->nTime = max((int64)0, (int64)pinfo->nTime - nTimePenalty);
// printf("Added %s [nTime=%fhr]\n", pinfo->ToString().c_str(), (GetAdjustedTime() - pinfo->nTime) / 3600.0);
nNew++;
fNew = true;
}
int nUBucket = pinfo->GetNewBucket(nKey, source);
std::set<int> &vNew = vvNew[nUBucket];
if (!vNew.count(nId))
{
pinfo->nRefCount++;
if (vNew.size() == ADDRMAN_NEW_BUCKET_SIZE)
ShrinkNew(nUBucket);
vvNew[nUBucket].insert(nId);
}
return fNew;
}
void CAddrMan::Attempt_(const CService &addr, int64 nTime)
{
CAddrInfo *pinfo = Find(addr);
// if not found, bail out
if (!pinfo)
return;
CAddrInfo &info = *pinfo;
// check whether we are talking about the exact same CService (including same port)
if (info != addr)
return;
// update info
info.nLastTry = nTime;
info.nAttempts++;
}
CAddress CAddrMan::Select_(int nUnkBias)
{
if (size() == 0)
return CAddress();
double nCorTried = sqrt(nTried) * (100.0 - nUnkBias);
double nCorNew = sqrt(nNew) * nUnkBias;
if ((nCorTried + nCorNew)*GetRandInt(1<<30)/(1<<30) < nCorTried)
{
// use a tried node
double fChanceFactor = 1.0;
while(1)
{
int nKBucket = GetRandInt(vvTried.size());
std::vector<int> &vTried = vvTried[nKBucket];
if (vTried.size() == 0) continue;
int nPos = GetRandInt(vTried.size());
assert(mapInfo.count(vTried[nPos]) == 1);
CAddrInfo &info = mapInfo[vTried[nPos]];
if (GetRandInt(1<<30) < fChanceFactor*info.GetChance()*(1<<30))
return info;
fChanceFactor *= 1.2;
}
} else {
// use an new node
double fChanceFactor = 1.0;
while(1)
{
int nUBucket = GetRandInt(vvNew.size());
std::set<int> &vNew = vvNew[nUBucket];
if (vNew.size() == 0) continue;
int nPos = GetRandInt(vNew.size());
std::set<int>::iterator it = vNew.begin();
while (nPos--)
it++;
assert(mapInfo.count(*it) == 1);
CAddrInfo &info = mapInfo[*it];
if (GetRandInt(1<<30) < fChanceFactor*info.GetChance()*(1<<30))
return info;
fChanceFactor *= 1.2;
}
}
}
#ifdef DEBUG_ADDRMAN
int CAddrMan::Check_()
{
std::set<int> setTried;
std::map<int, int> mapNew;
if (vRandom.size() != nTried + nNew) return -7;
for (std::map<int, CAddrInfo>::iterator it = mapInfo.begin(); it != mapInfo.end(); it++)
{
int n = (*it).first;
CAddrInfo &info = (*it).second;
if (info.fInTried)
{
if (!info.nLastSuccess) return -1;
if (info.nRefCount) return -2;
setTried.insert(n);
} else {
if (info.nRefCount < 0 || info.nRefCount > ADDRMAN_NEW_BUCKETS_PER_ADDRESS) return -3;
if (!info.nRefCount) return -4;
mapNew[n] = info.nRefCount;
}
if (mapAddr[info] != n) return -5;
if (info.nRandomPos<0 || info.nRandomPos>=vRandom.size() || vRandom[info.nRandomPos] != n) return -14;
if (info.nLastTry < 0) return -6;
if (info.nLastSuccess < 0) return -8;
}
if (setTried.size() != nTried) return -9;
if (mapNew.size() != nNew) return -10;
for (int n=0; n<vvTried.size(); n++)
{
std::vector<int> &vTried = vvTried[n];
for (std::vector<int>::iterator it = vTried.begin(); it != vTried.end(); it++)
{
if (!setTried.count(*it)) return -11;
setTried.erase(*it);
}
}
for (int n=0; n<vvNew.size(); n++)
{
std::set<int> &vNew = vvNew[n];
for (std::set<int>::iterator it = vNew.begin(); it != vNew.end(); it++)
{
if (!mapNew.count(*it)) return -12;
if (--mapNew[*it] == 0)
mapNew.erase(*it);
}
}
if (setTried.size()) return -13;
if (mapNew.size()) return -15;
return 0;
}
#endif
void CAddrMan::GetAddr_(std::vector<CAddress> &vAddr)
{
int nNodes = ADDRMAN_GETADDR_MAX_PCT*vRandom.size()/100;
if (nNodes > ADDRMAN_GETADDR_MAX)
nNodes = ADDRMAN_GETADDR_MAX;
// perform a random shuffle over the first nNodes elements of vRandom (selecting from all)
for (int n = 0; n<nNodes; n++)
{
int nRndPos = GetRandInt(vRandom.size() - n) + n;
SwapRandom(n, nRndPos);
assert(mapInfo.count(vRandom[n]) == 1);
vAddr.push_back(mapInfo[vRandom[n]]);
}
}
void CAddrMan::Connected_(const CService &addr, int64 nTime)
{
CAddrInfo *pinfo = Find(addr);
// if not found, bail out
if (!pinfo)
return;
CAddrInfo &info = *pinfo;
// check whether we are talking about the exact same CService (including same port)
if (info != addr)
return;
// update info
int64 nUpdateInterval = 20 * 60;
if (nTime - info.nTime > nUpdateInterval)
info.nTime = nTime;
}
| [
"coolcoin@live.com"
] | coolcoin@live.com |
42a5096d5f94bf7c96a660b497a5e24f7e216f4d | f3cdb96a4d22885865bda860693867dadf43a89b | /server/GameServer.cpp | 604af779f6d05b90b14fec2ed6d7efc8583660b5 | [] | no_license | SzymonPajzert/siktacka | 62a0a4d9f4c5ab42d80ed36b70c788f4ade36e04 | 75a284fb3523e99ce8fb9735dbbf4de58deb0847 | refs/heads/master | 2021-03-16T09:23:32.325266 | 2017-09-07T18:52:02 | 2017-09-07T18:52:02 | 100,859,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,722 | cpp | //
// Created by svp on 07.08.17.
//
#include <vector>
#include "GameServer.hpp"
void GameServer::run() {
logs(serv, 0) << "Server run" << std::endl;
while(play_game()) {}
logs(serv, 0) << "Game stopped" << std::endl;
}
bool GameServer::play_game() {
logs(serv, 0) << "Play game called" << std::endl;
if (!start_game()) {
std::cerr << "Game cannot start - cannot collect players" << std::endl;
return false;
}
broadcast(get_from(0));
bool play_game = true;
while(play_game) {
logs(serv, 3) << "In play_game loop" << std::endl;
maybe<PlayerPackage> read_command = nullptr;
while ((read_command = receive_next()) != nullptr) {
logs(serv, 5) << "Received nonempty command";
map_maybe_(read_command, [this](PlayerPackage command) -> void {
auto event_no = command.package.next_expected_event_no;
logs(comm, 2) << "Responding to client request" << std::endl;
auto package = get_from(event_no);
socket.send(command.owner->get_address(), package);
});
}
// We got timeouted and have to process the next step
socket.reset();
auto calculate_result = calculate_step();
play_game = !std::get<0>(calculate_result);
ServerPackage next_action = std::move(std::get<1>(calculate_result));
broadcast(next_action);
}
return true;
}
PlayerPtr GameServer::resolve_player(TimeoutSocket::socket_data data) {
logs(serv, 1) << "resolve_player" << std::endl;
auto player_address = std::get<0>(data);
auto player_name = std::get<1>(data).player_name;
auto player_session_id = std::get<1>(data).session_id;
PlayerPtr result = nullptr;
for(const auto & player : connected_users) {
auto same_address = player->get_address().same_socket(player_address);
auto same_name = player->player_name == player_name;
logs(serv, 5)
<< "Trying player '" << player->player_name << "' "
<< "Same address(" << same_address << "), name(" << same_name << ")"
<< std::endl;
if (same_address and same_name) {
if (result != nullptr and result->session_id == player_session_id) failure("Indistinguishable users");
if (result->session_id < player_session_id) {
result->session_id = player_session_id;
}
result = player;
}
}
// If the user doesn't exist we have to create new one
if(result == nullptr) {
logs(serv, 2) << "Creating new user: " << player_name << std::endl;
result = std::make_shared<Player>(Player { player_name, player_session_id, player_address });
connected_users.insert(result);
} else {
logs(serv, 3) << "Player already exists" << std::endl;
}
// If player is successfully resolved, update their direction
if(result != nullptr) {
player_directions[result] = std::get<1>(data).turn_direction;
last_activity[result] = get_cur_time();
}
player_cleanup();
return result;
}
bool GameServer::can_start() const {
logs(serv, 6) << "Called can_start";
bool all_pressed = true;
size_t player_count = 0;
for(const auto & playerPtr : connected_users) {
if(!playerPtr->player_name.empty()) {
player_count++;
std::cerr << player_directions.size() << std::endl;
all_pressed = all_pressed and player_directions.find(playerPtr) != player_directions.end();
logs(serv, 7) << " " << all_pressed;
if(!all_pressed) break;
}
}
logs(serv, 6) << std::endl;
bool result = (all_pressed && player_count >= 2);
logs(serv, 4) << "Called can_start(" << result << ")" << std::endl;
return result;
}
bool GameServer::game_finished() const {
return player_directions.size() == 1 and head_directions.size() == 1 and head_positions.size() == 1;
}
bool GameServer::start_game() {
while(!can_start()) {
logs(serv, 2) << "In loop for start game" << std::endl;
auto package = receive_next(false);
if(package != nullptr) {
logs(serv, 2) << "Read client package" << std::endl;
}
}
return initialize_map();
}
ServerPackage GameServer::get_from(event_no_t event_no) const {
std::vector<binary_t> interesting_events;
for(size_t it = event_no; it < events.size(); it++) {
logs(serv, 4) << "Serializing event no: " << it << std::endl;
interesting_events.push_back(events[it]);
}
std::vector<binary_t> serialized_events {};
auto new_writer = [this]() -> auto {
binary_writer_t writer { config::UDP_SIZE };
writer.write(this->game_id);
if(!writer.is_ok()) {
failure("Failed writing to the buffer");
}
return writer;
};
auto writer = new_writer();
for(auto event : interesting_events) {
logs(serv, 4) << "Event serialized" << std::endl;
if(writer.size_left() < event.length) {
logs(serv, 3) << "Full package, creating new" << std::endl;
serialized_events.push_back(writer.save());
writer = new_writer();
}
writer.write_bytes(event);
if(!writer.is_ok()) {
failure("Failed writing to the buffer");
}
}
logs(serv, 3) << "Finished writing package" << std::endl;
serialized_events.push_back(writer.save());
return serialized_events;
}
maybe<PlayerPackage> GameServer::receive_next(bool do_timeout) {
return map_maybe<TimeoutSocket::socket_data, PlayerPackage> (socket.receive(do_timeout),
[this](auto data) -> auto {
return PlayerPackage{ this->resolve_player(data), std::get<1>(data) };
});
}
std::tuple<bool, ServerPackage> GameServer::calculate_step() {
logs(serv, 2) << "Calculate next step - len(player_directions) == " << player_directions.size() << std::endl;
auto new_action_id = get_new_event_no();
for(auto player_dir : player_directions) {
auto player = player_dir.first;
auto direction = player_dir.second;
head_directions[player].turn(direction, params.turning);
move_head(player);
}
auto new_actions = get_from(new_action_id);
return std::make_tuple<bool, ServerPackage>(game_finished(), std::move(new_actions));
}
void GameServer::move_head(PlayerPtr player) {
logs(serv, 3) << "Move head" << std::endl;
auto position = head_positions[player];
auto new_position = position.move(head_directions[player]);
bool player_playing = true;
if(not new_position.disc_equal(position)) {
player_playing = try_put_pixel(player, new_position.to_disc());
}
if(player_playing) {
head_positions[player] = new_position;
}
}
bool GameServer::initialize_map() {
logs(serv, 1) << "Initializing map" << std::endl;
game_id = static_cast<game_id_t>(random_source.get_next());
generate_new_game();
player_id_t current_id = 0;
for(auto player_dir : player_directions) {
auto player = player_dir.first;
// Initialize player id
player_ids[player] = current_id++;
auto x = random_source.get_next() % params.width + 0.5;
auto y = random_source.get_next() % params.height + 0.5;
if(try_put_pixel(player, std::make_pair(x, y))) {
head_directions[player] = angle_t { static_cast<int>(random_source.get_next() % 360) };
}
}
return true;
}
template<typename T>
bool in(const T & x, const T & first, const T & second) {
return x >= first and x <= second;
}
bool GameServer::try_put_pixel(PlayerPtr player, disc_position_t position) {
bool result =
in(position.first, 0, params.width - 1) and
in(position.second, 0, params.height - 1) and
(occupied_positions.find(position) == occupied_positions.end());
if(result) {
generate_pixel(player, position);
} else {
generate_player_eliminated(player);
}
return result;
}
len_t WARN_UNUSED GameServer::encaps_write_event(binary_t event_data) {
auto len = static_cast<len_t>(event_data.length + 4 + 4); // take into account len + crc32;
binary_writer_t writer { config::EVENT_SIZE };
writer.write<uint32_t>(len);
writer.write_bytes(event_data);
uLong crc = crc32(0L, Z_NULL, 0);
crc = crc32(crc, (const unsigned char*)&len, sizeof(len));
crc = crc32(crc, event_data.bytes.get(), static_cast<uInt>(event_data.length));
writer.write<crc_t>(static_cast<crc_t>(crc));
if(writer.is_ok()) {
events.push_back(writer.save());
} else {
failure("Writer failed");
}
return len;
}
void check_size(len_t saved_size, len_t required_size, const std::string &description) {
if(saved_size != required_size) {
logs(errors, 0) << saved_size << " != " << required_size;
failure(description + " - number of bytes written is wrong ");
}
}
void GameServer::generate_new_game() {
logs(serv, 3) << "generate: new_game" << std::endl;
auto event = get_new_event_no();
binary_writer_t writer { config::EVENT_SPECIFIC_SIZE };
writer.write(host_to_net(event));
writer.write(host_to_net(NEW_GAME));
writer.write(host_to_net(params.width));
writer.write(host_to_net(params.height));
if(writer.is_ok()) {
for(auto player_dir : player_directions) {
auto player = player_dir.first;
writer.write(player->player_name);
writer.write('\0');
}
}
if(!writer.is_ok()) {
failure("writing in generate_new_game failed");
}
len_t required_size = 4+4+1+(2 * sizeof(dim_t)) + 4;
for(auto player_dir : player_directions) {
auto player = player_dir.first;
required_size += 1 + player->player_name.size();
}
check_size(encaps_write_event(writer.save()), required_size, "generate_new_game");
}
void GameServer::generate_pixel(const PlayerPtr &player, disc_position_t position) {
logs(serv, 3) << "generate: pixel" << std::endl;
event_no_t event = get_new_event_no();
binary_writer_t writer { config::EVENT_SPECIFIC_SIZE };
writer.write(host_to_net<event_no_t>(event));
writer.write(host_to_net<event_type_t>(PIXEL));
writer.write(host_to_net<uint8_t>(get_player_id(player)));
writer.write(host_to_net(position.first));
writer.write(host_to_net(position.second));
if(!writer.is_ok()) {
failure("writing in generate_pixel failed");
}
check_size(encaps_write_event(writer.save()), 4+4+1+(1+4+4)+4, "generate_pixel");
}
void GameServer::generate_player_eliminated(PlayerPtr player) {
logs(serv, 3) << "generate: player_eliminated" << std::endl;
auto event = get_new_event_no();
binary_writer_t writer { config::EVENT_SPECIFIC_SIZE };
writer.write(host_to_net(event));
writer.write(host_to_net(PLAYER_ELIMINATED));
writer.write(host_to_net<uint8_t>(get_player_id(player)));
if(!writer.is_ok()) {
failure("writing in generate_new_game failed");
}
check_size(encaps_write_event(writer.save()), 4+4+1+(1)+4, "generate_player_eliminated");
}
void GameServer::player_cleanup() {
auto cur_time = get_cur_time();
for(const auto & playerDir : player_directions) {
if(last_activity.at(playerDir.first) < cur_time - config::INACTIVITY_KICK) {
logs(serv, 3) << "Removing player " << playerDir.first->player_name << std::endl;
player_directions.erase(playerDir.first);
}
}
}
| [
"szymonpajzert@gmail.com"
] | szymonpajzert@gmail.com |
73ac2c0e4f2737bf1fbec14134b9a3317ccc1dfa | 3106397a9ede72b504719ee0088406dbcfff3e2f | /software/tractor/ros_lib/cob_object_detection_msgs/RectArray.h | cafd6239b4301d0644d17adca1fa1914f89a227b | [
"MIT"
] | permissive | rje1974/Proyecto-Pochito | a9f60f711bd2f5187ca6173ed0b34df67389158f | 3bb7cfd159a3c24e5cef3523d51e3ee2c54be7d0 | refs/heads/master | 2021-06-29T03:17:08.377252 | 2020-11-21T20:27:38 | 2020-11-21T20:27:38 | 192,087,298 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | h | #ifndef _ROS_cob_object_detection_msgs_RectArray_h
#define _ROS_cob_object_detection_msgs_RectArray_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "std_msgs/Header.h"
#include "cob_object_detection_msgs/Rect.h"
namespace cob_object_detection_msgs
{
class RectArray : public ros::Msg
{
public:
typedef std_msgs::Header _header_type;
_header_type header;
uint32_t rects_length;
typedef cob_object_detection_msgs::Rect _rects_type;
_rects_type st_rects;
_rects_type * rects;
RectArray():
header(),
rects_length(0), rects(NULL)
{
}
virtual int serialize(unsigned char *outbuffer) const
{
int offset = 0;
offset += this->header.serialize(outbuffer + offset);
*(outbuffer + offset + 0) = (this->rects_length >> (8 * 0)) & 0xFF;
*(outbuffer + offset + 1) = (this->rects_length >> (8 * 1)) & 0xFF;
*(outbuffer + offset + 2) = (this->rects_length >> (8 * 2)) & 0xFF;
*(outbuffer + offset + 3) = (this->rects_length >> (8 * 3)) & 0xFF;
offset += sizeof(this->rects_length);
for( uint32_t i = 0; i < rects_length; i++){
offset += this->rects[i].serialize(outbuffer + offset);
}
return offset;
}
virtual int deserialize(unsigned char *inbuffer)
{
int offset = 0;
offset += this->header.deserialize(inbuffer + offset);
uint32_t rects_lengthT = ((uint32_t) (*(inbuffer + offset)));
rects_lengthT |= ((uint32_t) (*(inbuffer + offset + 1))) << (8 * 1);
rects_lengthT |= ((uint32_t) (*(inbuffer + offset + 2))) << (8 * 2);
rects_lengthT |= ((uint32_t) (*(inbuffer + offset + 3))) << (8 * 3);
offset += sizeof(this->rects_length);
if(rects_lengthT > rects_length)
this->rects = (cob_object_detection_msgs::Rect*)realloc(this->rects, rects_lengthT * sizeof(cob_object_detection_msgs::Rect));
rects_length = rects_lengthT;
for( uint32_t i = 0; i < rects_length; i++){
offset += this->st_rects.deserialize(inbuffer + offset);
memcpy( &(this->rects[i]), &(this->st_rects), sizeof(cob_object_detection_msgs::Rect));
}
return offset;
}
const char * getType(){ return "cob_object_detection_msgs/RectArray"; };
const char * getMD5(){ return "e83b38fbaea3a641fa77f009f9bf492e"; };
};
}
#endif | [
"juaneduardoriva@gmail.com"
] | juaneduardoriva@gmail.com |
2a58172ad2cc91983f166e43eb0cc570eadd08b3 | a19debde19b27a4a0ce1a218e8cf340db1a65f53 | /Classes/GameScene.cpp | 0f30943c04b38277c5df32a5365fcde6b264c0c4 | [
"MIT"
] | permissive | canh7antt8a/Onet-Connection | 12b496130dc8bd02252a8f2b14d471b11d3d2520 | 1b0c80eb7e262b8c068c80129c22617b96e1b08c | refs/heads/master | 2020-04-11T10:42:41.531413 | 2018-03-17T03:24:16 | 2018-03-17T03:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,035 | cpp |
// PikachuConnect
//
// Created by NguyenHoang on 8/18/16.
//
//
#include "GameScene.h"
#include "ButtonCustom.h"
#include "GameDefine.h"
#include "HomeScene.h"
#include "PikachuObject.h"
#include "MyLine.h"
#include "DrawLinePikachu.h"
#include "PopupGame.h"
#include "Admob.h"
#include "AdmodAndroid.h"
#include "SimpleAudioEngine.h"
#include "GameCenterAndGoolePlay.h"
#define WIDTH_BUTTON 138
#define HEIGHT_BUTTON 138
#define BUFFER_LABEL 20.0f
#define FONT_SIZE_LARGE 50
#define FONT_SIZE_SMALL 46
#define MAX_WIDTH 14
#define MAX_HEIGHT 7
#define COUNT_TOUCH_START 0
#define BUFFER_DRAW_Y 26
#define BUFFER_DRAW_X 10
#define TIME_UPDATE_PROGRESS 0.026f
#define TAG_BTN_OK_INPUT 12344
#define COLOR_BG_POP_UP Color4B(50.0f/255.0f, 50.0f/255.0f, 50.0f/255.0f,100.0f)
enum{
z_Order_bg = 0,
z_Order_gameBoard = 1,
z_Order_Layout = 2,
};
typedef enum
{
TAG_BACK_OKAY = 100,
TAG_BACK_CLOSE = 101,
TAG_WIN_NEXT = 104,
TAG_OVER_REPLAY = 105,
TAG_OVER_MAINHOME = 106,
TAG_PAUSE_PLAY = 107,
TAG_PAUSE_HOME = 108,
}TAG_BUTTON;
typedef enum
{
TAG_POP_UP_BACK = 1400,
TAG_POP_UP_REFRESH = 1401,
TAG_POP_UP_WIN = 1402,
TAG_POP_UP_GAMEOVER = 1403,
TAG_POP_UP_PAUSE = 1404,
TAG_LAYER_START_GAME = 1405,
}TAG_POPUP;
#define TIME_DELAY 0.054f
#define TIME_DELAY_LINE 0.026f
USING_NS_CC;
Scene* GameScene::createSceneGameScene()
{
auto scene = Scene::create();
auto layer = GameScene::create();
scene->addChild(layer);
return scene;
}
// on "init" you need to initialize your instance
bool GameScene::init()
{
if ( !Layer::init() )
{
return false;
}
if(!arrayPositionTouch.empty())
{
arrayPositionTouch.clear();
}
srand( (unsigned)time(NULL) );
randomEat1 = rand() % 11;
randomEat2 = rand() % 21 + 10;
randomEat3 = rand() % 16 + 20;
countSuggest = 3;
countRefresh = 3;
isShowOnePopup = false;
ispause = false;
currentTouchID = -1;
isFirstTouch = false;
countTouch = COUNT_TOUCH_START;
winSize = Director::getInstance()->getWinSize();
auto sprite = Sprite::create("bgGameScene.png");
sprite->setPosition(Vec2(winSize.width/2, winSize.height/2));
this->addChild(sprite);
/*setup data in game*/
level = UserDefault::getInstance()->getIntegerForKey("Level-Local", 1); /*Setup Data*/
score = 0;
this->createProgressBarGameScene(1.0f + level/200.0f);
this->createLeftLayout(); /* Left Layout */
this->createRightLayout(); /* Right Layout */
widthGameboard = MAX_WIDTH;
heightGameboard = MAX_HEIGHT;
/*random type PIKACHU*/
AlgorithmRandom* randomAI = AlgorithmRandom::getInstance();
this->randomLevelPlay(level, randomAI);
/*Ramdom type drop here*/
if(level == 1)
{
typeDropGameBoard = DROP_IDLE;
}
else
{
srand( (unsigned)time(NULL) );
typeDropGameBoard = rand()%4;
}
randomAI->setMaxtrixWithHight(widthGameboard-2, heightGameboard-2);
randomAI->createVectorRamdomIndex();
randomAI->printVectorLookingFor();
/*Create gameboard*/
gameboard = new GameBoard(widthGameboard,heightGameboard);
gameboard->initWithScene(this);
Vec2 pos = gameboard->convertToWorldSpace(Vec2((Director::getInstance()->getWinSize().width/2 - widthGameboard/2*SHAPE_WIDTH - SHAPE_WIDTH/6)*widthGameboard/MAX_WIDTH,-SHAPE_HEIGHT*0.6));
gameboard->setVectorTypePikachu(randomAI->getVectorLookingFor());
gameboard->setPositionGameBoard(pos);
gameboard->setPosition(pos);
gameboard->createGameboard();
gameboard->setGameboardTypeDrop(typeDropGameBoard); /*game board set type drop*/
gameboard->printPikachuType();
/*create AI check eat two pikachu*/
algorithmEatBasic = new AlgorithmPikachu();
algorithmEatBasic->setTypeBuildAL(true);
algorithmEatBasic->setWidthAndHeightMaxtrix(widthGameboard, heightGameboard);
algorithmEatBasic->setArrayValueVisiable(gameboard->getArrayValuePikachus());
algorithmEatBasic->setDelegate(this);
/*setAI auto update Pikachu when not path eat */
aiRandomSuggestPikachu = new AIRandomSuggest();
aiRandomSuggestPikachu->settype(false);
aiRandomSuggestPikachu->setWidthAndHeightMaxtrix(widthGameboard, heightGameboard);
aiRandomSuggestPikachu->setArrayValueVisiable(gameboard->getArrayValuePikachus());
aiRandomSuggestPikachu->setDelegate(this);
gameboard->setAIForGame(aiRandomSuggestPikachu);
/*Create Layer Start*/
this->createLayerStartGame();
/*Add Touch Event*/
auto touch = EventListenerTouchOneByOne::create();
touch->setSwallowTouches(true);
touch->onTouchBegan = CC_CALLBACK_2(GameScene::onTouchBeginGameScene, this);
touch->onTouchEnded = CC_CALLBACK_2(GameScene::onTouchEndGameScene, this);
Director::getInstance()->getEventDispatcher()->addEventListenerWithSceneGraphPriority(touch, this);
this->scheduleUpdate(); /*update*/
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
Admob::getInstance()->hideBanner();
#endif
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
AdmodAndroid::hideBanner();
#endif
GameCenterAndGoolePlay::getInstance()->postAchievementGoogleAndApple(level);
return true;
}
void GameScene::rewardWhenClickExtractly(int typeEat){
if(typeEat == 1)
{
if(level < 4)
{
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_EAT_EASY);
}
else {
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_EAT_EASY*2);
}
}
if(typeEat == 2)
{
if(level < 4)
{
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_EAT_HARD);
}
else {
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_EAT_HARD*2);
}
}
if(lbMoneyGame != nullptr){
char bufferReward[20] = {0};
sprintf(bufferReward, "%d",UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME));
lbMoneyGame->setString(bufferReward);
this->animationLabelReward();
}
}
void GameScene::animationLabelReward(){
auto action1 = ScaleTo::create(0.15, 2.0);
auto action2 = DelayTime::create(0.1);
auto action3 = ScaleTo::create(0.15,1.0f );
lbMoneyGame->runAction(Sequence::create(action1,action2,action3, NULL));
}
#pragma TOUCH_EVENT
bool GameScene::onTouchBeginGameScene(Touch* mtouch, Event* pEvent)
{
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
Admob::getInstance()->hideBanner();
#endif
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
AdmodAndroid::hideBanner();
#endif
CCLOG("Touch id %d", mtouch->getID());
if(gameboard && !ispause )
{
if(countTouch < 2 && currentTouchID != 0)
{
currentTouchID = mtouch->getID();
Vec2 pos = gameboard->convertPosGameboard(mtouch->getLocation());
CCLOG("Touch id %d", currentTouchID);
if (currentTouchID == 0)
{
if(pos.x >= 1 && pos.x <= widthGameboard-2 && pos.y >=1 && pos.y <= heightGameboard-2)
{
if(gameboard->getAtPosGameboard(pos)->getValueVisiable() != TAG_PIKACHU_HIDDEN)
{
if (pos.x == posTouchOne.x && pos.y == posTouchOne.y && countTouch == 1)
{
PikachuObject* pikachu = gameboard->getAtPosGameboard(pos);
pikachu->backToStartObject();
posTouchOne = Vec2(-1,-1);
countTouch = 0;
currentTouchID = -1;
}
else
{
countTouch ++;
if(countTouch %2 == 1)
{
posTouchOne = pos;
}
PikachuObject* pikachu = gameboard->getAtPosGameboard(pos);
pikachu->actionWhenClick();
/*click*/
if(countTouch == 1)
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("PClick.mp3");
}
if (countTouch < 2)
{
this->scheduleOnce([=](float dt)
{
gameboard->actionBackGameboard(pos);
}, 0.1f, "updateBack");
}
return true;
}
}
else
{
currentTouchID = -1;
}
}
else
{
currentTouchID = -1;
}
}
}
}
return false;
}
void GameScene::onTouchEndGameScene(Touch* mTouch, Event* pEvent)
{
if(countTouch == 2 && currentTouchID != -1 && !ispause)
{
currentTouchID = mTouch->getID();
posTouchTwo = gameboard->convertPosGameboard(mTouch->getLocation());
if(posTouchTwo.x >= 0 && posTouchTwo.x <= widthGameboard-1 && posTouchTwo.y >=0 && posTouchTwo.y <= heightGameboard-1)
{
MyLine lineGame = algorithmEatBasic->checkTwoPoint(posTouchOne, posTouchTwo);
PikachuObject* object1 = gameboard->getAtPosGameboard(posTouchOne);
PikachuObject* object2 = gameboard->getAtPosGameboard(posTouchTwo);
if (lineGame.checZeroLine())
{
this->scheduleOnce([=](float dt){
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("PMiss.mp3");
}, 0.1f, "UpdateSound1");
object1->backToStartObject();
object2->backToStartObject();
}
else
{
if(object1->getTypeObject() == object2->getTypeObject())
{
if(object1->getTypeObject() == randomEat1){
this->rewardWhenClickExtractly(1);
}
if(object1->getTypeObject() == randomEat2){
this->rewardWhenClickExtractly(2);
}
if(object1->getTypeObject() == randomEat3){
this->rewardWhenClickExtractly(1);
}
object1->effectWhenDieObject();
object2->effectWhenDieObject();
progress->setStatus(ADDTIME_PROGRESS);
gameboard->setValueHiddenObjectWithPosition(posTouchOne, posTouchTwo);
gameboard->dropPikachu(typeDropGameBoard);
algorithmEatBasic->setArrayValueVisiable(gameboard->getArrayValuePikachus());
aiRandomSuggestPikachu->setArrayValueVisiable(gameboard->getArrayValuePikachus());
}
else
{
this->scheduleOnce([=](float dt){
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("PMiss.mp3");
}, 0.1f, "UpdateSound2");
object1->backToStartObject();
object2->backToStartObject();
}
}
countTouch = 0;
}
gameboard->actionBackGameboard(Vec2::ZERO);
}
currentTouchID = -1;
}
#pragma DRAWER_OPENGL
/*hoangnc4
31/10/2016
Drawer line for path
*/
void GameScene::listerDrawer(int type, int typeSub, int result, const Point& p1, const Point& p2)
{
if (gameboard)
{
algorithmEatBasic->setTypeBuildAL(true);
PikachuObject* object1 = gameboard->getAtPosGameboard(p1);
PikachuObject* object2 = gameboard->getAtPosGameboard(p2);
if(object1->getTypeObject() == object2->getTypeObject())
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("PSucces.mp3");
/*update score*/
if(algorithmEatBasic->typeBuild == true)
{
this->updateScoreWith(2);
}
if (type == LINE)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
DrawLinePikachu* drawLine = new DrawLinePikachu();
drawLine->initWithScene(this);
drawLine->drawLineTwoPoint(pos1,pos2,TIME_DELAY_LINE);
}
if (type == Z_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
else
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
}
}
}
}
void GameScene::listerDrawerUL(int type, int typeSub, int downAndUp, int result, const Point& p1, const Point& p2)
{
if (gameboard)
{
PikachuObject* object1 = gameboard->getAtPosGameboard(p1);
PikachuObject* object2 = gameboard->getAtPosGameboard(p2);
if(object1->getTypeObject() == object2->getTypeObject())
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("PSucces.mp3");
/*update score*/
if(algorithmEatBasic->typeBuild == true)
{
this->updateScoreWith(2);
}
if (type == U_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
Point temp2 = Point(pos2.x - BUFFER_DRAW_X* downAndUp, pos2.y);
Point temp3 = Point(pos3.x - BUFFER_DRAW_X* downAndUp, pos3.y);
this->drawerLineGeraric(pos1, temp2, temp3, pos4);
}
if(typeSub == Y_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
Point temp2 = Point(pos2.x, pos2.y - BUFFER_DRAW_Y*downAndUp);
Point temp3 = Point(pos3.x, pos3.y - BUFFER_DRAW_Y*downAndUp);
this->drawerLineGeraric(pos1, temp2, temp3, pos4);
}
}
if(type == L_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
if(typeSub == Y_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
}
}
}
}
void GameScene::updateScoreWith(int score)
{
this->score = this->score + score;
char bufferAddScore[20]= {0};
sprintf(bufferAddScore, "Score: %d", this->score);
lbScore->setString(bufferAddScore);
}
#pragma CREATE_UI_GAME
void GameScene::createLeftLayout()
{
auto spriteRight = Sprite::create("layoutButton.png");
spriteRight->setAnchorPoint(Vec2::ZERO);
spriteRight->setPosition(Vec2(0, winSize.height - spriteRight->getContentSize().height));
this->addChild(spriteRight,z_Order_Layout);
/*Button back*/
btnBack = ui::Button::create("buttonBack.png","","",ui::Widget::TextureResType::LOCAL);
btnBack->setPosition(Vec2(spriteRight->getPositionX() + btnBack->getContentSize().width*0.6, spriteRight->getPositionY() + spriteRight->getContentSize().height/2 + 5.0f));
btnBack->setTag(TAG_BTN_BACK);
btnBack->addClickEventListener(CC_CALLBACK_1(GameScene::buttonClickGameScene,this));
this->addChild(btnBack,z_Order_Layout);
/*Label Level*/
char bufferLevel[20] = {0};
sprintf(bufferLevel, "Level: %d", level);
lbLevel = Label::createWithTTF(bufferLevel, "GROBOLD.ttf", FONT_SIZE_LARGE);
lbLevel->setAnchorPoint(Vec2(0, 0.5));
lbLevel->setPosition(Vec2(btnBack->getPositionX() + btnBack->getContentSize().width*0.64, spriteRight->getPositionY() + spriteRight->getContentSize().height*0.5));
this->addChild(lbLevel,z_Order_Layout);
/*Label Score*/
char bufferScore[20] = {0};
sprintf(bufferScore, "Score: %d", score);
lbScore = Label::createWithTTF(bufferScore, "GROBOLD.ttf", FONT_SIZE_LARGE);
lbScore->setAnchorPoint(Vec2(0, 0.5));
lbScore->setPosition(Vec2(lbLevel->getPositionX() + lbLevel->getContentSize().width*1.12 + BUFFER_LABEL, lbLevel->getPositionY()));
this->addChild(lbScore,z_Order_Layout);
/*Money Item*/
Sprite* spr_Money = Sprite::create("moneyItem.png");
spr_Money->setPosition(Vec2(lbScore->getPositionX() + lbScore->getContentSize().width*1.46, lbLevel->getPositionY() + lbScore->getContentSize().height*0.36 ));
this->addChild(spr_Money,z_Order_Layout);
char bufferCoin[20] = {0};
sprintf(bufferCoin, "%d", UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME));
lbMoneyGame = Label::createWithTTF(bufferCoin, "GROBOLD.ttf", FONT_SIZE_LARGE);
lbMoneyGame->setAnchorPoint(Vec2(0, 0.5));
lbMoneyGame->setPosition(Vec2(spr_Money->getPositionX() + spr_Money->getContentSize().width*0.64 , lbLevel->getPositionY()));
this->addChild(lbMoneyGame,z_Order_Layout);
}
void GameScene::createRightLayout()
{
/*LeftLayout*/
auto bgLeftLayout = Sprite::create("layoutButton.png");
bgLeftLayout->setAnchorPoint(Vec2::ZERO);
bgLeftLayout->setPosition(Vec2(winSize.width - bgLeftLayout->getContentSize().width, winSize.height - bgLeftLayout->getContentSize().height));
this->addChild(bgLeftLayout,z_Order_Layout);
/*Button Refresh*/
btnAddTime = new ButtonCustom();
btnAddTime->setPosition(Vec2(bgLeftLayout->getPositionX() + 10.0f ,bgLeftLayout->getPositionY() + HEIGHT_BUTTON/2 + 10.0f));
btnAddTime->setValueText(0);
btnAddTime->setTagButton(TAG_BTN_ADDTIME);
btnAddTime->createUIButton("buttonAddTime.png");
btnAddTime->setDelegate(this);
this->addChild(btnAddTime,z_Order_Layout);
/*Button Refresh*/
btnRefresh = new ButtonCustom();
btnRefresh->setPosition(Vec2(btnAddTime->getPositionX() + WIDTH_BUTTON*1.3,btnAddTime->getPositionY()));
btnRefresh->setValueText(countRefresh);
btnRefresh->setTagButton(TAG_BTN_REFRESH);
btnRefresh->createUIButton("buttonRefresh.png");
btnRefresh->setDelegate(this);
this->addChild(btnRefresh,z_Order_Layout);
/*Suggest*/
btnSuggest = new ButtonCustom();
btnSuggest->setPosition(Vec2(btnRefresh->getPositionX() + WIDTH_BUTTON*1.3,btnRefresh->getPositionY()));
btnSuggest->setTagButton(TAG_BTN_SUGGEST);
btnSuggest->setValueText(countSuggest);
btnSuggest->createUIButton("buttonSuggest.png");
btnSuggest->setDelegate(this);
this->addChild(btnSuggest,z_Order_Layout);
/*Pause*/
btnPause = new ButtonCustom();
btnPause->setPosition(Vec2(btnSuggest->getPositionX() + WIDTH_BUTTON*1.3,btnSuggest->getPositionY()));
btnPause->setTagButton(TAG_BTN_PAUSE);
btnPause->setValueText(0);
btnPause->createUIButton("buttonPause.png");
btnPause->setDelegate(this);
this->addChild(btnPause,z_Order_Layout);
}
#pragma DELEGATE_PROGRESSBAR
void GameScene::createProgressBarGameScene(int hardLevel)
{
auto sp_loading = Sprite::create("bg_Loading.png");
sp_loading->setPosition(Vec2(winSize.width/2, winSize.height - sp_loading->getContentSize().height));
this->addChild(sp_loading,z_Order_bg);
progress = ProgressBarCustom::getInstaceProgress(100.0f, IDLE_PROGRESS);
progress->createUIProgressBar(sp_loading->getPosition());
progress->setTimeUpdate(TIME_UPDATE_PROGRESS*hardLevel);
progress->setDelegate(this);
progress->setLevel(level);
this->addChild(progress,z_Order_bg);
}
void GameScene::setStatusProressTime(int status)
{
}
void GameScene::sendStatusGame()
{
if(isShowOnePopup == false)
{
isShowOnePopup = true;
this->createPopupGameOver();
}
}
void GameScene::update(float dt)
{
if(gameboard && gameboard->isStatus == false)
{
gameboard->update(dt);
}
if(gameboard->isStatus == true && isShowOnePopup == false)
{
isShowOnePopup = true;
this->createPopUpWin();
}
if(UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) < COST_MONEY_BUY && btnAddTime!= nullptr){
btnAddTime->setDisnableButton();
}
if(UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) >= COST_MONEY_BUY && btnAddTime!= nullptr){
btnAddTime->setEnableButton();
}
}
void GameScene::showAdmodFull()
{
int valueShow = UserDefault::getInstance()->getIntegerForKey("Level-Local", 1);
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
if(valueShow %2 == 0)
{
Admob::getInstance()->loadInterstitial();
Admob::getInstance()->showInterstitial();
}
#endif
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
if(valueShow %2 == 0)
{
AdmodAndroid::showFullAdvertiment();
}
#endif
}
#pragma CREATE_POP_UP
void GameScene::createPopupBack()
{
/*show admod*/
this->showAdmodFull();
Sprite* tempButtonSize = Sprite::create("btn-ok-back.png");
LayerColor* colorBg = LayerColor::create(COLOR_BG_POP_UP, winSize.width, winSize.height);
colorBg->setPosition(Vec2::ZERO);
PopupGame* popupBack = new PopupGame();
popupBack->setdelegate(this);
popupBack->setPosition(Vec2::ZERO);
popupBack->createLayoutWithZorder();
popupBack->createUibackGroundWithFileName("popup-back.png");
popupBack->createPopupWithbuttonWithFileName("btn-ok-back.png",Vec2( winSize.width/2 - tempButtonSize->getContentSize().width/2 - 10, winSize.height*0.36),TAG_BACK_OKAY);
popupBack->createPopupWithbuttonWithFileName("btn-close-back.png", Vec2(winSize.width/2 + tempButtonSize->getContentSize().width/2 + 10,winSize.height*0.36), TAG_BACK_CLOSE);
popupBack->setTag(TAG_POP_UP_BACK);
popupBack->addChild(colorBg,1);
this->addChild(popupBack,TAG_POP_UP_BACK);
}
void GameScene::createPopUpWin()
{
if(progress)
{
progress->setStatus(PAUSE_PROGRESS);
}
PopupGame* popupWin = new PopupGame();
popupWin->setdelegate(this);
popupWin->setPosition(Vec2::ZERO);
popupWin->createLayoutWithZorder();
popupWin->createUibackGroundWithFileName("popup-win.png");
popupWin->createPopupWithbuttonWithFileName("btn-next-win.png",Vec2( winSize.width/2, winSize.height/4),TAG_WIN_NEXT);
popupWin->setTag(TAG_POP_UP_WIN);
/*Level*/
char bufferLevel[512] = {0};
sprintf(bufferLevel, "Level: %d", level);
Label* labelCompletelevel = Label::createWithTTF(bufferLevel, "GROBOLD.ttf", 64);
labelCompletelevel->setPosition(Vec2(winSize.width/2, winSize.height*0.52));
popupWin->setLabelPopup(labelCompletelevel);
/*Score*/
int temp = UserDefault::getInstance()->getIntegerForKey("BestLevel", 1);
if(level >= UserDefault::getInstance()->getIntegerForKey("BestLevel", 1)){
temp = level;
}
char bufferScore[512] = {0};
sprintf(bufferScore, "Best level: %d", temp);
Label* scoreCompletelevel = Label::createWithTTF(bufferScore, "GROBOLD.ttf", 64);
scoreCompletelevel->setPosition(Vec2(winSize.width/2, labelCompletelevel->getPositionY()- scoreCompletelevel->getContentSize().height*1.4));
popupWin->setLabelPopup(scoreCompletelevel);
this->addChild(popupWin,TAG_POP_UP_WIN);
char coinWinBuffer[512] = {0};
auto coinReward = Sprite::create("coin-reward.png");
if(level > UserDefault::getInstance()->getIntegerForKey("BestLevel", 0))
{
UserDefault::getInstance()->setIntegerForKey("BestLevel", level);
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_WIN_GAME_MONEY*2);
sprintf(coinWinBuffer, "+ %d coins new record", REWARD_WIN_GAME_MONEY*2);
coinReward->setPosition(Vec2(winSize.width*0.46 - scoreCompletelevel->getContentSize().width/2, scoreCompletelevel->getPositionY() - scoreCompletelevel->getContentSize().height/2 - coinReward->getContentSize().height/2));
}else{
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) + REWARD_WIN_GAME_MONEY);
sprintf(coinWinBuffer, "+ %d coins win", REWARD_WIN_GAME_MONEY);
coinReward->setPosition(Vec2(winSize.width*0.5 - scoreCompletelevel->getContentSize().width/2, scoreCompletelevel->getPositionY() - scoreCompletelevel->getContentSize().height/2 - coinReward->getContentSize().height/2));
}
popupWin->addChild(coinReward,TAG_POP_UP_WIN);
auto lbCoin = Label::createWithTTF(coinWinBuffer, "GROBOLD.ttf", 54);
lbCoin->setPosition(Vec2(0, 0.5f));
lbCoin->setPosition(Vec2(coinReward->getPositionX() + coinReward->getContentSize().width/2 + lbCoin->getContentSize().width/2,coinReward->getPositionY()));
popupWin->addChild(lbCoin,TAG_POP_UP_WIN);
}
void GameScene::createPopupGameOver()
{
/*show admod*/
this->showAdmodFull();
if(progress)
{
progress->setStatus(PAUSE_PROGRESS);
}
Sprite* temp = Sprite::create("btn-mainhome-over.png");
PopupGame* popupGameover = new PopupGame();
popupGameover->setdelegate(this);
popupGameover->setPosition(Vec2::ZERO);
popupGameover->createLayoutWithZorder();
popupGameover->createUibackGroundWithFileName("popup-gameover.png");
popupGameover->createPopupWithbuttonWithFileName("btn-mainhome-over.png",Vec2( winSize.width/2 - temp->getContentSize().width*2/3, winSize.height*0.28),TAG_OVER_MAINHOME);
popupGameover->createPopupWithbuttonWithFileName("btn-replay-over.png",Vec2(winSize.width/2 + temp->getContentSize().width*2/3,winSize.height*0.28), TAG_OVER_REPLAY);
/*level*/
char bufferLevelGameover[512] = {0};
sprintf(bufferLevelGameover, "Level %d", level);
Label* levelGameover = Label::createWithTTF(bufferLevelGameover, "GROBOLD.ttf", 52);
levelGameover->setPosition(Vec2(winSize.width/2, winSize.height/2 - temp->getContentSize().height*0.6));
popupGameover->setLabelPopup(levelGameover);
popupGameover->setTag(TAG_POP_UP_GAMEOVER);
this->addChild(popupGameover,TAG_POP_UP_GAMEOVER);
}
void GameScene::createPopUpPause()
{
if(progress)
{
progress->setStatus(PAUSE_PROGRESS);
}
Sprite* temp = Sprite::create("btn-mainhome-over.png");
PopupGame* popupPause = new PopupGame();
popupPause->setdelegate(this);
popupPause->setPosition(Vec2::ZERO);
popupPause->createLayoutWithZorder();
popupPause->createUibackGroundWithFileName("popup-pause.png");
popupPause->createPopupWithbuttonWithFileName("btn-mainhome-over.png",Vec2( winSize.width/2 - temp->getContentSize().width*2/3, winSize.height*0.28),TAG_PAUSE_HOME);
popupPause->createPopupWithbuttonWithFileName("btnplay-pause.png",Vec2(winSize.width/2 + temp->getContentSize().width*2/3,winSize.height*0.28), TAG_PAUSE_PLAY);
popupPause->setTag(TAG_POP_UP_PAUSE);
this->addChild(popupPause,TAG_POP_UP_PAUSE);
}
void GameScene::sendTagActionPopup(int tag)
{
switch (tag)
{
case TAG_PAUSE_PLAY:
if (this->getChildByTag(TAG_POP_UP_PAUSE))
{
this->removeChildByTag(TAG_POP_UP_PAUSE);
ispause = false;
if(progress)
{
progress->setStatus(IDLE_PROGRESS);
}
gameboard->gameboardWhenPlay();
}
break;
case TAG_PAUSE_HOME:
Director::getInstance()->replaceScene(HomeScene::createHomeScene());
break;
case TAG_BACK_OKAY:
Director::getInstance()->replaceScene(HomeScene::createHomeScene());
break;
case TAG_BACK_CLOSE:
if (this->getChildByTag(TAG_POP_UP_BACK))
{
this->removeChildByTag(TAG_POP_UP_BACK);
ispause = false;
if(progress)
{
progress->setStatus(IDLE_PROGRESS);
}
gameboard->gameboardWhenPlay();
}
break;
case TAG_WIN_NEXT:
UserDefault::getInstance()->setIntegerForKey("Level-Local", UserDefault::getInstance()->getIntegerForKey("Level-Local", 1) + 1);
Director::getInstance()->replaceScene(GameScene::createSceneGameScene());
break;
case TAG_OVER_REPLAY:
UserDefault::getInstance()->setIntegerForKey("Level-Local", UserDefault::getInstance()->getIntegerForKey("Level-Local", 1));
Director::getInstance()->replaceScene(GameScene::createSceneGameScene());
break;
case TAG_OVER_MAINHOME:
UserDefault::getInstance()->setIntegerForKey("Level-Local",1);
Director::getInstance()->replaceScene(HomeScene::createHomeScene());
break;
default:
break;
}
}
#pragma EVENT_CLICK_BUTTON
void GameScene::sendEventClickButton(int tag)
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("soundClick.mp3");
CCLOG("tag click %d", tag);
switch (tag) {
case TAG_BTN_REFRESH:
if(ispause == false)
{
if(countRefresh > 0)
{
countRefresh--;
if(gameboard){
gameboard->refreshGameboard();
}
}else{
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
Admob::getInstance()->loadInterstitial();
Admob::getInstance()->showInterstitial();
if(Admob::getInstance()->getShowAdmodIOS() == true){
countRefresh = 3;
}
#endif
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
AdmodAndroid::showFullAdvertiment();
if(AdmodAndroid::getStatusShowFull() == true){
countRefresh = 3;
}else{
countRefresh = 0;
}
#endif
}
btnRefresh->setValueText(countRefresh);
}
break;
case TAG_BTN_PAUSE:
if(progress)
{
ispause = true;
progress->setStatus(PAUSE_PROGRESS);
gameboard->gameboardWhenPause();
createPopUpPause();
}
break;
case TAG_BTN_SUGGEST:
if(btnSuggest)
{
if(countSuggest > 0 )
{
countSuggest--;
if(ispause == false)
{
aiRandomSuggestPikachu->settype(true);
this->scheduleOnce([=](float dt){
if(aiRandomSuggestPikachu)
{
aiRandomSuggestPikachu->settype(false);
}
}, 0.6f,"updateSuggestFalse");
}
}else{
#if CC_TARGET_PLATFORM == CC_PLATFORM_IOS
Admob::getInstance()->loadInterstitial();
Admob::getInstance()->showInterstitial();
if(Admob::getInstance()->getShowAdmodIOS() == true){
countSuggest = 3;
}
#endif
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
AdmodAndroid::showFullAdvertiment();
if(AdmodAndroid::getStatusShowFull() == true){
countSuggest = 3;
}else{
countSuggest = 0;
}
#endif
}
btnSuggest->setValueText(countSuggest);
}
break;
case TAG_BTN_ADDTIME:
if(progress && UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) >= COST_MONEY_BUY){
UserDefault::getInstance()->setIntegerForKey(BUGGET_MONEY_BUY, UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME) - COST_MONEY_BUY);
progress->setStatus(BUYTIME_PROGRESS);
char bufferDiscountItem[20] = {0};
sprintf(bufferDiscountItem, "%d", UserDefault::getInstance()->getIntegerForKey(BUGGET_MONEY_BUY, DEFAULT_MONEY_GAME));
lbMoneyGame->setString(bufferDiscountItem);
}
break;
default:
break;
}
}
void GameScene::buttonClickGameScene(Ref* pSender)
{
CocosDenshion::SimpleAudioEngine::getInstance()->playEffect("soundClick.mp3");
int tag = ((ui::Button*)pSender)->getTag();
switch (tag)
{
case TAG_BTN_BACK:
if(ispause == false)
{
if(progress)
{
progress->setStatus(PAUSE_PROGRESS);
}
gameboard->gameboardWhenPause();
ispause = true;
createPopupBack();
}
break;
default:
break;
}
}
#pragma DRAWER_LISTEN
void GameScene::listerDrawerAI(int type, int typeSub, int result, const Point& p1, const Point& p2)
{
if (gameboard)
{
PikachuObject* object1 = gameboard->getAtPosGameboard(p1);
PikachuObject* object2 = gameboard->getAtPosGameboard(p2);
if(object1->getTypeObject() == object2->getTypeObject())
{
if (type == LINE)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
DrawLinePikachu* drawLine = new DrawLinePikachu();
drawLine->initWithScene(this);
drawLine->drawLineTwoPoint(pos1,pos2,TIME_DELAY_LINE);
}
if (type == Z_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
else
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
}
}
}
}
void GameScene::listerDrawerULAI(int type, int typeSub, int downAndUp, int result, const Point& p1, const Point& p2)
{
if (gameboard)
{
PikachuObject* object1 = gameboard->getAtPosGameboard(p1);
PikachuObject* object2 = gameboard->getAtPosGameboard(p2);
if(object1->getTypeObject() == object2->getTypeObject())
{
if (type == U_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
Point temp2 = Point(pos2.x - BUFFER_DRAW_X* downAndUp, pos2.y);
Point temp3 = Point(pos3.x - BUFFER_DRAW_X* downAndUp, pos3.y);
this->drawerLineGeraric(pos1, temp2, temp3, pos4);
}
if(typeSub == Y_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
Point temp2 = Point(pos2.x, pos2.y - BUFFER_DRAW_Y*downAndUp);
Point temp3 = Point(pos3.x, pos3.y - BUFFER_DRAW_Y*downAndUp);
this->drawerLineGeraric(pos1, temp2, temp3, pos4);
}
}
if(type == L_SHAPE)
{
if(typeSub == X_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(result, p1.y));
Point pos3 = gameboard->getPositionScene(Vec2(result, p2.y));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
if(typeSub == Y_AXIS)
{
Point pos1 = gameboard->getPositionScene(Vec2(p1.x, p1.y));
Point pos2 = gameboard->getPositionScene(Vec2(p1.x, result));
Point pos3 = gameboard->getPositionScene(Vec2(p2.x, result));
Point pos4 = gameboard->getPositionScene(Vec2(p2.x, p2.y));
this->drawerLineGeraric(pos1, pos2, pos3, pos4);
}
}
}
}
}
void GameScene::drawerLineGeraric(const Point& p1,const Point& p2, const Point& p3, const Point& p4)
{
DrawLinePikachu* drawLine = new DrawLinePikachu();
drawLine->initWithScene(this);
drawLine->drawLineTwoPoint(p1,p2,TIME_DELAY);
DrawLinePikachu* drawLine2 = new DrawLinePikachu();
drawLine2->initWithScene(this);
drawLine2->drawLineTwoPoint(p2,p3,TIME_DELAY);
DrawLinePikachu* drawLine3 = new DrawLinePikachu();
drawLine3->initWithScene(this);
drawLine3->drawLineTwoPoint(p3,p4,TIME_DELAY);
}
void GameScene::randomLevelPlay(int level , AlgorithmRandom* randomAI)
{
if (level == 1)
{
randomAI->createVectorIndexPikachu36(3, 6);
}
else if(level == 2)
{
randomAI->createVectorIndexPikachu36(4, 6);
}
else if(level >= 3 && level < 5)
{
randomAI->createVectorIndexPikachu36(4,6);
}
else if(level >= 5 && level < 7)
{
randomAI->createVectorIndexPikachu36(5,6);
}
else
{
randomAI->createVectorIndexPikachu36(6, 6);
}
}
void GameScene::createLayerStartGame()
{
ispause = true;
if(gameboard)
{
gameboard->gameboardWhenPause();
}
if(progress)
{
progress->setStatus(PAUSE_PROGRESS);
}
LayerColor* colorBgStart = LayerColor::create(COLOR_BG_POP_UP, winSize.width, winSize.height);
colorBgStart->setPosition(Vec2::ZERO);
colorBgStart->setTag(TAG_LAYER_START_GAME);
Label* lbPause = Label::createWithTTF("Tap to play", "GROBOLD.ttf", 72);
lbPause->setPosition(Vec2(winSize.width/2, winSize.height/2));
colorBgStart->addChild(lbPause, 100);
this->addChild(colorBgStart,TAG_LAYER_START_GAME);
/*Add Touch Event*/
auto touch = EventListenerTouchOneByOne::create();
touch->setSwallowTouches(true);
touch->onTouchBegan = CC_CALLBACK_2(GameScene::ontouchStartTouchGame, this);
Director::getInstance()->getEventDispatcher()->addEventListenerWithSceneGraphPriority(touch, colorBgStart);
}
bool GameScene::ontouchStartTouchGame(Touch* mTouch, Event* pEevent)
{
if(gameboard)
{
gameboard->gameboardWhenPlay();
}
if(this->getChildByTag(TAG_LAYER_START_GAME))
{
this->removeChildByTag(TAG_LAYER_START_GAME);
}
this->scheduleOnce([=](float dt){
ispause = false;
if(progress)
{
progress->setStatus(IDLE_PROGRESS);
}
}, 0.4f, "StartGame");
return true;
}
void GameScene::onEnter()
{
Layer::onEnter();
EventListenerKeyboard *keyboardEvent = EventListenerKeyboard::create();
keyboardEvent->onKeyReleased = [](EventKeyboard::KeyCode keyCode, Event*){
if(keyCode == EventKeyboard::KeyCode::KEY_BACK){
Director::getInstance()->replaceScene(HomeScene::createHomeScene());
}
};
Director::getInstance()->getEventDispatcher()->addEventListenerWithSceneGraphPriority(keyboardEvent, this);
}
void GameScene::onExit()
{
Layer::onExit();
Director::getInstance()->getEventDispatcher()->removeEventListenersForTarget(this);
}
| [
"nguyenhoangit57@gmail.com"
] | nguyenhoangit57@gmail.com |
8c7d655ec0a37f7e5060f31a3dddfe4e6d48dcba | fa889d051a1b3c4d861fb06b10aa5b2e21f97123 | /kbe/src/lib/pyscript/scriptstdouterr.inl | 29f22e67d04c28aa625bf3a6e1c21daeae1f71af | [
"MIT",
"LGPL-3.0-only"
] | permissive | BuddhistDeveloper/HeroLegendServer | bcaa837e3bbd6544ce0cf8920fd54a1a324d95c8 | 8bf77679595a2c49c6f381c961e6c52d31a88245 | refs/heads/master | 2022-12-08T00:32:45.623725 | 2018-01-15T02:01:44 | 2018-01-15T02:01:44 | 117,069,431 | 1 | 1 | MIT | 2022-11-19T15:58:30 | 2018-01-11T08:05:32 | Python | UTF-8 | C++ | false | false | 870 | inl | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2017 KBEngine.
KBEngine 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 3 of the License, or
(at your option) any later version.
KBEngine 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 KBEngine. If not, see <http://www.gnu.org/licenses/>.
*/
namespace KBEngine {
namespace script{
INLINE std::wstring& ScriptStdOutErr::buffer()
{
return sbuffer_;
}
}
}
| [
"liushuaigeq@163.com"
] | liushuaigeq@163.com |
70b3be67e4d9b087ba6b7bde357e2559f01dd92c | e87dd14dcc240623b85527b36839d7b1967a03df | /code/DB_interface/src/Sdfdb.cpp | 13ccdf10c12b4e3652f31ae648695b690bf2a485 | [] | no_license | QuanjieDeng/DTMF-CHECK | 4e0c8c87265762261d622f031fa8ec67d19cbece | f3a827778923f95e545423fa26fbe24b2b443aed | refs/heads/master | 2021-01-16T21:47:47.797248 | 2016-08-02T09:13:25 | 2016-08-02T09:13:25 | 64,742,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,863 | cpp | /// ----------------------------------------------------------------------------
//
// FILENAME:
// Sdfdb.cpp
//
// DESCRIPTION:
// This file contains the achieve of the functions
// database sqlite handle
//
// DATE NAME REFERENCE REASON
// ---- ---- -------- ------
// 2014/10/13
//
// Copyright:
// ----------------------------------------------------------------------------
#include "Sdfdb.h"
#include "DbConnectPool.h"
#include "clm_log.h"
#include "common.h"
#include <sys/time.h>
#include <unistd.h>
#include <libpq-fe.h>
//---------------------------------------
//FUNC: m_select_callback
//DESCRIPTION: The func whill be callback int
//the func sqlite3_exec(),and once there have one
//recode whill be invoted.
//---------------------------------------
CDR_DBInfoManager* CDR_DBInfoManager::m_getInstance = NULL;
//----------------------------------------------------------------------------
// Hash fuctions for CSCF_RDInfo Table
//----------------------------------------------------------------------------
//Hash key function for CSCF_RDInfo Table
Sdf_ty_U32bit Sdf_fn_CDR_RDInfo(Sdf_ty_Pvoid a_pKey)
{
return (Sdf_ty_U32bit)(long) a_pKey;
}
// element free function for CSCF_RDInfo Table
void Sdf_fn_CSCF_RDInfoElemFree(Sdf_ty_Pvoid pData)
{
Sdf_st_mmCDR_RDInfo *pCDRRDInfo = (Sdf_st_mmCDR_RDInfo *)pData;
delete pCDRRDInfo;
}
Sdf_ty_retVal Sdf_fn_DbKeyCompareString (Sdf_ty_Pvoid pKey1, Sdf_ty_Pvoid pKey2)
{
if (strcmp((char *)pKey1,(char *)pKey2)==0)
return Sdf_co_success;
else
return Sdf_co_fail;
}
Sdf_ty_U32bit Sdf_fn_strHash\
(\
void *pInputName\
)
{
unsigned long h = 0, g;
unsigned char* pName = (unsigned char*)pInputName;
while (*pName)
{
h = (h << 4) + *pName++;
if ((g = h & 0xf0000000))
h ^= g >> 24;
h &= ~g;
}
return h;
}
Sdf_ty_U32bit dbHashCalculate(void* a_pKey)
{
char * tmpString = (char *)a_pKey;
Sdf_ty_U32bit result = Sdf_fn_strHash(tmpString);
delete [] (char*)tmpString;
return result;
}
//--------------------------------------
//The floww part add for the CSCF_ RD ,link with
//Class CDR_DBInfoManager ,include the class all
//the meth's achieve.
//--------------------------------------
//CDR_DBInfoManager* CDR_DBInfoManager::m_getInstance==NULL;
//--------------------------------------------------
//FUNC:CDR_DBInfoManager
//DESCRIPTION:
//
//--------------------------------------------------
CDR_DBInfoManager::CDR_DBInfoManager()
{
//initialize
pthread_mutex_init(&m_pCDRInfoTableLock, Sdf_co_null);
// Initialize Hashtable
m_pCDRRecordTable= new Sdf_cl_commonThreadSafeHash\
(dbHashCalculate,\
Sdf_fn_DbKeyCompareString,\
Sdf_co_null, Sdf_fn_CSCF_RDInfoElemFree,\
Sdf_co_CDRRecordHashBuckets,Sdf_co_true);
}
//--------------------------------------------------
//FUNC:~CDR_DBInfoManager
//DRSCRIPTION:
//
//--------------------------------------------------
CDR_DBInfoManager::~CDR_DBInfoManager()
{
//destory LOCK
pthread_mutex_destroy(&m_pCDRInfoTableLock);
//delete the m_pCDRRecordTable
if (Sdf_co_null != m_pCDRRecordTable)
delete m_pCDRRecordTable;
}
//--------------------------------------------------
//FUNC:init
//DRSCRIPTION:
//
//--------------------------------------------------
Sdf_ty_retVal CDR_DBInfoManager::init()
{
return Sdf_co_success;
}
//--------------------------------------------------
//FUNC:lock
//DRSCRIPTION:
//
//--------------------------------------------------
void CDR_DBInfoManager:: lock()
{
pthread_mutex_lock(&m_pCDRInfoTableLock);
}
//--------------------------------------------------
//FUNC:unlock
//DRSCRIPTION:
//
//--------------------------------------------------
void CDR_DBInfoManager:: unlock()
{
pthread_mutex_unlock(&m_pCDRInfoTableLock);
}
//--------------------------------------------------
//FUNC:~CDR_DBInfoManager
//DRSCRIPTION:The func provted
//
//--------------------------------------------------
Sdf_st_mmCDR_RDInfo* CDR_DBInfoManager::CDR_RD_GetRecordInfoByCall_ID(char * pCall_ID)
{
clm_log(CLM_INFO,"entry CDR_DBInfoManager::CDR_RD_GetRecordInfoByCall_ID\n");
Sdf_st_mmCDR_RDInfo * pCDR_RDInfo = NULL;
pCDR_RDInfo = (Sdf_st_mmCDR_RDInfo *)m_pCDRRecordTable->xFetch (\
(Sdf_ty_Pvoid)pCall_ID);
return (pCDR_RDInfo);
}
void CDR_DBInfoManager::releaseCDRRecordTable(char * pDomain)
{
m_pCDRRecordTable->xRelease((Sdf_ty_Pvoid)pDomain);
return;
}
//-----------------------------------------------
//FUNC:
//DESCRIPTION:
//-----------------------------------------------
int CDR_DBInfoManager::GetCDRRecordTableSize()
{
return (this->m_pCDRRecordTable->size());
}
//-----------------------------------------------
//FUNC:
//DESCRIPTION:
//-----------------------------------------------
int CDR_DBInfoManager::initCDR_PQ_Database(char * connectmsg)
{
clm_log(CLM_INFO,"entry CDR_DBInfoManager::initCDR_PQ_Database:%s\n",connectmsg);
if(!CdbConncetPool::Instance()->isInitialized())
{
if(!CdbConncetPool::Instance()->Init())
{
clm_log(CLM_ERROR,"CdbConncetPool init failed");
return -1;
}
if(!CdbConncetPool::Instance()->CreateConnectionPool(connectmsg,5))
{
clm_log(CLM_ERROR,"CreateConnectionPool failed");
return -1;
}
}
#if 0
int ret = 0;
ret = this->LoadCSCF_RDConfigData();
if(ret < 0)
{
return -1;
}
#endif
}
int CDR_DBInfoManager::LoadCSCF_RDConfigData(void)
{
clm_log(CLM_INFO, "Entry func LoadCSCF_RDConfigData\n");
char sql[SQL_line];
memset(sql,0,sizeof(sql));
struct timeval start;
struct timeval stop;
sprintf(sql,"select * from %s ", cscf_rd_config_table);
Connection *pConn=CdbConncetPool::Instance()->GetConnection();
if(NULL==pConn)
{
clm_log(CLM_WARNING,"Get DbConnection Failed!");
return -1;
}
clm_log(CLM_WARNING,"Get DbConnection success[hNum=%d]!",pConn->nNumber);
try
{
//nontransaction* m_com = new nontransaction(*(pConn->hDB));
work m_com(*(pConn->hDB));
gettimeofday(&start, NULL);
pqxx::result* Res = new pqxx::result(m_com.exec(sql));
m_com.commit();
gettimeofday(&stop, NULL);
//printf("CSCF-RDsize:%d\n",Res->size());
for (pqxx::result::const_iterator c = Res->begin(); c != Res->end(); ++c)
{
Sdf_st_mmCSCF_RDInfo * pCSCF_RDInfo = NULL;
pCSCF_RDInfo = new Sdf_st_mmCSCF_RDInfo;
for(pqxx::tuple::const_iterator field = c->begin(); field != c->end(); ++field)
{
int ret = 0;
if((ret =strcmp(field->name(),"titles"))==0)
{
strcpy(pCSCF_RDInfo->pTitle, field->c_str());
}
else if((ret =strcmp(field->name(),"domain"))==0)
{
strcpy(pCSCF_RDInfo->pDomain, field->c_str());
}
else if((ret =strcmp(field->name(),"ip"))==0)
{
strcpy(pCSCF_RDInfo->pIp, field->c_str());
}
else if((ret =strcmp(field->name(),"port"))==0)
{
pCSCF_RDInfo->port=atoi(field->c_str());
}
else if((ret =strcmp(field->name(),"regpxy_yn"))==0)
{
pCSCF_RDInfo->bRegProxy=atoi(field->c_str());
}
else if((ret =strcmp(field->name(),"byname"))==0)
{
strcpy(pCSCF_RDInfo->pByname, field->c_str());
}
}
Sdf_ty_error pEcode;
m_pCDRRecordTable->addUnique
((Sdf_ty_Pvoid)pCSCF_RDInfo,(Sdf_ty_Pvoid)pCSCF_RDInfo->pDomain,&pEcode);
}
clm_log(CLM_INFO,"sql:%s usedtime:%d",sql,((stop.tv_sec-start.tv_sec)*1000000+(stop.tv_usec-start.tv_usec)));
delete Res;
//delete m_com;
}
catch (const std::exception &e)
{
cerr << e.what()<< std::endl;
clm_log(CLM_ERROR,"func getDataFromPQDatabase throw a error!\n");
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return -1;
}
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return 0;
}
int CDR_DBInfoManager::handleReloadConf_RD(char * tblname)
{
if(NULL == tblname)
{
clm_log(CLM_ERROR,"handleReloadConf_RD tblname is NULL!\n");
return -1;
}
int ret = 0;
this->lock();
if((ret=strcmp(tblname,"CSCF_RD"))== 0)
{
delete m_pCDRRecordTable;
m_pCDRRecordTable= new Sdf_cl_commonThreadSafeHash\
(dbHashCalculate,\
Sdf_fn_DbKeyCompareString,\
Sdf_co_null, Sdf_fn_CSCF_RDInfoElemFree,\
Sdf_co_CDRRecordHashBuckets,Sdf_co_true);
//-------------------------------------------
ret = CDR_DBInfoManager::getInstance()->LoadCSCF_RDConfigData();
if(ret < 0)
{
this->unlock();
return -1;
}
else
{
this->unlock();
return 1;
}
}
else
{
this->unlock();
return -1;
}
this->unlock();
return 1;
}
//-----------------------------------------------
//FUNC:Add_CDR_Record_Info
//DESCRIPTION:
//-----------------------------------------------
int CDR_DBInfoManager::Add_CDR_RecordDetailInfo(void *insertmsg)
{
clm_log(CLM_INFO, "Entry func Add_CDR_RecordDetailInfo\n");
T_FromPolicyMsg *insert_msg = (T_FromPolicyMsg *)insertmsg;
if(NULL == insertmsg)
{
return CSCF_RD_co_fail;
}
char sql[SQL_line];
memset(sql,0,sizeof(sql));
struct timeval start;
struct timeval stop;
Connection *pConn=CdbConncetPool::Instance()->GetConnection();
if(NULL==pConn)
{
clm_log(CLM_WARNING,"Get DbConnection Failed!");
return CSCF_RD_co_fail;
}
clm_log(CLM_WARNING,"Get DbConnection success[hNum=%d]!",pConn->nNumber);
try
{
work m_com(*(pConn->hDB));
sprintf(sql,"INSERT INTO %s (identif_id,statecode,time_statecode,call_type,caller_number,caller_device,callee_number,business_type) VALUES ('%s','%s','%s','%s','%s','%s','%s','%d');",
cdr_record_detail_table,
insert_msg->Identif_ID,
insert_msg->StateCode,
insert_msg->StateCode_time,
insert_msg->Call_type,
insert_msg->From,
insert_msg->Devicename,
insert_msg->To,
insert_msg->business_type);
// sprintf(sql,"INSERT INTO %s (time_statecode) VALUES ('2001-09-29 01:09:56');",cdr_record_detail_table);
//gettimeofday(&start, NULL);
m_com.exec(sql);
m_com.commit();
//gettimeofday(&stop, NULL);
clm_log(CLM_INFO,"sql:%s",sql);
//clm_log(CLM_INFO,"sql:%s usedtime:%d",sql,(stop.tv_sec * 1000 + (stop.tv_usec/1000))-(start.tv_sec * 1000 + (start.tv_usec/1000)));
}
catch (const std::exception &e)
{
cerr << e.what()<< std::endl;
clm_log(CLM_ERROR,"func getDataFromPQDatabase throw a error!\n");
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return CSCF_RD_co_fail;
}
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return CSCF_RD_co_success;
}
//-----------------------------------------------
//FUNC:Add_CDR_Record_Info
//DESCRIPTION:
//-----------------------------------------------
int CDR_DBInfoManager::Add_CDR_RecordInfo(Sdf_Call_CDRInfo *insert_msg)
{
clm_log(CLM_INFO, "Entry func Add_CDR_RecordInfo\n");
if(NULL == insert_msg)
{
return CSCF_RD_co_fail;
}
char sql[SQL_line];
memset(sql,0,sizeof(sql));
struct timeval start;
struct timeval stop;
Connection *pConn=CdbConncetPool::Instance()->GetConnection();
if(NULL==pConn)
{
clm_log(CLM_WARNING,"Get DbConnection Failed!");
return CSCF_RD_co_fail;
}
clm_log(CLM_WARNING,"Get DbConnection success[hNum=%d]!",pConn->nNumber);
//Sdf_Call_CDRInfo *pCallCdrInfo = Sdf_co_null;
//pCallCdrInfo = this->fetchCallCdrInfo(insert_msg->Identif_ID);
try
{
work m_com(*(pConn->hDB));
sprintf(sql,"INSERT INTO %s (identif_id,call_start_time,call_build_time,final_response,call_type,\
caller_number,caller_device,callee_number,call_duration,minute,rate,consume_money,business_type) VALUES ('%s','%s','%s','%s','%s','%s','%s','%s','%0.2f','%0.2f','%0.2f','%0.2f','%d');",
cdr_record_table,
insert_msg->Identif_ID,
insert_msg->Time_Start,
insert_msg->Time_Build,
insert_msg->StateCode,
insert_msg->Call_type,
insert_msg->From,
insert_msg->Devicename,
insert_msg->To,
insert_msg->call_orgduration,
insert_msg->minute,
insert_msg->rate,
insert_msg->consume_money,
insert_msg->business_type);
//gettimeofday(&start, NULL);
m_com.exec(sql);
m_com.commit();
//gettimeofday(&stop, NULL);
clm_log(CLM_INFO,"sql:%s ",sql);
//clm_log(CLM_INFO,"sql:%s usedtime:%d",sql,(stop.tv_sec * 1000 + (stop.tv_usec/1000))-(start.tv_sec * 1000 + (start.tv_usec/1000)));
}
catch (const std::exception &e)
{
cerr << e.what()<< std::endl;
clm_log(CLM_ERROR,"func getDataFromPQDatabase throw a error!\n");
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return CSCF_RD_co_fail;
}
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return CSCF_RD_co_success;
}
//-----------------------------------------------
//FUNC:Get_CSCF_RD_RegInfo
//DESCRIPTION:
//-----------------------------------------------
Sdf_Call_RateInfo* CDR_DBInfoManager::Get_CDR_RateInfo(int rate_typeid)
{
clm_log(CLM_INFO, "Entry func Get_CDR_RateInfo\n");
Sdf_Call_RateInfo* pTempInfo = NULL;
pTempInfo = new Sdf_Call_RateInfo;
char sql[SQL_line];
memset(sql,0,sizeof(sql));
struct timeval start;
struct timeval stop;
sprintf(sql,"SELECT * from %s where rate_type_id = '%d'", cdr_rd_rate_table, rate_typeid);
Connection *pConn=CdbConncetPool::Instance()->GetConnection();
if(NULL==pConn)
{
clm_log(CLM_WARNING,"Get DbConnection Failed!");
return NULL;
}
clm_log(CLM_WARNING,"Get DbConnection success[hNum=%d]!",pConn->nNumber);
try
{
#if 0
nontransaction* m_com = new nontransaction(*(pConn->hDB));
gettimeofday(&start, NULL);
pqxx::result* Res = new pqxx::result(m_com->exec(sql));
//m_com->commit();
#endif
work m_com(*(pConn->hDB));
pqxx::result* Res = new pqxx::result(m_com.exec(sql));
m_com.commit();
gettimeofday(&stop, NULL);
for (pqxx::result::const_iterator c = Res->begin(); c != Res->end(); ++c)
{
pTempInfo->rate_type_id = c["rate_type_id"].as<int>();
strcpy(pTempInfo->callee_pre, c["callee_pre"].as<string>().data());
pTempInfo->define_minute = c["define_minute"].as<int>();
strcpy(pTempInfo->effective_time, c["effective_time"].as<string>().data());
pTempInfo->addi_charge = c["addi_charge"].as<float>();
pTempInfo->addi_time = c["addi_time"].as<float>();
strcpy(pTempInfo->access_number, c["access_number"].as<string>().data());
pTempInfo->time_bucket_1 = c["time_bucket_1"].as<int>();
pTempInfo->time_bucket_2 = c["time_bucket_2"].as<int>();
pTempInfo->time_bucket_3 = c["time_bucket_3"].as<int>();
pTempInfo->time_bucket_4 = c["time_bucket_4"].as<int>();
pTempInfo->time_bucket_5 = c["time_bucket_5"].as<int>();
pTempInfo->base_time_duration_1 = c["base_time_duration_1"].as<int>();
pTempInfo->base_time_duration_2 = c["base_time_duration_2"].as<int>();
pTempInfo->base_time_duration_3 = c["base_time_duration_3"].as<int>();
pTempInfo->base_time_duration_4 = c["base_time_duration_4"].as<int>();
pTempInfo->base_time_duration_5 = c["base_time_duration_5"].as<int>();
pTempInfo->time_step_1 = c["time_step_1"].as<int>();
pTempInfo->time_step_2 = c["time_step_2"].as<int>();
pTempInfo->time_step_3 = c["time_step_3"].as<int>();
pTempInfo->time_step_4 = c["time_step_4"].as<int>();
pTempInfo->time_step_5 = c["time_step_5"].as<int>();
pTempInfo->rate_1 = c["rate_1"].as<float>();
pTempInfo->rate_2 = c["rate_2"].as<float>();
pTempInfo->rate_3 = c["rate_3"].as<float>();
pTempInfo->rate_4 = c["rate_4"].as<float>();
pTempInfo->rate_5 = c["rate_5"].as<float>();
}
clm_log(CLM_INFO,"sql:%s usedtime:%d",sql,((stop.tv_sec-start.tv_sec)*1000000+(stop.tv_usec-start.tv_usec)));
delete Res;
//delete m_com;
}
catch (const std::exception &e)
{
cerr << e.what()<< std::endl;
clm_log(CLM_ERROR,"func getDataFromPQDatabase throw a error[%s]\n", e.what());
CdbConncetPool::Instance()->ReleaseConnection(pConn);
}
CdbConncetPool::Instance()->ReleaseConnection(pConn);
return pTempInfo;
}
| [
"polylink"
] | polylink |
9b01d77adcf883f4958cf07ec34e9e65ae8815ff | 32b934cb3ef99474b7295da510420ca4a03d6017 | /GamosScoring/Management/include/GmVPrimitiveScorerVector.hh | 0b7f1f4fe023e15afe7a1d82cd074587052c1558 | [] | no_license | ethanlarochelle/GamosCore | 450fc0eeb4a5a6666da7fdb75bcf5ee23a026238 | 70612e9a2e45b3b1381713503eb0f405530d44f0 | refs/heads/master | 2022-03-24T16:03:39.569576 | 2018-01-20T12:43:43 | 2018-01-20T12:43:43 | 116,504,426 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,167 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The GAMOS software is copyright of the Copyright Holders of *
// * the GAMOS Collaboration. It is provided under the terms and *
// * conditions of the GAMOS Software License, included in the file *
// * LICENSE and available at http://fismed.ciemat.es/GAMOS/license .*
// * These include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GAMOS collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the GAMOS Software license. *
// ********************************************************************
//
#ifndef GmVPrimitiveScorerVector_hh
#define GmVPrimitiveScorerVector_hh 1
// class description:
//
// This is the base class of the GAMOS G4VPrimitiveScorer.
// It construct the G4VPrimitiveSensor object passing the corresponding arguments
#include "G4VPrimitiveScorer.hh"
#include <vector>
//#include "G4THitsMap.hh"
class GmVFilter;
//#include "GamosCore/GamosBase/Base/include/GmVFilter.hh"
class GmVPSPrinter;
class GmVClassifier;
class G4VPhysicalVolume;
class GmVPrimitiveScorerVector : public G4VPrimitiveScorer
{
friend class G4MultiFunctionalDetector;
public: // with description
GmVPrimitiveScorerVector(G4String name);
virtual ~GmVPrimitiveScorerVector();
protected: // with description
virtual G4int GetIndex(G4Step*);
// This is a function mapping from copy number(s) to an index of
// the hit collection. In the default implementation, just the
// copy number of the physical volume is taken.
virtual void AddDefaultPrinter();
virtual void AddDefaultClassifier();
public:
virtual void SetParameters( const std::vector<G4String>& ){
G4cout << " GmVPrimitiveScorerVector::SetParameters: no parameters " << G4endl;
};
// virtual void DumpAll(G4THitsMap<G4double>* RunMap);
virtual void DumpAll(std::vector<G4double>* RunMap);
void Initialise(G4HCofThisEvent* HCE);
G4bool FillScorer(G4Step* aStep, G4double val, G4double wei);
G4bool FillScorer(G4int index, G4double val, G4double wei);
void ScoreNewEvent();
void SetGmFilter(GmVFilter* f)
{ theFilter = f; }
inline GmVFilter* GetGmFilter() const
{ return theFilter; }
void AddPrinter( GmVPSPrinter* prt );
GmVClassifier* GetClassifier() const{
return theClassifier;
}
void SetClassifier( GmVClassifier* idx );
virtual void SetUseTrackWeight( G4bool val ){
fWeighted = val;}
virtual void SetScoreErrors( G4bool val ){
bScoreErrors = val;}
G4double GetSumV2( G4int index ) {
// if( theSumV2.find( index ) == theSumV2.end() ) return 0.;
return theSumV2[index];
}
std::vector<G4double>* GetSumV2() const {
return const_cast<std::vector<G4double>* >( &theSumV2 );
}
void SetSumV2( std::vector<G4double>& sumw2 ) {
theSumV2 = sumw2; }
void CalculateErrors(std::vector<G4double>* RunMap);
G4double GetError( G4int index );
G4double GetErrorRelative( G4int index, G4double sumWX, G4double nEvents );
void SetNewEvent( G4bool val ){
bNewEvent = val; }
G4bool ScoreErrors() const { return bScoreErrors; }
G4bool UseTrackWeight() const { return fWeighted;}
G4double GetUnit() const { return theUnit;}
G4String GetUnitName() const { return theUnitName;}
virtual void SetScoreByEvent( G4bool val ){
bScoreByEvent = val;}
G4bool ScoreByEvent() const { return bScoreByEvent; }
G4bool AcceptByFilter( G4Step*aStep );
void SetUnit( const G4String& unitName, G4double val );
void SetNIndices( G4int nind ) {
theNIndices = nind; }
private:
G4double GetError( G4int index, G4double sumWX, G4double nEvents );
protected:
GmVFilter* theFilter;
std::vector<GmVPSPrinter*> thePrinters;
GmVClassifier* theClassifier;
std::vector<G4double> EvtMap;
G4int HCID;
G4bool fWeighted;
//--- Error calculations
std::vector<G4double> theSumV_tmp;
std::vector<G4double> theSumV2;
std::vector<G4double> theError;
G4bool bNewEvent;
G4bool bScoreErrors;
G4double theUnit;
G4String theUnitName;
G4bool bScoreByEvent;
G4double sumALL;
G4int theNIndices;
};
#endif
| [
"ethanlarochelle@gmail.com"
] | ethanlarochelle@gmail.com |
40a2e19c570b406da42075bf10b8107575cd3c5d | 3e8a948e1d49911eb041c6be61fa02125293ce80 | /competitive_programming/binary_search/maximize_minimum_value/poj3258/poj3258.cpp | 7c0d0a9c1ca74c31e052dbf63d101ecdb4486d35 | [] | no_license | MatsudaYoshio/study | 66fea10ada4920763cab9d56ff38aad4eec8a6f3 | 604efb487ccced2d93ca1e93dc1b0a9559d0ba9b | refs/heads/master | 2022-11-16T15:51:11.022117 | 2022-11-12T12:49:46 | 2022-11-12T12:49:46 | 101,472,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int L, N, M;
vector<int> r;
bool C(int d)
{
int prev, crt = 0, cnt;
int m = M;
while(crt <= N+1){
++crt;
prev = crt-1;
cnt = 0;
while(crt <= N+1 && r[crt]-r[prev] < d){
++crt;
++cnt;
}
m -= cnt;
if(m < 0) return false;
}
return true;
}
int main()
{
cin >> L >> N >> M;
r.resize(N+2);
r[0] = 0;
for(int i = 1; i <= N; ++i) cin >> r[i];
r[N+1] = L;
sort(r.begin(), r.end());
int lb = 0, ub = 1000000000, mid;
while(ub - lb > 1){
mid = (lb + ub)/2;
if(C(mid)) lb = mid;
else ub = mid;
}
cout << lb << endl;
}
| [
"dark.unicorn1213@gmail.com"
] | dark.unicorn1213@gmail.com |
9daeff66857ef4bddd7d4db861a30ce2ccce744a | 0b2a8aee57dc25123e25ca1a531f1288cad80ac2 | /src/csv/csv_parser.cpp | 31c3b1eb702c5590a2e82388ed3adc823c1508d0 | [
"MIT"
] | permissive | ebadier/MarioSokoban | b482cd275076686ad294476fa8bb631ae622002a | 5c62b758553bb24fe1ee5e62ef9cfef18354b255 | refs/heads/master | 2021-06-15T21:43:54.882876 | 2021-01-31T23:07:01 | 2021-01-31T23:07:01 | 18,041,872 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,676 | cpp | /* INCLUDING HEADER FILES */
#include <csv/csv_parser.h>
/* BEGIN DEFINITION FOR PUBLIC METHODS */
bool csv_parser::init(FILE * input_file_pointer)
{
input_fp = input_file_pointer;
if (input_fp == NULL)
{
fprintf(stderr, "Fatal error : unable to open input file from file pointer\n");
return false;
}
/* Resetting the internal pointer to the beginning of the stream */
rewind(input_fp);
more_rows = true;
_skip_lines();
return true;
}
bool csv_parser::init(const char * input_file)
{
const size_t filename_length = strlen(input_file);
if (!filename_length)
{
fprintf(stderr, "Fatal error : invalid input file %s\n", input_file);
return false;
}
input_filename = (char *) malloc(filename_length + 1);
if (input_filename == NULL)
{
fprintf(stderr, "Fatal error : unable to allocate memory for file name buffer %s\n", input_file);
return false;
}
memset(input_filename, 0, filename_length + 1);
strcpy(input_filename, input_file);
input_fp = fopen(input_file, "r");
if (input_fp == NULL)
{
fprintf(stderr, "Fatal error : unable to open input file %s\n", input_file);
CSV_PARSER_FREE_BUFFER_PTR(input_filename);
return false;
}
more_rows = true;
_skip_lines();
return true;
}
void csv_parser::set_enclosed_char(char fields_enclosed_by, enclosure_type_t enclosure_mode)
{
if (fields_enclosed_by != 0)
{
enclosed_char = fields_enclosed_by;
enclosed_length = 1U;
enclosure_type = enclosure_mode;
}
}
void csv_parser::set_field_term_char(char fields_terminated_by)
{
if (fields_terminated_by != 0)
{
field_term_char = fields_terminated_by;
field_term_length = 1U;
}
}
void csv_parser::set_line_term_char(char lines_terminated_by)
{
if (lines_terminated_by != 0)
{
line_term_char = lines_terminated_by;
line_term_length = 1U;
}
}
csv_row csv_parser::get_row(void)
{
csv_row current_row;
/* This will store the length of the buffer */
unsigned int line_length = 0U;
/* Character array buffer for the current record */
char * line = NULL;
/* Grab one record */
_read_single_line(&line, &line_length);
/* Select the most suitable field extractor based on the enclosure length */
switch(enclosure_type)
{
case ENCLOSURE_NONE : /* The fields are not enclosed by any character */
_get_fields_without_enclosure(¤t_row, line, &line_length);
break;
case ENCLOSURE_REQUIRED : /* The fields are enclosed by a character */
_get_fields_with_enclosure(¤t_row, line, &line_length);
break;
case ENCLOSURE_OPTIONAL : /* The fields may or may not be enclosed */
_get_fields_with_optional_enclosure(¤t_row, line, &line_length);
break;
default :
_get_fields_with_optional_enclosure(¤t_row, line, &line_length);
break;
}
/* Deallocate the current buffer */
CSV_PARSER_FREE_BUFFER_PTR(line);
/* Keeps track of how many times this has method has been called */
record_count++;
return current_row;
}
/* BEGIN DEFINITION FOR PROTECTED METHODS */
/* BEGIN DEFINITION FOR PRIVATE METHODS */
void csv_parser::_skip_lines(void)
{
/* Just in case the user accidentally sets ignore_num_lines to a negative number */
unsigned int number_of_lines_to_ignore = abs((int) ignore_num_lines);
while(has_more_rows() && number_of_lines_to_ignore)
{
const csv_row row = get_row();
number_of_lines_to_ignore--;
}
record_count = 0U;
}
void csv_parser::_get_fields_without_enclosure(csv_row_ptr row, const char * line, const unsigned int * line_length)
{
char * field = NULL;
if (*line_length > 0)
{
field = (char *) malloc(*line_length);
memset(field, 0, *line_length);
register unsigned int field_start = 0U;
register unsigned int field_end = 0U;
register unsigned int char_pos = 0U;
while(char_pos < *line_length)
{
char curr_char = line[char_pos];
if (curr_char == field_term_char)
{
field_end = char_pos;
const char * field_starts_at = line + field_start;
/* Field width must exclude field delimiter characters */
const unsigned int field_width = field_end - field_start;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
/* This is the starting point of the next field */
field_start = char_pos + 1;
} else if (curr_char == line_term_char)
{
field_end = char_pos;
const char * field_starts_at = line + field_start;
/* Field width must exclude line terminating characters */
const unsigned int field_width = field_end - field_start;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
}
/* Move to the next character in the current line */
char_pos++;
}
/* Deallocate memory for field buffer */
CSV_PARSER_FREE_BUFFER_PTR(field);
}
}
void csv_parser::_get_fields_with_enclosure(csv_row_ptr row, const char * line, const unsigned int * line_length)
{
char * field = NULL;
if (*line_length > 0)
{
field = (char *) malloc(*line_length);
memset(field, 0, *line_length);
register unsigned int current_state = 0U;
register unsigned int field_start = 0U;
register unsigned int field_end = 0U;
register unsigned int char_pos = 0U;
while(char_pos < *line_length)
{
char curr_char = line[char_pos];
if (curr_char == enclosed_char)
{
current_state++;
/* Lets find out if the enclosure character encountered is
* a 'real' enclosure character or if it is an embedded character that
* has been escaped within the field.
*/
register char previous_char = 0x00;
if (char_pos > 0U)
{
/* The escaped char will have to be the 2rd or later character. */
previous_char = line[char_pos - 1];
if (previous_char == escaped_char)
{
--current_state;
}
}
if (current_state == 1U && previous_char != escaped_char)
{
/* This marks the beginning of the column */
field_start = char_pos;
} else if (current_state == 2U)
{
/* We have found the end of the current field */
field_end = char_pos;
/* We do not need the enclosure characters */
const char * field_starts_at = line + field_start + 1U;
/* Field width must exclude beginning and ending enclosure characters */
const unsigned int field_width = field_end - field_start - 1U;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
/* Reset the state to zero value for the next field */
current_state = 0U;
}
}
/* Move to the next character in the current line */
char_pos++;
}
/* If no enclosures were found in this line, the entire line becomes the only field. */
if (0 == row->size())
{
string entire_line = line;
row->push_back(entire_line);
} else if (current_state == 1U)
{
/* The beginning enclosure character was found but
* we could not locate the closing enclosure in the current line
* So we need to copy the remainder of the line into the last field.
*/
/* We do not need the starting enclosure character */
const char * field_starts_at = line + field_start + 1U;
/* Field width must exclude beginning characters */
const unsigned int field_width = *line_length - field_start - 1U;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
}
/* Release the buffer for the field */
CSV_PARSER_FREE_BUFFER_PTR(field);
}
}
void csv_parser::_get_fields_with_optional_enclosure(csv_row_ptr row, const char * line, const unsigned int * line_length)
{
char * field = NULL;
/*
* How to extract the fields, when the enclosure char is optional.
*
* This is very similar to parsing the document without enclosure but with the following conditions.
*
* If the beginning char is an enclosure character, adjust the starting position of the string by + 1.
* If the ending char is an enclosure character, adjust the ending position by -1
*/
if (*line_length > 0)
{
field = (char *) malloc(*line_length);
memset(field, 0, *line_length);
register unsigned int field_start = 0U;
register unsigned int field_end = 0U;
register unsigned int char_pos = 0U;
while(char_pos < *line_length)
{
char curr_char = line[char_pos];
if (curr_char == field_term_char)
{
field_end = char_pos;
const char * field_starts_at = line + field_start;
/* Field width must exclude field delimiter characters */
unsigned int field_width = field_end - field_start;
const char line_first_char = field_starts_at[0];
const char line_final_char = field_starts_at[field_width - 1];
/* If the enclosure char is found at either ends of the string */
unsigned int first_adjustment = (line_first_char == enclosed_char) ? 1U : 0U;
unsigned int final_adjustment = (line_final_char == enclosed_char) ? 2U : 0U;
/* We do not want to have any negative or zero field widths */
field_width = (field_width > 2U) ? (field_width - final_adjustment) : field_width;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at + first_adjustment, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
/* This is the starting point of the next field */
field_start = char_pos + 1;
} else if (curr_char == line_term_char)
{
field_end = char_pos;
const char * field_starts_at = line + field_start;
/* Field width must exclude line terminating characters */
unsigned int field_width = field_end - field_start;
const char line_first_char = field_starts_at[0];
const char line_final_char = field_starts_at[field_width - 1];
/* If the enclosure char is found at either ends of the string */
unsigned int first_adjustment = (line_first_char == enclosed_char) ? 1U : 0U;
unsigned int final_adjustment = (line_final_char == enclosed_char) ? 2U : 0U;
/* We do not want to have any negative or zero field widths */
field_width = (field_width > 2U) ? (field_width - final_adjustment) : field_width;
/* Copy exactly field_width bytes from field_starts_at to field */
memcpy(field, field_starts_at + first_adjustment, field_width);
/* This must be a null-terminated character array */
field[field_width] = 0x00;
string field_string_obj = field;
row->push_back(field_string_obj);
}
/* Move to the next character in the current line */
char_pos++;
}
/* Deallocate memory for field buffer */
CSV_PARSER_FREE_BUFFER_PTR(field);
}
}
void csv_parser::_read_single_line(char ** buffer, unsigned int * buffer_len)
{
long int original_pos = ftell(input_fp);
long int current_pos = original_pos;
register int current_char = 0;
/* Checking one character at a time until the end of a line is found */
while(true)
{
current_char = fgetc(input_fp);
if (current_char == EOF)
{
/* We have reached the end of the file */
more_rows = false;
break;
} else if (current_char == line_term_char)
{
/* We have reached the end of the row */
current_pos++;
break;
} else {
current_pos++;
}
}
/* Let's try to peek one character ahead to see if we are at the end of the file */
if (more_rows)
{
current_char = fgetc(input_fp);
more_rows = (current_char == EOF) ? false : true;
}
/* Find out how long this row is */
const size_t length_of_row = current_pos - original_pos;
if (length_of_row > 0)
{
*buffer_len = length_of_row * sizeof(char) + 1;
*buffer = (char *) realloc(*buffer, *buffer_len);
memset(*buffer, 0, *buffer_len);
/* Reset the internal pointer to the original position */
fseek(input_fp, original_pos, SEEK_SET);
/* Copy the contents of the line into the buffer */
fread(*buffer, 1, length_of_row, input_fp);
}
}
| [
"emmanuel.badier@gmail.com"
] | emmanuel.badier@gmail.com |
b1b3b472be0a32d664f2bc97bda99b90c4ef1bee | e86c8116ab0542a6b7f6a551344a86139e39f9de | /Framework/Graphics/Source/Private/Utility/RefObject.cpp | b5115db7c7e25d3e8f380c74745791137ae8721b | [] | no_license | jazzboysc/RTGI | fb1b9eed9272ce48828e9a294529d70be3f61532 | 80290d4e1892948d81427569fb862267407e3c5a | refs/heads/master | 2020-04-14T05:23:38.219651 | 2015-07-17T07:12:48 | 2015-07-17T07:12:48 | 20,085,664 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | //----------------------------------------------------------------------------
// Graphics framework for real-time GI study.
// Che Sun at Worcester Polytechnic Institute, Fall 2013.
//----------------------------------------------------------------------------
#include "RefObject.h"
using namespace RTGI;
//----------------------------------------------------------------------------
RefObject::RefObject()
{
mReferenceCount = 0;
}
//----------------------------------------------------------------------------
RefObject::~RefObject()
{
}
//----------------------------------------------------------------------------
void RefObject::DecrementReferenceCount()
{
if( --mReferenceCount == 0 )
{
delete this;
}
}
//---------------------------------------------------------------------------- | [
"S515380c"
] | S515380c |
9f6e90420ea7dc9c2f7fe786b9227dd631a3b516 | 0212e535be3d51ca5ec8f75f6d00bd022b4b4d7b | /Lumos/src/Physics/LumosPhysicsEngine/Integration.h | 9ef6908033d3a9bd46bc289714f308dcd6583ea8 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | heitaoflower/Lumos | e4be9d63677fae8b85edf63006ff3693ff994c6c | 9b7f75c656ab89e45489de357fb029591df3dfd9 | refs/heads/master | 2022-04-24T14:17:14.530531 | 2020-04-26T14:31:32 | 2020-04-26T14:31:32 | 256,513,707 | 0 | 0 | MIT | 2020-04-27T07:51:17 | 2020-04-17T13:40:48 | null | UTF-8 | C++ | false | false | 541 | h | #pragma once
#include "lmpch.h"
#include "Maths/Maths.h"
namespace Lumos
{
class LUMOS_EXPORT Integration
{
public:
struct State
{
Maths::Vector3 position;
Maths::Vector3 velocity;
Maths::Vector3 acceleration;
};
struct Derivative
{
Maths::Vector3 acceleration;
Maths::Vector3 velocity;
};
public:
static void RK2(State &state, float t, float dt);
static void RK4(State &state, float t, float dt);
static Derivative Evaluate(State& initial, float dt, float t, const Derivative& derivative);
};
}
| [
"jmorton06@live.co.uk"
] | jmorton06@live.co.uk |
63c7e3835ef29fb083e0f240a20ff944b955d27f | 3078ae0b843641976a4b624e9b98204c86037e76 | /Machine_Learning/Project_3_MachineLearning/Project_3_MachineLearning/NominalAttribute.cpp | c85982ce87b3d20c711eefb2a4fb3ff196acf31e | [] | no_license | grwim/Portfolio | 0888d63cfb432ae112ed878a1b8b766b91f7b989 | 862942118f6701e40fb1c4b3e659d565058a5729 | refs/heads/master | 2020-03-28T04:30:57.113423 | 2019-01-17T23:57:12 | 2019-01-17T23:57:12 | 147,719,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | //
// NominalAttribute.cpp
// Project_3_MachineLearning
//
// Created by Konrad Rauscher on 3/16/16.
// Copyright © 2016 Konrad Rauscher. All rights reserved.
//
#include "NominalAttribute.hpp"
NominalAttribute::NominalAttribute()
{
}
void NominalAttribute::addValue( string value ) throw ( logic_error ) // Adds a new nominal value to the domain of this nominal attribute.
{
try {
domain.push_back(value);
} catch (string vectorPushError) {
throw vectorPushError;
}
}
int NominalAttribute::getSize() const
{
//Gets the size of this attribute's domain.
return static_cast<int>(domain.size());
}
string NominalAttribute::getValue( int index ) throw ( logic_error )
{
//Returns the value of this nominal attribute at the specified index.
return domain.at(index);
}
int NominalAttribute::getIndex( string value ) throw ( logic_error )
{
int output = -1;
string error = "Error encountered in: NominalAttribute::getIndex ";
for (unsigned int i = 0; i < domain.size(); i++ )
{
if (strcmp(value.c_str(),domain[i].c_str()) == 0)
{
output = i;
}
}
if (output == -1) {
throw error;
}
return output;
}
ostream &operator<<( ostream &out, const NominalAttribute &na )
{
na.print();
return out;
}
void NominalAttribute::print( ) const
{
cout << getName();
for (unsigned int i = 0; i < domain.size(); i++ )
{
cout << " " << domain[i] << " ";
}
} | [
"konmanr@gmail.com"
] | konmanr@gmail.com |
b097ed63d3971c689d9b52a9f0c6dbf978057f9f | 3f4f5f67669413f1ff8e4c65f22a17ad77c9cf04 | /libaln/src/alntestvalid.cpp | 36d4ceb8156ff53be921f47f536b5ceecdb355a8 | [] | no_license | rpeters/Deep-Learning-ALN | ab4925e6d6a27fe13cd23b8a5093a4127a19344f | 42c71c386be918190efe837bc212dab5e32d91b7 | refs/heads/master | 2021-10-25T14:51:42.643978 | 2019-04-04T21:46:27 | 2019-04-04T21:46:27 | 106,046,411 | 1 | 0 | null | 2019-04-04T21:46:28 | 2017-10-06T20:14:27 | C++ | UTF-8 | C++ | false | false | 1,379 | cpp | // ALN Library
// Copyright (C) 2018 William W. Armstrong.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// Version 3 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
// For further information contact
// William W. Armstrong
// 3624 - 108 Street NW
// Edmonton, Alberta, Canada T6J 1B4
// alntestvalid.cpp
#ifdef ALNDLL
#define ALNIMP __declspec(dllexport)
#endif
#include <aln.h>
#include "alnpriv.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// test ALN structure validity
// returns ALN_* error code, (ALN_NOERROR on success)
ALNIMP int ALNAPI ALNTestValid(const ALN* pALN)
{
// parameter variance
if (pALN == NULL)
return ALN_GENERIC;
// not implemented...
return ALN_NOERROR;
}
| [
"wwarmstrong@gmail.com"
] | wwarmstrong@gmail.com |
d9d44e440d6a92af6c7b84c6fd613e39fbdfa80a | 9eef1659064ad2f415e7aba90b298cc1e621a75c | /Lagrange_Point.cpp | 49d3a383988ab737bbbd870a50a4b83d7e3a2302 | [] | no_license | Linpinliang/ibm_2019_11_1 | c91bc9924a0fad9dd9801f0afe0d88b595d54ed0 | 6372d5bf18ceefd5779c8e3f6a269127de5aa1c8 | refs/heads/master | 2020-09-30T11:21:52.800168 | 2019-12-11T05:02:19 | 2019-12-11T05:02:19 | 227,278,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include "Lagrange_Point.h"
/*
Lagrange_Point::Lagrange_Point()
{
}
*/
Lagrange_Point::Lagrange_Point(double x, double y)
{
Set_Position(x, y);
Set_ub_vb_noF(0, 0);
Set_Ub_Vb(0, 0);
Set_F(0, 0);
}
void Lagrange_Point::Set_Position(double x, double y)
{
_x = x;
_y = y;
}
void Lagrange_Point::Set_ub_vb_noF(double ub_noF, double vb_noF)
{
_ub_noF = ub_noF;
_vb_noF = vb_noF;
}
void Lagrange_Point::Set_Ub_Vb(double Ub, double Vb)
{
_Ub = Ub;
_Vb = Vb;
}
void Lagrange_Point::Set_F(double Fx, double Fy)
{
_Fx = Fx;
_Fy = Fy;
}
void Lagrange_Point::Set_deleta_sb(double DELTA_SB)
{
_delta_sb = DELTA_SB;
}
double Lagrange_Point::Get_Position_x()
{
return _x;
}
double Lagrange_Point::Get_Position_y()
{
return _y;
}
double Lagrange_Point::get_ub_nof()
{
return _ub_noF;
}
double Lagrange_Point::get_vb_nof()
{
return _vb_noF;
}
double Lagrange_Point::Get_Ub()
{
return _Ub;
}
double Lagrange_Point::Get_Vb()
{
return _Vb;
}
double Lagrange_Point::Get_Fx()
{
return _Fx;
}
double Lagrange_Point::Get_Fy()
{
return _Fy;
}
double Lagrange_Point::Get_delta_sb()
{
return _delta_sb;
}
Lagrange_Point::~Lagrange_Point()
{
}
| [
"928248595@qq.com"
] | 928248595@qq.com |
0b86c3ff7a91e3ddd09254314eacd3c99639d8c5 | 4e37746643015da08a704df18aa912785f72fef7 | /mecanum_jz/src/mecanum.cpp | 0821651bcaf10f1abe64f6938dce7208a1fcf0dc | [] | no_license | ZJUTongYang/mecanum_jz | 77176994887a0fdc93e14df518d7b6497e6c36ff | 8c6a013715fc0a6a88864cb7619ba90a0bed3288 | refs/heads/master | 2020-04-09T05:02:27.292020 | 2018-12-05T14:10:48 | 2018-12-05T14:10:48 | 159,137,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | cpp | #include "mecanum.h"
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
mecanum::mecanum()
{
ros::NodeHandle n;
wheel_sub_ = n.subscribe("/jzhw/robot_cmd", 1, &mecanum::robotCmdCallBack, this);
key_sub_ = n.subscribe("/keyboard/keydown", 1, &mecanum::keyDownCallBack, this);
wheel_pub_ = n.advertise<geometry_msgs::Twist>("/jzhw/cmd_vel", 1);
}
void mecanum::robotCmdCallBack(const geometry_msgs::Twist::ConstPtr& msg)
{
vx_m_s_ = msg->linear.x;
vy_m_s_ = msg->linear.y;
w_rad_s_ = msg->angular.z;
std::cout << "YT: receive command: [" << vx_m_s_ << ", " << vy_m_s_ << ", " << w_rad_s_ << "] " << std::endl;
plan(vx_m_s_, vy_m_s_, w_rad_s_);
}
void mecanum::keyDownCallBack(const keyboard::Key::ConstPtr& msg)
{
ROS_INFO("key code=%d", msg->code);
/*switch(msg->code)
{
case 273:
{
plan(0.01, 0, 0);
break;
}
case 274:
{
plan(-0.01, 0, 0);
break;
}
case 275:
{
plan(0, -0.01, 0);
break;
}
case 276:
{
plan(0, 0.01, 0);
break;
}
case 119:
{
plan(0.01, 0, 0);
break;
}
case 115:
{
plan(-0.01, 0, 0);
break;
}
case 97:
{
plan(0, 0.01, 0);
break;
}
case 100:
{
plan(0, -0.01, 0);
break;
}
case 113:
{
plan(0, 0, 0.01);
break;
}
case 101:
{
plan(0, 0, -0.01);
break;
}
}*/
}
void mecanum::publishwheelvel(double vel_0, double vel_1, double vel_2, double vel_3)
{
geometry_msgs::Twist temp;
temp.linear.x = vel_0;
temp.linear.y = vel_1;
//temp.linear.z = vel_2;
//temp.angular.x = vel_3;
temp.linear.z = -vel_2;
temp.angular.x = -vel_3;
std::cout << "YT: publish command: [" << temp.linear.x << ", " << temp.linear.y << ", " << temp.linear.z << ", " << temp.angular.x << "]" <<std::endl;
wheel_pub_.publish(temp);
}
void mecanum::plan(double vx_m_s, double vy_m_s, double w_rad_s)
{
double wheel_vel_[4];
for(unsigned int i = 0; i < 4; i++)
{
wheel_vel_[i] = sin(alpha[i]+beta[i]+gam[i])*vx_m_s -
cos(alpha[i]+beta[i]+gam[i])*vy_m_s -
sqrt((lr/2)*(lr/2)+ (fb/2)*(fb/2))*cos(beta[i]+gam[i])*w_rad_s;
wheel_vel_[i] /= r * cos(gam[i]);
}
publishwheelvel(wheel_vel_[0], wheel_vel_[1], wheel_vel_[2], wheel_vel_[3]);
}
int main(int argc, char **argv)
{
ros::init(argc, argv, "mecanum_YT");
mecanum n;
ros::spin();
return 0;
}
| [
"327300724@qq.com"
] | 327300724@qq.com |
62ce93cbc08b07c76d3194a84cd8f738b7945dce | 6f5f789413a2a4f41f900ba44e7e696e275f578b | /NFC-PRO1/PN532/PN532Interface.h | 5da0980afe82005c820d592e70a782a2ffce832f | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | SU1JUN4KANG1/SJ_K | dc46952295bbb76069c70c9dc2633d1c1e4db7a7 | a029879bb33d3e85b16ca86cea3b8a052a20a82a | refs/heads/master | 2020-05-25T12:10:05.631026 | 2019-08-22T12:01:29 | 2019-08-22T12:01:29 | 187,792,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,838 | h |
#ifndef __PN532_INTERFACE_H__
#define __PN532_INTERFACE_H__
#include <stdint.h>
#define PN532_PREAMBLE (0x00)
#define PN532_STARTCODE1 (0x00)
#define PN532_STARTCODE2 (0xFF)
#define PN532_POSTAMBLE (0x00)
#define PN532_HOSTTOPN532 (0xD4)
#define PN532_PN532TOHOST (0xD5)
//#define PN532_ACK_WAIT_TIME (10) // ms, timeout of waiting for ACK
#define PN532_ACK_WAIT_TIME (500)
#define PN532_INVALID_ACK (-1)
#define PN532_TIMEOUT (-2)
#define PN532_INVALID_FRAME (-3)
#define PN532_NO_SPACE (-4)
#define REVERSE_BITS_ORDER(b) b = (b & 0xF0) >> 4 | (b & 0x0F) << 4; \
b = (b & 0xCC) >> 2 | (b & 0x33) << 2; \
b = (b & 0xAA) >> 1 | (b & 0x55) << 1
class PN532Interface
{
public:
virtual void begin() = 0;
virtual void wakeup() = 0;
/**
* @brief write a command and check ack
* @param header packet header
* @param hlen length of header
* @param body packet body
* @param blen length of body
* @return 0 success
* not 0 failed
*/
virtual int8_t writeCommand(const uint8_t *header, uint8_t hlen, const uint8_t *body = 0, uint8_t blen = 0) = 0;
/**
* @brief read the response of a command, strip prefix and suffix
* @param buf to contain the response data
* @param len lenght to read
* @param timeout max time to wait, 0 means no timeout
* @return >=0 length of response without prefix and suffix
* <0 failed to read response
*/
virtual int16_t readResponse(uint8_t buf[], uint8_t len, uint16_t timeout = 1000) = 0;
};
#endif
| [
"137526100@qq.com"
] | 137526100@qq.com |
487bcf32bc599cd01bdd5db91bb80d969c31a968 | b4aff90b636412db70a2e2e2ab819a24d65cba2b | /voipengine/voipsdk/webrtc/src/chromium/src/content/common/gpu/media/dxva_video_decode_accelerator.h | c544cf67e4e4dabda5f4b9de532369f5262ed67c | [] | no_license | brainpoint/voip_ios | 9a9aebba88b3c5bb17108d7ed87c702f23dc6f12 | 5205f896b9e60881f52c0b12b1c5188c9608d83e | refs/heads/master | 2020-12-26T04:37:38.258937 | 2015-04-14T16:16:31 | 2015-04-14T16:16:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,748 | h | // Copyright (c) 2012 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 CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
#define CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
#include <d3d9.h>
// Work around bug in this header by disabling the relevant warning for it.
// https://connect.microsoft.com/VisualStudio/feedback/details/911260/dxva2api-h-in-win8-sdk-triggers-c4201-with-w4
#pragma warning(push)
#pragma warning(disable:4201)
#include <dxva2api.h>
#pragma warning(pop)
#include <list>
#include <map>
#include <mfidl.h>
#include <vector>
#include "base/compiler_specific.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "base/win/scoped_comptr.h"
#include "content/common/content_export.h"
#include "media/video/video_decode_accelerator.h"
interface IMFSample;
interface IDirect3DSurface9;
namespace content {
// Class to provide a DXVA 2.0 based accelerator using the Microsoft Media
// foundation APIs via the VideoDecodeAccelerator interface.
// This class lives on a single thread and DCHECKs that it is never accessed
// from any other.
class CONTENT_EXPORT DXVAVideoDecodeAccelerator
: public media::VideoDecodeAccelerator,
NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
enum State {
kUninitialized, // un-initialized.
kNormal, // normal playing state.
kResetting, // upon received Reset(), before ResetDone()
kStopped, // upon output EOS received.
kFlushing, // upon flush request received.
kFlushingPendingInputBuffers, // pending flush request for unprocessed
// input buffers.
};
// Does not take ownership of |client| which must outlive |*this|.
explicit DXVAVideoDecodeAccelerator(
const base::Callback<bool(void)>& make_context_current);
virtual ~DXVAVideoDecodeAccelerator();
// media::VideoDecodeAccelerator implementation.
virtual bool Initialize(media::VideoCodecProfile profile,
Client* client) override;
virtual void Decode(const media::BitstreamBuffer& bitstream_buffer) override;
virtual void AssignPictureBuffers(
const std::vector<media::PictureBuffer>& buffers) override;
virtual void ReusePictureBuffer(int32 picture_buffer_id) override;
virtual void Flush() override;
virtual void Reset() override;
virtual void Destroy() override;
virtual bool CanDecodeOnIOThread() override;
private:
typedef void* EGLConfig;
typedef void* EGLSurface;
// Creates and initializes an instance of the D3D device and the
// corresponding device manager. The device manager instance is eventually
// passed to the IMFTransform interface implemented by the decoder.
bool CreateD3DDevManager();
// Creates, initializes and sets the media codec types for the decoder.
bool InitDecoder(media::VideoCodecProfile profile);
// Validates whether the decoder supports hardware video acceleration.
bool CheckDecoderDxvaSupport();
// Returns information about the input and output streams. This includes
// alignment information, decoder support flags, minimum sample size, etc.
bool GetStreamsInfoAndBufferReqs();
// Registers the input and output media types on the decoder. This includes
// the expected input and output formats.
bool SetDecoderMediaTypes();
// Registers the input media type for the decoder.
bool SetDecoderInputMediaType();
// Registers the output media type for the decoder.
bool SetDecoderOutputMediaType(const GUID& subtype);
// Passes a command message to the decoder. This includes commands like
// start of stream, end of stream, flush, drain the decoder, etc.
bool SendMFTMessage(MFT_MESSAGE_TYPE msg, int32 param);
// The bulk of the decoding happens here. This function handles errors,
// format changes and processes decoded output.
void DoDecode();
// Invoked when we have a valid decoded output sample. Retrieves the D3D
// surface and maintains a copy of it which is passed eventually to the
// client when we have a picture buffer to copy the surface contents to.
bool ProcessOutputSample(IMFSample* sample);
// Processes pending output samples by copying them to available picture
// slots.
void ProcessPendingSamples();
// Helper function to notify the accelerator client about the error.
void StopOnError(media::VideoDecodeAccelerator::Error error);
// Transitions the decoder to the uninitialized state. The decoder will stop
// accepting requests in this state.
void Invalidate();
// Notifies the client that the input buffer identifed by input_buffer_id has
// been processed.
void NotifyInputBufferRead(int input_buffer_id);
// Notifies the client that the decoder was flushed.
void NotifyFlushDone();
// Notifies the client that the decoder was reset.
void NotifyResetDone();
// Requests picture buffers from the client.
void RequestPictureBuffers(int width, int height);
// Notifies the client about the availability of a picture.
void NotifyPictureReady(const media::Picture& picture);
// Sends pending input buffer processed acks to the client if we don't have
// output samples waiting to be processed.
void NotifyInputBuffersDropped();
// Decodes pending input buffers.
void DecodePendingInputBuffers();
// Helper for handling the Flush operation.
void FlushInternal();
// Helper for handling the Decode operation.
void DecodeInternal(const base::win::ScopedComPtr<IMFSample>& input_sample);
// Handles mid stream resolution changes.
void HandleResolutionChanged(int width, int height);
struct DXVAPictureBuffer;
typedef std::map<int32, linked_ptr<DXVAPictureBuffer> > OutputBuffers;
// Tells the client to dismiss the stale picture buffers passed in.
void DismissStaleBuffers();
// Called after the client indicates we can recycle a stale picture buffer.
void DeferredDismissStaleBuffer(int32 picture_buffer_id);
// To expose client callbacks from VideoDecodeAccelerator.
media::VideoDecodeAccelerator::Client* client_;
base::win::ScopedComPtr<IMFTransform> decoder_;
base::win::ScopedComPtr<IDirect3D9Ex> d3d9_;
base::win::ScopedComPtr<IDirect3DDevice9Ex> device_;
base::win::ScopedComPtr<IDirect3DDeviceManager9> device_manager_;
base::win::ScopedComPtr<IDirect3DQuery9> query_;
// Ideally the reset token would be a stack variable which is used while
// creating the device manager. However it seems that the device manager
// holds onto the token and attempts to access it if the underlying device
// changes.
// TODO(ananta): This needs to be verified.
uint32 dev_manager_reset_token_;
// The EGL config to use for decoded frames.
EGLConfig egl_config_;
// Current state of the decoder.
State state_;
MFT_INPUT_STREAM_INFO input_stream_info_;
MFT_OUTPUT_STREAM_INFO output_stream_info_;
// Contains information about a decoded sample.
struct PendingSampleInfo {
PendingSampleInfo(int32 buffer_id, IMFSample* sample);
~PendingSampleInfo();
int32 input_buffer_id;
base::win::ScopedComPtr<IMFSample> output_sample;
};
typedef std::list<PendingSampleInfo> PendingOutputSamples;
// List of decoded output samples.
PendingOutputSamples pending_output_samples_;
// This map maintains the picture buffers passed the client for decoding.
// The key is the picture buffer id.
OutputBuffers output_picture_buffers_;
// After a resolution change there may be a few output buffers which have yet
// to be displayed so they cannot be dismissed immediately. We move them from
// |output_picture_buffers_| to this map so they may be dismissed once they
// become available.
OutputBuffers stale_output_picture_buffers_;
// Set to true if we requested picture slots from the client.
bool pictures_requested_;
// Counter which holds the number of input packets before a successful
// decode.
int inputs_before_decode_;
// List of input samples waiting to be processed.
typedef std::list<base::win::ScopedComPtr<IMFSample>> PendingInputs;
PendingInputs pending_input_buffers_;
// Callback to set the correct gl context.
base::Callback<bool(void)> make_context_current_;
// WeakPtrFactory for posting tasks back to |this|.
base::WeakPtrFactory<DXVAVideoDecodeAccelerator> weak_this_factory_;
// Which codec we are decoding with hardware acceleration.
media::VideoCodec codec_;
};
} // namespace content
#endif // CONTENT_COMMON_GPU_MEDIA_DXVA_VIDEO_DECODE_ACCELERATOR_H_
| [
"houxuehua49@gmail.com"
] | houxuehua49@gmail.com |
870c37a3eb7a0b4ec4070ce8b26c6817b5951aa1 | 7b49d69735eee6602ce328cfcb719024446fe2bb | /oneDim/linearizedEquations2D/init/sigmah.stable | 6471ffdf89e7ec7fb143375d48ec2b4b315ba19f | [] | no_license | statisdisc/partitionedShallowWater | 7ced6febdae948b222e18039ad622b5d7f0813a4 | 52422a24a9e3cdbe7c0f8f28c2e8d3f3e1257ca7 | refs/heads/master | 2021-06-22T16:33:21.060529 | 2020-08-21T08:39:11 | 2020-08-21T08:39:11 | 101,410,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | stable | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object sigmah.stable;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform 0.;
boundaryField
{
inlet
{
type cyclic;
}
outlet
{
type cyclic;
}
top
{
type cyclic;
}
bottom
{
type cyclic;
}
}
// ************************************************************************* //
| [
"bb902856@sws02hs.act.rdg.ac.uk"
] | bb902856@sws02hs.act.rdg.ac.uk |
29571dad16a77a3a6f970beff9ed1e41939cee02 | bb985a854257d4ca783e0d71e9670feb655bfe34 | /include/memory/manager.h | 4cf600ed1ded32f366b213056c134109963161ec | [
"MIT"
] | permissive | utashih/kanransha | 0e653143291662308cf7eccd888a3c1f44990dea | 844ebf8a59177f2a074543168cdffd40f86acb8a | refs/heads/master | 2020-11-24T22:42:05.546318 | 2019-12-18T07:48:50 | 2019-12-18T07:48:50 | 228,369,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | h | #ifndef KANRANSHA_MEMORY_MANAGER
#define KANRANSHA_MEMORY_MANAGER
#include <cstddef>
namespace kanransha {
template <typename derived_t>
class memory_manager_base {
public:
void *allocate(size_t size, size_t alignment) {
return get_derived()->allocate_impl(size, alignment);
}
template <typename T>
T *allocate(size_t num = 1) {
return static_cast<T *>(allocate(num * sizeof(T), alignof(T)));
}
void retire(void *ptr) { return get_derived()->retire_impl(ptr); }
void protect() { return get_derived()->protect_impl(); }
void unprotect() { return get_derived()->unprotect_impl(); }
private:
derived_t *get_derived() { return static_cast<derived_t *>(this); }
};
template <typename memory_manager_t>
class memory_guard {
public:
memory_guard(memory_manager_t *manager) : manager_(manager) {
manager_->protect();
}
~memory_guard() { manager_->unprotect(); }
private:
memory_guard(const memory_guard &) = delete;
memory_guard &operator=(const memory_guard &) = delete;
memory_manager_t *manager_;
};
} // namespace kanransha
#endif | [
"utashih@gmail.com"
] | utashih@gmail.com |
74cac7970237ebca062fc43299497f775e775001 | 4749b64b52965942f785b4e592392d3ab4fa3cda | /chrome/android/sync_shell/chrome_main_delegate_chrome_sync_shell_android.h | 1ef2b14ac39757589ed5c8e962d1a4de51724758 | [
"BSD-3-Clause"
] | permissive | crosswalk-project/chromium-crosswalk-efl | 763f6062679727802adeef009f2fe72905ad5622 | ff1451d8c66df23cdce579e4c6f0065c6cae2729 | refs/heads/efl/crosswalk-10/39.0.2171.19 | 2023-03-23T12:34:43.905665 | 2014-12-23T13:44:34 | 2014-12-23T13:44:34 | 27,142,234 | 2 | 8 | null | 2014-12-23T06:02:24 | 2014-11-25T19:27:37 | C++ | UTF-8 | C++ | false | false | 902 | 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 CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
#define CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
#include "chrome/app/android/chrome_main_delegate_android.h"
class ChromeMainDelegateChromeSyncShellAndroid
: public ChromeMainDelegateAndroid {
public:
ChromeMainDelegateChromeSyncShellAndroid();
virtual ~ChromeMainDelegateChromeSyncShellAndroid();
virtual bool RegisterApplicationNativeMethods(JNIEnv* env) OVERRIDE;
virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid);
};
#endif // CHROME_ANDROID_SYNC_SHELL_CHROME_MAIN_DELEGATE_CHROME_SYNC_SHELL_ANDROID_H_
| [
"pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
5fe74fe4d22404669f0d5a414ff09731cd84272b | af63a50e2987080ac4b3315e8621a8a0dfc14d3b | /Units/Kilogram.h | 122f6ab836dd2c9ac882231efadb7955debbf185 | [] | no_license | JasperKent/Units | ee6f0a4d8bf702084932edec8113b0c254836cfe | 9562fe87ea7c81668e7a9a25d566f0cb522e7d74 | refs/heads/master | 2020-12-28T09:48:25.486797 | 2020-02-04T18:37:05 | 2020-02-04T18:37:05 | 238,275,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #pragma once
#include "MassBase.h"
class Kilogram final : public MassBase
{
public:
Kilogram(double kg) :MassBase(kg) {}
Kilogram(const MassBase& mass) :MassBase(mass) {}
};
Kilogram operator"" _kg(long double val)
{
return Kilogram(val);
}
Kilogram operator"" _kg(unsigned long long val)
{
return Kilogram(val);
} | [
"jasper_kent@hotmail.com"
] | jasper_kent@hotmail.com |
4ced70cb0cb791d0a6e77b047ee9ea387988b3db | 19dadef7fd2c335628d79d90e677002204df2e2d | /include/socket.hpp | f8bfd429d19823fc2a5127e867701ea0fd4a1c3c | [] | no_license | dak98/SocketIO | f155234ecdbd5d63e0bf37ac2f36be9dbc4e5ed9 | 97afd465e7975859307b8219b7d99d472b9ce213 | refs/heads/master | 2020-06-19T13:14:09.922745 | 2019-10-01T19:53:48 | 2019-10-01T19:53:48 | 196,720,859 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | hpp | #ifndef SOCKETIO_SOCKET_HPP_
#define SOCKETIO_SOCKET_HPP_
#include <string>
#include "protocols.hpp"
#include "socket_view.hpp"
namespace socket_io
{
class socket
{
public:
/*
* @throws - std::runtime_error => an error occured while creating a socket
*/
explicit socket(ip_protocol const& ip_version);
/*
* @throws - std::logic_error => socket and address have different protocols
* - std::invalid_argument => Argument is not a valid socket
* - std::runtime_error => out of resources
*/
socket(int const sockfd, ip_protocol const& ip_version);
// Copy operations are deleted as they would splot the objects
socket(socket const& other) = delete;
socket(socket&& other) noexcept;
~socket() noexcept;
auto operator=(socket const& other) -> socket& = delete;
auto operator=(socket&& other) noexcept -> socket&;
auto make_view() const noexcept -> socket_view
{ return {handle, ip_version}; }
auto get_ip_protocol() const -> ip_protocol { return ip_version; }
auto get_native_handle() const noexcept -> int { return handle; }
/*
* @throws - std::bad_alloc => from std::string constructor
*/
auto to_string() const -> std::string;
private:
int handle;
ip_protocol ip_version;
};
} // socket_io
#endif // SOCKETIO_SOCKET_HPP_
| [
"jakub.czajka1998@gmail.com"
] | jakub.czajka1998@gmail.com |
f4582a57e8c69bae4356d78f0ad5687dbdff8299 | 81075f5e051bc52e4d6129cf2a5550caa6dc8cbf | /oxygard_read4-20_mg_lQT.ino | d7a39fa4eb53c59e7e3dc52070b0591c990b6735 | [] | no_license | dreizys/oxyguardTruck | 95434daa75ce87e7e1a918284dd0655664541b0e | 1ef38fe057a3653af21e00341979baa5ab5f56eb | refs/heads/master | 2021-01-10T12:18:58.934545 | 2016-04-21T13:33:30 | 2016-04-21T13:33:30 | 55,892,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | ino | /*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
int count_con = 11;
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
for (int i = 2; i <= 12; i++) {
pinMode(i, OUTPUT);
digitalWrite(i,HIGH);
}
}
// the loop routine runs over and over again forever:
void loop() {
for (int i = 1; i <= count_con; i++) {
digitalWrite(i+1, LOW); //relay on
delay(2000);
float sensorValue = analogRead(A0);
float voltage = sensorValue / 204 ; //round 204,6
float mg_l_v = 8.02 * voltage - 7.49; //R=234
Serial.print(i);
Serial.print(';');
Serial.print(mg_l_v);
digitalWrite(i+1, HIGH); //relay off
//if (i == count_con) i = 1; // оказалось, что и без нее все работает
}
}
| [
"dreizys@mail.ru"
] | dreizys@mail.ru |
bb8fbf9d6abffbfa7224bfffa61c02bbfc6f3e1a | cc7643ff887a76a5cacd344993f5812281db8b2d | /src/WebCoreDerived/JSHTMLLinkElement.cpp | d1e3d2c6659c0fb8afe6599aa24eb9e8c71be240 | [
"BSD-3-Clause"
] | permissive | ahixon/webkit.js | e1497345aee2ec81c9895bebf8d705e112c42005 | 7ed1480d73de11cb25f02e89f11ecf71dfa6e0c2 | refs/heads/master | 2020-06-18T13:13:54.933869 | 2016-12-01T10:06:08 | 2016-12-01T10:06:08 | 75,136,170 | 2 | 0 | null | 2016-11-30T00:51:10 | 2016-11-30T00:51:09 | null | UTF-8 | C++ | false | false | 18,494 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "config.h"
#include "JSHTMLLinkElement.h"
#include "HTMLLinkElement.h"
#include "HTMLNames.h"
#include "JSStyleSheet.h"
#include "StyleSheet.h"
#include "URL.h"
#include <runtime/JSString.h>
#include <wtf/GetPtr.h>
using namespace JSC;
namespace WebCore {
/* Hash table */
static const HashTableValue JSHTMLLinkElementTableValues[] =
{
{ "disabled", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementDisabled), (intptr_t)setJSHTMLLinkElementDisabled },
{ "charset", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementCharset), (intptr_t)setJSHTMLLinkElementCharset },
{ "href", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementHref), (intptr_t)setJSHTMLLinkElementHref },
{ "hreflang", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementHreflang), (intptr_t)setJSHTMLLinkElementHreflang },
{ "media", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementMedia), (intptr_t)setJSHTMLLinkElementMedia },
{ "rel", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementRel), (intptr_t)setJSHTMLLinkElementRel },
{ "rev", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementRev), (intptr_t)setJSHTMLLinkElementRev },
{ "sizes", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementSizes), (intptr_t)setJSHTMLLinkElementSizes },
{ "target", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementTarget), (intptr_t)setJSHTMLLinkElementTarget },
{ "type", DontDelete, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementType), (intptr_t)setJSHTMLLinkElementType },
{ "sheet", DontDelete | ReadOnly, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementSheet), (intptr_t)0 },
{ "constructor", DontEnum | ReadOnly, NoIntrinsic, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsHTMLLinkElementConstructor), (intptr_t)0 },
{ 0, 0, NoIntrinsic, 0, 0 }
};
static const HashTable JSHTMLLinkElementTable = { 33, 31, JSHTMLLinkElementTableValues, 0 };
/* Hash table for constructor */
static const HashTableValue JSHTMLLinkElementConstructorTableValues[] =
{
{ 0, 0, NoIntrinsic, 0, 0 }
};
static const HashTable JSHTMLLinkElementConstructorTable = { 1, 0, JSHTMLLinkElementConstructorTableValues, 0 };
const ClassInfo JSHTMLLinkElementConstructor::s_info = { "HTMLLinkElementConstructor", &Base::s_info, &JSHTMLLinkElementConstructorTable, 0, CREATE_METHOD_TABLE(JSHTMLLinkElementConstructor) };
JSHTMLLinkElementConstructor::JSHTMLLinkElementConstructor(Structure* structure, JSDOMGlobalObject* globalObject)
: DOMConstructorObject(structure, globalObject)
{
}
void JSHTMLLinkElementConstructor::finishCreation(VM& vm, JSDOMGlobalObject* globalObject)
{
Base::finishCreation(vm);
ASSERT(inherits(info()));
putDirect(vm, vm.propertyNames->prototype, JSHTMLLinkElementPrototype::self(vm, globalObject), DontDelete | ReadOnly);
putDirect(vm, vm.propertyNames->length, jsNumber(0), ReadOnly | DontDelete | DontEnum);
}
bool JSHTMLLinkElementConstructor::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
return getStaticValueSlot<JSHTMLLinkElementConstructor, JSDOMWrapper>(exec, JSHTMLLinkElementConstructorTable, jsCast<JSHTMLLinkElementConstructor*>(object), propertyName, slot);
}
/* Hash table for prototype */
static const HashTableValue JSHTMLLinkElementPrototypeTableValues[] =
{
{ 0, 0, NoIntrinsic, 0, 0 }
};
static const HashTable JSHTMLLinkElementPrototypeTable = { 1, 0, JSHTMLLinkElementPrototypeTableValues, 0 };
const ClassInfo JSHTMLLinkElementPrototype::s_info = { "HTMLLinkElementPrototype", &Base::s_info, &JSHTMLLinkElementPrototypeTable, 0, CREATE_METHOD_TABLE(JSHTMLLinkElementPrototype) };
JSObject* JSHTMLLinkElementPrototype::self(VM& vm, JSGlobalObject* globalObject)
{
return getDOMPrototype<JSHTMLLinkElement>(vm, globalObject);
}
const ClassInfo JSHTMLLinkElement::s_info = { "HTMLLinkElement", &Base::s_info, &JSHTMLLinkElementTable, 0 , CREATE_METHOD_TABLE(JSHTMLLinkElement) };
JSHTMLLinkElement::JSHTMLLinkElement(Structure* structure, JSDOMGlobalObject* globalObject, PassRefPtr<HTMLLinkElement> impl)
: JSHTMLElement(structure, globalObject, impl)
{
}
void JSHTMLLinkElement::finishCreation(VM& vm)
{
Base::finishCreation(vm);
ASSERT(inherits(info()));
}
JSObject* JSHTMLLinkElement::createPrototype(VM& vm, JSGlobalObject* globalObject)
{
return JSHTMLLinkElementPrototype::create(vm, globalObject, JSHTMLLinkElementPrototype::createStructure(vm, globalObject, JSHTMLElementPrototype::self(vm, globalObject)));
}
bool JSHTMLLinkElement::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
JSHTMLLinkElement* thisObject = jsCast<JSHTMLLinkElement*>(object);
ASSERT_GC_OBJECT_INHERITS(thisObject, info());
return getStaticValueSlot<JSHTMLLinkElement, Base>(exec, JSHTMLLinkElementTable, thisObject, propertyName, slot);
}
EncodedJSValue jsHTMLLinkElementDisabled(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsBoolean(impl.fastHasAttribute(WebCore::HTMLNames::disabledAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementCharset(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::charsetAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementHref(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.getURLAttribute(WebCore::HTMLNames::hrefAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementHreflang(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::hreflangAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementMedia(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::mediaAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementRel(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::relAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementRev(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::revAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementSizes(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
return JSValue::encode(castedThis->sizes(exec));
}
EncodedJSValue jsHTMLLinkElementTarget(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::targetAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementType(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = jsStringWithCache(exec, impl.fastGetAttribute(WebCore::HTMLNames::typeAttr));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementSheet(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName)
{
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
UNUSED_PARAM(slotBase);
if (!castedThis)
return throwVMTypeError(exec);
UNUSED_PARAM(exec);
HTMLLinkElement& impl = castedThis->impl();
JSValue result = toJS(exec, castedThis->globalObject(), WTF::getPtr(impl.sheet()));
return JSValue::encode(result);
}
EncodedJSValue jsHTMLLinkElementConstructor(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue, PropertyName)
{
JSHTMLLinkElement* domObject = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!domObject)
return throwVMTypeError(exec);
if (!domObject)
return throwVMTypeError(exec);
return JSValue::encode(JSHTMLLinkElement::getConstructor(exec->vm(), domObject->globalObject()));
}
void JSHTMLLinkElement::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
{
JSHTMLLinkElement* thisObject = jsCast<JSHTMLLinkElement*>(cell);
ASSERT_GC_OBJECT_INHERITS(thisObject, info());
lookupPut<JSHTMLLinkElement, Base>(exec, propertyName, value, JSHTMLLinkElementTable, thisObject, slot);
}
void setJSHTMLLinkElementDisabled(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
bool nativeValue(value.toBoolean(exec));
if (exec->hadException())
return;
impl.setBooleanAttribute(WebCore::HTMLNames::disabledAttr, nativeValue);
}
void setJSHTMLLinkElementCharset(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::charsetAttr, nativeValue);
}
void setJSHTMLLinkElementHref(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::hrefAttr, nativeValue);
}
void setJSHTMLLinkElementHreflang(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::hreflangAttr, nativeValue);
}
void setJSHTMLLinkElementMedia(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::mediaAttr, nativeValue);
}
void setJSHTMLLinkElementRel(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::relAttr, nativeValue);
}
void setJSHTMLLinkElementRev(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::revAttr, nativeValue);
}
void setJSHTMLLinkElementSizes(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
castedThis->setSizes(exec, value);
}
void setJSHTMLLinkElementTarget(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::targetAttr, nativeValue);
}
void setJSHTMLLinkElementType(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue)
{
JSValue value = JSValue::decode(encodedValue);
UNUSED_PARAM(exec);
JSHTMLLinkElement* castedThis = jsDynamicCast<JSHTMLLinkElement*>(JSValue::decode(thisValue));
if (!castedThis) {
throwVMTypeError(exec);
return;
}
HTMLLinkElement& impl = castedThis->impl();
const String& nativeValue(valueToStringWithNullCheck(exec, value));
if (exec->hadException())
return;
impl.setAttribute(WebCore::HTMLNames::typeAttr, nativeValue);
}
JSValue JSHTMLLinkElement::getConstructor(VM& vm, JSGlobalObject* globalObject)
{
return getDOMConstructor<JSHTMLLinkElementConstructor>(vm, jsCast<JSDOMGlobalObject*>(globalObject));
}
}
| [
"trevor.linton@gmail.com"
] | trevor.linton@gmail.com |
6da3ef320d437cd2819a957ee60e213ee983cfbb | 3611a4f9b55f8c379cddfeff4e627faafecc222e | /src/plugins/aggregator/interfaces/aggregator/item.h | 231ca723d1710b7bafd6ed0c912a626c3fdaca36 | [
"BSL-1.0"
] | permissive | llpj/leechcraft | f194dbbadfe088f09a92cfb03351dcc901c926bd | b71c8ef4f6384d8f50a92be23470c83dcefaec72 | refs/heads/master | 2021-01-15T09:33:52.096466 | 2016-09-06T02:34:03 | 2016-09-06T02:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,574 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduce, display, distribute,
* execute, and transmit the Software, and to prepare derivative works of the
* Software, and to permit third-parties to whom the Software is furnished to
* do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including
* the above license grant, this restriction and the following disclaimer,
* must be included in all copies of the Software, in whole or in part, and
* all derivative works of the Software, unless such copies or derivative
* works are solely in the form of machine-executable object code generated by
* a source language processor.
*
* 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
**********************************************************************/
#ifndef PLUGINS_AGGREGATOR_INTERFACES_AGGREGATOR_ITEM_H
#define PLUGINS_AGGREGATOR_INTERFACES_AGGREGATOR_ITEM_H
#include <vector>
#include <memory>
#include <QString>
#include <QStringList>
#include <QDateTime>
#include <QMetaType>
#include "common.h"
namespace LeechCraft
{
namespace Aggregator
{
struct ItemShort
{
IDType_t ItemID_;
IDType_t ChannelID_;
QString Title_;
QString URL_;
QStringList Categories_;
QDateTime PubDate_;
bool Unread_;
};
/** Describes an enclosure associated with an item.
*/
struct Enclosure
{
/** @brief Enclosure ID.
*/
IDType_t EnclosureID_;
/** @brief Parent item's ID.
*/
IDType_t ItemID_;
/** @brief The URL this enclosure refers to.
*/
QString URL_;
/** @brief MIME type of the enclosure.
*/
QString Type_;
/** @brief Length of the attached enclosure or -1 if unknown.
*/
qint64 Length_;
/** @brief For the Atom's hreflang attribute.
*/
QString Lang_;
/** @brief Constructs the enclosure with given parent.
*
* The given enclosure requests a new ID for it from the
* Core.
*
* @param[in] itemId The ID of the parent item.
*/
Enclosure (const IDType_t& itemId);
/** @brief Constructs the enclosure with given parent.
*
* The enclosure doesn't request a new ID from the Core
* and uses encId instead.
*
* @param[in] itemId The ID of the parent item.
* @param[in] encId The ID of the enclosure.
*/
Enclosure (const IDType_t& itemId, const IDType_t& encId);
private:
Enclosure ();
friend QDataStream& operator>> (QDataStream&, QList<Enclosure>&);
};
bool operator== (const Enclosure&, const Enclosure&);
struct MRSSThumbnail
{
IDType_t MRSSThumbnailID_;
IDType_t MRSSEntryID_;
QString URL_;
int Width_;
int Height_;
QString Time_;
MRSSThumbnail (const IDType_t& entryId);
MRSSThumbnail (const IDType_t& entryId, const IDType_t& thisId);
private:
MRSSThumbnail ();
friend QDataStream& operator>> (QDataStream&, QList<MRSSThumbnail>&);
};
bool operator== (const MRSSThumbnail&, const MRSSThumbnail&);
struct MRSSCredit
{
IDType_t MRSSCreditID_;
IDType_t MRSSEntryID_;
QString Role_;
QString Who_;
MRSSCredit (const IDType_t& entryId);
MRSSCredit (const IDType_t& entryId, const IDType_t& thisId);
private:
MRSSCredit ();
friend QDataStream& operator>> (QDataStream&, QList<MRSSCredit>&);
};
bool operator== (const MRSSCredit&, const MRSSCredit&);
struct MRSSComment
{
IDType_t MRSSCommentID_;
IDType_t MRSSEntryID_;
QString Type_;
QString Comment_;
MRSSComment (const IDType_t& entryId);
MRSSComment (const IDType_t& entryId, const IDType_t& thisId);
private:
MRSSComment ();
friend QDataStream& operator>> (QDataStream&, QList<MRSSComment>&);
};
bool operator== (const MRSSComment&, const MRSSComment&);
struct MRSSPeerLink
{
IDType_t MRSSPeerLinkID_;
IDType_t MRSSEntryID_;
QString Type_;
QString Link_;
MRSSPeerLink (const IDType_t& entryId);
MRSSPeerLink (const IDType_t& entryId, const IDType_t& thisId);
private:
MRSSPeerLink ();
friend QDataStream& operator>> (QDataStream&, QList<MRSSPeerLink>&);
};
bool operator== (const MRSSPeerLink&, const MRSSPeerLink&);
struct MRSSScene
{
IDType_t MRSSSceneID_;
IDType_t MRSSEntryID_;
QString Title_;
QString Description_;
QString StartTime_;
QString EndTime_;
MRSSScene (const IDType_t& entryId);
MRSSScene (const IDType_t& entryId, const IDType_t& thisId);
private:
MRSSScene ();
friend QDataStream& operator>> (QDataStream&, QList<MRSSScene>&);
};
bool operator== (const MRSSScene&, const MRSSScene&);
struct MRSSEntry
{
IDType_t MRSSEntryID_ = 0;
IDType_t ItemID_ = 0;
QString URL_;
qint64 Size_ = 0;
QString Type_;
QString Medium_;
bool IsDefault_ = false;
QString Expression_;
int Bitrate_ = 0;
double Framerate_ = 0;
double SamplingRate_ = 0;
int Channels_ = 0;
int Duration_ = 0;
int Width_ = 0;
int Height_ = 0;
QString Lang_;
int Group_ = 0;
QString Rating_;
QString RatingScheme_;
QString Title_;
QString Description_;
QString Keywords_;
QString CopyrightURL_;
QString CopyrightText_;
int RatingAverage_ = 0;
int RatingCount_ = 0;
int RatingMin_ = 0;
int RatingMax_ = 0;
int Views_ = 0;
int Favs_ = 0;
QString Tags_;
QList<MRSSThumbnail> Thumbnails_;
QList<MRSSCredit> Credits_;
QList<MRSSComment> Comments_;
QList<MRSSPeerLink> PeerLinks_;
QList<MRSSScene> Scenes_;
MRSSEntry (const IDType_t& itemId);
MRSSEntry (const IDType_t& itemId, const IDType_t& entryId);
private:
MRSSEntry () = default;
friend QDataStream& operator>> (QDataStream&, QList<MRSSEntry>&);
};
bool operator== (const MRSSEntry&, const MRSSEntry&);
struct Item
{
/** The unique ID of the item.
*/
IDType_t ItemID_;
/** The unique ID of the channel this item belongs to.
*/
IDType_t ChannelID_;
/** The title of the item as showed in the item list.
*/
QString Title_;
/** Link which should be opened when user activates the item, for
* example, by double-clicking on the header or by clicking the
* appropriate button.
*/
QString Link_;
/** Main body of the item, showed in the main Aggregator area. Item
* contents go here.
*/
QString Description_;
/** Author of the item.
*/
QString Author_;
/** Categories of this item.
*/
QStringList Categories_;
/** Unique ID of the item, but it may be empty because at least
* RSS 2.0 standard makes this field optional.
*/
QString Guid_;
/** Publication datetime of the item. Should be set to invalid
* datetime if it could not be determined from the item
* representation in the feed.
*/
QDateTime PubDate_;
/** Indicates whether this item is unread or not.
*/
bool Unread_;
/** Number of comments for this item. Should be set to -1 if it could
* not be determined from the item representation in the feed.
*/
int NumComments_;
/** Link to the comments RSS. Should be left blank if it could not
* be determined from the item representation in the feed.
*/
QString CommentsLink_;
/** Link to the page with comments. Should be left blank if it could
* not be determined from the item representation in the feed.
*/
QString CommentsPageLink_;
/** List of enclosures of the item.
*/
QList<Enclosure> Enclosures_;
/** Latitude in the GeoRSS context.
*/
double Latitude_;
/** Longitude in the GeoRSS context.
*/
double Longitude_;
/* List of MediaRSS entries.
*/
QList<MRSSEntry> MRSSEntries_;
/** @brief Constructs the item as belonging to the
* given channel.
*
* Item ID is automatically requested from the Core.
*
* @param[in] channel The parent channel of this item.
*/
Item (const IDType_t& channel);
/** @brief Constructs the item as belonging to the
* given channel and having given ID.
*
* This way item ID isn't generated, itemId is used
* instead.
*
* @param[in] channel The parent channel of this item.
* @param[in] itemId The item ID of this channel.
*/
Item (const IDType_t& channel, const IDType_t& itemId);
/** Returns the simplified (short) representation of this item.
*
* @return The simplified (short) representation.
*/
ItemShort ToShort () const;
/** @brief Fixes the date of the item.
*
* Sets the pubdate to current date if the pubdate is invalid.
*/
void FixDate ();
};
typedef std::shared_ptr<Item> Item_ptr;
typedef std::vector<Item_ptr> items_container_t;
typedef std::vector<ItemShort> items_shorts_t;
bool operator== (const Item&, const Item&);
QDataStream& operator<< (QDataStream&, const Enclosure&);
QDataStream& operator>> (QDataStream&, Enclosure&);
QDataStream& operator<< (QDataStream&, const MRSSEntry&);
QDataStream& operator>> (QDataStream&, MRSSEntry&);
QDataStream& operator<< (QDataStream&, const MRSSThumbnail&);
QDataStream& operator>> (QDataStream&, MRSSThumbnail&);
QDataStream& operator<< (QDataStream&, const MRSSCredit&);
QDataStream& operator>> (QDataStream&, MRSSCredit&);
QDataStream& operator<< (QDataStream&, const MRSSComment&);
QDataStream& operator>> (QDataStream&, MRSSComment&);
QDataStream& operator<< (QDataStream&, const MRSSPeerLink&);
QDataStream& operator>> (QDataStream&, MRSSPeerLink&);
QDataStream& operator<< (QDataStream&, const MRSSScene&);
QDataStream& operator>> (QDataStream&, MRSSScene&);
QDataStream& operator<< (QDataStream&, const MRSSEntry&);
QDataStream& operator>> (QDataStream&, MRSSEntry&);
QDataStream& operator<< (QDataStream&, const Item&);
QDataStream& operator>> (QDataStream&, Item&);
void Print (const Item&);
void Diff (const Item&, const Item&);
bool IsModified (Item_ptr, Item_ptr);
}
}
Q_DECLARE_METATYPE (LeechCraft::Aggregator::Item_ptr)
Q_DECLARE_METATYPE (LeechCraft::Aggregator::ItemShort)
#endif
| [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.