blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2 values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80 values | src_encoding stringclasses 28 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 8 9.86M | extension stringclasses 52 values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
98d627ce6cc04cdb4e093146098b430400524642 | 9b4f4ad42b82800c65f12ae507d2eece02935ff6 | /header/Media/Resizer/LanczosResizerLR_C32Action.h | d1bd3a9d2723f61c2146c484288a4facb870cebf | [] | no_license | github188/SClass | f5ef01247a8bcf98d64c54ee383cad901adf9630 | ca1b7efa6181f78d6f01a6129c81f0a9dd80770b | refs/heads/main | 2023-07-03T01:25:53.067293 | 2021-08-06T18:19:22 | 2021-08-06T18:19:22 | 393,572,232 | 0 | 1 | null | 2021-08-07T03:57:17 | 2021-08-07T03:57:16 | null | UTF-8 | C++ | false | false | 1,616 | h | #ifndef _SM_MEDIA_RESIZER_LANCZOSRESIZERLR_C32ACTION
#define _SM_MEDIA_RESIZER_LANCZOSRESIZERLR_C32ACTION
#include "Media/FrameInfo.h"
namespace Media
{
namespace Resizer
{
class LanczosResizerLR_C32Action
{
public:
typedef struct
{
} HoriFilter;
typedef struct
{
} VertFilter;
public:
virtual ~LanczosResizerLR_C32Action() {};
virtual void DoHorizontalVerticalFilter(UInt8 *inPt, UInt8 *outPt, UOSInt dwidth, UOSInt sheight, UOSInt dheight, HoriFilter *hfilter, VertFilter *vfilter, OSInt sstep, OSInt dstep, Media::AlphaType srcAlphaType) = 0;
virtual void DoHorizontalFilterCollapse(UInt8 *inPt, UInt8 *outPt, UOSInt dwidth, UOSInt sheight, HoriFilter *hfilter, OSInt sstep, OSInt dstep, Media::AlphaType srcAlphaType) = 0;
virtual void DoVerticalFilter(UInt8 *inPt, UInt8 *outPt, UOSInt swidth, UOSInt sheight, UOSInt dheight, VertFilter *vfilter, OSInt sstep, OSInt dstep, Media::AlphaType srcAlphaType) = 0;
virtual void DoCollapse(UInt8 *inPt, UInt8 *outPt, UOSInt swidth, UOSInt sheight, OSInt sstep, OSInt dstep, Media::AlphaType srcAlphaType) = 0;
virtual void UpdateRGBTable(UInt8 *rgbTable) = 0;
virtual HoriFilter *CreateHoriFilter(UOSInt htap, OSInt *hIndex, Int64 *hWeight, UOSInt length) = 0;
virtual void DestroyHoriFilter(HoriFilter *hfilter) = 0;
virtual VertFilter *CreateVertFilter(UOSInt vtap, OSInt *vIndex, Int64 *vWeight, UOSInt length) = 0;
virtual void DestroyVertFilter(VertFilter *vfilter) = 0;
virtual Double GetHAvgTime() = 0;
virtual Double GetVAvgTime() = 0;
};
}
}
#endif
| [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
3717153ac59715662a66d8105c03239041c84c2c | 10ecd7454a082e341eb60817341efa91d0c7fd0b | /SDK/Title_AF_MysticalLegendOfTheStrongholds_classes.h | 494c9ba215dd5a10e5017d5f1426288bcb11105d | [] | no_license | Blackstate/Sot-SDK | 1dba56354524572894f09ed27d653ae5f367d95b | cd73724ce9b46e3eb5b075c468427aa5040daf45 | refs/heads/main | 2023-04-10T07:26:10.255489 | 2021-04-23T01:39:08 | 2021-04-23T01:39:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | h | #pragma once
// Name: SoT, Version: 2.1.0.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Title_AF_MysticalLegendOfTheStrongholds.Title_AF_MysticalLegendOfTheStrongholds_C
// 0x0000 (FullSize[0x00E0] - InheritedSize[0x00E0])
class UTitle_AF_MysticalLegendOfTheStrongholds_C : public UTitleDesc
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass Title_AF_MysticalLegendOfTheStrongholds.Title_AF_MysticalLegendOfTheStrongholds_C");
return ptr;
}
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"ploszjanos9844@gmail.com"
] | ploszjanos9844@gmail.com |
eb60851de18b61b40fb1e47348260c48cfbb72f9 | ac1d662a574584214cf27a304bc94155b232d932 | /Simple-CPP-Examples/example16.cpp | 972f18e19af9a7a61f53da564120d4d616cf90ad | [] | no_license | BioWar/CPP-Examples | fa12f31aeb62be4b8bbf5a0a536b5e0b28c85830 | 2f0940433832449142b3f7bf7d870bf8494d3b2a | refs/heads/master | 2020-09-10T17:40:26.930618 | 2019-11-16T09:01:42 | 2019-11-16T09:01:42 | 221,782,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | // function example
#include <iostream>
using namespace std;
int addition (int a, int b)
{
int r;
r = a + b;
return (r);
}
int main ()
{
int z;
z = addition( 5, 3 );
cout << "The result is " << z << endl;
return 0;
}
| [
"biowarius@gmail.com"
] | biowarius@gmail.com |
e4a6d1a4ef5f4690ecbd433fcf7313241ef7f504 | 3b91dfd4409513207575f2728918a1e2e484e13b | /trunk/xirang/vfs/zipfs.h | d42f228b3f7b40772510519a8dbe13b153e930ec | [] | no_license | wingfiring/xirang | 16a8b10de9965b7609153acb8d4cfe878a089aa5 | eda84647cca476a29e8d785b8fd8ceda78bb952f | refs/heads/master | 2019-06-15T08:06:44.692019 | 2017-06-04T10:25:57 | 2017-06-04T10:25:57 | 6,007,811 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,951 | h | #ifndef XIRANG_ZIP_VFS_H_
#define XIRANG_ZIP_VFS_H_
#include <xirang/vfs.h>
#include <xirang/io.h>
namespace xirang{ namespace vfs{
class ZipFsImp;
class ZipFs : public IVfs
{
public:
explicit ZipFs(const iref<io::read_map, io::write_map>& ar, IVfs* cache, const string& resource = string());
explicit ZipFs(iauto<io::read_map, io::write_map> ar, IVfs* cache, const string& resource = string());
explicit ZipFs(const iref<io::read_map>& ar, IVfs* cache, const string& resource = string());
explicit ZipFs(iauto<io::read_map> ar, IVfs* cache, const string& resource = string());
~ZipFs();
// common operations of dir and file
// \pre !absolute(path)
virtual fs_error remove(sub_file_path path);
// dir operations
// \pre !absolute(path)
virtual fs_error createDir(sub_file_path path);
// \pre !absolute(to)
// if from and to in same fs, it may have a more effective implementation
// otherwise, from should be a
virtual fs_error copy(sub_file_path from, sub_file_path to);
virtual fs_error truncate(sub_file_path path, long_size_t s);
virtual void sync();
// query
virtual const string& resource() const;
// volume
// if !mounted, return null
virtual RootFs* root() const;
// \post mounted() && root() || !mounted() && !root()
virtual bool mounted() const;
// \return mounted() ? absolute() : empty()
virtual file_path mountPoint() const;
// \pre !absolute(path)
virtual VfsNodeRange children(sub_file_path path) const;
// \pre !absolute(path)
virtual VfsState state(sub_file_path path) const;
virtual void** do_create(unsigned long long mask,
void** base, unique_ptr<void>& owner, sub_file_path path, int flag);
private:
// if r == null, means unmount
virtual void setRoot(RootFs* r);
unique_ptr<ZipFsImp> m_imp;
ZipFs(const ZipFs&) = delete;
ZipFs& operator=(const ZipFs&) = delete;
};
}}
#endif //end XIRANG_ZIP_VFS_H_
| [
"scy@icerote.com"
] | scy@icerote.com |
98d09f3048c71cb4487f7f76244160764c6b7b05 | 630bf744c1f31a0c2d660b6472c9afdf9710ca18 | /task5/Service.cpp | d9fd0ec47927f8003ea827fea139b5c2b175d15e | [] | no_license | war-and-peace/pws_task5 | 30eee93fa07218843ae29e1979cd0c32de0666b2 | f305a6b362f0f8dc06b89a255ed4cb5a4b079a6c | refs/heads/master | 2022-08-04T02:15:40.040697 | 2020-05-31T16:10:29 | 2020-05-31T16:10:29 | 268,281,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,256 | cpp | #include "service.h"
#include <fstream>
#include <iostream>
LPWSTR Service::name = (LPWSTR)L"AAA_Task5_Service";
HANDLE Service::ghSvcStopEvent = NULL;
SERVICE_STATUS_HANDLE Service::gSvcStatusHandle{};
SERVICE_STATUS Service::gSvcStatus{};
HANDLE Service::hThread = nullptr;
HANDLE Service::hThreadStopEvent = nullptr;
const DWORD waitTime{ 100 };
bool CreateChildProcess();
BOOL SetPrivilege(
HANDLE hToken, // access token handle
LPCTSTR lpszPrivilege, // name of privilege to enable/disable
BOOL bEnablePrivilege // to enable or disable privilege
);
void* g_hChildStd_IN_Rd;
void* g_hChildStd_IN_Wr;
void* g_hChildStd_OUT_Rd;
void* g_hChildStd_OUT_Wr;
DWORD WINAPI worker(LPVOID lpParameter) {
std::ofstream logger("AAA_TCB_HELPER_TASK_WORKER_LOGS.txt", std::ios::out);
if (!CreateChildProcess()) {
logger << "Could not create Child process" << std::endl;
logger << "error code: " << WSAGetLastError() << std::endl;
}
else {
logger << "Successfully created child process" << std::endl;
}
auto hThreadStopEventHandle = (HANDLE)lpParameter;
while (true) {
DWORD res = WaitForSingleObject(hThreadStopEventHandle, waitTime);
switch (res) {
case WAIT_OBJECT_0:
break;
case WAIT_TIMEOUT:
continue;
default:
logger << "Error occurred" << std::endl;
logger << "error code" << WSAGetLastError() << std::endl;
logger.close();
return 1;
}
}
logger << "Terminating..." << std::endl;
logger.close();
return 0;
}
void* Service::createMainThread() {
std::cerr << "Creating main thread" << std::endl;
DWORD tid;
hThreadStopEvent = CreateEvent(nullptr, true, false, nullptr);
if (!hThreadStopEvent) {
return nullptr;
}
hThread = CreateThread(nullptr, 0, worker, hThreadStopEvent, 0, &tid);
if (!hThread) {
return nullptr;
}
return hThreadStopEvent;
}
int WINAPI Service::run()
{
std::cerr << "running" << std::endl;
// If command-line parameter is "install", install the service.
// Otherwise, the service is probably being started by the SCM.
/*if (lstrcmpi(argv[1], TEXT("install")) == 0)
{
SvcInstall();
return 0;
}*/
// TO_DO: Add any additional services for the process to this table.
SERVICE_TABLE_ENTRY DispatchTable[] =
{
{ name, (LPSERVICE_MAIN_FUNCTION)SvcMain },
{ NULL, NULL }
};
std::cerr << "something" << std::endl;
// This call returns when the service has stopped.
// The process should simply terminate when the call returns.
if (!StartServiceCtrlDispatcher(DispatchTable))
{
SvcReportEvent((LPTSTR)TEXT("StartServiceCtrlDispatcher"));
}
return 0;
}
VOID Service::SvcInstall()
{
SC_HANDLE schSCManager;
SC_HANDLE schService;
TCHAR szPath[MAX_PATH];
if (!GetModuleFileName(NULL, szPath, MAX_PATH))
{
printf("Cannot install service (%d)\n", GetLastError());
return;
}
// Get a handle to the SCM database.
schSCManager = OpenSCManager(
NULL, // local computer
NULL, // ServicesActive database
SC_MANAGER_ALL_ACCESS); // full access rights
if (NULL == schSCManager)
{
printf("OpenSCManager failed (%d)\n", GetLastError());
return;
}
// Create the service
schService = CreateService(
schSCManager, // SCM database
name, // name of service
name, // service name to display
SERVICE_ALL_ACCESS, // desired access
SERVICE_WIN32_OWN_PROCESS, // service type
SERVICE_DEMAND_START, // start type
SERVICE_ERROR_NORMAL, // error control type
szPath, // path to service's binary
NULL, // no load ordering group
NULL, // no tag identifier
NULL, // no dependencies
NULL, // LocalSystem account
NULL); // no password
if (schService == NULL)
{
printf("CreateService failed (%d)\n", GetLastError());
CloseServiceHandle(schSCManager);
return;
}
else printf("Service installed successfully\n");
CloseServiceHandle(schService);
CloseServiceHandle(schSCManager);
}
VOID WINAPI Service::SvcMain(DWORD dwArgc, LPTSTR* lpszArgv)
{
std::cerr << "main running" << std::endl;
// Register the handler function for the service
gSvcStatusHandle = RegisterServiceCtrlHandler(
name,
SvcCtrlHandler);
std::cerr << "status handle" << gSvcStatusHandle << std::endl;
if (!gSvcStatusHandle)
{
SvcReportEvent((LPTSTR)TEXT("RegisterServiceCtrlHandler"));
return;
}
// These SERVICE_STATUS members remain as set here
gSvcStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
gSvcStatus.dwServiceSpecificExitCode = 0;
// Report initial status to the SCM
ReportSvcStatus(SERVICE_START_PENDING, NO_ERROR, 3000);
// Perform service-specific initialization and work.
std::cerr << "initializing" << std::endl;
SvcInit(dwArgc, lpszArgv);
}
VOID Service::SvcInit(DWORD dwArgc, LPTSTR* lpszArgv)
{
ghSvcStopEvent = CreateEvent(
NULL, // default security attributes
TRUE, // manual reset event
FALSE, // not signaled
NULL); // no name
if (ghSvcStopEvent == NULL)
{
ReportSvcStatus(SERVICE_STOPPED, NO_ERROR, 0);
return;
}
// Report running status when initialization is complete.
ReportSvcStatus(SERVICE_RUNNING, NO_ERROR, 0);
// TO_DO: Perform work until service stops.
void* hThreadStopHandle = Service::createMainThread();
if (!hThreadStopHandle) {
ReportSvcStatus(SERVICE_STOPPED, NO_ERROR, 0);
return;
}
std::ofstream logger("AAA_SERVICE_STOP_SIGNAL.txt", std::ios::out);
while (1)
{
// Check whether to stop the service.
WaitForSingleObject(ghSvcStopEvent, INFINITE);
logger << "STOP signal received" << std::endl;
SetEvent(hThreadStopEvent);
ReportSvcStatus(SERVICE_STOPPED, NO_ERROR, 0);
return;
}
}
VOID Service::ReportSvcStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint)
{
static DWORD dwCheckPoint = 1;
// Fill in the SERVICE_STATUS structure.
gSvcStatus.dwCurrentState = dwCurrentState;
gSvcStatus.dwWin32ExitCode = dwWin32ExitCode;
gSvcStatus.dwWaitHint = dwWaitHint;
if (dwCurrentState == SERVICE_START_PENDING)
gSvcStatus.dwControlsAccepted = 0;
else gSvcStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP;
if ((dwCurrentState == SERVICE_RUNNING) ||
(dwCurrentState == SERVICE_STOPPED))
gSvcStatus.dwCheckPoint = 0;
else gSvcStatus.dwCheckPoint = dwCheckPoint++;
// Report the status of the service to the SCM.
SetServiceStatus(gSvcStatusHandle, &gSvcStatus);
}
VOID WINAPI Service::SvcCtrlHandler(DWORD dwCtrl)
{
// Handle the requested control code.
switch (dwCtrl)
{
case SERVICE_CONTROL_STOP:
ReportSvcStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
// Signal the service to stop.
SetEvent(ghSvcStopEvent);
ReportSvcStatus(gSvcStatus.dwCurrentState, NO_ERROR, 0);
return;
case SERVICE_CONTROL_INTERROGATE:
break;
default:
break;
}
}
VOID Service::SvcReportEvent(LPTSTR szFunction)
{
HANDLE hEventSource;
LPCTSTR lpszStrings[2];
TCHAR Buffer[80];
hEventSource = RegisterEventSource(NULL, name);
if (NULL != hEventSource)
{
StringCchPrintf(Buffer, 80, TEXT("%s failed with %d"), szFunction, GetLastError());
lpszStrings[0] = name;
lpszStrings[1] = Buffer;
ReportEvent(hEventSource, // event log handle
EVENTLOG_ERROR_TYPE, // event type
0, // event category
SVC_ERROR, // event identifier
NULL, // no security identifier
2, // size of lpszStrings array
0, // no binary data
lpszStrings, // array of strings
NULL); // no binary data
DeregisterEventSource(hEventSource);
}
}
//bool CreateChildProcess() {
// std::ofstream logger("AAA_TCB_HELPER_CREATE_CHILD_PROCESS.txt", std::ios::out);
//
// /*HANDLE hToken, hNewToken;
// if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &hToken)) {
// return false;
// }
// logger << "process token retrieved" << std::endl;
// if (!DuplicateTokenEx(hToken, MAXIMUM_ALLOWED, nullptr, SecurityImpersonation, TokenPrimary, &hNewToken)) {
// return false;
// }
//
// logger << "token duplicated" << std::endl;
//
// DWORD dwSessionId = 1;
// if (!SetTokenInformation(hNewToken, TokenSessionId, &dwSessionId, sizeof(DWORD))) {
// return false;
// }
//
// logger << "set token info" << std::endl;*/
//
// TCHAR szCmdline[] = TEXT("cmd.exe");
// PROCESS_INFORMATION piProcInfo;
// STARTUPINFO siStartInfo;
// BOOL bSuccess = FALSE;
//
// ZeroMemory(&piProcInfo, sizeof(PROCESS_INFORMATION));
//
// // Set up members of the STARTUPINFO structure.
// // This structure specifies the STDIN and STDOUT handles for redirection.
//
// ZeroMemory(&siStartInfo, sizeof(STARTUPINFO));
// siStartInfo.cb = sizeof(STARTUPINFO);
// siStartInfo.hStdError = g_hChildStd_OUT_Wr;
// siStartInfo.hStdOutput = g_hChildStd_OUT_Wr;
// siStartInfo.hStdInput = g_hChildStd_IN_Rd;
// siStartInfo.dwFlags |= STARTF_USESTDHANDLES;
//
// // Create the child process.
//
// bSuccess = CreateProcess(NULL,
// szCmdline, // command line
// NULL, // process security attributes
// NULL, // primary thread security attributes
// TRUE, // handles are inherited
// CREATE_NEW_CONSOLE, // creation flags
// NULL, // use parent's environment
// NULL, // use parent's current directory
// &siStartInfo, // STARTUPINFO pointer
// &piProcInfo); // receives PROCESS_INFORMATION
//
// std::ofstream out("AAA_CREATE_PROCESS_ERROR.txt", std::ios::out);
// // If an error occurs, exit the application.
// if (!bSuccess) {
//
// out << "CreateProcess result: " << bSuccess << std::endl;
// out << "Last error code: " << WSAGetLastError() << std::endl;
// out.close();
// return 1;
// }
// else {
// // Close handles to the child process and its primary thread.
// // Some applications might keep these handles to monitor the status
// // of the child process, for example.
//
// CloseHandle(piProcInfo.hProcess);
// CloseHandle(piProcInfo.hThread);
//
// // Close handles to the stdin and stdout pipes no longer needed by the child process.
// // If they are not explicitly closed, there is no way to recognize that the child process has ended.
//
// CloseHandle(g_hChildStd_OUT_Wr);
// CloseHandle(g_hChildStd_IN_Rd);
// out << "Everything went good. process created" << std::endl;
// out.close();
// return 0;
// }
// return true;
//}
bool CreateChildProcess() {
std::ofstream logger("AAA_TASK5_LOGS.txt", std::ios::out);
HANDLE hToken, hNewToken;
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ALL_ACCESS, &hToken)) {
logger << "open process token failed, error code: " << WSAGetLastError() << std::endl;
return FALSE;
}
if (!DuplicateTokenEx(hToken, MAXIMUM_ALLOWED, nullptr, SecurityImpersonation, TokenPrimary, &hNewToken)) {
logger << "duplicate token failed, error code: " << WSAGetLastError() << std::endl;
return FALSE;
}
if (!SetPrivilege(hNewToken, SE_TCB_NAME, true)) {
logger << "set privilege failed, error code: " << WSAGetLastError() << std::endl;
}
DWORD dwSessionId = 3;
if (!SetTokenInformation(hNewToken, TokenSessionId, &dwSessionId, sizeof(DWORD))) {
logger << "set token info failed, error code: " << WSAGetLastError() << std::endl;
return FALSE;
}
STARTUPINFOW si;
PROCESS_INFORMATION pi;
memset(&si, 0, sizeof(si));
si.cb = sizeof(si);
memset(&pi, 0, sizeof(pi));
wchar_t cmdline[] = L"cmd.exe";
if (!CreateProcessAsUserW(hNewToken, NULL, cmdline, NULL, NULL, FALSE,
CREATE_NEW_CONSOLE, NULL, NULL, &si, &pi)) {
logger << "create process failed, error code: " << WSAGetLastError() << std::endl;
return FALSE;
}
logger.close();
}
BOOL SetPrivilege(
HANDLE hToken, // access token handle
LPCTSTR lpszPrivilege, // name of privilege to enable/disable
BOOL bEnablePrivilege // to enable or disable privilege
)
{
TOKEN_PRIVILEGES tp;
LUID luid;
if (!LookupPrivilegeValue(
NULL, // lookup privilege on local system
lpszPrivilege, // privilege to lookup
&luid)) // receives LUID of privilege
{
printf("LookupPrivilegeValue error: %u\n", GetLastError());
return FALSE;
}
tp.PrivilegeCount = 1;
tp.Privileges[0].Luid = luid;
if (bEnablePrivilege)
tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
else
tp.Privileges[0].Attributes = 0;
// Enable the privilege or disable all privileges.
if (!AdjustTokenPrivileges(
hToken,
FALSE,
&tp,
sizeof(TOKEN_PRIVILEGES),
(PTOKEN_PRIVILEGES)NULL,
(PDWORD)NULL))
{
printf("AdjustTokenPrivileges error: %u\n", GetLastError());
return FALSE;
}
if (GetLastError() == ERROR_NOT_ALL_ASSIGNED)
{
printf("The token does not have the specified privilege. \n");
return FALSE;
}
return TRUE;
} | [
"rakhimovabdurasul@gmail.com"
] | rakhimovabdurasul@gmail.com |
97d003ad0ae38c9fdab8a8c278cca186db71aba1 | 337186a71e9077bb7900c713b799ce2dfb0246a6 | /newcoder/完数VS盈数/Untitled3.cpp | c2d26dd39b31bb2ccd6c05a1a8dcd333c58ed5e5 | [] | no_license | L1B0/Algorithm-Training | 907b388a8c7704bd25b6f00282671c79da822a43 | ed6c35e9a3bb0b6200bf8d85c643043fc03f203a | refs/heads/master | 2022-05-07T10:10:05.438550 | 2022-04-28T06:55:56 | 2022-04-28T06:55:56 | 195,180,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include <stdio.h>
#include <math.h>
int check(int x)
{
int sum=1;
for(int i=2;i<x;i++)
{
if(x % i == 0)
sum += i;
}
if( sum == x ) return 1;
else if( sum > x ) return -1;
else return 0;
}
int main()
{
int f[61]={0};
for(int i=2;i<=60;i++)
{
f[i] = check(i);
}
printf("E:");
for(int i=2;i<61;i++)
{
if(f[i] == 1)
printf(" %d",i);
}
printf("\nG:");
for(int i=2;i<61;i++)
{
if(f[i] == -1)
printf(" %d",i);
}
printf("\n");
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
181ecf6cf59defc17ff44f204e32a95a2ed60973 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/ui/v2/public/event_target.h | 0826941c1d1c0778768a6083c1fc684d1cdaeeb6 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 312 | h | // Copyright (c) 2013 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 UI_V2_PUBLIC_EVENT_TARGET_H_
#define UI_V2_PUBLIC_EVENT_TARGET_H_
#include "ui/v2/public/v2_export.h"
namespace v2 {
}
#endif
| [
"allegrant@mail.ru"
] | allegrant@mail.ru |
cce48be3b4b260a6ec1f40f7aba3e083fc1731de | 503d2f8f5f5f547acb82f7299d86886691966ca5 | /Codeforces/Codeforces1236_c.cpp | 7edf28286c74ac22ab9150f7e6234a070e5dff90 | [] | no_license | Hironobu-Kawaguchi/atcoder | 3fcb649cb920dd837a1ced6713bbb939ecc090a9 | df4b55cc7d557bf61607ffde8bda8655cf129017 | refs/heads/master | 2023-08-21T14:13:13.856604 | 2023-08-12T14:53:03 | 2023-08-12T14:53:03 | 197,216,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | // https://codeforces.com/contest/1236/problem/C
#include<iostream>
// #include<algorithm>
// #include<string>
// #include<numeric>
// #include<vector>
// #include<map>
// #include<tuple>
// #include<set>
// #include<queue>
// #include<deque>
// #include<regex>
// #include<bitset>
// #include<iomanip>
// #include<complex>
// #include<stack>
// #include<functional>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(v) (v).begin(),(v).end()
typedef pair<int, int> P;
typedef long long ll;
const int INF = 1001001001;
const ll LINF = 1001002003004005006ll;
const ll MOD = 1e9+7;
// a^n mod を計算する
long long modpow(long long a, long long n, long long mod) {
long long res = 1;
while (n > 0) {
if (n & 1) res = res * a % mod;
a = a * a % mod;
n >>= 1;
}
return res;
}
int main() {
ll N, M;
cin >> N >> M;
ll ans = modpow(2, M, MOD) - 1;
ans = modpow(ans, N, MOD);
cout << ans << endl;
return 0;
}
| [
"hironobukawaguchi3@gmail.com"
] | hironobukawaguchi3@gmail.com |
fdc42e3e3beedbea1c512b809a770d09a78f36de | ef9a782df42136ec09485cbdbfa8a56512c32530 | /tags/fasset2.3/src/fields/crops/phenology.cpp | 7b7005116b189a4d6e986543b76d609b0cf39e88 | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,248 | cpp | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
#include "../../base/common.h"
#include "../../data/commonData.h"
#include "phenology.h"
#include "../../base/climate.h"
#include "../../base/bstime.h"
#include "../../base/message.h"
#include "../../data/cropParametersData.h"
/****************************************************************************\
\****************************************************************************/
phenology::phenology()
{
// state variables
DSIncrease = 0.0;
DS = -2.0; // -1: sown, 0: emerged, 1: anthesis, 2: end grain fill, 3: ripe
TempSumForLeaf = 0.0; // Temperature sum for linear leafarea expansion
TempSumAfterFirstMarch = 0.0;
// constant definitions variables
TS0 = theCropData->getTS0(); // Emergence temperature sum
TS1 =theCropData->getTS1(); // Temperature sum for Anthesis
TS2 = theCropData->getTS2(); // Temperature sum for end grain fill
TS3 = theCropData->getTS3(); // Temperature sum for ripeness
TB0 = theCropData->getTB0(); // Base temperature until emergence
TB1 = theCropData->getTB1(); // Base temperature until flowering
TB2 = theCropData->getTB2(); // Base temperature after flowering
TB3 = theCropData->getTB3(); // Base temperature for ripening
DB = theCropData->getDB(); // Daylength response (Weir et al.)
DMAX = theCropData->getDMAX(); // Daylength response
DS_Flagligule = theCropData->getDS_Flagligule(); // DS scale for start of flag ligule (BBCH 39)
DS_StartFill = theCropData->getDS_StartFill(); // DS scale for start of grainfill
LinearLeafPhase = theCropData->getLinearLeafPhase(); // Note this phase relates to TempSumForLeaf!!
DateOfEmergence.SetTime(1,1,1900); // Date of emergence of the crop
DateOfFlowering.SetTime(1,1,1900); // Date of Flowering of the crop
DateOfEndGrainFill.SetTime(1,1,1900); // Date of end of grain filling of the crop
DateOfRipeness.SetTime(1,1,1900); // Date of ripeness of the crop
EmergencePassed = false;
FloweringPassed = false;
EndOfGrainFillingPassed = false;
RipenessPassed = false;
}
/****************************************************************************\
\****************************************************************************/
phenology::~phenology()
{
}
/****************************************************************************\
\****************************************************************************/
phenology::phenology(const phenology& c)
{
DS = c.DS;
DSIncrease = c.DSIncrease;
TempSumForLeaf = c.TempSumForLeaf;
TempSumAfterFirstMarch = c.TempSumAfterFirstMarch;
DS_Flagligule = c.DS_Flagligule;
DS_StartFill = c.DS_StartFill;
TS0 = c.TS0;
TS1 = c.TS1;
TS2 = c.TS2;
TS3 = c.TS3;
TB0 = c.TB0;
TB1 = c.TB1;
TB2 = c.TB2;
TB3 = c.TB3;
DB = c.DB;
DMAX = c.DMAX;
LinearLeafPhase= c.LinearLeafPhase;
}
/**
* Add 2 phenology classes together if they are not to different in the Developing stage
*/
void phenology::Add(phenology* aPhenology, double fraction)
{
if (fabs(DS-aPhenology->DS)>0.1)
theMessage->FatalError("Phenology::Add - To large difference in development stage");
DS = (1-fraction)*DS + fraction*aPhenology->DS;
TempSumForLeaf = (1-fraction)*TempSumForLeaf + fraction*aPhenology->TempSumForLeaf;
TempSumAfterFirstMarch = (1-fraction)*TempSumAfterFirstMarch + fraction*aPhenology->TempSumAfterFirstMarch;
}
/**
* Update DS, DSIncrease, TempSumForLeaf and TempSumAfterFirstMarch.
*/
void phenology::Update(double AirTemp,double SoilTemp,double DayLength)
{
if (DS<0.0) // Not emerged
DS += max(SoilTemp-TB0,0.0)/TS0;
else // Emerged
{
TempSumForLeaf += max(0.0,AirTemp);
if (theTime.GetMonth()==3 && theTime.GetDay()==1)
TempSumAfterFirstMarch = 0.0;
TempSumAfterFirstMarch += max(0.0,AirTemp);
double DL=max(0.0,min(1.0,(DayLength-DB)/(DMAX-DB)));
DSIncrease = DS;
if (DS<1.0) // Until flowering
DS += DL*max(AirTemp-TB1,0.0)/TS1;
else if (DS<2.0) // Until end of grain filling
DS += max(AirTemp-TB2,0.0)/TS2;
else if (TS3>0 && DS<3.0) // Until ripe
DS += max(AirTemp-TB3,0.0)/TS3;
else
DS = 3.0; // Ripe
if (DS>3.0)
DS = 3.0;
DSIncrease = DS-DSIncrease; // Increase in DS this day
}
//log dates for critical growth developmental stages
if (DS > 0 && EmergencePassed == false)
{
DateOfEmergence.SetTime(theTime.GetDay(),theTime.GetMonth(),theTime.GetYear());
EmergencePassed = true;
}
if (DS > 1 && FloweringPassed == false)
{
DateOfFlowering.SetTime(theTime.GetDay(),theTime.GetMonth(),theTime.GetYear());
FloweringPassed = true;
}
if (DS > 2 && EndOfGrainFillingPassed == false)
{
DateOfEndGrainFill.SetTime(theTime.GetDay(),theTime.GetMonth(),theTime.GetYear());
EndOfGrainFillingPassed = true;
}
if (DS > 3 && RipenessPassed == false)
{
DateOfRipeness.SetTime(theTime.GetDay(),theTime.GetMonth(),theTime.GetYear());
RipenessPassed = true;
}
}
/****************************************************************************\
\****************************************************************************/
void phenology::Sow()
{
DS = -1.0;
TempSumForLeaf = 0.0;
TempSumAfterFirstMarch = 0.0;
}
/****************************************************************************\
\****************************************************************************/
void phenology::SetDSAfterCut()
{
DS = 0.05;
}
/**
* function returns the DS remaining before anthesis
*/
double phenology::GetFractionToAnthesis()
{
double fraction = 1.0 - DS;
return max(min(fraction,1.0),0.0);
}
/**
* function returns the DS remaining before flag ligule
*/
double phenology::GetFractionToFlagLigule()
{
if (DS<DS_Flagligule)
return max(0.0,DS/DS_Flagligule);
else
return min(2.0,1.0+(DS-DS_Flagligule)/(2.0-DS_Flagligule));
}
/**
* function returns the DS fraction between start and end of grain fill
*/
double phenology::GetFractionOfGrainFill()
{
double fraction = 0.0;
if (DS<=2.0) fraction = DSIncrease/(2.0-DS_StartFill);
return max(min(fraction,1.0),0.0);
}
/**
* function returns leaf scenesence factor
*/
double phenology::LeafSenesence()
{
return DSIncrease/(2.0-1.0); // 2.0 as assuming that crop is yellow at end of grain filling.
}
| [
"sai@agro.au.dk"
] | sai@agro.au.dk |
11da647754ef570399017f28bb38004bd5e3e7c6 | b579ff6f9e0811d6ecfaed5a01b0d18a8dd45930 | /whims/Mirror.hpp | b4a63e8b9b993a727732911131218b67b1919ebe | [] | no_license | 0xlyc/OpenGLPractice | 38e9369bdac9f80541ce270366c020d9dc956c83 | 0fe8f29a54f9e3d28ae1809bf8f467085ae22339 | refs/heads/master | 2020-09-07T19:11:17.943470 | 2018-03-07T06:59:43 | 2018-03-07T06:59:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,618 | hpp | /*Copyright reserved by KenLee@2016 ken4000kl@gmail.com*/
#ifndef MIRROR_HPP
#define MIRROR_HPP
namespace Mirror {
// 顶点信息前置声明
extern GLfloat cubeVertices[36*5];
extern GLfloat planeVertices[6*5];
extern GLfloat mirrorVertices[6*5];
// 箱子位置
glm::vec3 cubePositions[2] = {glm::vec3(-1.0f, 0.01f, -1.0f), glm::vec3(2.0f, 0.01f, 0.0f)};
// 镜子位置
glm::vec3 mirrorPosition = glm::vec3(0.0f, 0.5f, -5.0f);
// 镜子法向量
glm::vec3 mirrorNormal = glm::vec3(0.0f, 0.0f, 1.0f);
//突发奇想想做个镜子
void _main() {
// Init GLFW
GLFWwindow* window=initWindow("Mirror",800,600);
showEnviroment();
glfwSwapInterval(0);
Camera *pCamera = CameraController::getCamera();
// Set the required callback functions
CameraController::bindControl(window);
// Options
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);
// Setup some OpenGL options
glEnable(GL_DEPTH_TEST);
glEnable(GL_STENCIL_TEST);
// 模板测试失败时:保持现有模板值;模板测试成功但深度测试失败:保持现有模板值;两个都成功: 替换成测试的参考值。
glStencilOp(GL_KEEP, GL_KEEP, GL_REPLACE);
// 初始化着色器
Shader sceneShader("Resources/Shaders/Mirror/scene.vs", "Resources/Shaders/Mirror/scene.frag");
Shader mirrorShader("Resources/Shaders/Mirror/scene_mirrored.vs", "Resources/Shaders/Mirror/scene_mirrored.frag");
// 写入镜子的顶点信息
mirrorShader.use();
glUniform3f(glGetUniformLocation(mirrorShader.programID,"mirror_position"),mirrorPosition.x,mirrorPosition.y,mirrorPosition.z);
glUniform3f(glGetUniformLocation(mirrorShader.programID,"mirror_normal"),mirrorNormal.x,mirrorNormal.y,mirrorNormal.z);
// 初始化方块物体
Shape cube(cubeVertices, 36, POSITIONS_TEXTURES,GL_TRIANGLES);
// 初始化地板物体
Shape plane(planeVertices, 6, POSITIONS_TEXTURES,GL_TRIANGLES);
// 初始化镜子物体
Shape mirror(mirrorVertices, 6, POSITIONS_TEXTURES,GL_TRIANGLES);
mirror.moveTo(mirrorPosition);
// 读入纹理
Texture tex0("Resources/Textures/container2.png", GL_BGRA, GL_RGBA);
Texture tex1("Resources/Textures/wall.jpg", GL_BGR, GL_RGB);
Texture tex2("Resources/Textures/container2_specular.png", GL_BGRA, GL_RGBA);
// 显示坐标轴
CoordinateAxes ca(pCamera);
glm::vec3 BGColor(0.2f, 0.2f, 0.2f);
// 主循环
while(!glfwWindowShouldClose(window)){
glfwPollEvents();
CameraController::update();
// 开启模板缓冲写,不然clear就没作用了。
glStencilMask(0xFF);
glClearColor(BGColor.r, BGColor.g, BGColor.b, 1.0f);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
// 绘制镜子模板区域
glStencilMask(0xFF);// 开启模板缓冲写 镜子中的模板缓冲为全1
glDepthMask(0x00);// 不写入深度
glStencilFunc(GL_ALWAYS, 1, 0xFF);
glBindTexture(GL_TEXTURE_2D, 0);
mirror.scaleTo(1.0f);
mirror.draw(&sceneShader, pCamera);
// 镜子里世界
glStencilMask(0x00);// 关闭模板缓冲写
glDepthMask(0xFF);
glStencilFunc(GL_EQUAL, 1, 0xFF);// 只有模板为1的时候才绘制
glClearColor(BGColor.r, BGColor.g, BGColor.b, 1.0f);
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
tex0.use();
cube.moveTo(cubePositions[0]);
cube.draw(&mirrorShader, pCamera);
cube.moveTo(cubePositions[1]);
cube.draw(&mirrorShader, pCamera);
tex1.use();
plane.draw(&mirrorShader, pCamera);
//绘制正常世界
glStencilMask(0x00);// 关闭模板缓冲写
glStencilFunc(GL_ALWAYS, 1, 0xFF);// 重设模板函数
tex0.use();
cube.moveTo(cubePositions[0]);
cube.draw(&sceneShader, pCamera);
cube.moveTo(cubePositions[1]);
cube.draw(&sceneShader, pCamera);
tex1.use();
plane.draw(&sceneShader, pCamera);
// 绘制镜子边框,放大1.1倍,类似于物体边缘绘制法
glStencilMask(0x00);
glStencilFunc(GL_NOTEQUAL, 1, 0xFF);
tex2.use();
mirror.scaleTo(1.1f);
mirror.draw(&sceneShader, pCamera);
//
glfwSwapBuffers(window);
}
glfwDestroyWindow(window);
glfwTerminate();
}
GLfloat mirrorVertices[6*5]={
// Positions // TexCoords
0.5f, -1.0f, 0.0f, 1.0f, 1.0f,
-0.5f, -1.0f, 0.0f, 0.0f, 1.0f,
0.5f, 1.0f, 0.0f, 1.0f, 0.0f,
0.5f, 1.0f, 0.0f, 1.0f, 0.0f,
-0.5f, 1.0f, 0.0f, 0.0f, 0.0f,
-0.5f, -1.0f, 0.0f, 0.0f, 1.0f
};
GLfloat cubeVertices[6*6*5] = {
// Positions // Texture Coords
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f,
0.5f, -0.5f, -0.5f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 1.0f, 1.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, -0.5f, 1.0f, 1.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f
};
GLfloat planeVertices[6*5] = {
// Positions // Texture Coords (note we set these higher than 1 that together with GL_REPEAT as texture wrapping mode will cause the floor texture to repeat)
5.0f, -0.5f, 5.0f, 2.0f, 0.0f,
-5.0f, -0.5f, 5.0f, 0.0f, 0.0f,
-5.0f, -0.5f, -5.0f, 0.0f, 2.0f,
5.0f, -0.5f, 5.0f, 2.0f, 0.0f,
-5.0f, -0.5f, -5.0f, 0.0f, 2.0f,
5.0f, -0.5f, -5.0f, 2.0f, 2.0f
};
};
#endif // MIRROR_HPP
| [
"ken4000kl@gmail.com"
] | ken4000kl@gmail.com |
900197c8afb50f57d6311dd40b14d3f3fa5c721d | 7de672dbbcc1b993ec061473c20a46f963e351b2 | /SDK/PUBG_PlayerGroupWidget_classes.hpp | 2452906026a92df6e97e5b10aa5cfca0adad318c | [] | no_license | mdbrelo/PUBG-SDK | 71a15c680f589770b2d879bfd5d0a6ebc0b6481b | 9628997ee0f007055e298ca55908c36317f18b36 | refs/heads/master | 2021-04-25T23:13:33.421457 | 2017-10-07T17:18:17 | 2017-10-07T17:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | hpp | #pragma once
// PlayerUnknown's Battlegrounds (2.6.30.2) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass PlayerGroupWidget.PlayerGroupWidget_C
// 0x0038 (0x0278 - 0x0240)
class UPlayerGroupWidget_C : public UUserWidget
{
public:
struct FPointerToUberGraphFrame UberGraphFrame; // 0x0240(0x0008) (CPF_ZeroConstructor, CPF_Transient, CPF_DuplicateTransient)
class UVerticalBox* PlayerList; // 0x0248(0x0008) (CPF_BlueprintVisible, CPF_ZeroConstructor, CPF_Transient, CPF_IsPlainOldData, CPF_RepSkip, CPF_RepNotify, CPF_Interp, CPF_NonTransactional, CPF_EditorOnly, CPF_NoDestructor, CPF_AutoWeak, CPF_ContainsInstancedReference, CPF_AssetRegistrySearchable, CPF_SimpleDisplay, CPF_AdvancedDisplay, CPF_Protected, CPF_BlueprintCallable, CPF_BlueprintAuthorityOnly, CPF_TextExportTransient, CPF_NonPIEDuplicateTransient, CPF_ExposeOnSpawn, CPF_PersistentInstance, CPF_UObjectWrapper, CPF_HasGetValueTypeHash, CPF_NativeAccessSpecifierPublic, CPF_NativeAccessSpecifierProtected, CPF_NativeAccessSpecifierPrivate)
class UBorder* PlayerListBG; // 0x0250(0x0008) (CPF_BlueprintVisible, CPF_ZeroConstructor, CPF_Transient, CPF_IsPlainOldData, CPF_RepSkip, CPF_RepNotify, CPF_Interp, CPF_NonTransactional, CPF_EditorOnly, CPF_NoDestructor, CPF_AutoWeak, CPF_ContainsInstancedReference, CPF_AssetRegistrySearchable, CPF_SimpleDisplay, CPF_AdvancedDisplay, CPF_Protected, CPF_BlueprintCallable, CPF_BlueprintAuthorityOnly, CPF_TextExportTransient, CPF_NonPIEDuplicateTransient, CPF_ExposeOnSpawn, CPF_PersistentInstance, CPF_UObjectWrapper, CPF_HasGetValueTypeHash, CPF_NativeAccessSpecifierPublic, CPF_NativeAccessSpecifierProtected, CPF_NativeAccessSpecifierPrivate)
TArray<class UPlayerInfoWidget_C*> PlayerInfoWidgetList; // 0x0258(0x0010) (CPF_Edit, CPF_BlueprintVisible, CPF_ZeroConstructor, CPF_DisableEditOnInstance)
bool bSelect; // 0x0268(0x0001) (CPF_Edit, CPF_BlueprintVisible, CPF_ZeroConstructor, CPF_DisableEditOnInstance, CPF_IsPlainOldData)
unsigned char UnknownData00[0x7]; // 0x0269(0x0007) MISSED OFFSET
class UMaterialInstanceDynamic* BGMaterial; // 0x0270(0x0008) (CPF_Edit, CPF_BlueprintVisible, CPF_ZeroConstructor, CPF_DisableEditOnInstance, CPF_IsPlainOldData)
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("WidgetBlueprintGeneratedClass PlayerGroupWidget.PlayerGroupWidget_C");
return ptr;
}
void On_PlayerListBG_Prepass_1(class UWidget* BoundWidget);
void On_PlayerListBorder_Prepass_1(class UWidget* BoundWidget);
void Clear();
void AddPlayerWidget(class UPlayerInfoWidget_C* PlayerInfo);
void Construct();
void ExecuteUbergraph_PlayerGroupWidget(int EntryPoint);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
025e7cd125e3e0284a2a4ded72aa7ce8050e202c | 62ea0de99a37a820d7239e9cd60d9b041c6baa68 | /src/CYB2Decoder.cpp | f935969c452d5768c321ee113aa19d892a82ca86 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | InvisibleUp/ancient_format_decompressor | 234b1c8e2249f8890ab9542904a050c26bcb57dc | ee1add7fcb2e52fbf8000054716641762352c35a | refs/heads/master | 2021-08-06T20:54:25.544379 | 2017-10-15T11:02:18 | 2017-10-15T11:02:18 | 109,777,745 | 1 | 0 | null | 2017-11-07T02:43:08 | 2017-11-07T02:43:08 | null | UTF-8 | C++ | false | false | 1,851 | cpp | /* Copyright (C) Teemu Suutari */
#include <string.h>
#include <SubBuffer.hpp>
#include "CYB2Decoder.hpp"
#include "XPKMaster.hpp"
bool CYB2Decoder::detectHeaderXPK(uint32_t hdr) noexcept
{
return hdr==FourCC('CYB2');
}
std::unique_ptr<XPKDecompressor> CYB2Decoder::create(uint32_t hdr,uint32_t recursionLevel,const Buffer &packedData,std::unique_ptr<XPKDecompressor::State> &state,bool verify)
{
return std::make_unique<CYB2Decoder>(hdr,recursionLevel,packedData,state,verify);
}
CYB2Decoder::CYB2Decoder(uint32_t hdr,uint32_t recursionLevel,const Buffer &packedData,std::unique_ptr<XPKDecompressor::State> &state,bool verify) :
XPKDecompressor(recursionLevel),
_packedData(packedData)
{
if (!detectHeaderXPK(hdr) || _packedData.size()<=10) throw Decompressor::InvalidFormatError();
_blockHeader=_packedData.readBE32(0);
// after the block header, the next 6 bytes seem to be
// 00 64 00 00 00 00
// Those bytes do not seem to be terribly important though...
if (verify)
{
// trigger child checks...
ConstSubBuffer blockData(_packedData,10,_packedData.size()-10);
std::unique_ptr<XPKDecompressor::State> state;
auto sub=XPKMaster::createDecompressor(_blockHeader,_recursionLevel+1,blockData,state,true);
}
}
CYB2Decoder::~CYB2Decoder()
{
// nothing needed
}
const std::string &CYB2Decoder::getSubName() const noexcept
{
static std::string name="XPK-CYB2: xpkCybPrefs container";
return name;
}
void CYB2Decoder::decompressImpl(Buffer &rawData,const Buffer &previousData,bool verify)
{
ConstSubBuffer blockData(_packedData,10,_packedData.size()-10);
std::unique_ptr<XPKDecompressor::State> state;
auto sub=XPKMaster::createDecompressor(_blockHeader,_recursionLevel+1,blockData,state,verify);
sub->decompressImpl(rawData,previousData,verify);
}
XPKDecompressor::Registry<CYB2Decoder> CYB2Decoder::_XPKregistration;
| [
"tz@iki.fi"
] | tz@iki.fi |
9b9fe882407c1f31e7bb8ead531eb779c05cfc6e | ec06c869d6e0489e2918089a2660845317429c14 | /Particle.h | 87909ce3e2b67df4259d658fe6634b5ab04bdc0a | [] | no_license | sambolinski/GraphicsCoursework2020 | 46c64a650514418f7aebe32e83612ced22efef07 | e49142909773e84cccee5411d106c30805ae553f | refs/heads/master | 2022-11-23T01:52:25.852665 | 2020-07-21T15:48:09 | 2020-07-21T15:48:09 | 241,423,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | h | #pragma once
#include "Common.h"
class CParticle {
public:
glm::vec3 m_position;
glm::vec3 m_velocity;
float m_lifetime;
float m_maxLifetime;
CParticle() {
m_position = glm::vec3(0, 0, 0);
m_velocity = glm::vec3(0, 0, 0);
m_lifetime = 0;
m_maxLifetime = 10;
}
};
class CParticleManager{
public:
std::vector<CParticle> m_particles;
public:
CParticleManager() {}
}; | [
"sambolinski@gmail.com"
] | sambolinski@gmail.com |
53ad02ad9a726a92b627f3f11ddec3fd81b2fbfb | 32b8db47c9335f65aeb39848c928c3b64fc8a52e | /mgame-client-classes-20160829/game/data/ItemManager.h | 2c4aa6aabf53c80c3427bcc974f5abbc66971f07 | [] | no_license | mengtest/backup-1 | 763dedbb09d662b0940a2cedffb4b9fd1f7fb35d | d9f34e5bc08fe88485ac82f8e9aa09b994bb0e54 | refs/heads/master | 2020-05-04T14:29:30.181303 | 2016-12-13T02:28:23 | 2016-12-13T02:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | h | #include "cocos2d.h"
#include "Singleton.h"
#include "cocos2d.h"
USING_NS_CC;
class ItemManager : public Ref
{
public:
ItemManager();
~ItemManager();
bool init(int id);
void setProgress(int* pro){ m_iProgress = pro; }
void loadResDataAsync();
void prelodAnimation(std::string format1, std::string format2, const unsigned int cout, std::string aniName,bool isSingel = false);
private:
void initArmatureData();
void loadArmatureCallback(float dt);
protected:
int* m_iProgress;
std::list<std::string> mArmautureConfFiles;
};
#define sgItemManager() Singleton<ItemManager>::Get() | [
"1027718562@qq.com"
] | 1027718562@qq.com |
fb7010435c4ed25be006a6b1fb57f8b871ed59a8 | b669094d27d471ab82bd25220ee22fc0867465cb | /lib/core/src/togo/core/utility/utility.hpp | 224600bdf5f98a5c66df2768a4285e8252a04102 | [
"MIT"
] | permissive | komiga/togo | 9f26af22f3cc4dc535d30d886deb294ebf717ba9 | 7a366fc02e87c8480f008aa110516e4b04f8d73b | refs/heads/master | 2021-01-23T21:18:15.402108 | 2020-11-07T06:35:14 | 2020-11-07T06:35:14 | 21,193,515 | 27 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,772 | hpp | #line 2 "togo/core/utility/utility.hpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief Utilities.
@ingroup lib_core_utility
*/
#pragma once
// igen-source: utility/utility_li.cpp
#include <togo/core/config.hpp>
#include <togo/core/types.hpp>
#include <togo/core/error/assert.hpp>
#include <togo/core/utility/types.hpp>
#include <togo/core/utility/traits.hpp>
#include <togo/core/utility/constraints.hpp>
#include <togo/core/string/types.hpp>
#include <togo/core/lua/types.hpp>
#include <type_traits>
#include <togo/core/utility/utility.gen_interface>
namespace togo {
/**
@addtogroup lib_core_utility
@{
*/
/** @name Type utilities */ /// @{
/// Cast unsigned integral to signed integral.
template<class T>
inline constexpr typename std::make_signed<T>::type
signed_cast(T const value) noexcept {
return static_cast<typename std::make_signed<T>::type>(value);
}
/// Cast signed integral to unsigned integral.
template<class T>
inline constexpr typename std::make_unsigned<T>::type
unsigned_cast(T const value) noexcept {
return static_cast<typename std::make_unsigned<T>::type>(value);
}
/// Number of elements in bounded array.
template<class T, unsigned N>
inline constexpr unsigned
array_extent(T const (&)[N]) noexcept {
return N;
}
/// Number of elements in bounded array.
template<class T, class U, unsigned N>
inline constexpr unsigned
array_extent(T const (U::* const)[N]) noexcept {
return N;
}
/// Get sizeof(T) or 0 if T is empty.
template<class T>
inline constexpr unsigned
sizeof_empty() noexcept {
return std::is_empty<remove_ref<T>>::value ? 0 : sizeof(T);
}
/// @}
/** @name Misc utilities */ /// @{
/// Make an rvalue reference.
///
/// This is equivalent to std::move(), whose name is totally bonkers.
template<class T>
inline constexpr remove_ref<T>&& rvalue_ref(T&& x) noexcept {
return static_cast<remove_ref<T>&&>(x);
}
/** @cond INTERNAL */
namespace {
inline constexpr unsigned num_params_impl(unsigned sum) noexcept {
return sum;
}
template<class H, class... P>
inline constexpr unsigned num_params_impl(unsigned sum, H&&, P&&... p) noexcept {
return num_params_impl(sum + 1, p...);
}
} // anonymous namespace
/** @endcond */ // INTERNAL
/// Count the number of parameters in a parameter pack.
template<class... P>
inline constexpr unsigned num_params(P&&... p) noexcept {
return num_params_impl(0, p...);
}
/// Retain value category when passing to another function.
///
/// This is equivalent to std::forward().
template<class T>
inline constexpr T&& forward(remove_ref<T>& x) noexcept {
return static_cast<T&&>(x);
}
template<class T>
inline constexpr T&& forward(remove_ref<T>&& x) noexcept {
static_assert(
!is_lvalue_reference<T>::value,
"rvalue cannot be forwarded as an lvalue"
);
return static_cast<T&&>(x);
}
/// A type as an unevaluated value.
///
/// This is equivalent to std::declval().
template<class T>
inline add_rvalue_ref<T> type_value() noexcept;
/// Swap the values of two references.
template<class T>
inline void swap(T& x, T& y) {
T temp = x;
x = y;
y = temp;
}
/// Less-than comparison operator wrapper.
template<class T>
inline bool less(T const& x, T const& y) {
return x < y;
}
/// Greater-than comparison operator wrapper.
template<class T>
inline bool greater(T const& x, T const& y) {
return x > y;
}
/// @}
/** @name Arithmetic utilities */ /// @{
/// Get the lesser of two values.
template<class T>
inline constexpr T min(T const x, T const y) noexcept {
TOGO_CONSTRAIN_INTEGRAL(T);
return x < y ? x : y;
}
/// Get the greater of two values.
template<class T>
inline constexpr T max(T const x, T const y) noexcept {
TOGO_CONSTRAIN_INTEGRAL(T);
return x > y ? x : y;
}
/// Clamp a value between a minimum and maximum.
template<class T>
inline constexpr T clamp(T const x, T const minimum, T const maximum) noexcept {
TOGO_CONSTRAIN_INTEGRAL(T);
return
x < minimum
? minimum
: x > maximum
? maximum
: x
;
}
/// Integral log2 (truncates towards zero).
inline constexpr u64 log2_ci(u64 x) noexcept {
return
(x > 1)
? 1 + log2_ci(x / 2)
: 0
;
}
/// @}
/** @name Memory utilities */ /// @{
/// Advance pointer by bytes.
///
/// @warning This advances by bytes, not sizeof(T).
template<class T>
inline T* pointer_add(T* p, unsigned const bytes) noexcept {
return reinterpret_cast<T*>(
reinterpret_cast<type_if<is_const<T>::value, u8 const*, u8*>>(p) + bytes
);
}
/// Aligns a pointer by moving it forward.
template<class T>
inline T* pointer_align(T* p, unsigned const align) noexcept {
if (align) {
unsigned const m = reinterpret_cast<std::uintptr_t>(p) % align;
if (m) {
p = pointer_add(p, align - m);
}
}
return p;
}
/// @}
/** @name Enum & bitwise utilities */ /// @{
/// Number of bits required to store a value.
inline constexpr u64 bits_to_store(u64 x) noexcept {
return log2_ci(x) + 1;
}
/// Fill n bits and shift left by lshift.
///
/// A would-be shift overflow (lshift >= 64) yields 0.
/// n is clamped to [0, 64].
inline constexpr u64 fill_n_bits(unsigned n, unsigned lshift = 0) noexcept {
return
(n > 0 && lshift < 64)
? (~u64{0} >> (64 - min(n, 64u))) << lshift
: 0
;
}
/// Fill the number of bits required to store a value and shift left by lshift.
///
/// A would-be shift overflow (lshift >= 64) yields 0.
/// This effectively fills all bits past the MSB, yielding 1 in the case x = 0.
inline constexpr u64 fill_value_bits(u64 x, unsigned lshift = 0) noexcept {
return fill_n_bits(bits_to_store(x), lshift);
}
/// Whether an enum value is non-zero.
template<class T>
inline constexpr bool enum_bool(T const value) {
static_assert(
std::is_enum<T>::value,
"T must be an enum"
);
return static_cast<typename std::underlying_type<T>::type>(value);
}
/** @cond INTERNAL */
template<class FlagT, class = enable_if<enable_enum_bitwise_ops<FlagT>::value>>
inline constexpr FlagT operator|(FlagT const& x, FlagT const& y) noexcept {
return static_cast<FlagT>(
static_cast<unsigned>(x) | static_cast<unsigned>(y)
);
}
template<class FlagT, class = enable_if<enable_enum_bitwise_ops<FlagT>::value>>
inline constexpr FlagT operator&(FlagT const& x, FlagT const& y) noexcept {
return static_cast<FlagT>(
static_cast<unsigned>(x) & static_cast<unsigned>(y)
);
}
template<class FlagT, class = enable_if<enable_enum_bitwise_ops<FlagT>::value>>
inline constexpr FlagT operator~(FlagT const& x) noexcept {
return static_cast<FlagT>(
~static_cast<unsigned>(x)
);
}
template<class FlagT, class = enable_if<enable_enum_bitwise_ops<FlagT>::value>>
inline constexpr FlagT& operator|=(FlagT& x, FlagT const& y) noexcept {
return x = static_cast<FlagT>(
static_cast<unsigned>(x) | static_cast<unsigned>(y)
);
}
template<class FlagT, class = enable_if<enable_enum_bitwise_ops<FlagT>::value>>
inline constexpr FlagT& operator&=(FlagT& x, FlagT const& y) noexcept {
return x = static_cast<FlagT>(
static_cast<unsigned>(x) & static_cast<unsigned>(y)
);
}
/** @endcond */ // INTERNAL
/// @}
/** @name Collection utilities */ /// @{
/// Get value by index.
template<class T>
inline T& ArrayRef<T>::operator[](unsigned const i) {
TOGO_DEBUG_ASSERTE(_begin + i < _end);
return _begin[i];
}
/// Get value by index.
template<class T>
inline T const& ArrayRef<T>::operator[](unsigned const i) const {
TOGO_DEBUG_ASSERTE(_begin + i < _end);
return _begin[i];
}
/// Make reference to array.
template<class T>
inline ArrayRef<T> array_ref(T* const data, unsigned const size) {
return ArrayRef<T>{data, size};
}
/// Make reference to array.
template<class T, unsigned N>
inline ArrayRef<T> array_ref(T (&data)[N]) {
return ArrayRef<T>{data, N};
}
/// Make reference to string.
inline ArrayRef<char const> array_ref(StringRef const data) {
return ArrayRef<char const>{data.data, data.size};
}
/// Make reference to const array.
template<class T>
inline ArrayRef<T const> array_cref(T const* const data, unsigned const size) {
return ArrayRef<T const>{data, size};
}
/// Make reference to const array.
template<class T, unsigned N>
inline ArrayRef<T const> array_cref(T const (&data)[N]) {
return ArrayRef<T const>{data, N};
}
/// Make reference to string.
inline ArrayRef<char const> array_cref(StringRef const data) {
return ArrayRef<char const>{data.data, data.size};
}
/** @cond INTERNAL */
template<class T>
inline T* begin(ArrayRef<T> const& ar) { return ar._begin; }
template<class T>
inline T const* cbegin(ArrayRef<T> const& ar) { return ar._begin; }
template<class T>
inline T* end(ArrayRef<T> const& ar) { return ar._end; }
template<class T>
inline T const* cend(ArrayRef<T> const& ar) { return ar._end; }
/** @endcond */ // INTERNAL
/// @}
/** @} */ // end of doc-group lib_core_utility
} // namespace togo
| [
"me@komiga.com"
] | me@komiga.com |
8a74c062020c1561a5e6b94e65e3387eb31d8747 | 151380275d65c817bb2aef8234a7a73e8c7f2b30 | /Parse_Shader.cpp | 42a1a1bcd3464671ab5d52cd7ca224953aaf5d5e | [] | no_license | lasyowl/OpenGL_Renderer_Assimp | 12501c0f4369f4b8de4390570d5f3e3ef05f81f9 | 20d5a2031edfa33249c5e1d3f9c652b67bf1e51a | refs/heads/master | 2022-08-26T03:53:17.216907 | 2017-12-06T00:55:07 | 2017-12-06T00:55:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,195 | cpp | #include "Parse_Shader.h"
using namespace std;
GLuint Parse_Shader::LoadShader(ShaderInfo *shaderInfo, bool particle = false) {
GLuint programHandle;
GLuint fileLength;
ifstream shaderSource;
string shaderString;
programHandle = glCreateProgram();
for (int i = 0; i < 3; i++) {
if (shaderInfo[i].type == GL_NONE) {
//cout << "There is no shaderinfo" << endl;
continue;
}
shaderInfo[i].shader = glCreateShader(shaderInfo[i].type);
shaderSource.open(shaderInfo[i].filename);
shaderSource.seekg(0, ios::end);
if (!shaderSource.is_open()) {
cout << "Failed to open shader file\n";
continue;
}
fileLength = shaderSource.tellg();
shaderSource.seekg(0, ios::beg);
shaderString.clear();
shaderString.reserve(fileLength);
while (1) {
shaderString += shaderSource.get();
if (shaderSource.eof()) {
shaderString[shaderString.size() - 1] = '\0';
break;
}
}
shaderSource.close();
GLchar *source = (GLchar *)shaderString.c_str();
glShaderSource(shaderInfo[i].shader, 1, &source, NULL);
glCompileShader(shaderInfo[i].shader);
GLint isCompiled = GL_FALSE;
glGetShaderiv(shaderInfo[i].shader, GL_COMPILE_STATUS, &isCompiled);
if (isCompiled == GL_FALSE)
{
GLint maxLength = 0;
glGetShaderiv(shaderInfo[i].shader, GL_INFO_LOG_LENGTH, &maxLength);
std::vector<GLchar> errorLog(maxLength);
glGetShaderInfoLog(shaderInfo[i].shader, maxLength, &maxLength, &errorLog[0]);
std::cout << "SHADER COMPILATION ERROR:\n";
for (std::vector<GLchar>::iterator iter = errorLog.begin(); iter != errorLog.end(); ++iter)
{
std::cout << *iter;
}
std::cout << "\n";
glDeleteShader(shaderInfo[i].shader);
continue;
}
glAttachShader(programHandle, shaderInfo[i].shader);
}
if (particle == true) {
GLchar* varyings[4];
varyings[0] = "gs_type";
varyings[1] = "gs_position";
varyings[2] = "gs_velocity";
varyings[3] = "gs_timeRemain";
glTransformFeedbackVaryings(programHandle, 4, varyings, GL_INTERLEAVED_ATTRIBS);
}
glLinkProgram(programHandle);
GLint isLinked = 0;
glGetProgramiv(programHandle, GL_LINK_STATUS, (int *)&isLinked);
if (isLinked == GL_FALSE)
{
GLint maxLength = 0;
glGetProgramiv(programHandle, GL_INFO_LOG_LENGTH, &maxLength);
//The maxLength includes the NULL character
std::vector<GLchar> infoLog(maxLength);
glGetProgramInfoLog(programHandle, maxLength, &maxLength, &infoLog[0]);
std::cout << "PROGRAM LINK ERROR:\n";
for (std::vector<GLchar>::iterator iter = infoLog.begin(); iter != infoLog.end(); ++iter)
{
std::cout << *iter;
}
std::cout << "\n";
//We don't need the program anymore.
glDeleteProgram(programHandle);
//Don't leak shaders either.
for (int i = 0; i < 3; i++) {
glDeleteShader(shaderInfo[i].shader);
}
//Use the infoLog as you see fit.
//In this simple program, we'll just leave
return 0;
}
for (int i = 0; i < 3; i++) {
if (shaderInfo[i].type == GL_NONE) {
continue;
}
glDetachShader(programHandle, shaderInfo[i].shader);
glDeleteShader(shaderInfo[i].shader);
}
return programHandle;
}
| [
"noreply@github.com"
] | noreply@github.com |
05d4c93bd5c2d400c393bbd43ba33b58a8c0bfcc | 36af7279e01803c6826600f7ffe62f9512ea5f9c | /src/dxvk/hud/dxvk_hud_config.h | 77516dc8db136b48e4dad5c58e2c5146b3fb0746 | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | libcg/dxvk | 232015a00ccc12a5d21f68db4b5c659547a2d72d | 217399926d1c44d8c2532de62579bf9b23fa9adc | refs/heads/master | 2021-05-13T19:49:03.691305 | 2018-06-02T16:09:59 | 2018-06-02T16:09:59 | 116,900,698 | 1 | 1 | null | 2018-01-10T03:06:32 | 2018-01-10T03:06:32 | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include "../dxvk_include.h"
namespace dxvk::hud {
/**
* \brief HUD element
*
* These flags can be used to enable
* or disable HUD elements on demand.
*/
enum class HudElement {
DeviceInfo = 0,
Framerate = 1,
Frametimes = 2,
StatDrawCalls = 3,
StatSubmissions = 4,
StatPipelines = 5,
StatMemory = 6,
};
using HudElements = Flags<HudElement>;
/**
* \brief HUD configuration
*/
struct HudConfig {
HudConfig();
HudConfig(const std::string& configStr);
HudElements elements;
};
/**
* \brief Gets HUD configuration from config strnig
*
* \param [in] configStr Configuration string
* \returns HUD configuration struct
*/
HudConfig parseHudConfigStr(const std::string& configStr);
} | [
"philip.rebohle@tu-dortmund.de"
] | philip.rebohle@tu-dortmund.de |
bff838a99d46ffac6e6af7aac2a98cf1cbad7706 | 384d19c57b829bdd7c98df02a6c1956f3fbd63c0 | /firmware/TMP117_example/Example1_BasicReadings.ino | 72532235703e6a3a0067ebe15bc980b972c8ccc4 | [
"MIT",
"Beerware"
] | permissive | zwl1671/homeicu | 671255ab8c92862b6eec9bf544a47d2faefda44d | cac357da75aca206139b7653ef810fa16efac452 | refs/heads/master | 2022-08-01T07:46:53.940759 | 2020-05-20T05:34:20 | 2020-05-20T05:34:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,809 | ino | /******************************************************************************
Example1_BasicReadings.ino
Example for the TMP117 I2C Temperature Sensor
Madison Chodikov @ SparkFun Electronics
May 29 2019
~
This sketch configures the TMP117 temperature sensor and prints the
temperature in degrees celsius and fahrenheit with a 500ms delay for
easier readings.
Resources:
Wire.h (included with Arduino IDE)
TMP117.h (included in the src folder) http://librarymanager/All#SparkFun_TMP117
Development environment specifics:
Arduino 1.8.9+
Hardware Version 1.0.0
This code is beerware; if you see me (or any other SparkFun employee) at
the local, and you've found our code helpful, please buy us a round!
Distributed as-is; no warranty is given.
******************************************************************************/
/*
NOTE: For the most accurate readings:
- Avoid heavy bypass traffic on the I2C bus
- Use the highest available communication speeds
- Use the minimal supply voltage acceptable for the system
- Place device horizontally and out of any airflow when storing
For more information on reaching the most accurate readings from the sensor,
reference the "Precise Temperature Measurements with TMP116" datasheet that is
linked on Page 35 of the TMP117's datasheet
*/
#include <Wire.h> // Used to establish serial communication on the I2C bus
#include "TMP117.h" // Used to send and recieve specific information from our sensor
// The default address of the device is 0x48 = (GND)
TMP117 sensor; // Initalize sensor
void setup()
{
Wire.begin();
Serial.begin(115200); // Start serial communication at 115200 baud
Wire.setClock(400000); // Set clock speed to be the fastest for better communication (fast mode)
Serial.println("TMP117 Example 1: Basic Readings");
if (sensor.begin() == true) // Function to check if the sensor will correctly self-identify with the proper Device ID/Address
{
Serial.println("Begin");
}
else
{
Serial.println("Device failed to setup- Freezing code.");
while (1); // Runs forever
}
}
void loop()
{
// Data Ready is a flag for the conversion modes - in continous conversion the dataReady flag should always be high
if (sensor.dataReady() == true) // Function to make sure that there is data ready to be printed, only prints temperature values when data is ready
{
float tempC = sensor.readTempC();
float tempF = sensor.readTempF();
// Print temperature in °C and °F
Serial.println(); // Create a white space for easier viewing
Serial.print("Temperature in Celsius: ");
Serial.println(tempC);
Serial.print("Temperature in Fahrenheit: ");
Serial.println(tempF);
delay(500); // Delay added for easier readings
}
}
| [
"64930198+hellozed@users.noreply.github.com"
] | 64930198+hellozed@users.noreply.github.com |
2ffdc187196c96f65ec2e5d0a8b77ae121346497 | 11cb07ccbfdbe794147def48d4649d7a80bdc8e4 | /third_party/itc/include/boost/config/user.hpp | 842aaae594ebde68b780678416b6a7c2cb0a0d24 | [] | no_license | qq587282/GameServerFramework | e34078d148400772b6473c49dd732d4c57bb2d7f | 64f0b71b81dc94ce92517f3e7efecc1d775a32ee | refs/heads/master | 2020-05-20T18:41:54.102213 | 2017-07-03T10:33:03 | 2017-07-03T10:33:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,574 | hpp | // boost/config/user.hpp ---------------------------------------------------//
// (C) Copyright John Maddock 2001.
// Use, modification and distribution are subject to 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)
// Do not check in modified versions of this file,
// This file may be customized by the end user, but not by boost.
//
// Use this file to define a site and compiler specific
// configuration policy:
//
// define this to locate a compiler config file:
// #define BOOST_COMPILER_CONFIG <myheader>
// define this to locate a stdlib config file:
// #define BOOST_STDLIB_CONFIG <myheader>
// define this to locate a platform config file:
// #define BOOST_PLATFORM_CONFIG <myheader>
// define this to disable compiler config,
// use if your compiler config has nothing to set:
// #define BOOST_NO_COMPILER_CONFIG
// define this to disable stdlib config,
// use if your stdlib config has nothing to set:
// #define BOOST_NO_STDLIB_CONFIG
// define this to disable platform config,
// use if your platform config has nothing to set:
// #define BOOST_NO_PLATFORM_CONFIG
// define this to disable all config options,
// excluding the user config. Use if your
// setup is fully ISO compliant, and has no
// useful extensions, or for autoconf generated
// setups:
// #define BOOST_NO_CONFIG
// define this to make the config "optimistic"
// about unknown compiler versions. Normally
// unknown compiler versions are assumed to have
// all the defects of the last known version, however
// setting this flag, causes the config to assume
// that unknown compiler versions are fully conformant
// with the standard:
// #define BOOST_STRICT_CONFIG
// define this to cause the config to halt compilation
// with an #error if it encounters anything unknown --
// either an unknown compiler version or an unknown
// compiler/platform/library:
// #define BOOST_ASSERT_CONFIG
// define if you want to disable threading support, even
// when available:
// #define BOOST_DISABLE_THREADS
// define when you want to disable Win32 specific features
// even when available:
// #define BOOST_DISABLE_WIN32
// BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any
// prefix/suffix headers that normally control things like struct
// packing and alignment.
// #define BOOST_DISABLE_ABI_HEADERS
// BOOST_ABI_PREFIX: A prefix header to include in place of whatever
// boost.config would normally select, any replacement should set up
// struct packing and alignment options as required.
// #define BOOST_ABI_PREFIX my-header-name
// BOOST_ABI_SUFFIX: A suffix header to include in place of whatever
// boost.config would normally select, any replacement should undo
// the effects of the prefix header.
// #define BOOST_ABI_SUFFIX my-header-name
// BOOST_ALL_DYN_LINK: Forces all libraries that have separate source,
// to be linked as dll's rather than static libraries on Microsoft Windows
// (this macro is used to turn on __declspec(dllimport) modifiers, so that
// the compiler knows which symbols to look for in a dll rather than in a
// static library). Note that there may be some libraries that can only
// be statically linked (Boost.Test for example) and others which may only
// be dynamically linked (Boost.Threads for example), in these cases this
// macro has no effect.
// #define BOOST_ALL_DYN_LINK
// BOOST_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll
// rather than a static library on Microsoft Windows: replace the WHATEVER
// part of the macro name with the name of the library that you want to
// dynamically link to, for example use BOOST_DATE_TIME_DYN_LINK or
// BOOST_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport)
// modifiers, so that the compiler knows which symbols to look for in a dll
// rather than in a static library).
// Note that there may be some libraries that can only be statically linked
// (Boost.Test for example) and others which may only be dynamically linked
// (Boost.Threads for example), in these cases this macro is unsupported.
// #define BOOST_WHATEVER_DYN_LINK
// BOOST_ALL_NO_LIB: Tells the config system not to automatically select
// which libraries to link against.
// Normally if a compiler supports #pragma lib, then the correct library
// build variant will be automatically selected and linked against,
// simply by the act of including one of that library's headers.
// This macro turns that feature off.
//#define BOOST_ALL_NO_LIB
// BOOST_WHATEVER_NO_LIB: Tells the config system not to automatically
// select which library to link against for library "whatever",
// replace WHATEVER in the macro name with the name of the library;
// for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB.
// Normally if a compiler supports #pragma lib, then the correct library
// build variant will be automatically selected and linked against, simply
// by the act of including one of that library's headers. This macro turns
// that feature off.
// #define BOOST_WHATEVER_NO_LIB
#ifndef BOOST_DATE_TIME_SOURCE
#define BOOST_DATE_TIME_SOURCE
#endif
#ifndef BOOST_PROGRAM_OPTIONS_SOURCE
#define BOOST_PROGRAM_OPTIONS_SOURCE
#endif
#ifndef BOOST_SYSTEM_SOURCE
#define BOOST_SYSTEM_SOURCE
#endif
#ifndef BOOST_FILESYSTEM_SOURCE
#define BOOST_FILESYSTEM_SOURCE
#endif
#ifndef BOOST_THREAD_BUILD_DLL
#define BOOST_THREAD_BUILD_DLL
#endif
////////////////////////////////////////////////////////
| [
"411328563@qq.com"
] | 411328563@qq.com |
0dcb8ffdf7afdbe6e7a8727a3baf3e6865832e6b | c9b03df3e7853b89abba97191eac229a59bcd4ef | /src/app/test.cpp | c1f95088c68086fb2c2c12b6f48045cf8147c267 | [
"MIT"
] | permissive | Shaohq-824/render-engine | c497bc71842edcaa6b5dcd9ae3f317d7c82de22a | 5edd0cdba2804fa160c71532c665f13132788071 | refs/heads/master | 2021-03-26T15:18:12.934267 | 2020-03-13T17:34:49 | 2020-03-13T17:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <vector>
#include <iostream>
#include <variant>
#include <type_traits>
using namespace std;
class Base {
};
template <int i>
using Shit = std::conditional_t<(i > 0),
int,
std::conditional_t<(i < 20),
char,
double>>;
template <int i, typename Fuck = Shit<i>>
class Derived : public Base {
};
int main() {
static_assert(std::is_base_of_v<Base, Derived<1>>, "shit");
}
| [
"krisu-ciph@qq.com"
] | krisu-ciph@qq.com |
eccbe267ba720fa16a183a3acb476cb089a4579f | b69c79792905e7e999dc80b21024460f98e46abc | /eos/libraries/chain/transaction_metadata.cpp | 53003e58b9a448ab99b7703c3badb963a0ba1ee3 | [
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | leeho0604/INNO-BLOCKCHAIN | bcd9d6b1ada6f79cd69d5bb62ef6613917b73d64 | de505ddd2395de7693ea2351fe86417b1903d9e3 | refs/heads/master | 2020-09-05T17:11:39.002005 | 2019-11-07T08:20:29 | 2019-11-07T08:20:29 | 220,162,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | #include <eosio/chain/transaction_metadata.hpp>
#include <eosio/chain/thread_utils.hpp>
#include <boost/asio/thread_pool.hpp>
#include <fc/io/json.hpp>
namespace eosio { namespace chain {
recovery_keys_type transaction_metadata::recover_keys( const chain_id_type& chain_id ) {
// Unlikely for more than one chain_id to be used in one nodeos instance
if( signing_keys_future.valid() ) {
const std::tuple<chain_id_type, fc::microseconds, flat_set<public_key_type>>& sig_keys = signing_keys_future.get();
if( std::get<0>( sig_keys ) == chain_id ) {
return std::make_pair( std::get<1>( sig_keys ), std::cref( std::get<2>( sig_keys ) ) );
}
}
// shared_keys_future not created or different chain_id
std::promise<signing_keys_future_value_type> p;
flat_set<public_key_type> recovered_pub_keys;
const signed_transaction& trn = packed_trx->get_signed_transaction();
fc::microseconds cpu_usage = trn.get_signature_keys( chain_id, fc::time_point::maximum(), recovered_pub_keys );
p.set_value( std::make_tuple( chain_id, cpu_usage, std::move( recovered_pub_keys ) ) );
signing_keys_future = p.get_future().share();
const std::tuple<chain_id_type, fc::microseconds, flat_set<public_key_type>>& sig_keys = signing_keys_future.get();
return std::make_pair( std::get<1>( sig_keys ), std::cref( std::get<2>( sig_keys ) ) );
}
signing_keys_future_type transaction_metadata::start_recover_keys( const transaction_metadata_ptr& mtrx,
boost::asio::thread_pool& thread_pool,
const chain_id_type& chain_id,
fc::microseconds time_limit )
{
if( mtrx->signing_keys_future.valid() && std::get<0>( mtrx->signing_keys_future.get() ) == chain_id ) // already created
return mtrx->signing_keys_future;
std::weak_ptr<transaction_metadata> mtrx_wp = mtrx;
mtrx->signing_keys_future = async_thread_pool( thread_pool, [time_limit, chain_id, mtrx_wp]() {
fc::time_point deadline = time_limit == fc::microseconds::maximum() ?
fc::time_point::maximum() : fc::time_point::now() + time_limit;
auto mtrx = mtrx_wp.lock();
fc::microseconds cpu_usage;
flat_set<public_key_type> recovered_pub_keys;
if( mtrx ) {
const signed_transaction& trn = mtrx->packed_trx->get_signed_transaction();
cpu_usage = trn.get_signature_keys( chain_id, deadline, recovered_pub_keys );
}
return std::make_tuple( chain_id, cpu_usage, std::move( recovered_pub_keys ));
} );
return mtrx->signing_keys_future;
}
} } // eosio::chain
| [
"ghlee@innotium.com"
] | ghlee@innotium.com |
62ddea95a4a6c2baee56ec58db8fd5c26134a1e4 | 97d0ebaba383d7e3567a16fb9cacc2be45015825 | /kappel/EDVariavel/main.cpp | 268bfebdb9d43e7d16d93625c8997e1122886caf | [] | no_license | gustavolibotte/inteligencia_computacional | 8d5d91b5f7aa92cdb1b5840f61c7cba0b6562d13 | 2341755eff3eda222ee067d0443d5c2e2d00557c | refs/heads/master | 2021-03-22T01:10:14.260301 | 2015-07-20T21:05:16 | 2015-07-20T21:05:16 | 35,251,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | cpp | #include <cstdlib>
#include <cmath>
#include "EVAL_HAMMER.h"
#include "ED.h"
int main(){
// double solPSO[Dimension] = {0.72763, 0.19756, 0.76200, 2.75342, 2.90602, 4.99963, 100, 201};
// double fitPSO = funcaoObjetivo(solPSO);
////
// double solED_old[Dimension] = {0.7281, 0.1932, 0.7610, 2.7318, 2.8657, 4.9686, 100, 201};
// double fitED_old = funcaoObjetivo(solED_old);
////
// double solED[Dimension] = {0.8595113174, 0.1108324252, 0.6520854355, 2.2093628594, 2.3331228566, 4.4609036845, 100, 201};
// double fitED = funcaoObjetivo(solED);
srand (time(NULL));
double* xotm = EvolucaoDiferencialDPS();
cout << "O ponto otimo e':" << endl << endl;
for (int i = 0; i < 8; i++){
cout<< xotm[i] << endl;
}
}
| [
"maakappel@gmail.com"
] | maakappel@gmail.com |
9748f5d2f77d0f72f614da071c2034f45c6eb4ed | f96b55887c06fb0e1ebbe3d5a2d40d59ca6bdd5b | /src/main.cpp | d9b87e3545e27bd86cc72077d957d31c57d76284 | [] | no_license | jfredine/bt_test | 7b28842a16ea02dccb6cff7c5722cc7dcb521e88 | 8b363cf3d3c9d9a1bf8433a7e845501c85555d46 | refs/heads/master | 2020-12-24T02:59:58.919852 | 2020-03-25T03:28:41 | 2020-03-25T03:28:41 | 237,358,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <Arduino.h>
#include <SoftwareSerial.h>
// RX TX
SoftwareSerial SoftSerial(12, 13);
void setup() {
Serial.begin(9600);
SoftSerial.begin(9600);
}
#define BUFFER_SIZE 200
void loop() {
while (Serial.available()) {
char c = Serial.read();
Serial.write(c);
SoftSerial.write(c);
}
while(SoftSerial.available()) {
char c = SoftSerial.read();
SoftSerial.write(c);
Serial.write(c);
}
} | [
"jfredine@hotmail.com"
] | jfredine@hotmail.com |
e5f5fabdc96a46d71556d30081f81bc28551ec82 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_units_base_units_astronomical_light_minute.hpp | dc530eec05ab3627534ce2c84a0cd8faded1cbc5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | hpp | #include <boost/units/base_units/astronomical/light_minute.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
882c4f14da80c3848b446874113ab4deba2253d8 | 2230017583fb802847c11585c505c7052f3c1032 | /parrot/code/compute.cpp | 31862d6cd8c9cf32304a8cc60c2408cd659c8e86 | [] | no_license | hemingcui/phd-thesis | fa65c7e463c24ac7b79dea2c3c80a8672abc17d2 | 634afe8a70372f7c1fd57774b7306d6a2dce5258 | refs/heads/master | 2021-01-13T01:26:55.400369 | 2015-01-07T09:23:17 | 2015-01-07T09:23:17 | 22,394,276 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 91 | cpp | void soba_init(int group_size, void *key, int timeout);
void soba_wait(void *key);
| [
"heming@heming.(none)"
] | heming@heming.(none) |
d06e39df13b2d55b22b1853b724584aac7004f3b | 38c6f02dbfc29d5648a895935e9aa55a7a57f47e | /chapter06/exercise00/section_02/Student_info.hpp | 9e50c24255d7e39b40e118da75f2a1bcb24f03b4 | [] | no_license | VShilenkov/AcceleratedCPP | 27b340b1891f6aec13b09eb360be0c585bd300b4 | c843352ac247bce65e0172442b7244d34d946c04 | refs/heads/master | 2022-06-16T06:29:26.496068 | 2022-06-05T22:43:44 | 2022-06-05T22:43:44 | 28,341,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | hpp | #ifndef GUARD_Student_info_hpp
#define GUARD_Student_info_hpp
#include <iostream>
#include <string>
#include <vector>
struct Student_info
{
std::string name;
double midterm, fin;
std::vector<double> homework;
};
bool compare(const Student_info& x, const Student_info& y);
std::istream& read(std::istream& in, Student_info& s);
std::istream& read_hw(std::istream& in, std::vector<double>& hw);
#endif | [
"vshilenkov@hotmail.com"
] | vshilenkov@hotmail.com |
886cdcb4bfa2b3c77aeadf07f296af76c0c6f702 | e04b0e74918e0f8fa88f0e6e6cf6b72cf3728e13 | /No0159.cpp | b4445d6e98e630f2945c294cccf53bf1aaaf306a | [] | no_license | satanic0258/yukicoder | 8d7735674076bf1dc7aff75666b54faf6fb7aaed | d08f8f8810a09ec4972022514fa624874f7f932c | refs/heads/master | 2021-01-10T04:02:41.082791 | 2016-01-09T19:54:18 | 2016-01-09T19:54:18 | 46,665,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
using namespace std;
int main(){
ios::sync_with_stdio(false);
double p, q, p1, p2;
cin >> p >> q;
p1 = (1-p)*q;
p2 = p*(1-q)*q;
cout << ((p1<p2) ? "YES\n" : "NO\n");
return 0;
}
| [
"cflikethepsp@gmail.com"
] | cflikethepsp@gmail.com |
2bc9e8d1d4f3c0c6a78aee2f9dbe9e6289082955 | d736e3fb7fad485f12dd41232a10481409ad25ea | /socket/src/TcpClientInit.cpp | 6ba4089cf687bcfa7c6bef237ccb2829e7d8ef6f | [] | no_license | lihuaweishiyigehaoren/messageboard | eea7c3462b6a0918e318f50ce1eb90045a79bfa8 | bd83fcf9042cc52929404beb6611f82f8e789170 | refs/heads/master | 2020-04-28T03:09:56.609504 | 2019-03-19T12:57:33 | 2019-03-19T12:57:33 | 174,926,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | cpp | /*
*Auther: HuaWeiLi
*Date: 2019.03.13
*FileDesc: init client socket
*/
#include "TcpClientInit.h"
#include <sys/socket.h>
#include <iostream>
#include <cstring>
using namespace std;
TcpClientInit::TcpClientInit() :
TcpConnection(socket(AF_INET,SOCK_STREAM,0))
{
}
TcpClientInit::~TcpClientInit()
{
}
void TcpClientInit::Connect(const std::string& host,uint16_t port)
{
if(_socket == -1)
{
cout<<"tcp client socket error"<<endl;
}
_host = host;
_port = port;
Socket::NativeAddress serverAddress;
memset(&serverAddress,0,sizeof(serverAddress));
serverAddress.sin_family = AF_INET;
serverAddress.sin_addr.s_addr = inet_addr(_host.c_str());
serverAddress.sin_port = htons(_port);
if(connect(_socket, (struct sockaddr *)&serverAddress, sizeof(serverAddress))==-1)
{
cout<<"connect server failed"<<endl;
}
} | [
"1206909328@qq.com"
] | 1206909328@qq.com |
381a15d41bde026e8d1a5afc5dc748b99afa1a21 | 8734d01e8d468bd6543fec812b58e171fd65deab | /development/core/src/Geometry.cpp | b52ea368b96b9d9e612e0a19f505bf12f76a2ee0 | [
"Apache-2.0"
] | permissive | JohnyEngine/CNC | 97d8fa9bb2d4e3b76a577cfd35d0c1dbbd46214c | e4c77250ab2b749d3014022cbb5eb9924e939993 | refs/heads/master | 2020-12-25T16:49:01.672871 | 2016-11-10T19:33:19 | 2016-11-10T19:33:19 | 32,200,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | cpp | #include "Geometry.h"
Geometry::Geometry()
{
}
void Geometry::clear()
{
triangles.clear();
}
void Geometry::AddTriangle(const Triangle &tri, bool copyNormals)
{
Triangle * temp = new Triangle(tri);
if (!copyNormals) temp->CalculateNormal();
triangles.push_back(temp);
}
| [
"i.andrushche@samsung.com"
] | i.andrushche@samsung.com |
05ceb9105c64fac1722e5008f0e83187d81b4ba1 | d283b8205b71a8afd806501bc1832a97204514c0 | /src/fs_base_listxattr.hpp | 887518924b80884747818fcb09a437f14c746fd4 | [
"ISC"
] | permissive | yatesco/mergerfs | d923ee23a7499802c2cce6d92305344f57f36240 | c7c5b073898b338308d783384c918a713c90a83d | refs/heads/master | 2021-01-12T15:23:39.875015 | 2016-10-20T20:52:32 | 2016-10-20T20:52:32 | 71,768,104 | 0 | 0 | null | 2016-10-24T08:28:27 | 2016-10-24T08:28:26 | null | UTF-8 | C++ | false | false | 1,149 | hpp | /*
ISC License
Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/types.h>
#include "errno.hpp"
#include "xattr.hpp"
namespace fs
{
static
inline
int
llistxattr(const std::string &path,
char *list,
const size_t size)
{
#ifndef WITHOUT_XATTR
return ::llistxattr(path.c_str(),list,size);
#else
return (errno=ENOTSUP,-1);
#endif
}
}
| [
"trapexit@spawn.link"
] | trapexit@spawn.link |
db7c025a45b8b04ad13c36cf39a4be0233391380 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Core/src/app/admin/CDevicePolicyManager.cpp | 3b7b466ca8b5f9651ddf58033a4db6cee876cca2 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 38,887 | cpp |
#include "app/admin/CDevicePolicyManager.h"
#include "app/admin/CDeviceAdminInfo.h"
#include "os/CServiceManager.h"
#include "os/CUserHandleHelper.h"
#include "net/CProxy.h"
#include "content/pm/CResolveInfo.h"
#include <elastos/Logger.h>
#include <elastos/StringUtils.h>
#include <elastos/StringBuilder.h>
using Elastos::Net::ProxyType;
using Elastos::Net::IProxyHelper;
using Elastos::Net::CProxyHelper;
using Elastos::Net::ISocketAddress;
using Elastos::Net::IInetSocketAddress;
using Elastos::Core::StringUtils;
using Elastos::Core::StringBuilder;
using Elastos::Droid::Os::IServiceManager;
using Elastos::Droid::Os::CServiceManager;
using Elastos::Droid::Os::IUserHandleHelper;
using Elastos::Droid::Os::CUserHandleHelper;
using Elastos::Droid::App::Admin::CDeviceAdminInfo;
using Elastos::Droid::Content::Pm::IResolveInfo;
using Elastos::Droid::Content::Pm::CResolveInfo;
using Elastos::Droid::Content::Pm::IActivityInfo;
using Elastos::Droid::Content::Pm::IPackageManager;
using Elastos::Utility::Logging::Logger;
namespace Elastos {
namespace Droid {
namespace App {
namespace Admin {
const String CDevicePolicyManager::TAG = String("CDevicePolicyManager");
ECode CDevicePolicyManager::constructor(
/* [in] */ IContext* context,
/* [in] */ IHandler* handler)
{
mContext = context;
AutoPtr<IServiceManager> sm;
CServiceManager::AcquireSingleton((IServiceManager**)&sm);
AutoPtr<IInterface> service;
sm->GetService(IContext::DEVICE_POLICY_SERVICE, (IInterface**)&service);
mService = IIDevicePolicyManager::Probe(service);
assert(mService != NULL);
return NOERROR;
}
ECode CDevicePolicyManager::IsAdminActive(
/* [in] */ IComponentName* who,
/* [out] */ Boolean* isAdminActive)
{
VALIDATE_NOT_NULL(isAdminActive);
*isAdminActive = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->IsAdminActive(who, myUserId, isAdminActive);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetActiveAdmins(
/* [out] */ IObjectContainer** admins)
{
VALIDATE_NOT_NULL(admins);
*admins = NULL;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetActiveAdmins(myUserId, admins);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::PackageHasActiveAdmins(
/* [in] */ const String& packageName,
/* [out] */ Boolean* hasAdmins)
{
VALIDATE_NOT_NULL(hasAdmins);
*hasAdmins = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->PackageHasActiveAdmins(packageName, myUserId, hasAdmins);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::RemoveActiveAdmin(
/* [in] */ IComponentName* who)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->RemoveActiveAdmin(who, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::HasGrantedPolicy(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 usesPolicy,
/* [out] */ Boolean* hasGrant)
{
VALIDATE_NOT_NULL(hasGrant);
*hasGrant = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->HasGrantedPolicy(admin, usesPolicy, myUserId, hasGrant);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordQuality(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 quality)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordQuality(admin, quality, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordQuality(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordQualityEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordQualityEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = IDevicePolicyManager::PASSWORD_QUALITY_UNSPECIFIED;
if (mService != NULL) {
ECode ec = mService->GetPasswordQuality(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumLength(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumLength(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumLength(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumLengthEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumLengthEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumLength(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumUpperCase(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumUpperCase(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumUpperCase(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumUpperCaseEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumUpperCaseEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumUpperCase(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumLowerCase(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumLowerCase(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumLowerCase(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumLowerCaseEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumLowerCaseEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumLowerCase(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumLetters(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumLetters(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumLetters(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumLettersEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumLettersEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumLetters(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumNumeric(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumNumeric(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumNumeric(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumNumericEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumNumericEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumNumeric(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumSymbols(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumSymbols(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumSymbols(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumSymbolsEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumSymbolsEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumSymbols(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordMinimumNonLetter(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordMinimumNonLetter(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMinimumNonLetter(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordMinimumNonLetterEx(admin, myUserId, password);
}
ECode CDevicePolicyManager::GetPasswordMinimumNonLetterEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* password)
{
VALIDATE_NOT_NULL(password);
*password = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordMinimumNonLetter(admin, userHandle, password);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordHistoryLength(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 length)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordHistoryLength(admin, length, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetPasswordExpirationTimeout(
/* [in] */ IComponentName* admin,
/* [in] */ Int64 timeout)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetPasswordExpirationTimeout(admin, timeout, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordExpirationTimeout(
/* [in] */ IComponentName* admin,
/* [out] */ Int64* timeout)
{
VALIDATE_NOT_NULL(timeout);
*timeout = 0;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetPasswordExpirationTimeout(admin, myUserId, timeout);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordExpiration(
/* [in] */ IComponentName* admin,
/* [out] */ Int64* expiration)
{
VALIDATE_NOT_NULL(expiration);
*expiration = 0;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetPasswordExpiration(admin, myUserId, expiration);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordHistoryLength(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* length)
{
VALIDATE_NOT_NULL(length);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetPasswordHistoryLengthEx(admin, myUserId, length);
}
ECode CDevicePolicyManager::GetPasswordHistoryLengthEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* length)
{
VALIDATE_NOT_NULL(length);
*length = 0;
if (mService != NULL) {
ECode ec = mService->GetPasswordHistoryLength(admin, userHandle, length);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetPasswordMaximumLength(
/* [in] */ Int32 quality,
/* [out] */ Int32* length)
{
VALIDATE_NOT_NULL(length);
// Kind-of arbitrary.
*length = 16;
return NOERROR;
}
ECode CDevicePolicyManager::IsActivePasswordSufficient(
/* [out] */ Boolean* isSufficient)
{
VALIDATE_NOT_NULL(isSufficient);
*isSufficient = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->IsActivePasswordSufficient(myUserId, isSufficient);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetCurrentFailedPasswordAttempts(
/* [out] */ Int32* atempts)
{
VALIDATE_NOT_NULL(atempts);
*atempts = -1;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetCurrentFailedPasswordAttempts(myUserId, atempts);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetMaximumFailedPasswordsForWipe(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 num)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetMaximumFailedPasswordsForWipe(admin, num, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetMaximumFailedPasswordsForWipe(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* maximum)
{
VALIDATE_NOT_NULL(maximum);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetMaximumFailedPasswordsForWipeEx(admin, myUserId, maximum);
}
ECode CDevicePolicyManager::GetMaximumFailedPasswordsForWipeEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* maximum)
{
VALIDATE_NOT_NULL(maximum);
*maximum = 0;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetMaximumFailedPasswordsForWipe(admin, myUserId, maximum);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::ResetPassword(
/* [in] */ const String& password,
/* [in] */ Int32 flags,
/* [out] */ Boolean* reset)
{
VALIDATE_NOT_NULL(reset);
*reset = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->ResetPassword(password, flags, myUserId, reset);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetMaximumTimeToLock(
/* [in] */ IComponentName* admin,
/* [in] */ Int64 timeMs)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetMaximumTimeToLock(admin, timeMs, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetMaximumTimeToLock(
/* [in] */ IComponentName* admin,
/* [out] */ Int64* time)
{
VALIDATE_NOT_NULL(time);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetMaximumTimeToLockEx(admin, myUserId, time);
}
ECode CDevicePolicyManager::GetMaximumTimeToLockEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int64* time)
{
VALIDATE_NOT_NULL(time);
*time = 0;
if (mService != NULL) {
ECode ec = mService->GetMaximumTimeToLock(admin, userHandle, time);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::LockNow()
{
if (mService != NULL) {
ECode ec = mService->LockNow();
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::WipeData(
/* [in] */ Int32 flags)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->WipeData(flags, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetGlobalProxy(
/* [in] */ IComponentName* admin,
/* [in] */ Elastos::Net::IProxy* proxySpec,
/* [in] */ ArrayOf<String>* exclusionList,
/* [out] */ IComponentName** component)
{
VALIDATE_NOT_NULL(admin);
VALIDATE_NOT_NULL(exclusionList);
VALIDATE_NOT_NULL(component);
*component = NULL;
if (proxySpec == NULL) {
return E_NULL_POINTER_EXCEPTION;
}
if (mService != NULL) {
AutoPtr<IProxyHelper> helper;
CProxyHelper::AcquireSingleton((IProxyHelper**)&helper);
AutoPtr<Elastos::Net::IProxy> noPorxy;
helper->GetNO_PROXY((Elastos::Net::IProxy**)&noPorxy);
String hostSpec;
String exclSpec;
Boolean equals = FALSE;
IObject::Probe(proxySpec)->Equals(noPorxy, &equals);
if (equals) {
hostSpec = NULL;
exclSpec = NULL;
}
else {
ProxyType specType;
proxySpec->GetType(&specType);
if (specType == Elastos::Net::ProxyType_HTTP) {
return E_ILLEGAL_ARGUMENT_EXCEPTION;
}
AutoPtr<IInetSocketAddress> sa;
proxySpec->GetAddress((ISocketAddress**)&sa);
String hostName;
Int32 port;
sa->GetHostName(&hostName);
sa->GetPort(&port);
StringBuilder sb(hostName);
sb += ":";
sb += StringUtils::Int32ToString(port);
hostSpec = sb.ToString();
if (exclusionList == NULL) {
exclSpec = "";
}
else {
sb.Reset();
Boolean firstDomain = TRUE;
Int32 size = exclusionList->GetLength();
for (Int32 i = 0; i < size; ++i) {
String exclDomain = (*exclusionList)[i];
if (!firstDomain) {
sb += ",";
}
else {
firstDomain = FALSE;
}
sb += exclDomain.Trim();
}
exclSpec = sb.ToString();
}
AutoPtr<Elastos::Droid::Net::IProxy> netProxy;
Elastos::Droid::Net::CProxy::AcquireSingleton((Elastos::Droid::Net::IProxy**)&netProxy);
netProxy->Validate(hostName, StringUtils::Int32ToString(port), exclSpec);
}
Int32 myUserId;
AutoPtr<IUserHandleHelper> uhelper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&uhelper);
uhelper->GetMyUserId(&myUserId);
AutoPtr<IComponentName> comp;
ECode ec = mService->SetGlobalProxy(admin, hostSpec, exclSpec, myUserId, (IComponentName**)&comp);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetGlobalProxyAdmin(
/* [out] */ IComponentName** global)
{
VALIDATE_NOT_NULL(global);
*global = NULL;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetGlobalProxyAdmin(myUserId, global);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetStorageEncryption(
/* [in] */ IComponentName* admin,
/* [in] */ Boolean encrypt,
/* [out] */ Int32* result)
{
VALIDATE_NOT_NULL(result);
*result = IDevicePolicyManager::ENCRYPTION_STATUS_UNSUPPORTED;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetStorageEncryption(admin, encrypt, myUserId, result);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetStorageEncryption(
/* [in] */ IComponentName* admin,
/* [out] */ Boolean* result)
{
VALIDATE_NOT_NULL(result);
*result = FALSE;
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetStorageEncryption(admin, myUserId, result);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetStorageEncryptionStatus(
/* [out] */ Int32* st)
{
VALIDATE_NOT_NULL(st);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetStorageEncryptionStatusEx(myUserId, st);
}
ECode CDevicePolicyManager::GetStorageEncryptionStatusEx(
/* [in] */ Int32 userHandle,
/* [out] */ Int32* st)
{
VALIDATE_NOT_NULL(st);
*st = IDevicePolicyManager::ENCRYPTION_STATUS_UNSUPPORTED;
if (mService != NULL) {
ECode ec = mService->GetStorageEncryptionStatus(userHandle, st);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetCameraDisabled(
/* [in] */ IComponentName* admin,
/* [in] */ Boolean disabled)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetCameraDisabled(admin, disabled, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetCameraDisabled(
/* [in] */ IComponentName* admin,
/* [out] */ Boolean* disabled)
{
VALIDATE_NOT_NULL(disabled);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetCameraDisabledEx(admin, myUserId, disabled);
}
ECode CDevicePolicyManager::GetCameraDisabledEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Boolean* disabled)
{
VALIDATE_NOT_NULL(disabled);
*disabled = FALSE;
if (mService != NULL) {
ECode ec = mService->GetCameraDisabled(admin, userHandle, disabled);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetKeyguardDisabledFeatures(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 which)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetKeyguardDisabledFeatures(admin, which, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetKeyguardDisabledFeatures(
/* [in] */ IComponentName* admin,
/* [out] */ Int32* which)
{
VALIDATE_NOT_NULL(which);
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
return GetKeyguardDisabledFeaturesEx(admin, myUserId, which);
}
ECode CDevicePolicyManager::GetKeyguardDisabledFeaturesEx(
/* [in] */ IComponentName* admin,
/* [in] */ Int32 userHandle,
/* [out] */ Int32* which)
{
VALIDATE_NOT_NULL(which);
*which = IDevicePolicyManager::KEYGUARD_DISABLE_FEATURES_NONE;
if (mService != NULL) {
ECode ec = mService->GetKeyguardDisabledFeatures(admin, userHandle, which);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetActiveAdmin(
/* [in] */ IComponentName* policyReceiver,
/* [in] */ Boolean refreshing)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->SetActiveAdmin(policyReceiver, refreshing, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::GetAdminInfo(
/* [in] */ IComponentName* cn,
/* [out] */ IDeviceAdminInfo** info)
{
VALIDATE_NOT_NULL(info);
*info = NULL;
String cnStr;
cn->ToString(&cnStr);
AutoPtr<IPackageManager> pm;
FAIL_RETURN(mContext->GetPackageManager((IPackageManager**)&pm));
AutoPtr<IActivityInfo> ai;
ECode ec = pm->GetReceiverInfo(cn, IPackageManager::GET_META_DATA, (IActivityInfo**)&ai);
if (FAILED(ec)) {
// catch (PackageManager.NameNotFoundException e)
String msg("PackageManager.NameNotFoundException: Unable to retrieve device policy ");
msg += cnStr;
Logger::W(TAG, msg);
return ec;
}
AutoPtr<IResolveInfo> ri;
CResolveInfo::New((IResolveInfo**)&ri);
ri->SetActivityInfo(ai.Get());
ec = CDeviceAdminInfo::New(mContext, ri, info);
if (ec == E_XML_PULL_PARSER_EXCEPTION) {
String warn("XmlPullParserException: Unable to parse device policy");
warn += cnStr;
Logger::W(TAG, warn);
*info = NULL;
return ec;
}
else if (ec == E_IO_EXCEPTION) {
String warn("IOException: Unable to parse device policy");
warn += cnStr;
Logger::W(TAG, warn);
*info = NULL;
return ec;
}
return ec;
}
ECode CDevicePolicyManager::GetRemoveWarning(
/* [in] */ IComponentName* admin,
/* [in] */ IRemoteCallback* result)
{
if (mService != NULL) {
Int32 myUserId;
AutoPtr<IUserHandleHelper> helper;
CUserHandleHelper::AcquireSingleton((IUserHandleHelper**)&helper);
helper->GetMyUserId(&myUserId);
ECode ec = mService->GetRemoveWarning(admin, result, myUserId);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::SetActivePasswordState(
/* [in] */ Int32 quality,
/* [in] */ Int32 length,
/* [in] */ Int32 letters,
/* [in] */ Int32 uppercase,
/* [in] */ Int32 lowercase,
/* [in] */ Int32 numbers,
/* [in] */ Int32 symbols,
/* [in] */ Int32 nonletter,
/* [in] */ Int32 userHandle)
{
if (mService != NULL) {
ECode ec = mService->SetActivePasswordState(
quality, length, letters, uppercase, lowercase,
numbers, symbols, nonletter, userHandle);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::ReportFailedPasswordAttempt(
/* [in] */ Int32 userHandle)
{
if (mService != NULL) {
ECode ec = mService->ReportFailedPasswordAttempt(userHandle);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
ECode CDevicePolicyManager::ReportSuccessfulPasswordAttempt(
/* [in] */ Int32 userHandle)
{
if (mService != NULL) {
ECode ec = mService->ReportSuccessfulPasswordAttempt(userHandle);
if (FAILED(ec)) {
Logger::W(TAG, "E_REMOTE_EXCEPTION: Failed talking with device policy service");
}
return ec;
}
return NOERROR;
}
} // namespace Admin
} // namespace App
} // namespace Droid
} // namespace Elastos
| [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
99bf4432c9d5ff23b77152bdfb77e22861c109ca | ec25a36c040b8f0a0c3e0f888b2c030c7e925fd7 | /p4.cpp | 9e8bb9885fd5917eb73cf2fac24a272b14c3cc37 | [] | no_license | dervish2846/oop-cpp | 2d616b9120d7de30be4afff8275a002287bff59f | 97b5a1a57d34d71a82bc5fd7ac952d6a500fc421 | refs/heads/master | 2020-04-23T01:14:29.499482 | 2019-02-25T04:34:42 | 2019-02-25T04:34:42 | 170,806,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include <iostream>
using namespace std;
class fnum{
int val;
public:
void gen_series(int x,int z){
int i,j;
int f;
for (int i = x; i <=z; i++)
{
int f=0;
for (int j = 1; j <=i; j++)
{
if(i%j==0)
f=f+1;
}
if(f==2)
cout<<i;
}
}
};
int main(){
fnum n1;
int n1_val,n2_val;
cout<<"enter no 1 \n ";
cin>>n1_val;
cout<<"enter no 2 \n ";
cin>>n2_val;
n1.gen_series(n1_val,n2_val);
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
c9082927627ec7ed5aa31575b578ec45f656063d | 7c58dc6ece33475300b5766b18a324617da6d578 | /source/Game.Desktop.OpenGL/EntityInputHandler.h | 39dfe28246105a0eb37c41eace2a40d1a096606f | [] | no_license | ash9991win/VVVVVV | 6301322380e1be3aee9ed2be74c30604e715d85a | 96c2eea67302678d120e2cd1c0ce9c18b5435823 | refs/heads/master | 2021-07-25T02:33:59.661244 | 2017-11-05T03:22:25 | 2017-11-05T03:22:25 | 109,548,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,776 | h | #pragma once
#include "Entity.h"
///A class for handling input keys
class EntityInputHandler final : public Entity
{
public:
typedef void(EntityInputHandler::*KeyFunctionPointer)(int mode);
///The default constructor for this object
EntityInputHandler();
virtual ~EntityInputHandler() = default;
/** @brief Gets the left key of the entity.
* @return The entity's left key.
*/
int LeftKey() const;
/** @brief Sets the left key of the entity.
* @param width The entity's new left key.
*/
void SetLeftKey(int key);
/** @brief Gets the right key of the entity.
* @return The entity's right key.
*/
int RightKey() const;
/** @brief Sets the right key of the entity.
* @param width The entity's new right key.
*/
void SetRightKey(int key);
/** @brief Gets the Switch Gravity key of the entity.
* @return The entity's Switch Gravity key.
*/
int SwitchGravityKey() const;
/** @brief Sets the Switch Gravity key of the entity.
* @param width The entity's new Switch Gravity key.
*/
void SetSwitchGravityKey(int key);
/** \brief Gets the world state
* \return The world state
*/
const WorldState& GetWorldState() const;
/** \brief Sets the world state
* \param world The world state
*/
void SetWorldState(const WorldState& world);
///Creates handlers based on current key values
void GenerateHandlers();
/** @brief Handles a key stroke
* @param key The key to handle
* @param mode The current mode of key handling
*/
void HandleKey(int key, int mode);
RTTI_DECLARATIONS(EntityInputHandler, Entity)
private:
//helper function that the handler key methods use to dispatch events.
void EntityInputHandler::SendInputMessage(std::string subtype);
//The functions for the handler to use when handling keys
HashMap<int, KeyFunctionPointer> mKeyHandlers;
//Handles the left key press
void HandleLeftKey(int action);
//Handles the right key press
void HandleRightKey(int action);
//Handles the switch gravity key press
void HandleSwitchGravityKey(int action);
//GLFW key for moving left
int mLeftKey;
//GLFW key for moving right
int mRightKey;
//GLFW key for switching gravity
int mSwitchGravityKey;
//The world state
WorldState* mWorldState;
///The name of the left key attribute
static const std::string LEFT_KEY_ATTRIBUTE;
///The name of the right key attribute
static const std::string RIGHT_KEY_ATTRIBUTE;
///The name of the switch gravity attribute
static const std::string SWITCH_GRAVITY_KEY_ATTRIBUTE;
///The name of the world state attribute
static const std::string WORLD_STATE_ATTRIBUTE;
};
ConcreteFactory(RTTI, EntityInputHandler)
| [
"ash9991win@gmail.com"
] | ash9991win@gmail.com |
64bd8e6170e44b9df84f2e2e912b0fd1b08fb8c6 | f164b392d2c9dd2054e374bf2789a4c6921dded0 | /LeetCode/trimBST.cpp | 97dadccf0c5d9eee9dcc77c768e47d83a66c29cd | [] | no_license | ysleep/LeetCode | 28121a1d87d0433f1524cf31f40c8312396634cb | 273d6b5f93bb9f1567859e751bf3a7b8ed75a562 | refs/heads/master | 2021-01-16T21:30:12.123680 | 2017-11-12T11:09:20 | 2017-11-12T11:09:20 | 100,233,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | //
// trimBST.cpp
// LeetCode
//
// Created by 杨帅 on 11/11/2017.
// Copyright © 2017 杨帅. All rights reserved.
//
#include "header.h"
TreeNode* Solution:: trimBST(TreeNode* root, int L, int R){
if(root==NULL)
return NULL;
if(root->val<L)
return trimBST(root->right, L, R);
else if(root->val>R)
return trimBST(root->left, L, R);
else{
root->left = trimBST(root->left, L, R);
root->right = trimBST(root->right, L, R);
return root;
}
}
| [
"yancyyang@ysleep-2.local"
] | yancyyang@ysleep-2.local |
47cafb7acac1ea96ef86b54606aa1ad41591d310 | c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29 | /src/lib/Color.cpp | 5d2e170844c070c058a876e80d354d833bce939c | [] | no_license | gura-lang/gura | 972725895c93c22e0ec87c17166df4d15bdbe338 | 03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47 | refs/heads/master | 2021-01-25T08:04:38.269289 | 2020-05-09T12:42:23 | 2020-05-09T12:42:23 | 7,141,465 | 25 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,852 | cpp | //=============================================================================
// Color
//=============================================================================
#include "stdafx.h"
namespace Gura {
//-----------------------------------------------------------------------------
// Color
//-----------------------------------------------------------------------------
ColorMap *Color::_pColorMap = nullptr;
const Color::ElementEntry Color::_elementEntries[] = {
// basic color
{ "black", 0, 0, 0 },
{ "maroon", 128, 0, 0 },
{ "green", 0, 128, 0 },
{ "olive", 128, 128, 0 },
{ "navy", 0, 0, 128 },
{ "purple", 128, 0, 128 },
{ "teal", 0, 128, 128 },
{ "gray", 128, 128, 128 },
{ "silver", 192, 192, 192 },
{ "red", 255, 0, 0 },
{ "lime", 0, 255, 0 },
{ "yellow", 255, 255, 0 },
{ "blue", 0, 0, 255 },
{ "fuchsia", 255, 0, 255 },
{ "aqua", 0, 255, 255 },
{ "white", 255, 255, 255 },
// X.org rgb.txt
{ "snow", 255, 250, 250 },
{ "ghost white", 248, 248, 255 },
{ "GhostWhite", 248, 248, 255 },
{ "white smoke", 245, 245, 245 },
{ "WhiteSmoke", 245, 245, 245 },
{ "gainsboro", 220, 220, 220 },
{ "floral white", 255, 250, 240 },
{ "FloralWhite", 255, 250, 240 },
{ "old lace", 253, 245, 230 },
{ "OldLace", 253, 245, 230 },
{ "linen", 250, 240, 230 },
{ "antique white", 250, 235, 215 },
{ "AntiqueWhite", 250, 235, 215 },
{ "papaya whip", 255, 239, 213 },
{ "PapayaWhip", 255, 239, 213 },
{ "blanched almond", 255, 235, 205 },
{ "BlanchedAlmond", 255, 235, 205 },
{ "bisque", 255, 228, 196 },
{ "peach puff", 255, 218, 185 },
{ "PeachPuff", 255, 218, 185 },
{ "navajo white", 255, 222, 173 },
{ "NavajoWhite", 255, 222, 173 },
{ "moccasin", 255, 228, 181 },
{ "cornsilk", 255, 248, 220 },
{ "ivory", 255, 255, 240 },
{ "lemon chiffon", 255, 250, 205 },
{ "LemonChiffon", 255, 250, 205 },
{ "seashell", 255, 245, 238 },
{ "honeydew", 240, 255, 240 },
{ "mint cream", 245, 255, 250 },
{ "MintCream", 245, 255, 250 },
{ "azure", 240, 255, 255 },
{ "alice blue", 240, 248, 255 },
{ "AliceBlue", 240, 248, 255 },
{ "lavender", 230, 230, 250 },
{ "lavender blush", 255, 240, 245 },
{ "LavenderBlush", 255, 240, 245 },
{ "misty rose", 255, 228, 225 },
{ "MistyRose", 255, 228, 225 },
// { "white", 255, 255, 255 },
// { "black", 0, 0, 0 },
{ "dark slate gray", 47, 79, 79 },
{ "DarkSlateGray", 47, 79, 79 },
{ "dark slate grey", 47, 79, 79 },
{ "DarkSlateGrey", 47, 79, 79 },
{ "dim gray", 105, 105, 105 },
{ "DimGray", 105, 105, 105 },
{ "dim grey", 105, 105, 105 },
{ "DimGrey", 105, 105, 105 },
{ "slate gray", 112, 128, 144 },
{ "SlateGray", 112, 128, 144 },
{ "slate grey", 112, 128, 144 },
{ "SlateGrey", 112, 128, 144 },
{ "light slate gray", 119, 136, 153 },
{ "LightSlateGray", 119, 136, 153 },
{ "light slate grey", 119, 136, 153 },
{ "LightSlateGrey", 119, 136, 153 },
{ "grayX", 190, 190, 190 },
{ "grey", 190, 190, 190 },
{ "light grey", 211, 211, 211 },
{ "LightGrey", 211, 211, 211 },
{ "light gray", 211, 211, 211 },
{ "LightGray", 211, 211, 211 },
{ "midnight blue", 25, 25, 112 },
{ "MidnightBlue", 25, 25, 112 },
// { "navy", 0, 0, 128 },
{ "navy blue", 0, 0, 128 },
{ "NavyBlue", 0, 0, 128 },
{ "cornflower blue", 100, 149, 237 },
{ "CornflowerBlue", 100, 149, 237 },
{ "dark slate blue", 72, 61, 139 },
{ "DarkSlateBlue", 72, 61, 139 },
{ "slate blue", 106, 90, 205 },
{ "SlateBlue", 106, 90, 205 },
{ "medium slate blue", 123, 104, 238 },
{ "MediumSlateBlue", 123, 104, 238 },
{ "light slate blue", 132, 112, 255 },
{ "LightSlateBlue", 132, 112, 255 },
{ "medium blue", 0, 0, 205 },
{ "MediumBlue", 0, 0, 205 },
{ "royal blue", 65, 105, 225 },
{ "RoyalBlue", 65, 105, 225 },
// { "blue", 0, 0, 255 },
{ "dodger blue", 30, 144, 255 },
{ "DodgerBlue", 30, 144, 255 },
{ "deep sky blue", 0, 191, 255 },
{ "DeepSkyBlue", 0, 191, 255 },
{ "sky blue", 135, 206, 235 },
{ "SkyBlue", 135, 206, 235 },
{ "light sky blue", 135, 206, 250 },
{ "LightSkyBlue", 135, 206, 250 },
{ "steel blue", 70, 130, 180 },
{ "SteelBlue", 70, 130, 180 },
{ "light steel blue", 176, 196, 222 },
{ "LightSteelBlue", 176, 196, 222 },
{ "light blue", 173, 216, 230 },
{ "LightBlue", 173, 216, 230 },
{ "powder blue", 176, 224, 230 },
{ "PowderBlue", 176, 224, 230 },
{ "pale turquoise", 175, 238, 238 },
{ "PaleTurquoise", 175, 238, 238 },
{ "dark turquoise", 0, 206, 209 },
{ "DarkTurquoise", 0, 206, 209 },
{ "medium turquoise", 72, 209, 204 },
{ "MediumTurquoise", 72, 209, 204 },
{ "turquoise", 64, 224, 208 },
{ "cyan", 0, 255, 255 },
{ "light cyan", 224, 255, 255 },
{ "LightCyan", 224, 255, 255 },
{ "cadet blue", 95, 158, 160 },
{ "CadetBlue", 95, 158, 160 },
{ "medium aquamarine", 102, 205, 170 },
{ "MediumAquamarine", 102, 205, 170 },
{ "aquamarine", 127, 255, 212 },
{ "dark green", 0, 100, 0 },
{ "DarkGreen", 0, 100, 0 },
{ "dark olive green", 85, 107, 47 },
{ "DarkOliveGreen", 85, 107, 47 },
{ "dark sea green", 143, 188, 143 },
{ "DarkSeaGreen", 143, 188, 143 },
{ "sea green", 46, 139, 87 },
{ "SeaGreen", 46, 139, 87 },
{ "medium sea green", 60, 179, 113 },
{ "MediumSeaGreen", 60, 179, 113 },
{ "light sea green", 32, 178, 170 },
{ "LightSeaGreen", 32, 178, 170 },
{ "pale green", 152, 251, 152 },
{ "PaleGreen", 152, 251, 152 },
{ "spring green", 0, 255, 127 },
{ "SpringGreen", 0, 255, 127 },
{ "lawn green", 124, 252, 0 },
{ "LawnGreen", 124, 252, 0 },
{ "greenX", 0, 255, 0 },
{ "chartreuse", 127, 255, 0 },
{ "medium spring green", 0, 250, 154 },
{ "MediumSpringGreen", 0, 250, 154 },
{ "green yellow", 173, 255, 47 },
{ "GreenYellow", 173, 255, 47 },
{ "lime green", 50, 205, 50 },
{ "LimeGreen", 50, 205, 50 },
{ "yellow green", 154, 205, 50 },
{ "YellowGreen", 154, 205, 50 },
{ "forest green", 34, 139, 34 },
{ "ForestGreen", 34, 139, 34 },
{ "olive drab", 107, 142, 35 },
{ "OliveDrab", 107, 142, 35 },
{ "dark khaki", 189, 183, 107 },
{ "DarkKhaki", 189, 183, 107 },
{ "khaki", 240, 230, 140 },
{ "pale goldenrod", 238, 232, 170 },
{ "PaleGoldenrod", 238, 232, 170 },
{ "light goldenrod yellow", 250, 250, 210 },
{ "LightGoldenrodYellow", 250, 250, 210 },
{ "light yellow", 255, 255, 224 },
{ "LightYellow", 255, 255, 224 },
// { "yellow", 255, 255, 0 },
{ "gold", 255, 215, 0 },
{ "light goldenrod", 238, 221, 130 },
{ "LightGoldenrod", 238, 221, 130 },
{ "goldenrod", 218, 165, 32 },
{ "dark goldenrod", 184, 134, 11 },
{ "DarkGoldenrod", 184, 134, 11 },
{ "rosy brown", 188, 143, 143 },
{ "RosyBrown", 188, 143, 143 },
{ "indian red", 205, 92, 92 },
{ "IndianRed", 205, 92, 92 },
{ "saddle brown", 139, 69, 19 },
{ "SaddleBrown", 139, 69, 19 },
{ "sienna", 160, 82, 45 },
{ "peru", 205, 133, 63 },
{ "burlywood", 222, 184, 135 },
{ "beige", 245, 245, 220 },
{ "wheat", 245, 222, 179 },
{ "sandy brown", 244, 164, 96 },
{ "SandyBrown", 244, 164, 96 },
{ "tan", 210, 180, 140 },
{ "chocolate", 210, 105, 30 },
{ "firebrick", 178, 34, 34 },
{ "brown", 165, 42, 42 },
{ "dark salmon", 233, 150, 122 },
{ "DarkSalmon", 233, 150, 122 },
{ "salmon", 250, 128, 114 },
{ "light salmon", 255, 160, 122 },
{ "LightSalmon", 255, 160, 122 },
{ "orange", 255, 165, 0 },
{ "dark orange", 255, 140, 0 },
{ "DarkOrange", 255, 140, 0 },
{ "coral", 255, 127, 80 },
{ "light coral", 240, 128, 128 },
{ "LightCoral", 240, 128, 128 },
{ "tomato", 255, 99, 71 },
{ "orange red", 255, 69, 0 },
{ "OrangeRed", 255, 69, 0 },
// { "red", 255, 0, 0 },
{ "hot pink", 255, 105, 180 },
{ "HotPink", 255, 105, 180 },
{ "deep pink", 255, 20, 147 },
{ "DeepPink", 255, 20, 147 },
{ "pink", 255, 192, 203 },
{ "light pink", 255, 182, 193 },
{ "LightPink", 255, 182, 193 },
{ "pale violet red", 219, 112, 147 },
{ "PaleVioletRed", 219, 112, 147 },
{ "maroonX", 176, 48, 96 },
{ "medium violet red", 199, 21, 133 },
{ "MediumVioletRed", 199, 21, 133 },
{ "violet red", 208, 32, 144 },
{ "VioletRed", 208, 32, 144 },
{ "magenta", 255, 0, 255 },
{ "violet", 238, 130, 238 },
{ "plum", 221, 160, 221 },
{ "orchid", 218, 112, 214 },
{ "medium orchid", 186, 85, 211 },
{ "MediumOrchid", 186, 85, 211 },
{ "dark orchid", 153, 50, 204 },
{ "DarkOrchid", 153, 50, 204 },
{ "dark violet", 148, 0, 211 },
{ "DarkViolet", 148, 0, 211 },
{ "blue violet", 138, 43, 226 },
{ "BlueViolet", 138, 43, 226 },
{ "purpleX", 160, 32, 240 },
{ "medium purple", 147, 112, 219 },
{ "MediumPurple", 147, 112, 219 },
{ "thistle", 216, 191, 216 },
{ "snow1", 255, 250, 250 },
{ "snow2", 238, 233, 233 },
{ "snow3", 205, 201, 201 },
{ "snow4", 139, 137, 137 },
{ "seashell1", 255, 245, 238 },
{ "seashell2", 238, 229, 222 },
{ "seashell3", 205, 197, 191 },
{ "seashell4", 139, 134, 130 },
{ "AntiqueWhite1", 255, 239, 219 },
{ "AntiqueWhite2", 238, 223, 204 },
{ "AntiqueWhite3", 205, 192, 176 },
{ "AntiqueWhite4", 139, 131, 120 },
{ "bisque1", 255, 228, 196 },
{ "bisque2", 238, 213, 183 },
{ "bisque3", 205, 183, 158 },
{ "bisque4", 139, 125, 107 },
{ "PeachPuff1", 255, 218, 185 },
{ "PeachPuff2", 238, 203, 173 },
{ "PeachPuff3", 205, 175, 149 },
{ "PeachPuff4", 139, 119, 101 },
{ "NavajoWhite1", 255, 222, 173 },
{ "NavajoWhite2", 238, 207, 161 },
{ "NavajoWhite3", 205, 179, 139 },
{ "NavajoWhite4", 139, 121, 94 },
{ "LemonChiffon1", 255, 250, 205 },
{ "LemonChiffon2", 238, 233, 191 },
{ "LemonChiffon3", 205, 201, 165 },
{ "LemonChiffon4", 139, 137, 112 },
{ "cornsilk1", 255, 248, 220 },
{ "cornsilk2", 238, 232, 205 },
{ "cornsilk3", 205, 200, 177 },
{ "cornsilk4", 139, 136, 120 },
{ "ivory1", 255, 255, 240 },
{ "ivory2", 238, 238, 224 },
{ "ivory3", 205, 205, 193 },
{ "ivory4", 139, 139, 131 },
{ "honeydew1", 240, 255, 240 },
{ "honeydew2", 224, 238, 224 },
{ "honeydew3", 193, 205, 193 },
{ "honeydew4", 131, 139, 131 },
{ "LavenderBlush1", 255, 240, 245 },
{ "LavenderBlush2", 238, 224, 229 },
{ "LavenderBlush3", 205, 193, 197 },
{ "LavenderBlush4", 139, 131, 134 },
{ "MistyRose1", 255, 228, 225 },
{ "MistyRose2", 238, 213, 210 },
{ "MistyRose3", 205, 183, 181 },
{ "MistyRose4", 139, 125, 123 },
{ "azure1", 240, 255, 255 },
{ "azure2", 224, 238, 238 },
{ "azure3", 193, 205, 205 },
{ "azure4", 131, 139, 139 },
{ "SlateBlue1", 131, 111, 255 },
{ "SlateBlue2", 122, 103, 238 },
{ "SlateBlue3", 105, 89, 205 },
{ "SlateBlue4", 71, 60, 139 },
{ "RoyalBlue1", 72, 118, 255 },
{ "RoyalBlue2", 67, 110, 238 },
{ "RoyalBlue3", 58, 95, 205 },
{ "RoyalBlue4", 39, 64, 139 },
{ "blue1", 0, 0, 255 },
{ "blue2", 0, 0, 238 },
{ "blue3", 0, 0, 205 },
{ "blue4", 0, 0, 139 },
{ "DodgerBlue1", 30, 144, 255 },
{ "DodgerBlue2", 28, 134, 238 },
{ "DodgerBlue3", 24, 116, 205 },
{ "DodgerBlue4", 16, 78, 139 },
{ "SteelBlue1", 99, 184, 255 },
{ "SteelBlue2", 92, 172, 238 },
{ "SteelBlue3", 79, 148, 205 },
{ "SteelBlue4", 54, 100, 139 },
{ "DeepSkyBlue1", 0, 191, 255 },
{ "DeepSkyBlue2", 0, 178, 238 },
{ "DeepSkyBlue3", 0, 154, 205 },
{ "DeepSkyBlue4", 0, 104, 139 },
{ "SkyBlue1", 135, 206, 255 },
{ "SkyBlue2", 126, 192, 238 },
{ "SkyBlue3", 108, 166, 205 },
{ "SkyBlue4", 74, 112, 139 },
{ "LightSkyBlue1", 176, 226, 255 },
{ "LightSkyBlue2", 164, 211, 238 },
{ "LightSkyBlue3", 141, 182, 205 },
{ "LightSkyBlue4", 96, 123, 139 },
{ "SlateGray1", 198, 226, 255 },
{ "SlateGray2", 185, 211, 238 },
{ "SlateGray3", 159, 182, 205 },
{ "SlateGray4", 108, 123, 139 },
{ "LightSteelBlue1", 202, 225, 255 },
{ "LightSteelBlue2", 188, 210, 238 },
{ "LightSteelBlue3", 162, 181, 205 },
{ "LightSteelBlue4", 110, 123, 139 },
{ "LightBlue1", 191, 239, 255 },
{ "LightBlue2", 178, 223, 238 },
{ "LightBlue3", 154, 192, 205 },
{ "LightBlue4", 104, 131, 139 },
{ "LightCyan1", 224, 255, 255 },
{ "LightCyan2", 209, 238, 238 },
{ "LightCyan3", 180, 205, 205 },
{ "LightCyan4", 122, 139, 139 },
{ "PaleTurquoise1", 187, 255, 255 },
{ "PaleTurquoise2", 174, 238, 238 },
{ "PaleTurquoise3", 150, 205, 205 },
{ "PaleTurquoise4", 102, 139, 139 },
{ "CadetBlue1", 152, 245, 255 },
{ "CadetBlue2", 142, 229, 238 },
{ "CadetBlue3", 122, 197, 205 },
{ "CadetBlue4", 83, 134, 139 },
{ "turquoise1", 0, 245, 255 },
{ "turquoise2", 0, 229, 238 },
{ "turquoise3", 0, 197, 205 },
{ "turquoise4", 0, 134, 139 },
{ "cyan1", 0, 255, 255 },
{ "cyan2", 0, 238, 238 },
{ "cyan3", 0, 205, 205 },
{ "cyan4", 0, 139, 139 },
{ "DarkSlateGray1", 151, 255, 255 },
{ "DarkSlateGray2", 141, 238, 238 },
{ "DarkSlateGray3", 121, 205, 205 },
{ "DarkSlateGray4", 82, 139, 139 },
{ "aquamarine1", 127, 255, 212 },
{ "aquamarine2", 118, 238, 198 },
{ "aquamarine3", 102, 205, 170 },
{ "aquamarine4", 69, 139, 116 },
{ "DarkSeaGreen1", 193, 255, 193 },
{ "DarkSeaGreen2", 180, 238, 180 },
{ "DarkSeaGreen3", 155, 205, 155 },
{ "DarkSeaGreen4", 105, 139, 105 },
{ "SeaGreen1", 84, 255, 159 },
{ "SeaGreen2", 78, 238, 148 },
{ "SeaGreen3", 67, 205, 128 },
{ "SeaGreen4", 46, 139, 87 },
{ "PaleGreen1", 154, 255, 154 },
{ "PaleGreen2", 144, 238, 144 },
{ "PaleGreen3", 124, 205, 124 },
{ "PaleGreen4", 84, 139, 84 },
{ "SpringGreen1", 0, 255, 127 },
{ "SpringGreen2", 0, 238, 118 },
{ "SpringGreen3", 0, 205, 102 },
{ "SpringGreen4", 0, 139, 69 },
{ "green1", 0, 255, 0 },
{ "green2", 0, 238, 0 },
{ "green3", 0, 205, 0 },
{ "green4", 0, 139, 0 },
{ "chartreuse1", 127, 255, 0 },
{ "chartreuse2", 118, 238, 0 },
{ "chartreuse3", 102, 205, 0 },
{ "chartreuse4", 69, 139, 0 },
{ "OliveDrab1", 192, 255, 62 },
{ "OliveDrab2", 179, 238, 58 },
{ "OliveDrab3", 154, 205, 50 },
{ "OliveDrab4", 105, 139, 34 },
{ "DarkOliveGreen1", 202, 255, 112 },
{ "DarkOliveGreen2", 188, 238, 104 },
{ "DarkOliveGreen3", 162, 205, 90 },
{ "DarkOliveGreen4", 110, 139, 61 },
{ "khaki1", 255, 246, 143 },
{ "khaki2", 238, 230, 133 },
{ "khaki3", 205, 198, 115 },
{ "khaki4", 139, 134, 78 },
{ "LightGoldenrod1", 255, 236, 139 },
{ "LightGoldenrod2", 238, 220, 130 },
{ "LightGoldenrod3", 205, 190, 112 },
{ "LightGoldenrod4", 139, 129, 76 },
{ "LightYellow1", 255, 255, 224 },
{ "LightYellow2", 238, 238, 209 },
{ "LightYellow3", 205, 205, 180 },
{ "LightYellow4", 139, 139, 122 },
{ "yellow1", 255, 255, 0 },
{ "yellow2", 238, 238, 0 },
{ "yellow3", 205, 205, 0 },
{ "yellow4", 139, 139, 0 },
{ "gold1", 255, 215, 0 },
{ "gold2", 238, 201, 0 },
{ "gold3", 205, 173, 0 },
{ "gold4", 139, 117, 0 },
{ "goldenrod1", 255, 193, 37 },
{ "goldenrod2", 238, 180, 34 },
{ "goldenrod3", 205, 155, 29 },
{ "goldenrod4", 139, 105, 20 },
{ "DarkGoldenrod1", 255, 185, 15 },
{ "DarkGoldenrod2", 238, 173, 14 },
{ "DarkGoldenrod3", 205, 149, 12 },
{ "DarkGoldenrod4", 139, 101, 8 },
{ "RosyBrown1", 255, 193, 193 },
{ "RosyBrown2", 238, 180, 180 },
{ "RosyBrown3", 205, 155, 155 },
{ "RosyBrown4", 139, 105, 105 },
{ "IndianRed1", 255, 106, 106 },
{ "IndianRed2", 238, 99, 99 },
{ "IndianRed3", 205, 85, 85 },
{ "IndianRed4", 139, 58, 58 },
{ "sienna1", 255, 130, 71 },
{ "sienna2", 238, 121, 66 },
{ "sienna3", 205, 104, 57 },
{ "sienna4", 139, 71, 38 },
{ "burlywood1", 255, 211, 155 },
{ "burlywood2", 238, 197, 145 },
{ "burlywood3", 205, 170, 125 },
{ "burlywood4", 139, 115, 85 },
{ "wheat1", 255, 231, 186 },
{ "wheat2", 238, 216, 174 },
{ "wheat3", 205, 186, 150 },
{ "wheat4", 139, 126, 102 },
{ "tan1", 255, 165, 79 },
{ "tan2", 238, 154, 73 },
{ "tan3", 205, 133, 63 },
{ "tan4", 139, 90, 43 },
{ "chocolate1", 255, 127, 36 },
{ "chocolate2", 238, 118, 33 },
{ "chocolate3", 205, 102, 29 },
{ "chocolate4", 139, 69, 19 },
{ "firebrick1", 255, 48, 48 },
{ "firebrick2", 238, 44, 44 },
{ "firebrick3", 205, 38, 38 },
{ "firebrick4", 139, 26, 26 },
{ "brown1", 255, 64, 64 },
{ "brown2", 238, 59, 59 },
{ "brown3", 205, 51, 51 },
{ "brown4", 139, 35, 35 },
{ "salmon1", 255, 140, 105 },
{ "salmon2", 238, 130, 98 },
{ "salmon3", 205, 112, 84 },
{ "salmon4", 139, 76, 57 },
{ "LightSalmon1", 255, 160, 122 },
{ "LightSalmon2", 238, 149, 114 },
{ "LightSalmon3", 205, 129, 98 },
{ "LightSalmon4", 139, 87, 66 },
{ "orange1", 255, 165, 0 },
{ "orange2", 238, 154, 0 },
{ "orange3", 205, 133, 0 },
{ "orange4", 139, 90, 0 },
{ "DarkOrange1", 255, 127, 0 },
{ "DarkOrange2", 238, 118, 0 },
{ "DarkOrange3", 205, 102, 0 },
{ "DarkOrange4", 139, 69, 0 },
{ "coral1", 255, 114, 86 },
{ "coral2", 238, 106, 80 },
{ "coral3", 205, 91, 69 },
{ "coral4", 139, 62, 47 },
{ "tomato1", 255, 99, 71 },
{ "tomato2", 238, 92, 66 },
{ "tomato3", 205, 79, 57 },
{ "tomato4", 139, 54, 38 },
{ "OrangeRed1", 255, 69, 0 },
{ "OrangeRed2", 238, 64, 0 },
{ "OrangeRed3", 205, 55, 0 },
{ "OrangeRed4", 139, 37, 0 },
{ "red1", 255, 0, 0 },
{ "red2", 238, 0, 0 },
{ "red3", 205, 0, 0 },
{ "red4", 139, 0, 0 },
{ "DeepPink1", 255, 20, 147 },
{ "DeepPink2", 238, 18, 137 },
{ "DeepPink3", 205, 16, 118 },
{ "DeepPink4", 139, 10, 80 },
{ "HotPink1", 255, 110, 180 },
{ "HotPink2", 238, 106, 167 },
{ "HotPink3", 205, 96, 144 },
{ "HotPink4", 139, 58, 98 },
{ "pink1", 255, 181, 197 },
{ "pink2", 238, 169, 184 },
{ "pink3", 205, 145, 158 },
{ "pink4", 139, 99, 108 },
{ "LightPink1", 255, 174, 185 },
{ "LightPink2", 238, 162, 173 },
{ "LightPink3", 205, 140, 149 },
{ "LightPink4", 139, 95, 101 },
{ "PaleVioletRed1", 255, 130, 171 },
{ "PaleVioletRed2", 238, 121, 159 },
{ "PaleVioletRed3", 205, 104, 137 },
{ "PaleVioletRed4", 139, 71, 93 },
{ "maroon1", 255, 52, 179 },
{ "maroon2", 238, 48, 167 },
{ "maroon3", 205, 41, 144 },
{ "maroon4", 139, 28, 98 },
{ "VioletRed1", 255, 62, 150 },
{ "VioletRed2", 238, 58, 140 },
{ "VioletRed3", 205, 50, 120 },
{ "VioletRed4", 139, 34, 82 },
{ "magenta1", 255, 0, 255 },
{ "magenta2", 238, 0, 238 },
{ "magenta3", 205, 0, 205 },
{ "magenta4", 139, 0, 139 },
{ "orchid1", 255, 131, 250 },
{ "orchid2", 238, 122, 233 },
{ "orchid3", 205, 105, 201 },
{ "orchid4", 139, 71, 137 },
{ "plum1", 255, 187, 255 },
{ "plum2", 238, 174, 238 },
{ "plum3", 205, 150, 205 },
{ "plum4", 139, 102, 139 },
{ "MediumOrchid1", 224, 102, 255 },
{ "MediumOrchid2", 209, 95, 238 },
{ "MediumOrchid3", 180, 82, 205 },
{ "MediumOrchid4", 122, 55, 139 },
{ "DarkOrchid1", 191, 62, 255 },
{ "DarkOrchid2", 178, 58, 238 },
{ "DarkOrchid3", 154, 50, 205 },
{ "DarkOrchid4", 104, 34, 139 },
{ "purple1", 155, 48, 255 },
{ "purple2", 145, 44, 238 },
{ "purple3", 125, 38, 205 },
{ "purple4", 85, 26, 139 },
{ "MediumPurple1", 171, 130, 255 },
{ "MediumPurple2", 159, 121, 238 },
{ "MediumPurple3", 137, 104, 205 },
{ "MediumPurple4", 93, 71, 139 },
{ "thistle1", 255, 225, 255 },
{ "thistle2", 238, 210, 238 },
{ "thistle3", 205, 181, 205 },
{ "thistle4", 139, 123, 139 },
{ "gray0", 0, 0, 0 },
{ "grey0", 0, 0, 0 },
{ "gray1", 3, 3, 3 },
{ "grey1", 3, 3, 3 },
{ "gray2", 5, 5, 5 },
{ "grey2", 5, 5, 5 },
{ "gray3", 8, 8, 8 },
{ "grey3", 8, 8, 8 },
{ "gray4", 10, 10, 10 },
{ "grey4", 10, 10, 10 },
{ "gray5", 13, 13, 13 },
{ "grey5", 13, 13, 13 },
{ "gray6", 15, 15, 15 },
{ "grey6", 15, 15, 15 },
{ "gray7", 18, 18, 18 },
{ "grey7", 18, 18, 18 },
{ "gray8", 20, 20, 20 },
{ "grey8", 20, 20, 20 },
{ "gray9", 23, 23, 23 },
{ "grey9", 23, 23, 23 },
{ "gray10", 26, 26, 26 },
{ "grey10", 26, 26, 26 },
{ "gray11", 28, 28, 28 },
{ "grey11", 28, 28, 28 },
{ "gray12", 31, 31, 31 },
{ "grey12", 31, 31, 31 },
{ "gray13", 33, 33, 33 },
{ "grey13", 33, 33, 33 },
{ "gray14", 36, 36, 36 },
{ "grey14", 36, 36, 36 },
{ "gray15", 38, 38, 38 },
{ "grey15", 38, 38, 38 },
{ "gray16", 41, 41, 41 },
{ "grey16", 41, 41, 41 },
{ "gray17", 43, 43, 43 },
{ "grey17", 43, 43, 43 },
{ "gray18", 46, 46, 46 },
{ "grey18", 46, 46, 46 },
{ "gray19", 48, 48, 48 },
{ "grey19", 48, 48, 48 },
{ "gray20", 51, 51, 51 },
{ "grey20", 51, 51, 51 },
{ "gray21", 54, 54, 54 },
{ "grey21", 54, 54, 54 },
{ "gray22", 56, 56, 56 },
{ "grey22", 56, 56, 56 },
{ "gray23", 59, 59, 59 },
{ "grey23", 59, 59, 59 },
{ "gray24", 61, 61, 61 },
{ "grey24", 61, 61, 61 },
{ "gray25", 64, 64, 64 },
{ "grey25", 64, 64, 64 },
{ "gray26", 66, 66, 66 },
{ "grey26", 66, 66, 66 },
{ "gray27", 69, 69, 69 },
{ "grey27", 69, 69, 69 },
{ "gray28", 71, 71, 71 },
{ "grey28", 71, 71, 71 },
{ "gray29", 74, 74, 74 },
{ "grey29", 74, 74, 74 },
{ "gray30", 77, 77, 77 },
{ "grey30", 77, 77, 77 },
{ "gray31", 79, 79, 79 },
{ "grey31", 79, 79, 79 },
{ "gray32", 82, 82, 82 },
{ "grey32", 82, 82, 82 },
{ "gray33", 84, 84, 84 },
{ "grey33", 84, 84, 84 },
{ "gray34", 87, 87, 87 },
{ "grey34", 87, 87, 87 },
{ "gray35", 89, 89, 89 },
{ "grey35", 89, 89, 89 },
{ "gray36", 92, 92, 92 },
{ "grey36", 92, 92, 92 },
{ "gray37", 94, 94, 94 },
{ "grey37", 94, 94, 94 },
{ "gray38", 97, 97, 97 },
{ "grey38", 97, 97, 97 },
{ "gray39", 99, 99, 99 },
{ "grey39", 99, 99, 99 },
{ "gray40", 102, 102, 102 },
{ "grey40", 102, 102, 102 },
{ "gray41", 105, 105, 105 },
{ "grey41", 105, 105, 105 },
{ "gray42", 107, 107, 107 },
{ "grey42", 107, 107, 107 },
{ "gray43", 110, 110, 110 },
{ "grey43", 110, 110, 110 },
{ "gray44", 112, 112, 112 },
{ "grey44", 112, 112, 112 },
{ "gray45", 115, 115, 115 },
{ "grey45", 115, 115, 115 },
{ "gray46", 117, 117, 117 },
{ "grey46", 117, 117, 117 },
{ "gray47", 120, 120, 120 },
{ "grey47", 120, 120, 120 },
{ "gray48", 122, 122, 122 },
{ "grey48", 122, 122, 122 },
{ "gray49", 125, 125, 125 },
{ "grey49", 125, 125, 125 },
{ "gray50", 127, 127, 127 },
{ "grey50", 127, 127, 127 },
{ "gray51", 130, 130, 130 },
{ "grey51", 130, 130, 130 },
{ "gray52", 133, 133, 133 },
{ "grey52", 133, 133, 133 },
{ "gray53", 135, 135, 135 },
{ "grey53", 135, 135, 135 },
{ "gray54", 138, 138, 138 },
{ "grey54", 138, 138, 138 },
{ "gray55", 140, 140, 140 },
{ "grey55", 140, 140, 140 },
{ "gray56", 143, 143, 143 },
{ "grey56", 143, 143, 143 },
{ "gray57", 145, 145, 145 },
{ "grey57", 145, 145, 145 },
{ "gray58", 148, 148, 148 },
{ "grey58", 148, 148, 148 },
{ "gray59", 150, 150, 150 },
{ "grey59", 150, 150, 150 },
{ "gray60", 153, 153, 153 },
{ "grey60", 153, 153, 153 },
{ "gray61", 156, 156, 156 },
{ "grey61", 156, 156, 156 },
{ "gray62", 158, 158, 158 },
{ "grey62", 158, 158, 158 },
{ "gray63", 161, 161, 161 },
{ "grey63", 161, 161, 161 },
{ "gray64", 163, 163, 163 },
{ "grey64", 163, 163, 163 },
{ "gray65", 166, 166, 166 },
{ "grey65", 166, 166, 166 },
{ "gray66", 168, 168, 168 },
{ "grey66", 168, 168, 168 },
{ "gray67", 171, 171, 171 },
{ "grey67", 171, 171, 171 },
{ "gray68", 173, 173, 173 },
{ "grey68", 173, 173, 173 },
{ "gray69", 176, 176, 176 },
{ "grey69", 176, 176, 176 },
{ "gray70", 179, 179, 179 },
{ "grey70", 179, 179, 179 },
{ "gray71", 181, 181, 181 },
{ "grey71", 181, 181, 181 },
{ "gray72", 184, 184, 184 },
{ "grey72", 184, 184, 184 },
{ "gray73", 186, 186, 186 },
{ "grey73", 186, 186, 186 },
{ "gray74", 189, 189, 189 },
{ "grey74", 189, 189, 189 },
{ "gray75", 191, 191, 191 },
{ "grey75", 191, 191, 191 },
{ "gray76", 194, 194, 194 },
{ "grey76", 194, 194, 194 },
{ "gray77", 196, 196, 196 },
{ "grey77", 196, 196, 196 },
{ "gray78", 199, 199, 199 },
{ "grey78", 199, 199, 199 },
{ "gray79", 201, 201, 201 },
{ "grey79", 201, 201, 201 },
{ "gray80", 204, 204, 204 },
{ "grey80", 204, 204, 204 },
{ "gray81", 207, 207, 207 },
{ "grey81", 207, 207, 207 },
{ "gray82", 209, 209, 209 },
{ "grey82", 209, 209, 209 },
{ "gray83", 212, 212, 212 },
{ "grey83", 212, 212, 212 },
{ "gray84", 214, 214, 214 },
{ "grey84", 214, 214, 214 },
{ "gray85", 217, 217, 217 },
{ "grey85", 217, 217, 217 },
{ "gray86", 219, 219, 219 },
{ "grey86", 219, 219, 219 },
{ "gray87", 222, 222, 222 },
{ "grey87", 222, 222, 222 },
{ "gray88", 224, 224, 224 },
{ "grey88", 224, 224, 224 },
{ "gray89", 227, 227, 227 },
{ "grey89", 227, 227, 227 },
{ "gray90", 229, 229, 229 },
{ "grey90", 229, 229, 229 },
{ "gray91", 232, 232, 232 },
{ "grey91", 232, 232, 232 },
{ "gray92", 235, 235, 235 },
{ "grey92", 235, 235, 235 },
{ "gray93", 237, 237, 237 },
{ "grey93", 237, 237, 237 },
{ "gray94", 240, 240, 240 },
{ "grey94", 240, 240, 240 },
{ "gray95", 242, 242, 242 },
{ "grey95", 242, 242, 242 },
{ "gray96", 245, 245, 245 },
{ "grey96", 245, 245, 245 },
{ "gray97", 247, 247, 247 },
{ "grey97", 247, 247, 247 },
{ "gray98", 250, 250, 250 },
{ "grey98", 250, 250, 250 },
{ "gray99", 252, 252, 252 },
{ "grey99", 252, 252, 252 },
{ "gray100", 255, 255, 255 },
{ "grey100", 255, 255, 255 },
{ "dark grey", 169, 169, 169 },
{ "DarkGrey", 169, 169, 169 },
{ "dark gray", 169, 169, 169 },
{ "DarkGray", 169, 169, 169 },
{ "dark blue", 0, 0, 139 },
{ "DarkBlue", 0, 0, 139 },
{ "dark cyan", 0, 139, 139 },
{ "DarkCyan", 0, 139, 139 },
{ "dark magenta", 139, 0, 139 },
{ "DarkMagenta", 139, 0, 139 },
{ "dark red", 139, 0, 0 },
{ "DarkRed", 139, 0, 0 },
{ "light green", 144, 238, 144 },
{ "LightGreen", 144, 238, 144 },
};
const Color Color::zero;
const Color Color::black( 0, 0, 0, 255);
const Color Color::maroon( 128, 0, 0, 255);
const Color Color::green( 0, 128, 0, 255);
const Color Color::olive( 128, 128, 0, 255);
const Color Color::navy( 0, 0, 128, 255);
const Color Color::purple( 128, 0, 128, 255);
const Color Color::teal( 0, 128, 128, 255);
const Color Color::gray( 128, 128, 128, 255);
const Color Color::silver( 192, 192, 192, 255);
const Color Color::red( 255, 0, 0, 255);
const Color Color::lime( 0, 255, 0, 255);
const Color Color::yellow( 255, 255, 0, 255);
const Color Color::blue( 0, 0, 255, 255);
const Color Color::fuchsia( 255, 0, 255, 255);
const Color Color::aqua( 0, 255, 255, 255);
const Color Color::white( 255, 255, 255, 255);
Color Color::CreateFromValues(Environment &env, const ValueList &valList)
{
Signal &sig = env.GetSignal();
if (valList.empty()) {
Declaration::SetError_NotEnoughArguments(env);
return zero;
}
if (valList[0].Is_string() || valList[0].Is_symbol()) {
UChar a = 255;
if (valList.size() < 2) {
// nothing to do
} else if (valList[1].Is_number()) {
a = valList[1].GetUChar();
} else {
Declaration::SetError_InvalidArgument(env);
return zero;
}
const char *name = valList[0].Is_string()?
valList[0].GetString() : valList[0].GetSymbol()->GetName();
Color color = CreateNamedColor(env, name, a);
if (env.IsSignalled()) return zero;
return color;
} else if (valList[0].Is_number()) {
if (valList.size() < 3) {
Declaration::SetError_NotEnoughArguments(env);
return zero;
}
if (!valList[1].MustBe_number(sig)) return zero;
if (!valList[2].MustBe_number(sig)) return zero;
if (valList.size() < 4) {
return Color(valList[0].GetUChar(),
valList[1].GetUChar(),
valList[2].GetUChar(),
255);
} else {
if (!valList[3].MustBe_number(sig)) return zero;
return Color(valList[0].GetUChar(),
valList[1].GetUChar(),
valList[2].GetUChar(),
valList[3].GetUChar());
}
}
Declaration::SetError_InvalidArgument(env);
return zero;
}
Color Color::CreateNamedColor(Environment &env, const char *name, UChar a)
{
if (*name == '#') {
name++;
int nCols = 0;
UInt32 num = 0;
for ( ; *name != '\0'; name++, nCols++) {
char ch = *name;
if (IsDigit(ch)) {
num = (num << 4) + ch - '0';
} else if ('a' <= ch && ch <= 'f') {
num = (num << 4) + ch - 'a' + 10;
} else if ('A' <= ch && ch <= 'F') {
num = (num << 4) + ch - 'A' + 10;
} else {
env.SetError(ERR_ValueError, "invalid color name");
return zero;
}
}
UChar r, g, b;
if (nCols == 3) {
r = static_cast<UChar>((num >> 8) & 0xf) * 0x11;
g = static_cast<UChar>((num >> 4) & 0xf) * 0x11;
b = static_cast<UChar>((num >> 0) & 0xf) * 0x11;
} else if (nCols == 6) {
r = static_cast<UChar>((num >> 16) & 0xff);
g = static_cast<UChar>((num >> 8) & 0xff);
b = static_cast<UChar>((num >> 0) & 0xff);
} else {
env.SetError(ERR_ValueError, "invalid color name");
return zero;
}
return Color(r, g, b, a);
}
if (_pColorMap == nullptr) {
_pColorMap = new ColorMap();
for (size_t i = 0; i < ArraySizeOf(_elementEntries); i++) {
const ElementEntry &elementEntry = _elementEntries[i];
const Symbol *pSymbol = Symbol::Add(elementEntry.name);
(*_pColorMap)[pSymbol] = Color(elementEntry.r,
elementEntry.g, elementEntry.b);
}
}
const Symbol *pSymbol = Symbol::Add(name);
ColorMap::iterator iter = _pColorMap->find(pSymbol);
if (iter == _pColorMap->end()) {
env.SetError(ERR_ValueError, "unknown color name %s", pSymbol->GetName());
return zero;
}
Color color = iter->second;
color.SetA(a);
return color;
}
const Color::ElementEntry *Color::GetElementEntries(size_t *pCnt)
{
*pCnt = ArraySizeOf(_elementEntries);
return _elementEntries;
}
}
| [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
dc1dd82fbbb5df78f2edddf61868de6822a2b964 | 6d30c1840b2ddd01b8b81bc8639e051d9bf96b5e | /GalaxyQuest/Source/GalaxyQuest/Private/SingleStar/Beacon/C_Beacon_Item.cpp | bec9e5cf045295220ff81d7025ff3bc09844e4ee | [] | no_license | Vin-Han/GalaxyQuest | eba3bafd0a5ec6b5ed45a924c5143fe9a2d5c64c | c3b1a3b6794b1b30f58b1fcc948ec7d434618eb1 | refs/heads/master | 2022-12-03T17:33:10.413848 | 2020-08-13T22:22:53 | 2020-08-13T22:22:53 | 262,983,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,540 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "../Public/SingleStar/Beacon/C_Beacon_Item.h"
#include "../Public/SingleStar/Beacon/C_Source_Item.h"
#include "../Public/SingleStar/Character/C_SingleStarPlayerController.h"
#include "Components/TextBlock.h"
#include "Components/Slider.h"
#include "Components/Button.h"
bool UC_Beacon_Item::Initialize() {
if (!Super::Initialize())
{
return false;
}
Btn_Buy = Cast<UButton>(GetWidgetFromName(TEXT("Button_Buy")));
Text_Buy = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_Buy")));
Text_Name = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_Name")));
Text_Price = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_Price")));
Text_Count = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_Count")));
Text_BuyCount = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_BuyCount")));
Text_BuyPrice = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_BuyPrice")));
Text_CurCount = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_BuyCount_Const")));
Text_CurPrice = Cast<UTextBlock>(GetWidgetFromName(TEXT("TextBlock_BuyPrice_Const")));
Bar_Buy = Cast<USlider>(GetWidgetFromName(TEXT("Slider_Buy")));
Bar_Buy->OnValueChanged.AddDynamic(this,&UC_Beacon_Item::UpdateSlider);
return true;
}
void UC_Beacon_Item::UpdateSlider(float value)
{
if (targetItem)
{
targetItem->curCount = targetItem->totalCount * value;
targetItem->curPrice = targetItem->singlePrice * targetItem->curCount;
Text_BuyCount->SetText(FText::FromString(FString::FromInt(targetItem->curCount)));
Text_BuyPrice->SetText(FText::FromString(FString::FromInt(targetItem->curPrice)));
}
}
void UC_Beacon_Item::BuyItems()
{
if (targetItem && playerController)
{
AC_SingleStarPlayerController* tempCon = Cast<AC_SingleStarPlayerController>(playerController);
if (tempCon && tempCon->BuySource(targetItem))
{
targetItem->totalCount -= targetItem->curCount;
Text_Count->SetText(FText::FromString(FString::FromInt(targetItem->totalCount)));
UpdateSlider(0.0f);
Bar_Buy->SetValue(0.0f);
}
}
}
void UC_Beacon_Item::SellItems()
{
if (targetItem && playerController)
{
AC_SingleStarPlayerController* tempCon = Cast<AC_SingleStarPlayerController>(playerController);
if (tempCon && tempCon->SellSource(targetItem))
{
//targetItem->totalCount -= targetItem->curCount;
Text_Count->SetText(FText::FromString(FString::FromInt(targetItem->totalCount)));
UpdateSlider(0.0f);
Bar_Buy->SetValue(0.0f);
}
}
}
| [
"vinhanyi@gmail.com"
] | vinhanyi@gmail.com |
a6cbc4a008f403d7b1ca2dd3b2f288233d64ac3e | 8ee0be0b14ec99858712a5c37df4116a52cb9801 | /TGameCtrl/SplitHangul.h | b92d367de5a3418823abc891a915346ef64932de | [] | no_license | eRose-DatabaseCleaning/Sources-non-evo | 47968c0a4fd773d6ff8c9eb509ad19caf3f48d59 | 2b152f5dba3bce3c135d98504ebb7be5a6c0660e | refs/heads/master | 2021-01-13T14:31:36.871082 | 2019-05-24T14:46:41 | 2019-05-24T14:46:41 | 72,851,710 | 6 | 3 | null | 2016-11-14T23:30:24 | 2016-11-04T13:47:51 | C++ | UHC | C++ | false | false | 1,408 | h | /////////////////////////////////////////////////////////////////////////////////////////////
//
// 주어진 스트링을 주어진 길이의 스트링으로 분할하는 클래스
// 한글의 경우 정확한 분할이 필요하다..
//
// 사용법 : CSplitHangul( char* Str, int iLength )로 생성해서 사용하거나..
// 변수 선언후.. DoSplit( char* Str, int iLength ); 사용..
// 분리후에는 GetLineCount 로 라인 개수를 얻고..
// 각 라인에 대한 스트링은 GetString( Index ) 로 얻는다.
//
// 수정을 하셨거나.. 버그를 발견하시면.. jeddli 한테 애기해주세요...
//
// 2002. 9. 13 jeddli
//
/////////////////////////////////////////////////////////////////////////////////////////////
#ifndef _SPLITHANGUL_
#define _SPLITHANGUL_
#include "TGameCtrl.h"
#include <string>
#include <vector>
using namespace std;
class TGAMECTRL_API CSplitHangul
{
vector< string > m_StringList;
std::string m_strNull;
public:
CSplitHangul();
CSplitHangul( char* Str, int iLength ,unsigned uiCodePage );
~CSplitHangul();
int GetLineCount();
const char* GetString( int iIndex );
bool DoSplit( char* pStr, int iLength ,unsigned uiCodePage);
// 한글을 주어진 크기로 자른다..
bool SplitHangul( char* pStr, int iLength ,unsigned uiCodePage);
void Clear();
};
#endif //_SPLITHANGUL_ | [
"hugo.delannoy@hotmail.com"
] | hugo.delannoy@hotmail.com |
8e1d380e1a26446be024d24d9034f30461da05f2 | 555c9bead7bb00429179ef16f9ce0e89f7a2d302 | /WinFrotz/CPP/CScrollBack.cpp | 6b826486a83e61d482af75610daa8f94f58b647e | [] | no_license | MikeLanier/WinFrotz | ff8746d9072fb919109c262aa9cd60d49f0e2c69 | fc9defe535681d8a23c2a73b67925750935d0257 | refs/heads/master | 2021-02-22T14:02:36.316568 | 2017-09-29T13:59:24 | 2017-09-29T13:59:24 | 105,277,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,253 | cpp | // CScrollBack.cpp : implementation file
//
//*--------------------------------------------------------------------------
//| CScrollBack is basically a simple edit box window that is created full
//| size (covers entire underlying window) and is automatically positioned
//| at the end of input text. This is used in WinFrotz to cut review/copy
//| text that has gone to the primary window (win 0 in Z-Machine terms).
//*--------------------------------------------------------------------------
#include "../include/stdafx.h"
#include "../include/winfrotz.h"
#include "../include/CScrollBack.h"
#include "../include/windefs.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern "C" fontprops fpFonts[];
extern "C" char szBigBuffer[];
extern "C" int bbpos;
extern "C" int start_buffer_point;
extern "C" HWND hWnd;
/////////////////////////////////////////////////////////////////////////////
// CScrollBack dialog
CScrollBack::CScrollBack(CWnd* pParent /*=NULL*/)
: CDialog(CScrollBack::IDD, pParent)
{
//LOGFUNCTION
//{{AFX_DATA_INIT(CScrollBack)
//}}AFX_DATA_INIT
pEditBox = NULL;
stdFont = NULL;
}
void CScrollBack::DoDataExchange(CDataExchange* pDX)
{
//LOGFUNCTION
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CScrollBack)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CScrollBack, CDialog)
//{{AFX_MSG_MAP(CScrollBack)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CScrollBack message handlers
BOOL CScrollBack::OnInitDialog()
{
//LOGFUNCTION
CDialog::OnInitDialog();
pEditBox = (CEdit *)GetDlgItem( IDC_SCROLLEDIT );
ASSERT( pEditBox );
if( hWnd )
{
RECT rc;
::GetWindowRect( hWnd, &rc );
SetWindowPos( &wndTop, rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top, SWP_NOOWNERZORDER );
}
stdFont = new CFont;
stdFont->CreateFontIndirect( &fpFonts[STANDARD].lf );
szBigBuffer[bbpos] = 0;
if( start_buffer_point )
szBigBuffer[ start_buffer_point ] =0;
pEditBox->SetFont( stdFont, TRUE );
pEditBox->SetWindowText( szBigBuffer );
// What the hell? Why doesn't SetSel work here? I have to force this keyboard
// kludge to make the dialog scroll all the way to the last line. SetSel always
// positions on the NEXT to last line.
//pEditBox->SetSel( -1, 0, FALSE);
pEditBox->PostMessage( WM_KEYDOWN, (WPARAM)VK_END, (LPARAM)21954561L );
pEditBox->PostMessage( WM_KEYUP, (WPARAM)VK_END, (LPARAM)-1051787263L );
pEditBox->PostMessage( WM_VSCROLL, (WPARAM)SB_BOTTOM, (LPARAM)0L );
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CScrollBack::OnSize(UINT nType, int cx, int cy)
{
//LOGFUNCTION
CDialog::OnSize(nType, cx, cy);
//This assures that the edit box always fills the entire area of
//the dialog box in general
if( pEditBox )
{
pEditBox->SetWindowPos( &wndTop, 0, 0,
cx , cy ,
SWP_NOMOVE );
}
}
BOOL CScrollBack::DestroyWindow()
{
//LOGFUNCTION
//More properly put in the destructor but I wanted to catch the
//pEditBox pointer here.
pEditBox = NULL;
delete stdFont;
stdFont = NULL;
return CDialog::DestroyWindow();
}
| [
"Mike.Lanier1@comcast.net"
] | Mike.Lanier1@comcast.net |
721c74b070fa94e209d25e3269e20335de078bf7 | 02c7d317fbb2567ace1cfbf1b900e7ff57ff61e4 | /include/DummyComponent.hpp | e07c38569968ec1f77fa69026aab5c0f22ae39fd | [] | no_license | MarkOates/lightracer-max | 600287c6bb2076bf7c587b2f8b296bb8af6c0659 | e4f793b14d69dfbd508a1f4169e3d7318421cc53 | refs/heads/master | 2023-03-08T12:43:55.609748 | 2023-02-27T18:00:44 | 2023-02-27T18:00:44 | 217,900,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | hpp | #pragma once
#include <string>
class DummyComponent
{
private:
public:
DummyComponent();
~DummyComponent();
std::string run();
};
| [
"markoates0@gmail.com"
] | markoates0@gmail.com |
f53fca3c9abf39b7074079e4a260176397455da2 | db7113ccf879f32259ec276fde3d2e164bd80632 | /test/test.cpp | 7776f606ea2de3592e1bfc2f0c4327f15b606b76 | [] | no_license | alexstoick/pbs | 828fc495c48c1b2545b49c7779daf565e1142a60 | 2450cd4e41fa05bcad18d0a9a44412e76bb96000 | refs/heads/master | 2021-01-20T04:37:28.078542 | 2012-09-02T09:27:22 | 2012-09-02T09:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,651 | cpp | #include <conio.h>
#include <iostream.h>
#include <stdio.h>
#include<string.h>
#include <stdlib.h>
struct uni
{char nume[30], stat[30], zona[30];
float rata;
int nr;
};
FILE *f;
void meniu ()
{cout<<"1. sortati univeristatile dupa nume"<< endl;
cout<<"2. sortati universitatile dupa statul de provenienta"<<endl;
cout<<"3. sortati universitatile dupa tipul de zona universitara"<<endl;
cout<<"4. sortati universitatile dupa rata de admitere"<<endl;
cout<<"5. sortati universitatile dupa numarul de studenti undegrad admisi anual"<<endl;
}
void nume (uni u[], int n)
{int i, ok; uni aux;
for (i=0; i<=n-2; i++)
if (strcmp(u[i].nume, u[i+1].nume)>0)
{aux=u[i];
u[i]=u[i+1];
u[i+1]=aux;
}
for (i=0; i<=n-1; i++)
cout<<i+1<<". "<<u[i].nume<<" "<<u[i].stat<<" "<<u[i].zona<<" "<<u[i].rata<<" "<<u[i].nr<<endl;
}
void stat (uni u[], int n)
{int i, ok; uni aux;
for (i=0; i<=n-2; i++)
if (strcmp(u[i].stat, u[i+1].stat)>0)
{aux=u[i];
u[i]=u[i+1];
u[i+1]=aux;
}
for (i=0; i<=n-1; i++)
cout<<i+1<<". "<<u[i].nume<<" "<<u[i].stat<<" "<<u[i].zona<<" "<<u[i].rata<<" "<<u[i].nr<<endl;
}
void zona (uni u[], int n)
{int i, ok; uni aux;
for (i=0; i<=n-2; i++)
if (strcmp(u[i].zona, u[i+1].zona)>0)
{aux=u[i];
u[i]=u[i+1];
u[i+1]=aux;
}
for (i=0; i<=n-1; i++)
cout<<i+1<<". "<<u[i].nume<<" "<<u[i].stat<<" "<<u[i].zona<<" "<<u[i].rata<<" "<<u[i].nr<<endl;
}
void rata (uni u[], int n)
{int i, ok; uni aux;
do
{ok=0;
for (i=0; i<=n-2; i++)
if (u[i].rata>u[i+1].rata)
{aux=u[i];
u[i]=u[i+1];
u[i+1]=aux;
}
} while (ok==1);
for (i=0; i<=n-1; i++)
cout<<i+1<<". "<<u[i].nume<<" "<<u[i].stat<<" "<<u[i].zona<<" "<<u[i].rata<<" "<<u[i].nr<<endl;
}
void nr (uni u[], int n)
{int i, ok; uni aux;
do
{ok=0;
for (i=0; i<=n-2; i++)
if (u[i].nr> u[i+1].nr)
{aux=u[i];
u[i]=u[i+1];
u[i+1]=aux;
}
} while (ok==1);
for (i=0; i<=n-1; i++)
cout<<i+1<<". "<<u[i].nume<<" "<<u[i].stat<<" "<<u[i].zona<<" "<<u[i].rata<<" "<<u[i].nr<<endl;
}
void index (uni u[], int &n)
{int tasta; char r;
do
{
meniu ();
cout<<"tastati cifra corespunzatoare optiunii"<<endl;
cin>>tasta;
switch(tasta)
{case 1: {nume (u, n); break;}
case 2: {stat (u, n); break;}
case 3: {zona (u, n); break;}
case 4: {rata (u, n); break;}
case 5: {nr (u, n); break;}
default: cout<<"nu ati introdus cifra corecta"<<endl;
}
cout<<"daca doriti sa reveniti la meniul principal apasati r"<<endl;
cin>>r;
} while (r=='r');
}
int main()
{
int n, i, ok;
uni u[30]; uni aux;
f=fopen ("uni.in", "r");
fscanf (f, "%d", &n);
for (i=0; i<=n-1; i++)
fscanf (f, "%s %s %s %f %d", u[i].nume, u[i].stat, u[i].zona, &u[i].rata, &u[i].nr);
meniu();
index (u, n);
getch();
return 0 ;
}
| [
"alex_stoicajr@yahoo.co.uk"
] | alex_stoicajr@yahoo.co.uk |
3d9656b4d5ca7955217125b2ab70d7c6f629a30d | 42d07284ae88940b77f33b35b613c3dc1f1d5f49 | /9-30/Homework/count.cpp | 209e9bb94915a6341d5eb7f0e0fc3b48d0076cfd | [
"MIT"
] | permissive | Muxxs/DataHomework | f693eec04d863df4f480d4bf13461ab9a14aba19 | 3d8a9db72e36e6411624431c3cb8fa1197900e0a | refs/heads/master | 2023-01-28T14:50:33.203251 | 2020-12-06T12:34:11 | 2020-12-06T12:34:11 | 297,034,992 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | //
// Created by Muxxs on 2020/9/30.
//
#include "count.h"
#include <iostream>
void count(int m)
{
for(int i=0; i<m; i++){
pivot=pCur;
pCur=pivot->next;
}
} | [
"747306970@qq.com"
] | 747306970@qq.com |
291df303c3a4e86701474e02a6eb31f6d476c371 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /modules/svg/include/SkSVGRenderContext.h | fa834f80299f61ac13ceda18ce6333016da62b1c | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 6,708 | h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkSVGRenderContext_DEFINED
#define SkSVGRenderContext_DEFINED
#include "include/core/SkFontMgr.h"
#include "include/core/SkM44.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkRect.h"
#include "include/core/SkSize.h"
#include "include/core/SkTypes.h"
#include "include/private/SkTHash.h"
#include "modules/skresources/include/SkResources.h"
#include "modules/svg/include/SkSVGAttribute.h"
#include "modules/svg/include/SkSVGIDMapper.h"
#include "src/core/SkTLazy.h"
class SkCanvas;
class SkSVGLength;
class SkSVGLengthContext {
public:
SkSVGLengthContext(const SkSize& viewport, SkScalar dpi = 90)
: fViewport(viewport), fDPI(dpi) {}
enum class LengthType {
kHorizontal,
kVertical,
kOther,
};
const SkSize& viewPort() const { return fViewport; }
void setViewPort(const SkSize& viewport) { fViewport = viewport; }
SkScalar resolve(const SkSVGLength&, LengthType) const;
SkRect resolveRect(const SkSVGLength& x, const SkSVGLength& y,
const SkSVGLength& w, const SkSVGLength& h) const;
private:
SkSize fViewport;
SkScalar fDPI;
};
struct SkSVGPresentationContext {
SkSVGPresentationContext();
SkSVGPresentationContext(const SkSVGPresentationContext&) = default;
SkSVGPresentationContext& operator=(const SkSVGPresentationContext&) = default;
const SkTHashMap<SkString, SkSVGColorType>* fNamedColors = nullptr;
// Inherited presentation attributes, computed for the current node.
SkSVGPresentationAttributes fInherited;
};
class SkSVGRenderContext {
public:
// Captures data required for object bounding box resolution.
struct OBBScope {
const SkSVGNode* fNode;
const SkSVGRenderContext* fCtx;
};
SkSVGRenderContext(SkCanvas*, const sk_sp<SkFontMgr>&,
const sk_sp<skresources::ResourceProvider>&, const SkSVGIDMapper&,
const SkSVGLengthContext&, const SkSVGPresentationContext&,
const OBBScope&);
SkSVGRenderContext(const SkSVGRenderContext&);
SkSVGRenderContext(const SkSVGRenderContext&, SkCanvas*);
// Establish a new OBB scope. Normally used when entering a node's render scope.
SkSVGRenderContext(const SkSVGRenderContext&, const SkSVGNode*);
~SkSVGRenderContext();
const SkSVGLengthContext& lengthContext() const { return *fLengthContext; }
SkSVGLengthContext* writableLengthContext() { return fLengthContext.writable(); }
const SkSVGPresentationContext& presentationContext() const { return *fPresentationContext; }
SkCanvas* canvas() const { return fCanvas; }
void saveOnce();
enum ApplyFlags {
kLeaf = 1 << 0, // the target node doesn't have descendants
};
void applyPresentationAttributes(const SkSVGPresentationAttributes&, uint32_t flags);
// Scoped wrapper that temporarily clears the original node reference.
class BorrowedNode {
public:
explicit BorrowedNode(sk_sp<SkSVGNode>* node)
: fOwner(node) {
if (fOwner) {
fBorrowed = std::move(*fOwner);
*fOwner = nullptr;
}
}
~BorrowedNode() {
if (fOwner) {
*fOwner = std::move(fBorrowed);
}
}
const SkSVGNode* get() const { return fBorrowed.get(); }
const SkSVGNode* operator->() const { return fBorrowed.get(); }
const SkSVGNode& operator*() const { return *fBorrowed; }
explicit operator bool() const { return !!fBorrowed; }
private:
// noncopyable
BorrowedNode(const BorrowedNode&) = delete;
BorrowedNode& operator=(BorrowedNode&) = delete;
sk_sp<SkSVGNode>* fOwner;
sk_sp<SkSVGNode> fBorrowed;
};
// Note: the id->node association is cleared for the lifetime of the returned value
// (effectively breaks reference cycles, assuming appropriate return value scoping).
BorrowedNode findNodeById(const SkSVGIRI&) const;
SkTLazy<SkPaint> fillPaint() const;
SkTLazy<SkPaint> strokePaint() const;
SkSVGColorType resolveSvgColor(const SkSVGColor&) const;
// The local computed clip path (not inherited).
const SkPath* clipPath() const { return fClipPath.getMaybeNull(); }
const sk_sp<skresources::ResourceProvider>& resourceProvider() const {
return fResourceProvider;
}
sk_sp<SkFontMgr> fontMgr() const {
return fFontMgr ? fFontMgr : SkFontMgr::RefDefault();
}
// Returns the translate/scale transformation required to map into the current OBB scope,
// with the specified units.
struct OBBTransform {
SkV2 offset, scale;
};
OBBTransform transformForCurrentOBB(SkSVGObjectBoundingBoxUnits) const;
SkRect resolveOBBRect(const SkSVGLength& x, const SkSVGLength& y,
const SkSVGLength& w, const SkSVGLength& h,
SkSVGObjectBoundingBoxUnits) const;
private:
// Stack-only
void* operator new(size_t) = delete;
void* operator new(size_t, void*) = delete;
SkSVGRenderContext& operator=(const SkSVGRenderContext&) = delete;
void applyOpacity(SkScalar opacity, uint32_t flags, bool hasFilter);
void applyFilter(const SkSVGFuncIRI&);
void applyClip(const SkSVGFuncIRI&);
void applyMask(const SkSVGFuncIRI&);
SkTLazy<SkPaint> commonPaint(const SkSVGPaint&, float opacity) const;
const sk_sp<SkFontMgr>& fFontMgr;
const sk_sp<skresources::ResourceProvider>& fResourceProvider;
const SkSVGIDMapper& fIDMapper;
SkTCopyOnFirstWrite<SkSVGLengthContext> fLengthContext;
SkTCopyOnFirstWrite<SkSVGPresentationContext> fPresentationContext;
SkCanvas* fCanvas;
// The save count on 'fCanvas' at construction time.
// A restoreToCount() will be issued on destruction.
int fCanvasSaveCount;
// clipPath, if present for the current context (not inherited).
SkTLazy<SkPath> fClipPath;
// Deferred opacity optimization for leaf nodes.
float fDeferredPaintOpacity = 1;
// Current object bounding box scope.
const OBBScope fOBBScope;
};
#endif // SkSVGRenderContext_DEFINED
| [
"NearTox@outlook.com"
] | NearTox@outlook.com |
f6c4402309218373fea458bbc0f67591e4a71b46 | 53ecc33b649b22c4468f95e0d3ff6f0691288271 | /scratch/videoStreamer/videoStreamTest.cc | a90194369f9b9da250b4069c4554b13a6327f234 | [
"MIT"
] | permissive | migueldyaz/VideoStream-NS3 | 25ec65c74c3ff18260d5bc79e2bd2340fe9eb99d | f80c57607b6c38ba27a17e9a1667cbf2b3e6035d | refs/heads/main | 2023-01-30T11:43:36.934361 | 2020-12-08T00:35:22 | 2020-12-08T00:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,877 | cc | /*****************************************************
*
* File: videoStreamTest.cc
*
* Explanation: This script modifies the tutorial first.cc
* to test the video stream application.
*
*****************************************************/
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/applications-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"
#include "ns3/csma-module.h"
#include "ns3/netanim-module.h"
using namespace ns3;
//#define NS3_LOG_ENABLE
/**
* @brief The test cases include:
* 1. P2P network with 1 server and 1 client
* 2. P2P network with 1 server and 2 clients
* 3. Wireless network with 1 server and 3 mobile clients
* 4. Wireless network with 3 servers and 3 mobile clients
*/
#define CASE 1
NS_LOG_COMPONENT_DEFINE ("VideoStreamTest");
int
main (int argc, char *argv[])
{
CommandLine cmd;
cmd.Parse (argc, argv);
Time::SetResolution (Time::NS);
LogComponentEnable ("VideoStreamClientApplication", LOG_LEVEL_INFO);
LogComponentEnable ("VideoStreamServerApplication", LOG_LEVEL_INFO);
if (CASE == 1)
{
NodeContainer nodes;
nodes.Create (2);
PointToPointHelper pointToPoint;
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("100Mbps"));
pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer devices;
devices = pointToPoint.Install (nodes);
InternetStackHelper stack;
stack.Install (nodes);
Ipv4AddressHelper address;
address.SetBase ("10.1.1.0", "255.255.255.0");
Ipv4InterfaceContainer interfaces = address.Assign (devices);
VideoStreamClientHelper videoClient (interfaces.GetAddress (0), 5000);
ApplicationContainer clientApp = videoClient.Install (nodes.Get (1));
clientApp.Start (Seconds (0.5));
clientApp.Stop (Seconds (100.0));
VideoStreamServerHelper videoServer (5000);
videoServer.SetAttribute ("MaxPacketSize", UintegerValue (1400));
videoServer.SetAttribute ("FrameFile", StringValue ("./scratch/videoStreamer/frameList.txt"));
// videoServer.SetAttribute ("FrameSize", UintegerValue (4096));
ApplicationContainer serverApp = videoServer.Install (nodes.Get (0));
serverApp.Start (Seconds (0.0));
serverApp.Stop (Seconds (100.0));
pointToPoint.EnablePcap ("videoStream", devices.Get (1), false);
Simulator::Run ();
Simulator::Destroy ();
}
else if (CASE == 2)
{
NodeContainer nodes;
nodes.Create (3);
NodeContainer n0n1= NodeContainer (nodes.Get(0), nodes.Get(1));
NodeContainer n0n2= NodeContainer (nodes.Get(0), nodes.Get(2));
PointToPointHelper pointToPoint;
pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("2Mbps"));
pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));
NetDeviceContainer d0d1= pointToPoint.Install (n0n1);
NetDeviceContainer d0d2= pointToPoint.Install (n0n2);
InternetStackHelper stack;
stack.Install (nodes);
Ipv4AddressHelper address;
address.SetBase ("10.1.1.0", "255.255.255.0");
address.Assign (d0d1);
address.SetBase ("10.1.2.0", "255.255.255.0");
address.Assign (d0d2);
//Ipv4InterfaceContainer interfaces = address.Assign (devices);
Ipv4InterfaceContainer i0i1 = address.Assign (d0d1);
Ipv4InterfaceContainer i0i2 = address.Assign (d0d2);
VideoStreamClientHelper videoClient1 (i0i1.GetAddress (0), 5000);
ApplicationContainer clientApp1 = videoClient1.Install (nodes.Get (1));
clientApp1.Start (Seconds (1.0));
clientApp1.Stop (Seconds (100.0));
VideoStreamClientHelper videoClient2 (i0i2.GetAddress (0), 5000);
ApplicationContainer clientApp2 = videoClient2.Install (nodes.Get (2));
clientApp2.Start (Seconds (0.5));
clientApp2.Stop (Seconds (100.0));
VideoStreamServerHelper videoServer (5000);
videoServer.SetAttribute ("MaxPacketSize", UintegerValue (1400));
videoServer.SetAttribute ("FrameFile", StringValue ("./scratch/videoStreamer/small.txt"));
// videoServer.SetAttribute ("FrameSize", UintegerValue (4096));
ApplicationContainer serverApp = videoServer.Install (nodes.Get (0));
serverApp.Start (Seconds (0.0));
serverApp.Stop (Seconds (100.0));
pointToPoint.EnablePcap ("videoStream", d0d1.Get (1), false);
pointToPoint.EnablePcap ("videoStream", d0d2.Get (1), false);
Simulator::Run ();
Simulator::Destroy ();
}
else if (CASE == 3)
{
const uint32_t nWifi = 3, nAp = 1;
NodeContainer wifiStaNodes;
wifiStaNodes.Create (nWifi);
NodeContainer wifiApNode;
wifiApNode.Create(nAp);
YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
phy.SetChannel (channel.Create ());
WifiHelper wifi;
wifi.SetRemoteStationManager ("ns3::AarfWifiManager");
WifiMacHelper mac;
Ssid ssid = Ssid ("ns-3-aqiao");
mac.SetType ("ns3::StaWifiMac",
"Ssid", SsidValue (ssid),
"ActiveProbing", BooleanValue (false));
NetDeviceContainer staDevices;
staDevices = wifi.Install (phy, mac, wifiStaNodes);
mac.SetType ("ns3::ApWifiMac",
"Ssid", SsidValue (ssid));
NetDeviceContainer apDevices;
apDevices = wifi.Install (phy, mac, wifiApNode);
MobilityHelper mobility;
mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
"MinX", DoubleValue (0.0),
"MinY", DoubleValue (0.0),
"DeltaX", DoubleValue (30.0),
"DeltaY", DoubleValue (30.0),
"GridWidth", UintegerValue (2),
"LayoutType", StringValue ("RowFirst"));
mobility.SetMobilityModel ("ns3::RandomWalk2dMobilityModel", "Bounds", RectangleValue (Rectangle (-50, 50, -50, 50)));
mobility.Install (wifiStaNodes);
mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.Install (wifiApNode);
InternetStackHelper stack;
stack.Install (wifiApNode);
stack.Install (wifiStaNodes);
Ipv4AddressHelper address;
address.SetBase ("10.1.3.0", "255.255.255.0");
Ipv4InterfaceContainer apInterfaces;
apInterfaces = address.Assign (apDevices);
Ipv4InterfaceContainer wifiInterfaces;
wifiInterfaces=address.Assign (staDevices);
//UdpEchoServerHelper echoServer (9);
VideoStreamServerHelper videoServer (5000);
videoServer.SetAttribute ("MaxPacketSize", UintegerValue (1400));
videoServer.SetAttribute ("FrameFile", StringValue ("./scratch/videoStreamer/small.txt"));
for(uint m=0; m<nAp; m++)
{
ApplicationContainer serverApps = videoServer.Install (wifiApNode.Get (m));
serverApps.Start (Seconds (0.0));
serverApps.Stop (Seconds (100.0));
}
for(uint k=0; k<nWifi; k++)
{
VideoStreamClientHelper videoClient (apInterfaces.GetAddress (0), 5000);
ApplicationContainer clientApps =
videoClient.Install (wifiStaNodes.Get (k));
clientApps.Start (Seconds (0.5));
clientApps.Stop (Seconds (100.0));
}
Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
Simulator::Stop (Seconds (10.0));
phy.EnablePcap ("wifi-videoStream", apDevices.Get (0));
AnimationInterface anim("wifi-1-3.xml");
Simulator::Run ();
Simulator::Destroy ();
}
else if (CASE == 4)
{
const uint32_t nWifi = 3, nAp = 3;
NodeContainer wifiStaNodes;
wifiStaNodes.Create (nWifi);
NodeContainer wifiApNode;
wifiApNode.Create(nAp);
YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
phy.SetChannel (channel.Create ());
WifiHelper wifi;
wifi.SetRemoteStationManager ("ns3::AarfWifiManager");
WifiMacHelper mac;
Ssid ssid = Ssid ("ns-3-aqiao");
mac.SetType ("ns3::StaWifiMac",
"Ssid", SsidValue (ssid),
"ActiveProbing", BooleanValue (false));
NetDeviceContainer staDevices;
staDevices = wifi.Install (phy, mac, wifiStaNodes);
mac.SetType ("ns3::ApWifiMac",
"Ssid", SsidValue (ssid));
NetDeviceContainer apDevices;
apDevices = wifi.Install (phy, mac, wifiApNode);
MobilityHelper mobility;
mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
"MinX", DoubleValue (0.0),
"MinY", DoubleValue (0.0),
"DeltaX", DoubleValue (50.0),
"DeltaY", DoubleValue (30.0),
"GridWidth", UintegerValue (3),
"LayoutType", StringValue ("RowFirst"));
mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.Install (wifiApNode);
//mobility.SetMobilityModel ("ns3::RandomWalk2dMobilityModel",
// "Bounds", RectangleValue (Rectangle (-50, 50, -50, 50)));
//mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.Install (wifiStaNodes);
InternetStackHelper stack;
stack.Install (wifiApNode);
stack.Install (wifiStaNodes);
Ipv4AddressHelper address;
address.SetBase ("10.1.3.0", "255.255.255.0");
Ipv4InterfaceContainer apInterfaces;
apInterfaces = address.Assign (apDevices);
Ipv4InterfaceContainer wifiInterfaces;
wifiInterfaces=address.Assign (staDevices);
//UdpEchoServerHelper echoServer (9);
VideoStreamServerHelper videoServer (5000);
videoServer.SetAttribute ("MaxPacketSize", UintegerValue (1400));
videoServer.SetAttribute ("FrameFile", StringValue ("./scratch/videoStreamer/small.txt"));
for(uint m=0; m<nAp; m++)
{
ApplicationContainer serverApps = videoServer.Install (wifiApNode.Get (m));
serverApps.Start (Seconds (0.0));
serverApps.Stop (Seconds (100.0));
}
for(uint k=0; k<nWifi; k++)
{
VideoStreamClientHelper videoClient (apInterfaces.GetAddress (k), 5000);
ApplicationContainer clientApps =
videoClient.Install (wifiStaNodes.Get (k));
clientApps.Start (Seconds (0.5));
clientApps.Stop (Seconds (100.0));
}
Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
Simulator::Stop (Seconds (10.0));
phy.EnablePcap ("wifi-videoStream", apDevices.Get (0));
AnimationInterface anim("wifi-1-3.xml");
Simulator::Run ();
Simulator::Destroy ();
}
return 0;
}
| [
"liuguoxi888@gmail.com"
] | liuguoxi888@gmail.com |
46207799b2d386f18eda1cb926a264989d46b4c3 | fe0a5a9ed9746fd55f4e4044170eab925cb17cc3 | /Projet info/Projet_Graphique/Plain.h | ba55b4cf39ed122c2aba3a3cb6df8e4fc7b139e5 | [] | no_license | ilgha/infoh304-advance-wars | 4a2a76f1aba6bc8259329b6377c576062a917fdc | b1a8a05b90e1b704cfa98dd1562a915029074957 | refs/heads/master | 2021-10-08T19:50:19.307002 | 2018-12-16T22:58:27 | 2018-12-16T22:58:27 | 154,293,934 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h |
#ifndef PLAIN_H
#define PLAIN_H
#include "Land.h"
class Plain : public Land{
public:
Plain();
};
#endif //PLAIN_H
| [
"you@example.com"
] | you@example.com |
48d55283a35ecb592007b9a48fdc911d7a6e584f | 5233bfe654982a7551639ae676beea6b829f8f3e | /lib/RFDevice/src/RFTemplateNode.h | 635f168db17d1df5d0db308898268dbeaa7dacc7 | [] | no_license | damiandrzewicz/iots-rf-motion-sensor | 447b56b60cef4375e440813e441206dc804cad08 | 2316fb3fb51ba0adce1df5952a1dfef7c012d6b8 | refs/heads/master | 2023-09-03T09:08:35.991742 | 2021-11-08T23:59:34 | 2021-11-08T23:59:34 | 426,032,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | h | #pragma once
#include <Arduino.h>
#include <SPI.h>
#include <SPIFlash.h>
#include "DebugLogger.h"
#include "RFM69_ATC.h"
#include "LowPowerWrapper.h"
#define LED_PIN 9
#define FLASH_SS 8
class RFTemplateNode
{
public:
RFTemplateNode();
enum class WakeupMode{
Periodical,
Interrupt
};
virtual void setup();
virtual void loop();
protected:
RFM69_ATC &getRadio();
void setGatewayId(uint8_t gatewayId);
void setPeriodicalWakeupMode(uint32_t delay = 10000U);
void setInterruptedWakeupMode(uint8_t wakeupPin = 3);
virtual void initExtFlash();
virtual void sleepExtFlash();
virtual void initRadio() = 0;
virtual void initAdcReference();
virtual void initBatteryADC();
virtual void work();
virtual void sendRadioBuffer();
virtual void checkRadioBuffer();
virtual uint8_t buildNodeUniqueIdByte();
virtual void buildNodeUniqueIdHex(char *buffer);
virtual void appendSendBufferText(const char *data, bool lastItem = false);
virtual void appendSendBufferInt(int value, bool lastItem = false);
virtual void appendSendBufferFloat(double value, bool lastItem = false);
virtual void appendSendBufferDelimeter();
virtual uint16_t getBatteryADC();
virtual uint8_t getBtteryPercent();
private:
WakeupMode mode_ = WakeupMode::Periodical; // Default
unsigned long cycle_ = 0;
static constexpr uint8_t SendBufferSize = 100;
char sendBuffer_[SendBufferSize];
uint8_t gatewayId_ = 1;
uint8_t batteryADC_pin = A0;
uint32_t periodicalDelay_ = 10000U;
uint8_t interruptWakeup_pin_ = 3;
RFM69_ATC radio_;
SPIFlash flash_ = SPIFlash(FLASH_SS, 0xEF30);
bool isFlashInitialized = false;
}; | [
"damian.drzewicz@gmail.com"
] | damian.drzewicz@gmail.com |
7b2926e353e5e291aa8330358c731c447308a059 | b8385805f2d1a4b1b0888a6b440fc98baa66d25c | /cpp/etl/etl_test.cpp | ee5af03d5f4307fb91d9dd2e4d0e7d13a4c120c8 | [] | no_license | bcreane/exercism.io | 129a5e5bc61e15031108ca8e34f23b13751728d3 | 2de71caa8f0df14f9f08f6660b8b6ba44492520d | refs/heads/master | 2020-07-29T02:07:03.484374 | 2016-11-25T23:29:57 | 2016-11-25T23:29:57 | 66,419,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | #include "etl.h"
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include "boost_hack.h"
#include "require_equal_containers.h"
BOOST_AUTO_TEST_CASE(transforms_one_value)
{
const std::map<int, std::vector<char>> old{{1, {'A'}}};
const auto actual = etl::transform(old);
const std::map<char, int> expected{{'a', 1}};
REQUIRE_EQUAL_CONTAINERS(expected, actual);
}
BOOST_AUTO_TEST_CASE(transforms_more_values)
{
const std::map<int, std::vector<char>> old{{1, {'A', 'E', 'I', 'O', 'U'}}};
const auto actual = etl::transform(old);
const std::map<char, int> expected{{'a', 1}, {'e', 1}, {'i', 1}, {'o', 1}, {'u', 1}};
REQUIRE_EQUAL_CONTAINERS(expected, actual);
}
BOOST_AUTO_TEST_CASE(transforms_more_keys)
{
const std::map<int, std::vector<char>> old{{1, {'A', 'E'}}, {2, {'D', 'G'}}};
const auto actual = etl::transform(old);
const std::map<char, int> expected{{'a', 1}, {'e', 1}, {'d', 2}, {'g', 2}};
REQUIRE_EQUAL_CONTAINERS(expected, actual);
}
BOOST_AUTO_TEST_CASE(transforms_a_full_dataset)
{
const std::map<int, std::vector<char>> old{
{1, {'A', 'E', 'I', 'O', 'U', 'L', 'N', 'R', 'S', 'T'}},
{2, {'D', 'G'}},
{3, {'B', 'C', 'M', 'P'}},
{4, {'F', 'H', 'V', 'W', 'Y'}},
{5, {'K'}},
{8, {'J', 'X'}},
{10, {'Q', 'Z'}}
};
const auto actual = etl::transform(old);
const std::map<char, int> expected{
{'a', 1}, {'b', 3}, {'c', 3}, {'d', 2}, {'e', 1},
{'f', 4}, {'g', 2}, {'h', 4}, {'i', 1}, {'j', 8},
{'k', 5}, {'l', 1}, {'m', 3}, {'n', 1}, {'o', 1},
{'p', 3}, {'q', 10}, {'r', 1}, {'s', 1}, {'t', 1},
{'u', 1}, {'v', 4}, {'w', 4}, {'x', 8}, {'y', 4},
{'z', 10}
};
REQUIRE_EQUAL_CONTAINERS(expected, actual);
}
| [
"bcreane@gmail.com"
] | bcreane@gmail.com |
eb7f094c16c5aac3490c0d787ad7cb0ba4cc8a8b | b3ea5b77d96f00e88d6118498c63864769525fd9 | /Source/Envision/UpdateDlg.cpp | 4bcc699f583482be26cc2c327523795ac9c3ecfe | [] | no_license | radtek/Envision | 01e50f84a4b179bbf2450ff63d5112788d20179b | 279268bd58c133db32eacf432f176f5366a608ac | refs/heads/master | 2020-06-11T04:33:45.527215 | 2019-06-13T22:13:36 | 2019-06-13T22:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,276 | cpp | /*
This file is part of Envision.
Envision 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.
Envision 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 Envision. If not, see <http://www.gnu.org/licenses/>
Copywrite 2012 - Oregon State University
*/
// UpdateDlg.cpp : implementation file
//
#include "stdafx.h"
#pragma hdrstop
#include "Envision.h"
#include "UpdateDlg.h"
#include "afxdialogex.h"
#include <PathManager.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "WebServices\soapEnvWebServiceSoapProxy.h"
#include "WebServices\EnvWebServiceSoap.nsmap"
#include "EnvDoc.h"
extern CEnvDoc *gpDoc;
// UpdateDlg dialog
IMPLEMENT_DYNAMIC(UpdateDlg, CDialogEx)
UpdateDlg::UpdateDlg(CWnd* pParent /*=NULL*/)
: CDialogEx(UpdateDlg::IDD, pParent)
, m_disable(FALSE)
{
}
UpdateDlg::~UpdateDlg()
{
m_updateFont.DeleteObject();
}
void UpdateDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_VERSION, m_versionInfo);
DDX_Check(pDX, IDC_DISABLE, m_disable);
DDX_Control(pDX, IDC_STUDYAREAS, m_studyAreas);
DDX_Control(pDX, IDC_UPDATETEXT, m_updateText);
}
BEGIN_MESSAGE_MAP(UpdateDlg, CDialogEx)
END_MESSAGE_MAP()
// UpdateDlg message handlers
bool UpdateDlg::Init( void )
{
#if defined( _WIN64 )
char *build = "x64";
#else
char *build = "Win32";
#endif
EnvWebServiceSoapProxy service;
_ns1__GetEnvisionVersion g;
_ns1__GetEnvisionVersionResponse r;
g.build = build;
if ( service.GetEnvisionVersion( &g, &r ) != SOAP_OK )
{
Report::Log( "Unable to connect to Envision Update Service, updating services will be disabled for this session" );
return false;
}
int webVersion = (int) r.GetEnvisionVersionResult; // e.g. 6101
int webMajVer = webVersion / 1000;
int webMinVer = webVersion % 1000;
// get local version from version.txt
// first, ENVISION.EXE executable directory
TCHAR _exePath[ MAX_PATH ]; // Envision exe directory e.g. _path = "D:\Envision\src\x64\Debug\Envision.exe"
GetModuleFileName( NULL, _exePath, MAX_PATH );
CPath exePath( _exePath, epcTrim | epcSlashToBackslash );
exePath.RemoveFileSpec(); // e.g. c:\Envision - directory for executables
// try to open version file. Note that for internal use, envision.ver will be in Envision or Envision\x64
CPath versionFile( exePath ); // d:\envision\x64\debug for internal builds
// is this a debug/release build (as opposed to an instlled version)? If so, don't check for updates.
CString strPath( exePath );
strPath.MakeLower();
bool isDebugOrRelease = strPath.Find( "debug" ) >= 0 || strPath.Find( "release" ) >= 0 ? true : false;
// if an internal build, adjust for envision.ver location
if ( isDebugOrRelease )
{
#if defined( _WIN64 )
versionFile = "\\Envision\\src\\x64";
#else
versionFile = "\\Envision\\src";
#endif
//return false;
}
// first try envision.ver.
versionFile.AddBackslash();
versionFile.Append( "Envision.ver" );
FILE *fp = NULL;
fopen_s( &fp, versionFile, "rt" );
if ( fp == NULL )
{
CPath versionFile2( exePath );
versionFile2.AddBackslash();
versionFile2.Append( "version.txt" );
fopen_s( &fp, versionFile2, "rt" );
if ( fp == NULL )
{
CString msg;
msg.Format( "Unable to open version file '%s', updating services will be disabled for this session.", (LPCTSTR) versionFile );
Report::Log( msg );
return false;
}
}
int majVer, minVer;
fscanf_s( fp, "%i.%i", &majVer, &minVer );
fclose( fp );
int version = majVer*1000 + minVer;
if ( version >= webVersion ) // is the local version more recent than the web version? if so, no update necessary
{
CString msg;
msg.Format( "Envision Update Services reports your version (%i.%i) is current.", majVer, minVer );
Report::Log( msg );
return false;
}
_ns1__GetEnvisionSetupDateTime g1;
_ns1__GetEnvisionSetupDateTimeResponse r1;
g1.build = build;
if ( service.GetEnvisionSetupDateTime( &g1, &r1 ) != SOAP_OK )
return false;
// number of seconds elapsed since midnight, January 1, 1970.
time_t setupTime = r1.GetEnvisionSetupDateTimeResult; // UTC time setup file was last modified
// get ENVISION.EXE executable path
TCHAR path[ MAX_PATH ]; // e.g. _path = "D:\Envision\src\x64\Debug\Envision.exe"
GetModuleFileName( NULL, path, MAX_PATH );
// get time stamps for file
struct _tstat buf;
int result = _tstat( path, &buf );
// Check if statistics are valid:
if( result != 0 )
return false;
time_t exeTime = buf.st_mtime;
tm tmSetup;
tm tmExe;
localtime_s( &tmSetup, &setupTime );
localtime_s( &tmExe, &exeTime );
m_updateMsg.Format( "Checking for updates: Your Envision version (%i.%i) was built %i/%i/%i; the website version (%i.%i) was created %i/%i/%i.",
majVer, minVer, tmExe.tm_mon+1, tmExe.tm_mday, tmExe.tm_year+1900,
webMajVer, webMinVer, tmSetup.tm_mon+1, tmSetup.tm_mday, tmSetup.tm_year+1900 );
Report::Log( m_updateMsg );
if ( setupTime <= ( exeTime ) ) // + (7*60*60*24) ) ) // allow seven day gap
{
return false;
}
m_updateMsg.Format( "Your version (%i.%i) was built %i/%i/%i; a new version (%i.%i) created %i/%i/%i is available. Do you want to update?",
majVer, minVer, tmExe.tm_mon+1, tmExe.tm_mday, tmExe.tm_year+1900,
webMajVer, webMinVer, tmSetup.tm_mon+1, tmSetup.tm_mday, tmSetup.tm_year+1900 );
CString envPath( exePath );
int index = envPath.Find( "Envision" );
if ( index > 0 )
{
CPath envPath2( envPath.Left( index + lstrlen( "Envision" ) ) );
envPath2.AddBackslash();
envPath2.Append( "StudyAreas\\" );
CPath envPath3( envPath2 );
envPath2.Append( "*.*" );
// now pointing to studyareas folder, see if there are any subdirectories with envx files.
// enumerate subdirectories
WIN32_FIND_DATA findFileData;
HANDLE hFind = FindFirstFile( envPath2, &findFileData );
int count = 0;
if ( hFind != INVALID_HANDLE_VALUE )
{
do {
// Find first file will always return "." and ".." as the first two directories.
if ( lstrcmp(findFileData.cFileName, ".") != 0 && lstrcmp( findFileData.cFileName, "..") != 0
&& findFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY )
{
// Build up our file path using the StudyAreas folder and the subDir we just found
// [sDir] and the file/foldername we just found:
StudyAreaInfo *pInfo = new StudyAreaInfo;
pInfo->m_path = envPath3;
pInfo->m_path += findFileData.cFileName;
// look for version info
// TODO
pInfo->m_name = findFileData.cFileName;
pInfo->m_localVer = "v0.0";
pInfo->m_webVer = "v0.0";
m_saArray.Add( pInfo );
} // end of: if ( subdirectory )
} while ( FindNextFile( hFind, &findFileData ) != 0 ); //Find the next file.
FindClose(hFind); //Always, Always, clean things up!
} // end of: if ( hFind != INVALID_FILE_HANDLE )
}
// check registry to see if the dialog is diabled
// get values from registry
HKEY key;
LONG result2 = RegOpenKeyEx( HKEY_CURRENT_USER,
"SOFTWARE\\OSU Biosystems Analysis Group\\Envision",
0, KEY_QUERY_VALUE, &key );
if ( result2 == ERROR_SUCCESS )
{
DWORD checkForUpdates;
DWORD length = sizeof( DWORD);
result = RegQueryValueEx( key, "CheckForUpdates", NULL, NULL, (LPBYTE) &checkForUpdates, &length );
if ( result == ERROR_SUCCESS )
m_disable = checkForUpdates ? false : true;
else
m_disable = false;
RegCloseKey( key );
}
return true;
}
BOOL UpdateDlg::OnInitDialog()
{
CDialogEx::OnInitDialog();
m_updateFont.CreatePointFont( 140, "Arial" );
m_updateText.SetFont( &m_updateFont, false );
m_versionInfo.SetWindowText( m_updateMsg );
// set up installed study areas
CRect rect;
m_studyAreas.GetClientRect(&rect);
m_studyAreas.InsertColumn( 0, _T("Study Area"), LVCFMT_LEFT, rect.right/2 );
m_studyAreas.InsertColumn( 1, _T("Current Version"), LVCFMT_LEFT, rect.right/4 );
m_studyAreas.InsertColumn( 2, _T("Web Version"), LVCFMT_LEFT, rect.right/4 );
// insert study areas - need to search Envision study area directories. We assume it is located "below" the "Envision" path
for ( int i=0; i < (int) m_saArray.GetSize(); i++ )
{
StudyAreaInfo *pInfo = m_saArray[ i ];
/// Insert the first item
LVITEM lvi;
lvi.mask = LVIF_TEXT;
lvi.iItem = i;
lvi.iSubItem = 0;
lvi.pszText = (LPSTR)(LPCTSTR) pInfo->m_name;
m_studyAreas.InsertItem(&lvi);
// Set subitem 1
lvi.iSubItem =1;
lvi.pszText = (LPSTR)(LPCTSTR) pInfo->m_localVer;
m_studyAreas.SetItem(&lvi);
// Set subitem 2
lvi.iSubItem =2;
lvi.pszText = (LPSTR)(LPCTSTR) pInfo->m_webVer;
m_studyAreas.SetItem(&lvi);
} // end of: if ( subdirectory )
return TRUE;
}
void UpdateDlg::OnCancel()
{
SaveUpdateStatusToReg();
CDialogEx::OnCancel();
}
void UpdateDlg::OnOK()
{
SaveUpdateStatusToReg();
CDialogEx::OnOK();
}
void UpdateDlg::SaveUpdateStatusToReg( void )
{
UpdateData( 1 ); // updates m_disable
// store flag in registry
HKEY key;
LONG result = RegCreateKeyEx( HKEY_CURRENT_USER,
"SOFTWARE\\OSU Biosystems Analysis Group\\Envision",
0, // reserved, must be zero
NULL,
0,
KEY_READ | KEY_WRITE,
NULL,
&key,
NULL );
if ( result != ERROR_SUCCESS )
{
DWORD error = GetLastError();
char buffer[ 256 ];
FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, 0, error, 0, buffer, 256, NULL );
Report::WarningMsg( buffer );
}
else
{
DWORD checkForUpdates = m_disable ? 0 : 1;
result = RegSetValueEx( key, "CheckForUpdates", 0, REG_DWORD, (LPBYTE) &checkForUpdates, sizeof(DWORD) );
RegCloseKey( key );
}
}
| [
"noreply@github.com"
] | noreply@github.com |
a43f89db1890867fc11d3893ab302b1cd22c87c0 | b2ab84b6b1f64f03bf8c8abb5935d4f89d058831 | /test/containers/unord/unord.map/unord.map.cnstr/range_size.pass.cpp | be95643f2023d3ea6df2744e648b1014f888baad | [
"MIT",
"NCSA"
] | permissive | lygstate/libcxx | 47b30948efb3cdbfebe3702713ed805d227ca124 | e6125bdeae72af590af7cfa2ca6cfb2602a6c6cf | refs/heads/master | 2020-04-03T06:40:54.343421 | 2011-09-19T16:34:29 | 2011-09-19T16:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <unordered_map>
// template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
// class Alloc = allocator<pair<const Key, T>>>
// class unordered_map
// template <class InputIterator>
// unordered_map(InputIterator first, InputIterator last, size_type n);
#include <unordered_map>
#include <string>
#include <cassert>
#include "../../../iterators.h"
#include "../../../NotConstructible.h"
#include "../../../test_compare.h"
#include "../../../test_hash.h"
#include "../../../test_allocator.h"
int main()
{
{
typedef std::unordered_map<int, std::string,
test_hash<std::hash<int> >,
test_compare<std::equal_to<int> >,
test_allocator<std::pair<const int, std::string> >
> C;
typedef std::pair<int, std::string> P;
P a[] =
{
P(1, "one"),
P(2, "two"),
P(3, "three"),
P(4, "four"),
P(1, "four"),
P(2, "four"),
};
C c(input_iterator<P*>(a), input_iterator<P*>(a + sizeof(a)/sizeof(a[0])),
10
);
assert(c.bucket_count() == 11);
assert(c.size() == 4);
assert(c.at(1) == "one");
assert(c.at(2) == "two");
assert(c.at(3) == "three");
assert(c.at(4) == "four");
assert(c.hash_function() == test_hash<std::hash<int> >());
assert(c.key_eq() == test_compare<std::equal_to<int> >());
assert(c.get_allocator() ==
(test_allocator<std::pair<const int, std::string> >()));
assert(!c.empty());
assert(std::distance(c.begin(), c.end()) == c.size());
assert(std::distance(c.cbegin(), c.cend()) == c.size());
assert(c.load_factor() == (float)c.size()/c.bucket_count());
assert(c.max_load_factor() == 1);
}
}
| [
"hhinnant@apple.com"
] | hhinnant@apple.com |
5047d056d048cf8870706d347099241ec41ba088 | f9f9deed1b29455f75a3986478f828d971d0ec5e | /SDK/PUBGM_AndroidMediaFactory_functions.cpp | eb2bf20fc6faf19b9cdd0fbd1580df93c923b4bc | [] | no_license | etsiry/Pubg-mobile-bullet-tracking | ac1c70b06a266878e324f9686ef86557fc5915d8 | eba9f6b914fd3656ae71e02ad96b12dc3e5cafb3 | refs/heads/main | 2023-08-25T04:40:25.154377 | 2021-10-05T09:25:05 | 2021-10-05T09:25:05 | 413,748,508 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | // PlayerUnknown's Battle Ground Mobile (1.4.0) SDK
#include "PUBGM_AndroidMediaFactory_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
| [
"ramisiharison@yahoo.fr"
] | ramisiharison@yahoo.fr |
cc9d2e430cf8109c201730f870be4eab3699c737 | ba10da4be74ba4e472bbe4b51d411627fc07bdbf | /build/iOS/Preview/include/Fuse.App.RootViewHost.h | ac04c25daa34f227e5eda6949ae00ea35dd2aaef | [] | no_license | ericaglimsholt/gadden | 80f7c7b9c3c5c46c2520743dc388adbad549c679 | daef25c11410326f067c896c242436ff1cbd5df0 | refs/heads/master | 2021-07-03T10:07:58.451759 | 2017-09-05T18:11:47 | 2017-09-05T18:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | // This file was generated based on '/Users/ericaglimsholt/Library/Application Support/Fusetools/Packages/Fuse.iOS/1.0.5/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Controls.INativeViewRoot.h>
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Controls{namespace Native{struct ViewHandle;}}}}
namespace g{namespace Fuse{struct App__RootViewHost;}}
namespace g{
namespace Fuse{
// private sealed class App.RootViewHost :115
// {
struct App__RootViewHost_type : uType
{
::g::Fuse::Controls::INativeViewRoot interface0;
};
App__RootViewHost_type* App__RootViewHost_typeof();
void App__RootViewHost__ctor__fn(App__RootViewHost* __this);
void App__RootViewHost__FuseControlsINativeViewRootAdd_fn(App__RootViewHost* __this, ::g::Fuse::Controls::Native::ViewHandle* handle);
void App__RootViewHost__FuseControlsINativeViewRootRemove_fn(App__RootViewHost* __this, ::g::Fuse::Controls::Native::ViewHandle* handle);
void App__RootViewHost__New1_fn(App__RootViewHost** __retval);
struct App__RootViewHost : uObject
{
void ctor_();
static App__RootViewHost* New1();
};
// }
}} // ::g::Fuse
| [
"ericaglimsholt@hotmail.com"
] | ericaglimsholt@hotmail.com |
ce6c09902b724621985fcf4b47a0577b2fa51c82 | 258f19a1ea6311460b3fff4b97e9c40faf41fc3c | /Qt_Core_IM_46/Qt_Core_IM_46/test.h | aa734b8ec0a172e6f23ef216f82dc512fe4517d1 | [] | no_license | 8BitsCoding/Qt_Core_IM | 18407a92aa223fb28785fc2ce9f802882a294ba1 | b6dd9340fbddffd5f3be90eca307bc653979ce8e | refs/heads/master | 2022-03-26T12:02:40.096159 | 2019-11-25T10:11:30 | 2019-11-25T10:11:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include <QObject>
#include <qdebug.h>
#include <qtimer.h>
#include <qtimezone.h>
class test : public QObject
{
Q_OBJECT
public:
explicit test(QObject *parent = nullptr);
~test();
signals:
public slots:
void timeout();
void dostuff();
private:
QTimer timer;
int number;
};
| [
"taehyeong77@naver.com"
] | taehyeong77@naver.com |
0ba9a6ec447da91005d64d8c5e39ae2dc8738a59 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Query/queryCompareGameDataFloat.h | 3dfb9124a6c80959da36c6a021428849fe39ab63 | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 587 | h | #pragma once
#include "KingSystem/ActorSystem/actAiQuery.h"
namespace uking::query {
class CompareGameDataFloat : public ksys::act::ai::Query {
SEAD_RTTI_OVERRIDE(CompareGameDataFloat, Query)
public:
explicit CompareGameDataFloat(const InitArg& arg);
~CompareGameDataFloat() override;
int doQuery() override;
void loadParams() override;
void loadParams(const evfl::QueryArg& arg) override;
protected:
sead::SafeString mGameDataFloatName_A{};
sead::SafeString mOperator{};
sead::SafeString mGameDataFloatName_B{};
};
} // namespace uking::query
| [
"leo@leolam.fr"
] | leo@leolam.fr |
cf1722d7c1ff9f7d03f8dc3291595b0c169f57c0 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-qt5-qhttpengine-server/generated/server/src/models/OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties.cpp | 935ec5f398de435f44129b443e9de5ff943334ff | [
"Apache-2.0",
"MIT"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 5,756 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties.h"
#include "OAIHelpers.h"
#include <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
namespace OpenAPI {
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties(QString json) {
this->fromJson(json);
}
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties() {
this->init();
}
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::~OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties() {
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::init() {
m_filepattern_isSet = false;
m_device_groups_isSet = false;
m_build_page_nodes_isSet = false;
m_build_client_libs_isSet = false;
m_build_canvas_component_isSet = false;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::fromJson(QString jsonString) {
QByteArray array (jsonString.toStdString().c_str());
QJsonDocument doc = QJsonDocument::fromJson(array);
QJsonObject jsonObject = doc.object();
this->fromJsonObject(jsonObject);
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::fromJsonObject(QJsonObject json) {
::OpenAPI::fromJsonValue(filepattern, json[QString("filepattern")]);
::OpenAPI::fromJsonValue(device_groups, json[QString("device.groups")]);
::OpenAPI::fromJsonValue(build_page_nodes, json[QString("build.page.nodes")]);
::OpenAPI::fromJsonValue(build_client_libs, json[QString("build.client.libs")]);
::OpenAPI::fromJsonValue(build_canvas_component, json[QString("build.canvas.component")]);
}
QString
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::asJson () const {
QJsonObject obj = this->asJsonObject();
QJsonDocument doc(obj);
QByteArray bytes = doc.toJson();
return QString(bytes);
}
QJsonObject
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::asJsonObject() const {
QJsonObject obj;
if(filepattern.isSet()){
obj.insert(QString("filepattern"), ::OpenAPI::toJsonValue(filepattern));
}
if(device_groups.isSet()){
obj.insert(QString("device.groups"), ::OpenAPI::toJsonValue(device_groups));
}
if(build_page_nodes.isSet()){
obj.insert(QString("build.page.nodes"), ::OpenAPI::toJsonValue(build_page_nodes));
}
if(build_client_libs.isSet()){
obj.insert(QString("build.client.libs"), ::OpenAPI::toJsonValue(build_client_libs));
}
if(build_canvas_component.isSet()){
obj.insert(QString("build.canvas.component"), ::OpenAPI::toJsonValue(build_canvas_component));
}
return obj;
}
OAIConfigNodePropertyString
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::getFilepattern() const {
return filepattern;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::setFilepattern(const OAIConfigNodePropertyString &filepattern) {
this->filepattern = filepattern;
this->m_filepattern_isSet = true;
}
OAIConfigNodePropertyArray
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::getDeviceGroups() const {
return device_groups;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::setDeviceGroups(const OAIConfigNodePropertyArray &device_groups) {
this->device_groups = device_groups;
this->m_device_groups_isSet = true;
}
OAIConfigNodePropertyBoolean
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::getBuildPageNodes() const {
return build_page_nodes;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::setBuildPageNodes(const OAIConfigNodePropertyBoolean &build_page_nodes) {
this->build_page_nodes = build_page_nodes;
this->m_build_page_nodes_isSet = true;
}
OAIConfigNodePropertyBoolean
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::getBuildClientLibs() const {
return build_client_libs;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::setBuildClientLibs(const OAIConfigNodePropertyBoolean &build_client_libs) {
this->build_client_libs = build_client_libs;
this->m_build_client_libs_isSet = true;
}
OAIConfigNodePropertyBoolean
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::getBuildCanvasComponent() const {
return build_canvas_component;
}
void
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::setBuildCanvasComponent(const OAIConfigNodePropertyBoolean &build_canvas_component) {
this->build_canvas_component = build_canvas_component;
this->m_build_canvas_component_isSet = true;
}
bool
OAIComDayCqWcmDesignimporterImplMobileCanvasBuilderImplProperties::isSet() const {
bool isObjectUpdated = false;
do{
if(filepattern.isSet()){ isObjectUpdated = true; break;}
if(device_groups.isSet()){ isObjectUpdated = true; break;}
if(build_page_nodes.isSet()){ isObjectUpdated = true; break;}
if(build_client_libs.isSet()){ isObjectUpdated = true; break;}
if(build_canvas_component.isSet()){ isObjectUpdated = true; break;}
}while(false);
return isObjectUpdated;
}
}
| [
"cliffano@gmail.com"
] | cliffano@gmail.com |
ed59c1dce8e10da3dd95a16918b8d93813d3deea | c27e4bae6ff1d0c2e9d4c5b4e89a720c06063aa5 | /src/qt/platformstyle.h | 360d090fbe17a1a72a2e7be9b974eb58d2bbb930 | [
"MIT"
] | permissive | cryptomiles/cryptomiles | b747c8ebdd0aa11169a9e7b6e6f56f70525cc75f | d3815eaf7716fbca9459f4162ae7ba4714298d27 | refs/heads/master | 2020-04-21T16:53:19.359673 | 2019-02-08T14:48:47 | 2019-02-08T14:48:47 | 169,717,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,799 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Copyright (c) 2017 The Cryptomiles Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CRYPTOMILES_QT_PLATFORMSTYLE_H
#define CRYPTOMILES_QT_PLATFORMSTYLE_H
#include <QIcon>
#include <QPixmap>
#include <QString>
extern bool darkModeEnabled;
/* Coin network-specific GUI style information */
class PlatformStyle
{
public:
/** Get style associated with provided platform name, or 0 if not known */
static const PlatformStyle *instantiate(const QString &platformId);
const QString &getName() const { return name; }
bool getImagesOnButtons() const { return imagesOnButtons; }
bool getUseExtraSpacing() const { return useExtraSpacing; }
QColor TextColor() const;
QColor ToolBarSelectedTextColor() const;
QColor ToolBarNotSelectedTextColor() const;
QColor SingleColor() const;
QColor MainBackGroundColor() const;
QColor TopWidgetBackGroundColor() const;
QColor WidgetBackGroundColor() const;
QColor SendEntriesBackGroundColor() const;
QColor ShadowColor() const;
QColor LightBlueColor() const;
QColor DarkBlueColor() const;
QColor LightOrangeColor() const;
QColor DarkOrangeColor() const;
/** Colorize an image (given filename) with the icon color */
QImage SingleColorImage(const QString& filename) const;
/** Colorize an icon (given filename) with the icon color */
QIcon SingleColorIcon(const QString& filename) const;
/** Colorize an icon (given object) with the icon color */
QIcon SingleColorIcon(const QIcon& icon) const;
/** Colorize an icon (given object) with the (given color) */
QIcon SingleColorIcon(const QIcon& icon, const QColor& color) const;
/** Set icon with two states on and off */
QIcon SingleColorIconOnOff(const QString& filenameOn, const QString& filenameOff) const;
/** Colorize an icon (given filename) with the text color */
QIcon TextColorIcon(const QString& filename) const;
/** Colorize an icon (given object) with the text color */
QIcon TextColorIcon(const QIcon& icon) const;
/** Colorize an icon (given filename) with the color dark orange */
QIcon OrangeColorIcon(const QString& filename) const;
/** Colorize an icon (given object) with the color dark orange */
QIcon OrangeColorIcon(const QIcon& icon) const;
private:
PlatformStyle(const QString &name, bool imagesOnButtons, bool colorizeIcons, bool useExtraSpacing);
QString name;
bool imagesOnButtons;
bool colorizeIcons;
bool useExtraSpacing;
QColor singleColor;
QColor textColor;
/* ... more to come later */
};
#endif // CRYPTOMILES_QT_PLATFORMSTYLE_H
| [
"admin@cryptomiles.club"
] | admin@cryptomiles.club |
f9828f2d38dd1414933963af8f9ff1488cd56639 | 27ebc7adb261225341eaf995ae181e5530f311f9 | /Code/BZOJ/1083.cpp | 006469ee47cecf28f1b392b8e2e42c49c4b56980 | [] | no_license | Hermera/OI | 9ecf1d5545701afeb3273d9be720cf3e16643c14 | d8a79de409065c790ca0ad3019ca1d2ea7550b34 | refs/heads/master | 2021-06-21T05:44:34.805477 | 2021-06-09T17:17:11 | 2021-06-09T17:17:11 | 93,643,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
const int maxn = 305;
const int maxm = 305*305;
int N, M, fa[maxn];
struct Data { int u, v, w; } data[maxm];
inline int read()
{
char ch = getchar(); int sum = 0;
while(ch < '0' || ch > '9') ch = getchar();
while(ch >= '0' && ch <= '9') sum = sum*10 + ch - '0', ch = getchar();
return sum;
}
int Find(int x) { return fa[x] == x ? x : fa[x] = Find(fa[x]); }
bool Union(int x, int y)
{
x = Find(x); y = Find(y);
if(x == y) return false;
fa[x] = y; return true;
}
bool cmp(Data a, Data b) { return a.w < b.w; }
int main()
{
N = read(), M = read();
for(int i = 1; i <= N; ++i) fa[i] = i;
for(int i = 1, u, v, w; i <= M; ++i)
u = read(), v = read(), w = read(), data[i] = (Data){u, v, w};
sort(data+1, data+M+1, cmp);
for(int i = 1, tot = 0; i <= M; ++i)
if(Union(data[i].u, data[i].v))
if(++tot == N-1)
{ printf("%d %d\n", N-1, data[i].w); return 0; }
return 0;
}
| [
"1150168343@qq.com"
] | 1150168343@qq.com |
c455a6e522f1e89dc9e2537cb534e508826af5ce | fad392b7b1533103a0ddcc18e059fcd2e85c0fda | /build/px4_msgs/rosidl_typesupport_cpp/px4_msgs/msg/yaw_estimator_status__type_support.cpp | c0b0384f0b8d5d0d57dc497d44b9ad36862b5b32 | [] | no_license | adamdai/px4_ros_com_ros2 | bee6ef27559a3a157d10c250a45818a5c75f2eff | bcd7a1bd13c318d69994a64215f256b9ec7ae2bb | refs/heads/master | 2023-07-24T18:09:24.817561 | 2021-08-23T21:47:18 | 2021-08-23T21:47:18 | 399,255,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | // generated from rosidl_typesupport_cpp/resource/idl__type_support.cpp.em
// with input from px4_msgs:msg/YawEstimatorStatus.idl
// generated code does not contain a copyright notice
#include "cstddef"
#include "rosidl_generator_c/message_type_support_struct.h"
#include "px4_msgs/msg/yaw_estimator_status__struct.hpp"
#include "rosidl_typesupport_cpp/message_type_support.hpp"
#include "rosidl_typesupport_cpp/visibility_control.h"
#include "px4_msgs/msg/yaw_estimator_status__rosidl_typesupport_fastrtps_cpp.hpp"
namespace rosidl_typesupport_cpp
{
template<>
ROSIDL_TYPESUPPORT_CPP_PUBLIC
const rosidl_message_type_support_t *
get_message_type_support_handle<px4_msgs::msg::YawEstimatorStatus>()
{
return ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_fastrtps_cpp, px4_msgs, msg, YawEstimatorStatus)();
}
#ifdef __cplusplus
extern "C"
{
#endif
ROSIDL_TYPESUPPORT_CPP_PUBLIC
const rosidl_message_type_support_t *
ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME(rosidl_typesupport_cpp, px4_msgs, msg, YawEstimatorStatus)() {
return get_message_type_support_handle<px4_msgs::msg::YawEstimatorStatus>();
}
#ifdef __cplusplus
}
#endif
} // namespace rosidl_typesupport_cpp
| [
"adamdai97@gmail.com"
] | adamdai97@gmail.com |
25183ca9d126539e6583bc14f48cd4a599988287 | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8_formatted/liymouse/8294486_5654117850546176_liymouse.cpp | 4d614dd663e2e2cfaef849e737f20a349652fa52 | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 1,917 | cpp | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
typedef long long i64d;
using namespace std;
int main() {
freopen("B-small-attempt1.in", "r", stdin);
freopen("B-small-attempt1.out", "w", stdout);
// freopen("input.txt" , "r" , stdin);
// freopen("output.txt" , "w" , stdout);
int cas;
scanf("%d", &cas);
for (int ca = 1; ca <= cas; ca++) {
printf("Case #%d: ", ca);
int n;
int r, o, y, g, b, v;
scanf("%d %d %d %d %d %d %d", &n, &r, &o, &y, &g, &b, &v);
char s[1010] = {0};
if (r > n / 2 || y > n / 2 || b > n / 2) {
printf("IMPOSSIBLE\n");
} else {
int num[3] = {r, y, b};
char c[4] = "RYB";
if (y > r && y > b) {
num[0] = y;
num[1] = r;
c[0] = 'Y';
c[1] = 'R';
}
if (b > r && b > y) {
num[0] = b;
num[2] = r;
c[0] = 'B';
c[2] = 'R';
}
int i = 0;
if (num[0] > 0) {
while (i < n) {
s[i] = c[0];
i += 2;
num[0]--;
if (num[0] == 0)
break;
}
}
if (num[1] > 0) {
while (i < n) {
s[i] = c[1];
i += 2;
num[1]--;
if (num[1] == 0)
break;
}
if (num[1] > 0) {
i = 1;
while (i < n) {
s[i] = c[1];
i += 2;
num[1]--;
if (num[1] == 0)
break;
}
}
}
if (num[2] > 0) {
for (i = 0; i < n; i++)
if (s[i] == 0)
s[i] = c[2];
}
printf("%s\n", s);
}
}
return 0;
} | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
f9c7da14af24588246783f0d34ec160d9e6366e1 | e57eb6a48e9ccad54182ceab0f2147191267d590 | /ArmillarySphere/App/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.UI3.cpp | 1627a3a60a43b4dbe0e27688e20a2ec3a91a914d | [] | no_license | Doberman0/Final-Year-Project | 38fd4aed25a58923ab61db878347d1c8ac7f9183 | 6d15f163d1a1e3a99663bea405cfada0c2d103c5 | refs/heads/master | 2022-07-14T06:39:55.648661 | 2020-05-16T17:13:19 | 2020-05-16T17:13:19 | 235,336,227 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653,877 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
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);
}
};
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, typename T3>
struct VirtActionInvoker3
{
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename R>
struct InterfaceFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1>
struct InterfaceFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
// System.Action`1<UnityEngine.Font>
struct Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C;
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.IEnumerable`1<System.Int32>
struct IEnumerable_1_t1AE8F03F101BA7578AF3A97EF1EBE8DB5FF31215;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2F75FCBEC68AFE08982DA43985F9D04056E2BE73;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Color32>
struct IEnumerable_1_tAB867B7D9F12D8369CEEE5CF49683DE129AFB48E;
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle>
struct IEnumerable_1_tE7C6B5B0A4323F8BFB7C80BD9A6F847E6E956B0C;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector2>
struct IEnumerable_1_t18916C4667502155E7DF1D069EDAB4EC057B2206;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector3>
struct IEnumerable_1_tD6EAC43B8F82FF1C475D47067CC43C2BDA9E9B6F;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector4>
struct IEnumerable_1_t67A1DAC234E4BD0A0847714128F36C5FEC2D4E05;
// System.Collections.Generic.IList`1<UnityEngine.UIVertex>
struct IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup>
struct List_1_tE7746C234F913BA0579DAC892E7288A1C7664A0A;
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5;
// System.Collections.Generic.List`1<UnityEngine.GameObject>
struct List_1_t99909CDEDA6D21189884AEA74B1FD99FC9C6A4C0;
// System.Collections.Generic.List`1<UnityEngine.RectTransform>
struct List_1_t6E2F647783FBCA5123C6D7868CA8A1B87E57EFE7;
// System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>
struct List_1_t7984FB74D3877329C67F707EE61308104862C691;
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle>
struct List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C;
// System.Collections.Generic.List`1<UnityEngine.UICharInfo>
struct List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E;
// System.Collections.Generic.List`1<UnityEngine.UILineInfo>
struct List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0;
// System.Collections.Generic.List`1<UnityEngine.UIVertex>
struct List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554;
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB;
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5;
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.Func`2<System.Object,System.Boolean>
struct Func_2_t4B4B1E74248F38404B56001A709D81142DE730CC;
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean>
struct Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Predicate`1<System.Object>
struct Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979;
// System.Predicate`1<UnityEngine.UI.Toggle>
struct Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770;
// System.String
struct String_t;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// UnityEngine.Canvas
struct Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591;
// UnityEngine.Canvas/WillRenderCanvases
struct WillRenderCanvases_tBD5AD090B5938021DEAA679A5AEEA790F60A8BEE;
// UnityEngine.CanvasRenderer
struct CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72;
// UnityEngine.Color32[]
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983;
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621;
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t46C9D2AE3183A742EDE89944AF64A23DBF1B80A5;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966;
// UnityEngine.EventSystems.EventSystem
struct EventSystem_t06ACEF1C8D95D44D3A7F57ED4BAA577101B4EA77;
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63;
// UnityEngine.EventSystems.UIBehaviour
struct UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70;
// UnityEngine.Events.InvokableCallList
struct InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F;
// UnityEngine.Events.PersistentCallGroup
struct PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F;
// UnityEngine.Events.UnityAction
struct UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4;
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3;
// UnityEngine.Events.UnityEvent`1<System.Single>
struct UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6;
// UnityEngine.Font
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26;
// UnityEngine.Font/FontTextureRebuildCallback
struct FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C;
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F;
// UnityEngine.Material
struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598;
// UnityEngine.Mesh
struct Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C;
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0;
// UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A;
// UnityEngine.RectTransform
struct RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20;
// UnityEngine.RectTransform/ReapplyDrivenProperties
struct ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D;
// UnityEngine.Sprite
struct Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198;
// UnityEngine.TextGenerator
struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8;
// UnityEngine.Texture
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4;
// UnityEngine.Texture2D
struct Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C;
// UnityEngine.Transform
struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA;
// UnityEngine.UI.AnimationTriggers
struct AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween>
struct TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172;
// UnityEngine.UI.FontData
struct FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494;
// UnityEngine.UI.Graphic
struct Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8;
// UnityEngine.UI.HorizontalOrVerticalLayoutGroup
struct HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB;
// UnityEngine.UI.LayoutGroup
struct LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4;
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent
struct CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4;
// UnityEngine.UI.RectMask2D
struct RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B;
// UnityEngine.UI.Selectable
struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A;
// UnityEngine.UI.Selectable[]
struct SelectableU5BU5D_t98F7C5A863B20CD5DBE49CE288038BA954C83F02;
// UnityEngine.UI.Slider/SliderEvent
struct SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C;
// UnityEngine.UI.StencilMaterial/MatEntry
struct MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701;
// UnityEngine.UI.StencilMaterial/MatEntry[]
struct MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74;
// UnityEngine.UI.Text
struct Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030;
// UnityEngine.UI.Toggle
struct Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106;
// UnityEngine.UI.Toggle/ToggleEvent
struct ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43;
// UnityEngine.UI.ToggleGroup
struct ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786;
// UnityEngine.UI.ToggleGroup/<>c
struct U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E;
// UnityEngine.UI.Toggle[]
struct ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52;
// UnityEngine.UI.VertexHelper
struct VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F;
// UnityEngine.UI.VerticalLayoutGroup
struct VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11;
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28;
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CanvasUpdateRegistry_t0F63B307D591C36C16910289988730A62CAB4CB9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ColorWriteMask_t5DC00042EAC46AEEB06A7E0D51EA00C26F076E70_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CompareFunction_t217BE827C5994EDCA3FE70CE73578C2F729F9E69_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ICollection_1_t41BF289781C9C1F49562EC22FD7C12A365802A5A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_t5E8D36B177BEE61E319DF7927E463DFBAC58E09D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tCDBE9EE6C0FC882FB66BA0B6D36CA8E17652B15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tD46C00F7C693AF94203B6B004906149A661AA540_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tEC2CD2FE52DC3A8B1F3E2BF498E60420B6ABDDF8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ListPool_1_tFB4F0894A1EF21042E633BD1514A9258601CB1F1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t7984FB74D3877329C67F707EE61308104862C691_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StencilOp_t39C53F937E65AEB59181772222564CEE34A3A48A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral0080F1C33659FCC8CAF01884080D4A3B8B8B8A12;
IL2CPP_EXTERN_C String_t* _stringLiteral00B9E14633411C46CB64AE42D91DD928EE3EC5B1;
IL2CPP_EXTERN_C String_t* _stringLiteral080341529ECB1E5B2422ABE39DBE6F61638867BA;
IL2CPP_EXTERN_C String_t* _stringLiteral33BE700D2454643CBACB86CB20B67C2959E1BA08;
IL2CPP_EXTERN_C String_t* _stringLiteral35BAC708AE939217F60836AD2214CD3990D51201;
IL2CPP_EXTERN_C String_t* _stringLiteral41518A35E5E31D59E2CF24E21B3BA8EDA44260F3;
IL2CPP_EXTERN_C String_t* _stringLiteral5E65243DE0A9ADBECEA7E1244B1A61A3DC7A3CAD;
IL2CPP_EXTERN_C String_t* _stringLiteral6BBE55D35C62D6E93C1C8A502B59352497A03EBB;
IL2CPP_EXTERN_C String_t* _stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883;
IL2CPP_EXTERN_C String_t* _stringLiteral78F9B9E3A432ABDA5654A22DA92AFD8FC7ECA3E3;
IL2CPP_EXTERN_C String_t* _stringLiteral7A200607148CA1061B43BC5E5BF6CFF3829B9B93;
IL2CPP_EXTERN_C String_t* _stringLiteral8DD62ACF429375A264346E1E9B92A8E490AAF02B;
IL2CPP_EXTERN_C String_t* _stringLiteralAD01E3847AA5918933113DC21A22AF4AD31DD4B7;
IL2CPP_EXTERN_C String_t* _stringLiteralAEE2EDC89B1D182B6AABA43BD95AD471CE407E0E;
IL2CPP_EXTERN_C String_t* _stringLiteralB5E2BA93787E798DD2F2FDF3C3B4EE994B1A5889;
IL2CPP_EXTERN_C String_t* _stringLiteralBA924CDC9BA7B4F84450C640981ED4435F52D66F;
IL2CPP_EXTERN_C String_t* _stringLiteralBCD5E7D9CB017A99CD53B078F58FCD5429B7FA4F;
IL2CPP_EXTERN_C String_t* _stringLiteralBEBB082E9E5DACD451E74B1DB3FC897E061313FC;
IL2CPP_EXTERN_C String_t* _stringLiteralC0E60DD82594AF705F1DCD06B4FE427E33BBAFCC;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralFA5141A2F2CBEA1C5907613305345C1C5173CDA4;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Where_TisToggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106_mCE7B203C90FB5D4486C251FDBFA701AA933B108B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Func_2__ctor_mB7124BCAE1D74F65A0916AE99852CA616D635BDA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m28E652E7F35B62105F009FBE9B75DAA8AAA0C343_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mAFCD2619E23964518685D147CCE7E51190DA7FB7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mBB0407C7F188EDF1268A15DCA271615670B3DFF8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Find_m98A909AFA27E21691679D3CB46DA07082DBF2082_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m59FA64439457AE93FF4A591EFC2BF65CF749A7EE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_mF9F64AC3BEAA229F0EFB9FD15A8AE51B51F55EC6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m698FA53ED3E128E9F81ECE96D79C4847A6EAB080_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m8711C2DA96CFAD2FEC7F7322F9855901C17FAACA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Predicate_1__ctor_m06889230E324D2CA47EAE72BF8A22C6DCBBE0DC3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_GetBuiltinResource_TisFont_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_m28D7ED0C35D5F51E2A61A4CA162B08923E0837D6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CActiveTogglesU3Eb__13_0_m0FFD86D1B257988730B5BD85D42BD9E892FF37E5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec_U3CAnyTogglesOnU3Eb__12_0_m6759194C9A27BC7726498AEA91636DE01DB5946C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* VertexHelper_FillMesh_mBA946D1CEDC24DCCD8A593CF77D0B54D14FDB74B_RuntimeMethod_var;
IL2CPP_EXTERN_C const uint32_t Graphic_get_mainTexture_m8ADD95545D4FAB8D218C028196DCB9758C47B3E5UnityEngine_UI3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t SliderEvent__ctor_m219C5074B774908A83C9C54128370E75556A18E0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StencilMaterial_Add_mAB4F4B762B5FA96473A30706AC2570FAF86D4746_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StencilMaterial_Add_mC3BA91DE802960AD78E0121510054F66D5907957_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StencilMaterial_ClearAll_m0E04E813DE65150C047EF22F090BEB6C00DED77B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StencilMaterial_Remove_m3D0EEC517780E1528A9D4F3AABF3B78BF59B5282_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t StencilMaterial__cctor_m55BD7A7538EFDC49FDF2AF3C1F43D7D0615AF13D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_AssignDefaultFont_m96292009E24D108CA2889748CBB06B34CF854B69_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_FontTextureChanged_mFD9E41BBD0E8875A640F7554A4A233F4F91D8D32_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_GetTextAnchorPivot_m46E0F5CDDA2E0366DBB463A2D46F3F334FC1D058_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_OnDisable_m0B0965F6DA3A71683822989744E5705CD1641FE5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_OnEnable_m6D5C18FAA3B6F62B55A83D44A20949C1CF5CE7FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_OnPopulateMesh_m29E980A07D59D8151E7497E11FD5EE15AF85FF6F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_UpdateGeometry_mA8A037291FE143D329C85EAC881FA56F84DD73E7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text__ctor_mC95797286B600CF862FC75F9E65F48267313865F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_get_mainTexture_m2DB4BB9E001F9251B8B95887CC17CA78DAEB5C45_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_get_preferredWidth_mB995B7D7B8D1808D2CC91B7D8CDE6072390DDF4F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_set_font_m77D86B27FDEE1FD2D96A7419F11CF9B249A50D66_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Text_set_text_m06205D43AD79670752504410AEA7DB65F3495261_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleEvent__ctor_mF58CC00AEC0CB149ACB267F0A885D814164B484C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_ActiveToggles_mDBD4CB3FCEEB4F5C7ECB5E6D0F7EA17FDDF54300_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_RegisterToggle_m1CC85EE0BE4DA4B993F5C04DBC87F0421BCA1ED3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_SetAllTogglesOff_m5DB321BD06A6B66ADA0B0022766A561BD0AE7BC6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_UnregisterToggle_m724862AAE8CE184E7336D54F44C5ACBC9858D20A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ToggleGroup__ctor_mAE46954152026CB11A1F336EA4963BCA9A5FEFA1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle_OnDestroy_m9754D2593E4DB02B19EEFCAEA8769D57B9307BE6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle_OnDidApplyAnimationProperties_m039EA4C84F62E2C815E59BE4B9DACFD6CF19D1E5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Toggle__ctor_m6071227A758B1F396BA3794940A43A18370821DF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t U3CU3Ec__cctor_m89E177F13473C664F86CBB611035208949610E03_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_AddUIVertexStream_mAAA730380EE6D6988274BDD8E86FD0B24BD19BCD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_AddVert_m8133C9A62368C1FA8DD53EB3A42A612AF694E8A6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_Dispose_m03C8CF87F673E27160B27FC2AC64DECD2B7F0749_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_FillMesh_mBA946D1CEDC24DCCD8A593CF77D0B54D14FDB74B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_PopulateUIVertex_m75E49AE0377BABEE2C3D1CCA1624DE5668B5C42C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_SetUIVertex_m71EA6FEB875252F25180FA7F3849A962C6231976_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper__cctor_mFB392B47FC06B93EE482011E40BE32F0E87CCC17_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper__ctor_m4FF21AED0081C159CB153B73D0DE4D7AFEC2655D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_get_currentIndexCount_m071AFF6C0DB763292367B1C2926B41996EF164C9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t VertexHelper_get_currentVertCount_m99ACD97A171FCB5046C7608CAD7399A8E0A6FD3F_MetadataUsageId;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983;
struct UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A;
struct Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6;
struct Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28;
struct Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66;
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
struct Il2CppArrayBounds;
// System.Array
// System.Collections.Generic.List`1<System.Int32>
struct List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____items_1)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get__items_1() const { return ____items_1; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* 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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226, ____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_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226_StaticFields, ____emptyArray_5)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get__emptyArray_5() const { return ____emptyArray_5; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<System.Object>
struct List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____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_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____items_1)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__items_1() const { return ____items_1; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* 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_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____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_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____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_t05CC3C859AB5E6024394EF9A42E3E696628CA02D, ____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_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D_StaticFields, ____emptyArray_5)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__emptyArray_5() const { return ____emptyArray_5; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____items_1)); }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* get__items_1() const { return ____items_1; }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* 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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5, ____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_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5_StaticFields, ____emptyArray_5)); }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* get__emptyArray_5() const { return ____emptyArray_5; }
inline Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial_MatEntry>
struct List_1_t7984FB74D3877329C67F707EE61308104862C691 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* ____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_t7984FB74D3877329C67F707EE61308104862C691, ____items_1)); }
inline MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* get__items_1() const { return ____items_1; }
inline MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* 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_t7984FB74D3877329C67F707EE61308104862C691, ____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_t7984FB74D3877329C67F707EE61308104862C691, ____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_t7984FB74D3877329C67F707EE61308104862C691, ____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_t7984FB74D3877329C67F707EE61308104862C691_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t7984FB74D3877329C67F707EE61308104862C691_StaticFields, ____emptyArray_5)); }
inline MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* get__emptyArray_5() const { return ____emptyArray_5; }
inline MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(MatEntryU5BU5D_t4085B2C11542CD27E5255255015AB714E4089D74* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle>
struct List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* ____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_t5603D617415C67B322F898ABF659C3E2C8BD668C, ____items_1)); }
inline ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* get__items_1() const { return ____items_1; }
inline ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* 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_t5603D617415C67B322F898ABF659C3E2C8BD668C, ____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_t5603D617415C67B322F898ABF659C3E2C8BD668C, ____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_t5603D617415C67B322F898ABF659C3E2C8BD668C, ____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_t5603D617415C67B322F898ABF659C3E2C8BD668C_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C_StaticFields, ____emptyArray_5)); }
inline ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* get__emptyArray_5() const { return ____emptyArray_5; }
inline ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(ToggleU5BU5D_tBC353C53E1DDE1197A0EF21D8016A713839A8F52* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.UIVertex>
struct List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ____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_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____items_1)); }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get__items_1() const { return ____items_1; }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* 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_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____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_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____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_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554, ____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_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554_StaticFields, ____emptyArray_5)); }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get__emptyArray_5() const { return ____emptyArray_5; }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* ____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_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB, ____items_1)); }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* get__items_1() const { return ____items_1; }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* 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_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB, ____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_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB, ____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_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB, ____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_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB_StaticFields, ____emptyArray_5)); }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ____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_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5, ____items_1)); }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get__items_1() const { return ____items_1; }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* 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_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5, ____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_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5, ____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_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5, ____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_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5_StaticFields, ____emptyArray_5)); }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)value);
}
};
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 : public RuntimeObject
{
public:
// T[] System.Collections.Generic.List`1::_items
Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* ____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_tFF4005B40E5BA433006DA11C56DB086B1E2FC955, ____items_1)); }
inline Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* get__items_1() const { return ____items_1; }
inline Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66** get_address_of__items_1() { return &____items_1; }
inline void set__items_1(Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* 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_tFF4005B40E5BA433006DA11C56DB086B1E2FC955, ____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_tFF4005B40E5BA433006DA11C56DB086B1E2FC955, ____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_tFF4005B40E5BA433006DA11C56DB086B1E2FC955, ____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_tFF4005B40E5BA433006DA11C56DB086B1E2FC955_StaticFields
{
public:
// T[] System.Collections.Generic.List`1::_emptyArray
Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* ____emptyArray_5;
public:
inline static int32_t get_offset_of__emptyArray_5() { return static_cast<int32_t>(offsetof(List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955_StaticFields, ____emptyArray_5)); }
inline Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* get__emptyArray_5() const { return ____emptyArray_5; }
inline Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66** get_address_of__emptyArray_5() { return &____emptyArray_5; }
inline void set__emptyArray_5(Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* value)
{
____emptyArray_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____emptyArray_5), (void*)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.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// UnityEngine.EventSystems.AbstractEventData
struct AbstractEventData_t636F385820C291DAE25897BCEB4FBCADDA3B75F6 : public RuntimeObject
{
public:
// System.Boolean UnityEngine.EventSystems.AbstractEventData::m_Used
bool ___m_Used_0;
public:
inline static int32_t get_offset_of_m_Used_0() { return static_cast<int32_t>(offsetof(AbstractEventData_t636F385820C291DAE25897BCEB4FBCADDA3B75F6, ___m_Used_0)); }
inline bool get_m_Used_0() const { return ___m_Used_0; }
inline bool* get_address_of_m_Used_0() { return &___m_Used_0; }
inline void set_m_Used_0(bool value)
{
___m_Used_0 = value;
}
};
// UnityEngine.Events.UnityEventBase
struct UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5 : public RuntimeObject
{
public:
// UnityEngine.Events.InvokableCallList UnityEngine.Events.UnityEventBase::m_Calls
InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F * ___m_Calls_0;
// UnityEngine.Events.PersistentCallGroup UnityEngine.Events.UnityEventBase::m_PersistentCalls
PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F * ___m_PersistentCalls_1;
// System.Boolean UnityEngine.Events.UnityEventBase::m_CallsDirty
bool ___m_CallsDirty_2;
public:
inline static int32_t get_offset_of_m_Calls_0() { return static_cast<int32_t>(offsetof(UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5, ___m_Calls_0)); }
inline InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F * get_m_Calls_0() const { return ___m_Calls_0; }
inline InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F ** get_address_of_m_Calls_0() { return &___m_Calls_0; }
inline void set_m_Calls_0(InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F * value)
{
___m_Calls_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Calls_0), (void*)value);
}
inline static int32_t get_offset_of_m_PersistentCalls_1() { return static_cast<int32_t>(offsetof(UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5, ___m_PersistentCalls_1)); }
inline PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F * get_m_PersistentCalls_1() const { return ___m_PersistentCalls_1; }
inline PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F ** get_address_of_m_PersistentCalls_1() { return &___m_PersistentCalls_1; }
inline void set_m_PersistentCalls_1(PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F * value)
{
___m_PersistentCalls_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PersistentCalls_1), (void*)value);
}
inline static int32_t get_offset_of_m_CallsDirty_2() { return static_cast<int32_t>(offsetof(UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5, ___m_CallsDirty_2)); }
inline bool get_m_CallsDirty_2() const { return ___m_CallsDirty_2; }
inline bool* get_address_of_m_CallsDirty_2() { return &___m_CallsDirty_2; }
inline void set_m_CallsDirty_2(bool value)
{
___m_CallsDirty_2 = value;
}
};
// UnityEngine.UI.StencilMaterial
struct StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974 : public RuntimeObject
{
public:
public:
};
struct StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields
{
public:
// System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial_MatEntry> UnityEngine.UI.StencilMaterial::m_List
List_1_t7984FB74D3877329C67F707EE61308104862C691 * ___m_List_0;
public:
inline static int32_t get_offset_of_m_List_0() { return static_cast<int32_t>(offsetof(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields, ___m_List_0)); }
inline List_1_t7984FB74D3877329C67F707EE61308104862C691 * get_m_List_0() const { return ___m_List_0; }
inline List_1_t7984FB74D3877329C67F707EE61308104862C691 ** get_address_of_m_List_0() { return &___m_List_0; }
inline void set_m_List_0(List_1_t7984FB74D3877329C67F707EE61308104862C691 * value)
{
___m_List_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_List_0), (void*)value);
}
};
// UnityEngine.UI.ToggleGroup_<>c
struct U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E : public RuntimeObject
{
public:
public:
};
struct U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields
{
public:
// UnityEngine.UI.ToggleGroup_<>c UnityEngine.UI.ToggleGroup_<>c::<>9
U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * ___U3CU3E9_0;
// System.Predicate`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup_<>c::<>9__12_0
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * ___U3CU3E9__12_0_1;
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean> UnityEngine.UI.ToggleGroup_<>c::<>9__13_0
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * ___U3CU3E9__13_0_2;
public:
inline static int32_t get_offset_of_U3CU3E9_0() { return static_cast<int32_t>(offsetof(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields, ___U3CU3E9_0)); }
inline U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * get_U3CU3E9_0() const { return ___U3CU3E9_0; }
inline U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E ** get_address_of_U3CU3E9_0() { return &___U3CU3E9_0; }
inline void set_U3CU3E9_0(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * value)
{
___U3CU3E9_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9_0), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__12_0_1() { return static_cast<int32_t>(offsetof(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields, ___U3CU3E9__12_0_1)); }
inline Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * get_U3CU3E9__12_0_1() const { return ___U3CU3E9__12_0_1; }
inline Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 ** get_address_of_U3CU3E9__12_0_1() { return &___U3CU3E9__12_0_1; }
inline void set_U3CU3E9__12_0_1(Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * value)
{
___U3CU3E9__12_0_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__12_0_1), (void*)value);
}
inline static int32_t get_offset_of_U3CU3E9__13_0_2() { return static_cast<int32_t>(offsetof(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields, ___U3CU3E9__13_0_2)); }
inline Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * get_U3CU3E9__13_0_2() const { return ___U3CU3E9__13_0_2; }
inline Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 ** get_address_of_U3CU3E9__13_0_2() { return &___U3CU3E9__13_0_2; }
inline void set_U3CU3E9__13_0_2(Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * value)
{
___U3CU3E9__13_0_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CU3E9__13_0_2), (void*)value);
}
};
// System.Boolean
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
{
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_tB53F6830F670160873277339AA58F15CAED4399C, ___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_tB53F6830F670160873277339AA58F15CAED4399C_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_tB53F6830F670160873277339AA58F15CAED4399C_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_tB53F6830F670160873277339AA58F15CAED4399C_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.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
// System.Int32
struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102
{
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_t585191389E07734F19F3156FF88FB3EF4800D102, ___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.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
// System.Single
struct Single_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1
{
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_tDDDA9169C4E4E308AC6D7A824F9B28DC82204AE1, ___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.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// UnityEngine.Color
struct Color_t119BCA590009762C7223FDD3AF9706653AC84ED2
{
public:
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
public:
inline static int32_t get_offset_of_r_0() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___r_0)); }
inline float get_r_0() const { return ___r_0; }
inline float* get_address_of_r_0() { return &___r_0; }
inline void set_r_0(float value)
{
___r_0 = value;
}
inline static int32_t get_offset_of_g_1() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___g_1)); }
inline float get_g_1() const { return ___g_1; }
inline float* get_address_of_g_1() { return &___g_1; }
inline void set_g_1(float value)
{
___g_1 = value;
}
inline static int32_t get_offset_of_b_2() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___b_2)); }
inline float get_b_2() const { return ___b_2; }
inline float* get_address_of_b_2() { return &___b_2; }
inline void set_b_2(float value)
{
___b_2 = value;
}
inline static int32_t get_offset_of_a_3() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___a_3)); }
inline float get_a_3() const { return ___a_3; }
inline float* get_address_of_a_3() { return &___a_3; }
inline void set_a_3(float value)
{
___a_3 = value;
}
};
// UnityEngine.Color32
struct Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.Color32::rgba
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Byte UnityEngine.Color32::r
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
// System.Byte UnityEngine.Color32::g
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
// System.Byte UnityEngine.Color32::b
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
// System.Byte UnityEngine.Color32::a
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_rgba_0() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___rgba_0)); }
inline int32_t get_rgba_0() const { return ___rgba_0; }
inline int32_t* get_address_of_rgba_0() { return &___rgba_0; }
inline void set_rgba_0(int32_t value)
{
___rgba_0 = value;
}
inline static int32_t get_offset_of_r_1() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___r_1)); }
inline uint8_t get_r_1() const { return ___r_1; }
inline uint8_t* get_address_of_r_1() { return &___r_1; }
inline void set_r_1(uint8_t value)
{
___r_1 = value;
}
inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___g_2)); }
inline uint8_t get_g_2() const { return ___g_2; }
inline uint8_t* get_address_of_g_2() { return &___g_2; }
inline void set_g_2(uint8_t value)
{
___g_2 = value;
}
inline static int32_t get_offset_of_b_3() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___b_3)); }
inline uint8_t get_b_3() const { return ___b_3; }
inline uint8_t* get_address_of_b_3() { return &___b_3; }
inline void set_b_3(uint8_t value)
{
___b_3 = value;
}
inline static int32_t get_offset_of_a_4() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___a_4)); }
inline uint8_t get_a_4() const { return ___a_4; }
inline uint8_t* get_address_of_a_4() { return &___a_4; }
inline void set_a_4(uint8_t value)
{
___a_4 = value;
}
};
// UnityEngine.DrivenRectTransformTracker
struct DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03
{
public:
union
{
struct
{
};
uint8_t DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03__padding[1];
};
public:
};
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t46C9D2AE3183A742EDE89944AF64A23DBF1B80A5 : public AbstractEventData_t636F385820C291DAE25897BCEB4FBCADDA3B75F6
{
public:
// UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.BaseEventData::m_EventSystem
EventSystem_t06ACEF1C8D95D44D3A7F57ED4BAA577101B4EA77 * ___m_EventSystem_1;
public:
inline static int32_t get_offset_of_m_EventSystem_1() { return static_cast<int32_t>(offsetof(BaseEventData_t46C9D2AE3183A742EDE89944AF64A23DBF1B80A5, ___m_EventSystem_1)); }
inline EventSystem_t06ACEF1C8D95D44D3A7F57ED4BAA577101B4EA77 * get_m_EventSystem_1() const { return ___m_EventSystem_1; }
inline EventSystem_t06ACEF1C8D95D44D3A7F57ED4BAA577101B4EA77 ** get_address_of_m_EventSystem_1() { return &___m_EventSystem_1; }
inline void set_m_EventSystem_1(EventSystem_t06ACEF1C8D95D44D3A7F57ED4BAA577101B4EA77 * value)
{
___m_EventSystem_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_EventSystem_1), (void*)value);
}
};
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 : public UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5
{
public:
// System.Object[] UnityEngine.Events.UnityEvent`1::m_InvokeArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___m_InvokeArray_3;
public:
inline static int32_t get_offset_of_m_InvokeArray_3() { return static_cast<int32_t>(offsetof(UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3, ___m_InvokeArray_3)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_m_InvokeArray_3() const { return ___m_InvokeArray_3; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_m_InvokeArray_3() { return &___m_InvokeArray_3; }
inline void set_m_InvokeArray_3(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___m_InvokeArray_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_InvokeArray_3), (void*)value);
}
};
// UnityEngine.Events.UnityEvent`1<System.Single>
struct UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6 : public UnityEventBase_t6E0F7823762EE94BB8489B5AE41C7802A266D3D5
{
public:
// System.Object[] UnityEngine.Events.UnityEvent`1::m_InvokeArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___m_InvokeArray_3;
public:
inline static int32_t get_offset_of_m_InvokeArray_3() { return static_cast<int32_t>(offsetof(UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6, ___m_InvokeArray_3)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_m_InvokeArray_3() const { return ___m_InvokeArray_3; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_m_InvokeArray_3() { return &___m_InvokeArray_3; }
inline void set_m_InvokeArray_3(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___m_InvokeArray_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_InvokeArray_3), (void*)value);
}
};
// UnityEngine.Rect
struct Rect_t35B976DE901B5423C11705E156938EA27AB402CE
{
public:
// System.Single UnityEngine.Rect::m_XMin
float ___m_XMin_0;
// System.Single UnityEngine.Rect::m_YMin
float ___m_YMin_1;
// System.Single UnityEngine.Rect::m_Width
float ___m_Width_2;
// System.Single UnityEngine.Rect::m_Height
float ___m_Height_3;
public:
inline static int32_t get_offset_of_m_XMin_0() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_XMin_0)); }
inline float get_m_XMin_0() const { return ___m_XMin_0; }
inline float* get_address_of_m_XMin_0() { return &___m_XMin_0; }
inline void set_m_XMin_0(float value)
{
___m_XMin_0 = value;
}
inline static int32_t get_offset_of_m_YMin_1() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_YMin_1)); }
inline float get_m_YMin_1() const { return ___m_YMin_1; }
inline float* get_address_of_m_YMin_1() { return &___m_YMin_1; }
inline void set_m_YMin_1(float value)
{
___m_YMin_1 = value;
}
inline static int32_t get_offset_of_m_Width_2() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Width_2)); }
inline float get_m_Width_2() const { return ___m_Width_2; }
inline float* get_address_of_m_Width_2() { return &___m_Width_2; }
inline void set_m_Width_2(float value)
{
___m_Width_2 = value;
}
inline static int32_t get_offset_of_m_Height_3() { return static_cast<int32_t>(offsetof(Rect_t35B976DE901B5423C11705E156938EA27AB402CE, ___m_Height_3)); }
inline float get_m_Height_3() const { return ___m_Height_3; }
inline float* get_address_of_m_Height_3() { return &___m_Height_3; }
inline void set_m_Height_3(float value)
{
___m_Height_3 = value;
}
};
// UnityEngine.UI.SpriteState
struct SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A
{
public:
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_HighlightedSprite
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_HighlightedSprite_0;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_PressedSprite
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_PressedSprite_1;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_SelectedSprite
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_SelectedSprite_2;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_DisabledSprite
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_DisabledSprite_3;
public:
inline static int32_t get_offset_of_m_HighlightedSprite_0() { return static_cast<int32_t>(offsetof(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A, ___m_HighlightedSprite_0)); }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_HighlightedSprite_0() const { return ___m_HighlightedSprite_0; }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_HighlightedSprite_0() { return &___m_HighlightedSprite_0; }
inline void set_m_HighlightedSprite_0(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value)
{
___m_HighlightedSprite_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_HighlightedSprite_0), (void*)value);
}
inline static int32_t get_offset_of_m_PressedSprite_1() { return static_cast<int32_t>(offsetof(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A, ___m_PressedSprite_1)); }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_PressedSprite_1() const { return ___m_PressedSprite_1; }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_PressedSprite_1() { return &___m_PressedSprite_1; }
inline void set_m_PressedSprite_1(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value)
{
___m_PressedSprite_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PressedSprite_1), (void*)value);
}
inline static int32_t get_offset_of_m_SelectedSprite_2() { return static_cast<int32_t>(offsetof(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A, ___m_SelectedSprite_2)); }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_SelectedSprite_2() const { return ___m_SelectedSprite_2; }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_SelectedSprite_2() { return &___m_SelectedSprite_2; }
inline void set_m_SelectedSprite_2(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value)
{
___m_SelectedSprite_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SelectedSprite_2), (void*)value);
}
inline static int32_t get_offset_of_m_DisabledSprite_3() { return static_cast<int32_t>(offsetof(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A, ___m_DisabledSprite_3)); }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_DisabledSprite_3() const { return ___m_DisabledSprite_3; }
inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_DisabledSprite_3() { return &___m_DisabledSprite_3; }
inline void set_m_DisabledSprite_3(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value)
{
___m_DisabledSprite_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_DisabledSprite_3), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.UI.SpriteState
struct SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_pinvoke
{
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_HighlightedSprite_0;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_PressedSprite_1;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_SelectedSprite_2;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_DisabledSprite_3;
};
// Native definition for COM marshalling of UnityEngine.UI.SpriteState
struct SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_com
{
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_HighlightedSprite_0;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_PressedSprite_1;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_SelectedSprite_2;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_DisabledSprite_3;
};
// UnityEngine.Vector2
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D
{
public:
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
public:
inline static int32_t get_offset_of_x_0() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___x_0)); }
inline float get_x_0() const { return ___x_0; }
inline float* get_address_of_x_0() { return &___x_0; }
inline void set_x_0(float value)
{
___x_0 = value;
}
inline static int32_t get_offset_of_y_1() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D, ___y_1)); }
inline float get_y_1() const { return ___y_1; }
inline float* get_address_of_y_1() { return &___y_1; }
inline void set_y_1(float value)
{
___y_1 = value;
}
};
struct Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields
{
public:
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___negativeInfinityVector_9;
public:
inline static int32_t get_offset_of_zeroVector_2() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___zeroVector_2)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_zeroVector_2() const { return ___zeroVector_2; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_zeroVector_2() { return &___zeroVector_2; }
inline void set_zeroVector_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___zeroVector_2 = value;
}
inline static int32_t get_offset_of_oneVector_3() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___oneVector_3)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_oneVector_3() const { return ___oneVector_3; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_oneVector_3() { return &___oneVector_3; }
inline void set_oneVector_3(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___oneVector_3 = value;
}
inline static int32_t get_offset_of_upVector_4() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___upVector_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_upVector_4() const { return ___upVector_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_upVector_4() { return &___upVector_4; }
inline void set_upVector_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___upVector_4 = value;
}
inline static int32_t get_offset_of_downVector_5() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___downVector_5)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_downVector_5() const { return ___downVector_5; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_downVector_5() { return &___downVector_5; }
inline void set_downVector_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___downVector_5 = value;
}
inline static int32_t get_offset_of_leftVector_6() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___leftVector_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_leftVector_6() const { return ___leftVector_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_leftVector_6() { return &___leftVector_6; }
inline void set_leftVector_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___leftVector_6 = value;
}
inline static int32_t get_offset_of_rightVector_7() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___rightVector_7)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_rightVector_7() const { return ___rightVector_7; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_rightVector_7() { return &___rightVector_7; }
inline void set_rightVector_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___rightVector_7 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___positiveInfinityVector_8)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_positiveInfinityVector_8() const { return ___positiveInfinityVector_8; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_positiveInfinityVector_8() { return &___positiveInfinityVector_8; }
inline void set_positiveInfinityVector_8(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___positiveInfinityVector_8 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_9() { return static_cast<int32_t>(offsetof(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_StaticFields, ___negativeInfinityVector_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_negativeInfinityVector_9() const { return ___negativeInfinityVector_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_negativeInfinityVector_9() { return &___negativeInfinityVector_9; }
inline void set_negativeInfinityVector_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___negativeInfinityVector_9 = value;
}
};
// UnityEngine.Vector3
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720
{
public:
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
public:
inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___x_2)); }
inline float get_x_2() const { return ___x_2; }
inline float* get_address_of_x_2() { return &___x_2; }
inline void set_x_2(float value)
{
___x_2 = value;
}
inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___y_3)); }
inline float get_y_3() const { return ___y_3; }
inline float* get_address_of_y_3() { return &___y_3; }
inline void set_y_3(float value)
{
___y_3 = value;
}
inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___z_4)); }
inline float get_z_4() const { return ___z_4; }
inline float* get_address_of_z_4() { return &___z_4; }
inline void set_z_4(float value)
{
___z_4 = value;
}
};
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___negativeInfinityVector_14;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___zeroVector_5)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___oneVector_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_oneVector_6() const { return ___oneVector_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___upVector_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_upVector_7() const { return ___upVector_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_upVector_7() { return &___upVector_7; }
inline void set_upVector_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___upVector_7 = value;
}
inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___downVector_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_downVector_8() const { return ___downVector_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_downVector_8() { return &___downVector_8; }
inline void set_downVector_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___downVector_8 = value;
}
inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___leftVector_9)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_leftVector_9() const { return ___leftVector_9; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_leftVector_9() { return &___leftVector_9; }
inline void set_leftVector_9(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___leftVector_9 = value;
}
inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___rightVector_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_rightVector_10() const { return ___rightVector_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_rightVector_10() { return &___rightVector_10; }
inline void set_rightVector_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___rightVector_10 = value;
}
inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___forwardVector_11)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_forwardVector_11() const { return ___forwardVector_11; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_forwardVector_11() { return &___forwardVector_11; }
inline void set_forwardVector_11(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___forwardVector_11 = value;
}
inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___backVector_12)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_backVector_12() const { return ___backVector_12; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_backVector_12() { return &___backVector_12; }
inline void set_backVector_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___backVector_12 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___positiveInfinityVector_13)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; }
inline void set_positiveInfinityVector_13(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___positiveInfinityVector_13 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___negativeInfinityVector_14)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; }
inline void set_negativeInfinityVector_14(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___negativeInfinityVector_14 = value;
}
};
// UnityEngine.Vector4
struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E
{
public:
// System.Single UnityEngine.Vector4::x
float ___x_1;
// System.Single UnityEngine.Vector4::y
float ___y_2;
// System.Single UnityEngine.Vector4::z
float ___z_3;
// System.Single UnityEngine.Vector4::w
float ___w_4;
public:
inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___x_1)); }
inline float get_x_1() const { return ___x_1; }
inline float* get_address_of_x_1() { return &___x_1; }
inline void set_x_1(float value)
{
___x_1 = value;
}
inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___y_2)); }
inline float get_y_2() const { return ___y_2; }
inline float* get_address_of_y_2() { return &___y_2; }
inline void set_y_2(float value)
{
___y_2 = value;
}
inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___z_3)); }
inline float get_z_3() const { return ___z_3; }
inline float* get_address_of_z_3() { return &___z_3; }
inline void set_z_3(float value)
{
___z_3 = value;
}
inline static int32_t get_offset_of_w_4() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E, ___w_4)); }
inline float get_w_4() const { return ___w_4; }
inline float* get_address_of_w_4() { return &___w_4; }
inline void set_w_4(float value)
{
___w_4 = value;
}
};
struct Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields
{
public:
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___zeroVector_5;
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___oneVector_6;
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___positiveInfinityVector_7;
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___negativeInfinityVector_8;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___zeroVector_5)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___oneVector_6)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_oneVector_6() const { return ___oneVector_6; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___positiveInfinityVector_7)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; }
inline void set_positiveInfinityVector_7(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___positiveInfinityVector_7 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E_StaticFields, ___negativeInfinityVector_8)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; }
inline void set_negativeInfinityVector_8(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___negativeInfinityVector_8 = value;
}
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.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_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___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_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * 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_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* 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_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* 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_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___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_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// UnityEngine.EventSystems.PointerEventData_InputButton
struct InputButton_tCC7470F9FD2AFE525243394F0215B47D4BF86AB0
{
public:
// System.Int32 UnityEngine.EventSystems.PointerEventData_InputButton::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(InputButton_tCC7470F9FD2AFE525243394F0215B47D4BF86AB0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91
{
public:
// UnityEngine.GameObject UnityEngine.EventSystems.RaycastResult::m_GameObject
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
// UnityEngine.EventSystems.BaseRaycaster UnityEngine.EventSystems.RaycastResult::module
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
// System.Single UnityEngine.EventSystems.RaycastResult::distance
float ___distance_2;
// System.Single UnityEngine.EventSystems.RaycastResult::index
float ___index_3;
// System.Int32 UnityEngine.EventSystems.RaycastResult::depth
int32_t ___depth_4;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingLayer
int32_t ___sortingLayer_5;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingOrder
int32_t ___sortingOrder_6;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldPosition
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldNormal
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
// UnityEngine.Vector2 UnityEngine.EventSystems.RaycastResult::screenPosition
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
public:
inline static int32_t get_offset_of_m_GameObject_0() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___m_GameObject_0)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_GameObject_0() const { return ___m_GameObject_0; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_GameObject_0() { return &___m_GameObject_0; }
inline void set_m_GameObject_0(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___m_GameObject_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_GameObject_0), (void*)value);
}
inline static int32_t get_offset_of_module_1() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___module_1)); }
inline BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * get_module_1() const { return ___module_1; }
inline BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 ** get_address_of_module_1() { return &___module_1; }
inline void set_module_1(BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * value)
{
___module_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___module_1), (void*)value);
}
inline static int32_t get_offset_of_distance_2() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___distance_2)); }
inline float get_distance_2() const { return ___distance_2; }
inline float* get_address_of_distance_2() { return &___distance_2; }
inline void set_distance_2(float value)
{
___distance_2 = value;
}
inline static int32_t get_offset_of_index_3() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___index_3)); }
inline float get_index_3() const { return ___index_3; }
inline float* get_address_of_index_3() { return &___index_3; }
inline void set_index_3(float value)
{
___index_3 = value;
}
inline static int32_t get_offset_of_depth_4() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___depth_4)); }
inline int32_t get_depth_4() const { return ___depth_4; }
inline int32_t* get_address_of_depth_4() { return &___depth_4; }
inline void set_depth_4(int32_t value)
{
___depth_4 = value;
}
inline static int32_t get_offset_of_sortingLayer_5() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___sortingLayer_5)); }
inline int32_t get_sortingLayer_5() const { return ___sortingLayer_5; }
inline int32_t* get_address_of_sortingLayer_5() { return &___sortingLayer_5; }
inline void set_sortingLayer_5(int32_t value)
{
___sortingLayer_5 = value;
}
inline static int32_t get_offset_of_sortingOrder_6() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___sortingOrder_6)); }
inline int32_t get_sortingOrder_6() const { return ___sortingOrder_6; }
inline int32_t* get_address_of_sortingOrder_6() { return &___sortingOrder_6; }
inline void set_sortingOrder_6(int32_t value)
{
___sortingOrder_6 = value;
}
inline static int32_t get_offset_of_worldPosition_7() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___worldPosition_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_worldPosition_7() const { return ___worldPosition_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_worldPosition_7() { return &___worldPosition_7; }
inline void set_worldPosition_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___worldPosition_7 = value;
}
inline static int32_t get_offset_of_worldNormal_8() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___worldNormal_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_worldNormal_8() const { return ___worldNormal_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_worldNormal_8() { return &___worldNormal_8; }
inline void set_worldNormal_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___worldNormal_8 = value;
}
inline static int32_t get_offset_of_screenPosition_9() { return static_cast<int32_t>(offsetof(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91, ___screenPosition_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_screenPosition_9() const { return ___screenPosition_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_screenPosition_9() { return &___screenPosition_9; }
inline void set_screenPosition_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___screenPosition_9 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91_marshaled_pinvoke
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
};
// Native definition for COM marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91_marshaled_com
{
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_GameObject_0;
BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldPosition_7;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___worldNormal_8;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___screenPosition_9;
};
// UnityEngine.FontStyle
struct FontStyle_t273973EBB1F40C2381F6D60AB957149DE5720CF3
{
public:
// System.Int32 UnityEngine.FontStyle::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FontStyle_t273973EBB1F40C2381F6D60AB957149DE5720CF3, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.HideFlags
struct HideFlags_t30B57DC00548E963A569318C8F4A4123E7447E37
{
public:
// System.Int32 UnityEngine.HideFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HideFlags_t30B57DC00548E963A569318C8F4A4123E7447E37, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.HorizontalWrapMode
struct HorizontalWrapMode_t56D876281F814EC1AF0C21A34E20BBF4BEEA302C
{
public:
// System.Int32 UnityEngine.HorizontalWrapMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(HorizontalWrapMode_t56D876281F814EC1AF0C21A34E20BBF4BEEA302C, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// UnityEngine.Rendering.ColorWriteMask
struct ColorWriteMask_t5DC00042EAC46AEEB06A7E0D51EA00C26F076E70
{
public:
// System.Int32 UnityEngine.Rendering.ColorWriteMask::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ColorWriteMask_t5DC00042EAC46AEEB06A7E0D51EA00C26F076E70, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.Rendering.CompareFunction
struct CompareFunction_t217BE827C5994EDCA3FE70CE73578C2F729F9E69
{
public:
// System.Int32 UnityEngine.Rendering.CompareFunction::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CompareFunction_t217BE827C5994EDCA3FE70CE73578C2F729F9E69, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.Rendering.StencilOp
struct StencilOp_t39C53F937E65AEB59181772222564CEE34A3A48A
{
public:
// System.Int32 UnityEngine.Rendering.StencilOp::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StencilOp_t39C53F937E65AEB59181772222564CEE34A3A48A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.TextAnchor
struct TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57
{
public:
// System.Int32 UnityEngine.TextAnchor::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextAnchor_tEC19034D476659A5E05366C63564F34DD30E7C57, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.TextGenerationError
struct TextGenerationError_t7D5BA12E3120623131293E20A1120847377A2524
{
public:
// System.Int32 UnityEngine.TextGenerationError::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextGenerationError_t7D5BA12E3120623131293E20A1120847377A2524, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.CanvasUpdate
struct CanvasUpdate_t101AC9B078FFAAC6BDA703E7439B320BC19E9AF6
{
public:
// System.Int32 UnityEngine.UI.CanvasUpdate::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CanvasUpdate_t101AC9B078FFAAC6BDA703E7439B320BC19E9AF6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.ColorBlock
struct ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA
{
public:
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_NormalColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_NormalColor_0;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_HighlightedColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_HighlightedColor_1;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_PressedColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_PressedColor_2;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_SelectedColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_SelectedColor_3;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_DisabledColor
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_DisabledColor_4;
// System.Single UnityEngine.UI.ColorBlock::m_ColorMultiplier
float ___m_ColorMultiplier_5;
// System.Single UnityEngine.UI.ColorBlock::m_FadeDuration
float ___m_FadeDuration_6;
public:
inline static int32_t get_offset_of_m_NormalColor_0() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_NormalColor_0)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_NormalColor_0() const { return ___m_NormalColor_0; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_NormalColor_0() { return &___m_NormalColor_0; }
inline void set_m_NormalColor_0(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_NormalColor_0 = value;
}
inline static int32_t get_offset_of_m_HighlightedColor_1() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_HighlightedColor_1)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_HighlightedColor_1() const { return ___m_HighlightedColor_1; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_HighlightedColor_1() { return &___m_HighlightedColor_1; }
inline void set_m_HighlightedColor_1(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_HighlightedColor_1 = value;
}
inline static int32_t get_offset_of_m_PressedColor_2() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_PressedColor_2)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_PressedColor_2() const { return ___m_PressedColor_2; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_PressedColor_2() { return &___m_PressedColor_2; }
inline void set_m_PressedColor_2(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_PressedColor_2 = value;
}
inline static int32_t get_offset_of_m_SelectedColor_3() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_SelectedColor_3)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_SelectedColor_3() const { return ___m_SelectedColor_3; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_SelectedColor_3() { return &___m_SelectedColor_3; }
inline void set_m_SelectedColor_3(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_SelectedColor_3 = value;
}
inline static int32_t get_offset_of_m_DisabledColor_4() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_DisabledColor_4)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_DisabledColor_4() const { return ___m_DisabledColor_4; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_DisabledColor_4() { return &___m_DisabledColor_4; }
inline void set_m_DisabledColor_4(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_DisabledColor_4 = value;
}
inline static int32_t get_offset_of_m_ColorMultiplier_5() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_ColorMultiplier_5)); }
inline float get_m_ColorMultiplier_5() const { return ___m_ColorMultiplier_5; }
inline float* get_address_of_m_ColorMultiplier_5() { return &___m_ColorMultiplier_5; }
inline void set_m_ColorMultiplier_5(float value)
{
___m_ColorMultiplier_5 = value;
}
inline static int32_t get_offset_of_m_FadeDuration_6() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_FadeDuration_6)); }
inline float get_m_FadeDuration_6() const { return ___m_FadeDuration_6; }
inline float* get_address_of_m_FadeDuration_6() { return &___m_FadeDuration_6; }
inline void set_m_FadeDuration_6(float value)
{
___m_FadeDuration_6 = value;
}
};
// UnityEngine.UI.Navigation_Mode
struct Mode_t93F92BD50B147AE38D82BA33FA77FD247A59FE26
{
public:
// System.Int32 UnityEngine.UI.Navigation_Mode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Mode_t93F92BD50B147AE38D82BA33FA77FD247A59FE26, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.Selectable_Transition
struct Transition_tA9261C608B54C52324084A0B080E7A3E0548A181
{
public:
// System.Int32 UnityEngine.UI.Selectable_Transition::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Transition_tA9261C608B54C52324084A0B080E7A3E0548A181, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.Slider_Axis
struct Axis_t5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830
{
public:
// System.Int32 UnityEngine.UI.Slider_Axis::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Axis_t5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.Slider_Direction
struct Direction_tAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E
{
public:
// System.Int32 UnityEngine.UI.Slider_Direction::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Direction_tAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.Slider_SliderEvent
struct SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C : public UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6
{
public:
public:
};
// UnityEngine.UI.Toggle_ToggleEvent
struct ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 : public UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3
{
public:
public:
};
// UnityEngine.UI.Toggle_ToggleTransition
struct ToggleTransition_t45980EB1352FF47B2D8D8EBC90385AB68939046D
{
public:
// System.Int32 UnityEngine.UI.Toggle_ToggleTransition::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ToggleTransition_t45980EB1352FF47B2D8D8EBC90385AB68939046D, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// UnityEngine.UI.VertexHelper
struct VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F : public RuntimeObject
{
public:
// System.Collections.Generic.List`1<UnityEngine.Vector3> UnityEngine.UI.VertexHelper::m_Positions
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___m_Positions_0;
// System.Collections.Generic.List`1<UnityEngine.Color32> UnityEngine.UI.VertexHelper::m_Colors
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___m_Colors_1;
// System.Collections.Generic.List`1<UnityEngine.Vector2> UnityEngine.UI.VertexHelper::m_Uv0S
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___m_Uv0S_2;
// System.Collections.Generic.List`1<UnityEngine.Vector2> UnityEngine.UI.VertexHelper::m_Uv1S
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___m_Uv1S_3;
// System.Collections.Generic.List`1<UnityEngine.Vector2> UnityEngine.UI.VertexHelper::m_Uv2S
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___m_Uv2S_4;
// System.Collections.Generic.List`1<UnityEngine.Vector2> UnityEngine.UI.VertexHelper::m_Uv3S
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___m_Uv3S_5;
// System.Collections.Generic.List`1<UnityEngine.Vector3> UnityEngine.UI.VertexHelper::m_Normals
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___m_Normals_6;
// System.Collections.Generic.List`1<UnityEngine.Vector4> UnityEngine.UI.VertexHelper::m_Tangents
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___m_Tangents_7;
// System.Collections.Generic.List`1<System.Int32> UnityEngine.UI.VertexHelper::m_Indices
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___m_Indices_8;
// System.Boolean UnityEngine.UI.VertexHelper::m_ListsInitalized
bool ___m_ListsInitalized_11;
public:
inline static int32_t get_offset_of_m_Positions_0() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Positions_0)); }
inline List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * get_m_Positions_0() const { return ___m_Positions_0; }
inline List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 ** get_address_of_m_Positions_0() { return &___m_Positions_0; }
inline void set_m_Positions_0(List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * value)
{
___m_Positions_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Positions_0), (void*)value);
}
inline static int32_t get_offset_of_m_Colors_1() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Colors_1)); }
inline List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * get_m_Colors_1() const { return ___m_Colors_1; }
inline List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 ** get_address_of_m_Colors_1() { return &___m_Colors_1; }
inline void set_m_Colors_1(List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * value)
{
___m_Colors_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Colors_1), (void*)value);
}
inline static int32_t get_offset_of_m_Uv0S_2() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Uv0S_2)); }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * get_m_Uv0S_2() const { return ___m_Uv0S_2; }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB ** get_address_of_m_Uv0S_2() { return &___m_Uv0S_2; }
inline void set_m_Uv0S_2(List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * value)
{
___m_Uv0S_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Uv0S_2), (void*)value);
}
inline static int32_t get_offset_of_m_Uv1S_3() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Uv1S_3)); }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * get_m_Uv1S_3() const { return ___m_Uv1S_3; }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB ** get_address_of_m_Uv1S_3() { return &___m_Uv1S_3; }
inline void set_m_Uv1S_3(List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * value)
{
___m_Uv1S_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Uv1S_3), (void*)value);
}
inline static int32_t get_offset_of_m_Uv2S_4() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Uv2S_4)); }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * get_m_Uv2S_4() const { return ___m_Uv2S_4; }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB ** get_address_of_m_Uv2S_4() { return &___m_Uv2S_4; }
inline void set_m_Uv2S_4(List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * value)
{
___m_Uv2S_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Uv2S_4), (void*)value);
}
inline static int32_t get_offset_of_m_Uv3S_5() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Uv3S_5)); }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * get_m_Uv3S_5() const { return ___m_Uv3S_5; }
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB ** get_address_of_m_Uv3S_5() { return &___m_Uv3S_5; }
inline void set_m_Uv3S_5(List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * value)
{
___m_Uv3S_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Uv3S_5), (void*)value);
}
inline static int32_t get_offset_of_m_Normals_6() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Normals_6)); }
inline List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * get_m_Normals_6() const { return ___m_Normals_6; }
inline List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 ** get_address_of_m_Normals_6() { return &___m_Normals_6; }
inline void set_m_Normals_6(List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * value)
{
___m_Normals_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Normals_6), (void*)value);
}
inline static int32_t get_offset_of_m_Tangents_7() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Tangents_7)); }
inline List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * get_m_Tangents_7() const { return ___m_Tangents_7; }
inline List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 ** get_address_of_m_Tangents_7() { return &___m_Tangents_7; }
inline void set_m_Tangents_7(List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * value)
{
___m_Tangents_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Tangents_7), (void*)value);
}
inline static int32_t get_offset_of_m_Indices_8() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_Indices_8)); }
inline List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * get_m_Indices_8() const { return ___m_Indices_8; }
inline List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 ** get_address_of_m_Indices_8() { return &___m_Indices_8; }
inline void set_m_Indices_8(List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * value)
{
___m_Indices_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Indices_8), (void*)value);
}
inline static int32_t get_offset_of_m_ListsInitalized_11() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F, ___m_ListsInitalized_11)); }
inline bool get_m_ListsInitalized_11() const { return ___m_ListsInitalized_11; }
inline bool* get_address_of_m_ListsInitalized_11() { return &___m_ListsInitalized_11; }
inline void set_m_ListsInitalized_11(bool value)
{
___m_ListsInitalized_11 = value;
}
};
struct VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields
{
public:
// UnityEngine.Vector4 UnityEngine.UI.VertexHelper::s_DefaultTangent
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___s_DefaultTangent_9;
// UnityEngine.Vector3 UnityEngine.UI.VertexHelper::s_DefaultNormal
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___s_DefaultNormal_10;
public:
inline static int32_t get_offset_of_s_DefaultTangent_9() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields, ___s_DefaultTangent_9)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_s_DefaultTangent_9() const { return ___s_DefaultTangent_9; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_s_DefaultTangent_9() { return &___s_DefaultTangent_9; }
inline void set_s_DefaultTangent_9(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___s_DefaultTangent_9 = value;
}
inline static int32_t get_offset_of_s_DefaultNormal_10() { return static_cast<int32_t>(offsetof(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields, ___s_DefaultNormal_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_s_DefaultNormal_10() const { return ___s_DefaultNormal_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_s_DefaultNormal_10() { return &___s_DefaultNormal_10; }
inline void set_s_DefaultNormal_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___s_DefaultNormal_10 = value;
}
};
// UnityEngine.UIVertex
struct UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577
{
public:
// UnityEngine.Vector3 UnityEngine.UIVertex::position
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position_0;
// UnityEngine.Vector3 UnityEngine.UIVertex::normal
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal_1;
// UnityEngine.Vector4 UnityEngine.UIVertex::tangent
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent_2;
// UnityEngine.Color32 UnityEngine.UIVertex::color
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color_3;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv0
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv0_4;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv1
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv1_5;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv2
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv2_6;
// UnityEngine.Vector2 UnityEngine.UIVertex::uv3
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv3_7;
public:
inline static int32_t get_offset_of_position_0() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___position_0)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_position_0() const { return ___position_0; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_position_0() { return &___position_0; }
inline void set_position_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___position_0 = value;
}
inline static int32_t get_offset_of_normal_1() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___normal_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_normal_1() const { return ___normal_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_normal_1() { return &___normal_1; }
inline void set_normal_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___normal_1 = value;
}
inline static int32_t get_offset_of_tangent_2() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___tangent_2)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_tangent_2() const { return ___tangent_2; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_tangent_2() { return &___tangent_2; }
inline void set_tangent_2(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___tangent_2 = value;
}
inline static int32_t get_offset_of_color_3() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___color_3)); }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 get_color_3() const { return ___color_3; }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * get_address_of_color_3() { return &___color_3; }
inline void set_color_3(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
___color_3 = value;
}
inline static int32_t get_offset_of_uv0_4() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv0_4)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv0_4() const { return ___uv0_4; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv0_4() { return &___uv0_4; }
inline void set_uv0_4(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uv0_4 = value;
}
inline static int32_t get_offset_of_uv1_5() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv1_5)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv1_5() const { return ___uv1_5; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv1_5() { return &___uv1_5; }
inline void set_uv1_5(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uv1_5 = value;
}
inline static int32_t get_offset_of_uv2_6() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv2_6)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv2_6() const { return ___uv2_6; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv2_6() { return &___uv2_6; }
inline void set_uv2_6(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uv2_6 = value;
}
inline static int32_t get_offset_of_uv3_7() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577, ___uv3_7)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_uv3_7() const { return ___uv3_7; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_uv3_7() { return &___uv3_7; }
inline void set_uv3_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___uv3_7 = value;
}
};
struct UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields
{
public:
// UnityEngine.Color32 UnityEngine.UIVertex::s_DefaultColor
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___s_DefaultColor_8;
// UnityEngine.Vector4 UnityEngine.UIVertex::s_DefaultTangent
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___s_DefaultTangent_9;
// UnityEngine.UIVertex UnityEngine.UIVertex::simpleVert
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 ___simpleVert_10;
public:
inline static int32_t get_offset_of_s_DefaultColor_8() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___s_DefaultColor_8)); }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 get_s_DefaultColor_8() const { return ___s_DefaultColor_8; }
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * get_address_of_s_DefaultColor_8() { return &___s_DefaultColor_8; }
inline void set_s_DefaultColor_8(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
___s_DefaultColor_8 = value;
}
inline static int32_t get_offset_of_s_DefaultTangent_9() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___s_DefaultTangent_9)); }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E get_s_DefaultTangent_9() const { return ___s_DefaultTangent_9; }
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * get_address_of_s_DefaultTangent_9() { return &___s_DefaultTangent_9; }
inline void set_s_DefaultTangent_9(Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
___s_DefaultTangent_9 = value;
}
inline static int32_t get_offset_of_simpleVert_10() { return static_cast<int32_t>(offsetof(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577_StaticFields, ___simpleVert_10)); }
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 get_simpleVert_10() const { return ___simpleVert_10; }
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * get_address_of_simpleVert_10() { return &___simpleVert_10; }
inline void set_simpleVert_10(UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 value)
{
___simpleVert_10 = value;
}
};
// UnityEngine.VerticalWrapMode
struct VerticalWrapMode_tD909C5B2F6A25AE3797BC71373196D850FC845E9
{
public:
// System.Int32 UnityEngine.VerticalWrapMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(VerticalWrapMode_tD909C5B2F6A25AE3797BC71373196D850FC845E9, ___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.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.SystemException
struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 : public Exception_t
{
public:
public:
};
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 : public BaseEventData_t46C9D2AE3183A742EDE89944AF64A23DBF1B80A5
{
public:
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerEnter>k__BackingField
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CpointerEnterU3Ek__BackingField_2;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::m_PointerPress
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_PointerPress_3;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<lastPress>k__BackingField
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3ClastPressU3Ek__BackingField_4;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<rawPointerPress>k__BackingField
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CrawPointerPressU3Ek__BackingField_5;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerDrag>k__BackingField
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___U3CpointerDragU3Ek__BackingField_6;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerCurrentRaycast>k__BackingField
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___U3CpointerCurrentRaycastU3Ek__BackingField_7;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerPressRaycast>k__BackingField
RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 ___U3CpointerPressRaycastU3Ek__BackingField_8;
// System.Collections.Generic.List`1<UnityEngine.GameObject> UnityEngine.EventSystems.PointerEventData::hovered
List_1_t99909CDEDA6D21189884AEA74B1FD99FC9C6A4C0 * ___hovered_9;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<eligibleForClick>k__BackingField
bool ___U3CeligibleForClickU3Ek__BackingField_10;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<pointerId>k__BackingField
int32_t ___U3CpointerIdU3Ek__BackingField_11;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<position>k__BackingField
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3CpositionU3Ek__BackingField_12;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<delta>k__BackingField
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3CdeltaU3Ek__BackingField_13;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<pressPosition>k__BackingField
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3CpressPositionU3Ek__BackingField_14;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldPosition>k__BackingField
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___U3CworldPositionU3Ek__BackingField_15;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldNormal>k__BackingField
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___U3CworldNormalU3Ek__BackingField_16;
// System.Single UnityEngine.EventSystems.PointerEventData::<clickTime>k__BackingField
float ___U3CclickTimeU3Ek__BackingField_17;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<clickCount>k__BackingField
int32_t ___U3CclickCountU3Ek__BackingField_18;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<scrollDelta>k__BackingField
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3CscrollDeltaU3Ek__BackingField_19;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<useDragThreshold>k__BackingField
bool ___U3CuseDragThresholdU3Ek__BackingField_20;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<dragging>k__BackingField
bool ___U3CdraggingU3Ek__BackingField_21;
// UnityEngine.EventSystems.PointerEventData_InputButton UnityEngine.EventSystems.PointerEventData::<button>k__BackingField
int32_t ___U3CbuttonU3Ek__BackingField_22;
public:
inline static int32_t get_offset_of_U3CpointerEnterU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpointerEnterU3Ek__BackingField_2)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_U3CpointerEnterU3Ek__BackingField_2() const { return ___U3CpointerEnterU3Ek__BackingField_2; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_U3CpointerEnterU3Ek__BackingField_2() { return &___U3CpointerEnterU3Ek__BackingField_2; }
inline void set_U3CpointerEnterU3Ek__BackingField_2(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___U3CpointerEnterU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CpointerEnterU3Ek__BackingField_2), (void*)value);
}
inline static int32_t get_offset_of_m_PointerPress_3() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___m_PointerPress_3)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_PointerPress_3() const { return ___m_PointerPress_3; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_PointerPress_3() { return &___m_PointerPress_3; }
inline void set_m_PointerPress_3(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___m_PointerPress_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_PointerPress_3), (void*)value);
}
inline static int32_t get_offset_of_U3ClastPressU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3ClastPressU3Ek__BackingField_4)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_U3ClastPressU3Ek__BackingField_4() const { return ___U3ClastPressU3Ek__BackingField_4; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_U3ClastPressU3Ek__BackingField_4() { return &___U3ClastPressU3Ek__BackingField_4; }
inline void set_U3ClastPressU3Ek__BackingField_4(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___U3ClastPressU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3ClastPressU3Ek__BackingField_4), (void*)value);
}
inline static int32_t get_offset_of_U3CrawPointerPressU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CrawPointerPressU3Ek__BackingField_5)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_U3CrawPointerPressU3Ek__BackingField_5() const { return ___U3CrawPointerPressU3Ek__BackingField_5; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_U3CrawPointerPressU3Ek__BackingField_5() { return &___U3CrawPointerPressU3Ek__BackingField_5; }
inline void set_U3CrawPointerPressU3Ek__BackingField_5(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___U3CrawPointerPressU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CrawPointerPressU3Ek__BackingField_5), (void*)value);
}
inline static int32_t get_offset_of_U3CpointerDragU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpointerDragU3Ek__BackingField_6)); }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_U3CpointerDragU3Ek__BackingField_6() const { return ___U3CpointerDragU3Ek__BackingField_6; }
inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_U3CpointerDragU3Ek__BackingField_6() { return &___U3CpointerDragU3Ek__BackingField_6; }
inline void set_U3CpointerDragU3Ek__BackingField_6(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value)
{
___U3CpointerDragU3Ek__BackingField_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CpointerDragU3Ek__BackingField_6), (void*)value);
}
inline static int32_t get_offset_of_U3CpointerCurrentRaycastU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpointerCurrentRaycastU3Ek__BackingField_7)); }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 get_U3CpointerCurrentRaycastU3Ek__BackingField_7() const { return ___U3CpointerCurrentRaycastU3Ek__BackingField_7; }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 * get_address_of_U3CpointerCurrentRaycastU3Ek__BackingField_7() { return &___U3CpointerCurrentRaycastU3Ek__BackingField_7; }
inline void set_U3CpointerCurrentRaycastU3Ek__BackingField_7(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 value)
{
___U3CpointerCurrentRaycastU3Ek__BackingField_7 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___U3CpointerCurrentRaycastU3Ek__BackingField_7))->___m_GameObject_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___U3CpointerCurrentRaycastU3Ek__BackingField_7))->___module_1), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_U3CpointerPressRaycastU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpointerPressRaycastU3Ek__BackingField_8)); }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 get_U3CpointerPressRaycastU3Ek__BackingField_8() const { return ___U3CpointerPressRaycastU3Ek__BackingField_8; }
inline RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 * get_address_of_U3CpointerPressRaycastU3Ek__BackingField_8() { return &___U3CpointerPressRaycastU3Ek__BackingField_8; }
inline void set_U3CpointerPressRaycastU3Ek__BackingField_8(RaycastResult_t991BCED43A91EDD8580F39631DA07B1F88C58B91 value)
{
___U3CpointerPressRaycastU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___U3CpointerPressRaycastU3Ek__BackingField_8))->___m_GameObject_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___U3CpointerPressRaycastU3Ek__BackingField_8))->___module_1), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_hovered_9() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___hovered_9)); }
inline List_1_t99909CDEDA6D21189884AEA74B1FD99FC9C6A4C0 * get_hovered_9() const { return ___hovered_9; }
inline List_1_t99909CDEDA6D21189884AEA74B1FD99FC9C6A4C0 ** get_address_of_hovered_9() { return &___hovered_9; }
inline void set_hovered_9(List_1_t99909CDEDA6D21189884AEA74B1FD99FC9C6A4C0 * value)
{
___hovered_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___hovered_9), (void*)value);
}
inline static int32_t get_offset_of_U3CeligibleForClickU3Ek__BackingField_10() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CeligibleForClickU3Ek__BackingField_10)); }
inline bool get_U3CeligibleForClickU3Ek__BackingField_10() const { return ___U3CeligibleForClickU3Ek__BackingField_10; }
inline bool* get_address_of_U3CeligibleForClickU3Ek__BackingField_10() { return &___U3CeligibleForClickU3Ek__BackingField_10; }
inline void set_U3CeligibleForClickU3Ek__BackingField_10(bool value)
{
___U3CeligibleForClickU3Ek__BackingField_10 = value;
}
inline static int32_t get_offset_of_U3CpointerIdU3Ek__BackingField_11() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpointerIdU3Ek__BackingField_11)); }
inline int32_t get_U3CpointerIdU3Ek__BackingField_11() const { return ___U3CpointerIdU3Ek__BackingField_11; }
inline int32_t* get_address_of_U3CpointerIdU3Ek__BackingField_11() { return &___U3CpointerIdU3Ek__BackingField_11; }
inline void set_U3CpointerIdU3Ek__BackingField_11(int32_t value)
{
___U3CpointerIdU3Ek__BackingField_11 = value;
}
inline static int32_t get_offset_of_U3CpositionU3Ek__BackingField_12() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpositionU3Ek__BackingField_12)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3CpositionU3Ek__BackingField_12() const { return ___U3CpositionU3Ek__BackingField_12; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3CpositionU3Ek__BackingField_12() { return &___U3CpositionU3Ek__BackingField_12; }
inline void set_U3CpositionU3Ek__BackingField_12(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___U3CpositionU3Ek__BackingField_12 = value;
}
inline static int32_t get_offset_of_U3CdeltaU3Ek__BackingField_13() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CdeltaU3Ek__BackingField_13)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3CdeltaU3Ek__BackingField_13() const { return ___U3CdeltaU3Ek__BackingField_13; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3CdeltaU3Ek__BackingField_13() { return &___U3CdeltaU3Ek__BackingField_13; }
inline void set_U3CdeltaU3Ek__BackingField_13(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___U3CdeltaU3Ek__BackingField_13 = value;
}
inline static int32_t get_offset_of_U3CpressPositionU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CpressPositionU3Ek__BackingField_14)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3CpressPositionU3Ek__BackingField_14() const { return ___U3CpressPositionU3Ek__BackingField_14; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3CpressPositionU3Ek__BackingField_14() { return &___U3CpressPositionU3Ek__BackingField_14; }
inline void set_U3CpressPositionU3Ek__BackingField_14(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___U3CpressPositionU3Ek__BackingField_14 = value;
}
inline static int32_t get_offset_of_U3CworldPositionU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CworldPositionU3Ek__BackingField_15)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_U3CworldPositionU3Ek__BackingField_15() const { return ___U3CworldPositionU3Ek__BackingField_15; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_U3CworldPositionU3Ek__BackingField_15() { return &___U3CworldPositionU3Ek__BackingField_15; }
inline void set_U3CworldPositionU3Ek__BackingField_15(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___U3CworldPositionU3Ek__BackingField_15 = value;
}
inline static int32_t get_offset_of_U3CworldNormalU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CworldNormalU3Ek__BackingField_16)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_U3CworldNormalU3Ek__BackingField_16() const { return ___U3CworldNormalU3Ek__BackingField_16; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_U3CworldNormalU3Ek__BackingField_16() { return &___U3CworldNormalU3Ek__BackingField_16; }
inline void set_U3CworldNormalU3Ek__BackingField_16(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___U3CworldNormalU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_U3CclickTimeU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CclickTimeU3Ek__BackingField_17)); }
inline float get_U3CclickTimeU3Ek__BackingField_17() const { return ___U3CclickTimeU3Ek__BackingField_17; }
inline float* get_address_of_U3CclickTimeU3Ek__BackingField_17() { return &___U3CclickTimeU3Ek__BackingField_17; }
inline void set_U3CclickTimeU3Ek__BackingField_17(float value)
{
___U3CclickTimeU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_U3CclickCountU3Ek__BackingField_18() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CclickCountU3Ek__BackingField_18)); }
inline int32_t get_U3CclickCountU3Ek__BackingField_18() const { return ___U3CclickCountU3Ek__BackingField_18; }
inline int32_t* get_address_of_U3CclickCountU3Ek__BackingField_18() { return &___U3CclickCountU3Ek__BackingField_18; }
inline void set_U3CclickCountU3Ek__BackingField_18(int32_t value)
{
___U3CclickCountU3Ek__BackingField_18 = value;
}
inline static int32_t get_offset_of_U3CscrollDeltaU3Ek__BackingField_19() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CscrollDeltaU3Ek__BackingField_19)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3CscrollDeltaU3Ek__BackingField_19() const { return ___U3CscrollDeltaU3Ek__BackingField_19; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3CscrollDeltaU3Ek__BackingField_19() { return &___U3CscrollDeltaU3Ek__BackingField_19; }
inline void set_U3CscrollDeltaU3Ek__BackingField_19(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___U3CscrollDeltaU3Ek__BackingField_19 = value;
}
inline static int32_t get_offset_of_U3CuseDragThresholdU3Ek__BackingField_20() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CuseDragThresholdU3Ek__BackingField_20)); }
inline bool get_U3CuseDragThresholdU3Ek__BackingField_20() const { return ___U3CuseDragThresholdU3Ek__BackingField_20; }
inline bool* get_address_of_U3CuseDragThresholdU3Ek__BackingField_20() { return &___U3CuseDragThresholdU3Ek__BackingField_20; }
inline void set_U3CuseDragThresholdU3Ek__BackingField_20(bool value)
{
___U3CuseDragThresholdU3Ek__BackingField_20 = value;
}
inline static int32_t get_offset_of_U3CdraggingU3Ek__BackingField_21() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CdraggingU3Ek__BackingField_21)); }
inline bool get_U3CdraggingU3Ek__BackingField_21() const { return ___U3CdraggingU3Ek__BackingField_21; }
inline bool* get_address_of_U3CdraggingU3Ek__BackingField_21() { return &___U3CdraggingU3Ek__BackingField_21; }
inline void set_U3CdraggingU3Ek__BackingField_21(bool value)
{
___U3CdraggingU3Ek__BackingField_21 = value;
}
inline static int32_t get_offset_of_U3CbuttonU3Ek__BackingField_22() { return static_cast<int32_t>(offsetof(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63, ___U3CbuttonU3Ek__BackingField_22)); }
inline int32_t get_U3CbuttonU3Ek__BackingField_22() const { return ___U3CbuttonU3Ek__BackingField_22; }
inline int32_t* get_address_of_U3CbuttonU3Ek__BackingField_22() { return &___U3CbuttonU3Ek__BackingField_22; }
inline void set_U3CbuttonU3Ek__BackingField_22(int32_t value)
{
___U3CbuttonU3Ek__BackingField_22 = value;
}
};
// UnityEngine.Font
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
// UnityEngine.Font_FontTextureRebuildCallback UnityEngine.Font::m_FontTextureRebuildCallback
FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * ___m_FontTextureRebuildCallback_5;
public:
inline static int32_t get_offset_of_m_FontTextureRebuildCallback_5() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26, ___m_FontTextureRebuildCallback_5)); }
inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * get_m_FontTextureRebuildCallback_5() const { return ___m_FontTextureRebuildCallback_5; }
inline FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C ** get_address_of_m_FontTextureRebuildCallback_5() { return &___m_FontTextureRebuildCallback_5; }
inline void set_m_FontTextureRebuildCallback_5(FontTextureRebuildCallback_tD700C63BB1A449E3A0464C81701E981677D3021C * value)
{
___m_FontTextureRebuildCallback_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_FontTextureRebuildCallback_5), (void*)value);
}
};
struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields
{
public:
// System.Action`1<UnityEngine.Font> UnityEngine.Font::textureRebuilt
Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___textureRebuilt_4;
public:
inline static int32_t get_offset_of_textureRebuilt_4() { return static_cast<int32_t>(offsetof(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_StaticFields, ___textureRebuilt_4)); }
inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * get_textureRebuilt_4() const { return ___textureRebuilt_4; }
inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C ** get_address_of_textureRebuilt_4() { return &___textureRebuilt_4; }
inline void set_textureRebuilt_4(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * value)
{
___textureRebuilt_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___textureRebuilt_4), (void*)value);
}
};
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.Material
struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.Mesh
struct Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.Sprite
struct Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
// UnityEngine.TextGenerationSettings
struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68
{
public:
// UnityEngine.Font UnityEngine.TextGenerationSettings::font
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0;
// UnityEngine.Color UnityEngine.TextGenerationSettings::color
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1;
// System.Int32 UnityEngine.TextGenerationSettings::fontSize
int32_t ___fontSize_2;
// System.Single UnityEngine.TextGenerationSettings::lineSpacing
float ___lineSpacing_3;
// System.Boolean UnityEngine.TextGenerationSettings::richText
bool ___richText_4;
// System.Single UnityEngine.TextGenerationSettings::scaleFactor
float ___scaleFactor_5;
// UnityEngine.FontStyle UnityEngine.TextGenerationSettings::fontStyle
int32_t ___fontStyle_6;
// UnityEngine.TextAnchor UnityEngine.TextGenerationSettings::textAnchor
int32_t ___textAnchor_7;
// System.Boolean UnityEngine.TextGenerationSettings::alignByGeometry
bool ___alignByGeometry_8;
// System.Boolean UnityEngine.TextGenerationSettings::resizeTextForBestFit
bool ___resizeTextForBestFit_9;
// System.Int32 UnityEngine.TextGenerationSettings::resizeTextMinSize
int32_t ___resizeTextMinSize_10;
// System.Int32 UnityEngine.TextGenerationSettings::resizeTextMaxSize
int32_t ___resizeTextMaxSize_11;
// System.Boolean UnityEngine.TextGenerationSettings::updateBounds
bool ___updateBounds_12;
// UnityEngine.VerticalWrapMode UnityEngine.TextGenerationSettings::verticalOverflow
int32_t ___verticalOverflow_13;
// UnityEngine.HorizontalWrapMode UnityEngine.TextGenerationSettings::horizontalOverflow
int32_t ___horizontalOverflow_14;
// UnityEngine.Vector2 UnityEngine.TextGenerationSettings::generationExtents
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15;
// UnityEngine.Vector2 UnityEngine.TextGenerationSettings::pivot
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16;
// System.Boolean UnityEngine.TextGenerationSettings::generateOutOfBounds
bool ___generateOutOfBounds_17;
public:
inline static int32_t get_offset_of_font_0() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___font_0)); }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * get_font_0() const { return ___font_0; }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 ** get_address_of_font_0() { return &___font_0; }
inline void set_font_0(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * value)
{
___font_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___font_0), (void*)value);
}
inline static int32_t get_offset_of_color_1() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___color_1)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_color_1() const { return ___color_1; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_color_1() { return &___color_1; }
inline void set_color_1(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___color_1 = value;
}
inline static int32_t get_offset_of_fontSize_2() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___fontSize_2)); }
inline int32_t get_fontSize_2() const { return ___fontSize_2; }
inline int32_t* get_address_of_fontSize_2() { return &___fontSize_2; }
inline void set_fontSize_2(int32_t value)
{
___fontSize_2 = value;
}
inline static int32_t get_offset_of_lineSpacing_3() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___lineSpacing_3)); }
inline float get_lineSpacing_3() const { return ___lineSpacing_3; }
inline float* get_address_of_lineSpacing_3() { return &___lineSpacing_3; }
inline void set_lineSpacing_3(float value)
{
___lineSpacing_3 = value;
}
inline static int32_t get_offset_of_richText_4() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___richText_4)); }
inline bool get_richText_4() const { return ___richText_4; }
inline bool* get_address_of_richText_4() { return &___richText_4; }
inline void set_richText_4(bool value)
{
___richText_4 = value;
}
inline static int32_t get_offset_of_scaleFactor_5() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___scaleFactor_5)); }
inline float get_scaleFactor_5() const { return ___scaleFactor_5; }
inline float* get_address_of_scaleFactor_5() { return &___scaleFactor_5; }
inline void set_scaleFactor_5(float value)
{
___scaleFactor_5 = value;
}
inline static int32_t get_offset_of_fontStyle_6() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___fontStyle_6)); }
inline int32_t get_fontStyle_6() const { return ___fontStyle_6; }
inline int32_t* get_address_of_fontStyle_6() { return &___fontStyle_6; }
inline void set_fontStyle_6(int32_t value)
{
___fontStyle_6 = value;
}
inline static int32_t get_offset_of_textAnchor_7() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___textAnchor_7)); }
inline int32_t get_textAnchor_7() const { return ___textAnchor_7; }
inline int32_t* get_address_of_textAnchor_7() { return &___textAnchor_7; }
inline void set_textAnchor_7(int32_t value)
{
___textAnchor_7 = value;
}
inline static int32_t get_offset_of_alignByGeometry_8() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___alignByGeometry_8)); }
inline bool get_alignByGeometry_8() const { return ___alignByGeometry_8; }
inline bool* get_address_of_alignByGeometry_8() { return &___alignByGeometry_8; }
inline void set_alignByGeometry_8(bool value)
{
___alignByGeometry_8 = value;
}
inline static int32_t get_offset_of_resizeTextForBestFit_9() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextForBestFit_9)); }
inline bool get_resizeTextForBestFit_9() const { return ___resizeTextForBestFit_9; }
inline bool* get_address_of_resizeTextForBestFit_9() { return &___resizeTextForBestFit_9; }
inline void set_resizeTextForBestFit_9(bool value)
{
___resizeTextForBestFit_9 = value;
}
inline static int32_t get_offset_of_resizeTextMinSize_10() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextMinSize_10)); }
inline int32_t get_resizeTextMinSize_10() const { return ___resizeTextMinSize_10; }
inline int32_t* get_address_of_resizeTextMinSize_10() { return &___resizeTextMinSize_10; }
inline void set_resizeTextMinSize_10(int32_t value)
{
___resizeTextMinSize_10 = value;
}
inline static int32_t get_offset_of_resizeTextMaxSize_11() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___resizeTextMaxSize_11)); }
inline int32_t get_resizeTextMaxSize_11() const { return ___resizeTextMaxSize_11; }
inline int32_t* get_address_of_resizeTextMaxSize_11() { return &___resizeTextMaxSize_11; }
inline void set_resizeTextMaxSize_11(int32_t value)
{
___resizeTextMaxSize_11 = value;
}
inline static int32_t get_offset_of_updateBounds_12() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___updateBounds_12)); }
inline bool get_updateBounds_12() const { return ___updateBounds_12; }
inline bool* get_address_of_updateBounds_12() { return &___updateBounds_12; }
inline void set_updateBounds_12(bool value)
{
___updateBounds_12 = value;
}
inline static int32_t get_offset_of_verticalOverflow_13() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___verticalOverflow_13)); }
inline int32_t get_verticalOverflow_13() const { return ___verticalOverflow_13; }
inline int32_t* get_address_of_verticalOverflow_13() { return &___verticalOverflow_13; }
inline void set_verticalOverflow_13(int32_t value)
{
___verticalOverflow_13 = value;
}
inline static int32_t get_offset_of_horizontalOverflow_14() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___horizontalOverflow_14)); }
inline int32_t get_horizontalOverflow_14() const { return ___horizontalOverflow_14; }
inline int32_t* get_address_of_horizontalOverflow_14() { return &___horizontalOverflow_14; }
inline void set_horizontalOverflow_14(int32_t value)
{
___horizontalOverflow_14 = value;
}
inline static int32_t get_offset_of_generationExtents_15() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___generationExtents_15)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_generationExtents_15() const { return ___generationExtents_15; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_generationExtents_15() { return &___generationExtents_15; }
inline void set_generationExtents_15(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___generationExtents_15 = value;
}
inline static int32_t get_offset_of_pivot_16() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___pivot_16)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_pivot_16() const { return ___pivot_16; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_pivot_16() { return &___pivot_16; }
inline void set_pivot_16(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___pivot_16 = value;
}
inline static int32_t get_offset_of_generateOutOfBounds_17() { return static_cast<int32_t>(offsetof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68, ___generateOutOfBounds_17)); }
inline bool get_generateOutOfBounds_17() const { return ___generateOutOfBounds_17; }
inline bool* get_address_of_generateOutOfBounds_17() { return &___generateOutOfBounds_17; }
inline void set_generateOutOfBounds_17(bool value)
{
___generateOutOfBounds_17 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.TextGenerationSettings
struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0;
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1;
int32_t ___fontSize_2;
float ___lineSpacing_3;
int32_t ___richText_4;
float ___scaleFactor_5;
int32_t ___fontStyle_6;
int32_t ___textAnchor_7;
int32_t ___alignByGeometry_8;
int32_t ___resizeTextForBestFit_9;
int32_t ___resizeTextMinSize_10;
int32_t ___resizeTextMaxSize_11;
int32_t ___updateBounds_12;
int32_t ___verticalOverflow_13;
int32_t ___horizontalOverflow_14;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16;
int32_t ___generateOutOfBounds_17;
};
// Native definition for COM marshalling of UnityEngine.TextGenerationSettings
struct TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___font_0;
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___color_1;
int32_t ___fontSize_2;
float ___lineSpacing_3;
int32_t ___richText_4;
float ___scaleFactor_5;
int32_t ___fontStyle_6;
int32_t ___textAnchor_7;
int32_t ___alignByGeometry_8;
int32_t ___resizeTextForBestFit_9;
int32_t ___resizeTextMinSize_10;
int32_t ___resizeTextMaxSize_11;
int32_t ___updateBounds_12;
int32_t ___verticalOverflow_13;
int32_t ___horizontalOverflow_14;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___generationExtents_15;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___pivot_16;
int32_t ___generateOutOfBounds_17;
};
// UnityEngine.Texture
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
struct Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4_StaticFields
{
public:
// System.Int32 UnityEngine.Texture::GenerateAllMips
int32_t ___GenerateAllMips_4;
public:
inline static int32_t get_offset_of_GenerateAllMips_4() { return static_cast<int32_t>(offsetof(Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4_StaticFields, ___GenerateAllMips_4)); }
inline int32_t get_GenerateAllMips_4() const { return ___GenerateAllMips_4; }
inline int32_t* get_address_of_GenerateAllMips_4() { return &___GenerateAllMips_4; }
inline void set_GenerateAllMips_4(int32_t value)
{
___GenerateAllMips_4 = value;
}
};
// UnityEngine.UI.FontData
struct FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 : public RuntimeObject
{
public:
// UnityEngine.Font UnityEngine.UI.FontData::m_Font
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___m_Font_0;
// System.Int32 UnityEngine.UI.FontData::m_FontSize
int32_t ___m_FontSize_1;
// UnityEngine.FontStyle UnityEngine.UI.FontData::m_FontStyle
int32_t ___m_FontStyle_2;
// System.Boolean UnityEngine.UI.FontData::m_BestFit
bool ___m_BestFit_3;
// System.Int32 UnityEngine.UI.FontData::m_MinSize
int32_t ___m_MinSize_4;
// System.Int32 UnityEngine.UI.FontData::m_MaxSize
int32_t ___m_MaxSize_5;
// UnityEngine.TextAnchor UnityEngine.UI.FontData::m_Alignment
int32_t ___m_Alignment_6;
// System.Boolean UnityEngine.UI.FontData::m_AlignByGeometry
bool ___m_AlignByGeometry_7;
// System.Boolean UnityEngine.UI.FontData::m_RichText
bool ___m_RichText_8;
// UnityEngine.HorizontalWrapMode UnityEngine.UI.FontData::m_HorizontalOverflow
int32_t ___m_HorizontalOverflow_9;
// UnityEngine.VerticalWrapMode UnityEngine.UI.FontData::m_VerticalOverflow
int32_t ___m_VerticalOverflow_10;
// System.Single UnityEngine.UI.FontData::m_LineSpacing
float ___m_LineSpacing_11;
public:
inline static int32_t get_offset_of_m_Font_0() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_Font_0)); }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * get_m_Font_0() const { return ___m_Font_0; }
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 ** get_address_of_m_Font_0() { return &___m_Font_0; }
inline void set_m_Font_0(Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * value)
{
___m_Font_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Font_0), (void*)value);
}
inline static int32_t get_offset_of_m_FontSize_1() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_FontSize_1)); }
inline int32_t get_m_FontSize_1() const { return ___m_FontSize_1; }
inline int32_t* get_address_of_m_FontSize_1() { return &___m_FontSize_1; }
inline void set_m_FontSize_1(int32_t value)
{
___m_FontSize_1 = value;
}
inline static int32_t get_offset_of_m_FontStyle_2() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_FontStyle_2)); }
inline int32_t get_m_FontStyle_2() const { return ___m_FontStyle_2; }
inline int32_t* get_address_of_m_FontStyle_2() { return &___m_FontStyle_2; }
inline void set_m_FontStyle_2(int32_t value)
{
___m_FontStyle_2 = value;
}
inline static int32_t get_offset_of_m_BestFit_3() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_BestFit_3)); }
inline bool get_m_BestFit_3() const { return ___m_BestFit_3; }
inline bool* get_address_of_m_BestFit_3() { return &___m_BestFit_3; }
inline void set_m_BestFit_3(bool value)
{
___m_BestFit_3 = value;
}
inline static int32_t get_offset_of_m_MinSize_4() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_MinSize_4)); }
inline int32_t get_m_MinSize_4() const { return ___m_MinSize_4; }
inline int32_t* get_address_of_m_MinSize_4() { return &___m_MinSize_4; }
inline void set_m_MinSize_4(int32_t value)
{
___m_MinSize_4 = value;
}
inline static int32_t get_offset_of_m_MaxSize_5() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_MaxSize_5)); }
inline int32_t get_m_MaxSize_5() const { return ___m_MaxSize_5; }
inline int32_t* get_address_of_m_MaxSize_5() { return &___m_MaxSize_5; }
inline void set_m_MaxSize_5(int32_t value)
{
___m_MaxSize_5 = value;
}
inline static int32_t get_offset_of_m_Alignment_6() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_Alignment_6)); }
inline int32_t get_m_Alignment_6() const { return ___m_Alignment_6; }
inline int32_t* get_address_of_m_Alignment_6() { return &___m_Alignment_6; }
inline void set_m_Alignment_6(int32_t value)
{
___m_Alignment_6 = value;
}
inline static int32_t get_offset_of_m_AlignByGeometry_7() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_AlignByGeometry_7)); }
inline bool get_m_AlignByGeometry_7() const { return ___m_AlignByGeometry_7; }
inline bool* get_address_of_m_AlignByGeometry_7() { return &___m_AlignByGeometry_7; }
inline void set_m_AlignByGeometry_7(bool value)
{
___m_AlignByGeometry_7 = value;
}
inline static int32_t get_offset_of_m_RichText_8() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_RichText_8)); }
inline bool get_m_RichText_8() const { return ___m_RichText_8; }
inline bool* get_address_of_m_RichText_8() { return &___m_RichText_8; }
inline void set_m_RichText_8(bool value)
{
___m_RichText_8 = value;
}
inline static int32_t get_offset_of_m_HorizontalOverflow_9() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_HorizontalOverflow_9)); }
inline int32_t get_m_HorizontalOverflow_9() const { return ___m_HorizontalOverflow_9; }
inline int32_t* get_address_of_m_HorizontalOverflow_9() { return &___m_HorizontalOverflow_9; }
inline void set_m_HorizontalOverflow_9(int32_t value)
{
___m_HorizontalOverflow_9 = value;
}
inline static int32_t get_offset_of_m_VerticalOverflow_10() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_VerticalOverflow_10)); }
inline int32_t get_m_VerticalOverflow_10() const { return ___m_VerticalOverflow_10; }
inline int32_t* get_address_of_m_VerticalOverflow_10() { return &___m_VerticalOverflow_10; }
inline void set_m_VerticalOverflow_10(int32_t value)
{
___m_VerticalOverflow_10 = value;
}
inline static int32_t get_offset_of_m_LineSpacing_11() { return static_cast<int32_t>(offsetof(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494, ___m_LineSpacing_11)); }
inline float get_m_LineSpacing_11() const { return ___m_LineSpacing_11; }
inline float* get_address_of_m_LineSpacing_11() { return &___m_LineSpacing_11; }
inline void set_m_LineSpacing_11(float value)
{
___m_LineSpacing_11 = value;
}
};
// UnityEngine.UI.Navigation
struct Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07
{
public:
// UnityEngine.UI.Navigation_Mode UnityEngine.UI.Navigation::m_Mode
int32_t ___m_Mode_0;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnUp
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnUp_1;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnDown
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnDown_2;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnLeft
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnLeft_3;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnRight
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnRight_4;
public:
inline static int32_t get_offset_of_m_Mode_0() { return static_cast<int32_t>(offsetof(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07, ___m_Mode_0)); }
inline int32_t get_m_Mode_0() const { return ___m_Mode_0; }
inline int32_t* get_address_of_m_Mode_0() { return &___m_Mode_0; }
inline void set_m_Mode_0(int32_t value)
{
___m_Mode_0 = value;
}
inline static int32_t get_offset_of_m_SelectOnUp_1() { return static_cast<int32_t>(offsetof(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07, ___m_SelectOnUp_1)); }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * get_m_SelectOnUp_1() const { return ___m_SelectOnUp_1; }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A ** get_address_of_m_SelectOnUp_1() { return &___m_SelectOnUp_1; }
inline void set_m_SelectOnUp_1(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * value)
{
___m_SelectOnUp_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SelectOnUp_1), (void*)value);
}
inline static int32_t get_offset_of_m_SelectOnDown_2() { return static_cast<int32_t>(offsetof(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07, ___m_SelectOnDown_2)); }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * get_m_SelectOnDown_2() const { return ___m_SelectOnDown_2; }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A ** get_address_of_m_SelectOnDown_2() { return &___m_SelectOnDown_2; }
inline void set_m_SelectOnDown_2(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * value)
{
___m_SelectOnDown_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SelectOnDown_2), (void*)value);
}
inline static int32_t get_offset_of_m_SelectOnLeft_3() { return static_cast<int32_t>(offsetof(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07, ___m_SelectOnLeft_3)); }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * get_m_SelectOnLeft_3() const { return ___m_SelectOnLeft_3; }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A ** get_address_of_m_SelectOnLeft_3() { return &___m_SelectOnLeft_3; }
inline void set_m_SelectOnLeft_3(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * value)
{
___m_SelectOnLeft_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SelectOnLeft_3), (void*)value);
}
inline static int32_t get_offset_of_m_SelectOnRight_4() { return static_cast<int32_t>(offsetof(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07, ___m_SelectOnRight_4)); }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * get_m_SelectOnRight_4() const { return ___m_SelectOnRight_4; }
inline Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A ** get_address_of_m_SelectOnRight_4() { return &___m_SelectOnRight_4; }
inline void set_m_SelectOnRight_4(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * value)
{
___m_SelectOnRight_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_SelectOnRight_4), (void*)value);
}
};
// Native definition for P/Invoke marshalling of UnityEngine.UI.Navigation
struct Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07_marshaled_pinvoke
{
int32_t ___m_Mode_0;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnUp_1;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnDown_2;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnLeft_3;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnRight_4;
};
// Native definition for COM marshalling of UnityEngine.UI.Navigation
struct Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07_marshaled_com
{
int32_t ___m_Mode_0;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnUp_1;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnDown_2;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnLeft_3;
Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * ___m_SelectOnRight_4;
};
// UnityEngine.UI.StencilMaterial_MatEntry
struct MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 : public RuntimeObject
{
public:
// UnityEngine.Material UnityEngine.UI.StencilMaterial_MatEntry::baseMat
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___baseMat_0;
// UnityEngine.Material UnityEngine.UI.StencilMaterial_MatEntry::customMat
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___customMat_1;
// System.Int32 UnityEngine.UI.StencilMaterial_MatEntry::count
int32_t ___count_2;
// System.Int32 UnityEngine.UI.StencilMaterial_MatEntry::stencilId
int32_t ___stencilId_3;
// UnityEngine.Rendering.StencilOp UnityEngine.UI.StencilMaterial_MatEntry::operation
int32_t ___operation_4;
// UnityEngine.Rendering.CompareFunction UnityEngine.UI.StencilMaterial_MatEntry::compareFunction
int32_t ___compareFunction_5;
// System.Int32 UnityEngine.UI.StencilMaterial_MatEntry::readMask
int32_t ___readMask_6;
// System.Int32 UnityEngine.UI.StencilMaterial_MatEntry::writeMask
int32_t ___writeMask_7;
// System.Boolean UnityEngine.UI.StencilMaterial_MatEntry::useAlphaClip
bool ___useAlphaClip_8;
// UnityEngine.Rendering.ColorWriteMask UnityEngine.UI.StencilMaterial_MatEntry::colorMask
int32_t ___colorMask_9;
public:
inline static int32_t get_offset_of_baseMat_0() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___baseMat_0)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_baseMat_0() const { return ___baseMat_0; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_baseMat_0() { return &___baseMat_0; }
inline void set_baseMat_0(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___baseMat_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___baseMat_0), (void*)value);
}
inline static int32_t get_offset_of_customMat_1() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___customMat_1)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_customMat_1() const { return ___customMat_1; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_customMat_1() { return &___customMat_1; }
inline void set_customMat_1(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___customMat_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___customMat_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___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_stencilId_3() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___stencilId_3)); }
inline int32_t get_stencilId_3() const { return ___stencilId_3; }
inline int32_t* get_address_of_stencilId_3() { return &___stencilId_3; }
inline void set_stencilId_3(int32_t value)
{
___stencilId_3 = value;
}
inline static int32_t get_offset_of_operation_4() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___operation_4)); }
inline int32_t get_operation_4() const { return ___operation_4; }
inline int32_t* get_address_of_operation_4() { return &___operation_4; }
inline void set_operation_4(int32_t value)
{
___operation_4 = value;
}
inline static int32_t get_offset_of_compareFunction_5() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___compareFunction_5)); }
inline int32_t get_compareFunction_5() const { return ___compareFunction_5; }
inline int32_t* get_address_of_compareFunction_5() { return &___compareFunction_5; }
inline void set_compareFunction_5(int32_t value)
{
___compareFunction_5 = value;
}
inline static int32_t get_offset_of_readMask_6() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___readMask_6)); }
inline int32_t get_readMask_6() const { return ___readMask_6; }
inline int32_t* get_address_of_readMask_6() { return &___readMask_6; }
inline void set_readMask_6(int32_t value)
{
___readMask_6 = value;
}
inline static int32_t get_offset_of_writeMask_7() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___writeMask_7)); }
inline int32_t get_writeMask_7() const { return ___writeMask_7; }
inline int32_t* get_address_of_writeMask_7() { return &___writeMask_7; }
inline void set_writeMask_7(int32_t value)
{
___writeMask_7 = value;
}
inline static int32_t get_offset_of_useAlphaClip_8() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___useAlphaClip_8)); }
inline bool get_useAlphaClip_8() const { return ___useAlphaClip_8; }
inline bool* get_address_of_useAlphaClip_8() { return &___useAlphaClip_8; }
inline void set_useAlphaClip_8(bool value)
{
___useAlphaClip_8 = value;
}
inline static int32_t get_offset_of_colorMask_9() { return static_cast<int32_t>(offsetof(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701, ___colorMask_9)); }
inline int32_t get_colorMask_9() const { return ___colorMask_9; }
inline int32_t* get_address_of_colorMask_9() { return &___colorMask_9; }
inline void set_colorMask_9(int32_t value)
{
___colorMask_9 = value;
}
};
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
}
};
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean>
struct Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 : public MulticastDelegate_t
{
public:
public:
};
// System.Predicate`1<UnityEngine.UI.Toggle>
struct Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 : public MulticastDelegate_t
{
public:
public:
};
// UnityEngine.Behaviour
struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
// UnityEngine.CanvasRenderer
struct CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
// System.Boolean UnityEngine.CanvasRenderer::<isMask>k__BackingField
bool ___U3CisMaskU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CisMaskU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72, ___U3CisMaskU3Ek__BackingField_4)); }
inline bool get_U3CisMaskU3Ek__BackingField_4() const { return ___U3CisMaskU3Ek__BackingField_4; }
inline bool* get_address_of_U3CisMaskU3Ek__BackingField_4() { return &___U3CisMaskU3Ek__BackingField_4; }
inline void set_U3CisMaskU3Ek__BackingField_4(bool value)
{
___U3CisMaskU3Ek__BackingField_4 = value;
}
};
// UnityEngine.TextGenerator
struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.TextGenerator::m_Ptr
intptr_t ___m_Ptr_0;
// System.String UnityEngine.TextGenerator::m_LastString
String_t* ___m_LastString_1;
// UnityEngine.TextGenerationSettings UnityEngine.TextGenerator::m_LastSettings
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___m_LastSettings_2;
// System.Boolean UnityEngine.TextGenerator::m_HasGenerated
bool ___m_HasGenerated_3;
// UnityEngine.TextGenerationError UnityEngine.TextGenerator::m_LastValid
int32_t ___m_LastValid_4;
// System.Collections.Generic.List`1<UnityEngine.UIVertex> UnityEngine.TextGenerator::m_Verts
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5;
// System.Collections.Generic.List`1<UnityEngine.UICharInfo> UnityEngine.TextGenerator::m_Characters
List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6;
// System.Collections.Generic.List`1<UnityEngine.UILineInfo> UnityEngine.TextGenerator::m_Lines
List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7;
// System.Boolean UnityEngine.TextGenerator::m_CachedVerts
bool ___m_CachedVerts_8;
// System.Boolean UnityEngine.TextGenerator::m_CachedCharacters
bool ___m_CachedCharacters_9;
// System.Boolean UnityEngine.TextGenerator::m_CachedLines
bool ___m_CachedLines_10;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_LastString_1() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastString_1)); }
inline String_t* get_m_LastString_1() const { return ___m_LastString_1; }
inline String_t** get_address_of_m_LastString_1() { return &___m_LastString_1; }
inline void set_m_LastString_1(String_t* value)
{
___m_LastString_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_LastString_1), (void*)value);
}
inline static int32_t get_offset_of_m_LastSettings_2() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastSettings_2)); }
inline TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 get_m_LastSettings_2() const { return ___m_LastSettings_2; }
inline TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 * get_address_of_m_LastSettings_2() { return &___m_LastSettings_2; }
inline void set_m_LastSettings_2(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 value)
{
___m_LastSettings_2 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_LastSettings_2))->___font_0), (void*)NULL);
}
inline static int32_t get_offset_of_m_HasGenerated_3() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_HasGenerated_3)); }
inline bool get_m_HasGenerated_3() const { return ___m_HasGenerated_3; }
inline bool* get_address_of_m_HasGenerated_3() { return &___m_HasGenerated_3; }
inline void set_m_HasGenerated_3(bool value)
{
___m_HasGenerated_3 = value;
}
inline static int32_t get_offset_of_m_LastValid_4() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_LastValid_4)); }
inline int32_t get_m_LastValid_4() const { return ___m_LastValid_4; }
inline int32_t* get_address_of_m_LastValid_4() { return &___m_LastValid_4; }
inline void set_m_LastValid_4(int32_t value)
{
___m_LastValid_4 = value;
}
inline static int32_t get_offset_of_m_Verts_5() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Verts_5)); }
inline List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * get_m_Verts_5() const { return ___m_Verts_5; }
inline List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 ** get_address_of_m_Verts_5() { return &___m_Verts_5; }
inline void set_m_Verts_5(List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * value)
{
___m_Verts_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Verts_5), (void*)value);
}
inline static int32_t get_offset_of_m_Characters_6() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Characters_6)); }
inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * get_m_Characters_6() const { return ___m_Characters_6; }
inline List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E ** get_address_of_m_Characters_6() { return &___m_Characters_6; }
inline void set_m_Characters_6(List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * value)
{
___m_Characters_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Characters_6), (void*)value);
}
inline static int32_t get_offset_of_m_Lines_7() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_Lines_7)); }
inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * get_m_Lines_7() const { return ___m_Lines_7; }
inline List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 ** get_address_of_m_Lines_7() { return &___m_Lines_7; }
inline void set_m_Lines_7(List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * value)
{
___m_Lines_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Lines_7), (void*)value);
}
inline static int32_t get_offset_of_m_CachedVerts_8() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedVerts_8)); }
inline bool get_m_CachedVerts_8() const { return ___m_CachedVerts_8; }
inline bool* get_address_of_m_CachedVerts_8() { return &___m_CachedVerts_8; }
inline void set_m_CachedVerts_8(bool value)
{
___m_CachedVerts_8 = value;
}
inline static int32_t get_offset_of_m_CachedCharacters_9() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedCharacters_9)); }
inline bool get_m_CachedCharacters_9() const { return ___m_CachedCharacters_9; }
inline bool* get_address_of_m_CachedCharacters_9() { return &___m_CachedCharacters_9; }
inline void set_m_CachedCharacters_9(bool value)
{
___m_CachedCharacters_9 = value;
}
inline static int32_t get_offset_of_m_CachedLines_10() { return static_cast<int32_t>(offsetof(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8, ___m_CachedLines_10)); }
inline bool get_m_CachedLines_10() const { return ___m_CachedLines_10; }
inline bool* get_address_of_m_CachedLines_10() { return &___m_CachedLines_10; }
inline void set_m_CachedLines_10(bool value)
{
___m_CachedLines_10 = value;
}
};
// Native definition for P/Invoke marshalling of UnityEngine.TextGenerator
struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
char* ___m_LastString_1;
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_pinvoke ___m_LastSettings_2;
int32_t ___m_HasGenerated_3;
int32_t ___m_LastValid_4;
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5;
List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6;
List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7;
int32_t ___m_CachedVerts_8;
int32_t ___m_CachedCharacters_9;
int32_t ___m_CachedLines_10;
};
// Native definition for COM marshalling of UnityEngine.TextGenerator
struct TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppChar* ___m_LastString_1;
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68_marshaled_com ___m_LastSettings_2;
int32_t ___m_HasGenerated_3;
int32_t ___m_LastValid_4;
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___m_Verts_5;
List_1_tD850FBA632A52824016AAA9B3748BA38F51E087E * ___m_Characters_6;
List_1_t7687D8368357F4437252DC75BFCE9DE76F3143A0 * ___m_Lines_7;
int32_t ___m_CachedVerts_8;
int32_t ___m_CachedCharacters_9;
int32_t ___m_CachedLines_10;
};
// UnityEngine.Texture2D
struct Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C : public Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4
{
public:
public:
};
// UnityEngine.Transform
struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
// UnityEngine.Canvas
struct Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
struct Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591_StaticFields
{
public:
// UnityEngine.Canvas_WillRenderCanvases UnityEngine.Canvas::willRenderCanvases
WillRenderCanvases_tBD5AD090B5938021DEAA679A5AEEA790F60A8BEE * ___willRenderCanvases_4;
public:
inline static int32_t get_offset_of_willRenderCanvases_4() { return static_cast<int32_t>(offsetof(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591_StaticFields, ___willRenderCanvases_4)); }
inline WillRenderCanvases_tBD5AD090B5938021DEAA679A5AEEA790F60A8BEE * get_willRenderCanvases_4() const { return ___willRenderCanvases_4; }
inline WillRenderCanvases_tBD5AD090B5938021DEAA679A5AEEA790F60A8BEE ** get_address_of_willRenderCanvases_4() { return &___willRenderCanvases_4; }
inline void set_willRenderCanvases_4(WillRenderCanvases_tBD5AD090B5938021DEAA679A5AEEA790F60A8BEE * value)
{
___willRenderCanvases_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___willRenderCanvases_4), (void*)value);
}
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
// UnityEngine.RectTransform
struct RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 : public Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA
{
public:
public:
};
struct RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20_StaticFields
{
public:
// UnityEngine.RectTransform_ReapplyDrivenProperties UnityEngine.RectTransform::reapplyDrivenProperties
ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * ___reapplyDrivenProperties_4;
public:
inline static int32_t get_offset_of_reapplyDrivenProperties_4() { return static_cast<int32_t>(offsetof(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20_StaticFields, ___reapplyDrivenProperties_4)); }
inline ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * get_reapplyDrivenProperties_4() const { return ___reapplyDrivenProperties_4; }
inline ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D ** get_address_of_reapplyDrivenProperties_4() { return &___reapplyDrivenProperties_4; }
inline void set_reapplyDrivenProperties_4(ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * value)
{
___reapplyDrivenProperties_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___reapplyDrivenProperties_4), (void*)value);
}
};
// UnityEngine.EventSystems.UIBehaviour
struct UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429
{
public:
public:
};
// UnityEngine.UI.Graphic
struct Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70
{
public:
// UnityEngine.Material UnityEngine.UI.Graphic::m_Material
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___m_Material_6;
// UnityEngine.Color UnityEngine.UI.Graphic::m_Color
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_Color_7;
// System.Boolean UnityEngine.UI.Graphic::m_SkipLayoutUpdate
bool ___m_SkipLayoutUpdate_8;
// System.Boolean UnityEngine.UI.Graphic::m_SkipMaterialUpdate
bool ___m_SkipMaterialUpdate_9;
// System.Boolean UnityEngine.UI.Graphic::m_RaycastTarget
bool ___m_RaycastTarget_10;
// UnityEngine.RectTransform UnityEngine.UI.Graphic::m_RectTransform
RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_RectTransform_11;
// UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::m_CanvasRenderer
CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * ___m_CanvasRenderer_12;
// UnityEngine.Canvas UnityEngine.UI.Graphic::m_Canvas
Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * ___m_Canvas_13;
// System.Boolean UnityEngine.UI.Graphic::m_VertsDirty
bool ___m_VertsDirty_14;
// System.Boolean UnityEngine.UI.Graphic::m_MaterialDirty
bool ___m_MaterialDirty_15;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyLayoutCallback
UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyLayoutCallback_16;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyVertsCallback
UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyVertsCallback_17;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyMaterialCallback
UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyMaterialCallback_18;
// UnityEngine.Mesh UnityEngine.UI.Graphic::m_CachedMesh
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * ___m_CachedMesh_21;
// UnityEngine.Vector2[] UnityEngine.UI.Graphic::m_CachedUvs
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* ___m_CachedUvs_22;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween> UnityEngine.UI.Graphic::m_ColorTweenRunner
TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * ___m_ColorTweenRunner_23;
// System.Boolean UnityEngine.UI.Graphic::<useLegacyMeshGeneration>k__BackingField
bool ___U3CuseLegacyMeshGenerationU3Ek__BackingField_24;
public:
inline static int32_t get_offset_of_m_Material_6() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_Material_6)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_m_Material_6() const { return ___m_Material_6; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_m_Material_6() { return &___m_Material_6; }
inline void set_m_Material_6(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___m_Material_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Material_6), (void*)value);
}
inline static int32_t get_offset_of_m_Color_7() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_Color_7)); }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_Color_7() const { return ___m_Color_7; }
inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_Color_7() { return &___m_Color_7; }
inline void set_m_Color_7(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value)
{
___m_Color_7 = value;
}
inline static int32_t get_offset_of_m_SkipLayoutUpdate_8() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_SkipLayoutUpdate_8)); }
inline bool get_m_SkipLayoutUpdate_8() const { return ___m_SkipLayoutUpdate_8; }
inline bool* get_address_of_m_SkipLayoutUpdate_8() { return &___m_SkipLayoutUpdate_8; }
inline void set_m_SkipLayoutUpdate_8(bool value)
{
___m_SkipLayoutUpdate_8 = value;
}
inline static int32_t get_offset_of_m_SkipMaterialUpdate_9() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_SkipMaterialUpdate_9)); }
inline bool get_m_SkipMaterialUpdate_9() const { return ___m_SkipMaterialUpdate_9; }
inline bool* get_address_of_m_SkipMaterialUpdate_9() { return &___m_SkipMaterialUpdate_9; }
inline void set_m_SkipMaterialUpdate_9(bool value)
{
___m_SkipMaterialUpdate_9 = value;
}
inline static int32_t get_offset_of_m_RaycastTarget_10() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_RaycastTarget_10)); }
inline bool get_m_RaycastTarget_10() const { return ___m_RaycastTarget_10; }
inline bool* get_address_of_m_RaycastTarget_10() { return &___m_RaycastTarget_10; }
inline void set_m_RaycastTarget_10(bool value)
{
___m_RaycastTarget_10 = value;
}
inline static int32_t get_offset_of_m_RectTransform_11() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_RectTransform_11)); }
inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_RectTransform_11() const { return ___m_RectTransform_11; }
inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_RectTransform_11() { return &___m_RectTransform_11; }
inline void set_m_RectTransform_11(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value)
{
___m_RectTransform_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_RectTransform_11), (void*)value);
}
inline static int32_t get_offset_of_m_CanvasRenderer_12() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_CanvasRenderer_12)); }
inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * get_m_CanvasRenderer_12() const { return ___m_CanvasRenderer_12; }
inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 ** get_address_of_m_CanvasRenderer_12() { return &___m_CanvasRenderer_12; }
inline void set_m_CanvasRenderer_12(CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * value)
{
___m_CanvasRenderer_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CanvasRenderer_12), (void*)value);
}
inline static int32_t get_offset_of_m_Canvas_13() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_Canvas_13)); }
inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * get_m_Canvas_13() const { return ___m_Canvas_13; }
inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 ** get_address_of_m_Canvas_13() { return &___m_Canvas_13; }
inline void set_m_Canvas_13(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * value)
{
___m_Canvas_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Canvas_13), (void*)value);
}
inline static int32_t get_offset_of_m_VertsDirty_14() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_VertsDirty_14)); }
inline bool get_m_VertsDirty_14() const { return ___m_VertsDirty_14; }
inline bool* get_address_of_m_VertsDirty_14() { return &___m_VertsDirty_14; }
inline void set_m_VertsDirty_14(bool value)
{
___m_VertsDirty_14 = value;
}
inline static int32_t get_offset_of_m_MaterialDirty_15() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_MaterialDirty_15)); }
inline bool get_m_MaterialDirty_15() const { return ___m_MaterialDirty_15; }
inline bool* get_address_of_m_MaterialDirty_15() { return &___m_MaterialDirty_15; }
inline void set_m_MaterialDirty_15(bool value)
{
___m_MaterialDirty_15 = value;
}
inline static int32_t get_offset_of_m_OnDirtyLayoutCallback_16() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyLayoutCallback_16)); }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyLayoutCallback_16() const { return ___m_OnDirtyLayoutCallback_16; }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyLayoutCallback_16() { return &___m_OnDirtyLayoutCallback_16; }
inline void set_m_OnDirtyLayoutCallback_16(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value)
{
___m_OnDirtyLayoutCallback_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnDirtyLayoutCallback_16), (void*)value);
}
inline static int32_t get_offset_of_m_OnDirtyVertsCallback_17() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyVertsCallback_17)); }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyVertsCallback_17() const { return ___m_OnDirtyVertsCallback_17; }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyVertsCallback_17() { return &___m_OnDirtyVertsCallback_17; }
inline void set_m_OnDirtyVertsCallback_17(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value)
{
___m_OnDirtyVertsCallback_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnDirtyVertsCallback_17), (void*)value);
}
inline static int32_t get_offset_of_m_OnDirtyMaterialCallback_18() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyMaterialCallback_18)); }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyMaterialCallback_18() const { return ___m_OnDirtyMaterialCallback_18; }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyMaterialCallback_18() { return &___m_OnDirtyMaterialCallback_18; }
inline void set_m_OnDirtyMaterialCallback_18(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value)
{
___m_OnDirtyMaterialCallback_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnDirtyMaterialCallback_18), (void*)value);
}
inline static int32_t get_offset_of_m_CachedMesh_21() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_CachedMesh_21)); }
inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * get_m_CachedMesh_21() const { return ___m_CachedMesh_21; }
inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C ** get_address_of_m_CachedMesh_21() { return &___m_CachedMesh_21; }
inline void set_m_CachedMesh_21(Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * value)
{
___m_CachedMesh_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CachedMesh_21), (void*)value);
}
inline static int32_t get_offset_of_m_CachedUvs_22() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_CachedUvs_22)); }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* get_m_CachedUvs_22() const { return ___m_CachedUvs_22; }
inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6** get_address_of_m_CachedUvs_22() { return &___m_CachedUvs_22; }
inline void set_m_CachedUvs_22(Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* value)
{
___m_CachedUvs_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CachedUvs_22), (void*)value);
}
inline static int32_t get_offset_of_m_ColorTweenRunner_23() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_ColorTweenRunner_23)); }
inline TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * get_m_ColorTweenRunner_23() const { return ___m_ColorTweenRunner_23; }
inline TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 ** get_address_of_m_ColorTweenRunner_23() { return &___m_ColorTweenRunner_23; }
inline void set_m_ColorTweenRunner_23(TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * value)
{
___m_ColorTweenRunner_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ColorTweenRunner_23), (void*)value);
}
inline static int32_t get_offset_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_24() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___U3CuseLegacyMeshGenerationU3Ek__BackingField_24)); }
inline bool get_U3CuseLegacyMeshGenerationU3Ek__BackingField_24() const { return ___U3CuseLegacyMeshGenerationU3Ek__BackingField_24; }
inline bool* get_address_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_24() { return &___U3CuseLegacyMeshGenerationU3Ek__BackingField_24; }
inline void set_U3CuseLegacyMeshGenerationU3Ek__BackingField_24(bool value)
{
___U3CuseLegacyMeshGenerationU3Ek__BackingField_24 = value;
}
};
struct Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields
{
public:
// UnityEngine.Material UnityEngine.UI.Graphic::s_DefaultUI
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___s_DefaultUI_4;
// UnityEngine.Texture2D UnityEngine.UI.Graphic::s_WhiteTexture
Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C * ___s_WhiteTexture_5;
// UnityEngine.Mesh UnityEngine.UI.Graphic::s_Mesh
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * ___s_Mesh_19;
// UnityEngine.UI.VertexHelper UnityEngine.UI.Graphic::s_VertexHelper
VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * ___s_VertexHelper_20;
public:
inline static int32_t get_offset_of_s_DefaultUI_4() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_DefaultUI_4)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_s_DefaultUI_4() const { return ___s_DefaultUI_4; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_s_DefaultUI_4() { return &___s_DefaultUI_4; }
inline void set_s_DefaultUI_4(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___s_DefaultUI_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultUI_4), (void*)value);
}
inline static int32_t get_offset_of_s_WhiteTexture_5() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_WhiteTexture_5)); }
inline Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C * get_s_WhiteTexture_5() const { return ___s_WhiteTexture_5; }
inline Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C ** get_address_of_s_WhiteTexture_5() { return &___s_WhiteTexture_5; }
inline void set_s_WhiteTexture_5(Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C * value)
{
___s_WhiteTexture_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_WhiteTexture_5), (void*)value);
}
inline static int32_t get_offset_of_s_Mesh_19() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_Mesh_19)); }
inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * get_s_Mesh_19() const { return ___s_Mesh_19; }
inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C ** get_address_of_s_Mesh_19() { return &___s_Mesh_19; }
inline void set_s_Mesh_19(Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * value)
{
___s_Mesh_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Mesh_19), (void*)value);
}
inline static int32_t get_offset_of_s_VertexHelper_20() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_VertexHelper_20)); }
inline VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * get_s_VertexHelper_20() const { return ___s_VertexHelper_20; }
inline VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F ** get_address_of_s_VertexHelper_20() { return &___s_VertexHelper_20; }
inline void set_s_VertexHelper_20(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * value)
{
___s_VertexHelper_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_VertexHelper_20), (void*)value);
}
};
// UnityEngine.UI.LayoutGroup
struct LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70
{
public:
// UnityEngine.RectOffset UnityEngine.UI.LayoutGroup::m_Padding
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * ___m_Padding_4;
// UnityEngine.TextAnchor UnityEngine.UI.LayoutGroup::m_ChildAlignment
int32_t ___m_ChildAlignment_5;
// UnityEngine.RectTransform UnityEngine.UI.LayoutGroup::m_Rect
RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Rect_6;
// UnityEngine.DrivenRectTransformTracker UnityEngine.UI.LayoutGroup::m_Tracker
DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_7;
// UnityEngine.Vector2 UnityEngine.UI.LayoutGroup::m_TotalMinSize
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_TotalMinSize_8;
// UnityEngine.Vector2 UnityEngine.UI.LayoutGroup::m_TotalPreferredSize
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_TotalPreferredSize_9;
// UnityEngine.Vector2 UnityEngine.UI.LayoutGroup::m_TotalFlexibleSize
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_TotalFlexibleSize_10;
// System.Collections.Generic.List`1<UnityEngine.RectTransform> UnityEngine.UI.LayoutGroup::m_RectChildren
List_1_t6E2F647783FBCA5123C6D7868CA8A1B87E57EFE7 * ___m_RectChildren_11;
public:
inline static int32_t get_offset_of_m_Padding_4() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_Padding_4)); }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * get_m_Padding_4() const { return ___m_Padding_4; }
inline RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A ** get_address_of_m_Padding_4() { return &___m_Padding_4; }
inline void set_m_Padding_4(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A * value)
{
___m_Padding_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Padding_4), (void*)value);
}
inline static int32_t get_offset_of_m_ChildAlignment_5() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_ChildAlignment_5)); }
inline int32_t get_m_ChildAlignment_5() const { return ___m_ChildAlignment_5; }
inline int32_t* get_address_of_m_ChildAlignment_5() { return &___m_ChildAlignment_5; }
inline void set_m_ChildAlignment_5(int32_t value)
{
___m_ChildAlignment_5 = value;
}
inline static int32_t get_offset_of_m_Rect_6() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_Rect_6)); }
inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_Rect_6() const { return ___m_Rect_6; }
inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_Rect_6() { return &___m_Rect_6; }
inline void set_m_Rect_6(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value)
{
___m_Rect_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Rect_6), (void*)value);
}
inline static int32_t get_offset_of_m_Tracker_7() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_Tracker_7)); }
inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 get_m_Tracker_7() const { return ___m_Tracker_7; }
inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 * get_address_of_m_Tracker_7() { return &___m_Tracker_7; }
inline void set_m_Tracker_7(DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 value)
{
___m_Tracker_7 = value;
}
inline static int32_t get_offset_of_m_TotalMinSize_8() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_TotalMinSize_8)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_TotalMinSize_8() const { return ___m_TotalMinSize_8; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_TotalMinSize_8() { return &___m_TotalMinSize_8; }
inline void set_m_TotalMinSize_8(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___m_TotalMinSize_8 = value;
}
inline static int32_t get_offset_of_m_TotalPreferredSize_9() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_TotalPreferredSize_9)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_TotalPreferredSize_9() const { return ___m_TotalPreferredSize_9; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_TotalPreferredSize_9() { return &___m_TotalPreferredSize_9; }
inline void set_m_TotalPreferredSize_9(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___m_TotalPreferredSize_9 = value;
}
inline static int32_t get_offset_of_m_TotalFlexibleSize_10() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_TotalFlexibleSize_10)); }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_TotalFlexibleSize_10() const { return ___m_TotalFlexibleSize_10; }
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_TotalFlexibleSize_10() { return &___m_TotalFlexibleSize_10; }
inline void set_m_TotalFlexibleSize_10(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
___m_TotalFlexibleSize_10 = value;
}
inline static int32_t get_offset_of_m_RectChildren_11() { return static_cast<int32_t>(offsetof(LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4, ___m_RectChildren_11)); }
inline List_1_t6E2F647783FBCA5123C6D7868CA8A1B87E57EFE7 * get_m_RectChildren_11() const { return ___m_RectChildren_11; }
inline List_1_t6E2F647783FBCA5123C6D7868CA8A1B87E57EFE7 ** get_address_of_m_RectChildren_11() { return &___m_RectChildren_11; }
inline void set_m_RectChildren_11(List_1_t6E2F647783FBCA5123C6D7868CA8A1B87E57EFE7 * value)
{
___m_RectChildren_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_RectChildren_11), (void*)value);
}
};
// UnityEngine.UI.Selectable
struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70
{
public:
// UnityEngine.UI.Navigation UnityEngine.UI.Selectable::m_Navigation
Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 ___m_Navigation_7;
// UnityEngine.UI.Selectable_Transition UnityEngine.UI.Selectable::m_Transition
int32_t ___m_Transition_8;
// UnityEngine.UI.ColorBlock UnityEngine.UI.Selectable::m_Colors
ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA ___m_Colors_9;
// UnityEngine.UI.SpriteState UnityEngine.UI.Selectable::m_SpriteState
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A ___m_SpriteState_10;
// UnityEngine.UI.AnimationTriggers UnityEngine.UI.Selectable::m_AnimationTriggers
AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * ___m_AnimationTriggers_11;
// System.Boolean UnityEngine.UI.Selectable::m_Interactable
bool ___m_Interactable_12;
// UnityEngine.UI.Graphic UnityEngine.UI.Selectable::m_TargetGraphic
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___m_TargetGraphic_13;
// System.Boolean UnityEngine.UI.Selectable::m_GroupsAllowInteraction
bool ___m_GroupsAllowInteraction_14;
// System.Boolean UnityEngine.UI.Selectable::m_WillRemove
bool ___m_WillRemove_15;
// System.Boolean UnityEngine.UI.Selectable::<isPointerInside>k__BackingField
bool ___U3CisPointerInsideU3Ek__BackingField_16;
// System.Boolean UnityEngine.UI.Selectable::<isPointerDown>k__BackingField
bool ___U3CisPointerDownU3Ek__BackingField_17;
// System.Boolean UnityEngine.UI.Selectable::<hasSelection>k__BackingField
bool ___U3ChasSelectionU3Ek__BackingField_18;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup> UnityEngine.UI.Selectable::m_CanvasGroupCache
List_1_tE7746C234F913BA0579DAC892E7288A1C7664A0A * ___m_CanvasGroupCache_19;
public:
inline static int32_t get_offset_of_m_Navigation_7() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Navigation_7)); }
inline Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 get_m_Navigation_7() const { return ___m_Navigation_7; }
inline Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 * get_address_of_m_Navigation_7() { return &___m_Navigation_7; }
inline void set_m_Navigation_7(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 value)
{
___m_Navigation_7 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_Navigation_7))->___m_SelectOnUp_1), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_Navigation_7))->___m_SelectOnDown_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_Navigation_7))->___m_SelectOnLeft_3), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_Navigation_7))->___m_SelectOnRight_4), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_m_Transition_8() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Transition_8)); }
inline int32_t get_m_Transition_8() const { return ___m_Transition_8; }
inline int32_t* get_address_of_m_Transition_8() { return &___m_Transition_8; }
inline void set_m_Transition_8(int32_t value)
{
___m_Transition_8 = value;
}
inline static int32_t get_offset_of_m_Colors_9() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Colors_9)); }
inline ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA get_m_Colors_9() const { return ___m_Colors_9; }
inline ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA * get_address_of_m_Colors_9() { return &___m_Colors_9; }
inline void set_m_Colors_9(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA value)
{
___m_Colors_9 = value;
}
inline static int32_t get_offset_of_m_SpriteState_10() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_SpriteState_10)); }
inline SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A get_m_SpriteState_10() const { return ___m_SpriteState_10; }
inline SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * get_address_of_m_SpriteState_10() { return &___m_SpriteState_10; }
inline void set_m_SpriteState_10(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A value)
{
___m_SpriteState_10 = value;
Il2CppCodeGenWriteBarrier((void**)&(((&___m_SpriteState_10))->___m_HighlightedSprite_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_SpriteState_10))->___m_PressedSprite_1), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_SpriteState_10))->___m_SelectedSprite_2), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&(((&___m_SpriteState_10))->___m_DisabledSprite_3), (void*)NULL);
#endif
}
inline static int32_t get_offset_of_m_AnimationTriggers_11() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_AnimationTriggers_11)); }
inline AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * get_m_AnimationTriggers_11() const { return ___m_AnimationTriggers_11; }
inline AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 ** get_address_of_m_AnimationTriggers_11() { return &___m_AnimationTriggers_11; }
inline void set_m_AnimationTriggers_11(AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * value)
{
___m_AnimationTriggers_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_AnimationTriggers_11), (void*)value);
}
inline static int32_t get_offset_of_m_Interactable_12() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Interactable_12)); }
inline bool get_m_Interactable_12() const { return ___m_Interactable_12; }
inline bool* get_address_of_m_Interactable_12() { return &___m_Interactable_12; }
inline void set_m_Interactable_12(bool value)
{
___m_Interactable_12 = value;
}
inline static int32_t get_offset_of_m_TargetGraphic_13() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_TargetGraphic_13)); }
inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_m_TargetGraphic_13() const { return ___m_TargetGraphic_13; }
inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_m_TargetGraphic_13() { return &___m_TargetGraphic_13; }
inline void set_m_TargetGraphic_13(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value)
{
___m_TargetGraphic_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_TargetGraphic_13), (void*)value);
}
inline static int32_t get_offset_of_m_GroupsAllowInteraction_14() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_GroupsAllowInteraction_14)); }
inline bool get_m_GroupsAllowInteraction_14() const { return ___m_GroupsAllowInteraction_14; }
inline bool* get_address_of_m_GroupsAllowInteraction_14() { return &___m_GroupsAllowInteraction_14; }
inline void set_m_GroupsAllowInteraction_14(bool value)
{
___m_GroupsAllowInteraction_14 = value;
}
inline static int32_t get_offset_of_m_WillRemove_15() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_WillRemove_15)); }
inline bool get_m_WillRemove_15() const { return ___m_WillRemove_15; }
inline bool* get_address_of_m_WillRemove_15() { return &___m_WillRemove_15; }
inline void set_m_WillRemove_15(bool value)
{
___m_WillRemove_15 = value;
}
inline static int32_t get_offset_of_U3CisPointerInsideU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3CisPointerInsideU3Ek__BackingField_16)); }
inline bool get_U3CisPointerInsideU3Ek__BackingField_16() const { return ___U3CisPointerInsideU3Ek__BackingField_16; }
inline bool* get_address_of_U3CisPointerInsideU3Ek__BackingField_16() { return &___U3CisPointerInsideU3Ek__BackingField_16; }
inline void set_U3CisPointerInsideU3Ek__BackingField_16(bool value)
{
___U3CisPointerInsideU3Ek__BackingField_16 = value;
}
inline static int32_t get_offset_of_U3CisPointerDownU3Ek__BackingField_17() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3CisPointerDownU3Ek__BackingField_17)); }
inline bool get_U3CisPointerDownU3Ek__BackingField_17() const { return ___U3CisPointerDownU3Ek__BackingField_17; }
inline bool* get_address_of_U3CisPointerDownU3Ek__BackingField_17() { return &___U3CisPointerDownU3Ek__BackingField_17; }
inline void set_U3CisPointerDownU3Ek__BackingField_17(bool value)
{
___U3CisPointerDownU3Ek__BackingField_17 = value;
}
inline static int32_t get_offset_of_U3ChasSelectionU3Ek__BackingField_18() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3ChasSelectionU3Ek__BackingField_18)); }
inline bool get_U3ChasSelectionU3Ek__BackingField_18() const { return ___U3ChasSelectionU3Ek__BackingField_18; }
inline bool* get_address_of_U3ChasSelectionU3Ek__BackingField_18() { return &___U3ChasSelectionU3Ek__BackingField_18; }
inline void set_U3ChasSelectionU3Ek__BackingField_18(bool value)
{
___U3ChasSelectionU3Ek__BackingField_18 = value;
}
inline static int32_t get_offset_of_m_CanvasGroupCache_19() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_CanvasGroupCache_19)); }
inline List_1_tE7746C234F913BA0579DAC892E7288A1C7664A0A * get_m_CanvasGroupCache_19() const { return ___m_CanvasGroupCache_19; }
inline List_1_tE7746C234F913BA0579DAC892E7288A1C7664A0A ** get_address_of_m_CanvasGroupCache_19() { return &___m_CanvasGroupCache_19; }
inline void set_m_CanvasGroupCache_19(List_1_tE7746C234F913BA0579DAC892E7288A1C7664A0A * value)
{
___m_CanvasGroupCache_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_CanvasGroupCache_19), (void*)value);
}
};
struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields
{
public:
// UnityEngine.UI.Selectable[] UnityEngine.UI.Selectable::s_Selectables
SelectableU5BU5D_t98F7C5A863B20CD5DBE49CE288038BA954C83F02* ___s_Selectables_4;
// System.Int32 UnityEngine.UI.Selectable::s_SelectableCount
int32_t ___s_SelectableCount_5;
// System.Boolean UnityEngine.UI.Selectable::s_IsDirty
bool ___s_IsDirty_6;
public:
inline static int32_t get_offset_of_s_Selectables_4() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields, ___s_Selectables_4)); }
inline SelectableU5BU5D_t98F7C5A863B20CD5DBE49CE288038BA954C83F02* get_s_Selectables_4() const { return ___s_Selectables_4; }
inline SelectableU5BU5D_t98F7C5A863B20CD5DBE49CE288038BA954C83F02** get_address_of_s_Selectables_4() { return &___s_Selectables_4; }
inline void set_s_Selectables_4(SelectableU5BU5D_t98F7C5A863B20CD5DBE49CE288038BA954C83F02* value)
{
___s_Selectables_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_Selectables_4), (void*)value);
}
inline static int32_t get_offset_of_s_SelectableCount_5() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields, ___s_SelectableCount_5)); }
inline int32_t get_s_SelectableCount_5() const { return ___s_SelectableCount_5; }
inline int32_t* get_address_of_s_SelectableCount_5() { return &___s_SelectableCount_5; }
inline void set_s_SelectableCount_5(int32_t value)
{
___s_SelectableCount_5 = value;
}
inline static int32_t get_offset_of_s_IsDirty_6() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields, ___s_IsDirty_6)); }
inline bool get_s_IsDirty_6() const { return ___s_IsDirty_6; }
inline bool* get_address_of_s_IsDirty_6() { return &___s_IsDirty_6; }
inline void set_s_IsDirty_6(bool value)
{
___s_IsDirty_6 = value;
}
};
// UnityEngine.UI.ToggleGroup
struct ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70
{
public:
// System.Boolean UnityEngine.UI.ToggleGroup::m_AllowSwitchOff
bool ___m_AllowSwitchOff_4;
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::m_Toggles
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * ___m_Toggles_5;
public:
inline static int32_t get_offset_of_m_AllowSwitchOff_4() { return static_cast<int32_t>(offsetof(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786, ___m_AllowSwitchOff_4)); }
inline bool get_m_AllowSwitchOff_4() const { return ___m_AllowSwitchOff_4; }
inline bool* get_address_of_m_AllowSwitchOff_4() { return &___m_AllowSwitchOff_4; }
inline void set_m_AllowSwitchOff_4(bool value)
{
___m_AllowSwitchOff_4 = value;
}
inline static int32_t get_offset_of_m_Toggles_5() { return static_cast<int32_t>(offsetof(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786, ___m_Toggles_5)); }
inline List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * get_m_Toggles_5() const { return ___m_Toggles_5; }
inline List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C ** get_address_of_m_Toggles_5() { return &___m_Toggles_5; }
inline void set_m_Toggles_5(List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * value)
{
___m_Toggles_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Toggles_5), (void*)value);
}
};
// UnityEngine.UI.HorizontalOrVerticalLayoutGroup
struct HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB : public LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4
{
public:
// System.Single UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_Spacing
float ___m_Spacing_12;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildForceExpandWidth
bool ___m_ChildForceExpandWidth_13;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildForceExpandHeight
bool ___m_ChildForceExpandHeight_14;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildControlWidth
bool ___m_ChildControlWidth_15;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildControlHeight
bool ___m_ChildControlHeight_16;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildScaleWidth
bool ___m_ChildScaleWidth_17;
// System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::m_ChildScaleHeight
bool ___m_ChildScaleHeight_18;
public:
inline static int32_t get_offset_of_m_Spacing_12() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_Spacing_12)); }
inline float get_m_Spacing_12() const { return ___m_Spacing_12; }
inline float* get_address_of_m_Spacing_12() { return &___m_Spacing_12; }
inline void set_m_Spacing_12(float value)
{
___m_Spacing_12 = value;
}
inline static int32_t get_offset_of_m_ChildForceExpandWidth_13() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildForceExpandWidth_13)); }
inline bool get_m_ChildForceExpandWidth_13() const { return ___m_ChildForceExpandWidth_13; }
inline bool* get_address_of_m_ChildForceExpandWidth_13() { return &___m_ChildForceExpandWidth_13; }
inline void set_m_ChildForceExpandWidth_13(bool value)
{
___m_ChildForceExpandWidth_13 = value;
}
inline static int32_t get_offset_of_m_ChildForceExpandHeight_14() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildForceExpandHeight_14)); }
inline bool get_m_ChildForceExpandHeight_14() const { return ___m_ChildForceExpandHeight_14; }
inline bool* get_address_of_m_ChildForceExpandHeight_14() { return &___m_ChildForceExpandHeight_14; }
inline void set_m_ChildForceExpandHeight_14(bool value)
{
___m_ChildForceExpandHeight_14 = value;
}
inline static int32_t get_offset_of_m_ChildControlWidth_15() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildControlWidth_15)); }
inline bool get_m_ChildControlWidth_15() const { return ___m_ChildControlWidth_15; }
inline bool* get_address_of_m_ChildControlWidth_15() { return &___m_ChildControlWidth_15; }
inline void set_m_ChildControlWidth_15(bool value)
{
___m_ChildControlWidth_15 = value;
}
inline static int32_t get_offset_of_m_ChildControlHeight_16() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildControlHeight_16)); }
inline bool get_m_ChildControlHeight_16() const { return ___m_ChildControlHeight_16; }
inline bool* get_address_of_m_ChildControlHeight_16() { return &___m_ChildControlHeight_16; }
inline void set_m_ChildControlHeight_16(bool value)
{
___m_ChildControlHeight_16 = value;
}
inline static int32_t get_offset_of_m_ChildScaleWidth_17() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildScaleWidth_17)); }
inline bool get_m_ChildScaleWidth_17() const { return ___m_ChildScaleWidth_17; }
inline bool* get_address_of_m_ChildScaleWidth_17() { return &___m_ChildScaleWidth_17; }
inline void set_m_ChildScaleWidth_17(bool value)
{
___m_ChildScaleWidth_17 = value;
}
inline static int32_t get_offset_of_m_ChildScaleHeight_18() { return static_cast<int32_t>(offsetof(HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB, ___m_ChildScaleHeight_18)); }
inline bool get_m_ChildScaleHeight_18() const { return ___m_ChildScaleHeight_18; }
inline bool* get_address_of_m_ChildScaleHeight_18() { return &___m_ChildScaleHeight_18; }
inline void set_m_ChildScaleHeight_18(bool value)
{
___m_ChildScaleHeight_18 = value;
}
};
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F : public Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8
{
public:
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculateStencil
bool ___m_ShouldRecalculateStencil_25;
// UnityEngine.Material UnityEngine.UI.MaskableGraphic::m_MaskMaterial
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___m_MaskMaterial_26;
// UnityEngine.UI.RectMask2D UnityEngine.UI.MaskableGraphic::m_ParentMask
RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * ___m_ParentMask_27;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_Maskable
bool ___m_Maskable_28;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_IncludeForMasking
bool ___m_IncludeForMasking_29;
// UnityEngine.UI.MaskableGraphic_CullStateChangedEvent UnityEngine.UI.MaskableGraphic::m_OnCullStateChanged
CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * ___m_OnCullStateChanged_30;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculate
bool ___m_ShouldRecalculate_31;
// System.Int32 UnityEngine.UI.MaskableGraphic::m_StencilValue
int32_t ___m_StencilValue_32;
// UnityEngine.Vector3[] UnityEngine.UI.MaskableGraphic::m_Corners
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_Corners_33;
public:
inline static int32_t get_offset_of_m_ShouldRecalculateStencil_25() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ShouldRecalculateStencil_25)); }
inline bool get_m_ShouldRecalculateStencil_25() const { return ___m_ShouldRecalculateStencil_25; }
inline bool* get_address_of_m_ShouldRecalculateStencil_25() { return &___m_ShouldRecalculateStencil_25; }
inline void set_m_ShouldRecalculateStencil_25(bool value)
{
___m_ShouldRecalculateStencil_25 = value;
}
inline static int32_t get_offset_of_m_MaskMaterial_26() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_MaskMaterial_26)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_m_MaskMaterial_26() const { return ___m_MaskMaterial_26; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_m_MaskMaterial_26() { return &___m_MaskMaterial_26; }
inline void set_m_MaskMaterial_26(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___m_MaskMaterial_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_MaskMaterial_26), (void*)value);
}
inline static int32_t get_offset_of_m_ParentMask_27() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ParentMask_27)); }
inline RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * get_m_ParentMask_27() const { return ___m_ParentMask_27; }
inline RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B ** get_address_of_m_ParentMask_27() { return &___m_ParentMask_27; }
inline void set_m_ParentMask_27(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * value)
{
___m_ParentMask_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ParentMask_27), (void*)value);
}
inline static int32_t get_offset_of_m_Maskable_28() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_Maskable_28)); }
inline bool get_m_Maskable_28() const { return ___m_Maskable_28; }
inline bool* get_address_of_m_Maskable_28() { return &___m_Maskable_28; }
inline void set_m_Maskable_28(bool value)
{
___m_Maskable_28 = value;
}
inline static int32_t get_offset_of_m_IncludeForMasking_29() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_IncludeForMasking_29)); }
inline bool get_m_IncludeForMasking_29() const { return ___m_IncludeForMasking_29; }
inline bool* get_address_of_m_IncludeForMasking_29() { return &___m_IncludeForMasking_29; }
inline void set_m_IncludeForMasking_29(bool value)
{
___m_IncludeForMasking_29 = value;
}
inline static int32_t get_offset_of_m_OnCullStateChanged_30() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_OnCullStateChanged_30)); }
inline CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * get_m_OnCullStateChanged_30() const { return ___m_OnCullStateChanged_30; }
inline CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 ** get_address_of_m_OnCullStateChanged_30() { return &___m_OnCullStateChanged_30; }
inline void set_m_OnCullStateChanged_30(CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * value)
{
___m_OnCullStateChanged_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_OnCullStateChanged_30), (void*)value);
}
inline static int32_t get_offset_of_m_ShouldRecalculate_31() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ShouldRecalculate_31)); }
inline bool get_m_ShouldRecalculate_31() const { return ___m_ShouldRecalculate_31; }
inline bool* get_address_of_m_ShouldRecalculate_31() { return &___m_ShouldRecalculate_31; }
inline void set_m_ShouldRecalculate_31(bool value)
{
___m_ShouldRecalculate_31 = value;
}
inline static int32_t get_offset_of_m_StencilValue_32() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_StencilValue_32)); }
inline int32_t get_m_StencilValue_32() const { return ___m_StencilValue_32; }
inline int32_t* get_address_of_m_StencilValue_32() { return &___m_StencilValue_32; }
inline void set_m_StencilValue_32(int32_t value)
{
___m_StencilValue_32 = value;
}
inline static int32_t get_offset_of_m_Corners_33() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_Corners_33)); }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_Corners_33() const { return ___m_Corners_33; }
inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_Corners_33() { return &___m_Corners_33; }
inline void set_m_Corners_33(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value)
{
___m_Corners_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Corners_33), (void*)value);
}
};
// UnityEngine.UI.Toggle
struct Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A
{
public:
// UnityEngine.UI.Toggle_ToggleTransition UnityEngine.UI.Toggle::toggleTransition
int32_t ___toggleTransition_20;
// UnityEngine.UI.Graphic UnityEngine.UI.Toggle::graphic
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___graphic_21;
// UnityEngine.UI.ToggleGroup UnityEngine.UI.Toggle::m_Group
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * ___m_Group_22;
// UnityEngine.UI.Toggle_ToggleEvent UnityEngine.UI.Toggle::onValueChanged
ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * ___onValueChanged_23;
// System.Boolean UnityEngine.UI.Toggle::m_IsOn
bool ___m_IsOn_24;
public:
inline static int32_t get_offset_of_toggleTransition_20() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___toggleTransition_20)); }
inline int32_t get_toggleTransition_20() const { return ___toggleTransition_20; }
inline int32_t* get_address_of_toggleTransition_20() { return &___toggleTransition_20; }
inline void set_toggleTransition_20(int32_t value)
{
___toggleTransition_20 = value;
}
inline static int32_t get_offset_of_graphic_21() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___graphic_21)); }
inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_graphic_21() const { return ___graphic_21; }
inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_graphic_21() { return &___graphic_21; }
inline void set_graphic_21(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value)
{
___graphic_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___graphic_21), (void*)value);
}
inline static int32_t get_offset_of_m_Group_22() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___m_Group_22)); }
inline ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * get_m_Group_22() const { return ___m_Group_22; }
inline ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 ** get_address_of_m_Group_22() { return &___m_Group_22; }
inline void set_m_Group_22(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * value)
{
___m_Group_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Group_22), (void*)value);
}
inline static int32_t get_offset_of_onValueChanged_23() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___onValueChanged_23)); }
inline ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * get_onValueChanged_23() const { return ___onValueChanged_23; }
inline ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 ** get_address_of_onValueChanged_23() { return &___onValueChanged_23; }
inline void set_onValueChanged_23(ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * value)
{
___onValueChanged_23 = value;
Il2CppCodeGenWriteBarrier((void**)(&___onValueChanged_23), (void*)value);
}
inline static int32_t get_offset_of_m_IsOn_24() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___m_IsOn_24)); }
inline bool get_m_IsOn_24() const { return ___m_IsOn_24; }
inline bool* get_address_of_m_IsOn_24() { return &___m_IsOn_24; }
inline void set_m_IsOn_24(bool value)
{
___m_IsOn_24 = value;
}
};
// UnityEngine.UI.Text
struct Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 : public MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F
{
public:
// UnityEngine.UI.FontData UnityEngine.UI.Text::m_FontData
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * ___m_FontData_34;
// System.String UnityEngine.UI.Text::m_Text
String_t* ___m_Text_35;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCache
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * ___m_TextCache_36;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCacheForLayout
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * ___m_TextCacheForLayout_37;
// System.Boolean UnityEngine.UI.Text::m_DisableFontTextureRebuiltCallback
bool ___m_DisableFontTextureRebuiltCallback_39;
// UnityEngine.UIVertex[] UnityEngine.UI.Text::m_TempVerts
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ___m_TempVerts_40;
public:
inline static int32_t get_offset_of_m_FontData_34() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_FontData_34)); }
inline FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * get_m_FontData_34() const { return ___m_FontData_34; }
inline FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 ** get_address_of_m_FontData_34() { return &___m_FontData_34; }
inline void set_m_FontData_34(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * value)
{
___m_FontData_34 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_FontData_34), (void*)value);
}
inline static int32_t get_offset_of_m_Text_35() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_Text_35)); }
inline String_t* get_m_Text_35() const { return ___m_Text_35; }
inline String_t** get_address_of_m_Text_35() { return &___m_Text_35; }
inline void set_m_Text_35(String_t* value)
{
___m_Text_35 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Text_35), (void*)value);
}
inline static int32_t get_offset_of_m_TextCache_36() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TextCache_36)); }
inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * get_m_TextCache_36() const { return ___m_TextCache_36; }
inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 ** get_address_of_m_TextCache_36() { return &___m_TextCache_36; }
inline void set_m_TextCache_36(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * value)
{
___m_TextCache_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_TextCache_36), (void*)value);
}
inline static int32_t get_offset_of_m_TextCacheForLayout_37() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TextCacheForLayout_37)); }
inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * get_m_TextCacheForLayout_37() const { return ___m_TextCacheForLayout_37; }
inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 ** get_address_of_m_TextCacheForLayout_37() { return &___m_TextCacheForLayout_37; }
inline void set_m_TextCacheForLayout_37(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * value)
{
___m_TextCacheForLayout_37 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_TextCacheForLayout_37), (void*)value);
}
inline static int32_t get_offset_of_m_DisableFontTextureRebuiltCallback_39() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_DisableFontTextureRebuiltCallback_39)); }
inline bool get_m_DisableFontTextureRebuiltCallback_39() const { return ___m_DisableFontTextureRebuiltCallback_39; }
inline bool* get_address_of_m_DisableFontTextureRebuiltCallback_39() { return &___m_DisableFontTextureRebuiltCallback_39; }
inline void set_m_DisableFontTextureRebuiltCallback_39(bool value)
{
___m_DisableFontTextureRebuiltCallback_39 = value;
}
inline static int32_t get_offset_of_m_TempVerts_40() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TempVerts_40)); }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get_m_TempVerts_40() const { return ___m_TempVerts_40; }
inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of_m_TempVerts_40() { return &___m_TempVerts_40; }
inline void set_m_TempVerts_40(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value)
{
___m_TempVerts_40 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_TempVerts_40), (void*)value);
}
};
struct Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields
{
public:
// UnityEngine.Material UnityEngine.UI.Text::s_DefaultText
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___s_DefaultText_38;
public:
inline static int32_t get_offset_of_s_DefaultText_38() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields, ___s_DefaultText_38)); }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_s_DefaultText_38() const { return ___s_DefaultText_38; }
inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_s_DefaultText_38() { return &___s_DefaultText_38; }
inline void set_s_DefaultText_38(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value)
{
___s_DefaultText_38 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultText_38), (void*)value);
}
};
// UnityEngine.UI.VerticalLayoutGroup
struct VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 : public HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : 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);
}
};
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A : public RuntimeArray
{
public:
ALIGN_FIELD (8) UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 m_Items[1];
public:
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 m_Items[1];
public:
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Color32[]
struct Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 m_Items[1];
public:
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector2_tA85D2DD88578276CA8A8796756458277E72D073D m_Items[1];
public:
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E m_Items[1];
public:
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83 : public RuntimeArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C_gshared (UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m3CAF82E0FF61CD84E251E0F7231BBB867C9755C2_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mC5CFC6C9F3007FC24FE020198265D4B5B0659FFC_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Resources::GetBuiltinResource<System.Object>(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Resources_GetBuiltinResource_TisRuntimeObject_m5459C3C01FC37D2596E5DD115105D9821FEF3599_gshared (String_t* ___path0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::Invoke(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F_gshared (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 * __this, bool ___arg00, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351_gshared (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Contains(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_mE08D561E86879A26245096C572A8593279383FDB_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m908B647BB9F807676DACE34E3E73475C3C3751D4_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, RuntimeObject * ___item0, 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_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_gshared (Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * __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_mD3D8180CF4967CBDC17E86195A15B12975BA9FF7_gshared (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, Predicate_1_t4AA10EFD4C5497CA1CD0FE35A6AF5990FF5D0979 * ___match0, const RuntimeMethod* method);
// System.Void System.Func`2<System.Object,System.Boolean>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Func_2__ctor_m52B660F7AF11A491D7A162298208BFA7A5CF26A3_gshared (Func_2_t4B4B1E74248F38404B56001A709D81142DE730CC * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Where<System.Object>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,System.Boolean>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_Where_TisRuntimeObject_m77C4748BC22520E365AB1F6A46B2C8A8BF525492_gshared (RuntimeObject* ___source0, Func_2_t4B4B1E74248F38404B56001A709D81142DE730CC * ___predicate1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F_gshared (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_gshared (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857_gshared (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A_gshared (const RuntimeMethod* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED_gshared (const RuntimeMethod* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_gshared (const RuntimeMethod* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281_gshared (const RuntimeMethod* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<System.Int32>::Get()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542_gshared (const RuntimeMethod* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544_gshared (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___toRelease0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Release(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___toRelease0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Release(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_gshared (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___toRelease0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Release(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E_gshared (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___toRelease0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ListPool`1<System.Int32>::Release(System.Collections.Generic.List`1<T>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___toRelease0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8_gshared (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_gshared (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8_gshared (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_gshared_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_gshared_inline (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_gshared_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, int32_t ___index0, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_gshared_inline (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_gshared_inline (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, int32_t ___index0, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector4>::get_Item(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_gshared_inline (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7_gshared (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, int32_t ___index0, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Item(System.Int32,!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_gshared (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, int32_t ___index0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::set_Item(System.Int32,!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6_gshared (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, int32_t ___index0, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002_gshared (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621_gshared (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_gshared (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342_gshared (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_gshared (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
inline void UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C (UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6 * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_tD2F68F6DD363B64D94CB72CA4170B8DC7A1117F6 *, const RuntimeMethod*))UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C_gshared)(__this, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_highlightedSprite()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.SpriteState::set_highlightedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_highlightedSprite_m44A452FACA739422110D9B8C2E51E8874A730B1D_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method);
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_pressedSprite()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.SpriteState::set_pressedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_pressedSprite_mB3C2505D0D31FBB5549444AF739D887B399535F6_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method);
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_selectedSprite()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.SpriteState::set_selectedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_selectedSprite_mEA22F605F22D4302EE742C2500B891DC442A0EB5_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method);
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_disabledSprite()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.SpriteState::set_disabledSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_disabledSprite_m4F8989570A957B357527421B89EFF14CA2228E14_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.SpriteState::Equals(UnityEngine.UI.SpriteState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A ___other0, const RuntimeMethod* method);
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * StencilMaterial_Add_mAB4F4B762B5FA96473A30706AC2570FAF86D4746 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, int32_t ___readMask5, int32_t ___writeMask6, const RuntimeMethod* method);
// System.Boolean UnityEngine.Material::HasProperty(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.String UnityEngine.Object::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __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_mF4626905368D6558695A823466A1AF65EADB9923 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::LogWarning(System.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E (RuntimeObject * ___message0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___context1, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::get_Item(System.Int32)
inline MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_inline (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::get_Count()
inline int32_t List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_inline (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// System.Void UnityEngine.UI.StencilMaterial/MatEntry::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatEntry__ctor_m1088ABC0B5320FB051D0F7036D1AEC006C48AD1B (MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Material::.ctor(UnityEngine.Material)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material__ctor_m0171C6D4D3FD04D58C70808F255DBA67D0ED2BDE (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___source0, const RuntimeMethod* method);
// System.Void UnityEngine.Object::set_hideFlags(UnityEngine.HideFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_hideFlags_mB0B45A19A5871EF407D7B09E0EB76003496BA4F0 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865 (String_t* ___format0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
// System.Void UnityEngine.Object::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Material::SetInt(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, String_t* ___name0, int32_t ___value1, const RuntimeMethod* method);
// System.Void UnityEngine.Material::EnableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_EnableKeyword_m7466758182CBBC40134C9048CDF682DF46F32FA9 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, String_t* ___keyword0, const RuntimeMethod* method);
// System.Void UnityEngine.Material::DisableKeyword(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_DisableKeyword_m2ACBFC5D28ED46FF2CF5532F00D702FF62C02ED3 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, String_t* ___keyword0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::Add(!0)
inline void List_1_Add_mAFCD2619E23964518685D147CCE7E51190DA7FB7 (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Misc::DestroyImmediate(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Misc_DestroyImmediate_mE7D29D1E4B20D856C1CA3C18A9BF50F46FCC0213 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___obj0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::RemoveAt(System.Int32)
inline void List_1_RemoveAt_m59FA64439457AE93FF4A591EFC2BF65CF749A7EE (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, int32_t ___index0, const RuntimeMethod* method)
{
(( void (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, int32_t, const RuntimeMethod*))List_1_RemoveAt_m3CAF82E0FF61CD84E251E0F7231BBB867C9755C2_gshared)(__this, ___index0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::Clear()
inline void List_1_Clear_mBB0407C7F188EDF1268A15DCA271615670B3DFF8 (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, const RuntimeMethod*))List_1_Clear_mC5CFC6C9F3007FC24FE020198265D4B5B0659FFC_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::.ctor()
inline void List_1__ctor_m8711C2DA96CFAD2FEC7F7322F9855901C17FAACA (List_1_t7984FB74D3877329C67F707EE61308104862C691 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t7984FB74D3877329C67F707EE61308104862C691 *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
// UnityEngine.UI.FontData UnityEngine.UI.FontData::get_defaultFontData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * FontData_get_defaultFontData_m395A2BA13B11A53C4BD4E8F1B7D97E9E278D6063 (const RuntimeMethod* method);
// System.Void UnityEngine.UI.MaskableGraphic::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaskableGraphic__ctor_mF2B16CE3752FDC9F7F96F5DE671690B4424B5AA6 (MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Graphic::set_useLegacyMeshGeneration(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void Graphic_set_useLegacyMeshGeneration_m1281A98F40D15A81E9F13E761A25971D26E22485_inline (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method);
// System.Void UnityEngine.TextGenerator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator__ctor_mD3956FF7D10DC470522A6363E7D6EC243415098A (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.TextGenerator::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, int32_t ___initialCapacity0, const RuntimeMethod* method);
// UnityEngine.Font UnityEngine.UI.Text::get_font()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method);
// UnityEngine.Material UnityEngine.Font::get_material()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method);
// UnityEngine.Texture UnityEngine.Material::get_mainTexture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * Material_get_mainTexture_mE85CF647728AD145D7E03A172EFD5930773E514E (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * __this, const RuntimeMethod* method);
// UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * Graphic_get_mainTexture_m8ADD95545D4FAB8D218C028196DCB9758C47B3E5_inline (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___exists0, const RuntimeMethod* method);
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGenerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.TextGenerator::Invalidate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextGenerator_Invalidate_m5C360AB470CB728BAA03B34BE33C75CBB55B673E (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingGraphics()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CanvasUpdateRegistry_IsRebuildingGraphics_m1C67401F44BB421AE8945B8B1B3CD2AC61B75E89 (const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingLayout()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CanvasUpdateRegistry_IsRebuildingLayout_m5720F54D56B252982240E5DF4723A3BA7B7A891B (const RuntimeMethod* method);
// UnityEngine.Font UnityEngine.UI.FontData::get_font()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * FontData_get_font_m63A03245926CD05B461E00C281724370C8B7D0F4_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontUpdateTracker::UntrackText(UnityEngine.UI.Text)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontUpdateTracker_UntrackText_m1AF4E3F1C4FB59FFB0CA434696983DFDD4B30C63 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___t0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_font_mE19CF5265530AC3200BE65E20E8F909210ED71D0_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontUpdateTracker::TrackText(UnityEngine.UI.Text)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FontUpdateTracker_TrackText_mD4637B32DDF98DBC4EB12276CF3F1F123D2E8DE1 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___t0, const RuntimeMethod* method);
// System.Boolean System.String::IsNullOrEmpty(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229 (String_t* ___value0, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.FontData::get_richText()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_richText_m42B50EC00F120906CE16259A13C5C37392B7E525_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_richText(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_richText_m2A9142EB34518A1516B6DD0A02263B6AA4FAAA8A_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.FontData::get_bestFit()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_bestFit_m927FFB8A5BE4376FC966BC16E0431B443F00E691_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_bestFit(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_bestFit_m0426EC53969FF4848061B4C37888D242BAD0E07A_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.UI.FontData::get_minSize()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_minSize_m40C332F61CFB0F164EB84B35A05E2A10B801667B_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_minSize(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_minSize_mF884D9FD3B53247AB2C9EE9EEC15EA2CAEF04787_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.UI.FontData::get_maxSize()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_maxSize_mCFC5C0F12AF21C90D1D854B68A27043724911270_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_maxSize(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_maxSize_mDD9FCD710B9E033877FC966E70A0DF83D79A334C_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.TextAnchor UnityEngine.UI.FontData::get_alignment()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_alignment_m2492DD0F8619041BD0426388DFFE2DA4634DF095_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_alignment(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_alignment_m69E5F6567789E0623536766BADD833481D8D95A5_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.FontData::get_alignByGeometry()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_alignByGeometry_m2283F19F108FF389FC586488AB28FFEC2A5422A7_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_alignByGeometry(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_alignByGeometry_m4A0066CFEAAE077592A22AAB95584B2ED416E139_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.UI.FontData::get_fontSize()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_fontSize(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_fontSize_mFAB8C6A7548E75E958984BD5365348A131194B0F_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.HorizontalWrapMode UnityEngine.UI.FontData::get_horizontalOverflow()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_horizontalOverflow_mD9704C9760A72DF3123CD12CF2C801424B43F9B8_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_horizontalOverflow(UnityEngine.HorizontalWrapMode)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_horizontalOverflow_m36E9099214AECDBA10782F2AD0D53FB0C564A2BF_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.VerticalWrapMode UnityEngine.UI.FontData::get_verticalOverflow()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_verticalOverflow_m42B923B1137DAEA0D1846C81B659284A5B93D2F0_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_verticalOverflow(UnityEngine.VerticalWrapMode)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_verticalOverflow_m0CADC4D430AF3B97EC6AB67E307B33416F73ACA2_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Single UnityEngine.UI.FontData::get_lineSpacing()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR float FontData_get_lineSpacing_m7E48A8B51A6E164736303C82428B1E09541BC259_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_lineSpacing(System.Single)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_lineSpacing_m4E5D389BD1B2AC5EE9819D016D348E9E86354418_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, float ___value0, const RuntimeMethod* method);
// UnityEngine.FontStyle UnityEngine.UI.FontData::get_fontStyle()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_fontStyle_m463803A5ED384064EC9B03549BA921BEAAC8A4A6_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.FontData::set_fontStyle(UnityEngine.FontStyle)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_fontStyle_m25218403D504C2D0876E5AB25E813EEFAE85F93E_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.Canvas UnityEngine.UI.Graphic::get_canvas()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * Graphic_get_canvas_mE278CED637619008522EF95A32071868DD6F028C (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Font::get_dynamic()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Canvas::get_scaleFactor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Canvas_get_scaleFactor_m0F6D59E75F7605ABD2AFF6AF32A1097226CE060A (Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.Font::get_fontSize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5 (Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.MaskableGraphic::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaskableGraphic_OnEnable_m9F237DEB38F94621751B57A24C38B5C2B2E37343 (MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.MaskableGraphic::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MaskableGraphic_OnDisable_m7082110BEF7DD61D91076319CF47E97090F70899 (MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Graphic::UpdateGeometry()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphic_UpdateGeometry_mA96921531C4B1F1ECE14D3AEF696B6CE186A262E (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Resources::GetBuiltinResource<UnityEngine.Font>(System.String)
inline Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * Resources_GetBuiltinResource_TisFont_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_m28D7ED0C35D5F51E2A61A4CA162B08923E0837D6 (String_t* ___path0, const RuntimeMethod* method)
{
return (( Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * (*) (String_t*, const RuntimeMethod*))Resources_GetBuiltinResource_TisRuntimeObject_m5459C3C01FC37D2596E5DD115105D9821FEF3599_gshared)(___path0, method);
}
// System.Void UnityEngine.UI.Text::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_font_m77D86B27FDEE1FD2D96A7419F11CF9B249A50D66 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method);
// System.Single UnityEngine.UI.Text::get_pixelsPerUnit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method);
// UnityEngine.RectTransform UnityEngine.UI.Graphic::get_rectTransform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * Graphic_get_rectTransform_m025371162D3A3FCD6D4692B43D0BD80602D0AFC4 (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.RectTransform::get_pivot()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D RectTransform_get_pivot_mA5BEEE2069ACA7C0C717530EED3E7D811D46C463 (RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * __this, float ___x0, float ___y1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8 (const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.RectTransform::get_rect()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE RectTransform_get_rect_mE5F283FCB99A66403AC1F0607CA49C156D73A15E (RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Rect::get_size()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Rect_get_size_m731642B8F03F6CE372A2C9E2E4A925450630606C (Rect_t35B976DE901B5423C11705E156938EA27AB402CE * __this, const RuntimeMethod* method);
// UnityEngine.TextGenerationSettings UnityEngine.UI.Text::GetGenerationSettings(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___extents0, const RuntimeMethod* method);
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.TextGenerator::PopulateWithErrors(System.String,UnityEngine.TextGenerationSettings,UnityEngine.GameObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TextGenerator_PopulateWithErrors_m1F1851B3C2B2EBEFD81C83DC124FB376C926B933 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___context2, const RuntimeMethod* method);
// System.Collections.Generic.IList`1<UnityEngine.UIVertex> UnityEngine.TextGenerator::get_verts()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextGenerator_get_verts_mD0B3D877BE872CDE4BE3791685B8B5EF0AAC6120 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.VertexHelper::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Vector2_op_Multiply_m8A843A37F2F3199EBE99DC7BDABC1DC2EE01AF56 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___a0, float ___d1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.UI.Graphic::PixelAdjustPoint(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Graphic_PixelAdjustPoint_m6A06D04F7D6B6D946407ECBD984AB2E9B2EF2DCF (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___point0, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::op_Subtraction(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Vector2_op_Subtraction_m2B347E4311EDBBBF27573E34899D2492E6B063C0 (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___a0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___b1, const RuntimeMethod* method);
// System.Boolean UnityEngine.Vector2::op_Inequality(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Vector2_op_Inequality_mC16161C640C89D98A00800924F83FF09FD7C100E (Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___lhs0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___rhs1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 Vector3_op_Multiply_m1C5F07723615156ACF035D88A1280A9E8F35A04E (Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___a0, float ___d1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexQuad(UnityEngine.UIVertex[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddUIVertexQuad_mDECEEA1FE0985C87BBDF905D8F29F9C2434B14E0 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ___verts0, const RuntimeMethod* method);
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGeneratorForLayout()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.TextGenerator::GetPreferredWidth(System.String,UnityEngine.TextGenerationSettings)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TextGenerator_GetPreferredWidth_mBF228094564195BBB66669F4ECC6EE1B0B05BAAA (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method);
// UnityEngine.Rect UnityEngine.UI.Graphic::GetPixelAdjustedRect()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_t35B976DE901B5423C11705E156938EA27AB402CE Graphic_GetPixelAdjustedRect_m324344D38946D6F976CD487B493B8D9787DE891B (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.TextGenerator::GetPreferredHeight(System.String,UnityEngine.TextGenerationSettings)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float TextGenerator_GetPreferredHeight_mC2F191D9E9CF2365545D0A3F1EBD0F105DB27963 (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * __this, String_t* ___str0, TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ___settings1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle::SetToggleGroup(UnityEngine.UI.ToggleGroup,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * ___newGroup0, bool ___setMemberValue1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle::PlayEffect(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___instant0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle/ToggleEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleEvent__ctor_mF58CC00AEC0CB149ACB267F0A885D814164B484C (ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Selectable::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Selectable__ctor_m1E7B3EB14D7DC765A511C053C0F65A37755EC4B9 (Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ToggleGroup::EnsureValidState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.EventSystems.UIBehaviour::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UIBehaviour_OnDestroy_mAC124B1C2131BDD6B17D70DB2A90632A2355F498 (UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Selectable::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Selectable_OnEnable_m63C9B777E61D9AC975344E4F2B344486A1A359C6 (Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Selectable::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Selectable_OnDisable_m4D4535A97B291959E391BCC56D51BF75B7B0F1B9 (Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * __this, const RuntimeMethod* method);
// UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::get_canvasRenderer()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * Graphic_get_canvasRenderer_mB3E532BE19116A3F0D6ADC1CD29D242428EAE8AA (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.CanvasRenderer::GetColor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 CanvasRenderer_GetColor_m841EC074805A87FBD6D3EF7A17BEA2476AEBA31D (CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Mathf::Approximately(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E (float ___a0, float ___b1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, bool ___sendCallback1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Selectable::OnDidApplyAnimationProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Selectable_OnDidApplyAnimationProperties_mACD23D97F62122F07F56C97301D1BA0394DAEF30 (Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ToggleGroup::UnregisterToggle(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_UnregisterToggle_m724862AAE8CE184E7336D54F44C5ACBC9858D20A (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ToggleGroup::RegisterToggle(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_RegisterToggle_m1CC85EE0BE4DA4B993F5C04DBC87F0421BCA1ED3 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.Toggle::get_isOn()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ToggleGroup::NotifyToggleOn(UnityEngine.UI.Toggle,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, bool ___sendCallback1, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.ToggleGroup::AnyTogglesOn()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.UI.ToggleGroup::get_allowSwitchOff()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool ToggleGroup_get_allowSwitchOff_mB9E04E1842B8293F8B25956D0AF14F8B8B5F5D94_inline (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UISystemProfilerApi::AddMarker(System.String,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UISystemProfilerApi_AddMarker_m9193DB5B08C1B7DD35835D6F0E2DF9DD20483FFA (String_t* ___name0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___obj1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::Invoke(!0)
inline void UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 * __this, bool ___arg00, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 *, bool, const RuntimeMethod*))UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F_gshared)(__this, ___arg00, method);
}
// System.Void UnityEngine.UI.Toggle::set_isOn(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, const RuntimeMethod* method);
// UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::get_button()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PointerEventData_get_button_mC662D5DAC02F0ED6AE9205259116CC91BB92BD3E_inline (PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Toggle::InternalToggle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_InternalToggle_m5E9A8D95C789BAC57A1AA00F08CF0DD3DDB9D7A9 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.Component::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9 (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
inline void UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351 (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_tE040CE348097B63925504E9E6AFCD89D46798FE3 *, const RuntimeMethod*))UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::.ctor()
inline void List_1__ctor_m698FA53ED3E128E9F81ECE96D79C4847A6EAB080 (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, const RuntimeMethod*))List_1__ctor_mC832F1AC0F814BAEB19175F5D7972A7507508BC3_gshared)(__this, method);
}
// System.Void UnityEngine.EventSystems.UIBehaviour::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UIBehaviour__ctor_m270FFBC65602196134042BD4E24DB093883A1BAF (UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.EventSystems.UIBehaviour::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UIBehaviour_Start_mCF174BFBADA4B5806DD4FFF75984F1526AAF3884 (UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Contains(!0)
inline bool List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6 (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___item0, const RuntimeMethod* method)
{
return (( bool (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 *, const RuntimeMethod*))List_1_Contains_mE08D561E86879A26245096C572A8593279383FDB_gshared)(__this, ___item0, method);
}
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.ToggleGroup::ValidateToggleIsInGroup(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::get_Item(System.Int32)
inline Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, int32_t, const RuntimeMethod*))List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline)(__this, ___index0, method);
}
// System.Void UnityEngine.UI.Toggle::SetIsOnWithoutNotify(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_SetIsOnWithoutNotify_mE889EC3B1C7E271C822D07F5F73CB023EDFD87B4 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::get_Count()
inline int32_t List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_inline (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, const RuntimeMethod*))List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Remove(!0)
inline bool List_1_Remove_mF9F64AC3BEAA229F0EFB9FD15A8AE51B51F55EC6 (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___item0, const RuntimeMethod* method)
{
return (( bool (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 *, const RuntimeMethod*))List_1_Remove_m908B647BB9F807676DACE34E3E73475C3C3751D4_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Add(!0)
inline void List_1_Add_m28E652E7F35B62105F009FBE9B75DAA8AAA0C343 (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 *, const RuntimeMethod*))List_1_Add_m6930161974C7504C80F52EC379EF012387D43138_gshared)(__this, ___item0, method);
}
// System.Void System.Predicate`1<UnityEngine.UI.Toggle>::.ctor(System.Object,System.IntPtr)
inline void Predicate_1__ctor_m06889230E324D2CA47EAE72BF8A22C6DCBBE0DC3 (Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Predicate_1__ctor_mBC07C59B061E1B719FFE2B6E5541E9011D906C3C_gshared)(__this, ___object0, ___method1, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Find(System.Predicate`1<!0>)
inline Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * List_1_Find_m98A909AFA27E21691679D3CB46DA07082DBF2082 (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * __this, Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * ___match0, const RuntimeMethod* method)
{
return (( Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * (*) (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *, Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 *, const RuntimeMethod*))List_1_Find_mD3D8180CF4967CBDC17E86195A15B12975BA9FF7_gshared)(__this, ___match0, method);
}
// System.Void System.Func`2<UnityEngine.UI.Toggle,System.Boolean>::.ctor(System.Object,System.IntPtr)
inline void Func_2__ctor_mB7124BCAE1D74F65A0916AE99852CA616D635BDA (Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 *, RuntimeObject *, intptr_t, const RuntimeMethod*))Func_2__ctor_m52B660F7AF11A491D7A162298208BFA7A5CF26A3_gshared)(__this, ___object0, ___method1, method);
}
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Where<UnityEngine.UI.Toggle>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,System.Boolean>)
inline RuntimeObject* Enumerable_Where_TisToggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106_mCE7B203C90FB5D4486C251FDBFA701AA933B108B (RuntimeObject* ___source0, Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * ___predicate1, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (RuntimeObject*, Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 *, const RuntimeMethod*))Enumerable_Where_TisRuntimeObject_m77C4748BC22520E365AB1F6A46B2C8A8BF525492_gshared)(___source0, ___predicate1, method);
}
// System.Void UnityEngine.UI.ToggleGroup/<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m5F8E8E3F5E9EC721D150BB724313F4FD39798537 (U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.VertexHelper::InitializeListIfRequired()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method);
// UnityEngine.Vector3[] UnityEngine.Mesh::get_vertices()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* Mesh_get_vertices_m7D07DC0F071C142B87F675B148FC0F7A243238B9 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F_gshared)(__this, ___collection0, method);
}
// UnityEngine.Color32[] UnityEngine.Mesh::get_colors32()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* Mesh_get_colors32_m24C6C6BC1A40B7F09FF390F304A96728A4C99246 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8 (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8_gshared)(__this, ___collection0, method);
}
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* Mesh_get_uv_m0EBA5CA4644C9D5F1B2125AF3FE3873EFC8A4616 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8 (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_gshared)(__this, ___collection0, method);
}
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv2()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* Mesh_get_uv2_m3E70D5DD7A5C6910A074A78296269EBF2CBAE97F (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv3()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* Mesh_get_uv3_mC56484D8B69A65DA948C7F23B06ED490BCFBE8B0 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv4()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* Mesh_get_uv4_m1C5734938A443D8004339E8D8DDDC33B3E0935F6 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// UnityEngine.Vector3[] UnityEngine.Mesh::get_normals()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* Mesh_get_normals_m3CE4668899836CBD17C3F85EB24261CBCEB3EABB (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// UnityEngine.Vector4[] UnityEngine.Mesh::get_tangents()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* Mesh_get_tangents_mFF92BD7D6EBA8C7EB8340E1529B1CB98006F44DD (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857 (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857_gshared)(__this, ___collection0, method);
}
// System.Int32[] UnityEngine.Mesh::GetIndices(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* Mesh_GetIndices_m2FD8417547E7595F590CE55D381E0D13A8D72AA5 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, int32_t ___submesh0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7 (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, RuntimeObject*, const RuntimeMethod*))List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7_gshared)(__this, ___collection0, method);
}
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Get()
inline List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A (const RuntimeMethod* method)
{
return (( List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * (*) (const RuntimeMethod*))ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A_gshared)(method);
}
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Get()
inline List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED (const RuntimeMethod* method)
{
return (( List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * (*) (const RuntimeMethod*))ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED_gshared)(method);
}
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Get()
inline List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7 (const RuntimeMethod* method)
{
return (( List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * (*) (const RuntimeMethod*))ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_gshared)(method);
}
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Get()
inline List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281 (const RuntimeMethod* method)
{
return (( List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * (*) (const RuntimeMethod*))ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281_gshared)(method);
}
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<System.Int32>::Get()
inline List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542 (const RuntimeMethod* method)
{
return (( List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * (*) (const RuntimeMethod*))ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542_gshared)(method);
}
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>)
inline void ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544 (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___toRelease0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, const RuntimeMethod*))ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544_gshared)(___toRelease0, method);
}
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Release(System.Collections.Generic.List`1<T>)
inline void ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2 (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___toRelease0, const RuntimeMethod* method)
{
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2_gshared)(___toRelease0, method);
}
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Release(System.Collections.Generic.List`1<T>)
inline void ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0 (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___toRelease0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, const RuntimeMethod*))ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_gshared)(___toRelease0, method);
}
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Release(System.Collections.Generic.List`1<T>)
inline void ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___toRelease0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, const RuntimeMethod*))ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E_gshared)(___toRelease0, method);
}
// System.Void UnityEngine.UI.ListPool`1<System.Int32>::Release(System.Collections.Generic.List`1<T>)
inline void ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___toRelease0, const RuntimeMethod* method)
{
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F_gshared)(___toRelease0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
inline void List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8 (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, const RuntimeMethod*))List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Clear()
inline void List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, const RuntimeMethod*))List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Clear()
inline void List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, const RuntimeMethod*))List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Clear()
inline void List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8 (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, const RuntimeMethod*))List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
inline void List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477 (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477_gshared)(__this, method);
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
inline int32_t List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, const RuntimeMethod*))List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_gshared_inline)(__this, method);
}
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
inline int32_t List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_inline (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, const RuntimeMethod*))List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_gshared_inline)(__this, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, int32_t, const RuntimeMethod*))List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_gshared_inline)(__this, ___index0, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Item(System.Int32)
inline Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_inline (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, const RuntimeMethod*))List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_gshared_inline)(__this, ___index0, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_inline (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Vector2_tA85D2DD88578276CA8A8796756458277E72D073D (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, int32_t, const RuntimeMethod*))List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_gshared_inline)(__this, ___index0, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.Vector4>::get_Item(System.Int32)
inline Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_inline (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, int32_t, const RuntimeMethod*))List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_gshared_inline)(__this, ___index0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,!0)
inline void List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7 (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, int32_t ___index0, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, int32_t, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 , const RuntimeMethod*))List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7_gshared)(__this, ___index0, ___value1, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Item(System.Int32,!0)
inline void List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, int32_t ___index0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, int32_t, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C_gshared)(__this, ___index0, ___value1, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
inline void List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4 (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, int32_t ___index0, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, int32_t, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D , const RuntimeMethod*))List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_gshared)(__this, ___index0, ___value1, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::set_Item(System.Int32,!0)
inline void List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6 (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, int32_t ___index0, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, int32_t, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E , const RuntimeMethod*))List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6_gshared)(__this, ___index0, ___value1, method);
}
// System.Void UnityEngine.Mesh::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_Clear_mB750E1DCAB658124AAD81A02B93DED7601047B60 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetVertices(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetVertices_m5F487FC255C9CAF4005B75CFE67A88C8C0E7BB06 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___inVertices0, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetColors(System.Collections.Generic.List`1<UnityEngine.Color32>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetColors_m237E41213E82D4BB882ED96FD81A17D9366590CF (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___inColors0, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetUVs(System.Int32,System.Collections.Generic.List`1<UnityEngine.Vector2>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetUVs_m0210150B0387289B823488D421BDF9CBF9769116 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, int32_t ___channel0, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uvs1, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetNormals(System.Collections.Generic.List`1<UnityEngine.Vector3>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetNormals_m76D71A949B9288FA8ED17DDADC530365307B9797 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___inNormals0, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetTangents(System.Collections.Generic.List`1<UnityEngine.Vector4>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetTangents_m6EEAB861C9286B1DA4935B87A883045ADD3955E5 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___inTangents0, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::SetTriangles(System.Collections.Generic.List`1<System.Int32>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetTriangles_m6A43D705DE751C622CCF88EC31C4EF1B53578BE5 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___triangles0, int32_t ___submesh1, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::RecalculateBounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateBounds_m1BF701FE2CEA4E8E1183FF878B812808ED1EBA49 (Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(!0)
inline void List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002 (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 , const RuntimeMethod*))List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Add(!0)
inline void List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621 (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __this, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 , const RuntimeMethod*))List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
inline void List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69 (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D , const RuntimeMethod*))List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Add(!0)
inline void List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342 (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __this, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E , const RuntimeMethod*))List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342_gshared)(__this, ___item0, method);
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv02, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv13, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv24, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv35, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal6, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent7, const RuntimeMethod* method);
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv02, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv13, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal4, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent5, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
inline void List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771 (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, int32_t ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *, int32_t, const RuntimeMethod*))List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_gshared)(__this, ___item0, method);
}
// System.Int32 UnityEngine.UI.VertexHelper::get_currentVertCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VertexHelper_get_currentVertCount_m99ACD97A171FCB5046C7608CAD7399A8E0A6FD3F (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.VertexHelper::AddTriangle(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, int32_t ___idx00, int32_t ___idx11, int32_t ___idx22, const RuntimeMethod* method);
// System.Void UnityEngine.CanvasRenderer::AddUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CanvasRenderer_AddUIVertexStream_m58722DF8AED39532C201A0A79A84F10BEC9C7EAB (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___verts0, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___positions1, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___colors2, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv0S3, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv1S4, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv2S5, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv3S6, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___normals7, List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___tangents8, const RuntimeMethod* method);
// System.Void UnityEngine.CanvasRenderer::SplitUIVertexStreams(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>,System.Collections.Generic.List`1<System.Int32>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CanvasRenderer_SplitUIVertexStreams_m6398634C55BA494F2D2AE13FC3878E698330AB9F (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___verts0, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___positions1, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___colors2, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv0S3, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv1S4, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv2S5, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv3S6, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___normals7, List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___tangents8, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___indices9, const RuntimeMethod* method);
// System.Void UnityEngine.CanvasRenderer::CreateUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>,System.Collections.Generic.List`1<System.Int32>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CanvasRenderer_CreateUIVertexStream_m1826F08D237884FD9817F2E0251FF0F813A2C1CA (List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___verts0, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___positions1, List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * ___colors2, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv0S3, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv1S4, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv2S5, List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * ___uv3S6, List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * ___normals7, List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * ___tangents8, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___indices9, const RuntimeMethod* method);
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Vector4__ctor_m545458525879607A5392A10B175D0C19B2BC715D (Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E * __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_back()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 Vector3_get_back_mE7EF8625637E6F8B9E6B42A6AE140777C51E02F7 (const RuntimeMethod* method);
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HorizontalOrVerticalLayoutGroup__ctor_m0898BB696CC353377FBCF175B86681B505130127 (HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.LayoutGroup::CalculateLayoutInputHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LayoutGroup_CalculateLayoutInputHorizontal_m277295CF69DFA23F13B84022E1D2482B16C35B2E (LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::CalcAlongAxis(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HorizontalOrVerticalLayoutGroup_CalcAlongAxis_mBD2F5E965FB5D3FF14DA66362F3D8D6E7570B4CB (HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB * __this, int32_t ___axis0, bool ___isVertical1, const RuntimeMethod* method);
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::SetChildrenAlongAxis(System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_mE587F7E541768FF7047F667ED9275DB0ED41AB3B (HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB * __this, int32_t ___axis0, bool ___isVertical1, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550 (const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.UI.Slider_SliderEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SliderEvent__ctor_m219C5074B774908A83C9C54128370E75556A18E0 (SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SliderEvent__ctor_m219C5074B774908A83C9C54128370E75556A18E0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C(__this, /*hidden argument*/UnityEvent_1__ctor_m029309819C0547BE76007CF58B8EB0BC5BB9765C_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// Conversion methods for marshalling of: UnityEngine.UI.SpriteState
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_pinvoke(const SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A& unmarshaled, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_pinvoke& marshaled)
{
Exception_t* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception, NULL, NULL);
}
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_pinvoke_back(const SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_pinvoke& marshaled, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A& unmarshaled)
{
Exception_t* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception, NULL, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.SpriteState
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_pinvoke_cleanup(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.UI.SpriteState
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_com(const SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A& unmarshaled, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_com& marshaled)
{
Exception_t* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception, NULL, NULL);
}
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_com_back(const SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_com& marshaled, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A& unmarshaled)
{
Exception_t* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception, NULL, NULL);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.SpriteState
IL2CPP_EXTERN_C void SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshal_com_cleanup(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_com& marshaled)
{
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_highlightedSprite()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_HighlightedSprite_0();
return L_0;
}
}
IL2CPP_EXTERN_C Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
return SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_inline(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_highlightedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteState_set_highlightedSprite_m44A452FACA739422110D9B8C2E51E8874A730B1D (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_HighlightedSprite_0(L_0);
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C void SpriteState_set_highlightedSprite_m44A452FACA739422110D9B8C2E51E8874A730B1D_AdjustorThunk (RuntimeObject * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
SpriteState_set_highlightedSprite_m44A452FACA739422110D9B8C2E51E8874A730B1D_inline(_thisAdjusted, ___value0, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_pressedSprite()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_PressedSprite_1();
return L_0;
}
}
IL2CPP_EXTERN_C Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
return SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_inline(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_pressedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteState_set_pressedSprite_mB3C2505D0D31FBB5549444AF739D887B399535F6 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_PressedSprite_1(L_0);
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C void SpriteState_set_pressedSprite_mB3C2505D0D31FBB5549444AF739D887B399535F6_AdjustorThunk (RuntimeObject * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
SpriteState_set_pressedSprite_mB3C2505D0D31FBB5549444AF739D887B399535F6_inline(_thisAdjusted, ___value0, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_selectedSprite()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_SelectedSprite_2();
return L_0;
}
}
IL2CPP_EXTERN_C Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
return SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_inline(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_selectedSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteState_set_selectedSprite_mEA22F605F22D4302EE742C2500B891DC442A0EB5 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_SelectedSprite_2(L_0);
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C void SpriteState_set_selectedSprite_mEA22F605F22D4302EE742C2500B891DC442A0EB5_AdjustorThunk (RuntimeObject * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
SpriteState_set_selectedSprite_mEA22F605F22D4302EE742C2500B891DC442A0EB5_inline(_thisAdjusted, ___value0, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_disabledSprite()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_DisabledSprite_3();
return L_0;
}
}
IL2CPP_EXTERN_C Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_AdjustorThunk (RuntimeObject * __this, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
return SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_inline(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_disabledSprite(UnityEngine.Sprite)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteState_set_disabledSprite_m4F8989570A957B357527421B89EFF14CA2228E14 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_DisabledSprite_3(L_0);
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C void SpriteState_set_disabledSprite_m4F8989570A957B357527421B89EFF14CA2228E14_AdjustorThunk (RuntimeObject * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
SpriteState_set_disabledSprite_m4F8989570A957B357527421B89EFF14CA2228E14_inline(_thisAdjusted, ___value0, method);
}
// System.Boolean UnityEngine.UI.SpriteState::Equals(UnityEngine.UI.SpriteState)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592 (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A ___other0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return highlightedSprite == other.highlightedSprite &&
// pressedSprite == other.pressedSprite &&
// selectedSprite == other.selectedSprite &&
// disabledSprite == other.disabledSprite;
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)__this, /*hidden argument*/NULL);
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_1 = SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)(&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_004f;
}
}
{
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_3 = SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)__this, /*hidden argument*/NULL);
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_4 = SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)(&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_3, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_004f;
}
}
{
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_6 = SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)__this, /*hidden argument*/NULL);
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_7 = SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)(&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_6, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_004f;
}
}
{
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_9 = SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)__this, /*hidden argument*/NULL);
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_10 = SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_inline((SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *)(&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_9, L_10, /*hidden argument*/NULL);
return L_11;
}
IL_004f:
{
return (bool)0;
}
}
IL2CPP_EXTERN_C bool SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592_AdjustorThunk (RuntimeObject * __this, SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A ___other0, const RuntimeMethod* method)
{
SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * _thisAdjusted = reinterpret_cast<SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A *>(__this + 1);
return SpriteState_Equals_mBD4F9DE44FE87CA763874C9C8C0FAC60E1686592(_thisAdjusted, ___other0, method);
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * StencilMaterial_Add_m0CAC8A2810CE464C942A113C2C98B4D0DFD490C6 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___baseMat0, int32_t ___stencilID1, const RuntimeMethod* method)
{
{
// public static Material Add(Material baseMat, int stencilID) { return null; }
return (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 *)NULL;
}
}
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * StencilMaterial_Add_mC3BA91DE802960AD78E0121510054F66D5907957 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Add_mC3BA91DE802960AD78E0121510054F66D5907957_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return Add(baseMat, stencilID, operation, compareFunction, colorWriteMask, 255, 255);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_0 = ___baseMat0;
int32_t L_1 = ___stencilID1;
int32_t L_2 = ___operation2;
int32_t L_3 = ___compareFunction3;
int32_t L_4 = ___colorWriteMask4;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_5 = StencilMaterial_Add_mAB4F4B762B5FA96473A30706AC2570FAF86D4746(L_0, L_1, L_2, L_3, L_4, ((int32_t)255), ((int32_t)255), /*hidden argument*/NULL);
return L_5;
}
}
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * StencilMaterial_Add_mAB4F4B762B5FA96473A30706AC2570FAF86D4746 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, int32_t ___readMask5, int32_t ___writeMask6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Add_mAB4F4B762B5FA96473A30706AC2570FAF86D4746_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * V_0 = NULL;
int32_t V_1 = 0;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * V_2 = NULL;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * G_B29_0 = NULL;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * G_B28_0 = NULL;
int32_t G_B30_0 = 0;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * G_B30_1 = NULL;
String_t* G_B32_0 = NULL;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * G_B32_1 = NULL;
String_t* G_B31_0 = NULL;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * G_B31_1 = NULL;
int32_t G_B33_0 = 0;
String_t* G_B33_1 = NULL;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * G_B33_2 = NULL;
{
// if ((stencilID <= 0 && colorWriteMask == ColorWriteMask.All) || baseMat == null)
int32_t L_0 = ___stencilID1;
if ((((int32_t)L_0) > ((int32_t)0)))
{
goto IL_000a;
}
}
{
int32_t L_1 = ___colorWriteMask4;
if ((((int32_t)L_1) == ((int32_t)((int32_t)15))))
{
goto IL_0013;
}
}
IL_000a:
{
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_2 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_2, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0015;
}
}
IL_0013:
{
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_4 = ___baseMat0;
return L_4;
}
IL_0015:
{
// if (!baseMat.HasProperty("_Stencil"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_5 = ___baseMat0;
NullCheck(L_5);
bool L_6 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_5, _stringLiteral00B9E14633411C46CB64AE42D91DD928EE3EC5B1, /*hidden argument*/NULL);
if (L_6)
{
goto IL_003f;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _Stencil property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_7 = ___baseMat0;
NullCheck(L_7);
String_t* L_8 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_7, /*hidden argument*/NULL);
String_t* L_9 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_8, _stringLiteralFA5141A2F2CBEA1C5907613305345C1C5173CDA4, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_10 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_9, L_10, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_11 = ___baseMat0;
return L_11;
}
IL_003f:
{
// if (!baseMat.HasProperty("_StencilOp"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_12 = ___baseMat0;
NullCheck(L_12);
bool L_13 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_12, _stringLiteral7A200607148CA1061B43BC5E5BF6CFF3829B9B93, /*hidden argument*/NULL);
if (L_13)
{
goto IL_0069;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _StencilOp property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_14 = ___baseMat0;
NullCheck(L_14);
String_t* L_15 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_14, /*hidden argument*/NULL);
String_t* L_16 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_15, _stringLiteral78F9B9E3A432ABDA5654A22DA92AFD8FC7ECA3E3, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_17 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_16, L_17, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_18 = ___baseMat0;
return L_18;
}
IL_0069:
{
// if (!baseMat.HasProperty("_StencilComp"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_19 = ___baseMat0;
NullCheck(L_19);
bool L_20 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_19, _stringLiteralC0E60DD82594AF705F1DCD06B4FE427E33BBAFCC, /*hidden argument*/NULL);
if (L_20)
{
goto IL_0093;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _StencilComp property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_21 = ___baseMat0;
NullCheck(L_21);
String_t* L_22 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_21, /*hidden argument*/NULL);
String_t* L_23 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_22, _stringLiteral35BAC708AE939217F60836AD2214CD3990D51201, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_24 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_23, L_24, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_25 = ___baseMat0;
return L_25;
}
IL_0093:
{
// if (!baseMat.HasProperty("_StencilReadMask"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_26 = ___baseMat0;
NullCheck(L_26);
bool L_27 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_26, _stringLiteral8DD62ACF429375A264346E1E9B92A8E490AAF02B, /*hidden argument*/NULL);
if (L_27)
{
goto IL_00bd;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _StencilReadMask property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_28 = ___baseMat0;
NullCheck(L_28);
String_t* L_29 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_28, /*hidden argument*/NULL);
String_t* L_30 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_29, _stringLiteralBCD5E7D9CB017A99CD53B078F58FCD5429B7FA4F, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_31 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_30, L_31, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_32 = ___baseMat0;
return L_32;
}
IL_00bd:
{
// if (!baseMat.HasProperty("_StencilWriteMask"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_33 = ___baseMat0;
NullCheck(L_33);
bool L_34 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_33, _stringLiteralBEBB082E9E5DACD451E74B1DB3FC897E061313FC, /*hidden argument*/NULL);
if (L_34)
{
goto IL_00e7;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _StencilWriteMask property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_35 = ___baseMat0;
NullCheck(L_35);
String_t* L_36 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_35, /*hidden argument*/NULL);
String_t* L_37 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_36, _stringLiteral6BBE55D35C62D6E93C1C8A502B59352497A03EBB, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_38 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_37, L_38, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_39 = ___baseMat0;
return L_39;
}
IL_00e7:
{
// if (!baseMat.HasProperty("_ColorMask"))
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_40 = ___baseMat0;
NullCheck(L_40);
bool L_41 = Material_HasProperty_m8611FACA6F9D9B2B5C3E92B6D93D2D514B443512(L_40, _stringLiteralB5E2BA93787E798DD2F2FDF3C3B4EE994B1A5889, /*hidden argument*/NULL);
if (L_41)
{
goto IL_0111;
}
}
{
// Debug.LogWarning("Material " + baseMat.name + " doesn't have _ColorMask property", baseMat);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_42 = ___baseMat0;
NullCheck(L_42);
String_t* L_43 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_42, /*hidden argument*/NULL);
String_t* L_44 = String_Concat_mF4626905368D6558695A823466A1AF65EADB9923(_stringLiteral7624461F1D0A9064E75763CEB022C98541D5E883, L_43, _stringLiteral0080F1C33659FCC8CAF01884080D4A3B8B8B8A12, /*hidden argument*/NULL);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_45 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_il2cpp_TypeInfo_var);
Debug_LogWarning_mD417697331190AC1D21C463F412C475103A7256E(L_44, L_45, /*hidden argument*/NULL);
// return baseMat;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_46 = ___baseMat0;
return L_46;
}
IL_0111:
{
// for (int i = 0; i < m_List.Count; ++i)
V_1 = 0;
goto IL_0181;
}
IL_0115:
{
// MatEntry ent = m_List[i];
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_47 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
int32_t L_48 = V_1;
NullCheck(L_47);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_49 = List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_inline(L_47, L_48, /*hidden argument*/List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_RuntimeMethod_var);
V_2 = L_49;
// if (ent.baseMat == baseMat
// && ent.stencilId == stencilID
// && ent.operation == operation
// && ent.compareFunction == compareFunction
// && ent.readMask == readMask
// && ent.writeMask == writeMask
// && ent.colorMask == colorWriteMask)
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_50 = V_2;
NullCheck(L_50);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_51 = L_50->get_baseMat_0();
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_52 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_53 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_51, L_52, /*hidden argument*/NULL);
if (!L_53)
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_54 = V_2;
NullCheck(L_54);
int32_t L_55 = L_54->get_stencilId_3();
int32_t L_56 = ___stencilID1;
if ((!(((uint32_t)L_55) == ((uint32_t)L_56))))
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_57 = V_2;
NullCheck(L_57);
int32_t L_58 = L_57->get_operation_4();
int32_t L_59 = ___operation2;
if ((!(((uint32_t)L_58) == ((uint32_t)L_59))))
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_60 = V_2;
NullCheck(L_60);
int32_t L_61 = L_60->get_compareFunction_5();
int32_t L_62 = ___compareFunction3;
if ((!(((uint32_t)L_61) == ((uint32_t)L_62))))
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_63 = V_2;
NullCheck(L_63);
int32_t L_64 = L_63->get_readMask_6();
int32_t L_65 = ___readMask5;
if ((!(((uint32_t)L_64) == ((uint32_t)L_65))))
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_66 = V_2;
NullCheck(L_66);
int32_t L_67 = L_66->get_writeMask_7();
int32_t L_68 = ___writeMask6;
if ((!(((uint32_t)L_67) == ((uint32_t)L_68))))
{
goto IL_017d;
}
}
{
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_69 = V_2;
NullCheck(L_69);
int32_t L_70 = L_69->get_colorMask_9();
int32_t L_71 = ___colorWriteMask4;
if ((!(((uint32_t)L_70) == ((uint32_t)L_71))))
{
goto IL_017d;
}
}
{
// ++ent.count;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_72 = V_2;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_73 = L_72;
NullCheck(L_73);
int32_t L_74 = L_73->get_count_2();
NullCheck(L_73);
L_73->set_count_2(((int32_t)il2cpp_codegen_add((int32_t)L_74, (int32_t)1)));
// return ent.customMat;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_75 = V_2;
NullCheck(L_75);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_76 = L_75->get_customMat_1();
return L_76;
}
IL_017d:
{
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_77 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_77, (int32_t)1));
}
IL_0181:
{
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_78 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_79 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
NullCheck(L_79);
int32_t L_80 = List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_inline(L_79, /*hidden argument*/List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_RuntimeMethod_var);
if ((((int32_t)L_78) < ((int32_t)L_80)))
{
goto IL_0115;
}
}
{
// var newEnt = new MatEntry();
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_81 = (MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 *)il2cpp_codegen_object_new(MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701_il2cpp_TypeInfo_var);
MatEntry__ctor_m1088ABC0B5320FB051D0F7036D1AEC006C48AD1B(L_81, /*hidden argument*/NULL);
V_0 = L_81;
// newEnt.count = 1;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_82 = V_0;
NullCheck(L_82);
L_82->set_count_2(1);
// newEnt.baseMat = baseMat;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_83 = V_0;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_84 = ___baseMat0;
NullCheck(L_83);
L_83->set_baseMat_0(L_84);
// newEnt.customMat = new Material(baseMat);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_85 = V_0;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_86 = ___baseMat0;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_87 = (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 *)il2cpp_codegen_object_new(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598_il2cpp_TypeInfo_var);
Material__ctor_m0171C6D4D3FD04D58C70808F255DBA67D0ED2BDE(L_87, L_86, /*hidden argument*/NULL);
NullCheck(L_85);
L_85->set_customMat_1(L_87);
// newEnt.customMat.hideFlags = HideFlags.HideAndDontSave;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_88 = V_0;
NullCheck(L_88);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_89 = L_88->get_customMat_1();
NullCheck(L_89);
Object_set_hideFlags_mB0B45A19A5871EF407D7B09E0EB76003496BA4F0(L_89, ((int32_t)61), /*hidden argument*/NULL);
// newEnt.stencilId = stencilID;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_90 = V_0;
int32_t L_91 = ___stencilID1;
NullCheck(L_90);
L_90->set_stencilId_3(L_91);
// newEnt.operation = operation;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_92 = V_0;
int32_t L_93 = ___operation2;
NullCheck(L_92);
L_92->set_operation_4(L_93);
// newEnt.compareFunction = compareFunction;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_94 = V_0;
int32_t L_95 = ___compareFunction3;
NullCheck(L_94);
L_94->set_compareFunction_5(L_95);
// newEnt.readMask = readMask;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_96 = V_0;
int32_t L_97 = ___readMask5;
NullCheck(L_96);
L_96->set_readMask_6(L_97);
// newEnt.writeMask = writeMask;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_98 = V_0;
int32_t L_99 = ___writeMask6;
NullCheck(L_98);
L_98->set_writeMask_7(L_99);
// newEnt.colorMask = colorWriteMask;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_100 = V_0;
int32_t L_101 = ___colorWriteMask4;
NullCheck(L_100);
L_100->set_colorMask_9(L_101);
// newEnt.useAlphaClip = operation != StencilOp.Keep && writeMask > 0;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_102 = V_0;
int32_t L_103 = ___operation2;
G_B28_0 = L_102;
if (!L_103)
{
G_B29_0 = L_102;
goto IL_01f3;
}
}
{
int32_t L_104 = ___writeMask6;
G_B30_0 = ((((int32_t)L_104) > ((int32_t)0))? 1 : 0);
G_B30_1 = G_B28_0;
goto IL_01f4;
}
IL_01f3:
{
G_B30_0 = 0;
G_B30_1 = G_B29_0;
}
IL_01f4:
{
NullCheck(G_B30_1);
G_B30_1->set_useAlphaClip_8((bool)G_B30_0);
// newEnt.customMat.name = string.Format("Stencil Id:{0}, Op:{1}, Comp:{2}, WriteMask:{3}, ReadMask:{4}, ColorMask:{5} AlphaClip:{6} ({7})", stencilID, operation, compareFunction, writeMask, readMask, colorWriteMask, newEnt.useAlphaClip, baseMat.name);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_105 = V_0;
NullCheck(L_105);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_106 = L_105->get_customMat_1();
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_107 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)8);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_108 = L_107;
int32_t L_109 = ___stencilID1;
int32_t L_110 = L_109;
RuntimeObject * L_111 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_110);
NullCheck(L_108);
ArrayElementTypeCheck (L_108, L_111);
(L_108)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_111);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_112 = L_108;
int32_t L_113 = ___operation2;
int32_t L_114 = L_113;
RuntimeObject * L_115 = Box(StencilOp_t39C53F937E65AEB59181772222564CEE34A3A48A_il2cpp_TypeInfo_var, &L_114);
NullCheck(L_112);
ArrayElementTypeCheck (L_112, L_115);
(L_112)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_115);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_116 = L_112;
int32_t L_117 = ___compareFunction3;
int32_t L_118 = L_117;
RuntimeObject * L_119 = Box(CompareFunction_t217BE827C5994EDCA3FE70CE73578C2F729F9E69_il2cpp_TypeInfo_var, &L_118);
NullCheck(L_116);
ArrayElementTypeCheck (L_116, L_119);
(L_116)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_119);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_120 = L_116;
int32_t L_121 = ___writeMask6;
int32_t L_122 = L_121;
RuntimeObject * L_123 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_122);
NullCheck(L_120);
ArrayElementTypeCheck (L_120, L_123);
(L_120)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_123);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_124 = L_120;
int32_t L_125 = ___readMask5;
int32_t L_126 = L_125;
RuntimeObject * L_127 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_126);
NullCheck(L_124);
ArrayElementTypeCheck (L_124, L_127);
(L_124)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_127);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_128 = L_124;
int32_t L_129 = ___colorWriteMask4;
int32_t L_130 = L_129;
RuntimeObject * L_131 = Box(ColorWriteMask_t5DC00042EAC46AEEB06A7E0D51EA00C26F076E70_il2cpp_TypeInfo_var, &L_130);
NullCheck(L_128);
ArrayElementTypeCheck (L_128, L_131);
(L_128)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_131);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_132 = L_128;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_133 = V_0;
NullCheck(L_133);
bool L_134 = L_133->get_useAlphaClip_8();
bool L_135 = L_134;
RuntimeObject * L_136 = Box(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_il2cpp_TypeInfo_var, &L_135);
NullCheck(L_132);
ArrayElementTypeCheck (L_132, L_136);
(L_132)->SetAt(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)L_136);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_137 = L_132;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_138 = ___baseMat0;
NullCheck(L_138);
String_t* L_139 = Object_get_name_mA2D400141CB3C991C87A2556429781DE961A83CE(L_138, /*hidden argument*/NULL);
NullCheck(L_137);
ArrayElementTypeCheck (L_137, L_139);
(L_137)->SetAt(static_cast<il2cpp_array_size_t>(7), (RuntimeObject *)L_139);
String_t* L_140 = String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865(_stringLiteral5E65243DE0A9ADBECEA7E1244B1A61A3DC7A3CAD, L_137, /*hidden argument*/NULL);
NullCheck(L_106);
Object_set_name_m538711B144CDE30F929376BCF72D0DC8F85D0826(L_106, L_140, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_Stencil", stencilID);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_141 = V_0;
NullCheck(L_141);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_142 = L_141->get_customMat_1();
int32_t L_143 = ___stencilID1;
NullCheck(L_142);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_142, _stringLiteral00B9E14633411C46CB64AE42D91DD928EE3EC5B1, L_143, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_StencilOp", (int)operation);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_144 = V_0;
NullCheck(L_144);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_145 = L_144->get_customMat_1();
int32_t L_146 = ___operation2;
NullCheck(L_145);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_145, _stringLiteral7A200607148CA1061B43BC5E5BF6CFF3829B9B93, L_146, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_StencilComp", (int)compareFunction);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_147 = V_0;
NullCheck(L_147);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_148 = L_147->get_customMat_1();
int32_t L_149 = ___compareFunction3;
NullCheck(L_148);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_148, _stringLiteralC0E60DD82594AF705F1DCD06B4FE427E33BBAFCC, L_149, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_StencilReadMask", readMask);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_150 = V_0;
NullCheck(L_150);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_151 = L_150->get_customMat_1();
int32_t L_152 = ___readMask5;
NullCheck(L_151);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_151, _stringLiteral8DD62ACF429375A264346E1E9B92A8E490AAF02B, L_152, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_StencilWriteMask", writeMask);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_153 = V_0;
NullCheck(L_153);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_154 = L_153->get_customMat_1();
int32_t L_155 = ___writeMask6;
NullCheck(L_154);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_154, _stringLiteralBEBB082E9E5DACD451E74B1DB3FC897E061313FC, L_155, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_ColorMask", (int)colorWriteMask);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_156 = V_0;
NullCheck(L_156);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_157 = L_156->get_customMat_1();
int32_t L_158 = ___colorWriteMask4;
NullCheck(L_157);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(L_157, _stringLiteralB5E2BA93787E798DD2F2FDF3C3B4EE994B1A5889, L_158, /*hidden argument*/NULL);
// newEnt.customMat.SetInt("_UseUIAlphaClip", newEnt.useAlphaClip ? 1 : 0);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_159 = V_0;
NullCheck(L_159);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_160 = L_159->get_customMat_1();
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_161 = V_0;
NullCheck(L_161);
bool L_162 = L_161->get_useAlphaClip_8();
G_B31_0 = _stringLiteralAEE2EDC89B1D182B6AABA43BD95AD471CE407E0E;
G_B31_1 = L_160;
if (L_162)
{
G_B32_0 = _stringLiteralAEE2EDC89B1D182B6AABA43BD95AD471CE407E0E;
G_B32_1 = L_160;
goto IL_02e3;
}
}
{
G_B33_0 = 0;
G_B33_1 = G_B31_0;
G_B33_2 = G_B31_1;
goto IL_02e4;
}
IL_02e3:
{
G_B33_0 = 1;
G_B33_1 = G_B32_0;
G_B33_2 = G_B32_1;
}
IL_02e4:
{
NullCheck(G_B33_2);
Material_SetInt_m1FCBDBB985E6A299AE11C3D8AF29BB4D7C7DF278(G_B33_2, G_B33_1, G_B33_0, /*hidden argument*/NULL);
// if (newEnt.useAlphaClip)
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_163 = V_0;
NullCheck(L_163);
bool L_164 = L_163->get_useAlphaClip_8();
if (!L_164)
{
goto IL_0303;
}
}
{
// newEnt.customMat.EnableKeyword("UNITY_UI_ALPHACLIP");
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_165 = V_0;
NullCheck(L_165);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_166 = L_165->get_customMat_1();
NullCheck(L_166);
Material_EnableKeyword_m7466758182CBBC40134C9048CDF682DF46F32FA9(L_166, _stringLiteral080341529ECB1E5B2422ABE39DBE6F61638867BA, /*hidden argument*/NULL);
goto IL_0313;
}
IL_0303:
{
// newEnt.customMat.DisableKeyword("UNITY_UI_ALPHACLIP");
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_167 = V_0;
NullCheck(L_167);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_168 = L_167->get_customMat_1();
NullCheck(L_168);
Material_DisableKeyword_m2ACBFC5D28ED46FF2CF5532F00D702FF62C02ED3(L_168, _stringLiteral080341529ECB1E5B2422ABE39DBE6F61638867BA, /*hidden argument*/NULL);
}
IL_0313:
{
// m_List.Add(newEnt);
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_169 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_170 = V_0;
NullCheck(L_169);
List_1_Add_mAFCD2619E23964518685D147CCE7E51190DA7FB7(L_169, L_170, /*hidden argument*/List_1_Add_mAFCD2619E23964518685D147CCE7E51190DA7FB7_RuntimeMethod_var);
// return newEnt.customMat;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_171 = V_0;
NullCheck(L_171);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_172 = L_171->get_customMat_1();
return L_172;
}
}
// System.Void UnityEngine.UI.StencilMaterial::Remove(UnityEngine.Material)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StencilMaterial_Remove_m3D0EEC517780E1528A9D4F3AABF3B78BF59B5282 (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___customMat0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Remove_m3D0EEC517780E1528A9D4F3AABF3B78BF59B5282_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * V_1 = NULL;
int32_t V_2 = 0;
{
// if (customMat == null)
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_0 = ___customMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
// return;
return;
}
IL_000a:
{
// for (int i = 0; i < m_List.Count; ++i)
V_0 = 0;
goto IL_005d;
}
IL_000e:
{
// MatEntry ent = m_List[i];
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_2 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
int32_t L_3 = V_0;
NullCheck(L_2);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_4 = List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_inline(L_2, L_3, /*hidden argument*/List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_RuntimeMethod_var);
V_1 = L_4;
// if (ent.customMat != customMat)
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_5 = V_1;
NullCheck(L_5);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_6 = L_5->get_customMat_1();
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_7 = ___customMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_6, L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0059;
}
}
{
// if (--ent.count == 0)
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_9 = V_1;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_10 = L_9;
NullCheck(L_10);
int32_t L_11 = L_10->get_count_2();
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)1));
int32_t L_12 = V_2;
NullCheck(L_10);
L_10->set_count_2(L_12);
int32_t L_13 = V_2;
if (L_13)
{
goto IL_0058;
}
}
{
// Misc.DestroyImmediate(ent.customMat);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_14 = V_1;
NullCheck(L_14);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_15 = L_14->get_customMat_1();
Misc_DestroyImmediate_mE7D29D1E4B20D856C1CA3C18A9BF50F46FCC0213(L_15, /*hidden argument*/NULL);
// ent.baseMat = null;
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_16 = V_1;
NullCheck(L_16);
L_16->set_baseMat_0((Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 *)NULL);
// m_List.RemoveAt(i);
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_17 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
int32_t L_18 = V_0;
NullCheck(L_17);
List_1_RemoveAt_m59FA64439457AE93FF4A591EFC2BF65CF749A7EE(L_17, L_18, /*hidden argument*/List_1_RemoveAt_m59FA64439457AE93FF4A591EFC2BF65CF749A7EE_RuntimeMethod_var);
}
IL_0058:
{
// return;
return;
}
IL_0059:
{
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_19 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
}
IL_005d:
{
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_20 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_21 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
NullCheck(L_21);
int32_t L_22 = List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_inline(L_21, /*hidden argument*/List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_RuntimeMethod_var);
if ((((int32_t)L_20) < ((int32_t)L_22)))
{
goto IL_000e;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.UI.StencilMaterial::ClearAll()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StencilMaterial_ClearAll_m0E04E813DE65150C047EF22F090BEB6C00DED77B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_ClearAll_m0E04E813DE65150C047EF22F090BEB6C00DED77B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// for (int i = 0; i < m_List.Count; ++i)
V_0 = 0;
goto IL_0024;
}
IL_0004:
{
// MatEntry ent = m_List[i];
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_0 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
int32_t L_1 = V_0;
NullCheck(L_0);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_2 = List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_inline(L_0, L_1, /*hidden argument*/List_1_get_Item_m823B10AFCDF9910DE40387774D0ECBF4A3567FB2_RuntimeMethod_var);
// Misc.DestroyImmediate(ent.customMat);
MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * L_3 = L_2;
NullCheck(L_3);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_4 = L_3->get_customMat_1();
Misc_DestroyImmediate_mE7D29D1E4B20D856C1CA3C18A9BF50F46FCC0213(L_4, /*hidden argument*/NULL);
// ent.baseMat = null;
NullCheck(L_3);
L_3->set_baseMat_0((Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 *)NULL);
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_5 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0024:
{
// for (int i = 0; i < m_List.Count; ++i)
int32_t L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_7 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
NullCheck(L_7);
int32_t L_8 = List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_inline(L_7, /*hidden argument*/List_1_get_Count_m1FF28F65EB4814601E05D3CFDABCF5C6AE085C04_RuntimeMethod_var);
if ((((int32_t)L_6) < ((int32_t)L_8)))
{
goto IL_0004;
}
}
{
// m_List.Clear();
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var);
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_9 = ((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->get_m_List_0();
NullCheck(L_9);
List_1_Clear_mBB0407C7F188EDF1268A15DCA271615670B3DFF8(L_9, /*hidden argument*/List_1_Clear_mBB0407C7F188EDF1268A15DCA271615670B3DFF8_RuntimeMethod_var);
// }
return;
}
}
// System.Void UnityEngine.UI.StencilMaterial::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StencilMaterial__cctor_m55BD7A7538EFDC49FDF2AF3C1F43D7D0615AF13D (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial__cctor_m55BD7A7538EFDC49FDF2AF3C1F43D7D0615AF13D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static List<MatEntry> m_List = new List<MatEntry>();
List_1_t7984FB74D3877329C67F707EE61308104862C691 * L_0 = (List_1_t7984FB74D3877329C67F707EE61308104862C691 *)il2cpp_codegen_object_new(List_1_t7984FB74D3877329C67F707EE61308104862C691_il2cpp_TypeInfo_var);
List_1__ctor_m8711C2DA96CFAD2FEC7F7322F9855901C17FAACA(L_0, /*hidden argument*/List_1__ctor_m8711C2DA96CFAD2FEC7F7322F9855901C17FAACA_RuntimeMethod_var);
((StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields*)il2cpp_codegen_static_fields_for(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_il2cpp_TypeInfo_var))->set_m_List_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 UnityEngine.UI.StencilMaterial_MatEntry::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MatEntry__ctor_m1088ABC0B5320FB051D0F7036D1AEC006C48AD1B (MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701 * __this, const RuntimeMethod* method)
{
{
// public CompareFunction compareFunction = CompareFunction.Always;
__this->set_compareFunction_5(8);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__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 UnityEngine.UI.Text::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text__ctor_mC95797286B600CF862FC75F9E65F48267313865F (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text__ctor_mC95797286B600CF862FC75F9E65F48267313865F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// [SerializeField] private FontData m_FontData = FontData.defaultFontData;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = FontData_get_defaultFontData_m395A2BA13B11A53C4BD4E8F1B7D97E9E278D6063(/*hidden argument*/NULL);
__this->set_m_FontData_34(L_0);
// [TextArea(3, 10)][SerializeField] protected string m_Text = String.Empty;
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Text_35(L_1);
// readonly UIVertex[] m_TempVerts = new UIVertex[4];
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_2 = (UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A*)(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A*)SZArrayNew(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A_il2cpp_TypeInfo_var, (uint32_t)4);
__this->set_m_TempVerts_40(L_2);
// protected Text()
MaskableGraphic__ctor_mF2B16CE3752FDC9F7F96F5DE671690B4424B5AA6(__this, /*hidden argument*/NULL);
// useLegacyMeshGeneration = false;
Graphic_set_useLegacyMeshGeneration_m1281A98F40D15A81E9F13E761A25971D26E22485_inline(__this, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGenerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * V_0 = NULL;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * G_B5_0 = NULL;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * G_B1_0 = NULL;
Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * G_B3_0 = NULL;
Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * G_B2_0 = NULL;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * G_B4_0 = NULL;
Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * G_B4_1 = NULL;
{
// get { return m_TextCache ?? (m_TextCache = (m_Text.Length != 0 ? new TextGenerator(m_Text.Length) : new TextGenerator())); }
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_0 = __this->get_m_TextCache_36();
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B5_0 = L_1;
goto IL_0037;
}
}
{
String_t* L_2 = __this->get_m_Text_35();
NullCheck(L_2);
int32_t L_3 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_2, /*hidden argument*/NULL);
G_B2_0 = __this;
if (L_3)
{
G_B3_0 = __this;
goto IL_001f;
}
}
{
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_4 = (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *)il2cpp_codegen_object_new(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_il2cpp_TypeInfo_var);
TextGenerator__ctor_mD3956FF7D10DC470522A6363E7D6EC243415098A(L_4, /*hidden argument*/NULL);
G_B4_0 = L_4;
G_B4_1 = G_B2_0;
goto IL_002f;
}
IL_001f:
{
String_t* L_5 = __this->get_m_Text_35();
NullCheck(L_5);
int32_t L_6 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_5, /*hidden argument*/NULL);
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_7 = (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *)il2cpp_codegen_object_new(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_il2cpp_TypeInfo_var);
TextGenerator__ctor_m86E01E7BB9DC1B28F04961E482ED4D7065062BCE(L_7, L_6, /*hidden argument*/NULL);
G_B4_0 = L_7;
G_B4_1 = G_B3_0;
}
IL_002f:
{
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_8 = G_B4_0;
V_0 = L_8;
NullCheck(G_B4_1);
G_B4_1->set_m_TextCache_36(L_8);
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_9 = V_0;
G_B5_0 = L_9;
}
IL_0037:
{
return G_B5_0;
}
}
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGeneratorForLayout()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * V_0 = NULL;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * G_B2_0 = NULL;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * G_B1_0 = NULL;
{
// get { return m_TextCacheForLayout ?? (m_TextCacheForLayout = new TextGenerator()); }
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_0 = __this->get_m_TextCacheForLayout_37();
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0018;
}
}
{
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_2 = (TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 *)il2cpp_codegen_object_new(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8_il2cpp_TypeInfo_var);
TextGenerator__ctor_mD3956FF7D10DC470522A6363E7D6EC243415098A(L_2, /*hidden argument*/NULL);
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_3 = L_2;
V_0 = L_3;
__this->set_m_TextCacheForLayout_37(L_3);
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_4 = V_0;
G_B2_0 = L_4;
}
IL_0018:
{
return G_B2_0;
}
}
// UnityEngine.Texture UnityEngine.UI.Text::get_mainTexture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * Text_get_mainTexture_m2DB4BB9E001F9251B8B95887CC17CA78DAEB5C45 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_mainTexture_m2DB4BB9E001F9251B8B95887CC17CA78DAEB5C45_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (font != null && font.material != null && font.material.mainTexture != null)
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_004a;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_2 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_2);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_3 = Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_3, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_004a;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_5 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_5);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_6 = Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_7 = Material_get_mainTexture_mE85CF647728AD145D7E03A172EFD5930773E514E(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_7, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_004a;
}
}
{
// return font.material.mainTexture;
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_9 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_9);
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_10 = Font_get_material_m92A995029540A5FACAEA3A2FE792FFDAC294827D(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_11 = Material_get_mainTexture_mE85CF647728AD145D7E03A172EFD5930773E514E(L_10, /*hidden argument*/NULL);
return L_11;
}
IL_004a:
{
// if (m_Material != null)
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_12 = ((Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 *)__this)->get_m_Material_6();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_12, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0064;
}
}
{
// return m_Material.mainTexture;
Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * L_14 = ((Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 *)__this)->get_m_Material_6();
NullCheck(L_14);
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_15 = Material_get_mainTexture_mE85CF647728AD145D7E03A172EFD5930773E514E(L_14, /*hidden argument*/NULL);
return L_15;
}
IL_0064:
{
// return base.mainTexture;
Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * L_16 = Graphic_get_mainTexture_m8ADD95545D4FAB8D218C028196DCB9758C47B3E5_inline(__this, /*hidden argument*/NULL);
return L_16;
}
}
// System.Void UnityEngine.UI.Text::FontTextureChanged()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_FontTextureChanged_mFD9E41BBD0E8875A640F7554A4A233F4F91D8D32 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_FontTextureChanged_mFD9E41BBD0E8875A640F7554A4A233F4F91D8D32_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!this)
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_0 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0009;
}
}
{
// return;
return;
}
IL_0009:
{
// if (m_DisableFontTextureRebuiltCallback)
bool L_1 = __this->get_m_DisableFontTextureRebuiltCallback_39();
if (!L_1)
{
goto IL_0012;
}
}
{
// return;
return;
}
IL_0012:
{
// cachedTextGenerator.Invalidate();
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_2 = Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8(__this, /*hidden argument*/NULL);
NullCheck(L_2);
TextGenerator_Invalidate_m5C360AB470CB728BAA03B34BE33C75CBB55B673E(L_2, /*hidden argument*/NULL);
// if (!IsActive())
bool L_3 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_3)
{
goto IL_0026;
}
}
{
// return;
return;
}
IL_0026:
{
// if (CanvasUpdateRegistry.IsRebuildingGraphics() || CanvasUpdateRegistry.IsRebuildingLayout())
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t0F63B307D591C36C16910289988730A62CAB4CB9_il2cpp_TypeInfo_var);
bool L_4 = CanvasUpdateRegistry_IsRebuildingGraphics_m1C67401F44BB421AE8945B8B1B3CD2AC61B75E89(/*hidden argument*/NULL);
if (L_4)
{
goto IL_0034;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t0F63B307D591C36C16910289988730A62CAB4CB9_il2cpp_TypeInfo_var);
bool L_5 = CanvasUpdateRegistry_IsRebuildingLayout_m5720F54D56B252982240E5DF4723A3BA7B7A891B(/*hidden argument*/NULL);
if (!L_5)
{
goto IL_003b;
}
}
IL_0034:
{
// UpdateGeometry();
VirtActionInvoker0::Invoke(41 /* System.Void UnityEngine.UI.Graphic::UpdateGeometry() */, __this);
return;
}
IL_003b:
{
// SetAllDirty();
VirtActionInvoker0::Invoke(26 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this);
// }
return;
}
}
// UnityEngine.Font UnityEngine.UI.Text::get_font()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.font;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = FontData_get_font_m63A03245926CD05B461E00C281724370C8B7D0F4_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_font_m77D86B27FDEE1FD2D96A7419F11CF9B249A50D66 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_set_font_m77D86B27FDEE1FD2D96A7419F11CF9B249A50D66_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_FontData.font == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = FontData_get_font_m63A03245926CD05B461E00C281724370C8B7D0F4_inline(L_0, /*hidden argument*/NULL);
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_2 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_1, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0014;
}
}
{
// return;
return;
}
IL_0014:
{
// FontUpdateTracker.UntrackText(this);
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_il2cpp_TypeInfo_var);
FontUpdateTracker_UntrackText_m1AF4E3F1C4FB59FFB0CA434696983DFDD4B30C63(__this, /*hidden argument*/NULL);
// m_FontData.font = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_4 = __this->get_m_FontData_34();
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_5 = ___value0;
NullCheck(L_4);
FontData_set_font_mE19CF5265530AC3200BE65E20E8F909210ED71D0_inline(L_4, L_5, /*hidden argument*/NULL);
// FontUpdateTracker.TrackText(this);
FontUpdateTracker_TrackText_mD4637B32DDF98DBC4EB12276CF3F1F123D2E8DE1(__this, /*hidden argument*/NULL);
// SetAllDirty();
VirtActionInvoker0::Invoke(26 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this);
// }
return;
}
}
// System.String UnityEngine.UI.Text::get_text()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Text_get_text_mAC04085D2550B32FF25ED8C7FBE012B527D4F8E5 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_Text;
String_t* L_0 = __this->get_m_Text_35();
return L_0;
}
}
// System.Void UnityEngine.UI.Text::set_text(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_text_m06205D43AD79670752504410AEA7DB65F3495261 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_set_text_m06205D43AD79670752504410AEA7DB65F3495261_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (String.IsNullOrEmpty(value))
String_t* L_0 = ___value0;
bool L_1 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0028;
}
}
{
// if (String.IsNullOrEmpty(m_Text))
String_t* L_2 = __this->get_m_Text_35();
bool L_3 = String_IsNullOrEmpty_m06A85A206AC2106D1982826C5665B9BD35324229(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0016;
}
}
{
// return;
return;
}
IL_0016:
{
// m_Text = "";
__this->set_m_Text_35(_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// }
return;
}
IL_0028:
{
// else if (m_Text != value)
String_t* L_4 = __this->get_m_Text_35();
String_t* L_5 = ___value0;
bool L_6 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0049;
}
}
{
// m_Text = value;
String_t* L_7 = ___value0;
__this->set_m_Text_35(L_7);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_0049:
{
// }
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_supportRichText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Text_get_supportRichText_m773629D045B3AB8B019607FD62CF6FF5E084BE47 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.richText;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_richText_m42B50EC00F120906CE16259A13C5C37392B7E525_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_supportRichText(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_supportRichText_m8854F111655576BEB5010C2E20DBA3F6CDD4A728 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.richText == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_richText_m42B50EC00F120906CE16259A13C5C37392B7E525_inline(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.richText = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_richText_m2A9142EB34518A1516B6DD0A02263B6AA4FAAA8A_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_resizeTextForBestFit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Text_get_resizeTextForBestFit_mA8C9E2BEB9842156E49EBD769CD195DFFBDA6BB6 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.bestFit;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_bestFit_m927FFB8A5BE4376FC966BC16E0431B443F00E691_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextForBestFit(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_resizeTextForBestFit_mAE249035B12F07D09257F84A5ABA473C0E76596D (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.bestFit == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_bestFit_m927FFB8A5BE4376FC966BC16E0431B443F00E691_inline(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.bestFit = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_bestFit_m0426EC53969FF4848061B4C37888D242BAD0E07A_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_resizeTextMinSize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_resizeTextMinSize_m9B6868F8F5FDDB892FAB0606A84D0A4F60CC2A55 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.minSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_minSize_m40C332F61CFB0F164EB84B35A05E2A10B801667B_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextMinSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_resizeTextMinSize_m5120DA2BCA50601607C9E8C5626BF4E22B741F76 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.minSize == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_minSize_m40C332F61CFB0F164EB84B35A05E2A10B801667B_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.minSize = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_minSize_mF884D9FD3B53247AB2C9EE9EEC15EA2CAEF04787_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_resizeTextMaxSize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_resizeTextMaxSize_m425BDDA1A72EDC3E2D3BA30C4B55F8D4FD7163CD (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.maxSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_maxSize_mCFC5C0F12AF21C90D1D854B68A27043724911270_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextMaxSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_resizeTextMaxSize_mFEFAD8F77C8C7A2C7FF8C3EACB7D6FF6BAD921E8 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.maxSize == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_maxSize_mCFC5C0F12AF21C90D1D854B68A27043724911270_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.maxSize = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_maxSize_mDD9FCD710B9E033877FC966E70A0DF83D79A334C_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// UnityEngine.TextAnchor UnityEngine.UI.Text::get_alignment()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_alignment_m764224AECDEEF22CCC70D507944D753FBCF58D97 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.alignment;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_alignment_m2492DD0F8619041BD0426388DFFE2DA4634DF095_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_alignment(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_alignment_m561721B60004841C883CE9E1C981616E08AB1900 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.alignment == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_alignment_m2492DD0F8619041BD0426388DFFE2DA4634DF095_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.alignment = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_alignment_m69E5F6567789E0623536766BADD833481D8D95A5_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_alignByGeometry()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Text_get_alignByGeometry_m9F2147D31569144BC67429F00C4D5458CC75326B (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.alignByGeometry;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_alignByGeometry_m2283F19F108FF389FC586488AB28FFEC2A5422A7_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_alignByGeometry(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_alignByGeometry_mCC0F6C643A459A43FEDE07106208D07993411079 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.alignByGeometry == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
bool L_1 = FontData_get_alignByGeometry_m2283F19F108FF389FC586488AB28FFEC2A5422A7_inline(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.alignByGeometry = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_alignByGeometry_m4A0066CFEAAE077592A22AAB95584B2ED416E139_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// }
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_fontSize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_fontSize_m54D89E58101CB7F2B51110A6161E8C36D5373428 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.fontSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_fontSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_fontSize_m7551E066F44B292BBF8EFC7EEF3CBEE1D1AAFB06 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.fontSize == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.fontSize = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_fontSize_mFAB8C6A7548E75E958984BD5365348A131194B0F_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// UnityEngine.HorizontalWrapMode UnityEngine.UI.Text::get_horizontalOverflow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_horizontalOverflow_mEBD747C7A0B0DEF7AEC55307A8EDA6DD1ECCC5B2 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.horizontalOverflow;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_horizontalOverflow_mD9704C9760A72DF3123CD12CF2C801424B43F9B8_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_horizontalOverflow(UnityEngine.HorizontalWrapMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_horizontalOverflow_m25E21FB646B7B4802055E363BE35A76B1C0601CF (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.horizontalOverflow == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_horizontalOverflow_mD9704C9760A72DF3123CD12CF2C801424B43F9B8_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.horizontalOverflow = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_horizontalOverflow_m36E9099214AECDBA10782F2AD0D53FB0C564A2BF_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// UnityEngine.VerticalWrapMode UnityEngine.UI.Text::get_verticalOverflow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_verticalOverflow_mA8582227054F2DB4071BDC70204103C98C1D7D79 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.verticalOverflow;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_verticalOverflow_m42B923B1137DAEA0D1846C81B659284A5B93D2F0_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_verticalOverflow(UnityEngine.VerticalWrapMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_verticalOverflow_m4DF07E06D460D0D9182627CCA3619AA1E1C11E94 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.verticalOverflow == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_verticalOverflow_m42B923B1137DAEA0D1846C81B659284A5B93D2F0_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.verticalOverflow = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_verticalOverflow_m0CADC4D430AF3B97EC6AB67E307B33416F73ACA2_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Single UnityEngine.UI.Text::get_lineSpacing()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_lineSpacing_m45E1C10CB772BB56DA0DC2A8FEE7A7CC9B3C5105 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.lineSpacing;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
float L_1 = FontData_get_lineSpacing_m7E48A8B51A6E164736303C82428B1E09541BC259_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_lineSpacing(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_lineSpacing_m0B40346036180A5375F33075B3366F56F1C52801 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, float ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.lineSpacing == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
float L_1 = FontData_get_lineSpacing_m7E48A8B51A6E164736303C82428B1E09541BC259_inline(L_0, /*hidden argument*/NULL);
float L_2 = ___value0;
if ((!(((float)L_1) == ((float)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.lineSpacing = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
float L_4 = ___value0;
NullCheck(L_3);
FontData_set_lineSpacing_m4E5D389BD1B2AC5EE9819D016D348E9E86354418_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// UnityEngine.FontStyle UnityEngine.UI.Text::get_fontStyle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_fontStyle_mA223DF2A20DDBB2755624498CFD8C99E22A981CA (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// return m_FontData.fontStyle;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontStyle_m463803A5ED384064EC9B03549BA921BEAAC8A4A6_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_fontStyle(UnityEngine.FontStyle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_fontStyle_mEB69FC3AD201D282D5DC1985A6B3656B79542030 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// if (m_FontData.fontStyle == value)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_0 = __this->get_m_FontData_34();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontStyle_m463803A5ED384064EC9B03549BA921BEAAC8A4A6_inline(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_FontData.fontStyle = value;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_3 = __this->get_m_FontData_34();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_fontStyle_m25218403D504C2D0876E5AB25E813EEFAE85F93E_inline(L_3, L_4, /*hidden argument*/NULL);
// SetVerticesDirty();
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
// SetLayoutDirty();
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
// }
return;
}
}
// System.Single UnityEngine.UI.Text::get_pixelsPerUnit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * V_0 = NULL;
{
// var localCanvas = canvas;
Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * L_0 = Graphic_get_canvas_mE278CED637619008522EF95A32071868DD6F028C(__this, /*hidden argument*/NULL);
V_0 = L_0;
// if (!localCanvas)
Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534(L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0015;
}
}
{
// return 1;
return (1.0f);
}
IL_0015:
{
// if (!font || font.dynamic)
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_3 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Implicit_m8B2A44B4B1406ED346D1AE6D962294FD58D0D534(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_002f;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_5 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_6 = Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E(L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0036;
}
}
IL_002f:
{
// return localCanvas.scaleFactor;
Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * L_7 = V_0;
NullCheck(L_7);
float L_8 = Canvas_get_scaleFactor_m0F6D59E75F7605ABD2AFF6AF32A1097226CE060A(L_7, /*hidden argument*/NULL);
return L_8;
}
IL_0036:
{
// if (m_FontData.fontSize <= 0 || font.fontSize <= 0)
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_9 = __this->get_m_FontData_34();
NullCheck(L_9);
int32_t L_10 = FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_0052;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_11 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_11);
int32_t L_12 = Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_12) > ((int32_t)0)))
{
goto IL_0058;
}
}
IL_0052:
{
// return 1;
return (1.0f);
}
IL_0058:
{
// return font.fontSize / (float)m_FontData.fontSize;
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_13 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_13);
int32_t L_14 = Font_get_fontSize_m75A71EFC3D6483AD1A8C6F38133648BDFF1618A5(L_13, /*hidden argument*/NULL);
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_15 = __this->get_m_FontData_34();
NullCheck(L_15);
int32_t L_16 = FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline(L_15, /*hidden argument*/NULL);
return ((float)((float)(((float)((float)L_14)))/(float)(((float)((float)L_16)))));
}
}
// System.Void UnityEngine.UI.Text::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_OnEnable_m6D5C18FAA3B6F62B55A83D44A20949C1CF5CE7FD (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnEnable_m6D5C18FAA3B6F62B55A83D44A20949C1CF5CE7FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// base.OnEnable();
MaskableGraphic_OnEnable_m9F237DEB38F94621751B57A24C38B5C2B2E37343(__this, /*hidden argument*/NULL);
// cachedTextGenerator.Invalidate();
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_0 = Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8(__this, /*hidden argument*/NULL);
NullCheck(L_0);
TextGenerator_Invalidate_m5C360AB470CB728BAA03B34BE33C75CBB55B673E(L_0, /*hidden argument*/NULL);
// FontUpdateTracker.TrackText(this);
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_il2cpp_TypeInfo_var);
FontUpdateTracker_TrackText_mD4637B32DDF98DBC4EB12276CF3F1F123D2E8DE1(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Text::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_OnDisable_m0B0965F6DA3A71683822989744E5705CD1641FE5 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnDisable_m0B0965F6DA3A71683822989744E5705CD1641FE5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// FontUpdateTracker.UntrackText(this);
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_il2cpp_TypeInfo_var);
FontUpdateTracker_UntrackText_m1AF4E3F1C4FB59FFB0CA434696983DFDD4B30C63(__this, /*hidden argument*/NULL);
// base.OnDisable();
MaskableGraphic_OnDisable_m7082110BEF7DD61D91076319CF47E97090F70899(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Text::UpdateGeometry()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_UpdateGeometry_mA8A037291FE143D329C85EAC881FA56F84DD73E7 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_UpdateGeometry_mA8A037291FE143D329C85EAC881FA56F84DD73E7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (font != null)
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0014;
}
}
{
// base.UpdateGeometry();
Graphic_UpdateGeometry_mA96921531C4B1F1ECE14D3AEF696B6CE186A262E(__this, /*hidden argument*/NULL);
}
IL_0014:
{
// }
return;
}
}
// System.Void UnityEngine.UI.Text::AssignDefaultFont()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_AssignDefaultFont_m96292009E24D108CA2889748CBB06B34CF854B69 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_AssignDefaultFont_m96292009E24D108CA2889748CBB06B34CF854B69_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// font = Resources.GetBuiltinResource<Font>("Arial.ttf");
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = Resources_GetBuiltinResource_TisFont_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_m28D7ED0C35D5F51E2A61A4CA162B08923E0837D6(_stringLiteralAD01E3847AA5918933113DC21A22AF4AD31DD4B7, /*hidden argument*/Resources_GetBuiltinResource_TisFont_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26_m28D7ED0C35D5F51E2A61A4CA162B08923E0837D6_RuntimeMethod_var);
Text_set_font_m77D86B27FDEE1FD2D96A7419F11CF9B249A50D66(__this, L_0, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.TextGenerationSettings UnityEngine.UI.Text::GetGenerationSettings(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___extents0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var settings = new TextGenerationSettings();
il2cpp_codegen_initobj((&V_0), sizeof(TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 ));
// settings.generationExtents = extents;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_0 = ___extents0;
(&V_0)->set_generationExtents_15(L_0);
// if (font != null && font.dynamic)
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_1 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_1, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0061;
}
}
{
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_3 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
NullCheck(L_3);
bool L_4 = Font_get_dynamic_m14C7E59606E317C5952A69F05CC44BF399CFFE2E(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0061;
}
}
{
// settings.fontSize = m_FontData.fontSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_5 = __this->get_m_FontData_34();
NullCheck(L_5);
int32_t L_6 = FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline(L_5, /*hidden argument*/NULL);
(&V_0)->set_fontSize_2(L_6);
// settings.resizeTextMinSize = m_FontData.minSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_7 = __this->get_m_FontData_34();
NullCheck(L_7);
int32_t L_8 = FontData_get_minSize_m40C332F61CFB0F164EB84B35A05E2A10B801667B_inline(L_7, /*hidden argument*/NULL);
(&V_0)->set_resizeTextMinSize_10(L_8);
// settings.resizeTextMaxSize = m_FontData.maxSize;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_9 = __this->get_m_FontData_34();
NullCheck(L_9);
int32_t L_10 = FontData_get_maxSize_mCFC5C0F12AF21C90D1D854B68A27043724911270_inline(L_9, /*hidden argument*/NULL);
(&V_0)->set_resizeTextMaxSize_11(L_10);
}
IL_0061:
{
// settings.textAnchor = m_FontData.alignment;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_11 = __this->get_m_FontData_34();
NullCheck(L_11);
int32_t L_12 = FontData_get_alignment_m2492DD0F8619041BD0426388DFFE2DA4634DF095_inline(L_11, /*hidden argument*/NULL);
(&V_0)->set_textAnchor_7(L_12);
// settings.alignByGeometry = m_FontData.alignByGeometry;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_13 = __this->get_m_FontData_34();
NullCheck(L_13);
bool L_14 = FontData_get_alignByGeometry_m2283F19F108FF389FC586488AB28FFEC2A5422A7_inline(L_13, /*hidden argument*/NULL);
(&V_0)->set_alignByGeometry_8(L_14);
// settings.scaleFactor = pixelsPerUnit;
float L_15 = Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11(__this, /*hidden argument*/NULL);
(&V_0)->set_scaleFactor_5(L_15);
// settings.color = color;
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_16 = VirtFuncInvoker0< Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 >::Invoke(22 /* UnityEngine.Color UnityEngine.UI.Graphic::get_color() */, __this);
(&V_0)->set_color_1(L_16);
// settings.font = font;
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_17 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
(&V_0)->set_font_0(L_17);
// settings.pivot = rectTransform.pivot;
RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * L_18 = Graphic_get_rectTransform_m025371162D3A3FCD6D4692B43D0BD80602D0AFC4(__this, /*hidden argument*/NULL);
NullCheck(L_18);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_19 = RectTransform_get_pivot_mA5BEEE2069ACA7C0C717530EED3E7D811D46C463(L_18, /*hidden argument*/NULL);
(&V_0)->set_pivot_16(L_19);
// settings.richText = m_FontData.richText;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_20 = __this->get_m_FontData_34();
NullCheck(L_20);
bool L_21 = FontData_get_richText_m42B50EC00F120906CE16259A13C5C37392B7E525_inline(L_20, /*hidden argument*/NULL);
(&V_0)->set_richText_4(L_21);
// settings.lineSpacing = m_FontData.lineSpacing;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_22 = __this->get_m_FontData_34();
NullCheck(L_22);
float L_23 = FontData_get_lineSpacing_m7E48A8B51A6E164736303C82428B1E09541BC259_inline(L_22, /*hidden argument*/NULL);
(&V_0)->set_lineSpacing_3(L_23);
// settings.fontStyle = m_FontData.fontStyle;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_24 = __this->get_m_FontData_34();
NullCheck(L_24);
int32_t L_25 = FontData_get_fontStyle_m463803A5ED384064EC9B03549BA921BEAAC8A4A6_inline(L_24, /*hidden argument*/NULL);
(&V_0)->set_fontStyle_6(L_25);
// settings.resizeTextForBestFit = m_FontData.bestFit;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_26 = __this->get_m_FontData_34();
NullCheck(L_26);
bool L_27 = FontData_get_bestFit_m927FFB8A5BE4376FC966BC16E0431B443F00E691_inline(L_26, /*hidden argument*/NULL);
(&V_0)->set_resizeTextForBestFit_9(L_27);
// settings.updateBounds = false;
(&V_0)->set_updateBounds_12((bool)0);
// settings.horizontalOverflow = m_FontData.horizontalOverflow;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_28 = __this->get_m_FontData_34();
NullCheck(L_28);
int32_t L_29 = FontData_get_horizontalOverflow_mD9704C9760A72DF3123CD12CF2C801424B43F9B8_inline(L_28, /*hidden argument*/NULL);
(&V_0)->set_horizontalOverflow_14(L_29);
// settings.verticalOverflow = m_FontData.verticalOverflow;
FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * L_30 = __this->get_m_FontData_34();
NullCheck(L_30);
int32_t L_31 = FontData_get_verticalOverflow_m42B923B1137DAEA0D1846C81B659284A5B93D2F0_inline(L_30, /*hidden argument*/NULL);
(&V_0)->set_verticalOverflow_13(L_31);
// return settings;
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_32 = V_0;
return L_32;
}
}
// UnityEngine.Vector2 UnityEngine.UI.Text::GetTextAnchorPivot(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D Text_GetTextAnchorPivot_m46E0F5CDDA2E0366DBB463A2D46F3F334FC1D058 (int32_t ___anchor0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_GetTextAnchorPivot_m46E0F5CDDA2E0366DBB463A2D46F3F334FC1D058_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// switch (anchor)
int32_t L_0 = ___anchor0;
switch (L_0)
{
case 0:
{
goto IL_008f;
}
case 1:
{
goto IL_009f;
}
case 2:
{
goto IL_00af;
}
case 3:
{
goto IL_005f;
}
case 4:
{
goto IL_006f;
}
case 5:
{
goto IL_007f;
}
case 6:
{
goto IL_002f;
}
case 7:
{
goto IL_003f;
}
case 8:
{
goto IL_004f;
}
}
}
{
goto IL_00bf;
}
IL_002f:
{
// case TextAnchor.LowerLeft: return new Vector2(0, 0);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1;
memset((&L_1), 0, sizeof(L_1));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_1), (0.0f), (0.0f), /*hidden argument*/NULL);
return L_1;
}
IL_003f:
{
// case TextAnchor.LowerCenter: return new Vector2(0.5f, 0);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2;
memset((&L_2), 0, sizeof(L_2));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_2), (0.5f), (0.0f), /*hidden argument*/NULL);
return L_2;
}
IL_004f:
{
// case TextAnchor.LowerRight: return new Vector2(1, 0);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3;
memset((&L_3), 0, sizeof(L_3));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_3), (1.0f), (0.0f), /*hidden argument*/NULL);
return L_3;
}
IL_005f:
{
// case TextAnchor.MiddleLeft: return new Vector2(0, 0.5f);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_4;
memset((&L_4), 0, sizeof(L_4));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_4), (0.0f), (0.5f), /*hidden argument*/NULL);
return L_4;
}
IL_006f:
{
// case TextAnchor.MiddleCenter: return new Vector2(0.5f, 0.5f);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5;
memset((&L_5), 0, sizeof(L_5));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_5), (0.5f), (0.5f), /*hidden argument*/NULL);
return L_5;
}
IL_007f:
{
// case TextAnchor.MiddleRight: return new Vector2(1, 0.5f);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_6;
memset((&L_6), 0, sizeof(L_6));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_6), (1.0f), (0.5f), /*hidden argument*/NULL);
return L_6;
}
IL_008f:
{
// case TextAnchor.UpperLeft: return new Vector2(0, 1);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_7;
memset((&L_7), 0, sizeof(L_7));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_7), (0.0f), (1.0f), /*hidden argument*/NULL);
return L_7;
}
IL_009f:
{
// case TextAnchor.UpperCenter: return new Vector2(0.5f, 1);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_8;
memset((&L_8), 0, sizeof(L_8));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_8), (0.5f), (1.0f), /*hidden argument*/NULL);
return L_8;
}
IL_00af:
{
// case TextAnchor.UpperRight: return new Vector2(1, 1);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_9;
memset((&L_9), 0, sizeof(L_9));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_9), (1.0f), (1.0f), /*hidden argument*/NULL);
return L_9;
}
IL_00bf:
{
// default: return Vector2.zero;
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_10 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
return L_10;
}
}
// System.Void UnityEngine.UI.Text::OnPopulateMesh(UnityEngine.UI.VertexHelper)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_OnPopulateMesh_m29E980A07D59D8151E7497E11FD5EE15AF85FF6F (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * ___toFill0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnPopulateMesh_m29E980A07D59D8151E7497E11FD5EE15AF85FF6F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_0;
memset((&V_0), 0, sizeof(V_0));
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_1;
memset((&V_1), 0, sizeof(V_1));
RuntimeObject* V_2 = NULL;
float V_3 = 0.0f;
int32_t V_4 = 0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D V_5;
memset((&V_5), 0, sizeof(V_5));
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_6;
memset((&V_6), 0, sizeof(V_6));
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
{
// if (font == null)
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = Text_get_font_mC5492E71F03FA7CD2B9C42672B662FF2383A7919(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// m_DisableFontTextureRebuiltCallback = true;
__this->set_m_DisableFontTextureRebuiltCallback_39((bool)1);
// Vector2 extents = rectTransform.rect.size;
RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * L_2 = Graphic_get_rectTransform_m025371162D3A3FCD6D4692B43D0BD80602D0AFC4(__this, /*hidden argument*/NULL);
NullCheck(L_2);
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_3 = RectTransform_get_rect_mE5F283FCB99A66403AC1F0607CA49C156D73A15E(L_2, /*hidden argument*/NULL);
V_6 = L_3;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_4 = Rect_get_size_m731642B8F03F6CE372A2C9E2E4A925450630606C((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_6), /*hidden argument*/NULL);
V_0 = L_4;
// var settings = GetGenerationSettings(extents);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = V_0;
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_6 = Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD(__this, L_5, /*hidden argument*/NULL);
V_1 = L_6;
// cachedTextGenerator.PopulateWithErrors(text, settings, gameObject);
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_7 = Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8(__this, /*hidden argument*/NULL);
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(72 /* System.String UnityEngine.UI.Text::get_text() */, __this);
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_9 = V_1;
GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_10 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C(__this, /*hidden argument*/NULL);
NullCheck(L_7);
TextGenerator_PopulateWithErrors_m1F1851B3C2B2EBEFD81C83DC124FB376C926B933(L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
// IList<UIVertex> verts = cachedTextGenerator.verts;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_11 = Text_get_cachedTextGenerator_mC2FED5B2D9A7BF6D4372FDC993D0B7F0EA3C1DA8(__this, /*hidden argument*/NULL);
NullCheck(L_11);
RuntimeObject* L_12 = TextGenerator_get_verts_mD0B3D877BE872CDE4BE3791685B8B5EF0AAC6120(L_11, /*hidden argument*/NULL);
V_2 = L_12;
// float unitsPerPixel = 1 / pixelsPerUnit;
float L_13 = Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11(__this, /*hidden argument*/NULL);
V_3 = ((float)((float)(1.0f)/(float)L_13));
// int vertCount = verts.Count;
RuntimeObject* L_14 = V_2;
NullCheck(L_14);
int32_t L_15 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UIVertex>::get_Count() */, ICollection_1_t41BF289781C9C1F49562EC22FD7C12A365802A5A_il2cpp_TypeInfo_var, L_14);
V_4 = L_15;
// if (vertCount <= 0)
int32_t L_16 = V_4;
if ((((int32_t)L_16) > ((int32_t)0)))
{
goto IL_0079;
}
}
{
// toFill.Clear();
VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * L_17 = ___toFill0;
NullCheck(L_17);
VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455(L_17, /*hidden argument*/NULL);
// return;
return;
}
IL_0079:
{
// Vector2 roundingOffset = new Vector2(verts[0].position.x, verts[0].position.y) * unitsPerPixel;
RuntimeObject* L_18 = V_2;
NullCheck(L_18);
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_19 = InterfaceFuncInvoker1< UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995_il2cpp_TypeInfo_var, L_18, 0);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_20 = L_19.get_position_0();
float L_21 = L_20.get_x_2();
RuntimeObject* L_22 = V_2;
NullCheck(L_22);
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_23 = InterfaceFuncInvoker1< UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995_il2cpp_TypeInfo_var, L_22, 0);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_24 = L_23.get_position_0();
float L_25 = L_24.get_y_3();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_26;
memset((&L_26), 0, sizeof(L_26));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_26), L_21, L_25, /*hidden argument*/NULL);
float L_27 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_28 = Vector2_op_Multiply_m8A843A37F2F3199EBE99DC7BDABC1DC2EE01AF56(L_26, L_27, /*hidden argument*/NULL);
V_5 = L_28;
// roundingOffset = PixelAdjustPoint(roundingOffset) - roundingOffset;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_29 = V_5;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_30 = Graphic_PixelAdjustPoint_m6A06D04F7D6B6D946407ECBD984AB2E9B2EF2DCF(__this, L_29, /*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_31 = V_5;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_32 = Vector2_op_Subtraction_m2B347E4311EDBBBF27573E34899D2492E6B063C0(L_30, L_31, /*hidden argument*/NULL);
V_5 = L_32;
// toFill.Clear();
VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * L_33 = ___toFill0;
NullCheck(L_33);
VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455(L_33, /*hidden argument*/NULL);
// if (roundingOffset != Vector2.zero)
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_34 = V_5;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_35 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
bool L_36 = Vector2_op_Inequality_mC16161C640C89D98A00800924F83FF09FD7C100E(L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_017c;
}
}
{
// for (int i = 0; i < vertCount; ++i)
V_7 = 0;
goto IL_0171;
}
IL_00d8:
{
// int tempVertsIndex = i & 3;
int32_t L_37 = V_7;
V_8 = ((int32_t)((int32_t)L_37&(int32_t)3));
// m_TempVerts[tempVertsIndex] = verts[i];
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_38 = __this->get_m_TempVerts_40();
int32_t L_39 = V_8;
RuntimeObject* L_40 = V_2;
int32_t L_41 = V_7;
NullCheck(L_40);
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_42 = InterfaceFuncInvoker1< UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995_il2cpp_TypeInfo_var, L_40, L_41);
NullCheck(L_38);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(L_39), (UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 )L_42);
// m_TempVerts[tempVertsIndex].position *= unitsPerPixel;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_43 = __this->get_m_TempVerts_40();
int32_t L_44 = V_8;
NullCheck(L_43);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_45 = ((L_43)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_44)))->get_address_of_position_0();
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_46 = L_45;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_47 = (*(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 *)L_46);
float L_48 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_49 = Vector3_op_Multiply_m1C5F07723615156ACF035D88A1280A9E8F35A04E(L_47, L_48, /*hidden argument*/NULL);
*(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 *)L_46 = L_49;
// m_TempVerts[tempVertsIndex].position.x += roundingOffset.x;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_50 = __this->get_m_TempVerts_40();
int32_t L_51 = V_8;
NullCheck(L_50);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_52 = ((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_51)))->get_address_of_position_0();
float* L_53 = L_52->get_address_of_x_2();
float* L_54 = L_53;
float L_55 = *((float*)L_54);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_56 = V_5;
float L_57 = L_56.get_x_0();
*((float*)L_54) = (float)((float)il2cpp_codegen_add((float)L_55, (float)L_57));
// m_TempVerts[tempVertsIndex].position.y += roundingOffset.y;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_58 = __this->get_m_TempVerts_40();
int32_t L_59 = V_8;
NullCheck(L_58);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_60 = ((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)))->get_address_of_position_0();
float* L_61 = L_60->get_address_of_y_3();
float* L_62 = L_61;
float L_63 = *((float*)L_62);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_64 = V_5;
float L_65 = L_64.get_y_1();
*((float*)L_62) = (float)((float)il2cpp_codegen_add((float)L_63, (float)L_65));
// if (tempVertsIndex == 3)
int32_t L_66 = V_8;
if ((!(((uint32_t)L_66) == ((uint32_t)3))))
{
goto IL_016b;
}
}
{
// toFill.AddUIVertexQuad(m_TempVerts);
VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * L_67 = ___toFill0;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_68 = __this->get_m_TempVerts_40();
NullCheck(L_67);
VertexHelper_AddUIVertexQuad_mDECEEA1FE0985C87BBDF905D8F29F9C2434B14E0(L_67, L_68, /*hidden argument*/NULL);
}
IL_016b:
{
// for (int i = 0; i < vertCount; ++i)
int32_t L_69 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)1));
}
IL_0171:
{
// for (int i = 0; i < vertCount; ++i)
int32_t L_70 = V_7;
int32_t L_71 = V_4;
if ((((int32_t)L_70) < ((int32_t)L_71)))
{
goto IL_00d8;
}
}
{
// }
goto IL_01dc;
}
IL_017c:
{
// for (int i = 0; i < vertCount; ++i)
V_9 = 0;
goto IL_01d6;
}
IL_0181:
{
// int tempVertsIndex = i & 3;
int32_t L_72 = V_9;
V_10 = ((int32_t)((int32_t)L_72&(int32_t)3));
// m_TempVerts[tempVertsIndex] = verts[i];
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_73 = __this->get_m_TempVerts_40();
int32_t L_74 = V_10;
RuntimeObject* L_75 = V_2;
int32_t L_76 = V_9;
NullCheck(L_75);
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_77 = InterfaceFuncInvoker1< UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 , int32_t >::Invoke(0 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t45C308B7C2BC6D4379698668EE5E126FF141A995_il2cpp_TypeInfo_var, L_75, L_76);
NullCheck(L_73);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(L_74), (UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 )L_77);
// m_TempVerts[tempVertsIndex].position *= unitsPerPixel;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_78 = __this->get_m_TempVerts_40();
int32_t L_79 = V_10;
NullCheck(L_78);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_80 = ((L_78)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_79)))->get_address_of_position_0();
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * L_81 = L_80;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_82 = (*(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 *)L_81);
float L_83 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_84 = Vector3_op_Multiply_m1C5F07723615156ACF035D88A1280A9E8F35A04E(L_82, L_83, /*hidden argument*/NULL);
*(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 *)L_81 = L_84;
// if (tempVertsIndex == 3)
int32_t L_85 = V_10;
if ((!(((uint32_t)L_85) == ((uint32_t)3))))
{
goto IL_01d0;
}
}
{
// toFill.AddUIVertexQuad(m_TempVerts);
VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * L_86 = ___toFill0;
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_87 = __this->get_m_TempVerts_40();
NullCheck(L_86);
VertexHelper_AddUIVertexQuad_mDECEEA1FE0985C87BBDF905D8F29F9C2434B14E0(L_86, L_87, /*hidden argument*/NULL);
}
IL_01d0:
{
// for (int i = 0; i < vertCount; ++i)
int32_t L_88 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_88, (int32_t)1));
}
IL_01d6:
{
// for (int i = 0; i < vertCount; ++i)
int32_t L_89 = V_9;
int32_t L_90 = V_4;
if ((((int32_t)L_89) < ((int32_t)L_90)))
{
goto IL_0181;
}
}
IL_01dc:
{
// m_DisableFontTextureRebuiltCallback = false;
__this->set_m_DisableFontTextureRebuiltCallback_39((bool)0);
// }
return;
}
}
// System.Void UnityEngine.UI.Text::CalculateLayoutInputHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_CalculateLayoutInputHorizontal_m7B2DA73FF1503750666D8468BE7102EEDA1EDD65 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// public virtual void CalculateLayoutInputHorizontal() {}
return;
}
}
// System.Void UnityEngine.UI.Text::CalculateLayoutInputVertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_CalculateLayoutInputVertical_mC194E8A8CFACDAE1F7DA8D2F3168FB14315A3A50 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// public virtual void CalculateLayoutInputVertical() {}
return;
}
}
// System.Single UnityEngine.UI.Text::get_minWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_minWidth_m46490002BA829F128F9B6190FAC94839CAFF48DC (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// get { return 0; }
return (0.0f);
}
}
// System.Single UnityEngine.UI.Text::get_preferredWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_preferredWidth_mB995B7D7B8D1808D2CC91B7D8CDE6072390DDF4F (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_preferredWidth_mB995B7D7B8D1808D2CC91B7D8CDE6072390DDF4F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_0;
memset((&V_0), 0, sizeof(V_0));
{
// var settings = GetGenerationSettings(Vector2.zero);
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_0 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_1 = Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
// return cachedTextGeneratorForLayout.GetPreferredWidth(m_Text, settings) / pixelsPerUnit;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_2 = Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5(__this, /*hidden argument*/NULL);
String_t* L_3 = __this->get_m_Text_35();
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_4 = V_0;
NullCheck(L_2);
float L_5 = TextGenerator_GetPreferredWidth_mBF228094564195BBB66669F4ECC6EE1B0B05BAAA(L_2, L_3, L_4, /*hidden argument*/NULL);
float L_6 = Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11(__this, /*hidden argument*/NULL);
return ((float)((float)L_5/(float)L_6));
}
}
// System.Single UnityEngine.UI.Text::get_flexibleWidth()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_flexibleWidth_m78EA0BBCDDEF992B51E387CAB6C31E72CDF70A6F (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// public virtual float flexibleWidth { get { return -1; } }
return (-1.0f);
}
}
// System.Single UnityEngine.UI.Text::get_minHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_minHeight_m76435DC5706971E701498CC565CB3096F5DB2C7C (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// get { return 0; }
return (0.0f);
}
}
// System.Single UnityEngine.UI.Text::get_preferredHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_preferredHeight_mD5E92B056D52BDD6BCCD9F799C402605A6E5578A (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 V_0;
memset((&V_0), 0, sizeof(V_0));
Rect_t35B976DE901B5423C11705E156938EA27AB402CE V_1;
memset((&V_1), 0, sizeof(V_1));
{
// var settings = GetGenerationSettings(new Vector2(GetPixelAdjustedRect().size.x, 0.0f));
Rect_t35B976DE901B5423C11705E156938EA27AB402CE L_0 = Graphic_GetPixelAdjustedRect_m324344D38946D6F976CD487B493B8D9787DE891B(__this, /*hidden argument*/NULL);
V_1 = L_0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_1 = Rect_get_size_m731642B8F03F6CE372A2C9E2E4A925450630606C((Rect_t35B976DE901B5423C11705E156938EA27AB402CE *)(&V_1), /*hidden argument*/NULL);
float L_2 = L_1.get_x_0();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3;
memset((&L_3), 0, sizeof(L_3));
Vector2__ctor_mEE8FB117AB1F8DB746FB8B3EB4C0DA3BF2A230D0((&L_3), L_2, (0.0f), /*hidden argument*/NULL);
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_4 = Text_GetGenerationSettings_m601D90FFD85B04F8DD7DA4D701080AAB77F2FAAD(__this, L_3, /*hidden argument*/NULL);
V_0 = L_4;
// return cachedTextGeneratorForLayout.GetPreferredHeight(m_Text, settings) / pixelsPerUnit;
TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * L_5 = Text_get_cachedTextGeneratorForLayout_m0F227772707238FF803F6A14F7B06B17D87A8BC5(__this, /*hidden argument*/NULL);
String_t* L_6 = __this->get_m_Text_35();
TextGenerationSettings_t37703542535A1638D2A08F41DB629A483616AF68 L_7 = V_0;
NullCheck(L_5);
float L_8 = TextGenerator_GetPreferredHeight_mC2F191D9E9CF2365545D0A3F1EBD0F105DB27963(L_5, L_6, L_7, /*hidden argument*/NULL);
float L_9 = Text_get_pixelsPerUnit_m66B1F16660BDE8F058F59B80B196F5A10B8BFA11(__this, /*hidden argument*/NULL);
return ((float)((float)L_8/(float)L_9));
}
}
// System.Single UnityEngine.UI.Text::get_flexibleHeight()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Text_get_flexibleHeight_m77EAAD745212A4E7FD27B6415E222BE5B76792B9 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// public virtual float flexibleHeight { get { return -1; } }
return (-1.0f);
}
}
// System.Int32 UnityEngine.UI.Text::get_layoutPriority()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Text_get_layoutPriority_m83D4EEEC3869BC520693077152DA06BB916F90F6 (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * __this, const RuntimeMethod* method)
{
{
// public virtual int layoutPriority { get { return 0; } }
return 0;
}
}
// System.Void UnityEngine.UI.Text::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text__cctor_m3CBFDFC22A6A1860DF15ADC7E2E4E6616447EFCD (const RuntimeMethod* method)
{
{
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UI.ToggleGroup UnityEngine.UI.Toggle::get_group()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * Toggle_get_group_m8A53B9EF413E699F639789C84035237AA9E6F614 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// get { return m_Group; }
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_0 = __this->get_m_Group_22();
return L_0;
}
}
// System.Void UnityEngine.UI.Toggle::set_group(UnityEngine.UI.ToggleGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_set_group_m79CCF30AB22683B835A9FC60668B62E804887138 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * ___value0, const RuntimeMethod* method)
{
{
// m_Group = value;
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_0 = ___value0;
__this->set_m_Group_22(L_0);
// SetToggleGroup(m_Group, true);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_1 = __this->get_m_Group_22();
Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5(__this, L_1, (bool)1, /*hidden argument*/NULL);
// PlayEffect(true);
Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7(__this, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle__ctor_m6071227A758B1F396BA3794940A43A18370821DF (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle__ctor_m6071227A758B1F396BA3794940A43A18370821DF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// public ToggleTransition toggleTransition = ToggleTransition.Fade;
__this->set_toggleTransition_20(1);
// public ToggleEvent onValueChanged = new ToggleEvent();
ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * L_0 = (ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 *)il2cpp_codegen_object_new(ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43_il2cpp_TypeInfo_var);
ToggleEvent__ctor_mF58CC00AEC0CB149ACB267F0A885D814164B484C(L_0, /*hidden argument*/NULL);
__this->set_onValueChanged_23(L_0);
// protected Toggle()
IL2CPP_RUNTIME_CLASS_INIT(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_il2cpp_TypeInfo_var);
Selectable__ctor_m1E7B3EB14D7DC765A511C053C0F65A37755EC4B9(__this, /*hidden argument*/NULL);
// {}
return;
}
}
// System.Void UnityEngine.UI.Toggle::Rebuild(UnityEngine.UI.CanvasUpdate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_Rebuild_m5112CD920031EC8E296631D0825CC0171DF4CD1D (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, int32_t ___executing0, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::LayoutComplete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_LayoutComplete_m6BD1146C8118A6E439509669D6D66DFB9C8C29EC (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// {}
return;
}
}
// System.Void UnityEngine.UI.Toggle::GraphicUpdateComplete()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_GraphicUpdateComplete_m116EDA905EAFB6F70F25185E343611C127D2D95D (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// {}
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnDestroy()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnDestroy_m9754D2593E4DB02B19EEFCAEA8769D57B9307BE6 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_OnDestroy_m9754D2593E4DB02B19EEFCAEA8769D57B9307BE6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_Group != null)
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_0 = __this->get_m_Group_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0019;
}
}
{
// m_Group.EnsureValidState();
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_2 = __this->get_m_Group_22();
NullCheck(L_2);
ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4(L_2, /*hidden argument*/NULL);
}
IL_0019:
{
// base.OnDestroy();
UIBehaviour_OnDestroy_mAC124B1C2131BDD6B17D70DB2A90632A2355F498(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnEnable_mC49A4F8CC585002FB544314DA6ED5AEEF90CC606 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// base.OnEnable();
Selectable_OnEnable_m63C9B777E61D9AC975344E4F2B344486A1A359C6(__this, /*hidden argument*/NULL);
// SetToggleGroup(m_Group, false);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_0 = __this->get_m_Group_22();
Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5(__this, L_0, (bool)0, /*hidden argument*/NULL);
// PlayEffect(true);
Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7(__this, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnDisable_m1F8B403A7836271B53223A5112E59033F1F970C8 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// SetToggleGroup(null, false);
Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5(__this, (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 *)NULL, (bool)0, /*hidden argument*/NULL);
// base.OnDisable();
Selectable_OnDisable_m4D4535A97B291959E391BCC56D51BF75B7B0F1B9(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnDidApplyAnimationProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnDidApplyAnimationProperties_m039EA4C84F62E2C815E59BE4B9DACFD6CF19D1E5 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_OnDidApplyAnimationProperties_m039EA4C84F62E2C815E59BE4B9DACFD6CF19D1E5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
// if (graphic != null)
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * L_0 = __this->get_graphic_21();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_004c;
}
}
{
// bool oldValue = !Mathf.Approximately(graphic.canvasRenderer.GetColor().a, 0);
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * L_2 = __this->get_graphic_21();
NullCheck(L_2);
CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * L_3 = Graphic_get_canvasRenderer_mB3E532BE19116A3F0D6ADC1CD29D242428EAE8AA(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 L_4 = CanvasRenderer_GetColor_m841EC074805A87FBD6D3EF7A17BEA2476AEBA31D(L_3, /*hidden argument*/NULL);
float L_5 = L_4.get_a_3();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_tFBDE6467D269BFE410605C7D806FD9991D4A89CB_il2cpp_TypeInfo_var);
bool L_6 = Mathf_Approximately_m91AF00403E0D2DEA1AAE68601AD218CFAD70DF7E(L_5, (0.0f), /*hidden argument*/NULL);
V_0 = (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
// if (m_IsOn != oldValue)
bool L_7 = __this->get_m_IsOn_24();
bool L_8 = V_0;
if ((((int32_t)L_7) == ((int32_t)L_8)))
{
goto IL_004c;
}
}
{
// m_IsOn = oldValue;
bool L_9 = V_0;
__this->set_m_IsOn_24(L_9);
// Set(!oldValue);
bool L_10 = V_0;
Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413(__this, (bool)((((int32_t)L_10) == ((int32_t)0))? 1 : 0), (bool)1, /*hidden argument*/NULL);
}
IL_004c:
{
// base.OnDidApplyAnimationProperties();
Selectable_OnDidApplyAnimationProperties_mACD23D97F62122F07F56C97301D1BA0394DAEF30(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::SetToggleGroup(UnityEngine.UI.ToggleGroup,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * ___newGroup0, bool ___setMemberValue1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_SetToggleGroup_mDA126E6B5A5DAED335E42E8BAEF4AD3DD0369AF5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_Group != null)
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_0 = __this->get_m_Group_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
// m_Group.UnregisterToggle(this);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_2 = __this->get_m_Group_22();
NullCheck(L_2);
ToggleGroup_UnregisterToggle_m724862AAE8CE184E7336D54F44C5ACBC9858D20A(L_2, __this, /*hidden argument*/NULL);
}
IL_001a:
{
// if (setMemberValue)
bool L_3 = ___setMemberValue1;
if (!L_3)
{
goto IL_0024;
}
}
{
// m_Group = newGroup;
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_4 = ___newGroup0;
__this->set_m_Group_22(L_4);
}
IL_0024:
{
// if (newGroup != null && IsActive())
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_5 = ___newGroup0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_5, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_003c;
}
}
{
bool L_7 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_7)
{
goto IL_003c;
}
}
{
// newGroup.RegisterToggle(this);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_8 = ___newGroup0;
NullCheck(L_8);
ToggleGroup_RegisterToggle_m1CC85EE0BE4DA4B993F5C04DBC87F0421BCA1ED3(L_8, __this, /*hidden argument*/NULL);
}
IL_003c:
{
// if (newGroup != null && isOn && IsActive())
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_9 = ___newGroup0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_10 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_9, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_005d;
}
}
{
bool L_11 = Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline(__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_005d;
}
}
{
bool L_12 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_12)
{
goto IL_005d;
}
}
{
// newGroup.NotifyToggleOn(this);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_13 = ___newGroup0;
NullCheck(L_13);
ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3(L_13, __this, (bool)1, /*hidden argument*/NULL);
}
IL_005d:
{
// }
return;
}
}
// System.Boolean UnityEngine.UI.Toggle::get_isOn()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// get { return m_IsOn; }
bool L_0 = __this->get_m_IsOn_24();
return L_0;
}
}
// System.Void UnityEngine.UI.Toggle::set_isOn(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// Set(value);
bool L_0 = ___value0;
Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413(__this, L_0, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::SetIsOnWithoutNotify(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_SetIsOnWithoutNotify_mE889EC3B1C7E271C822D07F5F73CB023EDFD87B4 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// Set(value, false);
bool L_0 = ___value0;
Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413(__this, L_0, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___value0, bool ___sendCallback1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_Set_m48ADB027F8B3C1B761EB6947B2DE48BC40977413_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_IsOn == value)
bool L_0 = __this->get_m_IsOn_24();
bool L_1 = ___value0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_000a;
}
}
{
// return;
return;
}
IL_000a:
{
// m_IsOn = value;
bool L_2 = ___value0;
__this->set_m_IsOn_24(L_2);
// if (m_Group != null && IsActive())
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_3 = __this->get_m_Group_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_3, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_005d;
}
}
{
bool L_5 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_5)
{
goto IL_005d;
}
}
{
// if (m_IsOn || (!m_Group.AnyTogglesOn() && !m_Group.allowSwitchOff))
bool L_6 = __this->get_m_IsOn_24();
if (L_6)
{
goto IL_0049;
}
}
{
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_7 = __this->get_m_Group_22();
NullCheck(L_7);
bool L_8 = ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B(L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_005d;
}
}
{
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_9 = __this->get_m_Group_22();
NullCheck(L_9);
bool L_10 = ToggleGroup_get_allowSwitchOff_mB9E04E1842B8293F8B25956D0AF14F8B8B5F5D94_inline(L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_005d;
}
}
IL_0049:
{
// m_IsOn = true;
__this->set_m_IsOn_24((bool)1);
// m_Group.NotifyToggleOn(this, sendCallback);
ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * L_11 = __this->get_m_Group_22();
bool L_12 = ___sendCallback1;
NullCheck(L_11);
ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3(L_11, __this, L_12, /*hidden argument*/NULL);
}
IL_005d:
{
// PlayEffect(toggleTransition == ToggleTransition.None);
int32_t L_13 = __this->get_toggleTransition_20();
Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7(__this, (bool)((((int32_t)L_13) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
// if (sendCallback)
bool L_14 = ___sendCallback1;
if (!L_14)
{
goto IL_008b;
}
}
{
// UISystemProfilerApi.AddMarker("Toggle.value", this);
UISystemProfilerApi_AddMarker_m9193DB5B08C1B7DD35835D6F0E2DF9DD20483FFA(_stringLiteral41518A35E5E31D59E2CF24E21B3BA8EDA44260F3, __this, /*hidden argument*/NULL);
// onValueChanged.Invoke(m_IsOn);
ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * L_15 = __this->get_onValueChanged_23();
bool L_16 = __this->get_m_IsOn_24();
NullCheck(L_15);
UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F(L_15, L_16, /*hidden argument*/UnityEvent_1_Invoke_mA7AC09C8B1D7365AA092C88716D2591DB283565F_RuntimeMethod_var);
}
IL_008b:
{
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::PlayEffect(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, bool ___instant0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B4_0 = NULL;
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B3_0 = NULL;
float G_B5_0 = 0.0f;
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B5_1 = NULL;
float G_B7_0 = 0.0f;
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B7_1 = NULL;
float G_B6_0 = 0.0f;
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B6_1 = NULL;
float G_B8_0 = 0.0f;
float G_B8_1 = 0.0f;
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * G_B8_2 = NULL;
{
// if (graphic == null)
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * L_0 = __this->get_graphic_21();
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000f;
}
}
{
// return;
return;
}
IL_000f:
{
// graphic.CrossFadeAlpha(m_IsOn ? 1f : 0f, instant ? 0f : 0.1f, true);
Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * L_2 = __this->get_graphic_21();
bool L_3 = __this->get_m_IsOn_24();
G_B3_0 = L_2;
if (L_3)
{
G_B4_0 = L_2;
goto IL_0024;
}
}
{
G_B5_0 = (0.0f);
G_B5_1 = G_B3_0;
goto IL_0029;
}
IL_0024:
{
G_B5_0 = (1.0f);
G_B5_1 = G_B4_0;
}
IL_0029:
{
bool L_4 = ___instant0;
G_B6_0 = G_B5_0;
G_B6_1 = G_B5_1;
if (L_4)
{
G_B7_0 = G_B5_0;
G_B7_1 = G_B5_1;
goto IL_0033;
}
}
{
G_B8_0 = (0.1f);
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
goto IL_0038;
}
IL_0033:
{
G_B8_0 = (0.0f);
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
}
IL_0038:
{
NullCheck(G_B8_2);
VirtActionInvoker3< float, float, bool >::Invoke(49 /* System.Void UnityEngine.UI.Graphic::CrossFadeAlpha(System.Single,System.Single,System.Boolean) */, G_B8_2, G_B8_1, G_B8_0, (bool)1);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_Start_m218BE913F96CC0BEDAF517F3B15DB704307E920E (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// PlayEffect(true);
Toggle_PlayEffect_mD786A6A6C18AFD30E7CEAAA65FD3CA027A6AC1C7(__this, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::InternalToggle()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_InternalToggle_m5E9A8D95C789BAC57A1AA00F08CF0DD3DDB9D7A9 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// if (!IsActive() || !IsInteractable())
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0010;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_1)
{
goto IL_0011;
}
}
IL_0010:
{
// return;
return;
}
IL_0011:
{
// isOn = !isOn;
bool L_2 = Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline(__this, /*hidden argument*/NULL);
Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8(__this, (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnPointerClick(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnPointerClick_m9910AE088F9E1DA3141AA096508BAE749875F917 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * ___eventData0, const RuntimeMethod* method)
{
{
// if (eventData.button != PointerEventData.InputButton.Left)
PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_mC662D5DAC02F0ED6AE9205259116CC91BB92BD3E_inline(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0009;
}
}
{
// return;
return;
}
IL_0009:
{
// InternalToggle();
Toggle_InternalToggle_m5E9A8D95C789BAC57A1AA00F08CF0DD3DDB9D7A9(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnSubmit(UnityEngine.EventSystems.BaseEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Toggle_OnSubmit_m586CC315CDCA1E0A45918AA0C6BFA917C6265939 (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, BaseEventData_t46C9D2AE3183A742EDE89944AF64A23DBF1B80A5 * ___eventData0, const RuntimeMethod* method)
{
{
// InternalToggle();
Toggle_InternalToggle_m5E9A8D95C789BAC57A1AA00F08CF0DD3DDB9D7A9(__this, /*hidden argument*/NULL);
// }
return;
}
}
// UnityEngine.Transform UnityEngine.UI.Toggle::UnityEngine.UI.ICanvasElement.get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * Toggle_UnityEngine_UI_ICanvasElement_get_transform_m0C71617F839B3BCEEA765EF98476562CF609835D (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * L_0 = Component_get_transform_m00F05BD782F920C301A7EBA480F3B7A904C07EC9(__this, /*hidden argument*/NULL);
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.UI.Toggle_ToggleEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleEvent__ctor_mF58CC00AEC0CB149ACB267F0A885D814164B484C (ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleEvent__ctor_mF58CC00AEC0CB149ACB267F0A885D814164B484C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351(__this, /*hidden argument*/UnityEvent_1__ctor_m94EAF2F1E34E1784989DAA239E334661EC3BB351_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#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 UnityEngine.UI.ToggleGroup::get_allowSwitchOff()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ToggleGroup_get_allowSwitchOff_mB9E04E1842B8293F8B25956D0AF14F8B8B5F5D94 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
{
// public bool allowSwitchOff { get { return m_AllowSwitchOff; } set { m_AllowSwitchOff = value; } }
bool L_0 = __this->get_m_AllowSwitchOff_4();
return L_0;
}
}
// System.Void UnityEngine.UI.ToggleGroup::set_allowSwitchOff(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_set_allowSwitchOff_m2D7F870F2BA9CB14E92C2198014862B303C63F16 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// public bool allowSwitchOff { get { return m_AllowSwitchOff; } set { m_AllowSwitchOff = value; } }
bool L_0 = ___value0;
__this->set_m_AllowSwitchOff_4(L_0);
// public bool allowSwitchOff { get { return m_AllowSwitchOff; } set { m_AllowSwitchOff = value; } }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup__ctor_mAE46954152026CB11A1F336EA4963BCA9A5FEFA1 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup__ctor_mAE46954152026CB11A1F336EA4963BCA9A5FEFA1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private List<Toggle> m_Toggles = new List<Toggle>();
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_0 = (List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C *)il2cpp_codegen_object_new(List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C_il2cpp_TypeInfo_var);
List_1__ctor_m698FA53ED3E128E9F81ECE96D79C4847A6EAB080(L_0, /*hidden argument*/List_1__ctor_m698FA53ED3E128E9F81ECE96D79C4847A6EAB080_RuntimeMethod_var);
__this->set_m_Toggles_5(L_0);
// protected ToggleGroup()
UIBehaviour__ctor_m270FFBC65602196134042BD4E24DB093883A1BAF(__this, /*hidden argument*/NULL);
// {}
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_Start_mED5FF12C3F8C51D3D3F2387EDC90D8DCB547CB5F (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
{
// EnsureValidState();
ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4(__this, /*hidden argument*/NULL);
// base.Start();
UIBehaviour_Start_mCF174BFBADA4B5806DD4FFF75984F1526AAF3884(__this, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::ValidateToggleIsInGroup(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (toggle == null || !m_Toggles.Contains(toggle))
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_0 = ___toggle0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0017;
}
}
{
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_2 = __this->get_m_Toggles_5();
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_3 = ___toggle0;
NullCheck(L_2);
bool L_4 = List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6(L_2, L_3, /*hidden argument*/List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6_RuntimeMethod_var);
if (L_4)
{
goto IL_0035;
}
}
IL_0017:
{
// throw new ArgumentException(string.Format("Toggle {0} is not part of ToggleGroup {1}", new object[] {toggle, this}));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_5 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)2);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_6 = L_5;
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_7 = ___toggle0;
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_7);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_7);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_8 = L_6;
NullCheck(L_8);
ArrayElementTypeCheck (L_8, __this);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)__this);
String_t* L_9 = String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865(_stringLiteral33BE700D2454643CBACB86CB20B67C2959E1BA08, L_8, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_10 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D_RuntimeMethod_var);
}
IL_0035:
{
// }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::NotifyToggleOn(UnityEngine.UI.Toggle,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, bool ___sendCallback1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// ValidateToggleIsInGroup(toggle);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_0 = ___toggle0;
ToggleGroup_ValidateToggleIsInGroup_mD4CA76641EF05E60429FFF845F19D107C603627D(__this, L_0, /*hidden argument*/NULL);
// for (var i = 0; i < m_Toggles.Count; i++)
V_0 = 0;
goto IL_004c;
}
IL_000b:
{
// if (m_Toggles[i] == toggle)
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_1 = __this->get_m_Toggles_5();
int32_t L_2 = V_0;
NullCheck(L_1);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_3 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_1, L_2, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_4 = ___toggle0;
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_3, L_4, /*hidden argument*/NULL);
if (L_5)
{
goto IL_0048;
}
}
{
// if (sendCallback)
bool L_6 = ___sendCallback1;
if (!L_6)
{
goto IL_0036;
}
}
{
// m_Toggles[i].isOn = false;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_7 = __this->get_m_Toggles_5();
int32_t L_8 = V_0;
NullCheck(L_7);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_9 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_7, L_8, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
NullCheck(L_9);
Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8(L_9, (bool)0, /*hidden argument*/NULL);
goto IL_0048;
}
IL_0036:
{
// m_Toggles[i].SetIsOnWithoutNotify(false);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_10 = __this->get_m_Toggles_5();
int32_t L_11 = V_0;
NullCheck(L_10);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_12 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_10, L_11, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
NullCheck(L_12);
Toggle_SetIsOnWithoutNotify_mE889EC3B1C7E271C822D07F5F73CB023EDFD87B4(L_12, (bool)0, /*hidden argument*/NULL);
}
IL_0048:
{
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_13 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_004c:
{
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_14 = V_0;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_15 = __this->get_m_Toggles_5();
NullCheck(L_15);
int32_t L_16 = List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_inline(L_15, /*hidden argument*/List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_RuntimeMethod_var);
if ((((int32_t)L_14) < ((int32_t)L_16)))
{
goto IL_000b;
}
}
{
// }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::UnregisterToggle(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_UnregisterToggle_m724862AAE8CE184E7336D54F44C5ACBC9858D20A (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_UnregisterToggle_m724862AAE8CE184E7336D54F44C5ACBC9858D20A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_Toggles.Contains(toggle))
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_0 = __this->get_m_Toggles_5();
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_1 = ___toggle0;
NullCheck(L_0);
bool L_2 = List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6(L_0, L_1, /*hidden argument*/List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6_RuntimeMethod_var);
if (!L_2)
{
goto IL_001b;
}
}
{
// m_Toggles.Remove(toggle);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_3 = __this->get_m_Toggles_5();
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_4 = ___toggle0;
NullCheck(L_3);
List_1_Remove_mF9F64AC3BEAA229F0EFB9FD15A8AE51B51F55EC6(L_3, L_4, /*hidden argument*/List_1_Remove_mF9F64AC3BEAA229F0EFB9FD15A8AE51B51F55EC6_RuntimeMethod_var);
}
IL_001b:
{
// }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::RegisterToggle(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_RegisterToggle_m1CC85EE0BE4DA4B993F5C04DBC87F0421BCA1ED3 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___toggle0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_RegisterToggle_m1CC85EE0BE4DA4B993F5C04DBC87F0421BCA1ED3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!m_Toggles.Contains(toggle))
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_0 = __this->get_m_Toggles_5();
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_1 = ___toggle0;
NullCheck(L_0);
bool L_2 = List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6(L_0, L_1, /*hidden argument*/List_1_Contains_m14946E3B8C0106BE1C1C8A1BBB5AD9C6919186F6_RuntimeMethod_var);
if (L_2)
{
goto IL_001a;
}
}
{
// m_Toggles.Add(toggle);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_3 = __this->get_m_Toggles_5();
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_4 = ___toggle0;
NullCheck(L_3);
List_1_Add_m28E652E7F35B62105F009FBE9B75DAA8AAA0C343(L_3, L_4, /*hidden argument*/List_1_Add_m28E652E7F35B62105F009FBE9B75DAA8AAA0C343_RuntimeMethod_var);
}
IL_001a:
{
// }
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::EnsureValidState()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_EnsureValidState_m074ACF3B8A6E2B4FAEFE382BC505F7B0CCEF74C4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!allowSwitchOff && !AnyTogglesOn() && m_Toggles.Count != 0)
bool L_0 = ToggleGroup_get_allowSwitchOff_mB9E04E1842B8293F8B25956D0AF14F8B8B5F5D94_inline(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0042;
}
}
{
bool L_1 = ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B(__this, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0042;
}
}
{
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_2 = __this->get_m_Toggles_5();
NullCheck(L_2);
int32_t L_3 = List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_inline(L_2, /*hidden argument*/List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_RuntimeMethod_var);
if (!L_3)
{
goto IL_0042;
}
}
{
// m_Toggles[0].isOn = true;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_4 = __this->get_m_Toggles_5();
NullCheck(L_4);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_5 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_4, 0, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
NullCheck(L_5);
Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8(L_5, (bool)1, /*hidden argument*/NULL);
// NotifyToggleOn(m_Toggles[0]);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_6 = __this->get_m_Toggles_5();
NullCheck(L_6);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_7 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_6, 0, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
ToggleGroup_NotifyToggleOn_m16EABEAEDA4F5BDAEEEFBECF7E802CA7151A82E3(__this, L_7, (bool)1, /*hidden argument*/NULL);
}
IL_0042:
{
// }
return;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup::AnyTogglesOn()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_AnyTogglesOn_m4EDBE46AC4C4458B91462F963FA34B9AD8DA4F4B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * G_B2_0 = NULL;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * G_B2_1 = NULL;
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * G_B1_0 = NULL;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * G_B1_1 = NULL;
{
// return m_Toggles.Find(x => x.isOn) != null;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_0 = __this->get_m_Toggles_5();
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var);
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * L_1 = ((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->get_U3CU3E9__12_0_1();
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = L_0;
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var);
U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * L_3 = ((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * L_4 = (Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 *)il2cpp_codegen_object_new(Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941_il2cpp_TypeInfo_var);
Predicate_1__ctor_m06889230E324D2CA47EAE72BF8A22C6DCBBE0DC3(L_4, L_3, (intptr_t)((intptr_t)U3CU3Ec_U3CAnyTogglesOnU3Eb__12_0_m6759194C9A27BC7726498AEA91636DE01DB5946C_RuntimeMethod_var), /*hidden argument*/Predicate_1__ctor_m06889230E324D2CA47EAE72BF8A22C6DCBBE0DC3_RuntimeMethod_var);
Predicate_1_tE56FA3D824428369D16F4315471FA8CF76553941 * L_5 = L_4;
((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->set_U3CU3E9__12_0_1(L_5);
G_B2_0 = L_5;
G_B2_1 = G_B1_1;
}
IL_0025:
{
NullCheck(G_B2_1);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_6 = List_1_Find_m98A909AFA27E21691679D3CB46DA07082DBF2082(G_B2_1, G_B2_0, /*hidden argument*/List_1_Find_m98A909AFA27E21691679D3CB46DA07082DBF2082_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_6, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
return L_7;
}
}
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::ActiveToggles()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ToggleGroup_ActiveToggles_mDBD4CB3FCEEB4F5C7ECB5E6D0F7EA17FDDF54300 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_ActiveToggles_mDBD4CB3FCEEB4F5C7ECB5E6D0F7EA17FDDF54300_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * G_B2_0 = NULL;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * G_B2_1 = NULL;
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * G_B1_0 = NULL;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * G_B1_1 = NULL;
{
// return m_Toggles.Where(x => x.isOn);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_0 = __this->get_m_Toggles_5();
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var);
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * L_1 = ((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->get_U3CU3E9__13_0_2();
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * L_2 = L_1;
G_B1_0 = L_2;
G_B1_1 = L_0;
if (L_2)
{
G_B2_0 = L_2;
G_B2_1 = L_0;
goto IL_0025;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var);
U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * L_3 = ((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->get_U3CU3E9_0();
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * L_4 = (Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 *)il2cpp_codegen_object_new(Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8_il2cpp_TypeInfo_var);
Func_2__ctor_mB7124BCAE1D74F65A0916AE99852CA616D635BDA(L_4, L_3, (intptr_t)((intptr_t)U3CU3Ec_U3CActiveTogglesU3Eb__13_0_m0FFD86D1B257988730B5BD85D42BD9E892FF37E5_RuntimeMethod_var), /*hidden argument*/Func_2__ctor_mB7124BCAE1D74F65A0916AE99852CA616D635BDA_RuntimeMethod_var);
Func_2_t4632D9FB0A696C184FCADAE4820EEF1BD4A57AD8 * L_5 = L_4;
((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->set_U3CU3E9__13_0_2(L_5);
G_B2_0 = L_5;
G_B2_1 = G_B1_1;
}
IL_0025:
{
RuntimeObject* L_6 = Enumerable_Where_TisToggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106_mCE7B203C90FB5D4486C251FDBFA701AA933B108B(G_B2_1, G_B2_0, /*hidden argument*/Enumerable_Where_TisToggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106_mCE7B203C90FB5D4486C251FDBFA701AA933B108B_RuntimeMethod_var);
return L_6;
}
}
// System.Void UnityEngine.UI.ToggleGroup::SetAllTogglesOff(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ToggleGroup_SetAllTogglesOff_m5DB321BD06A6B66ADA0B0022766A561BD0AE7BC6 (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, bool ___sendCallback0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_SetAllTogglesOff_m5DB321BD06A6B66ADA0B0022766A561BD0AE7BC6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
// bool oldAllowSwitchOff = m_AllowSwitchOff;
bool L_0 = __this->get_m_AllowSwitchOff_4();
V_0 = L_0;
// m_AllowSwitchOff = true;
__this->set_m_AllowSwitchOff_4((bool)1);
// if (sendCallback)
bool L_1 = ___sendCallback0;
if (!L_1)
{
goto IL_003b;
}
}
{
// for (var i = 0; i < m_Toggles.Count; i++)
V_1 = 0;
goto IL_002b;
}
IL_0015:
{
// m_Toggles[i].isOn = false;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_2 = __this->get_m_Toggles_5();
int32_t L_3 = V_1;
NullCheck(L_2);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_4 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_2, L_3, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
NullCheck(L_4);
Toggle_set_isOn_m520D16B143619437D7997316584A029D7C3CABF8(L_4, (bool)0, /*hidden argument*/NULL);
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_5 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_002b:
{
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_6 = V_1;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_7 = __this->get_m_Toggles_5();
NullCheck(L_7);
int32_t L_8 = List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_inline(L_7, /*hidden argument*/List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_RuntimeMethod_var);
if ((((int32_t)L_6) < ((int32_t)L_8)))
{
goto IL_0015;
}
}
{
// }
goto IL_0063;
}
IL_003b:
{
// for (var i = 0; i < m_Toggles.Count; i++)
V_2 = 0;
goto IL_0055;
}
IL_003f:
{
// m_Toggles[i].SetIsOnWithoutNotify(false);
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_9 = __this->get_m_Toggles_5();
int32_t L_10 = V_2;
NullCheck(L_9);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_11 = List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_inline(L_9, L_10, /*hidden argument*/List_1_get_Item_m99F2194A6D06131B041C0D25A9B8BCB078881AF7_RuntimeMethod_var);
NullCheck(L_11);
Toggle_SetIsOnWithoutNotify_mE889EC3B1C7E271C822D07F5F73CB023EDFD87B4(L_11, (bool)0, /*hidden argument*/NULL);
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_12 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
}
IL_0055:
{
// for (var i = 0; i < m_Toggles.Count; i++)
int32_t L_13 = V_2;
List_1_t5603D617415C67B322F898ABF659C3E2C8BD668C * L_14 = __this->get_m_Toggles_5();
NullCheck(L_14);
int32_t L_15 = List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_inline(L_14, /*hidden argument*/List_1_get_Count_m8AFA8976ADF848AD1DE7C69A169EC1C903AFD0B2_RuntimeMethod_var);
if ((((int32_t)L_13) < ((int32_t)L_15)))
{
goto IL_003f;
}
}
IL_0063:
{
// m_AllowSwitchOff = oldAllowSwitchOff;
bool L_16 = V_0;
__this->set_m_AllowSwitchOff_4(L_16);
// }
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 UnityEngine.UI.ToggleGroup_<>c::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__cctor_m89E177F13473C664F86CBB611035208949610E03 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CU3Ec__cctor_m89E177F13473C664F86CBB611035208949610E03_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * L_0 = (U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E *)il2cpp_codegen_object_new(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var);
U3CU3Ec__ctor_m5F8E8E3F5E9EC721D150BB724313F4FD39798537(L_0, /*hidden argument*/NULL);
((U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_StaticFields*)il2cpp_codegen_static_fields_for(U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E_il2cpp_TypeInfo_var))->set_U3CU3E9_0(L_0);
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup_<>c::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__ctor_m5F8E8E3F5E9EC721D150BB724313F4FD39798537 (U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup_<>c::<AnyTogglesOn>b__12_0(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec_U3CAnyTogglesOnU3Eb__12_0_m6759194C9A27BC7726498AEA91636DE01DB5946C (U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___x0, const RuntimeMethod* method)
{
{
// return m_Toggles.Find(x => x.isOn) != null;
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_0 = ___x0;
NullCheck(L_0);
bool L_1 = Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup_<>c::<ActiveToggles>b__13_0(UnityEngine.UI.Toggle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec_U3CActiveTogglesU3Eb__13_0_m0FFD86D1B257988730B5BD85D42BD9E892FF37E5 (U3CU3Ec_t97EB3105DF6005EBB830B751CB253A590768A27E * __this, Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___x0, const RuntimeMethod* method)
{
{
// return m_Toggles.Where(x => x.isOn);
Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * L_0 = ___x0;
NullCheck(L_0);
bool L_1 = Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline(L_0, /*hidden argument*/NULL);
return L_1;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void UnityEngine.UI.VertexHelper::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper__ctor_mF43AA93AF0E1C7EC27B0D6E2207707382A53C115 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
{
// public VertexHelper()
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
// {}
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::.ctor(UnityEngine.Mesh)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper__ctor_m4FF21AED0081C159CB153B73D0DE4D7AFEC2655D (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * ___m0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper__ctor_m4FF21AED0081C159CB153B73D0DE4D7AFEC2655D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// public VertexHelper(Mesh m)
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// m_Positions.AddRange(m.vertices);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_0 = __this->get_m_Positions_0();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_1 = ___m0;
NullCheck(L_1);
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* L_2 = Mesh_get_vertices_m7D07DC0F071C142B87F675B148FC0F7A243238B9(L_1, /*hidden argument*/NULL);
NullCheck(L_0);
List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F(L_0, (RuntimeObject*)(RuntimeObject*)L_2, /*hidden argument*/List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F_RuntimeMethod_var);
// m_Colors.AddRange(m.colors32);
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_3 = __this->get_m_Colors_1();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_4 = ___m0;
NullCheck(L_4);
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_5 = Mesh_get_colors32_m24C6C6BC1A40B7F09FF390F304A96728A4C99246(L_4, /*hidden argument*/NULL);
NullCheck(L_3);
List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8(L_3, (RuntimeObject*)(RuntimeObject*)L_5, /*hidden argument*/List_1_AddRange_m5333B4C07439D187128530EB03601CEC9C17E1D8_RuntimeMethod_var);
// m_Uv0S.AddRange(m.uv);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv0S_2();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_7 = ___m0;
NullCheck(L_7);
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* L_8 = Mesh_get_uv_m0EBA5CA4644C9D5F1B2125AF3FE3873EFC8A4616(L_7, /*hidden argument*/NULL);
NullCheck(L_6);
List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8(L_6, (RuntimeObject*)(RuntimeObject*)L_8, /*hidden argument*/List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_RuntimeMethod_var);
// m_Uv1S.AddRange(m.uv2);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_9 = __this->get_m_Uv1S_3();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_10 = ___m0;
NullCheck(L_10);
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* L_11 = Mesh_get_uv2_m3E70D5DD7A5C6910A074A78296269EBF2CBAE97F(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8(L_9, (RuntimeObject*)(RuntimeObject*)L_11, /*hidden argument*/List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_RuntimeMethod_var);
// m_Uv2S.AddRange(m.uv3);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_12 = __this->get_m_Uv2S_4();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_13 = ___m0;
NullCheck(L_13);
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* L_14 = Mesh_get_uv3_mC56484D8B69A65DA948C7F23B06ED490BCFBE8B0(L_13, /*hidden argument*/NULL);
NullCheck(L_12);
List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8(L_12, (RuntimeObject*)(RuntimeObject*)L_14, /*hidden argument*/List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_RuntimeMethod_var);
// m_Uv3S.AddRange(m.uv4);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_15 = __this->get_m_Uv3S_5();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_16 = ___m0;
NullCheck(L_16);
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* L_17 = Mesh_get_uv4_m1C5734938A443D8004339E8D8DDDC33B3E0935F6(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8(L_15, (RuntimeObject*)(RuntimeObject*)L_17, /*hidden argument*/List_1_AddRange_m6B0A75687700C693529877B8458D50365BD10BA8_RuntimeMethod_var);
// m_Normals.AddRange(m.normals);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_18 = __this->get_m_Normals_6();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_19 = ___m0;
NullCheck(L_19);
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* L_20 = Mesh_get_normals_m3CE4668899836CBD17C3F85EB24261CBCEB3EABB(L_19, /*hidden argument*/NULL);
NullCheck(L_18);
List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F(L_18, (RuntimeObject*)(RuntimeObject*)L_20, /*hidden argument*/List_1_AddRange_m8335F712C7C1832E2EA4CD22C2326D16C4827F1F_RuntimeMethod_var);
// m_Tangents.AddRange(m.tangents);
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_21 = __this->get_m_Tangents_7();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_22 = ___m0;
NullCheck(L_22);
Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* L_23 = Mesh_get_tangents_mFF92BD7D6EBA8C7EB8340E1529B1CB98006F44DD(L_22, /*hidden argument*/NULL);
NullCheck(L_21);
List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857(L_21, (RuntimeObject*)(RuntimeObject*)L_23, /*hidden argument*/List_1_AddRange_m04FA3A257AD0C73B121CA0A1D4BF50BDF03A8857_RuntimeMethod_var);
// m_Indices.AddRange(m.GetIndices(0));
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_24 = __this->get_m_Indices_8();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_25 = ___m0;
NullCheck(L_25);
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_26 = Mesh_GetIndices_m2FD8417547E7595F590CE55D381E0D13A8D72AA5(L_25, 0, /*hidden argument*/NULL);
NullCheck(L_24);
List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7(L_24, (RuntimeObject*)(RuntimeObject*)L_26, /*hidden argument*/List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7_RuntimeMethod_var);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::InitializeListIfRequired()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (!m_ListsInitalized)
bool L_0 = __this->get_m_ListsInitalized_11();
if (L_0)
{
goto IL_0072;
}
}
{
// m_Positions = ListPool<Vector3>.Get();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t5E8D36B177BEE61E319DF7927E463DFBAC58E09D_il2cpp_TypeInfo_var);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A(/*hidden argument*/ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A_RuntimeMethod_var);
__this->set_m_Positions_0(L_1);
// m_Colors = ListPool<Color32>.Get();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tFB4F0894A1EF21042E633BD1514A9258601CB1F1_il2cpp_TypeInfo_var);
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_2 = ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED(/*hidden argument*/ListPool_1_Get_mC0EBE105137C878FC9B9EF547C6A49850D26FAED_RuntimeMethod_var);
__this->set_m_Colors_1(L_2);
// m_Uv0S = ListPool<Vector2>.Get();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tEC2CD2FE52DC3A8B1F3E2BF498E60420B6ABDDF8_il2cpp_TypeInfo_var);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_3 = ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7(/*hidden argument*/ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_RuntimeMethod_var);
__this->set_m_Uv0S_2(L_3);
// m_Uv1S = ListPool<Vector2>.Get();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7(/*hidden argument*/ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_RuntimeMethod_var);
__this->set_m_Uv1S_3(L_4);
// m_Uv2S = ListPool<Vector2>.Get();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7(/*hidden argument*/ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_RuntimeMethod_var);
__this->set_m_Uv2S_4(L_5);
// m_Uv3S = ListPool<Vector2>.Get();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7(/*hidden argument*/ListPool_1_Get_m4095D588F45966ACF43C1C5D1390D7E3F6E388C7_RuntimeMethod_var);
__this->set_m_Uv3S_5(L_6);
// m_Normals = ListPool<Vector3>.Get();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_7 = ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A(/*hidden argument*/ListPool_1_Get_m8A0AAD805F41A1FD12A20327638FB81947677A4A_RuntimeMethod_var);
__this->set_m_Normals_6(L_7);
// m_Tangents = ListPool<Vector4>.Get();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tD46C00F7C693AF94203B6B004906149A661AA540_il2cpp_TypeInfo_var);
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_8 = ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281(/*hidden argument*/ListPool_1_Get_mF32AE75B27464EE9535E8C1AE7D14B948B2A7281_RuntimeMethod_var);
__this->set_m_Tangents_7(L_8);
// m_Indices = ListPool<int>.Get();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tCDBE9EE6C0FC882FB66BA0B6D36CA8E17652B15A_il2cpp_TypeInfo_var);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_9 = ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542(/*hidden argument*/ListPool_1_Get_mE7663F36254E817D56A40A8CDE5BF801AAF92542_RuntimeMethod_var);
__this->set_m_Indices_8(L_9);
// m_ListsInitalized = true;
__this->set_m_ListsInitalized_11((bool)1);
}
IL_0072:
{
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_Dispose_m03C8CF87F673E27160B27FC2AC64DECD2B7F0749 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_Dispose_m03C8CF87F673E27160B27FC2AC64DECD2B7F0749_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_ListsInitalized)
bool L_0 = __this->get_m_ListsInitalized_11();
if (!L_0)
{
goto IL_00b4;
}
}
{
// ListPool<Vector3>.Release(m_Positions);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = __this->get_m_Positions_0();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t5E8D36B177BEE61E319DF7927E463DFBAC58E09D_il2cpp_TypeInfo_var);
ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544(L_1, /*hidden argument*/ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544_RuntimeMethod_var);
// ListPool<Color32>.Release(m_Colors);
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_2 = __this->get_m_Colors_1();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tFB4F0894A1EF21042E633BD1514A9258601CB1F1_il2cpp_TypeInfo_var);
ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2(L_2, /*hidden argument*/ListPool_1_Release_m53CA5C7991B0F21FE9ADE77FF03A67882C7400E2_RuntimeMethod_var);
// ListPool<Vector2>.Release(m_Uv0S);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_3 = __this->get_m_Uv0S_2();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tEC2CD2FE52DC3A8B1F3E2BF498E60420B6ABDDF8_il2cpp_TypeInfo_var);
ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0(L_3, /*hidden argument*/ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_RuntimeMethod_var);
// ListPool<Vector2>.Release(m_Uv1S);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv1S_3();
ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0(L_4, /*hidden argument*/ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_RuntimeMethod_var);
// ListPool<Vector2>.Release(m_Uv2S);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = __this->get_m_Uv2S_4();
ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0(L_5, /*hidden argument*/ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_RuntimeMethod_var);
// ListPool<Vector2>.Release(m_Uv3S);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv3S_5();
ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0(L_6, /*hidden argument*/ListPool_1_Release_m696D12DB4E7D73886B746B87B7491B200ED0F8F0_RuntimeMethod_var);
// ListPool<Vector3>.Release(m_Normals);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_7 = __this->get_m_Normals_6();
ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544(L_7, /*hidden argument*/ListPool_1_Release_mE909A7A9F124C64BF0014554CF1679F93F7F9544_RuntimeMethod_var);
// ListPool<Vector4>.Release(m_Tangents);
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_8 = __this->get_m_Tangents_7();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tD46C00F7C693AF94203B6B004906149A661AA540_il2cpp_TypeInfo_var);
ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E(L_8, /*hidden argument*/ListPool_1_Release_mF52D201E89E59068809EE4F76B2B69086F6EBC6E_RuntimeMethod_var);
// ListPool<int>.Release(m_Indices);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_9 = __this->get_m_Indices_8();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_tCDBE9EE6C0FC882FB66BA0B6D36CA8E17652B15A_il2cpp_TypeInfo_var);
ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F(L_9, /*hidden argument*/ListPool_1_Release_m11EA81E78327EFE2672086B352A5A68F653ADD1F_RuntimeMethod_var);
// m_Positions = null;
__this->set_m_Positions_0((List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *)NULL);
// m_Colors = null;
__this->set_m_Colors_1((List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 *)NULL);
// m_Uv0S = null;
__this->set_m_Uv0S_2((List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *)NULL);
// m_Uv1S = null;
__this->set_m_Uv1S_3((List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *)NULL);
// m_Uv2S = null;
__this->set_m_Uv2S_4((List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *)NULL);
// m_Uv3S = null;
__this->set_m_Uv3S_5((List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB *)NULL);
// m_Normals = null;
__this->set_m_Normals_6((List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 *)NULL);
// m_Tangents = null;
__this->set_m_Tangents_7((List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 *)NULL);
// m_Indices = null;
__this->set_m_Indices_8((List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 *)NULL);
// m_ListsInitalized = false;
__this->set_m_ListsInitalized_11((bool)0);
}
IL_00b4:
{
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_Clear_mDEF52B52B9F138C32027CAA42A0C9302FC899455_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// if (m_ListsInitalized)
bool L_0 = __this->get_m_ListsInitalized_11();
if (!L_0)
{
goto IL_006b;
}
}
{
// m_Positions.Clear();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = __this->get_m_Positions_0();
NullCheck(L_1);
List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8(L_1, /*hidden argument*/List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8_RuntimeMethod_var);
// m_Colors.Clear();
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_2 = __this->get_m_Colors_1();
NullCheck(L_2);
List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E(L_2, /*hidden argument*/List_1_Clear_mC32B60C91F8D0BCA37EA5EFEEDEB971D90CE201E_RuntimeMethod_var);
// m_Uv0S.Clear();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_3 = __this->get_m_Uv0S_2();
NullCheck(L_3);
List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE(L_3, /*hidden argument*/List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_RuntimeMethod_var);
// m_Uv1S.Clear();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv1S_3();
NullCheck(L_4);
List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE(L_4, /*hidden argument*/List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_RuntimeMethod_var);
// m_Uv2S.Clear();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = __this->get_m_Uv2S_4();
NullCheck(L_5);
List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE(L_5, /*hidden argument*/List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_RuntimeMethod_var);
// m_Uv3S.Clear();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv3S_5();
NullCheck(L_6);
List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE(L_6, /*hidden argument*/List_1_Clear_m471E9C96E037C142725FB47332197B948E5D38AE_RuntimeMethod_var);
// m_Normals.Clear();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_7 = __this->get_m_Normals_6();
NullCheck(L_7);
List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8(L_7, /*hidden argument*/List_1_Clear_m8E7A9E8CF891528845C4B071CB8166DDB1A384B8_RuntimeMethod_var);
// m_Tangents.Clear();
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_8 = __this->get_m_Tangents_7();
NullCheck(L_8);
List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8(L_8, /*hidden argument*/List_1_Clear_m24B637CCA9ECC4B3C1E1ED5F43E297D300D8D3E8_RuntimeMethod_var);
// m_Indices.Clear();
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_9 = __this->get_m_Indices_8();
NullCheck(L_9);
List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477(L_9, /*hidden argument*/List_1_Clear_m06BA343FB4E149EB045D8D2603E1AD239E1E4477_RuntimeMethod_var);
}
IL_006b:
{
// }
return;
}
}
// System.Int32 UnityEngine.UI.VertexHelper::get_currentVertCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VertexHelper_get_currentVertCount_m99ACD97A171FCB5046C7608CAD7399A8E0A6FD3F (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_get_currentVertCount_m99ACD97A171FCB5046C7608CAD7399A8E0A6FD3F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// get { return m_Positions != null ? m_Positions.Count : 0; }
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_0 = __this->get_m_Positions_0();
if (L_0)
{
goto IL_000a;
}
}
{
return 0;
}
IL_000a:
{
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = __this->get_m_Positions_0();
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_inline(L_1, /*hidden argument*/List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_RuntimeMethod_var);
return L_2;
}
}
// System.Int32 UnityEngine.UI.VertexHelper::get_currentIndexCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VertexHelper_get_currentIndexCount_m071AFF6C0DB763292367B1C2926B41996EF164C9 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_get_currentIndexCount_m071AFF6C0DB763292367B1C2926B41996EF164C9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// get { return m_Indices != null ? m_Indices.Count : 0; }
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_0 = __this->get_m_Indices_8();
if (L_0)
{
goto IL_000a;
}
}
{
return 0;
}
IL_000a:
{
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_1 = __this->get_m_Indices_8();
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_inline(L_1, /*hidden argument*/List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_RuntimeMethod_var);
return L_2;
}
}
// System.Void UnityEngine.UI.VertexHelper::PopulateUIVertex(UnityEngine.UIVertex&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_PopulateUIVertex_m75E49AE0377BABEE2C3D1CCA1624DE5668B5C42C (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * ___vertex0, int32_t ___i1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_PopulateUIVertex_m75E49AE0377BABEE2C3D1CCA1624DE5668B5C42C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// vertex.position = m_Positions[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_0 = ___vertex0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = __this->get_m_Positions_0();
int32_t L_2 = ___i1;
NullCheck(L_1);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_3 = List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_inline(L_1, L_2, /*hidden argument*/List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_RuntimeMethod_var);
L_0->set_position_0(L_3);
// vertex.color = m_Colors[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_4 = ___vertex0;
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_5 = __this->get_m_Colors_1();
int32_t L_6 = ___i1;
NullCheck(L_5);
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_7 = List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_inline(L_5, L_6, /*hidden argument*/List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_RuntimeMethod_var);
L_4->set_color_3(L_7);
// vertex.uv0 = m_Uv0S[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_8 = ___vertex0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_9 = __this->get_m_Uv0S_2();
int32_t L_10 = ___i1;
NullCheck(L_9);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_11 = List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_inline(L_9, L_10, /*hidden argument*/List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_RuntimeMethod_var);
L_8->set_uv0_4(L_11);
// vertex.uv1 = m_Uv1S[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_12 = ___vertex0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_13 = __this->get_m_Uv1S_3();
int32_t L_14 = ___i1;
NullCheck(L_13);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_15 = List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_inline(L_13, L_14, /*hidden argument*/List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_RuntimeMethod_var);
L_12->set_uv1_5(L_15);
// vertex.uv2 = m_Uv2S[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_16 = ___vertex0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_17 = __this->get_m_Uv2S_4();
int32_t L_18 = ___i1;
NullCheck(L_17);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_19 = List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_inline(L_17, L_18, /*hidden argument*/List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_RuntimeMethod_var);
L_16->set_uv2_6(L_19);
// vertex.uv3 = m_Uv3S[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_20 = ___vertex0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_21 = __this->get_m_Uv3S_5();
int32_t L_22 = ___i1;
NullCheck(L_21);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_23 = List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_inline(L_21, L_22, /*hidden argument*/List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_RuntimeMethod_var);
L_20->set_uv3_7(L_23);
// vertex.normal = m_Normals[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_24 = ___vertex0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_25 = __this->get_m_Normals_6();
int32_t L_26 = ___i1;
NullCheck(L_25);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_27 = List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_inline(L_25, L_26, /*hidden argument*/List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_RuntimeMethod_var);
L_24->set_normal_1(L_27);
// vertex.tangent = m_Tangents[i];
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 * L_28 = ___vertex0;
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_29 = __this->get_m_Tangents_7();
int32_t L_30 = ___i1;
NullCheck(L_29);
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_31 = List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_inline(L_29, L_30, /*hidden argument*/List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_RuntimeMethod_var);
L_28->set_tangent_2(L_31);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::SetUIVertex(UnityEngine.UIVertex,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_SetUIVertex_m71EA6FEB875252F25180FA7F3849A962C6231976 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 ___vertex0, int32_t ___i1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_SetUIVertex_m71EA6FEB875252F25180FA7F3849A962C6231976_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// m_Positions[i] = vertex.position;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_0 = __this->get_m_Positions_0();
int32_t L_1 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_2 = ___vertex0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_3 = L_2.get_position_0();
NullCheck(L_0);
List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7(L_0, L_1, L_3, /*hidden argument*/List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7_RuntimeMethod_var);
// m_Colors[i] = vertex.color;
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_4 = __this->get_m_Colors_1();
int32_t L_5 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_6 = ___vertex0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_7 = L_6.get_color_3();
NullCheck(L_4);
List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C(L_4, L_5, L_7, /*hidden argument*/List_1_set_Item_m1536B8309A831905B16D3B0F364139FBD811167C_RuntimeMethod_var);
// m_Uv0S[i] = vertex.uv0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_8 = __this->get_m_Uv0S_2();
int32_t L_9 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_10 = ___vertex0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_11 = L_10.get_uv0_4();
NullCheck(L_8);
List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4(L_8, L_9, L_11, /*hidden argument*/List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_RuntimeMethod_var);
// m_Uv1S[i] = vertex.uv1;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_12 = __this->get_m_Uv1S_3();
int32_t L_13 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_14 = ___vertex0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_15 = L_14.get_uv1_5();
NullCheck(L_12);
List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4(L_12, L_13, L_15, /*hidden argument*/List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_RuntimeMethod_var);
// m_Uv2S[i] = vertex.uv2;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_16 = __this->get_m_Uv2S_4();
int32_t L_17 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_18 = ___vertex0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_19 = L_18.get_uv2_6();
NullCheck(L_16);
List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4(L_16, L_17, L_19, /*hidden argument*/List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_RuntimeMethod_var);
// m_Uv3S[i] = vertex.uv3;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_20 = __this->get_m_Uv3S_5();
int32_t L_21 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_22 = ___vertex0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_23 = L_22.get_uv3_7();
NullCheck(L_20);
List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4(L_20, L_21, L_23, /*hidden argument*/List_1_set_Item_m5DD1FBE6E7962BDD391330F87648C7DA14E413C4_RuntimeMethod_var);
// m_Normals[i] = vertex.normal;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_24 = __this->get_m_Normals_6();
int32_t L_25 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_26 = ___vertex0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_27 = L_26.get_normal_1();
NullCheck(L_24);
List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7(L_24, L_25, L_27, /*hidden argument*/List_1_set_Item_m382AE9892EF39343FAEF436BA9801BDE7AFE23D7_RuntimeMethod_var);
// m_Tangents[i] = vertex.tangent;
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_28 = __this->get_m_Tangents_7();
int32_t L_29 = ___i1;
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_30 = ___vertex0;
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_31 = L_30.get_tangent_2();
NullCheck(L_28);
List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6(L_28, L_29, L_31, /*hidden argument*/List_1_set_Item_m3EC74EBC18948040AA121C5646BFE89CC42BB4E6_RuntimeMethod_var);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::FillMesh(UnityEngine.Mesh)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_FillMesh_mBA946D1CEDC24DCCD8A593CF77D0B54D14FDB74B (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * ___mesh0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_FillMesh_mBA946D1CEDC24DCCD8A593CF77D0B54D14FDB74B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// mesh.Clear();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_0 = ___mesh0;
NullCheck(L_0);
Mesh_Clear_mB750E1DCAB658124AAD81A02B93DED7601047B60(L_0, /*hidden argument*/NULL);
// if (m_Positions.Count >= 65000)
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_1 = __this->get_m_Positions_0();
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_inline(L_1, /*hidden argument*/List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_RuntimeMethod_var);
if ((((int32_t)L_2) < ((int32_t)((int32_t)65000))))
{
goto IL_0029;
}
}
{
// throw new ArgumentException("Mesh can not have more than 65000 vertices");
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_3, _stringLiteralBA924CDC9BA7B4F84450C640981ED4435F52D66F, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, VertexHelper_FillMesh_mBA946D1CEDC24DCCD8A593CF77D0B54D14FDB74B_RuntimeMethod_var);
}
IL_0029:
{
// mesh.SetVertices(m_Positions);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_4 = ___mesh0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_5 = __this->get_m_Positions_0();
NullCheck(L_4);
Mesh_SetVertices_m5F487FC255C9CAF4005B75CFE67A88C8C0E7BB06(L_4, L_5, /*hidden argument*/NULL);
// mesh.SetColors(m_Colors);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_6 = ___mesh0;
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_7 = __this->get_m_Colors_1();
NullCheck(L_6);
Mesh_SetColors_m237E41213E82D4BB882ED96FD81A17D9366590CF(L_6, L_7, /*hidden argument*/NULL);
// mesh.SetUVs(0, m_Uv0S);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_8 = ___mesh0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_9 = __this->get_m_Uv0S_2();
NullCheck(L_8);
Mesh_SetUVs_m0210150B0387289B823488D421BDF9CBF9769116(L_8, 0, L_9, /*hidden argument*/NULL);
// mesh.SetUVs(1, m_Uv1S);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_10 = ___mesh0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_11 = __this->get_m_Uv1S_3();
NullCheck(L_10);
Mesh_SetUVs_m0210150B0387289B823488D421BDF9CBF9769116(L_10, 1, L_11, /*hidden argument*/NULL);
// mesh.SetUVs(2, m_Uv2S);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_12 = ___mesh0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_13 = __this->get_m_Uv2S_4();
NullCheck(L_12);
Mesh_SetUVs_m0210150B0387289B823488D421BDF9CBF9769116(L_12, 2, L_13, /*hidden argument*/NULL);
// mesh.SetUVs(3, m_Uv3S);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_14 = ___mesh0;
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_15 = __this->get_m_Uv3S_5();
NullCheck(L_14);
Mesh_SetUVs_m0210150B0387289B823488D421BDF9CBF9769116(L_14, 3, L_15, /*hidden argument*/NULL);
// mesh.SetNormals(m_Normals);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_16 = ___mesh0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_17 = __this->get_m_Normals_6();
NullCheck(L_16);
Mesh_SetNormals_m76D71A949B9288FA8ED17DDADC530365307B9797(L_16, L_17, /*hidden argument*/NULL);
// mesh.SetTangents(m_Tangents);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_18 = ___mesh0;
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_19 = __this->get_m_Tangents_7();
NullCheck(L_18);
Mesh_SetTangents_m6EEAB861C9286B1DA4935B87A883045ADD3955E5(L_18, L_19, /*hidden argument*/NULL);
// mesh.SetTriangles(m_Indices, 0);
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_20 = ___mesh0;
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_21 = __this->get_m_Indices_8();
NullCheck(L_20);
Mesh_SetTriangles_m6A43D705DE751C622CCF88EC31C4EF1B53578BE5(L_20, L_21, 0, /*hidden argument*/NULL);
// mesh.RecalculateBounds();
Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * L_22 = ___mesh0;
NullCheck(L_22);
Mesh_RecalculateBounds_m1BF701FE2CEA4E8E1183FF878B812808ED1EBA49(L_22, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv02, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv13, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv24, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv35, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal6, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent7, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// m_Positions.Add(position);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_0 = __this->get_m_Positions_0();
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_1 = ___position0;
NullCheck(L_0);
List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002(L_0, L_1, /*hidden argument*/List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002_RuntimeMethod_var);
// m_Colors.Add(color);
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_2 = __this->get_m_Colors_1();
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_3 = ___color1;
NullCheck(L_2);
List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621(L_2, L_3, /*hidden argument*/List_1_Add_mD418AFD4790D100E6F082C32A9D5146F7B382621_RuntimeMethod_var);
// m_Uv0S.Add(uv0);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv0S_2();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = ___uv02;
NullCheck(L_4);
List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69(L_4, L_5, /*hidden argument*/List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_RuntimeMethod_var);
// m_Uv1S.Add(uv1);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv1S_3();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_7 = ___uv13;
NullCheck(L_6);
List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69(L_6, L_7, /*hidden argument*/List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_RuntimeMethod_var);
// m_Uv2S.Add(uv2);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_8 = __this->get_m_Uv2S_4();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_9 = ___uv24;
NullCheck(L_8);
List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69(L_8, L_9, /*hidden argument*/List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_RuntimeMethod_var);
// m_Uv3S.Add(uv3);
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_10 = __this->get_m_Uv3S_5();
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_11 = ___uv35;
NullCheck(L_10);
List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69(L_10, L_11, /*hidden argument*/List_1_Add_m4B09565ECF12DBEF82EC294814FEFD39E7AD6E69_RuntimeMethod_var);
// m_Normals.Add(normal);
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_12 = __this->get_m_Normals_6();
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_13 = ___normal6;
NullCheck(L_12);
List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002(L_12, L_13, /*hidden argument*/List_1_Add_mD9F028AEE5C43737BEB50A8DAA8CA939CE314002_RuntimeMethod_var);
// m_Tangents.Add(tangent);
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_14 = __this->get_m_Tangents_7();
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_15 = ___tangent7;
NullCheck(L_14);
List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342(L_14, L_15, /*hidden argument*/List_1_Add_m9190AF3E8352B39435FF21E32C03B0C886C0C342_RuntimeMethod_var);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv02, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv13, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___normal4, Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E ___tangent5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddVert(position, color, uv0, uv1, Vector2.zero, Vector2.zero, normal, tangent);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_0 = ___position0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_1 = ___color1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = ___uv02;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3 = ___uv13;
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_4 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_6 = ___normal4;
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_7 = ___tangent5;
VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733(__this, L_0, L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_m8133C9A62368C1FA8DD53EB3A42A612AF694E8A6 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___position0, Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ___color1, Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___uv02, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddVert_m8133C9A62368C1FA8DD53EB3A42A612AF694E8A6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// AddVert(position, color, uv0, Vector2.zero, s_DefaultNormal, s_DefaultTangent);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_0 = ___position0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_1 = ___color1;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_2 = ___uv02;
IL2CPP_RUNTIME_CLASS_INIT(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D_il2cpp_TypeInfo_var);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_3 = Vector2_get_zero_mFE0C3213BB698130D6C5247AB4B887A59074D0A8(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_4 = ((VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields*)il2cpp_codegen_static_fields_for(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var))->get_s_DefaultNormal_10();
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_5 = ((VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields*)il2cpp_codegen_static_fields_for(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var))->get_s_DefaultTangent_9();
VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C(__this, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.UIVertex)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddVert_m7FB2655449034894FE6FFAD2E1F4A678DB8C4FB3 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 ___v0, const RuntimeMethod* method)
{
{
// AddVert(v.position, v.color, v.uv0, v.uv1, v.uv2, v.uv3, v.normal, v.tangent);
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_0 = ___v0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_1 = L_0.get_position_0();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_2 = ___v0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_3 = L_2.get_color_3();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_4 = ___v0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_5 = L_4.get_uv0_4();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_6 = ___v0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_7 = L_6.get_uv1_5();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_8 = ___v0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_9 = L_8.get_uv2_6();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_10 = ___v0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_11 = L_10.get_uv3_7();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_12 = ___v0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_13 = L_12.get_normal_1();
UIVertex_t0583C35B730B218B542E80203F5F4BC6F1E9E577 L_14 = ___v0;
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_15 = L_14.get_tangent_2();
VertexHelper_AddVert_m9CC5667FED5B7550564C37BBB61E2D9B558C7733(__this, L_1, L_3, L_5, L_7, L_9, L_11, L_13, L_15, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddTriangle(System.Int32,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, int32_t ___idx00, int32_t ___idx11, int32_t ___idx22, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// m_Indices.Add(idx0);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_0 = __this->get_m_Indices_8();
int32_t L_1 = ___idx00;
NullCheck(L_0);
List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771(L_0, L_1, /*hidden argument*/List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_RuntimeMethod_var);
// m_Indices.Add(idx1);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_2 = __this->get_m_Indices_8();
int32_t L_3 = ___idx11;
NullCheck(L_2);
List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771(L_2, L_3, /*hidden argument*/List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_RuntimeMethod_var);
// m_Indices.Add(idx2);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_4 = __this->get_m_Indices_8();
int32_t L_5 = ___idx22;
NullCheck(L_4);
List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771(L_4, L_5, /*hidden argument*/List_1_Add_m50C0D1F69B2EF31137658E2F052EBBAC7BF82771_RuntimeMethod_var);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexQuad(UnityEngine.UIVertex[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddUIVertexQuad_mDECEEA1FE0985C87BBDF905D8F29F9C2434B14E0 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ___verts0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// int startIndex = currentVertCount;
int32_t L_0 = VertexHelper_get_currentVertCount_m99ACD97A171FCB5046C7608CAD7399A8E0A6FD3F(__this, /*hidden argument*/NULL);
V_0 = L_0;
// for (int i = 0; i < 4; i++)
V_1 = 0;
goto IL_005d;
}
IL_000b:
{
// AddVert(verts[i].position, verts[i].color, verts[i].uv0, verts[i].uv1, verts[i].normal, verts[i].tangent);
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_1 = ___verts0;
int32_t L_2 = V_1;
NullCheck(L_1);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->get_position_0();
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_4 = ___verts0;
int32_t L_5 = V_1;
NullCheck(L_4);
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->get_color_3();
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_7 = ___verts0;
int32_t L_8 = V_1;
NullCheck(L_7);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->get_uv0_4();
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_10 = ___verts0;
int32_t L_11 = V_1;
NullCheck(L_10);
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->get_uv1_5();
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_13 = ___verts0;
int32_t L_14 = V_1;
NullCheck(L_13);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->get_normal_1();
UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* L_16 = ___verts0;
int32_t L_17 = V_1;
NullCheck(L_16);
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_18 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->get_tangent_2();
VertexHelper_AddVert_mD0E98F14CE110C3D1D3DB60E9F7B84D7F4F8616C(__this, L_3, L_6, L_9, L_12, L_15, L_18, /*hidden argument*/NULL);
// for (int i = 0; i < 4; i++)
int32_t L_19 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1));
}
IL_005d:
{
// for (int i = 0; i < 4; i++)
int32_t L_20 = V_1;
if ((((int32_t)L_20) < ((int32_t)4)))
{
goto IL_000b;
}
}
{
// AddTriangle(startIndex, startIndex + 1, startIndex + 2);
int32_t L_21 = V_0;
int32_t L_22 = V_0;
int32_t L_23 = V_0;
VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4(__this, L_21, ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1)), ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)2)), /*hidden argument*/NULL);
// AddTriangle(startIndex + 2, startIndex + 3, startIndex);
int32_t L_24 = V_0;
int32_t L_25 = V_0;
int32_t L_26 = V_0;
VertexHelper_AddTriangle_mCC7AD55263B747D7653590BC9220D6369D168AF4(__this, ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)2)), ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)3)), L_26, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<System.Int32>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddUIVertexStream_mAAA730380EE6D6988274BDD8E86FD0B24BD19BCD (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___verts0, List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * ___indices1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddUIVertexStream_mAAA730380EE6D6988274BDD8E86FD0B24BD19BCD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// if (verts != null)
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_0 = ___verts0;
if (!L_0)
{
goto IL_003f;
}
}
{
// CanvasRenderer.AddUIVertexStream(verts, m_Positions, m_Colors, m_Uv0S, m_Uv1S, m_Uv2S, m_Uv3S, m_Normals, m_Tangents);
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_1 = ___verts0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_2 = __this->get_m_Positions_0();
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_3 = __this->get_m_Colors_1();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv0S_2();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = __this->get_m_Uv1S_3();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv2S_4();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_7 = __this->get_m_Uv3S_5();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_8 = __this->get_m_Normals_6();
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_9 = __this->get_m_Tangents_7();
CanvasRenderer_AddUIVertexStream_m58722DF8AED39532C201A0A79A84F10BEC9C7EAB(L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, /*hidden argument*/NULL);
}
IL_003f:
{
// if (indices != null)
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_10 = ___indices1;
if (!L_10)
{
goto IL_004e;
}
}
{
// m_Indices.AddRange(indices);
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_11 = __this->get_m_Indices_8();
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_12 = ___indices1;
NullCheck(L_11);
List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7(L_11, L_12, /*hidden argument*/List_1_AddRange_mB209441CE4EEA4393A49284FFDCADAAE1C621AB7_RuntimeMethod_var);
}
IL_004e:
{
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexTriangleStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_AddUIVertexTriangleStream_m5A9D5AAECF1B6326FCED054EAC66701416641912 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___verts0, const RuntimeMethod* method)
{
{
// if (verts == null)
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_0 = ___verts0;
if (L_0)
{
goto IL_0004;
}
}
{
// return;
return;
}
IL_0004:
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// CanvasRenderer.SplitUIVertexStreams(verts, m_Positions, m_Colors, m_Uv0S, m_Uv1S, m_Uv2S, m_Uv3S, m_Normals, m_Tangents, m_Indices);
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_1 = ___verts0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_2 = __this->get_m_Positions_0();
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_3 = __this->get_m_Colors_1();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv0S_2();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = __this->get_m_Uv1S_3();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv2S_4();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_7 = __this->get_m_Uv3S_5();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_8 = __this->get_m_Normals_6();
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_9 = __this->get_m_Tangents_7();
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_10 = __this->get_m_Indices_8();
CanvasRenderer_SplitUIVertexStreams_m6398634C55BA494F2D2AE13FC3878E698330AB9F(L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::GetUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper_GetUIVertexStream_m88D1624450F08F926008DAF833DBA2A80BC80FF2 (VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * __this, List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * ___stream0, const RuntimeMethod* method)
{
{
// if (stream == null)
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_0 = ___stream0;
if (L_0)
{
goto IL_0004;
}
}
{
// return;
return;
}
IL_0004:
{
// InitializeListIfRequired();
VertexHelper_InitializeListIfRequired_m083C55BC590E01F63EF24171AAFBF57EA8C69AB0(__this, /*hidden argument*/NULL);
// CanvasRenderer.CreateUIVertexStream(stream, m_Positions, m_Colors, m_Uv0S, m_Uv1S, m_Uv2S, m_Uv3S, m_Normals, m_Tangents, m_Indices);
List_1_t4CE16E1B496C9FE941554BB47727DFDD7C3D9554 * L_1 = ___stream0;
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_2 = __this->get_m_Positions_0();
List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * L_3 = __this->get_m_Colors_1();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_4 = __this->get_m_Uv0S_2();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_5 = __this->get_m_Uv1S_3();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_6 = __this->get_m_Uv2S_4();
List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * L_7 = __this->get_m_Uv3S_5();
List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * L_8 = __this->get_m_Normals_6();
List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * L_9 = __this->get_m_Tangents_7();
List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * L_10 = __this->get_m_Indices_8();
CanvasRenderer_CreateUIVertexStream_m1826F08D237884FD9817F2E0251FF0F813A2C1CA(L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexHelper__cctor_mFB392B47FC06B93EE482011E40BE32F0E87CCC17 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper__cctor_mFB392B47FC06B93EE482011E40BE32F0E87CCC17_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// private static readonly Vector4 s_DefaultTangent = new Vector4(1.0f, 0.0f, 0.0f, -1.0f);
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_0;
memset((&L_0), 0, sizeof(L_0));
Vector4__ctor_m545458525879607A5392A10B175D0C19B2BC715D((&L_0), (1.0f), (0.0f), (0.0f), (-1.0f), /*hidden argument*/NULL);
((VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields*)il2cpp_codegen_static_fields_for(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var))->set_s_DefaultTangent_9(L_0);
// private static readonly Vector3 s_DefaultNormal = Vector3.back;
IL2CPP_RUNTIME_CLASS_INIT(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_il2cpp_TypeInfo_var);
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_1 = Vector3_get_back_mE7EF8625637E6F8B9E6B42A6AE140777C51E02F7(/*hidden argument*/NULL);
((VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_StaticFields*)il2cpp_codegen_static_fields_for(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F_il2cpp_TypeInfo_var))->set_s_DefaultNormal_10(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 UnityEngine.UI.VerticalLayoutGroup::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VerticalLayoutGroup__ctor_m0824F6AE284E5B00625E4AB9B9FFBDA6BD065F1F (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 * __this, const RuntimeMethod* method)
{
{
// protected VerticalLayoutGroup()
HorizontalOrVerticalLayoutGroup__ctor_m0898BB696CC353377FBCF175B86681B505130127(__this, /*hidden argument*/NULL);
// {}
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::CalculateLayoutInputHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VerticalLayoutGroup_CalculateLayoutInputHorizontal_mAB31FBDFC9EC9D002B2F887F8E432CA7AAC87FD4 (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 * __this, const RuntimeMethod* method)
{
{
// base.CalculateLayoutInputHorizontal();
LayoutGroup_CalculateLayoutInputHorizontal_m277295CF69DFA23F13B84022E1D2482B16C35B2E(__this, /*hidden argument*/NULL);
// CalcAlongAxis(0, true);
HorizontalOrVerticalLayoutGroup_CalcAlongAxis_mBD2F5E965FB5D3FF14DA66362F3D8D6E7570B4CB(__this, 0, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::CalculateLayoutInputVertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VerticalLayoutGroup_CalculateLayoutInputVertical_m41DABF9935F2DD105C9C94CBD00CF9E2FC65CC90 (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 * __this, const RuntimeMethod* method)
{
{
// CalcAlongAxis(1, true);
HorizontalOrVerticalLayoutGroup_CalcAlongAxis_mBD2F5E965FB5D3FF14DA66362F3D8D6E7570B4CB(__this, 1, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::SetLayoutHorizontal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VerticalLayoutGroup_SetLayoutHorizontal_mA8295CC4191B2E90A95FD75D7C214B1B47AC5820 (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 * __this, const RuntimeMethod* method)
{
{
// SetChildrenAlongAxis(0, true);
HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_mE587F7E541768FF7047F667ED9275DB0ED41AB3B(__this, 0, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::SetLayoutVertical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VerticalLayoutGroup_SetLayoutVertical_m5B333E9565C45AFBF54803A67C031FEDBA8D8D8B (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 * __this, const RuntimeMethod* method)
{
{
// SetChildrenAlongAxis(1, true);
HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_mE587F7E541768FF7047F667ED9275DB0ED41AB3B(__this, 1, (bool)1, /*hidden argument*/NULL);
// }
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_highlightedSprite_mB8CB5AD077F9FDA5A7DA9B0700B70FEB471B15F0_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_HighlightedSprite_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_highlightedSprite_m44A452FACA739422110D9B8C2E51E8874A730B1D_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_HighlightedSprite_0(L_0);
// public Sprite highlightedSprite { get { return m_HighlightedSprite; } set { m_HighlightedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_pressedSprite_m42EB6FFB954E6BDC6384B5DCDD7348DE4F7D44EB_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_PressedSprite_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_pressedSprite_mB3C2505D0D31FBB5549444AF739D887B399535F6_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_PressedSprite_1(L_0);
// public Sprite pressedSprite { get { return m_PressedSprite; } set { m_PressedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_selectedSprite_mC69216B3ABE6539D061E34707C086FA76F28FF5B_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_SelectedSprite_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_selectedSprite_mEA22F605F22D4302EE742C2500B891DC442A0EB5_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_SelectedSprite_2(L_0);
// public Sprite selectedSprite { get { return m_SelectedSprite; } set { m_SelectedSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * SpriteState_get_disabledSprite_m08ED7B54CD394C0CE044519A296600DFF14D0B57_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, const RuntimeMethod* method)
{
{
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = __this->get_m_DisabledSprite_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SpriteState_set_disabledSprite_m4F8989570A957B357527421B89EFF14CA2228E14_inline (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * __this, Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___value0, const RuntimeMethod* method)
{
{
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * L_0 = ___value0;
__this->set_m_DisabledSprite_3(L_0);
// public Sprite disabledSprite { get { return m_DisabledSprite; } set { m_DisabledSprite = value; } }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void Graphic_set_useLegacyMeshGeneration_m1281A98F40D15A81E9F13E761A25971D26E22485_inline (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// protected bool useLegacyMeshGeneration { get; set; }
bool L_0 = ___value0;
__this->set_U3CuseLegacyMeshGenerationU3Ek__BackingField_24(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * Graphic_get_mainTexture_m8ADD95545D4FAB8D218C028196DCB9758C47B3E5_inline (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Graphic_get_mainTexture_m8ADD95545D4FAB8D218C028196DCB9758C47B3E5UnityEngine_UI3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
// return s_WhiteTexture;
IL2CPP_RUNTIME_CLASS_INIT(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_il2cpp_TypeInfo_var);
Texture2D_tBBF96AC337723E2EF156DF17E09D4379FD05DE1C * L_0 = ((Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields*)il2cpp_codegen_static_fields_for(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_il2cpp_TypeInfo_var))->get_s_WhiteTexture_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * FontData_get_font_m63A03245926CD05B461E00C281724370C8B7D0F4_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_Font; }
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = __this->get_m_Font_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_font_mE19CF5265530AC3200BE65E20E8F909210ED71D0_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * ___value0, const RuntimeMethod* method)
{
{
// set { m_Font = value; }
Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26 * L_0 = ___value0;
__this->set_m_Font_0(L_0);
// set { m_Font = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_richText_m42B50EC00F120906CE16259A13C5C37392B7E525_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_RichText; }
bool L_0 = __this->get_m_RichText_8();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_richText_m2A9142EB34518A1516B6DD0A02263B6AA4FAAA8A_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// set { m_RichText = value; }
bool L_0 = ___value0;
__this->set_m_RichText_8(L_0);
// set { m_RichText = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_bestFit_m927FFB8A5BE4376FC966BC16E0431B443F00E691_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_BestFit; }
bool L_0 = __this->get_m_BestFit_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_bestFit_m0426EC53969FF4848061B4C37888D242BAD0E07A_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// set { m_BestFit = value; }
bool L_0 = ___value0;
__this->set_m_BestFit_3(L_0);
// set { m_BestFit = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_minSize_m40C332F61CFB0F164EB84B35A05E2A10B801667B_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_MinSize; }
int32_t L_0 = __this->get_m_MinSize_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_minSize_mF884D9FD3B53247AB2C9EE9EEC15EA2CAEF04787_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_MinSize = value; }
int32_t L_0 = ___value0;
__this->set_m_MinSize_4(L_0);
// set { m_MinSize = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_maxSize_mCFC5C0F12AF21C90D1D854B68A27043724911270_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_MaxSize; }
int32_t L_0 = __this->get_m_MaxSize_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_maxSize_mDD9FCD710B9E033877FC966E70A0DF83D79A334C_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_MaxSize = value; }
int32_t L_0 = ___value0;
__this->set_m_MaxSize_5(L_0);
// set { m_MaxSize = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_alignment_m2492DD0F8619041BD0426388DFFE2DA4634DF095_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_Alignment; }
int32_t L_0 = __this->get_m_Alignment_6();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_alignment_m69E5F6567789E0623536766BADD833481D8D95A5_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_Alignment = value; }
int32_t L_0 = ___value0;
__this->set_m_Alignment_6(L_0);
// set { m_Alignment = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool FontData_get_alignByGeometry_m2283F19F108FF389FC586488AB28FFEC2A5422A7_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_AlignByGeometry; }
bool L_0 = __this->get_m_AlignByGeometry_7();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_alignByGeometry_m4A0066CFEAAE077592A22AAB95584B2ED416E139_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, bool ___value0, const RuntimeMethod* method)
{
{
// set { m_AlignByGeometry = value; }
bool L_0 = ___value0;
__this->set_m_AlignByGeometry_7(L_0);
// set { m_AlignByGeometry = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_fontSize_m4B7B4842DC663B866E006A4DF86EBC1C3BC095AF_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_FontSize; }
int32_t L_0 = __this->get_m_FontSize_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_fontSize_mFAB8C6A7548E75E958984BD5365348A131194B0F_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_FontSize = value; }
int32_t L_0 = ___value0;
__this->set_m_FontSize_1(L_0);
// set { m_FontSize = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_horizontalOverflow_mD9704C9760A72DF3123CD12CF2C801424B43F9B8_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_HorizontalOverflow; }
int32_t L_0 = __this->get_m_HorizontalOverflow_9();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_horizontalOverflow_m36E9099214AECDBA10782F2AD0D53FB0C564A2BF_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_HorizontalOverflow = value; }
int32_t L_0 = ___value0;
__this->set_m_HorizontalOverflow_9(L_0);
// set { m_HorizontalOverflow = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_verticalOverflow_m42B923B1137DAEA0D1846C81B659284A5B93D2F0_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_VerticalOverflow; }
int32_t L_0 = __this->get_m_VerticalOverflow_10();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_verticalOverflow_m0CADC4D430AF3B97EC6AB67E307B33416F73ACA2_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_VerticalOverflow = value; }
int32_t L_0 = ___value0;
__this->set_m_VerticalOverflow_10(L_0);
// set { m_VerticalOverflow = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR float FontData_get_lineSpacing_m7E48A8B51A6E164736303C82428B1E09541BC259_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_LineSpacing; }
float L_0 = __this->get_m_LineSpacing_11();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_lineSpacing_m4E5D389BD1B2AC5EE9819D016D348E9E86354418_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, float ___value0, const RuntimeMethod* method)
{
{
// set { m_LineSpacing = value; }
float L_0 = ___value0;
__this->set_m_LineSpacing_11(L_0);
// set { m_LineSpacing = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t FontData_get_fontStyle_m463803A5ED384064EC9B03549BA921BEAAC8A4A6_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, const RuntimeMethod* method)
{
{
// get { return m_FontStyle; }
int32_t L_0 = __this->get_m_FontStyle_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void FontData_set_fontStyle_m25218403D504C2D0876E5AB25E813EEFAE85F93E_inline (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
// set { m_FontStyle = value; }
int32_t L_0 = ___value0;
__this->set_m_FontStyle_2(L_0);
// set { m_FontStyle = value; }
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool Toggle_get_isOn_mC0C6AA83480A8DEFC7ADB2BC4FE1FCF0D92CA964_inline (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * __this, const RuntimeMethod* method)
{
{
// get { return m_IsOn; }
bool L_0 = __this->get_m_IsOn_24();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool ToggleGroup_get_allowSwitchOff_mB9E04E1842B8293F8B25956D0AF14F8B8B5F5D94_inline (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * __this, const RuntimeMethod* method)
{
{
// public bool allowSwitchOff { get { return m_AllowSwitchOff; } set { m_AllowSwitchOff = value; } }
bool L_0 = __this->get_m_AllowSwitchOff_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PointerEventData_get_button_mC662D5DAC02F0ED6AE9205259116CC91BB92BD3E_inline (PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * __this, const RuntimeMethod* method)
{
{
// public InputButton button { get; set; }
int32_t L_0 = __this->get_U3CbuttonU3Ek__BackingField_22();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * List_1_get_Item_mFDB8AD680C600072736579BBF5F38F7416396588_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __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_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_2 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)__this->get__items_1();
int32_t L_3 = ___index0;
RuntimeObject * L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m507C9149FF7F83AAC72C29091E745D557DA47D22_gshared_inline (List_1_t05CC3C859AB5E6024394EF9A42E3E696628CA02D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m2E29D30C43F78ABB30F6C7881652C11852FD4D6F_gshared_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0AEC7165BCDA1870BB35D5B1BE47F1F0EAE89C76_gshared_inline (List_1_tE1526161A558A17A39A8B69D8EEF3801393B6226 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = (int32_t)__this->get__size_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 List_1_get_Item_mB9D869619B30FC5432E5F514D166A02AE8E8D626_gshared_inline (List_1_tFCCBEDAA56D8F7598520FB136A9F8D713033D6B5 * __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_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* L_2 = (Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28*)__this->get__items_1();
int32_t L_3 = ___index0;
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 List_1_get_Item_mC428DF429BDAA09EE7BE43BCB917E6BFCE6C452A_gshared_inline (List_1_t749ADA5233D9B421293A000DCB83608A24C3D5D5 * __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_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983* L_2 = (Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)__this->get__items_1();
int32_t L_3 = ___index0;
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Color32U5BU5D_tABFBCB467E6D1B791303A0D3A3AA1A482F620983*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector2_tA85D2DD88578276CA8A8796756458277E72D073D List_1_get_Item_m90282413A52948972B366CCE9F61399C5316A473_gshared_inline (List_1_t0737D51EB43DAAA1BDC9C2B83B393A4B9B9BE8EB * __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_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* L_2 = (Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6*)__this->get__items_1();
int32_t L_3 = ___index0;
Vector2_tA85D2DD88578276CA8A8796756458277E72D073D L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6*)L_2, (int32_t)L_3);
return L_4;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E List_1_get_Item_mE07D99253B79FD23D87BC6501BC30423D23EEC8B_gshared_inline (List_1_tFF4005B40E5BA433006DA11C56DB086B1E2FC955 * __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_mBA2AF20A35144E0C43CD721A22EAC9FCA15D6550(/*hidden argument*/NULL);
}
IL_000e:
{
Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66* L_2 = (Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66*)__this->get__items_1();
int32_t L_3 = ___index0;
Vector4_tD148D6428C3F8FF6CD998F82090113C2B490B76E L_4 = IL2CPP_ARRAY_UNSAFE_LOAD((Vector4U5BU5D_t51402C154FFFCF7217A9BEC4B834F0B726C10F66*)L_2, (int32_t)L_3);
return L_4;
}
}
| [
"DabeerM@hotmail.com"
] | DabeerM@hotmail.com |
7ee6b40a93babc69a5ea54f6b47e81c4b0da5fc1 | 13509c1ed7c119fff03fdad088fcc68f69fa26c6 | /c_src/old_files/YUVSample.cpp | 68b4290e01b14362857da7505e1ce34a710a8344 | [] | no_license | sbrady521/teamDCC | 729798b02301957ed5c3d4f044c11a91d17e7f52 | cce30f6c7e95e3aae292fc1216b3b8e9bd189bef | refs/heads/master | 2020-07-03T09:02:56.883367 | 2017-02-22T06:01:22 | 2017-02-22T06:01:22 | 74,184,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,785 | cpp | //
// Created by red on 19-Jan-17.
//
#include <iostream>
#include <vector>
#include <deque>
#include <cmath>
#include <algorithm>
#include <fstream>
#include <opencv2/opencv.hpp>
#include "Sample.h"
#include "YUVSample.h"
#include "Histogram.h"
#include "Polynomial.h"
// constructor for sample
YUVSample::YUVSample() {
}
YUVSample::~YUVSample() {
}
void YUVSample::createHistogram() {
Histogram<float> u_histogram = Histogram<float>(this->u_vals_);
Histogram<float> v_histogram = Histogram<float>(this->v_vals_);
Histogram<float> y_histogram = Histogram<float>(this->y_vals_);
this->u_histogram_ = u_histogram;
this->v_histogram_ = v_histogram;
this->y_histogram_ = y_histogram;
}
void YUVSample::showUVals() {
for (std::deque<float>::iterator it = this->u_vals_.begin();
it != this->u_vals_.end(); it++) {
std::cout << *it << ' ';
}
std::cout << std::endl;
}
void YUVSample::showUHistogram() {
std::cout << "Showing U Histogram" << std::endl;
this->u_histogram_.showHistogram();
}
void YUVSample::showVHistogram() {
std::cout << "Showing V Histogram" << std::endl;
this->v_histogram_.showHistogram();
}
void YUVSample::sampleImage(const std::string &path) {
// Load image using OpenCV
cv::Mat img = cv::imread(path, cv::IMREAD_COLOR);
if (!img.data) {
std::cerr << "Exception at classifyImage for file,'" << path << "'" << std::endl;
throw no_img_data("No Image Data...");
}
// Get im dimensions
int n_rows = img.rows;
int n_cols = img.cols;
cv::cvtColor(img, img, cv::COLOR_BGR2YUV);
// Loop through each pixel and calculate hue value
double ySum = 0;
int pixCounter = 0;
for (int y_val = n_rows*0.65; y_val < n_rows; y_val++) {
for (int x_val = 0; x_val < n_cols; x_val++) {
int u_val = img.at<cv::Vec3b>(y_val, x_val)[1];
int v_val = img.at<cv::Vec3b>(y_val, x_val)[2];
int y_val_col = img.at<cv::Vec3b>(y_val, x_val)[0];
ySum += y_val_col;
pixCounter++;
// If the sample vector has exceeded its max size remove the oldest datapoint
if (u_vals_.size() > MAX_SAMPLE_SIZE) {
this->u_vals_.pop_front();
this->v_vals_.pop_front();
this->y_vals_.pop_front();
}
// append g_chroma value to vector for future analysis
this->u_vals_.push_back(u_val);
this->v_vals_.push_back(v_val);
this->y_vals_.push_back(y_val_col);
}
}
std::cout << "Sample avg y: " << ySum/pixCounter << std::endl;
img.release();
}
void YUVSample::classifyImage(std::string path, std::string out_path) {
//float minRange; float maxRange;
//this->hue_histogram_.getPeakRange(HSV_GREEN_DENSITY_THRESHOLD, minRange, maxRange);
//float minSatRange; float maxSatRange;
//this->sat_histogram_.getPeakRange(HSV_SAT_GREEN_DENSITY_THRESHOLD, minSatRange, maxSatRange);
//Polynomial Fitting
double minURange; double maxURange;
Polynomial1V u_model = this->u_histogram_.fitPolynomial(3);
u_model.maxAreaWindow(this->u_histogram_.getMinBin(),
this->u_histogram_.getMaxBin(), 20, minURange, maxURange);
double minVRange; double maxVRange;
Polynomial1V v_model = this->v_histogram_.fitPolynomial(3);
v_model.maxAreaWindow(this->v_histogram_.getMinBin(),
this->v_histogram_.getMaxBin(), 20, minVRange, maxVRange);
double minYRange; double maxYRange;
Polynomial1V y_model = this->y_histogram_.fitPolynomial(3);
v_model.maxAreaWindow(this->y_histogram_.getMinBin(),
this->y_histogram_.getMaxBin(), 20, minYRange, maxYRange);
cv::Mat img = cv::imread(path, cv::IMREAD_COLOR);
if (!img.data) {
std::cerr << "Exception at classifyImage for file,'" << path << "'" << std::endl;
throw no_img_data("No Image Data...");
}
//std::cout << "U range: " << minURange << " " << maxURange << std::endl;
//std::cout << "V range: " << minVRange << " " << maxVRange << std::endl;
int n_rows = img.rows;
int n_cols = img.cols;
cv::cvtColor(img, img, cv::COLOR_BGR2YUV);
cv::Mat new_img(n_rows, n_cols, CV_8UC3, cv::Scalar(0,0,0));
std::cout << "max U: " << maxURange << std::endl;
std::cout << "max V: " << maxVRange << std::endl;
minYRange -= 20;
maxYRange += 20;
//std::cout << "min Y: " << minYRange << " max Y: " << maxYRange << std::endl;
double ySum = 0;
int pixCounter = 0;
for (int y_val = 0; y_val < n_rows; y_val++) {
for (int x_val = 0; x_val < n_cols; x_val++) {
//std::cout << x_val << " " << y_val << std::endl;
int u_val = img.at<cv::Vec3b>(y_val, x_val)[1];
int v_val = img.at<cv::Vec3b>(y_val, x_val)[2];
int y_val_col = img.at<cv::Vec3b>(y_val, x_val)[0];
//Adjust range according to luminence
int diff = y_val_col - 60;
//std::cout << diff << std::endl;
//std::cout << diff << std::endl;
int adjustment = 0;
if(diff < 0){ //y_val edging towards black
adjustment = diff/3;
}else{
adjustment = diff/7;
adjustment *= -1;
}
//std::cout << adjustment << std::endl
int newMaxURange = maxURange + adjustment;
int newMaxVRange = maxVRange + adjustment;
//std::cout << maxURange << " " << maxVRange << std::endl;
//std::cout << diff << std::endl
//int adjust = diff*0.1;
//maxURange -= adjust;
//maxVRange -= adjust;
if(v_val < newMaxVRange && u_val < newMaxURange){
ySum += y_val_col;
pixCounter++;
new_img.at<cv::Vec3b>(y_val, x_val)[0] = 255;
new_img.at<cv::Vec3b>(y_val, x_val)[1] = 112;
new_img.at<cv::Vec3b>(y_val, x_val)[2] = 132;
/*
new_img.at<cv::Vec3b>(y_val, x_val)[0] = 255;
new_img.at<cv::Vec3b>(y_val, x_val)[1] = 112;
new_img.at<cv::Vec3b>(y_val, x_val)[2] = 132;
*/
}
/*
if(y_val_col < maxYRange && y_val_col > minYRange){
new_img.at<cv::Vec3b>(y_val, x_val)[0] = 255;
new_img.at<cv::Vec3b>(y_val, x_val)[1] = 112;
new_img.at<cv::Vec3b>(y_val, x_val)[2] = 132;
}
*/
/*
if (u_val >= minURange && u_val <= maxURange && v_val >= minVRange && v_val <= maxVRange
&& y_val_col < maxYRange && y_val_col > minYRange) {
new_img.at<cv::Vec3b>(y_val, x_val)[0] = 255;
new_img.at<cv::Vec3b>(y_val, x_val)[1] = 112;
new_img.at<cv::Vec3b>(y_val, x_val)[2] = 132;
}
*/
}
}
ySum /= pixCounter;
printf("green avgY: %d\n\n", (int)ySum);
std::vector<int> compression_params;
compression_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
compression_params.push_back(9);
bool status = imwrite(out_path, new_img, compression_params);
if (!status) std::cerr << "Failed to write image '" << out_path << "'" << std::endl;
//this->y_histogram_.showHistogram();
//this->v_histogram_.showHistogram();
//std::cout << std::endl << std::endl;
//this->u_histogram_.showHistogram();
}
| [
"garyybai@gmail.com"
] | garyybai@gmail.com |
5c8068740bd23c2bb835f368481fa76d145998ef | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/engine/client/library/clientSkeletalAnimation/src/shared/controller/AnimationStatePath.h | 4d86fe1ae8cb3102bb0c6b6dd35a1b34c91b4a22 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 2,093 | h | // ======================================================================
//
// AnimationStatePath.h
// Copyright 2002 Sony Online Entertainment, Inc.
// All Rights Reserved.
//
// ======================================================================
#ifndef INCLUDED_AnimationStatePath_H
#define INCLUDED_AnimationStatePath_H
// ======================================================================
#include "clientSkeletalAnimation/AnimationStateNameId.h"
#include <vector>
// ======================================================================
class AnimationStatePath
{
public:
static int getCommonPathLength(const AnimationStatePath &path1, const AnimationStatePath &path2);
public:
AnimationStatePath();
void clearPath();
void appendState(const AnimationStateNameId &stateNameId);
void removeLastState();
bool hasState(const AnimationStateNameId &stateNameId) const;
int getPathLength() const;
const AnimationStateNameId &getState(int index) const;
void copyTo(AnimationStatePath &destinationPath) const;
bool operator ==(const AnimationStatePath &rhs) const;
bool operator !=(const AnimationStatePath &rhs) const;
bool isEqualTo(const AnimationStatePath &rhs, int rhsLength) const;
std::string getPathString() const;
std::string getPathString(int partialPathLength) const;
private:
typedef stdvector<AnimationStateNameId>::fwd AnimationStateNameIdVector;
private:
// disabled
AnimationStatePath(const AnimationStatePath&);
AnimationStatePath &operator =(const AnimationStatePath&);
private:
AnimationStateNameIdVector m_path;
};
// ======================================================================
inline bool AnimationStatePath::operator !=(const AnimationStatePath &rhs) const
{
return !(*this == rhs);
}
// ======================================================================
#endif
| [
"swgmaster@india.com"
] | swgmaster@india.com |
5208a1f179e96c6564a69091eb60b9706e1764b8 | 90d2461379f3af02c47317a3bf52729ffbfc7f54 | /Cheyette/.svn/pristine/05/05155d59684d0c0589d6112ab0a1bcfd6c44e77c.svn-base | 18ce3e743f7b1a58f72433af4ec848df7e31b42d | [] | no_license | FinancialEngineerLab/LunaLibrary | c47ae96a5bdd50a26fb4631c7ee3b028eb1ae8eb | 42acea0dbde826c0d2bb124e83866de2fd8888ea | refs/heads/master | 2023-03-15T20:39:09.180517 | 2015-09-30T16:02:04 | 2015-09-30T16:02:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,707 | #include <iostream>
#include <fstream>
#include <LMM/Test/Tests.h>
#include <LMM/helper/TenorType.h>
#include <LMM/helper/LMMTenorStructure.h>
#include <LMM/LmmModel/Shifted_HGVolatilityFunction.h>
#include <LMM/LmmModel/ConstShifted_HGVolatilityFunction.h>
//#include <LMM/calibration/TestHGVolatilityParam.h>
void test_HGVolatility_getter_by_indices();
void test_HGVolatility_setter_by_column_indices();
std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices> createIndexMatrix(size_t horizon, size_t sparse_step);
std::vector<QuantLib::Array > createSparseMatrix(const std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices>& );
void test_HGVolatility()
{
test_HGVolatility_getter_by_indices();
test_HGVolatility_setter_by_column_indices();
}
void test_HGVolatility_setter_by_column_indices()
{
std::cout<<"test_HGVolatility_setter_by_column_indices() Called"<<std::endl;
Tenor tenorType = Tenor::_6M;
size_t nbYear = 10; size_t horizon = nbYear*2;
LMMTenorStructure_PTR pLMMTenorStructure(new LMMTenorStructure(tenorType, nbYear));
size_t nbLIBOR = pLMMTenorStructure->get_nbLIBOR();
double a = 0.0;
double b = 0.0;
double c = 0.0;
double d = 1.;
double g_constParam = 1.0;
double shift_constParam = 0.0;
ConstShifted_HGVolatilityParam_PTR pHGVolatilityParam(new TestHGVolatilityParam(pLMMTenorStructure, a,b,c,d, g_constParam, shift_constParam) );
//HGVolatilityFunction_PTR pHGVolatilityFunction (new HGVolatilityFunction(*pHGVolatilityParam , pLMMTenorStructure) );
TestHGVolatilityParam::VectorOfMatrixIndices empty_indices;
QuantLib::Array full_vol_g_param = pHGVolatilityParam->get_ArrayFrom_G(empty_indices);
size_t nbFullParam = full_vol_g_param.size();
for(size_t i=0;i<nbFullParam;++i)
{
full_vol_g_param[i] = 0.01 * (i+1);
}
std::cout<<"Vol Param before full reset : "<<std::endl<<*pHGVolatilityParam<<std::endl;
pHGVolatilityParam->reset_G_FromArray(full_vol_g_param,empty_indices);
std::cout<<"Vol Param after full reset : "<<std::endl<<*pHGVolatilityParam<<std::endl;
pHGVolatilityParam->print("test_HGVolatility_setter_by_column_indices_VolInit.csv");
std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices> indices_matrix = createIndexMatrix(horizon,2);
std::vector<QuantLib::Array > values_matrix = createSparseMatrix(indices_matrix);
std::ostringstream file_vol;
file_vol<<"test_HGVolatility_setter_by_column_indices";
for(size_t i=0;i<indices_matrix.size();++i)
{
size_t iYR = i+1;
std::ostringstream file_vol;
file_vol<<"test_HGVolatility_setter_by_column_indices_VolResetted_"<<iYR<<"YR.csv";
pHGVolatilityParam->reset_G_FromArray(values_matrix[i],indices_matrix[i],true);
pHGVolatilityParam->print(file_vol.str() );
}
}
void test_HGVolatility_getter_by_indices()
{
std::cout<<"test_HGVolatility_getter_by_indices() Called"<<std::endl;
Tenor tenorType = Tenor::_6M;
size_t nbYear = 2;
LMMTenorStructure_PTR pLMMTenorStructure(new LMMTenorStructure(tenorType, nbYear));
size_t nbLIBOR = pLMMTenorStructure->get_nbLIBOR();
//T 0 0.5 1 1.5 2.0
//h0 0 0 0 0 0
//h1 0 1
//h2 0 1.5 1
//h3 0 2 1.5 1
//h4 0 2.5 2 1.5 1
//! volatility function
double a = 1.0;
double b = 1.0;
double c = 0.0;
double d = 0.0;
double g_constParam = 1.0;
double shift_constParam = -0.01;
ConstShifted_HGVolatilityParam_PTR hgParam_ptr(new TestHGVolatilityParam(pLMMTenorStructure, a,b,c,d, g_constParam, shift_constParam) );
//! Correlation 1
size_t nbFactor = 3; // need to test nbFactor = 3, and nbFactor =
size_t correlFullRank = pLMMTenorStructure->get_horizon()+1;
size_t correlReducedRank = nbFactor;
CorrelationReductionType::CorrelationReductionType correlReductionType = CorrelationReductionType::PCA;
double correlAlpha = 0.0;
double correlBeta = 0.1;
Correlation_PTR correlation(new XY_beta_Correlation(correlFullRank,correlReducedRank, correlReductionType,correlAlpha,correlBeta));
correlation->calculate(); // for print.
correlation->print("test_McTerminalLmm_Correlation.csv");
//McLmm
//double shiftValue = -0.01;
//std::vector<double> shifts(pLMMTenorStructure->get_horizon()+1, shiftValue);
ConstShifted_HGVolatilityFunction_PTR pHGVolatilityFunction (new ConstShifted_HGVolatilityFunction( pLMMTenorStructure, correlation, hgParam_ptr));
std::cout<<"Vol_1 at t=0. is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 1,0. ) <<std::endl;
std::cout<<"Vol_4 at t=0. is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 4,0. ) <<std::endl;
std::cout<<"Vol_4 at t=2. is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 4,2. ) <<std::endl;
std::cout<<"Vol_4 at t=1.4999999999999 is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 4, 1.4999999999999 ) <<std::endl;
std::cout<<"Vol_4 at t=1.5 is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 4, 1.5)<<std::endl;
std::cout<<"Vol_4 at t=1.5000000000001 is "<< pHGVolatilityFunction->get_varSigma_timeContinuousVersion( 4, 1.5000000000001 ) <<std::endl;
//! test reset from array for TestHGVolatilityParam
TestHGVolatilityParam testHGVolParam( pLMMTenorStructure , 0 , 0 , 0 , 1 , g_constParam, shift_constParam);
size_t nbVol = nbLIBOR*(nbLIBOR-1)/2;
QuantLib::Array plat_vol_array(nbVol);
TestHGVolatilityParam::VectorOfMatrixIndices indices_vector;
size_t array_index = 0;
for(size_t liborIndex=1;liborIndex<nbLIBOR;++liborIndex)
{
for(size_t timeIndex=1;timeIndex<=liborIndex;++timeIndex)
{
plat_vol_array[array_index]=array_index+1;
indices_vector.push_back( std::pair<size_t,size_t>(liborIndex,timeIndex) );
++array_index;
}
}
std::cout<<"HGVol before reset "<<std::endl<< testHGVolParam <<std::endl;
testHGVolParam.reset_H_FromArray(plat_vol_array,indices_vector );
std::cout<<"HGVol afer H reset "<<std::endl<< testHGVolParam <<std::endl;
testHGVolParam.reset_G_FromArray(plat_vol_array,indices_vector );
std::cout<<"HGVol afer G reset "<<std::endl<< testHGVolParam <<std::endl;
std::vector< std::pair<size_t,size_t> > indice_vector;
indice_vector.push_back(std::pair<size_t,size_t>(1,1) );
indice_vector.push_back(std::pair<size_t,size_t>(4,1) );
indice_vector.push_back(std::pair<size_t,size_t>(4,4) );
QuantLib::Array sparse_g_vol = testHGVolParam.get_ArrayFrom_G(indice_vector);
std::cout<<sparse_g_vol<<std::endl;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////
std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices> createIndexMatrix(size_t horizon, size_t sparse_step)
{
std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices> indice_matrix;
for(size_t j_sparse_col = sparse_step; j_sparse_col<horizon ; j_sparse_col+=sparse_step )
{
Shifted_HGVolatilityParam::VectorOfMatrixIndices column_indices;
for(size_t i_sparse_row = j_sparse_col; i_sparse_row<horizon ; i_sparse_row+=sparse_step )
{
column_indices.push_back(std::pair<size_t,size_t>(i_sparse_row,j_sparse_col) );
}
indice_matrix.push_back(column_indices) ;
}
return indice_matrix;
}
std::vector<QuantLib::Array > createSparseMatrix(const std::vector<Shifted_HGVolatilityParam::VectorOfMatrixIndices>& indices_matrix)
{
std::vector<QuantLib::Array > sparse_vol_matrix;
double sparse_step = 10.;
double sparse_value_counter = sparse_step;
for(size_t i=0;i<indices_matrix.size();++i)
{
size_t row_size = indices_matrix[i].size();
QuantLib::Array row_values(row_size,-1e10);
for(size_t j=0;j<row_size;++j)
{
row_values[j]=sparse_value_counter;
sparse_value_counter+=sparse_step;
}
sparse_vol_matrix.push_back(row_values);
}
return sparse_vol_matrix;
} | [
"ljb8901@163.com"
] | ljb8901@163.com | |
f64c79f9f4dd29ee921025f94978de6780c5ca4e | 840f87e39ace21072babf547401469e9ea4bd4e6 | /module2/fasta.h | 878ae5c3c923819049a8435074b2a58cd75fc77e | [] | no_license | l3lackcurtains/large-scale-data-structures | 8875fb693dd69bc05823c41e1da84cd9c7531bb9 | 622bf9a2b8684a81d6cc03f48d0b922b6acc2507 | refs/heads/main | 2023-04-15T16:40:56.154333 | 2021-04-24T21:58:06 | 2021-04-24T21:58:06 | 336,662,910 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | h | #ifndef FASTA_H
#define FASTA_H
#include <stdlib.h>
#include <ctime>
#include <fstream>
#include <iostream>
// Represents the genome sequence string length
#define SEQUENCE_LENGTH 50
struct Node {
char sequenceRead[SEQUENCE_LENGTH];
struct Node* next;
};
using namespace std;
class FASTAreadset_LL {
private:
int datasetCount;
char* filePath;
Node* head;
Node* genomeHead;
char** sortedRead;
Node* performSearch(char toSearch[SEQUENCE_LENGTH]);
int performBinarySearch(char toSearch[SEQUENCE_LENGTH], int left, int right);
void swap(char** a, char** b);
void quicksort(char* arr[], unsigned int length);
public:
FASTAreadset_LL();
FASTAreadset_LL(char* path);
FASTAreadset_LL(const FASTAreadset_LL &oldFastaReadset);
void readFile(char* path, int readLength);
void readFile(int readLength);
void initNthData(int limit);
void printData();
void printGenomeData();
void searchSequences();
void searchGenomeDataset();
void binarySearchGenomeDataset();
void readGenomeDataset(char* filePath, int genomeDataLimit);
~FASTAreadset_LL();
};
#endif | [
"l3lackcurtains@protonmail.com"
] | l3lackcurtains@protonmail.com |
ceb73b41f9c3a40506f813f33d2b4d12e38c9191 | 9d33ae28a3ec3902d8fa76060c3465f40b1e06a2 | /Comprovar conjectura forta de Goldbach.cpp | 7925a23b86085d7b038ff18c5011f0bb3f4c147e | [] | no_license | thelasthacker/Strong-Goldbach-C-tools | 57d946f15f15d3b03243ab56f76bfd6c6afd1311 | 62b54f7f3d13e6a436364e61671922e09d4714f7 | refs/heads/main | 2023-02-15T19:52:58.179549 | 2021-01-17T20:24:20 | 2021-01-17T20:24:20 | 330,466,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,350 | cpp | #include<iostream>
#include<windows.h>
using namespace std;
//la funció que comprovarà si els dos sumands són primers és la següent
bool test_primer(int n){
//la variable que retorna aquesta funció és booleana, ja que, per comprovar primers només necessitem saber 'True' o 'False'
bool condicio = true;
for(int i=2; i<n; i++){
if(n%i == 0){
/*Si per algun nombre i de 2 a n - 1 (on n és el nombre que estem comprovant) obtenim un residu 0 al fer la divisió n/i, a llavors, n no és primer,
ja que, si fos primer els divisors de n només serien dos: 1 i n, però els hem restringit. */
condicio = false;
//a llavors, immediatament la condició és falsa
}
}
return condicio;
}
//En la funció principal necessitem una entrada de dades per indicar el límit per als dos sumands
int main(){
//Declarem les variables principals
int Goldbach;
char pregunta;
int l;
bool es_compleix = true;
//Entrada de dades, nombre límit per als dos sumands primers
cout<<"Introdueix un numero limit per els dos sumands: "; cin>>l;
/*muntem el cicle for per cada i i j en l'interval (3,l) (perque la conjectura de Goldbach s'estén des de n>2 fins a infinit) on l és
el valor que hem especificat abans */
for(int i=3; i<=l; i++){
for(int j=3; j<=l; j++){
if(test_primer(i) == true and test_primer(j) == true){
//Calculem la suma de nombres que, per la línia anterior, sabem que són primers
Goldbach = i + j;
if(Goldbach%2 != 0){
/* Si la suma de primers no és parell, a llavors, no es compleix la conjectura, ja que, que tot nombre parell es pugui expressar com a suma
de nombres primers implica que per tot nombre primer p existeix un altre nombre primer q tal que p + q = 2k on k és un nombre natural. */
es_compleix = false;
//Així, la condició es_compleix es fa falsa, ja que, la suma no és parell
//Mostrem un missatge d'alerta en pantalla i els sumands que donen lloc a la suma senar
cout<<"[!] "<<i<<" + "<<j<<" = "<<Goldbach<<endl;
cout<<Goldbach<<" no es parell"<<endl;
cout<<"[!] No es compleix la conjectura de Goldbach"<<endl;
//I per avisar del que hem trobat executem un audio d'alerta
/* Ara, mostrem un missatge en pantalla en que preguntem a l'usuari si vol continuar amb la recerca després d'haver descobert aquesta suma
senar */
system("start audio.mp3");
while(true){
cout<<endl<<"Vols continuar?(s/n) --> "; cin>>pregunta;
if(pregunta == 'n' or pregunta == 'N'){
//Si introdueix n o N (no) finalitzem el cicle
break;
}
else if(pregunta != 'n' or pregunta != 'N' or pregunta != 's' or pregunta != 'S'){
//Si introdueix un caràcter diferent de s o S i de n o N, l'entrada no és vàlida, així que ho indiquem.
cout<<"[!] "<<pregunta<<" no es reconeix com un resposta valida. Introdueix s o S (si) o n o N (no)"<<endl;
}
}
}
//Si la suma és parell, tot va bé, la conjectura es compleix per i i j, així que mostrem el resultat en pantalla.
else if(pregunta == 's' or pregunta == 'S'){
cout<<"[~] "<<i<<" + "<<j<<" = "<<Goldbach<<" es parell"<<endl;
}
}
}
}
/* Ara, havent finalitzat la recerca, utilitzem la variable es_compleix que és certa si la conjectura de Goldbach es compleix i viceversa per mostrar un
missatge o un altre en la pantalla. */
if(es_compleix == true){
//Si es_compleix és cert (true), a llavors, indiquem l'interval en el qual la conjectura es compleix.
cout<<endl<<"[+] La conjectura es compleix en l'interval (3,"<<l<<")"<<endl;
}
else {
/* Si es_compleix és fals (false), a llavors, si per algun parell de primers no es compleix, la conjectura de Goldbach no es compleix,
ja que, afirma que per tot parell de nombres primers s'ha de complir, així que només fa falta un contraexemple perque definitivament
no sigui certa. */
cout<<endl<<"[-] La conjectura no es compleix"<<endl;
}
//Quan el programa finalitza reproduim un audio d'alerta.
system("start audio2.mp3");
return 0;
}
/* Això és un exemple, molt bàsic, de contraexemple si es dona el primer cas de la línia 40. No obstant, per a nombres molt grans aquest programa és molt lent,
obviament. Tot i això, pot servir per entendre la conjectura de Goldbach i aplicar-ho a ordinadors més potents.
Podem iniciar els valors iteradors i,j des d'un valor més gran simplement fent:
for(int i=4000; i<=l; i++)
etc.
Aquesta manera d'utilitzar-lo és millor, és més, podriem demanar a l'usuari els valors i i j inicials d'aquesta manera:
int i,j;
cout<<"Valor inicial del primer sumand: "; cin>>i;
cout<<"Valor inicial del segon sumand: "; cin>>j;
etc.
Així el codi seria més útil per buscar possibles sumes senars.
Aquesta manera de comprovar la conjectura forta de Goldbach funcionaria igual per a comprovar la conjectura débil, encara que ja està demostrada,
les variables que iteren serien tres i,j,k tal que formariem ternes i + j + k on i,j,k són primers. Bé, doncs, la conjectura débil implicaria que
i + j + k = nombre compost = p1p2p3...pn. En aquest cas hauriem de muntar un cicle for "anidat" així:
for(i...)
for(j...)
for(k...)
...
*/
| [
"noreply@github.com"
] | noreply@github.com |
988e511e27043519e9fa6e328f49bcd2ed97eee3 | bad7ddb838d23585e587303b2040cf281f13c888 | /UVa/10420.cpp | 2fedca0c6ddd453d2fc6cf82b3807a331f696ea2 | [] | no_license | dfremy/OJSolutions | 3d506394b837f9c571f111850947bd24b88ccfea | 9ebd4c6ea92fb54803cd06aa122edd073a33d585 | refs/heads/master | 2021-01-10T20:11:54.902929 | 2015-04-08T00:22:40 | 2015-04-08T00:22:40 | 31,028,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | cpp | #include <cstdio>
#include <vector>
#include <queue>
#include <set>
#include <stack>
#include <map>
#include <cmath>
#include <string>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <ctype.h>
using namespace std;
map < string, int> tem;
int main(){
int i, j, n;
char inutil[5000];
string s;
scanf(" %d", &n);
while(n--){
cin >> s;
tem[s]++;
gets(inutil);
}
for(map<string, int>::iterator it = tem.begin(); it!=tem.end() ; it++){
cout << it->first << " " << it->second << "\n";
}
return 0;
}
| [
"dfremy@msn.com"
] | dfremy@msn.com |
73b9a2dd16638460f51c5464ad610093d510449b | 2ffc2e8aaab7e58eaefbba9e81c1e763a4d8fac9 | /tests/osl/UnitTestMain.cpp | b895f3506d661e324b1a3bbd1b66b399d63c1078 | [
"BSD-3-Clause",
"CC-BY-4.0"
] | permissive | Sarcasm/OpenColorIO | 752e7c0615823a1edc2a0c62cd330f77c53b8135 | f399dad98ebfa46278241c50ff6e0d9eb915c1d5 | refs/heads/master | 2023-08-31T03:53:10.364520 | 2021-10-22T12:46:43 | 2021-10-22T12:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,393 | cpp | // SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenColorIO Project.
#include <OSL/oslcomp.h>
#include <OSL/oslexec.h>
#include <OSL/rendererservices.h>
#include <OpenColorIO/OpenColorIO.h>
namespace OCIO = OCIO_NAMESPACE;
#include "UnitTestMain.h"
#include <memory>
#include <vector>
namespace
{
class MyOSLShaderCreator : public OCIO::GpuShaderCreator
{
public:
static OCIO::GpuShaderCreatorRcPtr Create(const OSLDataRcPtr & test)
{
OCIO::GpuShaderCreatorRcPtr ptr(new MyOSLShaderCreator(test));
ptr->setLanguage(OCIO::LANGUAGE_OSL_1);
return ptr;
}
const std::string & getShaderCode() const noexcept { return m_shaderCode; }
OCIO::GpuShaderCreatorRcPtr clone() const override { return OCIO::GpuShaderCreatorRcPtr(); }
// TODO: OSL: Throw when unexpected methods are used.
void setTextureMaxWidth(unsigned /*maxWidth*/) override {}
unsigned getTextureMaxWidth() const noexcept override { return 0; }
bool addUniform(const char * /*name*/, const DoubleGetter & /*getDouble*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
return false;
}
bool addUniform(const char * /*name*/, const BoolGetter & /*getBool*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
return false;
}
bool addUniform(const char * /*name*/, const Float3Getter & /*getFloat3*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
return false;
}
bool addUniform(const char * /*name*/,
const SizeGetter & /*getSize*/,
const VectorFloatGetter & /*getVectorFloat*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
return false;
}
bool addUniform(const char * /*name*/,
const SizeGetter & /*getSize*/,
const VectorIntGetter & /*getVectorInt*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
return false;
}
void addTexture(const char * /*textureName*/,
const char * /*samplerName*/,
unsigned /*width*/,
unsigned /*height*/,
TextureType /*channel*/,
OCIO::Interpolation /*interpolation*/,
const float * /*values*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
}
void add3DTexture(const char * /*textureName*/,
const char * /*samplerName*/,
unsigned /*edgelen*/,
OCIO::Interpolation /*interpolation*/,
const float * /*values*/) override
{
throw OCIO::Exception("Unsupported by OSL unit tests.");
}
void createShaderText(const char * shaderDeclarations,
const char * shaderHelperMethods,
const char * shaderFunctionHeader,
const char * shaderFunctionBody,
const char * shaderFunctionFooter) override
{
m_shaderCode += shaderDeclarations;
m_shaderCode += shaderHelperMethods;
m_shaderCode += shaderFunctionHeader;
m_shaderCode += shaderFunctionBody;
m_shaderCode += shaderFunctionFooter;
}
protected:
MyOSLShaderCreator(const OSLDataRcPtr & test) : OCIO::GpuShaderCreator(), m_test(test) {}
private:
const OSLDataRcPtr m_test;
std::string m_shaderCode;
};
class ErrorRecorder final : public OIIO::ErrorHandler
{
public:
ErrorRecorder() : ErrorHandler() {}
virtual void operator()(int errcode, const std::string& msg)
{
if (errcode >= EH_ERROR) {
if (m_errormessage.size()
&& m_errormessage[m_errormessage.length() - 1] != '\n')
m_errormessage += '\n';
m_errormessage += msg;
}
}
bool haserror() const { return m_errormessage.size(); }
std::string geterror(bool erase = true)
{
std::string s;
if (erase)
std::swap(s, m_errormessage);
else
s = m_errormessage;
return s;
}
private:
std::string m_errormessage;
} g_errhandler;
typedef std::vector<OSLDataRcPtr> UnitTests;
UnitTests & GetUnitTests()
{
static UnitTests ocio_osl_unit_tests;
return ocio_osl_unit_tests;
}
void AddUnitTest(const OSLDataRcPtr & test)
{
GetUnitTests().push_back(test);
}
} //anon namespace
OSLDataRcPtr OSLData::Create()
{
OSLDataRcPtr ptr = std::make_shared<OSLData>();
AddUnitTest(ptr);
return ptr;
}
int main(int, const char **)
{
const std::string shaders{OCIO::GetEnvVariable("SHADERS_DIR")};
const std::string optionShaders{"-I" + shaders};
const std::vector<std::string> options{ optionShaders, "-Werror" };
size_t failures = 0;
size_t noTest = 0;
std::cerr << "\n OpenColorIO_Core_OSL_Unit_Tests\n\n";
for (const auto & test : GetUnitTests())
{
constexpr size_t maxCharToDisplay = 59;
if (test->m_name.size() > maxCharToDisplay)
{
test->m_name.resize(maxCharToDisplay);
}
std::cerr << "["
<< std::right << std::setw(3)
<< (noTest+1) << "/" << GetUnitTests().size() << "] ["
<< std::left << std::setw(maxCharToDisplay+1)
<< test->m_name
<< "] - ";
OSL::RendererServices * renderer = new OSL::RendererServices();
OIIO::TextureSystem * texturesys = OIIO::TextureSystem::create();
OSL::ShadingSystem * shadingsys = new OSL::ShadingSystem(renderer, texturesys);
OSL::ShaderGroupRef shadergroup = shadingsys->ShaderGroupBegin();
// TODO: OSL: Create the OSL group!
try
{
OCIO::ConstConfigRcPtr config = OCIO::Config::CreateRaw();
OCIO::ConstProcessorRcPtr processor = config->getProcessor(test->m_transform);
OCIO::ConstGPUProcessorRcPtr gpu = processor->getOptimizedGPUProcessor(OCIO::OPTIMIZATION_NONE);
OCIO::GpuShaderCreatorRcPtr shaderDesc = MyOSLShaderCreator::Create(test);
gpu->extractGpuShaderInfo(shaderDesc);
OSL::OSLCompiler compiler(&g_errhandler);
const std::string oslBuffer
= dynamic_cast<MyOSLShaderCreator*>(shaderDesc.get())->getShaderCode();
std::string osoBuffer;
if (!compiler.compile_buffer(oslBuffer, osoBuffer, options))
{
failures++;
std::cerr << "FAILED\n";
std::string errormessage;
if (g_errhandler.haserror())
{
errormessage = g_errhandler.geterror();
}
else
{
errormessage = "OSL: Could not compile the shader";
}
std::cerr << errormessage << std::endl;
continue;
}
if (!shadingsys->LoadMemoryCompiledShader("shadername", osoBuffer))
{
failures++;
std::cerr << "FAILED\n";
std::string errormessage;
if (g_errhandler.haserror())
{
errormessage = g_errhandler.geterror();
}
else
{
errormessage = "OSL: Could not load the shader";
}
std::cerr << errormessage << std::endl;
continue;
}
// TODO: OSL: Add the CPU execution of the shader to validate the processing.
std::cerr << "PASSED\n";
}
catch(std::exception & ex)
{
failures++;
std::cerr << "FAILED\n";
std::cerr << ex.what() << std::endl;
}
catch(...)
{
failures++;
std::cerr << "FAILED\n";
std::cerr << "Unexpected exception!" << std::endl;
}
shadergroup.reset();
delete shadingsys;
delete renderer;
noTest++;
}
std::cerr << std::endl << failures << " tests failed" << std::endl << std::endl;
return failures;
}
| [
"noreply@github.com"
] | noreply@github.com |
6a3f8d293293cf55de537cc55db756befb1642aa | 492caa3747053dc92141f75d50bd97619c481173 | /ART/include/muParser/mpFuncCommon.h | d5b65e8b2e2727206a3b1cbf16923009e88a89f0 | [] | no_license | jomael/artool | 20cf9b9f5b41b1d7c35582b51ccd5db9799aaedc | 05c18a17150619ff7f56f30b8169cc379b978a13 | refs/heads/master | 2020-03-28T11:34:42.412379 | 2018-02-16T12:41:52 | 2018-02-16T12:41:52 | 148,227,834 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | h | /*
__________ ____ ___
_____ __ _\______ \_____ _______ ______ __________\ \/ /
/ \| | \ ___/\__ \\_ __ \/ ___// __ \_ __ \ /
| Y Y \ | / | / __ \| | \/\___ \\ ___/| | \/ \
|__|_| /____/|____| (____ /__| /____ >\___ >__| /___/\ \
\/ \/ \/ \/ \_/
muParserX - A C++ math parser library with array and string support
Copyright 2010 Ingo Berg
This program 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 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see http://www.gnu.org/licenses.
*/
#ifndef MUP_FUNC_COMMON_H
#define MUP_FUNC_COMMON_H
#include "mpICallback.h"
MUP_NAMESPACE_START
//------------------------------------------------------------------------------
/** \brief Parser function callback for determining the size of an array.
\ingroup functions
*/
class FunParserID : public ICallback
{
public:
FunParserID ();
virtual void Eval(ptr_val_type &ret, const ptr_val_type *a_pArg, int a_iArgc);
virtual const char_type* GetDesc() const;
virtual IToken* Clone() const;
}; // class FunParserID
//------------------------------------------------------------------------------
/** \brief Determine maximal value from the parameter list.
\ingroup functions
*/
class FunMax : public ICallback
{
public:
FunMax();
virtual void Eval(ptr_val_type &ret, const ptr_val_type *a_pArg, int a_iArgc);
virtual const char_type* GetDesc() const;
virtual IToken* Clone() const;
}; // class FunMax
//------------------------------------------------------------------------------
/** \brief Determine minimal value from the parameter list.
\ingroup functions
*/
class FunMin : public ICallback
{
public:
FunMin();
virtual void Eval(ptr_val_type &ret, const ptr_val_type *a_pArg, int a_iArgc);
virtual const char_type* GetDesc() const;
virtual IToken* Clone() const;
}; // class FunMin
//------------------------------------------------------------------------------
/** \brief Parser callback for summing up all function arguments.
\ingroup functions
*/
class FunSum : public ICallback
{
public:
FunSum();
virtual void Eval(ptr_val_type &ret, const ptr_val_type *a_pArg, int a_iArgc);
virtual const char_type* GetDesc() const;
virtual IToken* Clone() const;
}; // class FunSum
//------------------------------------------------------------------------------
/** \brief Parser function callback for determining the size of an array.
\ingroup functions
*/
class FunSizeOf : public ICallback
{
public:
FunSizeOf();
virtual ~FunSizeOf();
virtual void Eval(ptr_val_type &ret, const ptr_val_type *a_pArg, int a_iArgc);
virtual const char_type* GetDesc() const;
virtual IToken* Clone() const;
}; // class FunSizeOf
MUP_NAMESPACE_END
#endif
| [
"cgeyer@09a2bdc0-3751-4de4-99d9-04f024db765c"
] | cgeyer@09a2bdc0-3751-4de4-99d9-04f024db765c |
e28cae59cf9374500d62cab1b1d1e99bba1b9685 | caf58b7da229c319810497b7ded6b1970c8ae315 | /src/camera.cpp | c5666fb129530023c9578b3e37565c3ce4dd8052 | [] | no_license | nikwo/FooEngine | 880011795b9cb213a911ebe908c2cf311fe8e297 | 5c5bee6a88823f1f44e533baa4cb0b220ce35b8e | refs/heads/master | 2022-11-10T17:15:39.819181 | 2020-06-29T09:07:11 | 2020-06-29T09:07:11 | 268,888,967 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,103 | cpp | //
// Created by nikwo on 24.06.2020.
//
#include <glm.hpp>
#include <ext.hpp>
#include "camera.hpp"
foo_engine::camera::camera(glm::vec3 _position) {
position = _position;
up = glm::vec3(0.0f, 1.0f, 0.0f);
yaw = YAW;
pitch = PITCH;
front = glm::vec3(0.0f, 0.0f, -1.0f);
movement_speed = SPEED;
world_up = up;
mouse_sensitivity = SENSITIVITY;
zoom = ZOOM;
update_camera_vectors();
}
void foo_engine::camera::update_camera_vectors() {
glm::vec3 _front;
front.x = cos(glm::radians(yaw)) * cos(glm::radians(pitch));
front.y = sin(glm::radians(pitch));
front.z = sin(glm::radians(yaw)) * cos(glm::radians(pitch));
front = glm::normalize(front);
// also re-calculate the Right and Up vector
right = glm::normalize(glm::cross(front, world_up)); // normalize the vectors, because their length gets closer to 0 the more you look up or down which results in slower movement.
up = glm::normalize(glm::cross(right, front));
}
glm::mat4 foo_engine::camera::get_view_matrix() {
return glm::lookAt(position, position + front, up);
}
| [
"nadubrovskiy@edu.hse.ru"
] | nadubrovskiy@edu.hse.ru |
3c32abf9d4e4cb5f11dff0377020881026c76b8c | cc7e80959f072f5cd7164244c5805506a0c14d7e | /스택/4949_균형잡힌 세상/b.4949.cc | ce952d29b4309c02ca3074d85726740152decfb7 | [] | no_license | miney727/Baekjoon | 6f412537bd3f66f5468c96a1b7965bfd6bc343aa | 528a9ab45e736fea18d5c7ceb62942f4f047a020 | refs/heads/master | 2021-07-03T07:32:36.751962 | 2021-06-26T10:07:23 | 2021-06-26T10:07:23 | 234,087,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,919 | cc | #include <iostream>
#include <string>
#include <string.h>
using namespace std;
class Node{ //스택을 위한
private:
char num;
Node* next;
public:
Node(char a = '0', Node* link = NULL) //생성자
{
num = a;
next = link;
}
char get_data_num()
{
return num;
}
void link(Node* link)
{
next = link;
}
Node* get_next_node() //다음 노드를 반환
{
return this->next;
}
};
class linked_stack //연결리스트 스택
{
private:
Node* top;
public:
linked_stack(Node* link = NULL)
{
top = link;
}
Node* returntop()
{
return top;
}
bool is_empty()
{
if (top == NULL)
{
return true;
}
return false;
}
void push(Node* node)
{
if (is_empty())
{
top = node;
}
else
{
node->link(top);
top = node;
}
}
int get_size()
{
Node* temp = top;
int tem = 0;
while (temp != NULL)
{
temp = temp->get_next_node();
tem++;
}
return tem;
}
void pop()
{
Node* node = top;
top = top->get_next_node();
}
};
int main()
{
linked_stack s;
int temp;
bool balance;
char bracket[101];
while (11037)
{
balance = true;
cin.getline(bracket, 101);
temp = strlen(bracket);
if (temp == 1 && bracket[0] == '.')
{
return 0;
}
for (int j = 0; j < temp; j++)
{
if (bracket[j] == '(')
{
s.push(new Node('('));
}
else if (bracket[j] == ')')
{
if (!s.is_empty()&&s.returntop()->get_data_num() == '(')
{
s.pop();
}
else
{
balance = false;
}
}
else if (bracket[j] == '[')
{
s.push(new Node('['));
}
else if (bracket[j] == ']')
{
if (!s.is_empty() && s.returntop()->get_data_num() == '[')
{
s.pop();
}
else
{
balance = false;
}
}
bracket[j] = '\0';
}
while (!s.is_empty())
{
s.pop();
balance = false;
}
if (balance)
{
cout << "yes" << endl;
}
else
{
cout << "no" << endl;
}
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
caa66585526ee4e2386bf2788eb42852b266ca0d | 4b15e185f684baf1467b6e45eaa6353fd90a8798 | /leetcode/practice/numbersSmallerThanCurNo.cpp | 8908b18f891569779c03d6392cef6874468b24f3 | [] | no_license | hmnt007/Cpp-Data-Structure | e7be5ab25b1a07c683978a3c40f8d800aee86086 | 90d5149b8d28cc9f448496bc76ea44eb1c69cc76 | refs/heads/master | 2021-10-07T18:15:51.422080 | 2021-10-03T12:13:51 | 2021-10-03T12:13:51 | 243,259,896 | 0 | 3 | null | 2020-10-03T08:57:03 | 2020-02-26T12:42:13 | C++ | UTF-8 | C++ | false | false | 440 | cpp | class Solution {
public:
vector<int> smallerNumbersThanCurrent(vector<int>& nums) {
int len = nums.size();
vector<int> ans;
for(int i = 0; i < len ; i++)
{
int count = 0;
for(int j = 0; j < len; j++)
{
if(nums[i] > nums[j])
count++;
}
ans.push_back(count);
}
return ans;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
e697966ce8a37e8bd7c8d9a4cec1457b3e5505fe | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /multimediacommscontroller/mmccfilesourcesink/tsrc/ut_filesourcesink/Src/UT_CMccFileAudio.cpp | f5dc2df743d5b2d0d7ee0e7076515e06ba64e93d | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,884 | cpp | /*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
// CLASS HEADER
#include "UT_CMccFileAudio.h"
// EXTERNAL INCLUDES
#include <digia/eunit/eunitmacros.h>
// INTERNAL INCLUDES
#include "MccFileAudio.h"
#include "MccFileVideo.h"
#include "MccFileSourceImpl.h"
#include "mmccinterfacedef.h"
#include "mccresourcepool.h"
#include "Mcculdatapath.h"
#include "mccinternaldef.h"
// CONSTRUCTION
UT_CMccFileAudio* UT_CMccFileAudio::NewL()
{
UT_CMccFileAudio* self = UT_CMccFileAudio::NewLC();
CleanupStack::Pop();
return self;
}
UT_CMccFileAudio* UT_CMccFileAudio::NewLC()
{
UT_CMccFileAudio* self = new( ELeave ) UT_CMccFileAudio();
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// Destructor (virtual by CBase)
UT_CMccFileAudio::~UT_CMccFileAudio()
{
}
// Default constructor
UT_CMccFileAudio::UT_CMccFileAudio()
{
}
// Second phase construct
void UT_CMccFileAudio::ConstructL()
{
// The ConstructL from the base class CEUnitTestSuiteClass must be called.
// It generates the test case table.
CEUnitTestSuiteClass::ConstructL();
}
// METHODS
void UT_CMccFileAudio::Setup2L( )
{
iBuffer = CMMFDescriptorBuffer::NewL( 1000 );
iBuffer->Data().Copy(_L("aaaaaaaaaa"));
TMediaId media = KUidMediaTypeAudio;
MAsyncEventHandler* eventHandler = NULL;
CMccResourcePool* iMccResource = NULL;
iAudioULDPStub = CMccUlDataPath::NewL( eventHandler,iMccResource, media );
media = KUidMediaTypeVideo;
iVideoULDPStub = CMccUlDataPath::NewL( eventHandler, iMccResource, media );
TMccFileSourceSettingBuf settingBuf;
iFileSourceImpl = CMccFileSourceImpl::NewL( 0 );
iAudio = CMccFileAudio::NewL(*iFileSourceImpl);
iVideo = CMccFileVideo::NewL(*iFileSourceImpl);
#define KFileName TFileName(_L("c:\\test.mp4"));
TFileName fileName = KFileName;
TFileName fullFileName;
MP4Err error = MP4_OK;
RFs fS;
User::LeaveIfError( fS.Connect() );
CleanupClosePushL( fS );
TParse fp;
if ( fS.Parse( fileName, fp ) != KErrNone )
{
RDebug::Print(_L("CMccFileSourceImpl::OpenFileL file name parse error!"));
User::Leave( KErrGeneral );
}
fullFileName = fp.FullName();
CleanupStack::PopAndDestroy( &fS );
if (MP4ParseOpen( &iMP4Handle, (wchar_t *) fullFileName.PtrZ() ) != MP4_OK )
{
iMP4Handle = NULL;
User::Leave(KErrGeneral);
}
iAudio->ParseUpdateAudioDescriptions(iMP4Handle);
iVideo->ParseUpdateVideoDescriptions(iMP4Handle);
iAudio->ParseUpdateStreamDescription(iMP4Handle);
iAudio->SetFileHandle(iMP4Handle);
iVideo->SetFileHandle(iMP4Handle);
}
void UT_CMccFileAudio::SetupL( )
{
TMccFileSourceSettingBuf settingBuf;
iBuffer = CMMFDescriptorBuffer::NewL( 1000 );
iBuffer->Data().Copy(_L("aaaaaaaaaa"));
TMediaId media = KUidMediaTypeAudio;
MAsyncEventHandler* eventHandler = NULL;
CMccResourcePool* iMccResource = NULL;
iAudioULDPStub = CMccUlDataPath::NewL( eventHandler,iMccResource, media );
media = KUidMediaTypeVideo;
iVideoULDPStub = CMccUlDataPath::NewL( eventHandler, iMccResource, media );
iFileSourceImpl = CMccFileSourceImpl::NewL( 0 );
iAudio = CMccFileAudio::NewL(*iFileSourceImpl);
iVideo = CMccFileVideo::NewL(*iFileSourceImpl);
#define KFileName2 TFileName(_L("c:\\CrazyFrog.3gp"));
TFileName fileName = KFileName2;
TFileName fullFileName;
MP4Err error = MP4_OK;
RFs fS;
User::LeaveIfError( fS.Connect() );
CleanupClosePushL( fS );
TParse fp;
if ( fS.Parse( fileName, fp ) != KErrNone )
{
RDebug::Print(_L("CMccFileSourceImpl::OpenFileL file name parse error!"));
User::Leave( KErrGeneral );
}
fullFileName = fp.FullName();
CleanupStack::PopAndDestroy( &fS );
if (MP4ParseOpen( &iMP4Handle, (wchar_t *) fullFileName.PtrZ() ) != MP4_OK )
{
iMP4Handle = NULL;
User::Leave(KErrGeneral);
}
iAudio->ParseUpdateAudioDescriptions(iMP4Handle);
iVideo->ParseUpdateVideoDescriptions(iMP4Handle);
iAudio->ParseUpdateStreamDescription(iMP4Handle);
iAudio->SetFileHandle(iMP4Handle);
iVideo->SetFileHandle(iMP4Handle);
}
void UT_CMccFileAudio::Setup3L( )
{
TMccFileSourceSettingBuf settingBuf;
iBuffer = CMMFDescriptorBuffer::NewL( 1000 );
iBuffer->Data().Copy(_L("aaaaaaaaaa"));
TMediaId media = KUidMediaTypeAudio;
MAsyncEventHandler* eventHandler = NULL;
CMccResourcePool* iMccResource = NULL;
iAudioULDPStub = CMccUlDataPath::NewL( eventHandler,iMccResource, media );
media = KUidMediaTypeVideo;
iVideoULDPStub = CMccUlDataPath::NewL( eventHandler, iMccResource, media );
iFileSourceImpl = CMccFileSourceImpl::NewL( 0 );
iVideo = CMccFileVideo::NewL(*iFileSourceImpl);
iAudio = NULL;
#define KFileName3 TFileName(_L("c:\\test_avc.3gp"));
TFileName fileName = KFileName3;
TFileName fullFileName;
MP4Err error = MP4_OK;
RFs fS;
User::LeaveIfError( fS.Connect() );
CleanupClosePushL( fS );
TParse fp;
if ( fS.Parse( fileName, fp ) != KErrNone )
{
RDebug::Print(_L("CMccFileSourceImpl::OpenFileL file name parse error!"));
User::Leave( KErrGeneral );
}
fullFileName = fp.FullName();
CleanupStack::PopAndDestroy( &fS );
if (MP4ParseOpen( &iMP4Handle, (wchar_t *) fullFileName.PtrZ() ) != MP4_OK )
{
iMP4Handle = NULL;
User::Leave(KErrGeneral);
}
;
iVideo->ParseUpdateVideoDescriptions(iMP4Handle);
iVideo->SetFileHandle(iMP4Handle);
}
void UT_CMccFileAudio::Teardown( )
{
if ( iMP4Handle )
{
MP4Err error = MP4ParseClose( iMP4Handle );
iMP4Handle = NULL;
}
delete iVideo;
delete iAudio;
delete iFileSourceImpl;
delete iVideoULDPStub;
delete iAudioULDPStub;
delete iBuffer;
}
void UT_CMccFileAudio::UT_CMccFileAudio_NewLL( )
{
EUNIT_ASSERT( ETrue );
}
void UT_CMccFileAudio::UT_CMccFileAudio_SetPositionLL( )
{
iAudio->SetFileHandle(NULL);
iAudio->SetPositionL(100);
EUNIT_ASSERT_EQUALS( iAudio->Position(), 100 );
iAudio->SetPositionL(200);
EUNIT_ASSERT_EQUALS( iAudio->Position(), 200 );
// If position is changed while reader is active, position is changed to nearest iframe
iVideo->SetFileHandle(iMP4Handle);
iVideo->iIsPaused = EFalse;
iVideo->SetPositionL(50);
EUNIT_ASSERT( iVideo->Position() != 50 );
// If position setting is called just because resuming (pos not changed while paused),
// position is exactly the one which was when pause occured
iVideo->iPosition = 50;
iVideo->SetPositionL(50, ETrue);
EUNIT_ASSERT_EQUALS( iVideo->Position(), 50 );
// If position was changed while paused, position is changed to nearest iframe
iVideo->iIsPaused = ETrue;
iVideo->SetPositionL(100);
EUNIT_ASSERT_EQUALS( iVideo->Position(), 100 );
iVideo->iIsPaused = EFalse;
iVideo->SetPositionL(100, ETrue);
EUNIT_ASSERT( iVideo->Position() != 100 );
// If position is tried to be set over the end, end pos is used
iVideo->iIsPaused = EFalse;
TUint32 duration = iVideo->Duration();
iVideo->SetPositionL(duration + 1000, EFalse);
EUNIT_ASSERT( iVideo->Position() <= duration );
}
void UT_CMccFileAudio::UT_CMccFileAudio_TypeL( )
{
CCMRMediaBuffer::TBufferType bufferType1 = iAudio->Type();
CCMRMediaBuffer::TBufferType bufferType2 = iVideo->Type();
}
void UT_CMccFileAudio::UT_CMccFileAudio_PositionLL( )
{
TUint32 pos = iAudio->Position();
TUint32 pos2 = iVideo->Position();
}
void UT_CMccFileAudio::UT_CMccFileAudio_DurationLL( )
{
TUint32 duration = iAudio->Duration();
TUint32 duration2 = iVideo->Duration();
}
void UT_CMccFileAudio::UT_CMccFileAudio_AudioBitRateLL( )
{
TUint32 audioBitRate = iAudio->AudioBitRate();
TUint32 audioBitRate2 = iVideo->AudioBitRate();
}
void UT_CMccFileAudio::UT_CMccFileAudio_VideoFrameSizeLL( )
{
TSize size = iAudio->VideoFrameSize();
TSize size2 = iVideo->VideoFrameSize();
}
void UT_CMccFileAudio::UT_CMccFileAudio_VideoFrameRateLL( )
{
TReal videoFrameRate = iAudio->VideoFrameRateL();
EUNIT_ASSERT_EQUALS( (TInt)videoFrameRate, 0 );
TReal videoFrameRate2 = iVideo->VideoFrameRateL();
EUNIT_ASSERT_EQUALS( (TInt)videoFrameRate2, 5 );
// Test that framerate is limited to more interoperable value if value is too high for codec type
iVideo->iType = MP4_TYPE_H263_PROFILE_0;
iVideo->iFrameRate = 21;
videoFrameRate2 = iVideo->VideoFrameRateL();
EUNIT_ASSERT_EQUALS( (TInt)videoFrameRate2, KMccH263ProfileZeroMaxFramerateIOP );
iVideo->iType = MP4_TYPE_AVC_PROFILE_BASELINE;
iVideo->iFrameRate = 18;
videoFrameRate2 = iVideo->VideoFrameRateL();
EUNIT_ASSERT_EQUALS( (TInt)videoFrameRate2, 18 ); // Value not changed for AVC
}
void UT_CMccFileAudio::UT_CMccFileAudio_StartTimerL( )
{
// Audio
iAudio->StartTimerL();
EUNIT_ASSERT( !iAudio->iIsPaused );
TInt posMod = iAudio->iPositionModifier;
iAudio->StopTimer();
EUNIT_ASSERT( iAudio->iIsPaused );
User::After( 1000 );
iAudio->StartTimerL();
EUNIT_ASSERT( posMod != iAudio->iPositionModifier );
// Video
iVideo->StartTimerL();
EUNIT_ASSERT( !iVideo->iIsPaused );
iVideo->StopTimer();
}
void UT_CMccFileAudio::UT_CMccFileAudio_StopTimerL( )
{
// Audio
iAudio->StartTimerL();
EUNIT_ASSERT( !iAudio->iIsPaused );
iAudio->StopTimer();
EUNIT_ASSERT( iAudio->iIsPaused );
// Video
iVideo->StartTimerL();
EUNIT_ASSERT( !iVideo->iIsPaused );
iVideo->StopTimer();
TTime pauseStarted = iVideo->iPauseStarted;
EUNIT_ASSERT( iVideo->iIsPaused );
User::After( 1000 );
iVideo->StopTimer();
EUNIT_ASSERT( iVideo->iIsPaused );
EUNIT_ASSERT( pauseStarted == iVideo->iPauseStarted );
}
void UT_CMccFileAudio::UT_CMccFileAudio_GetFourCCL( )
{
TFourCC fourCC = iAudio->GetFourCC();
TFourCC fourCC2 = iVideo->GetFourCC();
}
void UT_CMccFileAudio::UT_CMccFileAudio_ResetTimeL( )
{
iAudio->ResetTimeL();
iVideo->ResetTimeL();
}
void UT_CMccFileAudio::UT_CMccFileAudio_TickAudioLL( )
{
iAudio->TickAudioL(iAudio);
iVideo->TickVideoL(iVideo);
}
void UT_CMccFileAudio::UT_CMccFileAudio_ReadFrameLL( )
{
// 3GP clip
TInt audioPos = iAudio->iPosition;
iAudio->ReadFrameL( EFalse );
EUNIT_ASSERT( iAudio->iPosition >= audioPos );
audioPos = iAudio->iPosition;
iAudio->iConsumer = iAudioULDPStub;
iAudio->iConsumerBuffer = iBuffer;
iAudio->ReadFrameL( ETrue );
EUNIT_ASSERT( iAudio->iPosition > audioPos );
TInt videoPos = iVideo->iPosition;
iVideo->ReadFrameL();
EUNIT_ASSERT( iVideo->iPosition >= videoPos );
videoPos = iVideo->iPosition;
iVideo->iConsumer = iVideoULDPStub;
iVideo->iConsumerBuffer = iBuffer;
iVideo->ReadFrameL();
EUNIT_ASSERT( iVideo->iPosition > videoPos );
}
void UT_CMccFileAudio::UT_CMccFileAudio_ReadFrameL2L( )
{
// MP4 clip
TInt audioPos = iAudio->iPosition;
iAudio->ReadFrameL( EFalse );
EUNIT_ASSERT( iAudio->iPosition == audioPos ); // No audio
TInt videoPos = iVideo->iPosition;
iVideo->ReadFrameL();
EUNIT_ASSERT( iVideo->iPosition >= videoPos );
videoPos = iVideo->iPosition;
iVideo->ReadFrameL();
EUNIT_ASSERT( iVideo->iPosition > videoPos );
}
void UT_CMccFileAudio::UT_CMccFileAudio_ParseUpdateAudioDescriptionsL( )
{
iAudio->ParseUpdateAudioDescriptions(iMP4Handle);
iVideo->ParseUpdateVideoDescriptions(iMP4Handle);
}
void UT_CMccFileAudio::UT_CMccFileAudio_GetFrameLengthL()
{
TBuf8<3> data;
data.Append( 42 );
TUint8 dataVal = dataVal & 0x0;
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 13 );
dataVal = dataVal & 0x0 | ( 0x1 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 14 );
dataVal = dataVal & 0x0 | ( 0x2 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 16 );
dataVal = dataVal & 0x0 | ( 0x3 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 18 );
dataVal = dataVal & 0x0 | ( 0x4 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 20 );
dataVal = dataVal & 0x0 | ( 0x5 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 21 );
dataVal = dataVal & 0x0 | ( 0x6 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 27 );
dataVal = dataVal & 0x0 | ( 0x7 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 32 );
dataVal = dataVal & 0x0 | ( 0x8 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 6 );
dataVal = dataVal & 0x0 | ( 0xF << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 1 );
dataVal = dataVal & 0x0 | ( 0x9 << 3 );
data[ 0 ] = dataVal;
EUNIT_ASSERT_EQUALS( iAudio->GetFrameLength( data ), 0 );
}
void UT_CMccFileAudio::UT_CMccFileAudio_SetStartTimeL()
{
static_cast<CMccFileSourceTypeBase*>(iAudio)->SetStartTime();
}
void UT_CMccFileAudio::UT_CMccFileAudio_IsPausedL()
{
static_cast<CMccFileSourceTypeBase*>(iAudio)->IsPaused();
}
void UT_CMccFileAudio::UT_CMccFileSink_GetTimeStampL()
{
TTimeIntervalMicroSeconds audioTimestamp = iAudio->GetTimeStamp(100);
TTimeIntervalMicroSeconds videoTimestamp = iVideo->GetTimeStamp();
}
void UT_CMccFileAudio::UT_CMccFileAudio_FillBufferL()
{
// Audio
iAudio->FillBufferL( iBuffer, iAudioULDPStub );
CMccFrameItem* frame = CreateFrameItemLC( 800 );
iAudio->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iAudio->FillBufferL( iBuffer, iAudioULDPStub );
EUNIT_ASSERT_EQUALS( iAudio->iFrames.Count(), 0 );
// Video
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 800 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 0 );
}
void UT_CMccFileAudio::UT_CMccFileAudio_WriteBufferL()
{
// Audio
iAudio->WriteBufferL();
iAudio->FillBufferL( iBuffer, iAudioULDPStub );
CMccFrameItem* frame = CreateFrameItemLC( 800 );
iAudio->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iAudio->WriteBufferL();
EUNIT_ASSERT_EQUALS( iAudio->iFrames.Count(), 0 );
// Too big frame
iAudio->FillBufferL( iBuffer, iAudioULDPStub );
frame = CreateFrameItemLC( 1200 );
iAudio->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iAudio->WriteBufferL();
EUNIT_ASSERT_EQUALS( iAudio->iFrames.Count(), 0 );
// Video
iVideo->WriteBufferL();
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 800 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->WriteBufferL();
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 0 );
// Too big frame
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 1200 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->WriteBufferL();
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 0 );
// AVC parameter sets exists and are written at first round
delete iVideo->iAVCNALUsBuffer;
iVideo->iAVCNALUsBuffer = NULL;
iVideo->iAVCNALUsBuffer = _L8("somedata").AllocL();
iVideo->iInsertParameterSets = ETrue;
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 800 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->WriteBufferL();
// real frame wasn't therefore yet written
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 1 );
EUNIT_ASSERT_EQUALS( iVideo->iInsertParameterSets, EFalse );
TInt64 firstParameterSetsTime = iVideo->iInsertParameterSetsTime.Int64();
EUNIT_ASSERT( firstParameterSetsTime != 0 );
// Next round takes the real frame
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
iVideo->WriteBufferL();
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 0 );
// Once enough time has elapsed, AVC parameter sets are again written
// const TUint32 KMccFileSourceParameterSetsIntervalInMicroSeconds = 2000000;
iVideo->iInsertParameterSetsTime = ( iVideo->iInsertParameterSetsTime.Int64() - 2000002 );
firstParameterSetsTime = iVideo->iInsertParameterSetsTime.Int64();
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 800 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->WriteBufferL();
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 0 ); // param sets were not written yet
EUNIT_ASSERT_EQUALS( iVideo->iInsertParameterSets, ETrue );
iVideo->FillBufferL( iBuffer, iVideoULDPStub );
frame = CreateFrameItemLC( 800 );
iVideo->iFrames.AppendL( frame );
CleanupStack::Pop( frame );
iVideo->WriteBufferL();
EUNIT_ASSERT_EQUALS( iVideo->iFrames.Count(), 1 ); // parameter sets were written
EUNIT_ASSERT_EQUALS( iVideo->iInsertParameterSets, EFalse );
EUNIT_ASSERT( iVideo->iInsertParameterSetsTime.Int64() != firstParameterSetsTime );
}
void UT_CMccFileAudio::UT_CMccFileAudio_TimingCorrectionL()
{
const TInt KMccTestTimerInterval = 100;
iAudio->SetStartTime();
iAudio->iTimerInterval = KMccTestTimerInterval;
iAudio->DoTimingCorrection( 0 ); // Not enough time has elapsed
User::After( 2000100 );
// Enough time has elapsed, correction not needed
iAudio->DoTimingCorrection( 2000 );
EUNIT_ASSERT( iAudio->iCorrectionInterval == KMccTestTimerInterval );
// Enough time has elapsed and correction is needed as position is not
// far enough (speeding the timer)
iAudio->iPreviousCorrection -= TTimeIntervalMicroSeconds32( 2000000 );
iAudio->DoTimingCorrection( 1000 );
EUNIT_ASSERT( iAudio->iCorrectionInterval < KMccTestTimerInterval );
// Enough time has elapsed and correction is needed as position is too
// far (slowing the timer)
User::After( 2000100 );
iAudio->DoTimingCorrection( 8000 );
EUNIT_ASSERT( iAudio->iCorrectionInterval > KMccTestTimerInterval );
}
void UT_CMccFileAudio::UT_CMccFileAudio_ConfigKeyL()
{
HBufC8* confKey = iVideo->GetConfigKeyL();
CleanupStack::PushL( confKey );
EUNIT_ASSERT( confKey && confKey->Length() > 0 );
// Test also non-sdp version
HBufC8* confKey2 = NULL;
iVideo->ExtractH264ParameterSetNALUsL( &confKey2 );
CleanupStack::PushL( confKey2 );
EUNIT_ASSERT( confKey2 && confKey2->Length() > 0 );
EUNIT_ASSERT( confKey2->Des().CompareF( *confKey ) != 0 );
CleanupStack::PopAndDestroy( confKey2 );
CleanupStack::PopAndDestroy( confKey );
}
CMccFrameItem* UT_CMccFileAudio::CreateFrameItemLC( TInt aSize )
{
CMccFrameItem* item = new (ELeave) CMccFrameItem();
CleanupStack::PushL( item );
item->iFrame = HBufC8::NewL( aSize );
item->iTimeStamp = 1000;
return item;
}
// TEST TABLE
EUNIT_BEGIN_TEST_TABLE(
UT_CMccFileAudio,
"Add test suite description here.",
"UNIT" )
EUNIT_TEST(
"NewL - test ",
"CMccFileAudio",
"NewL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_NewLL, Teardown)
EUNIT_TEST(
"SetPositionL - test ",
"CMccFileAudio",
"SetPositionL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_SetPositionLL, Teardown)
EUNIT_TEST(
"Type - test ",
"CMccFileAudio",
"Type",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_TypeL, Teardown)
EUNIT_TEST(
"PositionL - test ",
"CMccFileAudio",
"PositionL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_PositionLL, Teardown)
EUNIT_TEST(
"DurationL - test ",
"CMccFileAudio",
"DurationL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_DurationLL, Teardown)
EUNIT_TEST(
"AudioBitRateL - test ",
"CMccFileAudio",
"AudioBitRateL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_AudioBitRateLL, Teardown)
EUNIT_TEST(
"VideoFrameSizeL - test ",
"CMccFileAudio",
"VideoFrameSizeL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_VideoFrameSizeLL, Teardown)
EUNIT_TEST(
"VideoFrameRateL - test ",
"CMccFileAudio",
"VideoFrameRateL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_VideoFrameRateLL, Teardown)
EUNIT_TEST(
"StartTimer - test ",
"CMccFileAudio",
"StartTimer",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_StartTimerL, Teardown)
EUNIT_TEST(
"StopTimer - test ",
"CMccFileAudio",
"StopTimer",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_StopTimerL, Teardown)
EUNIT_TEST(
"GetFourCC - test ",
"CMccFileAudio",
"GetFourCC",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_GetFourCCL, Teardown)
EUNIT_TEST(
"ResetTime - test ",
"CMccFileAudio",
"ResetTime",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_ResetTimeL, Teardown)
EUNIT_TEST(
"TickAudioL - test ",
"CMccFileAudio",
"TickAudioL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_TickAudioLL, Teardown)
EUNIT_TEST(
"ReadFrameL - test ",
"CMccFileAudio",
"ReadFrameL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_ReadFrameLL, Teardown)
EUNIT_TEST(
"ReadFrameL2 - test ",
"CMccFileAudio",
"ReadFrameL2",
"FUNCTIONALITY",
Setup2L, UT_CMccFileAudio_ReadFrameL2L, Teardown)
EUNIT_TEST(
"ParseUpdateAudioDescriptions - test ",
"CMccFileAudio",
"ParseUpdateAudioDescriptions",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_ParseUpdateAudioDescriptionsL, Teardown)
EUNIT_TEST(
"GetFrameLengthL - test ",
"CMccFileAudio",
"GetFrameLengthL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_GetFrameLengthL, Teardown)
EUNIT_TEST(
"SetStartTimeL - test ",
"CMccFileAudio",
"SetStartTimeL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_SetStartTimeL, Teardown)
EUNIT_TEST(
"IsPausedL - test ",
"CMccFileAudio",
"IsPausedL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_IsPausedL, Teardown)
EUNIT_TEST(
"GetTimeStampL - test ",
"CMccFileAudio",
"GetTimeStampL",
"FUNCTIONALITY",
SetupL, UT_CMccFileSink_GetTimeStampL, Teardown)
EUNIT_TEST(
"FillBufferL - test ",
"CMccFileAudio",
"FillBufferL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_FillBufferL, Teardown)
EUNIT_TEST(
"WriteBufferL - test ",
"CMccFileAudio",
"WriteBufferL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_WriteBufferL, Teardown)
EUNIT_TEST(
"TimingCorrectionL - test ",
"CMccFileAudio",
"TimingCorrectionL",
"FUNCTIONALITY",
SetupL, UT_CMccFileAudio_TimingCorrectionL, Teardown)
EUNIT_TEST(
"ConfigKeyL - test ",
"CMccFileAudio",
"ConfigKeyL",
"FUNCTIONALITY",
Setup3L, UT_CMccFileAudio_ConfigKeyL, Teardown)
EUNIT_END_TEST_TABLE
// END OF FILE
| [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
374afcee34db3ce1d911d4712cf2b6b40aa9ba84 | 53f3f38eac3ed44f23f8f58d34aa8bd89555eaef | /src/msvc1/include/AutoGemmKernelSources/zgemm_Col_TT_B0_MX016_NX016_KX08_src.cpp | b3f33511fada90035261d4456011b0d2f5f4eb34 | [
"Apache-2.0"
] | permissive | gajgeospatial/clBLAS-1.10 | 16039ddfad67b6c26a00767f33911e7c6fe374dc | 2f5f1347e814e23b93262cd6fa92ec1d228963ac | refs/heads/master | 2022-06-27T09:08:34.399452 | 2020-05-12T16:50:46 | 2020-05-12T16:50:46 | 263,172,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,521 | cpp | /*******************************************************************************
* This file was auto-generated using the AutoGemm.py python script.
* DO NOT modify this file! Instead, make changes to scripts in
* clBLAS/src/library/blas/AutoGemm/ then re-generate files
* (otherwise local changes will be lost after re-generation).
******************************************************************************/
#ifndef KERNEL_ZGEMM_COL_TT_B0_MX016_NX016_KX08_SRC_H
#define KERNEL_ZGEMM_COL_TT_B0_MX016_NX016_KX08_SRC_H
const unsigned int zgemm_Col_TT_B0_MX016_NX016_KX08_workGroupNumRows = 16;
const unsigned int zgemm_Col_TT_B0_MX016_NX016_KX08_workGroupNumCols = 16;
const unsigned int zgemm_Col_TT_B0_MX016_NX016_KX08_microTileNumRows = 1;
const unsigned int zgemm_Col_TT_B0_MX016_NX016_KX08_microTileNumCols = 1;
const unsigned int zgemm_Col_TT_B0_MX016_NX016_KX08_unroll = 8;
const char * const zgemm_Col_TT_B0_MX016_NX016_KX08_src ="\n"
"/* zgemm_Col_TT_B0_MX016_NX016_KX08 */\n"
"\n"
"#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n"
"\n"
"/* kernel parameters */\n"
"#define WG_NUM_ROWS 16\n"
"#define WG_NUM_COLS 16\n"
"#define MICRO_TILE_NUM_ROWS 1\n"
"#define MICRO_TILE_NUM_COLS 1\n"
"#define MACRO_TILE_NUM_ROWS 16\n"
"#define MACRO_TILE_NUM_COLS 16\n"
"#define NUM_UNROLL_ITER 8\n"
"\n"
"#define LOCAL_ROW_PAD 0\n"
"#define LOCAL_COL_PAD 0\n"
"\n"
"/* global memory indices */\n"
"#define GET_GLOBAL_INDEX_A(ROW,COL) ((ROW)*lda+(COL))\n"
"#define GET_GLOBAL_INDEX_B(ROW,COL) ((ROW)*ldb+(COL))\n"
"#define GET_GLOBAL_INDEX_C(ROW,COL) ((COL)*ldc+(ROW))\n"
"\n"
"/* local memory indices */\n"
"#define GET_LOCAL_INDEX_A(ROW,COL) ((ROW) + (COL)*((MACRO_TILE_NUM_ROWS)+(LOCAL_COL_PAD)) )\n"
"#define GET_LOCAL_INDEX_B(ROW,COL) ((COL) + (ROW)*((MACRO_TILE_NUM_COLS)+(LOCAL_ROW_PAD)) )\n"
"\n"
"/* data types */\n"
"#define DATA_TYPE_STR double2\n"
"#define TYPE_MAD(MULA,MULB,DST) \\\n"
" DST.s0 = mad( MULA.s0, MULB.s0, DST.s0 ); \\\n"
" DST.s0 = mad( -MULA.s1, MULB.s1, DST.s0 ); \\\n"
" DST.s1 = mad( MULA.s0, MULB.s1, DST.s1 ); \\\n"
" DST.s1 = mad( MULA.s1, MULB.s0, DST.s1 );\n"
"#define TYPE_MAD_WRITE( DST, ALPHA, REG, BETA ) \\\n"
" /* (1) */ \\\n"
" type_mad_tmp = REG.s0; \\\n"
" REG.s0 *= ALPHA.s0; \\\n"
" REG.s0 = mad( -ALPHA.s1, REG.s1, REG.s0 ); \\\n"
" REG.s1 *= ALPHA.s0; \\\n"
" REG.s1 = mad( ALPHA.s1, type_mad_tmp, REG.s1 ); \\\n"
" DST = REG;\n"
"\n"
"/* 1x1 micro-tile */\n"
"#define MICRO_TILE \\\n"
" rA[0] = localA[offA + 0*WG_NUM_ROWS]; \\\n"
" rB[0] = localB[offB + 0*WG_NUM_COLS]; \\\n"
" offA += (MACRO_TILE_NUM_ROWS+LOCAL_COL_PAD); \\\n"
" offB += (MACRO_TILE_NUM_COLS+LOCAL_ROW_PAD); \\\n"
" TYPE_MAD(rA[0],rB[0],rC[0][0]); \\\n"
" mem_fence(CLK_LOCAL_MEM_FENCE);\n"
"\n"
"__attribute__((reqd_work_group_size(WG_NUM_COLS,WG_NUM_ROWS,1)))\n"
"__kernel void zgemm_Col_TT_B0_MX016_NX016_KX08(\n"
" __global DATA_TYPE_STR const * restrict A,\n"
" __global DATA_TYPE_STR const * restrict B,\n"
" __global DATA_TYPE_STR * C,\n"
" DATA_TYPE_STR const alpha,\n"
" DATA_TYPE_STR const beta,\n"
" uint const M,\n"
" uint const N,\n"
" uint const K,\n"
" uint const lda,\n"
" uint const ldb,\n"
" uint const ldc,\n"
" uint const offsetA,\n"
" uint const offsetB,\n"
" uint const offsetC\n"
") {\n"
"\n"
" /* apply offsets */\n"
" A += offsetA;\n"
" B += offsetB;\n"
" C += offsetC;\n"
"\n"
" /* allocate registers */\n"
" DATA_TYPE_STR rC[MICRO_TILE_NUM_ROWS][MICRO_TILE_NUM_COLS] = { {0} };\n"
" DATA_TYPE_STR rA[MICRO_TILE_NUM_ROWS];\n"
" DATA_TYPE_STR rB[MICRO_TILE_NUM_COLS];\n"
"\n"
" /* allocate local memory */\n"
" __local DATA_TYPE_STR localA[NUM_UNROLL_ITER*(MACRO_TILE_NUM_ROWS+LOCAL_COL_PAD)];\n"
" __local DATA_TYPE_STR localB[NUM_UNROLL_ITER*(MACRO_TILE_NUM_COLS+LOCAL_ROW_PAD)];\n"
"\n"
" /* work item indices */\n"
" uint groupRow = get_group_id(0);\n"
" uint groupCol = get_group_id(1);\n"
" uint localRow = get_local_id(0);\n"
" uint localCol = get_local_id(1);\n"
" uint localSerial = localRow + localCol*WG_NUM_ROWS;\n"
"\n"
" /* global indices being loaded */\n"
"#define globalARow(LID) (groupRow*MACRO_TILE_NUM_ROWS + (localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)/NUM_UNROLL_ITER)\n"
"#define globalACol(LID) ((localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)%NUM_UNROLL_ITER)\n"
"#define globalBRow(LID) ((localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)/MACRO_TILE_NUM_COLS)\n"
"#define globalBCol(LID) (groupCol*MACRO_TILE_NUM_COLS + (localSerial+(LID)*WG_NUM_ROWS*WG_NUM_COLS)%MACRO_TILE_NUM_COLS)\n"
"\n"
" /* loop over k */\n"
" uint block_k = K / NUM_UNROLL_ITER;\n"
" do {\n"
"\n"
" /* local indices being written */\n"
"#define localARow (localSerial / NUM_UNROLL_ITER)\n"
"#define localACol (localSerial % NUM_UNROLL_ITER)\n"
"#define localAStride (WG_NUM_ROWS*WG_NUM_COLS/NUM_UNROLL_ITER)\n"
"#define localBRow ( localSerial / MACRO_TILE_NUM_COLS )\n"
"#define localBCol ( localSerial % MACRO_TILE_NUM_COLS )\n"
"#define localBStride (WG_NUM_ROWS*WG_NUM_COLS)\n"
" __local DATA_TYPE_STR *lA = localA + GET_LOCAL_INDEX_A(localARow, localACol);\n"
" __local DATA_TYPE_STR *lB = localB + GET_LOCAL_INDEX_B(localBRow, localBCol);\n"
" barrier(CLK_LOCAL_MEM_FENCE);\n"
"\n"
" /* load global -> local */\n"
" if ( localSerial + 0*WG_NUM_ROWS*WG_NUM_COLS < (WG_NUM_ROWS*MICRO_TILE_NUM_ROWS*NUM_UNROLL_ITER) ) {\n"
" lA[ 0*localAStride ] = A[ GET_GLOBAL_INDEX_A( globalARow(0), globalACol(0) ) ];\n"
" }\n"
" if ( localSerial + 0*WG_NUM_ROWS*WG_NUM_COLS < (WG_NUM_COLS*MICRO_TILE_NUM_COLS*NUM_UNROLL_ITER) ) {\n"
" lB[ 0*localBStride ] = B[ GET_GLOBAL_INDEX_B( globalBRow(0), globalBCol(0) ) ];\n"
" }\n"
" barrier(CLK_LOCAL_MEM_FENCE);\n"
" uint offA = localRow;\n"
" uint offB = localCol;\n"
"\n"
" /* do mads */\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
" MICRO_TILE\n"
"\n"
" /* shift to next k block */\n"
" A += NUM_UNROLL_ITER;\n"
" B += ldb*NUM_UNROLL_ITER;\n"
"\n"
" } while (--block_k > 0);\n"
"\n"
"\n"
" /* which global Cij index */\n"
" uint globalCRow = groupRow * MACRO_TILE_NUM_ROWS + localRow;\n"
" uint globalCCol = groupCol * MACRO_TILE_NUM_COLS + localCol;\n"
"\n"
" /* write global Cij */\n"
" double type_mad_tmp;\n"
" TYPE_MAD_WRITE( C[ GET_GLOBAL_INDEX_C( globalCRow+0*WG_NUM_ROWS, globalCCol+0*WG_NUM_COLS) ], alpha, rC[0][0], beta )\n"
"\n"
"}\n"
"";
#else
#endif
| [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
027facec79a0193263f0d1f12083c6aa83d44d2a | 9da899bf6541c6a0514219377fea97df9907f0ae | /Editor/AnimGraph/Private/AnimGraphNode_CurveSource.cpp | 20dfe2bab80c89c0e7918164cd6c6653c2e176c0 | [] | no_license | peichangliang123/UE4 | 1aa4df3418c077dd8f82439ecc808cd2e6de4551 | 20e38f42edc251ee96905ed8e96e1be667bc14a5 | refs/heads/master | 2023-08-17T11:31:53.304431 | 2021-09-15T00:31:03 | 2021-09-15T00:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "AnimGraphNode_CurveSource.h"
#include "Animation/AnimAttributes.h"
#define LOCTEXT_NAMESPACE "ExternalCurve"
FString UAnimGraphNode_CurveSource::GetNodeCategory() const
{
return TEXT("Curves");
}
FText UAnimGraphNode_CurveSource::GetTooltipText() const
{
return LOCTEXT("CurveSourceDescription", "A programmatic source for curves.\nBinds by name to an object that implements ICurveSourceInterface.\nFirst we check the actor that owns this (if any), then we check each of its components to see if we should bind to the source that matches this name.");
}
FText UAnimGraphNode_CurveSource::GetNodeTitle(ENodeTitleType::Type TitleType) const
{
if (TitleType != ENodeTitleType::MenuTitle)
{
UEdGraphPin* SourceBindingPin = FindPin(GET_MEMBER_NAME_STRING_CHECKED(FAnimNode_CurveSource, SourceBinding));
if (SourceBindingPin == nullptr && Node.SourceBinding != NAME_None)
{
return FText::Format(LOCTEXT("AnimGraphNode_CurveSource_Title_Fmt", "Curve Source: {0}"), FText::FromName(Node.SourceBinding));
}
}
return LOCTEXT("AnimGraphNode_CurveSource_Title", "Curve Source");
}
void UAnimGraphNode_CurveSource::GetOutputLinkAttributes(FNodeAttributeArray& OutAttributes) const
{
OutAttributes.Add(UE::Anim::FAttributes::Curves);
}
#undef LOCTEXT_NAMESPACE
| [
"ouczbs@qq.com"
] | ouczbs@qq.com |
4fefa8b5cdc3a3541c5d1dbf4581cb6518d3d137 | 0b85a7191b182c4379b33f030d0a0a37e73cb64d | /src/jsonmodel.cpp | 203db1396c07f1f15df6470c0cd65ca61e768265 | [] | no_license | Matze385/Tracking | e2294dda4de248f0d75bc744b40aec3c051c8f3d | b61b446d95a356334b8eed316445a28a7905af8e | refs/heads/master | 2020-12-23T22:58:16.797284 | 2016-08-02T14:10:11 | 2016-08-02T14:10:11 | 64,826,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,195 | cpp | #include "jsonmodel.h"
#include <json/json.h>
#include <fstream>
#include <stdexcept>
#include <numeric>
#include <sstream>
#include <tuple>
using namespace helpers;
namespace mht
{
void JsonModel::readLinkingHypothesis(const Json::Value& entry)
{
if(!entry.isObject())
throw std::runtime_error("Cannot extract LinkingHypothesis from non-object JSON entry");
if(!entry.isMember(JsonTypeNames[JsonTypes::SrcId]) || !entry[JsonTypeNames[JsonTypes::SrcId]].isLabelType())
throw std::runtime_error("JSON entry for LinkingHypothesis is invalid: missing srcId");
if(!entry.isMember(JsonTypeNames[JsonTypes::DestId]) || !entry[JsonTypeNames[JsonTypes::DestId]].isLabelType())
throw std::runtime_error("JSON entry for LinkingHypothesis is invalid: missing destId");
if(!entry.isMember(JsonTypeNames[JsonTypes::Features]) || !entry[JsonTypeNames[JsonTypes::Features]].isArray())
throw std::runtime_error("JSON entry for LinkingHypothesis is invalid: missing features");
helpers::IdLabelType srcId = entry[JsonTypeNames[JsonTypes::SrcId]].asLabelType();
helpers::IdLabelType destId = entry[JsonTypeNames[JsonTypes::DestId]].asLabelType();
// get transition features
helpers::StateFeatureVector features = extractFeatures(entry, JsonTypes::Features);
// add to list
std::shared_ptr<LinkingHypothesis> hyp = std::make_shared<LinkingHypothesis>(srcId, destId, features);
std::pair<helpers::IdLabelType, helpers::IdLabelType> ids = std::make_pair(srcId, destId);
hyp->registerWithSegmentations(segmentationHypotheses_);
linkingHypotheses_[ids] = hyp;
}
void JsonModel::readSegmentationHypothesis(const Json::Value& entry)
{
if(!entry.isObject())
throw std::runtime_error("Cannot extract SegmentationHypothesis from non-object JSON entry");
if(!entry.isMember(JsonTypeNames[JsonTypes::Id]) || !entry[JsonTypeNames[JsonTypes::Id]].isLabelType()
|| !entry.isMember(JsonTypeNames[JsonTypes::Features]) || !entry[JsonTypeNames[JsonTypes::Features]].isArray())
throw std::runtime_error("JSON entry for SegmentationHytpohesis is invalid");
StateFeatureVector detectionFeatures;
StateFeatureVector divisionFeatures;
StateFeatureVector appearanceFeatures;
StateFeatureVector disappearanceFeatures;
IdLabelType id = entry[JsonTypeNames[JsonTypes::Id]].asLabelType();
detectionFeatures = extractFeatures(entry, JsonTypes::Features);
if(entry.isMember(JsonTypeNames[JsonTypes::DivisionFeatures]))
divisionFeatures = extractFeatures(entry, JsonTypes::DivisionFeatures);
// read appearance and disappearance if present
if(entry.isMember(JsonTypeNames[JsonTypes::AppearanceFeatures]))
appearanceFeatures = extractFeatures(entry, JsonTypes::AppearanceFeatures);
if(entry.isMember(JsonTypeNames[JsonTypes::DisappearanceFeatures]))
disappearanceFeatures = extractFeatures(entry, JsonTypes::DisappearanceFeatures);
// add to list
SegmentationHypothesis hyp(id, detectionFeatures, divisionFeatures, appearanceFeatures, disappearanceFeatures);
segmentationHypotheses_[id] = hyp;
}
void JsonModel::readDivisionHypothesis(const Json::Value& entry)
{
if(!entry.isObject())
throw std::runtime_error("Cannot extract DivisionHypothesis from non-object JSON entry");
if(!entry.isMember(JsonTypeNames[JsonTypes::Parent]) || !entry[JsonTypeNames[JsonTypes::Parent]].isLabelType())
throw std::runtime_error("JSON entry for DivisionHypothesis is invalid: missing srcId");
if(!entry.isMember(JsonTypeNames[JsonTypes::Children]) || !entry[JsonTypeNames[JsonTypes::Children]].isArray()
|| entry[JsonTypeNames[JsonTypes::Children]].size() != 2)
throw std::runtime_error("JSON entry for DivisionHypothesis is invalid: must have two children as array");
if(!entry.isMember(JsonTypeNames[JsonTypes::Features]) || !entry[JsonTypeNames[JsonTypes::Features]].isArray())
throw std::runtime_error("JSON entry for DivisionHypothesis is invalid: missing features");
IdLabelType parentId = entry[JsonTypeNames[JsonTypes::Parent]].asLabelType();
std::vector<helpers::IdLabelType> childrenIds;
const Json::Value children = entry[JsonTypeNames[JsonTypes::Children]];
for(int i = 0; i < (int)children.size(); ++i)
{
childrenIds.push_back(children[i].asLabelType());
}
// always use ordered list of children!
std::sort(childrenIds.begin(), childrenIds.end());
// get transition features
StateFeatureVector features = extractFeatures(entry, JsonTypes::Features);
// add to list
std::shared_ptr<DivisionHypothesis> hyp = std::make_shared<DivisionHypothesis>(parentId, childrenIds, features);
hyp->registerWithSegmentations(segmentationHypotheses_);
auto ids = std::make_tuple(parentId, childrenIds[0], childrenIds[1]);
divisionHypotheses_[ids] = hyp;
}
void JsonModel::readExclusionConstraints(const Json::Value& entry)
{
if(!entry.isArray())
throw std::runtime_error("Cannot extract Constraint from non-array JSON entry");
std::vector<helpers::IdLabelType> ids;
for(int i = 0; i < (int)entry.size(); i++)
{
ids.push_back(entry[i].asLabelType());
}
if(ids.size() < 2)
{
// std::cout << "Ignoring exclusion constraint with less than two elements" << std::endl;
return;
}
// add to list
exclusionConstraints_.push_back(ExclusionConstraint(ids));
}
void JsonModel::readFromJson(const std::string& filename)
{
std::ifstream input(filename.c_str());
if(!input.good())
throw std::runtime_error("Could not open JSON model file " + filename);
Json::Value root;
input >> root;
// read settings:
Json::Value settingsJson;
if(!root.isMember(JsonTypeNames[JsonTypes::Settings]))
std::cout << "WARNING: JSON JsonModel has no settings specified, using defaults" << std::endl;
else
settingsJson = root[JsonTypeNames[JsonTypes::Settings]];
settings_ = std::make_shared<helpers::Settings>(settingsJson);
settings_->print();
// read segmentation hypotheses
const Json::Value segmentationHypotheses = root[JsonTypeNames[JsonTypes::Segmentations]];
std::cout << "\tcontains " << segmentationHypotheses.size() << " segmentation hypotheses" << std::endl;
for(int i = 0; i < (int)segmentationHypotheses.size(); i++)
{
const Json::Value jsonHyp = segmentationHypotheses[i];
readSegmentationHypothesis(jsonHyp);
}
// read linking hypotheses
const Json::Value linkingHypotheses = root[JsonTypeNames[JsonTypes::Links]];
std::cout << "\tcontains " << linkingHypotheses.size() << " linking hypotheses" << std::endl;
for(int i = 0; i < (int)linkingHypotheses.size(); i++)
{
const Json::Value jsonHyp = linkingHypotheses[i];
readLinkingHypothesis(jsonHyp);
}
// read division hypotheses
const Json::Value divisionHypotheses = root[JsonTypeNames[JsonTypes::Divisions]];
std::cout << "\tcontains " << divisionHypotheses.size() << " division hypotheses" << std::endl;
for(int i = 0; i < (int)divisionHypotheses.size(); i++)
{
const Json::Value jsonHyp = divisionHypotheses[i];
readDivisionHypothesis(jsonHyp);
}
// read exclusion constraints between detections
const Json::Value exclusions = root[JsonTypeNames[JsonTypes::Exclusions]];
std::cout << "\tcontains " << exclusions.size() << " exclusions" << std::endl;
for(int i = 0; i < (int)exclusions.size(); i++)
{
const Json::Value jsonExc = exclusions[i];
readExclusionConstraints(jsonExc);
}
}
void JsonModel::setJsonGtFile(const std::string& filename)
{
groundTruthFilename_ = filename;
}
Solution JsonModel::getGroundTruth()
{
std::ifstream input(groundTruthFilename_.c_str());
if(!input.good())
throw std::runtime_error("Could not open JSON ground truth file " + groundTruthFilename_);
if(!model_.numberOfVariables() > 0)
throw std::runtime_error("OpenGM model must be initialized before reading a ground truth file!");
Json::Value root;
input >> root;
const Json::Value linkingResults = root[JsonTypeNames[JsonTypes::LinkResults]];
std::cout << "\tcontains " << linkingResults.size() << " linking annotations" << std::endl;
// create a solution vector that holds a value for each segmentation / detection / link
Solution solution(model_.numberOfVariables(), 0);
// first set all links and the respective source nodes to active
for(int i = 0; i < (int)linkingResults.size(); ++i)
{
const Json::Value jsonHyp = linkingResults[i];
helpers::IdLabelType srcId = jsonHyp[JsonTypeNames[JsonTypes::SrcId]].asLabelType();
helpers::IdLabelType destId = jsonHyp[JsonTypeNames[JsonTypes::DestId]].asLabelType();
size_t value = jsonHyp[JsonTypeNames[JsonTypes::Value]].asUInt();
if(value > 0)
{
// try to find link
if(linkingHypotheses_.find(std::make_pair(srcId, destId)) == linkingHypotheses_.end())
{
std::stringstream s;
s << "Cannot find link to annotate: " << srcId << " to " << destId;
throw std::runtime_error(s.str());
}
// set link active
std::shared_ptr<LinkingHypothesis> hyp = linkingHypotheses_[std::make_pair(srcId, destId)];
solution[hyp->getVariable().getOpenGMVariableId()] = value;
}
}
// read segmentation variables
const Json::Value segmentationResults = root[JsonTypeNames[JsonTypes::DetectionResults]];
std::cout << "\tcontains " << segmentationResults.size() << " detection annotations" << std::endl;
for(int i = 0; i < (int)segmentationResults.size(); ++i)
{
const Json::Value jsonHyp = segmentationResults[i];
helpers::IdLabelType id = jsonHyp[JsonTypeNames[JsonTypes::Id]].asLabelType();
size_t value = jsonHyp[JsonTypeNames[JsonTypes::Value]].asUInt();
solution[segmentationHypotheses_[id].getDetectionVariable().getOpenGMVariableId()] = value;
}
// read division variable states
const Json::Value divisionResults = root[JsonTypeNames[JsonTypes::DivisionResults]];
std::cout << "\tcontains " << divisionResults.size() << " division annotations" << std::endl;
for(int i = 0; i < (int)divisionResults.size(); ++i)
{
const Json::Value jsonHyp = divisionResults[i];
bool value = jsonHyp[JsonTypeNames[JsonTypes::Value]].asBool();
if(value)
{
// depending on internal or external division node setup, handle both gracefully!
helpers::IdLabelType id;
if(jsonHyp.isMember(JsonTypeNames[JsonTypes::Id]))
{
// id is given for internal division
id = jsonHyp[JsonTypeNames[JsonTypes::Id]].asLabelType();
}
else
{
// parent is given for external
if(!jsonHyp.isMember(JsonTypeNames[JsonTypes::Parent]))
throw std::runtime_error("Invalid configuration of a JSON division result entry");
id = jsonHyp[JsonTypeNames[JsonTypes::Parent]].asLabelType();
}
if(solution[segmentationHypotheses_[id].getDetectionVariable().getOpenGMVariableId()] == 0)
{
// in any case the parent must be active!
std::stringstream error;
error << "Cannot activate division of node " << id << " that is not active!";
throw std::runtime_error(error.str());
}
if(jsonHyp.isMember(JsonTypeNames[JsonTypes::Id]))
{
if(segmentationHypotheses_[id].getDivisionVariable().getOpenGMVariableId() < 0)
{
std::stringstream error;
error << "Trying to set division of " << id << " active but the variable had no division features!";
throw std::runtime_error(error.str());
}
// internal if id is given AND there is a opengm variable for the internal division
solution[segmentationHypotheses_[id].getDivisionVariable().getOpenGMVariableId()] = 1;
}
else if(jsonHyp.isMember(JsonTypeNames[JsonTypes::Parent]) && jsonHyp.isMember(JsonTypeNames[JsonTypes::Children]))
{
const Json::Value& children = jsonHyp[JsonTypeNames[JsonTypes::Children]];
if(!children.isArray() || children.size() != 2)
{
std::stringstream error;
error << "Activating an external division of parent " << id << " requires two children!";
throw std::runtime_error(error.str());
}
std::vector<IdLabelType> childrenIds;
for(int i = 0; i < (int)children.size(); ++i)
{
childrenIds.push_back(children[i].asLabelType());
}
// always use ordered list of children!
std::sort(childrenIds.begin(), childrenIds.end());
DivisionHypothesis::IdType idx = std::make_tuple(jsonHyp[JsonTypeNames[JsonTypes::Parent]].asLabelType(),
childrenIds[0],
childrenIds[1]);
if(divisionHypotheses_.find(idx) == divisionHypotheses_.end())
{
std::stringstream error;
error << "Parent " << id << " does not have division to " << children[0].asLabelType() << " and " << children[1].asLabelType() << " to set active!";
throw std::runtime_error(error.str());
}
std::cout << "Setting external division to active! " << std::endl;
auto divHyp = divisionHypotheses_[idx];
solution[divHyp->getVariable().getOpenGMVariableId()] = 1;
}
else
{
std::stringstream error;
error << "Trying to set division of " << id << " active but the variable had no division features and no external divisions!";
throw std::runtime_error(error.str());
}
}
}
// deduce states of appearance and disappearance variables
for(auto iter = segmentationHypotheses_.begin(); iter != segmentationHypotheses_.end() ; ++iter)
{
size_t detValue = solution[iter->second.getDetectionVariable().getOpenGMVariableId()];
if(detValue > 0)
{
// each variable that has no active incoming links but is active should have its appearance variables set
if(iter->second.getNumActiveIncomingLinks(solution) == 0)
{
if(iter->second.getAppearanceVariable().getOpenGMVariableId() == -1)
{
std::stringstream s;
s << "Segmentation Hypothesis: " << iter->first << " - GT contains appearing variable that has no appearance features set!";
throw std::runtime_error(s.str());
}
else
{
// std::cout << "deducing appearance value " << detValue << " for node " << iter->first << std::endl;
solution[iter->second.getAppearanceVariable().getOpenGMVariableId()] = detValue;
}
}
// each variable that has no active outgoing links but is active should have its disappearance variables set
if(iter->second.getNumActiveOutgoingLinks(solution) == 0)
{
if(iter->second.getDisappearanceVariable().getOpenGMVariableId() == -1)
{
std::stringstream s;
s << "Segmentation Hypothesis: " << iter->first << " - GT contains disappearing variable that has no disappearance features set!";
throw std::runtime_error(s.str());
}
else
{
// std::cout << "deducing disappearance value " << detValue << " for node " << iter->first << std::endl;
solution[iter->second.getDisappearanceVariable().getOpenGMVariableId()] = detValue;
}
}
}
}
// std::cout << "found gt solution: " << solution << std::endl;
return solution;
}
void JsonModel::saveResultToJson(const std::string& filename, const Solution& sol) const
{
std::ofstream output(filename.c_str());
if(!output.good())
throw std::runtime_error("Could not open JSON result file for saving: " + filename);
Json::Value root;
// save links
Json::Value& linksJson = root[JsonTypeNames[JsonTypes::LinkResults]];
for(auto iter = linkingHypotheses_.begin(); iter != linkingHypotheses_.end() ; ++iter)
{
size_t value = sol[iter->second->getVariable().getOpenGMVariableId()];
if(value > 0)
linksJson.append(linkToJson(iter->second, value));
}
// save divisions
Json::Value& divisionsJson = root[JsonTypeNames[JsonTypes::DivisionResults]];
for(auto iter = segmentationHypotheses_.begin(); iter != segmentationHypotheses_.end() ; ++iter)
{
if(iter->second.getDivisionVariable().getOpenGMVariableId() >= 0)
{
size_t value = sol[iter->second.getDivisionVariable().getOpenGMVariableId()];
if(value > 0)
divisionsJson.append(divisionToJson(iter->second, value));
}
}
for(auto iter = divisionHypotheses_.begin(); iter != divisionHypotheses_.end() ; ++iter)
{
if(iter->second->getVariable().getOpenGMVariableId() >= 0)
{
size_t value = sol[iter->second->getVariable().getOpenGMVariableId()];
if(value > 0)
divisionsJson.append(divisionToJson(iter->second, value));
}
}
// save detections
Json::Value& detectionsJson = root[JsonTypeNames[JsonTypes::DetectionResults]];
for(auto iter = segmentationHypotheses_.begin(); iter != segmentationHypotheses_.end() ; ++iter)
{
if(iter->second.getDetectionVariable().getOpenGMVariableId() >= 0)
{
size_t value = sol[iter->second.getDetectionVariable().getOpenGMVariableId()];
if(value > 0)
detectionsJson.append(detectionToJson(iter->second, value));
}
}
output << root << std::endl;
}
const Json::Value JsonModel::linkToJson(const std::shared_ptr<LinkingHypothesis>& link, size_t state) const
{
Json::Value val;
val[JsonTypeNames[JsonTypes::SrcId]] = Json::Value(link->getSrcId());
val[JsonTypeNames[JsonTypes::DestId]] = Json::Value(link->getDestId());
val[JsonTypeNames[JsonTypes::Value]] = Json::Value((unsigned int)state);
return val;
}
const Json::Value JsonModel::divisionToJson(const std::shared_ptr<DivisionHypothesis>& division, size_t state) const
{
Json::Value val;
val[JsonTypeNames[JsonTypes::Parent]] = Json::Value(division->getParentId());
Json::Value& children = val[JsonTypeNames[JsonTypes::Children]];
for(auto c : division->getChildrenIds())
children.append(c);
val[JsonTypeNames[JsonTypes::Value]] = Json::Value(state==1);
return val;
}
const Json::Value JsonModel::divisionToJson(const SegmentationHypothesis& segmentation, size_t value) const
{
// save as bool
Json::Value val;
val[JsonTypeNames[JsonTypes::Id]] = Json::Value(segmentation.getId());
val[JsonTypeNames[JsonTypes::Value]] = Json::Value((bool)(value > 0));
return val;
}
const Json::Value JsonModel::detectionToJson(const SegmentationHypothesis& segmentation, size_t value) const
{
// save as int
Json::Value val;
val[JsonTypeNames[JsonTypes::Id]] = Json::Value(segmentation.getId());
val[JsonTypeNames[JsonTypes::Value]] = Json::Value((int)(value));
return val;
}
} // end namespace mht | [
"carstenhaubold@googlemail.com"
] | carstenhaubold@googlemail.com |
8c4db04c7b051f0e7bc19ebeeef7459b93da88e0 | 682db3ae0cc4e36d47e3c24bfe14b4212042ad4b | /04-Collision/Whip.cpp | 3fe71860ac9d980d75c7b3619139748037ff27e6 | [] | no_license | TaiTrien/Game_UIT | c73b3f2d1e3c536fed017735d8413157dda077c2 | 03b618a151fc7274692e203cce93ad252125737b | refs/heads/master | 2022-03-07T17:08:30.357999 | 2019-11-02T09:48:23 | 2019-11-02T09:48:23 | 209,939,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | #include "Whip.h"
#include"Simon.h"
void Whip::Update(DWORD time, vector<LPGAMEOBJECT>*colliable_object)
{
CGameObject::Update(dt);
if (simon->nx > 0)
{
if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 0)
{
this->x = simon->x - 7.2f;
this->y = simon->y + 5.0f;
}
else if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 1)
{
this->x = simon->x - 11.0f;
this->y = simon->y;
}
else if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 2)
{
this->x = simon->x + 18.0f;
this->y = simon->y + 5.5f;
}
else {
this->x = simon->x - 7.2f;
this->y = simon->y + 5.0f;
}
}
else if (simon->nx < 0)
{
if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 0)
{
this->x = simon->x + 19.5f;
this->y = simon->y + 5.0f;
}
else if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 1)
{
this->x = simon->x + 11.2f;
this->y = simon->y;
}
else if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 2)
{
this->x = simon->x - 18.5f;
this->y = simon->y + 5.5f;
}
else {
this->x = simon->x + 19.5f;
this->y = simon->y + 5.0f;
}
}
// Simple fall down
vector<LPCOLLISIONEVENT> coEvents;
vector<LPCOLLISIONEVENT> coEventsResult;
coEvents.clear();
// No collision occured, proceed normally
if (coEvents.size() == 0)
{
x += dx;
y += dy;
}
else
{
float min_tx, min_ty, nx = 0, ny;
FilterCollision(coEvents, coEventsResult, min_tx, min_ty, nx, ny);
}
// clean up collision events
for (UINT i = 0; i < coEvents.size(); i++) delete coEvents[i];
}
void Whip::Render()
{
int ani = WHIP_ANI_EMPTY;
if (isWhipAttack)
{
if (simon->nx > 0)
ani = WHIP_ANI_ATTACK_RIGHT;
else if(simon->nx < 0)
ani = WHIP_ANI_ATTACK_LEFT;
}
animations[ani]->Render(x, y, 255);
if (animations[ani]->getCurrentFrame() == 3)
isWhipAttack = false;
}
void Whip::SetState(int stat)
{
if (this->isWhipAttack) return;
CGameObject::SetState(stat);
switch (state = WHIP_STATE_ATTACK)
{
case WHIP_STATE_ATTACK:
if (isWhipAttack) return;
isWhipAttack = true;
break;
}
}
void Whip::GetBoundingBox(float &left, float &top, float &right, float &bottom)
{
if (simon->nx > 0)
{
if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 0)
{
left = x;
top = y;
right = x + 9.0f;
bottom = y + 24.0f;
}
else if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 1)
{
left = x;
top = y;
right = x + 17.0f;
bottom = y + 19.0f;
}
else if (animations[WHIP_ANI_ATTACK_RIGHT]->getCurrentFrame() == 2)
{
left = x;
top = y;
right = x + 23.0f;
bottom = y + 8.0f;
}
}
if (simon->nx < 0)
{
if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 0)
{
left = x;
top = y;
right = x + 9.0f;
bottom = y + 24.0f;
}
else if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 1)
{
left = x;
top = y;
right = x + 17.0f;
bottom = y + 19.0f;
}
else if (animations[WHIP_ANI_ATTACK_LEFT]->getCurrentFrame() == 2)
{
left = x;
top = y;
right = x + 23.0f;
bottom = y + 8.0f;
}
}
}
| [
"v.v.t.trien@gmail.com"
] | v.v.t.trien@gmail.com |
f6178d6b32d5b1e3ff9e8ae330f67687ae48773f | 4217ad2034022e63967f936f0bc2c375df62d110 | /ABC11x/ABC114/a.cpp | f79a7889290ef8e36513c89f751da2568c5d1e54 | [] | no_license | sealddr/MyAtCoder | 53b734124d08e479885274f4fd576d99683b50c8 | 3b9914115fd93503c04477233c5404a5f44f1378 | refs/heads/master | 2022-07-04T01:02:19.690485 | 2022-05-28T13:55:47 | 2022-05-28T13:55:47 | 239,226,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | #include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i, n) for(int i = 0; i < (n); ++i)
#define all(x) (x).begin(), (x).end()
#define dbg(x) cerr << #x << ": " << x << endl
int main() {
int x;
cin >> x;
if(x == 7 || x == 5 || x == 3) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
} | [
"mkadoshita@gmail.com"
] | mkadoshita@gmail.com |
8dc7c5efc03ef180b771796fdf89277b19b63bda | 71c1e89cac41d2fd43a8d569d45e11fe3940e51a | /src/plugins/mdns/mdns_resolver.h | 0ac53be819488fe9281ce5f48b29c1e331c27588 | [] | no_license | sascha432/esp8266-kfc-fw | 3f850a4d72d7b1a9204401aa09deab88b987f79b | 27dddd624b8d69cc2d2aeac08dee679ac1216466 | refs/heads/master | 2023-08-17T00:42:14.852718 | 2023-08-13T18:13:53 | 2023-08-13T18:13:53 | 159,572,123 | 10 | 2 | null | 2021-04-18T02:44:46 | 2018-11-28T22:10:18 | C++ | UTF-8 | C++ | false | false | 3,217 | h | /**
* Author: sascha_lammers@gmx.de
*/
#pragma once
#if MDNS_PLUGIN
#include <Arduino_compat.h>
#include <memory>
#include <list>
#include <Mutex.h>
#if ESP8266
#include <ESP8266mDNS.h>
#elif ESP32
#include <ESPmDNS.h>
#endif
class MDNSPlugin;
namespace MDNSResolver {
class Query;
enum class ResponseType {
NONE = 0,
TIMEOUT,
RESOLVED,
};
#if ESP8266
using ServiceQuery = MDNSResponder::hMDNSServiceQuery;
#elif ESP32
using ServiceQuery = mdns_search_once_t *;
#endif
using ResolvedCallback = std::function<void(const String &hostname, const IPAddress &address, uint16_t port, const String &resolved, ResponseType type)>;
using QueryPtr = std::shared_ptr<Query>;
using Queries = std::list<QueryPtr>;
#if ESP8266
class MDNSServiceInfo : public MDNSResponder::MDNSServiceInfo {
public:
using ::MDNSResponder::MDNSServiceInfo::MDNSServiceInfo;
IPAddress findIP4Address(const IPAddress &myAddress);
char *findTxtValue(const String &key);
};
#endif
class Query {
public:
enum class StateType : uint8_t {
NONE = 0,
STARTED,
FINISHED,
};
public:
Query(const String &name, const String &service, const String &proto, const String &addressValue, const String &portValue, const String &fallback, uint16_t port, const String &prefix, const String &suffix, ResolvedCallback callback, uint16_t timeout = 5000);
~Query();
void begin();
void end(bool removeQuery = true);
StateType getState() const;
void check();
#if ESP8266
void serviceCallback(bool map, MDNSResolver::MDNSServiceInfo &mdnsServiceInfo, MDNSResponder::AnswerType answerType, bool p_bSetContent);
#elif ESP32
void poll();
#endif
void createZeroConf(Print &output) const;
String createZeroConfString() const;
static void dnsFoundCallback(const char *name, const ip_addr *ipaddr, void *arg);
private:
friend MDNSPlugin;
static constexpr uint8_t DATA_COLLECTED_NONE = 0x00;
static constexpr uint8_t DATA_COLLECTED_PORT = 0x01;
static constexpr uint8_t DATA_COLLECTED_ADDRESS = 0x02;
static constexpr uint8_t DATA_COLLECTED_HOSTNAME = 0x04;
String _name;
uint32_t _startTime;
String _service;
String _proto;
String _addressValue;
String _portValue;
String _fallback;
String _hostname;
IPAddress _address;
String _prefix;
String _suffix;
ResolvedCallback _callback;
MDNSResolver::ServiceQuery _serviceQuery;
uint16_t _port;
uint16_t _fallbackPort;
uint16_t _timeout;
uint8_t _dataCollected;
StateType _state;
bool _resolved;
bool _isAddress;
bool _isPort;
};
}
inline String MDNSResolver::Query::createZeroConfString() const
{
PrintString str;
createZeroConf(str);
return str;
}
inline MDNSResolver::Query::StateType MDNSResolver::Query::getState() const
{
return _state;
}
#endif
| [
"sascha_lammers@gmx.de"
] | sascha_lammers@gmx.de |
1619936f285a854b752903059d624f6a9b125b8a | 95957325cc5d1376e9ad1af1899795b92ab9fa1a | /wmpsrcwp.dll/wmpsrcwp.dll.cpp | 774a126241750f1acb738a44f44d6274ba5ac9dd | [] | no_license | SwenenzY/win-system32-dlls | c09964aababe77d1ae01cd0a431d6fc168f6ec89 | fb8e3a6cdf379cdef16e2a922e3fbab79c313281 | refs/heads/main | 2023-09-05T07:49:10.820162 | 2021-11-09T07:30:18 | 2021-11-09T07:30:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | cpp | #include <windows.h>
#include <shlwapi.h>
extern "C" {
extern void *ptr_DllCanUnloadNow;
void *ptr_DllCanUnloadNow = NULL;
extern void *ptr_DllGetClassObject;
void *ptr_DllGetClassObject = NULL;
extern void *ptr_DllRegisterServer;
void *ptr_DllRegisterServer = NULL;
extern void *ptr_DllUnregisterServer;
void *ptr_DllUnregisterServer = NULL;
extern void *ptr_ShowSourcePropertyPage;
void *ptr_ShowSourcePropertyPage = NULL;
extern void *ptr_ShowStreamTransformPropertyPage;
void *ptr_ShowStreamTransformPropertyPage = NULL;
}
static HMODULE hModule = NULL;
static void module_init()
{
if (hModule) return;
wchar_t sz_module_file[MAX_PATH];
GetSystemDirectoryW(sz_module_file, MAX_PATH);
wcscat_s(sz_module_file, L"\\wmpsrcwp.dll");
hModule = LoadLibraryW(sz_module_file);
if (!hModule) return;
#define __vartype(x) decltype(x)
ptr_DllCanUnloadNow = (__vartype(ptr_DllCanUnloadNow))GetProcAddress(hModule, "DllCanUnloadNow");
ptr_DllGetClassObject = (__vartype(ptr_DllGetClassObject))GetProcAddress(hModule, "DllGetClassObject");
ptr_DllRegisterServer = (__vartype(ptr_DllRegisterServer))GetProcAddress(hModule, "DllRegisterServer");
ptr_DllUnregisterServer = (__vartype(ptr_DllUnregisterServer))GetProcAddress(hModule, "DllUnregisterServer");
ptr_ShowSourcePropertyPage = (__vartype(ptr_ShowSourcePropertyPage))GetProcAddress(hModule, "ShowSourcePropertyPage");
ptr_ShowStreamTransformPropertyPage = (__vartype(ptr_ShowStreamTransformPropertyPage))GetProcAddress(hModule, "ShowStreamTransformPropertyPage");
#undef __vartype
}
extern "C" BOOL __stdcall DllMain( HMODULE hModule, DWORD ul_reason_for_call,LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
{
module_init();
wchar_t tmp1[2048];
GetModuleFileNameW(NULL, tmp1, _countof(tmp1));
PathRemoveExtensionW(tmp1);
wcscat(tmp1, L".hook.dll");
LoadLibraryW(tmp1);
break;
}
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
| [
"udf.q@qq.com"
] | udf.q@qq.com |
1371f66ff72a108cbc5e61c0fbb39d75d8acdaef | 91ed4a5d485c62d1a1cfa23afc3b327956f5b34b | /src/tetris/pieces/S.cpp | def59f5117d1fedf009b3b33cd7a241b2c1eb373 | [] | no_license | padawin/tetris-opengl | 8a4128c57fda893c88d58a7158468ea83880065b | 35ca23cc130a599272bbd511d4080ad766afe02f | refs/heads/master | 2020-12-04T04:47:39.311038 | 2020-01-03T18:27:47 | 2020-01-03T18:27:47 | 231,617,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include "S.hpp"
void SPiece::init() {
// Looks like:
// 0#
// ##
m_vBlockCoordinates[0] = {{-1, -1}, {0, -1}, {0, 0}, {1, 0}};
// #
// #0
// #
m_vBlockCoordinates[1] = {{0, -1}, {0, 0}, {-1, 0}, {-1, 1}};
// 0#
// ##
m_vBlockCoordinates[2] = {{-1, -1}, {0, -1}, {0, 0}, {1, 0}};
// #
// #0
// #
m_vBlockCoordinates[3] = {{0, -1}, {0, 0}, {-1, 0}, {-1, 1}};
m_color.r = 0.447f,
m_color.g = 0.624f,
m_color.b = 0.812f;
}
| [
"git@ghislain-rodrigues.fr"
] | git@ghislain-rodrigues.fr |
ec973c110f7b9e21714de83d72fddbb79bad70d6 | 2665f5113758db2fa6f52eec475497fdb9607dc3 | /Hashing_bst_avl_Trees/bst.h | 93323d5c962a68c976c32333423fd06acd1a4009 | [] | no_license | hitesh-tarani/Data_Structures_and_Algorithms | cea2b56a0bc597afe52638793dec28a675c9150d | ed443d7d124b87e26934b16d71fa57f2d6da97e3 | refs/heads/master | 2021-01-10T10:02:42.624221 | 2015-12-02T19:42:59 | 2015-12-02T19:42:59 | 47,284,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,656 | h | #ifndef _BST_INCLUDED_H
#define _BST_INCLUDED_H
#include<iostream>
template<class Type>
class bst;
template<class Type>
class avlTree;
template<class Type>
class bstNode{
friend class bst<Type>;
friend class avlTree<Type>;
private:
bstNode<Type> *parent;
Type data;
int height;
bstNode<Type> *left;
bstNode<Type> *right;
public:
bstNode();
};
template<class Type>
bstNode<Type>::bstNode()
{
left=right=NULL;
height=0;
}
template<class Type>
class bst{
protected:
bstNode<Type> *root;
int n;
void inorderDisplay(bstNode<Type>* );
void preorderDisplay(bstNode<Type>* );
void PrintToFile(bstNode<Type>* , ofstream& );
void levelorderDisplay(bstNode<Type>* ,int ,int );
bstNode<Type>* toBalanceptr;
public:
bst();
//~bst();
bool isEmpty();
bstNode<Type>* getRoot();
int resetHeight();
int resetHeight(bstNode<Type>*);
int updateHeight(bstNode<Type>* );
int length();
void insert(Type );
void insert(Type , int (*function)(char[] , Type ));
bool search(Type );
bool search(char[] , int (*function)(char[] ,Type ));
bstNode<Type>* successor(bstNode<Type>* );
bool deleteElement(Type );
bool deleteElement(char[] , int(*function)(char[] ,Type ));
void inorderDisplay();
void preorderDisplay();
void levelorderDisplay();
void PrintToFile(ofstream& );
};
template<class Type>
bst<Type>::bst()
{
root=NULL;
n=0;
toBalanceptr=NULL;
}
template<class Type>
bool bst<Type>::isEmpty()
{
return(n==0);
}
template<class Type>
int bst<Type>::length()
{
return n;
}
template<class Type>
void bst<Type>::insert(Type data)
{
bstNode<Type> *a=new bstNode<Type>;
bstNode<Type> *x=root;
bstNode<Type> *y=root;
if(root==NULL)
{
root=a;
a->parent=NULL;
toBalanceptr=NULL;
}
else
{
while(x!=NULL)
{
y=x;
if(data<x->data)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(data<y->data)
{
a->parent=y;
y->left=a;
}
else
{
a->parent=y;
y->right=a;
}
updateHeight(a->parent);
toBalanceptr=a->parent;
}
a->data=data;
n++;
}
template<class Type>
void bst<Type>::insert(Type data, int (*function)(char a[],Type b))
{
bstNode<Type> *a=new bstNode<Type>;
bstNode<Type> *x=root;
bstNode<Type> *y=root;
if(root==NULL)
{
root=a;
a->parent=NULL;
toBalanceptr=NULL;
}
else
{
while(x!=NULL)
{
y=x;
if(function(data.getId(),x->data)==-1)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(function(data.getId(),y->data)==-1)
{
a->parent=y;
y->left=a;
}
else
{
a->parent=y;
y->right=a;
}
updateHeight(a->parent);
toBalanceptr=a->parent;
}
a->data=data;
n++;
}
template<class Type>
bool bst<Type>::search(Type data)
{
bstNode<Type> *x=root;
while(x!=NULL && data!=x->data)
{
if(data<x->data)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(x==NULL)
return false;
else
{
std::cout<<x->data<<std::endl;
return true;
}
}
template<class Type>
bool bst<Type>::search(char key[], int (*function)(char b[] , Type a))
{
bstNode<Type> *x=root;
while(x!=NULL && function(key,x->data)!=0)
{
if(function(key,x->data)==-1)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(x==NULL)
return false;
else
{
x->data.Display();
return true;
}
}
template<class Type>
bstNode<Type>* bst<Type>::successor(bstNode<Type> *a)
{
bstNode<Type> *x=a;
if(x->right!=NULL)
{
x=x->right;
while(x->left!=NULL)
{
x=x->left;
}
}
return x;
}
template<class Type>
bool bst<Type>::deleteElement(Type data)
{
bstNode<Type> *x=root;
while(x!=NULL && data!=x->data)
{
if(data<x->data)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(x==NULL)
return false;
else
{
if(x->left==NULL||x->right==NULL)
{
if(x->left!=NULL)
{
if(x->parent==NULL)
{
root=x->left;
(x->left)->parent=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=x->left;
(x->left)->parent=x->parent;
}
else
{
(x->parent)->right=x->left;
(x->left)->parent=x->parent;
}
}
else if(x->right!=NULL)
{
if(x->parent==NULL)
{
root=x->right;
(x->right)->parent=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=x->right;
(x->right)->parent=x->parent;
}
else
{
(x->parent)->right=x->right;
(x->right)->parent=x->parent;
}
}
else
{
if(x->parent==NULL)
{
root=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=NULL;
}
else
{
(x->parent)->right=NULL;
}
}
if(x->parent!=NULL)
{
updateHeight(x->parent);
toBalanceptr=x->parent;
}
else
toBalanceptr=NULL;
delete x;
}
else
{
bstNode<Type> *a;
a=successor(x);
if(a==(a->parent)->left)
(a->parent)->left=a->right;
else
(a->parent)->right=a->right;
if(a->right!=NULL)
(a->right)->parent=a->parent;
/*a->left=x->left;
a->right=x->right;
(x->left)->parent=a;
(x->right)->parent=a;
a->parent=x->parent;
if(x->parent==NULL)
root=a;
else
{
if(x==(x->parent)->left)
{
(x->parent)->left=a;
}
else
{
(x->parent)->right=a;
}
}
delete x;*/
x->data=a->data;
updateHeight(a->parent);
toBalanceptr=a->parent;
delete a;
}
//std::cout<<root->data;
n--;
return true;
}
}
template<class Type>
bool bst<Type>::deleteElement(char data[], int(*function)(char b[],Type c))
{
bstNode<Type> *x=root;
while(x!=NULL && function(data,x->data)!=0)
{
if(function(data,x->data)==-1)
{
x=x->left;
}
else
{
x=x->right;
}
}
if(x==NULL)
return false;
else
{
if(x->left==NULL||x->right==NULL)
{
if(x->left!=NULL)
{
if(x->parent==NULL)
{
root=x->left;
(x->left)->parent=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=x->left;
(x->left)->parent=x->parent;
}
else
{
(x->parent)->right=x->left;
(x->left)->parent=x->parent;
}
}
else if(x->right!=NULL)
{
if(x->parent==NULL)
{
root=x->right;
(x->right)->parent=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=x->right;
(x->right)->parent=x->parent;
}
else
{
(x->parent)->right=x->right;
(x->right)->parent=x->parent;
}
}
else
{
if(x->parent==NULL)
{
root=NULL;
}
else if(x==(x->parent)->left)
{
(x->parent)->left=NULL;
}
else
{
(x->parent)->right=NULL;
}
}
if(x->parent!=NULL)
{
updateHeight(x->parent);
toBalanceptr=x->parent;
}
else
toBalanceptr=NULL;
delete x;
}
else
{
bstNode<Type> *a;
a=successor(x);
if(a==(a->parent)->left)
(a->parent)->left=a->right;
else
(a->parent)->right=a->right;
if(a->right!=NULL)
(a->right)->parent=a->parent;
x->data=a->data;
updateHeight(a->parent);
toBalanceptr=a->parent;
delete a;
}
n--;
return true;
}
}
template<class Type>
int bst<Type>::updateHeight(bstNode<Type>* x)
{
int hl,hr,max;
hl=hr=max=-1;
if(x->left!=NULL)
hl=(x->left)->height;
if(x->right!=NULL)
hr=(x->right)->height;
if(hl>=hr)
max=hl;
else
max=hr;
if(x->height!=max+1)
{
x->height=max+1;
if(x->parent!=NULL)
updateHeight(x->parent);
}
}
template<class Type>
int bst<Type>::resetHeight()
{
resetHeight(root);
}
template<class Type>
int bst<Type>::resetHeight(bstNode<Type>* x)
{
int hl,hr;
if(x==NULL)
return -1;
else
{
hl=resetHeight(x->left);
hr=resetHeight(x->right);
if(hl>=hr)
{
x->height=hl+1;
return x->height;
}
else
{
x->height=hr+1;
return x->height;
}
}
}
template<class Type>
void bst<Type>::inorderDisplay()
{
inorderDisplay(root);
}
template<class Type>
void bst<Type>::inorderDisplay(bstNode<Type>* x)
{
if(x==NULL)
return ;
inorderDisplay(x->left);
cout<<"Key : "<<x->data.getId();
std::cout<<" Height : "<<x->height<<std::endl;
inorderDisplay(x->right);
}
template<class Type>
void bst<Type>::preorderDisplay()
{
preorderDisplay(root);
}
template<class Type>
void bst<Type>::preorderDisplay(bstNode<Type>* x)
{
if(x==NULL)
return ;
cout<<"Key : "<<x->data.getId();
std::cout<<" Height : "<<x->height<<std::endl;
preorderDisplay(x->left);
preorderDisplay(x->right);
}
template<class Type>
void bst<Type>::levelorderDisplay()
{
int i,j,level;
level=root->height;
for(i=0;i<=level;i++)
{
for(j=0;j<pow(2,(level-i));j++)
{
std::cout<<" ";
}
levelorderDisplay(root,i,level-i);
std::cout<<endl;
}
}
template<class Type>
void bst<Type>::levelorderDisplay(bstNode<Type>* x,int level,int z)
{
if(x==NULL)
{
int y=pow(2,z+1),j;
for(j=0;j<y;j++)
cout<<" ";
return ;
}
if(level==0)
{
std::cout<<x->data.getId();
int y=pow(2,z+1),j;
for(j=0;j<y-1;j++)
cout<<" ";
return ;
}
levelorderDisplay(x->left,level-1,z);
//std::cout<<" ";
levelorderDisplay(x->right,level-1,z);
}
template<class Type>
void bst<Type>::PrintToFile(std::ofstream& outFile)
{
PrintToFile(root,outFile);
}
template<class Type>
void bst<Type>::PrintToFile(bstNode<Type>* x,std::ofstream& outFile)
{
if(x==NULL)
return ;
x->data.storeFile(outFile);
PrintToFile(x->left,outFile);
PrintToFile(x->right,outFile);
}
#endif
| [
"tarani.hitesh@gmail.com"
] | tarani.hitesh@gmail.com |
1316a868708650ea6753ca23da0e8f8ca0f6a479 | d1ca85dc4df01eab34eea1a2a74b77f26933a272 | /1585 - Score.cpp | 5761fc78b39ec49483c6ae7654b3015fb63d69a2 | [] | no_license | solaimanhs25/UVa | e42b3a6be1208c8d3f8304aab8c220e84e34bbf0 | a1d6d5f9f8c2d0f866c2c0e1e0cadc2d21f8d1a1 | refs/heads/master | 2021-02-27T00:07:53.325397 | 2020-03-11T18:37:58 | 2020-03-11T18:37:58 | 245,561,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
string str;
cin>>str;
int sum=0,value=1;
for(int i=0;i<str.size();i++)
{
if(str[i]=='X'){
value=1;
}
else {
sum+=value;
value++;
}
}
cout<<sum<<endl;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
9a5f145bbd167e6130f88d4998c8861f5b974256 | 9337df5e60aa2c340784c6507ae714115a4ce9a5 | /BOJ/10610.cpp | 12c0186ee72059b6ddc2a8fb2406d847b248bad2 | [] | no_license | ryuspace/Algorithm | 29559614461df70d1e1f0ebaf453c433aeba41c1 | d03c111eef3ffad8ec54b0135c801db8bc9ca584 | refs/heads/master | 2023-03-26T01:46:22.553273 | 2021-03-30T11:27:27 | 2021-03-30T11:27:27 | 259,595,898 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | //https://www.acmicpc.net/problem/10610
/*풀이 : 30의 배수는 0이 한번 이상 나와야 하고 자릿수를 다 더하면 3의 배수여야 한다.
그 중 가장 큰 수는 나온 숫자 들을 큰 숫자 부터 나열하면 된다. */
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(NULL);
cout.tie(NULL);
string n;
int sum = 0;
bool zero = false;
vector<int> v;
cin >> n;
for (int i = 0; i < n.length(); i++)
{
v.push_back(n[i] - '0');
if (n[i]-'0' == 0)
zero = true;
else
sum += n[i] - '0';
}
if (zero == true && sum % 3 == 0)
{
sort(v.begin(), v.end(),greater<int>());
for (int i = 0; i < v.size(); i++)
{
cout << v[i];
}
}
else
cout << -1;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
705d7800b640ac458056f17bfd0258454036ce2d | d14a013720f15f91cafd82d00fb164c8b2d66000 | /codes/abs_encoder/abs_encoder.ino | bbfdb2b3680282680e560df414f071bf474b6774 | [] | no_license | saikamalkola/ROBOCON-2k18 | 30372455829f841d4f5183b39bcb245d835df13f | b4a13faf5b0ab65966935e59e0757af43acd6317 | refs/heads/master | 2021-09-11T13:44:51.260029 | 2018-04-08T06:12:12 | 2018-04-08T06:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | ino | #include <TimerOne.h>
#include <SPI.h>
volatile uint8_t shift_1 = 0, shift_2 = 0, temp1 = 0;
volatile uint16_t temp, prev_data = 0, data = 0;
volatile boolean present_bit = 0, last_bit = 0;
void setup() {
Serial.begin(115200);
SPI.setClockDivider(SPI_CLOCK_DIV2);
SPI.setDataMode(SPI_MODE0);
SPI.setBitOrder(MSBFIRST);
SPI.begin();
Timer1.initialize(1000);
Timer1.attachInterrupt(encoder);
pinMode(7, OUTPUT);
digitalWrite(7, HIGH);
}
void loop() {
}
void encoder()
{
PORTD &= ~(0x80);
PORTD |= (0x80);
// digitalWrite(7, LOW);
// digitalWrite(7, HIGH);
data = 0;
shift_2 = SPI.transfer(0x00);
shift_1 = SPI.transfer(0x00);
data |= (~(shift_2)) & (0xFF);
data |= (((~(shift_1)) & 0x03) << 8);
if (prev_data != data)
{
Serial.println(gray2binary(data));
}
prev_data = data;
}
uint16_t gray2binary(uint16_t num)
{
uint16_t bin_data = 0, bit_msk = 0b1000000000;
boolean present_bit = 0, last_bit = 0;
for (int i = 0; i < 10; i++)
{
present_bit = (num & bit_msk);
//Serial.print(present_bit);
present_bit = present_bit ^ last_bit;
if (present_bit == 1)
{
bin_data |= bit_msk;
}
last_bit = present_bit;
bit_msk = bit_msk >> 1;
}
return bin_data;
}
void print_bin(uint16_t val)
{
temp = val;
for (int i = 0; i < 10; i++)
{
boolean bit_val = temp & 0b1000000000;
temp <<= 1;
Serial.print(bit_val);
}
Serial.println("");
}
| [
"saikamalkola@gmail.com"
] | saikamalkola@gmail.com |
462d8dd5d105122887d696727dfb6242a57a2f78 | 54e8ee683570bec3cf405e389bd9c43db53c0d0d | /errichtodp/x.cpp | d1335fd542e276f9666217628d6921393e308e11 | [] | no_license | obalcells/problemas | 7cba5dab92344b1e95b93cc24b32f9c19e15b62a | 5a29246a384a9cf3c49b261c5534b55f9ddf5c8c | refs/heads/master | 2022-03-28T04:04:25.174456 | 2020-01-30T06:20:15 | 2020-01-30T06:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | #include "bits/stdc++.h"
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
*this << "[";
for (auto it = d.b; it != d.e; ++it)
*this << ", " + 2 * (it == d.b) << *it;
ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
using ll = long long;
using ii = pair<int,int>;
using vi = vector<int>;
using vii = vector<ii>;
const int oo = 1e8+7;
const int nax = 1e3 + 5;
struct S {
int w, s, v;
void read() {
scanf("%d%d%d", &w,&s,&v);
}
bool operator <(const S& b) const {
return s - b.w > b.s - w;
}
};
int n;
vector<S> in;
vector<ll> dp[nax];
ll knap(int ind, int left) {
if(ind == n) return 0;
else if(dp[ind][left] != -1) return dp[ind][left];
ll ans = knap(ind+1, left);
if(left - in[ind].w >= 0) {
int next = min(left - in[ind].w, in[ind].s);
ans = max(ans, in[ind].v + knap(ind+1, next));
}
dp[ind][left] = ans;
return ans;
}
int main() {
scanf("%d", &n);
in.resize(n);
for(int i = 0; i < n; ++i) {
in[i].read();
dp[i].assign(2e4+5, -1);
}
sort(in.begin(), in.end());
ll ans = knap(0, 2e4);
printf("%lld\n", ans);
return 0;
}
| [
"balcells.oscar@gmail.com"
] | balcells.oscar@gmail.com |
3c89bedc51cb1a53d0c83e885e7d2fd5365d31f1 | 440ff8b6c8312aebbcc23a4fa9ee3d98e3c6b1a3 | /masiv/massivd/MyForm.cpp | 9935dc5660f4adc4a4694a9583d3295706b7c41e | [] | no_license | sketlou/masive | 057f341fc1c98bf095c02f7b52d9e6f0bdc13238 | 262a348bdd868e31b959222e5a797c17584fcb58 | refs/heads/main | 2022-12-25T10:56:09.001834 | 2020-10-07T23:30:51 | 2020-10-07T23:30:51 | 302,183,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void main(array<String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
MyForm::MyForm form;
Application::Run(% form);
}
int a;
int* random = new int[a];
System::Void MyForm::MyForm::button1_Click(System::Object^ sender, System::EventArgs^ e)
{
a = Convert::ToInt32(numericUpDown1->Value);
const int n = a;
srand(time(NULL));
for (int e = 0; e < a; e++)
{
random[e] = rand();
textBox1->Text += System::Convert::ToString(random[e] +"\r\n");
}
}
System::Void MyForm::MyForm::button2_Click(System::Object^ sender, System::EventArgs^ e)
{
memset(&random[0], 0, sizeof(random));
textBox1->Text = "";
}
| [
"noreply@github.com"
] | noreply@github.com |
059918859b4aca47e6711ca23ca395609a1922e4 | 93376006df2e645ae7406ff739aa43643df9b3d5 | /CODE/OLD_CRAP/demo/PlayerCommand.hpp | 43aebc4614cc2b66ab2c576f65f3a546e69d7023 | [] | no_license | omer4d/OldCodeBackup | fd5f84e660cc91ab32cb08032848f779ced66053 | d836c14006fa72f6e660bcf39d2315e69dc292f8 | refs/heads/master | 2021-01-10T05:54:20.340232 | 2015-12-13T14:44:10 | 2015-12-13T14:44:10 | 47,922,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | hpp | /*
* File: PlayerCommand.hpp
* Author: Stas
*
* Created on February 8, 2012, 5:40 PM
*/
#ifndef PLAYERCOMMAND_HPP
#define PLAYERCOMMAND_HPP
#include "Vec3f.hpp"
class PlayerCommand {
bool distant;
Vec3f targetPos;
protected:
void setTargetPos(Vec3f targetPos)
{
this->targetPos = targetPos;
}
void setDistant(bool distant)
{
this->distant = distant;
}
public:
virtual bool validate() = 0;
virtual void execute() = 0;
Vec3f getTargetPos() const
{
return targetPos;
}
bool isDistant() const
{
return distant;
}
};
#endif /* PLAYERCOMMAND_HPP */
| [
"omer4d@gmail.com"
] | omer4d@gmail.com |
9483b084a667038c1339dbfacb18a4e0f4c09272 | beba204784698e2ebb174c63674815e8238e2fb5 | /src/CLI/IO/StreamWrapperFactory.hpp | 35f7488ad5c63c8c98f80e19bcef09493b9ba732 | [
"MIT"
] | permissive | pawel-jarosz/nastya-lisp | 599a04d0b6b37ff4230268641847df9efc92c3ec | 813a58523b741e00c8c27980fe658b546e9ff38c | refs/heads/master | 2023-05-12T06:18:12.810066 | 2021-06-08T09:37:18 | 2021-06-08T09:37:18 | 321,453,980 | 1 | 0 | MIT | 2021-06-08T09:35:31 | 2020-12-14T19:39:34 | C++ | UTF-8 | C++ | false | false | 493 | hpp | //
// Created by caedus on 06.01.2021.
//
#pragma once
#include "CLI/Interface/IIoFactory.hpp"
#include <istream>
#include <ostream>
namespace nastya::cli::io::stdio {
class StreamWrapperFactory : public IIoFactory {
public:
StreamWrapperFactory(std::istream& input, std::ostream& output);
But::NotNullUnique<IInputSource> create_input() override;
But::NotNullUnique<IOutputSink> create_output() override;
private:
std::istream& m_input;
std::ostream& m_output;
};
}
| [
"jarosz.pawel@outlook.com"
] | jarosz.pawel@outlook.com |
d08c98f64995ed1d6610f40de4674d1728a54dbc | 7cce0635a50e8d2db92b7b1bf4ad49fc218fb0b8 | /郭鑫程序交接/source.code.2012.06.11/source.code/SerialIO/SerialIODlg.cpp | e4496666c71dbdfd907914ad45f9fcadd01e96e7 | [] | no_license | liquanhai/cxm-hitech-matrix428 | dcebcacea58123aabcd9541704b42b3491444220 | d06042a3de79379a77b0e4e276de42de3c1c6d23 | refs/heads/master | 2021-01-20T12:06:23.622153 | 2013-01-24T01:05:10 | 2013-01-24T01:05:10 | 54,619,320 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 8,197 | cpp | // SerialIODlg.cpp : 实现文件
//
#include "stdafx.h"
#include "SerialIO.h"
#include "SerialIODlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#define SHOT_PRO_ECHO "*SHOTPRO %s/STA:%d/CTB:22.000/UH:555.5\r\n"
#define SHOT_PRO_GPS_ECHO "*SHOTPRO %s/STA:%d/CTB:22.000/UH:555.5\n$GPGGA, 161050, 3645.1926,N,09705.0707,W,2,06,1,+0321.0,M,,M,,\r\n"
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// 对话框数据
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
// 实现
protected:
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()
// CSerialIODlg 对话框
CSerialIODlg::CSerialIODlg(CWnd* pParent /*=NULL*/)
: CDialog(CSerialIODlg::IDD, pParent)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
void CSerialIODlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_EDIT1, output_edit_);
DDX_Control(pDX, IDC_COMBO1, combobox_);
DDX_Control(pDX, IDOK, button_);
DDX_Control(pDX, IDC_CHECK1, gps_check_);
}
BEGIN_MESSAGE_MAP(CSerialIODlg, CDialog)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_WM_TIMER()
//}}AFX_MSG_MAP
ON_BN_CLICKED(IDOK, &CSerialIODlg::OnBnClickedOk)
END_MESSAGE_MAP()
// CSerialIODlg 消息处理程序
BOOL CSerialIODlg::OnInitDialog()
{
CDialog::OnInitDialog();
// 将“关于...”菜单项添加到系统菜单中。
// IDM_ABOUTBOX 必须在系统命令范围内。
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}
// 设置此对话框的图标。当应用程序主窗口不是对话框时,框架将自动
// 执行此操作
SetIcon(m_hIcon, TRUE); // 设置大图标
SetIcon(m_hIcon, FALSE); // 设置小图标
// TODO: 在此添加额外的初始化代码
be_startup_ = false;
combobox_.AddString("0: 未点火");
combobox_.AddString("1: 接受到以点火放炮和状态,一切正常");
combobox_.AddString("2: 未接受到状态(电台故障)");
combobox_.AddString("3: 接收到状态,但没有井口模拟数据(电台故障)");
combobox_.AddString("4: 译码器电池电量太低警告");
combobox_.AddString("5: 井口检波器电阻未测量或超出允许范围");
combobox_.AddString("6: 雷管阻抗未测试或超出允许范围");
combobox_.AddString("7: 自动井口时间拾取不成功");
combobox_.SetCurSel(1);
return TRUE; // 除非将焦点设置到控件,否则返回 TRUE
}
void CSerialIODlg::OnSysCommand(UINT nID, LPARAM lParam)
{
if ((nID & 0xFFF0) == IDM_ABOUTBOX)
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
else
{
CDialog::OnSysCommand(nID, lParam);
}
}
// 如果向对话框添加最小化按钮,则需要下面的代码
// 来绘制该图标。对于使用文档/视图模型的 MFC 应用程序,
// 这将由框架自动完成。
void CSerialIODlg::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this); // 用于绘制的设备上下文
SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0);
// 使图标在工作区矩形中居中
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
CRect rect;
GetClientRect(&rect);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;
// 绘制图标
dc.DrawIcon(x, y, m_hIcon);
}
else
{
CDialog::OnPaint();
}
}
//当用户拖动最小化窗口时系统调用此函数取得光标
//显示。
HCURSOR CSerialIODlg::OnQueryDragIcon()
{
return static_cast<HCURSOR>(m_hIcon);
}
void CSerialIODlg::output_log(CString const& log)
{
int nBegin, nEnd;
CString str, str_text;
if(log.GetLength() == 0) return;
if(output_edit_.LineIndex(1) != -1){
nBegin = output_edit_.LineIndex(0);
nEnd = nBegin + output_edit_.LineLength(nBegin);
output_edit_.GetLine(0, str_text.GetBuffer(nEnd), nEnd);
str_text.ReleaseBuffer(nEnd);
output_edit_.SetSel(nBegin, nEnd);
str.Format(_T("%s\r\n%s"), log, str_text);
output_edit_.ReplaceSel(str);
}
else{
str.Format(_T("%s\r\n"), log);
output_edit_.SetWindowText(str);
}
}
void CSerialIODlg::com_output(CString const& result_text)
{
char lpOutBuffer[512];
CString tmp = result_text;
DWORD dwBytesWrite = result_text.GetLength();
COMSTAT ComStat;
DWORD dwErrorFlags;
BOOL bWriteStat;
ClearCommError(com_port_, &dwErrorFlags, &ComStat);
strcpy(lpOutBuffer, tmp.GetBuffer());
tmp.ReleaseBuffer();
bWriteStat = WriteFile(com_port_, lpOutBuffer, dwBytesWrite, &dwBytesWrite, NULL);
if(!bWriteStat) AfxMessageBox("写串口失败!");
PurgeComm(com_port_, PURGE_TXABORT | PURGE_RXABORT | PURGE_TXCLEAR | PURGE_RXCLEAR);
}
void CSerialIODlg::parse_and_output_info(CString const& info)
{
CString tmp;
int index = 0;
tmp = info;
tmp.Replace("*SP#", "炮号: ");
tmp.Replace("/SL#", " 震源点测线: ");
tmp.Replace("/SN#", " 震源点号: ");
tmp.Replace("/SI#", " 震源点索引: ");
tmp.Replace("/SEQ#", " 爆炸机号: ");
output_log(tmp);
}
void CSerialIODlg::echo_status(CString const& info)
{
int index = 0;
CString tmp;
CString data;
int check_status = 0x0;
check_status = gps_check_.GetCheck();
index = combobox_.GetCurSel();
tmp = info.Mid(1, info.GetLength() - 1);
if(check_status == BST_CHECKED) data.Format(SHOT_PRO_GPS_ECHO, tmp, index);
else if(check_status == BST_UNCHECKED) data.Format(SHOT_PRO_ECHO, tmp, index);
com_output(data);
output_log(data);
}
void CSerialIODlg::OnTimer(UINT_PTR nIDEvent)
{
char str[256];
memset(str, 0x0,sizeof(str));
DWORD wCount=256;
BOOL bReadStat;
int index = 0x0;
CString data, tmp;
BLASTER_PROTOCOL br;
memset(&br, 0x0, sizeof(br));
bReadStat = ReadFile(com_port_, str, wCount, &wCount, NULL);
if(bReadStat != 0 && wCount != 0){
PurgeComm(com_port_, PURGE_TXABORT| PURGE_RXABORT|PURGE_TXCLEAR|PURGE_RXCLEAR);
recv_info_ += str;
while((index = recv_info_.Find("\r\n")) != -1){//"\r\n"
data = recv_info_.Mid(0, index);
tmp = recv_info_.Mid(index + 2, recv_info_.GetLength() - index - 2);//2
recv_info_ = tmp;
//分解 & 输出
parse_and_output_info(data);
//返回状态
echo_status(data);
}
}
// else AfxMessageBox("读串口失败!");
}
void CSerialIODlg::OnBnClickedOk()
{
DCB dcb;
COMMTIMEOUTS com_timeouts;
memset(&dcb, 0x0, sizeof(dcb));
memset(&com_timeouts, 0x0, sizeof(com_timeouts));
if(!be_startup_){
//create com1 file
com_port_ = CreateFile("\\\\.\\COM1", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
if(com_port_ == INVALID_HANDLE_VALUE){
AfxMessageBox("打开COM失败!");
return;
}
SetupComm(com_port_, 256, 256);
com_timeouts.ReadIntervalTimeout = MAXDWORD;
com_timeouts.ReadTotalTimeoutMultiplier=0;
com_timeouts.ReadTotalTimeoutConstant=0;
com_timeouts.WriteTotalTimeoutMultiplier=128;
com_timeouts.WriteTotalTimeoutConstant=500;
SetCommTimeouts(com_port_,&com_timeouts);
dcb.DCBlength = sizeof(dcb);
dcb.BaudRate = CBR_9600;
dcb.ByteSize = 8;
dcb.Parity = NOPARITY;
dcb.StopBits = ONESTOPBIT;
SetCommState(com_port_, &dcb);
PurgeComm(com_port_, PURGE_RXCLEAR | PURGE_TXCLEAR);
recv_info_ = _T("");
button_.SetWindowText("结束");
SetTimer(1, 1000,NULL);
be_startup_ = true;
}
else{
be_startup_ = false;
KillTimer(1);
button_.SetWindowText("开始");
CloseHandle(com_port_);
com_port_ = NULL;
}
}
| [
"chengxianming1981@gmail.com"
] | chengxianming1981@gmail.com |
db52b606b4ca2ef8a1e043703ca6379360b46f0f | 44342dad029e863884374918fb54722de64251e8 | /src/tir/schedule/concrete_schedule.cc | e4822c61624380e76d84e9f639a246dfe0698644 | [
"Apache-2.0",
"BSD-3-Clause",
"Zlib",
"LLVM-exception",
"BSD-2-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense"
] | permissive | mikeseven/tvm | 1899a143ca678c5cb4042744d6de3b183ea3902b | 3ed605c13b68f0aa0c09f25e8644a2f0ee317a12 | refs/heads/master | 2023-07-08T10:08:40.221634 | 2023-06-26T19:03:17 | 2023-06-26T19:03:17 | 167,316,196 | 0 | 0 | null | 2019-01-24T06:35:02 | 2019-01-24T06:35:01 | null | UTF-8 | C++ | false | false | 38,702 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 "./concrete_schedule.h"
#include <random>
namespace tvm {
namespace tir {
Schedule Schedule::Concrete(IRModule mod, support::LinearCongruentialEngine::TRandState seed,
int debug_mask, ScheduleErrorRenderLevel error_render_level,
bool enable_check) {
ObjectPtr<ConcreteScheduleNode> n = make_object<ConcreteScheduleNode>();
n->state_ = ScheduleState(mod, debug_mask, enable_check);
n->error_render_level_ = error_render_level;
n->symbol_table_ = {};
n->analyzer_ = std::make_unique<arith::Analyzer>();
n->Seed(seed);
GlobalVar gv = NullValue<GlobalVar>();
if (FindEntryFunc(mod, &gv) != nullptr) {
n->func_working_on_ = gv;
} else {
n->func_working_on_ = NullOpt;
}
return Schedule(std::move(n));
}
/******** Copy ********/
/*! \brief Helper class to perform a deep copy of the sref tree */
class ScheduleCopier {
using TSymbolTable = ConcreteScheduleNode::TSymbolTable;
template <class K, class V>
using UMap = std::unordered_map<K, V>;
template <class K, class V>
using SMap = std::unordered_map<K, V, ObjectPtrHash, ObjectPtrEqual>;
public:
static void Copy(const ConcreteScheduleNode* self, ScheduleState* new_state,
TSymbolTable* new_symbol_table) {
const ScheduleState& src_state = self->state_;
ScheduleCopier copier(src_state);
ObjectPtr<ScheduleStateNode> n = make_object<ScheduleStateNode>();
n->mod = src_state->mod;
n->block_info = copier.Copy(src_state->block_info);
n->stmt2ref = copier.Copy(src_state->stmt2ref);
n->debug_mask = src_state->debug_mask;
n->enable_check = src_state->enable_check;
*new_state = ScheduleState(std::move(n));
*new_symbol_table = copier.Copy(self->symbol_table_);
}
private:
/*! \brief Create the copier and properly set up the `old2new_` table */
explicit ScheduleCopier(const ScheduleState& state) {
// Create SRef tree without parents
for (const auto& kv : state->stmt2ref) {
const StmtSRefNode* sref = kv.second.operator->();
old2new_.emplace(sref, // the old StmtSRef
StmtSRef(/*stmt=*/sref->stmt, // the new StmtSRef
/*parent=*/nullptr, // parent is not set yet
/*seq_index=*/sref->seq_index));
}
// Fill in the parent field
// Find out the root along the way
for (auto& kv : old2new_) {
const StmtSRefNode* parent = kv.first->parent;
StmtSRef& sref = kv.second;
sref->parent = parent ? old2new_.at(parent).get() : nullptr;
}
}
/*! \brief Copy StmtSRef */
StmtSRef Copy(const StmtSRef& sref) { return old2new_.at(sref.operator->()); }
/*! \brief Copy StmtSRefNode */
StmtSRef Copy(const StmtSRefNode* sref) {
if (old2new_.count(sref)) {
return old2new_.at(sref);
}
// Handle expired sref
return old2new_[sref] = StmtSRef(nullptr, nullptr, -1);
}
/*! \brief Copy Array<StmtSRef> */
Array<StmtSRef> Copy(const Array<StmtSRef>& list) {
Array<StmtSRef> result;
result.reserve(list.size());
for (const StmtSRef& elem : list) {
result.push_back(Copy(elem));
}
return result;
}
/*! \brief Copy Array<Dependency> */
Array<Dependency> Copy(const Array<Dependency>& list) {
Array<Dependency> result;
result.reserve(list.size());
for (const Dependency& elem : list) {
result.push_back(Dependency(Copy(elem->src), Copy(elem->dst), elem->kind));
}
return result;
}
/*! \brief Copy SMap<StmtSRef, Array<Dependency>> */
SMap<StmtSRef, Array<Dependency>> Copy(const SMap<StmtSRef, Array<Dependency>>& map) {
SMap<StmtSRef, Array<Dependency>> result;
result.reserve(map.size());
for (const auto& kv : map) {
result[Copy(kv.first)] = Copy(kv.second);
}
return result;
}
/*! \brief Copy SMap<Buffer, Array<StmtSRef>> */
SMap<Buffer, Array<StmtSRef>> Copy(const SMap<Buffer, Array<StmtSRef>>& map) {
SMap<Buffer, Array<StmtSRef>> result;
result.reserve(map.size());
for (const auto& kv : map) {
result[kv.first] = Copy(kv.second);
}
return result;
}
/*! \brief Copy SMap<StmtSRef, Scope> */
SMap<StmtSRef, BlockInfo> Copy(const SMap<StmtSRef, BlockInfo>& scopes) {
SMap<StmtSRef, BlockInfo> result;
for (const auto& kv : scopes) {
const StmtSRef& old_sref = kv.first;
const BlockInfo& old_info = kv.second;
BlockInfo new_info = old_info;
ObjectPtr<BlockScopeNode> scope = make_object<BlockScopeNode>();
scope->src2deps = Copy(old_info.scope->src2deps);
scope->dst2deps = Copy(old_info.scope->dst2deps);
scope->buffer_writers = Copy(old_info.scope->buffer_writers);
new_info.scope = BlockScope(std::move(scope));
result[Copy(old_sref)] = std::move(new_info);
}
return result;
}
/*! \brief Copy the stmt2ref */
UMap<const StmtNode*, StmtSRef> Copy(const UMap<const StmtNode*, StmtSRef>& stmt2ref) {
UMap<const StmtNode*, StmtSRef> result;
result.reserve(stmt2ref.size());
for (const auto& kv : stmt2ref) {
const StmtNode* stmt = kv.first;
const StmtSRef& sref = kv.second;
result.emplace(stmt, Copy(sref));
}
return result;
}
/*! \brief Copy the symbol table */
TSymbolTable Copy(const TSymbolTable& tab) {
TSymbolTable result;
for (const auto& kv : tab) {
ObjectRef entry = kv.second;
if (const auto* sref = entry.as<StmtSRefNode>()) {
entry = Copy(sref);
}
result.Set(kv.first, entry);
}
return result;
}
private:
std::unordered_map<const StmtSRefNode*, StmtSRef> old2new_;
};
void ConcreteScheduleNode::WorkOn(const String& func_name) {
this->func_working_on_ = this->state_->mod->GetGlobalVar(func_name);
}
void ConcreteScheduleNode::Copy(ScheduleState* new_state, TSymbolTable* new_symbol_table) const {
ScheduleCopier::Copy(this, new_state, new_symbol_table);
new_state->get()->DebugVerify();
}
Schedule ConcreteScheduleNode::Copy() {
ObjectPtr<ConcreteScheduleNode> n = make_object<ConcreteScheduleNode>();
n->func_working_on_ = this->func_working_on_;
n->error_render_level_ = this->error_render_level_;
ConcreteScheduleNode::Copy(&n->state_, &n->symbol_table_);
n->analyzer_ = std::make_unique<arith::Analyzer>(); // new analyzer needed because it is stateful
n->rand_state_ = ForkSeed();
return Schedule(std::move(n));
}
/*! \brief Macro that guards the beginning of each invocation of TensorIR schedule primitive */
#define TVM_TIR_SCHEDULE_BEGIN() try {
/*!
* \brief Macro that pairs with `TVM_TIR_SCHEDULE_BEGIN`, handling potential errors and error
* message rendering
* \param level An ScheduleErrorRenderLevel enum, level of error rendering
* \sa ScheduleErrorRenderLevel
*/
#define TVM_TIR_SCHEDULE_END(primitive, level) \
} \
catch (const ScheduleError& error) { \
if ((level) == ScheduleErrorRenderLevel::kDetail) { \
throw tvm::runtime::Error(error.RenderReport(primitive) + "\n" + runtime::Backtrace()); \
} else if ((level) == ScheduleErrorRenderLevel::kFast) { \
throw tvm::runtime::Error(error.FastErrorString()); \
} else if ((level) == ScheduleErrorRenderLevel::kNone) { \
throw tvm::runtime::Error("ScheduleError: (not rendered)"); \
} \
}
/******** Schedule: Schedule: Sampling ********/
void ConcreteScheduleNode::Seed(support::LinearCongruentialEngine::TRandState seed) {
this->rand_state_ = support::LinearCongruentialEngine::NormalizeSeed(seed);
}
support::LinearCongruentialEngine::TRandState ConcreteScheduleNode::ForkSeed() {
return support::LinearCongruentialEngine(&rand_state_).ForkSeed();
}
ExprRV ConcreteScheduleNode::SampleCategorical(const Array<Integer>& candidates,
const Array<FloatImm>& probs,
Optional<Integer> decision) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV(tir::SampleCategorical(&this->rand_state_, candidates, probs, &decision));
TVM_TIR_SCHEDULE_END("sample-categorical", this->error_render_level_);
throw;
}
Array<ExprRV> ConcreteScheduleNode::SamplePerfectTile(const LoopRV& loop_rv, int n,
int max_innermost_factor,
Optional<Array<Integer>> decision) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV(tir::SamplePerfectTile(&this->rand_state_, this->GetSRef(loop_rv), n,
max_innermost_factor, &decision));
TVM_TIR_SCHEDULE_END("sample-perfect-tile", this->error_render_level_);
throw;
}
LoopRV ConcreteScheduleNode::SampleComputeLocation(const BlockRV& block_rv,
Optional<Integer> decision) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV<LoopRV>(
tir::SampleComputeLocation(state_, &this->rand_state_, this->GetSRef(block_rv), &decision));
TVM_TIR_SCHEDULE_END("sample-compute-location", this->error_render_level_);
throw;
}
/******** Schedule: Get blocks & loops ********/
BlockRV ConcreteScheduleNode::GetBlock(const String& name, const Optional<String>& func_name) {
class NotSingleResult : public ScheduleError {
public:
explicit NotSingleResult(String name, IRModule mod, const Array<StmtSRef>& blocks)
: name_(name), mod_(mod), blocks_{} {
blocks_.reserve(blocks.size());
for (const StmtSRef& block_sref : blocks) {
const BlockNode* block = TVM_SREF_TO_BLOCK(block_sref);
blocks_.push_back(GetRef<Block>(block));
}
}
IRModule mod() const final { return mod_; }
Array<ObjectRef> LocationsOfInterest() const final { return {blocks_.begin(), blocks_.end()}; }
String DetailRenderTemplate() const final {
if (blocks_.empty()) {
return "Cannot find a block with the name: " + name_;
} else {
return "Found " + std::to_string(blocks_.size()) + " blocks with the name: " + name_;
}
}
String FastErrorString() const final {
if (blocks_.empty()) {
return "ScheduleError: Cannot find a block with the specified name";
} else {
return "ScheduleError: Found multiple blocks with the specified name";
}
}
String name_;
IRModule mod_;
Array<Block> blocks_;
};
GlobalVar gv = NullValue<GlobalVar>();
if (func_name.defined()) {
gv = state_->mod->GetGlobalVar(func_name.value());
} else if (func_working_on_.defined()) {
gv = this->func_working_on_.value();
} else {
LOG(FATAL) << "ValueError: `get_block` does not know which function to be working on. Please "
"specify the function name explicitly, or call `work_on` to specify the function "
"before using `get_block`.";
}
Array<StmtSRef> blocks = tir::GetBlocks(this->state_, name, gv);
if (blocks.size() != 1) {
TVM_TIR_SCHEDULE_BEGIN();
throw NotSingleResult(name, this->state_->mod, blocks);
TVM_TIR_SCHEDULE_END("get-block", this->error_render_level_);
}
return CreateRV<BlockRV>(blocks[0]);
}
Array<LoopRV> ConcreteScheduleNode::GetLoops(const BlockRV& block_rv) {
return CreateRV<LoopRV>(tir::GetLoops(this->GetSRef(block_rv)));
}
Array<BlockRV> ConcreteScheduleNode::GetChildBlocks(const BlockRV& block_rv) {
Array<BlockRV> result;
TVM_TIR_SCHEDULE_BEGIN();
result = CreateRV<BlockRV>(tir::GetChildBlocks(state_, this->GetSRef(block_rv)));
TVM_TIR_SCHEDULE_END("get-child-blocks", this->error_render_level_);
this->state_->DebugVerify();
return result;
}
Array<BlockRV> ConcreteScheduleNode::GetChildBlocks(const LoopRV& loop_rv) {
Array<BlockRV> result;
TVM_TIR_SCHEDULE_BEGIN();
result = CreateRV<BlockRV>(tir::GetChildBlocks(state_, this->GetSRef(loop_rv)));
TVM_TIR_SCHEDULE_END("get-child-blocks", this->error_render_level_);
this->state_->DebugVerify();
return result;
}
Array<BlockRV> ConcreteScheduleNode::GetProducers(const BlockRV& block_rv) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV<BlockRV>(tir::GetProducers(state_, this->GetSRef(block_rv)));
TVM_TIR_SCHEDULE_END("get-producers", this->error_render_level_);
throw;
}
Array<BlockRV> ConcreteScheduleNode::GetConsumers(const BlockRV& block_rv) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV<BlockRV>(tir::GetConsumers(state_, this->GetSRef(block_rv)));
TVM_TIR_SCHEDULE_END("get-consumers", this->error_render_level_);
throw;
}
Array<BlockRV> ConcreteScheduleNode::GetOutputBlocks(const BlockRV& scope_block_rv) {
TVM_TIR_SCHEDULE_BEGIN();
return CreateRV<BlockRV>(tir::GetOutputBlocks(state_, this->GetSRef(scope_block_rv)));
TVM_TIR_SCHEDULE_END("get-output-blocks", this->error_render_level_);
throw;
}
/******** Schedule: Transform loops ********/
LoopRV ConcreteScheduleNode::Merge(const Array<LoopRV>& loop_rvs) {
CHECK(loop_rvs.size() > 1) << "ValueError: 'merge' requires at least 2 loop(s)";
Array<StmtSRef> loop_srefs = this->GetSRefs(loop_rvs);
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::Merge(state_, loop_srefs);
TVM_TIR_SCHEDULE_END("merge", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<LoopRV>(result);
}
LoopRV ConcreteScheduleNode::Fuse(const Array<LoopRV>& loop_rvs, bool preserve_unit_iters) {
CHECK(!loop_rvs.empty()) << "ValueError: 'fuse' requires at least 1 loop(s)";
Array<StmtSRef> loop_srefs = this->GetSRefs(loop_rvs);
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::Fuse(state_, loop_srefs, preserve_unit_iters);
TVM_TIR_SCHEDULE_END("fuse", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<LoopRV>(result);
}
Array<LoopRV> ConcreteScheduleNode::Split(const LoopRV& loop_rv,
const Array<Optional<ExprRV>>& factor_rvs,
bool preserve_unit_iters) {
class NotSingleInferFactorError : public ScheduleError {
public:
explicit NotSingleInferFactorError(IRModule mod) : mod_(mod) {}
String FastErrorString() const final {
return "ScheduleError: only one factor can be specified as -1 or none";
}
String DetailRenderTemplate() const final {
return "Only one factor can be specified as -1 or none";
}
IRModule mod() const final { return mod_; }
Array<ObjectRef> LocationsOfInterest() const final { return {}; }
IRModule mod_;
};
class WrongFactorProductError : public ScheduleError {
public:
explicit WrongFactorProductError(IRModule mod, For loop) : mod_(mod), loop_(std::move(loop)) {}
String FastErrorString() const final {
return "ScheduleError: The product of factors is not larger than or equal to the extent of "
"loop";
}
String DetailRenderTemplate() const final {
return "The product of factors is not larger than or equal to the extent of loop {0}";
}
IRModule mod() const final { return mod_; }
Array<ObjectRef> LocationsOfInterest() const final { return {loop_}; }
IRModule mod_;
For loop_;
};
class NonPositiveFactorError : public ScheduleError {
public:
explicit NonPositiveFactorError(IRModule mod, int64_t factor, size_t idx)
: mod_(std::move(mod)), factor_(factor), idx_(idx) {}
String FastErrorString() const final {
return "ScheduleError: All the constant factors are required to be positive. However, some "
"constant input factor is zero or negative.";
}
String DetailRenderTemplate() const final {
std::ostringstream os;
os << "All the constant factors are required to be positive. However, the factor at position "
<< idx_ << " is " << factor_;
return os.str();
}
IRModule mod() const final { return mod_; }
Array<ObjectRef> LocationsOfInterest() const final { return {}; }
private:
IRModule mod_;
int64_t factor_;
size_t idx_;
};
// Prepare for the splitting
StmtSRef loop_sref = this->GetSRef(loop_rv);
const ForNode* loop = TVM_SREF_TO_FOR(loop_sref);
Array<PrimExpr> factors;
factors.reserve(factor_rvs.size());
int infer_index = -1;
PrimExpr tot_length = 1;
Array<StmtSRef> results;
TVM_TIR_SCHEDULE_BEGIN();
// infer factor if needed and check validity of factors
for (size_t i = 0; i < factor_rvs.size(); i++) {
if (!factor_rvs[i].defined()) {
factors.push_back(Integer(-1));
if (infer_index != -1) {
throw NotSingleInferFactorError(state_->mod);
}
infer_index = i;
} else {
PrimExpr factor = this->Get(factor_rvs[i].value());
if (is_const_int(factor) && !is_positive_const(factor)) {
throw NonPositiveFactorError(state_->mod, factor.as<IntImmNode>()->value, i);
}
if (factor.dtype().bits() > loop->extent.dtype().bits()) {
factor = cast(loop->extent.dtype(), factor);
}
factors.push_back(factor);
tot_length *= factor;
}
}
if (infer_index != -1) {
factors.Set(infer_index,
this->analyzer_->Simplify(floordiv(loop->extent + tot_length - 1, tot_length)));
} else if (!this->analyzer_->CanProve(tot_length >= loop->extent)) {
throw WrongFactorProductError(state_->mod, GetRef<For>(loop));
}
results = tir::Split(state_, loop_sref, factors, preserve_unit_iters);
TVM_TIR_SCHEDULE_END("split", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<LoopRV>(results);
}
void ConcreteScheduleNode::Reorder(const Array<LoopRV>& ordered_loop_rvs) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Reorder(state_, GetSRefs(ordered_loop_rvs));
TVM_TIR_SCHEDULE_END("reorder", this->error_render_level_);
this->state_->DebugVerify();
}
void ConcreteScheduleNode::ReorderBlockIterVar(const BlockRV& block_rv,
const Array<Integer> new_order) {
TVM_TIR_SCHEDULE_BEGIN();
tir::ReorderBlockIterVar(state_, GetSRef(block_rv), new_order);
TVM_TIR_SCHEDULE_END("reorder_block_iter_var", this->error_render_level_);
this->state_->DebugVerify();
}
LoopRV ConcreteScheduleNode::AddUnitLoop(const BlockRV& block_rv) {
LoopRV result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = CreateRV<LoopRV>(tir::AddUnitLoop(state_, GetSRef(block_rv)));
TVM_TIR_SCHEDULE_END("add-unit-loop", this->error_render_level_);
this->state_->DebugVerify();
return result;
}
LoopRV ConcreteScheduleNode::AddUnitLoop(const LoopRV& loop_rv) {
LoopRV result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = CreateRV<LoopRV>(tir::AddUnitLoop(state_, GetSRef(loop_rv)));
TVM_TIR_SCHEDULE_END("add-unit-loop", this->error_render_level_);
this->state_->DebugVerify();
return result;
}
/******** Schedule: Manipulate ForKind ********/
void ConcreteScheduleNode::Parallel(const LoopRV& loop_rv) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Parallel(state_, this->GetSRef(loop_rv));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("parallel", this->error_render_level_);
}
void ConcreteScheduleNode::Vectorize(const LoopRV& loop_rv) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Vectorize(state_, this->GetSRef(loop_rv));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("vectorize", this->error_render_level_);
}
void ConcreteScheduleNode::Bind(const LoopRV& loop_rv, const String& thread_axis) {
if (thread_axis == "vthread") {
LOG(WARNING) << "`vthread` is legacy behavior and is going to be deprecated. Please use "
"`vthread.x`, `vthread.y` and `vthread.z` instead";
}
TVM_TIR_SCHEDULE_BEGIN();
tir::Bind(state_, this->GetSRef(loop_rv),
IterVar(/*dom=*/Range(nullptr), /*var=*/Var(thread_axis), /*iter_type=*/kThreadIndex,
/*thread_tag=*/thread_axis));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("bind", this->error_render_level_);
}
void ConcreteScheduleNode::Unroll(const LoopRV& loop_rv) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Unroll(state_, this->GetSRef(loop_rv));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("unroll", this->error_render_level_);
}
/******** Schedule: Insert cache stages ********/
BlockRV ConcreteScheduleNode::CacheRead(const BlockRV& block_rv, int read_buffer_index,
const String& storage_scope,
const Array<BlockRV> consumer_blocks) {
StmtSRef result{nullptr};
// Create a new array of SRefs from the consumer block list.
Array<StmtSRef> consumer_block_refs = {};
for (BlockRV block : consumer_blocks) {
consumer_block_refs.push_back(this->GetSRef(block));
}
TVM_TIR_SCHEDULE_BEGIN();
result = tir::CacheRead(state_, this->GetSRef(block_rv), read_buffer_index, storage_scope,
consumer_block_refs);
TVM_TIR_SCHEDULE_END("cache-read", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::CacheWrite(const BlockRV& block_rv, int write_buffer_index,
const String& storage_scope,
const Array<BlockRV> consumer_blocks) {
StmtSRef result{nullptr};
// Create a new array of SRefs from the consumer block list.
Array<StmtSRef> consumer_block_refs = {};
for (BlockRV block : consumer_blocks) {
consumer_block_refs.push_back(this->GetSRef(block));
}
TVM_TIR_SCHEDULE_BEGIN();
result = tir::CacheWrite(state_, this->GetSRef(block_rv), write_buffer_index, storage_scope,
consumer_block_refs);
TVM_TIR_SCHEDULE_END("cache-write", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::ReindexCacheRead(const BlockRV& block_rv, int read_buffer_index,
const String& storage_scope,
const IndexMap& index_map) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::ReindexCacheRead(state_, this->GetSRef(block_rv), read_buffer_index, storage_scope,
index_map);
TVM_TIR_SCHEDULE_END("reverse-cache-read", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::ReindexCacheWrite(const BlockRV& block_rv, int write_buffer_index,
const String& storage_scope,
const IndexMap& index_map) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::ReindexCacheWrite(state_, this->GetSRef(block_rv), write_buffer_index,
storage_scope, index_map);
TVM_TIR_SCHEDULE_END("reverse-cache-write", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
Array<BlockRV> ConcreteScheduleNode::CacheInplace(const BlockRV& block_rv, int write_buffer_index,
const String& storage_scope) {
Array<StmtSRef> results;
TVM_TIR_SCHEDULE_BEGIN();
results = tir::CacheInplace(state_, this->GetSRef(block_rv), write_buffer_index, storage_scope);
TVM_TIR_SCHEDULE_END("cache-buffer", this->error_render_level_);
this->state_->DebugVerify();
Array<BlockRV> return_blocks;
return_blocks.push_back(CreateRV<BlockRV>(results[0]));
return_blocks.push_back(CreateRV<BlockRV>(results[1]));
return return_blocks;
}
Array<BlockRV> ConcreteScheduleNode::CacheIndex(const BlockRV& block_rv,
const String& storage_scope, int cse_thresh) {
Array<StmtSRef> result;
TVM_TIR_SCHEDULE_BEGIN();
result = tir::CacheIndex(state_, this->GetSRef(block_rv), storage_scope, cse_thresh);
TVM_TIR_SCHEDULE_END("cache-index", this->error_render_level_);
this->state_->DebugVerify();
Array<BlockRV> return_blocks;
for (const StmtSRef& blockrv : result) {
return_blocks.push_back(CreateRV<BlockRV>(blockrv));
}
return return_blocks;
}
BlockRV ConcreteScheduleNode::ReIndex(const BlockRV& block_rv, int buffer_index,
BufferIndexType buffer_index_type) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::ReIndex(state_, this->GetSRef(block_rv), buffer_index, buffer_index_type);
TVM_TIR_SCHEDULE_END("reindex", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
/******** Schedule: Data movement ********/
BlockRV ConcreteScheduleNode::ReadAt(const LoopRV& loop_rv, const BlockRV& block_rv,
int read_buffer_index, const String& storage_scope) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::ReadAt(state_, this->GetSRef(loop_rv), this->GetSRef(block_rv), read_buffer_index,
storage_scope);
TVM_TIR_SCHEDULE_END("read-at", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::WriteAt(const LoopRV& loop_rv, const BlockRV& block_rv,
int write_buffer_index, const String& storage_scope) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::WriteAt(state_, this->GetSRef(loop_rv), this->GetSRef(block_rv), write_buffer_index,
storage_scope);
TVM_TIR_SCHEDULE_END("write-at", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
/******** Schedule: Compute location ********/
void ConcreteScheduleNode::ComputeAt(const BlockRV& block_rv, const LoopRV& loop_rv,
bool preserve_unit_loops, int index) {
static StmtSRef inline_mark = StmtSRef::InlineMark();
static StmtSRef root_mark = StmtSRef::RootMark();
StmtSRef loop_sref = this->GetSRef(loop_rv);
if (loop_sref.same_as(root_mark)) {
// do nothing
} else if (loop_sref.same_as(inline_mark)) {
TVM_TIR_SCHEDULE_BEGIN();
tir::ComputeInline(state_, this->GetSRef(block_rv));
TVM_TIR_SCHEDULE_END("compute-at", this->error_render_level_);
} else {
TVM_TIR_SCHEDULE_BEGIN();
tir::ComputeAt(state_, this->GetSRef(block_rv), loop_sref, preserve_unit_loops, index);
TVM_TIR_SCHEDULE_END("compute-at", this->error_render_level_);
}
this->state_->DebugVerify();
}
void ConcreteScheduleNode::ReverseComputeAt(const BlockRV& block_rv, const LoopRV& loop_rv,
bool preserve_unit_loops, int index) {
static StmtSRef inline_mark = StmtSRef::InlineMark();
static StmtSRef root_mark = StmtSRef::RootMark();
StmtSRef loop_sref = this->GetSRef(loop_rv);
if (loop_sref.same_as(root_mark)) {
// do nothing
} else if (loop_sref.same_as(inline_mark)) {
TVM_TIR_SCHEDULE_BEGIN();
tir::ReverseComputeInline(state_, this->GetSRef(block_rv));
TVM_TIR_SCHEDULE_END("reverse-compute-at", this->error_render_level_);
} else {
TVM_TIR_SCHEDULE_BEGIN();
tir::ReverseComputeAt(state_, this->GetSRef(block_rv), loop_sref, preserve_unit_loops, index);
TVM_TIR_SCHEDULE_END("reverse-compute-at", this->error_render_level_);
}
this->state_->DebugVerify();
}
void ConcreteScheduleNode::ComputeInline(const BlockRV& block_rv) {
TVM_TIR_SCHEDULE_BEGIN();
tir::ComputeInline(state_, this->GetSRef(block_rv));
TVM_TIR_SCHEDULE_END("compute-inline", this->error_render_level_);
this->state_->DebugVerify();
}
void ConcreteScheduleNode::ReverseComputeInline(const BlockRV& block_rv) {
TVM_TIR_SCHEDULE_BEGIN();
tir::ReverseComputeInline(state_, this->GetSRef(block_rv));
TVM_TIR_SCHEDULE_END("reverse-compute-inline", this->error_render_level_);
this->state_->DebugVerify();
}
/******** Schedule: Block Annotation ********/
void ConcreteScheduleNode::StorageAlign(const BlockRV& block_rv, int buffer_index, int axis,
int factor, int offset) {
TVM_TIR_SCHEDULE_BEGIN();
tir::StorageAlign(state_, this->GetSRef(block_rv), buffer_index, axis, factor, offset);
TVM_TIR_SCHEDULE_END("storage-align", this->error_render_level_);
this->state_->DebugVerify();
}
void ConcreteScheduleNode::SetScope(const BlockRV& block_rv, int buffer_index,
const String& storage_scope) {
TVM_TIR_SCHEDULE_BEGIN();
tir::SetScope(state_, this->GetSRef(block_rv), buffer_index, storage_scope);
TVM_TIR_SCHEDULE_END("set-scope", this->error_render_level_);
this->state_->DebugVerify();
}
void ConcreteScheduleNode::UnsafeSetDType(const BlockRV& block_rv, int buffer_index,
const String& dtype) {
TVM_TIR_SCHEDULE_BEGIN();
tir::UnsafeSetDType(state_, this->GetSRef(block_rv), buffer_index, dtype);
TVM_TIR_SCHEDULE_END("set-dtype", this->error_render_level_);
this->state_->DebugVerify();
}
/******** Schedule: Reduction ********/
BlockRV ConcreteScheduleNode::DecomposeReduction(const BlockRV& block_rv, const LoopRV& loop_rv) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::DecomposeReduction(state_, this->GetSRef(block_rv), this->GetSRef(loop_rv));
TVM_TIR_SCHEDULE_END("decompose-reduction", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::RFactor(const LoopRV& loop_rv, int factor_axis) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::RFactor(state_, this->GetSRef(loop_rv), factor_axis);
TVM_TIR_SCHEDULE_END("rfactor", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
/******** Schedule: Blockize & Tensorize ********/
BlockRV ConcreteScheduleNode::Blockize(const LoopRV& loop_rv, bool preserve_unit_iters) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::Blockize(state_, this->GetSRef(loop_rv), preserve_unit_iters);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("blockize", this->error_render_level_);
return CreateRV<BlockRV>(result);
}
BlockRV ConcreteScheduleNode::Blockize(const Array<BlockRV>& blocks, bool preserve_unit_iters) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::Blockize(state_, this->GetSRefs(blocks), preserve_unit_iters);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("blockize", this->error_render_level_);
return CreateRV<BlockRV>(result);
}
void ConcreteScheduleNode::Tensorize(const LoopRV& loop_rv, const String& intrin,
bool preserve_unit_iters) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Tensorize(state_, this->GetSRef(loop_rv), tir::TensorIntrin::Get(intrin).value(),
preserve_unit_iters);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("tensorize", this->error_render_level_);
}
void ConcreteScheduleNode::Tensorize(const BlockRV& block_rv, const String& intrin,
bool preserve_unit_iters) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Tensorize(state_, this->GetSRef(block_rv), tir::TensorIntrin::Get(intrin).value(),
preserve_unit_iters);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("tensorize", this->error_render_level_);
}
/******** Schedule: Annotation ********/
ObjectRef ConcreteScheduleNode::CheckAndGetAnnotationValue(const ObjectRef& ann_val) {
if (ann_val.as<StringObj>()) {
return ann_val;
}
if (const auto* expr = ann_val.as<PrimExprNode>()) {
ICHECK(!ann_val->IsInstance<StringImmNode>())
<< "TypeError: runtime::String is expected, but gets StringImm";
return this->Get(GetRef<PrimExpr>(expr));
}
if (const auto* arr = ann_val.as<ArrayNode>()) {
Array<ObjectRef> result;
result.reserve(arr->size());
for (size_t i = 0; i < arr->size(); i++) {
result.push_back(CheckAndGetAnnotationValue(arr->at(i)));
}
return std::move(result);
}
if (const auto* dict = ann_val.as<MapNode>()) {
Map<String, ObjectRef> result;
for (auto it = dict->begin(); it != dict->end(); ++it) {
const auto& key = it->first;
auto value = CheckAndGetAnnotationValue(it->second);
if (const StringImmNode* imm = key.as<StringImmNode>()) {
result.Set(imm->value, value);
} else if (key->IsInstance<StringObj>()) {
result.Set(Downcast<String>(key), value);
} else {
LOG(FATAL) << "TypeError: annotation dict key expect to be String or StringImm";
}
}
return std::move(result);
}
LOG(FATAL)
<< "TypeError: Only strings, integers, floats, ExprRVs and Arrays are supported for now, but "
<< "gets: " << ann_val->GetTypeKey();
throw;
}
void ConcreteScheduleNode::Annotate(const LoopRV& loop_rv, const String& ann_key,
const ObjectRef& ann_val) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Annotate(state_, this->GetSRef(loop_rv), ann_key, this->CheckAndGetAnnotationValue(ann_val));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("annotate", this->error_render_level_);
}
void ConcreteScheduleNode::Unannotate(const LoopRV& loop_rv, const String& ann_key) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Unannotate(state_, this->GetSRef(loop_rv), ann_key);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("unannotate", this->error_render_level_);
}
void ConcreteScheduleNode::Annotate(const BlockRV& block_rv, const String& ann_key,
const ObjectRef& ann_val) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Annotate(state_, this->GetSRef(block_rv), ann_key,
this->CheckAndGetAnnotationValue(ann_val));
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("annotate", this->error_render_level_);
}
void ConcreteScheduleNode::Unannotate(const BlockRV& block_rv, const String& ann_key) {
TVM_TIR_SCHEDULE_BEGIN();
tir::Unannotate(state_, this->GetSRef(block_rv), ann_key);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("unannotate", this->error_render_level_);
}
/******** Schedule: Layout transformation ********/
void ConcreteScheduleNode::TransformLayout(const BlockRV& block_rv, int buffer_index,
BufferIndexType buffer_index_type,
const IndexMap& index_map,
const Optional<IndexMap>& pad_value,
bool assume_injective_transform) {
TVM_TIR_SCHEDULE_BEGIN();
auto f_subst = [&](const Var& var) -> Optional<PrimExpr> {
return Downcast<Optional<PrimExpr>>(symbol_table_.Get(var));
};
auto new_index_map = Substitute(index_map, f_subst);
tir::TransformLayout(state_, this->GetSRef(block_rv), buffer_index, buffer_index_type,
new_index_map, pad_value, assume_injective_transform);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("transform_layout", this->error_render_level_);
}
void ConcreteScheduleNode::TransformBlockLayout(const BlockRV& block_rv,
const IndexMap& index_map) {
TVM_TIR_SCHEDULE_BEGIN();
tir::TransformBlockLayout(state_, this->GetSRef(block_rv), index_map);
this->state_->DebugVerify();
TVM_TIR_SCHEDULE_END("transform_block_layout", this->error_render_level_);
}
void ConcreteScheduleNode::SetAxisSeparator(const BlockRV& block_rv, int buffer_index,
BufferIndexType buffer_index_type,
const Array<IntImm>& axis_separators) {
TVM_TIR_SCHEDULE_BEGIN();
tir::SetAxisSeparator(state_, this->GetSRef(block_rv), buffer_index, buffer_index_type,
axis_separators);
TVM_TIR_SCHEDULE_END("set-axis-separator", this->error_render_level_);
this->state_->DebugVerify();
}
/******** Schedule: Padding ********/
BlockRV ConcreteScheduleNode::DecomposePadding(const BlockRV& block_rv, const LoopRV& loop_rv) {
StmtSRef result{nullptr};
TVM_TIR_SCHEDULE_BEGIN();
result = tir::DecomposePadding(state_, this->GetSRef(block_rv), this->GetSRef(loop_rv));
TVM_TIR_SCHEDULE_END("decompose-padding", this->error_render_level_);
this->state_->DebugVerify();
return CreateRV<BlockRV>(result);
}
void ConcreteScheduleNode::PadEinsum(const BlockRV& block_rv, const Array<Integer>& padding) {
TVM_TIR_SCHEDULE_BEGIN();
tir::PadEinsum(state_, this->GetSRef(block_rv), padding);
TVM_TIR_SCHEDULE_END("pad-einsum", this->error_render_level_);
this->state_->DebugVerify();
}
/******** Schedule: Buffer Transformation ********/
void ConcreteScheduleNode::RollingBuffer(const BlockRV& block_rv, int write_buffer_index) {
TVM_TIR_SCHEDULE_BEGIN();
tir::RollingBuffer(state_, this->GetSRef(block_rv), write_buffer_index);
TVM_TIR_SCHEDULE_END("rolling-buffer", this->error_render_level_);
this->state_->DebugVerify();
}
/******** Schedule: Misc ********/
void ConcreteScheduleNode::UnsafeHideBufferAccess(const BlockRV& block_rv, const String& buf_type,
const Array<IntImm>& buf_index_array) {
TVM_TIR_SCHEDULE_BEGIN();
tir::UnsafeHideBufferAccess(state_, this->GetSRef(block_rv), buf_type, buf_index_array);
TVM_TIR_SCHEDULE_END("hide-buffer-access", this->error_render_level_);
this->state_->DebugVerify();
}
} // namespace tir
} // namespace tvm
| [
"noreply@github.com"
] | noreply@github.com |
dc5dd4117da39783fa30e96f2312be7e5dd0e77d | 561a1b5aedbb3d5000fa18d4e7c4e44321efe102 | /noether_gui/src/widgets/tool_path_modifiers/tool_drag_orientation_modifier_widget.cpp | 48ed4bf555828a24aefeb43ae710978420ad1737 | [] | no_license | ros-industrial/noether | f4e7e3719603bf381a23fa7e18892631fcd2f7d5 | ffdea481f31e160188a14aa4ba83ab210c001918 | refs/heads/master | 2023-08-04T11:05:29.291856 | 2023-07-28T22:00:01 | 2023-07-28T22:00:01 | 90,146,416 | 98 | 38 | null | 2023-09-07T22:23:07 | 2017-05-03T12:27:54 | C++ | UTF-8 | C++ | false | false | 1,993 | cpp | #include <noether_gui/widgets/tool_path_modifiers/tool_drag_orientation_modifier_widget.h>
#include <noether_gui/utils.h>
#include <noether_tpp/tool_path_modifiers/tool_drag_orientation_modifier.h>
#include <QFormLayout>
#include <QLabel>
#include <QDoubleSpinBox>
static const std::string ANGLE_OFFSET_KEY = "angle_offset";
static const std::string TOOL_RADIUS_KEY = "tool_radius";
namespace noether
{
ToolDragOrientationToolPathModifierWidget::ToolDragOrientationToolPathModifierWidget(QWidget* parent)
: ToolPathModifierWidget(parent)
{
auto layout = new QFormLayout(this);
// Angle between the grinder and the media being ground
angle_offset_ = new QDoubleSpinBox(this);
angle_offset_->setMinimum(0.0);
angle_offset_->setSingleStep(1.0);
angle_offset_->setValue(30.0);
angle_offset_->setDecimals(3);
auto label = new QLabel("Angle offset (deg)", this);
label->setToolTip("The angle between the grinder and the media being ground");
layout->addRow(label, angle_offset_);
// Radius of the tool
tool_radius_ = new QDoubleSpinBox(this);
tool_radius_->setMinimum(0.0);
tool_radius_->setSingleStep(0.01);
tool_radius_->setValue(0.1);
tool_radius_->setDecimals(3);
layout->addRow(new QLabel("Tool radius (m)", this), tool_radius_);
}
ToolPathModifier::ConstPtr ToolDragOrientationToolPathModifierWidget::create() const
{
return std::make_unique<ToolDragOrientationToolPathModifier>(angle_offset_->value() * M_PI / 180.0,
tool_radius_->value());
}
void ToolDragOrientationToolPathModifierWidget::configure(const YAML::Node& config)
{
angle_offset_->setValue(getEntry<double>(config, ANGLE_OFFSET_KEY));
tool_radius_->setValue(getEntry<double>(config, TOOL_RADIUS_KEY));
}
void ToolDragOrientationToolPathModifierWidget::save(YAML::Node& config) const
{
config[ANGLE_OFFSET_KEY] = angle_offset_->value();
config[TOOL_RADIUS_KEY] = tool_radius_->value();
}
} // namespace noether
| [
"noreply@github.com"
] | noreply@github.com |
687b6c9032c9c329e79af7168181c0d0c1681071 | a3f44bb5c465a1593d8e6680fdead7bc5774605d | /SerialPort.h | 94f91973bb77f4c3f94121912849df347fb26c1b | [] | no_license | lynnlau/FkSet | 3a00cd7e733db1b136b52fe951d695e14ab114c1 | f83f71c5a38768aebfc702aa6ac9e73162339b48 | refs/heads/master | 2016-09-05T19:44:37.442692 | 2014-01-26T13:25:44 | 2014-01-26T13:25:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 709 | h | #ifndef __SERIALPORT_H
#define __SERIALPORT_H
#include "afxwin.h"
#include "FkSetData.h"
class CSerialPort
{
public:
CSerialPort();
virtual ~CSerialPort();
DWORD ReadData(LPVOID cpRXBuffer,OVERLAPPED* olRead,int size=BUFFER_SIZE);
DWORD WriteData(LPVOID lpBuffer,DWORD dwLength);
DWORD WriteData(CString str);
BOOL IsOpen (void) const { return m_bOpened; }
BOOL UnInit();
BOOL Init(ACCONNECTDATA* pConData);
ACCONNECTDATA* m_pConData;
private:
HANDLE m_hFile;
static DWORD WINAPI CommThread(LPVOID pParam);
HANDLE m_hThread; //接收辅助线程
HANDLE m_hEventCloseThread;//关闭串口辅助线程
BOOL m_bOpened; //串口是否打开
};
#endif // __SERIALPORT_H
| [
"MyEmail@email.com"
] | MyEmail@email.com |
9829ee57abf8a66961d8c3bcc8a3be3c25b7853e | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_struct_33.cpp | c221ac481ab52762cd8ad1d52c7f92df69b2bc1d | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 3,268 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_struct_33.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml
Template File: sources-sinks-33.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
* BadSource: Allocate data using new
* GoodSource: Allocate data using malloc()
* Sinks:
* GoodSink: Deallocate data using delete
* BadSink : Deallocate data using free()
* Flow Variant: 33 Data flow: use of a C++ reference to data within the same function
*
* */
#include "std_testcase.h"
namespace CWE762_Mismatched_Memory_Management_Routines__new_free_struct_33
{
#ifndef OMITBAD
void bad()
{
twoIntsStruct * data;
twoIntsStruct * &dataRef = data;
/* Initialize data*/
data = NULL;
/* POTENTIAL FLAW: Allocate memory with a function that requires delete to free the memory */
data = new twoIntsStruct;
{
twoIntsStruct * data = dataRef;
/* POTENTIAL FLAW: Deallocate memory using free() - the source memory allocation function may
* require a call to delete to deallocate the memory */
free(data);
}
}
#endif /* OMITBAD */
#ifndef OMITGOOD
/* goodG2B() uses the GoodSource with the BadSink */
static void goodG2B()
{
twoIntsStruct * data;
twoIntsStruct * &dataRef = data;
/* Initialize data*/
data = NULL;
/* FIX: Allocate memory from the heap using malloc() */
data = (twoIntsStruct *)malloc(100*sizeof(twoIntsStruct));
if (data == NULL) {exit(-1);}
{
twoIntsStruct * data = dataRef;
/* POTENTIAL FLAW: Deallocate memory using free() - the source memory allocation function may
* require a call to delete to deallocate the memory */
free(data);
}
}
/* goodB2G() uses the BadSource with the GoodSink */
static void goodB2G()
{
twoIntsStruct * data;
twoIntsStruct * &dataRef = data;
/* Initialize data*/
data = NULL;
/* POTENTIAL FLAW: Allocate memory with a function that requires delete to free the memory */
data = new twoIntsStruct;
{
twoIntsStruct * data = dataRef;
/* FIX: Deallocate the memory using delete */
delete data;
}
}
void good()
{
goodG2B();
goodB2G();
}
#endif /* OMITGOOD */
} /* close namespace */
/* Below is the main(). It is only used when building this testcase on
its own for testing or for building a binary to use in testing binary
analysis tools. It is not used when compiling all the testcases as one
application, which is how source code analysis tools are tested. */
#ifdef INCLUDEMAIN
using namespace CWE762_Mismatched_Memory_Management_Routines__new_free_struct_33; /* so that we can use good and bad easily */
int main(int argc, char * argv[])
{
/* seed randomness */
srand( (unsigned)time(NULL) );
#ifndef OMITGOOD
printLine("Calling good()...");
good();
printLine("Finished good()");
#endif /* OMITGOOD */
#ifndef OMITBAD
printLine("Calling bad()...");
bad();
printLine("Finished bad()");
#endif /* OMITBAD */
return 0;
}
#endif
| [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
3660201d278b3f42d93f9d5ff60c45697566bf43 | 5403ac943de7b692ff6673c8a052db0d058f58f4 | /src/header.h | 95245ae5e9062b5753ec989521d3edb9e93b6674 | [] | no_license | jeffouellette/PythiaCoMStudy | 8c92213d5ba1c1c9f5b35b66d844eead7776fb5d | 931bd3da8c9e0f18aaff2ae5cab51e417483456b | refs/heads/master | 2023-01-11T00:57:53.107552 | 2020-11-04T23:49:48 | 2020-11-04T23:49:48 | 298,661,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | #ifndef __header_h__
#define __header_h__
#include <string>
using namespace std;
namespace PythiaCoMStudy {
const double pi = M_PI;
string FormatCounts (int counts) {
if (counts < 1000) return "";
else if (1000 <= counts && counts < 10000) {
string countsStr = FormatMeasurement (counts, 0, 1);
countsStr = countsStr.substr(0, 1) + "k";
return countsStr;
}
else if (10000 <= counts && counts < 100000) {
string countsStr = FormatMeasurement (counts, 0, 2);
countsStr = countsStr.substr(0, 2) + "k";
return countsStr;
}
else if (100000 <= counts && counts < 1000000) {
string countsStr = FormatMeasurement (counts, 0, 3);
countsStr = countsStr.substr(0, 3) + "k";
return countsStr;
}
else return "";
}
} // end namespace pullstudy
#endif
| [
"jeff.ouellette@cern.ch"
] | jeff.ouellette@cern.ch |
0330b2041372bbec1e8296c8b5f0ed0912093a6b | 65b3b47569284a2b8773f93918d9dda3c4356ea9 | /CodeForces/A_Category/579A/20756190_AC_30ms_8kB.cpp | 069b5af9778c824ef73a602254d826562f1065d1 | [] | no_license | OlaAbdallahM/Competitive-Programming | 2ed13970c47cfd4a2fe738b0f5c05a95ea24531a | 2f4a1644fc5f37a0f0550a0dce18f025c9b8b4b0 | refs/heads/master | 2022-04-13T17:20:12.695227 | 2022-03-04T09:48:23 | 2022-03-04T09:48:23 | 254,652,141 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #define _CRT_SECURE_NO_WARNINGS
// Allah_Almost3aan *{فَصَبْرٌ جَمِيلٌ وَاللَّهُ الْمُسْتَعَانُ }*
// *{ربى.. كنْ لىِ خيرَ مدبر فإنى لا احسنُ التدبير}*
#include<bits/stdc++.h>
using namespace std;
using lli = long long int;
#define endl "\n"
#define mod 100000007 //1e9+7
#define INF 1000000000 //1e9
#define SZ 100001
void fast() {
ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE //freopen("input.in", "r", stdin);
//freopen("output.out", "w", stdout);
#endif
}
lli ans, sum, mx;
int main()
{
fast();
lli q; //cin >> q;
q = 1;
while (q--)
{
lli n; cin >> n;
while (n)
{
ans += (n & 1);
n >>= 1;
}
cout << ans<<endl;
}
} | [
"olaabdallah4372@gmail.com"
] | olaabdallah4372@gmail.com |
f9e0fdf8b0e6f17c2dee6c248fc63d8d0c8e3bec | 97b005cd7f2754108ef49d6b5b1c153d16bc1bc0 | /modelclass.cpp | 01b4dcc2050ba24823666e97473c1c47112249d1 | [] | no_license | sequoian/ratertek-tutorial | 1e0e2827208cd9ba80043970b32f3ee1a7ef2c54 | 59629b9385f8982432ba82bccf8b623aafcb02eb | refs/heads/master | 2020-03-22T00:57:41.400316 | 2018-07-07T23:45:20 | 2018-07-07T23:45:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,457 | cpp | #include "modelclass.h"
ModelClass::ModelClass()
{
m_vertexBuffer = 0;
m_indexBuffer = 0;
m_Texture = 0;
m_model = 0;
}
ModelClass::ModelClass(const ModelClass& other)
{
}
ModelClass::~ModelClass()
{
}
bool ModelClass::Initialize(ID3D11Device* device, ID3D11DeviceContext* deviceContext, char* modelFilename, char* textureFilename)
{
bool result;
// Load in the model data
result = LoadModel(modelFilename);
if (!result)
{
return false;
}
// Initialize the vertex and index buffers.
result = InitializeBuffers(device);
if (!result)
{
return false;
}
// Load the texture for this model
result = LoadTexture(device, deviceContext, textureFilename);
if (!result)
{
return false;
}
return true;
}
void ModelClass::Shutdown()
{
// Release the model texture
ReleaseTexture();
// Shutdown the vertex and index buffers.
ShutdownBuffers();
// Release the model data
ReleaseModel();
return;
}
void ModelClass::Render(ID3D11DeviceContext* deviceContext)
{
// Put the vertex and index buffers on the graphics pipeline to prepare them for drawing.
RenderBuffers(deviceContext);
return;
}
int ModelClass::GetIndexCount()
{
return m_indexCount;
}
ID3D11ShaderResourceView* ModelClass::GetTexture()
{
return m_Texture->GetTexture();
}
// Normally you would read vertex data from a file, but this function is inputting the triangle manually in code
bool ModelClass::InitializeBuffers(ID3D11Device* device)
{
VertexType* vertices;
unsigned long* indices;
D3D11_BUFFER_DESC vertexBufferDesc, indexBufferDesc;
D3D11_SUBRESOURCE_DATA vertexData, indexData;
HRESULT result;
// Create the vertex array.
vertices = new VertexType[m_vertexCount];
if (!vertices)
{
return false;
}
// Create the index array.
indices = new unsigned long[m_indexCount];
if (!indices)
{
return false;
}
// Load the vertex array and index array with data.
for (int i = 0; i < m_vertexCount; i++)
{
vertices[i].position = XMFLOAT3(m_model[i].x, m_model[i].y, m_model[i].z);
vertices[i].texture = XMFLOAT2(m_model[i].tu, m_model[i].tv);
vertices[i].normal = XMFLOAT3(m_model[i].nx, m_model[i].ny, m_model[i].nz);
indices[i] = i;
}
// Set up the description of the static vertex buffer.
vertexBufferDesc.Usage = D3D11_USAGE_DEFAULT;
vertexBufferDesc.ByteWidth = sizeof(VertexType) * m_vertexCount;
vertexBufferDesc.BindFlags = D3D11_BIND_VERTEX_BUFFER;
vertexBufferDesc.CPUAccessFlags = 0;
vertexBufferDesc.MiscFlags = 0;
vertexBufferDesc.StructureByteStride = 0;
// Give the subresource structure a pointer to the vertex data.
vertexData.pSysMem = vertices;
vertexData.SysMemPitch = 0;
vertexData.SysMemSlicePitch = 0;
// Now create the vertex buffer.
result = device->CreateBuffer(&vertexBufferDesc, &vertexData, &m_vertexBuffer);
if (FAILED(result))
{
return false;
}
// Set up the description of the static index buffer.
indexBufferDesc.Usage = D3D11_USAGE_DEFAULT;
indexBufferDesc.ByteWidth = sizeof(unsigned long) * m_indexCount;
indexBufferDesc.BindFlags = D3D11_BIND_INDEX_BUFFER;
indexBufferDesc.CPUAccessFlags = 0;
indexBufferDesc.MiscFlags = 0;
indexBufferDesc.StructureByteStride = 0;
// Give the subresource structure a pointer to the index data.
indexData.pSysMem = indices;
indexData.SysMemPitch = 0;
indexData.SysMemSlicePitch = 0;
// Create the index buffer.
result = device->CreateBuffer(&indexBufferDesc, &indexData, &m_indexBuffer);
if (FAILED(result))
{
return false;
}
// Release the arrays now that the vertex and index buffers have been created and loaded.
delete[] vertices;
vertices = 0;
delete[] indices;
indices = 0;
return true;
}
void ModelClass::ShutdownBuffers()
{
// Release the index buffer.
if (m_indexBuffer)
{
m_indexBuffer->Release();
m_indexBuffer = 0;
}
// Release the vertex buffer.
if (m_vertexBuffer)
{
m_vertexBuffer->Release();
m_vertexBuffer = 0;
}
return;
}
void ModelClass::RenderBuffers(ID3D11DeviceContext* deviceContext)
{
unsigned int stride;
unsigned int offset;
// Set vertex buffer stride and offset.
stride = sizeof(VertexType);
offset = 0;
// Set the vertex buffer to active in the input assembler so it can be rendered.
deviceContext->IASetVertexBuffers(0, 1, &m_vertexBuffer, &stride, &offset);
// Set the index buffer to active in the input assembler so it can be rendered.
deviceContext->IASetIndexBuffer(m_indexBuffer, DXGI_FORMAT_R32_UINT, 0);
// Set the type of primitive that should be rendered from this vertex buffer, in this case triangles.
deviceContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
return;
}
bool ModelClass::LoadTexture(ID3D11Device* device, ID3D11DeviceContext* deviceContext, char* filename)
{
bool result;
// Create the texture object.
m_Texture = new TextureClass;
if (!m_Texture)
{
return false;
}
// Initialize the texture object.
result = m_Texture->Initialize(device, deviceContext, filename);
if (!result)
{
return false;
}
return true;
}
void ModelClass::ReleaseTexture()
{
// Release the texture object.
if (m_Texture)
{
m_Texture->Shutdown();
delete m_Texture;
m_Texture = 0;
}
return;
}
// This function reads a txt file in a custom model format
// This function may change depending on which model format you choose to use
bool ModelClass::LoadModel(char* filename)
{
ifstream fin;
char input;
int i;
// Open the model file.
fin.open(filename);
// If it could not open the file then exit.
if (fin.fail())
{
return false;
}
// Read up to the value of vertex count.
fin.get(input);
while (input != ':')
{
fin.get(input);
}
// Read in the vertex count.
fin >> m_vertexCount;
// Set the number of indices to be the same as the vertex count.
m_indexCount = m_vertexCount;
// Create the model using the vertex count that was read in.
m_model = new ModelType[m_vertexCount];
if (!m_model)
{
return false;
}
// Read up to the beginning of the data.
fin.get(input);
while (input != ':')
{
fin.get(input);
}
fin.get(input);
fin.get(input);
// Read in the vertex data.
for (i = 0; i<m_vertexCount; i++)
{
fin >> m_model[i].x >> m_model[i].y >> m_model[i].z;
fin >> m_model[i].tu >> m_model[i].tv;
fin >> m_model[i].nx >> m_model[i].ny >> m_model[i].nz;
}
// Close the model file.
fin.close();
return true;
}
void ModelClass::ReleaseModel()
{
if (m_model)
{
delete[] m_model;
m_model = 0;
}
return;
} | [
"zach303@msn.com"
] | zach303@msn.com |
e1dafd7b150b83c7928f0855dc04c9463d450f03 | c5373a8beb34d9572c97452cf6bf4d750109abc9 | /Codechef/Beginner/the block game.cpp | 677084f573554efb3e28a5734411f8032f458e8a | [] | no_license | Jellylover11/CP-code-dump | 8f95c4bf093dcba5ce2f3b727da709633712b5b1 | 003a7a60c160685a160d5db22bc4a6873778ded9 | refs/heads/main | 2023-09-05T11:29:16.687503 | 2021-10-30T12:37:24 | 2021-10-30T12:37:24 | 417,556,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
for(int j=0;j<n;j++)
{
string g;
int p=0;
cin>>g;
int l=g.size();
for(int k=0,j=l-1;k<l,j>=0;k++,j-- )
{
if(g[k]==g[j]) p++;
}
if(l==p) cout<<"wins"<<endl;
else cout<<"losses"<<endl;
// cout<<g<<l<<p<<endl;
}
}
| [
"shohid138718@gmail.com"
] | shohid138718@gmail.com |
4b27aa9a9648aee0afaa544b76b50b6f2d9a70f4 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/ui/task_manager/task_manager_table_model.cc | 97478c343d96120df4d1d164d69a58bc57ab97b9 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 30,195 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/task_manager/task_manager_table_model.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/i18n/number_formatting.h"
#include "base/i18n/rtl.h"
#include "base/macros.h"
#include "base/process/process_handle.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/task_manager/task_manager_interface.h"
#include "chrome/browser/ui/task_manager/task_manager_columns.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/generated_resources.h"
#include "components/nacl/browser/nacl_browser.h"
#include "components/nacl/common/nacl_switches.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "content/public/common/result_codes.h"
#include "third_party/WebKit/public/web/WebCache.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/table_model_observer.h"
#include "ui/base/text/bytes_formatting.h"
namespace task_manager {
namespace {
const char kCpuTextFormatString[] = "%.1f";
#if defined(OS_MACOSX)
// Match Activity Monitor's default refresh rate.
const int64_t kRefreshTimeMS = 2000;
#else
const int64_t kRefreshTimeMS = 1000;
#endif // defined(OS_MACOSX)
// The columns that are shared by a group will show the value of the column
// only once per group.
bool IsSharedByGroup(int column_id) {
switch (column_id) {
case IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN:
case IDS_TASK_MANAGER_SHARED_MEM_COLUMN:
case IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN:
case IDS_TASK_MANAGER_SWAPPED_MEM_COLUMN:
case IDS_TASK_MANAGER_CPU_COLUMN:
case IDS_TASK_MANAGER_NET_COLUMN:
case IDS_TASK_MANAGER_PROCESS_ID_COLUMN:
case IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN:
case IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN:
case IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN:
case IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN:
case IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN:
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN:
case IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN:
return true;
default:
return false;
}
}
// Used to sort various column values.
template <class T>
int ValueCompare(T value1, T value2) {
if (value1 == value2)
return 0;
return value1 < value2 ? -1 : 1;
}
// This is used to sort process priority. We want the backgrounded process (with
// a true value) to come first.
int BooleanCompare(bool value1, bool value2) {
if (value1 == value2)
return 0;
return value1 ? -1 : 1;
}
// Used when one or both of the results to compare are unavailable.
int OrderUnavailableValue(bool v1, bool v2) {
if (!v1 && !v2)
return 0;
return v1 ? 1 : -1;
}
} // namespace
// A class to stringify the task manager's values into string16s and to
// cache the common strings that will be reused many times like "N/A" and so on.
class TaskManagerValuesStringifier {
public:
TaskManagerValuesStringifier()
: n_a_string_(l10n_util::GetStringUTF16(IDS_TASK_MANAGER_NA_CELL_TEXT)),
zero_string_(base::ASCIIToUTF16("0")),
backgrounded_string_(l10n_util::GetStringUTF16(
IDS_TASK_MANAGER_BACKGROUNDED_TEXT)),
foregrounded_string_(l10n_util::GetStringUTF16(
IDS_TASK_MANAGER_FOREGROUNDED_TEXT)),
asterisk_string_(base::ASCIIToUTF16("*")),
unknown_string_(l10n_util::GetStringUTF16(
IDS_TASK_MANAGER_UNKNOWN_VALUE_TEXT)),
disabled_nacl_debugging_string_(l10n_util::GetStringUTF16(
IDS_TASK_MANAGER_DISABLED_NACL_DBG_TEXT)) {
}
~TaskManagerValuesStringifier() {}
base::string16 GetCpuUsageText(double cpu_usage) {
return base::UTF8ToUTF16(base::StringPrintf(kCpuTextFormatString,
cpu_usage));
}
base::string16 GetMemoryUsageText(int64_t memory_usage, bool has_duplicates) {
if (memory_usage == -1)
return n_a_string_;
#if defined(OS_MACOSX)
// System expectation is to show "100 kB", "200 MB", etc.
// TODO(thakis): [This TODO has been taken as is from the old task manager]:
// Switch to metric units (as opposed to powers of two).
base::string16 memory_text = ui::FormatBytes(memory_usage);
#else
base::string16 memory_text = base::FormatNumber(memory_usage / 1024);
// Adjust number string if necessary.
base::i18n::AdjustStringForLocaleDirection(&memory_text);
memory_text = l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_MEM_CELL_TEXT,
memory_text);
#endif // defined(OS_MACOSX)
if (has_duplicates)
memory_text += asterisk_string_;
return memory_text;
}
base::string16 GetIdleWakeupsText(int idle_wakeups) {
if (idle_wakeups == -1)
return n_a_string_;
return base::FormatNumber(idle_wakeups);
}
base::string16 GetNaClPortText(int nacl_port) {
if (nacl_port == nacl::kGdbDebugStubPortUnused || nacl_port == -2)
return n_a_string_;
if (nacl_port == nacl::kGdbDebugStubPortUnknown)
return unknown_string_;
return base::IntToString16(nacl_port);
}
base::string16 GetWindowsHandlesText(int64_t current, int64_t peak) {
return l10n_util::GetStringFUTF16(IDS_TASK_MANAGER_HANDLES_CELL_TEXT,
base::Int64ToString16(current),
base::Int64ToString16(peak));
}
base::string16 GetNetworkUsageText(int64_t network_usage) {
if (network_usage == -1)
return n_a_string_;
if (network_usage == 0)
return zero_string_;
base::string16 net_byte = ui::FormatSpeed(network_usage);
// Force number string to have LTR directionality.
return base::i18n::GetDisplayStringInLTRDirectionality(net_byte);
}
base::string16 GetProcessIdText(base::ProcessId proc_id) {
return base::IntToString16(proc_id);
}
base::string16 FormatAllocatedAndUsedMemory(int64_t allocated, int64_t used) {
return l10n_util::GetStringFUTF16(
IDS_TASK_MANAGER_CACHE_SIZE_CELL_TEXT,
ui::FormatBytesWithUnits(allocated, ui::DATA_UNITS_KIBIBYTE, false),
ui::FormatBytesWithUnits(used, ui::DATA_UNITS_KIBIBYTE, false));
}
base::string16 GetWebCacheStatText(
const blink::WebCache::ResourceTypeStat& stat) {
return FormatAllocatedAndUsedMemory(stat.size, stat.liveSize);
}
const base::string16& n_a_string() const { return n_a_string_; }
const base::string16& zero_string() const { return zero_string_; }
const base::string16& backgrounded_string() const {
return backgrounded_string_;
}
const base::string16& foregrounded_string() const {
return foregrounded_string_;
}
const base::string16& asterisk_string() const { return asterisk_string_; }
const base::string16& unknown_string() const { return unknown_string_; }
const base::string16& disabled_nacl_debugging_string() const {
return disabled_nacl_debugging_string_;
}
private:
// The localized string "N/A".
const base::string16 n_a_string_;
// The value 0 as a string "0".
const base::string16 zero_string_;
// The localized string "Backgrounded" for process priority.
const base::string16 backgrounded_string_;
// The localized string "Foregrounded" for process priority.
const base::string16 foregrounded_string_;
// The string "*" that is used to show that there exists duplicates in the
// GPU memory.
const base::string16 asterisk_string_;
// The string "Unknown".
const base::string16 unknown_string_;
// The string to show on the NaCl debug port column cells when the flag
// #enable-nacl-debug is disabled.
const base::string16 disabled_nacl_debugging_string_;
DISALLOW_COPY_AND_ASSIGN(TaskManagerValuesStringifier);
};
////////////////////////////////////////////////////////////////////////////////
// TableSortDescriptor:
////////////////////////////////////////////////////////////////////////////////
TableSortDescriptor::TableSortDescriptor()
: sorted_column_id(-1),
is_ascending(false) {
}
TableSortDescriptor::TableSortDescriptor(int col_id, bool ascending)
: sorted_column_id(col_id),
is_ascending(ascending) {
}
////////////////////////////////////////////////////////////////////////////////
// TaskManagerTableModel:
////////////////////////////////////////////////////////////////////////////////
TaskManagerTableModel::TaskManagerTableModel(int64_t refresh_flags,
TableViewDelegate* delegate)
: TaskManagerObserver(base::TimeDelta::FromMilliseconds(kRefreshTimeMS),
refresh_flags),
table_view_delegate_(delegate),
columns_settings_(new base::DictionaryValue),
table_model_observer_(nullptr),
stringifier_(new TaskManagerValuesStringifier),
#if !defined(DISABLE_NACL)
is_nacl_debugging_flag_enabled_(base::CommandLine::ForCurrentProcess()->
HasSwitch(switches::kEnableNaClDebug)) {
#else
is_nacl_debugging_flag_enabled_(false) {
#endif // !defined(DISABLE_NACL)
DCHECK(delegate);
StartUpdating();
}
TaskManagerTableModel::~TaskManagerTableModel() {
StopUpdating();
}
int TaskManagerTableModel::RowCount() {
return static_cast<int>(tasks_.size());
}
base::string16 TaskManagerTableModel::GetText(int row, int column) {
if (IsSharedByGroup(column) && !IsTaskFirstInGroup(row))
return base::string16();
switch (column) {
case IDS_TASK_MANAGER_TASK_COLUMN:
return observed_task_manager()->GetTitle(tasks_[row]);
case IDS_TASK_MANAGER_PROFILE_NAME_COLUMN:
return observed_task_manager()->GetProfileName(tasks_[row]);
case IDS_TASK_MANAGER_NET_COLUMN:
return stringifier_->GetNetworkUsageText(
observed_task_manager()->GetProcessTotalNetworkUsage(tasks_[row]));
case IDS_TASK_MANAGER_CPU_COLUMN:
return stringifier_->GetCpuUsageText(
observed_task_manager()->GetCpuUsage(tasks_[row]));
case IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN:
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetPrivateMemoryUsage(tasks_[row]), false);
case IDS_TASK_MANAGER_SHARED_MEM_COLUMN:
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetSharedMemoryUsage(tasks_[row]), false);
case IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN:
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetPhysicalMemoryUsage(tasks_[row]), false);
case IDS_TASK_MANAGER_SWAPPED_MEM_COLUMN:
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetSwappedMemoryUsage(tasks_[row]), false);
case IDS_TASK_MANAGER_PROCESS_ID_COLUMN:
return stringifier_->GetProcessIdText(
observed_task_manager()->GetProcessId(tasks_[row]));
case IDS_TASK_MANAGER_GDI_HANDLES_COLUMN: {
int64_t current, peak;
observed_task_manager()->GetGDIHandles(tasks_[row], ¤t, &peak);
return stringifier_->GetWindowsHandlesText(current, peak);
}
case IDS_TASK_MANAGER_USER_HANDLES_COLUMN: {
int64_t current, peak;
observed_task_manager()->GetUSERHandles(tasks_[row], ¤t, &peak);
return stringifier_->GetWindowsHandlesText(current, peak);
}
case IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN:
return stringifier_->GetIdleWakeupsText(
observed_task_manager()->GetIdleWakeupsPerSecond(tasks_[row]));
case IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN: {
blink::WebCache::ResourceTypeStats stats;
if (observed_task_manager()->GetWebCacheStats(tasks_[row], &stats))
return stringifier_->GetWebCacheStatText(stats.images);
return stringifier_->n_a_string();
}
case IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN: {
blink::WebCache::ResourceTypeStats stats;
if (observed_task_manager()->GetWebCacheStats(tasks_[row], &stats))
return stringifier_->GetWebCacheStatText(stats.scripts);
return stringifier_->n_a_string();
}
case IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN: {
blink::WebCache::ResourceTypeStats stats;
if (observed_task_manager()->GetWebCacheStats(tasks_[row], &stats))
return stringifier_->GetWebCacheStatText(stats.cssStyleSheets);
return stringifier_->n_a_string();
}
case IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN: {
bool has_duplicates = false;
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetGpuMemoryUsage(tasks_[row],
&has_duplicates),
has_duplicates);
}
case IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN:
return stringifier_->GetMemoryUsageText(
observed_task_manager()->GetSqliteMemoryUsed(tasks_[row]), false);
case IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN: {
int64_t v8_allocated, v8_used;
if (observed_task_manager()->GetV8Memory(tasks_[row],
&v8_allocated,
&v8_used)) {
return stringifier_->FormatAllocatedAndUsedMemory(v8_allocated,
v8_used);
}
return stringifier_->n_a_string();
}
case IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN:
if (!is_nacl_debugging_flag_enabled_)
return stringifier_->disabled_nacl_debugging_string();
return stringifier_->GetNaClPortText(
observed_task_manager()->GetNaClDebugStubPort(tasks_[row]));
case IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN:
return observed_task_manager()->IsTaskOnBackgroundedProcess(tasks_[row])
? stringifier_->backgrounded_string()
: stringifier_->foregrounded_string();
#if defined(OS_LINUX)
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int fd_count = observed_task_manager()->GetOpenFdCount(tasks_[row]);
return fd_count >= 0 ? base::FormatNumber(fd_count)
: stringifier_->n_a_string();
}
#endif // defined(OS_LINUX)
default:
NOTREACHED();
return base::string16();
}
}
gfx::ImageSkia TaskManagerTableModel::GetIcon(int row) {
return observed_task_manager()->GetIcon(tasks_[row]);
}
void TaskManagerTableModel::SetObserver(
ui::TableModelObserver* observer) {
table_model_observer_ = observer;
}
int TaskManagerTableModel::CompareValues(int row1,
int row2,
int column_id) {
switch (column_id) {
case IDS_TASK_MANAGER_TASK_COLUMN:
case IDS_TASK_MANAGER_PROFILE_NAME_COLUMN:
return ui::TableModel::CompareValues(row1, row2, column_id);
case IDS_TASK_MANAGER_NET_COLUMN:
return ValueCompare(
observed_task_manager()->GetNetworkUsage(tasks_[row1]),
observed_task_manager()->GetNetworkUsage(tasks_[row2]));
case IDS_TASK_MANAGER_CPU_COLUMN:
return ValueCompare(observed_task_manager()->GetCpuUsage(tasks_[row1]),
observed_task_manager()->GetCpuUsage(tasks_[row2]));
case IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN:
return ValueCompare(
observed_task_manager()->GetPrivateMemoryUsage(tasks_[row1]),
observed_task_manager()->GetPrivateMemoryUsage(tasks_[row2]));
case IDS_TASK_MANAGER_SHARED_MEM_COLUMN:
return ValueCompare(
observed_task_manager()->GetSharedMemoryUsage(tasks_[row1]),
observed_task_manager()->GetSharedMemoryUsage(tasks_[row2]));
case IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN:
return ValueCompare(
observed_task_manager()->GetPhysicalMemoryUsage(tasks_[row1]),
observed_task_manager()->GetPhysicalMemoryUsage(tasks_[row2]));
case IDS_TASK_MANAGER_SWAPPED_MEM_COLUMN:
return ValueCompare(
observed_task_manager()->GetSwappedMemoryUsage(tasks_[row1]),
observed_task_manager()->GetSwappedMemoryUsage(tasks_[row2]));
case IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN:
return ValueCompare(
observed_task_manager()->GetNaClDebugStubPort(tasks_[row1]),
observed_task_manager()->GetNaClDebugStubPort(tasks_[row2]));
case IDS_TASK_MANAGER_PROCESS_ID_COLUMN:
return ValueCompare(observed_task_manager()->GetProcessId(tasks_[row1]),
observed_task_manager()->GetProcessId(tasks_[row2]));
case IDS_TASK_MANAGER_GDI_HANDLES_COLUMN: {
int64_t current1, peak1, current2, peak2;
observed_task_manager()->GetGDIHandles(tasks_[row1], ¤t1, &peak1);
observed_task_manager()->GetGDIHandles(tasks_[row2], ¤t2, &peak2);
return ValueCompare(current1, current2);
}
case IDS_TASK_MANAGER_USER_HANDLES_COLUMN: {
int64_t current1, peak1, current2, peak2;
observed_task_manager()->GetUSERHandles(tasks_[row1], ¤t1, &peak1);
observed_task_manager()->GetUSERHandles(tasks_[row2], ¤t2, &peak2);
return ValueCompare(current1, current2);
}
case IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN:
return ValueCompare(
observed_task_manager()->GetIdleWakeupsPerSecond(tasks_[row1]),
observed_task_manager()->GetIdleWakeupsPerSecond(tasks_[row2]));
case IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN: {
blink::WebCache::ResourceTypeStats stats1;
blink::WebCache::ResourceTypeStats stats2;
bool row1_stats_valid =
observed_task_manager()->GetWebCacheStats(tasks_[row1], &stats1);
bool row2_stats_valid =
observed_task_manager()->GetWebCacheStats(tasks_[row2], &stats2);
if (!row1_stats_valid || !row2_stats_valid)
return OrderUnavailableValue(row1_stats_valid, row2_stats_valid);
switch (column_id) {
case IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN:
return ValueCompare(stats1.images.size, stats2.images.size);
case IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN:
return ValueCompare(stats1.scripts.size, stats2.scripts.size);
case IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN:
return ValueCompare(stats1.cssStyleSheets.size,
stats2.cssStyleSheets.size);
default:
NOTREACHED();
return 0;
}
}
case IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN: {
bool has_duplicates;
return ValueCompare(
observed_task_manager()->GetGpuMemoryUsage(tasks_[row1],
&has_duplicates),
observed_task_manager()->GetGpuMemoryUsage(tasks_[row2],
&has_duplicates));
}
case IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN: {
int64_t allocated1, allocated2, used1, used2;
bool row1_valid = observed_task_manager()->GetV8Memory(tasks_[row1],
&allocated1,
&used1);
bool row2_valid = observed_task_manager()->GetV8Memory(tasks_[row2],
&allocated2,
&used2);
if (!row1_valid || !row2_valid)
return OrderUnavailableValue(row1_valid, row2_valid);
return ValueCompare(allocated1, allocated2);
}
case IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN:
return ValueCompare(
observed_task_manager()->GetSqliteMemoryUsed(tasks_[row1]),
observed_task_manager()->GetSqliteMemoryUsed(tasks_[row2]));
case IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN: {
const bool is_proc1_bg =
observed_task_manager()->IsTaskOnBackgroundedProcess(tasks_[row1]);
const bool is_proc2_bg =
observed_task_manager()->IsTaskOnBackgroundedProcess(tasks_[row2]);
return BooleanCompare(is_proc1_bg, is_proc2_bg);
}
#if defined(OS_LINUX)
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN: {
const int proc1_fd_count =
observed_task_manager()->GetOpenFdCount(tasks_[row1]);
const int proc2_fd_count =
observed_task_manager()->GetOpenFdCount(tasks_[row2]);
return ValueCompare(proc1_fd_count, proc2_fd_count);
}
#endif // defined(OS_LINUX)
default:
NOTREACHED();
return 0;
}
}
void TaskManagerTableModel::GetRowsGroupRange(int row_index,
int* out_start,
int* out_length) {
const base::ProcessId process_id =
observed_task_manager()->GetProcessId(tasks_[row_index]);
int i = row_index;
int limit = row_index + 1;
while (i > 0 &&
observed_task_manager()->GetProcessId(tasks_[i - 1]) == process_id) {
--i;
}
while (limit < RowCount() &&
observed_task_manager()->GetProcessId(tasks_[limit]) == process_id) {
++limit;
}
*out_start = i;
*out_length = limit - i;
}
void TaskManagerTableModel::OnTaskAdded(TaskId id) {
// For the table view scrollbar to behave correctly we must inform it that
// a new task has been added.
// We will get a newly sorted list from the task manager as opposed to just
// adding |id| to |tasks_| because we want to keep |tasks_| sorted by proc IDs
// and then by Task IDs.
tasks_ = observed_task_manager()->GetTaskIdsList();
if (table_model_observer_) {
std::vector<TaskId>::difference_type index =
std::find(tasks_.begin(), tasks_.end(), id) - tasks_.begin();
table_model_observer_->OnItemsAdded(static_cast<int>(index), 1);
}
}
void TaskManagerTableModel::OnTaskToBeRemoved(TaskId id) {
auto index = std::find(tasks_.begin(), tasks_.end(), id);
if (index == tasks_.end())
return;
auto removed_index = index - tasks_.begin();
tasks_.erase(index);
if (table_model_observer_)
table_model_observer_->OnItemsRemoved(removed_index, 1);
}
void TaskManagerTableModel::OnTasksRefreshed(
const TaskIdList& task_ids) {
tasks_ = task_ids;
OnRefresh();
}
void TaskManagerTableModel::ActivateTask(int row_index) {
observed_task_manager()->ActivateTask(tasks_[row_index]);
}
void TaskManagerTableModel::KillTask(int row_index) {
observed_task_manager()->KillTask(tasks_[row_index]);
}
void TaskManagerTableModel::UpdateRefreshTypes(int column_id, bool visibility) {
bool new_visibility = visibility;
RefreshType type = REFRESH_TYPE_NONE;
switch (column_id) {
case IDS_TASK_MANAGER_PROFILE_NAME_COLUMN:
case IDS_TASK_MANAGER_TASK_COLUMN:
case IDS_TASK_MANAGER_PROCESS_ID_COLUMN:
return; // The data in these columns do not change.
case IDS_TASK_MANAGER_NET_COLUMN:
type = REFRESH_TYPE_NETWORK_USAGE;
break;
case IDS_TASK_MANAGER_CPU_COLUMN:
type = REFRESH_TYPE_CPU;
break;
case IDS_TASK_MANAGER_PHYSICAL_MEM_COLUMN:
type = REFRESH_TYPE_PHYSICAL_MEMORY;
break;
case IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN:
case IDS_TASK_MANAGER_SHARED_MEM_COLUMN:
case IDS_TASK_MANAGER_SWAPPED_MEM_COLUMN:
type = REFRESH_TYPE_MEMORY_DETAILS;
if (table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN) ||
table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_SHARED_MEM_COLUMN) ||
table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_SWAPPED_MEM_COLUMN)) {
new_visibility = true;
}
break;
case IDS_TASK_MANAGER_GDI_HANDLES_COLUMN:
case IDS_TASK_MANAGER_USER_HANDLES_COLUMN:
type = REFRESH_TYPE_HANDLES;
if (table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_GDI_HANDLES_COLUMN) ||
table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_USER_HANDLES_COLUMN)) {
new_visibility = true;
}
break;
case IDS_TASK_MANAGER_IDLE_WAKEUPS_COLUMN:
type = REFRESH_TYPE_IDLE_WAKEUPS;
break;
case IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN:
case IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN:
type = REFRESH_TYPE_WEBCACHE_STATS;
if (table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN) ||
table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN) ||
table_view_delegate_->IsColumnVisible(
IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN)) {
new_visibility = true;
}
break;
case IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN:
type = REFRESH_TYPE_GPU_MEMORY;
break;
case IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN:
type = REFRESH_TYPE_SQLITE_MEMORY;
break;
case IDS_TASK_MANAGER_JAVASCRIPT_MEMORY_ALLOCATED_COLUMN:
type = REFRESH_TYPE_V8_MEMORY;
break;
case IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN:
type = REFRESH_TYPE_NACL;
break;
case IDS_TASK_MANAGER_PROCESS_PRIORITY_COLUMN:
type = REFRESH_TYPE_PRIORITY;
break;
#if defined(OS_LINUX)
case IDS_TASK_MANAGER_OPEN_FD_COUNT_COLUMN:
type = REFRESH_TYPE_FD_COUNT;
break;
#endif // defined(OS_LINUX)
default:
NOTREACHED();
return;
}
if (new_visibility)
AddRefreshType(type);
else
RemoveRefreshType(type);
}
bool TaskManagerTableModel::IsTaskKillable(int row_index) const {
return observed_task_manager()->IsTaskKillable(tasks_[row_index]);
}
void TaskManagerTableModel::RetrieveSavedColumnsSettingsAndUpdateTable() {
if (!g_browser_process->local_state())
return;
const base::DictionaryValue* dictionary =
g_browser_process->local_state()->GetDictionary(
prefs::kTaskManagerColumnVisibility);
if (!dictionary)
return;
// Do a best effort of retrieving the correct settings from the local state.
// Use the default settings of the value if it fails to be retrieved.
std::string sorted_col_id;
bool sort_is_ascending = true;
dictionary->GetString(kSortColumnIdKey, &sorted_col_id);
dictionary->GetBoolean(kSortIsAscendingKey, &sort_is_ascending);
int current_visible_column_index = 0;
for (size_t i = 0; i < kColumnsSize; ++i) {
const int col_id = kColumns[i].id;
const std::string col_id_key(GetColumnIdAsString(col_id));
if (col_id_key.empty())
continue;
bool col_visibility = kColumns[i].default_visibility;
dictionary->GetBoolean(col_id_key, &col_visibility);
// If the above GetBoolean() fails, the |col_visibility| remains at the
// default visibility.
columns_settings_->SetBoolean(col_id_key, col_visibility);
table_view_delegate_->SetColumnVisibility(col_id, col_visibility);
UpdateRefreshTypes(col_id, col_visibility);
if (col_visibility) {
if (sorted_col_id == col_id_key) {
table_view_delegate_->SetSortDescriptor(
TableSortDescriptor(col_id, sort_is_ascending));
}
++current_visible_column_index;
}
}
}
void TaskManagerTableModel::StoreColumnsSettings() {
PrefService* local_state = g_browser_process->local_state();
if (!local_state)
return;
DictionaryPrefUpdate dict_update(local_state,
prefs::kTaskManagerColumnVisibility);
base::DictionaryValue::Iterator it(*columns_settings_);
while (!it.IsAtEnd()) {
dict_update->Set(it.key(), it.value().CreateDeepCopy());
it.Advance();
}
// Store the current sort status to be restored again at startup.
if (!table_view_delegate_->IsTableSorted()) {
dict_update->SetString(kSortColumnIdKey, "");
} else {
const auto& sort_descriptor = table_view_delegate_->GetSortDescriptor();
dict_update->SetString(
kSortColumnIdKey,
GetColumnIdAsString(sort_descriptor.sorted_column_id));
dict_update->SetBoolean(kSortIsAscendingKey, sort_descriptor.is_ascending);
}
}
void TaskManagerTableModel::ToggleColumnVisibility(int column_id) {
bool new_visibility = !table_view_delegate_->IsColumnVisible(column_id);
table_view_delegate_->SetColumnVisibility(column_id, new_visibility);
columns_settings_->SetBoolean(GetColumnIdAsString(column_id), new_visibility);
UpdateRefreshTypes(column_id, new_visibility);
}
int TaskManagerTableModel::GetRowForWebContents(
content::WebContents* web_contents) {
TaskId task_id =
observed_task_manager()->GetTaskIdForWebContents(web_contents);
auto index = std::find(tasks_.begin(), tasks_.end(), task_id);
if (index == tasks_.end())
return -1;
return static_cast<int>(index - tasks_.begin());
}
void TaskManagerTableModel::StartUpdating() {
TaskManagerInterface::GetTaskManager()->AddObserver(this);
tasks_ = observed_task_manager()->GetTaskIdsList();
OnRefresh();
// In order for the scrollbar of the TableView to work properly on startup of
// the task manager, we must invoke TableModelObserver::OnModelChanged() which
// in turn will invoke TableView::NumRowsChanged(). This will adjust the
// vertical scrollbar correctly. crbug.com/570966.
if (table_model_observer_)
table_model_observer_->OnModelChanged();
}
void TaskManagerTableModel::StopUpdating() {
observed_task_manager()->RemoveObserver(this);
}
void TaskManagerTableModel::OnRefresh() {
if (table_model_observer_)
table_model_observer_->OnItemsChanged(0, RowCount());
}
bool TaskManagerTableModel::IsTaskFirstInGroup(int row_index) const {
if (row_index == 0)
return true;
return observed_task_manager()->GetProcessId(tasks_[row_index - 1]) !=
observed_task_manager()->GetProcessId(tasks_[row_index]);
}
} // namespace task_manager
| [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
be45c6c994fe3c86b75130f1d11021b6ff81f687 | 725392dac70fb21feb1c4aa4e98f9dc722e5cf01 | /2.cpp | c97334ebe71330da887ad2d16c5be4c2de585f8b | [] | no_license | Beisenbek/PL2016_W6_G3_D1 | 4be4684ca4fef21b1765d7f926b3c6e86a9dd4b7 | 6c16aea278ebe9fffeb277fa3ab0b9f0c2d5689a | refs/heads/master | 2021-01-18T21:00:28.310417 | 2016-10-05T12:00:31 | 2016-10-05T12:00:31 | 70,056,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | #include <iostream>
using namespace std;
int main(){
int x;
cin >> x;
for(int d = 1;x >= d;d++){
if(x%d == 0){
cout << d << endl;
}
}
return 0;
} | [
"bsnbk@MacBook-Pro.local"
] | bsnbk@MacBook-Pro.local |
900c51eea861d56ccb20634962d5704d84d38b7c | 557a17a03459d2bf63d94efcb324ff7f04966b21 | /WUWModules/iHouseSmartMicroWUWLED/AudioBuffer.h | 47fa86e8fcdf9fef644c38d57452bca8e1e3e4cb | [
"MIT"
] | permissive | voelkerb/iHouse | 8ead7b748ab35f4d4889c7bf63bfd97729a48337 | c73cf3a2aa3b0d3a46096c1b51f5f4366b5e609c | refs/heads/master | 2021-01-23T11:22:08.590306 | 2017-06-02T08:36:00 | 2017-06-02T08:36:00 | 93,137,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | h | /****************************************************
TODO
****************************************************/
#ifndef AudioBuffer_h
#define AudioBuffer_h
#if (ARDUINO >= 100)
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
// Debug-messages.
#define DEBUG 1
#define AUDIO_RECORD_BUFFER_SIZE 256
#define NUMB_WINDOWS 2
// Sampling rate in HZ
#define SAMPLING_RATE 16000
// Window and Frame length in ms
#define WINDOW_LENGTH_MS 20
#define FRAME_LENGTH_MS 10
// Calculate number of samples for a window or frame
#define WINDOW_LENGTH WINDOW_LENGTH_MS * SAMPLING_RATE / 1000
#define FRAME_LENGTH FRAME_LENGTH_MS * SAMPLING_RATE / 1000
class AudioBuffer {
public:
// Constructor
AudioBuffer();
// If a new Audio Window is available
bool available();
// Returns a pointer to the buffer
int8_t* getBuffer();
// Clears the buffer
void clearBuffer();
// Adds new audio samples to the audio array
void sampleAudio(int16_t *p);
private:
size_t whichWindowBuffer;
size_t windowIndex;
int completedWindow;
// Buffer for one recorded audio block
byte audioRecordBuffer[AUDIO_RECORD_BUFFER_SIZE];
int8_t audioWindow[NUMB_WINDOWS][WINDOW_LENGTH];
};
#endif
| [
"benny@narvi.informatik.uni-freiburg.de"
] | benny@narvi.informatik.uni-freiburg.de |
6ad6be3d10632bca41a2ce1625f988a5d0cea6a0 | f0221da7fa5005c634419aebea733813a487196f | /lesson04-368-02.cpp | 97bbd17ce8be74c3626aafdb088d1441e8d7a804 | [] | no_license | kaligma/csc-160 | 1a3dc5b5513b593ad0b86ab593dbf6cbbfc49cdb | e2f0e5e433a59afbc160a50f4296bee1a06e6edf | refs/heads/master | 2021-05-12T16:45:41.596477 | 2018-01-12T20:18:26 | 2018-01-12T20:18:26 | 117,024,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | cpp | //File Name: lesson04-368-02.cpp
//Author: Christopher Abelein
//Email: crabelein@gmail.com
//Assignment: 4
//Description: Program must report arithmetic mean and number of values
//from a file
//Last Modified: 02/10/17
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
int main () {
ifstream instrm;
int filenameok, count, repeat;
char filename[16], rerun;
double sum, next, average;
string buffer;
const string valrerun = "yY";
const string valstop = "nN";
repeat = 1;
cout << "\nHello. This program is designed to take a list of numbers"
<< "\nfrom a file, then count them and calculate their arithmetic mean"
<< "\nfor you.";
while (repeat == 1) {
cout << "\n\n\nPlease input the file name. There is a 15 character maximum."
<< "\nFile Name: ";
do {
filenameok = 1;
cin >> filename;
cout << "\n\nReading from file " << filename << "...";
instrm.open(filename);
if (instrm.fail()) {
cout << "\nInput file opening failed."
<< "\nPlease try again: ";
filenameok = 0; }
} while (filenameok == 0);
sum = 0;
count = 0;
//I tried to write this as different loops with != instrm.eof() as the
//condition, but it always iterated once too many times because it would
//take one iteration to find the eof marker.
while (true) {
next = 0;
instrm >> next;
if (instrm.eof()) {
break; }
sum = sum + next;
count ++; }
average = sum / count;
instrm.close();
cout << "\n\n\nThere were " << count << " numbers in " << filename
<< "\nand their arithmetic average is " << average;
cin.ignore();
while (true) {
buffer = "";
cout << "\n\n\nWould you like to run this program on a different file? y/n: ";
getline(cin, buffer);
if (buffer.length() > 0) {
rerun = buffer[0]; }
if (valrerun.find(rerun) != string::npos) {
cout << "\n\n\nRestarting...";
break; }
if (valstop.find(rerun) != string::npos) {
cout << "\n\n\nGoodbye.\n";
repeat = 0;
break; }
else {
cout << "\nInvalid response, please try again."; } } }
return 0; }
| [
"noreply@github.com"
] | noreply@github.com |
dfc3841401b6ed1391c1f6539a9fc98029415e02 | a851a337d0194a1ec1c50fed600cc4851bb1441c | /src/Config.h | 3347dbb2845c6bb2b21c425b788a9ab6bbf0c1fc | [] | no_license | philipglazman/HotMesh | 7d175934558701ba66d7103434417601a894d1c2 | be8f9d7c66c9d3dacb1f458fcfb88dd431aa38af | refs/heads/master | 2021-09-06T03:14:55.520911 | 2018-02-01T23:55:22 | 2018-02-01T23:55:22 | 118,246,218 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | /*
Reads config.txt file.
*/
#ifndef _CONFIG_H // This is the way that multiple inclusions are defended against often used in UNIX
#define _CONFIG_H
#include "stdafx.h"
class Config {
public:
// Opens the file.
Config();
// Closes the file.
~Config();
// Check if file exists.
bool configExists();
// Get the next line from the source file.
bool GetNextLine(std::string &a_buff);
// Put the file pointer back to the beginning of the file.
void rewind();
private:
// Source file object.
std::ifstream m_file;
};
#endif | [
"8378656+MangoSalad@users.noreply.github.com"
] | 8378656+MangoSalad@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.