blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
29262422a8c0517b23d81c73cb64d60079e476d4
ba9322f7db02d797f6984298d892f74768193dcf
/cloudwf/src/model/ListApRadioStatusRequest.cc
cfc38753403d90635a92d3e2865292701f73fa43
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-cpp-sdk
e27f91996b3bad9226c86f74475b5a1a91806861
a27fc0000a2b061cd10df09cbe4fff9db4a7c707
refs/heads/master
2022-08-21T18:25:53.080066
2022-07-25T10:01:05
2022-07-25T10:01:05
183,356,893
3
0
null
2019-04-25T04:34:29
2019-04-25T04:34:28
null
UTF-8
C++
false
false
3,719
cc
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <alibabacloud/cloudwf/model/ListApRadioStatusRequest.h> using AlibabaCloud::Cloudwf::Model::ListApRadioStatusRequest; ListApRadioStatusRequest::ListApRadioStatusRequest() : RpcServiceRequest("cloudwf", "2017-03-28", "ListApRadioStatus") {} ListApRadioStatusRequest::~ListApRadioStatusRequest() {} int ListApRadioStatusRequest::getSearchDisabled()const { return searchDisabled_; } void ListApRadioStatusRequest::setSearchDisabled(int searchDisabled) { searchDisabled_ = searchDisabled; setParameter("SearchDisabled", std::to_string(searchDisabled)); } std::string ListApRadioStatusRequest::getOrderCol()const { return orderCol_; } void ListApRadioStatusRequest::setOrderCol(const std::string& orderCol) { orderCol_ = orderCol; setParameter("OrderCol", orderCol); } std::string ListApRadioStatusRequest::getSearchName()const { return searchName_; } void ListApRadioStatusRequest::setSearchName(const std::string& searchName) { searchName_ = searchName; setParameter("SearchName", searchName); } int ListApRadioStatusRequest::getSearchChannelEquals()const { return searchChannelEquals_; } void ListApRadioStatusRequest::setSearchChannelEquals(int searchChannelEquals) { searchChannelEquals_ = searchChannelEquals; setParameter("SearchChannelEquals", std::to_string(searchChannelEquals)); } int ListApRadioStatusRequest::getLength()const { return length_; } void ListApRadioStatusRequest::setLength(int length) { length_ = length; setParameter("Length", std::to_string(length)); } std::string ListApRadioStatusRequest::getSearchMac()const { return searchMac_; } void ListApRadioStatusRequest::setSearchMac(const std::string& searchMac) { searchMac_ = searchMac; setParameter("SearchMac", searchMac); } std::string ListApRadioStatusRequest::getSearchApgroupName()const { return searchApgroupName_; } void ListApRadioStatusRequest::setSearchApgroupName(const std::string& searchApgroupName) { searchApgroupName_ = searchApgroupName; setParameter("SearchApgroupName", searchApgroupName); } int ListApRadioStatusRequest::getPageIndex()const { return pageIndex_; } void ListApRadioStatusRequest::setPageIndex(int pageIndex) { pageIndex_ = pageIndex; setParameter("PageIndex", std::to_string(pageIndex)); } std::string ListApRadioStatusRequest::getOrderDir()const { return orderDir_; } void ListApRadioStatusRequest::setOrderDir(const std::string& orderDir) { orderDir_ = orderDir; setParameter("OrderDir", orderDir); } int ListApRadioStatusRequest::getSearchApStatus()const { return searchApStatus_; } void ListApRadioStatusRequest::setSearchApStatus(int searchApStatus) { searchApStatus_ = searchApStatus; setParameter("SearchApStatus", std::to_string(searchApStatus)); } std::string ListApRadioStatusRequest::getAccessKeyId()const { return accessKeyId_; } void ListApRadioStatusRequest::setAccessKeyId(const std::string& accessKeyId) { accessKeyId_ = accessKeyId; setParameter("AccessKeyId", accessKeyId); }
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
07c56ba144c63353804089f52ae0f19b6f1f1798
7e4bd1100ad563345de9604b774cc58c7cf126cc
/902 - Password Search.cpp
a95d1553099b930344b0f7843c264f10b805d43e
[]
no_license
morsalins/UVA
802473873ccaaafce3842d863102f477e7bbc931
802f22112292c1a9541dc07d271e211b43e99541
refs/heads/master
2020-04-12T07:23:34.069466
2017-04-21T03:50:44
2017-04-21T03:50:44
24,820,549
0
0
null
null
null
null
UTF-8
C++
false
false
1,950
cpp
#include <cstdio> #include <iostream> #include <vector> #include <algorithm> #include <bitset> #include <functional> #include <iterator> #include <map> #include <numeric> #include <cstring> #include <string> #include <sstream> #include <set> #include <stack> #include <queue> #include <cctype> #include <math.h> #include <cstdlib> using namespace std; #define I64 long long int #define INF 0x7f7f7f7f #define SIZE 1000 #define MAX 2000 #define EPS 1e-9 #define PI 2*acos(0.0) #define PII pair <int, int> #define PLL pair <I64, I64> #define PDD pair <double, double> #define PSI pair <string, int> #define PIS pair <int, string> #define PSS pair <string string> #define MII map <int, int> #define MLL map <I64, I64> #define MDD map <double, double> #define MSI map <string, int> #define MIS map <int, string> #define MSS map <string string> #define VI vector <int> #define VS vector <string> #define QI queue <int> #define QS queue <string> #define SI stack <int> #define SS stack <string> #define pb push_back #define pob pop_back #define mp make_pair #define IT iterator #define ff first #define ss second #define SET(a, b) memset( a, b, sizeof (a) ) #define READ(f) freopen(f, "r", stdin) #define WRITE(f) freopen(f, "w", stdout) #define IAMHERE cout << "YES\n"; #define DEBUG(a, b) cout << a << ": " << b << "\n"; int main() { //READ("in.txt"); //WRITE("out.txt"); int Case=1; int n; string s; char dump[2]; while (scanf("%d", &n) == 1) { getchar(); getline(cin, s);//DEBUG("s", s); int len = s.size(); int mx = 0; string ans; string Temp; map <string, int> freq; for (int i = 0; i <= len - n; i++) { Temp = s.substr(i, n); freq[Temp]++; if (freq[Temp] > mx) { mx = freq[Temp]; ans = Temp; } } printf("%s\n", ans.c_str()); } return 0; }
[ "mim120291@gmail.com" ]
mim120291@gmail.com
97a108daf6ecec10211f242e80c2f8f5bf9b1971
471c68b408da2bc63838a6c04adef937ebd7ea3b
/winxsamp/tutorials/winx/step001/hello,mfc/HelloMfc.cpp
25937fe137ba581b7de401c3cdd0860a980bba38
[]
no_license
xushiwei/qrsboxui
70720fddbaba89b950fbb28bab2aac65e674ce79
5fba44b58ddac407bdc2cff47ef384a8f6496435
refs/heads/master
2020-05-30T08:25:18.583541
2013-11-12T07:20:26
2013-11-12T07:20:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
523
cpp
// HelloMfc.cpp : implementation file // #include "stdafx.h" #include "HelloMfc.h" #include "HelloMfcDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CHelloMfcApp theApp; ///////////////////////////////////////////////////////////////////////////// // class CHelloMfcApp BOOL CHelloMfcApp::InitInstance() { CHelloMfcDlg dlg; dlg.DoModal(); return FALSE; } /////////////////////////////////////////////////////////////////////////////
[ "xushiweizh@gmail.com" ]
xushiweizh@gmail.com
a0f69fef2fee3ab7e588d1d662c83230924fa9ce
1e9c94f996f01d05e5bc8b8a6ef90bbc0881c5f2
/Lab1/Source/Lab1/Lab1.cpp
d42fc1c9f2aa0eedeb8ca9250c0ed2a0083f1961
[]
no_license
kvntieu/consolegbckt2
0d21ca7de2d8092f8b49a58dad093909eedd5dc7
a6d39b31cfcf2b4c1785d10cdfb61cb830ea3b4d
refs/heads/master
2021-06-24T12:12:54.113718
2017-09-12T20:01:06
2017-09-12T20:01:06
103,314,836
0
0
null
null
null
null
UTF-8
C++
false
false
188
cpp
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Lab1.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Lab1, "Lab1" );
[ "nivektieu@gmail.com" ]
nivektieu@gmail.com
07267ad6c0b060261d666a597e44bd324afc36ed
7538f30404c0eb74c17d5b982eae689b754e227e
/13.5/PrivateFrameworks/KnowledgeGraphKit.framework/CDStructures.h
f19e9d7a17d0cc1c6f44b289223c5f1c4f060d6d
[]
no_license
xybp888/iOS-Header
cdb31acaa22236818917245619fe4f4b90d62d30
0c23e5a9242f1d8fd04d376c22e88d2ec74c3374
refs/heads/master
2022-11-18T22:35:35.676837
2022-10-29T23:47:18
2022-10-29T23:47:18
204,074,346
156
63
null
null
null
null
UTF-8
C++
false
false
11,497
h
// // Generated by class-dump 3.5 (64 bit). // // Copyright (C) 1997-2019 Steve Nygard. // #pragma mark Blocks typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown #pragma mark Named Structures struct AttributeTable { CDUnknownFunctionPointerType *_field1; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field2; struct sqlite3 *_field3; struct shared_ptr<degas::Statement> _field4; struct shared_ptr<degas::Statement> _field5; struct shared_ptr<degas::Statement> _field6; struct shared_ptr<degas::Statement> _field7; struct shared_ptr<degas::Statement> _field8; }; struct Bitmap { unsigned long long _field1; unsigned long long _field2; struct vector<degas::BitsetPtr, std::__1::allocator<degas::BitsetPtr>> _field3; _Bool _field4; }; struct BitmapTable { struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field1; struct sqlite3 *_field2; struct Bitmap *_field3; }; struct BitsetPtr; struct Database { struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field1; struct sqlite3 *_field2; struct LabelTable _field3; struct MetadataTable _field4; struct NodeTable _field5; struct EdgeTable _field6; struct AttributeTable _field7; struct map<unsigned long long, degas::AttributeInstanceTable, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::AttributeInstanceTable>>> _field8; struct map<unsigned long long, degas::AttributeInstanceTable, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::AttributeInstanceTable>>> _field9; struct Statement *_field10; struct Statement *_field11; struct BitmapTable _field12; }; struct EdgeCursor { struct shared_ptr<degas::Statement> _field1; }; struct EdgeTable { CDUnknownFunctionPointerType *_field1; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field2; struct sqlite3 *_field3; struct shared_ptr<degas::Statement> _field4; struct shared_ptr<degas::Statement> _field5; struct shared_ptr<degas::Statement> _field6; struct shared_ptr<degas::Statement> _field7; struct shared_ptr<degas::Statement> _field8; struct shared_ptr<degas::Statement> _field9; }; struct LabelTable { CDUnknownFunctionPointerType *_field1; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field2; struct sqlite3 *_field3; struct shared_ptr<degas::Statement> _field4; struct shared_ptr<degas::Statement> _field5; struct shared_ptr<degas::Statement> _field6; struct shared_ptr<degas::Statement> _field7; struct shared_ptr<degas::Statement> _field8; struct shared_ptr<degas::Statement> _field9; }; struct MetadataTable { CDUnknownFunctionPointerType *_field1; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field2; struct sqlite3 *_field3; struct shared_ptr<degas::Statement> _field4; struct shared_ptr<degas::Statement> _field5; struct shared_ptr<degas::Statement> _field6; int _field7; }; struct NodeCursor { struct shared_ptr<degas::Statement> _field1; }; struct NodeTable { CDUnknownFunctionPointerType *_field1; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> _field2; struct sqlite3 *_field3; struct shared_ptr<degas::Statement> _field4; struct shared_ptr<degas::Statement> _field5; struct shared_ptr<degas::Statement> _field6; struct shared_ptr<degas::Statement> _field7; struct shared_ptr<degas::Statement> _field8; struct shared_ptr<degas::Statement> _field9; }; struct Statement; struct __tree_end_node<std::__1::__tree_node_base<void *>*> { struct __tree_node_base<void *> *_field1; }; struct basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> { struct __compressed_pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::__rep, std::__1::allocator<char>> { struct __rep { union { struct __long { unsigned long long _field1; unsigned long long _field2; char *_field3; } _field1; struct __short { union { unsigned char _field1; char _field2; } _field1; char _field2[23]; } _field2; struct __raw { unsigned long long _field1[3]; } _field3; } _field1; } _field1; } _field1; }; struct map<unsigned long long, degas::AttributeInstanceCursor, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::AttributeInstanceCursor>>> { struct __tree<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::less<unsigned long long>, true>, std::__1::allocator<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> *_field1; struct __compressed_pair<std::__1::__tree_end_node<std::__1::__tree_node_base<void *>*>, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, void *>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> _field1; } _field2; struct __compressed_pair<unsigned long, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::less<unsigned long long>, true>> { unsigned long long _field1; } _field3; } _field1; }; struct map<unsigned long long, degas::AttributeInstanceTable, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::AttributeInstanceTable>>> { struct __tree<std::__1::__value_type<unsigned long long, degas::AttributeInstanceTable>, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceTable>, std::__1::less<unsigned long long>, true>, std::__1::allocator<std::__1::__value_type<unsigned long long, degas::AttributeInstanceTable>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> *_field1; struct __compressed_pair<std::__1::__tree_end_node<std::__1::__tree_node_base<void *>*>, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned long long, degas::AttributeInstanceTable>, void *>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> _field1; } _field2; struct __compressed_pair<unsigned long, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceTable>, std::__1::less<unsigned long long>, true>> { unsigned long long _field1; } _field3; } _field1; }; struct map<unsigned long long, degas::DataType, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::DataType>>> { struct __tree<std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::less<unsigned long long>, true>, std::__1::allocator<std::__1::__value_type<unsigned long long, degas::DataType>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> *_field1; struct __compressed_pair<std::__1::__tree_end_node<std::__1::__tree_node_base<void *>*>, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned long long, degas::DataType>, void *>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> _field1; } _field2; struct __compressed_pair<unsigned long, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::less<unsigned long long>, true>> { unsigned long long _field1; } _field3; } _field1; }; struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; }; struct shared_ptr<degas::Statement> { struct Statement *_field1; struct __shared_weak_count *_field2; }; struct sqlite3; struct vector<degas::BitsetPtr, std::__1::allocator<degas::BitsetPtr>> { struct BitsetPtr *_field1; struct BitsetPtr *_field2; struct __compressed_pair<degas::BitsetPtr *, std::__1::allocator<degas::BitsetPtr>> { struct BitsetPtr *_field1; } _field3; }; #pragma mark Typedef'd Structures // Template types typedef struct map<unsigned long long, degas::AttributeInstanceCursor, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::AttributeInstanceCursor>>> { struct __tree<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::less<unsigned long long>, true>, std::__1::allocator<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> *_field1; struct __compressed_pair<std::__1::__tree_end_node<std::__1::__tree_node_base<void *>*>, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, void *>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> _field1; } _field2; struct __compressed_pair<unsigned long, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::AttributeInstanceCursor>, std::__1::less<unsigned long long>, true>> { unsigned long long _field1; } _field3; } _field1; } map_f5a6a24a; typedef struct map<unsigned long long, degas::DataType, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned long long, degas::DataType>>> { struct __tree<std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::less<unsigned long long>, true>, std::__1::allocator<std::__1::__value_type<unsigned long long, degas::DataType>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> *_field1; struct __compressed_pair<std::__1::__tree_end_node<std::__1::__tree_node_base<void *>*>, std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<unsigned long long, degas::DataType>, void *>>> { struct __tree_end_node<std::__1::__tree_node_base<void *>*> _field1; } _field2; struct __compressed_pair<unsigned long, std::__1::__map_value_compare<unsigned long long, std::__1::__value_type<unsigned long long, degas::DataType>, std::__1::less<unsigned long long>, true>> { unsigned long long _field1; } _field3; } _field1; } map_d80ba52d;
[ "8657156@qq.com" ]
8657156@qq.com
0a94b6e1dcf9fdf54665ec14b0b7e5874d7486cd
4ef69f0044f45be4fbce54f7b7c0319e4c5ec53d
/include/cv/core/cmd/out/dlaqr5.inl
9616976100ab649c9592d12923deeb6ee56b7351
[]
no_license
15831944/cstd
c6c3996103953ceda7c06625ee1045127bf79ee8
53b7e5ba73cbdc9b5bbc61094a09bf3d5957f373
refs/heads/master
2021-09-15T13:44:37.937208
2018-06-02T10:14:16
2018-06-02T10:14:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
264
inl
#ifndef __dlaqr5__ #define __dlaqr5__ #define c_b7 c_b7_dlaqr5 #define c_b8 c_b8_dlaqr5 #define c__3 c__3_dlaqr5 #define c__1 c__1_dlaqr5 #define c__2 c__2_dlaqr5 #include "dlaqr5.c" #undef c_b7 #undef c_b8 #undef c__3 #undef c__1 #undef c__2 #endif // __dlaqr5__
[ "31720406@qq.com" ]
31720406@qq.com
9a849df27ef2ca1017b35c6d8f0a1b29c6ef4c11
dad6c4b7d251de8c965a3201a68afd8ce07c8e47
/asana/divide.cpp
7f8279f46faa6f40de4ffc917790829a06d315e3
[]
no_license
taishanren88/Practice
f887627029093f3b4a2e95b71b358880c64dc3bc
cf4d8a4bf28ea577ea08b2b24513953ea1db0975
refs/heads/master
2021-01-02T08:13:26.024299
2019-11-25T06:17:58
2019-11-25T06:17:58
98,965,768
0
0
null
null
null
null
UTF-8
C++
false
false
1,348
cpp
#include <iostream> #include <cassert> using namespace std; long long_divide(long dividend, long divisor) { if (dividend < divisor) return 0; auto sum = divisor; int multiple = 1; while (sum + sum < dividend) { sum += sum; // double it each time multiple += multiple; } return multiple + long_divide(dividend - sum, divisor); } int divide(int dividend, int divisor) { // Count how many times you can subtract divisor from dividend // Since we want to do this faster than linear subtracting // Count the # of times you can subtract but double those times each time // Convert to long to handle integer overflow case bool isNeg = (dividend < 0 && divisor > 0) || (dividend >0 && divisor < 0); if (dividend == INT_MIN && divisor == 1) return INT_MIN; if (dividend == INT_MIN && divisor == -1) return INT_MAX; auto result = long_divide(abs(static_cast<long>(dividend)), abs(static_cast<long>(divisor))); if (isNeg) result *= -1; return result; } int main() { assert(divide(INT_MIN, -1) == INT_MAX); assert(divide(INT_MAX, 1) == INT_MAX); assert(divide(6,3) == 2); assert(divide(6,4) == 1); }
[ "taishanren88@gmail.com" ]
taishanren88@gmail.com
7519e9fd86f442389a44d52d9b39cad129c958fc
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/vpc/include/tencentcloud/vpc/v20170312/model/DeleteHaVipRequest.h
97ffe64cb09e854217b19f3b643d3f2aa2597b14
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
2,540
h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef TENCENTCLOUD_VPC_V20170312_MODEL_DELETEHAVIPREQUEST_H_ #define TENCENTCLOUD_VPC_V20170312_MODEL_DELETEHAVIPREQUEST_H_ #include <string> #include <vector> #include <map> #include <tencentcloud/core/AbstractModel.h> namespace TencentCloud { namespace Vpc { namespace V20170312 { namespace Model { /** * DeleteHaVip请求参数结构体 */ class DeleteHaVipRequest : public AbstractModel { public: DeleteHaVipRequest(); ~DeleteHaVipRequest() = default; std::string ToJsonString() const; /** * 获取`HAVIP`唯一`ID`,形如:`havip-9o233uri`。 * @return HaVipId `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 * */ std::string GetHaVipId() const; /** * 设置`HAVIP`唯一`ID`,形如:`havip-9o233uri`。 * @param _haVipId `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 * */ void SetHaVipId(const std::string& _haVipId); /** * 判断参数 HaVipId 是否已赋值 * @return HaVipId 是否已赋值 * */ bool HaVipIdHasBeenSet() const; private: /** * `HAVIP`唯一`ID`,形如:`havip-9o233uri`。 */ std::string m_haVipId; bool m_haVipIdHasBeenSet; }; } } } } #endif // !TENCENTCLOUD_VPC_V20170312_MODEL_DELETEHAVIPREQUEST_H_
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
7299698cc95b6e94f12b2c2c16e471db812c62fe
9196adb98f5fde4a7dbd59ccb46c695ca500773e
/Practica2.0/UFormListadoPartidos.cpp
5f7b785b30a7535889ffb7e58116fcea2fd8e53b
[]
no_license
HectorGPala/Practices-LP2
e059b736575143096161cba2d38e9adc92658103
15fa7b2d835df3293c4075cba0011f9021220615
refs/heads/master
2016-09-05T15:42:49.655051
2014-03-13T00:43:17
2014-03-13T00:43:17
null
0
0
null
null
null
null
ISO-8859-10
C++
false
false
3,332
cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "UFormListadoPartidos.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TFormListadoPartidos *FormListadoPartidos; //--------------------------------------------------------------------------- __fastcall TFormListadoPartidos::TFormListadoPartidos(TComponent* Owner, TTorneo &x) : TForm(Owner), t(x) { } //--------------------------------------------------------------------------- void __fastcall TFormListadoPartidos::FormCreate(TObject *Sender) { GridListadoPartidos->ColCount = 5; GridListadoPartidos->RowCount = 1; GridListadoPartidos->Cells[0][0] = "Nš"; GridListadoPartidos->Cells[1][0] = "Local"; GridListadoPartidos->Cells[2][0] = "Goles"; GridListadoPartidos->Cells[3][0] = "Visitante"; GridListadoPartidos->Cells[4][0] = "Goles"; int n = torneo_numero_equipos(t); AnsiString nombre_equipo; for(int i = 0; i < n; i++){ torneo_nombre_equipo(t,i,nombre_equipo); ComboBoxEquipo->Items->Values[i] = nombre_equipo; } } //--------------------------------------------------------------------------- void __fastcall TFormListadoPartidos::ComboBoxEquipoChange(TObject *Sender) { GridListadoPartidos->RowCount = 1; int id = ComboBoxEquipo->ItemIndex; int n = torneo_numero_equipos(t); int gl,gv; int j = 1; for(int i = 0; i < n; i++){ if(torneo_info_partido(t,id,i,gl,gv) == 0){ GridListadoPartidos->RowCount++; AnsiString nombre_equipo; torneo_nombre_equipo(t,id,nombre_equipo); GridListadoPartidos->Cells[0][j] = j; GridListadoPartidos->Cells[1][j] = nombre_equipo; torneo_nombre_equipo(t,i,nombre_equipo); GridListadoPartidos->Cells[2][j] = gl; GridListadoPartidos->Cells[3][j] = nombre_equipo; GridListadoPartidos->Cells[4][j] = gv; j++; } if(torneo_info_partido(t,i,id,gl,gv) == 0){ GridListadoPartidos->RowCount++; AnsiString nombre_equipo; torneo_nombre_equipo(t,i,nombre_equipo); GridListadoPartidos->Cells[0][j] = j; GridListadoPartidos->Cells[1][j] = nombre_equipo; torneo_nombre_equipo(t,id,nombre_equipo); GridListadoPartidos->Cells[2][j] = gl; GridListadoPartidos->Cells[3][j] = nombre_equipo; GridListadoPartidos->Cells[4][j] = gv; j++; } } } //--------------------------------------------------------------------------- void __fastcall TFormListadoPartidos::ButtonCancelarClick(TObject *Sender) { Close(); } //---------------------------------------------------------------------------
[ "hgutierrez2501@gmail.com" ]
hgutierrez2501@gmail.com
756c1d9be25ec5ed66a5b8d084181d5f884d4ef2
db04ecf258aef8a187823b8e47f4a1ae908e5897
/Cplus/SpecialArrayWithXElementsGreaterThanorEqualX.cpp
15a54703b58ebf0de5559afa41046653a7c6ca3f
[ "MIT" ]
permissive
JumHorn/leetcode
9612a26e531ceae7f25e2a749600632da6882075
abf145686dcfac860b0f6b26a04e3edd133b238c
refs/heads/master
2023-08-03T21:12:13.945602
2023-07-30T07:00:50
2023-07-30T07:00:50
74,735,489
0
0
null
null
null
null
UTF-8
C++
false
false
339
cpp
#include <algorithm> #include <vector> using namespace std; class Solution { public: int specialArray(vector<int> &nums) { sort(nums.begin(), nums.end()); int X = 1, N = nums.size(); for (int i = N - 1; i >= 0; --i, ++X) { if (X > nums[i]) return -1; if (i == 0 || X > nums[i - 1]) return X; } return -1; } };
[ "JumHorn@gmail.com" ]
JumHorn@gmail.com
9b2f9b6f2e91a8740bcc98808853968a83888a30
4d9ee8a8b93802733e7e04328152afa42cae4fdb
/Backtrack.cpp
f9942a2181c6006d56423a8380bd613fc0fdc072
[]
no_license
ALEHACKsp/projectz-master
b4e717e1e86683cd1b782c5e7e9e4d02f13880f3
2940aeabc876c16669989298b9adbc6af9514385
refs/heads/main
2023-01-22T17:50:36.896291
2020-11-25T02:44:20
2020-11-25T02:44:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,565
cpp
#include "Backtrack.h" BacktrackData headPositions[24][12]; CBacktracking gBacktracking; //======================================================================= inline float distance_point_to_line(Vector Point, Vector LineOrigin, Vector Dir) { auto PointDir = Point - LineOrigin; auto TempOffset = PointDir.Dot(Dir) / (Dir.x*Dir.x + Dir.y*Dir.y + Dir.z*Dir.z); if (TempOffset < 0.000001f) return FLT_MAX; auto PerpendicularPoint = LineOrigin + (Dir * TempOffset); return (Point - PerpendicularPoint).Length(); } inline Vector angle_vector(Vector meme) { auto sy = sin(meme.y / 180.f * static_cast<float>(PI)); auto cy = cos(meme.y / 180.f * static_cast<float>(PI)); auto sp = sin(meme.x / 180.f * static_cast<float>(PI)); auto cp = cos(meme.x / 180.f* static_cast<float>(PI)); return Vector(cp*cy, cp*sy, -sp); } //======================================================================= void CBacktracking::Run(CBaseEntity* pLocal, CUserCmd* pCommand) { int iBestTarget = -1; float bestFov = 99999; if (!pLocal || !gCvars.misc_backtracking) return; for (int i = 1; i <= gInts.Engine->GetMaxClients(); i++) { CBaseEntity* pEntity = GetBaseEntity(i); if (!pEntity || pEntity->IsDormant() || pEntity->GetLifeState() != LIFE_ALIVE) continue; if (gCvars.misc_backtracking_deathmatch && pEntity->GetTeamNum() != pLocal->GetTeamNum()) continue; if (pLocal->GetLifeState() != LIFE_ALIVE) continue; Vector hitboxpos = pEntity->GetHitboxPosition(0); if (GAME_CSS || GAME_DODS) hitboxpos = pEntity->GetHitboxPosition(12); else if (GAME_TF2) hitboxpos = pEntity->GetHitboxPosition(0); else if (gInts.Engine->GetAppId() != 440) hitboxpos = pEntity->GetHitboxPosition(4); headPositions[i][pCommand->command_number % 13] = BacktrackData{ pCommand->tick_count, hitboxpos }; Vector ViewDir = angle_vector(pCommand->viewangles); float FOVDistance = distance_point_to_line(hitboxpos, pLocal->GetEyePosition(), ViewDir); if (bestFov > FOVDistance) { bestFov = FOVDistance; iBestTarget = i; } if (iBestTarget != -1) { int bestTick = 0; float tempFOV = 9999; float bestFOV = 30; for (int t = 0; t < 13; t++) { Vector ViewDir = angle_vector(pCommand->viewangles); float tempFOV = distance_point_to_line(headPositions[iBestTarget][t].hitboxpos, pLocal->GetEyePosition(), ViewDir); if (bestFOV > tempFOV) { bestTick = t; bestFOV = tempFOV; } } if (pCommand->buttons & IN_ATTACK) pCommand->tick_count = headPositions[i][bestTick].tickcount; } } }
[ "43587338+Gr4nray@users.noreply.github.com" ]
43587338+Gr4nray@users.noreply.github.com
6c5e6e1d18a052a2ac534d5f150aa30da5ba466f
095e236b1ebfd301e72779640750c21af87bd1b1
/scenes/3D_graphics/02_texture/example_texture.hpp
9772a72fbc5736b17e3829dbf75c6665cf78848d
[ "MIT" ]
permissive
danielquintao/inf443_vcl
b53215ac44e553337499dde9b4e8414bd78a45f5
54848fde93a5d0a1fe9ddbcacf97bd3899b36121
refs/heads/master
2022-11-09T20:44:10.066126
2020-06-07T17:04:58
2020-06-07T17:04:58
265,497,385
0
0
MIT
2020-05-20T08:16:07
2020-05-20T08:16:06
null
UTF-8
C++
false
false
1,175
hpp
#pragma once #include "main/scene_base/base.hpp" #ifdef SCENE_EXAMPLE_TEXTURE // Stores some parameters that can be set from the GUI struct gui_scene_structure { bool wireframe; }; struct scene_model : scene_base { /** A part must define two functions that are called from the main function: * setup_data: called once to setup data before starting the animation loop * frame_draw: called at every displayed frame within the animation loop * * These two functions receive the following parameters * - shaders: A set of shaders. * - scene: Contains general common object to define the 3D scene. Contains in particular the camera. * - data: The part-specific data structure defined previously * - gui: The GUI structure allowing to create/display buttons to interact with the scene. */ void setup_data(std::map<std::string,GLuint>& shaders, scene_structure& scene, gui_structure& gui); void frame_draw(std::map<std::string,GLuint>& shaders, scene_structure& scene, gui_structure& gui); void set_gui(); vcl::mesh_drawable surface; GLuint texture_id; gui_scene_structure gui_scene; }; #endif
[ "damien.rohmer@polytechnique.edu" ]
damien.rohmer@polytechnique.edu
11b57a2865f7da1af8268a0b7879d5d205806136
3bb9a9e821012e2361140ab1884eb1b77206eb99
/mid_project/main.cpp
4ee3834461b5e4173efbda2cf1d49f6cb498401e
[]
no_license
YU-LIN-LIN/mid_project
c1f38a3791d84d73e874fc98d194487475302f43
2c3be5e8264de945ad5eee6a5bb53d736cc1c44a
refs/heads/master
2022-07-07T08:39:43.720615
2020-05-11T17:24:39
2020-05-11T17:24:39
259,624,796
0
0
null
null
null
null
UTF-8
C++
false
false
1,554
cpp
#include "mbed.h" #include <cmath> #include "DA7212.h" DA7212 audio; int16_t waveform[kAudioTxBufferSize]; EventQueue queue(32 * EVENTS_EVENT_SIZE); Thread t; int song1[42] = { 261, 261, 392, 392, 440, 440, 392, 349, 349, 330, 330, 294, 294, 261, 392, 392, 349, 349, 330, 330, 294, 392, 392, 349, 349, 330, 330, 294, 261, 261, 392, 392, 440, 440, 392, 349, 349, 330, 330, 294, 294, 261}; int song2[32] = { 261, 294, 330, 261, 261, 294, 330, 261, 330, 349, 392, 330, 349, 392, 392, 440, 392, 349, 330, 261, 392, 440, 392, 349, 330, 261, 261, 196, 261, 261, 196, 261}; int noteLength[42] = { 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2}; int noteLength2[32] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2}; void playNote(int freq) { for(int i = 0; i < kAudioTxBufferSize; i++) { waveform[i] = (int16_t) (sin((double)i * 2. * M_PI/(double) (kAudioSampleFrequency / freq)) * ((1<<16) - 1)); } audio.spk.play(waveform, kAudioTxBufferSize); } int main(void) { t.start(callback(&queue, &EventQueue::dispatch_forever)); for(int i = 0; i < 32; i++) { int length = noteLength2[i]; while(length) { // the loop below will play the note for the duration of 1s for(int j = 0; j < kAudioSampleFrequency / kAudioTxBufferSize; ++j) { queue.call(playNote, song2[i]); } if(length) wait(0.5); length--; } } }
[ "nophy0428@gmail.com" ]
nophy0428@gmail.com
0e6711f64cd472df260ba13a956de4e835b4d07b
3eb9233f0dec92a55da132369644cc3d97d8cb82
/Include/LIEF/utils.hpp
81e019e9312450005ba75b44cd945609ecaf8657
[ "MIT" ]
permissive
jasham/event2Backend
d62069c5a17418eca2caf7a3f5fc87d1c2e5470b
54e9945676458231cacb6fb8ad62a757a9547b63
refs/heads/master
2021-02-07T01:46:07.614544
2020-03-23T18:35:15
2020-03-23T18:35:15
243,967,558
0
1
null
null
null
null
UTF-8
C++
false
false
1,984
hpp
/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef LIEF_UTILS_HEADER #define LIEF_UTILS_HEADER #include "LIEF/types.hpp" #include "LIEF/visibility.h" #include <string> namespace LIEF { uint64_t align(uint64_t value, uint64_t align_on); template<typename T> inline constexpr T round(T x) { return static_cast<T>(round<uint64_t>(x)); } template<> inline uint64_t round<uint64_t>(uint64_t x) { //From http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 x--; x |= x >> 1; // handle 2 bit numbers x |= x >> 2; // handle 4 bit numbers x |= x >> 4; // handle 8 bit numbers x |= x >> 8; // handle 16 bit numbers x |= x >> 16; // handle 32 bit numbers x |= x >> 32; // handle 64 bit numbers x++; return x; } constexpr size_t operator ""_KB(unsigned long long kbs) { return 1024 * kbs; } constexpr size_t operator ""_MB(unsigned long long mbs) { return 1024 * 1024 * mbs; } constexpr size_t operator ""_GB(unsigned long long gbs) { return 1024 * 1024 * 1024 * gbs; } //! @brief Convert a UTF-16 string to a UTF-8 one LIEF_API std::string u16tou8(const std::u16string& string, bool remove_null_char = false); //! @brief Convert a UTF-8 string to a UTF-16 one LIEF_API std::u16string u8tou16(const std::string& string); LIEF_API std::string hex_str(uint8_t c); } #endif
[ "root@vps281524.vps.ovh.ca" ]
root@vps281524.vps.ovh.ca
d452a640afd7dc3ac71e241198064192c5f2af82
35b0502a545134896c7b88243dd6359af18e7d23
/WeeDiff/WeeDiffGen/Plugins/WDGEnableCustom3DBones/WDGEnableCustom3DBones.h
287bcd0b3e5cd9146c35252b3dfc0713dd54e559
[ "LicenseRef-scancode-other-permissive" ]
permissive
HM-LIANG/atwl
a16fb5b1fe87f553aa7fceb6bf84bb079e18456e
11632f8b3827e47845e5e2def75522819fa445aa
refs/heads/master
2023-04-19T10:01:15.373940
2021-05-08T21:25:30
2021-05-08T21:25:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,192
h
// ----------------------------------------------------------------- // WDGEnableCustom3DBones // (c) 2013 Ai4rei/AN, curiosity, Animated 3D Monsters in RO Project // // This work is licensed under a // Creative Commons BY-NC-SA 3.0 Unported License // http://creativecommons.org/licenses/by-nc-sa/3.0/ // // ----------------------------------------------------------------- #ifndef _WDGENABLECUSTOM3DBONES_H_ #define _WDGENABLECUSTOM3DBONES_H_ #include <tchar.h> #include <WeeDiffGenPlugin.h> using namespace WeeDiffGenPlugin; class WDGPlugin : public IWDGPlugin { DiffData m_DiffData; public: WDGPlugin(LPVOID lpData) : IWDGPlugin(lpData) { } // virtual void Release(void); virtual void Free(LPVOID lpBuf); virtual LPWDGPLUGININFO GetPluginInfo(void); virtual INT32 Enabled(void); virtual INT32 Disabled(void); virtual LPCTSTR GetInputValue(void); virtual DiffData* GeneratePatch(void); virtual DiffData* GetDiffData(void); private: bool IsVC9Image(void); bool IsSane(void); void SetByte(UINT32 uOffset, UCHAR uValue); bool TryMatch(LPFINDDATA lpFd, UINT32* lpuOffset); }; #endif /* _WDGENABLECUSTOM3DBONES_H_ */
[ "ai4rei@users.noreply.github.com" ]
ai4rei@users.noreply.github.com
ba8065b11943afcca7f2e2bfbff5732debd4e28c
4c4c2501e80dea7039a0ea2d29c5adc7908f434f
/Math/MathTools.h
e4228b9e7975fe186ef0d5fc9eb66925a0b135e9
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
ChaofanChen/ogs5-egs
de15e19e1497a3b91e0060c4fea18059fd3f06de
ed71af0b8410e8ef13302081443c91ca69982ac1
refs/heads/master
2023-03-18T07:53:23.108883
2019-07-01T08:06:57
2019-07-01T08:06:57
170,993,080
0
0
NOASSERTION
2019-02-16T10:52:58
2019-02-16T10:52:58
null
UTF-8
C++
false
false
2,969
h
/** * \copyright * Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ /* * \file MathTools.h * * Created on: Jan 13, 2010 * Author: fischeth */ #ifndef MATHTOOLS_H_ #define MATHTOOLS_H_ #include <cmath> #include <cstddef> #include <limits> #include <vector> namespace MathLib { /** * standard inner product in R^3 * \param v0 array of type T representing the vector * \param v1 array of type T representing the vector * \param n the size of the array * */ template <class T> inline double scpr(const T* v0, const T* v1, size_t n) { long double res(0.0); for (size_t k(0); k < n; k++) res += v0[k] * v1[k]; return (double)res; } /** * computes the cross (or vector) product of the 3d vectors u and v * the result is given in the vector r */ void crossProd(const double u[3], const double v[3], double r[3]); /** * calcProjPntToLineAndDists computes the orthogonal projection * of a point p to the line described by the points a and b, * $g(\lambda) = a + \lambda (b - a)$, * the distance between p and the projected point * and the distances between the projected point and the end * points a, b of the line * \param p the (mesh) point * \param a first point of line * \param b second point of line * \param lambda the projected point described by the line equation above * \param d0 distance to the line point a * \returns the distance between p and the orthogonal projection of p */ double calcProjPntToLineAndDists(const double p[3], const double a[3], const double b[3], double& lambda, double& d0); /** squared dist between double arrays p0 and p1 (size of arrays is 3) */ inline double sqrDist(double const* p0, double const* p1) { const double v[3] = {p1[0] - p0[0], p1[1] - p0[1], p1[2] - p0[2]}; return scpr(v, v, 3); } /** linear normalisation of val from [min, max] into [0,1] */ float normalize(float min, float max, float val); /** * Let \f$p_0, p_1, p_2 \in \mathbb{R}^3\f$. The function getAngle * computes the angle between the edges \f$(p_0,p_1)\f$ and \f$(p_1,p_2)\f$ * @param p0 start point of edge 0 * @param p1 end point of edge 0 and start point of edge 1 * @param p2 end point of edge 1 * @return the angle between the edges */ double getAngle(const double p0[3], const double p1[3], const double p2[3]); /** * simple power function that takes as a second argument an integer instead of a * float * @param base basis of the expression * @param exp exponent of the expression * @return base^exp */ template <typename T> inline T fastpow(T base, size_t exp) { T result(base); if (exp == 0) result = static_cast<T>(1); for (size_t k(1); k < exp; k++) result *= base; return result; } } // namespace extern int Signum(double); #endif /* MATHTOOLS_H_ */
[ "norihiro.watanabe@ufz.de" ]
norihiro.watanabe@ufz.de
8bd8feaaad6c4ffd94265cdb859c5893eb79e5a7
ecf1c86f6cf5623b0ba14a1c2b57fad2dbcf57aa
/include/btas/SDArray.h
e949826289fd8fdc1c1f47b8843c19c12914b88d
[]
no_license
i-maruyama/btas
c262e83083323e08354062b6ffcc38bcdeab7a72
c1bb3255bce9ae28671d2fbf27c2a91fb7438372
refs/heads/master
2020-12-25T12:08:16.277453
2013-03-26T04:54:25
2013-03-26T04:54:25
9,314,521
0
1
null
null
null
null
UTF-8
C++
false
false
18,154
h
// #################################################################################################### // REAL BLOCK-SPARSE ARRAY CLASS / wrote by N.Nakatani 12/09/2012 // #################################################################################################### #ifndef _BTAS_SDARRAY_H #define _BTAS_SDARRAY_H 1 #include <ostream> #include <iomanip> #include <map> #include <boost/serialization/map.hpp> #include <boost/serialization/shared_ptr.hpp> #include <btas/btas_defs.h> #include <btas/TVector.h> #include <btas/DArray.h> namespace btas { // // SDArray : block-sparse array // template<int N> class SDArray { // #################################################################################################### // ALIASES & SUPPORTIVE FUNCTIONS // #################################################################################################### private: // // alias to data type // typedef std::map<int, shared_ptr<DArray<N> > > DataType; public: // // alias to iterator // typedef typename DataType::const_iterator const_iterator; typedef typename DataType::iterator iterator; private: // // boost serialization // friend class boost::serialization::access; template <class Archive> void serialize(Archive& ar, const unsigned int version) { ar & m_shape; ar & m_stride; ar & m_data; } protected: // // checking non-zero block // * this should be overridden so that non-zero block can be determined from SDArray class // virtual bool mf_non_zero(const TinyVector<int, N>& block_index) const { return true; } // #################################################################################################### // CONSTRUCTORS / DESTRUCTORS // #################################################################################################### public: // default constructor SDArray() : m_shape(0), m_stride(0) { } // construct by sparse-block shape SDArray(const TinyVector<int, N>& s_shape) { resize(s_shape); } // construct by dense-block shapes SDArray(const TinyVector<Dshapes, N>& d_shape) { resize(d_shape); } SDArray(const TinyVector<Dshapes, N>& d_shape, const double& value) { resize(d_shape, value); } SDArray(const TinyVector<Dshapes, N>& d_shape, const function<double(void)>& f_random_generator) { resize(d_shape, f_random_generator); } // copy constructor SDArray(const SDArray<N>& other) { copy(other); } // deallocation void clear() { m_shape = 0; m_stride = 0; m_data.clear(); } // initializer void operator= (const double& value) { for(iterator it = m_data.begin(); it != m_data.end(); ++it) { *(it->second) = value; } } void operator= (const function<double(void)>& f_random_generator) { for(iterator it = m_data.begin(); it != m_data.end(); ++it) { for(typename DArray<N>::iterator id = it->second->begin(); id != it->second->end(); ++id) { *id = f_random_generator(); } } } // #################################################################################################### // ASSIGNMENT // #################################################################################################### // copy assignment operator SDArray<N>& operator= (const SDArray<N>& other) { copy(other); return *this; } // make deep copy of other void copy(const SDArray<N>& other) { m_shape = other.m_shape; m_stride = other.m_stride; m_data.clear(); iterator ipos = m_data.begin(); for(const_iterator it = other.m_data.begin(); it != other.m_data.end(); ++it) { ipos = m_data.insert(ipos, std::make_pair(it->first, shared_ptr<DArray<N> >(new DArray<N>()))); Dcopy(*(it->second), *(ipos->second)); } } // make reference to other: not complete reference since this only shares pre-existing data of other void reference(const SDArray<N>& other) { m_shape = other.m_shape; m_stride = other.m_stride; m_data = other.m_data; } // #################################################################################################### // RESIZING // #################################################################################################### // resizing void resize(const TinyVector<int, N>& s_shape) { m_shape = s_shape; int stride = 1; for(int i = N-1; i >= 0; --i) { m_stride[i] = stride; stride *= m_shape[i]; } m_data.clear(); } // resize by dense-block shapes using this->mf_non_zero(index) void resize(const TinyVector<Dshapes, N>& d_shape, double value = 0.0) { // calc. sparse-block shape TinyVector<int, N> s_shape; for(int i = 0; i < N; ++i) s_shape[i] = d_shape[i].size(); resize(s_shape); // allocate non-zero blocks iterator it = m_data.begin(); TinyVector<int, N> block_index(0); for(int ib = 0; ib < size_total(); ++ib) { // assume derived mf_non_zero being called if(this->mf_non_zero(block_index)) { TinyVector<int, N> block_shape(d_shape & block_index); it = m_data.insert(it, std::make_pair(ib, shared_ptr<DArray<N> >(new DArray<N>(block_shape)))); *(it->second) = value; } // index increment for(int id = N - 1; id >= 0; --id) { if(++block_index[id] < m_shape[id]) break; block_index[id] = 0; } } } // resize by dense-block shapes and initialized by random number void resize(const TinyVector<Dshapes, N>& d_shape, const function<double(void)>& f_random_generator) { // calc. sparse-block shape TinyVector<int, N> s_shape; for(int i = 0; i < N; ++i) s_shape[i] = d_shape[i].size(); resize(s_shape); // allocate non-zero blocks iterator it = m_data.begin(); TinyVector<int, N> block_index(0); for(int ib = 0; ib < size_total(); ++ib) { // assume derived mf_non_zero being called if(this->mf_non_zero(block_index)) { TinyVector<int, N> block_shape(d_shape & block_index); it = m_data.insert(it, std::make_pair(ib, shared_ptr<DArray<N> >(new DArray<N>(block_shape)))); for(typename DArray<N>::iterator id = it->second->begin(); id != it->second->end(); ++id) { *id = f_random_generator(); } } // index increment for(int id = N - 1; id >= 0; --id) { if(++block_index[id] < m_shape[id]) break; block_index[id] = 0; } } } // #################################################################################################### // INDEX / TAG CONVERSION // #################################################################################################### // tag to index inline TinyVector<int, N> index(int block_tag) const { TinyVector<int, N> block_index; for(int i = 0; i < N; ++i) { block_index[i] = block_tag / m_stride[i]; block_tag = block_tag % m_stride[i]; } return block_index; } // index to tag inline int tag(const TinyVector<int, N>& block_index) const { return dot(block_index, m_stride); } // #################################################################################################### // SHAPE & STRIDE // #################################################################################################### // shape function inline const TinyVector<int, N>& shape() const { return m_shape; } inline const int& shape(int i) const { return m_shape[i]; } inline const TinyVector<int, N>& stride() const { return m_stride; } inline const int& stride(int i) const { return m_stride[i]; } // # non-zero sparse-blocks inline size_t size() const { return m_data.size(); } // total # sparse-blocks inline size_t size_total() const { return m_stride[0] * m_shape[0]; } // dense-block shapes TinyVector<Dshapes, N> dshape() const { TinyVector<Dshapes, N> d_shape; for(int i = 0; i < N; ++i) d_shape[i].resize(m_shape[i], 0); for(const_iterator it = m_data.begin(); it != m_data.end(); ++it) { TinyVector<int, N> block_index = index(it->first); const TinyVector<int, N>& block_shape = it->second->shape(); for(int i = 0; i < N; ++i) { if(d_shape[i][block_index[i]] == 0) { d_shape[i][block_index[i]] = block_shape[i]; } else { if(d_shape[i][block_index[i]] != block_shape[i]) BTAS_THROW(false, "btas::SDArray::dshape inconsistent block size detected"); } } } return d_shape; } Dshapes dshape(int i) const { Dshapes id_shape(m_shape[i], 0); for(const_iterator it = m_data.begin(); it != m_data.end(); ++it) { TinyVector<int, N> block_index = index(it->first); const TinyVector<int, N>& block_shape = it->second->shape(); if(id_shape[block_index[i]] == 0) { id_shape[block_index[i]] = block_shape[i]; } else { if(id_shape[block_index[i]] != block_shape[i]) BTAS_THROW(false, "btas::SDArray::dshape inconsistent block size detected"); } } return id_shape; } // #################################################################################################### // ITERATOR // #################################################################################################### // iterators const_iterator begin() const { return m_data.begin(); } iterator begin() { return m_data.begin(); } const_iterator end() const { return m_data.end(); } iterator end() { return m_data.end(); } const_iterator find(const TinyVector<int, N>& block_index) const { return m_data.find(tag(block_index)); } iterator find(const TinyVector<int, N>& block_index) { return m_data.find(tag(block_index)); } const_iterator lower_bound(const TinyVector<int, N>& block_index) const { return m_data.lower_bound(tag(block_index)); } iterator lower_bound(const TinyVector<int, N>& block_index) { return m_data.lower_bound(tag(block_index)); } const_iterator upper_bound(const TinyVector<int, N>& block_index) const { return m_data.upper_bound(tag(block_index)); } iterator upper_bound(const TinyVector<int, N>& block_index) { return m_data.upper_bound(tag(block_index)); } const_iterator find(const int& block_tag) const { return m_data.find(block_tag); } iterator find(const int& block_tag) { return m_data.find(block_tag); } const_iterator lower_bound(const int& block_tag) const { return m_data.lower_bound(block_tag); } iterator lower_bound(const int& block_tag) { return m_data.lower_bound(block_tag); } const_iterator upper_bound(const int& block_tag) const { return m_data.upper_bound(block_tag); } iterator upper_bound(const int& block_tag) { return m_data.upper_bound(block_tag); } // #################################################################################################### // INSERT BLOCK // #################################################################################################### // return whether non-zero block inline bool allowed(const int& block_tag) const { return this->mf_non_zero(index(block_tag)); } inline bool allowed(const TinyVector<int, N>& block_index) const { return this->mf_non_zero(block_index); } // reserve block iterator reserve(const int& block_tag) { // check whether requested block can be non-zero iterator it = find(block_tag); if(this->mf_non_zero(index(block_tag))) { if(it == end()) { it = m_data.insert(it, std::make_pair(block_tag, shared_ptr<DArray<N> >(new DArray<N>()))); } } else { if(it != end()) { BTAS_THROW(false, "btas::SDArray::reserve; non-zero block already exists despite it must be zero"); } #ifdef _PRINT_WARNINGS else { // BTAS_THROW(false, "btas::SDArray::reserve; requested block must be zero"); BTAS_DEBUG("warning in btas::SDArray::reserve; requested block must be zero, returns end()"); } #endif } return it; } iterator reserve(const TinyVector<int, N>& block_index) { int block_tag = tag(block_index); // check whether requested block can be non-zero iterator it = find(block_tag); if(this->mf_non_zero(block_index)) { if(it == end()) { it = m_data.insert(it, std::make_pair(block_tag, shared_ptr<DArray<N> >(new DArray<N>()))); } } else { if(it != end()) { BTAS_THROW(false, "btas::SDArray::reserve; non-zero block already exists despite it must be zero"); } #ifdef _PRINT_WARNINGS else { // BTAS_THROW(false, "btas::SDArray::reserve; requested block must be zero"); BTAS_DEBUG("warning in btas::SDArray::reserve; requested block must be zero, returns end()"); } #endif } return it; } // insert block iterator insert(const int& block_tag, const DArray<N>& block) { iterator it = m_data.end(); // check whether requested block can be non-zero if(this->mf_non_zero(index(block_tag))) { it = find(block_tag); if(it != end()) { Daxpy(1.0, block, *(it->second)); } else { it = m_data.insert(it, std::make_pair(block_tag, shared_ptr<DArray<N> >(new DArray<N>()))); Dcopy(block, *(it->second)); } } #ifdef _PRINT_WARNINGS else { // BTAS_THROW(false, "btas::SDArray::insert; requested block must be zero"); BTAS_DEBUG("warning in btas::SDArray::insert; requested block must be zero, could not to be inserted"); } #endif return it; } iterator insert(const TinyVector<int, N>& block_index, const DArray<N>& block) { iterator it = m_data.end(); // check whether requested block can be non-zero if(this->mf_non_zero(block_index)) { int block_tag = tag(block_index); it = find(block_tag); if(it != end()) { Daxpy(1.0, block, *(it->second)); } else { it = m_data.insert(it, std::make_pair(block_tag, shared_ptr<DArray<N> >(new DArray<N>()))); Dcopy(block, *(it->second)); } } #ifdef _PRINT_WARNINGS else { // BTAS_THROW(false, "btas::SDArray::insert; requested block must be zero"); BTAS_DEBUG("warning in btas::SDArray::insert; requested block must be zero, could not to be inserted"); } #endif return it; } // #################################################################################################### // TRANSPOSE & PERMUTE // #################################################################################################### // transpose/permute view of sparse block (note: dense blocks are not permuted) SDArray<N> transpose_view(int irank) const { // irank = 4 for [ 0, 1, 2, 3 | 4, 5 ] returns [ 4, 5 | 0, 1, 2, 3 ] SDArray<N> trans; if(0 < irank && irank < N) { TinyVector<int, N> t_shape; for(int i = 0; i < N - irank; ++i) t_shape[i] = m_shape[i+irank]; for(int i = N - irank; i < N; ++i) t_shape[i] = m_shape[i+irank-N]; trans.resize(t_shape); int oldstr = m_stride[irank-1]; int newstr = size_total() / oldstr; iterator ipos = trans.m_data.begin(); for(const_iterator it = begin(); it != end(); ++it) { int tag = (it->first / oldstr) + (it->first % oldstr) * newstr; ipos = trans.m_data.insert(ipos, std::make_pair(tag, it->second)); } } else { trans.reference(*this); } return trans; } SDArray<N> permute_view(const TinyVector<int, N>& iperm) const { SDArray<N> pmute; TinyVector<int, N> isort; for(int i = 0; i < N; ++i) { isort[i] = i; } if(!std::equal(isort.begin(), isort.end(), iperm.begin())) { TinyVector<int, N> p_shape; for(int i = 0; i < N; ++i) { p_shape[i] = m_shape[iperm[i]]; } pmute.resize(p_shape); TinyVector<int, N> p_stride; for(int i = 0; i < N; ++i) { p_stride[iperm[i]] = pmute.m_stride[i]; } iterator ipos = pmute.m_data.begin(); for(const_iterator it = begin(); it != end(); ++it) { TinyVector<int, N> index(index(it->first)); ipos = pmute.m_data.insert(ipos, std::make_pair(dot(index, p_stride), it->second)); } } else { pmute.reference(*this); } return pmute; } // #################################################################################################### // MEMBER VARIABLES // #################################################################################################### protected: TinyVector<int, N> // sparse-block shape m_shape; TinyVector<int, N> // stride for sparse-block m_stride; DataType // non-zero data array mapped to tag m_data; }; // class SDArray // #################################################################################################### // PRINTING FUNCTION // #################################################################################################### }; // namespace btas template<int N> std::ostream& operator<< (std::ostream& ost, const btas::SDArray<N>& a) { using std::setw; using std::endl; // print out sparsity information const btas::TinyVector<int, N>& ashape = a.shape(); ost << "block shape = [ "; for(int i = 0; i < N - 1; ++i) ost << ashape[i] << " x "; ost << ashape[N-1] << " ] ( sparsity = " << a.size() << " / " << a.size_total() << " ) " << endl; for(typename btas::SDArray<N>::const_iterator ib = a.begin(); ib != a.end(); ++ib) { ost << "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" << endl; btas::TinyVector<int, N> bindex = a.index(ib->first); const btas::TinyVector<int, N>& bshape = ib->second->shape(); // ost << "\ttag = " << setw(8) << ib->first << " : shape [ "; ost << "\tindex = [ "; for(int i = 0; i < N - 1; ++i) ost << bindex[i] << ", "; ost << bindex[N-1] << " ] : " << static_cast<btas::DArray<N> >(*ib->second) << endl; } return ost; } #include <btas/SDblas.h> #include <btas/SDpermute.h> #endif // BTAS_SDARRAY_H
[ "n.nakatani0608@gmail.com" ]
n.nakatani0608@gmail.com
9f6f220f8c89c8db2d6adc1b33dbdad73439f620
2251e9410930f39e5548c3f9267669622fd51bc0
/2017_蓝桥杯省赛/question10.cpp
63b9e9b4d55a64b0a67929608d5dd467b57cdd84
[]
no_license
jieshicheng/OI_practive
639f19c1088419c03e40377dae0ad3078abbe438
ca783b5e2ea01fc21f4bc36b8290058147f2700e
refs/heads/master
2021-01-13T04:38:27.799933
2019-06-04T12:47:14
2019-06-04T12:47:14
79,520,545
2
0
null
null
null
null
UTF-8
C++
false
false
918
cpp
#include <iostream> #include <vector> using namespace std; int main() { int n,k; cin>>n>>k; if(n <= 0) return 0; vector<int> vec(n,0); vector<int> gloabl(n,0); vector<int> local(n, 0); for(int i = 0; i != n; ++i) { int temp; cin>>temp; vec[i] = temp; } if(vec[0] % k == 0) { gloabl[0] = 1; local[0] = 1; } for(int i = 1; i != n; ++i) { if(vec[i] % k == 0) { gloabl[i] = gloabl[i - 1] + 1 + local[i - 1]; local[i] = local[i - 1] + 1; } else { int sum = vec[i]; for(int j = i - 1; j >= 0; --j) { sum += vec[j]; if(sum % k == 0) local[i]++; } gloabl[i] = gloabl[i - 1] + local[i]; } } cout<<gloabl[n - 1]; return 0; }
[ "951497836@qq.com" ]
951497836@qq.com
a7f72552fab3cc6475b375a785cab0c23944ffb6
3e482a2e67038a9739d1cd2c8238837e32d18305
/Engine/assimp/cSimpleAssimpSkinnedMeshLoader_OneMesh.cpp
97ddbfa2095503f1d317f1f3d1606ba0b59b2925
[]
no_license
araujojr82/Graphics2_Midterm
e94568165fd5875b71a5310a2528034f2d89e2e6
9b52c4020ca5b85080ef4b5671734b752569505a
refs/heads/master
2021-04-12T04:32:23.925142
2018-05-07T19:15:36
2018-05-07T19:15:36
125,884,835
0
0
null
null
null
null
UTF-8
C++
false
false
33,427
cpp
#include "cSimpleAssimpSkinnedMeshLoader_OneMesh.h" #include <glm/glm.hpp> #include <glm/gtx/quaternion.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/matrix_decompose.hpp> #include <glad/glad.h> #include <sstream> //#define OUTPUT_STUFF 1 glm::mat4 AIMatrixToGLMMatrix(const aiMatrix4x4 &mat) { return glm::mat4(mat.a1, mat.b1, mat.c1, mat.d1, mat.a2, mat.b2, mat.c2, mat.d2, mat.a3, mat.b3, mat.c3, mat.d3, mat.a4, mat.b4, mat.c4, mat.d4); } cSimpleAssimpSkinnedMesh::cSimpleAssimpSkinnedMesh(void) { this->pScene = 0; this->mNumBones = 0; //this->m_VBO_ID = 0; // Vertex buffer object this->m_numberOfVertices = 0; //this->m_indexBuf_ID = 0; // Index buffer referring to VBO this->m_numberOfIndices = 0; this->m_numberOfTriangles = 0; //this->m_bVBO_created = false; //this->m_VAO_ID = 0; // Vertex Array Object //this->m_bVAO_created = false; //this->m_shaderIDMatchingVAO = 0; return; } ///*static*/ //const int cSimpleAssimpSkinnedMesh::MAX_BONES_PER_VERTEX = 4; cSimpleAssimpSkinnedMesh::~cSimpleAssimpSkinnedMesh(void) { this->ShutErDown(); return; } void cSimpleAssimpSkinnedMesh::ShutErDown(void) { //if ( this->m_pVertexData ) //{ // delete [] this->m_pVertexData; //} // TODO: Delete the OpenGL buffers, too?? return; } bool cSimpleAssimpSkinnedMesh::LoadMeshFromFile(const std::string &filename) { unsigned int Flags = aiProcess_Triangulate | aiProcess_OptimizeMeshes | aiProcess_OptimizeGraph | aiProcess_JoinIdenticalVertices; this->pScene = this->mImporter.ReadFile(filename.c_str(), Flags); //aiMesh* pM0 = this->pScene->mMeshes[0]; ////aiMesh* pM1 = this->mpScene->mMeshes[1]; ////aiMesh* pM2 = this->mpScene->mMeshes[2]; ////aiMesh* pM3 = this->mpScene->mMeshes[3]; if ( this->pScene ) { this->fileName = filename; // Assume the friendlyName is the same as the file, for now this->friendlyName = filename; this->mGlobalInverseTransformation = AIMatrixToGLMMatrix( pScene->mRootNode->mTransformation ); this->mGlobalInverseTransformation = glm::inverse(this->mGlobalInverseTransformation); // Calcualte all the bone things if ( ! this->Initialize() ) { // There was an issue doing this calculation return false; } }//if ( this->pScene ) return true; } // Looks in the animation map and returns the total time float cSimpleAssimpSkinnedMesh::FindAnimationTotalTime(std::string animationName) { std::map< std::string /*animationfile*/, const aiScene* >::iterator itAnimation = this->mapAnimationNameTo_pScene.find(animationName); // Found it? if ( itAnimation == this->mapAnimationNameTo_pScene.end() ) { // Nope. return 0.0f; } // This is scaling the animation from 0 to 1 return itAnimation->second->mAnimations[0]->mDuration; } bool cSimpleAssimpSkinnedMesh::LoadMeshAnimation(const std::string &filename) // Only want animations { // std::map< std::string /*animationfile*/, // const aiScene* > mapAnimationNameTo_pScene; // Animations unsigned int Flags = aiProcess_Triangulate | aiProcess_OptimizeMeshes | aiProcess_OptimizeGraph | aiProcess_JoinIdenticalVertices; Assimp::Importer* pImporter = new Assimp::Importer(); const aiScene* pAniScene = pImporter->ReadFile(filename.c_str(), Flags); if ( ! pAniScene ) { return false; } // Animation scene is loaded (we assume) // Add it to the map this->mapAnimationNameTo_pScene[filename] = pAniScene; return true; } //const aiScene* pScene; // "pretty" mesh we update and draw //Assimp::Importer mImporter; //std::map< std::string /*animationfile*/, // const aiScene* > mapAnimationNameTo_pScene; // Animations bool cSimpleAssimpSkinnedMesh::Initialize(void) { this->m_numberOfVertices = this->pScene->mMeshes[0]->mNumVertices; // This is the vertex information for JUST the bone stuff this->vecVertexBoneData.resize(this->m_numberOfVertices); this->LoadBones( this->pScene->mMeshes[0], this->vecVertexBoneData ); return true; } void cSimpleAssimpSkinnedMesh::sVertexBoneData::AddBoneData(unsigned int BoneID, float Weight) { for ( unsigned int Index = 0; Index < sizeof(this->ids) / sizeof(this->ids[0]); Index++ ) { if ( this->weights[Index] == 0.0f ) { this->ids[Index] = (float)BoneID; this->weights[Index] = Weight; return; } } } // In the original code, these vectors are being passed out into the "character" object. // It's unclear what the Globals matrices are actually for... //void cSimpleAssimpSkinnedMesh::BoneTransform( float TimeInSeconds, // std::vector<glm::mat4> &FinalTransformation, // std::vector<glm::mat4> &Globals, // std::vector<glm::mat4> &Offsets) void cSimpleAssimpSkinnedMesh::BoneTransform( float TimeInSeconds, std::string animationName, // Now we can pick the animation std::vector<glm::mat4> &FinalTransformation, std::vector<glm::mat4> &Globals, std::vector<glm::mat4> &Offsets) { glm::mat4 Identity(1.0f); //------------------ADDED------------------------------------ // Original version picked the "main scene" animation... const aiAnimation* pAnimation = this->pScene->mAnimations[0]; // Search for the animation we want... std::map< std::string, const aiScene* >::iterator itAnimation = mapAnimationNameTo_pScene.find(animationName); // Did we find it? if (itAnimation != mapAnimationNameTo_pScene.end()) { // Yes, there is an animation called that... // ...replace the animation with the one we found pAnimation = reinterpret_cast<const aiAnimation*>(itAnimation->second->mAnimations[0]); } float TicksPerSecond = static_cast<float>( pAnimation->mTicksPerSecond != 0 ? pAnimation->mTicksPerSecond : 25.0 ); float TimeInTicks = TimeInSeconds * TicksPerSecond; float AnimationTime = fmod(TimeInTicks, (float)pAnimation->mDuration); //------------------ADDED------------------------------------ //float TicksPerSecond = static_cast<float>( this->pScene->mAnimations[0]->mTicksPerSecond != 0 ? // this->pScene->mAnimations[0]->mTicksPerSecond : 25.0 ); //float TimeInTicks = TimeInSeconds * TicksPerSecond; //float AnimationTime = fmod(TimeInTicks, (float)this->pScene->mAnimations[0]->mDuration); // use the "animation" file to look up these nodes // (need the matOffset information from the animation file) this->ReadNodeHeirarchy(AnimationTime, animationName, this->pScene->mRootNode, Identity, pAnimation ); FinalTransformation.resize(this->mNumBones); Globals.resize(this->mNumBones); Offsets.resize(this->mNumBones); for ( unsigned int BoneIndex = 0; BoneIndex < this->mNumBones; BoneIndex++ ) { FinalTransformation[BoneIndex] = this->mBoneInfo[BoneIndex].FinalTransformation; Globals[BoneIndex] = this->mBoneInfo[BoneIndex].ObjectBoneTransformation; Offsets[BoneIndex] = this->mBoneInfo[BoneIndex].BoneOffset; } } void cSimpleAssimpSkinnedMesh::LoadBones(const aiMesh* Mesh, std::vector<sVertexBoneData> &vertexBoneData) { for ( unsigned int boneIndex = 0; boneIndex != Mesh->mNumBones; boneIndex++ ) { unsigned int BoneIndex = 0; std::string BoneName(Mesh->mBones[boneIndex]->mName.data); // std::map<std::string /*BoneName*/, unsigned int /*BoneIndex*/> mMapping; // std::vector<sBoneInfo> mInfo; std::map<std::string, unsigned int>::iterator it = this->m_mapBoneNameToBoneIndex.find(BoneName); if ( it == this->m_mapBoneNameToBoneIndex.end() ) { BoneIndex = this->mNumBones; this->mNumBones++; sBoneInfo bi; this->mBoneInfo.push_back(bi); this->mBoneInfo[BoneIndex].BoneOffset = AIMatrixToGLMMatrix(Mesh->mBones[boneIndex]->mOffsetMatrix); this->m_mapBoneNameToBoneIndex[BoneName] = BoneIndex; } else { BoneIndex = it->second; } for ( unsigned int WeightIndex = 0; WeightIndex != Mesh->mBones[boneIndex]->mNumWeights; WeightIndex++ ) { unsigned int VertexID = /*mMeshEntries[MeshIndex].BaseVertex +*/ Mesh->mBones[boneIndex]->mWeights[WeightIndex].mVertexId; float Weight = Mesh->mBones[boneIndex]->mWeights[WeightIndex].mWeight; vertexBoneData[VertexID].AddBoneData(BoneIndex, Weight); } } return; } const aiNodeAnim* cSimpleAssimpSkinnedMesh::FindNodeAnimationChannel(const aiAnimation* pAnimation, aiString boneName) { for ( unsigned int ChannelIndex = 0; ChannelIndex != pAnimation->mNumChannels; ChannelIndex++ ) { if ( pAnimation->mChannels[ChannelIndex]->mNodeName == boneName ) { return pAnimation->mChannels[ChannelIndex]; } } return 0; } unsigned int cSimpleAssimpSkinnedMesh::FindRotation(float AnimationTime, const aiNodeAnim* pNodeAnim) { for ( unsigned int RotationKeyIndex = 0; RotationKeyIndex != pNodeAnim->mNumRotationKeys - 1; RotationKeyIndex++ ) { if ( AnimationTime < (float)pNodeAnim->mRotationKeys[RotationKeyIndex+1].mTime ) { return RotationKeyIndex; } } return 0; } unsigned int cSimpleAssimpSkinnedMesh::FindPosition(float AnimationTime, const aiNodeAnim* pNodeAnim) { for ( unsigned int PositionKeyIndex = 0; PositionKeyIndex != pNodeAnim->mNumPositionKeys - 1; PositionKeyIndex++ ) { if ( AnimationTime < (float)pNodeAnim->mPositionKeys[PositionKeyIndex+1].mTime ) { return PositionKeyIndex; } } return 0; } unsigned int cSimpleAssimpSkinnedMesh::FindScaling(float AnimationTime, const aiNodeAnim* pNodeAnim) { for ( unsigned int ScalingKeyIndex = 0; ScalingKeyIndex != pNodeAnim->mNumScalingKeys - 1; ScalingKeyIndex++ ) { if ( AnimationTime < (float)pNodeAnim->mScalingKeys[ScalingKeyIndex+1].mTime ) { return ScalingKeyIndex; } } return 0; } void cSimpleAssimpSkinnedMesh::ReadNodeHeirarchy( float AnimationTime, std::string animationName, const aiNode* pNode, const glm::mat4 &ParentTransformMatrix, const aiAnimation* pAnimation ) { aiString NodeName(pNode->mName.data); //// Original version picked the "main scene" animation... // const aiAnimation* pAnimation = this->pScene->mAnimations[0]; // // // Search for the animation we want... // std::map< std::string, const aiScene* >::iterator itAnimation // = mapAnimationNameTo_pScene.find(animationName); // // // Did we find it? // if ( itAnimation != mapAnimationNameTo_pScene.end() ) // { // // Yes, there is an animation called that... // // ...replace the animation with the one we found // pAnimation = reinterpret_cast<const aiAnimation*>( itAnimation->second->mAnimations[0] ); // } //aiMatrix4x4 NodeTransformation; // Transformation of the node in bind pose glm::mat4 NodeTransformation = AIMatrixToGLMMatrix( pNode->mTransformation ); const aiNodeAnim* pNodeAnim = this->FindNodeAnimationChannel(pAnimation, NodeName); if ( pNodeAnim ) { // Get interpolated scaling glm::vec3 scale; this->CalcGLMInterpolatedScaling(AnimationTime, pNodeAnim, scale); glm::mat4 ScalingM = glm::scale(glm::mat4(1.0f), scale); // Get interpolated rotation (quaternion) glm::quat ori; this->CalcGLMInterpolatedRotation(AnimationTime, pNodeAnim, ori); glm::mat4 RotationM = glm::mat4_cast(ori); std::string nodeName = NodeName.data; glm::mat4 TranslationM; //if( nodeName == "ValveBiped_Bip01_Pelvis" ) //{ // if( this->pPreviousAnimationName == "" || animationName != this->pPreviousAnimationName ) // { // this->CalcGLMInterpolatedPosition( 0, pNodeAnim, this->pelvisStartingPosition ); // } // // glm::vec3 pos; // this->CalcGLMInterpolatedPosition( AnimationTime, pNodeAnim, pos ); // pos.x = this->pelvisStartingPosition.x; // pos.z = this->pelvisStartingPosition.z; // TranslationM = glm::translate( glm::mat4( 1.0f ), pos ); // this->pPreviousAnimationName = animationName; //} //else //{ // Get interpolated position glm::vec3 pos; this->CalcGLMInterpolatedPosition( AnimationTime, pNodeAnim, pos ); TranslationM = glm::translate( glm::mat4( 1.0f ), pos ); //} // Combine the above transformations NodeTransformation = TranslationM * RotationM * ScalingM; } //else //{ // // If there's no bone corresponding to this node, then it's something the animator used to // // help make or position the model or animation. The point is that it DOESN'T change // // based on the animation frame, so take it just as is // NodeTransformation = AIMatrixToGLMMatrix( pNode->mTransformation ); //} glm::mat4 ObjectBoneTransformation = ParentTransformMatrix * NodeTransformation; std::map<std::string, unsigned int>::iterator it = this->m_mapBoneNameToBoneIndex.find(std::string(NodeName.data)); if ( it != this->m_mapBoneNameToBoneIndex.end() ) { unsigned int BoneIndex = it->second; this->mBoneInfo[BoneIndex].ObjectBoneTransformation = ObjectBoneTransformation; this->mBoneInfo[BoneIndex].FinalTransformation = this->mGlobalInverseTransformation * ObjectBoneTransformation * this->mBoneInfo[BoneIndex].BoneOffset; //this->mBoneInfo[BoneIndex].FinalTransformation = GlobalTransformation // * this->mBoneInfo[BoneIndex].BoneOffset; } else { int breakpoint = 0; } for ( unsigned int ChildIndex = 0; ChildIndex != pNode->mNumChildren; ChildIndex++ ) { this->ReadNodeHeirarchy( AnimationTime, animationName, pNode->mChildren[ChildIndex], ObjectBoneTransformation, pAnimation); } } void cSimpleAssimpSkinnedMesh::CalcInterpolatedRotation(float AnimationTime, const aiNodeAnim* pNodeAnim, aiQuaternion &out) { if ( pNodeAnim->mNumRotationKeys == 1 ) { out = pNodeAnim->mRotationKeys[0].mValue; return; } unsigned int RotationIndex = this->FindRotation(AnimationTime, pNodeAnim); unsigned int NextRotationIndex = (RotationIndex + 1); assert(NextRotationIndex < pNodeAnim->mNumRotationKeys); float DeltaTime = (float)(pNodeAnim->mRotationKeys[NextRotationIndex].mTime - pNodeAnim->mRotationKeys[RotationIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mRotationKeys[RotationIndex].mTime) / DeltaTime; assert(Factor >= 0.0f && Factor <= 1.0f); const aiQuaternion& StartRotationQ = pNodeAnim->mRotationKeys[RotationIndex].mValue; const aiQuaternion& EndRotationQ = pNodeAnim->mRotationKeys[NextRotationIndex].mValue; aiQuaternion::Interpolate(out, StartRotationQ, EndRotationQ, Factor); out = out.Normalize(); return; } void cSimpleAssimpSkinnedMesh::CalcInterpolatedPosition(float AnimationTime, const aiNodeAnim* pNodeAnim, aiVector3D &out) { if ( pNodeAnim->mNumPositionKeys == 1 ) { out = pNodeAnim->mPositionKeys[0].mValue; return; } unsigned int PositionIndex = this->FindPosition(AnimationTime, pNodeAnim); unsigned int NextPositionIndex = (PositionIndex + 1); assert(NextPositionIndex < pNodeAnim->mNumPositionKeys); float DeltaTime = (float)(pNodeAnim->mPositionKeys[NextPositionIndex].mTime - pNodeAnim->mPositionKeys[PositionIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mPositionKeys[PositionIndex].mTime) / DeltaTime; assert(Factor >= 0.0f && Factor <= 1.0f); const aiVector3D& StartPosition = pNodeAnim->mPositionKeys[PositionIndex].mValue; const aiVector3D& EndPosition = pNodeAnim->mPositionKeys[NextPositionIndex].mValue; out = (EndPosition - StartPosition) * Factor + StartPosition; return; } void cSimpleAssimpSkinnedMesh::CalcInterpolatedScaling(float AnimationTime, const aiNodeAnim* pNodeAnim, aiVector3D &out) { if ( pNodeAnim->mNumScalingKeys == 1 ) { out = pNodeAnim->mScalingKeys[0].mValue; return; } unsigned int ScalingIndex = this->FindScaling(AnimationTime, pNodeAnim); unsigned int NextScalingIndex = (ScalingIndex + 1); assert(NextScalingIndex < pNodeAnim->mNumScalingKeys); float DeltaTime = (float)(pNodeAnim->mScalingKeys[NextScalingIndex].mTime - pNodeAnim->mScalingKeys[ScalingIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mScalingKeys[ScalingIndex].mTime) / DeltaTime; assert(Factor >= 0.0f && Factor <= 1.0f); const aiVector3D& StartScale = pNodeAnim->mScalingKeys[ScalingIndex].mValue; const aiVector3D& EndScale = pNodeAnim->mScalingKeys[NextScalingIndex].mValue; out = (EndScale - StartScale) * Factor + StartScale; return; } void cSimpleAssimpSkinnedMesh::CalcGLMInterpolatedRotation(float AnimationTime, const aiNodeAnim* pNodeAnim, glm::quat &out) { if ( pNodeAnim->mNumRotationKeys == 1 ) { out.w = pNodeAnim->mRotationKeys[0].mValue.w; out.x = pNodeAnim->mRotationKeys[0].mValue.x; out.y = pNodeAnim->mRotationKeys[0].mValue.y; out.z = pNodeAnim->mRotationKeys[0].mValue.z; return; } unsigned int RotationIndex = this->FindRotation(AnimationTime, pNodeAnim); unsigned int NextRotationIndex = (RotationIndex + 1); assert(NextRotationIndex < pNodeAnim->mNumRotationKeys); float DeltaTime = (float)(pNodeAnim->mRotationKeys[NextRotationIndex].mTime - pNodeAnim->mRotationKeys[RotationIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mRotationKeys[RotationIndex].mTime) / DeltaTime; if ( Factor < 0.0f ) Factor = 0.0f; if ( Factor > 1.0f ) Factor = 1.0f; const aiQuaternion& StartRotationQ = pNodeAnim->mRotationKeys[RotationIndex].mValue; const aiQuaternion& EndRotationQ = pNodeAnim->mRotationKeys[NextRotationIndex].mValue; glm::quat StartGLM = glm::quat(StartRotationQ.w, StartRotationQ.x, StartRotationQ.y, StartRotationQ.z); glm::quat EndGLM = glm::quat(EndRotationQ.w, EndRotationQ.x, EndRotationQ.y, EndRotationQ.z); out = glm::slerp(StartGLM, EndGLM, Factor); out = glm::normalize(out); return; } void cSimpleAssimpSkinnedMesh::CalcGLMInterpolatedPosition(float AnimationTime, const aiNodeAnim* pNodeAnim, glm::vec3 &out) { if ( pNodeAnim->mNumPositionKeys == 1 ) { out.x = pNodeAnim->mPositionKeys[0].mValue.x; out.y = pNodeAnim->mPositionKeys[0].mValue.y; out.z = pNodeAnim->mPositionKeys[0].mValue.z; return; } unsigned int PositionIndex = this->FindPosition(AnimationTime, pNodeAnim); unsigned int NextPositionIndex = (PositionIndex + 1); assert(NextPositionIndex < pNodeAnim->mNumPositionKeys); float DeltaTime = (float)(pNodeAnim->mPositionKeys[NextPositionIndex].mTime - pNodeAnim->mPositionKeys[PositionIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mPositionKeys[PositionIndex].mTime) / DeltaTime; if ( Factor < 0.0f ) Factor = 0.0f; if ( Factor > 1.0f ) Factor = 1.0f; const aiVector3D& StartPosition = pNodeAnim->mPositionKeys[PositionIndex].mValue; const aiVector3D& EndPosition = pNodeAnim->mPositionKeys[NextPositionIndex].mValue; glm::vec3 start = glm::vec3(StartPosition.x, StartPosition.y, StartPosition.z); glm::vec3 end = glm::vec3(EndPosition.x, EndPosition.y, EndPosition.z); out = (end - start) * Factor + start; return; } void cSimpleAssimpSkinnedMesh::CalcGLMInterpolatedScaling(float AnimationTime, const aiNodeAnim* pNodeAnim, glm::vec3 &out) { if ( pNodeAnim->mNumScalingKeys == 1 ) { out.x = pNodeAnim->mScalingKeys[0].mValue.x; out.y = pNodeAnim->mScalingKeys[0].mValue.y; out.z = pNodeAnim->mScalingKeys[0].mValue.z; return; } unsigned int ScalingIndex = this->FindScaling(AnimationTime, pNodeAnim); unsigned int NextScalingIndex = (ScalingIndex + 1); assert(NextScalingIndex < pNodeAnim->mNumScalingKeys); float DeltaTime = (float)(pNodeAnim->mScalingKeys[NextScalingIndex].mTime - pNodeAnim->mScalingKeys[ScalingIndex].mTime); float Factor = (AnimationTime - (float)pNodeAnim->mScalingKeys[ScalingIndex].mTime) / DeltaTime; if ( Factor < 0.0f ) Factor = 0.0f; if ( Factor > 1.0f ) Factor = 1.0f; const aiVector3D& StartScale = pNodeAnim->mScalingKeys[ScalingIndex].mValue; const aiVector3D& EndScale = pNodeAnim->mScalingKeys[NextScalingIndex].mValue; glm::vec3 start = glm::vec3(StartScale.x, StartScale.y, StartScale.z); glm::vec3 end = glm::vec3(EndScale.x, EndScale.y, EndScale.z); out = (end - start) * Factor + start; return; } float cSimpleAssimpSkinnedMesh::GetDuration(void) { float duration = (float)(this->pScene->mAnimations[0]->mDuration / this->pScene->mAnimations[0]->mTicksPerSecond); return duration; } float cSimpleAssimpSkinnedMesh::GetDuration( std::string animationFilePath ) { std::map< std::string, const aiScene* >::iterator itAnimation = this->mapAnimationNameTo_pScene.find( animationFilePath ); // Found it? if( itAnimation == this->mapAnimationNameTo_pScene.end() ) { // Nope. return 0.0f; } float duration = ( float )( itAnimation->second->mAnimations[0]->mDuration / itAnimation->second->mAnimations[0]->mTicksPerSecond ); return duration; } // Returns NULL (0) if there is no mesh at that index cMesh* cSimpleAssimpSkinnedMesh::CreateMeshObjectFromCurrentModel( unsigned int meshIndex /*=0*/) { if ( this->pScene->mNumMeshes < meshIndex ) { // Doesn't have this mesh return NULL; } // Assume there is a valid mesh there cMesh* pTheMesh = new cMesh(); aiMesh* pAIMesh = this->pScene->mMeshes[meshIndex]; pTheMesh->numberOfVertices = pAIMesh->mNumVertices; pTheMesh->pVertices = new sVertex_xyz_rgba_n_uv2_bt_4Bones[ pTheMesh->numberOfVertices ]; for ( int vertIndex = 0; vertIndex != pTheMesh->numberOfVertices; vertIndex++ ) { sVertex_xyz_rgba_n_uv2_bt_4Bones* pCurVert = &( pTheMesh->pVertices[vertIndex] ); aiVector3D* pAIVert =&(pAIMesh->mVertices[vertIndex]); pCurVert->x = pAIVert->x; pCurVert->y = pAIVert->y; pCurVert->z = pAIVert->z; // Colours if ( pAIMesh->GetNumColorChannels() > 0 ) { //pCurVert->r = this->pScene->mMeshes[0]->mColors[vertIndex]->r; //pCurVert->g = this->pScene->mMeshes[0]->mColors[vertIndex]->g; //pCurVert->b = this->pScene->mMeshes[0]->mColors[vertIndex]->b; //pCurVert->a = this->pScene->mMeshes[0]->mColors[vertIndex]->a; pCurVert->r = this->pScene->mMeshes[0]->mColors[0]->r; pCurVert->g = this->pScene->mMeshes[0]->mColors[0]->g; pCurVert->b = this->pScene->mMeshes[0]->mColors[0]->b; pCurVert->a = this->pScene->mMeshes[0]->mColors[0]->a; } else { pCurVert->r = pCurVert->g = pCurVert->b = pCurVert->a = 1.0f; } // Normals if ( pAIMesh->HasNormals() ) { pCurVert->nx = pAIMesh->mNormals[vertIndex].x; pCurVert->ny = pAIMesh->mNormals[vertIndex].y; pCurVert->nx = pAIMesh->mNormals[vertIndex].z; } // UVs if ( pAIMesh->GetNumUVChannels() > 0 ) { // Assume 1st channel is the 2D UV coordinates pCurVert->u1 = pAIMesh->mTextureCoords[0][vertIndex].x; pCurVert->v1 = pAIMesh->mTextureCoords[0][vertIndex].y; } // Tangents and Bitangents (bi-normals) if ( pAIMesh->HasTangentsAndBitangents() ) { pCurVert->tx = pAIMesh->mTangents[vertIndex].x; pCurVert->ty = pAIMesh->mTangents[vertIndex].y; pCurVert->tz = pAIMesh->mTangents[vertIndex].z; pCurVert->bx = pAIMesh->mBitangents[vertIndex].x; pCurVert->by = pAIMesh->mBitangents[vertIndex].y; pCurVert->bz = pAIMesh->mBitangents[vertIndex].z; } // Bone IDs are being passed OK pCurVert->boneID[0] = this->vecVertexBoneData[vertIndex].ids[0]; pCurVert->boneID[1] = this->vecVertexBoneData[vertIndex].ids[1]; pCurVert->boneID[2] = this->vecVertexBoneData[vertIndex].ids[2]; pCurVert->boneID[3] = this->vecVertexBoneData[vertIndex].ids[3]; // Weights are being passed OK pCurVert->boneWeights[0] = this->vecVertexBoneData[vertIndex].weights[0]; pCurVert->boneWeights[1] = this->vecVertexBoneData[vertIndex].weights[1]; pCurVert->boneWeights[2] = this->vecVertexBoneData[vertIndex].weights[2]; pCurVert->boneWeights[3] = this->vecVertexBoneData[vertIndex].weights[3]; }//for ( int vertIndex // Triangles pTheMesh->numberOfTriangles = pAIMesh->mNumFaces; pTheMesh->pTriangles = new cTriangle[pTheMesh->numberOfTriangles]; for ( unsigned int triIndex = 0; triIndex != pTheMesh->numberOfTriangles; triIndex++ ) { aiFace* pAIFace = &(pAIMesh->mFaces[triIndex]); pTheMesh->pTriangles[triIndex].vertex_ID_0 = pAIFace->mIndices[0]; pTheMesh->pTriangles[triIndex].vertex_ID_1 = pAIFace->mIndices[1]; pTheMesh->pTriangles[triIndex].vertex_ID_2 = pAIFace->mIndices[2]; }//for ( unsigned int triIndex... pTheMesh->name = this->friendlyName; pTheMesh->CalculateExtents(); return pTheMesh; } //// Creates a VBO, loads the current mesh, then creates a VAO for the current VBO+shader ////bool cAssimpMesh::CreateVBOandVOAfromCurrentMesh(int shaderID, unsigned int &VBO_ID, unsigned int &VAO_ID ) //bool cSimpleAssimpSkinnedMesh::CreateVBOfromCurrentMesh(/* unsigned int &VBO_ID, unsigned int &numVertices, // unsigned int &indexBufferID, unsigned int &numIndices*/ ) //{ // this->m_numberOfVertices = this->pScene->mMeshes[0]->mNumVertices; // // this->m_pVertexData = new vert_XYZ_RGBA_N_STU_TanBi_4Bones[this->m_numberOfVertices]; // // for ( unsigned int vertexID = 0; vertexID != this->m_numberOfVertices; vertexID++ ) // { // vert_XYZ_RGBA_N_STU_TanBi_4Bones* pCurVert = &(this->m_pVertexData[vertexID]); // aiVector3D* pCurAIVert = &(this->pScene->mMeshes[0]->mVertices[vertexID]); // // pCurVert->x = pCurAIVert->x; // pCurVert->y = pCurAIVert->y; // pCurVert->z = pCurAIVert->z; // // // Bone IDs are being passed OK // pCurVert->boneID[0] = this->vecVertexBoneData[vertexID].ids[0]; // pCurVert->boneID[1] = this->vecVertexBoneData[vertexID].ids[1]; // pCurVert->boneID[2] = this->vecVertexBoneData[vertexID].ids[2]; // pCurVert->boneID[3] = this->vecVertexBoneData[vertexID].ids[3]; // // // Weights are being passed OK // pCurVert->boneWeights[0] = this->vecVertexBoneData[vertexID].weights[0]; // pCurVert->boneWeights[1] = this->vecVertexBoneData[vertexID].weights[1]; // pCurVert->boneWeights[2] = this->vecVertexBoneData[vertexID].weights[2]; // pCurVert->boneWeights[3] = this->vecVertexBoneData[vertexID].weights[3]; // // pCurVert->r = 1.0f; // pCurVert->g = 1.0f; // pCurVert->b = 1.0f; // pCurVert->a = 1.0f; // // // }//for ( unsigned int vertexID; // // // Create a vertex buffer // glGenBuffers(1, &(this->m_VBO_ID) ); // // Brings the particular vertex buffer into context // glBindBuffer(GL_ARRAY_BUFFER, this->m_VBO_ID); // // int vertexBufferSizeInBytes = sizeof( vert_XYZ_RGBA_N_STU_TanBi_4Bones ) * this->m_numberOfVertices; // // glBufferData(GL_ARRAY_BUFFER, // vertexBufferSizeInBytes, // this->m_pVertexData, // Pointer to vertex array // GL_STATIC_DRAW); // // // Now the index buffer... // this->m_numberOfTriangles = this->pScene->mMeshes[0]->mNumFaces; // unsigned int numIndicesPerFace = this->pScene->mMeshes[0]->mFaces->mNumIndices; // Will ALWAYS be 3 if we are using "triangulate" // // std::vector< unsigned int > vecTriIndices; // this->m_numberOfIndices = this->m_numberOfTriangles * numIndicesPerFace; /*'always' 3*/ // vecTriIndices.reserve( this->m_numberOfIndices ); // // for ( int faceIndex = 0; faceIndex != this->m_numberOfTriangles; faceIndex++ ) // { // Lines have 2 indices // aiFace* pCurAIFace = &(this->pScene->mMeshes[0]->mFaces[faceIndex]); // // vecTriIndices.push_back( pCurAIFace->mIndices[0] ); // vecTriIndices.push_back( pCurAIFace->mIndices[1] ); // vecTriIndices.push_back( pCurAIFace->mIndices[2] ); // } // // glGenBuffers( 1, &(this->m_indexBuf_ID) ); // glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, this->m_indexBuf_ID ); // // unsigned int sizeOfIndexArrayInBytes = static_cast<unsigned int>(vecTriIndices.size()) * sizeof( GLuint ); // // unsigned int* pStartOfIndexBuffer = &(vecTriIndices[0]); // glBufferData ( GL_ELEMENT_ARRAY_BUFFER, sizeOfIndexArrayInBytes, pStartOfIndexBuffer, GL_STATIC_DRAW); // // this->m_bVBO_created = true; // // glBindBuffer(GL_ARRAY_BUFFER, 0); // glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); // // // return true; //} // //bool cSimpleAssimpSkinnedMesh::CreateVBOandVOAfromCurrentMesh( int shaderProgID, std::string &error ) //{ // this->m_shaderIDMatchingVAO = shaderProgID; // // glUseProgram( this->m_shaderIDMatchingVAO ); // // glGenVertexArrays(1, &(this->m_VAO_ID) ); // glBindVertexArray( this->m_VAO_ID ); // // // Associate a particular VBO to this VAO... // glBindBuffer( GL_ARRAY_BUFFER, this->m_VBO_ID ); // glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, this->m_indexBuf_ID ); // // unsigned int sizeOfVertexInBytes = sizeof(vert_XYZ_RGBA_N_STU_TanBi_4Bones); // // {// vPosition // GLint vPosition_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vPosition"); // if ( vPosition_location < 0 ) // { error = "Error: can't find vPosition vertex attrib."; return false; } // // glEnableVertexAttribArray(vPosition_location); // int offsetInBytesToPosition = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, x ); // glVertexAttribPointer( vPosition_location, 3, // GL_FLOAT, GL_FALSE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToPosition)) ); // For 64 bit issues // }// vPosition // // {// vColour // GLint vColour_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vColour"); // if ( vColour_location < 0 ) // { error = "Error: can't find vColour vertex attrib."; return false; } // // glEnableVertexAttribArray(vColour_location); // int offsetInBytesToColour = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, r ); // glVertexAttribPointer( vColour_location, 4, GL_FLOAT, GL_FALSE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToColour)) ); // For 64 bit issues // }// vColour // // {// vNormal // GLint vNormal_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vNormal"); // if ( vNormal_location < 0 ) // { error = "Error: can't find vNormal vertex attrib."; return false; } // // glEnableVertexAttribArray(vNormal_location); // int offsetInBytesToNormal = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, nX ); // glVertexAttribPointer( vNormal_location, 3, GL_FLOAT, GL_TRUE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToNormal)) ); // For 64 bit issues // }// vNormal // // // {// vTexSTU // GLint vTexSTU_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vTexSTU"); // if ( vTexSTU_location < 0 ) // { error = "Error: can't find vTexSTU vertex attrib."; return false; } // // glEnableVertexAttribArray(vTexSTU_location); // int offsetInBytesToSTU = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, s ); // glVertexAttribPointer( vTexSTU_location, 3, GL_FLOAT, GL_TRUE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToSTU)) ); // For 64 bit issues // }// vTexSTU // // {// vTangent // GLint vTangent_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vTangent"); // if ( vTangent_location < 0 ) // { error = "Error: can't find vTangent vertex attrib."; return false; } // // glEnableVertexAttribArray(vTangent_location); // int offsetInBytesToTangent = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, tanX ); // glVertexAttribPointer( vTangent_location, 3, GL_FLOAT, GL_TRUE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToTangent)) ); // For 64 bit issues // }// vTangent // // {//vBitangent // GLint vBitangent_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vBitangent"); // if ( vBitangent_location < 0 ) // { error = "Error: can't find vBitangent vertex attrib."; return false; } // // glEnableVertexAttribArray(vBitangent_location); // int offsetInBytesToBiTangent = offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, bitanX ); // glVertexAttribPointer( vBitangent_location, 3, GL_FLOAT, GL_TRUE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToBiTangent)) ); // For 64 bit issues // }//vBitangent // // {//vBoneIDs_x4 // GLint vBoneIDs_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vBoneIDs_x4"); // if ( vBoneIDs_location < 0 ) // { error = "Error: can't find vBoneIDs_x4 vertex attrib."; return false; } // // glEnableVertexAttribArray(vBoneIDs_location); // int offsetInBytesToBoneIDs = (int)offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, boneID[0] ); // //glVertexAttribPointer( vBoneIDs_location, 4, GL_INT, GL_FALSE, // glVertexAttribPointer( vBoneIDs_location, 4, GL_FLOAT, GL_FALSE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToBoneIDs)) ); // For 64 bit issues // }//vBoneIDs_x4 // // {//vBoneWeights_x4 // GLint vBoneWeights_location = glGetAttribLocation(this->m_shaderIDMatchingVAO, "vBoneWeights_x4"); // if ( vBoneWeights_location < 0 ) // { error = "Error: can't find vBoneWeights_x4 vertex attrib."; return false; } // // glEnableVertexAttribArray(vBoneWeights_location); // int offsetInBytesToBoneWeights = (int)offsetof( vert_XYZ_RGBA_N_STU_TanBi_4Bones, boneWeights[0] ); // glVertexAttribPointer( vBoneWeights_location, 4, GL_FLOAT, GL_TRUE, // sizeOfVertexInBytes, // reinterpret_cast<void*>(static_cast<uintptr_t>(offsetInBytesToBoneWeights)) ); // For 64 bit issues // }//vBoneWeights_x4 // // this->m_bVAO_created = true; // // // Unbind everything // glBindVertexArray(0); // glBindBuffer(GL_ARRAY_BUFFER, 0); // glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); // glUseProgram(0); // // // return true; //} // //
[ "araujojr@gmail.com" ]
araujojr@gmail.com
3ace94e8f1b6adb7a25eb4c1020f239486b9ee88
330ee44ce45e7b62ef07077dcef99a516b2a897a
/swerve_steering_controller/src/interval.cpp
400001e72c9f225695550b396a30e107a26ecbe6
[]
no_license
MarkNaeem/ros_controllers
09a7c1f8e85d6c4629e88a6d8b3bf98d7010c0a0
d3ab5f44ff5cfb29226fa7677e5b8ba38aaacd8a
refs/heads/noetic-devel
2023-08-27T09:06:44.993037
2021-11-04T12:59:20
2021-11-04T12:59:20
398,264,667
21
7
null
2021-10-04T12:30:04
2021-08-20T12:11:02
C++
UTF-8
C++
false
false
7,039
cpp
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2021, Mark Naeem * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * The names of the contributors may NOT be used to endorse or * promote products derived from this software without specific * prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. *********************************************************************/ /* * Author: Mark Naeem */ #include <swerve_steering_controller/interval.h> interval::interval(const std::array<double, 2> &limits, const std::string &type) { const auto& types_val = types_dict_[type]; this->limits_.push_back(limits); this->types_.push_back(types_val); } bool interval::intersect(std::array<double,2>& limits1, const std::array<double,2>& limits2, std::array<int,2>& type1, const std::array<int,2>& type2) { bool interval1_point, interval2_point = false; if (limits1[0] == limits1[1]) interval1_point = true; if (limits2[0] == limits2[1]) interval2_point = true; if (interval1_point && interval2_point) return (limits1[0]==limits2[0])? true: false; else if (interval1_point && !interval2_point) { if (limits1[0]==limits2[0]) return (type2[0]==0)?false:true; else if (limits1[0]==limits2[1]) return (type2[1]==0)?false:true; else if (limits1[0]>limits2[0] && limits1[0]<limits2[1]) return true; else return false; } else if (!interval1_point && interval2_point) { if (limits2[0]==limits1[0]) return (type1[0]==0)?false:true; else if (limits2[0]==limits1[1]) return (type1[1]==0)?false:true; else if (limits2[0]>limits1[0] && limits2[0]<limits1[1]) return true; else return false; } else { limits_types_intervals_vector_.clear(); limits_types_intervals_vector_.push_back({limits1[0],type1[0],0}); limits_types_intervals_vector_.push_back({limits1[1],type1[1],0}); limits_types_intervals_vector_.push_back({limits2[0],type2[0],1}); limits_types_intervals_vector_.push_back({limits2[1],type2[1],1}); utils::limits_types_intervals::sort(limits_types_intervals_vector_); if (limits_types_intervals_vector_[1].limit==limits_types_intervals_vector_[2].limit && limits_types_intervals_vector_[1].interval!=limits_types_intervals_vector_[2].interval) if (limits_types_intervals_vector_[1].type==0 || limits_types_intervals_vector_[2].type==0) return false; else return true; else if ((limits_types_intervals_vector_[0].interval==0 && limits_types_intervals_vector_[1].interval==0 && limits_types_intervals_vector_[2].interval==1 && limits_types_intervals_vector_[3].interval==1) || (limits_types_intervals_vector_[0].interval==1 && limits_types_intervals_vector_[1].interval==1 && limits_types_intervals_vector_[2].interval==0 && limits_types_intervals_vector_[3].interval==0)) return false; else return true; } } bool interval::is_intersecting(const interval& another_interval) { const auto size1 = this->limits_.size(); const auto size2 = another_interval.limits_.size(); if (size1==1 && size2==1) return intersect(limits_[0], another_interval.limits_[0], types_[0], another_interval.types_[0]); else if (size1==1 && size2==2) { const auto& b1 = intersect(limits_[0], another_interval.limits_[0], types_[0], another_interval.types_[0]); const auto& b2 = intersect(limits_[0], another_interval.limits_[1], types_[0], another_interval.types_[1]); return b1 || b2; } else if (size1==2 && size2==1) { const auto& b1 = intersect(limits_[0], another_interval.limits_[0], types_[0], another_interval.types_[0]); const auto& b2 = intersect(limits_[1], another_interval.limits_[0], types_[1], another_interval.types_[0]); return b1 || b2; } else { const auto& b1 = intersect(limits_[0], another_interval.limits_[0], types_[0], another_interval.types_[0]); const auto& b2 = intersect(limits_[1], another_interval.limits_[0], types_[1], another_interval.types_[0]); const auto& b3 = intersect(limits_[0], another_interval.limits_[1], types_[0], another_interval.types_[1]); const auto& b4 = intersect(limits_[1], another_interval.limits_[1], types_[1], another_interval.types_[1]); return b1 || b2 || b3 || b4; } } interval interval::complement () const { /*if (limits_.size()>1) //do something because we can't do it yet*/ interval complementary_interval(std::array<double,2>{-(M_PI+0.1),limits_[0][0]}, types_[0][0]==1 ? "closeopen" : "close"); complementary_interval.limits_.push_back(std::array<double,2>{limits_[0][1],(M_PI+0.1)}); complementary_interval.types_.push_back(types_[0][1]==1 ? std::array<int,2>{0,1} : std::array<int,2>{1,1}); return complementary_interval; } double interval::len() const { double res = 0; for (auto it: limits_) // we need this to be a copy not a reference { if (it[0]==-(M_PI+0.1)) it[0] =-M_PI; if (it[1]== (M_PI+0.1)) it[1] = M_PI; res += fabs(it[0]-it[1]); } return res; } void interval::print()const { for (const auto& it: limits_) { std::cout<<"[ "<<it[0]<<" , "<<it[1]<<" ]"; } std::cout<<std::endl; for (const auto& it: types_) { std::cout<<"[ "<<it[0]<<" , "<<it[1]<<" ]"; } std::cout<<std::endl; }
[ "marknaeem@yahoo.com" ]
marknaeem@yahoo.com
3423bbd44076ca0431657732aba983b47ea2a162
349251d9b110063cde04a77179e98094df9d3e65
/navigation/navfn/src/navfn_node.cpp
4f0768439ea56d101ff80809c9b7ceffbaece1da
[]
no_license
mfkiwl/slam
728bb4e142f0eee6800c66504500eef85dd8a4db
aa7d4d69c92247e4bc1e232a3568a0568ae47e2f
refs/heads/master
2022-04-08T09:24:33.747950
2020-01-19T01:32:33
2020-01-19T01:32:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,284
cpp
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * Neither the name of the Willow Garage nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * Author: Bhaskara Marthi *********************************************************************/ #include <navfn/navfn_ros.h> #include <navfn/MakeNavPlan.h> #include <boost/shared_ptr.hpp> #include <costmap_2d/costmap_2d_ros.h> namespace cm = costmap_2d; namespace rm = geometry_msgs; using std::vector; using rm::PoseStamped; using std::string; using cm::Costmap2D; using cm::Costmap2DROS; namespace navfn { class NavfnWithCostmap : public NavfnROS { public: NavfnWithCostmap(string name, Costmap2DROS* cmap); bool makePlanService(MakeNavPlan::Request& req, MakeNavPlan::Response& resp); private: void poseCallback(const rm::PoseStamped::ConstPtr& goal); Costmap2DROS* cmap_; ros::ServiceServer make_plan_service_; ros::Subscriber pose_sub_; }; bool NavfnWithCostmap::makePlanService(MakeNavPlan::Request& req, MakeNavPlan::Response& resp) { vector<PoseStamped> path; req.start.header.frame_id = "/map"; req.goal.header.frame_id = "/map"; bool success = makePlan(req.start, req.goal, path); resp.plan_found = success; if (success) { resp.path = path; } return true; } void NavfnWithCostmap::poseCallback(const rm::PoseStamped::ConstPtr& goal) { tf::Stamped<tf::Pose> global_pose; cmap_->getRobotPose(global_pose); vector<PoseStamped> path; rm::PoseStamped start; start.header.stamp = global_pose.stamp_; start.header.frame_id = global_pose.frame_id_; start.pose.position.x = global_pose.getOrigin().x(); start.pose.position.y = global_pose.getOrigin().y(); start.pose.position.z = global_pose.getOrigin().z(); start.pose.orientation.x = global_pose.getRotation().x(); start.pose.orientation.y = global_pose.getRotation().y(); start.pose.orientation.z = global_pose.getRotation().z(); start.pose.orientation.w = global_pose.getRotation().w(); makePlan(start, *goal, path); } NavfnWithCostmap::NavfnWithCostmap(string name, Costmap2DROS* cmap) : NavfnROS(name, cmap) { ros::NodeHandle private_nh("~"); cmap_ = cmap; make_plan_service_ = private_nh.advertiseService("make_plan", &NavfnWithCostmap::makePlanService, this); pose_sub_ = private_nh.subscribe<rm::PoseStamped>("goal", 1, &NavfnWithCostmap::poseCallback, this); } } // namespace int main (int argc, char** argv) { ros::init(argc, argv, "global_planner"); tf::TransformListener tf(ros::Duration(10)); costmap_2d::Costmap2DROS lcr("costmap", tf); navfn::NavfnWithCostmap navfn("navfn_planner", &lcr); ros::spin(); return 0; }
[ "j.z.feng@foxmail.com" ]
j.z.feng@foxmail.com
7e0abc08563d2b4a3fa5d8a989fb1881d573cf1f
814d5d3d79dbb4468d82a0e57277f57b09a62c17
/bender/workspace/WolvesAI_Brasil2015/src/Debugging/Services/FileService.h
8c7df810016c9a20b8f5338351d58477b36004ba
[]
no_license
rsmrafael/DarwinWalking-Repository
a64ce41d8a9f80e528fae8296222fa810f292e26
b08d1fd10d36abb62fa01536de7298e83e69fd58
refs/heads/master
2021-01-10T04:30:29.684386
2015-10-08T01:06:57
2015-10-08T01:06:57
43,387,421
4
0
null
null
null
null
UTF-8
C++
false
false
914
h
/* * FileProcessor.h * * Created on: 18.01.2010 * Author: Stefan */ #ifndef FILEPROCESSOR_H_ #define FILEPROCESSOR_H_ #include <string> #include "../PacketListener.h" #include "../../Thread.h" /** * File Service */ class FileService : public Thread, public PacketListener { public: FileService(); virtual ~FileService(); virtual void newPacket(uint8_t* packet, size_t size); virtual std::string getPacketID(); private: void execute(void* arg); void sendData(uint32_t blockNr, const char* data, size_t length); void sendACK(uint32_t blockNr); void sendError(uint32_t errorCode, std::string errorMessage); void transferFileData(bool resend); static const int PACKET_BUFFER_SIZE; uint8_t *mPacketBuffer; size_t mPacketSize; bool mPacketInBuffer; uint8_t mState; timeval mTimeoutStart; FILE* mFile; uint32_t mPacketNum; uint8_t mPacketRepeatCnt; }; #endif /* FILEPROCESSOR_H_ */
[ "juliopcrj@gmail.com" ]
juliopcrj@gmail.com
f84f80239334e7a9030150eadc2ef93fe43d8e14
da0e478aa133828b46cd9cdce321440806d6f5df
/IbeoSDK6.0.4/sdk/source/sdk/include/ibeo/common/sdk/BufferAndImporterProvider.hpp
f0b3b7dffbfa713dec661f437655b90a203a31ba
[]
no_license
mak6gulati/IBEO_sdk_check
1a911fe1b5bd92bab2800fa40e4dfa219a10cd5b
1114cbb88fa1a95e00b912a501582b3a42544379
refs/heads/master
2022-12-30T17:27:45.848079
2020-10-20T07:59:07
2020-10-20T07:59:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,135
hpp
//============================================================================== //! \file //! //!$$IBEO_LICENSE_BEGIN$$ //!Copyright (c) Ibeo Automotive Systems GmbH 2010-2019 //!All Rights Reserved. //! //!For more details, please refer to the accompanying file //!IbeoLicense.txt. //!$$IBEO_LICENSE_END$$ //! //!\date Feb 13, 2019 //------------------------------------------------------------------------------ #pragma once //============================================================================== #include <ibeo/common/sdk/misc/WinCompatibility.hpp> #include <ibeo/common/sdk/datablocks/SpecialImporterBase.hpp> #include <boost/unordered_map.hpp> #include <memory> //============================================================================== namespace ibeo { namespace common { namespace sdk { //============================================================================== template<typename Identifier> class BufferAndImporterProviderGlobal { public: using KeyType = typename Identifier::KeyType; using ImporterRegisterId = typename SpecialImporterBase<typename Identifier::CommonBase>::ImporterRegisterId; using ImporterCreateFunction = typename ImporterRegisterId::ImporterCreateFunction; using GlobalProviderMap = boost::unordered_map<typename ImporterRegisterId::Key, ImporterCreateFunction>; private: BufferAndImporterProviderGlobal() : m_glProviderMap() {} ~BufferAndImporterProviderGlobal() {} private: BufferAndImporterProviderGlobal(const BufferAndImporterProviderGlobal& other) = delete; BufferAndImporterProviderGlobal& operator=(const BufferAndImporterProviderGlobal& other) = delete; public: static BufferAndImporterProviderGlobal<Identifier>& getInstance() { static BufferAndImporterProviderGlobal<Identifier> dbbp; return dbbp; } public: const ImporterRegisterId& registerImporter(const ImporterRegisterId& dbri) { m_glProviderMap[dbri.getKey()] = dbri.getValue(); return dbri; } const GlobalProviderMap& getMap() const { return m_glProviderMap; } protected: GlobalProviderMap m_glProviderMap; }; // BufferAndImporterProviderGlobal //============================================================================== //============================================================================== //============================================================================== //============================================================================== //============================================================================== template<typename Identifier> class BufferAndImporterProvider { public: using KeyType = typename Identifier::KeyType; public: class BufferAndImporter; using ImporterRegisterId = typename SpecialImporterBase<Identifier>::ImporterRegisterId; using ProviderMap = boost::unordered_map<typename ImporterRegisterId::Key, BufferAndImporter>; public: BufferAndImporterProvider(BufferAndImporterProviderGlobal<Identifier>& globalProvider) { using GlobalMap = typename BufferAndImporterProviderGlobal<Identifier>::GlobalProviderMap; const GlobalMap& globalMap = globalProvider.getMap(); typename GlobalMap::const_iterator globalIter = globalMap.begin(); for (; globalIter != globalMap.end(); ++globalIter) { m_providerMap[globalIter->first] = BufferAndImporter(globalIter->second); } // for globalIter } ~BufferAndImporterProvider() {} private: BufferAndImporterProvider(const BufferAndImporterProvider&) = delete; BufferAndImporterProvider& operator=(const BufferAndImporterProvider&) = delete; public: Identifier* getBuffer(const typename ImporterRegisterId::Key key) { typename ProviderMap::iterator iter = m_providerMap.find(key); if (iter == m_providerMap.end()) { return nullptr; } return iter->second.getBuffer(); } //======================================== SpecialImporterBase<Identifier>* getImporter(const typename ImporterRegisterId::Key key) { // LOGWARNING(logger, "Size of map: " << providerMap.size()); typename ProviderMap::iterator iter = m_providerMap.find(key); if (iter == m_providerMap.end()) { return nullptr; } return iter->second.getImporter(); } const ProviderMap& getMap() const { return m_providerMap; } protected: ProviderMap m_providerMap; }; // BufferAndImporterProvider //============================================================================== template<typename Identifier> class BufferAndImporterProvider<Identifier>::BufferAndImporter { public: using ImporterCreateFunction = typename SpecialImporterBase<Identifier>::ImporterRegisterId::ImporterCreateFunction; public: BufferAndImporter() {} BufferAndImporter(ImporterCreateFunction createImporter) : m_createImporter(createImporter) {} ~BufferAndImporter() = default; public: Identifier* getBuffer() { if (!m_buffer && (getImporter())) { m_buffer.reset(m_importer->createContainer()); } return m_buffer.get(); } //======================================== SpecialImporterBase<Identifier>* getImporter() { if (!m_importer && m_createImporter) { m_importer.reset(m_createImporter()); } return m_importer.get(); } //======================================== ImporterCreateFunction getCreateImporterPtr() const { return m_createImporter; } protected: std::shared_ptr<Identifier> m_buffer{}; std::shared_ptr<SpecialImporterBase<Identifier>> m_importer{}; typename SpecialImporterBase<Identifier>::ImporterRegisterId::ImporterCreateFunction m_createImporter; }; // ContainerBufferAndImporter //============================================================================== } // namespace sdk } // namespace common } // namespace ibeo //==============================================================================
[ "mayank.gulati@automotive-ai.com" ]
mayank.gulati@automotive-ai.com
ded88f132918d05b7ecd899192d0e69914c302d2
be0282afa8dd436619c71d6118c9db455eaf1a29
/Intermediate/Build/Win64/Design3D/Debug/Overlay/Module.Overlay.gen.cpp
36a76576c924df5581d63aefab9bf556c720b481
[]
no_license
Quant2017/Design3D
0f915580b222af40ab911021cceef5c26375d7f9
94a22386be4aa37aa0f546354cc62958820a4bf6
refs/heads/master
2022-04-23T10:44:12.398772
2020-04-22T01:02:39
2020-04-22T01:02:39
262,966,755
1
0
null
2020-05-11T07:12:37
2020-05-11T07:12:36
null
UTF-8
C++
false
false
592
cpp
// This file is automatically generated at compile-time to include some subset of the user-created cpp files. #include "D:\Github\master_szu\ue4_project\Design3D\Intermediate\Build\Win64\Design3D\Inc\Overlay\BasicOverlays.gen.cpp" #include "D:\Github\master_szu\ue4_project\Design3D\Intermediate\Build\Win64\Design3D\Inc\Overlay\LocalizedOverlays.gen.cpp" #include "D:\Github\master_szu\ue4_project\Design3D\Intermediate\Build\Win64\Design3D\Inc\Overlay\Overlay.init.gen.cpp" #include "D:\Github\master_szu\ue4_project\Design3D\Intermediate\Build\Win64\Design3D\Inc\Overlay\Overlays.gen.cpp"
[ "Snake_Jenny@126.com" ]
Snake_Jenny@126.com
aa5f494870a3d242fe518dc0450a434f563397d7
e9e71ba49f2a89872b54308367c6f97a045489aa
/Respostas/ProjetoPGCA028Exercicios/ProjetoPGCA028Exercicios/L8Q02.cpp
f88c76de6edb1ed9b2c20eac79b068538e0bd009
[ "MIT" ]
permissive
leomelocomputacao/Introducao_Programacao_C
55651798f9983a49f4aeccbeb64fd8cbcb7693ac
01b5f5ff817ade9482a09dd065a5e3f069fec8a8
refs/heads/master
2021-01-10T19:02:20.652978
2014-07-22T14:26:51
2014-07-22T14:26:51
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
2,581
cpp
//Inclusão de Bibliotecas #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <string.h> #include <math.h> //Constantes #define V0 "Nao e triangulo" #define V1 "Triangulo Equilatero" #define V2 "Triangulo Escaleno" #define V3 "Triangulo Isosceles" #define MENOR_VALOR_DE_LADO 0.1 int verificaTriangulo(float x, float y, float z) { int retorno = 0; if ((x < y + z) && (z < x + y) && (y < z + x)) { if (x == y && y == z) { retorno = 1; } else { if (x != y && y != z) { retorno = 2; } else { if ((x == y && y != z) || (y == z && z != x) || (z == x && x != y)) { retorno = 3; } } } } return retorno; } //Método Main - Entry Point do Programa int main82() { //Declaração de variáveis float x = 0; float y = 0; float z = 0; bool dadosDeEntradaValidos = true; //Título do Programa e autor printf(" << UEFS - PGCA 2014.1 - Programa triangulos>>"); printf("\n\n ## Autor: Leonardo Melo\n\n"); do{ dadosDeEntradaValidos = true; printf_s("\nDigite o lado x: "); scanf_s("%f", &x); //limpa o buffer do scanf fflush(stdin); if (x < MENOR_VALOR_DE_LADO) { printf("\n\nEntrada Invalida!\nO menor valor de um lado nao pode ser menor que %.2f.\n", MENOR_VALOR_DE_LADO); dadosDeEntradaValidos = false; } } while (!dadosDeEntradaValidos); do{ dadosDeEntradaValidos = true; printf_s("\nDigite o lado y: "); scanf_s("%f", &y); //limpa o buffer do scanf fflush(stdin); if (y < MENOR_VALOR_DE_LADO) { printf("\n\nEntrada Invalida!\nO menor valor de um lado nao pode ser menor que %.2f.\n", MENOR_VALOR_DE_LADO); dadosDeEntradaValidos = false; } } while (!dadosDeEntradaValidos); do{ dadosDeEntradaValidos = true; printf_s("\nDigite o lado z: "); scanf_s("%f", &z); //limpa o buffer do scanf fflush(stdin); if (z < MENOR_VALOR_DE_LADO) { printf("\n\nEntrada Invalida!\nO menor valor de um lado nao pode ser menor que %.2f.\n", MENOR_VALOR_DE_LADO); dadosDeEntradaValidos = false; } } while (!dadosDeEntradaValidos); int resultado = verificaTriangulo(x, y, z); char *texto = " "; if (resultado == 1) { texto = V1; } else { if (resultado == 2) { texto = V2; } else { if (resultado == 3) { texto = V3; } else { if (resultado == 0) { texto = V0; } } } } printf_s("\n\nResposta da analise: %s", texto); //Pula duas linhas e Pausa a Tela (Utilizando comandos DOS) printf("\n\n\n"); system("pause"); //Retorno do método main return(EXIT_SUCCESS); }
[ "leomelocomputacao@gmail.com" ]
leomelocomputacao@gmail.com
e45a959e253cf8c9b76e953391140565f760179c
306f96ae59135cb7fd5ed7497f37760b338f398a
/PANGO1/SDL Game/Application.cpp
f85ba9d64496ecb8fe61aef22b9ad4c35fbc8b87
[]
no_license
ProyectoCITM/Pang
ff5f4b958d6a7299f77472fb5d7f868c8abf9f6c
5f7a0fa511c2741b2c2c78ec48185e6c28f64710
refs/heads/master
2020-05-20T05:18:50.087546
2015-04-21T22:57:02
2015-04-21T22:57:02
30,755,138
0
0
null
null
null
null
UTF-8
C++
false
false
2,754
cpp
#pragma once #include "Application.h" Application::Application() { renderer = new ModuleRender(this); window = new ModuleWindow(this); textures = new ModuleTextures(this); input = new ModuleInput(this); audio = new ModuleAudio(this, true); scene_fuji = new ModuleSceneFuji(this, false); player = new ModulePlayer(this, false); balloon = new ModuleBalloon(this, false); scene_intro = new ModuleSceneIntro(this, true); fade = new ModuleFadeToBlack(this); harpoons = new ModuleHarpoons(this, false); collision = new ModuleCollision(this, false); // The order of calls is very important! // Modules will Init() Start() and Update in this order // They will CleanUp() in reverse order // Main Modules AddModule(window); AddModule(renderer); AddModule(textures); AddModule(input); AddModule(audio); // Scenes AddModule(scene_fuji); AddModule(scene_intro); // Characters AddModule(player); // Misc AddModule(balloon); AddModule(harpoons); AddModule(collision); AddModule(fade); // let this after all drawing } Application::~Application() { delete renderer; delete window; delete textures; delete input; delete harpoons; delete audio; delete scene_intro; delete scene_fuji; delete player; delete balloon; delete fade; delete collision; } bool Application::Init() { bool ret = true; // Call Init() in all modules p2List_item<Module*>* item = list_modules.getFirst(); while(item != NULL && ret == true) { ret = item->data->Init(); item = item->next; } // After all Init calls we call Start() in all modules LOG("Application Start --------------"); item = list_modules.getFirst(); while(item != NULL && ret == true) { if(item->data->IsEnabled()) ret = item->data->Start(); item = item->next; } return ret; } // Call PreUpdate, Update and PostUpdate on all modules update_status Application::Update() { update_status ret = UPDATE_CONTINUE; p2List_item<Module*>* item = list_modules.getFirst(); while(item != NULL && ret == UPDATE_CONTINUE) { if(item->data->IsEnabled()) ret = item->data->PreUpdate(); item = item->next; } item = list_modules.getFirst(); while(item != NULL && ret == UPDATE_CONTINUE) { if(item->data->IsEnabled()) ret = item->data->Update(); item = item->next; } item = list_modules.getFirst(); while(item != NULL && ret == UPDATE_CONTINUE) { if(item->data->IsEnabled()) ret = item->data->PostUpdate(); item = item->next; } return ret; } bool Application::CleanUp() { bool ret = true; p2List_item<Module*>* item = list_modules.getLast(); while(item != NULL && ret == true) { ret = item->data->CleanUp(); item = item->prev; } return ret; } void Application::AddModule(Module* mod) { list_modules.add(mod); }
[ "sergi.p.crespo@gmail.com" ]
sergi.p.crespo@gmail.com
5e57f09fb2a93d0bbf631bad869c683e9180700d
dd80a584130ef1a0333429ba76c1cee0eb40df73
/art/runtime/verifier/dex_gc_map.h
2a95ba22849bd9e47a92ff95db8fa29cefb7bc76
[ "MIT", "Apache-2.0" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
C++
false
false
3,538
h
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef ART_RUNTIME_VERIFIER_DEX_GC_MAP_H_ #define ART_RUNTIME_VERIFIER_DEX_GC_MAP_H_ #include <stdint.h> #include "base/logging.h" #include "base/macros.h" namespace art { namespace verifier { /* * Format enumeration for RegisterMap data area. */ enum RegisterMapFormat { kRegMapFormatUnknown = 0, kRegMapFormatNone = 1, // Indicates no map data follows. kRegMapFormatCompact8 = 2, // Compact layout, 8-bit addresses. kRegMapFormatCompact16 = 3, // Compact layout, 16-bit addresses. }; // Lightweight wrapper for Dex PC to reference bit maps. class DexPcToReferenceMap { public: DexPcToReferenceMap(const uint8_t* data, size_t data_length) : data_(data) { CHECK(data_ != NULL); // Check the size of the table agrees with the number of entries size_t data_size = data_length - 4; DCHECK_EQ(EntryWidth() * NumEntries(), data_size); } // The number of entries in the table size_t NumEntries() const { return GetData()[2] | (GetData()[3] << 8); } // Get the Dex PC at the given index uint16_t GetDexPc(size_t index) const { size_t entry_offset = index * EntryWidth(); if (DexPcWidth() == 1) { return Table()[entry_offset]; } else { return Table()[entry_offset] | (Table()[entry_offset + 1] << 8); } } // Return address of bitmap encoding what are live references const uint8_t* GetBitMap(size_t index) const { size_t entry_offset = index * EntryWidth(); return &Table()[entry_offset + DexPcWidth()]; } // Find the bitmap associated with the given dex pc const uint8_t* FindBitMap(uint16_t dex_pc, bool error_if_not_present = true) const; // The number of bytes used to encode registers size_t RegWidth() const { return GetData()[1] | ((GetData()[0] & ~kRegMapFormatMask) << kRegMapFormatShift); } private: // Table of num_entries * (dex pc, bitmap) const uint8_t* Table() const { return GetData() + 4; } // The format of the table of the PCs for the table RegisterMapFormat Format() const { return static_cast<RegisterMapFormat>(GetData()[0] & kRegMapFormatMask); } // Number of bytes used to encode a dex pc size_t DexPcWidth() const { RegisterMapFormat format = Format(); switch (format) { case kRegMapFormatCompact8: return 1; case kRegMapFormatCompact16: return 2; default: LOG(FATAL) << "Invalid format " << static_cast<int>(format); return -1; } } // The width of an entry in the table size_t EntryWidth() const { return DexPcWidth() + RegWidth(); } const uint8_t* GetData() const { return data_; } friend class MethodVerifier; static const int kRegMapFormatShift = 5; static const uint8_t kRegMapFormatMask = 0x7; const uint8_t* const data_; // The header and table data }; } // namespace verifier } // namespace art #endif // ART_RUNTIME_VERIFIER_DEX_GC_MAP_H_
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
530addca636399d106b68ac205369151b8677e60
1fbb86a68429b4a013e4dd5536bd11b5f01bd481
/libs/glbinding/include/glbinding/gl31/types.h
5a5d2249ec0fedc6d1bae21d63685c3135d4d697
[ "MIT" ]
permissive
drzajwo/UJ-Programowanie-grafiki-3D
e1dfcf0c6ba7706eada293425262905588136f26
9e76ed4d528208bb18525e2b5e80a74944a9b67d
refs/heads/master
2020-08-28T12:06:27.049514
2019-11-23T12:49:47
2019-11-23T12:49:47
217,693,941
0
0
null
null
null
null
UTF-8
C++
false
false
1,841
h
#pragma once #include <glbinding/nogl.h> #include <glbinding/gl/types.h> namespace gl31 { using gl::GLextension; using gl::GLenum; using gl::GLboolean; using gl::GLbitfield; using gl::GLvoid; using gl::GLbyte; using gl::GLubyte; using gl::GLshort; using gl::GLushort; using gl::GLint; using gl::GLuint; using gl::GLclampx; using gl::GLsizei; using gl::GLfloat; using gl::GLclampf; using gl::GLdouble; using gl::GLclampd; using gl::GLeglClientBufferEXT; using gl::GLeglImageOES; using gl::GLchar; using gl::GLcharARB; using gl::GLhandleARB; using gl::GLhalf; using gl::GLhalfARB; using gl::GLfixed; using gl::GLintptr; using gl::GLintptrARB; using gl::GLsizeiptr; using gl::GLsizeiptrARB; using gl::GLint64; using gl::GLint64EXT; using gl::GLuint64; using gl::GLuint64EXT; using gl::GLsync; using gl::_cl_context; using gl::_cl_event; using gl::GLDEBUGPROC; using gl::GLDEBUGPROCARB; using gl::GLDEBUGPROCKHR; using gl::GLDEBUGPROCAMD; using gl::GLhalfNV; using gl::GLvdpauSurfaceNV; using gl::GLVULKANPROCNV; using gl::GLuint_array_2; using gl::AttribMask; using gl::BufferStorageMask; using gl::ClearBufferMask; using gl::ClientAttribMask; using gl::ContextFlagMask; using gl::ContextProfileMask; using gl::FfdMaskSGIX; using gl::FragmentShaderColorModMaskATI; using gl::FragmentShaderDestMaskATI; using gl::FragmentShaderDestModMaskATI; using gl::MapBufferAccessMask; using gl::MemoryBarrierMask; using gl::OcclusionQueryEventMaskAMD; using gl::PathFontStyle; using gl::PathMetricMask; using gl::PathRenderingMaskNV; using gl::PerformanceQueryCapsMaskINTEL; using gl::SyncObjectMask; using gl::TextureStorageMaskAMD; using gl::UseProgramStageMask; using gl::VertexHintsMaskPGI; using gl::UnusedMask; using gl::BufferAccessMask; } // namespace gl31
[ "Iwo.Wojciechowski@pega.com" ]
Iwo.Wojciechowski@pega.com
4011d8c5c94c63d9c28072bd76838a7930655b90
678cdc9081f2317bcf9126c5bff73230f2abace4
/С++/Example23.cpp
ab0182abdd258280fdc22a8743da8bc602554cdf
[]
no_license
asaskevich/Sandbox
9382861bc481b03809aec3700606b1e150349539
782af2198c05856a11783561c0d9946c5303b6ac
refs/heads/master
2023-07-09T09:53:10.339779
2014-04-04T17:09:13
2014-04-04T17:09:13
17,264,120
1
0
null
null
null
null
UTF-8
C++
false
false
457
cpp
#include <iostream> #include <string.h> using namespace std; // Simple class with three fields and one function class Person { public: int id; char * name; int age; void setAge(int k) { age = k; } int getAge() { return age; } }; int main() { Person p; // After creating, fields store stuff inside cout << p.age << " " << p.getAge() << endl; // Call function of class p.setAge(25); cout << p.age << " " << p.getAge() << endl; }
[ "alexhomel@ya.ru" ]
alexhomel@ya.ru
306c5fb6c58f47a50dbc26a025afdea4d4f56dba
686af39e5a17176a7a6d43effa442af69e5001e7
/codechef/PlaywithNumbers.cpp
845fc72eb153f424e4c2905cc30d6d58178c2db3
[]
no_license
mady16/MycppCodes
aba2756d1e96b658bde0c24cb6187138f463c517
e3e3b4f2b2f071a567c65f33297442742092235f
refs/heads/master
2022-02-23T02:55:11.809075
2019-09-20T19:16:01
2019-09-20T19:16:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
750
cpp
#include<iostream> #include<string.h> #include<math.h> #include<algorithm> #include<vector> using namespace std; int main(){ // #ifndef ONLINE_JUDGE // freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); // #endif long long int n,q; cin>>n>>q; long long int a[n],sum[n]; for(int i=0;i<n;i++){ cin>>a[i]; sum[i]=0; if(i!=0) sum[i]=sum[i-1]+a[i]; else sum[0]=a[0]; // cout<<sum[i]<<" "; } while(q--){ int l,r,mean; cin>>l>>r; // cout<<mean<<endl; if(l!=1) mean=(sum[r-1]-sum[l-2])/(r-l+1); else mean=(sum[r-1])/(r-l+1); cout<<mean<<endl; } return 0; }
[ "vikasgola2015@gmail.com" ]
vikasgola2015@gmail.com
910767fdd4744f3a6feda3618ff89eebe9e79eb2
d66ea0183cd410783c511d662307bc50075a89bb
/src/gpu/gl/GrGLExtensions.cpp
dcfa4f767711378e35f3950c6b6a4b1de5f2c53b
[ "BSD-3-Clause" ]
permissive
trevorlinton/skia
e9c2b14c37108788b90493829c907c054aa1c3a1
07b88e1afc44ff0d2c451924e1e2ea5aeb2c7996
refs/heads/master
2016-09-06T09:21:38.960183
2014-01-20T00:23:05
2014-01-20T00:23:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,997
cpp
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLExtensions.h" #include "gl/GrGLDefines.h" #include "gl/GrGLUtil.h" #include "SkTSearch.h" #include "SkTSort.h" namespace { inline bool extension_compare(const SkString& a, const SkString& b) { return strcmp(a.c_str(), b.c_str()) < 0; } } bool GrGLExtensions::init(GrGLStandard standard, GrGLGetStringProc getString, GrGLGetStringiProc getStringi, GrGLGetIntegervProc getIntegerv) { fStrings.reset(); if (NULL == getString) { return false; } // glGetStringi and indexed extensions were added in version 3.0 of desktop GL and ES. const GrGLubyte* verString = getString(GR_GL_VERSION); if (NULL == verString) { return false; } GrGLVersion version = GrGLGetVersionFromString((const char*) verString); bool indexed = version >= GR_GL_VER(3, 0); if (indexed) { if (NULL == getStringi || NULL == getIntegerv) { return false; } GrGLint extensionCnt = 0; getIntegerv(GR_GL_NUM_EXTENSIONS, &extensionCnt); fStrings.push_back_n(extensionCnt); for (int i = 0; i < extensionCnt; ++i) { const char* ext = (const char*) getStringi(GR_GL_EXTENSIONS, i); fStrings[i] = ext; } } else { const char* extensions = (const char*) getString(GR_GL_EXTENSIONS); if (NULL == extensions) { return false; } while (true) { // skip over multiple spaces between extensions while (' ' == *extensions) { ++extensions; } // quit once we reach the end of the string. if ('\0' == *extensions) { break; } // we found an extension size_t length = strcspn(extensions, " "); fStrings.push_back().set(extensions, length); extensions += length; } } if (!fStrings.empty()) { SkTLessFunctionToFunctorAdaptor<SkString, extension_compare> cmp; SkTQSort(&fStrings.front(), &fStrings.back(), cmp); } return true; } bool GrGLExtensions::has(const char* ext) const { if (fStrings.empty()) { return false; } SkString extensionStr(ext); int idx = SkTSearch<SkString, extension_compare>(&fStrings.front(), fStrings.count(), extensionStr, sizeof(SkString)); return idx >= 0; } void GrGLExtensions::print(const char* sep) const { if (NULL == sep) { sep = " "; } int cnt = fStrings.count(); for (int i = 0; i < cnt; ++i) { GrPrintf("%s%s", fStrings[i].c_str(), (i < cnt - 1) ? sep : ""); } }
[ "trevor.linton@gmail.com" ]
trevor.linton@gmail.com
aa6843f88a4460107ee46be14bc937d6aa199cf9
13b017681ffcf6b9165713a84b95c3515d3e0f32
/cli/options.h
035435630ae277c2bf8aecc5fab508a78208c943
[ "MIT" ]
permissive
dengyingtuo/ZAssetPackage
e85422e5fb5baba5378fed81893667a1d0099f9d
c108b6ac91249a5d949318b38a090bab27aa1afa
refs/heads/master
2021-01-21T17:28:44.979877
2015-03-25T20:23:39
2015-03-25T20:23:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,301
h
/*The MIT License (MIT) Copyright (c) 2015 Johannes Häggqvist Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/ #ifndef options_h__ #define options_h__ #include "optionparser.h" namespace cli { enum optionIndex { UNKNOWN, HELP, LIST, EXTRACT, PACK, COMPRESS, RECURSIVE, RAW }; } #endif // options_h__
[ "johanneshagg@gmail.com" ]
johanneshagg@gmail.com
497870bcb072b91639f1a57ceb40ec364e0ecb17
9dc5569d20122cf39dfe4698af3b19b56f5eb383
/Algorithm/SortTestHelper.h
5826badfe36f2385a5633b00e58849c3ff6707b6
[]
no_license
w366813640/Leetcode
a0e4300049f5c39e183ea43f9c393110867bbd2f
514e5f3499989cae49cbc334229451d8ac74be46
refs/heads/master
2021-05-22T18:06:39.376741
2020-04-18T11:14:37
2020-04-18T11:14:37
253,032,097
1
0
null
null
null
null
UTF-8
C++
false
false
516
h
/* This flie aimed for sorttest * provide some useful tools like print and complexity calculation */ #include <iostream> #include <algorithm> #include <string> #include <ctime> #include <cassert> using namespace std; namespace SortTestHelper { int *generateRandomArray(int n,int range_l,int range_r) { int *arr = new int[n]; srand(time(NULL));//random seed usually ues time for key for(int i = 0;i < n;i++) { arr[i] = rand() % (range_r - range_l) + range_l; } return arr; } }
[ "366813640@qq.com" ]
366813640@qq.com
7a936dca6538b8683b4cf4fd282be206ad1e3c39
079d13260b2b68461785f9aedccbecb718a965fd
/modules/abuffergl/abufferglhelpers/abuffergllinkedlist.cpp
b0cd0db435636bd6eef5d230f7767c329798a65c
[ "BSD-2-Clause" ]
permissive
sunwj/inviwo
159334979f281a6ba74805142a57dbdc3453870a
8c9e32def768740cda7e66a53aa7862c205a6ba6
refs/heads/master
2021-01-18T01:50:16.751249
2015-10-21T21:25:14
2015-10-21T21:29:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
20,648
cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * *********************************************************************************/ #include <modules/abuffergl/abufferglhelpers/abuffergllinkedlist.h> #include <inviwo/core/datastructures/buffer/bufferramprecision.h> #include <modules/opengl/image/layergl.h> #include <inviwo/core/datastructures/image/layerram.h> #include <modules/opengl/image/imagegl.h> namespace inviwo { Inviwo_ABufferGL4_LinkedList::Inviwo_ABufferGL4_LinkedList(ivec2 dim) : Inviwo_ABufferGL4(dim, ABuffer_LinkedList), abufferPageIdxImgTexture_(0), abufferFragCountImgTexture_(0), semaphoreImgTexture_(0), sharedPoolSize_(dim.x*dim.y * 10 * ABUFFER_PAGE_SIZE*ABUFFER_DATA_PER_NODE), abufferSize_(static_cast<int>(sharedPoolSize_)), // TODO: why using int here? totalFragmentQuery_(0), lastFrameNumFrags_(0), queryRequested_(false), curSharedPageBuffID_(0), curSharedPageAddress_(0), abufferPageIdxBuffID_(0), abufferPageIdxAddress_(0), abufferPageIdxTexID_(0), abufferFragCountBuffID_(0), abufferFragCountAddress_(0), abufferFragCountTexID_(0), shared_RGBA_DataListBuffID_(0), shared_RGBA_DataListAddress_(0), shared_RGBA_DataListTexID_(0), shared_Ext_DataListBuffID_(0), shared_Ext_DataListAddress_(0), shared_Ext_DataListTexID_(0), sharedPageListComparisonBuffID_(0), sharedPageListComparisonAddress_(0), sharedPageListComparisonTexID_(0), sharedLinkListBuffID_(0), sharedLinkListAddress_(0), sharedLinkListTexID_(0), semaphoreBuffID_(0), semaphoreAddress_(0), semaphoreTexID_(0), globalAtomicCounterBuffer_(0), globalAtomicsBufferId_(0) {} Inviwo_ABufferGL4_LinkedList::~Inviwo_ABufferGL4_LinkedList() { deinitABuffer(); } void Inviwo_ABufferGL4_LinkedList::allocateABuffer() { abufferPageIdxImgTexture_ = new Image(dim_, DataUINT32::get()); abufferFragCountImgTexture_ = new Image(dim_, DataUINT32::get()); semaphoreImgTexture_ = new Image(dim_, DataUINT32::get()); curSharedPageAddress_=ABUFFER_PAGE_SIZE; //Shared page global counter { size_t headerCounterSize_ = 4; globalAtomicCounterBuffer_ = new GLuint[headerCounterSize_]; memset(globalAtomicCounterBuffer_, 0, headerCounterSize_*sizeof(GLuint) ); } } void Inviwo_ABufferGL4_LinkedList::initABuffer(int abufferSize) { abufferSize_ = abufferSize; Layer* layer = abufferPageIdxImgTexture_->getColorLayer(); memset(layer->getEditableRepresentation<LayerRAM>()->getData(), 0, dim_.x*dim_.y*sizeof(glm::uint32) ); //layer->getEditableRepresentation<LayerGL>(); layer = abufferFragCountImgTexture_->getColorLayer(); memset(layer->getEditableRepresentation<LayerRAM>()->getData(), 0, dim_.x*dim_.y*sizeof(glm::uint32) ); //layer->getEditableRepresentation<LayerGL>(); layer = semaphoreImgTexture_->getColorLayer(); memset(layer->getEditableRepresentation<LayerRAM>()->getData(), 0, dim_.x*dim_.y*sizeof(glm::uint32) ); //layer->getEditableRepresentation<LayerGL>(); initABuffer_LinkedList(); abufferSize_ = 0; } void Inviwo_ABufferGL4_LinkedList::deinitABuffer(void) { if (abufferPageIdxImgTexture_) delete abufferPageIdxImgTexture_; if (abufferFragCountImgTexture_) delete abufferFragCountImgTexture_; if (semaphoreImgTexture_) delete semaphoreImgTexture_; if (globalAtomicCounterBuffer_) delete globalAtomicCounterBuffer_; clear(); //TODO:This buffer should be deleted if(shared_RGBA_DataListBuffID_) { glBindBuffer(GL_TEXTURE_BUFFER, shared_RGBA_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, 1, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_RGBA_DataListAddress_); } if(shared_Ext_DataListBuffID_) { glBindBuffer(GL_TEXTURE_BUFFER, shared_Ext_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, 1, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_Ext_DataListAddress_); } if(sharedLinkListBuffID_) { glBindBuffer(GL_TEXTURE_BUFFER, sharedLinkListBuffID_); glBufferData(GL_TEXTURE_BUFFER, (1)*sizeof(GLuint64), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &sharedLinkListAddress_); } curSharedPageBuffID_ = 0; abufferPageIdxBuffID_= 0; abufferFragCountBuffID_= 0; shared_RGBA_DataListBuffID_= 0; sharedPageListComparisonBuffID_= 0; sharedLinkListBuffID_= 0; semaphoreBuffID_= 0; globalAtomicsBufferId_= 0; } void Inviwo_ABufferGL4_LinkedList::clear(void) { for (size_t i=0; i<texUnits_.size(); i++) delete texUnits_[i]; texUnits_.clear(); } void Inviwo_ABufferGL4_LinkedList::initSharedPool_LinkedList() { size_t bufferSize = sharedPoolSize_; if (sharedPoolSize_<abufferSize_) bufferSize = abufferSize_; if( pSharedPoolUseTextures_ ){ TextureUnit* texUnit=0; ///Shared page list/// - RGBA data if(!shared_RGBA_DataListBuffID_) glGenBuffers(1, &shared_RGBA_DataListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, shared_RGBA_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, bufferSize*ABUFFER_RGBA_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_RGBA_DataListAddress_); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); if(!shared_RGBA_DataListTexID_) glGenTextures(1, &shared_RGBA_DataListTexID_); texUnit->activate(); glBindTexture(GL_TEXTURE_BUFFER, shared_RGBA_DataListTexID_); //Associate BO storage with the texture glTexBuffer(GL_TEXTURE_BUFFER, GL_RGBA8UI, shared_RGBA_DataListBuffID_); glBindImageTextureEXT(texUnit->getUnitNumber(), shared_RGBA_DataListTexID_, 0, false, 0, GL_READ_WRITE, GL_RGBA8UI); ///Shared page list/// - Ext data if(!shared_Ext_DataListBuffID_) glGenBuffers(1, &shared_Ext_DataListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, shared_Ext_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, bufferSize*ABUFFER_EXT_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_Ext_DataListAddress_); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); if(!shared_Ext_DataListTexID_) glGenTextures(1, &shared_Ext_DataListTexID_); texUnit->activate(); glBindTexture(GL_TEXTURE_BUFFER, shared_Ext_DataListTexID_); //Associate BO storage with the texture glTexBuffer(GL_TEXTURE_BUFFER, GL_R32F, shared_Ext_DataListBuffID_); glBindImageTextureEXT(texUnit->getUnitNumber(), shared_Ext_DataListTexID_, 0, false, 0, GL_READ_WRITE, GL_R32F); /* ///Shared page list/// - comparison values for sorting link list eg, depth if(!sharedPageListComparisonBuffID_) glGenBuffers(1, &sharedPageListComparisonBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, sharedPageListComparisonBuffID_); glBufferData(GL_TEXTURE_BUFFER, sharedPoolSize_*ABUFFER_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &sharedPageListComparisonAddress_); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); if(!sharedPageListComparisonTexID_) glGenTextures(1, &sharedPageListComparisonTexID_); texUnit->activate(); glBindTexture(GL_TEXTURE_BUFFER, sharedPageListComparisonTexID_); //Associate BO storage with the texture glTexBuffer(GL_TEXTURE_BUFFER, GL_RGBA32F, sharedPageListComparisonBuffID_); glBindImageTextureEXT(texUnit->getUnitNumber(), sharedPageListComparisonTexID_, 0, false, 0, GL_READ_WRITE, GL_RGBA32F); */ ///ABuffer shared link pointer list/// if(!sharedLinkListBuffID_) glGenBuffers(1, &sharedLinkListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, sharedLinkListBuffID_); glBufferData(GL_TEXTURE_BUFFER, (bufferSize/ABUFFER_PAGE_SIZE)*sizeof(glm::uint32), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &sharedLinkListAddress_); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); if(!sharedLinkListTexID_) glGenTextures(1, &sharedLinkListTexID_); texUnit->activate(); glBindTexture(GL_TEXTURE_BUFFER, sharedLinkListTexID_); //Associate BO storage with the texture glTexBuffer(GL_TEXTURE_BUFFER, GL_R32UI, sharedLinkListBuffID_); glBindImageTextureEXT(texUnit->getUnitNumber(), sharedLinkListTexID_, 0, false, 0, GL_READ_WRITE, GL_R32UI); }else{ ///Shared page list///- data if(!shared_RGBA_DataListBuffID_) { glGenBuffers(1, &shared_RGBA_DataListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, shared_RGBA_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, bufferSize*ABUFFER_RGBA_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_RGBA_DataListAddress_); } if(!shared_Ext_DataListBuffID_) { glGenBuffers(1, &shared_Ext_DataListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, shared_Ext_DataListBuffID_); glBufferData(GL_TEXTURE_BUFFER, bufferSize*ABUFFER_EXT_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &shared_Ext_DataListAddress_); } //LogInfo("d_sharedPageList (Data) -> VBO "<< sharedPageListBuffID_) ///Shared page list/// - comparison values for sorting link list eg, depth /*if(!sharedPageListComparisonBuffID_) glGenBuffers(1, &sharedPageListComparisonBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, sharedPageListComparisonBuffID_); glBufferData(GL_TEXTURE_BUFFER, bufferSize*ABUFFER_DATA_TYPE_SIZE, NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &sharedPageListComparisonAddress_);*/ ///Shared link pointer list/// if(!sharedLinkListBuffID_) { glGenBuffers(1, &sharedLinkListBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, sharedLinkListBuffID_); glBufferData(GL_TEXTURE_BUFFER, (bufferSize)*sizeof(glm::uint), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &sharedLinkListAddress_); } //LogInfo("d_sharedLinkList (Links) -> VBO "<< sharedLinkListBuffID_) } } void Inviwo_ABufferGL4_LinkedList::initABuffer_LinkedList(){ //Init occlusion query if(!totalFragmentQuery_) glGenQueries(1, &totalFragmentQuery_); size_t texIncr=0; std::vector<GLint> unitNums; const ImageGL* imageGL = 0; const LayerGL* layer = 0; TextureUnit* texUnit=0; if( pABufferUseTextures_ ) { ///Page idx storage/// imageGL = abufferPageIdxImgTexture_->getRepresentation<ImageGL>(); layer = imageGL->getColorLayerGL(0); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); layer->bindTexture(texUnit->getEnum()); // Set filter glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glBindImageTextureEXT(texUnit->getUnitNumber(), layer->getTexture()->getID(), 0, false, 0, GL_READ_WRITE, GL_R32UI); LGL_ERROR; ///per-pixel page counter/// imageGL = abufferFragCountImgTexture_->getRepresentation<ImageGL>(); layer = imageGL->getColorLayerGL(0); texUnit = new TextureUnit(); texUnits_.push_back(texUnit); layer->bindTexture(texUnit->getEnum()); // Set filter glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glBindImageTextureEXT(texUnit->getUnitNumber(), layer->getTexture()->getID(), 0, false, 0, GL_READ_WRITE, GL_R32UI); LGL_ERROR; ///Semaphore/// imageGL = semaphoreImgTexture_->getRepresentation<ImageGL>(); layer = imageGL->getColorLayerGL(0); TextureUnit* texUnit = new TextureUnit(); texUnits_.push_back(texUnit); layer->bindTexture(texUnit->getEnum()); // Set filter glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glBindImageTextureEXT(texUnit->getUnitNumber(), layer->getTexture()->getID(), 0, false, 0, GL_READ_WRITE, GL_R32UI); LGL_ERROR; }else{ LogWarn("Shared buffer not tested") ///Page idx storage/// if(!abufferPageIdxBuffID_) glGenBuffers(1, &abufferPageIdxBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, abufferPageIdxBuffID_); glBufferData(GL_TEXTURE_BUFFER, dim_.x*dim_.y*sizeof(glm::uint32), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &abufferPageIdxAddress_); LGL_ERROR; ///per-pixel page counter/// if(!abufferFragCountBuffID_) glGenBuffers(1, &abufferFragCountBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, abufferFragCountBuffID_); glBufferData(GL_TEXTURE_BUFFER, dim_.x*dim_.y*sizeof(glm::uint32), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &abufferFragCountAddress_); LGL_ERROR; ///Semaphore/// if(!semaphoreBuffID_) glGenBuffers(1, &semaphoreBuffID_); glBindBuffer(GL_TEXTURE_BUFFER, semaphoreBuffID_); glBufferData(GL_TEXTURE_BUFFER, dim_.x*dim_.y*sizeof(glm::uint32), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_TEXTURE_BUFFER, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_TEXTURE_BUFFER, GL_BUFFER_GPU_ADDRESS_NV, &semaphoreAddress_); LGL_ERROR; } initSharedPool_LinkedList(); ///Shared page counter/// if(!curSharedPageBuffID_) glGenBuffers(1, &curSharedPageBuffID_); glBindBuffer(GL_ARRAY_BUFFER_ARB, curSharedPageBuffID_); glBufferData(GL_ARRAY_BUFFER_ARB, sizeof(GLuint), NULL, GL_STATIC_DRAW); glMakeBufferResidentNV(GL_ARRAY_BUFFER_ARB, GL_READ_WRITE); glGetBufferParameterui64vNV(GL_ARRAY_BUFFER_ARB, GL_BUFFER_GPU_ADDRESS_NV, &curSharedPageAddress_); //LogInfo("d_curSharedPage (Counter) -> VBO "<< curSharedPageBuffID_) if (globalAtomicCounterBuffer_) { //bind atomic layer (header) size_t headerCounterSize_ = 4; // http://www.lighthouse3d.com/tutorials/opengl-short-tutorials/opengl-atomic-counters/ if(!globalAtomicsBufferId_) glGenBuffers(1, &globalAtomicsBufferId_); // bind the buffer and define its initial storage capacity glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, globalAtomicsBufferId_); glBufferData(GL_ATOMIC_COUNTER_BUFFER, headerCounterSize_*sizeof(GLuint), globalAtomicCounterBuffer_, GL_DYNAMIC_DRAW); // unbind the buffer glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, 0); } //char buff[256]; //sprintf(buff, "[ABuffer Linked Lists] Memory usage: %.2fMB", (sharedPoolSize_*4*sizeof(float)/1024)/1024.0f); } void Inviwo_ABufferGL4_LinkedList::addUniforms(Shader* shader) { if( pABufferUseTextures_ ) { shader->setUniform("abufferPageIdxImg", texUnits_[0]->getUnitNumber()); shader->setUniform("abufferFragCountImg", texUnits_[1]->getUnitNumber()); shader->setUniform("semaphoreImg",texUnits_[2]->getUnitNumber()); } else { glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_abufferPageIdx"), abufferPageIdxAddress_); glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_abufferFragCount"), abufferFragCountAddress_); glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_semaphore"), semaphoreAddress_); LogWarn("Shared buffer not tested") } if( pSharedPoolUseTextures_ ) { shader->setUniform("shared_RGBA_DataPageListImg", texUnits_[3]->getUnitNumber()); shader->setUniform("shared_EXT_DataPageListImg", texUnits_[4]->getUnitNumber()); shader->setUniform("sharedLinkListImg", texUnits_[5]->getUnitNumber()); } else { glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_shared_RGBA_DataPageList"), shared_RGBA_DataListAddress_); glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_shared_Ext_DataPageList"), shared_Ext_DataListAddress_); glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_sharedLinkList"), sharedLinkListAddress_); } glProgramUniformui64NV(shader->getID(), glGetUniformLocation(shader->getID(), "d_curSharedPage"), curSharedPageAddress_); glProgramUniform1iEXT(shader->getID(), glGetUniformLocation(shader->getID(), "abufferSharedPoolSize"), static_cast<GLint>(sharedPoolSize_)); //glProgramUniform1iEXT(shader->getID(), glGetUniformLocation(shader->getID(), "testAtomic"), globalAtomicsBufferId_); glBindBufferBase(GL_ATOMIC_COUNTER_BUFFER, 0, globalAtomicsBufferId_); LGL_ERROR; Inviwo_ABufferGL4::addUniforms(shader); LGL_ERROR; } bool Inviwo_ABufferGL4_LinkedList::display_LinkedList_ManageSharedPool() { //Resize shared pool dynamically lastFrameNumFrags_=0; if(queryRequested_){ glGetQueryObjectuiv(totalFragmentQuery_, GL_QUERY_RESULT, &lastFrameNumFrags_); //A fragments is not discarded each time a page fails to be allocated if(lastFrameNumFrags_>0){ sharedPoolSize_=sharedPoolSize_+(lastFrameNumFrags_/ABUFFER_PAGE_SIZE+1)*ABUFFER_PAGE_SIZE*2; initSharedPool_LinkedList(); LogInfo("Shared buffer size increased"); char buff[256]; sprintf(buff, "[ABuffer Linked Lists] Memory usage: %.2fMB", (sharedPoolSize_*4*sizeof(float)/1024)/1024.0f); LogInfo("Shared buffer size increased" << buff); } queryRequested_=false; } LGL_ERROR; //checkGLError ("display_LinkedList_ManageSharedPool"); if(lastFrameNumFrags_) return true; return false; } } // namespace
[ "eriksunden85@gmail.com" ]
eriksunden85@gmail.com
4a52d109caadca814bd695ebd57a9fb8d70021b5
9a8f49df431717c5db28a704fd50909de3928985
/torch/csrc/jit/passes/remove_inplace_ops.cpp
4872c416afe0654055f99222c8b579eb74f8990f
[ "BSD-3-Clause", "BSD-2-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
yadhukartha/pytorch
770954c976af362b2959ae5db8224193b984319b
d1a5612a3ea501b83a80b9ecfd6b4dd5eb125181
refs/heads/master
2023-08-24T09:32:01.065274
2021-10-22T08:32:59
2021-10-22T08:34:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,834
cpp
#include <torch/csrc/jit/passes/remove_inplace_ops.h> namespace torch { namespace jit { namespace { static const std::unordered_map<NodeKind, NodeKind> inPlaceToOutOfPlace = { {aten::add_, aten::add}, {aten::sub_, aten::sub}, {aten::div_, aten::div}, {aten::mul_, aten::mul}, {aten::masked_fill_, aten::masked_fill}, {aten::zero_, aten::zeros_like}, {aten::fill_, aten::full_like}}; // This is a horrible no good awful hack to "fill in" the TensorOptions // arguments of zeros_like and full_like so that the defaults are filled // in. Ugh. Would be better to just run the frontend to get the correct // arity here. static const std::unordered_map<NodeKind, int> expectedInputCount = { {aten::zero_, 6}, {aten::fill_, 7}}; bool isInplaceOp(const Node* node) { return inPlaceToOutOfPlace.count(node->kind()) != 0; } // Remove all in-place ops and replace them with out-of-place equivalents. // e.g. // %foo = aten::add_(%foo, %n) // becomes // %foo.2 = aten::add(%foo, %n) // // NOTE: this is NOT SAFE, since it assumes that the LHS is not aliased by // another value. This is only to avoid breaking ONNX export; when alias // analysis is done we can emit a warning if someone tries to export. void RemoveInplaceOps(Block* block) { auto graph = block->owningGraph(); auto it = block->nodes().begin(); while (it != block->nodes().end()) { auto node = *it; ++it; for (auto block : node->blocks()) { RemoveInplaceOps(block); } if (isInplaceOp(node)) { // create a replacement out of place op auto newNode = graph->create(inPlaceToOutOfPlace.at(node->kind())); newNode->insertBefore(node); newNode->copyMetadata(node); // copy inputs for (auto input : node->inputs()) { newNode->addInput(input); } int additionalInputCount = 0; if (expectedInputCount.find(node->kind()) != expectedInputCount.end()) { additionalInputCount = expectedInputCount.at(node->kind()) - static_cast<int>(newNode->inputs().size()); } for (int i = 0; i < additionalInputCount; ++i) { auto noneNode = graph->createNone(); noneNode->insertBefore(newNode); newNode->addInput(noneNode->output()); } // Create a new output node and replace all uses of self with it newNode->output()->copyMetadata(node->output()); node->replaceAllUsesWith(newNode); node->inputs()[0]->replaceAllUsesAfterNodeWith( newNode, newNode->output()); node->destroy(); } } } } // namespace // Handles special case of binary inplace ops, where the first input node // has a lower type precedence than the second input node. When the // inplace node is converted to a regular op, this information is lost and // the resulting type is based on type precedence, just like regular ops. // To avoid this loss of information, we add a cast node before the input // node with the higher data type precedence, so that both the input types // are the same. // An example scenario would be: // Before: // graph(%0 : Float), // %1 : Half): // # Should result in a Half, but after translation to out-of-place, // # would become a Float b/c Half+Float -> Float. // %4 : Float = onnx::Cast[to=1](%1) // %5 : Float = onnx::Add(%4, %0) // ... // After: // graph(%0 : Float), // %1 : Half): // %4 : Half = onnx::Cast[to=10](%0) // %5 : Half = onnx::Add(%1, %4) // ... void ImplicitCastForBinaryInplaceOps(Block* b) { for (auto it = b->nodes().begin(), end = b->nodes().end(); it != end; ++it) { for (auto* child_block : it->blocks()) { ImplicitCastForBinaryInplaceOps(child_block); } // Check type if inplace operation is a binary node if ((it->kind() == aten::add_) || (it->kind() == aten::sub_) || (it->kind() == aten::mul_) || (it->kind() == aten::div_)) { auto originalInputs = it->inputs(); if (originalInputs.at(0) == originalInputs.at(1)) { continue; } TensorTypePtr firstInp_tensor = originalInputs.at(0)->type()->cast<TensorType>(); TensorTypePtr secondInp_tensor = originalInputs.at(1)->type()->cast<TensorType>(); if (!(firstInp_tensor) || !(secondInp_tensor) || !(firstInp_tensor->scalarType().has_value())) { continue; } auto newInputNode = it->owningGraph()->create(aten::type_as, 1); newInputNode->insertBefore(*it); newInputNode->addInput(originalInputs.at(1)); newInputNode->addInput(originalInputs.at(0)); it->replaceInput(1, newInputNode->outputs().at(0)); } } } void RemoveInplaceOps(const std::shared_ptr<Graph>& graph) { ImplicitCastForBinaryInplaceOps(graph->block()); RemoveInplaceOps(graph->block()); } } // namespace jit } // namespace torch
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
fa492a4d96d5e9f91450cf8486b15ca12b4b9205
cf24cf5d2b7d164982b5b4faa08dda1f1a842608
/server.cpp
822ae36cdf7a28943138089b592ab07cbc71c215
[]
no_license
qqLyamin/server_for_chatroom
9d3b572b3c03a7f445fb5534c3dcc0466a076d47
881753f554ddb724c212b6f624138c61de17259d
refs/heads/master
2020-06-03T01:07:18.742037
2019-06-11T12:55:35
2019-06-11T12:55:35
191,371,758
0
0
null
null
null
null
UTF-8
C++
false
false
5,479
cpp
#include "server.h" Server::Server(QObject *parent) : QTcpServer (parent) { m_count = 0; connect(&my_server, &QTcpServer::newConnection, this, &Server::new_Connection); // появился сокет - обработал его nextPendingConnection db = new Database; connect(this, &Server::CheckingSignIn_toDatabase, db, &Database::confirm_entrance); connect(this, &Server::CheckingCorrect_Chatname_Password, db, &Database::confirm_chatname_password); connect(this, &Server::Check_isChatnameCorrect, db, &Database::confirm_chatname); connect(this, &Server::NewClient, db, &Database::add_newclient); connect(db, &Database::connecting_checkAnswer_yes, this, &Server::DatabaseConnectingUser_true); connect(db, &Database::connecting_checkAnswer_no, this, &Server::DatabaseConnectingUser_false); connect(db, &Database::chatname_chatpassword_yes, this, &Server::DB_chatname_chatpassword_true); connect(db, &Database::chatname_chatpassword_no, this, &Server::DB_chatname_chatpassword_false); connect(db, &Database::chatname_yes, this, &Server::DB_chatname_true); connect(db, &Database::chatname_no, this, &Server::DB_chatname_false); connect(db, &Database::registrated, this, &Server::DB_registration_true); connect(db, &Database::registration_fault, this, &Server::DB_registration_false); } bool Server::listen(const QHostAddress &address, quint16 port) { return my_server.listen(address, port); } QAbstractSocket::SocketError Server::serverError() const { return my_server.serverError(); } void Server::ExchangeWithClient(QTcpSocket * ClientSocket) { qDebug() << "EXCHANGE"; char buffer[1024]{0}; qint64 rr = ClientSocket->read(buffer, ClientSocket->bytesAvailable()); sprintf(buffer, "%s - from client %d", buffer, m_count); qint64 rw = ClientSocket->write("check:ok"); std::cout <<"SERVER: "<< buffer <<" ,write bytes:" << rw << std::endl; } void Server::MsgFromClient(const QString & msg) { if(msg.startsWith("check_user:")) { QString msg_name, msg_password; int firstposition = msg.indexOf(':'); int starposition = msg.indexOf('*'); msg_name = msg.mid(firstposition + 1, starposition - firstposition - 1); msg_password = msg.mid(starposition + 1); emit CheckingSignIn_toDatabase(msg_name, msg_password); } if(msg.startsWith("check_connecting:")) { QString msg_chatname, msg_chatpassword; int firstposition = msg.indexOf(':'); int starposition = msg.indexOf('*'); msg_chatname = msg.mid(firstposition + 1, starposition - firstposition - 1); msg_chatpassword = msg.mid(starposition + 1); emit CheckingCorrect_Chatname_Password(msg_chatname, msg_chatpassword); } if(msg.startsWith("check_creating:")) { QString msg_chatname; int firstposition = msg.indexOf(':'); int starposition = msg.indexOf('*'); msg_chatname = msg.mid(firstposition + 1, starposition - firstposition - 1); emit Check_isChatnameCorrect(msg_chatname); } if(msg.startsWith("registrate:")) { QString msg_name, msg_password, msg_email; int firstposition = msg.indexOf(':'); int starposition = msg.indexOf('*'); int waveposition = msg.indexOf('~'); msg_name = msg.mid(firstposition + 1, starposition - firstposition - 1); msg_password = msg.mid(starposition + 1, waveposition - starposition - 1); msg_email = msg.mid(waveposition + 1); emit NewClient(msg_name, msg_password, msg_email); } } void Server::DatabaseConnectingUser_true() { emit SendToClient("check:ok"); } void Server::DatabaseConnectingUser_false() { emit SendToClient("check:nope"); } void Server::DB_chatname_chatpassword_true() { emit SendToClient("check_connecting:ok"); } void Server::DB_chatname_chatpassword_false() { emit SendToClient("check_connecting:nope"); } void Server::DB_chatname_true() { emit SendToClient("check_creating:ok"); } void Server::DB_chatname_false() { emit SendToClient("check_creating:nope"); } void Server::DB_registration_true() { emit SendToClient("registrate:ok"); } void Server::DB_registration_false() { emit SendToClient("registrate:nope"); } void Server::incomingConnection(qintptr socketDescriptor) { m_count++; Client * new_client = new Client; connect(new_client, &Client::Disconnected, this, &Server::Disconnected_signal); connect(this, &Server::SendToClient, new_client, &Client::MessageFromServer); connect(new_client, &Client::MsgFromClient, this, &Server::MsgFromClient); my_clients.push_back(new_client); ClientThread * thread = new ClientThread(socketDescriptor, m_count, this); new_client->SetThread(thread); connect(thread, &QThread::finished, thread, &QObject::deleteLater); } void Server::new_Connection()//зарегался { qDebug() << "newConnection"; incomingConnection(my_server.nextPendingConnection()->socketDescriptor()); } void Server::Disconnected_signal() { //Client * Any_client = reinterpret_cast<Client*>(QObject::sender()); // почему не съел статик каст???????????? auto Any_client = QObject::sender(); for (auto i = my_clients.begin(); i != my_clients.end(); ++i) { if (Any_client == * i) { my_clients.removeOne(*i); delete Any_client; } } }
[ "qqgithub@gmail.com" ]
qqgithub@gmail.com
945b0269197afecdb6524853e0ac38c92d1e264e
737b5c951f7985c8e42d765920ec0def7f3debe1
/src/services/pcn-loadbalancer-rp/src/serializer/SrcIpRewriteJsonObject.cpp
53b3f766417926bcd74d5720f4e6e1e8fd7982f3
[ "Apache-2.0" ]
permissive
mbertrone/polycube
e3bd8db976abdf820863bcbe72f133802cd79ed4
b35a6aa13273c000237d53c5f1bf286f12e4b9bd
refs/heads/master
2020-04-15T04:58:34.309749
2019-02-21T23:01:40
2019-02-21T23:01:40
164,404,243
2
0
NOASSERTION
2019-01-07T08:53:22
2019-01-07T08:53:21
null
UTF-8
C++
false
false
4,934
cpp
/** * lbrp API * LoadBalancer Reverse-Proxy Service * * OpenAPI spec version: 2.0.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/polycube-network/swagger-codegen.git * branch polycube */ /* Do not edit this file manually */ #include "SrcIpRewriteJsonObject.h" #include <regex> namespace io { namespace swagger { namespace server { namespace model { SrcIpRewriteJsonObject::SrcIpRewriteJsonObject() { m_ipRangeIsSet = false; m_newIpRangeIsSet = false; } SrcIpRewriteJsonObject::~SrcIpRewriteJsonObject() {} void SrcIpRewriteJsonObject::validateKeys() { } void SrcIpRewriteJsonObject::validateMandatoryFields() { } void SrcIpRewriteJsonObject::validateParams() { if (m_ipRangeIsSet) { std::string patter_value = R"PATTERN((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2])))PATTERN"; std::regex e (patter_value); if (!std::regex_match(m_ipRange, e)) throw std::runtime_error("Variable ip-range has not a valid format"); } if (m_newIpRangeIsSet) { std::string patter_value = R"PATTERN((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])/(([0-9])|([1-2][0-9])|(3[0-2])))PATTERN"; std::regex e (patter_value); if (!std::regex_match(m_newIpRange, e)) throw std::runtime_error("Variable new_ip_range has not a valid format"); } } nlohmann::json SrcIpRewriteJsonObject::toJson() const { nlohmann::json val = nlohmann::json::object(); if (m_ipRangeIsSet) { val["ip-range"] = m_ipRange; } if (m_newIpRangeIsSet) { val["new_ip_range"] = m_newIpRange; } return val; } void SrcIpRewriteJsonObject::fromJson(nlohmann::json& val) { for(nlohmann::json::iterator it = val.begin(); it != val.end(); ++it) { std::string key = it.key(); bool found = (std::find(allowedParameters_.begin(), allowedParameters_.end(), key) != allowedParameters_.end()); if (!found) { throw std::runtime_error(key + " is not a valid parameter"); return; } } if (val.find("ip-range") != val.end()) { setIpRange(val.at("ip-range")); } if (val.find("new_ip_range") != val.end()) { setNewIpRange(val.at("new_ip_range")); } } nlohmann::json SrcIpRewriteJsonObject::helpKeys() { nlohmann::json val = nlohmann::json::object(); return val; } nlohmann::json SrcIpRewriteJsonObject::helpElements() { nlohmann::json val = nlohmann::json::object(); val["ip-range"]["name"] = "ip-range"; val["ip-range"]["type"] = "leaf"; // Suppose that type is leaf val["ip-range"]["simpletype"] = "string"; val["ip-range"]["description"] = R"POLYCUBE(Range of IP addresses of the clients that must be replaced)POLYCUBE"; val["ip-range"]["example"] = R"POLYCUBE(10.2.0.0/24)POLYCUBE"; val["new_ip_range"]["name"] = "new_ip_range"; val["new_ip_range"]["type"] = "leaf"; // Suppose that type is leaf val["new_ip_range"]["simpletype"] = "string"; val["new_ip_range"]["description"] = R"POLYCUBE(Range of IP addresses of the that must be used to replace client addresses)POLYCUBE"; val["new_ip_range"]["example"] = R"POLYCUBE(10.3.0.0/24)POLYCUBE"; return val; } nlohmann::json SrcIpRewriteJsonObject::helpWritableLeafs() { nlohmann::json val = nlohmann::json::object(); val["ip-range"]["name"] = "ip-range"; val["ip-range"]["simpletype"] = "string"; val["ip-range"]["description"] = R"POLYCUBE(Range of IP addresses of the clients that must be replaced)POLYCUBE"; val["ip-range"]["example"] = R"POLYCUBE(10.2.0.0/24)POLYCUBE"; val["new_ip_range"]["name"] = "new_ip_range"; val["new_ip_range"]["simpletype"] = "string"; val["new_ip_range"]["description"] = R"POLYCUBE(Range of IP addresses of the that must be used to replace client addresses)POLYCUBE"; val["new_ip_range"]["example"] = R"POLYCUBE(10.3.0.0/24)POLYCUBE"; return val; } nlohmann::json SrcIpRewriteJsonObject::helpComplexElements() { nlohmann::json val = nlohmann::json::object(); return val; } std::vector<std::string> SrcIpRewriteJsonObject::helpActions() { std::vector<std::string> val; return val; } std::string SrcIpRewriteJsonObject::getIpRange() const { return m_ipRange; } void SrcIpRewriteJsonObject::setIpRange(std::string value) { m_ipRange = value; m_ipRangeIsSet = true; } bool SrcIpRewriteJsonObject::ipRangeIsSet() const { return m_ipRangeIsSet; } void SrcIpRewriteJsonObject::unsetIpRange() { m_ipRangeIsSet = false; } std::string SrcIpRewriteJsonObject::getNewIpRange() const { return m_newIpRange; } void SrcIpRewriteJsonObject::setNewIpRange(std::string value) { m_newIpRange = value; m_newIpRangeIsSet = true; } bool SrcIpRewriteJsonObject::newIpRangeIsSet() const { return m_newIpRangeIsSet; } void SrcIpRewriteJsonObject::unsetNewIpRange() { m_newIpRangeIsSet = false; } } } } }
[ "whoeverys@gmail.com" ]
whoeverys@gmail.com
743d417277c3ee5881f45cd8c1b862ca58daef0a
76f0efb245ff0013e0428ee7636e72dc288832ab
/out/Default/gen/blink/bindings/core/v8/V8SVGMPathElement.cpp
b6b40393cb9875dfb944b8d83d7e3caca44087c5
[]
no_license
dckristiono/chromium
e8845d2a8754f39e0ca1d3d3d44d01231957367c
8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9
refs/heads/master
2020-04-22T02:34:41.775069
2016-08-24T14:05:09
2016-08-24T14:05:09
66,465,243
0
2
null
null
null
null
UTF-8
C++
false
false
5,114
cpp
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "V8SVGMPathElement.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8DOMConfiguration.h" #include "bindings/core/v8/V8ObjectConstructor.h" #include "bindings/core/v8/V8SVGAnimatedString.h" #include "core/animation/ElementAnimation.h" #include "core/dom/Document.h" #include "core/dom/ElementFullscreen.h" #include "core/frame/UseCounter.h" #include "platform/RuntimeEnabledFeatures.h" #include "wtf/GetPtr.h" #include "wtf/RefPtr.h" namespace blink { // Suppress warning: global constructors, because struct WrapperTypeInfo is trivial // and does not depend on another global objects. #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wglobal-constructors" #endif const WrapperTypeInfo V8SVGMPathElement::wrapperTypeInfo = { gin::kEmbedderBlink, V8SVGMPathElement::domTemplate, V8SVGMPathElement::trace, V8SVGMPathElement::traceWrappers, 0, 0, V8SVGMPathElement::preparePrototypeAndInterfaceObject, nullptr, "SVGMPathElement", &V8SVGElement::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::NodeClassId, WrapperTypeInfo::InheritFromEventTarget, WrapperTypeInfo::Dependent }; #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) #pragma clang diagnostic pop #endif // This static member must be declared by DEFINE_WRAPPERTYPEINFO in SVGMPathElement.h. // For details, see the comment of DEFINE_WRAPPERTYPEINFO in // bindings/core/v8/ScriptWrappable.h. const WrapperTypeInfo& SVGMPathElement::s_wrapperTypeInfo = V8SVGMPathElement::wrapperTypeInfo; static_assert( !std::is_base_of<ActiveScriptWrappable, SVGMPathElement>::value, "SVGMPathElement inherits from ActiveScriptWrappable, but does not specify " "[ActiveScriptWrappable] extended attribute in the IDL file. " "Be consistent."); namespace SVGMPathElementV8Internal { static void hrefAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) { v8::Local<v8::Object> holder = info.Holder(); SVGMPathElement* impl = V8SVGMPathElement::toImpl(holder); v8SetReturnValueFast(info, WTF::getPtr(impl->href()), impl); } static void hrefAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { UseCounter::countIfNotPrivateScript(info.GetIsolate(), currentExecutionContext(info.GetIsolate()), UseCounter::SVG1DOMUriReference); SVGMPathElementV8Internal::hrefAttributeGetter(info); } } // namespace SVGMPathElementV8Internal const V8DOMConfiguration::AccessorConfiguration V8SVGMPathElementAccessors[] = { {"href", SVGMPathElementV8Internal::hrefAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, }; static void installV8SVGMPathElementTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { // Initialize the interface object's template. V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate, V8SVGMPathElement::wrapperTypeInfo.interfaceName, V8SVGElement::domTemplate(isolate, world), V8SVGMPathElement::internalFieldCount); v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemplate); ALLOW_UNUSED_LOCAL(signature); v8::Local<v8::ObjectTemplate> instanceTemplate = interfaceTemplate->InstanceTemplate(); ALLOW_UNUSED_LOCAL(instanceTemplate); v8::Local<v8::ObjectTemplate> prototypeTemplate = interfaceTemplate->PrototypeTemplate(); ALLOW_UNUSED_LOCAL(prototypeTemplate); // Register DOM constants, attributes and operations. if (RuntimeEnabledFeatures::smilEnabled()) { V8DOMConfiguration::installAccessors(isolate, world, instanceTemplate, prototypeTemplate, interfaceTemplate, signature, V8SVGMPathElementAccessors, WTF_ARRAY_LENGTH(V8SVGMPathElementAccessors)); } } v8::Local<v8::FunctionTemplate> V8SVGMPathElement::domTemplate(v8::Isolate* isolate, const DOMWrapperWorld& world) { return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), installV8SVGMPathElementTemplate); } bool V8SVGMPathElement::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Value); } v8::Local<v8::Object> V8SVGMPathElement::findInstanceInPrototypeChain(v8::Local<v8::Value> v8Value, v8::Isolate* isolate) { return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value); } SVGMPathElement* V8SVGMPathElement::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : nullptr; } } // namespace blink
[ "dckristiono@gmail.com" ]
dckristiono@gmail.com
90d1a4ea9d3013e58f0c2230abd0792af60403a3
989b34c46586ce2b769afc334e53ad310ccf4ed7
/Envy/ETanya/ETanyaVariant.cpp
47999949ab153be8219ea5dc2768502214919ee3
[ "Unlicense" ]
permissive
DavidCoenFish/ancient-code-1
ed51ae1cc75cea7ed77db111d46846d36aac7975
8d76c810209b737bfc1ce996611807f62122fb41
refs/heads/master
2020-03-21T10:18:51.234695
2018-06-24T01:24:48
2018-06-24T01:24:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
990
cpp
//file: Envy/ETanya/ETanyaVariant.cpp #include "Envy/EnvyPreCompileHeader.h" #include "Envy/ETanya/ETanyaVariant.h" #include "Envy/EMemento/EMemento_Export.h" using namespace Envy; //HTYPE_EMPTY_IMPLEMENTATION_CONSTRUCTOR( ETanyaVariant ); //const IN_CLASS& Hubris::HTraitEmpty< IN_CLASS >::EmptyGet() { static const IN_CLASS s_default; return s_default; } \ //IN_CLASS* Hubris::HTraitEmpty< IN_CLASS* >::EmptyGet() { return HNULL; } //variant //collect values into a memento object Hubris::HVOID Envy::EMementoTraitCollect< ETanyaVariant >( EMementoCollect& in_out_mementoCollect, const ETanyaVariant& in_data ) { EMementoTraitCollect( in_out_mementoCollect, ( const ETanyaVariant::TVariantImplementation& )( in_data ) ); return; } Hubris::HVOID Envy::EMementoTraitAssign< ETanyaVariant >( const EMementoAssign& in_out_mementoAssign, ETanyaVariant& out_data ) { EMementoTraitAssign( in_out_mementoAssign, ( ETanyaVariant::TVariantImplementation& )( out_data ) ); return; } /**/
[ "35204591+DavidCoenFish@users.noreply.github.com" ]
35204591+DavidCoenFish@users.noreply.github.com
aec9e79a8772ce8e8ca7d367ceb18df6cd814b90
8b4f6663989ca421784bb1d1bd12e594cf35d341
/prog1.cpp
d8032dc0e6245553f8e55e27580745f574c0ef46
[]
no_license
alishba2/C-loops
a40069902b7fc2029e733deab1e7df978f59ea96
061afcf39ae8bcd82a9499b65a348fce1fd6469d
refs/heads/main
2023-04-18T02:18:04.672002
2021-04-30T23:49:51
2021-04-30T23:49:51
363,286,679
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
#include<iostream> using namespace std; int main(){ int i , j,count; for(i=4;i>=1;i--){ for(j=1;j<=i;j++){ count++; cout<<char('A' + count)<<" "; } cout<<endl; } }
[ "alishbashazadi013@gmail.com" ]
alishbashazadi013@gmail.com
70b903baad0dfec1653265caeb518cf48b2ec311
82501b50731a369e27f46d732d3ebee0ae868b58
/lcd/TouchScreen.cpp
ebc3100201f58fc7dd931ab762c0f4ad0079ee22
[ "MIT" ]
permissive
phorton1/circle-prh
7946fa075f9951921147e2fd04aecb7843acd45b
4a0e2d8fccf8f7d6da2eaef111eaa198753967fd
refs/heads/master
2021-11-11T16:54:58.624670
2021-11-10T22:33:09
2021-11-10T22:33:09
206,410,333
3
1
null
null
null
null
UTF-8
C++
false
false
5,236
cpp
// Touch screen library with X Y and Z (pressure) readings as well // as oversampling to avoid 'bouncing' // (c) ladyada / adafruit // Code under MIT License #ifdef __circle__ #include "_pins_arduino.h" #else #include "pins_arduino.h" #include "wiring_private.h" #include <avr/pgmspace.h> #endif #include "TouchScreen.h" // increase or decrease the touchscreen oversampling. This is a little different than you make think: // 1 is no oversampling, whatever data we get is immediately returned // 2 is double-sampling and we only return valid data if both points are the same // 3+ uses insert sort to get the median value. // We found 2 is precise yet not too slow so we suggest sticking with it! #define NUMSAMPLES 2 TSPoint::TSPoint(void) { x = y = 0; } TSPoint::TSPoint(int16_t x0, int16_t y0, int16_t z0) { x = x0; y = y0; z = z0; } bool TSPoint::operator==(TSPoint p1) { return ((p1.x == x) && (p1.y == y) && (p1.z == z)); } bool TSPoint::operator!=(TSPoint p1) { return ((p1.x != x) || (p1.y != y) || (p1.z != z)); } #if (NUMSAMPLES > 2) static void insert_sort(int array[], uint8_t size) { uint8_t j; int save; for (int i = 1; i < size; i++) { save = array[i]; for (j = i; j >= 1 && save < array[j - 1]; j--) array[j] = array[j - 1]; array[j] = save; } } #endif TSPoint TouchScreen::getPoint(void) { int x, y, z; int samples[NUMSAMPLES]; uint8_t i, valid; uint8_t xp_port = digitalPinToPort(_xp); uint8_t yp_port = digitalPinToPort(_yp); uint8_t xm_port = digitalPinToPort(_xm); uint8_t ym_port = digitalPinToPort(_ym); uint8_t xp_pin = digitalPinToBitMask(_xp); uint8_t yp_pin = digitalPinToBitMask(_yp); uint8_t xm_pin = digitalPinToBitMask(_xm); uint8_t ym_pin = digitalPinToBitMask(_ym); valid = 1; pinMode(_yp, INPUT); pinMode(_ym, INPUT); *portOutputRegister(yp_port) &= ~yp_pin; *portOutputRegister(ym_port) &= ~ym_pin; //digitalWrite(_yp, LOW); //digitalWrite(_ym, LOW); pinMode(_xp, OUTPUT); pinMode(_xm, OUTPUT); //digitalWrite(_xp, HIGH); //digitalWrite(_xm, LOW); *portOutputRegister(xp_port) |= xp_pin; *portOutputRegister(xm_port) &= ~xm_pin; for (i=0; i<NUMSAMPLES; i++) { samples[i] = analogRead(_yp); } #if NUMSAMPLES > 2 insert_sort(samples, NUMSAMPLES); #endif #if NUMSAMPLES == 2 if (samples[0] != samples[1]) { valid = 0; } #endif x = (1023-samples[NUMSAMPLES/2]); pinMode(_xp, INPUT); pinMode(_xm, INPUT); *portOutputRegister(xp_port) &= ~xp_pin; //digitalWrite(_xp, LOW); pinMode(_yp, OUTPUT); *portOutputRegister(yp_port) |= yp_pin; //digitalWrite(_yp, HIGH); pinMode(_ym, OUTPUT); for (i=0; i<NUMSAMPLES; i++) { samples[i] = analogRead(_xm); } #if NUMSAMPLES > 2 insert_sort(samples, NUMSAMPLES); #endif #if NUMSAMPLES == 2 if (samples[0] != samples[1]) { valid = 0; } #endif y = (1023-samples[NUMSAMPLES/2]); // Set X+ to ground pinMode(_xp, OUTPUT); *portOutputRegister(xp_port) &= ~xp_pin; //digitalWrite(_xp, LOW); // Set Y- to VCC *portOutputRegister(ym_port) |= ym_pin; //digitalWrite(_ym, HIGH); // Hi-Z X- and Y+ *portOutputRegister(yp_port) &= ~yp_pin; //digitalWrite(_yp, LOW); pinMode(_yp, INPUT); int z1 = analogRead(_xm); int z2 = analogRead(_yp); if (_rxplate != 0) { // now read the x float rtouch; rtouch = z2; rtouch /= z1; rtouch -= 1; rtouch *= x; rtouch *= _rxplate; rtouch /= 1024; z = rtouch; } else { z = (1023-(z2-z1)); } if (! valid) { z = 0; } return TSPoint(x, y, z); } TouchScreen::TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym) { _yp = yp; _xm = xm; _ym = ym; _xp = xp; _rxplate = 0; pressureThreshhold = 10; } TouchScreen::TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym, uint16_t rxplate) { _yp = yp; _xm = xm; _ym = ym; _xp = xp; _rxplate = rxplate; pressureThreshhold = 10; } int TouchScreen::readTouchX(void) { pinMode(_yp, INPUT); pinMode(_ym, INPUT); digitalWrite(_yp, LOW); digitalWrite(_ym, LOW); pinMode(_xp, OUTPUT); digitalWrite(_xp, HIGH); pinMode(_xm, OUTPUT); digitalWrite(_xm, LOW); return (1023-analogRead(_yp)); } int TouchScreen::readTouchY(void) { pinMode(_xp, INPUT); pinMode(_xm, INPUT); digitalWrite(_xp, LOW); digitalWrite(_xm, LOW); pinMode(_yp, OUTPUT); digitalWrite(_yp, HIGH); pinMode(_ym, OUTPUT); digitalWrite(_ym, LOW); return (1023-analogRead(_xm)); } uint16_t TouchScreen::pressure(void) { // Set X+ to ground pinMode(_xp, OUTPUT); digitalWrite(_xp, LOW); // Set Y- to VCC pinMode(_ym, OUTPUT); digitalWrite(_ym, HIGH); // Hi-Z X- and Y+ digitalWrite(_xm, LOW); pinMode(_xm, INPUT); digitalWrite(_yp, LOW); pinMode(_yp, INPUT); int z1 = analogRead(_xm); int z2 = analogRead(_yp); if (_rxplate != 0) { // now read the x float rtouch; rtouch = z2; rtouch /= z1; rtouch -= 1; rtouch *= readTouchX(); rtouch *= _rxplate; rtouch /= 1024; return rtouch; } else { return (1023-(z2-z1)); } }
[ "available@upon.request" ]
available@upon.request
d204c2ccfc6e14ba71d3875d05a0e3fa926ee551
894fb1a41b5bab91af8cea897ece71d294212097
/stringtable.cpp
d54e6619cea242ba010a9874765920096a17cc79
[]
no_license
BSVino/V
29c48da8ddda5ea4a79ea33f2784558a6f562d68
736d3445ca89c748590c4f0356445e75e9174470
refs/heads/master
2020-04-21T14:29:01.940802
2018-04-03T05:39:39
2018-04-03T05:39:39
27,155,484
2
0
null
null
null
null
UTF-8
C++
false
false
802
cpp
#include "stringtable.h" using namespace std; st_string st_add(std::vector<char>& st, const char* string, size_t length) { // First a linear search to see if the symbol is already here. // This could probably be accelerated somehow. // We need this so that identical strings have identical addresses, // some algorithms require that (ie any algorithm that uses map<const char*, x>) if (st.size()) { char* s = &st[0]; size_t size = st.size(); char* end = s + size; while (s < end) { if (strncmp(s, string, length) == 0) return (st_string)(s - &st[0]); s += strlen(s) + 1; } } st_string r = st.size(); st.resize(r + length + 1); strncpy(&st[r], string, length); return r; } const char* st_get(std::vector<char>& st, st_string string) { return &st.data()[string]; }
[ "jorge@lunarworkshop.com" ]
jorge@lunarworkshop.com
7da7b808f797a3147ec65957c021d2d0f4c83782
da1b99cb8f45186085339ea8043ffb335bcd733c
/UvaOnlineJudge/10297.cpp
5dbe477d39e5c4276d63a8eab4aafa0bd4259ec0
[]
no_license
Intiser/ProblemSolvingAndContest
2dff8470fe109701d2e3e407d757f8859691dbd1
de5431261ac675f323e1d8c19008b0523ba6455e
refs/heads/master
2020-03-28T04:33:15.934870
2019-02-12T09:43:54
2019-02-12T09:43:54
147,721,990
0
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
#include<iostream> #include<stdio.h> #include<math.h> using namespace std; int main() { double n,p,ans,D,V,R,vol_H,vol,d,r; while(cin>>D>>V) { R=D/2; vol_H=M_PI*R*R*D; vol=vol_H-V; r=(4*vol/M_PI); p=3; ans=pow(r,1.0/p); cout<<ans<<endl; //cout<<R<<endl; //cout<<vol_H<<endl; //cout<<r<<endl; } }
[ "Intiser@users.noreply.github.com" ]
Intiser@users.noreply.github.com
144368a0a7a343758269e8730a51aeafe4f831a5
7a17cf106b87bff707be453af469e9c245d52267
/Data-Structures/Arrays/MinandMax.cpp
4ae19d470ec4c2991f70139c81d0ecd86400399f
[]
no_license
akshaydhule/Codes
3b4198349c5dedb4da87cb3d824b7df993aba321
8e6fe61e31a37fa62cc43672c4ffe0d7c301c504
refs/heads/codes
2022-03-17T08:20:28.017009
2022-01-31T06:54:18
2022-01-31T06:54:18
50,157,337
1
1
null
2018-08-04T19:44:55
2016-01-22T04:20:54
C++
UTF-8
C++
false
false
769
cpp
//============================================================================ // Name : MinandMax.cpp // Description : find min and max element pair in an array //============================================================================ #include <iostream> #define INT_MAX 100 using namespace std; void minandmax (int a[] , int n) { int min=0 , max = INT_MAX; int i ; if (n<2) { cout << "no reference"; } if (a[0]>a[1]) { max = a[0]; min = a[1]; } else { max = a[1]; min = a[0]; } for (i=2;i<n;i++) { if (a[i]>max) { max = a[i]; } else if (a[i]<min) { min = a[i]; } } cout << min << " ," << max<< endl; } int main() { int a[] = {1,2,4,3,2,1,6,8,0}; int n = sizeof(a)/sizeof(a[0]); minandmax(a,n); return 0; }
[ "akshaydhule9@gmail.com" ]
akshaydhule9@gmail.com
ad949d66a1e846afc6845dfc2089d937667f0479
e05ee73f59fa33c462743b30cbc5d35263383e89
/src/zunmql.cpp
13ca0c52a8a8ad428f3229a9a55bfff1da283953
[]
no_license
bhrnjica/magma
33c9e8a89f9bc2352f70867a48ec2dab7f94a984
88c8ca1a668055859a1cb9a31a204b702b688df5
refs/heads/master
2021-10-09T18:49:50.396412
2019-01-02T13:51:33
2019-01-02T13:51:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,128
cpp
/* -- MAGMA (version 2.4.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date June 2018 @author Raffaele Solca @author Mark Gates @precisions normal z -> s d c */ #include "magma_internal.h" /***************************************************************************//** Purpose ------- ZUNMQL overwrites the general complex M-by-N matrix C with @verbatim SIDE = MagmaLeft SIDE = MagmaRight TRANS = MagmaNoTrans: Q * C C * Q TRANS = Magma_ConjTrans: Q**H * C C * Q**H @endverbatim where Q is a complex unitary matrix defined as the product of k elementary reflectors Q = H(k) . . . H(2) H(1) as returned by ZGEQLF. Q is of order M if SIDE = MagmaLeft and of order N if SIDE = MagmaRight. Arguments --------- @param[in] side magma_side_t - = MagmaLeft: apply Q or Q**H from the Left; - = MagmaRight: apply Q or Q**H from the Right. @param[in] trans magma_trans_t - = MagmaNoTrans: No transpose, apply Q; - = Magma_ConjTrans: Conjugate transpose, apply Q**H. @param[in] m INTEGER The number of rows of the matrix C. M >= 0. @param[in] n INTEGER The number of columns of the matrix C. N >= 0. @param[in] k INTEGER The number of elementary reflectors whose product defines the matrix Q. If SIDE = MagmaLeft, M >= K >= 0; if SIDE = MagmaRight, N >= K >= 0. @param[in] A COMPLEX_16 array, dimension (LDA,K) The i-th column must contain the vector which defines the elementary reflector H(i), for i = 1,2,...,k, as returned by ZGEQLF in the last k columns of its array argument A. A is modified by the routine but restored on exit. @param[in] lda INTEGER The leading dimension of the array A. If SIDE = MagmaLeft, LDA >= max(1,M); if SIDE = MagmaRight, LDA >= max(1,N). @param[in] tau COMPLEX_16 array, dimension (K) TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by ZGEQLF. @param[in,out] C COMPLEX_16 array, dimension (LDC,N) On entry, the M-by-N matrix C. On exit, C is overwritten by Q*C or Q**H*C or C*Q**H or C*Q. @param[in] ldc INTEGER The leading dimension of the array C. LDC >= max(1,M). @param[out] work (workspace) COMPLEX_16 array, dimension (MAX(1,LWORK)) On exit, if INFO = 0, WORK[0] returns the optimal LWORK. @param[in] lwork INTEGER The dimension of the array WORK. If SIDE = MagmaLeft, LWORK >= max(1,N); if SIDE = MagmaRight, LWORK >= max(1,M). For optimum performance if SIDE = MagmaLeft, LWORK >= N*NB; if SIDE = MagmaRight, LWORK >= M*NB, where NB is the optimal blocksize. \n If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. @param[out] info INTEGER - = 0: successful exit - < 0: if INFO = -i, the i-th argument had an illegal value @ingroup magma_unmql *******************************************************************************/ extern "C" magma_int_t magma_zunmql( magma_side_t side, magma_trans_t trans, magma_int_t m, magma_int_t n, magma_int_t k, magmaDoubleComplex *A, magma_int_t lda, magmaDoubleComplex *tau, magmaDoubleComplex *C, magma_int_t ldc, magmaDoubleComplex *work, magma_int_t lwork, magma_int_t *info) { #define A(i_,j_) ( A + (i_) + (j_)*lda) #define dC(i_,j_) (dC + (i_) + (j_)*lddc) magmaDoubleComplex *T, *T2; magma_int_t i, i1, i2, ib, nb, mi, ni, nq, nq_i, nw, step; magma_int_t iinfo, ldwork, lwkopt; *info = 0; bool left = (side == MagmaLeft); bool notran = (trans == MagmaNoTrans); bool lquery = (lwork == -1); /* NQ is the order of Q and NW is the minimum dimension of WORK */ if (left) { nq = m; nw = n; } else { nq = n; nw = m; } /* Test the input arguments */ if (! left && side != MagmaRight) { *info = -1; } else if (! notran && trans != Magma_ConjTrans) { *info = -2; } else if (m < 0) { *info = -3; } else if (n < 0) { *info = -4; } else if (k < 0 || k > nq) { *info = -5; } else if (lda < max(1,nq)) { *info = -7; } else if (ldc < max(1,m)) { *info = -10; } else if (lwork < max(1,nw) && ! lquery) { *info = -12; } if (*info == 0) { nb = magma_get_zgelqf_nb( m, n ); lwkopt = max(1,nw)*nb; work[0] = magma_zmake_lwork( lwkopt ); } if (*info != 0) { magma_xerbla( __func__, -(*info) ); return *info; } else if (lquery) { return *info; } /* Quick return if possible */ if (m == 0 || n == 0 || k == 0) { work[0] = MAGMA_Z_ONE; return *info; } ldwork = nw; if ( nb >= k ) { /* Use CPU code */ lapackf77_zunmql( lapack_side_const(side), lapack_trans_const(trans), &m, &n, &k, A, &lda, tau, C, &ldc, work, &lwork, &iinfo ); } else { /* Use hybrid CPU-GPU code */ /* Allocate work space on the GPU. * nw*nb for dwork (m or n) by nb * nq*nb for dV (n or m) by nb * nb*nb for dT * lddc*n for dC. */ magma_int_t lddc = magma_roundup( m, 32 ); magmaDoubleComplex *dwork, *dV, *dT, *dC; magma_zmalloc( &dwork, (nw + nq + nb)*nb + lddc*n ); if ( dwork == NULL ) { *info = MAGMA_ERR_DEVICE_ALLOC; return *info; } dV = dwork + nw*nb; dT = dV + nq*nb; dC = dT + nb*nb; /* work space on CPU. * nb*nb for T * nb*nb for T2, used to save and restore diagonal block of panel */ magma_zmalloc_pinned( &T, 2*nb*nb ); if ( T == NULL ) { magma_free( dwork ); *info = MAGMA_ERR_HOST_ALLOC; return *info; } T2 = T + nb*nb; magma_queue_t queue; magma_device_t cdev; magma_getdevice( &cdev ); magma_queue_create( cdev, &queue ); /* Copy matrix C from the CPU to the GPU */ magma_zsetmatrix( m, n, C, ldc, dC, lddc, queue ); if ( (left && notran) || (! left && ! notran) ) { i1 = 0; i2 = k; step = nb; } else { i1 = ((k - 1) / nb) * nb; i2 = 0; step = -nb; } // silence "uninitialized" warnings mi = 0; ni = 0; if (left) { ni = n; } else { mi = m; } for (i = i1; (step < 0 ? i >= i2 : i < i2); i += step) { ib = min(nb, k - i); /* Form the triangular factor of the block reflector H = H(i+ib-1) . . . H(i+1) H(i) */ nq_i = nq - k + i + ib; lapackf77_zlarft("Backward", "Columnwise", &nq_i, &ib, A(0,i), &lda, &tau[i], T, &ib); /* 1) set lower triangle of panel in A to identity, 2) copy the panel from A to the GPU, and 3) restore A */ magma_zpanel_to_q( MagmaLower, ib, A(nq_i-ib,i), lda, T2 ); magma_zsetmatrix( nq_i, ib, A(0,i), lda, dV, nq_i, queue ); magma_zq_to_panel( MagmaLower, ib, A(nq_i-ib,i), lda, T2 ); if (left) { /* H or H**H is applied to C(1:m-k+i+ib-1,1:n) */ mi = m - k + i + ib; } else { /* H or H**H is applied to C(1:m,1:n-k+i+ib-1) */ ni = n - k + i + ib; } /* Apply H or H**H; First copy T to the GPU */ magma_zsetmatrix( ib, ib, T, ib, dT, ib, queue ); magma_zlarfb_gpu( side, trans, MagmaBackward, MagmaColumnwise, mi, ni, ib, dV, nq_i, dT, ib, dC, lddc, dwork, ldwork, queue ); } magma_zgetmatrix( m, n, dC, lddc, C, ldc, queue ); magma_queue_destroy( queue ); magma_free( dwork ); magma_free_pinned( T ); } work[0] = magma_zmake_lwork( lwkopt ); return *info; } /* magma_zunmql */
[ "sinkingsugar@gmail.com" ]
sinkingsugar@gmail.com
c5e983e8d990ba5e4279817d67751900e49a6576
da8d78e7e7d69aba194a7405961e9919c7157eb1
/Server/SocketFunctions.cpp
19d5dbd0beb6e49d5f9688b304c3f5143b915949
[]
no_license
eladeliav/ShittyFTP
443e8fe14f0063caced9178b8588559d287f1719
7ab0600c77815704bb0abd26b91e3902cca8b850
refs/heads/master
2020-04-14T06:09:15.558613
2018-12-31T16:20:04
2018-12-31T16:20:04
163,678,386
0
0
null
null
null
null
UTF-8
C++
false
false
3,083
cpp
#include "pch.h" #include "SocketFunctions.h" bool initServer(WSAData & wsaData, addrinfo & hints, addrinfo *& result, SOCKET & listenSock) { if (!initWinsock(wsaData)) return false; if (!configureSocketAdressInfo(hints, result)) return false; if (!configureSocketHint(listenSock, result)) return false; if (!bindSocket(listenSock, result)) return false; freeaddrinfo(result); if (!listenFromSock(listenSock)) return false; return true; } bool initWinsock(WSAData & wsaData) { //initializing winsock int iResult = WSAStartup(MAKEWORD(2, 2), &wsaData); if (iResult != 0) { std::cout << "Failed to init winsock with error: " << iResult << std::endl; return false; } return true; } bool configureSocketAdressInfo(addrinfo & hints, addrinfo *& result) { //zeroing out the hints struct memory ZeroMemory(&hints, sizeof(hints)); hints.ai_family = AF_INET; //ipv4 hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP; hints.ai_flags = AI_PASSIVE; int iResult = getaddrinfo(DEFAULT_IP, DEFAULT_PORT, &hints, &result); if (iResult != 0) { std::cout << "Get addr info failed with error: " << iResult << std::endl; WSACleanup(); return false; } return true; } bool configureSocketHint(SOCKET & sock, addrinfo *& result) { sock = socket(result->ai_family, result->ai_socktype, result->ai_protocol); if (sock == INVALID_SOCKET) { std::cout << "Failed to initialize listening socket error: " << WSAGetLastError() << std::endl; freeaddrinfo(result); WSACleanup(); return false; } return true; } bool bindSocket(SOCKET & sock, addrinfo *& result) { int iResult = bind(sock, result->ai_addr, (int)result->ai_addrlen); if (iResult == SOCKET_ERROR) { std::cout << "Failed to bind listening socket error: " << iResult << std::endl; freeaddrinfo(result); closesocket(sock); WSACleanup(); return false; } return true; } bool listenFromSock(SOCKET & sock) { int iResult = listen(sock, SOMAXCONN); if (iResult == SOCKET_ERROR) { std::cout << "Failed to listen from listening socket error: " << iResult << std::endl; closesocket(sock); WSACleanup(); return false; } return true; } SOCKET acceptSocket(SOCKET & listenSock) { SOCKET clientSock = accept(listenSock, NULL, NULL); if (clientSock == INVALID_SOCKET) { std::cout << "Failed to accept client socket error: " << WSAGetLastError() << std::endl; closesocket(listenSock); WSACleanup(); return INVALID_SOCKET; } return clientSock; } int sockClose(SOCKET & sock) { int status = 0; status = shutdown(sock, SD_BOTH); if (status == 0) { status = closesocket(sock); } return status; } void sendMessageToSocket(string message, SOCKET &sock) { int sendStatus = send(sock, message.c_str(), (int)message.size(), 0); } bool newClient(SOCKET &listenSock, fd_set &master) { SOCKET newClient = acceptSocket(listenSock); if (newClient == INVALID_SOCKET) return false; FD_SET(newClient, &master); sendMessageToSocket(WELCOME_MESSAGE, newClient); std::cout << "New client " << newClient << " connected" << std::endl; return true; }
[ "elad02.eliav@gmail.com" ]
elad02.eliav@gmail.com
a322efbe59110d3d4c26a952da3110dfef06eb99
9dfac3b30ad1423781d8bf22075e6f9916aad069
/game/ImageProc/processor_pulsedetect.cpp
d32052a299b1036f2f5af8079327e7cd4b9d0370
[]
no_license
mdzahidh/euglenalab
6f6891982200f809e29c4052cfc5228c9b7e3a20
ddc498a5732f62b73f68e9d24fa6d7ee0439406f
refs/heads/master
2021-05-01T16:38:52.481187
2017-03-14T22:42:01
2017-03-14T22:42:01
60,574,746
1
3
null
null
null
null
UTF-8
C++
false
false
1,341
cpp
#include "singleton_factory.hpp" #include "opencv2/imgproc/imgproc.hpp" class PulseDetectionProcessor : public Processor { public: PulseDetectionProcessor() : level(4), r1(0.4), r2(0.05) // , alpha(50.0), chromAttenuation(1.0) {}; cv::Mat operator()(cv::Mat); private: int level; double r1; double r2; // double alpha; // double chromAttenuation; cv::Mat prevFrame1; cv::Mat prevFrame2; }; cv::Mat PulseDetectionProcessor::operator()(cv::Mat im) { cv::Mat dest; // Convert to YCrCb color space // cv::cvtColor( im, dest, CV_YCrCb2RGB); // Gaussian blur using image pyramid for (auto i=0; i<level; i++) { cv::pyrDown(im,dest); im = dest; } // Time filtering if ( prevFrame1.empty() ) { prevFrame1 = im.clone(); } else { cv::Mat y1 = r1*im + (1.0 - r1)*prevFrame1; prevFrame1 = y1.clone(); } if ( prevFrame1.empty() ) { prevFrame2 = im.clone(); } else { cv::Mat y2 = r2*im + (1.0 - r2)*prevFrame2; prevFrame2 = y2.clone(); } cv::subtract(prevFrame1,prevFrame2,im); for (auto i=0; i<level; i++) { cv::pyrUp(im,dest); im = dest; } // Set alpha channel cv::add( cv::Scalar(0,0,0,255), dest, im ); return im; } namespace { auto diffProcReg = ProcessorRegister<PulseDetectionProcessor>("Pulse Detection"); }
[ "zhossain@stanford.edu" ]
zhossain@stanford.edu
86991f5a639b330cf403fdff7d397bef620694a6
054b4f962feda558edcbed5503ce96b5db1f3e10
/beego/msg_gen/cpp/include/beego/velocity.h
d69db1f63be8ca0a32cd6fe6fdf9b92acfd0f52c
[]
no_license
SergeStinckwich/beego-ros-pkg
0e6509d4e9060155b1b5bc51dabe53d5cb8914c9
f4bd93f51508254dfe5892c9babaa82247ee8b6e
refs/heads/master
2021-05-26T13:20:29.205138
2012-01-11T07:21:38
2012-01-11T07:21:38
3,040,450
1
0
null
null
null
null
UTF-8
C++
false
false
5,575
h
/* Auto-generated by genmsg_cpp for file /home/tfv1/Desktop/module_ros/beego/msg/velocity.msg */ #ifndef BEEGO_MESSAGE_VELOCITY_H #define BEEGO_MESSAGE_VELOCITY_H #include <string> #include <vector> #include <map> #include <ostream> #include "ros/serialization.h" #include "ros/builtin_message_traits.h" #include "ros/message_operations.h" #include "ros/time.h" #include "ros/macros.h" #include "ros/assert.h" namespace beego { template <class ContainerAllocator> struct velocity_ { typedef velocity_<ContainerAllocator> Type; velocity_() : trans_vel(0.0) , rot_vel(0.0) { } velocity_(const ContainerAllocator& _alloc) : trans_vel(0.0) , rot_vel(0.0) { } typedef float _trans_vel_type; float trans_vel; typedef float _rot_vel_type; float rot_vel; private: static const char* __s_getDataType_() { return "beego/velocity"; } public: ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } private: static const char* __s_getMD5Sum_() { return "a9a36d4aead03174102ed0f5686cc73d"; } public: ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } private: static const char* __s_getMessageDefinition_() { return "float32 trans_vel\n\ float32 rot_vel\n\ \n\ "; } public: ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const { ros::serialization::OStream stream(write_ptr, 1000000000); ros::serialization::serialize(stream, trans_vel); ros::serialization::serialize(stream, rot_vel); return stream.getData(); } ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) { ros::serialization::IStream stream(read_ptr, 1000000000); ros::serialization::deserialize(stream, trans_vel); ros::serialization::deserialize(stream, rot_vel); return stream.getData(); } ROS_DEPRECATED virtual uint32_t serializationLength() const { uint32_t size = 0; size += ros::serialization::serializationLength(trans_vel); size += ros::serialization::serializationLength(rot_vel); return size; } typedef boost::shared_ptr< ::beego::velocity_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::beego::velocity_<ContainerAllocator> const> ConstPtr; boost::shared_ptr<std::map<std::string, std::string> > __connection_header; }; // struct velocity typedef ::beego::velocity_<std::allocator<void> > velocity; typedef boost::shared_ptr< ::beego::velocity> velocityPtr; typedef boost::shared_ptr< ::beego::velocity const> velocityConstPtr; template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::beego::velocity_<ContainerAllocator> & v) { ros::message_operations::Printer< ::beego::velocity_<ContainerAllocator> >::stream(s, "", v); return s;} } // namespace beego namespace ros { namespace message_traits { template<class ContainerAllocator> struct IsMessage< ::beego::velocity_<ContainerAllocator> > : public TrueType {}; template<class ContainerAllocator> struct IsMessage< ::beego::velocity_<ContainerAllocator> const> : public TrueType {}; template<class ContainerAllocator> struct MD5Sum< ::beego::velocity_<ContainerAllocator> > { static const char* value() { return "a9a36d4aead03174102ed0f5686cc73d"; } static const char* value(const ::beego::velocity_<ContainerAllocator> &) { return value(); } static const uint64_t static_value1 = 0xa9a36d4aead03174ULL; static const uint64_t static_value2 = 0x102ed0f5686cc73dULL; }; template<class ContainerAllocator> struct DataType< ::beego::velocity_<ContainerAllocator> > { static const char* value() { return "beego/velocity"; } static const char* value(const ::beego::velocity_<ContainerAllocator> &) { return value(); } }; template<class ContainerAllocator> struct Definition< ::beego::velocity_<ContainerAllocator> > { static const char* value() { return "float32 trans_vel\n\ float32 rot_vel\n\ \n\ "; } static const char* value(const ::beego::velocity_<ContainerAllocator> &) { return value(); } }; template<class ContainerAllocator> struct IsFixedSize< ::beego::velocity_<ContainerAllocator> > : public TrueType {}; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::beego::velocity_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.trans_vel); stream.next(m.rot_vel); } ROS_DECLARE_ALLINONE_SERIALIZER; }; // struct velocity_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::beego::velocity_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::beego::velocity_<ContainerAllocator> & v) { s << indent << "trans_vel: "; Printer<float>::stream(s, indent + " ", v.trans_vel); s << indent << "rot_vel: "; Printer<float>::stream(s, indent + " ", v.rot_vel); } }; } // namespace message_operations } // namespace ros #endif // BEEGO_MESSAGE_VELOCITY_H
[ "Serge.Stinckwich@gmail.com" ]
Serge.Stinckwich@gmail.com
b500d2b073739745ab9cd645814aa175975024f8
27a31f1a0d45ff8eaaa9175e0623e61f41d33cc1
/Data Structures/Unit 3/Chapter_03_SourceCode/02_VectorClassTemplate.cpp
34334c283491d8595eda23877bf4917c9aae882b
[]
no_license
pr1malbyt3s/CECS503
36f83a347859dbf7ba04beae6c9da691594261f6
0592c45fd5981f36ed93658031a2e020b63ab4e2
refs/heads/master
2021-03-27T08:49:04.735407
2020-02-26T14:21:14
2020-02-26T14:21:14
119,180,171
0
0
null
null
null
null
UTF-8
C++
false
false
3,115
cpp
#include <iostream> using namespace std; template<typename Container> void printCollection(const Container & c, ostream & out = cout) { if (c.empty()) { out << "(empty)"; } else { typename Container::const_iterator itr = c.begin(); out << "[ " << *itr++; // Print first item while (itr != c.end()) { out << ", " << *itr++; } // end while out << " ]" << endl; } // end ifelse } template<typename Object> class Vector { public: explicit Vector(int initSize = 0) : theSize(initSize), theCapacity(initSize + SPARE_CAPACITY) { objects = new Object[theCapacity]; } Vector(const Vector & rhs) : objects(NULL) { operator=(rhs); } ~Vector() { delete[] objects; } const Vector & operator=(const Vector & rhs) { if (this != &rhs) { delete[] objects; theSize = rhs.size(); theCapacity = rhs.theCapacity; objects = new Object[capacity()]; for(int k = 0; k < size(); k++) { objects[k] = rhs.objects[k]; } // end for } return *this; } void resize(int newSize) { if (newSize > theCapacity) { reserve(newSize * 2 + 1); } // end if theSize = newSize; } void reserve(int newCapacity) { if (newCapacity < theSize) { return; } // end if Object *oldArray = objects; objects = new Object[newCapacity]; for (int k = 0; k < theSize; k++) { objects[k] = oldArray[k]; } // end for theCapacity = newCapacity; delete[] oldArray; } Object & operator[](int index) { return objects[index]; } const Object & operator[](int index) const { return objects[index]; } bool empty() const { return size() == 0; } int size() const { return theSize; } int capacity() const { return theCapacity; } void push_back(const Object & x) { if (theSize == theCapacity) { reserve(2 * theCapacity + 1); } // end if objects[theSize++] = x; } void pop_back() { theSize--; } const Object & back() const { return objects[theSize - 1]; } typedef Object * iterator; typedef const Object * const_iterator; iterator begin() { return &objects[0]; } const_iterator begin() const { return &objects[0]; } iterator end() { return &objects[size()]; } const_iterator end() const { return &objects[size()]; } enum { SPARE_CAPACITY = 16 }; private: int theSize; int theCapacity; Object * objects; }; int main() { Vector<int> myV(10); for(int i = 0; i < myV.size(); i++) { myV[i] = int(3*i); } // end for printCollection(myV, cout); myV.push_back(91); printCollection(myV, cout); myV.pop_back(); printCollection(myV, cout); cout << "The Capacity: " << myV.capacity() << endl; cout << "The Size: " << myV.size() << endl; cout << "The begining: " << *myV.begin() << endl; Vector<int>::iterator myItr = myV.begin(); myItr = myItr + 3; cout << "The ...: " << *myItr << endl; for (unsigned i = 0; i < 3; ++i) { myItr++; cout << "The ...: " << *myItr << endl; } // end for cout << "The ...: " << *myItr << endl; return 0; }
[ "A@Ace.local" ]
A@Ace.local
772ed46038fda94b2ac1a9253756107c8a6f3e39
0a578350da68399e1d94dcdea1ad34a41dc3b3e2
/Unity_Project/UWP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_35Table.cpp
dc812f0a1c43c511319bd59b484856575759e3aa
[]
no_license
iridophore/Assign-2-Book-Target
e68d300c5cdc9f5256ff600047606d9e49c29de2
d12618745e90b5764c99570ea3aefd74d9031b57
refs/heads/master
2021-01-06T17:10:00.960098
2020-02-20T13:59:55
2020-02-20T13:59:55
241,407,810
0
0
null
null
null
null
UTF-8
C++
false
false
444,965
cpp
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" // System.Action`1<UnityEngine.Font> struct Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C; // System.Action`1<UnityEngine.U2D.SpriteAtlas> struct Action_1_t148D4FE58B48D51DD45913A7B6EAA61E30D4B285; // System.AsyncCallback struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4; // System.Byte[] struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821; // System.Char[] struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2; // System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>> struct Dictionary_2_t384233675A53C45AC225D88198FE37AFD99FAAA8; // System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>> struct Dictionary_2_t9381E2F3FBED2BDD86A941DC22F75A8A3917BCA9; // System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable> struct HashSet_1_tC02CDD91E55E13BB9A0234B98EEA71B4B8E1BAF3; // System.Collections.Generic.List`1<UnityEngine.CanvasGroup> struct List_1_t64BA96BFC713F221050385E91C868CE455C245D6; // System.Collections.Generic.List`1<UnityEngine.RectTransform> struct List_1_t0CD9761E1DF9817484CF4FB4253C6A626DC2311C; // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem> struct List_1_t9CE24C9765CEA576BA5850425955BF1016C0B607; // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData> struct List_1_tAC26E541496C5F054D48B00981F23400A1693C42; // System.Collections.Generic.List`1<UnityEngine.UI.Graphic> struct List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6; // System.Collections.Generic.List`1<UnityEngine.UI.Image> struct List_1_t5E6CEE165340A9D74D8BD47B8E6F422DFB7744ED; // System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D> struct List_1_tD97244959DADBF9F6F6676C84301568A68AB1BA6; // System.Collections.Generic.List`1<UnityEngine.UI.Selectable> struct List_1_tC6550F4D86CF67D987B6B46F46941B36D02A9680; // System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry> struct List_1_t76ABA3DC8DDC9B204D304CCD7FF837BD04C0770A; // System.Collections.Generic.List`1<UnityEngine.UI.Toggle> struct List_1_t02218CE37FD9D09EE4EC464F0D43E9FD9DE0C581; // System.Comparison`1<UnityEngine.UI.Graphic> struct Comparison_1_t5031A3D1172F5D774E43B5AE7EF4F0F79CE5796A; // System.DelegateData struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE; // System.Delegate[] struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> struct Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3; // System.Func`2<UnityEngine.UI.Toggle,System.Boolean> struct Func_2_t1D8A83A768DC97BC0940C939C870AF7BC74C026E; // System.IAsyncResult struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598; // System.Object[] struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A; // System.Predicate`1<UnityEngine.Component> struct Predicate_1_t1A9CE8ADB6E9328794CC409FD5BEAACA86D7D769; // System.Predicate`1<UnityEngine.UI.Toggle> struct Predicate_1_t2D2FE3EBD09F7A807E9C7EC5A28E252B7F1E8341; // System.Reflection.MethodInfo struct MethodInfo_t; // System.String struct String_t; // System.Void struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017; // UnityEngine.Canvas struct Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591; // UnityEngine.CanvasRenderer struct CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72; // UnityEngine.Coroutine struct Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC; // UnityEngine.Event struct Event_t187FF6A6B357447B83EC2064823EE0AEC5263210; // UnityEngine.EventSystems.PointerEventData struct PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63; // UnityEngine.Events.InvokableCallList struct InvokableCallList_t18AA4F473C7B295216B7D4B9723B4F3DFCCC9A3F; // UnityEngine.Events.PersistentCallGroup struct PersistentCallGroup_t6E5DF2EBDA42794B5FE0C6DAA97DF65F0BFF571F; // UnityEngine.Events.UnityAction struct UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> struct UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99; // UnityEngine.Font struct Font_t1EDE54AF557272BE314EB4B40EFA50CEB353CA26; // UnityEngine.GameObject struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F; // UnityEngine.Material struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598; // UnityEngine.Mesh struct Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C; // 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.TouchScreenKeyboard struct TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90; // UnityEngine.Transform struct Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA; // UnityEngine.UI.AnimationTriggers struct AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5; // UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.IClipper> struct IndexedSet_1_t078E2E05FE393B36B32B9E8C5C046FD63C68604A; // UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween> struct TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172; // UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.FloatTween> struct TweenRunner_1_tA7C92F52BF30E9A20EDA2DD956E11A1493D098EF; // UnityEngine.UI.Dropdown struct Dropdown_tF6331401084B1213CAB10587A6EC81461501930F; // UnityEngine.UI.Dropdown/DropdownEvent struct DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306; // UnityEngine.UI.Dropdown/DropdownItem struct DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46; // UnityEngine.UI.Dropdown/OptionData struct OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831; // UnityEngine.UI.Dropdown/OptionDataList struct OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D; // UnityEngine.UI.FontData struct FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494; // UnityEngine.UI.Graphic struct Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8; // UnityEngine.UI.Image struct Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E; // UnityEngine.UI.InputField struct InputField_t533609195B110760BCFF00B746C87D81969CB005; // UnityEngine.UI.InputField/OnChangeEvent struct OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A; // UnityEngine.UI.InputField/OnValidateInput struct OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0; // UnityEngine.UI.InputField/SubmitEvent struct SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A; // UnityEngine.UI.MaskableGraphic/CullStateChangedEvent struct CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4; // UnityEngine.UI.ObjectPool`1<UnityEngine.UI.LayoutRebuilder> struct ObjectPool_1_tFA4F33849836CDB27432AE22249BB79D68619541; // UnityEngine.UI.RectMask2D struct RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B; // UnityEngine.UI.RectangularVertexClipper struct RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91; // UnityEngine.UI.ScrollRect/ScrollRectEvent struct ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB; // UnityEngine.UI.Scrollbar struct Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389; // UnityEngine.UI.Scrollbar/ScrollEvent struct ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7; // UnityEngine.UI.Selectable struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A; // UnityEngine.UI.Slider/SliderEvent struct SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C; // 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.VertexHelper struct VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F; // UnityEngine.UIVertex[] struct UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A; // UnityEngine.Vector2[] struct Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6; // UnityEngine.Vector3[] struct Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28; // UnityEngine.WaitForSecondsRealtime struct WaitForSecondsRealtime_t0CF361107C4A9E25E0D4CF2F37732CE785235739; struct Delegate_t_marshaled_com; struct Delegate_t_marshaled_pinvoke; #ifndef RUNTIMEOBJECT_H #define RUNTIMEOBJECT_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Object #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RUNTIMEOBJECT_H #ifndef VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #define VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.ValueType struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif // 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 { }; #endif // VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H #ifndef UNITYEVENTBASE_T6E0F7823762EE94BB8489B5AE41C7802A266D3D5_H #define UNITYEVENTBASE_T6E0F7823762EE94BB8489B5AE41C7802A266D3D5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEventBase struct UnityEventBase_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((&___m_Calls_0), 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((&___m_PersistentCalls_1), 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENTBASE_T6E0F7823762EE94BB8489B5AE41C7802A266D3D5_H #ifndef CLIPPERREGISTRY_T21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_H #define CLIPPERREGISTRY_T21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ClipperRegistry struct ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F : public RuntimeObject { public: // UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.IClipper> UnityEngine.UI.ClipperRegistry::m_Clippers IndexedSet_1_t078E2E05FE393B36B32B9E8C5C046FD63C68604A * ___m_Clippers_1; public: inline static int32_t get_offset_of_m_Clippers_1() { return static_cast<int32_t>(offsetof(ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F, ___m_Clippers_1)); } inline IndexedSet_1_t078E2E05FE393B36B32B9E8C5C046FD63C68604A * get_m_Clippers_1() const { return ___m_Clippers_1; } inline IndexedSet_1_t078E2E05FE393B36B32B9E8C5C046FD63C68604A ** get_address_of_m_Clippers_1() { return &___m_Clippers_1; } inline void set_m_Clippers_1(IndexedSet_1_t078E2E05FE393B36B32B9E8C5C046FD63C68604A * value) { ___m_Clippers_1 = value; Il2CppCodeGenWriteBarrier((&___m_Clippers_1), value); } }; struct ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_StaticFields { public: // UnityEngine.UI.ClipperRegistry UnityEngine.UI.ClipperRegistry::s_Instance ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F * ___s_Instance_0; public: inline static int32_t get_offset_of_s_Instance_0() { return static_cast<int32_t>(offsetof(ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_StaticFields, ___s_Instance_0)); } inline ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F * get_s_Instance_0() const { return ___s_Instance_0; } inline ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F ** get_address_of_s_Instance_0() { return &___s_Instance_0; } inline void set_s_Instance_0(ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F * value) { ___s_Instance_0 = value; Il2CppCodeGenWriteBarrier((&___s_Instance_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CLIPPERREGISTRY_T21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_H #ifndef CLIPPING_T54CCE61957223C3A78768A2185E906846335DE25_H #define CLIPPING_T54CCE61957223C3A78768A2185E906846335DE25_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Clipping struct Clipping_t54CCE61957223C3A78768A2185E906846335DE25 : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CLIPPING_T54CCE61957223C3A78768A2185E906846335DE25_H #ifndef U3CDELAYEDDESTROYDROPDOWNLISTU3EC__ITERATOR0_TA5F2B67706057433D2CCC73D5F9C12FF23D72096_H #define U3CDELAYEDDESTROYDROPDOWNLISTU3EC__ITERATOR0_TA5F2B67706057433D2CCC73D5F9C12FF23D72096_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0 struct U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096 : public RuntimeObject { public: // System.Single UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0::delay float ___delay_0; // UnityEngine.UI.Dropdown UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0::U24this Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * ___U24this_1; // System.Object UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0::U24current RuntimeObject * ___U24current_2; // System.Boolean UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0::U24disposing bool ___U24disposing_3; // System.Int32 UnityEngine.UI.Dropdown_<DelayedDestroyDropdownList>c__Iterator0::U24PC int32_t ___U24PC_4; public: inline static int32_t get_offset_of_delay_0() { return static_cast<int32_t>(offsetof(U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096, ___delay_0)); } inline float get_delay_0() const { return ___delay_0; } inline float* get_address_of_delay_0() { return &___delay_0; } inline void set_delay_0(float value) { ___delay_0 = value; } inline static int32_t get_offset_of_U24this_1() { return static_cast<int32_t>(offsetof(U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096, ___U24this_1)); } inline Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * get_U24this_1() const { return ___U24this_1; } inline Dropdown_tF6331401084B1213CAB10587A6EC81461501930F ** get_address_of_U24this_1() { return &___U24this_1; } inline void set_U24this_1(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * value) { ___U24this_1 = value; Il2CppCodeGenWriteBarrier((&___U24this_1), value); } inline static int32_t get_offset_of_U24current_2() { return static_cast<int32_t>(offsetof(U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096, ___U24current_2)); } inline RuntimeObject * get_U24current_2() const { return ___U24current_2; } inline RuntimeObject ** get_address_of_U24current_2() { return &___U24current_2; } inline void set_U24current_2(RuntimeObject * value) { ___U24current_2 = value; Il2CppCodeGenWriteBarrier((&___U24current_2), value); } inline static int32_t get_offset_of_U24disposing_3() { return static_cast<int32_t>(offsetof(U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096, ___U24disposing_3)); } inline bool get_U24disposing_3() const { return ___U24disposing_3; } inline bool* get_address_of_U24disposing_3() { return &___U24disposing_3; } inline void set_U24disposing_3(bool value) { ___U24disposing_3 = value; } inline static int32_t get_offset_of_U24PC_4() { return static_cast<int32_t>(offsetof(U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096, ___U24PC_4)); } inline int32_t get_U24PC_4() const { return ___U24PC_4; } inline int32_t* get_address_of_U24PC_4() { return &___U24PC_4; } inline void set_U24PC_4(int32_t value) { ___U24PC_4 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CDELAYEDDESTROYDROPDOWNLISTU3EC__ITERATOR0_TA5F2B67706057433D2CCC73D5F9C12FF23D72096_H #ifndef U3CSHOWU3EC__ANONSTOREY1_T2EE5833584F8CD3927DF01249C17D796CD670A86_H #define U3CSHOWU3EC__ANONSTOREY1_T2EE5833584F8CD3927DF01249C17D796CD670A86_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_<Show>c__AnonStorey1 struct U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86 : public RuntimeObject { public: // UnityEngine.UI.Dropdown_DropdownItem UnityEngine.UI.Dropdown_<Show>c__AnonStorey1::item DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46 * ___item_0; // UnityEngine.UI.Dropdown UnityEngine.UI.Dropdown_<Show>c__AnonStorey1::U24this Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * ___U24this_1; public: inline static int32_t get_offset_of_item_0() { return static_cast<int32_t>(offsetof(U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86, ___item_0)); } inline DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46 * get_item_0() const { return ___item_0; } inline DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46 ** get_address_of_item_0() { return &___item_0; } inline void set_item_0(DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46 * value) { ___item_0 = value; Il2CppCodeGenWriteBarrier((&___item_0), value); } inline static int32_t get_offset_of_U24this_1() { return static_cast<int32_t>(offsetof(U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86, ___U24this_1)); } inline Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * get_U24this_1() const { return ___U24this_1; } inline Dropdown_tF6331401084B1213CAB10587A6EC81461501930F ** get_address_of_U24this_1() { return &___U24this_1; } inline void set_U24this_1(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F * value) { ___U24this_1 = value; Il2CppCodeGenWriteBarrier((&___U24this_1), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CSHOWU3EC__ANONSTOREY1_T2EE5833584F8CD3927DF01249C17D796CD670A86_H #ifndef OPTIONDATA_T5522C87AD5C3F1C8D3748D1FF1825A24F3835831_H #define OPTIONDATA_T5522C87AD5C3F1C8D3748D1FF1825A24F3835831_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_OptionData struct OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831 : public RuntimeObject { public: // System.String UnityEngine.UI.Dropdown_OptionData::m_Text String_t* ___m_Text_0; // UnityEngine.Sprite UnityEngine.UI.Dropdown_OptionData::m_Image Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_Image_1; public: inline static int32_t get_offset_of_m_Text_0() { return static_cast<int32_t>(offsetof(OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831, ___m_Text_0)); } inline String_t* get_m_Text_0() const { return ___m_Text_0; } inline String_t** get_address_of_m_Text_0() { return &___m_Text_0; } inline void set_m_Text_0(String_t* value) { ___m_Text_0 = value; Il2CppCodeGenWriteBarrier((&___m_Text_0), value); } inline static int32_t get_offset_of_m_Image_1() { return static_cast<int32_t>(offsetof(OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831, ___m_Image_1)); } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_Image_1() const { return ___m_Image_1; } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_Image_1() { return &___m_Image_1; } inline void set_m_Image_1(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value) { ___m_Image_1 = value; Il2CppCodeGenWriteBarrier((&___m_Image_1), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // OPTIONDATA_T5522C87AD5C3F1C8D3748D1FF1825A24F3835831_H #ifndef OPTIONDATALIST_TE70C398434952658ED61EEEDC56766239E2C856D_H #define OPTIONDATALIST_TE70C398434952658ED61EEEDC56766239E2C856D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_OptionDataList struct OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D : public RuntimeObject { public: // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown_OptionData> UnityEngine.UI.Dropdown_OptionDataList::m_Options List_1_tAC26E541496C5F054D48B00981F23400A1693C42 * ___m_Options_0; public: inline static int32_t get_offset_of_m_Options_0() { return static_cast<int32_t>(offsetof(OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D, ___m_Options_0)); } inline List_1_tAC26E541496C5F054D48B00981F23400A1693C42 * get_m_Options_0() const { return ___m_Options_0; } inline List_1_tAC26E541496C5F054D48B00981F23400A1693C42 ** get_address_of_m_Options_0() { return &___m_Options_0; } inline void set_m_Options_0(List_1_tAC26E541496C5F054D48B00981F23400A1693C42 * value) { ___m_Options_0 = value; Il2CppCodeGenWriteBarrier((&___m_Options_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // OPTIONDATALIST_TE70C398434952658ED61EEEDC56766239E2C856D_H #ifndef FONTUPDATETRACKER_T2584C33FA26620846ABD0529AC058833E791D612_H #define FONTUPDATETRACKER_T2584C33FA26620846ABD0529AC058833E791D612_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.FontUpdateTracker struct FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612 : public RuntimeObject { public: public: }; struct FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields { public: // System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.HashSet`1<UnityEngine.UI.Text>> UnityEngine.UI.FontUpdateTracker::m_Tracked Dictionary_2_t9381E2F3FBED2BDD86A941DC22F75A8A3917BCA9 * ___m_Tracked_0; // System.Action`1<UnityEngine.Font> UnityEngine.UI.FontUpdateTracker::<>f__mgU24cache0 Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___U3CU3Ef__mgU24cache0_1; // System.Action`1<UnityEngine.Font> UnityEngine.UI.FontUpdateTracker::<>f__mgU24cache1 Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * ___U3CU3Ef__mgU24cache1_2; public: inline static int32_t get_offset_of_m_Tracked_0() { return static_cast<int32_t>(offsetof(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields, ___m_Tracked_0)); } inline Dictionary_2_t9381E2F3FBED2BDD86A941DC22F75A8A3917BCA9 * get_m_Tracked_0() const { return ___m_Tracked_0; } inline Dictionary_2_t9381E2F3FBED2BDD86A941DC22F75A8A3917BCA9 ** get_address_of_m_Tracked_0() { return &___m_Tracked_0; } inline void set_m_Tracked_0(Dictionary_2_t9381E2F3FBED2BDD86A941DC22F75A8A3917BCA9 * value) { ___m_Tracked_0 = value; Il2CppCodeGenWriteBarrier((&___m_Tracked_0), value); } inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_1() { return static_cast<int32_t>(offsetof(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields, ___U3CU3Ef__mgU24cache0_1)); } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * get_U3CU3Ef__mgU24cache0_1() const { return ___U3CU3Ef__mgU24cache0_1; } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C ** get_address_of_U3CU3Ef__mgU24cache0_1() { return &___U3CU3Ef__mgU24cache0_1; } inline void set_U3CU3Ef__mgU24cache0_1(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * value) { ___U3CU3Ef__mgU24cache0_1 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_1), value); } inline static int32_t get_offset_of_U3CU3Ef__mgU24cache1_2() { return static_cast<int32_t>(offsetof(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields, ___U3CU3Ef__mgU24cache1_2)); } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * get_U3CU3Ef__mgU24cache1_2() const { return ___U3CU3Ef__mgU24cache1_2; } inline Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C ** get_address_of_U3CU3Ef__mgU24cache1_2() { return &___U3CU3Ef__mgU24cache1_2; } inline void set_U3CU3Ef__mgU24cache1_2(Action_1_t795662E553415ECF2DD0F8EEB9BA170C3670F37C * value) { ___U3CU3Ef__mgU24cache1_2 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache1_2), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // FONTUPDATETRACKER_T2584C33FA26620846ABD0529AC058833E791D612_H #ifndef GRAPHICREGISTRY_T19E314996D0558CDC3EE57FBA9278A6746C0E02A_H #define GRAPHICREGISTRY_T19E314996D0558CDC3EE57FBA9278A6746C0E02A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GraphicRegistry struct GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A : public RuntimeObject { public: // System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>> UnityEngine.UI.GraphicRegistry::m_Graphics Dictionary_2_t384233675A53C45AC225D88198FE37AFD99FAAA8 * ___m_Graphics_1; public: inline static int32_t get_offset_of_m_Graphics_1() { return static_cast<int32_t>(offsetof(GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A, ___m_Graphics_1)); } inline Dictionary_2_t384233675A53C45AC225D88198FE37AFD99FAAA8 * get_m_Graphics_1() const { return ___m_Graphics_1; } inline Dictionary_2_t384233675A53C45AC225D88198FE37AFD99FAAA8 ** get_address_of_m_Graphics_1() { return &___m_Graphics_1; } inline void set_m_Graphics_1(Dictionary_2_t384233675A53C45AC225D88198FE37AFD99FAAA8 * value) { ___m_Graphics_1 = value; Il2CppCodeGenWriteBarrier((&___m_Graphics_1), value); } }; struct GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields { public: // UnityEngine.UI.GraphicRegistry UnityEngine.UI.GraphicRegistry::s_Instance GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A * ___s_Instance_0; // System.Collections.Generic.List`1<UnityEngine.UI.Graphic> UnityEngine.UI.GraphicRegistry::s_EmptyList List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * ___s_EmptyList_2; public: inline static int32_t get_offset_of_s_Instance_0() { return static_cast<int32_t>(offsetof(GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields, ___s_Instance_0)); } inline GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A * get_s_Instance_0() const { return ___s_Instance_0; } inline GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A ** get_address_of_s_Instance_0() { return &___s_Instance_0; } inline void set_s_Instance_0(GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A * value) { ___s_Instance_0 = value; Il2CppCodeGenWriteBarrier((&___s_Instance_0), value); } inline static int32_t get_offset_of_s_EmptyList_2() { return static_cast<int32_t>(offsetof(GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields, ___s_EmptyList_2)); } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * get_s_EmptyList_2() const { return ___s_EmptyList_2; } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 ** get_address_of_s_EmptyList_2() { return &___s_EmptyList_2; } inline void set_s_EmptyList_2(List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * value) { ___s_EmptyList_2 = value; Il2CppCodeGenWriteBarrier((&___s_EmptyList_2), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // GRAPHICREGISTRY_T19E314996D0558CDC3EE57FBA9278A6746C0E02A_H #ifndef U3CCARETBLINKU3EC__ITERATOR0_TBAECB439DA904F63C86A087BDC1399FF5C4B0EFD_H #define U3CCARETBLINKU3EC__ITERATOR0_TBAECB439DA904F63C86A087BDC1399FF5C4B0EFD_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_<CaretBlink>c__Iterator0 struct U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD : public RuntimeObject { public: // System.Single UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::<blinkPeriod>__1 float ___U3CblinkPeriodU3E__1_0; // System.Boolean UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::<blinkState>__1 bool ___U3CblinkStateU3E__1_1; // UnityEngine.UI.InputField UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::U24this InputField_t533609195B110760BCFF00B746C87D81969CB005 * ___U24this_2; // System.Object UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::U24current RuntimeObject * ___U24current_3; // System.Boolean UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::U24disposing bool ___U24disposing_4; // System.Int32 UnityEngine.UI.InputField_<CaretBlink>c__Iterator0::U24PC int32_t ___U24PC_5; public: inline static int32_t get_offset_of_U3CblinkPeriodU3E__1_0() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U3CblinkPeriodU3E__1_0)); } inline float get_U3CblinkPeriodU3E__1_0() const { return ___U3CblinkPeriodU3E__1_0; } inline float* get_address_of_U3CblinkPeriodU3E__1_0() { return &___U3CblinkPeriodU3E__1_0; } inline void set_U3CblinkPeriodU3E__1_0(float value) { ___U3CblinkPeriodU3E__1_0 = value; } inline static int32_t get_offset_of_U3CblinkStateU3E__1_1() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U3CblinkStateU3E__1_1)); } inline bool get_U3CblinkStateU3E__1_1() const { return ___U3CblinkStateU3E__1_1; } inline bool* get_address_of_U3CblinkStateU3E__1_1() { return &___U3CblinkStateU3E__1_1; } inline void set_U3CblinkStateU3E__1_1(bool value) { ___U3CblinkStateU3E__1_1 = value; } inline static int32_t get_offset_of_U24this_2() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U24this_2)); } inline InputField_t533609195B110760BCFF00B746C87D81969CB005 * get_U24this_2() const { return ___U24this_2; } inline InputField_t533609195B110760BCFF00B746C87D81969CB005 ** get_address_of_U24this_2() { return &___U24this_2; } inline void set_U24this_2(InputField_t533609195B110760BCFF00B746C87D81969CB005 * value) { ___U24this_2 = value; Il2CppCodeGenWriteBarrier((&___U24this_2), value); } inline static int32_t get_offset_of_U24current_3() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U24current_3)); } inline RuntimeObject * get_U24current_3() const { return ___U24current_3; } inline RuntimeObject ** get_address_of_U24current_3() { return &___U24current_3; } inline void set_U24current_3(RuntimeObject * value) { ___U24current_3 = value; Il2CppCodeGenWriteBarrier((&___U24current_3), value); } inline static int32_t get_offset_of_U24disposing_4() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U24disposing_4)); } inline bool get_U24disposing_4() const { return ___U24disposing_4; } inline bool* get_address_of_U24disposing_4() { return &___U24disposing_4; } inline void set_U24disposing_4(bool value) { ___U24disposing_4 = value; } inline static int32_t get_offset_of_U24PC_5() { return static_cast<int32_t>(offsetof(U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD, ___U24PC_5)); } inline int32_t get_U24PC_5() const { return ___U24PC_5; } inline int32_t* get_address_of_U24PC_5() { return &___U24PC_5; } inline void set_U24PC_5(int32_t value) { ___U24PC_5 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CCARETBLINKU3EC__ITERATOR0_TBAECB439DA904F63C86A087BDC1399FF5C4B0EFD_H #ifndef U3CDELAYEDSETDIRTYU3EC__ITERATOR0_TB8BB61C2C033D95240B4E2704971663E4DC08073_H #define U3CDELAYEDSETDIRTYU3EC__ITERATOR0_TB8BB61C2C033D95240B4E2704971663E4DC08073_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.LayoutGroup_<DelayedSetDirty>c__Iterator0 struct U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073 : public RuntimeObject { public: // UnityEngine.RectTransform UnityEngine.UI.LayoutGroup_<DelayedSetDirty>c__Iterator0::rectTransform RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___rectTransform_0; // System.Object UnityEngine.UI.LayoutGroup_<DelayedSetDirty>c__Iterator0::U24current RuntimeObject * ___U24current_1; // System.Boolean UnityEngine.UI.LayoutGroup_<DelayedSetDirty>c__Iterator0::U24disposing bool ___U24disposing_2; // System.Int32 UnityEngine.UI.LayoutGroup_<DelayedSetDirty>c__Iterator0::U24PC int32_t ___U24PC_3; public: inline static int32_t get_offset_of_rectTransform_0() { return static_cast<int32_t>(offsetof(U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073, ___rectTransform_0)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_rectTransform_0() const { return ___rectTransform_0; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_rectTransform_0() { return &___rectTransform_0; } inline void set_rectTransform_0(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___rectTransform_0 = value; Il2CppCodeGenWriteBarrier((&___rectTransform_0), value); } inline static int32_t get_offset_of_U24current_1() { return static_cast<int32_t>(offsetof(U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073, ___U24current_1)); } inline RuntimeObject * get_U24current_1() const { return ___U24current_1; } inline RuntimeObject ** get_address_of_U24current_1() { return &___U24current_1; } inline void set_U24current_1(RuntimeObject * value) { ___U24current_1 = value; Il2CppCodeGenWriteBarrier((&___U24current_1), value); } inline static int32_t get_offset_of_U24disposing_2() { return static_cast<int32_t>(offsetof(U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073, ___U24disposing_2)); } inline bool get_U24disposing_2() const { return ___U24disposing_2; } inline bool* get_address_of_U24disposing_2() { return &___U24disposing_2; } inline void set_U24disposing_2(bool value) { ___U24disposing_2 = value; } inline static int32_t get_offset_of_U24PC_3() { return static_cast<int32_t>(offsetof(U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073, ___U24PC_3)); } inline int32_t get_U24PC_3() const { return ___U24PC_3; } inline int32_t* get_address_of_U24PC_3() { return &___U24PC_3; } inline void set_U24PC_3(int32_t value) { ___U24PC_3 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CDELAYEDSETDIRTYU3EC__ITERATOR0_TB8BB61C2C033D95240B4E2704971663E4DC08073_H #ifndef LAYOUTREBUILDER_T8D3501B43B1DE666140E2931FFA732B5B09EA5BD_H #define LAYOUTREBUILDER_T8D3501B43B1DE666140E2931FFA732B5B09EA5BD_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.LayoutRebuilder struct LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD : public RuntimeObject { public: // UnityEngine.RectTransform UnityEngine.UI.LayoutRebuilder::m_ToRebuild RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_ToRebuild_0; // System.Int32 UnityEngine.UI.LayoutRebuilder::m_CachedHashFromTransform int32_t ___m_CachedHashFromTransform_1; public: inline static int32_t get_offset_of_m_ToRebuild_0() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD, ___m_ToRebuild_0)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_ToRebuild_0() const { return ___m_ToRebuild_0; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_ToRebuild_0() { return &___m_ToRebuild_0; } inline void set_m_ToRebuild_0(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_ToRebuild_0 = value; Il2CppCodeGenWriteBarrier((&___m_ToRebuild_0), value); } inline static int32_t get_offset_of_m_CachedHashFromTransform_1() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD, ___m_CachedHashFromTransform_1)); } inline int32_t get_m_CachedHashFromTransform_1() const { return ___m_CachedHashFromTransform_1; } inline int32_t* get_address_of_m_CachedHashFromTransform_1() { return &___m_CachedHashFromTransform_1; } inline void set_m_CachedHashFromTransform_1(int32_t value) { ___m_CachedHashFromTransform_1 = value; } }; struct LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields { public: // UnityEngine.UI.ObjectPool`1<UnityEngine.UI.LayoutRebuilder> UnityEngine.UI.LayoutRebuilder::s_Rebuilders ObjectPool_1_tFA4F33849836CDB27432AE22249BB79D68619541 * ___s_Rebuilders_2; // UnityEngine.RectTransform_ReapplyDrivenProperties UnityEngine.UI.LayoutRebuilder::<>f__mgU24cache0 ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * ___U3CU3Ef__mgU24cache0_3; // System.Predicate`1<UnityEngine.Component> UnityEngine.UI.LayoutRebuilder::<>f__amU24cache0 Predicate_1_t1A9CE8ADB6E9328794CC409FD5BEAACA86D7D769 * ___U3CU3Ef__amU24cache0_4; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> UnityEngine.UI.LayoutRebuilder::<>f__amU24cache1 UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * ___U3CU3Ef__amU24cache1_5; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> UnityEngine.UI.LayoutRebuilder::<>f__amU24cache2 UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * ___U3CU3Ef__amU24cache2_6; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> UnityEngine.UI.LayoutRebuilder::<>f__amU24cache3 UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * ___U3CU3Ef__amU24cache3_7; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> UnityEngine.UI.LayoutRebuilder::<>f__amU24cache4 UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * ___U3CU3Ef__amU24cache4_8; public: inline static int32_t get_offset_of_s_Rebuilders_2() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___s_Rebuilders_2)); } inline ObjectPool_1_tFA4F33849836CDB27432AE22249BB79D68619541 * get_s_Rebuilders_2() const { return ___s_Rebuilders_2; } inline ObjectPool_1_tFA4F33849836CDB27432AE22249BB79D68619541 ** get_address_of_s_Rebuilders_2() { return &___s_Rebuilders_2; } inline void set_s_Rebuilders_2(ObjectPool_1_tFA4F33849836CDB27432AE22249BB79D68619541 * value) { ___s_Rebuilders_2 = value; Il2CppCodeGenWriteBarrier((&___s_Rebuilders_2), value); } inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_3() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__mgU24cache0_3)); } inline ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * get_U3CU3Ef__mgU24cache0_3() const { return ___U3CU3Ef__mgU24cache0_3; } inline ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D ** get_address_of_U3CU3Ef__mgU24cache0_3() { return &___U3CU3Ef__mgU24cache0_3; } inline void set_U3CU3Ef__mgU24cache0_3(ReapplyDrivenProperties_t431F4FBD9C59AE097FE33C4354CC6251B01B527D * value) { ___U3CU3Ef__mgU24cache0_3 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_3), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_4() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__amU24cache0_4)); } inline Predicate_1_t1A9CE8ADB6E9328794CC409FD5BEAACA86D7D769 * get_U3CU3Ef__amU24cache0_4() const { return ___U3CU3Ef__amU24cache0_4; } inline Predicate_1_t1A9CE8ADB6E9328794CC409FD5BEAACA86D7D769 ** get_address_of_U3CU3Ef__amU24cache0_4() { return &___U3CU3Ef__amU24cache0_4; } inline void set_U3CU3Ef__amU24cache0_4(Predicate_1_t1A9CE8ADB6E9328794CC409FD5BEAACA86D7D769 * value) { ___U3CU3Ef__amU24cache0_4 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_4), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache1_5() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__amU24cache1_5)); } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * get_U3CU3Ef__amU24cache1_5() const { return ___U3CU3Ef__amU24cache1_5; } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 ** get_address_of_U3CU3Ef__amU24cache1_5() { return &___U3CU3Ef__amU24cache1_5; } inline void set_U3CU3Ef__amU24cache1_5(UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * value) { ___U3CU3Ef__amU24cache1_5 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache1_5), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache2_6() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__amU24cache2_6)); } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * get_U3CU3Ef__amU24cache2_6() const { return ___U3CU3Ef__amU24cache2_6; } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 ** get_address_of_U3CU3Ef__amU24cache2_6() { return &___U3CU3Ef__amU24cache2_6; } inline void set_U3CU3Ef__amU24cache2_6(UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * value) { ___U3CU3Ef__amU24cache2_6 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache2_6), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache3_7() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__amU24cache3_7)); } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * get_U3CU3Ef__amU24cache3_7() const { return ___U3CU3Ef__amU24cache3_7; } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 ** get_address_of_U3CU3Ef__amU24cache3_7() { return &___U3CU3Ef__amU24cache3_7; } inline void set_U3CU3Ef__amU24cache3_7(UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * value) { ___U3CU3Ef__amU24cache3_7 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache3_7), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache4_8() { return static_cast<int32_t>(offsetof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields, ___U3CU3Ef__amU24cache4_8)); } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * get_U3CU3Ef__amU24cache4_8() const { return ___U3CU3Ef__amU24cache4_8; } inline UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 ** get_address_of_U3CU3Ef__amU24cache4_8() { return &___U3CU3Ef__amU24cache4_8; } inline void set_U3CU3Ef__amU24cache4_8(UnityAction_1_tD07424D822F8527D240A320A1866C70C835C7C99 * value) { ___U3CU3Ef__amU24cache4_8 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache4_8), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LAYOUTREBUILDER_T8D3501B43B1DE666140E2931FFA732B5B09EA5BD_H #ifndef LAYOUTUTILITY_T3B5074E34900DA384884FC50809EA395CB69E7D5_H #define LAYOUTUTILITY_T3B5074E34900DA384884FC50809EA395CB69E7D5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.LayoutUtility struct LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5 : public RuntimeObject { public: public: }; struct LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields { public: // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache0 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache0_0; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache1 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache1_1; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache2 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache2_2; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache3 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache3_3; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache4 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache4_4; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache5 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache5_5; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache6 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache6_6; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> UnityEngine.UI.LayoutUtility::<>f__amU24cache7 Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * ___U3CU3Ef__amU24cache7_7; public: inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_0() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache0_0)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache0_0() const { return ___U3CU3Ef__amU24cache0_0; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache0_0() { return &___U3CU3Ef__amU24cache0_0; } inline void set_U3CU3Ef__amU24cache0_0(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache0_0 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_0), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache1_1() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache1_1)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache1_1() const { return ___U3CU3Ef__amU24cache1_1; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache1_1() { return &___U3CU3Ef__amU24cache1_1; } inline void set_U3CU3Ef__amU24cache1_1(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache1_1 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache1_1), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache2_2() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache2_2)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache2_2() const { return ___U3CU3Ef__amU24cache2_2; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache2_2() { return &___U3CU3Ef__amU24cache2_2; } inline void set_U3CU3Ef__amU24cache2_2(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache2_2 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache2_2), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache3_3() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache3_3)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache3_3() const { return ___U3CU3Ef__amU24cache3_3; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache3_3() { return &___U3CU3Ef__amU24cache3_3; } inline void set_U3CU3Ef__amU24cache3_3(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache3_3 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache3_3), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache4_4() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache4_4)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache4_4() const { return ___U3CU3Ef__amU24cache4_4; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache4_4() { return &___U3CU3Ef__amU24cache4_4; } inline void set_U3CU3Ef__amU24cache4_4(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache4_4 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache4_4), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache5_5() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache5_5)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache5_5() const { return ___U3CU3Ef__amU24cache5_5; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache5_5() { return &___U3CU3Ef__amU24cache5_5; } inline void set_U3CU3Ef__amU24cache5_5(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache5_5 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache5_5), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache6_6() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache6_6)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache6_6() const { return ___U3CU3Ef__amU24cache6_6; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache6_6() { return &___U3CU3Ef__amU24cache6_6; } inline void set_U3CU3Ef__amU24cache6_6(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache6_6 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache6_6), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache7_7() { return static_cast<int32_t>(offsetof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields, ___U3CU3Ef__amU24cache7_7)); } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * get_U3CU3Ef__amU24cache7_7() const { return ___U3CU3Ef__amU24cache7_7; } inline Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 ** get_address_of_U3CU3Ef__amU24cache7_7() { return &___U3CU3Ef__amU24cache7_7; } inline void set_U3CU3Ef__amU24cache7_7(Func_2_tCC31999C8C9743F42A2D59A3570B71FFA3DB09B3 * value) { ___U3CU3Ef__amU24cache7_7 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache7_7), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LAYOUTUTILITY_T3B5074E34900DA384884FC50809EA395CB69E7D5_H #ifndef MASKUTILITIES_T28395C0AF1B83B3A798D76DC69B012BB303D9683_H #define MASKUTILITIES_T28395C0AF1B83B3A798D76DC69B012BB303D9683_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.MaskUtilities struct MaskUtilities_t28395C0AF1B83B3A798D76DC69B012BB303D9683 : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MASKUTILITIES_T28395C0AF1B83B3A798D76DC69B012BB303D9683_H #ifndef MISC_T87057804A6479127307E42B6C83A4F3244521315_H #define MISC_T87057804A6479127307E42B6C83A4F3244521315_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Misc struct Misc_t87057804A6479127307E42B6C83A4F3244521315 : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MISC_T87057804A6479127307E42B6C83A4F3244521315_H #ifndef MULTIPLEDISPLAYUTILITIES_T0C0C3B406CC78C2E7A290C62E132CC1BDC3BD31A_H #define MULTIPLEDISPLAYUTILITIES_T0C0C3B406CC78C2E7A290C62E132CC1BDC3BD31A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.MultipleDisplayUtilities struct MultipleDisplayUtilities_t0C0C3B406CC78C2E7A290C62E132CC1BDC3BD31A : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MULTIPLEDISPLAYUTILITIES_T0C0C3B406CC78C2E7A290C62E132CC1BDC3BD31A_H #ifndef RECTANGULARVERTEXCLIPPER_T6C47856C4F775A5799A49A100196C2BB14C5DD91_H #define RECTANGULARVERTEXCLIPPER_T6C47856C4F775A5799A49A100196C2BB14C5DD91_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.RectangularVertexClipper struct RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91 : public RuntimeObject { public: // UnityEngine.Vector3[] UnityEngine.UI.RectangularVertexClipper::m_WorldCorners Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_WorldCorners_0; // UnityEngine.Vector3[] UnityEngine.UI.RectangularVertexClipper::m_CanvasCorners Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_CanvasCorners_1; public: inline static int32_t get_offset_of_m_WorldCorners_0() { return static_cast<int32_t>(offsetof(RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91, ___m_WorldCorners_0)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_WorldCorners_0() const { return ___m_WorldCorners_0; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_WorldCorners_0() { return &___m_WorldCorners_0; } inline void set_m_WorldCorners_0(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___m_WorldCorners_0 = value; Il2CppCodeGenWriteBarrier((&___m_WorldCorners_0), value); } inline static int32_t get_offset_of_m_CanvasCorners_1() { return static_cast<int32_t>(offsetof(RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91, ___m_CanvasCorners_1)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_CanvasCorners_1() const { return ___m_CanvasCorners_1; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_CanvasCorners_1() { return &___m_CanvasCorners_1; } inline void set_m_CanvasCorners_1(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___m_CanvasCorners_1 = value; Il2CppCodeGenWriteBarrier((&___m_CanvasCorners_1), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RECTANGULARVERTEXCLIPPER_T6C47856C4F775A5799A49A100196C2BB14C5DD91_H #ifndef U3CCLICKREPEATU3EC__ITERATOR0_T55D73CD12F113655D5F6E7CF7EF888640229401D_H #define U3CCLICKREPEATU3EC__ITERATOR0_T55D73CD12F113655D5F6E7CF7EF888640229401D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0 struct U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D : public RuntimeObject { public: // UnityEngine.EventSystems.PointerEventData UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0::eventData PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * ___eventData_0; // UnityEngine.UI.Scrollbar UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0::U24this Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * ___U24this_1; // System.Object UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0::U24current RuntimeObject * ___U24current_2; // System.Boolean UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0::U24disposing bool ___U24disposing_3; // System.Int32 UnityEngine.UI.Scrollbar_<ClickRepeat>c__Iterator0::U24PC int32_t ___U24PC_4; public: inline static int32_t get_offset_of_eventData_0() { return static_cast<int32_t>(offsetof(U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D, ___eventData_0)); } inline PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * get_eventData_0() const { return ___eventData_0; } inline PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 ** get_address_of_eventData_0() { return &___eventData_0; } inline void set_eventData_0(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * value) { ___eventData_0 = value; Il2CppCodeGenWriteBarrier((&___eventData_0), value); } inline static int32_t get_offset_of_U24this_1() { return static_cast<int32_t>(offsetof(U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D, ___U24this_1)); } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * get_U24this_1() const { return ___U24this_1; } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 ** get_address_of_U24this_1() { return &___U24this_1; } inline void set_U24this_1(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * value) { ___U24this_1 = value; Il2CppCodeGenWriteBarrier((&___U24this_1), value); } inline static int32_t get_offset_of_U24current_2() { return static_cast<int32_t>(offsetof(U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D, ___U24current_2)); } inline RuntimeObject * get_U24current_2() const { return ___U24current_2; } inline RuntimeObject ** get_address_of_U24current_2() { return &___U24current_2; } inline void set_U24current_2(RuntimeObject * value) { ___U24current_2 = value; Il2CppCodeGenWriteBarrier((&___U24current_2), value); } inline static int32_t get_offset_of_U24disposing_3() { return static_cast<int32_t>(offsetof(U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D, ___U24disposing_3)); } inline bool get_U24disposing_3() const { return ___U24disposing_3; } inline bool* get_address_of_U24disposing_3() { return &___U24disposing_3; } inline void set_U24disposing_3(bool value) { ___U24disposing_3 = value; } inline static int32_t get_offset_of_U24PC_4() { return static_cast<int32_t>(offsetof(U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D, ___U24PC_4)); } inline int32_t get_U24PC_4() const { return ___U24PC_4; } inline int32_t* get_address_of_U24PC_4() { return &___U24PC_4; } inline void set_U24PC_4(int32_t value) { ___U24PC_4 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CCLICKREPEATU3EC__ITERATOR0_T55D73CD12F113655D5F6E7CF7EF888640229401D_H #ifndef SETPROPERTYUTILITY_T20B3FC057E91FD49F7F71279C2DFAAD263E32DEC_H #define SETPROPERTYUTILITY_T20B3FC057E91FD49F7F71279C2DFAAD263E32DEC_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.SetPropertyUtility struct SetPropertyUtility_t20B3FC057E91FD49F7F71279C2DFAAD263E32DEC : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SETPROPERTYUTILITY_T20B3FC057E91FD49F7F71279C2DFAAD263E32DEC_H #ifndef STENCILMATERIAL_T1DC5D1CDE53AF67E74925AC2F4083FD29810D974_H #define STENCILMATERIAL_T1DC5D1CDE53AF67E74925AC2F4083FD29810D974_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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_t76ABA3DC8DDC9B204D304CCD7FF837BD04C0770A * ___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_t76ABA3DC8DDC9B204D304CCD7FF837BD04C0770A * get_m_List_0() const { return ___m_List_0; } inline List_1_t76ABA3DC8DDC9B204D304CCD7FF837BD04C0770A ** get_address_of_m_List_0() { return &___m_List_0; } inline void set_m_List_0(List_1_t76ABA3DC8DDC9B204D304CCD7FF837BD04C0770A * value) { ___m_List_0 = value; Il2CppCodeGenWriteBarrier((&___m_List_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // STENCILMATERIAL_T1DC5D1CDE53AF67E74925AC2F4083FD29810D974_H #ifndef CHAR_TBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_H #define CHAR_TBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Char struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9 { public: // System.Char System.Char::m_value Il2CppChar ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9, ___m_value_0)); } inline Il2CppChar get_m_value_0() const { return ___m_value_0; } inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(Il2CppChar value) { ___m_value_0 = value; } }; struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields { public: // System.Byte[] System.Char::categoryForLatin1 ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___categoryForLatin1_3; public: inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields, ___categoryForLatin1_3)); } inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; } inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; } inline void set_categoryForLatin1_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value) { ___categoryForLatin1_3 = value; Il2CppCodeGenWriteBarrier((&___categoryForLatin1_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CHAR_TBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_H #ifndef ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #define ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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((&___enumSeperatorCharArray_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // 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 { }; #endif // ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H #ifndef INT32_T585191389E07734F19F3156FF88FB3EF4800D102_H #define INT32_T585191389E07734F19F3156FF88FB3EF4800D102_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INT32_T585191389E07734F19F3156FF88FB3EF4800D102_H #ifndef INTPTR_T_H #define INTPTR_T_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.IntPtr struct IntPtr_t { public: // System.Void* System.IntPtr::m_value void* ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); } inline void* get_m_value_0() const { return ___m_value_0; } inline void** get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(void* value) { ___m_value_0 = value; } }; struct IntPtr_t_StaticFields { public: // System.IntPtr System.IntPtr::Zero intptr_t ___Zero_1; public: inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); } inline intptr_t get_Zero_1() const { return ___Zero_1; } inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; } inline void set_Zero_1(intptr_t value) { ___Zero_1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INTPTR_T_H #ifndef COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H #define COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H #ifndef DRIVENRECTTRANSFORMTRACKER_TB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03_H #define DRIVENRECTTRANSFORMTRACKER_TB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.DrivenRectTransformTracker struct DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 { public: union { struct { }; uint8_t DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03__padding[1]; }; public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DRIVENRECTTRANSFORMTRACKER_TB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03_H #ifndef UNITYEVENT_1_T6FE5C79FD433599728A9AA732E588823AB88FDB5_H #define UNITYEVENT_1_T6FE5C79FD433599728A9AA732E588823AB88FDB5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEvent`1<System.Boolean> struct UnityEvent_1_t6FE5C79FD433599728A9AA732E588823AB88FDB5 : 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_t6FE5C79FD433599728A9AA732E588823AB88FDB5, ___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((&___m_InvokeArray_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENT_1_T6FE5C79FD433599728A9AA732E588823AB88FDB5_H #ifndef UNITYEVENT_1_T6DD758393B13FC2A58BE44E647D9EBEA4F27D914_H #define UNITYEVENT_1_T6DD758393B13FC2A58BE44E647D9EBEA4F27D914_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEvent`1<System.Int32> struct UnityEvent_1_t6DD758393B13FC2A58BE44E647D9EBEA4F27D914 : 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_t6DD758393B13FC2A58BE44E647D9EBEA4F27D914, ___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((&___m_InvokeArray_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENT_1_T6DD758393B13FC2A58BE44E647D9EBEA4F27D914_H #ifndef UNITYEVENT_1_T7839A0014FFD3A212A87547A44A7719D6549ED87_H #define UNITYEVENT_1_T7839A0014FFD3A212A87547A44A7719D6549ED87_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEvent`1<System.Single> struct UnityEvent_1_t7839A0014FFD3A212A87547A44A7719D6549ED87 : 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_t7839A0014FFD3A212A87547A44A7719D6549ED87, ___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((&___m_InvokeArray_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENT_1_T7839A0014FFD3A212A87547A44A7719D6549ED87_H #ifndef UNITYEVENT_1_TACA444CD8B2CBDCD9393629F06117A47C27A8F15_H #define UNITYEVENT_1_TACA444CD8B2CBDCD9393629F06117A47C27A8F15_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEvent`1<System.String> struct UnityEvent_1_tACA444CD8B2CBDCD9393629F06117A47C27A8F15 : 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_tACA444CD8B2CBDCD9393629F06117A47C27A8F15, ___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((&___m_InvokeArray_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENT_1_TACA444CD8B2CBDCD9393629F06117A47C27A8F15_H #ifndef UNITYEVENT_1_T88E036FD5956DB491BCC160FA57EF4F9584042B9_H #define UNITYEVENT_1_T88E036FD5956DB491BCC160FA57EF4F9584042B9_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2> struct UnityEvent_1_t88E036FD5956DB491BCC160FA57EF4F9584042B9 : 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_t88E036FD5956DB491BCC160FA57EF4F9584042B9, ___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((&___m_InvokeArray_3), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNITYEVENT_1_T88E036FD5956DB491BCC160FA57EF4F9584042B9_H #ifndef LAYERMASK_TBB9173D8B6939D476E67E849280AC9F4EC4D93B0_H #define LAYERMASK_TBB9173D8B6939D476E67E849280AC9F4EC4D93B0_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.LayerMask struct LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0 { public: // System.Int32 UnityEngine.LayerMask::m_Mask int32_t ___m_Mask_0; public: inline static int32_t get_offset_of_m_Mask_0() { return static_cast<int32_t>(offsetof(LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0, ___m_Mask_0)); } inline int32_t get_m_Mask_0() const { return ___m_Mask_0; } inline int32_t* get_address_of_m_Mask_0() { return &___m_Mask_0; } inline void set_m_Mask_0(int32_t value) { ___m_Mask_0 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LAYERMASK_TBB9173D8B6939D476E67E849280AC9F4EC4D93B0_H #ifndef RECT_T35B976DE901B5423C11705E156938EA27AB402CE_H #define RECT_T35B976DE901B5423C11705E156938EA27AB402CE_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RECT_T35B976DE901B5423C11705E156938EA27AB402CE_H #ifndef SPRITESTATE_T58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_H #define SPRITESTATE_T58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.SpriteState struct SpriteState_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_DisabledSprite Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_DisabledSprite_2; 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((&___m_HighlightedSprite_0), 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((&___m_PressedSprite_1), value); } inline static int32_t get_offset_of_m_DisabledSprite_2() { return static_cast<int32_t>(offsetof(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A, ___m_DisabledSprite_2)); } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_DisabledSprite_2() const { return ___m_DisabledSprite_2; } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_DisabledSprite_2() { return &___m_DisabledSprite_2; } inline void set_m_DisabledSprite_2(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value) { ___m_DisabledSprite_2 = value; Il2CppCodeGenWriteBarrier((&___m_DisabledSprite_2), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of UnityEngine.UI.SpriteState struct SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_marshaled_pinvoke { Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_HighlightedSprite_0; Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_PressedSprite_1; Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_DisabledSprite_2; }; // 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_DisabledSprite_2; }; #endif // SPRITESTATE_T58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A_H #ifndef VECTOR2_TA85D2DD88578276CA8A8796756458277E72D073D_H #define VECTOR2_TA85D2DD88578276CA8A8796756458277E72D073D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // VECTOR2_TA85D2DD88578276CA8A8796756458277E72D073D_H #ifndef VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H #define VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H #ifndef DELEGATE_T_H #define DELEGATE_T_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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((&___m_target_2), 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((&___method_info_7), 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((&___original_method_info_8), 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((&___data_9), 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // 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; }; #endif // DELEGATE_T_H #ifndef BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H #define BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Bounds struct Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 { public: // UnityEngine.Vector3 UnityEngine.Bounds::m_Center Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Center_0; // UnityEngine.Vector3 UnityEngine.Bounds::m_Extents Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Extents_1; public: inline static int32_t get_offset_of_m_Center_0() { return static_cast<int32_t>(offsetof(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890, ___m_Center_0)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Center_0() const { return ___m_Center_0; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Center_0() { return &___m_Center_0; } inline void set_m_Center_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___m_Center_0 = value; } inline static int32_t get_offset_of_m_Extents_1() { return static_cast<int32_t>(offsetof(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890, ___m_Extents_1)); } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Extents_1() const { return ___m_Extents_1; } inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Extents_1() { return &___m_Extents_1; } inline void set_m_Extents_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value) { ___m_Extents_1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H #ifndef FONTSTYLE_T273973EBB1F40C2381F6D60AB957149DE5720CF3_H #define FONTSTYLE_T273973EBB1F40C2381F6D60AB957149DE5720CF3_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // FONTSTYLE_T273973EBB1F40C2381F6D60AB957149DE5720CF3_H #ifndef HORIZONTALWRAPMODE_T56D876281F814EC1AF0C21A34E20BBF4BEEA302C_H #define HORIZONTALWRAPMODE_T56D876281F814EC1AF0C21A34E20BBF4BEEA302C_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // HORIZONTALWRAPMODE_T56D876281F814EC1AF0C21A34E20BBF4BEEA302C_H #ifndef OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H #define OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // 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; }; #endif // OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H #ifndef COLORWRITEMASK_T5DC00042EAC46AEEB06A7E0D51EA00C26F076E70_H #define COLORWRITEMASK_T5DC00042EAC46AEEB06A7E0D51EA00C26F076E70_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COLORWRITEMASK_T5DC00042EAC46AEEB06A7E0D51EA00C26F076E70_H #ifndef COMPAREFUNCTION_T217BE827C5994EDCA3FE70CE73578C2F729F9E69_H #define COMPAREFUNCTION_T217BE827C5994EDCA3FE70CE73578C2F729F9E69_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COMPAREFUNCTION_T217BE827C5994EDCA3FE70CE73578C2F729F9E69_H #ifndef STENCILOP_T39C53F937E65AEB59181772222564CEE34A3A48A_H #define STENCILOP_T39C53F937E65AEB59181772222564CEE34A3A48A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // STENCILOP_T39C53F937E65AEB59181772222564CEE34A3A48A_H #ifndef TEXTANCHOR_TEC19034D476659A5E05366C63564F34DD30E7C57_H #define TEXTANCHOR_TEC19034D476659A5E05366C63564F34DD30E7C57_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TEXTANCHOR_TEC19034D476659A5E05366C63564F34DD30E7C57_H #ifndef TOUCHSCREENKEYBOARDTYPE_TDD21D45735F3021BF4C6C7C1A660ABF03EBCE602_H #define TOUCHSCREENKEYBOARDTYPE_TDD21D45735F3021BF4C6C7C1A660ABF03EBCE602_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.TouchScreenKeyboardType struct TouchScreenKeyboardType_tDD21D45735F3021BF4C6C7C1A660ABF03EBCE602 { public: // System.Int32 UnityEngine.TouchScreenKeyboardType::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TouchScreenKeyboardType_tDD21D45735F3021BF4C6C7C1A660ABF03EBCE602, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TOUCHSCREENKEYBOARDTYPE_TDD21D45735F3021BF4C6C7C1A660ABF03EBCE602_H #ifndef ASPECTMODE_T2D8C205891B8E63CA16B6AC3BA1D41320903C65A_H #define ASPECTMODE_T2D8C205891B8E63CA16B6AC3BA1D41320903C65A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.AspectRatioFitter_AspectMode struct AspectMode_t2D8C205891B8E63CA16B6AC3BA1D41320903C65A { public: // System.Int32 UnityEngine.UI.AspectRatioFitter_AspectMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AspectMode_t2D8C205891B8E63CA16B6AC3BA1D41320903C65A, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ASPECTMODE_T2D8C205891B8E63CA16B6AC3BA1D41320903C65A_H #ifndef SCALEMODE_T38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6_H #define SCALEMODE_T38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.CanvasScaler_ScaleMode struct ScaleMode_t38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6 { public: // System.Int32 UnityEngine.UI.CanvasScaler_ScaleMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ScaleMode_t38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCALEMODE_T38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6_H #ifndef SCREENMATCHMODE_T61C3A62F8F54F705D47C2C37B06DC8083238C133_H #define SCREENMATCHMODE_T61C3A62F8F54F705D47C2C37B06DC8083238C133_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.CanvasScaler_ScreenMatchMode struct ScreenMatchMode_t61C3A62F8F54F705D47C2C37B06DC8083238C133 { public: // System.Int32 UnityEngine.UI.CanvasScaler_ScreenMatchMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ScreenMatchMode_t61C3A62F8F54F705D47C2C37B06DC8083238C133, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCREENMATCHMODE_T61C3A62F8F54F705D47C2C37B06DC8083238C133_H #ifndef UNIT_TD24A4DB24016D1A6B46579640E170359F76F8313_H #define UNIT_TD24A4DB24016D1A6B46579640E170359F76F8313_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.CanvasScaler_Unit struct Unit_tD24A4DB24016D1A6B46579640E170359F76F8313 { public: // System.Int32 UnityEngine.UI.CanvasScaler_Unit::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Unit_tD24A4DB24016D1A6B46579640E170359F76F8313, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UNIT_TD24A4DB24016D1A6B46579640E170359F76F8313_H #ifndef COLORBLOCK_T93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA_H #define COLORBLOCK_T93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ColorBlock struct ColorBlock_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_DisabledColor Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_DisabledColor_3; // System.Single UnityEngine.UI.ColorBlock::m_ColorMultiplier float ___m_ColorMultiplier_4; // System.Single UnityEngine.UI.ColorBlock::m_FadeDuration float ___m_FadeDuration_5; public: inline static int32_t get_offset_of_m_NormalColor_0() { return static_cast<int32_t>(offsetof(ColorBlock_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_DisabledColor_3() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_DisabledColor_3)); } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_DisabledColor_3() const { return ___m_DisabledColor_3; } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_DisabledColor_3() { return &___m_DisabledColor_3; } inline void set_m_DisabledColor_3(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value) { ___m_DisabledColor_3 = value; } inline static int32_t get_offset_of_m_ColorMultiplier_4() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_ColorMultiplier_4)); } inline float get_m_ColorMultiplier_4() const { return ___m_ColorMultiplier_4; } inline float* get_address_of_m_ColorMultiplier_4() { return &___m_ColorMultiplier_4; } inline void set_m_ColorMultiplier_4(float value) { ___m_ColorMultiplier_4 = value; } inline static int32_t get_offset_of_m_FadeDuration_5() { return static_cast<int32_t>(offsetof(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA, ___m_FadeDuration_5)); } inline float get_m_FadeDuration_5() const { return ___m_FadeDuration_5; } inline float* get_address_of_m_FadeDuration_5() { return &___m_FadeDuration_5; } inline void set_m_FadeDuration_5(float value) { ___m_FadeDuration_5 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COLORBLOCK_T93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA_H #ifndef FITMODE_TBF783E77415F7063B468C18E758F738D83D60A08_H #define FITMODE_TBF783E77415F7063B468C18E758F738D83D60A08_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ContentSizeFitter_FitMode struct FitMode_tBF783E77415F7063B468C18E758F738D83D60A08 { public: // System.Int32 UnityEngine.UI.ContentSizeFitter_FitMode::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FitMode_tBF783E77415F7063B468C18E758F738D83D60A08, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // FITMODE_TBF783E77415F7063B468C18E758F738D83D60A08_H #ifndef DROPDOWNEVENT_T429FBB093ED3586F5D49859EBD338125EAB76306_H #define DROPDOWNEVENT_T429FBB093ED3586F5D49859EBD338125EAB76306_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_DropdownEvent struct DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306 : public UnityEvent_1_t6DD758393B13FC2A58BE44E647D9EBEA4F27D914 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DROPDOWNEVENT_T429FBB093ED3586F5D49859EBD338125EAB76306_H #ifndef BLOCKINGOBJECTS_TFC334A7FDC8003C26A58D8FF24EDD045C49F9E23_H #define BLOCKINGOBJECTS_TFC334A7FDC8003C26A58D8FF24EDD045C49F9E23_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GraphicRaycaster_BlockingObjects struct BlockingObjects_tFC334A7FDC8003C26A58D8FF24EDD045C49F9E23 { public: // System.Int32 UnityEngine.UI.GraphicRaycaster_BlockingObjects::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BlockingObjects_tFC334A7FDC8003C26A58D8FF24EDD045C49F9E23, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BLOCKINGOBJECTS_TFC334A7FDC8003C26A58D8FF24EDD045C49F9E23_H #ifndef AXIS_TD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0_H #define AXIS_TD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GridLayoutGroup_Axis struct Axis_tD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0 { public: // System.Int32 UnityEngine.UI.GridLayoutGroup_Axis::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Axis_tD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // AXIS_TD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0_H #ifndef CONSTRAINT_TF471E55525B89D1E7C938CC0AF7515709494C59D_H #define CONSTRAINT_TF471E55525B89D1E7C938CC0AF7515709494C59D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GridLayoutGroup_Constraint struct Constraint_tF471E55525B89D1E7C938CC0AF7515709494C59D { public: // System.Int32 UnityEngine.UI.GridLayoutGroup_Constraint::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Constraint_tF471E55525B89D1E7C938CC0AF7515709494C59D, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CONSTRAINT_TF471E55525B89D1E7C938CC0AF7515709494C59D_H #ifndef CORNER_TD61F36EC56D401A65DA06BE1A21689319201D18E_H #define CORNER_TD61F36EC56D401A65DA06BE1A21689319201D18E_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GridLayoutGroup_Corner struct Corner_tD61F36EC56D401A65DA06BE1A21689319201D18E { public: // System.Int32 UnityEngine.UI.GridLayoutGroup_Corner::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Corner_tD61F36EC56D401A65DA06BE1A21689319201D18E, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CORNER_TD61F36EC56D401A65DA06BE1A21689319201D18E_H #ifndef FILLMETHOD_T0DB7332683118B7C7D2748BE74CFBF19CD19F8C5_H #define FILLMETHOD_T0DB7332683118B7C7D2748BE74CFBF19CD19F8C5_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_FillMethod struct FillMethod_t0DB7332683118B7C7D2748BE74CFBF19CD19F8C5 { public: // System.Int32 UnityEngine.UI.Image_FillMethod::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FillMethod_t0DB7332683118B7C7D2748BE74CFBF19CD19F8C5, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // FILLMETHOD_T0DB7332683118B7C7D2748BE74CFBF19CD19F8C5_H #ifndef ORIGIN180_TCF5E1711B4803DCB48210FFE1B23C253242EFC62_H #define ORIGIN180_TCF5E1711B4803DCB48210FFE1B23C253242EFC62_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_Origin180 struct Origin180_tCF5E1711B4803DCB48210FFE1B23C253242EFC62 { public: // System.Int32 UnityEngine.UI.Image_Origin180::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Origin180_tCF5E1711B4803DCB48210FFE1B23C253242EFC62, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ORIGIN180_TCF5E1711B4803DCB48210FFE1B23C253242EFC62_H #ifndef ORIGIN360_TF25A2DF8C754C42BEAB24082ED5243E047CB9575_H #define ORIGIN360_TF25A2DF8C754C42BEAB24082ED5243E047CB9575_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_Origin360 struct Origin360_tF25A2DF8C754C42BEAB24082ED5243E047CB9575 { public: // System.Int32 UnityEngine.UI.Image_Origin360::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Origin360_tF25A2DF8C754C42BEAB24082ED5243E047CB9575, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ORIGIN360_TF25A2DF8C754C42BEAB24082ED5243E047CB9575_H #ifndef ORIGIN90_TA111B7ECE5F050DAC340410DCAF50B7900707DBD_H #define ORIGIN90_TA111B7ECE5F050DAC340410DCAF50B7900707DBD_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_Origin90 struct Origin90_tA111B7ECE5F050DAC340410DCAF50B7900707DBD { public: // System.Int32 UnityEngine.UI.Image_Origin90::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Origin90_tA111B7ECE5F050DAC340410DCAF50B7900707DBD, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ORIGIN90_TA111B7ECE5F050DAC340410DCAF50B7900707DBD_H #ifndef ORIGINHORIZONTAL_T042F335793CA8EA2C0D55B2B27820D9674075394_H #define ORIGINHORIZONTAL_T042F335793CA8EA2C0D55B2B27820D9674075394_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_OriginHorizontal struct OriginHorizontal_t042F335793CA8EA2C0D55B2B27820D9674075394 { public: // System.Int32 UnityEngine.UI.Image_OriginHorizontal::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(OriginHorizontal_t042F335793CA8EA2C0D55B2B27820D9674075394, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ORIGINHORIZONTAL_T042F335793CA8EA2C0D55B2B27820D9674075394_H #ifndef ORIGINVERTICAL_T921649D0F10E91D5FE9E48725A7C562308798125_H #define ORIGINVERTICAL_T921649D0F10E91D5FE9E48725A7C562308798125_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_OriginVertical struct OriginVertical_t921649D0F10E91D5FE9E48725A7C562308798125 { public: // System.Int32 UnityEngine.UI.Image_OriginVertical::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(OriginVertical_t921649D0F10E91D5FE9E48725A7C562308798125, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ORIGINVERTICAL_T921649D0F10E91D5FE9E48725A7C562308798125_H #ifndef TYPE_T96B8A259B84ADA5E7D3B1F13AEAE22175937F38A_H #define TYPE_T96B8A259B84ADA5E7D3B1F13AEAE22175937F38A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image_Type struct Type_t96B8A259B84ADA5E7D3B1F13AEAE22175937F38A { public: // System.Int32 UnityEngine.UI.Image_Type::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Type_t96B8A259B84ADA5E7D3B1F13AEAE22175937F38A, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TYPE_T96B8A259B84ADA5E7D3B1F13AEAE22175937F38A_H #ifndef U3CMOUSEDRAGOUTSIDERECTU3EC__ITERATOR1_T57B6720893544DB94693C04826902DF76B0DFDB2_H #define U3CMOUSEDRAGOUTSIDERECTU3EC__ITERATOR1_T57B6720893544DB94693C04826902DF76B0DFDB2_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1 struct U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2 : public RuntimeObject { public: // UnityEngine.Vector2 UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::<position>__1 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3CpositionU3E__1_0; // UnityEngine.EventSystems.PointerEventData UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::eventData PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * ___eventData_1; // UnityEngine.Vector2 UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::<localMousePos>__1 Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___U3ClocalMousePosU3E__1_2; // UnityEngine.Rect UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::<rect>__1 Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___U3CrectU3E__1_3; // System.Single UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::<delay>__1 float ___U3CdelayU3E__1_4; // UnityEngine.UI.InputField UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::U24this InputField_t533609195B110760BCFF00B746C87D81969CB005 * ___U24this_5; // System.Object UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::U24current RuntimeObject * ___U24current_6; // System.Boolean UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::U24disposing bool ___U24disposing_7; // System.Int32 UnityEngine.UI.InputField_<MouseDragOutsideRect>c__Iterator1::U24PC int32_t ___U24PC_8; public: inline static int32_t get_offset_of_U3CpositionU3E__1_0() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U3CpositionU3E__1_0)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3CpositionU3E__1_0() const { return ___U3CpositionU3E__1_0; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3CpositionU3E__1_0() { return &___U3CpositionU3E__1_0; } inline void set_U3CpositionU3E__1_0(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___U3CpositionU3E__1_0 = value; } inline static int32_t get_offset_of_eventData_1() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___eventData_1)); } inline PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * get_eventData_1() const { return ___eventData_1; } inline PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 ** get_address_of_eventData_1() { return &___eventData_1; } inline void set_eventData_1(PointerEventData_tC18994283B7753E430E316A62D9E45BA6D644C63 * value) { ___eventData_1 = value; Il2CppCodeGenWriteBarrier((&___eventData_1), value); } inline static int32_t get_offset_of_U3ClocalMousePosU3E__1_2() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U3ClocalMousePosU3E__1_2)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_U3ClocalMousePosU3E__1_2() const { return ___U3ClocalMousePosU3E__1_2; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_U3ClocalMousePosU3E__1_2() { return &___U3ClocalMousePosU3E__1_2; } inline void set_U3ClocalMousePosU3E__1_2(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___U3ClocalMousePosU3E__1_2 = value; } inline static int32_t get_offset_of_U3CrectU3E__1_3() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U3CrectU3E__1_3)); } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_U3CrectU3E__1_3() const { return ___U3CrectU3E__1_3; } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_U3CrectU3E__1_3() { return &___U3CrectU3E__1_3; } inline void set_U3CrectU3E__1_3(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value) { ___U3CrectU3E__1_3 = value; } inline static int32_t get_offset_of_U3CdelayU3E__1_4() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U3CdelayU3E__1_4)); } inline float get_U3CdelayU3E__1_4() const { return ___U3CdelayU3E__1_4; } inline float* get_address_of_U3CdelayU3E__1_4() { return &___U3CdelayU3E__1_4; } inline void set_U3CdelayU3E__1_4(float value) { ___U3CdelayU3E__1_4 = value; } inline static int32_t get_offset_of_U24this_5() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U24this_5)); } inline InputField_t533609195B110760BCFF00B746C87D81969CB005 * get_U24this_5() const { return ___U24this_5; } inline InputField_t533609195B110760BCFF00B746C87D81969CB005 ** get_address_of_U24this_5() { return &___U24this_5; } inline void set_U24this_5(InputField_t533609195B110760BCFF00B746C87D81969CB005 * value) { ___U24this_5 = value; Il2CppCodeGenWriteBarrier((&___U24this_5), value); } inline static int32_t get_offset_of_U24current_6() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U24current_6)); } inline RuntimeObject * get_U24current_6() const { return ___U24current_6; } inline RuntimeObject ** get_address_of_U24current_6() { return &___U24current_6; } inline void set_U24current_6(RuntimeObject * value) { ___U24current_6 = value; Il2CppCodeGenWriteBarrier((&___U24current_6), value); } inline static int32_t get_offset_of_U24disposing_7() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U24disposing_7)); } inline bool get_U24disposing_7() const { return ___U24disposing_7; } inline bool* get_address_of_U24disposing_7() { return &___U24disposing_7; } inline void set_U24disposing_7(bool value) { ___U24disposing_7 = value; } inline static int32_t get_offset_of_U24PC_8() { return static_cast<int32_t>(offsetof(U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2, ___U24PC_8)); } inline int32_t get_U24PC_8() const { return ___U24PC_8; } inline int32_t* get_address_of_U24PC_8() { return &___U24PC_8; } inline void set_U24PC_8(int32_t value) { ___U24PC_8 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CMOUSEDRAGOUTSIDERECTU3EC__ITERATOR1_T57B6720893544DB94693C04826902DF76B0DFDB2_H #ifndef CHARACTERVALIDATION_T2661E1767E01D63D4C8CE8F95C53C617118F206E_H #define CHARACTERVALIDATION_T2661E1767E01D63D4C8CE8F95C53C617118F206E_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_CharacterValidation struct CharacterValidation_t2661E1767E01D63D4C8CE8F95C53C617118F206E { public: // System.Int32 UnityEngine.UI.InputField_CharacterValidation::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CharacterValidation_t2661E1767E01D63D4C8CE8F95C53C617118F206E, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CHARACTERVALIDATION_T2661E1767E01D63D4C8CE8F95C53C617118F206E_H #ifndef CONTENTTYPE_T8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048_H #define CONTENTTYPE_T8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_ContentType struct ContentType_t8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048 { public: // System.Int32 UnityEngine.UI.InputField_ContentType::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ContentType_t8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CONTENTTYPE_T8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048_H #ifndef EDITSTATE_TCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629_H #define EDITSTATE_TCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_EditState struct EditState_tCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629 { public: // System.Int32 UnityEngine.UI.InputField_EditState::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(EditState_tCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // EDITSTATE_TCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629_H #ifndef INPUTTYPE_T1726189312457C509B0693B5ACDB9DA7387EB54A_H #define INPUTTYPE_T1726189312457C509B0693B5ACDB9DA7387EB54A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_InputType struct InputType_t1726189312457C509B0693B5ACDB9DA7387EB54A { public: // System.Int32 UnityEngine.UI.InputField_InputType::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(InputType_t1726189312457C509B0693B5ACDB9DA7387EB54A, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INPUTTYPE_T1726189312457C509B0693B5ACDB9DA7387EB54A_H #ifndef LINETYPE_T9C34D02DDDA75D3E914ADD9E417258B40D56DED6_H #define LINETYPE_T9C34D02DDDA75D3E914ADD9E417258B40D56DED6_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_LineType struct LineType_t9C34D02DDDA75D3E914ADD9E417258B40D56DED6 { public: // System.Int32 UnityEngine.UI.InputField_LineType::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LineType_t9C34D02DDDA75D3E914ADD9E417258B40D56DED6, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LINETYPE_T9C34D02DDDA75D3E914ADD9E417258B40D56DED6_H #ifndef ONCHANGEEVENT_T6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A_H #define ONCHANGEEVENT_T6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_OnChangeEvent struct OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A : public UnityEvent_1_tACA444CD8B2CBDCD9393629F06117A47C27A8F15 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ONCHANGEEVENT_T6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A_H #ifndef SUBMITEVENT_TE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A_H #define SUBMITEVENT_TE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_SubmitEvent struct SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A : public UnityEvent_1_tACA444CD8B2CBDCD9393629F06117A47C27A8F15 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SUBMITEVENT_TE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A_H #ifndef CULLSTATECHANGEDEVENT_T6BC3E87DBC04B585798460D55F56B86C23B62FE4_H #define CULLSTATECHANGEDEVENT_T6BC3E87DBC04B585798460D55F56B86C23B62FE4_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.MaskableGraphic_CullStateChangedEvent struct CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 : public UnityEvent_1_t6FE5C79FD433599728A9AA732E588823AB88FDB5 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CULLSTATECHANGEDEVENT_T6BC3E87DBC04B585798460D55F56B86C23B62FE4_H #ifndef MODE_T93F92BD50B147AE38D82BA33FA77FD247A59FE26_H #define MODE_T93F92BD50B147AE38D82BA33FA77FD247A59FE26_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Navigation_Mode struct Mode_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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MODE_T93F92BD50B147AE38D82BA33FA77FD247A59FE26_H #ifndef MOVEMENTTYPE_T78F2436465C40CA3C70631E1E5F088EA7A15C97A_H #define MOVEMENTTYPE_T78F2436465C40CA3C70631E1E5F088EA7A15C97A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ScrollRect_MovementType struct MovementType_t78F2436465C40CA3C70631E1E5F088EA7A15C97A { public: // System.Int32 UnityEngine.UI.ScrollRect_MovementType::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MovementType_t78F2436465C40CA3C70631E1E5F088EA7A15C97A, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MOVEMENTTYPE_T78F2436465C40CA3C70631E1E5F088EA7A15C97A_H #ifndef SCROLLRECTEVENT_T8995F69D65BA823FB862144B12E6D3504236FEEB_H #define SCROLLRECTEVENT_T8995F69D65BA823FB862144B12E6D3504236FEEB_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ScrollRect_ScrollRectEvent struct ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB : public UnityEvent_1_t88E036FD5956DB491BCC160FA57EF4F9584042B9 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCROLLRECTEVENT_T8995F69D65BA823FB862144B12E6D3504236FEEB_H #ifndef SCROLLBARVISIBILITY_T4D6A5D8EF1681A91CED9F04283D0C882DCE1531F_H #define SCROLLBARVISIBILITY_T4D6A5D8EF1681A91CED9F04283D0C882DCE1531F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ScrollRect_ScrollbarVisibility struct ScrollbarVisibility_t4D6A5D8EF1681A91CED9F04283D0C882DCE1531F { public: // System.Int32 UnityEngine.UI.ScrollRect_ScrollbarVisibility::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ScrollbarVisibility_t4D6A5D8EF1681A91CED9F04283D0C882DCE1531F, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCROLLBARVISIBILITY_T4D6A5D8EF1681A91CED9F04283D0C882DCE1531F_H #ifndef AXIS_T5CC6D92E75113BD2F2816AFC44EF728126921DF7_H #define AXIS_T5CC6D92E75113BD2F2816AFC44EF728126921DF7_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Scrollbar_Axis struct Axis_t5CC6D92E75113BD2F2816AFC44EF728126921DF7 { public: // System.Int32 UnityEngine.UI.Scrollbar_Axis::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Axis_t5CC6D92E75113BD2F2816AFC44EF728126921DF7, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // AXIS_T5CC6D92E75113BD2F2816AFC44EF728126921DF7_H #ifndef DIRECTION_T7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF_H #define DIRECTION_T7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Scrollbar_Direction struct Direction_t7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF { public: // System.Int32 UnityEngine.UI.Scrollbar_Direction::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Direction_t7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DIRECTION_T7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF_H #ifndef SCROLLEVENT_T07B0FA266C69E36437A0083D5058B2952D151FF7_H #define SCROLLEVENT_T07B0FA266C69E36437A0083D5058B2952D151FF7_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Scrollbar_ScrollEvent struct ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7 : public UnityEvent_1_t7839A0014FFD3A212A87547A44A7719D6549ED87 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCROLLEVENT_T07B0FA266C69E36437A0083D5058B2952D151FF7_H #ifndef SELECTIONSTATE_TF089B96B46A592693753CBF23C52A3887632D210_H #define SELECTIONSTATE_TF089B96B46A592693753CBF23C52A3887632D210_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Selectable_SelectionState struct SelectionState_tF089B96B46A592693753CBF23C52A3887632D210 { public: // System.Int32 UnityEngine.UI.Selectable_SelectionState::value__ int32_t ___value___2; public: inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SelectionState_tF089B96B46A592693753CBF23C52A3887632D210, ___value___2)); } inline int32_t get_value___2() const { return ___value___2; } inline int32_t* get_address_of_value___2() { return &___value___2; } inline void set_value___2(int32_t value) { ___value___2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SELECTIONSTATE_TF089B96B46A592693753CBF23C52A3887632D210_H #ifndef TRANSITION_TA9261C608B54C52324084A0B080E7A3E0548A181_H #define TRANSITION_TA9261C608B54C52324084A0B080E7A3E0548A181_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Selectable_Transition struct Transition_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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TRANSITION_TA9261C608B54C52324084A0B080E7A3E0548A181_H #ifndef AXIS_T5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830_H #define AXIS_T5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // AXIS_T5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830_H #ifndef DIRECTION_TAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E_H #define DIRECTION_TAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DIRECTION_TAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E_H #ifndef SLIDEREVENT_T64A824F56F80FC8E2F233F0A0FB0821702DF416C_H #define SLIDEREVENT_T64A824F56F80FC8E2F233F0A0FB0821702DF416C_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Slider_SliderEvent struct SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C : public UnityEvent_1_t7839A0014FFD3A212A87547A44A7719D6549ED87 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SLIDEREVENT_T64A824F56F80FC8E2F233F0A0FB0821702DF416C_H #ifndef TOGGLEEVENT_T50D925F8E220FB47DA738411CEF9C57FF7E1DC43_H #define TOGGLEEVENT_T50D925F8E220FB47DA738411CEF9C57FF7E1DC43_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Toggle_ToggleEvent struct ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 : public UnityEvent_1_t6FE5C79FD433599728A9AA732E588823AB88FDB5 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TOGGLEEVENT_T50D925F8E220FB47DA738411CEF9C57FF7E1DC43_H #ifndef TOGGLETRANSITION_T45980EB1352FF47B2D8D8EBC90385AB68939046D_H #define TOGGLETRANSITION_T45980EB1352FF47B2D8D8EBC90385AB68939046D_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Toggle_ToggleTransition struct ToggleTransition_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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TOGGLETRANSITION_T45980EB1352FF47B2D8D8EBC90385AB68939046D_H #ifndef VERTICALWRAPMODE_TD909C5B2F6A25AE3797BC71373196D850FC845E9_H #define VERTICALWRAPMODE_TD909C5B2F6A25AE3797BC71373196D850FC845E9_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // VERTICALWRAPMODE_TD909C5B2F6A25AE3797BC71373196D850FC845E9_H #ifndef MULTICASTDELEGATE_T_H #define MULTICASTDELEGATE_T_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.MulticastDelegate struct MulticastDelegate_t : public Delegate_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((&___delegates_11), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.MulticastDelegate struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_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; }; #endif // MULTICASTDELEGATE_T_H #ifndef COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H #define COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Component struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H #ifndef FONTDATA_T29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494_H #define FONTDATA_T29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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((&___m_Font_0), 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // FONTDATA_T29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494_H #ifndef NAVIGATION_T761250C05C09773B75F5E0D52DDCBBFE60288A07_H #define NAVIGATION_T761250C05C09773B75F5E0D52DDCBBFE60288A07_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Navigation struct Navigation_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((&___m_SelectOnUp_1), 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((&___m_SelectOnDown_2), 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((&___m_SelectOnLeft_3), 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((&___m_SelectOnRight_4), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // 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; }; #endif // NAVIGATION_T761250C05C09773B75F5E0D52DDCBBFE60288A07_H #ifndef MATENTRY_T6D4406239BE26E2ED3F441944F6A047913DB6701_H #define MATENTRY_T6D4406239BE26E2ED3F441944F6A047913DB6701_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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((&___baseMat_0), 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((&___customMat_1), 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MATENTRY_T6D4406239BE26E2ED3F441944F6A047913DB6701_H #ifndef BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H #define BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Behaviour struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H #ifndef ONVALIDATEINPUT_T3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0_H #define ONVALIDATEINPUT_T3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField_OnValidateInput struct OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0 : public MulticastDelegate_t { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ONVALIDATEINPUT_T3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0_H #ifndef MONOBEHAVIOUR_T4A60845CF505405AF8BE8C61CC07F75CADEF6429_H #define MONOBEHAVIOUR_T4A60845CF505405AF8BE8C61CC07F75CADEF6429_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.MonoBehaviour struct MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MONOBEHAVIOUR_T4A60845CF505405AF8BE8C61CC07F75CADEF6429_H #ifndef UIBEHAVIOUR_T3C3C339CD5677BA7FC27C352FED8B78052A3FE70_H #define UIBEHAVIOUR_T3C3C339CD5677BA7FC27C352FED8B78052A3FE70_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.EventSystems.UIBehaviour struct UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // UIBEHAVIOUR_T3C3C339CD5677BA7FC27C352FED8B78052A3FE70_H #ifndef DROPDOWNITEM_TFDD72F3D25AC0CAF12393C7EE460B47468BD2B46_H #define DROPDOWNITEM_TFDD72F3D25AC0CAF12393C7EE460B47468BD2B46_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown_DropdownItem struct DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46 : public MonoBehaviour_t4A60845CF505405AF8BE8C61CC07F75CADEF6429 { public: // UnityEngine.UI.Text UnityEngine.UI.Dropdown_DropdownItem::m_Text Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___m_Text_4; // UnityEngine.UI.Image UnityEngine.UI.Dropdown_DropdownItem::m_Image Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * ___m_Image_5; // UnityEngine.RectTransform UnityEngine.UI.Dropdown_DropdownItem::m_RectTransform RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_RectTransform_6; // UnityEngine.UI.Toggle UnityEngine.UI.Dropdown_DropdownItem::m_Toggle Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * ___m_Toggle_7; public: inline static int32_t get_offset_of_m_Text_4() { return static_cast<int32_t>(offsetof(DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46, ___m_Text_4)); } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * get_m_Text_4() const { return ___m_Text_4; } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 ** get_address_of_m_Text_4() { return &___m_Text_4; } inline void set_m_Text_4(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * value) { ___m_Text_4 = value; Il2CppCodeGenWriteBarrier((&___m_Text_4), value); } inline static int32_t get_offset_of_m_Image_5() { return static_cast<int32_t>(offsetof(DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46, ___m_Image_5)); } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * get_m_Image_5() const { return ___m_Image_5; } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E ** get_address_of_m_Image_5() { return &___m_Image_5; } inline void set_m_Image_5(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * value) { ___m_Image_5 = value; Il2CppCodeGenWriteBarrier((&___m_Image_5), value); } inline static int32_t get_offset_of_m_RectTransform_6() { return static_cast<int32_t>(offsetof(DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46, ___m_RectTransform_6)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_RectTransform_6() const { return ___m_RectTransform_6; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_RectTransform_6() { return &___m_RectTransform_6; } inline void set_m_RectTransform_6(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_RectTransform_6 = value; Il2CppCodeGenWriteBarrier((&___m_RectTransform_6), value); } inline static int32_t get_offset_of_m_Toggle_7() { return static_cast<int32_t>(offsetof(DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46, ___m_Toggle_7)); } inline Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * get_m_Toggle_7() const { return ___m_Toggle_7; } inline Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 ** get_address_of_m_Toggle_7() { return &___m_Toggle_7; } inline void set_m_Toggle_7(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 * value) { ___m_Toggle_7 = value; Il2CppCodeGenWriteBarrier((&___m_Toggle_7), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DROPDOWNITEM_TFDD72F3D25AC0CAF12393C7EE460B47468BD2B46_H #ifndef BASERAYCASTER_TC7F6105A89F54A38FBFC2659901855FDBB0E3966_H #define BASERAYCASTER_TC7F6105A89F54A38FBFC2659901855FDBB0E3966_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.EventSystems.BaseRaycaster struct BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BASERAYCASTER_TC7F6105A89F54A38FBFC2659901855FDBB0E3966_H #ifndef ASPECTRATIOFITTER_T3CA8A085831067C09B872C67F6E7F6F4EBB967B6_H #define ASPECTRATIOFITTER_T3CA8A085831067C09B872C67F6E7F6F4EBB967B6_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.AspectRatioFitter struct AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.UI.AspectRatioFitter_AspectMode UnityEngine.UI.AspectRatioFitter::m_AspectMode int32_t ___m_AspectMode_4; // System.Single UnityEngine.UI.AspectRatioFitter::m_AspectRatio float ___m_AspectRatio_5; // UnityEngine.RectTransform UnityEngine.UI.AspectRatioFitter::m_Rect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Rect_6; // System.Boolean UnityEngine.UI.AspectRatioFitter::m_DelayedSetDirty bool ___m_DelayedSetDirty_7; // UnityEngine.DrivenRectTransformTracker UnityEngine.UI.AspectRatioFitter::m_Tracker DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_8; public: inline static int32_t get_offset_of_m_AspectMode_4() { return static_cast<int32_t>(offsetof(AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6, ___m_AspectMode_4)); } inline int32_t get_m_AspectMode_4() const { return ___m_AspectMode_4; } inline int32_t* get_address_of_m_AspectMode_4() { return &___m_AspectMode_4; } inline void set_m_AspectMode_4(int32_t value) { ___m_AspectMode_4 = value; } inline static int32_t get_offset_of_m_AspectRatio_5() { return static_cast<int32_t>(offsetof(AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6, ___m_AspectRatio_5)); } inline float get_m_AspectRatio_5() const { return ___m_AspectRatio_5; } inline float* get_address_of_m_AspectRatio_5() { return &___m_AspectRatio_5; } inline void set_m_AspectRatio_5(float value) { ___m_AspectRatio_5 = value; } inline static int32_t get_offset_of_m_Rect_6() { return static_cast<int32_t>(offsetof(AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6, ___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((&___m_Rect_6), value); } inline static int32_t get_offset_of_m_DelayedSetDirty_7() { return static_cast<int32_t>(offsetof(AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6, ___m_DelayedSetDirty_7)); } inline bool get_m_DelayedSetDirty_7() const { return ___m_DelayedSetDirty_7; } inline bool* get_address_of_m_DelayedSetDirty_7() { return &___m_DelayedSetDirty_7; } inline void set_m_DelayedSetDirty_7(bool value) { ___m_DelayedSetDirty_7 = value; } inline static int32_t get_offset_of_m_Tracker_8() { return static_cast<int32_t>(offsetof(AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6, ___m_Tracker_8)); } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 get_m_Tracker_8() const { return ___m_Tracker_8; } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 * get_address_of_m_Tracker_8() { return &___m_Tracker_8; } inline void set_m_Tracker_8(DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 value) { ___m_Tracker_8 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // ASPECTRATIOFITTER_T3CA8A085831067C09B872C67F6E7F6F4EBB967B6_H #ifndef CANVASSCALER_T304BA6F47EDB7402EBA405DD36CA7D6ADF723564_H #define CANVASSCALER_T304BA6F47EDB7402EBA405DD36CA7D6ADF723564_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.CanvasScaler struct CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.UI.CanvasScaler_ScaleMode UnityEngine.UI.CanvasScaler::m_UiScaleMode int32_t ___m_UiScaleMode_4; // System.Single UnityEngine.UI.CanvasScaler::m_ReferencePixelsPerUnit float ___m_ReferencePixelsPerUnit_5; // System.Single UnityEngine.UI.CanvasScaler::m_ScaleFactor float ___m_ScaleFactor_6; // UnityEngine.Vector2 UnityEngine.UI.CanvasScaler::m_ReferenceResolution Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_ReferenceResolution_7; // UnityEngine.UI.CanvasScaler_ScreenMatchMode UnityEngine.UI.CanvasScaler::m_ScreenMatchMode int32_t ___m_ScreenMatchMode_8; // System.Single UnityEngine.UI.CanvasScaler::m_MatchWidthOrHeight float ___m_MatchWidthOrHeight_9; // UnityEngine.UI.CanvasScaler_Unit UnityEngine.UI.CanvasScaler::m_PhysicalUnit int32_t ___m_PhysicalUnit_11; // System.Single UnityEngine.UI.CanvasScaler::m_FallbackScreenDPI float ___m_FallbackScreenDPI_12; // System.Single UnityEngine.UI.CanvasScaler::m_DefaultSpriteDPI float ___m_DefaultSpriteDPI_13; // System.Single UnityEngine.UI.CanvasScaler::m_DynamicPixelsPerUnit float ___m_DynamicPixelsPerUnit_14; // UnityEngine.Canvas UnityEngine.UI.CanvasScaler::m_Canvas Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * ___m_Canvas_15; // System.Single UnityEngine.UI.CanvasScaler::m_PrevScaleFactor float ___m_PrevScaleFactor_16; // System.Single UnityEngine.UI.CanvasScaler::m_PrevReferencePixelsPerUnit float ___m_PrevReferencePixelsPerUnit_17; public: inline static int32_t get_offset_of_m_UiScaleMode_4() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_UiScaleMode_4)); } inline int32_t get_m_UiScaleMode_4() const { return ___m_UiScaleMode_4; } inline int32_t* get_address_of_m_UiScaleMode_4() { return &___m_UiScaleMode_4; } inline void set_m_UiScaleMode_4(int32_t value) { ___m_UiScaleMode_4 = value; } inline static int32_t get_offset_of_m_ReferencePixelsPerUnit_5() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_ReferencePixelsPerUnit_5)); } inline float get_m_ReferencePixelsPerUnit_5() const { return ___m_ReferencePixelsPerUnit_5; } inline float* get_address_of_m_ReferencePixelsPerUnit_5() { return &___m_ReferencePixelsPerUnit_5; } inline void set_m_ReferencePixelsPerUnit_5(float value) { ___m_ReferencePixelsPerUnit_5 = value; } inline static int32_t get_offset_of_m_ScaleFactor_6() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_ScaleFactor_6)); } inline float get_m_ScaleFactor_6() const { return ___m_ScaleFactor_6; } inline float* get_address_of_m_ScaleFactor_6() { return &___m_ScaleFactor_6; } inline void set_m_ScaleFactor_6(float value) { ___m_ScaleFactor_6 = value; } inline static int32_t get_offset_of_m_ReferenceResolution_7() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_ReferenceResolution_7)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_ReferenceResolution_7() const { return ___m_ReferenceResolution_7; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_ReferenceResolution_7() { return &___m_ReferenceResolution_7; } inline void set_m_ReferenceResolution_7(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_ReferenceResolution_7 = value; } inline static int32_t get_offset_of_m_ScreenMatchMode_8() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_ScreenMatchMode_8)); } inline int32_t get_m_ScreenMatchMode_8() const { return ___m_ScreenMatchMode_8; } inline int32_t* get_address_of_m_ScreenMatchMode_8() { return &___m_ScreenMatchMode_8; } inline void set_m_ScreenMatchMode_8(int32_t value) { ___m_ScreenMatchMode_8 = value; } inline static int32_t get_offset_of_m_MatchWidthOrHeight_9() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_MatchWidthOrHeight_9)); } inline float get_m_MatchWidthOrHeight_9() const { return ___m_MatchWidthOrHeight_9; } inline float* get_address_of_m_MatchWidthOrHeight_9() { return &___m_MatchWidthOrHeight_9; } inline void set_m_MatchWidthOrHeight_9(float value) { ___m_MatchWidthOrHeight_9 = value; } inline static int32_t get_offset_of_m_PhysicalUnit_11() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_PhysicalUnit_11)); } inline int32_t get_m_PhysicalUnit_11() const { return ___m_PhysicalUnit_11; } inline int32_t* get_address_of_m_PhysicalUnit_11() { return &___m_PhysicalUnit_11; } inline void set_m_PhysicalUnit_11(int32_t value) { ___m_PhysicalUnit_11 = value; } inline static int32_t get_offset_of_m_FallbackScreenDPI_12() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_FallbackScreenDPI_12)); } inline float get_m_FallbackScreenDPI_12() const { return ___m_FallbackScreenDPI_12; } inline float* get_address_of_m_FallbackScreenDPI_12() { return &___m_FallbackScreenDPI_12; } inline void set_m_FallbackScreenDPI_12(float value) { ___m_FallbackScreenDPI_12 = value; } inline static int32_t get_offset_of_m_DefaultSpriteDPI_13() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_DefaultSpriteDPI_13)); } inline float get_m_DefaultSpriteDPI_13() const { return ___m_DefaultSpriteDPI_13; } inline float* get_address_of_m_DefaultSpriteDPI_13() { return &___m_DefaultSpriteDPI_13; } inline void set_m_DefaultSpriteDPI_13(float value) { ___m_DefaultSpriteDPI_13 = value; } inline static int32_t get_offset_of_m_DynamicPixelsPerUnit_14() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_DynamicPixelsPerUnit_14)); } inline float get_m_DynamicPixelsPerUnit_14() const { return ___m_DynamicPixelsPerUnit_14; } inline float* get_address_of_m_DynamicPixelsPerUnit_14() { return &___m_DynamicPixelsPerUnit_14; } inline void set_m_DynamicPixelsPerUnit_14(float value) { ___m_DynamicPixelsPerUnit_14 = value; } inline static int32_t get_offset_of_m_Canvas_15() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_Canvas_15)); } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * get_m_Canvas_15() const { return ___m_Canvas_15; } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 ** get_address_of_m_Canvas_15() { return &___m_Canvas_15; } inline void set_m_Canvas_15(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * value) { ___m_Canvas_15 = value; Il2CppCodeGenWriteBarrier((&___m_Canvas_15), value); } inline static int32_t get_offset_of_m_PrevScaleFactor_16() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_PrevScaleFactor_16)); } inline float get_m_PrevScaleFactor_16() const { return ___m_PrevScaleFactor_16; } inline float* get_address_of_m_PrevScaleFactor_16() { return &___m_PrevScaleFactor_16; } inline void set_m_PrevScaleFactor_16(float value) { ___m_PrevScaleFactor_16 = value; } inline static int32_t get_offset_of_m_PrevReferencePixelsPerUnit_17() { return static_cast<int32_t>(offsetof(CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564, ___m_PrevReferencePixelsPerUnit_17)); } inline float get_m_PrevReferencePixelsPerUnit_17() const { return ___m_PrevReferencePixelsPerUnit_17; } inline float* get_address_of_m_PrevReferencePixelsPerUnit_17() { return &___m_PrevReferencePixelsPerUnit_17; } inline void set_m_PrevReferencePixelsPerUnit_17(float value) { ___m_PrevReferencePixelsPerUnit_17 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CANVASSCALER_T304BA6F47EDB7402EBA405DD36CA7D6ADF723564_H #ifndef CONTENTSIZEFITTER_T4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8_H #define CONTENTSIZEFITTER_T4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ContentSizeFitter struct ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.UI.ContentSizeFitter_FitMode UnityEngine.UI.ContentSizeFitter::m_HorizontalFit int32_t ___m_HorizontalFit_4; // UnityEngine.UI.ContentSizeFitter_FitMode UnityEngine.UI.ContentSizeFitter::m_VerticalFit int32_t ___m_VerticalFit_5; // UnityEngine.RectTransform UnityEngine.UI.ContentSizeFitter::m_Rect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Rect_6; // UnityEngine.DrivenRectTransformTracker UnityEngine.UI.ContentSizeFitter::m_Tracker DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_7; public: inline static int32_t get_offset_of_m_HorizontalFit_4() { return static_cast<int32_t>(offsetof(ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8, ___m_HorizontalFit_4)); } inline int32_t get_m_HorizontalFit_4() const { return ___m_HorizontalFit_4; } inline int32_t* get_address_of_m_HorizontalFit_4() { return &___m_HorizontalFit_4; } inline void set_m_HorizontalFit_4(int32_t value) { ___m_HorizontalFit_4 = value; } inline static int32_t get_offset_of_m_VerticalFit_5() { return static_cast<int32_t>(offsetof(ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8, ___m_VerticalFit_5)); } inline int32_t get_m_VerticalFit_5() const { return ___m_VerticalFit_5; } inline int32_t* get_address_of_m_VerticalFit_5() { return &___m_VerticalFit_5; } inline void set_m_VerticalFit_5(int32_t value) { ___m_VerticalFit_5 = value; } inline static int32_t get_offset_of_m_Rect_6() { return static_cast<int32_t>(offsetof(ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8, ___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((&___m_Rect_6), value); } inline static int32_t get_offset_of_m_Tracker_7() { return static_cast<int32_t>(offsetof(ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8, ___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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // CONTENTSIZEFITTER_T4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8_H #ifndef GRAPHIC_TBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_H #define GRAPHIC_TBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Graphic struct Graphic_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_RaycastTarget bool ___m_RaycastTarget_8; // UnityEngine.RectTransform UnityEngine.UI.Graphic::m_RectTransform RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_RectTransform_9; // UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::m_CanvasRenderer CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * ___m_CanvasRenderer_10; // UnityEngine.Canvas UnityEngine.UI.Graphic::m_Canvas Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * ___m_Canvas_11; // System.Boolean UnityEngine.UI.Graphic::m_VertsDirty bool ___m_VertsDirty_12; // System.Boolean UnityEngine.UI.Graphic::m_MaterialDirty bool ___m_MaterialDirty_13; // UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyLayoutCallback UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyLayoutCallback_14; // UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyVertsCallback UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyVertsCallback_15; // UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyMaterialCallback UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___m_OnDirtyMaterialCallback_16; // UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween> UnityEngine.UI.Graphic::m_ColorTweenRunner TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * ___m_ColorTweenRunner_19; // System.Boolean UnityEngine.UI.Graphic::<useLegacyMeshGeneration>k__BackingField bool ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20; public: inline static int32_t get_offset_of_m_Material_6() { return static_cast<int32_t>(offsetof(Graphic_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((&___m_Material_6), 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_RaycastTarget_8() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_RaycastTarget_8)); } inline bool get_m_RaycastTarget_8() const { return ___m_RaycastTarget_8; } inline bool* get_address_of_m_RaycastTarget_8() { return &___m_RaycastTarget_8; } inline void set_m_RaycastTarget_8(bool value) { ___m_RaycastTarget_8 = value; } inline static int32_t get_offset_of_m_RectTransform_9() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_RectTransform_9)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_RectTransform_9() const { return ___m_RectTransform_9; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_RectTransform_9() { return &___m_RectTransform_9; } inline void set_m_RectTransform_9(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_RectTransform_9 = value; Il2CppCodeGenWriteBarrier((&___m_RectTransform_9), value); } inline static int32_t get_offset_of_m_CanvasRenderer_10() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_CanvasRenderer_10)); } inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * get_m_CanvasRenderer_10() const { return ___m_CanvasRenderer_10; } inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 ** get_address_of_m_CanvasRenderer_10() { return &___m_CanvasRenderer_10; } inline void set_m_CanvasRenderer_10(CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * value) { ___m_CanvasRenderer_10 = value; Il2CppCodeGenWriteBarrier((&___m_CanvasRenderer_10), value); } inline static int32_t get_offset_of_m_Canvas_11() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_Canvas_11)); } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * get_m_Canvas_11() const { return ___m_Canvas_11; } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 ** get_address_of_m_Canvas_11() { return &___m_Canvas_11; } inline void set_m_Canvas_11(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * value) { ___m_Canvas_11 = value; Il2CppCodeGenWriteBarrier((&___m_Canvas_11), value); } inline static int32_t get_offset_of_m_VertsDirty_12() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_VertsDirty_12)); } inline bool get_m_VertsDirty_12() const { return ___m_VertsDirty_12; } inline bool* get_address_of_m_VertsDirty_12() { return &___m_VertsDirty_12; } inline void set_m_VertsDirty_12(bool value) { ___m_VertsDirty_12 = value; } inline static int32_t get_offset_of_m_MaterialDirty_13() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_MaterialDirty_13)); } inline bool get_m_MaterialDirty_13() const { return ___m_MaterialDirty_13; } inline bool* get_address_of_m_MaterialDirty_13() { return &___m_MaterialDirty_13; } inline void set_m_MaterialDirty_13(bool value) { ___m_MaterialDirty_13 = value; } inline static int32_t get_offset_of_m_OnDirtyLayoutCallback_14() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyLayoutCallback_14)); } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyLayoutCallback_14() const { return ___m_OnDirtyLayoutCallback_14; } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyLayoutCallback_14() { return &___m_OnDirtyLayoutCallback_14; } inline void set_m_OnDirtyLayoutCallback_14(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value) { ___m_OnDirtyLayoutCallback_14 = value; Il2CppCodeGenWriteBarrier((&___m_OnDirtyLayoutCallback_14), value); } inline static int32_t get_offset_of_m_OnDirtyVertsCallback_15() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyVertsCallback_15)); } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyVertsCallback_15() const { return ___m_OnDirtyVertsCallback_15; } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyVertsCallback_15() { return &___m_OnDirtyVertsCallback_15; } inline void set_m_OnDirtyVertsCallback_15(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value) { ___m_OnDirtyVertsCallback_15 = value; Il2CppCodeGenWriteBarrier((&___m_OnDirtyVertsCallback_15), value); } inline static int32_t get_offset_of_m_OnDirtyMaterialCallback_16() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_OnDirtyMaterialCallback_16)); } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_m_OnDirtyMaterialCallback_16() const { return ___m_OnDirtyMaterialCallback_16; } inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_m_OnDirtyMaterialCallback_16() { return &___m_OnDirtyMaterialCallback_16; } inline void set_m_OnDirtyMaterialCallback_16(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value) { ___m_OnDirtyMaterialCallback_16 = value; Il2CppCodeGenWriteBarrier((&___m_OnDirtyMaterialCallback_16), value); } inline static int32_t get_offset_of_m_ColorTweenRunner_19() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___m_ColorTweenRunner_19)); } inline TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * get_m_ColorTweenRunner_19() const { return ___m_ColorTweenRunner_19; } inline TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 ** get_address_of_m_ColorTweenRunner_19() { return &___m_ColorTweenRunner_19; } inline void set_m_ColorTweenRunner_19(TweenRunner_1_t56CEB168ADE3739A1BDDBF258FDC759DF8927172 * value) { ___m_ColorTweenRunner_19 = value; Il2CppCodeGenWriteBarrier((&___m_ColorTweenRunner_19), value); } inline static int32_t get_offset_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8, ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20)); } inline bool get_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() const { return ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20; } inline bool* get_address_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_20() { return &___U3CuseLegacyMeshGenerationU3Ek__BackingField_20; } inline void set_U3CuseLegacyMeshGenerationU3Ek__BackingField_20(bool value) { ___U3CuseLegacyMeshGenerationU3Ek__BackingField_20 = value; } }; struct Graphic_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_17; // UnityEngine.UI.VertexHelper UnityEngine.UI.Graphic::s_VertexHelper VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * ___s_VertexHelper_18; 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((&___s_DefaultUI_4), 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((&___s_WhiteTexture_5), value); } inline static int32_t get_offset_of_s_Mesh_17() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_Mesh_17)); } inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * get_s_Mesh_17() const { return ___s_Mesh_17; } inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C ** get_address_of_s_Mesh_17() { return &___s_Mesh_17; } inline void set_s_Mesh_17(Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * value) { ___s_Mesh_17 = value; Il2CppCodeGenWriteBarrier((&___s_Mesh_17), value); } inline static int32_t get_offset_of_s_VertexHelper_18() { return static_cast<int32_t>(offsetof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields, ___s_VertexHelper_18)); } inline VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * get_s_VertexHelper_18() const { return ___s_VertexHelper_18; } inline VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F ** get_address_of_s_VertexHelper_18() { return &___s_VertexHelper_18; } inline void set_s_VertexHelper_18(VertexHelper_t27373EA2CF0F5810EC8CF873D0A6D6C0B23DAC3F * value) { ___s_VertexHelper_18 = value; Il2CppCodeGenWriteBarrier((&___s_VertexHelper_18), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // GRAPHIC_TBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_H #ifndef LAYOUTELEMENT_TD503826DB41B6EA85AC689292F8B2661B3C1048B_H #define LAYOUTELEMENT_TD503826DB41B6EA85AC689292F8B2661B3C1048B_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.LayoutElement struct LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // System.Boolean UnityEngine.UI.LayoutElement::m_IgnoreLayout bool ___m_IgnoreLayout_4; // System.Single UnityEngine.UI.LayoutElement::m_MinWidth float ___m_MinWidth_5; // System.Single UnityEngine.UI.LayoutElement::m_MinHeight float ___m_MinHeight_6; // System.Single UnityEngine.UI.LayoutElement::m_PreferredWidth float ___m_PreferredWidth_7; // System.Single UnityEngine.UI.LayoutElement::m_PreferredHeight float ___m_PreferredHeight_8; // System.Single UnityEngine.UI.LayoutElement::m_FlexibleWidth float ___m_FlexibleWidth_9; // System.Single UnityEngine.UI.LayoutElement::m_FlexibleHeight float ___m_FlexibleHeight_10; // System.Int32 UnityEngine.UI.LayoutElement::m_LayoutPriority int32_t ___m_LayoutPriority_11; public: inline static int32_t get_offset_of_m_IgnoreLayout_4() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_IgnoreLayout_4)); } inline bool get_m_IgnoreLayout_4() const { return ___m_IgnoreLayout_4; } inline bool* get_address_of_m_IgnoreLayout_4() { return &___m_IgnoreLayout_4; } inline void set_m_IgnoreLayout_4(bool value) { ___m_IgnoreLayout_4 = value; } inline static int32_t get_offset_of_m_MinWidth_5() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_MinWidth_5)); } inline float get_m_MinWidth_5() const { return ___m_MinWidth_5; } inline float* get_address_of_m_MinWidth_5() { return &___m_MinWidth_5; } inline void set_m_MinWidth_5(float value) { ___m_MinWidth_5 = value; } inline static int32_t get_offset_of_m_MinHeight_6() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_MinHeight_6)); } inline float get_m_MinHeight_6() const { return ___m_MinHeight_6; } inline float* get_address_of_m_MinHeight_6() { return &___m_MinHeight_6; } inline void set_m_MinHeight_6(float value) { ___m_MinHeight_6 = value; } inline static int32_t get_offset_of_m_PreferredWidth_7() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_PreferredWidth_7)); } inline float get_m_PreferredWidth_7() const { return ___m_PreferredWidth_7; } inline float* get_address_of_m_PreferredWidth_7() { return &___m_PreferredWidth_7; } inline void set_m_PreferredWidth_7(float value) { ___m_PreferredWidth_7 = value; } inline static int32_t get_offset_of_m_PreferredHeight_8() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_PreferredHeight_8)); } inline float get_m_PreferredHeight_8() const { return ___m_PreferredHeight_8; } inline float* get_address_of_m_PreferredHeight_8() { return &___m_PreferredHeight_8; } inline void set_m_PreferredHeight_8(float value) { ___m_PreferredHeight_8 = value; } inline static int32_t get_offset_of_m_FlexibleWidth_9() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_FlexibleWidth_9)); } inline float get_m_FlexibleWidth_9() const { return ___m_FlexibleWidth_9; } inline float* get_address_of_m_FlexibleWidth_9() { return &___m_FlexibleWidth_9; } inline void set_m_FlexibleWidth_9(float value) { ___m_FlexibleWidth_9 = value; } inline static int32_t get_offset_of_m_FlexibleHeight_10() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_FlexibleHeight_10)); } inline float get_m_FlexibleHeight_10() const { return ___m_FlexibleHeight_10; } inline float* get_address_of_m_FlexibleHeight_10() { return &___m_FlexibleHeight_10; } inline void set_m_FlexibleHeight_10(float value) { ___m_FlexibleHeight_10 = value; } inline static int32_t get_offset_of_m_LayoutPriority_11() { return static_cast<int32_t>(offsetof(LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B, ___m_LayoutPriority_11)); } inline int32_t get_m_LayoutPriority_11() const { return ___m_LayoutPriority_11; } inline int32_t* get_address_of_m_LayoutPriority_11() { return &___m_LayoutPriority_11; } inline void set_m_LayoutPriority_11(int32_t value) { ___m_LayoutPriority_11 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LAYOUTELEMENT_TD503826DB41B6EA85AC689292F8B2661B3C1048B_H #ifndef LAYOUTGROUP_T9E072B95DA6476C487C0B07A815291249025C0E4_H #define LAYOUTGROUP_T9E072B95DA6476C487C0B07A815291249025C0E4_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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_t0CD9761E1DF9817484CF4FB4253C6A626DC2311C * ___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((&___m_Padding_4), 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((&___m_Rect_6), 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_t0CD9761E1DF9817484CF4FB4253C6A626DC2311C * get_m_RectChildren_11() const { return ___m_RectChildren_11; } inline List_1_t0CD9761E1DF9817484CF4FB4253C6A626DC2311C ** get_address_of_m_RectChildren_11() { return &___m_RectChildren_11; } inline void set_m_RectChildren_11(List_1_t0CD9761E1DF9817484CF4FB4253C6A626DC2311C * value) { ___m_RectChildren_11 = value; Il2CppCodeGenWriteBarrier((&___m_RectChildren_11), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // LAYOUTGROUP_T9E072B95DA6476C487C0B07A815291249025C0E4_H #ifndef MASK_T082A7A79B4BF2063E5F81D2F84D968569D737CCB_H #define MASK_T082A7A79B4BF2063E5F81D2F84D968569D737CCB_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Mask struct Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.RectTransform UnityEngine.UI.Mask::m_RectTransform RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_RectTransform_4; // System.Boolean UnityEngine.UI.Mask::m_ShowMaskGraphic bool ___m_ShowMaskGraphic_5; // UnityEngine.UI.Graphic UnityEngine.UI.Mask::m_Graphic Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___m_Graphic_6; // UnityEngine.Material UnityEngine.UI.Mask::m_MaskMaterial Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___m_MaskMaterial_7; // UnityEngine.Material UnityEngine.UI.Mask::m_UnmaskMaterial Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___m_UnmaskMaterial_8; public: inline static int32_t get_offset_of_m_RectTransform_4() { return static_cast<int32_t>(offsetof(Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB, ___m_RectTransform_4)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_RectTransform_4() const { return ___m_RectTransform_4; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_RectTransform_4() { return &___m_RectTransform_4; } inline void set_m_RectTransform_4(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_RectTransform_4 = value; Il2CppCodeGenWriteBarrier((&___m_RectTransform_4), value); } inline static int32_t get_offset_of_m_ShowMaskGraphic_5() { return static_cast<int32_t>(offsetof(Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB, ___m_ShowMaskGraphic_5)); } inline bool get_m_ShowMaskGraphic_5() const { return ___m_ShowMaskGraphic_5; } inline bool* get_address_of_m_ShowMaskGraphic_5() { return &___m_ShowMaskGraphic_5; } inline void set_m_ShowMaskGraphic_5(bool value) { ___m_ShowMaskGraphic_5 = value; } inline static int32_t get_offset_of_m_Graphic_6() { return static_cast<int32_t>(offsetof(Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB, ___m_Graphic_6)); } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_m_Graphic_6() const { return ___m_Graphic_6; } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_m_Graphic_6() { return &___m_Graphic_6; } inline void set_m_Graphic_6(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value) { ___m_Graphic_6 = value; Il2CppCodeGenWriteBarrier((&___m_Graphic_6), value); } inline static int32_t get_offset_of_m_MaskMaterial_7() { return static_cast<int32_t>(offsetof(Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB, ___m_MaskMaterial_7)); } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_m_MaskMaterial_7() const { return ___m_MaskMaterial_7; } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_m_MaskMaterial_7() { return &___m_MaskMaterial_7; } inline void set_m_MaskMaterial_7(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value) { ___m_MaskMaterial_7 = value; Il2CppCodeGenWriteBarrier((&___m_MaskMaterial_7), value); } inline static int32_t get_offset_of_m_UnmaskMaterial_8() { return static_cast<int32_t>(offsetof(Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB, ___m_UnmaskMaterial_8)); } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_m_UnmaskMaterial_8() const { return ___m_UnmaskMaterial_8; } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_m_UnmaskMaterial_8() { return &___m_UnmaskMaterial_8; } inline void set_m_UnmaskMaterial_8(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value) { ___m_UnmaskMaterial_8 = value; Il2CppCodeGenWriteBarrier((&___m_UnmaskMaterial_8), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MASK_T082A7A79B4BF2063E5F81D2F84D968569D737CCB_H #ifndef RECTMASK2D_TF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B_H #define RECTMASK2D_TF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.RectMask2D struct RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.UI.RectangularVertexClipper UnityEngine.UI.RectMask2D::m_VertexClipper RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91 * ___m_VertexClipper_4; // UnityEngine.RectTransform UnityEngine.UI.RectMask2D::m_RectTransform RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_RectTransform_5; // System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable> UnityEngine.UI.RectMask2D::m_ClipTargets HashSet_1_tC02CDD91E55E13BB9A0234B98EEA71B4B8E1BAF3 * ___m_ClipTargets_6; // System.Boolean UnityEngine.UI.RectMask2D::m_ShouldRecalculateClipRects bool ___m_ShouldRecalculateClipRects_7; // System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D> UnityEngine.UI.RectMask2D::m_Clippers List_1_tD97244959DADBF9F6F6676C84301568A68AB1BA6 * ___m_Clippers_8; // UnityEngine.Rect UnityEngine.UI.RectMask2D::m_LastClipRectCanvasSpace Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___m_LastClipRectCanvasSpace_9; // System.Boolean UnityEngine.UI.RectMask2D::m_ForceClip bool ___m_ForceClip_10; // UnityEngine.Canvas UnityEngine.UI.RectMask2D::m_Canvas Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * ___m_Canvas_11; // UnityEngine.Vector3[] UnityEngine.UI.RectMask2D::m_Corners Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_Corners_12; public: inline static int32_t get_offset_of_m_VertexClipper_4() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_VertexClipper_4)); } inline RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91 * get_m_VertexClipper_4() const { return ___m_VertexClipper_4; } inline RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91 ** get_address_of_m_VertexClipper_4() { return &___m_VertexClipper_4; } inline void set_m_VertexClipper_4(RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91 * value) { ___m_VertexClipper_4 = value; Il2CppCodeGenWriteBarrier((&___m_VertexClipper_4), value); } inline static int32_t get_offset_of_m_RectTransform_5() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_RectTransform_5)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_RectTransform_5() const { return ___m_RectTransform_5; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_RectTransform_5() { return &___m_RectTransform_5; } inline void set_m_RectTransform_5(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_RectTransform_5 = value; Il2CppCodeGenWriteBarrier((&___m_RectTransform_5), value); } inline static int32_t get_offset_of_m_ClipTargets_6() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_ClipTargets_6)); } inline HashSet_1_tC02CDD91E55E13BB9A0234B98EEA71B4B8E1BAF3 * get_m_ClipTargets_6() const { return ___m_ClipTargets_6; } inline HashSet_1_tC02CDD91E55E13BB9A0234B98EEA71B4B8E1BAF3 ** get_address_of_m_ClipTargets_6() { return &___m_ClipTargets_6; } inline void set_m_ClipTargets_6(HashSet_1_tC02CDD91E55E13BB9A0234B98EEA71B4B8E1BAF3 * value) { ___m_ClipTargets_6 = value; Il2CppCodeGenWriteBarrier((&___m_ClipTargets_6), value); } inline static int32_t get_offset_of_m_ShouldRecalculateClipRects_7() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_ShouldRecalculateClipRects_7)); } inline bool get_m_ShouldRecalculateClipRects_7() const { return ___m_ShouldRecalculateClipRects_7; } inline bool* get_address_of_m_ShouldRecalculateClipRects_7() { return &___m_ShouldRecalculateClipRects_7; } inline void set_m_ShouldRecalculateClipRects_7(bool value) { ___m_ShouldRecalculateClipRects_7 = value; } inline static int32_t get_offset_of_m_Clippers_8() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_Clippers_8)); } inline List_1_tD97244959DADBF9F6F6676C84301568A68AB1BA6 * get_m_Clippers_8() const { return ___m_Clippers_8; } inline List_1_tD97244959DADBF9F6F6676C84301568A68AB1BA6 ** get_address_of_m_Clippers_8() { return &___m_Clippers_8; } inline void set_m_Clippers_8(List_1_tD97244959DADBF9F6F6676C84301568A68AB1BA6 * value) { ___m_Clippers_8 = value; Il2CppCodeGenWriteBarrier((&___m_Clippers_8), value); } inline static int32_t get_offset_of_m_LastClipRectCanvasSpace_9() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_LastClipRectCanvasSpace_9)); } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_m_LastClipRectCanvasSpace_9() const { return ___m_LastClipRectCanvasSpace_9; } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_m_LastClipRectCanvasSpace_9() { return &___m_LastClipRectCanvasSpace_9; } inline void set_m_LastClipRectCanvasSpace_9(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value) { ___m_LastClipRectCanvasSpace_9 = value; } inline static int32_t get_offset_of_m_ForceClip_10() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_ForceClip_10)); } inline bool get_m_ForceClip_10() const { return ___m_ForceClip_10; } inline bool* get_address_of_m_ForceClip_10() { return &___m_ForceClip_10; } inline void set_m_ForceClip_10(bool value) { ___m_ForceClip_10 = value; } inline static int32_t get_offset_of_m_Canvas_11() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_Canvas_11)); } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * get_m_Canvas_11() const { return ___m_Canvas_11; } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 ** get_address_of_m_Canvas_11() { return &___m_Canvas_11; } inline void set_m_Canvas_11(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * value) { ___m_Canvas_11 = value; Il2CppCodeGenWriteBarrier((&___m_Canvas_11), value); } inline static int32_t get_offset_of_m_Corners_12() { return static_cast<int32_t>(offsetof(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B, ___m_Corners_12)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_Corners_12() const { return ___m_Corners_12; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_Corners_12() { return &___m_Corners_12; } inline void set_m_Corners_12(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___m_Corners_12 = value; Il2CppCodeGenWriteBarrier((&___m_Corners_12), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RECTMASK2D_TF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B_H #ifndef SCROLLRECT_TAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51_H #define SCROLLRECT_TAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ScrollRect struct ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51 : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Content RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Content_4; // System.Boolean UnityEngine.UI.ScrollRect::m_Horizontal bool ___m_Horizontal_5; // System.Boolean UnityEngine.UI.ScrollRect::m_Vertical bool ___m_Vertical_6; // UnityEngine.UI.ScrollRect_MovementType UnityEngine.UI.ScrollRect::m_MovementType int32_t ___m_MovementType_7; // System.Single UnityEngine.UI.ScrollRect::m_Elasticity float ___m_Elasticity_8; // System.Boolean UnityEngine.UI.ScrollRect::m_Inertia bool ___m_Inertia_9; // System.Single UnityEngine.UI.ScrollRect::m_DecelerationRate float ___m_DecelerationRate_10; // System.Single UnityEngine.UI.ScrollRect::m_ScrollSensitivity float ___m_ScrollSensitivity_11; // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Viewport RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Viewport_12; // UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::m_HorizontalScrollbar Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * ___m_HorizontalScrollbar_13; // UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::m_VerticalScrollbar Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * ___m_VerticalScrollbar_14; // UnityEngine.UI.ScrollRect_ScrollbarVisibility UnityEngine.UI.ScrollRect::m_HorizontalScrollbarVisibility int32_t ___m_HorizontalScrollbarVisibility_15; // UnityEngine.UI.ScrollRect_ScrollbarVisibility UnityEngine.UI.ScrollRect::m_VerticalScrollbarVisibility int32_t ___m_VerticalScrollbarVisibility_16; // System.Single UnityEngine.UI.ScrollRect::m_HorizontalScrollbarSpacing float ___m_HorizontalScrollbarSpacing_17; // System.Single UnityEngine.UI.ScrollRect::m_VerticalScrollbarSpacing float ___m_VerticalScrollbarSpacing_18; // UnityEngine.UI.ScrollRect_ScrollRectEvent UnityEngine.UI.ScrollRect::m_OnValueChanged ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB * ___m_OnValueChanged_19; // UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_PointerStartLocalCursor Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_PointerStartLocalCursor_20; // UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_ContentStartPosition Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_ContentStartPosition_21; // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_ViewRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_ViewRect_22; // UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_ContentBounds Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 ___m_ContentBounds_23; // UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_ViewBounds Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 ___m_ViewBounds_24; // UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_Velocity Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_Velocity_25; // System.Boolean UnityEngine.UI.ScrollRect::m_Dragging bool ___m_Dragging_26; // System.Boolean UnityEngine.UI.ScrollRect::m_Scrolling bool ___m_Scrolling_27; // UnityEngine.Vector2 UnityEngine.UI.ScrollRect::m_PrevPosition Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_PrevPosition_28; // UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_PrevContentBounds Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 ___m_PrevContentBounds_29; // UnityEngine.Bounds UnityEngine.UI.ScrollRect::m_PrevViewBounds Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 ___m_PrevViewBounds_30; // System.Boolean UnityEngine.UI.ScrollRect::m_HasRebuiltLayout bool ___m_HasRebuiltLayout_31; // System.Boolean UnityEngine.UI.ScrollRect::m_HSliderExpand bool ___m_HSliderExpand_32; // System.Boolean UnityEngine.UI.ScrollRect::m_VSliderExpand bool ___m_VSliderExpand_33; // System.Single UnityEngine.UI.ScrollRect::m_HSliderHeight float ___m_HSliderHeight_34; // System.Single UnityEngine.UI.ScrollRect::m_VSliderWidth float ___m_VSliderWidth_35; // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_Rect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Rect_36; // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_HorizontalScrollbarRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_HorizontalScrollbarRect_37; // UnityEngine.RectTransform UnityEngine.UI.ScrollRect::m_VerticalScrollbarRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_VerticalScrollbarRect_38; // UnityEngine.DrivenRectTransformTracker UnityEngine.UI.ScrollRect::m_Tracker DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_39; // UnityEngine.Vector3[] UnityEngine.UI.ScrollRect::m_Corners Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_Corners_40; public: inline static int32_t get_offset_of_m_Content_4() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Content_4)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_Content_4() const { return ___m_Content_4; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_Content_4() { return &___m_Content_4; } inline void set_m_Content_4(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_Content_4 = value; Il2CppCodeGenWriteBarrier((&___m_Content_4), value); } inline static int32_t get_offset_of_m_Horizontal_5() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Horizontal_5)); } inline bool get_m_Horizontal_5() const { return ___m_Horizontal_5; } inline bool* get_address_of_m_Horizontal_5() { return &___m_Horizontal_5; } inline void set_m_Horizontal_5(bool value) { ___m_Horizontal_5 = value; } inline static int32_t get_offset_of_m_Vertical_6() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Vertical_6)); } inline bool get_m_Vertical_6() const { return ___m_Vertical_6; } inline bool* get_address_of_m_Vertical_6() { return &___m_Vertical_6; } inline void set_m_Vertical_6(bool value) { ___m_Vertical_6 = value; } inline static int32_t get_offset_of_m_MovementType_7() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_MovementType_7)); } inline int32_t get_m_MovementType_7() const { return ___m_MovementType_7; } inline int32_t* get_address_of_m_MovementType_7() { return &___m_MovementType_7; } inline void set_m_MovementType_7(int32_t value) { ___m_MovementType_7 = value; } inline static int32_t get_offset_of_m_Elasticity_8() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Elasticity_8)); } inline float get_m_Elasticity_8() const { return ___m_Elasticity_8; } inline float* get_address_of_m_Elasticity_8() { return &___m_Elasticity_8; } inline void set_m_Elasticity_8(float value) { ___m_Elasticity_8 = value; } inline static int32_t get_offset_of_m_Inertia_9() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Inertia_9)); } inline bool get_m_Inertia_9() const { return ___m_Inertia_9; } inline bool* get_address_of_m_Inertia_9() { return &___m_Inertia_9; } inline void set_m_Inertia_9(bool value) { ___m_Inertia_9 = value; } inline static int32_t get_offset_of_m_DecelerationRate_10() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_DecelerationRate_10)); } inline float get_m_DecelerationRate_10() const { return ___m_DecelerationRate_10; } inline float* get_address_of_m_DecelerationRate_10() { return &___m_DecelerationRate_10; } inline void set_m_DecelerationRate_10(float value) { ___m_DecelerationRate_10 = value; } inline static int32_t get_offset_of_m_ScrollSensitivity_11() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_ScrollSensitivity_11)); } inline float get_m_ScrollSensitivity_11() const { return ___m_ScrollSensitivity_11; } inline float* get_address_of_m_ScrollSensitivity_11() { return &___m_ScrollSensitivity_11; } inline void set_m_ScrollSensitivity_11(float value) { ___m_ScrollSensitivity_11 = value; } inline static int32_t get_offset_of_m_Viewport_12() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Viewport_12)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_Viewport_12() const { return ___m_Viewport_12; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_Viewport_12() { return &___m_Viewport_12; } inline void set_m_Viewport_12(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_Viewport_12 = value; Il2CppCodeGenWriteBarrier((&___m_Viewport_12), value); } inline static int32_t get_offset_of_m_HorizontalScrollbar_13() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HorizontalScrollbar_13)); } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * get_m_HorizontalScrollbar_13() const { return ___m_HorizontalScrollbar_13; } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 ** get_address_of_m_HorizontalScrollbar_13() { return &___m_HorizontalScrollbar_13; } inline void set_m_HorizontalScrollbar_13(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * value) { ___m_HorizontalScrollbar_13 = value; Il2CppCodeGenWriteBarrier((&___m_HorizontalScrollbar_13), value); } inline static int32_t get_offset_of_m_VerticalScrollbar_14() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VerticalScrollbar_14)); } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * get_m_VerticalScrollbar_14() const { return ___m_VerticalScrollbar_14; } inline Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 ** get_address_of_m_VerticalScrollbar_14() { return &___m_VerticalScrollbar_14; } inline void set_m_VerticalScrollbar_14(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 * value) { ___m_VerticalScrollbar_14 = value; Il2CppCodeGenWriteBarrier((&___m_VerticalScrollbar_14), value); } inline static int32_t get_offset_of_m_HorizontalScrollbarVisibility_15() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HorizontalScrollbarVisibility_15)); } inline int32_t get_m_HorizontalScrollbarVisibility_15() const { return ___m_HorizontalScrollbarVisibility_15; } inline int32_t* get_address_of_m_HorizontalScrollbarVisibility_15() { return &___m_HorizontalScrollbarVisibility_15; } inline void set_m_HorizontalScrollbarVisibility_15(int32_t value) { ___m_HorizontalScrollbarVisibility_15 = value; } inline static int32_t get_offset_of_m_VerticalScrollbarVisibility_16() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VerticalScrollbarVisibility_16)); } inline int32_t get_m_VerticalScrollbarVisibility_16() const { return ___m_VerticalScrollbarVisibility_16; } inline int32_t* get_address_of_m_VerticalScrollbarVisibility_16() { return &___m_VerticalScrollbarVisibility_16; } inline void set_m_VerticalScrollbarVisibility_16(int32_t value) { ___m_VerticalScrollbarVisibility_16 = value; } inline static int32_t get_offset_of_m_HorizontalScrollbarSpacing_17() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HorizontalScrollbarSpacing_17)); } inline float get_m_HorizontalScrollbarSpacing_17() const { return ___m_HorizontalScrollbarSpacing_17; } inline float* get_address_of_m_HorizontalScrollbarSpacing_17() { return &___m_HorizontalScrollbarSpacing_17; } inline void set_m_HorizontalScrollbarSpacing_17(float value) { ___m_HorizontalScrollbarSpacing_17 = value; } inline static int32_t get_offset_of_m_VerticalScrollbarSpacing_18() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VerticalScrollbarSpacing_18)); } inline float get_m_VerticalScrollbarSpacing_18() const { return ___m_VerticalScrollbarSpacing_18; } inline float* get_address_of_m_VerticalScrollbarSpacing_18() { return &___m_VerticalScrollbarSpacing_18; } inline void set_m_VerticalScrollbarSpacing_18(float value) { ___m_VerticalScrollbarSpacing_18 = value; } inline static int32_t get_offset_of_m_OnValueChanged_19() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_OnValueChanged_19)); } inline ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB * get_m_OnValueChanged_19() const { return ___m_OnValueChanged_19; } inline ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB ** get_address_of_m_OnValueChanged_19() { return &___m_OnValueChanged_19; } inline void set_m_OnValueChanged_19(ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB * value) { ___m_OnValueChanged_19 = value; Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_19), value); } inline static int32_t get_offset_of_m_PointerStartLocalCursor_20() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_PointerStartLocalCursor_20)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_PointerStartLocalCursor_20() const { return ___m_PointerStartLocalCursor_20; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_PointerStartLocalCursor_20() { return &___m_PointerStartLocalCursor_20; } inline void set_m_PointerStartLocalCursor_20(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_PointerStartLocalCursor_20 = value; } inline static int32_t get_offset_of_m_ContentStartPosition_21() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_ContentStartPosition_21)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_ContentStartPosition_21() const { return ___m_ContentStartPosition_21; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_ContentStartPosition_21() { return &___m_ContentStartPosition_21; } inline void set_m_ContentStartPosition_21(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_ContentStartPosition_21 = value; } inline static int32_t get_offset_of_m_ViewRect_22() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_ViewRect_22)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_ViewRect_22() const { return ___m_ViewRect_22; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_ViewRect_22() { return &___m_ViewRect_22; } inline void set_m_ViewRect_22(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_ViewRect_22 = value; Il2CppCodeGenWriteBarrier((&___m_ViewRect_22), value); } inline static int32_t get_offset_of_m_ContentBounds_23() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_ContentBounds_23)); } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 get_m_ContentBounds_23() const { return ___m_ContentBounds_23; } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 * get_address_of_m_ContentBounds_23() { return &___m_ContentBounds_23; } inline void set_m_ContentBounds_23(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 value) { ___m_ContentBounds_23 = value; } inline static int32_t get_offset_of_m_ViewBounds_24() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_ViewBounds_24)); } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 get_m_ViewBounds_24() const { return ___m_ViewBounds_24; } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 * get_address_of_m_ViewBounds_24() { return &___m_ViewBounds_24; } inline void set_m_ViewBounds_24(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 value) { ___m_ViewBounds_24 = value; } inline static int32_t get_offset_of_m_Velocity_25() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Velocity_25)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_Velocity_25() const { return ___m_Velocity_25; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_Velocity_25() { return &___m_Velocity_25; } inline void set_m_Velocity_25(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_Velocity_25 = value; } inline static int32_t get_offset_of_m_Dragging_26() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Dragging_26)); } inline bool get_m_Dragging_26() const { return ___m_Dragging_26; } inline bool* get_address_of_m_Dragging_26() { return &___m_Dragging_26; } inline void set_m_Dragging_26(bool value) { ___m_Dragging_26 = value; } inline static int32_t get_offset_of_m_Scrolling_27() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Scrolling_27)); } inline bool get_m_Scrolling_27() const { return ___m_Scrolling_27; } inline bool* get_address_of_m_Scrolling_27() { return &___m_Scrolling_27; } inline void set_m_Scrolling_27(bool value) { ___m_Scrolling_27 = value; } inline static int32_t get_offset_of_m_PrevPosition_28() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_PrevPosition_28)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_PrevPosition_28() const { return ___m_PrevPosition_28; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_PrevPosition_28() { return &___m_PrevPosition_28; } inline void set_m_PrevPosition_28(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_PrevPosition_28 = value; } inline static int32_t get_offset_of_m_PrevContentBounds_29() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_PrevContentBounds_29)); } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 get_m_PrevContentBounds_29() const { return ___m_PrevContentBounds_29; } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 * get_address_of_m_PrevContentBounds_29() { return &___m_PrevContentBounds_29; } inline void set_m_PrevContentBounds_29(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 value) { ___m_PrevContentBounds_29 = value; } inline static int32_t get_offset_of_m_PrevViewBounds_30() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_PrevViewBounds_30)); } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 get_m_PrevViewBounds_30() const { return ___m_PrevViewBounds_30; } inline Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 * get_address_of_m_PrevViewBounds_30() { return &___m_PrevViewBounds_30; } inline void set_m_PrevViewBounds_30(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 value) { ___m_PrevViewBounds_30 = value; } inline static int32_t get_offset_of_m_HasRebuiltLayout_31() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HasRebuiltLayout_31)); } inline bool get_m_HasRebuiltLayout_31() const { return ___m_HasRebuiltLayout_31; } inline bool* get_address_of_m_HasRebuiltLayout_31() { return &___m_HasRebuiltLayout_31; } inline void set_m_HasRebuiltLayout_31(bool value) { ___m_HasRebuiltLayout_31 = value; } inline static int32_t get_offset_of_m_HSliderExpand_32() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HSliderExpand_32)); } inline bool get_m_HSliderExpand_32() const { return ___m_HSliderExpand_32; } inline bool* get_address_of_m_HSliderExpand_32() { return &___m_HSliderExpand_32; } inline void set_m_HSliderExpand_32(bool value) { ___m_HSliderExpand_32 = value; } inline static int32_t get_offset_of_m_VSliderExpand_33() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VSliderExpand_33)); } inline bool get_m_VSliderExpand_33() const { return ___m_VSliderExpand_33; } inline bool* get_address_of_m_VSliderExpand_33() { return &___m_VSliderExpand_33; } inline void set_m_VSliderExpand_33(bool value) { ___m_VSliderExpand_33 = value; } inline static int32_t get_offset_of_m_HSliderHeight_34() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HSliderHeight_34)); } inline float get_m_HSliderHeight_34() const { return ___m_HSliderHeight_34; } inline float* get_address_of_m_HSliderHeight_34() { return &___m_HSliderHeight_34; } inline void set_m_HSliderHeight_34(float value) { ___m_HSliderHeight_34 = value; } inline static int32_t get_offset_of_m_VSliderWidth_35() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VSliderWidth_35)); } inline float get_m_VSliderWidth_35() const { return ___m_VSliderWidth_35; } inline float* get_address_of_m_VSliderWidth_35() { return &___m_VSliderWidth_35; } inline void set_m_VSliderWidth_35(float value) { ___m_VSliderWidth_35 = value; } inline static int32_t get_offset_of_m_Rect_36() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Rect_36)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_Rect_36() const { return ___m_Rect_36; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_Rect_36() { return &___m_Rect_36; } inline void set_m_Rect_36(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_Rect_36 = value; Il2CppCodeGenWriteBarrier((&___m_Rect_36), value); } inline static int32_t get_offset_of_m_HorizontalScrollbarRect_37() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_HorizontalScrollbarRect_37)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_HorizontalScrollbarRect_37() const { return ___m_HorizontalScrollbarRect_37; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_HorizontalScrollbarRect_37() { return &___m_HorizontalScrollbarRect_37; } inline void set_m_HorizontalScrollbarRect_37(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_HorizontalScrollbarRect_37 = value; Il2CppCodeGenWriteBarrier((&___m_HorizontalScrollbarRect_37), value); } inline static int32_t get_offset_of_m_VerticalScrollbarRect_38() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_VerticalScrollbarRect_38)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_VerticalScrollbarRect_38() const { return ___m_VerticalScrollbarRect_38; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_VerticalScrollbarRect_38() { return &___m_VerticalScrollbarRect_38; } inline void set_m_VerticalScrollbarRect_38(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_VerticalScrollbarRect_38 = value; Il2CppCodeGenWriteBarrier((&___m_VerticalScrollbarRect_38), value); } inline static int32_t get_offset_of_m_Tracker_39() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Tracker_39)); } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 get_m_Tracker_39() const { return ___m_Tracker_39; } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 * get_address_of_m_Tracker_39() { return &___m_Tracker_39; } inline void set_m_Tracker_39(DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 value) { ___m_Tracker_39 = value; } inline static int32_t get_offset_of_m_Corners_40() { return static_cast<int32_t>(offsetof(ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51, ___m_Corners_40)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_Corners_40() const { return ___m_Corners_40; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_Corners_40() { return &___m_Corners_40; } inline void set_m_Corners_40(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___m_Corners_40 = value; Il2CppCodeGenWriteBarrier((&___m_Corners_40), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCROLLRECT_TAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51_H #ifndef SELECTABLE_TAA9065030FE0468018DEC880302F95FEA9C0133A_H #define SELECTABLE_TAA9065030FE0468018DEC880302F95FEA9C0133A_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Selectable struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A : public UIBehaviour_t3C3C339CD5677BA7FC27C352FED8B78052A3FE70 { public: // UnityEngine.UI.Navigation UnityEngine.UI.Selectable::m_Navigation Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 ___m_Navigation_5; // UnityEngine.UI.Selectable_Transition UnityEngine.UI.Selectable::m_Transition int32_t ___m_Transition_6; // UnityEngine.UI.ColorBlock UnityEngine.UI.Selectable::m_Colors ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA ___m_Colors_7; // UnityEngine.UI.SpriteState UnityEngine.UI.Selectable::m_SpriteState SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A ___m_SpriteState_8; // UnityEngine.UI.AnimationTriggers UnityEngine.UI.Selectable::m_AnimationTriggers AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * ___m_AnimationTriggers_9; // System.Boolean UnityEngine.UI.Selectable::m_Interactable bool ___m_Interactable_10; // UnityEngine.UI.Graphic UnityEngine.UI.Selectable::m_TargetGraphic Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___m_TargetGraphic_11; // System.Boolean UnityEngine.UI.Selectable::m_GroupsAllowInteraction bool ___m_GroupsAllowInteraction_12; // UnityEngine.UI.Selectable_SelectionState UnityEngine.UI.Selectable::m_CurrentSelectionState int32_t ___m_CurrentSelectionState_13; // System.Boolean UnityEngine.UI.Selectable::<isPointerInside>k__BackingField bool ___U3CisPointerInsideU3Ek__BackingField_14; // System.Boolean UnityEngine.UI.Selectable::<isPointerDown>k__BackingField bool ___U3CisPointerDownU3Ek__BackingField_15; // System.Boolean UnityEngine.UI.Selectable::<hasSelection>k__BackingField bool ___U3ChasSelectionU3Ek__BackingField_16; // System.Collections.Generic.List`1<UnityEngine.CanvasGroup> UnityEngine.UI.Selectable::m_CanvasGroupCache List_1_t64BA96BFC713F221050385E91C868CE455C245D6 * ___m_CanvasGroupCache_17; public: inline static int32_t get_offset_of_m_Navigation_5() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Navigation_5)); } inline Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 get_m_Navigation_5() const { return ___m_Navigation_5; } inline Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 * get_address_of_m_Navigation_5() { return &___m_Navigation_5; } inline void set_m_Navigation_5(Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07 value) { ___m_Navigation_5 = value; } inline static int32_t get_offset_of_m_Transition_6() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Transition_6)); } inline int32_t get_m_Transition_6() const { return ___m_Transition_6; } inline int32_t* get_address_of_m_Transition_6() { return &___m_Transition_6; } inline void set_m_Transition_6(int32_t value) { ___m_Transition_6 = value; } inline static int32_t get_offset_of_m_Colors_7() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Colors_7)); } inline ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA get_m_Colors_7() const { return ___m_Colors_7; } inline ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA * get_address_of_m_Colors_7() { return &___m_Colors_7; } inline void set_m_Colors_7(ColorBlock_t93B54DF6E8D65D24CEA9726CA745E48C53E3B1EA value) { ___m_Colors_7 = value; } inline static int32_t get_offset_of_m_SpriteState_8() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_SpriteState_8)); } inline SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A get_m_SpriteState_8() const { return ___m_SpriteState_8; } inline SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A * get_address_of_m_SpriteState_8() { return &___m_SpriteState_8; } inline void set_m_SpriteState_8(SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A value) { ___m_SpriteState_8 = value; } inline static int32_t get_offset_of_m_AnimationTriggers_9() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_AnimationTriggers_9)); } inline AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * get_m_AnimationTriggers_9() const { return ___m_AnimationTriggers_9; } inline AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 ** get_address_of_m_AnimationTriggers_9() { return &___m_AnimationTriggers_9; } inline void set_m_AnimationTriggers_9(AnimationTriggers_t164EF8B310E294B7D0F6BF1A87376731EBD06DC5 * value) { ___m_AnimationTriggers_9 = value; Il2CppCodeGenWriteBarrier((&___m_AnimationTriggers_9), value); } inline static int32_t get_offset_of_m_Interactable_10() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_Interactable_10)); } inline bool get_m_Interactable_10() const { return ___m_Interactable_10; } inline bool* get_address_of_m_Interactable_10() { return &___m_Interactable_10; } inline void set_m_Interactable_10(bool value) { ___m_Interactable_10 = value; } inline static int32_t get_offset_of_m_TargetGraphic_11() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_TargetGraphic_11)); } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_m_TargetGraphic_11() const { return ___m_TargetGraphic_11; } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_m_TargetGraphic_11() { return &___m_TargetGraphic_11; } inline void set_m_TargetGraphic_11(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value) { ___m_TargetGraphic_11 = value; Il2CppCodeGenWriteBarrier((&___m_TargetGraphic_11), value); } inline static int32_t get_offset_of_m_GroupsAllowInteraction_12() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_GroupsAllowInteraction_12)); } inline bool get_m_GroupsAllowInteraction_12() const { return ___m_GroupsAllowInteraction_12; } inline bool* get_address_of_m_GroupsAllowInteraction_12() { return &___m_GroupsAllowInteraction_12; } inline void set_m_GroupsAllowInteraction_12(bool value) { ___m_GroupsAllowInteraction_12 = value; } inline static int32_t get_offset_of_m_CurrentSelectionState_13() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_CurrentSelectionState_13)); } inline int32_t get_m_CurrentSelectionState_13() const { return ___m_CurrentSelectionState_13; } inline int32_t* get_address_of_m_CurrentSelectionState_13() { return &___m_CurrentSelectionState_13; } inline void set_m_CurrentSelectionState_13(int32_t value) { ___m_CurrentSelectionState_13 = value; } inline static int32_t get_offset_of_U3CisPointerInsideU3Ek__BackingField_14() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3CisPointerInsideU3Ek__BackingField_14)); } inline bool get_U3CisPointerInsideU3Ek__BackingField_14() const { return ___U3CisPointerInsideU3Ek__BackingField_14; } inline bool* get_address_of_U3CisPointerInsideU3Ek__BackingField_14() { return &___U3CisPointerInsideU3Ek__BackingField_14; } inline void set_U3CisPointerInsideU3Ek__BackingField_14(bool value) { ___U3CisPointerInsideU3Ek__BackingField_14 = value; } inline static int32_t get_offset_of_U3CisPointerDownU3Ek__BackingField_15() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3CisPointerDownU3Ek__BackingField_15)); } inline bool get_U3CisPointerDownU3Ek__BackingField_15() const { return ___U3CisPointerDownU3Ek__BackingField_15; } inline bool* get_address_of_U3CisPointerDownU3Ek__BackingField_15() { return &___U3CisPointerDownU3Ek__BackingField_15; } inline void set_U3CisPointerDownU3Ek__BackingField_15(bool value) { ___U3CisPointerDownU3Ek__BackingField_15 = value; } inline static int32_t get_offset_of_U3ChasSelectionU3Ek__BackingField_16() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___U3ChasSelectionU3Ek__BackingField_16)); } inline bool get_U3ChasSelectionU3Ek__BackingField_16() const { return ___U3ChasSelectionU3Ek__BackingField_16; } inline bool* get_address_of_U3ChasSelectionU3Ek__BackingField_16() { return &___U3ChasSelectionU3Ek__BackingField_16; } inline void set_U3ChasSelectionU3Ek__BackingField_16(bool value) { ___U3ChasSelectionU3Ek__BackingField_16 = value; } inline static int32_t get_offset_of_m_CanvasGroupCache_17() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A, ___m_CanvasGroupCache_17)); } inline List_1_t64BA96BFC713F221050385E91C868CE455C245D6 * get_m_CanvasGroupCache_17() const { return ___m_CanvasGroupCache_17; } inline List_1_t64BA96BFC713F221050385E91C868CE455C245D6 ** get_address_of_m_CanvasGroupCache_17() { return &___m_CanvasGroupCache_17; } inline void set_m_CanvasGroupCache_17(List_1_t64BA96BFC713F221050385E91C868CE455C245D6 * value) { ___m_CanvasGroupCache_17 = value; Il2CppCodeGenWriteBarrier((&___m_CanvasGroupCache_17), value); } }; struct Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields { public: // System.Collections.Generic.List`1<UnityEngine.UI.Selectable> UnityEngine.UI.Selectable::s_List List_1_tC6550F4D86CF67D987B6B46F46941B36D02A9680 * ___s_List_4; public: inline static int32_t get_offset_of_s_List_4() { return static_cast<int32_t>(offsetof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields, ___s_List_4)); } inline List_1_tC6550F4D86CF67D987B6B46F46941B36D02A9680 * get_s_List_4() const { return ___s_List_4; } inline List_1_tC6550F4D86CF67D987B6B46F46941B36D02A9680 ** get_address_of_s_List_4() { return &___s_List_4; } inline void set_s_List_4(List_1_tC6550F4D86CF67D987B6B46F46941B36D02A9680 * value) { ___s_List_4 = value; Il2CppCodeGenWriteBarrier((&___s_List_4), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SELECTABLE_TAA9065030FE0468018DEC880302F95FEA9C0133A_H #ifndef TOGGLEGROUP_T11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_H #define TOGGLEGROUP_T11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.ToggleGroup struct ToggleGroup_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_t02218CE37FD9D09EE4EC464F0D43E9FD9DE0C581 * ___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_t02218CE37FD9D09EE4EC464F0D43E9FD9DE0C581 * get_m_Toggles_5() const { return ___m_Toggles_5; } inline List_1_t02218CE37FD9D09EE4EC464F0D43E9FD9DE0C581 ** get_address_of_m_Toggles_5() { return &___m_Toggles_5; } inline void set_m_Toggles_5(List_1_t02218CE37FD9D09EE4EC464F0D43E9FD9DE0C581 * value) { ___m_Toggles_5 = value; Il2CppCodeGenWriteBarrier((&___m_Toggles_5), value); } }; struct ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields { public: // System.Predicate`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::<>f__amU24cache0 Predicate_1_t2D2FE3EBD09F7A807E9C7EC5A28E252B7F1E8341 * ___U3CU3Ef__amU24cache0_6; // System.Func`2<UnityEngine.UI.Toggle,System.Boolean> UnityEngine.UI.ToggleGroup::<>f__amU24cache1 Func_2_t1D8A83A768DC97BC0940C939C870AF7BC74C026E * ___U3CU3Ef__amU24cache1_7; public: inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_6() { return static_cast<int32_t>(offsetof(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields, ___U3CU3Ef__amU24cache0_6)); } inline Predicate_1_t2D2FE3EBD09F7A807E9C7EC5A28E252B7F1E8341 * get_U3CU3Ef__amU24cache0_6() const { return ___U3CU3Ef__amU24cache0_6; } inline Predicate_1_t2D2FE3EBD09F7A807E9C7EC5A28E252B7F1E8341 ** get_address_of_U3CU3Ef__amU24cache0_6() { return &___U3CU3Ef__amU24cache0_6; } inline void set_U3CU3Ef__amU24cache0_6(Predicate_1_t2D2FE3EBD09F7A807E9C7EC5A28E252B7F1E8341 * value) { ___U3CU3Ef__amU24cache0_6 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_6), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache1_7() { return static_cast<int32_t>(offsetof(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields, ___U3CU3Ef__amU24cache1_7)); } inline Func_2_t1D8A83A768DC97BC0940C939C870AF7BC74C026E * get_U3CU3Ef__amU24cache1_7() const { return ___U3CU3Ef__amU24cache1_7; } inline Func_2_t1D8A83A768DC97BC0940C939C870AF7BC74C026E ** get_address_of_U3CU3Ef__amU24cache1_7() { return &___U3CU3Ef__amU24cache1_7; } inline void set_U3CU3Ef__amU24cache1_7(Func_2_t1D8A83A768DC97BC0940C939C870AF7BC74C026E * value) { ___U3CU3Ef__amU24cache1_7 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache1_7), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TOGGLEGROUP_T11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_H #ifndef DROPDOWN_TF6331401084B1213CAB10587A6EC81461501930F_H #define DROPDOWN_TF6331401084B1213CAB10587A6EC81461501930F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Dropdown struct Dropdown_tF6331401084B1213CAB10587A6EC81461501930F : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A { public: // UnityEngine.RectTransform UnityEngine.UI.Dropdown::m_Template RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_Template_18; // UnityEngine.UI.Text UnityEngine.UI.Dropdown::m_CaptionText Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___m_CaptionText_19; // UnityEngine.UI.Image UnityEngine.UI.Dropdown::m_CaptionImage Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * ___m_CaptionImage_20; // UnityEngine.UI.Text UnityEngine.UI.Dropdown::m_ItemText Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___m_ItemText_21; // UnityEngine.UI.Image UnityEngine.UI.Dropdown::m_ItemImage Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * ___m_ItemImage_22; // System.Int32 UnityEngine.UI.Dropdown::m_Value int32_t ___m_Value_23; // UnityEngine.UI.Dropdown_OptionDataList UnityEngine.UI.Dropdown::m_Options OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D * ___m_Options_24; // UnityEngine.UI.Dropdown_DropdownEvent UnityEngine.UI.Dropdown::m_OnValueChanged DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306 * ___m_OnValueChanged_25; // UnityEngine.GameObject UnityEngine.UI.Dropdown::m_Dropdown GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_Dropdown_26; // UnityEngine.GameObject UnityEngine.UI.Dropdown::m_Blocker GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * ___m_Blocker_27; // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown_DropdownItem> UnityEngine.UI.Dropdown::m_Items List_1_t9CE24C9765CEA576BA5850425955BF1016C0B607 * ___m_Items_28; // UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.FloatTween> UnityEngine.UI.Dropdown::m_AlphaTweenRunner TweenRunner_1_tA7C92F52BF30E9A20EDA2DD956E11A1493D098EF * ___m_AlphaTweenRunner_29; // System.Boolean UnityEngine.UI.Dropdown::validTemplate bool ___validTemplate_30; public: inline static int32_t get_offset_of_m_Template_18() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Template_18)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_Template_18() const { return ___m_Template_18; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_Template_18() { return &___m_Template_18; } inline void set_m_Template_18(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_Template_18 = value; Il2CppCodeGenWriteBarrier((&___m_Template_18), value); } inline static int32_t get_offset_of_m_CaptionText_19() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_CaptionText_19)); } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * get_m_CaptionText_19() const { return ___m_CaptionText_19; } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 ** get_address_of_m_CaptionText_19() { return &___m_CaptionText_19; } inline void set_m_CaptionText_19(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * value) { ___m_CaptionText_19 = value; Il2CppCodeGenWriteBarrier((&___m_CaptionText_19), value); } inline static int32_t get_offset_of_m_CaptionImage_20() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_CaptionImage_20)); } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * get_m_CaptionImage_20() const { return ___m_CaptionImage_20; } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E ** get_address_of_m_CaptionImage_20() { return &___m_CaptionImage_20; } inline void set_m_CaptionImage_20(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * value) { ___m_CaptionImage_20 = value; Il2CppCodeGenWriteBarrier((&___m_CaptionImage_20), value); } inline static int32_t get_offset_of_m_ItemText_21() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_ItemText_21)); } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * get_m_ItemText_21() const { return ___m_ItemText_21; } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 ** get_address_of_m_ItemText_21() { return &___m_ItemText_21; } inline void set_m_ItemText_21(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * value) { ___m_ItemText_21 = value; Il2CppCodeGenWriteBarrier((&___m_ItemText_21), value); } inline static int32_t get_offset_of_m_ItemImage_22() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_ItemImage_22)); } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * get_m_ItemImage_22() const { return ___m_ItemImage_22; } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E ** get_address_of_m_ItemImage_22() { return &___m_ItemImage_22; } inline void set_m_ItemImage_22(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * value) { ___m_ItemImage_22 = value; Il2CppCodeGenWriteBarrier((&___m_ItemImage_22), value); } inline static int32_t get_offset_of_m_Value_23() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Value_23)); } inline int32_t get_m_Value_23() const { return ___m_Value_23; } inline int32_t* get_address_of_m_Value_23() { return &___m_Value_23; } inline void set_m_Value_23(int32_t value) { ___m_Value_23 = value; } inline static int32_t get_offset_of_m_Options_24() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Options_24)); } inline OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D * get_m_Options_24() const { return ___m_Options_24; } inline OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D ** get_address_of_m_Options_24() { return &___m_Options_24; } inline void set_m_Options_24(OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D * value) { ___m_Options_24 = value; Il2CppCodeGenWriteBarrier((&___m_Options_24), value); } inline static int32_t get_offset_of_m_OnValueChanged_25() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_OnValueChanged_25)); } inline DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306 * get_m_OnValueChanged_25() const { return ___m_OnValueChanged_25; } inline DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306 ** get_address_of_m_OnValueChanged_25() { return &___m_OnValueChanged_25; } inline void set_m_OnValueChanged_25(DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306 * value) { ___m_OnValueChanged_25 = value; Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_25), value); } inline static int32_t get_offset_of_m_Dropdown_26() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Dropdown_26)); } inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_Dropdown_26() const { return ___m_Dropdown_26; } inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_Dropdown_26() { return &___m_Dropdown_26; } inline void set_m_Dropdown_26(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value) { ___m_Dropdown_26 = value; Il2CppCodeGenWriteBarrier((&___m_Dropdown_26), value); } inline static int32_t get_offset_of_m_Blocker_27() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Blocker_27)); } inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * get_m_Blocker_27() const { return ___m_Blocker_27; } inline GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F ** get_address_of_m_Blocker_27() { return &___m_Blocker_27; } inline void set_m_Blocker_27(GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * value) { ___m_Blocker_27 = value; Il2CppCodeGenWriteBarrier((&___m_Blocker_27), value); } inline static int32_t get_offset_of_m_Items_28() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_Items_28)); } inline List_1_t9CE24C9765CEA576BA5850425955BF1016C0B607 * get_m_Items_28() const { return ___m_Items_28; } inline List_1_t9CE24C9765CEA576BA5850425955BF1016C0B607 ** get_address_of_m_Items_28() { return &___m_Items_28; } inline void set_m_Items_28(List_1_t9CE24C9765CEA576BA5850425955BF1016C0B607 * value) { ___m_Items_28 = value; Il2CppCodeGenWriteBarrier((&___m_Items_28), value); } inline static int32_t get_offset_of_m_AlphaTweenRunner_29() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___m_AlphaTweenRunner_29)); } inline TweenRunner_1_tA7C92F52BF30E9A20EDA2DD956E11A1493D098EF * get_m_AlphaTweenRunner_29() const { return ___m_AlphaTweenRunner_29; } inline TweenRunner_1_tA7C92F52BF30E9A20EDA2DD956E11A1493D098EF ** get_address_of_m_AlphaTweenRunner_29() { return &___m_AlphaTweenRunner_29; } inline void set_m_AlphaTweenRunner_29(TweenRunner_1_tA7C92F52BF30E9A20EDA2DD956E11A1493D098EF * value) { ___m_AlphaTweenRunner_29 = value; Il2CppCodeGenWriteBarrier((&___m_AlphaTweenRunner_29), value); } inline static int32_t get_offset_of_validTemplate_30() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F, ___validTemplate_30)); } inline bool get_validTemplate_30() const { return ___validTemplate_30; } inline bool* get_address_of_validTemplate_30() { return &___validTemplate_30; } inline void set_validTemplate_30(bool value) { ___validTemplate_30 = value; } }; struct Dropdown_tF6331401084B1213CAB10587A6EC81461501930F_StaticFields { public: // UnityEngine.UI.Dropdown_OptionData UnityEngine.UI.Dropdown::s_NoOptionData OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831 * ___s_NoOptionData_31; public: inline static int32_t get_offset_of_s_NoOptionData_31() { return static_cast<int32_t>(offsetof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F_StaticFields, ___s_NoOptionData_31)); } inline OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831 * get_s_NoOptionData_31() const { return ___s_NoOptionData_31; } inline OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831 ** get_address_of_s_NoOptionData_31() { return &___s_NoOptionData_31; } inline void set_s_NoOptionData_31(OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831 * value) { ___s_NoOptionData_31 = value; Il2CppCodeGenWriteBarrier((&___s_NoOptionData_31), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // DROPDOWN_TF6331401084B1213CAB10587A6EC81461501930F_H #ifndef GRAPHICRAYCASTER_T9AA334998113578A7FC0B27D7D6FEF19E74B9D83_H #define GRAPHICRAYCASTER_T9AA334998113578A7FC0B27D7D6FEF19E74B9D83_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GraphicRaycaster struct GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83 : public BaseRaycaster_tC7F6105A89F54A38FBFC2659901855FDBB0E3966 { public: // System.Boolean UnityEngine.UI.GraphicRaycaster::m_IgnoreReversedGraphics bool ___m_IgnoreReversedGraphics_5; // UnityEngine.UI.GraphicRaycaster_BlockingObjects UnityEngine.UI.GraphicRaycaster::m_BlockingObjects int32_t ___m_BlockingObjects_6; // UnityEngine.LayerMask UnityEngine.UI.GraphicRaycaster::m_BlockingMask LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0 ___m_BlockingMask_7; // UnityEngine.Canvas UnityEngine.UI.GraphicRaycaster::m_Canvas Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * ___m_Canvas_8; // System.Collections.Generic.List`1<UnityEngine.UI.Graphic> UnityEngine.UI.GraphicRaycaster::m_RaycastResults List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * ___m_RaycastResults_9; public: inline static int32_t get_offset_of_m_IgnoreReversedGraphics_5() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83, ___m_IgnoreReversedGraphics_5)); } inline bool get_m_IgnoreReversedGraphics_5() const { return ___m_IgnoreReversedGraphics_5; } inline bool* get_address_of_m_IgnoreReversedGraphics_5() { return &___m_IgnoreReversedGraphics_5; } inline void set_m_IgnoreReversedGraphics_5(bool value) { ___m_IgnoreReversedGraphics_5 = value; } inline static int32_t get_offset_of_m_BlockingObjects_6() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83, ___m_BlockingObjects_6)); } inline int32_t get_m_BlockingObjects_6() const { return ___m_BlockingObjects_6; } inline int32_t* get_address_of_m_BlockingObjects_6() { return &___m_BlockingObjects_6; } inline void set_m_BlockingObjects_6(int32_t value) { ___m_BlockingObjects_6 = value; } inline static int32_t get_offset_of_m_BlockingMask_7() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83, ___m_BlockingMask_7)); } inline LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0 get_m_BlockingMask_7() const { return ___m_BlockingMask_7; } inline LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0 * get_address_of_m_BlockingMask_7() { return &___m_BlockingMask_7; } inline void set_m_BlockingMask_7(LayerMask_tBB9173D8B6939D476E67E849280AC9F4EC4D93B0 value) { ___m_BlockingMask_7 = value; } inline static int32_t get_offset_of_m_Canvas_8() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83, ___m_Canvas_8)); } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * get_m_Canvas_8() const { return ___m_Canvas_8; } inline Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 ** get_address_of_m_Canvas_8() { return &___m_Canvas_8; } inline void set_m_Canvas_8(Canvas_tBC28BF1DD8D8499A89B5781505833D3728CF8591 * value) { ___m_Canvas_8 = value; Il2CppCodeGenWriteBarrier((&___m_Canvas_8), value); } inline static int32_t get_offset_of_m_RaycastResults_9() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83, ___m_RaycastResults_9)); } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * get_m_RaycastResults_9() const { return ___m_RaycastResults_9; } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 ** get_address_of_m_RaycastResults_9() { return &___m_RaycastResults_9; } inline void set_m_RaycastResults_9(List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * value) { ___m_RaycastResults_9 = value; Il2CppCodeGenWriteBarrier((&___m_RaycastResults_9), value); } }; struct GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields { public: // System.Collections.Generic.List`1<UnityEngine.UI.Graphic> UnityEngine.UI.GraphicRaycaster::s_SortedGraphics List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * ___s_SortedGraphics_10; // System.Comparison`1<UnityEngine.UI.Graphic> UnityEngine.UI.GraphicRaycaster::<>f__amU24cache0 Comparison_1_t5031A3D1172F5D774E43B5AE7EF4F0F79CE5796A * ___U3CU3Ef__amU24cache0_11; public: inline static int32_t get_offset_of_s_SortedGraphics_10() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields, ___s_SortedGraphics_10)); } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * get_s_SortedGraphics_10() const { return ___s_SortedGraphics_10; } inline List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 ** get_address_of_s_SortedGraphics_10() { return &___s_SortedGraphics_10; } inline void set_s_SortedGraphics_10(List_1_t5DB49737D499F93016BB3E3D19278B515B1272E6 * value) { ___s_SortedGraphics_10 = value; Il2CppCodeGenWriteBarrier((&___s_SortedGraphics_10), value); } inline static int32_t get_offset_of_U3CU3Ef__amU24cache0_11() { return static_cast<int32_t>(offsetof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields, ___U3CU3Ef__amU24cache0_11)); } inline Comparison_1_t5031A3D1172F5D774E43B5AE7EF4F0F79CE5796A * get_U3CU3Ef__amU24cache0_11() const { return ___U3CU3Ef__amU24cache0_11; } inline Comparison_1_t5031A3D1172F5D774E43B5AE7EF4F0F79CE5796A ** get_address_of_U3CU3Ef__amU24cache0_11() { return &___U3CU3Ef__amU24cache0_11; } inline void set_U3CU3Ef__amU24cache0_11(Comparison_1_t5031A3D1172F5D774E43B5AE7EF4F0F79CE5796A * value) { ___U3CU3Ef__amU24cache0_11 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__amU24cache0_11), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // GRAPHICRAYCASTER_T9AA334998113578A7FC0B27D7D6FEF19E74B9D83_H #ifndef GRIDLAYOUTGROUP_T1C70294BD2567FD584672222A8BFD5A0DF1CA2A8_H #define GRIDLAYOUTGROUP_T1C70294BD2567FD584672222A8BFD5A0DF1CA2A8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.GridLayoutGroup struct GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8 : public LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4 { public: // UnityEngine.UI.GridLayoutGroup_Corner UnityEngine.UI.GridLayoutGroup::m_StartCorner int32_t ___m_StartCorner_12; // UnityEngine.UI.GridLayoutGroup_Axis UnityEngine.UI.GridLayoutGroup::m_StartAxis int32_t ___m_StartAxis_13; // UnityEngine.Vector2 UnityEngine.UI.GridLayoutGroup::m_CellSize Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_CellSize_14; // UnityEngine.Vector2 UnityEngine.UI.GridLayoutGroup::m_Spacing Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_Spacing_15; // UnityEngine.UI.GridLayoutGroup_Constraint UnityEngine.UI.GridLayoutGroup::m_Constraint int32_t ___m_Constraint_16; // System.Int32 UnityEngine.UI.GridLayoutGroup::m_ConstraintCount int32_t ___m_ConstraintCount_17; public: inline static int32_t get_offset_of_m_StartCorner_12() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_StartCorner_12)); } inline int32_t get_m_StartCorner_12() const { return ___m_StartCorner_12; } inline int32_t* get_address_of_m_StartCorner_12() { return &___m_StartCorner_12; } inline void set_m_StartCorner_12(int32_t value) { ___m_StartCorner_12 = value; } inline static int32_t get_offset_of_m_StartAxis_13() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_StartAxis_13)); } inline int32_t get_m_StartAxis_13() const { return ___m_StartAxis_13; } inline int32_t* get_address_of_m_StartAxis_13() { return &___m_StartAxis_13; } inline void set_m_StartAxis_13(int32_t value) { ___m_StartAxis_13 = value; } inline static int32_t get_offset_of_m_CellSize_14() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_CellSize_14)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_CellSize_14() const { return ___m_CellSize_14; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_CellSize_14() { return &___m_CellSize_14; } inline void set_m_CellSize_14(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_CellSize_14 = value; } inline static int32_t get_offset_of_m_Spacing_15() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_Spacing_15)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_Spacing_15() const { return ___m_Spacing_15; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_Spacing_15() { return &___m_Spacing_15; } inline void set_m_Spacing_15(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_Spacing_15 = value; } inline static int32_t get_offset_of_m_Constraint_16() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_Constraint_16)); } inline int32_t get_m_Constraint_16() const { return ___m_Constraint_16; } inline int32_t* get_address_of_m_Constraint_16() { return &___m_Constraint_16; } inline void set_m_Constraint_16(int32_t value) { ___m_Constraint_16 = value; } inline static int32_t get_offset_of_m_ConstraintCount_17() { return static_cast<int32_t>(offsetof(GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8, ___m_ConstraintCount_17)); } inline int32_t get_m_ConstraintCount_17() const { return ___m_ConstraintCount_17; } inline int32_t* get_address_of_m_ConstraintCount_17() { return &___m_ConstraintCount_17; } inline void set_m_ConstraintCount_17(int32_t value) { ___m_ConstraintCount_17 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // GRIDLAYOUTGROUP_T1C70294BD2567FD584672222A8BFD5A0DF1CA2A8_H #ifndef HORIZONTALORVERTICALLAYOUTGROUP_TFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB_H #define HORIZONTALORVERTICALLAYOUTGROUP_TFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // 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; 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; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // HORIZONTALORVERTICALLAYOUTGROUP_TFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB_H #ifndef INPUTFIELD_T533609195B110760BCFF00B746C87D81969CB005_H #define INPUTFIELD_T533609195B110760BCFF00B746C87D81969CB005_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.InputField struct InputField_t533609195B110760BCFF00B746C87D81969CB005 : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A { public: // UnityEngine.TouchScreenKeyboard UnityEngine.UI.InputField::m_Keyboard TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * ___m_Keyboard_18; // UnityEngine.UI.Text UnityEngine.UI.InputField::m_TextComponent Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * ___m_TextComponent_20; // UnityEngine.UI.Graphic UnityEngine.UI.InputField::m_Placeholder Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___m_Placeholder_21; // UnityEngine.UI.InputField_ContentType UnityEngine.UI.InputField::m_ContentType int32_t ___m_ContentType_22; // UnityEngine.UI.InputField_InputType UnityEngine.UI.InputField::m_InputType int32_t ___m_InputType_23; // System.Char UnityEngine.UI.InputField::m_AsteriskChar Il2CppChar ___m_AsteriskChar_24; // UnityEngine.TouchScreenKeyboardType UnityEngine.UI.InputField::m_KeyboardType int32_t ___m_KeyboardType_25; // UnityEngine.UI.InputField_LineType UnityEngine.UI.InputField::m_LineType int32_t ___m_LineType_26; // System.Boolean UnityEngine.UI.InputField::m_HideMobileInput bool ___m_HideMobileInput_27; // UnityEngine.UI.InputField_CharacterValidation UnityEngine.UI.InputField::m_CharacterValidation int32_t ___m_CharacterValidation_28; // System.Int32 UnityEngine.UI.InputField::m_CharacterLimit int32_t ___m_CharacterLimit_29; // UnityEngine.UI.InputField_SubmitEvent UnityEngine.UI.InputField::m_OnEndEdit SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A * ___m_OnEndEdit_30; // UnityEngine.UI.InputField_OnChangeEvent UnityEngine.UI.InputField::m_OnValueChanged OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A * ___m_OnValueChanged_31; // UnityEngine.UI.InputField_OnValidateInput UnityEngine.UI.InputField::m_OnValidateInput OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0 * ___m_OnValidateInput_32; // UnityEngine.Color UnityEngine.UI.InputField::m_CaretColor Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_CaretColor_33; // System.Boolean UnityEngine.UI.InputField::m_CustomCaretColor bool ___m_CustomCaretColor_34; // UnityEngine.Color UnityEngine.UI.InputField::m_SelectionColor Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ___m_SelectionColor_35; // System.String UnityEngine.UI.InputField::m_Text String_t* ___m_Text_36; // System.Single UnityEngine.UI.InputField::m_CaretBlinkRate float ___m_CaretBlinkRate_37; // System.Int32 UnityEngine.UI.InputField::m_CaretWidth int32_t ___m_CaretWidth_38; // System.Boolean UnityEngine.UI.InputField::m_ReadOnly bool ___m_ReadOnly_39; // System.Int32 UnityEngine.UI.InputField::m_CaretPosition int32_t ___m_CaretPosition_40; // System.Int32 UnityEngine.UI.InputField::m_CaretSelectPosition int32_t ___m_CaretSelectPosition_41; // UnityEngine.RectTransform UnityEngine.UI.InputField::caretRectTrans RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___caretRectTrans_42; // UnityEngine.UIVertex[] UnityEngine.UI.InputField::m_CursorVerts UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ___m_CursorVerts_43; // UnityEngine.TextGenerator UnityEngine.UI.InputField::m_InputTextCache TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * ___m_InputTextCache_44; // UnityEngine.CanvasRenderer UnityEngine.UI.InputField::m_CachedInputRenderer CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * ___m_CachedInputRenderer_45; // System.Boolean UnityEngine.UI.InputField::m_PreventFontCallback bool ___m_PreventFontCallback_46; // UnityEngine.Mesh UnityEngine.UI.InputField::m_Mesh Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * ___m_Mesh_47; // System.Boolean UnityEngine.UI.InputField::m_AllowInput bool ___m_AllowInput_48; // System.Boolean UnityEngine.UI.InputField::m_ShouldActivateNextUpdate bool ___m_ShouldActivateNextUpdate_49; // System.Boolean UnityEngine.UI.InputField::m_UpdateDrag bool ___m_UpdateDrag_50; // System.Boolean UnityEngine.UI.InputField::m_DragPositionOutOfBounds bool ___m_DragPositionOutOfBounds_51; // System.Boolean UnityEngine.UI.InputField::m_CaretVisible bool ___m_CaretVisible_54; // UnityEngine.Coroutine UnityEngine.UI.InputField::m_BlinkCoroutine Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * ___m_BlinkCoroutine_55; // System.Single UnityEngine.UI.InputField::m_BlinkStartTime float ___m_BlinkStartTime_56; // System.Int32 UnityEngine.UI.InputField::m_DrawStart int32_t ___m_DrawStart_57; // System.Int32 UnityEngine.UI.InputField::m_DrawEnd int32_t ___m_DrawEnd_58; // UnityEngine.Coroutine UnityEngine.UI.InputField::m_DragCoroutine Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * ___m_DragCoroutine_59; // System.String UnityEngine.UI.InputField::m_OriginalText String_t* ___m_OriginalText_60; // System.Boolean UnityEngine.UI.InputField::m_WasCanceled bool ___m_WasCanceled_61; // System.Boolean UnityEngine.UI.InputField::m_HasDoneFocusTransition bool ___m_HasDoneFocusTransition_62; // UnityEngine.WaitForSecondsRealtime UnityEngine.UI.InputField::m_WaitForSecondsRealtime WaitForSecondsRealtime_t0CF361107C4A9E25E0D4CF2F37732CE785235739 * ___m_WaitForSecondsRealtime_63; // UnityEngine.Event UnityEngine.UI.InputField::m_ProcessingEvent Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * ___m_ProcessingEvent_65; public: inline static int32_t get_offset_of_m_Keyboard_18() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_Keyboard_18)); } inline TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * get_m_Keyboard_18() const { return ___m_Keyboard_18; } inline TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 ** get_address_of_m_Keyboard_18() { return &___m_Keyboard_18; } inline void set_m_Keyboard_18(TouchScreenKeyboard_t2A69F85698E9780470181532D3F2BC903623FD90 * value) { ___m_Keyboard_18 = value; Il2CppCodeGenWriteBarrier((&___m_Keyboard_18), value); } inline static int32_t get_offset_of_m_TextComponent_20() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_TextComponent_20)); } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * get_m_TextComponent_20() const { return ___m_TextComponent_20; } inline Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 ** get_address_of_m_TextComponent_20() { return &___m_TextComponent_20; } inline void set_m_TextComponent_20(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 * value) { ___m_TextComponent_20 = value; Il2CppCodeGenWriteBarrier((&___m_TextComponent_20), value); } inline static int32_t get_offset_of_m_Placeholder_21() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_Placeholder_21)); } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_m_Placeholder_21() const { return ___m_Placeholder_21; } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_m_Placeholder_21() { return &___m_Placeholder_21; } inline void set_m_Placeholder_21(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value) { ___m_Placeholder_21 = value; Il2CppCodeGenWriteBarrier((&___m_Placeholder_21), value); } inline static int32_t get_offset_of_m_ContentType_22() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_ContentType_22)); } inline int32_t get_m_ContentType_22() const { return ___m_ContentType_22; } inline int32_t* get_address_of_m_ContentType_22() { return &___m_ContentType_22; } inline void set_m_ContentType_22(int32_t value) { ___m_ContentType_22 = value; } inline static int32_t get_offset_of_m_InputType_23() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_InputType_23)); } inline int32_t get_m_InputType_23() const { return ___m_InputType_23; } inline int32_t* get_address_of_m_InputType_23() { return &___m_InputType_23; } inline void set_m_InputType_23(int32_t value) { ___m_InputType_23 = value; } inline static int32_t get_offset_of_m_AsteriskChar_24() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_AsteriskChar_24)); } inline Il2CppChar get_m_AsteriskChar_24() const { return ___m_AsteriskChar_24; } inline Il2CppChar* get_address_of_m_AsteriskChar_24() { return &___m_AsteriskChar_24; } inline void set_m_AsteriskChar_24(Il2CppChar value) { ___m_AsteriskChar_24 = value; } inline static int32_t get_offset_of_m_KeyboardType_25() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_KeyboardType_25)); } inline int32_t get_m_KeyboardType_25() const { return ___m_KeyboardType_25; } inline int32_t* get_address_of_m_KeyboardType_25() { return &___m_KeyboardType_25; } inline void set_m_KeyboardType_25(int32_t value) { ___m_KeyboardType_25 = value; } inline static int32_t get_offset_of_m_LineType_26() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_LineType_26)); } inline int32_t get_m_LineType_26() const { return ___m_LineType_26; } inline int32_t* get_address_of_m_LineType_26() { return &___m_LineType_26; } inline void set_m_LineType_26(int32_t value) { ___m_LineType_26 = value; } inline static int32_t get_offset_of_m_HideMobileInput_27() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_HideMobileInput_27)); } inline bool get_m_HideMobileInput_27() const { return ___m_HideMobileInput_27; } inline bool* get_address_of_m_HideMobileInput_27() { return &___m_HideMobileInput_27; } inline void set_m_HideMobileInput_27(bool value) { ___m_HideMobileInput_27 = value; } inline static int32_t get_offset_of_m_CharacterValidation_28() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CharacterValidation_28)); } inline int32_t get_m_CharacterValidation_28() const { return ___m_CharacterValidation_28; } inline int32_t* get_address_of_m_CharacterValidation_28() { return &___m_CharacterValidation_28; } inline void set_m_CharacterValidation_28(int32_t value) { ___m_CharacterValidation_28 = value; } inline static int32_t get_offset_of_m_CharacterLimit_29() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CharacterLimit_29)); } inline int32_t get_m_CharacterLimit_29() const { return ___m_CharacterLimit_29; } inline int32_t* get_address_of_m_CharacterLimit_29() { return &___m_CharacterLimit_29; } inline void set_m_CharacterLimit_29(int32_t value) { ___m_CharacterLimit_29 = value; } inline static int32_t get_offset_of_m_OnEndEdit_30() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_OnEndEdit_30)); } inline SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A * get_m_OnEndEdit_30() const { return ___m_OnEndEdit_30; } inline SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A ** get_address_of_m_OnEndEdit_30() { return &___m_OnEndEdit_30; } inline void set_m_OnEndEdit_30(SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A * value) { ___m_OnEndEdit_30 = value; Il2CppCodeGenWriteBarrier((&___m_OnEndEdit_30), value); } inline static int32_t get_offset_of_m_OnValueChanged_31() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_OnValueChanged_31)); } inline OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A * get_m_OnValueChanged_31() const { return ___m_OnValueChanged_31; } inline OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A ** get_address_of_m_OnValueChanged_31() { return &___m_OnValueChanged_31; } inline void set_m_OnValueChanged_31(OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A * value) { ___m_OnValueChanged_31 = value; Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_31), value); } inline static int32_t get_offset_of_m_OnValidateInput_32() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_OnValidateInput_32)); } inline OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0 * get_m_OnValidateInput_32() const { return ___m_OnValidateInput_32; } inline OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0 ** get_address_of_m_OnValidateInput_32() { return &___m_OnValidateInput_32; } inline void set_m_OnValidateInput_32(OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0 * value) { ___m_OnValidateInput_32 = value; Il2CppCodeGenWriteBarrier((&___m_OnValidateInput_32), value); } inline static int32_t get_offset_of_m_CaretColor_33() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretColor_33)); } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_CaretColor_33() const { return ___m_CaretColor_33; } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_CaretColor_33() { return &___m_CaretColor_33; } inline void set_m_CaretColor_33(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value) { ___m_CaretColor_33 = value; } inline static int32_t get_offset_of_m_CustomCaretColor_34() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CustomCaretColor_34)); } inline bool get_m_CustomCaretColor_34() const { return ___m_CustomCaretColor_34; } inline bool* get_address_of_m_CustomCaretColor_34() { return &___m_CustomCaretColor_34; } inline void set_m_CustomCaretColor_34(bool value) { ___m_CustomCaretColor_34 = value; } inline static int32_t get_offset_of_m_SelectionColor_35() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_SelectionColor_35)); } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 get_m_SelectionColor_35() const { return ___m_SelectionColor_35; } inline Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 * get_address_of_m_SelectionColor_35() { return &___m_SelectionColor_35; } inline void set_m_SelectionColor_35(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 value) { ___m_SelectionColor_35 = value; } inline static int32_t get_offset_of_m_Text_36() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_Text_36)); } inline String_t* get_m_Text_36() const { return ___m_Text_36; } inline String_t** get_address_of_m_Text_36() { return &___m_Text_36; } inline void set_m_Text_36(String_t* value) { ___m_Text_36 = value; Il2CppCodeGenWriteBarrier((&___m_Text_36), value); } inline static int32_t get_offset_of_m_CaretBlinkRate_37() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretBlinkRate_37)); } inline float get_m_CaretBlinkRate_37() const { return ___m_CaretBlinkRate_37; } inline float* get_address_of_m_CaretBlinkRate_37() { return &___m_CaretBlinkRate_37; } inline void set_m_CaretBlinkRate_37(float value) { ___m_CaretBlinkRate_37 = value; } inline static int32_t get_offset_of_m_CaretWidth_38() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretWidth_38)); } inline int32_t get_m_CaretWidth_38() const { return ___m_CaretWidth_38; } inline int32_t* get_address_of_m_CaretWidth_38() { return &___m_CaretWidth_38; } inline void set_m_CaretWidth_38(int32_t value) { ___m_CaretWidth_38 = value; } inline static int32_t get_offset_of_m_ReadOnly_39() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_ReadOnly_39)); } inline bool get_m_ReadOnly_39() const { return ___m_ReadOnly_39; } inline bool* get_address_of_m_ReadOnly_39() { return &___m_ReadOnly_39; } inline void set_m_ReadOnly_39(bool value) { ___m_ReadOnly_39 = value; } inline static int32_t get_offset_of_m_CaretPosition_40() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretPosition_40)); } inline int32_t get_m_CaretPosition_40() const { return ___m_CaretPosition_40; } inline int32_t* get_address_of_m_CaretPosition_40() { return &___m_CaretPosition_40; } inline void set_m_CaretPosition_40(int32_t value) { ___m_CaretPosition_40 = value; } inline static int32_t get_offset_of_m_CaretSelectPosition_41() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretSelectPosition_41)); } inline int32_t get_m_CaretSelectPosition_41() const { return ___m_CaretSelectPosition_41; } inline int32_t* get_address_of_m_CaretSelectPosition_41() { return &___m_CaretSelectPosition_41; } inline void set_m_CaretSelectPosition_41(int32_t value) { ___m_CaretSelectPosition_41 = value; } inline static int32_t get_offset_of_caretRectTrans_42() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___caretRectTrans_42)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_caretRectTrans_42() const { return ___caretRectTrans_42; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_caretRectTrans_42() { return &___caretRectTrans_42; } inline void set_caretRectTrans_42(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___caretRectTrans_42 = value; Il2CppCodeGenWriteBarrier((&___caretRectTrans_42), value); } inline static int32_t get_offset_of_m_CursorVerts_43() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CursorVerts_43)); } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get_m_CursorVerts_43() const { return ___m_CursorVerts_43; } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of_m_CursorVerts_43() { return &___m_CursorVerts_43; } inline void set_m_CursorVerts_43(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value) { ___m_CursorVerts_43 = value; Il2CppCodeGenWriteBarrier((&___m_CursorVerts_43), value); } inline static int32_t get_offset_of_m_InputTextCache_44() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_InputTextCache_44)); } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * get_m_InputTextCache_44() const { return ___m_InputTextCache_44; } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 ** get_address_of_m_InputTextCache_44() { return &___m_InputTextCache_44; } inline void set_m_InputTextCache_44(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * value) { ___m_InputTextCache_44 = value; Il2CppCodeGenWriteBarrier((&___m_InputTextCache_44), value); } inline static int32_t get_offset_of_m_CachedInputRenderer_45() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CachedInputRenderer_45)); } inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * get_m_CachedInputRenderer_45() const { return ___m_CachedInputRenderer_45; } inline CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 ** get_address_of_m_CachedInputRenderer_45() { return &___m_CachedInputRenderer_45; } inline void set_m_CachedInputRenderer_45(CanvasRenderer_tB4D9C9FE77FD5C9C4546FC022D6E956960BC2B72 * value) { ___m_CachedInputRenderer_45 = value; Il2CppCodeGenWriteBarrier((&___m_CachedInputRenderer_45), value); } inline static int32_t get_offset_of_m_PreventFontCallback_46() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_PreventFontCallback_46)); } inline bool get_m_PreventFontCallback_46() const { return ___m_PreventFontCallback_46; } inline bool* get_address_of_m_PreventFontCallback_46() { return &___m_PreventFontCallback_46; } inline void set_m_PreventFontCallback_46(bool value) { ___m_PreventFontCallback_46 = value; } inline static int32_t get_offset_of_m_Mesh_47() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_Mesh_47)); } inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * get_m_Mesh_47() const { return ___m_Mesh_47; } inline Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C ** get_address_of_m_Mesh_47() { return &___m_Mesh_47; } inline void set_m_Mesh_47(Mesh_t6106B8D8E4C691321581AB0445552EC78B947B8C * value) { ___m_Mesh_47 = value; Il2CppCodeGenWriteBarrier((&___m_Mesh_47), value); } inline static int32_t get_offset_of_m_AllowInput_48() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_AllowInput_48)); } inline bool get_m_AllowInput_48() const { return ___m_AllowInput_48; } inline bool* get_address_of_m_AllowInput_48() { return &___m_AllowInput_48; } inline void set_m_AllowInput_48(bool value) { ___m_AllowInput_48 = value; } inline static int32_t get_offset_of_m_ShouldActivateNextUpdate_49() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_ShouldActivateNextUpdate_49)); } inline bool get_m_ShouldActivateNextUpdate_49() const { return ___m_ShouldActivateNextUpdate_49; } inline bool* get_address_of_m_ShouldActivateNextUpdate_49() { return &___m_ShouldActivateNextUpdate_49; } inline void set_m_ShouldActivateNextUpdate_49(bool value) { ___m_ShouldActivateNextUpdate_49 = value; } inline static int32_t get_offset_of_m_UpdateDrag_50() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_UpdateDrag_50)); } inline bool get_m_UpdateDrag_50() const { return ___m_UpdateDrag_50; } inline bool* get_address_of_m_UpdateDrag_50() { return &___m_UpdateDrag_50; } inline void set_m_UpdateDrag_50(bool value) { ___m_UpdateDrag_50 = value; } inline static int32_t get_offset_of_m_DragPositionOutOfBounds_51() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_DragPositionOutOfBounds_51)); } inline bool get_m_DragPositionOutOfBounds_51() const { return ___m_DragPositionOutOfBounds_51; } inline bool* get_address_of_m_DragPositionOutOfBounds_51() { return &___m_DragPositionOutOfBounds_51; } inline void set_m_DragPositionOutOfBounds_51(bool value) { ___m_DragPositionOutOfBounds_51 = value; } inline static int32_t get_offset_of_m_CaretVisible_54() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_CaretVisible_54)); } inline bool get_m_CaretVisible_54() const { return ___m_CaretVisible_54; } inline bool* get_address_of_m_CaretVisible_54() { return &___m_CaretVisible_54; } inline void set_m_CaretVisible_54(bool value) { ___m_CaretVisible_54 = value; } inline static int32_t get_offset_of_m_BlinkCoroutine_55() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_BlinkCoroutine_55)); } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * get_m_BlinkCoroutine_55() const { return ___m_BlinkCoroutine_55; } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC ** get_address_of_m_BlinkCoroutine_55() { return &___m_BlinkCoroutine_55; } inline void set_m_BlinkCoroutine_55(Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * value) { ___m_BlinkCoroutine_55 = value; Il2CppCodeGenWriteBarrier((&___m_BlinkCoroutine_55), value); } inline static int32_t get_offset_of_m_BlinkStartTime_56() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_BlinkStartTime_56)); } inline float get_m_BlinkStartTime_56() const { return ___m_BlinkStartTime_56; } inline float* get_address_of_m_BlinkStartTime_56() { return &___m_BlinkStartTime_56; } inline void set_m_BlinkStartTime_56(float value) { ___m_BlinkStartTime_56 = value; } inline static int32_t get_offset_of_m_DrawStart_57() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_DrawStart_57)); } inline int32_t get_m_DrawStart_57() const { return ___m_DrawStart_57; } inline int32_t* get_address_of_m_DrawStart_57() { return &___m_DrawStart_57; } inline void set_m_DrawStart_57(int32_t value) { ___m_DrawStart_57 = value; } inline static int32_t get_offset_of_m_DrawEnd_58() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_DrawEnd_58)); } inline int32_t get_m_DrawEnd_58() const { return ___m_DrawEnd_58; } inline int32_t* get_address_of_m_DrawEnd_58() { return &___m_DrawEnd_58; } inline void set_m_DrawEnd_58(int32_t value) { ___m_DrawEnd_58 = value; } inline static int32_t get_offset_of_m_DragCoroutine_59() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_DragCoroutine_59)); } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * get_m_DragCoroutine_59() const { return ___m_DragCoroutine_59; } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC ** get_address_of_m_DragCoroutine_59() { return &___m_DragCoroutine_59; } inline void set_m_DragCoroutine_59(Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * value) { ___m_DragCoroutine_59 = value; Il2CppCodeGenWriteBarrier((&___m_DragCoroutine_59), value); } inline static int32_t get_offset_of_m_OriginalText_60() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_OriginalText_60)); } inline String_t* get_m_OriginalText_60() const { return ___m_OriginalText_60; } inline String_t** get_address_of_m_OriginalText_60() { return &___m_OriginalText_60; } inline void set_m_OriginalText_60(String_t* value) { ___m_OriginalText_60 = value; Il2CppCodeGenWriteBarrier((&___m_OriginalText_60), value); } inline static int32_t get_offset_of_m_WasCanceled_61() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_WasCanceled_61)); } inline bool get_m_WasCanceled_61() const { return ___m_WasCanceled_61; } inline bool* get_address_of_m_WasCanceled_61() { return &___m_WasCanceled_61; } inline void set_m_WasCanceled_61(bool value) { ___m_WasCanceled_61 = value; } inline static int32_t get_offset_of_m_HasDoneFocusTransition_62() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_HasDoneFocusTransition_62)); } inline bool get_m_HasDoneFocusTransition_62() const { return ___m_HasDoneFocusTransition_62; } inline bool* get_address_of_m_HasDoneFocusTransition_62() { return &___m_HasDoneFocusTransition_62; } inline void set_m_HasDoneFocusTransition_62(bool value) { ___m_HasDoneFocusTransition_62 = value; } inline static int32_t get_offset_of_m_WaitForSecondsRealtime_63() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_WaitForSecondsRealtime_63)); } inline WaitForSecondsRealtime_t0CF361107C4A9E25E0D4CF2F37732CE785235739 * get_m_WaitForSecondsRealtime_63() const { return ___m_WaitForSecondsRealtime_63; } inline WaitForSecondsRealtime_t0CF361107C4A9E25E0D4CF2F37732CE785235739 ** get_address_of_m_WaitForSecondsRealtime_63() { return &___m_WaitForSecondsRealtime_63; } inline void set_m_WaitForSecondsRealtime_63(WaitForSecondsRealtime_t0CF361107C4A9E25E0D4CF2F37732CE785235739 * value) { ___m_WaitForSecondsRealtime_63 = value; Il2CppCodeGenWriteBarrier((&___m_WaitForSecondsRealtime_63), value); } inline static int32_t get_offset_of_m_ProcessingEvent_65() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005, ___m_ProcessingEvent_65)); } inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * get_m_ProcessingEvent_65() const { return ___m_ProcessingEvent_65; } inline Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 ** get_address_of_m_ProcessingEvent_65() { return &___m_ProcessingEvent_65; } inline void set_m_ProcessingEvent_65(Event_t187FF6A6B357447B83EC2064823EE0AEC5263210 * value) { ___m_ProcessingEvent_65 = value; Il2CppCodeGenWriteBarrier((&___m_ProcessingEvent_65), value); } }; struct InputField_t533609195B110760BCFF00B746C87D81969CB005_StaticFields { public: // System.Char[] UnityEngine.UI.InputField::kSeparators CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___kSeparators_19; public: inline static int32_t get_offset_of_kSeparators_19() { return static_cast<int32_t>(offsetof(InputField_t533609195B110760BCFF00B746C87D81969CB005_StaticFields, ___kSeparators_19)); } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_kSeparators_19() const { return ___kSeparators_19; } inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_kSeparators_19() { return &___kSeparators_19; } inline void set_kSeparators_19(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value) { ___kSeparators_19 = value; Il2CppCodeGenWriteBarrier((&___kSeparators_19), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INPUTFIELD_T533609195B110760BCFF00B746C87D81969CB005_H #ifndef MASKABLEGRAPHIC_TDA46A5925C6A2101217C9F52C855B5C1A36A7A0F_H #define MASKABLEGRAPHIC_TDA46A5925C6A2101217C9F52C855B5C1A36A7A0F_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.MaskableGraphic struct MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F : public Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 { public: // System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculateStencil bool ___m_ShouldRecalculateStencil_21; // UnityEngine.Material UnityEngine.UI.MaskableGraphic::m_MaskMaterial Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___m_MaskMaterial_22; // UnityEngine.UI.RectMask2D UnityEngine.UI.MaskableGraphic::m_ParentMask RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * ___m_ParentMask_23; // System.Boolean UnityEngine.UI.MaskableGraphic::m_Maskable bool ___m_Maskable_24; // System.Boolean UnityEngine.UI.MaskableGraphic::m_IncludeForMasking bool ___m_IncludeForMasking_25; // UnityEngine.UI.MaskableGraphic_CullStateChangedEvent UnityEngine.UI.MaskableGraphic::m_OnCullStateChanged CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * ___m_OnCullStateChanged_26; // System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculate bool ___m_ShouldRecalculate_27; // System.Int32 UnityEngine.UI.MaskableGraphic::m_StencilValue int32_t ___m_StencilValue_28; // UnityEngine.Vector3[] UnityEngine.UI.MaskableGraphic::m_Corners Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___m_Corners_29; public: inline static int32_t get_offset_of_m_ShouldRecalculateStencil_21() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ShouldRecalculateStencil_21)); } inline bool get_m_ShouldRecalculateStencil_21() const { return ___m_ShouldRecalculateStencil_21; } inline bool* get_address_of_m_ShouldRecalculateStencil_21() { return &___m_ShouldRecalculateStencil_21; } inline void set_m_ShouldRecalculateStencil_21(bool value) { ___m_ShouldRecalculateStencil_21 = value; } inline static int32_t get_offset_of_m_MaskMaterial_22() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_MaskMaterial_22)); } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_m_MaskMaterial_22() const { return ___m_MaskMaterial_22; } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_m_MaskMaterial_22() { return &___m_MaskMaterial_22; } inline void set_m_MaskMaterial_22(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value) { ___m_MaskMaterial_22 = value; Il2CppCodeGenWriteBarrier((&___m_MaskMaterial_22), value); } inline static int32_t get_offset_of_m_ParentMask_23() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ParentMask_23)); } inline RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * get_m_ParentMask_23() const { return ___m_ParentMask_23; } inline RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B ** get_address_of_m_ParentMask_23() { return &___m_ParentMask_23; } inline void set_m_ParentMask_23(RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B * value) { ___m_ParentMask_23 = value; Il2CppCodeGenWriteBarrier((&___m_ParentMask_23), value); } inline static int32_t get_offset_of_m_Maskable_24() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_Maskable_24)); } inline bool get_m_Maskable_24() const { return ___m_Maskable_24; } inline bool* get_address_of_m_Maskable_24() { return &___m_Maskable_24; } inline void set_m_Maskable_24(bool value) { ___m_Maskable_24 = value; } inline static int32_t get_offset_of_m_IncludeForMasking_25() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_IncludeForMasking_25)); } inline bool get_m_IncludeForMasking_25() const { return ___m_IncludeForMasking_25; } inline bool* get_address_of_m_IncludeForMasking_25() { return &___m_IncludeForMasking_25; } inline void set_m_IncludeForMasking_25(bool value) { ___m_IncludeForMasking_25 = value; } inline static int32_t get_offset_of_m_OnCullStateChanged_26() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_OnCullStateChanged_26)); } inline CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * get_m_OnCullStateChanged_26() const { return ___m_OnCullStateChanged_26; } inline CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 ** get_address_of_m_OnCullStateChanged_26() { return &___m_OnCullStateChanged_26; } inline void set_m_OnCullStateChanged_26(CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4 * value) { ___m_OnCullStateChanged_26 = value; Il2CppCodeGenWriteBarrier((&___m_OnCullStateChanged_26), value); } inline static int32_t get_offset_of_m_ShouldRecalculate_27() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_ShouldRecalculate_27)); } inline bool get_m_ShouldRecalculate_27() const { return ___m_ShouldRecalculate_27; } inline bool* get_address_of_m_ShouldRecalculate_27() { return &___m_ShouldRecalculate_27; } inline void set_m_ShouldRecalculate_27(bool value) { ___m_ShouldRecalculate_27 = value; } inline static int32_t get_offset_of_m_StencilValue_28() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_StencilValue_28)); } inline int32_t get_m_StencilValue_28() const { return ___m_StencilValue_28; } inline int32_t* get_address_of_m_StencilValue_28() { return &___m_StencilValue_28; } inline void set_m_StencilValue_28(int32_t value) { ___m_StencilValue_28 = value; } inline static int32_t get_offset_of_m_Corners_29() { return static_cast<int32_t>(offsetof(MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F, ___m_Corners_29)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_m_Corners_29() const { return ___m_Corners_29; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_m_Corners_29() { return &___m_Corners_29; } inline void set_m_Corners_29(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___m_Corners_29 = value; Il2CppCodeGenWriteBarrier((&___m_Corners_29), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // MASKABLEGRAPHIC_TDA46A5925C6A2101217C9F52C855B5C1A36A7A0F_H #ifndef SCROLLBAR_T8F8679D0EAFACBCBD603E6B0E741E6A783DB3389_H #define SCROLLBAR_T8F8679D0EAFACBCBD603E6B0E741E6A783DB3389_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Scrollbar struct Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389 : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A { public: // UnityEngine.RectTransform UnityEngine.UI.Scrollbar::m_HandleRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_HandleRect_18; // UnityEngine.UI.Scrollbar_Direction UnityEngine.UI.Scrollbar::m_Direction int32_t ___m_Direction_19; // System.Single UnityEngine.UI.Scrollbar::m_Value float ___m_Value_20; // System.Single UnityEngine.UI.Scrollbar::m_Size float ___m_Size_21; // System.Int32 UnityEngine.UI.Scrollbar::m_NumberOfSteps int32_t ___m_NumberOfSteps_22; // UnityEngine.UI.Scrollbar_ScrollEvent UnityEngine.UI.Scrollbar::m_OnValueChanged ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7 * ___m_OnValueChanged_23; // UnityEngine.RectTransform UnityEngine.UI.Scrollbar::m_ContainerRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_ContainerRect_24; // UnityEngine.Vector2 UnityEngine.UI.Scrollbar::m_Offset Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_Offset_25; // UnityEngine.DrivenRectTransformTracker UnityEngine.UI.Scrollbar::m_Tracker DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_26; // UnityEngine.Coroutine UnityEngine.UI.Scrollbar::m_PointerDownRepeat Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * ___m_PointerDownRepeat_27; // System.Boolean UnityEngine.UI.Scrollbar::isPointerDownAndNotDragging bool ___isPointerDownAndNotDragging_28; public: inline static int32_t get_offset_of_m_HandleRect_18() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_HandleRect_18)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_HandleRect_18() const { return ___m_HandleRect_18; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_HandleRect_18() { return &___m_HandleRect_18; } inline void set_m_HandleRect_18(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_HandleRect_18 = value; Il2CppCodeGenWriteBarrier((&___m_HandleRect_18), value); } inline static int32_t get_offset_of_m_Direction_19() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_Direction_19)); } inline int32_t get_m_Direction_19() const { return ___m_Direction_19; } inline int32_t* get_address_of_m_Direction_19() { return &___m_Direction_19; } inline void set_m_Direction_19(int32_t value) { ___m_Direction_19 = value; } inline static int32_t get_offset_of_m_Value_20() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_Value_20)); } inline float get_m_Value_20() const { return ___m_Value_20; } inline float* get_address_of_m_Value_20() { return &___m_Value_20; } inline void set_m_Value_20(float value) { ___m_Value_20 = value; } inline static int32_t get_offset_of_m_Size_21() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_Size_21)); } inline float get_m_Size_21() const { return ___m_Size_21; } inline float* get_address_of_m_Size_21() { return &___m_Size_21; } inline void set_m_Size_21(float value) { ___m_Size_21 = value; } inline static int32_t get_offset_of_m_NumberOfSteps_22() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_NumberOfSteps_22)); } inline int32_t get_m_NumberOfSteps_22() const { return ___m_NumberOfSteps_22; } inline int32_t* get_address_of_m_NumberOfSteps_22() { return &___m_NumberOfSteps_22; } inline void set_m_NumberOfSteps_22(int32_t value) { ___m_NumberOfSteps_22 = value; } inline static int32_t get_offset_of_m_OnValueChanged_23() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_OnValueChanged_23)); } inline ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7 * get_m_OnValueChanged_23() const { return ___m_OnValueChanged_23; } inline ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7 ** get_address_of_m_OnValueChanged_23() { return &___m_OnValueChanged_23; } inline void set_m_OnValueChanged_23(ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7 * value) { ___m_OnValueChanged_23 = value; Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_23), value); } inline static int32_t get_offset_of_m_ContainerRect_24() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_ContainerRect_24)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_ContainerRect_24() const { return ___m_ContainerRect_24; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_ContainerRect_24() { return &___m_ContainerRect_24; } inline void set_m_ContainerRect_24(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_ContainerRect_24 = value; Il2CppCodeGenWriteBarrier((&___m_ContainerRect_24), value); } inline static int32_t get_offset_of_m_Offset_25() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_Offset_25)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_Offset_25() const { return ___m_Offset_25; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_Offset_25() { return &___m_Offset_25; } inline void set_m_Offset_25(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_Offset_25 = value; } inline static int32_t get_offset_of_m_Tracker_26() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_Tracker_26)); } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 get_m_Tracker_26() const { return ___m_Tracker_26; } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 * get_address_of_m_Tracker_26() { return &___m_Tracker_26; } inline void set_m_Tracker_26(DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 value) { ___m_Tracker_26 = value; } inline static int32_t get_offset_of_m_PointerDownRepeat_27() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___m_PointerDownRepeat_27)); } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * get_m_PointerDownRepeat_27() const { return ___m_PointerDownRepeat_27; } inline Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC ** get_address_of_m_PointerDownRepeat_27() { return &___m_PointerDownRepeat_27; } inline void set_m_PointerDownRepeat_27(Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC * value) { ___m_PointerDownRepeat_27 = value; Il2CppCodeGenWriteBarrier((&___m_PointerDownRepeat_27), value); } inline static int32_t get_offset_of_isPointerDownAndNotDragging_28() { return static_cast<int32_t>(offsetof(Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389, ___isPointerDownAndNotDragging_28)); } inline bool get_isPointerDownAndNotDragging_28() const { return ___isPointerDownAndNotDragging_28; } inline bool* get_address_of_isPointerDownAndNotDragging_28() { return &___isPointerDownAndNotDragging_28; } inline void set_isPointerDownAndNotDragging_28(bool value) { ___isPointerDownAndNotDragging_28 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SCROLLBAR_T8F8679D0EAFACBCBD603E6B0E741E6A783DB3389_H #ifndef SLIDER_T0654A41304B5CE7074CA86F4E66CB681D0D52C09_H #define SLIDER_T0654A41304B5CE7074CA86F4E66CB681D0D52C09_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Slider struct Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09 : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A { public: // UnityEngine.RectTransform UnityEngine.UI.Slider::m_FillRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_FillRect_18; // UnityEngine.RectTransform UnityEngine.UI.Slider::m_HandleRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_HandleRect_19; // UnityEngine.UI.Slider_Direction UnityEngine.UI.Slider::m_Direction int32_t ___m_Direction_20; // System.Single UnityEngine.UI.Slider::m_MinValue float ___m_MinValue_21; // System.Single UnityEngine.UI.Slider::m_MaxValue float ___m_MaxValue_22; // System.Boolean UnityEngine.UI.Slider::m_WholeNumbers bool ___m_WholeNumbers_23; // System.Single UnityEngine.UI.Slider::m_Value float ___m_Value_24; // UnityEngine.UI.Slider_SliderEvent UnityEngine.UI.Slider::m_OnValueChanged SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C * ___m_OnValueChanged_25; // UnityEngine.UI.Image UnityEngine.UI.Slider::m_FillImage Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * ___m_FillImage_26; // UnityEngine.Transform UnityEngine.UI.Slider::m_FillTransform Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___m_FillTransform_27; // UnityEngine.RectTransform UnityEngine.UI.Slider::m_FillContainerRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_FillContainerRect_28; // UnityEngine.Transform UnityEngine.UI.Slider::m_HandleTransform Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * ___m_HandleTransform_29; // UnityEngine.RectTransform UnityEngine.UI.Slider::m_HandleContainerRect RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * ___m_HandleContainerRect_30; // UnityEngine.Vector2 UnityEngine.UI.Slider::m_Offset Vector2_tA85D2DD88578276CA8A8796756458277E72D073D ___m_Offset_31; // UnityEngine.DrivenRectTransformTracker UnityEngine.UI.Slider::m_Tracker DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 ___m_Tracker_32; public: inline static int32_t get_offset_of_m_FillRect_18() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_FillRect_18)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_FillRect_18() const { return ___m_FillRect_18; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_FillRect_18() { return &___m_FillRect_18; } inline void set_m_FillRect_18(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_FillRect_18 = value; Il2CppCodeGenWriteBarrier((&___m_FillRect_18), value); } inline static int32_t get_offset_of_m_HandleRect_19() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_HandleRect_19)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_HandleRect_19() const { return ___m_HandleRect_19; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_HandleRect_19() { return &___m_HandleRect_19; } inline void set_m_HandleRect_19(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_HandleRect_19 = value; Il2CppCodeGenWriteBarrier((&___m_HandleRect_19), value); } inline static int32_t get_offset_of_m_Direction_20() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_Direction_20)); } inline int32_t get_m_Direction_20() const { return ___m_Direction_20; } inline int32_t* get_address_of_m_Direction_20() { return &___m_Direction_20; } inline void set_m_Direction_20(int32_t value) { ___m_Direction_20 = value; } inline static int32_t get_offset_of_m_MinValue_21() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_MinValue_21)); } inline float get_m_MinValue_21() const { return ___m_MinValue_21; } inline float* get_address_of_m_MinValue_21() { return &___m_MinValue_21; } inline void set_m_MinValue_21(float value) { ___m_MinValue_21 = value; } inline static int32_t get_offset_of_m_MaxValue_22() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_MaxValue_22)); } inline float get_m_MaxValue_22() const { return ___m_MaxValue_22; } inline float* get_address_of_m_MaxValue_22() { return &___m_MaxValue_22; } inline void set_m_MaxValue_22(float value) { ___m_MaxValue_22 = value; } inline static int32_t get_offset_of_m_WholeNumbers_23() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_WholeNumbers_23)); } inline bool get_m_WholeNumbers_23() const { return ___m_WholeNumbers_23; } inline bool* get_address_of_m_WholeNumbers_23() { return &___m_WholeNumbers_23; } inline void set_m_WholeNumbers_23(bool value) { ___m_WholeNumbers_23 = value; } inline static int32_t get_offset_of_m_Value_24() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_Value_24)); } inline float get_m_Value_24() const { return ___m_Value_24; } inline float* get_address_of_m_Value_24() { return &___m_Value_24; } inline void set_m_Value_24(float value) { ___m_Value_24 = value; } inline static int32_t get_offset_of_m_OnValueChanged_25() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_OnValueChanged_25)); } inline SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C * get_m_OnValueChanged_25() const { return ___m_OnValueChanged_25; } inline SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C ** get_address_of_m_OnValueChanged_25() { return &___m_OnValueChanged_25; } inline void set_m_OnValueChanged_25(SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C * value) { ___m_OnValueChanged_25 = value; Il2CppCodeGenWriteBarrier((&___m_OnValueChanged_25), value); } inline static int32_t get_offset_of_m_FillImage_26() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_FillImage_26)); } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * get_m_FillImage_26() const { return ___m_FillImage_26; } inline Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E ** get_address_of_m_FillImage_26() { return &___m_FillImage_26; } inline void set_m_FillImage_26(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E * value) { ___m_FillImage_26 = value; Il2CppCodeGenWriteBarrier((&___m_FillImage_26), value); } inline static int32_t get_offset_of_m_FillTransform_27() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_FillTransform_27)); } inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_m_FillTransform_27() const { return ___m_FillTransform_27; } inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_m_FillTransform_27() { return &___m_FillTransform_27; } inline void set_m_FillTransform_27(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value) { ___m_FillTransform_27 = value; Il2CppCodeGenWriteBarrier((&___m_FillTransform_27), value); } inline static int32_t get_offset_of_m_FillContainerRect_28() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_FillContainerRect_28)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_FillContainerRect_28() const { return ___m_FillContainerRect_28; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_FillContainerRect_28() { return &___m_FillContainerRect_28; } inline void set_m_FillContainerRect_28(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_FillContainerRect_28 = value; Il2CppCodeGenWriteBarrier((&___m_FillContainerRect_28), value); } inline static int32_t get_offset_of_m_HandleTransform_29() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_HandleTransform_29)); } inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * get_m_HandleTransform_29() const { return ___m_HandleTransform_29; } inline Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA ** get_address_of_m_HandleTransform_29() { return &___m_HandleTransform_29; } inline void set_m_HandleTransform_29(Transform_tBB9E78A2766C3C83599A8F66EDE7D1FCAFC66EDA * value) { ___m_HandleTransform_29 = value; Il2CppCodeGenWriteBarrier((&___m_HandleTransform_29), value); } inline static int32_t get_offset_of_m_HandleContainerRect_30() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_HandleContainerRect_30)); } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * get_m_HandleContainerRect_30() const { return ___m_HandleContainerRect_30; } inline RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 ** get_address_of_m_HandleContainerRect_30() { return &___m_HandleContainerRect_30; } inline void set_m_HandleContainerRect_30(RectTransform_t285CBD8775B25174B75164F10618F8B9728E1B20 * value) { ___m_HandleContainerRect_30 = value; Il2CppCodeGenWriteBarrier((&___m_HandleContainerRect_30), value); } inline static int32_t get_offset_of_m_Offset_31() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_Offset_31)); } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D get_m_Offset_31() const { return ___m_Offset_31; } inline Vector2_tA85D2DD88578276CA8A8796756458277E72D073D * get_address_of_m_Offset_31() { return &___m_Offset_31; } inline void set_m_Offset_31(Vector2_tA85D2DD88578276CA8A8796756458277E72D073D value) { ___m_Offset_31 = value; } inline static int32_t get_offset_of_m_Tracker_32() { return static_cast<int32_t>(offsetof(Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09, ___m_Tracker_32)); } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 get_m_Tracker_32() const { return ___m_Tracker_32; } inline DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 * get_address_of_m_Tracker_32() { return &___m_Tracker_32; } inline void set_m_Tracker_32(DrivenRectTransformTracker_tB8FBBE24EEE9618CA32E4B3CF52F4AD7FDDEBE03 value) { ___m_Tracker_32 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SLIDER_T0654A41304B5CE7074CA86F4E66CB681D0D52C09_H #ifndef TOGGLE_T9ADD572046F831945ED0E48A01B50FEA1CA52106_H #define TOGGLE_T9ADD572046F831945ED0E48A01B50FEA1CA52106_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Toggle struct Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106 : public Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A { public: // UnityEngine.UI.Toggle_ToggleTransition UnityEngine.UI.Toggle::toggleTransition int32_t ___toggleTransition_18; // UnityEngine.UI.Graphic UnityEngine.UI.Toggle::graphic Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * ___graphic_19; // UnityEngine.UI.ToggleGroup UnityEngine.UI.Toggle::m_Group ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * ___m_Group_20; // UnityEngine.UI.Toggle_ToggleEvent UnityEngine.UI.Toggle::onValueChanged ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * ___onValueChanged_21; // System.Boolean UnityEngine.UI.Toggle::m_IsOn bool ___m_IsOn_22; public: inline static int32_t get_offset_of_toggleTransition_18() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___toggleTransition_18)); } inline int32_t get_toggleTransition_18() const { return ___toggleTransition_18; } inline int32_t* get_address_of_toggleTransition_18() { return &___toggleTransition_18; } inline void set_toggleTransition_18(int32_t value) { ___toggleTransition_18 = value; } inline static int32_t get_offset_of_graphic_19() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___graphic_19)); } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * get_graphic_19() const { return ___graphic_19; } inline Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 ** get_address_of_graphic_19() { return &___graphic_19; } inline void set_graphic_19(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8 * value) { ___graphic_19 = value; Il2CppCodeGenWriteBarrier((&___graphic_19), value); } inline static int32_t get_offset_of_m_Group_20() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___m_Group_20)); } inline ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * get_m_Group_20() const { return ___m_Group_20; } inline ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 ** get_address_of_m_Group_20() { return &___m_Group_20; } inline void set_m_Group_20(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786 * value) { ___m_Group_20 = value; Il2CppCodeGenWriteBarrier((&___m_Group_20), value); } inline static int32_t get_offset_of_onValueChanged_21() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___onValueChanged_21)); } inline ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * get_onValueChanged_21() const { return ___onValueChanged_21; } inline ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 ** get_address_of_onValueChanged_21() { return &___onValueChanged_21; } inline void set_onValueChanged_21(ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43 * value) { ___onValueChanged_21 = value; Il2CppCodeGenWriteBarrier((&___onValueChanged_21), value); } inline static int32_t get_offset_of_m_IsOn_22() { return static_cast<int32_t>(offsetof(Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106, ___m_IsOn_22)); } inline bool get_m_IsOn_22() const { return ___m_IsOn_22; } inline bool* get_address_of_m_IsOn_22() { return &___m_IsOn_22; } inline void set_m_IsOn_22(bool value) { ___m_IsOn_22 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TOGGLE_T9ADD572046F831945ED0E48A01B50FEA1CA52106_H #ifndef HORIZONTALLAYOUTGROUP_TEFAFA0DDCCE4FC89CC2C0BE96E7C025D243CFE37_H #define HORIZONTALLAYOUTGROUP_TEFAFA0DDCCE4FC89CC2C0BE96E7C025D243CFE37_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.HorizontalLayoutGroup struct HorizontalLayoutGroup_tEFAFA0DDCCE4FC89CC2C0BE96E7C025D243CFE37 : public HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // HORIZONTALLAYOUTGROUP_TEFAFA0DDCCE4FC89CC2C0BE96E7C025D243CFE37_H #ifndef IMAGE_T18FED07D8646917E1C563745518CF3DD57FF0B3E_H #define IMAGE_T18FED07D8646917E1C563745518CF3DD57FF0B3E_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Image struct Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E : public MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F { public: // UnityEngine.Sprite UnityEngine.UI.Image::m_Sprite Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_Sprite_31; // UnityEngine.Sprite UnityEngine.UI.Image::m_OverrideSprite Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * ___m_OverrideSprite_32; // UnityEngine.UI.Image_Type UnityEngine.UI.Image::m_Type int32_t ___m_Type_33; // System.Boolean UnityEngine.UI.Image::m_PreserveAspect bool ___m_PreserveAspect_34; // System.Boolean UnityEngine.UI.Image::m_FillCenter bool ___m_FillCenter_35; // UnityEngine.UI.Image_FillMethod UnityEngine.UI.Image::m_FillMethod int32_t ___m_FillMethod_36; // System.Single UnityEngine.UI.Image::m_FillAmount float ___m_FillAmount_37; // System.Boolean UnityEngine.UI.Image::m_FillClockwise bool ___m_FillClockwise_38; // System.Int32 UnityEngine.UI.Image::m_FillOrigin int32_t ___m_FillOrigin_39; // System.Single UnityEngine.UI.Image::m_AlphaHitTestMinimumThreshold float ___m_AlphaHitTestMinimumThreshold_40; // System.Boolean UnityEngine.UI.Image::m_Tracked bool ___m_Tracked_41; // System.Boolean UnityEngine.UI.Image::m_UseSpriteMesh bool ___m_UseSpriteMesh_42; public: inline static int32_t get_offset_of_m_Sprite_31() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_Sprite_31)); } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_Sprite_31() const { return ___m_Sprite_31; } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_Sprite_31() { return &___m_Sprite_31; } inline void set_m_Sprite_31(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value) { ___m_Sprite_31 = value; Il2CppCodeGenWriteBarrier((&___m_Sprite_31), value); } inline static int32_t get_offset_of_m_OverrideSprite_32() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_OverrideSprite_32)); } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * get_m_OverrideSprite_32() const { return ___m_OverrideSprite_32; } inline Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 ** get_address_of_m_OverrideSprite_32() { return &___m_OverrideSprite_32; } inline void set_m_OverrideSprite_32(Sprite_tCA09498D612D08DE668653AF1E9C12BF53434198 * value) { ___m_OverrideSprite_32 = value; Il2CppCodeGenWriteBarrier((&___m_OverrideSprite_32), value); } inline static int32_t get_offset_of_m_Type_33() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_Type_33)); } inline int32_t get_m_Type_33() const { return ___m_Type_33; } inline int32_t* get_address_of_m_Type_33() { return &___m_Type_33; } inline void set_m_Type_33(int32_t value) { ___m_Type_33 = value; } inline static int32_t get_offset_of_m_PreserveAspect_34() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_PreserveAspect_34)); } inline bool get_m_PreserveAspect_34() const { return ___m_PreserveAspect_34; } inline bool* get_address_of_m_PreserveAspect_34() { return &___m_PreserveAspect_34; } inline void set_m_PreserveAspect_34(bool value) { ___m_PreserveAspect_34 = value; } inline static int32_t get_offset_of_m_FillCenter_35() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_FillCenter_35)); } inline bool get_m_FillCenter_35() const { return ___m_FillCenter_35; } inline bool* get_address_of_m_FillCenter_35() { return &___m_FillCenter_35; } inline void set_m_FillCenter_35(bool value) { ___m_FillCenter_35 = value; } inline static int32_t get_offset_of_m_FillMethod_36() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_FillMethod_36)); } inline int32_t get_m_FillMethod_36() const { return ___m_FillMethod_36; } inline int32_t* get_address_of_m_FillMethod_36() { return &___m_FillMethod_36; } inline void set_m_FillMethod_36(int32_t value) { ___m_FillMethod_36 = value; } inline static int32_t get_offset_of_m_FillAmount_37() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_FillAmount_37)); } inline float get_m_FillAmount_37() const { return ___m_FillAmount_37; } inline float* get_address_of_m_FillAmount_37() { return &___m_FillAmount_37; } inline void set_m_FillAmount_37(float value) { ___m_FillAmount_37 = value; } inline static int32_t get_offset_of_m_FillClockwise_38() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_FillClockwise_38)); } inline bool get_m_FillClockwise_38() const { return ___m_FillClockwise_38; } inline bool* get_address_of_m_FillClockwise_38() { return &___m_FillClockwise_38; } inline void set_m_FillClockwise_38(bool value) { ___m_FillClockwise_38 = value; } inline static int32_t get_offset_of_m_FillOrigin_39() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_FillOrigin_39)); } inline int32_t get_m_FillOrigin_39() const { return ___m_FillOrigin_39; } inline int32_t* get_address_of_m_FillOrigin_39() { return &___m_FillOrigin_39; } inline void set_m_FillOrigin_39(int32_t value) { ___m_FillOrigin_39 = value; } inline static int32_t get_offset_of_m_AlphaHitTestMinimumThreshold_40() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_AlphaHitTestMinimumThreshold_40)); } inline float get_m_AlphaHitTestMinimumThreshold_40() const { return ___m_AlphaHitTestMinimumThreshold_40; } inline float* get_address_of_m_AlphaHitTestMinimumThreshold_40() { return &___m_AlphaHitTestMinimumThreshold_40; } inline void set_m_AlphaHitTestMinimumThreshold_40(float value) { ___m_AlphaHitTestMinimumThreshold_40 = value; } inline static int32_t get_offset_of_m_Tracked_41() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_Tracked_41)); } inline bool get_m_Tracked_41() const { return ___m_Tracked_41; } inline bool* get_address_of_m_Tracked_41() { return &___m_Tracked_41; } inline void set_m_Tracked_41(bool value) { ___m_Tracked_41 = value; } inline static int32_t get_offset_of_m_UseSpriteMesh_42() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E, ___m_UseSpriteMesh_42)); } inline bool get_m_UseSpriteMesh_42() const { return ___m_UseSpriteMesh_42; } inline bool* get_address_of_m_UseSpriteMesh_42() { return &___m_UseSpriteMesh_42; } inline void set_m_UseSpriteMesh_42(bool value) { ___m_UseSpriteMesh_42 = value; } }; struct Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields { public: // UnityEngine.Material UnityEngine.UI.Image::s_ETC1DefaultUI Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___s_ETC1DefaultUI_30; // UnityEngine.Vector2[] UnityEngine.UI.Image::s_VertScratch Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* ___s_VertScratch_43; // UnityEngine.Vector2[] UnityEngine.UI.Image::s_UVScratch Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* ___s_UVScratch_44; // UnityEngine.Vector3[] UnityEngine.UI.Image::s_Xy Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___s_Xy_45; // UnityEngine.Vector3[] UnityEngine.UI.Image::s_Uv Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* ___s_Uv_46; // System.Collections.Generic.List`1<UnityEngine.UI.Image> UnityEngine.UI.Image::m_TrackedTexturelessImages List_1_t5E6CEE165340A9D74D8BD47B8E6F422DFB7744ED * ___m_TrackedTexturelessImages_47; // System.Boolean UnityEngine.UI.Image::s_Initialized bool ___s_Initialized_48; // System.Action`1<UnityEngine.U2D.SpriteAtlas> UnityEngine.UI.Image::<>f__mgU24cache0 Action_1_t148D4FE58B48D51DD45913A7B6EAA61E30D4B285 * ___U3CU3Ef__mgU24cache0_49; public: inline static int32_t get_offset_of_s_ETC1DefaultUI_30() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_ETC1DefaultUI_30)); } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_s_ETC1DefaultUI_30() const { return ___s_ETC1DefaultUI_30; } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_s_ETC1DefaultUI_30() { return &___s_ETC1DefaultUI_30; } inline void set_s_ETC1DefaultUI_30(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value) { ___s_ETC1DefaultUI_30 = value; Il2CppCodeGenWriteBarrier((&___s_ETC1DefaultUI_30), value); } inline static int32_t get_offset_of_s_VertScratch_43() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_VertScratch_43)); } inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* get_s_VertScratch_43() const { return ___s_VertScratch_43; } inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6** get_address_of_s_VertScratch_43() { return &___s_VertScratch_43; } inline void set_s_VertScratch_43(Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* value) { ___s_VertScratch_43 = value; Il2CppCodeGenWriteBarrier((&___s_VertScratch_43), value); } inline static int32_t get_offset_of_s_UVScratch_44() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_UVScratch_44)); } inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* get_s_UVScratch_44() const { return ___s_UVScratch_44; } inline Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6** get_address_of_s_UVScratch_44() { return &___s_UVScratch_44; } inline void set_s_UVScratch_44(Vector2U5BU5D_tA065A07DFC060C1B8786BBAA5F3A6577CCEB27D6* value) { ___s_UVScratch_44 = value; Il2CppCodeGenWriteBarrier((&___s_UVScratch_44), value); } inline static int32_t get_offset_of_s_Xy_45() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_Xy_45)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_s_Xy_45() const { return ___s_Xy_45; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_s_Xy_45() { return &___s_Xy_45; } inline void set_s_Xy_45(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___s_Xy_45 = value; Il2CppCodeGenWriteBarrier((&___s_Xy_45), value); } inline static int32_t get_offset_of_s_Uv_46() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_Uv_46)); } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* get_s_Uv_46() const { return ___s_Uv_46; } inline Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28** get_address_of_s_Uv_46() { return &___s_Uv_46; } inline void set_s_Uv_46(Vector3U5BU5D_tB9EC3346CC4A0EA5447D968E84A9AC1F6F372C28* value) { ___s_Uv_46 = value; Il2CppCodeGenWriteBarrier((&___s_Uv_46), value); } inline static int32_t get_offset_of_m_TrackedTexturelessImages_47() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___m_TrackedTexturelessImages_47)); } inline List_1_t5E6CEE165340A9D74D8BD47B8E6F422DFB7744ED * get_m_TrackedTexturelessImages_47() const { return ___m_TrackedTexturelessImages_47; } inline List_1_t5E6CEE165340A9D74D8BD47B8E6F422DFB7744ED ** get_address_of_m_TrackedTexturelessImages_47() { return &___m_TrackedTexturelessImages_47; } inline void set_m_TrackedTexturelessImages_47(List_1_t5E6CEE165340A9D74D8BD47B8E6F422DFB7744ED * value) { ___m_TrackedTexturelessImages_47 = value; Il2CppCodeGenWriteBarrier((&___m_TrackedTexturelessImages_47), value); } inline static int32_t get_offset_of_s_Initialized_48() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___s_Initialized_48)); } inline bool get_s_Initialized_48() const { return ___s_Initialized_48; } inline bool* get_address_of_s_Initialized_48() { return &___s_Initialized_48; } inline void set_s_Initialized_48(bool value) { ___s_Initialized_48 = value; } inline static int32_t get_offset_of_U3CU3Ef__mgU24cache0_49() { return static_cast<int32_t>(offsetof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields, ___U3CU3Ef__mgU24cache0_49)); } inline Action_1_t148D4FE58B48D51DD45913A7B6EAA61E30D4B285 * get_U3CU3Ef__mgU24cache0_49() const { return ___U3CU3Ef__mgU24cache0_49; } inline Action_1_t148D4FE58B48D51DD45913A7B6EAA61E30D4B285 ** get_address_of_U3CU3Ef__mgU24cache0_49() { return &___U3CU3Ef__mgU24cache0_49; } inline void set_U3CU3Ef__mgU24cache0_49(Action_1_t148D4FE58B48D51DD45913A7B6EAA61E30D4B285 * value) { ___U3CU3Ef__mgU24cache0_49 = value; Il2CppCodeGenWriteBarrier((&___U3CU3Ef__mgU24cache0_49), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // IMAGE_T18FED07D8646917E1C563745518CF3DD57FF0B3E_H #ifndef RAWIMAGE_T68991514DB8F48442D614E7904A298C936B3C7C8_H #define RAWIMAGE_T68991514DB8F48442D614E7904A298C936B3C7C8_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.RawImage struct RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8 : public MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F { public: // UnityEngine.Texture UnityEngine.UI.RawImage::m_Texture Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * ___m_Texture_30; // UnityEngine.Rect UnityEngine.UI.RawImage::m_UVRect Rect_t35B976DE901B5423C11705E156938EA27AB402CE ___m_UVRect_31; public: inline static int32_t get_offset_of_m_Texture_30() { return static_cast<int32_t>(offsetof(RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8, ___m_Texture_30)); } inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * get_m_Texture_30() const { return ___m_Texture_30; } inline Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 ** get_address_of_m_Texture_30() { return &___m_Texture_30; } inline void set_m_Texture_30(Texture_t387FE83BB848001FD06B14707AEA6D5A0F6A95F4 * value) { ___m_Texture_30 = value; Il2CppCodeGenWriteBarrier((&___m_Texture_30), value); } inline static int32_t get_offset_of_m_UVRect_31() { return static_cast<int32_t>(offsetof(RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8, ___m_UVRect_31)); } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE get_m_UVRect_31() const { return ___m_UVRect_31; } inline Rect_t35B976DE901B5423C11705E156938EA27AB402CE * get_address_of_m_UVRect_31() { return &___m_UVRect_31; } inline void set_m_UVRect_31(Rect_t35B976DE901B5423C11705E156938EA27AB402CE value) { ___m_UVRect_31 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RAWIMAGE_T68991514DB8F48442D614E7904A298C936B3C7C8_H #ifndef TEXT_TE9317B57477F4B50AA4C16F460DE6F82DAD6D030_H #define TEXT_TE9317B57477F4B50AA4C16F460DE6F82DAD6D030_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.Text struct Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030 : public MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F { public: // UnityEngine.UI.FontData UnityEngine.UI.Text::m_FontData FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * ___m_FontData_30; // System.String UnityEngine.UI.Text::m_Text String_t* ___m_Text_31; // UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCache TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * ___m_TextCache_32; // UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCacheForLayout TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * ___m_TextCacheForLayout_33; // System.Boolean UnityEngine.UI.Text::m_DisableFontTextureRebuiltCallback bool ___m_DisableFontTextureRebuiltCallback_35; // UnityEngine.UIVertex[] UnityEngine.UI.Text::m_TempVerts UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* ___m_TempVerts_36; public: inline static int32_t get_offset_of_m_FontData_30() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_FontData_30)); } inline FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * get_m_FontData_30() const { return ___m_FontData_30; } inline FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 ** get_address_of_m_FontData_30() { return &___m_FontData_30; } inline void set_m_FontData_30(FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494 * value) { ___m_FontData_30 = value; Il2CppCodeGenWriteBarrier((&___m_FontData_30), value); } inline static int32_t get_offset_of_m_Text_31() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_Text_31)); } inline String_t* get_m_Text_31() const { return ___m_Text_31; } inline String_t** get_address_of_m_Text_31() { return &___m_Text_31; } inline void set_m_Text_31(String_t* value) { ___m_Text_31 = value; Il2CppCodeGenWriteBarrier((&___m_Text_31), value); } inline static int32_t get_offset_of_m_TextCache_32() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TextCache_32)); } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * get_m_TextCache_32() const { return ___m_TextCache_32; } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 ** get_address_of_m_TextCache_32() { return &___m_TextCache_32; } inline void set_m_TextCache_32(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * value) { ___m_TextCache_32 = value; Il2CppCodeGenWriteBarrier((&___m_TextCache_32), value); } inline static int32_t get_offset_of_m_TextCacheForLayout_33() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TextCacheForLayout_33)); } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * get_m_TextCacheForLayout_33() const { return ___m_TextCacheForLayout_33; } inline TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 ** get_address_of_m_TextCacheForLayout_33() { return &___m_TextCacheForLayout_33; } inline void set_m_TextCacheForLayout_33(TextGenerator_tD455BE18A64C7DDF854F6DB3CCEBF705121C58A8 * value) { ___m_TextCacheForLayout_33 = value; Il2CppCodeGenWriteBarrier((&___m_TextCacheForLayout_33), value); } inline static int32_t get_offset_of_m_DisableFontTextureRebuiltCallback_35() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_DisableFontTextureRebuiltCallback_35)); } inline bool get_m_DisableFontTextureRebuiltCallback_35() const { return ___m_DisableFontTextureRebuiltCallback_35; } inline bool* get_address_of_m_DisableFontTextureRebuiltCallback_35() { return &___m_DisableFontTextureRebuiltCallback_35; } inline void set_m_DisableFontTextureRebuiltCallback_35(bool value) { ___m_DisableFontTextureRebuiltCallback_35 = value; } inline static int32_t get_offset_of_m_TempVerts_36() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030, ___m_TempVerts_36)); } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* get_m_TempVerts_36() const { return ___m_TempVerts_36; } inline UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A** get_address_of_m_TempVerts_36() { return &___m_TempVerts_36; } inline void set_m_TempVerts_36(UIVertexU5BU5D_tB560F9F9269864891FCE1677971F603A08AA857A* value) { ___m_TempVerts_36 = value; Il2CppCodeGenWriteBarrier((&___m_TempVerts_36), value); } }; struct Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields { public: // UnityEngine.Material UnityEngine.UI.Text::s_DefaultText Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * ___s_DefaultText_34; public: inline static int32_t get_offset_of_s_DefaultText_34() { return static_cast<int32_t>(offsetof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields, ___s_DefaultText_34)); } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * get_s_DefaultText_34() const { return ___s_DefaultText_34; } inline Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 ** get_address_of_s_DefaultText_34() { return &___s_DefaultText_34; } inline void set_s_DefaultText_34(Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 * value) { ___s_DefaultText_34 = value; Il2CppCodeGenWriteBarrier((&___s_DefaultText_34), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TEXT_TE9317B57477F4B50AA4C16F460DE6F82DAD6D030_H #ifndef VERTICALLAYOUTGROUP_TAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11_H #define VERTICALLAYOUTGROUP_TAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.UI.VerticalLayoutGroup struct VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11 : public HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // VERTICALLAYOUTGROUP_TAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3500 = { sizeof (Dropdown_tF6331401084B1213CAB10587A6EC81461501930F), -1, sizeof(Dropdown_tF6331401084B1213CAB10587A6EC81461501930F_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3500[14] = { Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Template_18(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_CaptionText_19(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_CaptionImage_20(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_ItemText_21(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_ItemImage_22(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Value_23(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Options_24(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_OnValueChanged_25(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Dropdown_26(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Blocker_27(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_Items_28(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_m_AlphaTweenRunner_29(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F::get_offset_of_validTemplate_30(), Dropdown_tF6331401084B1213CAB10587A6EC81461501930F_StaticFields::get_offset_of_s_NoOptionData_31(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3501 = { sizeof (DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3501[4] = { DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46::get_offset_of_m_Text_4(), DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46::get_offset_of_m_Image_5(), DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46::get_offset_of_m_RectTransform_6(), DropdownItem_tFDD72F3D25AC0CAF12393C7EE460B47468BD2B46::get_offset_of_m_Toggle_7(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3502 = { sizeof (OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3502[2] = { OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831::get_offset_of_m_Text_0(), OptionData_t5522C87AD5C3F1C8D3748D1FF1825A24F3835831::get_offset_of_m_Image_1(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3503 = { sizeof (OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3503[1] = { OptionDataList_tE70C398434952658ED61EEEDC56766239E2C856D::get_offset_of_m_Options_0(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3504 = { sizeof (DropdownEvent_t429FBB093ED3586F5D49859EBD338125EAB76306), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3505 = { sizeof (U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3505[2] = { U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86::get_offset_of_item_0(), U3CShowU3Ec__AnonStorey1_t2EE5833584F8CD3927DF01249C17D796CD670A86::get_offset_of_U24this_1(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3506 = { sizeof (U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3506[5] = { U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096::get_offset_of_delay_0(), U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096::get_offset_of_U24this_1(), U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096::get_offset_of_U24current_2(), U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096::get_offset_of_U24disposing_3(), U3CDelayedDestroyDropdownListU3Ec__Iterator0_tA5F2B67706057433D2CCC73D5F9C12FF23D72096::get_offset_of_U24PC_4(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3507 = { sizeof (FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3507[12] = { FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_Font_0(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_FontSize_1(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_FontStyle_2(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_BestFit_3(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_MinSize_4(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_MaxSize_5(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_Alignment_6(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_AlignByGeometry_7(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_RichText_8(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_HorizontalOverflow_9(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_VerticalOverflow_10(), FontData_t29F4568F4FB8C463AAFE6DD21FA7A812B4FF1494::get_offset_of_m_LineSpacing_11(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3508 = { sizeof (FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612), -1, sizeof(FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3508[3] = { FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields::get_offset_of_m_Tracked_0(), FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields::get_offset_of_U3CU3Ef__mgU24cache0_1(), FontUpdateTracker_t2584C33FA26620846ABD0529AC058833E791D612_StaticFields::get_offset_of_U3CU3Ef__mgU24cache1_2(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3509 = { sizeof (Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8), -1, sizeof(Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3509[17] = { Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields::get_offset_of_s_DefaultUI_4(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields::get_offset_of_s_WhiteTexture_5(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_Material_6(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_Color_7(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_RaycastTarget_8(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_RectTransform_9(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_CanvasRenderer_10(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_Canvas_11(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_VertsDirty_12(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_MaterialDirty_13(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_OnDirtyLayoutCallback_14(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_OnDirtyVertsCallback_15(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_OnDirtyMaterialCallback_16(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields::get_offset_of_s_Mesh_17(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8_StaticFields::get_offset_of_s_VertexHelper_18(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_m_ColorTweenRunner_19(), Graphic_tBA2C3EF11D3DAEBB57F6879AB0BB4F8BD40D00D8::get_offset_of_U3CuseLegacyMeshGenerationU3Ek__BackingField_20(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3510 = { sizeof (GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83), -1, sizeof(GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3510[8] = { 0, GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83::get_offset_of_m_IgnoreReversedGraphics_5(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83::get_offset_of_m_BlockingObjects_6(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83::get_offset_of_m_BlockingMask_7(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83::get_offset_of_m_Canvas_8(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83::get_offset_of_m_RaycastResults_9(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields::get_offset_of_s_SortedGraphics_10(), GraphicRaycaster_t9AA334998113578A7FC0B27D7D6FEF19E74B9D83_StaticFields::get_offset_of_U3CU3Ef__amU24cache0_11(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3511 = { sizeof (BlockingObjects_tFC334A7FDC8003C26A58D8FF24EDD045C49F9E23)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3511[5] = { BlockingObjects_tFC334A7FDC8003C26A58D8FF24EDD045C49F9E23::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3512 = { sizeof (GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A), -1, sizeof(GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3512[3] = { GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields::get_offset_of_s_Instance_0(), GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A::get_offset_of_m_Graphics_1(), GraphicRegistry_t19E314996D0558CDC3EE57FBA9278A6746C0E02A_StaticFields::get_offset_of_s_EmptyList_2(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3513 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3514 = { sizeof (Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E), -1, sizeof(Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3514[20] = { Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_ETC1DefaultUI_30(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_Sprite_31(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_OverrideSprite_32(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_Type_33(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_PreserveAspect_34(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_FillCenter_35(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_FillMethod_36(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_FillAmount_37(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_FillClockwise_38(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_FillOrigin_39(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_AlphaHitTestMinimumThreshold_40(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_Tracked_41(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E::get_offset_of_m_UseSpriteMesh_42(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_VertScratch_43(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_UVScratch_44(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_Xy_45(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_Uv_46(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_m_TrackedTexturelessImages_47(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_s_Initialized_48(), Image_t18FED07D8646917E1C563745518CF3DD57FF0B3E_StaticFields::get_offset_of_U3CU3Ef__mgU24cache0_49(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3515 = { sizeof (Type_t96B8A259B84ADA5E7D3B1F13AEAE22175937F38A)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3515[5] = { Type_t96B8A259B84ADA5E7D3B1F13AEAE22175937F38A::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3516 = { sizeof (FillMethod_t0DB7332683118B7C7D2748BE74CFBF19CD19F8C5)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3516[6] = { FillMethod_t0DB7332683118B7C7D2748BE74CFBF19CD19F8C5::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3517 = { sizeof (OriginHorizontal_t042F335793CA8EA2C0D55B2B27820D9674075394)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3517[3] = { OriginHorizontal_t042F335793CA8EA2C0D55B2B27820D9674075394::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3518 = { sizeof (OriginVertical_t921649D0F10E91D5FE9E48725A7C562308798125)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3518[3] = { OriginVertical_t921649D0F10E91D5FE9E48725A7C562308798125::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3519 = { sizeof (Origin90_tA111B7ECE5F050DAC340410DCAF50B7900707DBD)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3519[5] = { Origin90_tA111B7ECE5F050DAC340410DCAF50B7900707DBD::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3520 = { sizeof (Origin180_tCF5E1711B4803DCB48210FFE1B23C253242EFC62)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3520[5] = { Origin180_tCF5E1711B4803DCB48210FFE1B23C253242EFC62::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3521 = { sizeof (Origin360_tF25A2DF8C754C42BEAB24082ED5243E047CB9575)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3521[5] = { Origin360_tF25A2DF8C754C42BEAB24082ED5243E047CB9575::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3522 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3523 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3524 = { sizeof (InputField_t533609195B110760BCFF00B746C87D81969CB005), -1, sizeof(InputField_t533609195B110760BCFF00B746C87D81969CB005_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3524[49] = { InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_Keyboard_18(), InputField_t533609195B110760BCFF00B746C87D81969CB005_StaticFields::get_offset_of_kSeparators_19(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_TextComponent_20(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_Placeholder_21(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_ContentType_22(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_InputType_23(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_AsteriskChar_24(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_KeyboardType_25(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_LineType_26(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_HideMobileInput_27(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CharacterValidation_28(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CharacterLimit_29(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_OnEndEdit_30(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_OnValueChanged_31(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_OnValidateInput_32(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretColor_33(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CustomCaretColor_34(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_SelectionColor_35(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_Text_36(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretBlinkRate_37(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretWidth_38(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_ReadOnly_39(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretPosition_40(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretSelectPosition_41(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_caretRectTrans_42(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CursorVerts_43(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_InputTextCache_44(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CachedInputRenderer_45(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_PreventFontCallback_46(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_Mesh_47(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_AllowInput_48(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_ShouldActivateNextUpdate_49(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_UpdateDrag_50(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_DragPositionOutOfBounds_51(), 0, 0, InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_CaretVisible_54(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_BlinkCoroutine_55(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_BlinkStartTime_56(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_DrawStart_57(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_DrawEnd_58(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_DragCoroutine_59(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_OriginalText_60(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_WasCanceled_61(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_HasDoneFocusTransition_62(), InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_WaitForSecondsRealtime_63(), 0, InputField_t533609195B110760BCFF00B746C87D81969CB005::get_offset_of_m_ProcessingEvent_65(), 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3525 = { sizeof (ContentType_t8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3525[11] = { ContentType_t8F7DB5382A51BC2D99814DEB6BCD904D5E5B2048::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3526 = { sizeof (InputType_t1726189312457C509B0693B5ACDB9DA7387EB54A)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3526[4] = { InputType_t1726189312457C509B0693B5ACDB9DA7387EB54A::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3527 = { sizeof (CharacterValidation_t2661E1767E01D63D4C8CE8F95C53C617118F206E)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3527[7] = { CharacterValidation_t2661E1767E01D63D4C8CE8F95C53C617118F206E::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3528 = { sizeof (LineType_t9C34D02DDDA75D3E914ADD9E417258B40D56DED6)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3528[4] = { LineType_t9C34D02DDDA75D3E914ADD9E417258B40D56DED6::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3529 = { sizeof (OnValidateInput_t3E857B491A319A5B22F6AD3D02CFD22C1BBFD8D0), sizeof(Il2CppMethodPointer), 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3530 = { sizeof (SubmitEvent_tE1EC12ACD7DE7D57B9ECBBACA05493E226E53E4A), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3531 = { sizeof (OnChangeEvent_t6C3C7DD6AEA262BB97AD53B0E669EC7EC19BCC1A), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3532 = { sizeof (EditState_tCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3532[3] = { EditState_tCBDEBEE5EE39A49CCEDC05CA512DB0C35C23E629::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3533 = { sizeof (U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3533[6] = { U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U3CblinkPeriodU3E__1_0(), U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U3CblinkStateU3E__1_1(), U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U24this_2(), U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U24current_3(), U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U24disposing_4(), U3CCaretBlinkU3Ec__Iterator0_tBAECB439DA904F63C86A087BDC1399FF5C4B0EFD::get_offset_of_U24PC_5(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3534 = { sizeof (U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3534[9] = { U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U3CpositionU3E__1_0(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_eventData_1(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U3ClocalMousePosU3E__1_2(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U3CrectU3E__1_3(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U3CdelayU3E__1_4(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U24this_5(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U24current_6(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U24disposing_7(), U3CMouseDragOutsideRectU3Ec__Iterator1_t57B6720893544DB94693C04826902DF76B0DFDB2::get_offset_of_U24PC_8(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3535 = { sizeof (Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3535[5] = { Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB::get_offset_of_m_RectTransform_4(), Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB::get_offset_of_m_ShowMaskGraphic_5(), Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB::get_offset_of_m_Graphic_6(), Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB::get_offset_of_m_MaskMaterial_7(), Mask_t082A7A79B4BF2063E5F81D2F84D968569D737CCB::get_offset_of_m_UnmaskMaterial_8(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3536 = { sizeof (MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3536[9] = { MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_ShouldRecalculateStencil_21(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_MaskMaterial_22(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_ParentMask_23(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_Maskable_24(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_IncludeForMasking_25(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_OnCullStateChanged_26(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_ShouldRecalculate_27(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_StencilValue_28(), MaskableGraphic_tDA46A5925C6A2101217C9F52C855B5C1A36A7A0F::get_offset_of_m_Corners_29(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3537 = { sizeof (CullStateChangedEvent_t6BC3E87DBC04B585798460D55F56B86C23B62FE4), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3538 = { sizeof (MaskUtilities_t28395C0AF1B83B3A798D76DC69B012BB303D9683), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3539 = { sizeof (Misc_t87057804A6479127307E42B6C83A4F3244521315), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3540 = { sizeof (MultipleDisplayUtilities_t0C0C3B406CC78C2E7A290C62E132CC1BDC3BD31A), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3541 = { sizeof (Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07)+ sizeof (RuntimeObject), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3541[5] = { Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07::get_offset_of_m_Mode_0() + static_cast<int32_t>(sizeof(RuntimeObject)), Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07::get_offset_of_m_SelectOnUp_1() + static_cast<int32_t>(sizeof(RuntimeObject)), Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07::get_offset_of_m_SelectOnDown_2() + static_cast<int32_t>(sizeof(RuntimeObject)), Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07::get_offset_of_m_SelectOnLeft_3() + static_cast<int32_t>(sizeof(RuntimeObject)), Navigation_t761250C05C09773B75F5E0D52DDCBBFE60288A07::get_offset_of_m_SelectOnRight_4() + static_cast<int32_t>(sizeof(RuntimeObject)), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3542 = { sizeof (Mode_t93F92BD50B147AE38D82BA33FA77FD247A59FE26)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3542[6] = { Mode_t93F92BD50B147AE38D82BA33FA77FD247A59FE26::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3543 = { sizeof (RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3543[2] = { RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8::get_offset_of_m_Texture_30(), RawImage_t68991514DB8F48442D614E7904A298C936B3C7C8::get_offset_of_m_UVRect_31(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3544 = { sizeof (RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3544[9] = { RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_VertexClipper_4(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_RectTransform_5(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_ClipTargets_6(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_ShouldRecalculateClipRects_7(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_Clippers_8(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_LastClipRectCanvasSpace_9(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_ForceClip_10(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_Canvas_11(), RectMask2D_tF2CF19F2A4FE2D2FFC7E6F7809374757CA2F377B::get_offset_of_m_Corners_12(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3545 = { sizeof (Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3545[11] = { Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_HandleRect_18(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_Direction_19(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_Value_20(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_Size_21(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_NumberOfSteps_22(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_OnValueChanged_23(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_ContainerRect_24(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_Offset_25(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_Tracker_26(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_m_PointerDownRepeat_27(), Scrollbar_t8F8679D0EAFACBCBD603E6B0E741E6A783DB3389::get_offset_of_isPointerDownAndNotDragging_28(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3546 = { sizeof (Direction_t7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3546[5] = { Direction_t7DC57FCC1DB6C12E88B2227EEEE2FCEF3F1483FF::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3547 = { sizeof (ScrollEvent_t07B0FA266C69E36437A0083D5058B2952D151FF7), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3548 = { sizeof (Axis_t5CC6D92E75113BD2F2816AFC44EF728126921DF7)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3548[3] = { Axis_t5CC6D92E75113BD2F2816AFC44EF728126921DF7::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3549 = { sizeof (U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3549[5] = { U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D::get_offset_of_eventData_0(), U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D::get_offset_of_U24this_1(), U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D::get_offset_of_U24current_2(), U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D::get_offset_of_U24disposing_3(), U3CClickRepeatU3Ec__Iterator0_t55D73CD12F113655D5F6E7CF7EF888640229401D::get_offset_of_U24PC_4(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3550 = { sizeof (ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3550[37] = { ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Content_4(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Horizontal_5(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Vertical_6(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_MovementType_7(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Elasticity_8(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Inertia_9(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_DecelerationRate_10(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_ScrollSensitivity_11(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Viewport_12(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HorizontalScrollbar_13(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VerticalScrollbar_14(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HorizontalScrollbarVisibility_15(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VerticalScrollbarVisibility_16(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HorizontalScrollbarSpacing_17(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VerticalScrollbarSpacing_18(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_OnValueChanged_19(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_PointerStartLocalCursor_20(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_ContentStartPosition_21(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_ViewRect_22(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_ContentBounds_23(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_ViewBounds_24(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Velocity_25(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Dragging_26(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Scrolling_27(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_PrevPosition_28(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_PrevContentBounds_29(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_PrevViewBounds_30(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HasRebuiltLayout_31(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HSliderExpand_32(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VSliderExpand_33(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HSliderHeight_34(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VSliderWidth_35(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Rect_36(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_HorizontalScrollbarRect_37(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_VerticalScrollbarRect_38(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Tracker_39(), ScrollRect_tAD21D8FB1D33789C39BF4E4CD5CD012D9BD7DD51::get_offset_of_m_Corners_40(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3551 = { sizeof (MovementType_t78F2436465C40CA3C70631E1E5F088EA7A15C97A)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3551[4] = { MovementType_t78F2436465C40CA3C70631E1E5F088EA7A15C97A::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3552 = { sizeof (ScrollbarVisibility_t4D6A5D8EF1681A91CED9F04283D0C882DCE1531F)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3552[4] = { ScrollbarVisibility_t4D6A5D8EF1681A91CED9F04283D0C882DCE1531F::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3553 = { sizeof (ScrollRectEvent_t8995F69D65BA823FB862144B12E6D3504236FEEB), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3554 = { sizeof (Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A), -1, sizeof(Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3554[14] = { Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A_StaticFields::get_offset_of_s_List_4(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_Navigation_5(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_Transition_6(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_Colors_7(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_SpriteState_8(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_AnimationTriggers_9(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_Interactable_10(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_TargetGraphic_11(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_GroupsAllowInteraction_12(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_CurrentSelectionState_13(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_U3CisPointerInsideU3Ek__BackingField_14(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_U3CisPointerDownU3Ek__BackingField_15(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_U3ChasSelectionU3Ek__BackingField_16(), Selectable_tAA9065030FE0468018DEC880302F95FEA9C0133A::get_offset_of_m_CanvasGroupCache_17(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3555 = { sizeof (Transition_tA9261C608B54C52324084A0B080E7A3E0548A181)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3555[5] = { Transition_tA9261C608B54C52324084A0B080E7A3E0548A181::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3556 = { sizeof (SelectionState_tF089B96B46A592693753CBF23C52A3887632D210)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3556[5] = { SelectionState_tF089B96B46A592693753CBF23C52A3887632D210::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3557 = { sizeof (SetPropertyUtility_t20B3FC057E91FD49F7F71279C2DFAAD263E32DEC), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3558 = { sizeof (Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3558[15] = { Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_FillRect_18(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_HandleRect_19(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_Direction_20(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_MinValue_21(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_MaxValue_22(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_WholeNumbers_23(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_Value_24(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_OnValueChanged_25(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_FillImage_26(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_FillTransform_27(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_FillContainerRect_28(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_HandleTransform_29(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_HandleContainerRect_30(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_Offset_31(), Slider_t0654A41304B5CE7074CA86F4E66CB681D0D52C09::get_offset_of_m_Tracker_32(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3559 = { sizeof (Direction_tAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3559[5] = { Direction_tAAEBCB52D43F1B8F5DBB1A6F1025F9D02852B67E::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3560 = { sizeof (SliderEvent_t64A824F56F80FC8E2F233F0A0FB0821702DF416C), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3561 = { sizeof (Axis_t5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3561[3] = { Axis_t5D4CE8029AAE120D6F7C8AC3FE1B1F46B2623830::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3562 = { sizeof (SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A)+ sizeof (RuntimeObject), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3562[3] = { SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A::get_offset_of_m_HighlightedSprite_0() + static_cast<int32_t>(sizeof(RuntimeObject)), SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A::get_offset_of_m_PressedSprite_1() + static_cast<int32_t>(sizeof(RuntimeObject)), SpriteState_t58B9DD66A79CD69AB4CFC3AD0C41E45DC2192C0A::get_offset_of_m_DisabledSprite_2() + static_cast<int32_t>(sizeof(RuntimeObject)), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3563 = { sizeof (StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974), -1, sizeof(StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3563[1] = { StencilMaterial_t1DC5D1CDE53AF67E74925AC2F4083FD29810D974_StaticFields::get_offset_of_m_List_0(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3564 = { sizeof (MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3564[10] = { MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_baseMat_0(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_customMat_1(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_count_2(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_stencilId_3(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_operation_4(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_compareFunction_5(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_readMask_6(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_writeMask_7(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_useAlphaClip_8(), MatEntry_t6D4406239BE26E2ED3F441944F6A047913DB6701::get_offset_of_colorMask_9(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3565 = { sizeof (Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030), -1, sizeof(Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3565[7] = { Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_FontData_30(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_Text_31(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_TextCache_32(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_TextCacheForLayout_33(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030_StaticFields::get_offset_of_s_DefaultText_34(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_DisableFontTextureRebuiltCallback_35(), Text_tE9317B57477F4B50AA4C16F460DE6F82DAD6D030::get_offset_of_m_TempVerts_36(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3566 = { sizeof (Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3566[5] = { Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106::get_offset_of_toggleTransition_18(), Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106::get_offset_of_graphic_19(), Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106::get_offset_of_m_Group_20(), Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106::get_offset_of_onValueChanged_21(), Toggle_t9ADD572046F831945ED0E48A01B50FEA1CA52106::get_offset_of_m_IsOn_22(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3567 = { sizeof (ToggleTransition_t45980EB1352FF47B2D8D8EBC90385AB68939046D)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3567[3] = { ToggleTransition_t45980EB1352FF47B2D8D8EBC90385AB68939046D::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3568 = { sizeof (ToggleEvent_t50D925F8E220FB47DA738411CEF9C57FF7E1DC43), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3569 = { sizeof (ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786), -1, sizeof(ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3569[4] = { ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786::get_offset_of_m_AllowSwitchOff_4(), ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786::get_offset_of_m_Toggles_5(), ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields::get_offset_of_U3CU3Ef__amU24cache0_6(), ToggleGroup_t11E2B254D3C968C7D0DA11C606CC06D7D7F0D786_StaticFields::get_offset_of_U3CU3Ef__amU24cache1_7(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3570 = { sizeof (ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F), -1, sizeof(ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3570[2] = { ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F_StaticFields::get_offset_of_s_Instance_0(), ClipperRegistry_t21CAE5706F7A4BC1D3E54AE35468162956BF7F4F::get_offset_of_m_Clippers_1(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3571 = { sizeof (Clipping_t54CCE61957223C3A78768A2185E906846335DE25), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3572 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3573 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3574 = { sizeof (RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3574[2] = { RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91::get_offset_of_m_WorldCorners_0(), RectangularVertexClipper_t6C47856C4F775A5799A49A100196C2BB14C5DD91::get_offset_of_m_CanvasCorners_1(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3575 = { sizeof (AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3575[5] = { AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6::get_offset_of_m_AspectMode_4(), AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6::get_offset_of_m_AspectRatio_5(), AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6::get_offset_of_m_Rect_6(), AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6::get_offset_of_m_DelayedSetDirty_7(), AspectRatioFitter_t3CA8A085831067C09B872C67F6E7F6F4EBB967B6::get_offset_of_m_Tracker_8(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3576 = { sizeof (AspectMode_t2D8C205891B8E63CA16B6AC3BA1D41320903C65A)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3576[6] = { AspectMode_t2D8C205891B8E63CA16B6AC3BA1D41320903C65A::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3577 = { sizeof (CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3577[14] = { CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_UiScaleMode_4(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_ReferencePixelsPerUnit_5(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_ScaleFactor_6(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_ReferenceResolution_7(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_ScreenMatchMode_8(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_MatchWidthOrHeight_9(), 0, CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_PhysicalUnit_11(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_FallbackScreenDPI_12(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_DefaultSpriteDPI_13(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_DynamicPixelsPerUnit_14(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_Canvas_15(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_PrevScaleFactor_16(), CanvasScaler_t304BA6F47EDB7402EBA405DD36CA7D6ADF723564::get_offset_of_m_PrevReferencePixelsPerUnit_17(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3578 = { sizeof (ScaleMode_t38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3578[4] = { ScaleMode_t38950B182EA5E1C8589AB5E02F36FEABB8A5CAA6::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3579 = { sizeof (ScreenMatchMode_t61C3A62F8F54F705D47C2C37B06DC8083238C133)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3579[4] = { ScreenMatchMode_t61C3A62F8F54F705D47C2C37B06DC8083238C133::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3580 = { sizeof (Unit_tD24A4DB24016D1A6B46579640E170359F76F8313)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3580[6] = { Unit_tD24A4DB24016D1A6B46579640E170359F76F8313::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3581 = { sizeof (ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3581[4] = { ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8::get_offset_of_m_HorizontalFit_4(), ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8::get_offset_of_m_VerticalFit_5(), ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8::get_offset_of_m_Rect_6(), ContentSizeFitter_t4EA7B51457F7EFAD3BAAC51613C7D4E0C26BF4A8::get_offset_of_m_Tracker_7(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3582 = { sizeof (FitMode_tBF783E77415F7063B468C18E758F738D83D60A08)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3582[4] = { FitMode_tBF783E77415F7063B468C18E758F738D83D60A08::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3583 = { sizeof (GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3583[6] = { GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_StartCorner_12(), GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_StartAxis_13(), GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_CellSize_14(), GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_Spacing_15(), GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_Constraint_16(), GridLayoutGroup_t1C70294BD2567FD584672222A8BFD5A0DF1CA2A8::get_offset_of_m_ConstraintCount_17(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3584 = { sizeof (Corner_tD61F36EC56D401A65DA06BE1A21689319201D18E)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3584[5] = { Corner_tD61F36EC56D401A65DA06BE1A21689319201D18E::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3585 = { sizeof (Axis_tD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3585[3] = { Axis_tD4645F3B274E7AE7793C038A2BA2E68C6F0F02F0::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3586 = { sizeof (Constraint_tF471E55525B89D1E7C938CC0AF7515709494C59D)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 }; extern const int32_t g_FieldOffsetTable3586[4] = { Constraint_tF471E55525B89D1E7C938CC0AF7515709494C59D::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)), 0, 0, 0, }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3587 = { sizeof (HorizontalLayoutGroup_tEFAFA0DDCCE4FC89CC2C0BE96E7C025D243CFE37), -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3588 = { sizeof (HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3588[5] = { HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB::get_offset_of_m_Spacing_12(), HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB::get_offset_of_m_ChildForceExpandWidth_13(), HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB::get_offset_of_m_ChildForceExpandHeight_14(), HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB::get_offset_of_m_ChildControlWidth_15(), HorizontalOrVerticalLayoutGroup_tFE5C3DB19C2CC4906B3E5D5F4E1966CB585174AB::get_offset_of_m_ChildControlHeight_16(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3589 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3590 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3591 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3592 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3593 = { 0, -1, 0, 0 }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3594 = { sizeof (LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3594[8] = { LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_IgnoreLayout_4(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_MinWidth_5(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_MinHeight_6(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_PreferredWidth_7(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_PreferredHeight_8(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_FlexibleWidth_9(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_FlexibleHeight_10(), LayoutElement_tD503826DB41B6EA85AC689292F8B2661B3C1048B::get_offset_of_m_LayoutPriority_11(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3595 = { sizeof (LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3595[8] = { LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_Padding_4(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_ChildAlignment_5(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_Rect_6(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_Tracker_7(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_TotalMinSize_8(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_TotalPreferredSize_9(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_TotalFlexibleSize_10(), LayoutGroup_t9E072B95DA6476C487C0B07A815291249025C0E4::get_offset_of_m_RectChildren_11(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3596 = { sizeof (U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073), -1, 0, 0 }; extern const int32_t g_FieldOffsetTable3596[4] = { U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073::get_offset_of_rectTransform_0(), U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073::get_offset_of_U24current_1(), U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073::get_offset_of_U24disposing_2(), U3CDelayedSetDirtyU3Ec__Iterator0_tB8BB61C2C033D95240B4E2704971663E4DC08073::get_offset_of_U24PC_3(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3597 = { sizeof (LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD), -1, sizeof(LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3597[9] = { LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD::get_offset_of_m_ToRebuild_0(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD::get_offset_of_m_CachedHashFromTransform_1(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_s_Rebuilders_2(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__mgU24cache0_3(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__amU24cache0_4(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__amU24cache1_5(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__amU24cache2_6(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__amU24cache3_7(), LayoutRebuilder_t8D3501B43B1DE666140E2931FFA732B5B09EA5BD_StaticFields::get_offset_of_U3CU3Ef__amU24cache4_8(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3598 = { sizeof (LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5), -1, sizeof(LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields), 0 }; extern const int32_t g_FieldOffsetTable3598[8] = { LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache0_0(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache1_1(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache2_2(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache3_3(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache4_4(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache5_5(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache6_6(), LayoutUtility_t3B5074E34900DA384884FC50809EA395CB69E7D5_StaticFields::get_offset_of_U3CU3Ef__amU24cache7_7(), }; extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize3599 = { sizeof (VerticalLayoutGroup_tAAEE0BAA82E9A110591DEC9A3FFC25A01C2FFA11), -1, 0, 0 }; #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "joseph.d.smith@vanderbilt.edu" ]
joseph.d.smith@vanderbilt.edu
af54c5940690435f6dd330ac2afc46b833ebaabf
a2111a80faf35749d74a533e123d9da9da108214
/raw/pmsb13/pmsb13-data-20130530/sources/qhuulr654q26tohr/2013-05-23T00-16-38.366+0200/sandbox/PMSB_group6/include/seqan/GSearch/GEvaluateScore.h
5e2617bf5ddce0a887ef5f454ad46547a4f6ded2
[ "MIT" ]
permissive
bkahlert/seqan-research
f2c550d539f511825842a60f6b994c1f0a3934c2
21945be863855077eec7cbdb51c3450afcf560a3
refs/heads/master
2022-12-24T13:05:48.828734
2015-07-01T01:56:22
2015-07-01T01:56:22
21,610,669
1
0
null
null
null
null
UTF-8
C++
false
false
1,408
h
//Autor:Jakob #ifndef GINGER_GSEARCH_GEVALUATESCORE_H_ #define GINGER_GSEARCH_GEVALUATESCORE_H_ #include <seqan/GStructs/GFastaRecord.h> #include <seqan/GStructs/GScoreStorage.h> #include <iostream> #include <seqan/sequence.h> #include <seqan/align.h> using namespace seqan; using namespace std; template<typename TScore, typename TSequence> /** \brief stores maximum score and corresponding fasta record id. * The function checks the given score whether it is higher than the current maximum score. * If so it updates the maximum score and the corresponding (given) sequence id. * These information are stored in a GScoreStorage object. */ int GEvaluateScore(GScoreStorage<TScore> & storage/**<[out]stores maxScore and corresponding id*/, TScore & score/**<[score which is compared to current maximum]*/, GFastaRecord<TSequence> & referenceRecord/**<[fasta record from the masterFile, which caused the score]*/) { if (storage.scoreInitialized) { if (score > storage.maxScore) { storage.maxScore=score; storage.maxId=referenceRecord.id; } } else { storage.maxScore=score; storage.maxId=referenceRecord.id; storage.scoreInitialized=true; } if (storage.maxId=="") {cerr << "Warning: empty storage.maxId... may lead to empty results!" << endl; return 1;} return 0; } #endif // GINGER_GSEARCH_GEVALUATESCORE_H_
[ "mail@bkahlert.com" ]
mail@bkahlert.com
811cc641e724ba0a69e995bb848c9f31abb45e21
42ceeec32989a09cbe41489b46a9ad7f39131f77
/RenderFramework/CubeGeometry.cpp
d2f63429942d1be46f4774024d4ae45cc81288ac
[]
no_license
dstrachan/RenderFramework
7c57be8afda6d0c61e0c9a3ad276698dae086957
d3a886d8dfa547fcdd8b1ba34d8de3f071f332e6
refs/heads/master
2016-09-05T15:19:51.576337
2014-05-07T10:01:13
2014-05-07T10:01:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,940
cpp
#include "stdafx.h" #include "Geometry.h" namespace RenderFramework { CubeGeometry::CubeGeometry() : Geometry() { init(); } CubeGeometry::~CubeGeometry() { } void CubeGeometry::init() { std::array<glm::vec3, 24> cube_positions = { // Front glm::vec3(0.5f, 0.5f, 0.5f), glm::vec3(-0.5f, 0.5f, 0.5f), glm::vec3(-0.5f, -0.5f, 0.5f), glm::vec3(0.5f, -0.5f, 0.5f), // Right side glm::vec3(0.5f, 0.5f, -0.5f), glm::vec3(0.5f, 0.5f, 0.5f), glm::vec3(0.5f, -0.5f, 0.5f), glm::vec3(0.5f, -0.5f, -0.5f), // Back glm::vec3(-0.5f, 0.5f, -0.5f), glm::vec3(0.5f, 0.5f, -0.5f), glm::vec3(0.5f, -0.5f, -0.5f), glm::vec3(-0.5f, -0.5f, -0.5f), // Left side glm::vec3(-0.5f, 0.5f, 0.5f), glm::vec3(-0.5f, 0.5f, -0.5f), glm::vec3(-0.5f, -0.5f, -0.5f), glm::vec3(-0.5f, -0.5f, 0.5f), // Top glm::vec3(-0.5f, 0.5f, 0.5f), glm::vec3(0.5f, 0.5f, 0.5f), glm::vec3(0.5f, 0.5f, -0.5f), glm::vec3(-0.5f, 0.5f, -0.5f), // Bottom glm::vec3(0.5f, -0.5f, 0.5f), glm::vec3(-0.5f, -0.5f, 0.5f), glm::vec3(-0.5f, -0.5f, -0.5f), glm::vec3(0.5f, -0.5f, -0.5f) }; std::array<glm::vec3, 6> cube_normals = { glm::vec3(0.0f, 0.0f, 1.0f), glm::vec3(1.0f, 0.0f, 0.0f), glm::vec3(0.0f, 0.0f, -1.0f), glm::vec3(-1.0f, 0.0f, 0.0f), glm::vec3(0.0f, 1.0f, 0.0f), glm::vec3(0.0f, -1.0f, 0.0f) }; std::array<glm::vec2, 4> cube_texcoords = { glm::vec2(1.0f, 1.0f), glm::vec2(0.0f, 1.0f), glm::vec2(0.0f, 0.0f), glm::vec2(1.0f, 0.0f) }; for (auto i = 0; i < 24; ++i) { positions.push_back(cube_positions[i]); normals.push_back(cube_normals[i / 4]); } // Set geometry type type = GL_QUADS; // Try to initialise geometry if (!initialise_geometry(this)) { #if defined(_DEBUG) std::cerr << "ERROR - Could not initialise CubeGeometry" << std::endl; #endif return; } #if defined(_DEBUG) std::clog << "LOG - CubeGeometry created" << std::endl; #endif } }
[ "davidstrachan92@gmail.com" ]
davidstrachan92@gmail.com
de2a5bda7923365daffac8584d757e4e31713099
ec1431f63bf86271f3ab3f206fa30a0f37bed873
/AOJ/ALDS_1_3_C_STL_doubly_linked_list.cpp
3ef896f80d98765c104b2668cd54358d731bc031
[]
no_license
yosukei3108/competition
f854ea84485a166519461eae1322c29f3bc0a10c
a69e12d537527daee458e24b40cad8641c780f23
refs/heads/master
2023-08-24T02:24:47.197893
2021-10-27T00:59:57
2021-10-27T00:59:57
224,142,126
0
0
null
null
null
null
UTF-8
C++
false
false
898
cpp
#include <cstdio> #include <list> #include <algorithm> using namespace std; int main() { int q, x; char com[20]; list<int> l; scanf("%d", &q); for (int i=0; i<q; i++) { scanf("%s", com); if (com[0] == 'i') { scanf("%d", &x); l.push_front(x); } else if (com[6] == 'L') { l.pop_back(); } else if (com[6] == 'F') { l.pop_front(); } else if (com[0] == 'd') { scanf("%d", &x); for (list<int>::iterator it=l.begin(); it!=l.end(); it++) { if (*it==x) { l.erase(it); break; } } } } int i = 0; for (list<int>::iterator it = l.begin(); it!=l.end(); it++) { if (i++) printf(" "); printf("%d", *it); } printf("\n"); return 0; }
[ "yishiguro1984@gmail.com" ]
yishiguro1984@gmail.com
2cbfed0c67ee04ff0eadd4c4b6685f17e9798f7a
7992b5694789e27cebce3b4094a45f3864239e23
/src/util.hpp
359897b16183d6fac3f54494555bb5aa758ffea1
[]
no_license
Gitoffthelawn/FractalDive
e05e1a347f064f2cddaa24d2a6675c3e3407e101
1914e7bcb5c7c16867ffdb47b879d7a88307b9ef
refs/heads/master
2023-06-28T21:21:53.572659
2021-07-31T16:59:14
2021-07-31T16:59:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
983
hpp
/* * util.hpp * * Created on: Jun 11, 2020 * Author: elchaschab */ #ifndef SRC_UTIL_HPP_ #define SRC_UTIL_HPP_ #include <cstdint> #include <SDL/SDL.h> #include "types.hpp" #ifdef _JAVASCRIPT #include <emscripten.h> #endif namespace fractaldive { inline fd_highres_tick_t get_milliseconds() { return SDL_GetTicks(); } #ifndef _AMIGA inline fd_highres_tick_t get_microseconds() { return std::chrono::duration_cast<std::chrono::microseconds>(highres_clock::now().time_since_epoch()).count(); } #else inline uint64_t get_microseconds() { assert(false); return 0; } #endif inline fd_highres_tick_t get_highres_tick() { #ifndef _AMIGA return get_microseconds(); #else return get_milliseconds(); #endif } inline void sleep_millis(uint32_t millis) { #ifdef _JAVASCRIPT emscripten_sleep(millis); #else SDL_Delay(millis); #endif } inline std::string pad_string(std::string s, size_t num) { s.append(num - s.length(), ' '); return s; } } #endif /* SRC_UTIL_HPP_ */
[ "amir@viel-zu.org" ]
amir@viel-zu.org
b28127932cf0ed171fc26a30774cf7f063671951
dc2e278726cdc50355cf4cf27d975bd39a935b42
/code_festival_2017_qualc_b.cpp
043845497ff15c3dc752908101f7871ea97e00ab
[]
no_license
yongwhan/atcoder
dfb2a81e17b7841436e96928c7b583b2023225e3
7612e6f2ce235730a6390fbe1d8e67d795f5fe8b
refs/heads/master
2020-11-28T02:08:46.930143
2019-12-23T04:33:41
2019-12-23T04:33:41
229,676,591
0
0
null
null
null
null
UTF-8
C++
false
false
305
cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> ii; int main() { cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0); int n,ret=1,sub=1; cin>>n; for (int i=0; i<n; i++) { int a; cin>>a; ret*=3; if(a%2==0) sub*=2; } cout<<ret-sub<<"\n"; return 0; }
[ "yongwhan@yongwhan-macbookpro.roam.corp.google.com" ]
yongwhan@yongwhan-macbookpro.roam.corp.google.com
7c78d0ec8a50c774c8aa60876e68a4de2d55e90e
680440f5e59eb2157c1ecb41fd891880ac47c459
/XJOI/Level3/XJOI3328 图的二分染色/color.cpp
273d91dd3a814efac0d2eef15612ecb501463610
[]
no_license
Skywt2003/codes
a705dc3a4f5f79d47450179fc597bd92639f3d93
0e09198dc84e3f6907a11b117a068f5e0f55ca68
refs/heads/master
2020-03-29T09:29:54.014364
2019-11-15T12:39:47
2019-11-15T12:39:47
149,760,952
6
0
null
null
null
null
UTF-8
C++
false
false
1,011
cpp
#include<cstdio> #include<cstring> #include<iostream> using namespace std; const int maxn=1005,maxm=1000005; int n,m,tot=0,lnk[maxn],son[maxm],nxt[maxm],rmb[maxn]; bool vis[maxn],flg=true; inline int read(){ int ret=0,f=1;char ch=getchar(); while (ch<'0'||ch>'9') {if (ch=='-') f=-1;ch=getchar();} while (ch>='0'&&ch<='9') ret=ret*10+ch-'0',ch=getchar(); return ret*f; } inline void add(int x,int y){ tot++;son[tot]=y;nxt[tot]=lnk[x];lnk[x]=tot; } inline void DFS(int x,int now){ vis[x]=true;rmb[x]=now; for (int i=lnk[x];i;i=nxt[i]){ if (vis[son[i]]==false) DFS(son[i],1-now); else if (rmb[son[i]]!=-1&&rmb[son[i]]==now){flg=false;return;} } } int main(){ memset(rmb,-1,sizeof(rmb)); n=read();m=read(); for (int i=1;i<=m;i++){ int x=read(),y=read(); add(x,y);add(y,x); } memset(vis,0,sizeof(vis)); for (int i=1;i<=n;i++) if (vis[i]==false){ DFS(i,0); if (flg==false) break; } if (flg==true) printf("Yes\n"); else printf("No\n"); return 0; }
[ "skywt2003@gmail.com" ]
skywt2003@gmail.com
c5791eea43f99840536a9556305e5da5a4618b8c
ed5669151a0ebe6bcc8c4b08fc6cde6481803d15
/test/magma-1.4.1/src/dgegqr_gpu.cpp
46e36b3922d3f50d0cfcd56d2d0edede9f427b00
[]
no_license
JieyangChen7/DVFS-MAGMA
1c36344bff29eeb0ce32736cadc921ff030225d4
e7b83fe3a51ddf2cad0bed1d88a63f683b006f54
refs/heads/master
2021-09-26T09:11:28.772048
2018-05-27T01:45:43
2018-05-27T01:45:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,891
cpp
/* -- MAGMA (version 1.4.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver December 2013 @generated d Tue Dec 17 13:18:36 2013 */ #include "common_magma.h" #define PRECISION_d extern "C" magma_int_t magma_dgegqr_gpu( magma_int_t m, magma_int_t n, double *dA, magma_int_t ldda, double *dwork, double *work, magma_int_t *info ) { /* -- MAGMA (version 1.4.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver December 2013 Purpose ======= ZGEGQR orthogonalizes the N vectors given by a real M-by-N matrix A: A = Q * R. On exit, if successful, the orthogonal vectors Q overwrite A and R is given in work (on the CPU memory). This version uses normal equations and SVD in an iterative process that makes the computation numerically accurate. Arguments ========= M (input) INTEGER The number of rows of the matrix A. M >= 0. N (input) INTEGER The number of columns of the matrix A. N >= 0. dA (input/output) DOUBLE_PRECISION array on the GPU, dimension (LDDA,N) On entry, the M-by-N matrix A. On exit, the M-by-N matrix Q with orthogonal columns. LDDA (input) INTEGER The leading dimension of the array dA. LDDA >= max(1,M). To benefit from coalescent memory accesses LDDA must be dividable by 16. dwork (GPU workspace) DOUBLE_PRECISION array, dimension (N,N) work (CPU workspace/output) DOUBLE_PRECISION array, dimension 3n^2. On exit, work(1:n^2) holds the rectangular matrix R. Preferably, for higher performance, work must be in pinned memory. INFO (output) INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value or another error occured, such as memory allocation failed. Further Details =============== ===================================================================== */ magma_int_t i = 0, j, k, n2 = n*n, ione = 1; double zero = MAGMA_D_ZERO, one = MAGMA_D_ONE; double cn = 200., mins, maxs; /* check arguments */ *info = 0; if (m < 0) { *info = -1; } else if (n < 0) { *info = -2; } else if (ldda < max(1,m)) { *info = -4; } if (*info != 0) { magma_xerbla( __func__, -(*info) ); return *info; } double *U, *VT, *vt, *R, *G, *hwork, *tau; double *S; R = work; // Size n * n G = R + n*n; // Size n * n VT = G + n*n; // Size n * n magma_dmalloc_cpu( &hwork, 2*n*n + 2*n); if ( hwork == NULL ) { *info = MAGMA_ERR_HOST_ALLOC; return *info; } magma_int_t lwork = n*n; // First part f hwork; used as workspace in svd U = hwork + n*n; // Size n*n S = (double *)(U+n*n);// Size n tau = U + n*n + n ; // Size n #if defined(PRECISION_c) || defined(PRECISION_z) double *rwork; magma_dmalloc_cpu( &rwork, 5*n); if ( rwork == NULL ) { *info = MAGMA_ERR_HOST_ALLOC; return *info; } #endif do { i++; magma_dgemm(MagmaTrans, MagmaNoTrans, n, n, m, one, dA, ldda, dA, ldda, zero, dwork, n ); // magmablas_dgemm_reduce(n, n, m, one, dA, ldda, dA, ldda, zero, dwork, n ); magma_dgetmatrix(n, n, dwork, n, G, n); #if defined(PRECISION_s) || defined(PRECISION_d) lapackf77_dgesvd("n", "a", &n, &n, G, &n, S, U, &n, VT, &n, hwork, &lwork, info); #else lapackf77_dgesvd("n", "a", &n, &n, G, &n, S, U, &n, VT, &n, hwork, &lwork, rwork, info); #endif mins = 100.f, maxs = 0.f; for(k=0; k<n; k++){ S[k] = magma_dsqrt( S[k] ); if (S[k] < mins) mins = S[k]; if (S[k] > maxs) maxs = S[k]; } for(k=0; k<n;k++){ vt = VT + k*n; for(j=0; j<n; j++) vt[j]*=S[j]; } lapackf77_dgeqrf(&n, &n, VT, &n, tau, hwork, &lwork, info); if (i==1) blasf77_dcopy(&n2, VT, &ione, R, &ione); else blasf77_dtrmm("l", "u", "n", "n", &n, &n, &one, VT, &n, R, &n); magma_dsetmatrix(n, n, VT, n, G, n); magma_dtrsm('r', 'u', 'n', 'n', m, n, one, G, n, dA, ldda); if (mins > 0.00001f) cn = maxs/mins; //fprintf(stderr, "Iteration %d, cond num = %f \n", i, cn); } while (cn > 10.f); magma_free_cpu( hwork ); #if defined(PRECISION_c) || defined(PRECISION_z) magma_free_cpu( rwork ); #endif return *info; } /* magma_dgegqr_gpu */
[ "cjy7117@gmail.com" ]
cjy7117@gmail.com
ebec2a684d890c22c176bfcbcacf7d5cd69a4cc5
dac5254630fefae851da7c843dcab7f6a6af9703
/MacOS/Sources/Application/Three Pane/Items/C3PaneItemsTabs.cp
f86dd2808b0adebb273fa7e3a6aa75d0d75606a4
[ "Apache-2.0" ]
permissive
gpreviato/Mulberry-Mail
dd4e3618468fff36361bd2aeb0a725593faa0f8d
ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a
refs/heads/master
2021-01-20T03:31:39.515653
2017-09-21T13:09:55
2017-09-21T13:09:55
18,178,314
5
2
null
null
null
null
UTF-8
C++
false
false
6,100
cp
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // C3PaneItemsTabs #include "C3PaneItemsTabs.h" #include "CCommands.h" #include "CContextMenu.h" #include "CResources.h" #include "C3PaneItems.h" #include <LControlImp.h> enum { menuChoice_MoveLeft = 1, menuChoice_MoveRight, menuChoice_MoveStart, menuChoice_MoveEnd, menuChoice_Separator1, menuChoice_Close, menuChoice_CloseAll, menuChoice_CloseOthers, menuChoice_Separator2, menuChoice_Rename, menuChoice_Separator3, menuChoice_Lock, menuChoice_LockAll, menuChoice_Dynamic, menuChoice_Separator4, menuChoice_Save, menuChoice_Restore }; C3PaneItemsTabs::C3PaneItemsTabs(LStream *inStream) : CTabsX(inStream) { mOwner = NULL; mMenuChoice = ::GetMenu(MENU_3PaneTabbedItems); ::InsertMenu(mMenuChoice, hierMenu); } Boolean C3PaneItemsTabs::IsHitBy( SInt32 inHorizPort, SInt32 inVertPort) { return PointIsInFrame(inHorizPort, inVertPort); } void C3PaneItemsTabs::Click(SMouseDownEvent &inMouseDown) { // Look for context menu click if (CContextMenuProcessAttachment::IsCMMEvent(inMouseDown.macEvent)) { bool in_button = false; long btn = 0; if (IsEnabled()) { for(btn = 1; btn <= GetMaxValue(); btn++) { StRegion rgn; ::GetControlRegion(GetControlImp()->GetMacControl(), btn, rgn); if (rgn.Contains(inMouseDown.whereLocal)) { in_button = true; break; } } } // Do menu Select Point startPt = inMouseDown.wherePort; PortToGlobalPoint(startPt); if (in_button && (btn > 1)) { ::EnableMenuItem(mMenuChoice, menuChoice_MoveLeft); ::EnableMenuItem(mMenuChoice, menuChoice_MoveStart); } else { ::DisableMenuItem(mMenuChoice, menuChoice_MoveLeft); ::DisableMenuItem(mMenuChoice, menuChoice_MoveStart); } if (in_button && (btn < GetMaxValue())) { ::EnableMenuItem(mMenuChoice, menuChoice_MoveRight); ::EnableMenuItem(mMenuChoice, menuChoice_MoveEnd); } else { ::DisableMenuItem(mMenuChoice, menuChoice_MoveRight); ::DisableMenuItem(mMenuChoice, menuChoice_MoveEnd); } if (in_button) { // Determine if locked bool is_locked = mOwner && mOwner->IsSubstituteLocked(btn - 1); if (is_locked) { ::DisableMenuItem(mMenuChoice, menuChoice_Close); ::DisableMenuItem(mMenuChoice, menuChoice_Dynamic); ::CheckMenuItem(mMenuChoice, menuChoice_Lock, true); } else { ::EnableMenuItem(mMenuChoice, menuChoice_Close); ::EnableMenuItem(mMenuChoice, menuChoice_Dynamic); ::CheckMenuItem(mMenuChoice, menuChoice_Lock, false); } // Determine if dynamic bool is_dynamic = mOwner && mOwner->IsSubstituteDynamic(btn - 1); ::CheckMenuItem(mMenuChoice, menuChoice_Dynamic, is_dynamic); ::EnableMenuItem(mMenuChoice, menuChoice_CloseAll); ::EnableMenuItem(mMenuChoice, menuChoice_CloseOthers); ::EnableMenuItem(mMenuChoice, menuChoice_Rename); ::EnableMenuItem(mMenuChoice, menuChoice_Lock); ::EnableMenuItem(mMenuChoice, menuChoice_LockAll); } else { ::DisableMenuItem(mMenuChoice, menuChoice_Close); ::DisableMenuItem(mMenuChoice, menuChoice_CloseAll); ::DisableMenuItem(mMenuChoice, menuChoice_CloseOthers); ::DisableMenuItem(mMenuChoice, menuChoice_Rename); ::DisableMenuItem(mMenuChoice, menuChoice_Lock); ::DisableMenuItem(mMenuChoice, menuChoice_LockAll); ::DisableMenuItem(mMenuChoice, menuChoice_Dynamic); } SInt32 result = ::PopUpMenuSelect(mMenuChoice, startPt.v, startPt.h, 0); // Handle menu result MenuChoice(result & 0x0000FFFF, btn); } // Look for shift-click to trigger a close else if (inMouseDown.macEvent.modifiers & shiftKey) { bool found = false; long btn = 0; for(btn = 1; btn <= GetMaxValue(); btn++) { StRegion rgn; ::GetControlRegion(GetControlImp()->GetMacControl(), btn, rgn); if (rgn.Contains(inMouseDown.whereLocal)) { found = true; break; } } if (found) // Broadcast change BroadcastMessage(msg_3PaneItemsTabsClose, &btn); } else // Do inherited CTabsX::Click(inMouseDown); } void C3PaneItemsTabs::MenuChoice(SInt32 choice, long btn) { switch(choice) { case menuChoice_MoveLeft: { std::pair<unsigned long, unsigned long> p(btn, btn - 1); BroadcastMessage(msg_3PaneItemsTabsMove, &p); } break; case menuChoice_MoveRight: { std::pair<unsigned long, unsigned long> p(btn, btn + 1); BroadcastMessage(msg_3PaneItemsTabsMove, &p); } break; case menuChoice_MoveStart: { std::pair<unsigned long, unsigned long> p(btn, 1); BroadcastMessage(msg_3PaneItemsTabsMove, &p); } break; case menuChoice_MoveEnd: { std::pair<unsigned long, unsigned long> p(btn, GetMaxValue()); BroadcastMessage(msg_3PaneItemsTabsMove, &p); } break; case menuChoice_Close: BroadcastMessage(msg_3PaneItemsTabsClose, &btn); break; case menuChoice_CloseAll: BroadcastMessage(msg_3PaneItemsTabsCloseAll, &btn); break; case menuChoice_CloseOthers: BroadcastMessage(msg_3PaneItemsTabsCloseOthers, &btn); break; case menuChoice_Rename: BroadcastMessage(msg_3PaneItemsTabsRename, &btn); break; case menuChoice_Lock: BroadcastMessage(msg_3PaneItemsTabsLock, &btn); break; case menuChoice_LockAll: BroadcastMessage(msg_3PaneItemsTabsLockAll, &btn); break; case menuChoice_Dynamic: BroadcastMessage(msg_3PaneItemsTabsDynamic, &btn); break; case menuChoice_Save: BroadcastMessage(msg_3PaneItemsTabsSave, &btn); break; case menuChoice_Restore: BroadcastMessage(msg_3PaneItemsTabsRestore, &btn); break; } }
[ "svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132" ]
svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132
2b89f4562700fc8a1f7c5a247caa470f73c2626e
4a88f399a239892968c826025654c262cc0a2122
/20140712/io/io_bool.cpp
8e0469b423f24cb16c9e8d7844168317277a6bd4
[]
no_license
Beatrice7/what-i-learned-in-wd
ea99fe4720468d5702c209b9ee96cf143165f944
ace120f3dc4bbd87232eaf6ca08a15ed0bcbc2b2
refs/heads/master
2021-01-23T14:05:28.902398
2014-10-14T01:09:03
2014-10-14T01:09:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
#include <iostream> #include <string> #include <vector> using namespace std; /* * cin的good为假的时候,对cin进行bool检测,得到的是false * */ int main(int argc, const char *argv[]) { int num; cout << "good = " << cin.good() << endl; cout << (bool)cin << endl; cin >> num; cout << "good = " << cin.good() << endl; cout << (bool)cin << endl; return 0; }
[ "qiruotong@qiruotongdeMacBook-Pro.local" ]
qiruotong@qiruotongdeMacBook-Pro.local
37b17817f9a7501d06f718f5082010ceaf48a13a
7d9decabe4b3c28561602851eb9a652a13549230
/newton-4.00/sdk/dCore/dBezierSpline.cpp
ae24d23195e2572fa59d7a3608207cddd2164de6
[ "Zlib" ]
permissive
aismann/newton-dynamics
13faffd5e313d42ed6cf1c8e4e96d24c3b2c8d10
3c49b796a38213cb1d5370cf0a3722b075f93a77
refs/heads/master
2023-01-24T22:28:40.395234
2020-12-08T00:52:53
2020-12-08T00:52:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,611
cpp
/* Copyright (c) <2003-2019> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely */ #include "dCoreStdafx.h" #include "dTypes.h" #include "dMemory.h" #include "dArray.h" #include "dVector.h" #include "dBezierSpline.h" dBezierSpline::dBezierSpline () :dClassAlloc() ,m_knotVector() ,m_controlPoints() ,m_degree(0) ,m_knotsCount(0) ,m_controlPointsCount(0) { } dBezierSpline::dBezierSpline (const dBezierSpline& src) :dClassAlloc() //,m_knotVector(src.m_knotsCount) ,m_knotVector() //,m_controlPoints(src.m_controlPointsCount) ,m_controlPoints() ,m_degree(0) ,m_knotsCount(0) ,m_controlPointsCount(0) { dAssert(0); if (src.m_knotsCount) { CreateFromKnotVectorAndControlPoints (src.m_degree, src.m_knotsCount - 2 * src.m_degree, &src.m_knotVector[src.m_degree], &src.m_controlPoints[0]); } } dBezierSpline::~dBezierSpline () { Clear(); } void dBezierSpline::Clear() { m_degree = 0; m_knotsCount = 0; m_controlPointsCount = 0; } dBezierSpline& dBezierSpline::operator = (const dBezierSpline &copy) { Clear(); if (copy.m_knotsCount) { CreateFromKnotVectorAndControlPoints (copy.m_degree, copy.m_knotsCount - 2 * copy.m_degree, &copy.m_knotVector[copy.m_degree], &copy.m_controlPoints[0]); } return *this; } dInt32 dBezierSpline::GetDegree () const { return m_degree; } void dBezierSpline::CreateFromKnotVectorAndControlPoints (dInt32 degree, dInt32 knotCount, const dFloat64* const knotVector, const dBigVector* const controlPointss) { Clear(); dAssert (knotCount); dAssert (knotVector[0] == 0.0f); dAssert (knotVector[knotCount - 1] == 1.0f); m_degree = degree; m_knotsCount = knotCount + 2 * degree; m_controlPointsCount = knotCount + m_degree - 1; for (dInt32 i = 0; i < m_controlPointsCount; i++) { m_controlPoints[i] = controlPointss[i]; } for (dInt32 i = 0; i < m_degree; i ++) { m_knotVector[i] = dFloat64(0.0f); m_knotVector[i + m_knotsCount - m_degree] = dFloat64(1.0f); } for (dInt32 i = 0; i < knotCount; i ++) { m_knotVector[i + m_degree] = knotVector[i]; dAssert (m_knotVector[i + m_degree] >= m_knotVector[i + m_degree - 1]); } } dInt32 dBezierSpline::GetKnotCount() const { return m_knotsCount; } dArray<dFloat64>& dBezierSpline::GetKnotArray() { return m_knotVector; } const dArray<dFloat64>& dBezierSpline::GetKnotArray() const { return m_knotVector; } dFloat64 dBezierSpline::GetKnot(dInt32 i) const { return m_knotVector[i]; } dInt32 dBezierSpline::GetControlPointCount() const { return m_controlPointsCount; } dBigVector dBezierSpline::GetControlPoint(dInt32 i) const { return m_controlPoints[i]; } void dBezierSpline::SetControlPoint(dInt32 i, const dBigVector& point) { m_controlPoints[i] = point; } dArray<dBigVector>& dBezierSpline::GetControlPointArray() { return m_controlPoints; } const dArray<dBigVector>& dBezierSpline::GetControlPointArray() const { return m_controlPoints; } dInt32 dBezierSpline::GetSpan(dFloat64 u) const { dInt32 low = m_degree; dInt32 high = m_knotsCount - m_degree - 1; dAssert (u >= 0.0f); dAssert (u <= 1.0f); while ((high - low) >= 4) { dInt32 mid = (low + high) >> 1; if (u > m_knotVector[mid]) { low = mid; } else { high = mid; } } dAssert (m_knotVector[low] <= u); for (dInt32 i = low; i < m_degree + m_knotsCount + 1; i ++) { if (m_knotVector[i + 1] >= u) { return i; } } dAssert (0); return 0; } void dBezierSpline::BasicsFunctions (dFloat64 u, dInt32 span, dFloat64* const BasicFunctionsOut) const { BasicFunctionsOut[0] = 1.0f; dFloat64* const left = dAlloca(dFloat64, m_knotsCount + 32); dFloat64* const right = dAlloca(dFloat64, m_knotsCount + 32); for (dInt32 j = 1; j <= m_degree; j ++) { left[j] = u - m_knotVector[span + 1 - j]; right[j] = m_knotVector[span + j] - u; dFloat64 saved = 0.0f; for (dInt32 r = 0; r < j; r ++) { dFloat64 temp = BasicFunctionsOut[r] / (right[r + 1] + left[j - r]); BasicFunctionsOut[r] = saved + temp * right[r + 1]; saved = temp * left[j - r]; } BasicFunctionsOut[j] = saved; } } void dBezierSpline::BasicsFunctionsDerivatives (dFloat64 u, dInt32 span, dFloat64* const derivativesOut) const { dFloat64* const a = dAlloca(dFloat64, m_knotsCount + 32); dFloat64* const ndu = dAlloca(dFloat64, m_knotsCount + 32); dFloat64* const left = dAlloca(dFloat64, m_knotsCount + 32); dFloat64* const right = dAlloca(dFloat64, m_knotsCount + 32); const dInt32 width = m_degree + 1; ndu[0] = 1.0f; for (dInt32 j = 1; j <= m_degree; j ++) { left[j] = u - m_knotVector[span + 1 - j]; right[j] = m_knotVector[span + j] - u; dFloat64 saved = 0.0f; for (dInt32 r = 0; r < j; r ++) { ndu[j * width + r] = right[r + 1] + left[j - r]; dFloat64 temp = ndu[r * width + j - 1] / ndu[j * width + r]; ndu[r * width + j] = saved + temp * right[r + 1]; saved = temp * left[j - r]; } ndu[j * width + j] = saved; } for (dInt32 j = 0; j <= m_degree; j ++) { derivativesOut[width * 0 + j] = ndu [width * j + m_degree]; } for (dInt32 r = 0; r <= m_degree; r ++) { dInt32 s1 = 0; dInt32 s2 = 1; a[0] = 1.0f; for (dInt32 k = 1; k <= m_degree; k ++) { dFloat64 d = 0.0f; dInt32 rk = r - k; dInt32 pk = m_degree - k; if (r >= k) { a[width * s2 + 0] = a[width * s1 + 0] / ndu[width * (pk + 1) + rk]; d = a[width * s2 + 0] * ndu[width * rk + pk]; } dInt32 j1 = 0; dInt32 j2 = 0; if (rk >= -1) { j1 = 1; } else { j1 = -rk; } if ((r - 1) <= pk) { j2 = k-1; } else { j2 = m_degree-r; } for (dInt32 j = j1; j <= j2; j ++) { a[width * s2 + j] = (a[width * s1 + j] - a[width * s1 + j - 1]) / ndu[width * (pk + 1) + rk + j]; d += a[width * s2 + j] * ndu[width * (rk + j) + pk]; } if (r <= pk) { a[width * s2 + k] = -a[width * s1 + k - 1] / ndu[width * (pk + 1) + r]; d += a[width * s2 + k] * ndu[width * r + pk]; } derivativesOut[width * k + r] = d; dSwap(s1, s2); } } dInt32 s = m_degree; for (dInt32 k = 1; k <= m_degree; k ++) { for (dInt32 j = 0; j <= m_degree; j ++) { derivativesOut[width * k + j] *= s; } s *= (m_degree - k); } } dBigVector dBezierSpline::CurvePoint (dFloat64 u, dInt32 span) const { dBigVector point (0.0f); dFloat64* const basicFunctions = dAlloca(dFloat64, m_knotsCount + 32); BasicsFunctions (u, span, basicFunctions); for (dInt32 i = 0; i <= m_degree; i ++) { point += m_controlPoints[span - m_degree + i].Scale (basicFunctions[i]); } return point; } dBigVector dBezierSpline::CurvePoint (dFloat64 u) const { u = dClamp (u, dFloat64 (0.0f), dFloat64 (1.0f)); dInt32 span = GetSpan(u); return CurvePoint (u, span); } dBigVector dBezierSpline::CurveDerivative (dFloat64 u, dInt32 index) const { u = dClamp (u, dFloat64 (0.0f), dFloat64 (1.0f)); dAssert (index <= m_degree); dFloat64* const basicsFuncDerivatives = dAlloca(dFloat64, m_knotsCount + 32); dInt32 span = GetSpan(u); BasicsFunctionsDerivatives (u, span, basicsFuncDerivatives); const dInt32 with = m_degree + 1; dBigVector point (0.0f); for (dInt32 i = 0; i <= m_degree; i ++) { point += m_controlPoints[span - m_degree + i].Scale (basicsFuncDerivatives[with * index + i]); } return point; } dInt32 dBezierSpline::CurveAllDerivatives (dFloat64 u, dBigVector* const derivatives) const { u = dMod (u, dFloat64(1.0f)); dFloat64* const basicsFuncDerivatives = dAlloca(dFloat64, m_knotsCount + 32); dInt32 span = GetSpan(u); BasicsFunctionsDerivatives (u, span, basicsFuncDerivatives); const dInt32 with = m_degree + 1; dBigVector point (0.0f); for (dInt32 j = 0; j <= m_degree; j ++) { dBigVector ck (0.0f); for (dInt32 i = 0; i <= m_degree; i ++) { ck += m_controlPoints[span - m_degree + i].Scale (basicsFuncDerivatives[with * j + i]); } derivatives[j] = ck; } return m_degree + 1; } void dBezierSpline::GlobalCubicInterpolation (dInt32 count, const dBigVector* const Pointss, const dBigVector& firstTangent, const dBigVector& lastTangent) { CreateCubicKnotVector (count, Pointss); CreateCubicControlPoints (count, Pointss, firstTangent, lastTangent); } void dBezierSpline::CreateCubicKnotVector(dInt32 count, const dBigVector* const Pointss) { dFloat64 d = dFloat64(0.0f); dAssert (count >= 2); dFloat64* const u = dAlloca(dFloat64, m_knotsCount + 32); u[0] = dFloat64(0.0f); for (dInt32 i = 1; i < count; i ++) { dBigVector step (Pointss[i] - Pointss[i - 1]); dAssert(step.m_w == dFloat32(0.0f)); dFloat64 len = dSqrt (step.DotProduct(step).GetScalar()); u[i] = dSqrt (len); d += u[i]; } for (dInt32 i = 1; i < count; i ++) { u[i] = u[i-1] + u[i] / d; } u[0] = dFloat64 (0.0f); u[count - 1] = dFloat64(1.0f); m_degree = 3; m_knotsCount = count + 2 * m_degree; for (dInt32 i = 0; i < (m_degree + 1); i ++) { m_knotVector[i] = dFloat64(0.0f); m_knotVector[i + m_knotsCount - m_degree - 1] = dFloat64(1.0f); } for (dInt32 i = 1; i < (count - 1); i ++) { dFloat64 acc = dFloat64 (0.0f); for (dInt32 j = 0; j < m_degree; j ++) { acc += u[j + i - 1]; } m_knotVector[m_degree + i] = acc / dFloat64 (3.0f); } } void dBezierSpline::CreateCubicControlPoints(dInt32 count, const dBigVector* const Pointss, const dBigVector& firstTangent, const dBigVector& lastTangent) { dFloat64 abc[4]; if ((m_knotsCount - 2 * (m_degree - 1)) != m_controlPointsCount) { m_controlPointsCount = m_knotsCount - 2 * (m_degree - 1); } m_controlPoints[0] = Pointss[0]; m_controlPoints[m_controlPointsCount - 1] = Pointss[count - 1]; m_controlPoints[1] = m_controlPoints[0] + firstTangent.Scale (m_knotVector[m_degree + 1] / 3.0f); m_controlPoints[m_controlPointsCount - 2] = m_controlPoints[m_controlPointsCount - 1] - lastTangent.Scale ((1.0f - m_knotVector[m_knotsCount - m_degree - 2]) / 3.0f); if (count == 3) { BasicsFunctions (m_knotVector[m_degree + 1], m_degree + 1, abc); m_controlPoints[2] = Pointss[1] - m_controlPoints[1].Scale (abc[0]) - m_controlPoints[3].Scale (abc[2]); m_controlPoints[2] = m_controlPoints[2].Scale (1.0f / abc[1]); } else { dFloat64* const dd = dAlloca(dFloat64, m_knotsCount + 32); BasicsFunctions (m_knotVector[m_degree + 1], m_degree + 1, abc); dFloat64 den = abc[1]; m_controlPoints[2] = (Pointss[1] - m_controlPoints[1].Scale (abc[0])).Scale (1.0f / den); for (dInt32 i = 3; i < (count - 1); i ++) { dd[i + 1] = abc[2] / den; BasicsFunctions (m_knotVector[i + 2], i + 2, abc); den = abc[1] - abc[0] * dd[i + 1]; m_controlPoints[i] = (Pointss[i - 1] - m_controlPoints[i - 1].Scale (abc[0])).Scale (1.0f / den); } dd[count] = abc[2] / den; BasicsFunctions (m_knotVector[count + 1], count + 1, abc); den = abc[1] - abc[0] * dd[count]; m_controlPoints[count - 1] = (Pointss[count - 2] - m_controlPoints[count].Scale (abc[2]) - m_controlPoints[count - 2].Scale (abc[0])).Scale (1.0f / den); for (dInt32 i = count - 2; i >= 2; i --) { m_controlPoints[i] -= m_controlPoints[i + 1].Scale (dd[i + 2]); } } } dFloat64 dBezierSpline::CalculateLength (dFloat64 tol) const { dBigVector stackPool[32][3]; dInt32 stack = 0; dFloat64 length = 0.0f; dFloat64 tol2 = tol * tol; dFloat64 u0 = m_knotVector[m_degree]; dBigVector p0 (CurvePoint (u0)); for (dInt32 i = m_degree; i < (m_knotsCount - m_degree - 1); i ++) { dFloat64 u1 = m_knotVector[i + 1]; dBigVector p1 (CurvePoint (u1)); stackPool[stack][0] = p0; stackPool[stack][1] = p1; stackPool[stack][2] = dBigVector (u0, u1, dFloat64(0.0f), dFloat64(0.0f)); stack ++; while (stack) { stack --; dBigVector q0 (stackPool[stack][0]); dBigVector q1 (stackPool[stack][1]); dFloat64 t0 = stackPool[stack][2][0]; dFloat64 t1 = stackPool[stack][2][1]; dFloat64 t01 = (t1 + t0) * 0.5f; dBigVector p01 ((q1 + q0).Scale (0.5f)); dBigVector q01 (CurvePoint (t01)); dBigVector err (q01 - p01); dAssert(err.m_w == dFloat32(0.0f)); dFloat64 err2 = err.DotProduct(err).GetScalar(); if (err2 < tol2) { dBigVector step (q1 - q0); dAssert(step.m_w == dFloat32(0.0f)); length += dSqrt (step.DotProduct(step).GetScalar()); } else { stackPool[stack][0] = q01; stackPool[stack][1] = q1; stackPool[stack][2] = dBigVector (t01, t1, dFloat64(0.0f), dFloat64(0.0f)); stack ++; stackPool[stack][0] = q0; stackPool[stack][1] = q01; stackPool[stack][2] = dBigVector (t0, t01, dFloat64(0.0f), dFloat64(0.0f)); stack ++; } } u0 = u1; p0 = p1; } return length; } void dBezierSpline::InsertKnot (dFloat64 u) { const dInt32 k = GetSpan(u); dInt32 multiplicity = 0; for (dInt32 i = 0; i < m_degree; i ++) { multiplicity += (dAbs (m_knotVector[k + i + 1] - u) < dFloat64 (1.0e-5f)) ? 1 : 0; } if (multiplicity == m_degree) { return; } for (dInt32 i = m_knotsCount; i > (k + 1); i --) { m_knotVector[i] = m_knotVector[i - 1]; } m_knotVector[k + 1] = u; dBigVector Rw[16]; for (dInt32 i = 0; i <= m_degree; i ++) { Rw[i] = m_controlPoints[k - m_degree + i]; } const dInt32 m = k - m_degree + 1; dAssert(m >= 0); dAssert((k + 1 - 1 - 0) >= 0); dAssert((m_degree - 1 - 0) >= 0); for (dInt32 i = 0; i <= (m_degree - 1); i ++) { dFloat64 alpha = (u - m_knotVector[m + i]) / (m_knotVector[i + k + 1] - m_knotVector[m + i]); Rw[i] = Rw[i + 1].Scale (alpha) + Rw[i].Scale (dFloat64 (1.0f) - alpha); } for (dInt32 i = m_controlPointsCount; i > k; i--) { m_controlPoints[i] = m_controlPoints[i - 1]; } m_controlPoints[m] = Rw[0]; m_controlPoints[k + 1 - 1 - 0] = Rw[m_degree - 1 - 0]; for (dInt32 i = m + 1; i < k; i++) { dAssert((i - m) >= 0); m_controlPoints[i] = Rw[i - m]; } m_knotsCount ++; m_controlPointsCount ++; } bool dBezierSpline::RemoveKnot (dFloat64 u, dFloat64 tol) { dInt32 r = GetSpan(u) + 1; dAssert (m_knotVector[r - 1] < u); if (dAbs (m_knotVector[r] - u) > 1.0e-5f) { return false; } dInt32 s = 1; dInt32 last = r - s; dInt32 first = r - m_degree; dInt32 ord = m_degree + 1; dBigVector temp[16]; bool removableFlag = false; dInt32 t = 0; for ( ; t < m_degree; t ++) { dInt32 off = first - 1; temp[0] = m_controlPoints[off]; temp[last + 1 - off] = m_controlPoints[last + 1]; dInt32 i = first; dInt32 j = last; dInt32 ii = 1; dInt32 jj = last - off; while ((j - i) > t) { dFloat64 alpha_i = (u - m_knotVector[i]) / (m_knotVector[i + ord + t] - m_knotVector[i]); dFloat64 alpha_j = (u - m_knotVector[j - t]) / (m_knotVector[j + ord] - m_knotVector[j - t]); temp[ii] = (m_controlPoints[i] - temp[ii - 1].Scale (dFloat64 (1.0f) - alpha_i)).Scale (dFloat64 (1.0f) / alpha_i); temp[jj] = (m_controlPoints[j] - temp[jj + 1].Scale (alpha_j)).Scale (dFloat64 (1.0f) / (dFloat64 (1.0f) - alpha_j)); i ++; j --; ii ++; jj --; } if ((j - i) < t) { dBigVector diff (temp[ii - 1] - temp[jj + 1]); dAssert(diff.m_w == dFloat32(0.0f)); removableFlag = diff.DotProduct(diff).GetScalar() < (tol * tol); } else { dFloat64 alpha_i = (u - m_knotVector[i]) / (m_knotVector[i + ord + t] - m_knotVector[i]); dBigVector p (temp[ii + t + 1].Scale (alpha_i) + temp[ii - 1].Scale (dFloat64 (1.0f) - alpha_i)); dBigVector diff (m_controlPoints[i] - p); dAssert(diff.m_w == dFloat32(0.0f)); removableFlag = diff.DotProduct(diff).GetScalar() < (tol * tol); } if (!removableFlag) { break; } i = first; j = last; while ((j - 1) > t) { m_controlPoints[i] = temp[i - off]; m_controlPoints[j] = temp[j - off]; i ++; j --; } first --; last ++; } if (t) { for (dInt32 k = r + t; k < m_knotsCount; k ++) { m_knotVector[k - t] = m_knotVector[k]; } dInt32 fOut = (2 * r - s - m_degree) / 2; dInt32 j = fOut; dInt32 i = j; for (dInt32 k = 1; k < t; k ++) { if ((k % 2) == 1) { i ++; } else { j = j - 1; } } for (dInt32 k = i + 1; k < m_controlPointsCount; k ++) { m_controlPoints[j] = m_controlPoints[k]; j ++; } m_knotsCount -= t; m_controlPointsCount -= t; } return removableFlag; } dFloat64 dBezierSpline::FindClosestKnot(dBigVector& closestPoint, const dBigVector& point, dInt32 subdivitionSteps) const { dInt32 startSpan = m_degree; dFloat64 bestU = 0.0f; dFloat64 distance2 = 1.0e10f; dBigVector closestControlPoint(m_controlPoints[0]); subdivitionSteps = dMax(subdivitionSteps, 1); dFloat64 scale = 1.0f / subdivitionSteps; for (dInt32 span = m_degree; span < (m_knotsCount - m_degree - 1); span++) { dFloat64 param = 0.0f; for (dInt32 i = 0; i < subdivitionSteps; i++) { dFloat64 u = m_knotVector[span] + (m_knotVector[span + 1] - m_knotVector[span]) * param; param += scale; dBigVector p(CurvePoint(u, span)); dBigVector dp(p - point); dAssert(dp.m_w == dFloat32(0.0f)); dFloat64 dist2 = dp.DotProduct(dp).GetScalar(); if (dist2 < distance2) { bestU = u; startSpan = span; distance2 = dist2; closestControlPoint = p; } } } dBigVector p(CurvePoint(0.999f)); dBigVector dp(p - point); dAssert(dp.m_w == dFloat32(0.0f)); dFloat64 dist2 = dp.DotProduct(dp).GetScalar(); if (dist2 < distance2) { bestU = dFloat64(0.999f); startSpan = m_knotsCount - m_degree - 2; closestControlPoint = p; } dBigVector derivatives[32]; dFloat64 u0 = bestU; bool stop = false; for (dInt32 i = 0; (i < 20) && !stop; i++) { CurveAllDerivatives(u0, derivatives); dBigVector dist(closestControlPoint - point); dAssert(dist.m_w == dFloat32(0.0f)); dAssert(derivatives[1].m_w == dFloat32(0.0f)); dAssert(derivatives[2].m_w == dFloat32(0.0f)); dFloat64 num = derivatives[1].DotProduct(dist).GetScalar(); dFloat64 den = derivatives[2].DotProduct(dist).GetScalar() + derivatives[1].DotProduct(derivatives[1]).GetScalar(); dFloat64 u1 = dClamp(u0 - num / den, dFloat64(0.0), dFloat64(1.0)); if (u1 < m_knotVector[startSpan]) { startSpan--; dAssert(startSpan >= 0); } else if (u1 >= m_knotVector[startSpan + 1]) { startSpan++; dAssert(startSpan < (m_knotsCount - m_degree)); } dAssert(startSpan >= m_degree); dAssert(startSpan <= (m_knotsCount - m_degree - 1)); closestControlPoint = CurvePoint(u1, startSpan); stop |= (dAbs(u1 - u0) < 1.0e-10) || (num * num < ((dist.DotProduct(dist).GetScalar()) * (derivatives[1].DotProduct(derivatives[1]).GetScalar()) * 1.0e-10)); u0 = u1; } closestPoint = closestControlPoint; return u0; }
[ "jerezjulio0@gmail.com" ]
jerezjulio0@gmail.com
7ec59ce403f2c11bfd8c75aa13951c689d7ba4d1
45c84e64a486a3c48bd41a78e28252acbc0cc1b0
/src/device/vr/windows_mixed_reality/mixed_reality_renderloop.h
7a9cecd55eca1dd8570f1ddb820367f64a8ef8fb
[ "BSD-3-Clause", "MIT" ]
permissive
stanleywxc/chromium-noupdator
47f9cccc6256b1e5b0cb22c598b7a86f5453eb42
637f32e9bf9079f31430c9aa9c64a75247993a71
refs/heads/master
2022-12-03T22:00:20.940455
2019-10-04T16:29:31
2019-10-04T16:29:31
212,851,250
1
2
MIT
2022-11-17T09:51:04
2019-10-04T15:49:33
null
UTF-8
C++
false
false
4,669
h
// Copyright (c) 2019 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 DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_RENDERLOOP_H_ #define DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_RENDERLOOP_H_ #include <memory> #include "base/callback.h" #include "base/callback_list.h" #include "base/memory/scoped_refptr.h" #include "base/threading/thread.h" #include "base/time/time.h" #include "base/win/scoped_winrt_initializer.h" #include "build/build_config.h" #include "device/vr/public/mojom/vr_service.mojom.h" #include "device/vr/vr_device.h" #include "device/vr/windows/compositor_base.h" #include "device/vr/windows/d3d11_texture_helper.h" #include "device/vr/windows_mixed_reality/mixed_reality_input_helper.h" #include "mojo/public/cpp/bindings/binding.h" #include "mojo/public/cpp/system/platform_handle.h" #include "ui/gfx/geometry/rect_f.h" #include "ui/gfx/win/window_impl.h" namespace device { class MixedRealityWindow; class WMRAttachedOrigin; class WMRCamera; class WMRCameraPose; class WMRCoordinateSystem; class WMRHolographicFrame; class WMRHolographicSpace; class WMRRenderingParameters; class WMRStageOrigin; class WMRStageStatics; class WMRTimestamp; class MixedRealityRenderLoop : public XRCompositorCommon { public: explicit MixedRealityRenderLoop( base::RepeatingCallback<void(mojom::VRDisplayInfoPtr)> on_display_info_changed); ~MixedRealityRenderLoop() override; const WMRCoordinateSystem* GetOrigin(); void OnInputSourceEvent(mojom::XRInputSourceStatePtr input_state); private: // XRCompositorCommon: bool StartRuntime() override; void StopRuntime() override; void OnSessionStart() override; bool UsesInputEventing() override; // XRDeviceAbstraction: mojom::XRFrameDataPtr GetNextFrameData() override; mojom::XRGamepadDataPtr GetNextGamepadData() override; bool PreComposite() override; bool SubmitCompositedFrame() override; // Helpers to implement XRDeviceAbstraction. void InitializeOrigin(); void InitializeSpace(); void StartPresenting(); void UpdateWMRDataForNextFrame(); // Returns true if display info has changed. Does not update stage parameters. bool UpdateDisplayInfo(); // Returns true if stage parameters have changed. bool UpdateStageParameters(); // Helper methods for the stage. void ClearStageOrigin(); void InitializeStageOrigin(); bool EnsureStageStatics(); void ClearStageStatics(); void OnCurrentStageChanged(); void OnUserPresenceChanged(); void UpdateVisiblityState(); // Will try to update the stage bounds if the following are true: // 1) We have a spatial_stage. // 2) That spatial stage supports bounded movement. // 3) The current bounds array is empty. void EnsureStageBounds(); void OnWindowDestroyed(); std::unique_ptr<base::win::ScopedWinrtInitializer> initializer_; std::unique_ptr<WMRHolographicSpace> holographic_space_; std::unique_ptr<WMRStageOrigin> spatial_stage_; std::unique_ptr<WMRCoordinateSystem> stationary_origin_; std::unique_ptr<WMRCoordinateSystem> stage_origin_; std::unique_ptr<WMRCoordinateSystem> anchor_origin_; bool stage_transform_needs_updating_ = false; std::unique_ptr<WMRAttachedOrigin> attached_; bool emulated_position_ = false; base::Optional<gfx::Transform> last_origin_from_attached_; std::unique_ptr<MixedRealityWindow> window_; mojom::VRDisplayInfoPtr current_display_info_; base::RepeatingCallback<void(mojom::VRDisplayInfoPtr)> on_display_info_changed_; // Per frame data: std::unique_ptr<WMRHolographicFrame> holographic_frame_; std::unique_ptr<WMRTimestamp> timestamp_; // We only support one headset at a time - this is the one pose. std::unique_ptr<WMRCameraPose> pose_; std::unique_ptr<WMRRenderingParameters> rendering_params_; std::unique_ptr<WMRCamera> camera_; std::unique_ptr<MixedRealityInputHelper> input_helper_; std::unique_ptr<WMRStageStatics> stage_statics_; std::unique_ptr<base::CallbackList<void()>::Subscription> stage_changed_subscription_; std::unique_ptr<base::CallbackList<void()>::Subscription> user_presence_changed_subscription_; std::vector<gfx::Point3F> bounds_; bool bounds_updated_ = false; device::mojom::XRVisibilityState visibility_state = device::mojom::XRVisibilityState::HIDDEN; // This must be the last member base::WeakPtrFactory<MixedRealityRenderLoop> weak_ptr_factory_{this}; DISALLOW_COPY_AND_ASSIGN(MixedRealityRenderLoop); }; } // namespace device #endif // DEVICE_VR_WINDOWS_MIXED_REALITY_MIXED_REALITY_RENDERLOOP_H_
[ "stanley@moon.lan" ]
stanley@moon.lan
2e7b1c1b14140b864347467362fcea0202e40dc3
a78e1c5a6520c8c9965772889f58802fb26ac840
/Conch/build/LayaWKWebview/proj.ios/LayaWKWebview/LayaCache/LayaCacheManager.h
727698130271853bfdfaa0a96a82a8b887ac5e36
[]
no_license
lvfulong/LayaNative-0.9.16
495c0fc4522a3dd34479e1ffd1e37c5c77b4a206
067d94a63a1917aee6802ab0675fc9efb74a5d9e
refs/heads/main
2023-03-20T05:41:38.738179
2021-03-02T02:14:10
2021-03-02T02:14:10
343,613,003
1
0
null
null
null
null
UTF-8
C++
false
false
1,380
h
#ifndef LayaCacheManager_hpp #define LayaCacheManager_hpp #include <string> #include <stdio.h> #include <functional> namespace laya { class JCFileResManager; class JCServerFileCache; class JCFileRes; class LayaCacheManager { public: LayaCacheManager(); virtual ~LayaCacheManager(); static LayaCacheManager* getInstance(); static void delInstance(); void handleRequest(const char* strUrl, std::function<void(void* pData, int length)> onDownload, std::function<void(int errCode)> onError); bool onDownloadErr(void* p_pRes, int p_nErrCode,std::weak_ptr<int> callbackref, std::function<void(int errCode)> onError); bool onDownloadEnd(void* p_pRes, std::weak_ptr<int> callbackref, std::function<void(void* pData, int length)> onDownload); std::string preUpdateDcc(const std::string& redistPath,const std::string& domain); void updateDccClearAssetsid(const std::string& redistPath,const std::string& domain); void doUpdateDcc(const std::string& redistPath,const std::string& domain,const std::string& txtdcc,const std::string& assetsid); protected: JCFileResManager* m_pFileResMgr; JCServerFileCache* m_pSvFileCache; static LayaCacheManager* m_pInstance; std::shared_ptr<int> m_CallbackRef; }; } #endif /* LayaCacheManager_hpp */
[ "775331175@qq.com" ]
775331175@qq.com
f92c9156766ef6af7f822ad00314ba1593f18f6b
a4f688c4acbec63fc7aef0a910e1074937bf306e
/untested/generic/convert.cpp
6bad553f4006e21d9b9a7fee70fc09a0a94a8690
[ "MIT" ]
permissive
GabrielRavier/Generic-Assembly-Samples
66c59810f674c2b6efd41db2c10bde819bc422a9
fbf803960a14307b7fce0165058d0d4048abaf42
refs/heads/master
2021-07-02T02:41:28.737472
2019-03-06T07:39:26
2019-03-06T07:39:26
135,747,004
0
0
null
null
null
null
UTF-8
C++
false
false
64
cpp
#include <cstdint> int64_t i32toi64(int32_t a1) { return a1; }
[ "gabravier@gmail.com" ]
gabravier@gmail.com
6b5bfda04b9033351dcb5876ac3584a7b602b53e
18cd12ee83f65eacf7f251eb26ce212eac3e073a
/Results/Base/keypair/syn/systemc/matrix_mul_1.h
b5052d7425382e7aaea2f6a13efa0ed6b1c585a7
[]
no_license
ExplosionArt/picnic_keypair_16
1578b4c9b547e0ec8bc319911c93649715ee7f98
43e49d397b3359a3cd9bb989e3632e09ff2d0f40
refs/heads/master
2022-07-27T11:30:40.976465
2020-05-20T09:25:48
2020-05-20T09:25:48
263,677,868
0
0
null
null
null
null
UTF-8
C++
false
false
14,954
h
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL // Version: 2019.2 // Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved. // // =========================================================== #ifndef _matrix_mul_1_HH_ #define _matrix_mul_1_HH_ #include "systemc.h" #include "AESL_pkg.h" #include "matrix_mul_1_tempeOg.h" #include "matrix_mul_1_prod.h" #include "matrix_mul_1_temp.h" namespace ap_rtl { struct matrix_mul_1 : public sc_module { // Port declarations 14 sc_in_clk ap_clk; sc_in< sc_logic > ap_rst; sc_in< sc_logic > ap_start; sc_out< sc_logic > ap_done; sc_out< sc_logic > ap_idle; sc_out< sc_logic > ap_ready; sc_out< sc_lv<4> > output_r_address0; sc_out< sc_logic > output_r_ce0; sc_out< sc_logic > output_r_we0; sc_out< sc_lv<32> > output_r_d0; sc_out< sc_lv<3> > state_address0; sc_out< sc_logic > state_ce0; sc_in< sc_lv<32> > state_q0; sc_in< sc_lv<14> > matrix_offset; // Module declarations matrix_mul_1(sc_module_name name); SC_HAS_PROCESS(matrix_mul_1); ~matrix_mul_1(); sc_trace_file* mVcdFile; matrix_mul_1_tempeOg* temp_matrix_U; matrix_mul_1_prod* prod_U; matrix_mul_1_temp* temp_U; sc_signal< sc_lv<11> > ap_CS_fsm; sc_signal< sc_logic > ap_CS_fsm_state1; sc_signal< sc_lv<14> > temp_matrix_address0; sc_signal< sc_logic > temp_matrix_ce0; sc_signal< sc_lv<32> > temp_matrix_q0; sc_signal< sc_lv<3> > trunc_ln124_fu_265_p1; sc_signal< sc_lv<3> > trunc_ln124_reg_896; sc_signal< sc_logic > ap_CS_fsm_state2; sc_signal< sc_lv<8> > i_fu_275_p2; sc_signal< sc_lv<8> > i_reg_904; sc_signal< sc_lv<9> > shl_ln_fu_285_p3; sc_signal< sc_lv<9> > shl_ln_reg_909; sc_signal< sc_lv<1> > icmp_ln124_fu_269_p2; sc_signal< sc_lv<3> > j_fu_303_p2; sc_signal< sc_lv<3> > j_reg_917; sc_signal< sc_logic > ap_CS_fsm_state3; sc_signal< sc_lv<64> > zext_ln127_fu_318_p1; sc_signal< sc_lv<64> > zext_ln127_reg_922; sc_signal< sc_lv<1> > icmp_ln125_fu_297_p2; sc_signal< sc_lv<32> > prod_q0; sc_signal< sc_logic > ap_CS_fsm_state5; sc_signal< sc_logic > ap_CS_fsm_state6; sc_signal< sc_lv<1> > icmp_ln85_fu_345_p2; sc_signal< sc_lv<3> > i_2_fu_351_p2; sc_signal< sc_lv<3> > i_2_reg_950; sc_signal< sc_lv<2> > tmp_8_reg_955; sc_signal< sc_lv<6> > temp_addr_3_reg_961; sc_signal< sc_lv<32> > x_1_fu_382_p2; sc_signal< sc_logic > ap_CS_fsm_state7; sc_signal< sc_lv<5> > zext_ln66_cast_fu_594_p3; sc_signal< sc_lv<5> > zext_ln66_cast_reg_971; sc_signal< sc_logic > ap_CS_fsm_state8; sc_signal< sc_lv<6> > add_ln66_fu_609_p2; sc_signal< sc_lv<6> > add_ln66_reg_976; sc_signal< sc_lv<8> > or_ln66_fu_750_p2; sc_signal< sc_lv<8> > or_ln66_reg_982; sc_signal< sc_lv<1> > icmp_ln66_1_fu_756_p2; sc_signal< sc_lv<1> > icmp_ln66_1_reg_987; sc_signal< sc_lv<3> > loop_fu_875_p2; sc_signal< sc_lv<3> > loop_reg_998; sc_signal< sc_logic > ap_CS_fsm_state10; sc_signal< sc_lv<64> > zext_ln134_fu_881_p1; sc_signal< sc_lv<64> > zext_ln134_reg_1003; sc_signal< sc_lv<1> > icmp_ln133_fu_869_p2; sc_signal< sc_lv<6> > prod_address0; sc_signal< sc_logic > prod_ce0; sc_signal< sc_logic > prod_we0; sc_signal< sc_lv<32> > prod_d0; sc_signal< sc_lv<6> > temp_address0; sc_signal< sc_logic > temp_ce0; sc_signal< sc_lv<4> > temp_we0; sc_signal< sc_lv<32> > temp_d0; sc_signal< sc_lv<32> > temp_q0; sc_signal< sc_lv<8> > bitNumber_assign_reg_210; sc_signal< sc_logic > ap_CS_fsm_state9; sc_signal< sc_lv<3> > j_0_reg_222; sc_signal< sc_logic > ap_CS_fsm_state4; sc_signal< sc_lv<32> > x_0_i_reg_233; sc_signal< sc_lv<3> > i_0_i_reg_243; sc_signal< sc_lv<3> > loop_0_reg_254; sc_signal< sc_logic > ap_CS_fsm_state11; sc_signal< sc_lv<64> > zext_ln127_1_fu_328_p1; sc_signal< sc_lv<64> > zext_ln85_fu_340_p1; sc_signal< sc_lv<64> > zext_ln66_3_fu_377_p1; sc_signal< sc_lv<4> > shl_ln66_4_fu_862_p2; sc_signal< sc_lv<7> > trunc_ln126_fu_281_p1; sc_signal< sc_lv<9> > zext_ln125_fu_293_p1; sc_signal< sc_lv<9> > add_ln126_fu_309_p2; sc_signal< sc_lv<14> > zext_ln126_fu_314_p1; sc_signal< sc_lv<14> > add_ln127_fu_323_p2; sc_signal< sc_lv<2> > tmp_9_fu_367_p4; sc_signal< sc_lv<31> > lshr_ln_fu_388_p4; sc_signal< sc_lv<32> > zext_ln93_fu_398_p1; sc_signal< sc_lv<32> > y_fu_428_p2; sc_signal< sc_lv<30> > lshr_ln1_fu_434_p4; sc_signal< sc_lv<24> > trunc_ln93_3_fu_418_p4; sc_signal< sc_lv<24> > trunc_ln93_1_fu_414_p1; sc_signal< sc_lv<32> > zext_ln94_fu_444_p1; sc_signal< sc_lv<32> > y_1_fu_472_p2; sc_signal< sc_lv<28> > lshr_ln2_fu_478_p4; sc_signal< sc_lv<24> > trunc_ln94_1_fu_462_p4; sc_signal< sc_lv<24> > xor_ln94_fu_456_p2; sc_signal< sc_lv<32> > zext_ln95_fu_488_p1; sc_signal< sc_lv<24> > trunc_ln95_1_fu_506_p4; sc_signal< sc_lv<24> > xor_ln95_fu_500_p2; sc_signal< sc_lv<32> > y_2_fu_516_p2; sc_signal< sc_lv<24> > trunc_ln5_fu_528_p4; sc_signal< sc_lv<24> > xor_ln95_2_fu_522_p2; sc_signal< sc_lv<24> > y_3_fu_546_p2; sc_signal< sc_lv<1> > trunc_ln93_fu_402_p1; sc_signal< sc_lv<1> > tmp_4_fu_448_p3; sc_signal< sc_lv<1> > xor_ln98_fu_560_p2; sc_signal< sc_lv<1> > tmp_3_fu_406_p3; sc_signal< sc_lv<1> > tmp_6_fu_538_p3; sc_signal< sc_lv<1> > tmp_7_fu_552_p3; sc_signal< sc_lv<1> > xor_ln98_2_fu_572_p2; sc_signal< sc_lv<1> > tmp_5_fu_492_p3; sc_signal< sc_lv<1> > xor_ln98_3_fu_578_p2; sc_signal< sc_lv<1> > xor_ln98_1_fu_566_p2; sc_signal< sc_lv<1> > xor_ln98_4_fu_584_p2; sc_signal< sc_lv<6> > zext_ln66_fu_601_p1; sc_signal< sc_lv<64> > zext_ln66_2_fu_605_p1; sc_signal< sc_lv<64> > zext_ln66_4_fu_615_p1; sc_signal< sc_lv<6> > zext_ln66_5_fu_625_p1; sc_signal< sc_lv<1> > icmp_ln66_fu_619_p2; sc_signal< sc_lv<6> > sub_ln66_fu_639_p2; sc_signal< sc_lv<6> > sub_ln66_1_fu_651_p2; sc_signal< sc_lv<32> > tmp_10_fu_629_p4; sc_signal< sc_lv<6> > xor_ln66_2_fu_645_p2; sc_signal< sc_lv<6> > select_ln66_fu_657_p3; sc_signal< sc_lv<6> > select_ln66_2_fu_673_p3; sc_signal< sc_lv<6> > sub_ln66_2_fu_681_p2; sc_signal< sc_lv<32> > select_ln66_1_fu_665_p3; sc_signal< sc_lv<32> > zext_ln66_6_fu_687_p1; sc_signal< sc_lv<32> > zext_ln66_7_fu_691_p1; sc_signal< sc_lv<32> > lshr_ln66_fu_695_p2; sc_signal< sc_lv<32> > lshr_ln66_1_fu_701_p2; sc_signal< sc_lv<32> > and_ln66_1_fu_707_p2; sc_signal< sc_lv<3> > xor_ln66_fu_717_p2; sc_signal< sc_lv<8> > zext_ln66_1_fu_722_p1; sc_signal< sc_lv<8> > shl_ln66_fu_726_p2; sc_signal< sc_lv<8> > zext_ln98_fu_590_p1; sc_signal< sc_lv<8> > trunc_ln66_fu_713_p1; sc_signal< sc_lv<8> > xor_ln66_1_fu_732_p2; sc_signal< sc_lv<8> > and_ln66_fu_744_p2; sc_signal< sc_lv<8> > shl_ln66_1_fu_738_p2; sc_signal< sc_lv<6> > zext_ln66_8_fu_762_p1; sc_signal< sc_lv<6> > xor_ln66_3_fu_768_p2; sc_signal< sc_lv<6> > select_ln66_3_fu_774_p3; sc_signal< sc_lv<6> > select_ln66_5_fu_786_p3; sc_signal< sc_lv<6> > select_ln66_4_fu_780_p3; sc_signal< sc_lv<6> > sub_ln66_3_fu_793_p2; sc_signal< sc_lv<32> > zext_ln66_9_fu_765_p1; sc_signal< sc_lv<32> > zext_ln66_10_fu_799_p1; sc_signal< sc_lv<32> > shl_ln66_2_fu_811_p2; sc_signal< sc_lv<32> > tmp_11_fu_817_p4; sc_signal< sc_lv<32> > zext_ln66_11_fu_803_p1; sc_signal< sc_lv<32> > zext_ln66_12_fu_807_p1; sc_signal< sc_lv<32> > shl_ln66_3_fu_834_p2; sc_signal< sc_lv<32> > lshr_ln66_2_fu_840_p2; sc_signal< sc_lv<32> > select_ln66_6_fu_827_p3; sc_signal< sc_lv<32> > and_ln66_2_fu_846_p2; sc_signal< sc_lv<4> > zext_ln66_13_fu_859_p1; sc_signal< sc_lv<11> > ap_NS_fsm; static const sc_logic ap_const_logic_1; static const sc_logic ap_const_logic_0; static const sc_lv<11> ap_ST_fsm_state1; static const sc_lv<11> ap_ST_fsm_state2; static const sc_lv<11> ap_ST_fsm_state3; static const sc_lv<11> ap_ST_fsm_state4; static const sc_lv<11> ap_ST_fsm_state5; static const sc_lv<11> ap_ST_fsm_state6; static const sc_lv<11> ap_ST_fsm_state7; static const sc_lv<11> ap_ST_fsm_state8; static const sc_lv<11> ap_ST_fsm_state9; static const sc_lv<11> ap_ST_fsm_state10; static const sc_lv<11> ap_ST_fsm_state11; static const sc_lv<32> ap_const_lv32_0; static const sc_lv<32> ap_const_lv32_1; static const sc_lv<1> ap_const_lv1_0; static const sc_lv<32> ap_const_lv32_2; static const sc_lv<32> ap_const_lv32_4; static const sc_lv<32> ap_const_lv32_5; static const sc_lv<1> ap_const_lv1_1; static const sc_lv<32> ap_const_lv32_6; static const sc_lv<32> ap_const_lv32_7; static const sc_lv<32> ap_const_lv32_9; static const sc_lv<8> ap_const_lv8_0; static const sc_lv<32> ap_const_lv32_8; static const sc_lv<3> ap_const_lv3_0; static const sc_lv<32> ap_const_lv32_3; static const sc_lv<3> ap_const_lv3_1; static const sc_lv<32> ap_const_lv32_A; static const sc_lv<64> ap_const_lv64_0; static const sc_lv<4> ap_const_lv4_0; static const sc_lv<8> ap_const_lv8_80; static const sc_lv<8> ap_const_lv8_1; static const sc_lv<2> ap_const_lv2_0; static const sc_lv<3> ap_const_lv3_4; static const sc_lv<32> ap_const_lv32_1F; static const sc_lv<32> ap_const_lv32_18; static const sc_lv<32> ap_const_lv32_19; static const sc_lv<32> ap_const_lv32_1B; static const sc_lv<32> ap_const_lv32_10; static const sc_lv<6> ap_const_lv6_7; static const sc_lv<6> ap_const_lv6_1F; static const sc_lv<32> ap_const_lv32_FFFFFFFF; static const sc_lv<3> ap_const_lv3_7; static const sc_lv<8> ap_const_lv8_FF; static const sc_lv<4> ap_const_lv4_1; static const bool ap_const_boolean_1; // Thread declarations void thread_ap_clk_no_reset_(); void thread_add_ln126_fu_309_p2(); void thread_add_ln127_fu_323_p2(); void thread_add_ln66_fu_609_p2(); void thread_and_ln66_1_fu_707_p2(); void thread_and_ln66_2_fu_846_p2(); void thread_and_ln66_fu_744_p2(); void thread_ap_CS_fsm_state1(); void thread_ap_CS_fsm_state10(); void thread_ap_CS_fsm_state11(); void thread_ap_CS_fsm_state2(); void thread_ap_CS_fsm_state3(); void thread_ap_CS_fsm_state4(); void thread_ap_CS_fsm_state5(); void thread_ap_CS_fsm_state6(); void thread_ap_CS_fsm_state7(); void thread_ap_CS_fsm_state8(); void thread_ap_CS_fsm_state9(); void thread_ap_done(); void thread_ap_idle(); void thread_ap_ready(); void thread_i_2_fu_351_p2(); void thread_i_fu_275_p2(); void thread_icmp_ln124_fu_269_p2(); void thread_icmp_ln125_fu_297_p2(); void thread_icmp_ln133_fu_869_p2(); void thread_icmp_ln66_1_fu_756_p2(); void thread_icmp_ln66_fu_619_p2(); void thread_icmp_ln85_fu_345_p2(); void thread_j_fu_303_p2(); void thread_loop_fu_875_p2(); void thread_lshr_ln1_fu_434_p4(); void thread_lshr_ln2_fu_478_p4(); void thread_lshr_ln66_1_fu_701_p2(); void thread_lshr_ln66_2_fu_840_p2(); void thread_lshr_ln66_fu_695_p2(); void thread_lshr_ln_fu_388_p4(); void thread_or_ln66_fu_750_p2(); void thread_output_r_address0(); void thread_output_r_ce0(); void thread_output_r_d0(); void thread_output_r_we0(); void thread_prod_address0(); void thread_prod_ce0(); void thread_prod_d0(); void thread_prod_we0(); void thread_select_ln66_1_fu_665_p3(); void thread_select_ln66_2_fu_673_p3(); void thread_select_ln66_3_fu_774_p3(); void thread_select_ln66_4_fu_780_p3(); void thread_select_ln66_5_fu_786_p3(); void thread_select_ln66_6_fu_827_p3(); void thread_select_ln66_fu_657_p3(); void thread_shl_ln66_1_fu_738_p2(); void thread_shl_ln66_2_fu_811_p2(); void thread_shl_ln66_3_fu_834_p2(); void thread_shl_ln66_4_fu_862_p2(); void thread_shl_ln66_fu_726_p2(); void thread_shl_ln_fu_285_p3(); void thread_state_address0(); void thread_state_ce0(); void thread_sub_ln66_1_fu_651_p2(); void thread_sub_ln66_2_fu_681_p2(); void thread_sub_ln66_3_fu_793_p2(); void thread_sub_ln66_fu_639_p2(); void thread_temp_address0(); void thread_temp_ce0(); void thread_temp_d0(); void thread_temp_matrix_address0(); void thread_temp_matrix_ce0(); void thread_temp_we0(); void thread_tmp_10_fu_629_p4(); void thread_tmp_11_fu_817_p4(); void thread_tmp_3_fu_406_p3(); void thread_tmp_4_fu_448_p3(); void thread_tmp_5_fu_492_p3(); void thread_tmp_6_fu_538_p3(); void thread_tmp_7_fu_552_p3(); void thread_tmp_9_fu_367_p4(); void thread_trunc_ln124_fu_265_p1(); void thread_trunc_ln126_fu_281_p1(); void thread_trunc_ln5_fu_528_p4(); void thread_trunc_ln66_fu_713_p1(); void thread_trunc_ln93_1_fu_414_p1(); void thread_trunc_ln93_3_fu_418_p4(); void thread_trunc_ln93_fu_402_p1(); void thread_trunc_ln94_1_fu_462_p4(); void thread_trunc_ln95_1_fu_506_p4(); void thread_x_1_fu_382_p2(); void thread_xor_ln66_1_fu_732_p2(); void thread_xor_ln66_2_fu_645_p2(); void thread_xor_ln66_3_fu_768_p2(); void thread_xor_ln66_fu_717_p2(); void thread_xor_ln94_fu_456_p2(); void thread_xor_ln95_2_fu_522_p2(); void thread_xor_ln95_fu_500_p2(); void thread_xor_ln98_1_fu_566_p2(); void thread_xor_ln98_2_fu_572_p2(); void thread_xor_ln98_3_fu_578_p2(); void thread_xor_ln98_4_fu_584_p2(); void thread_xor_ln98_fu_560_p2(); void thread_y_1_fu_472_p2(); void thread_y_2_fu_516_p2(); void thread_y_3_fu_546_p2(); void thread_y_fu_428_p2(); void thread_zext_ln125_fu_293_p1(); void thread_zext_ln126_fu_314_p1(); void thread_zext_ln127_1_fu_328_p1(); void thread_zext_ln127_fu_318_p1(); void thread_zext_ln134_fu_881_p1(); void thread_zext_ln66_10_fu_799_p1(); void thread_zext_ln66_11_fu_803_p1(); void thread_zext_ln66_12_fu_807_p1(); void thread_zext_ln66_13_fu_859_p1(); void thread_zext_ln66_1_fu_722_p1(); void thread_zext_ln66_2_fu_605_p1(); void thread_zext_ln66_3_fu_377_p1(); void thread_zext_ln66_4_fu_615_p1(); void thread_zext_ln66_5_fu_625_p1(); void thread_zext_ln66_6_fu_687_p1(); void thread_zext_ln66_7_fu_691_p1(); void thread_zext_ln66_8_fu_762_p1(); void thread_zext_ln66_9_fu_765_p1(); void thread_zext_ln66_cast_fu_594_p3(); void thread_zext_ln66_fu_601_p1(); void thread_zext_ln85_fu_340_p1(); void thread_zext_ln93_fu_398_p1(); void thread_zext_ln94_fu_444_p1(); void thread_zext_ln95_fu_488_p1(); void thread_zext_ln98_fu_590_p1(); void thread_ap_NS_fsm(); }; } using namespace ap_rtl; #endif
[ "25638226+ExplosionArt@users.noreply.github.com" ]
25638226+ExplosionArt@users.noreply.github.com
a3295ab609993981f1f595e4f16d66dd03ee1e14
26354b1d3331e153f5ed4de61245435b1dd3c654
/2nd/201_bitwise_and_nubmers_of_range.cpp
b3188e73fa2a27c00bbc4fb041e347efa13f4b48
[]
no_license
buptlxb/leetcode
90203be80a038c54a34d4ec829c4805fc26a1689
b641419de040801c4f54618d7ee26edcf10ee53c
refs/heads/master
2020-04-05T23:47:54.990923
2016-09-11T14:10:30
2016-09-11T14:10:30
33,243,374
0
0
null
null
null
null
UTF-8
C++
false
false
296
cpp
#include <iostream> using namespace std; class Solution { public: int rangeBitwiseAnd(int m, int n) { int bits = 0; while (m != n) { m >>= 1; n >>= 1; ++bits; } return m << bits; } }; int main(void) { return 0; }
[ "buptlxb@gmail.com" ]
buptlxb@gmail.com
9273aa4fa3494ee07efe75eaa04d0b3d78890c0b
fafce52a38479e8391173f58d76896afcba07847
/uppdev/Circles/Circles.h
e22fb0a47bffa8ed3bf5bd21a40d9cd10b037b33
[]
no_license
Sly14/upp-mirror
253acac2ec86ad3a3f825679a871391810631e61
ed9bc6028a6eed422b7daa21139a5e7cbb5f1fb7
refs/heads/master
2020-05-17T08:25:56.142366
2015-08-24T18:08:09
2015-08-24T18:08:09
41,750,819
2
1
null
null
null
null
UTF-8
C++
false
false
2,442
h
#ifndef _Circles_Circles_h #define _Circles_Circles_h #include <CtrlLib/CtrlLib.h> #define LAYOUTFILE <Circles/Circles.lay> #include <CtrlCore/lay.h> struct CircleShape { Point point; int radius; Rect GetRect() const { return Rect(point - radius, point + radius); } }; class CircleView; class CircleDoc { struct CircleUndo { bool insert; int index; CircleShape shape; }; Rect bound; Array<CircleShape> data; Array<CircleUndo> undo; Array<CircleUndo> redo; Array<CircleView> view; void Update(const Rect& s); void UpdateFull(); void UndoRedo(Array<CircleUndo>& src, Array<CircleUndo>& dst); public: void AddCircle(Point p, int radius); void RemoveCircle(int i); const CircleShape& operator[](int i) const { return data[i]; } int GetCount() const { return data.GetCount(); } Rect GetBoundingRect() const { return bound; } void Clear(); bool IsUndo() const { return undo.GetCount(); } bool IsRedo() const { return redo.GetCount(); } void Undo() { UndoRedo(undo, redo); } void Redo() { UndoRedo(redo, undo); } void NewView(); void RemoveView(CircleView *view); int GetViewCount() const { return view.GetCount(); } bool LoadText(const char *text); String SaveText() const; void Serialize(Stream& s); bool LoadBinary(const String& data); String SaveBinary() const; CircleDoc() { Clear(); } }; class CircleView : public TopWindow { public: virtual void Paint(Draw& w); virtual void LeftDown(Point p, dword); virtual void RightDown(Point p, dword); virtual void Close(); virtual void Layout(); private: CircleDoc& doc; ScrollBars sb; MenuBar menu; ToolBar tool; void Scroll(); void SetBar(); void FileBar(Bar& bar); void EditBar(Bar& bar); void MainMenu(Bar& bar); void MainBar(Bar& bar); public: void UpdateView(const Rect& r); typedef CircleView CLASSNAME; CircleView(CircleDoc& doc); }; class Circles : public WithCirclesLayout<TopWindow> { public: typedef Circles CLASSNAME; Circles(); }; #endif
[ "cxl@ntllib.org" ]
cxl@ntllib.org
5d1c0510530f5b330566c6f2572a3ab419954f34
bd1aaa03a3e8a1d5f7cd0a87b9c5fe2676c4309b
/Tests/Source/TestsHelper.hpp
b7a99bfdc9248aff4aedea26ac194d8890bad37e
[ "MIT" ]
permissive
apohl79/audiogridder
4a08efa221dcb0c8c83a70c6bf0f46bdc0230131
d94fe7e128f54f6377aed670585ce53710042046
refs/heads/master
2023-07-14T12:06:01.207094
2023-06-14T08:26:38
2023-06-14T08:26:38
246,856,173
693
85
MIT
2023-06-20T20:23:55
2020-03-12T14:33:09
C++
UTF-8
C++
false
false
3,901
hpp
/* * Copyright (c) 2022 Andreas Pohl * Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING) * * Author: Andreas Pohl */ #ifndef _TESTSHELPER_HPP_ #define _TESTSHELPER_HPP_ #include <JuceHeader.h> #ifndef AG_TESTS_DATA #define AG_TESTS_DATA "" #endif namespace e47 { namespace TestsHelper { inline File getTestsDataDir() { #if JUCE_MAC return File(AG_TESTS_DATA).getChildFile("macos"); #elif JUCE_WINDOWS return File(AG_TESTS_DATA).getChildFile("windows"); #else return {}; #endif } struct TestPlayHead : AudioPlayHead { AudioPlayHead::PositionInfo posInfo; TestPlayHead() { posInfo.setTimeInSamples(makeOptional(0)); } Optional<AudioPlayHead::PositionInfo> getPosition() const { return makeOptional(posInfo); } }; #define setBufferSamples(b, v) \ do { \ for (int c = 0; c < b.getNumChannels(); c++) { \ for (int s = 0; s < b.getNumSamples(); s++) { \ b.setSample(c, s, v); \ } \ } \ } while (0) #define checkBufferSamples(b, v) \ do { \ bool __fail = false; \ for (int __c = 0; __c < b.getNumChannels() && !__fail; __c++) { \ for (int __s = 0; __s < b.getNumSamples() && !__fail; __s++) { \ auto __x = b.getSample(0, __s); \ __fail = __x != v; \ expect(!__fail, "sample at channel " + String(__c) + ", position " + String(__s) + " should be " + \ String(v) + " but is " + String(__x)); \ } \ } \ } while (0) #define checkBufferSamples2(b, v, ch, numChannels, sample, numSamples) \ do { \ bool __fail = false; \ for (int __c = ch; __c < ch + numChannels && !__fail; __c++) { \ for (int __s = sample; __s < sample + numSamples && !__fail; __s++) { \ auto __x = b.getSample(0, __s); \ __fail = abs(__x - v) > 0.1; \ expect(!__fail, "sample at channel " + String(__c) + ", position " + String(__s) + " should be " + \ String(v) + " but is " + String(__x)); \ } \ } \ } while (0) } // namespace TestsHelper } // namespace e47 #endif // _TESTSHELPER_HPP_
[ "audiogridder@e47.org" ]
audiogridder@e47.org
6f709108250f545548d894b7f43bdbc81bf5a3f2
c38ec9b612cb38371c9a120a631c3f00d22e0af3
/AtCoder Beginner Contest/ABC145/B.cpp
bc7865e0b4b9a7737a082999e10bdd85462ebf8f
[]
no_license
KatsuyaKikuchi/AtCoder
9a076e9d779b3d7b5e2b2d91b3b4ec2942b8c9fd
d7e1a4bbc24a3a51566d74bdfd24b2bb946df84e
refs/heads/master
2020-04-12T22:22:54.503127
2019-11-23T15:37:21
2019-11-23T15:37:21
162,788,338
0
0
null
null
null
null
UTF-8
C++
false
false
621
cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<ll, ll> pll; #define FOR(i, n, m) for (ll(i) = (m); (i) < (n); ++(i)) #define REP(i, n) FOR(i, n, 0) #define OF64 std::setprecision(10) const ll MOD = 1000000007; const ll INF = (ll)1e15; bool solve(ll n, string s) { if (n % 2 != 0) return false; REP(i, n / 2) { if (s[i] != s[n / 2 + i]) return false; } return true; } int main() { ll N; string S; cin >> N >> S; if (solve( N, S)) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
[ "k.kikuchi.ah@gmail.com" ]
k.kikuchi.ah@gmail.com
2bf63c3e668eef2b146841f50ba3a89e92e28e75
909e72fc163348a373c5c1620f71915fb739f06a
/helloworld2.cpp
0da0839413ab240c2ee5f6968511db7f38a2c242
[]
no_license
hwangtamu/Sketch-Recognition-Project
e4948b84cdaab47acbf4b19ad68e26a4f681624a
4dce0d7ca8c81aeb821bf42d1405289001598888
refs/heads/master
2021-01-10T18:52:53.153945
2013-03-30T00:34:17
2013-03-30T00:34:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
109
cpp
#include "iostream" using namespace std; void main() { cout<<"Hello World"<<endl; system("pause"); }
[ "xiangchenomega@gmail.com" ]
xiangchenomega@gmail.com
743deeb5da71c63669977bd3c6d7fb83da1ca988
c0914249b835d5a56fdbf854fb6d1a47826334c4
/M8M/commands/AbstractCommand.h
dfe6b750480eff6aca2b61eadbc3f67cb468ef2f
[ "BSD-3-Clause", "JSON", "BSD-2-Clause", "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
MaxDZ8/M8M
aa7414f3254196f0fe7c5014f482f1cd4a021209
a208b2fdb48b51814508d2c1fbbddd26cc5485ba
refs/heads/main
2021-07-09T14:35:18.722359
2020-08-28T08:17:47
2020-08-28T08:17:47
22,286,403
9
2
null
null
null
null
UTF-8
C++
false
false
3,780
h
/* * This code is released under the MIT license. * For conditions of distribution and use, see the LICENSE or hit the web. */ #pragma once #include "../../Common/AREN/ArenDataTypes.h" #include <rapidjson/document.h> #include <rapidjson/prettywriter.h> #include <rapidjson/stringbuffer.h> #include <string> #include "PushInterface.h" namespace commands { /*! This interface is used by web interfaces (in the sense of web server) to mangle commands from the web socket and produce a result. For the time being, a result is always produced syncronously. The server looks its registered commands iteratively until one with a matching name is found. Then, it issues a Mangle(), which results in a string being a JSON'd object to reply. */ class AbstractCommand { protected: AbstractCommand(const char *string) : name(string) { } //! If command does not support pushing, just return nullptr. It's perfectly valid. //! \note For rapidjson, reply must be a Document (albeit it's a Value) so it can go along with its own allocator. virtual PushInterface* Parse(rapidjson::Document &reply, const rapidjson::Value &input) = 0; public: const std::string name; /*! This call gives a chance to each command to consume the input. The protocol mandates a reply to each message and optionally a push stream. Implementation must return true if they recognize the command as theirs. At this point, the protocol mandates to return a non-empty string (otherwise, it's considered a generic error). When non-empty string is returned, string is sent as is. Implementations must set the resulting reply only if they recognize their own properties. Implementations are suggested to produce a push streamer only if after result has been set. Push streamers with no reply produced are dropped anyway. */ bool Mangle(std::string &result, std::unique_ptr<PushInterface> &streamer, const rapidjson::Value &input) { using namespace rapidjson; #if defined(_DEBUG) StringBuffer nice; PrettyWriter<StringBuffer> writerDebug(nice, nullptr); input.Accept(writerDebug); const std::string inputString(nice.GetString(), nice.GetSize()); #endif const Value &command(input["command"]); if(command.IsString() == false || std::string(command.GetString(), command.GetStringLength()) != name) return false; Document reply; std::unique_ptr<PushInterface> ret; try { ret.reset(Parse(reply, input)); } catch(std::string &what) { result = std::string("!!ERROR: ") + what + "!!"; return true; } catch(std::exception &what) { result = std::string("!!ERROR: ") + what.what() + "!!"; return true; } const Value::ConstMemberIterator &push(input.FindMember("push")); if(push == input.MemberEnd() || push->value.IsNull()) { } else if(push->value.IsBool() == false) throw std::exception("!!ERROR: .push subfield must be a boolean."); else if(push->value.GetBool()) { if(ret.get() == nullptr) { result = std::string("!!ERROR: push requested but command produced no pusher!!"); return true; } streamer = std::move(ret); } StringBuffer buff; #if defined(_DEBUG) PrettyWriter<StringBuffer> writer(buff, nullptr); #else Writer<StringBuffer> writer(buff, nullptr); #endif reply.Accept(writer); result.assign(buff.GetString(), buff.GetSize()); return true; } virtual ~AbstractCommand() { } /*! This is really used to trigger different mangling in the command manager. - If a command does not support pushes, then this values is 0; - If it supports at most 1 push, then the manager does not need to generate/send push identifiers with push messages. In all cases, when we have GetMaxPushing() pushes already active we must destroy one before generating a new one. */ virtual asizei GetMaxPushing() const { return 0; } }; }
[ "MassimoDZ8@gmail.com" ]
MassimoDZ8@gmail.com
123e3dc4f104b6bc68c5be6a641eecc4db3e98f4
a0bee3876f2a505e69e049c33c4f4c60332b94b9
/src/ClimatologyDialog.h
5b08a73002c6a6a8a1a4e8df8a413766d3b82e0c
[]
no_license
AlexandreRio/climatology_pi
f9754adf66788989d7ce7c20d9a1a97a1e98fd26
9a7f04c1e366c8088db6586266a193f0860a235d
refs/heads/master
2020-05-18T16:33:35.632620
2013-08-23T09:42:42
2013-08-23T09:42:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,172
h
/****************************************************************************** * * Project: OpenCPN * Purpose: Climatology Plugin * Author: Sean D'Epagnier * *************************************************************************** * Copyright (C) 2013 by Sean D'Epagnier * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * *************************************************************************** */ #ifndef __ClimatologyDIALOG_H__ #define __ClimatologyDIALOG_H__ #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif //precompiled headers #include <wx/fileconf.h> #include <wx/glcanvas.h> #include "ClimatologyConfigDialog.h" #include "ClimatologyOverlayFactory.h" #include "ClimatologyUI.h" class ClimatologyOverlayFactory; class wxFileConfig; class climatology_pi; //---------------------------------------------------------------------------------------------------------- // Climatology Selector/Control Dialog Specification //---------------------------------------------------------------------------------------------------------- class ClimatologyDialog : public ClimatologyDialogBase { public: ClimatologyDialog(wxWindow *parent, climatology_pi *ppi); ~ClimatologyDialog(); void Init(); void UpdateTrackingControls(); void PopulateTrackingControls(); void RefreshRedraw(); void SetCursorLatLon(double lat, double lon); ClimatologyConfigDialog *m_cfgdlg; private: void SetControlsVisible(ClimatologyOverlaySettings::SettingsType type, wxControl *ctrl1, wxControl *ctrl2=NULL, wxControl *ctrl3=NULL); wxString GetValue(int index, Coord coord=MAG); void OnMonth( wxCommandEvent& event ); void OnMonth( wxScrollEvent& event ); void OnUpdate( wxCommandEvent& event ); void OnConfig( wxCommandEvent& event ); void OnClose( wxCloseEvent& event ); void OnCBAny( wxCommandEvent& event ); wxWindow *pParent; climatology_pi *pPlugIn; double m_cursorlat, m_cursorlon; }; #endif
[ "sean@depagnier.com" ]
sean@depagnier.com
870d00889eb9f45ead2cf0f5607966a41620e6d5
bfa164676e8c35f61544bcbdfa69c051899f2e73
/src/Mailbox.h
10d5a42cea38be618276dcc3c9d53466ea0f1071
[ "MIT" ]
permissive
nomaddo/VC4CL
890d7df52a94c92b516983e8d0ce2a692df00cf8
dbf33dc2d9eb4c6bbb23ddf83ca568835c5a3144
refs/heads/master
2018-11-30T09:02:25.687850
2018-08-25T06:23:08
2018-08-25T06:23:08
112,305,967
0
0
null
2017-11-28T08:13:10
2017-11-28T08:13:10
null
UTF-8
C++
false
false
12,605
h
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. See the statement below for the copyright of the * original code: */ /* Copyright (c) 2012, Broadcom Europe Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef VC4CL_MAILBOX #define VC4CL_MAILBOX #include "common.h" #include <chrono> #include <cstring> #include <iostream> #include <utility> #include <vector> #define PAGE_ALIGNMENT 4096 namespace vc4cl { class Mailbox; struct DevicePointer { public: constexpr explicit DevicePointer(uint32_t ptr) : pointer(ptr) {} constexpr explicit operator uint32_t() const { return pointer; } friend std::ostream& operator<<(std::ostream& s, const DevicePointer& ptr) { return s << ptr.pointer; } private: uint32_t pointer; }; /* * Container for the various pointers required for a GPU buffer object * * This is a RAII wrapper around a GPU memory buffer */ struct DeviceBuffer { public: // Identifier of the buffer allocated, think of it as a file-handle const uint32_t memHandle; // Buffer address from VideoCore QPU (GPU) view (the pointer which is passed to the kernel) const DevicePointer qpuPointer; // Buffer address for ARM (host) view (the pointer to use on the host-side to fill/read the buffer) void* const hostPointer; // size of the buffer, in bytes const uint32_t size; DeviceBuffer(const DeviceBuffer&) = delete; DeviceBuffer(DeviceBuffer&&) = delete; ~DeviceBuffer(); DeviceBuffer& operator=(const DeviceBuffer&) = delete; DeviceBuffer& operator=(DeviceBuffer&&) = delete; void dumpContent() const; private: DeviceBuffer(uint32_t handle, DevicePointer devPtr, void* hostPtr, uint32_t size); friend class Mailbox; }; // taken from https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface // additional documentation from: // https://github.com/raspberrypi/userland/blob/master/vcfw/rtos/common/rtos_common_mem.h enum MemoryFlag { /* * If a handle is discardable, the memory manager may resize it to size 0 at any time when it is not locked or * retained. */ DISCARDABLE = 1 << 0, /* * Block must be kept within bottom 256M region of the relocatable heap. * Specifying this flag means that an allocation will fail if the block cannot be allocated within that region, * and the block will not be moved out of that range. * * (This is to support memory blocks used by the codec cache, which must have same top 4 bits; see HW-3058) */ MEM_FLAG_LOW_256M = 1 << 1, /* * If a handle is allocating (or normal), its block of memory will be accessed in an allocating fashion through * the cache. * * normal allocating alias. Don't use from ARM */ NORMAL = 0 << 2, /* * If a handle is direct, its block of memory will be accessed directly, bypassing the cache. */ DIRECT = 1 << 2, /* * If a handle is coherent, its block of memory will be accessed in a non-allocating fashion through the cache. */ COHERENT = 2 << 2, /* * If a handle is L1-nonallocating, its block of memory will be accessed by the VPU in a fashion which is * allocating in L2, but only coherent in L1. */ L1_NONALLOCATING = (DIRECT | COHERENT), /* * If a handle is zero'd, its contents are initialized to 0 */ ZERO = 1 << 4, /* * If a handle is uninitialized, it will not be reset to a defined value (either zero, or all 1's) on * allocation. * * don't initialize (default is initialize to all ones) */ NO_INIT = 1 << 5, /* * Likely to be locked for long periods of time. */ HINT_PERMALOCK = 1 << 6 }; /* * For all tags and their meaning / parameters, see: * https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface (incomplete list) * https://github.com/raspberrypi/linux/blob/rpi-4.9.y/include/soc/bcm2835/raspberrypi-firmware.h * * The user-space access via ioctl goes through: * https://github.com/raspberrypi/linux/blob/rpi-4.9.y/drivers/char/broadcom/vcio.c * */ enum MailboxTag : unsigned { FIRMWARE_REVISION = 0x00000001, BOARD_MODEL = 0x00010001, BOARD_REVISION = 0x00010002, MAC_ADDRESS = 0x00010003, BOARD_SERIAL = 0x00010004, ARM_MEMORY = 0x00010005, VC_MEMORY = 0x00010006, CLOCKS = 0x00010007, COMMAND_LINE = 0x00050001, DMA_CHANNELS = 0x00060001, GET_POWER_STATE = 0x00020001, TIMING = 0x00020002, SET_POWER_STATE = 0x0002801, GET_CLOCK_STATE = 0x00030001, SET_CLOCK_STATE = 0x00038001, GET_CLOCK_RATE = 0x00030002, SET_CLOCK_RATE = 0x00038002, GET_MAX_CLOCK_RATE = 0x00030004, GET_MIN_CLOCK_RATE = 0x00030007, GET_TURBO_STATE = 0x00030009, SET_TURBO_STATE = 0x00038009, GET_VOLTAGE = 0x00030003, SET_VOLTAGE = 0x00038003, GET_MAX_VOLTAGE = 0x00030005, GET_MIN_VOLTAGE = 0x00030008, GET_TEMPERATURE = 0x00030006, GET_MAX_TEMPERATURE = 0x0003000A, ALLOCATE_MEMORY = 0x0003000C, LOCK_MEMORY = 0x0003000D, UNLOCK_MEMORY = 0x0003000E, RELEASE_MEMORY = 0x0003000F, EXECUTE_CODE = 0x00030010, EXECUTE_QPU = 0x00030011, ENABLE_QPU = 0x00030012 }; /* * 0: Buffer size * 1: request/response code * 2: request tag * 3: content size * 4: request/response data size * ...: request/response data * x: end tag (0) * */ template <MailboxTag Tag, unsigned RequestSize, unsigned MaxResponseSize> struct MailboxMessage { static constexpr unsigned requestSize = RequestSize; static constexpr unsigned maximumResponseSize = MaxResponseSize; static constexpr unsigned contentSize = requestSize > maximumResponseSize ? requestSize : maximumResponseSize; static constexpr unsigned messageSize = contentSize + 6; static constexpr MailboxTag tag = Tag; std::array<unsigned, messageSize> buffer; explicit MailboxMessage(std::array<unsigned, requestSize> request) { static_assert(RequestSize > 0, "For empty requests, use the default constructor!"); buffer[0] = static_cast<unsigned>(buffer.size() * sizeof(unsigned)); buffer[1] = 0; // this is a request buffer[2] = static_cast<unsigned>(tag); buffer[3] = static_cast<unsigned>(contentSize * sizeof(unsigned)); buffer[4] = static_cast<unsigned>(requestSize * sizeof(unsigned)); memcpy(&buffer[5], request.data(), request.size() * sizeof(unsigned)); } explicit MailboxMessage() { static_assert(RequestSize == 0, "For non-empty requests, use the parameterized constructor!"); buffer[0] = static_cast<unsigned>(buffer.size() * sizeof(unsigned)); buffer[1] = 0; // this is a request buffer[2] = static_cast<unsigned>(tag); buffer[3] = static_cast<unsigned>(contentSize * sizeof(unsigned)); buffer[4] = static_cast<unsigned>(requestSize * sizeof(unsigned)); } inline unsigned getResponseValue() const { return buffer[1]; } inline bool isResponse() const { return buffer[1] == 0x80000000 || buffer[1] == 0x80000001; } inline bool isSuccessful() const { return buffer[1] == 0x80000000; } inline unsigned getResponseSize() const { // first bit set indicates response return buffer[4] & 0x7FFFFFFF; } inline unsigned* getContent() { return &buffer[5]; } inline unsigned getContent(unsigned index) const { return buffer.at(5 + index); } }; template <MailboxTag Tag> using SimpleQueryMessage = MailboxMessage<Tag, 0 /* no additional request data */, 2 /* one or two response values */>; template <MailboxTag Tag> using QueryMessage = MailboxMessage<Tag, 1 /* single request value */, 2 /* one or two response values */>; class Mailbox { public: Mailbox(); // disallow copy, since one may close the other's file descriptor Mailbox(const Mailbox&) = delete; // disallow move, since we use a singleton Mailbox(Mailbox&&) = delete; ~Mailbox(); Mailbox& operator=(const Mailbox&) = delete; Mailbox& operator=(Mailbox&&) = delete; // TODO default was previously L1_NONALLOCATING, but results in errors writing and reading same buffers (within // same work-item)? DeviceBuffer* allocateBuffer(unsigned sizeInBytes, unsigned alignmentInBytes = PAGE_ALIGNMENT, MemoryFlag flags = MemoryFlag::L1_NONALLOCATING) const; bool deallocateBuffer(const DeviceBuffer* buffer) const; CHECK_RETURN bool executeCode(uint32_t codeAddress, unsigned valueR0, unsigned valueR1, unsigned valueR2, unsigned valueR3, unsigned valueR4, unsigned valueR5) const; CHECK_RETURN bool executeQPU(unsigned numQPUs, std::pair<uint32_t*, uint32_t> controlAddress, bool flushBuffer, std::chrono::milliseconds timeout) const; uint32_t getTotalGPUMemory() const; template <MailboxTag Tag, unsigned RequestSize, unsigned MaxResponseSize> bool readMailboxMessage(MailboxMessage<Tag, RequestSize, MaxResponseSize>& message) const { if(mailboxCall(message.buffer.data()) < 0) return false; return checkReturnValue(message.getResponseValue()); } private: int fd; CHECK_RETURN int mailboxCall(void* buffer) const; CHECK_RETURN bool enableQPU(bool enable) const; unsigned memAlloc(unsigned sizeInBytes, unsigned alignmentInBytes, MemoryFlag flags) const; DevicePointer memLock(unsigned handle) const; CHECK_RETURN bool memUnlock(unsigned handle) const; CHECK_RETURN bool memFree(unsigned handle) const; CHECK_RETURN bool readMailboxMessage(unsigned* buffer, unsigned bufferSize); CHECK_RETURN bool checkReturnValue(unsigned value) const __attribute__((const)); }; Mailbox& mailbox(); enum class VC4Clock { RESERVED = 0, EMMC = 1, UART = 2, ARM = 3, CORE = 4, V3D = 5, H264 = 6, ISP = 7, SDRAM = 8, PIXEL = 9, PWM = 10 }; } /* namespace vc4cl */ #endif /* VC4CL_MAILBOX */
[ "stadeldani@web.de" ]
stadeldani@web.de
c945370da20ce7fcfcaf77d48991b3c474104b80
abab535ce2bb60d4102a17154c2d275a87e937f6
/src/zcash/util_zcash.cpp
a73e62e362ef89db1af24263dc6e4d83642c849f
[]
no_license
ca333/dsecQT
35706314a99d803164555f65960cf87e4b0d505c
3cea887d1b856a1f693ce0e8514ce3376845977a
refs/heads/master
2022-01-07T22:57:35.720148
2018-02-08T04:01:36
2018-02-08T04:01:36
121,218,499
0
1
null
null
null
null
UTF-8
C++
false
false
1,137
cpp
#include "zcash/util_zcash.h" #include <algorithm> #include <stdexcept> std::vector<unsigned char> convertIntToVectorLE(const uint64_t val_int) { std::vector<unsigned char> bytes; for(size_t i = 0; i < 8; i++) { bytes.push_back((unsigned char)(val_int >> (i * 8))); } return bytes; } // Convert bytes into boolean vector. (MSB to LSB) std::vector<bool> convertBytesVectorToVector(const std::vector<unsigned char>& bytes) { std::vector<bool> ret; ret.resize(bytes.size() * 8); unsigned char c; for (size_t i = 0; i < bytes.size(); i++) { c = bytes.at(i); for (size_t j = 0; j < 8; j++) { ret.at((i*8)+j) = (c >> (7-j)) & 1; } } return ret; } // Convert boolean vector (big endian) to integer uint64_t convertVectorToInt(const std::vector<bool>& v) { if (v.size() > 64) { throw std::length_error ("boolean vector can't be larger than 64 bits"); } uint64_t result = 0; for (size_t i=0; i<v.size();i++) { if (v.at(i)) { result |= (uint64_t)1 << ((v.size() - 1) - i); } } return result; }
[ "ip_gpu@mail.ru" ]
ip_gpu@mail.ru
d8a03540e5b3d8486658350b8f91c19b6486b472
2884dbb9f7b93e79af850585b8ad2e24976462fc
/libs/ui/tests/region/region.cpp
ef15de9747e00e57ab7fe4b1dad4097f7daa811e
[ "Apache-2.0", "LicenseRef-scancode-unicode" ]
permissive
voku/sm_android_frameworks_base
1decb81d00889e2d4b79497ba36760f42ee3c9d3
69e349b179788b03af292eac718dd50d40ccd1d0
refs/heads/gingerbread
2021-06-13T09:27:24.720179
2012-01-26T15:34:38
2012-01-26T15:34:38
1,923,179
1
3
NOASSERTION
2020-12-16T16:44:43
2011-06-20T11:28:19
Java
UTF-8
C++
false
false
1,642
cpp
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #define LOG_TAG "Region" #include <stdio.h> #include <utils/Debug.h> #include <ui/Rect.h> #include <ui/Region.h> using namespace android; int main() { Region empty; Region reg0( Rect( 0, 0, 100, 100 ) ); Region reg1 = reg0; Region reg2, reg3; Region reg4 = empty | reg1; Region reg5 = reg1 | empty; reg4.dump("reg4"); reg5.dump("reg5"); reg0.dump("reg0"); reg1.dump("reg1"); reg0 = reg0 | reg0.translate(150, 0); reg0.dump("reg0"); reg1.dump("reg1"); reg0 = reg0 | reg0.translate(300, 0); reg0.dump("reg0"); reg1.dump("reg1"); //reg2 = reg0 | reg0.translate(0, 100); //reg0.dump("reg0"); //reg1.dump("reg1"); //reg2.dump("reg2"); //reg3 = reg0 | reg0.translate(0, 150); //reg0.dump("reg0"); //reg1.dump("reg1"); //reg2.dump("reg2"); //reg3.dump("reg3"); LOGD("---"); reg2 = reg0 | reg0.translate(100, 0); reg0.dump("reg0"); reg1.dump("reg1"); reg2.dump("reg2"); return 0; }
[ "mathias@google.com" ]
mathias@google.com
46bc293e787f117ef2db2ca144f112d6ea7717e7
3404d3d9e6cc59e98e49d65d7f5781b81d1245f7
/Router/router.cpp
1f9cf337aece9e6200e12f011635c740907d1982
[]
no_license
julia-majkowska/Computer-Networks
e3f6aa89b33c158f5fc7fe432fc1ece64c328111
1b8345d09bffcb79b545fb8221a3338779a9475c
refs/heads/master
2020-04-05T18:27:31.271526
2018-11-11T17:22:25
2018-11-11T17:22:25
157,102,690
2
0
null
null
null
null
UTF-8
C++
false
false
4,069
cpp
#include "routing_ops.h" //#include "structures.h" using namespace std; extern map< network , route> routing; extern vector<network> neighbours; extern map<network, int> last_round_heard; extern long long cur_round; int write_network(int sockfd, struct sockaddr_in server_address,in_addr ip, network neigh, network n, int dist){ //printf("%s\n", inet_ntoa(ip)); server_address.sin_addr = ip; char message[9]; ((int*) message)[0] = htonl(n.ip); message[4] = n.mask; char *temp = message + 5; *((int*) temp) = htonl(dist); //write_buff(message, 9); ssize_t message_len = 9; if (sendto(sockfd, message, message_len, 0, (struct sockaddr*) &server_address, sizeof(server_address)) != message_len) { string unr = "unreachable"; routing[neigh] = route(max_dist, unr.c_str());//jezeli nie moge wyslac to zaznacz brak polaczenia delete_indirect(neigh); } //close (sockfd); return 1; } void write_vector(int sockfd, struct sockaddr_in server_address){ for(pair<network, route> net : routing){ for (network neigh : neighbours){ write_network(sockfd, server_address, neigh.broadcast(), neigh, net.first, net.second.dist); } } } int receive_and_parse(int sockfd) { struct sockaddr_in sender; socklen_t sender_len = sizeof(sender); u_int8_t buffer[IP_MAXPACKET+1]; //select zeby nie czekal dluzej niz ture fd_set descriptors; FD_ZERO (&descriptors); FD_SET (sockfd, &descriptors); struct timeval tv; tv.tv_sec = 1; tv.tv_usec = 0; int ready = select (sockfd+1, &descriptors, NULL, NULL, &tv); if( ready < 0) { fprintf(stderr, "select error: %s\n", strerror(errno)); return 0; } if( ready == 0 ) { return 1; } if( ready > 0){ ssize_t datagram_len = recvfrom (sockfd, buffer, IP_MAXPACKET, 0, (struct sockaddr*)&sender, &sender_len); if (datagram_len < 0) { fprintf(stderr, "recvfrom error: %s\n", strerror(errno)); return 0; } char sender_ip_str[20]; inet_ntop(AF_INET, &(sender.sin_addr), sender_ip_str, sizeof(sender_ip_str)); //printf ("Received UDP packet from IP address: %s, port: %d\n", sender_ip_str, ntohs(sender.sin_port)); buffer[datagram_len] = 0; //printf ("%ld-byte message: +%s+\n", datagram_len, buffer); update_vector(buffer, sender_ip_str); return 1; } return 1; } long long get_time(struct timeval prev_time){ struct timeval curtime, tval_result; gettimeofday(&curtime, NULL); timersub(&curtime, &prev_time, &tval_result); return tval_result.tv_sec; } int main() { get_input(); int sockfd = socket(AF_INET, SOCK_DGRAM, 0); if (sockfd < 0) { fprintf(stderr, "socket error: %s\n", strerror(errno)); return EXIT_FAILURE; } struct sockaddr_in server_address; bzero (&server_address, sizeof(server_address)); server_address.sin_family = AF_INET; server_address.sin_port = htons(54321); server_address.sin_addr.s_addr = htonl(INADDR_ANY); if (bind (sockfd, (struct sockaddr*)&server_address, sizeof(server_address)) < 0) { fprintf(stderr, "bind error: %s\n", strerror(errno)); return EXIT_FAILURE; } const int NUM_SECONDS = 10;//dlugosc rundy struct timeval prev_time; gettimeofday(&prev_time, NULL); for (;;) { long long elapsed = get_time(prev_time); if(elapsed > NUM_SECONDS) { gettimeofday(&prev_time, NULL); print_vector(); remove_bad(); //write_vector(sockfd, server_address); cur_round++; } int err = receive_and_parse(sockfd); if(err == 0){ return EXIT_FAILURE; } fflush(stdout); } close (sockfd); return EXIT_SUCCESS; }
[ "julka1411@gmail.com" ]
julka1411@gmail.com
c73a3e045de2cf5eb1c16854182e0ad73821f1d5
ecf76465616cb3811c041f142fc150aa0bfecc17
/gdal/ogr/ogrsf_frmts/gtm/gtm.cpp
641a9259d5d3de8330ed5030c9055b22efd2965e
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-info-zip-2005-02", "BSD-3-Clause", "SunPro", "MIT", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-other-permissive" ]
permissive
mj10777/gdal
1ef6b14cd92a321214c1c6f21c6b742e733431d4
3d2fbe05d1ead6a241a2d386f02ff5009b53fa27
refs/heads/trunk
2021-01-21T03:02:15.312701
2015-12-09T09:21:30
2015-12-09T09:21:30
46,563,049
0
0
null
2015-11-20T13:19:09
2015-11-20T13:19:08
null
UTF-8
C++
false
false
21,891
cpp
/****************************************************************************** * $Id$ * * Project: GTM Driver * Purpose: Class for reading, parsing and handling a gtmfile. * Author: Leonardo de Paula Rosa Piga; http://lampiao.lsc.ic.unicamp.br/~piga * ****************************************************************************** * Copyright (c) 2009, Leonardo de Paula Rosa Piga * Copyright (c) 2009-2010, Even Rouault <even dot rouault at mines-paris dot org> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. ****************************************************************************/ #include "gtm.h" /************************************************************************/ /* Methods for dealing with write on files and buffers */ /************************************************************************/ void appendDouble(void* pBuffer, double val) { CPL_LSBPTR64(&val); memcpy(pBuffer, &val, 8); } void appendFloat(void* pBuffer, float val) { CPL_LSBPTR32(&val); memcpy(pBuffer, &val, 4); } void appendInt(void* pBuffer, int val) { CPL_LSBPTR32(&val); memcpy(pBuffer, &val, 4); } void appendUChar(void* pBuffer, unsigned char val) { memcpy(pBuffer, &val, 1); } void appendUShort(void* pBuffer, unsigned short val) { CPL_LSBPTR16(&val); memcpy(pBuffer, &val, 2); } void writeUChar(VSILFILE* fp, unsigned char val) { VSIFWriteL(&val, 1, 1, fp); } void writeDouble(VSILFILE* fp, double val) { CPL_LSBPTR64(&val); VSIFWriteL(&val, 1, 8, fp); } static double readDouble(VSILFILE* fp) { double val; VSIFReadL( &val, 1, 8, fp ); CPL_LSBPTR64(&val); return val; } static float readFloat(VSILFILE* fp) { float val; VSIFReadL( &val, 1, 4, fp ); CPL_LSBPTR32(&val); return val; } static int readInt(VSILFILE* fp) { int val; VSIFReadL( &val, 1, 4, fp ); CPL_LSBPTR32(&val); return val; } static unsigned char readUChar(VSILFILE* fp) { unsigned char val; VSIFReadL( &val, 1, 1, fp ); return val; } static unsigned short readUShort(VSILFILE* fp, int *pbSuccess = NULL) { unsigned short val; if (VSIFReadL( &val, 1, 2, fp ) != 2) { if (pbSuccess) *pbSuccess = FALSE; return 0; } if (pbSuccess) *pbSuccess = TRUE; CPL_LSBPTR16(&val); return val; } void writeFloat(VSILFILE* fp, float val) { CPL_LSBPTR32(&val); VSIFWriteL(&val, 1, 4, fp); } void writeInt(VSILFILE* fp, int val) { CPL_LSBPTR32(&val); VSIFWriteL(&val, 1, 4, fp); } void writeUShort(VSILFILE* fp, unsigned short val) { CPL_LSBPTR16(&val); VSIFWriteL(&val, 1, 2, fp); } /************************************************************************/ /* Implementation of Waypoint Function Members */ /************************************************************************/ Waypoint::Waypoint(double latitude, double longitude, double altitude, const char* name, const char* comment, int icon, GIntBig wptdate) { this->latitude = latitude; this->longitude = longitude; this->altitude = altitude; this->name = CPLStrdup(name); this->comment = CPLStrdup(comment); this->icon = icon; this->wptdate = wptdate; } Waypoint::~Waypoint() { CPLFree(name); CPLFree(comment); } double Waypoint::getLatitude() { return latitude; } double Waypoint::getLongitude() { return longitude; } double Waypoint::getAltitude() { return altitude; } const char* Waypoint::getName() { return name; } const char* Waypoint::getComment() { return comment; } int Waypoint::getIcon() { return icon; } GIntBig Waypoint::getDate() { return wptdate; } /************************************************************************/ /* Implementation of Track Function Members */ /************************************************************************/ Track::Track(const char* pszName, unsigned char type, int color) { this->pszName = CPLStrdup(pszName); this->type = type; this->color = color; nPoints = 0; pasTrackPoints = NULL; } Track::~Track() { CPLFree(pszName); pszName = NULL; CPLFree(pasTrackPoints); } const char* Track::getName() { return pszName; } unsigned char Track::getType() { return type; } int Track::getColor() { return color; } void Track::addPoint(double x, double y, GIntBig datetime, double altitude) { pasTrackPoints = (TrackPoint*) CPLRealloc(pasTrackPoints, (nPoints + 1) * sizeof(TrackPoint)); pasTrackPoints[nPoints].x = x; pasTrackPoints[nPoints].y = y; pasTrackPoints[nPoints].datetime = datetime; pasTrackPoints[nPoints].altitude = altitude; nPoints ++; } int Track::getNumPoints() { return nPoints; } const TrackPoint* Track::getPoint(int pointNum) { if (pointNum >=0 && pointNum < nPoints) return &pasTrackPoints[pointNum]; else return NULL; } /************************************************************************/ /* Implementation of GTM Function Members */ /************************************************************************/ GTM::GTM() { pGTMFile = NULL; pszFilename = NULL; nwptstyles = 0; nwpts = 0; ntcks = 0; n_tk = 0; n_maps = 0; headerSize = 0; firstWaypointOffset = 0; actualWaypointOffset = 0; waypointFetched = 0; firstTrackpointOffset = 0; actualTrackpointOffset = 0; trackpointFetched = 0; firstTrackOffset = 0; actualTrackOffset = 0; trackFetched = 0; } GTM::~GTM() { CPLFree(pszFilename); if (pGTMFile != NULL) { VSIFCloseL(pGTMFile); pGTMFile = NULL; } } bool GTM::Open(const char* pszFilename) { if (pGTMFile != NULL) VSIFCloseL(pGTMFile); CPLFree(this->pszFilename); this->pszFilename = CPLStrdup(pszFilename); pGTMFile = VSIFOpenL( pszFilename, "r" ); if (pGTMFile == NULL) { return FALSE; } return TRUE; } bool GTM::isValid() { // 2 bytes - version number // 10 bytes - "TrackMaker" string char buffer[13]; char* szHeader; short version; /* -------------------------------------------------------------------- */ /* If we aren't sure it is GTM, load a header chunk and check */ /* for signs it is GTM */ /* -------------------------------------------------------------------- */ size_t nRead = VSIFReadL( buffer, 1, sizeof(buffer)-1, pGTMFile ); if (nRead <= 0) { VSIFCloseL( pGTMFile ); pGTMFile = NULL; return FALSE; } buffer[12] = '\0'; /* -------------------------------------------------------------------- */ /* If it looks like a GZip header, this may be a .gtz file, so */ /* try opening with the /vsigzip/ prefix */ /* -------------------------------------------------------------------- */ if (buffer[0] == 0x1f && ((unsigned char*)buffer)[1] == 0x8b && !STARTS_WITH(pszFilename, "/vsigzip/")) { char* pszGZIPFileName = (char*)CPLMalloc( strlen("/vsigzip/") + strlen(pszFilename) + 1); sprintf(pszGZIPFileName, "/vsigzip/%s", pszFilename); VSILFILE* fp = VSIFOpenL(pszGZIPFileName, "rb"); if (fp) { VSILFILE* pGTMFileOri = pGTMFile; pGTMFile = fp; if (isValid()) { VSIFCloseL(pGTMFileOri); CPLFree(pszGZIPFileName); return TRUE; } else { if (pGTMFile) VSIFCloseL(pGTMFile); pGTMFile = pGTMFileOri; } } CPLFree(pszGZIPFileName); } version = CPL_LSBINT16PTR(buffer); /*Skip string length */ szHeader = buffer + 2; if (version == 211 && strcmp(szHeader, "TrackMaker") == 0 ) { return TRUE; } return FALSE; } bool GTM::readHeaderNumbers() { if (pGTMFile == NULL) return FALSE; /* I'm supposing that the user has already checked if the file is valid. */ /* Also, I'm ignoring some header parameters that are unnecessary for my purpose. If you want more features, implement it. :-P */ /* Read Number of Waypoint Styles*/ /* Seek file */ if (VSIFSeekL(pGTMFile, NWPTSTYLES_OFFSET, SEEK_SET) != 0) return FALSE; /* Read nwptstyles */ nwptstyles = readInt(pGTMFile); if (nwptstyles < 0) return FALSE; /* Read Number of Waypoints */ /* Seek file */ if ( VSIFSeekL(pGTMFile, NWPTS_OFFSET, SEEK_SET) != 0) return FALSE; /* Read nwpts */ nwpts = readInt(pGTMFile); if (nwpts < 0) return FALSE; /* Read Number of Trackpoints */ ntcks = readInt(pGTMFile); if (ntcks < 0) return FALSE; /* Read Number of images */ /* Seek file */ if ( VSIFSeekL(pGTMFile, NMAPS_OFFSET, SEEK_SET) != 0) return FALSE; /* read n_maps */ n_maps = readInt(pGTMFile); if (n_maps < 0) return FALSE; /* Read Number of Tracks */ n_tk = readInt(pGTMFile); if (n_tk < 0) return FALSE; /* Figure out the header size */ headerSize = 99; // Constant size plus size of strings unsigned short stringSize; /* Read gradfont string size */ if ( VSIFSeekL(pGTMFile, 99, SEEK_SET) != 0) return FALSE; stringSize = readUShort(pGTMFile); headerSize += stringSize + 2; // String + size field /* Read labelfont string size */ if ( VSIFSeekL(pGTMFile, stringSize, SEEK_CUR) != 0) return FALSE; stringSize = readUShort(pGTMFile); headerSize += stringSize + 2; // String + size field /* Read userfont string size */ if ( VSIFSeekL(pGTMFile, stringSize, SEEK_CUR) != 0) return FALSE; stringSize = readUShort(pGTMFile); headerSize += stringSize + 2; // String + size field /* Read newdatum string size */ if ( VSIFSeekL(pGTMFile, stringSize, SEEK_CUR) != 0) return FALSE; stringSize = readUShort(pGTMFile); headerSize += stringSize + 2; // String + size field /* -------------------------------------------------------------------- */ /* Checks if it is using WGS84 datum */ /* -------------------------------------------------------------------- */ /* Read newdatum string size */ if ( VSIFSeekL(pGTMFile, headerSize + 34, SEEK_SET) != 0) return FALSE; if (readInt(pGTMFile) != 217) { CPLError( CE_Warning, CPLE_AppDefined, "You are attempting to open a file that is not using WGS84 datum.\n" "Coordinates will be returned as if they were WGS84, but no reprojection will be done."); } /* Look for the offsets */ /* Waypoints */ firstWaypointOffset = findFirstWaypointOffset(); if (firstWaypointOffset == 0) return FALSE; actualWaypointOffset = firstWaypointOffset; /* Trackpoints */ firstTrackpointOffset = findFirstTrackpointOffset(); if (firstTrackpointOffset == 0) return FALSE; actualTrackpointOffset = firstTrackpointOffset; /* Tracks */ firstTrackOffset = findFirstTrackOffset(); if (firstTrackOffset == 0) return FALSE; actualTrackOffset = firstTrackOffset; return TRUE; } /************************************************************************/ /* Waypoint control functions */ /************************************************************************/ int GTM::getNWpts() { return nwpts; } bool GTM::hasNextWaypoint() { return waypointFetched < nwpts; } void GTM::rewindWaypoint() { actualWaypointOffset = firstWaypointOffset; waypointFetched = 0; } Waypoint* GTM::fetchNextWaypoint() { unsigned short stringSize; double latitude, longitude; char name[11]; char* comment; unsigned short icon; int i; float altitude; GIntBig wptdate; /* Point to the actual waypoint offset */ if ( VSIFSeekL(pGTMFile, actualWaypointOffset, SEEK_SET) != 0) return NULL; latitude = readDouble(pGTMFile); longitude = readDouble(pGTMFile); if ( !readFile( name, 1, 10 ) ) return NULL; /* Trim string name */ for (i = 9; i >= 0; --i) { if (name[i] != ' ') { name[i+1] = '\0'; break; } } if (i < 0) name[0] = '\0'; /* Read String Length */ stringSize = readUShort(pGTMFile); /* Read Comment String */ comment = (char*) VSI_MALLOC2_VERBOSE(sizeof(char), stringSize+1); if( comment == NULL ) return NULL; if ( stringSize != 0 && !readFile( comment, 1, sizeof(char)*stringSize ) ) { CPLFree(comment); return NULL; } comment[stringSize] = '\0'; /* Read Icon */ icon = readUShort(pGTMFile); /* Display number */ readUChar(pGTMFile); /* Waypoint date */ wptdate = readInt(pGTMFile); if (wptdate != 0) wptdate += GTM_EPOCH; /* Rotation text angle */ readUShort(pGTMFile); /* Altitude */ altitude = readFloat(pGTMFile); Waypoint* poWaypoint = new Waypoint(latitude, longitude, altitude, name, comment, (int) icon, wptdate); /* Set actual waypoint offset to the next it there is one */ ++waypointFetched; if (waypointFetched < nwpts) { actualWaypointOffset += 8 + 8 + 10 + 2 + stringSize + 2 + 1 + 4 + 2 + 4 + 2; } CPLFree(comment); return poWaypoint; } /************************************************************************/ /* Track control functions */ /************************************************************************/ int GTM::getNTracks() { return n_tk; } bool GTM::hasNextTrack() { return trackFetched < n_tk; } void GTM::rewindTrack() { actualTrackpointOffset = firstTrackpointOffset; actualTrackOffset = firstTrackOffset; trackFetched = 0; trackpointFetched = 0; } Track* GTM::fetchNextTrack() { unsigned short stringSize; char* pszName; unsigned char type; int color; /* Point to the actual track offset */ if ( VSIFSeekL(pGTMFile, actualTrackOffset, SEEK_SET) != 0) return NULL; /* Read string length */ stringSize = readUShort(pGTMFile); /* Read name string */ pszName = (char*) VSI_MALLOC2_VERBOSE(sizeof(char), stringSize+1); if( pszName == NULL ) return NULL; if ( stringSize != 0 && !readFile( pszName, 1, sizeof(char) * stringSize ) ) { CPLFree(pszName); return NULL; } pszName[stringSize] = '\0'; /* Read type */ type = readUChar(pGTMFile); /* Read color */ color = readInt(pGTMFile); Track* poTrack = new Track(pszName, type, color); CPLFree(pszName); /* Adjust actual Track offset */ actualTrackOffset = VSIFTellL(pGTMFile) + 7; ++trackFetched; /* Now, We read all trackpoints for this track */ double latitude, longitude; GIntBig datetime; unsigned char start; float altitude; /* NOTE: Parameters are passed by reference */ if ( !readTrackPoints(latitude, longitude, datetime, start, altitude) ) { delete poTrack; return NULL; } /* Check if it is the start, if not we have done something wrong */ if (start != 1) { delete poTrack; return NULL; } poTrack->addPoint(longitude, latitude, datetime, altitude); do { /* NOTE: Parameters are passed by reference */ if ( !readTrackPoints(latitude, longitude, datetime, start, altitude) ) { delete poTrack; return NULL; } if (start == 0) poTrack->addPoint(longitude, latitude, datetime, altitude); } while(start == 0 && trackpointFetched < ntcks); /* We have read one more than necessary, so we adjust the offset */ if (trackpointFetched < ntcks) { actualTrackpointOffset -= 25; --trackpointFetched; } return poTrack; } /************************************************************************/ /* Private Methods Implementation */ /************************************************************************/ vsi_l_offset GTM::findFirstWaypointOffset() { /* Skip header and datum */ if ( VSIFSeekL(pGTMFile, headerSize + DATUM_SIZE, SEEK_SET) != 0) return 0; /* Skip images */ unsigned short stringSize; for (int i = 0; i < n_maps; ++i) { /* Read image name string size */ stringSize = readUShort(pGTMFile); /* skip image name string */ if ( VSIFSeekL(pGTMFile, stringSize, SEEK_CUR) != 0) return 0; /* read image comment string size */ stringSize = readUShort(pGTMFile); /* skip image comment string */ if ( VSIFSeekL(pGTMFile, stringSize, SEEK_CUR) != 0) return 0; /* skip the others image parameters */ if ( VSIFSeekL(pGTMFile, 30, SEEK_CUR) != 0) return 0; } return VSIFTellL(pGTMFile); } vsi_l_offset GTM::findFirstTrackpointOffset() { if (firstWaypointOffset == 0) { firstWaypointOffset = findFirstWaypointOffset(); if (firstWaypointOffset == 0) return 0; } /*---------------------------------------------*/ /* We are going to skip the waypoints */ /*---------------------------------------------*/ /* Seek file to the first Waypoint */ if (VSIFSeekL(pGTMFile, firstWaypointOffset, SEEK_SET) != 0) return 0; unsigned short stringSize; int bSuccess; /* Skip waypoints */ for (int i = 0; i < nwpts; ++i) { /* Seek file to the string size comment field */ if (VSIFSeekL(pGTMFile, 26, SEEK_CUR) != 0) return 0; /* Read string comment size */ stringSize = readUShort(pGTMFile, &bSuccess); /* Skip to the next Waypoint */ if (bSuccess == FALSE || VSIFSeekL(pGTMFile, stringSize + 15, SEEK_CUR) != 0) return 0; } /* Skip waypoint styles */ /* If we don't have waypoints, we don't have waypoint styles, even though the nwptstyles is telling the contrary. */ if (nwpts != 0) { for (int i = 0; i < nwptstyles; ++i) { /* Seek file to the string size facename field */ if (VSIFSeekL(pGTMFile, 4, SEEK_CUR) != 0) return 0; /* Read string facename size */ stringSize = readUShort(pGTMFile, &bSuccess); /* Skip to the next Waypoint Style*/ if (bSuccess == FALSE || VSIFSeekL(pGTMFile, stringSize + 24, SEEK_CUR) != 0) return 0; } } /* We've found the first track. Return the offset*/ return VSIFTellL(pGTMFile); } vsi_l_offset GTM::findFirstTrackOffset() { if (firstTrackpointOffset == 0) { firstTrackpointOffset = findFirstTrackpointOffset(); if (firstTrackpointOffset == 0) return 0; } /* First track offset is the first trackpoint offset plus number of trackpoints time size of a trackpoint*/ return (vsi_l_offset) (firstTrackpointOffset + ntcks * 25); } bool GTM::readTrackPoints(double& latitude, double& longitude, GIntBig& datetime, unsigned char& start, float& altitude) { /* Point to the actual trackpoint offset */ if ( VSIFSeekL(pGTMFile, actualTrackpointOffset, SEEK_SET) != 0) return FALSE; /* Read latitude */ latitude = readDouble(pGTMFile); /* Read longitude */ longitude = readDouble(pGTMFile); /* Read trackpoint date */ datetime = readInt(pGTMFile); if (datetime != 0) datetime += GTM_EPOCH; /* Read start flag */ if ( !readFile( &start, 1, 1 ) ) return FALSE; /* Read altitude */ altitude = readFloat(pGTMFile); ++trackpointFetched; if (trackpointFetched < ntcks) { actualTrackpointOffset += 8 + 8 + 4 + 1 + 4; } return TRUE; } bool GTM::readFile(void* pBuffer, size_t nSize, size_t nCount) { size_t nRead; nRead = VSIFReadL( pBuffer, nSize, nCount, pGTMFile ); if (nRead <= 0) { VSIFCloseL( pGTMFile ); pGTMFile = NULL; return FALSE; } return TRUE; }
[ "even.rouault@mines-paris.org" ]
even.rouault@mines-paris.org
5c9061a75bbb684006be95a2f6bd36d10be8fbc4
99f382055438dda62f41b344b96283e6caf53dae
/test/ds_sort_test.cpp
5c162320dfb958d4b45eef94c915d686c63ec099
[]
no_license
xiaoyur347/data_structure
dfc7ad3fc040a1f9668ab60b635e467b22c5491a
4d325eae23a289bd24ac1ac4178d1b8dd6a75aaa
refs/heads/master
2021-01-10T20:35:44.481123
2015-03-04T15:33:03
2015-03-04T15:33:03
31,250,157
0
0
null
null
null
null
UTF-8
C++
false
false
7,145
cpp
#include "gtest/gtest.h" #include "../include/ds_vector.h" namespace { using namespace data_structure; template <typename TYPE> void Swap(vector<TYPE> & vec, size_t i, size_t j) { if (i == j) { return; } TYPE tmp; tmp = vec.at(i); vec.at(i) = vec.at(j); vec.at(j) = tmp; } template <typename TYPE> void Swap(TYPE *vec, size_t i, size_t j) { if (i == j) { return; } TYPE tmp; tmp = vec[i]; vec[i] = vec[j]; vec[j] = tmp; } void InitVector(vector<int> & vec) { vec.push_back(9); vec.push_back(1); vec.push_back(5); vec.push_back(8); vec.push_back(3); vec.push_back(7); vec.push_back(4); vec.push_back(6); vec.push_back(2); } typedef void (*SortFunc)(vector<int> & vec); // this is not bubble! void BubbleSort1(vector<int> & vec) { for (size_t i = 0; i < vec.size() - 1; ++i) { for (size_t j = i + 1; j < vec.size(); ++j) { if (vec.at(j) < vec.at(i)) { Swap(vec, i, j); } } } } // this is the bubble void BubbleSort2(vector<int> & vec) { for (size_t i = 0; i < vec.size() - 1; ++i) { for (size_t j = vec.size() - 1; j > i; --j) { if (vec.at(j) < vec.at(j-1)) { Swap(vec, j-1, j); } } } } // this is the bubble extended void BubbleSort3(vector<int> & vec) { bool bSwap = true; for (size_t i = 0; bSwap && i < vec.size() - 1; ++i) { bSwap = false; for (size_t j = vec.size() - 1; j > i; --j) { if (vec.at(j) < vec.at(j-1)) { Swap(vec, j-1, j); bSwap = true; } } } } // swap after loop void SimpleSelectionSort(vector<int> & vec) { for (size_t i = 0; i < vec.size() - 1; ++i) { size_t min_pos = i; for (size_t j = i + 1; j < vec.size(); ++j) { if (vec.at(j) < vec.at(min_pos)) { min_pos = j; } } //swap last if (min_pos != i) { Swap(vec, i, min_pos); } } } void InsertSort(vector<int> & vec) { //first insert the data last, and the last one is i for (size_t i = 1; i < vec.size(); ++i) { // if the insert data < original data, judge the insert position // and move the data below if (vec.at(i) < vec.at(i-1)) { int tmp = vec.at(i); size_t j = i; for (; j > 0 && vec.at(j-1) > tmp; --j) { vec.at(j) = vec.at(j-1); } vec.at(j) = tmp; } } } void ShellSort(vector<int> & vec) { int increment = (int)vec.size(); do { increment = increment / 3 + 1; // 3 is not easy to choose! for (size_t i = increment; i < vec.size(); ++i) { if (vec.at(i) < vec.at(i - increment)) { int tmp = vec.at(i); int j = i - increment; for (; j >= 0 && vec.at(j) > tmp; j -= increment) { vec.at(j + increment) = vec.at(j); } vec.at(j + increment) = tmp; } } } while (increment > 1); } //////////////////////////////////////////////////////////////////////////////// //HeapSort inline int get_parent(int child) { return (child - 1) / 2; } inline int get_first_child(int parent) { return parent * 2 + 1; } inline int get_sibling(int child) { return child + 1; } void HeapAdjust(vector<int> & vec, int parent, int size) { int parent_value = vec.at(parent); for (int child = get_first_child(parent); child < size; child = get_first_child(child)) { // test if there is a sibling if (child < size - 1 && vec.at(child) < vec.at(get_sibling(child))) { child = get_sibling(child); } if (parent_value >= vec.at(child)) { break; } vec.at(parent) = vec.at(child); parent = child; } vec.at(parent) = parent_value; } void HeapSort(vector<int> & vec) { int i; int size = (int)vec.size(); // create biggest-on-top heap for (i = get_parent(size - 1); i >= 0; --i) { HeapAdjust(vec, i, vec.size()); } for (int end = size - 1; end > 0; --end) { //move the biggest to the end Swap(vec, 0, end); HeapAdjust(vec, 0, end); // sort [0, end) } } //////////////////////////////////////////////////////////////////////////////// //MergeSort //merge pIn[begin,mid) and pIn[mid, end) -> pOut[begin, end) void Merge(int *pIn, int *pOut, int begin, int mid, int end) { int left = begin; int right = mid; int index; for (index = begin; index < end; ++index) { if (left >= mid || right >= end) { break; } if (pIn[left] < pIn[right]) { pOut[index] = pIn[left++]; } else { pOut[index] = pIn[right++]; } } if (left < mid) { //memcpy while (index < end) { pOut[index++] = pIn[left++]; } } else if (right < end) { //memcpy while (index < end) { pOut[index++] = pIn[right++]; } } } void MergePass(int *pIn, int *pOut, int step, int size) { int begin = 0; //merge the first 2 * step ranges for (; begin + 2 * step <= size; begin += 2 * step) { Merge(pIn, pOut, begin, begin + step, begin + 2 * step); } //there are two ranges left, merge it if (begin < size - step) { Merge(pIn, pOut, begin, begin + step, size); } else { //there is only one range, copy it //memcpy for (; begin < size; ++begin) { pOut[begin] = pIn[begin]; } } } void MergeSort(vector<int> &vec) { if (vec.size() <= 1) { return; } int *pIn = &vec.at(0); int *pOut = new int[vec.size()]; int size = (int)vec.size(); for (int step = 1; step < size; ) { MergePass(pIn, pOut, step, size); step *= 2; MergePass(pOut, pIn, step, size); step *= 2; } delete[] pOut; } //////////////////////////////////////////////////////////////////////////////// //QSort int Partition(int *pInt, int first, int last) { int pivotkey = pInt[first]; //there are lots of ways for pivot key while (first < last) { // if right >= pivot, move left for (;first < last && pInt[last] >= pivotkey;--last) { } Swap(pInt, first, last); // if left <= pivot, move right for (;first < last && pInt[first] <= pivotkey;++first) { } Swap(pInt, first, last); } return first; } // sort range [first, last] void QSort(int *pInt, int first, int last) { if (first < last) { int pivot = Partition(pInt, first, last); QSort(pInt, first, pivot - 1); // [first, pivot - 1] QSort(pInt, pivot + 1, last); // [pivot + 1, last] } } void QuickSort(vector<int> &vec) { if (vec.size() <= 1) { return; } QSort(&vec.at(0), 0, int(vec.size()) - 1); } //////////////////////////////////////////////////////////////////////////////// TEST(sort, sort) { SortFunc func[] = { BubbleSort1, BubbleSort2, BubbleSort3, SimpleSelectionSort, InsertSort, ShellSort, HeapSort, MergeSort, QuickSort }; for (unsigned round = 0; round < sizeof(func)/sizeof(func[0]); ++round) { vector<int> vec; InitVector(vec); (*func[round])(vec); printf("[%d]", round); for (size_t i = 0; i < vec.size(); ++i) { printf("%d,", vec.at(i)); } printf("\n"); for (size_t i = 0; i < vec.size(); ++i) { ASSERT_EQ(int(i + 1), vec.at(i)) << "round" << round; } } } }
[ "xiaoyur347@gmail.com" ]
xiaoyur347@gmail.com
fd9e473ff4bcdd5132313b5044145dac9039bb1a
4b9ec3c126e185887140ec9afa7af59715a5aaab
/ServerTest/Utils/Packet.cpp
b36283730861b90bca4ae46473fd4caebea1554a
[]
no_license
uksuda/ServerStudy
831f707448899e616e05814286a57aed76e1dc53
7ee25a1d87b8f06a06e8a73c0de9c436c64942d4
refs/heads/master
2023-08-15T02:27:54.364682
2023-07-22T09:46:19
2023-07-22T09:46:19
152,263,788
0
0
null
2023-07-11T13:03:28
2018-10-09T14:17:29
C#
UTF-8
C++
false
false
10,085
cpp
#include "Packet.h" #include "BaseDefine.h" #include "Log.h" Packet::Packet() : m_wPacketID(INVALID_PACKET_ID) , m_wBufferPosition(PACKET_HEADER_SIZE) , m_wReadBufferPosition(PACKET_HEADER_SIZE) { memset(m_btPacketBuffer, 0, sizeof(m_btPacketBuffer)); } Packet::Packet(unsigned short wPacketID) : m_wPacketID(wPacketID) , m_wBufferPosition(PACKET_HEADER_SIZE) , m_wReadBufferPosition(PACKET_HEADER_SIZE) { memset(m_btPacketBuffer, 0, sizeof(m_btPacketBuffer)); } Packet::~Packet() { } bool Packet::addPacket(unsigned char nData) { if (m_wBufferPosition + sizeof(unsigned char) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(unsigned char).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(unsigned char)); m_wBufferPosition += sizeof(unsigned char); return true; } bool Packet::addPacket(unsigned short nData) { if (m_wBufferPosition + sizeof(unsigned short) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(unsigned short).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(unsigned short)); m_wBufferPosition += sizeof(unsigned short); return true; } bool Packet::addPacket(unsigned int nData) { if (m_wBufferPosition + sizeof(unsigned int) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(unsigned int).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(unsigned int)); m_wBufferPosition += sizeof(unsigned int); return true; } bool Packet::addPacket(unsigned long nData) { if (m_wBufferPosition + sizeof(unsigned long) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(unsigned long).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(unsigned long)); m_wBufferPosition += sizeof(unsigned long); return true; } bool Packet::addPacket(unsigned long long nData) { if (m_wBufferPosition + sizeof(unsigned long long) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(unsigned long long).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(unsigned long long)); m_wBufferPosition += sizeof(unsigned long long); return true; } bool Packet::addPacket(bool nData) { if (m_wBufferPosition + sizeof(bool) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(bool).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(bool)); m_wBufferPosition += sizeof(bool); return true; } bool Packet::addPacket(float nData) { if (m_wBufferPosition + sizeof(float) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(float).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(float)); m_wBufferPosition += sizeof(float); return true; } bool Packet::addPacket(double nData) { if (m_wBufferPosition + sizeof(double) > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s", typeid(double).name()); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, &nData, sizeof(double)); m_wBufferPosition += sizeof(double); return true; } bool Packet::addPacket(char* pData, int iSize) { if (m_wBufferPosition + iSize > PACKET_BUFFER_SIZE) { CLog::log("packet overflow : %s - %d", typeid(char).name(), iSize); return false; } memcpy(m_btPacketBuffer + m_wBufferPosition, pData, iSize); m_wBufferPosition += iSize; return true; } bool Packet::addPacketEnd() { if (writePacketSize() == false) { CLog::log("%s -- size", __FUNCTION__); return false; } if (writePacketID() == false) { CLog::log("%s -- ID %d", __FUNCTION__, m_wPacketID); return false; } return true; } // bool Packet::getDataFromPacket(unsigned char* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(unsigned char).name()); return false; } if (m_wReadBufferPosition + sizeof(unsigned char) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(unsigned char).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(unsigned char)); m_wReadBufferPosition += sizeof(unsigned char); return true; } bool Packet::getDataFromPacket(unsigned short* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(unsigned short).name()); return false; } if (m_wReadBufferPosition + sizeof(unsigned short) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(unsigned short).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(unsigned short)); m_wReadBufferPosition += sizeof(unsigned short); return true; } bool Packet::getDataFromPacket(unsigned int* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(unsigned int).name()); return false; } if (m_wReadBufferPosition + sizeof(unsigned int) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(unsigned int).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(unsigned int)); m_wReadBufferPosition += sizeof(unsigned int); return true; } bool Packet::getDataFromPacket(unsigned long* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(unsigned long).name()); return false; } if (m_wReadBufferPosition + sizeof(unsigned long) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(unsigned long).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(unsigned long)); m_wReadBufferPosition += sizeof(unsigned long); return true; } bool Packet::getDataFromPacket(unsigned long long* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(unsigned long long).name()); return false; } if (m_wReadBufferPosition + sizeof(unsigned long long) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(unsigned long long).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(unsigned long long)); m_wReadBufferPosition += sizeof(unsigned long long); return true; } bool Packet::getDataFromPacket(bool* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(bool).name()); return false; } if (m_wReadBufferPosition + sizeof(bool) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(bool).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(bool)); m_wReadBufferPosition += sizeof(bool); return true; } bool Packet::getDataFromPacket(float* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(float).name()); return false; } if (m_wReadBufferPosition + sizeof(float) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(float).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(float)); m_wReadBufferPosition += sizeof(float); return true; } bool Packet::getDataFromPacket(double* pData) { if (pData == nullptr) { CLog::log("fail %s - null %s", __FUNCTION__, typeid(double).name()); return false; } if (m_wReadBufferPosition + sizeof(double) > m_wBufferPosition) { CLog::log("read over buffer %s", typeid(double).name()); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, sizeof(double)); m_wReadBufferPosition += sizeof(double); return true; } bool Packet::getDataFromPacket(char* pData, int iSize) { if (pData == nullptr) { CLog::log("fail %s - null %s size %d", __FUNCTION__, typeid(char).name(), iSize); return false; } if (m_wReadBufferPosition + iSize > m_wBufferPosition) { CLog::log("read over buffer %s - %d", typeid(char).name(), iSize); return false; } memcpy(pData, m_btPacketBuffer + m_wReadBufferPosition, iSize); m_wReadBufferPosition += iSize; return true; } bool Packet::getPacketDataFromRecvBuffer(unsigned char* pData, unsigned int iBufferSize) { m_wPacketID = getRecvPacketID(pData, iBufferSize); if (m_wPacketID == INVALID_PACKET_ID) { return false; } unsigned short wPacketSize = getRecvPacketSize(pData, iBufferSize); if (wPacketSize < PACKET_HEADER_SIZE) { CLog::log("fail %s - buffer size small than header %d", __FUNCTION__, wPacketSize); return false; } m_wBufferPosition = wPacketSize - PACKET_HEADER_SIZE; memcpy(m_btPacketBuffer, pData, wPacketSize); return true; } // unsigned short Packet::getRecvPacketSize(unsigned char* pData, unsigned int iBufferSize) { unsigned short wSize = 0; if (iBufferSize < sizeof(unsigned short)) { CLog::log("fail %s - buffer size %d", __FUNCTION__, iBufferSize); return wSize; } memcpy(&wSize, pData, sizeof(unsigned short)); if (wSize > PACKET_BUFFER_SIZE) { CLog::log("fail %s - buffer oversize %d", __FUNCTION__, wSize); wSize = 0; } return wSize; } unsigned short Packet::getRecvPacketID(unsigned char* pData, unsigned int iBufferSize) { unsigned short wID = INVALID_PACKET_ID; if (iBufferSize < PACKET_HEADER_SIZE) { CLog::log("fail %s - buffer size %d", __FUNCTION__, iBufferSize); return wID; } memcpy(&wID, pData + sizeof(unsigned short), sizeof(unsigned short)); return wID; } bool Packet::writePacketID() { if (isValid() == false) { return false; } memcpy(m_btPacketBuffer + sizeof(unsigned short), &m_wPacketID, sizeof(unsigned short)); return true; } bool Packet::writePacketSize() { if (isValid() == false) { return false; } memcpy(m_btPacketBuffer, &m_wBufferPosition, sizeof(unsigned short)); return true; }
[ "uksuda@naver.com" ]
uksuda@naver.com
70249639e72787406207a7475a00e02021b0aa15
8c8820fb84dea70d31c1e31dd57d295bd08dd644
/Engine/Classes/Engine/DebugDisplayProperty.h
8f685d708ff78096955430f3b6170f4f22dbea64
[]
no_license
redisread/UE-Runtime
e1a56df95a4591e12c0fd0e884ac6e54f69d0a57
48b9e72b1ad04458039c6ddeb7578e4fc68a7bac
refs/heads/master
2022-11-15T08:30:24.570998
2020-06-20T06:37:55
2020-06-20T06:37:55
274,085,558
3
0
null
null
null
null
UTF-8
C++
false
false
1,125
h
// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "UObject/ObjectMacros.h" #include "Templates/SubclassOf.h" #include "DebugDisplayProperty.generated.h" /** * Debug property display functionality to interact with this, use "display", "displayall", "displayclear" * * @see UGameViewportClient * @see FDebugDisplayProperty * @see DrawStatsHUD */ USTRUCT() struct FDebugDisplayProperty { GENERATED_USTRUCT_BODY() /** the object whose property to display. If this is a class, all objects of that class are drawn. */ UPROPERTY() class UObject* Obj; /** if Obj is a class and WithinClass is not nullptr, further limit the display to objects that have an Outer of WithinClass */ UPROPERTY() TSubclassOf<class UObject> WithinClass; /** name of the property to display */ FName PropertyName; /** whether PropertyName is a "special" value not directly mapping to a real property (e.g. state name) */ uint32 bSpecialProperty:1; /** Default constructor. */ FDebugDisplayProperty() : Obj(nullptr) , WithinClass(nullptr) , bSpecialProperty(false) { } };
[ "wujiahong19981022@outlook.com" ]
wujiahong19981022@outlook.com
8a04076dd663d37a717ab6eaa4bafad88ea486ce
ff98cec1bc75685c346795259f9083880dee0ba8
/server.cpp
7c7c099b5fca343c314849319157662b3c5b17ca
[]
no_license
ralfleistad/Kattis
cb8560708db3be2beb29e5ec17fbd88f435201d8
55e2719c1bbfb0c5f7f2cc7ea0e0edce4cebddc7
refs/heads/master
2021-06-27T10:50:47.032372
2020-12-18T10:30:24
2020-12-18T10:30:24
187,688,568
1
0
null
null
null
null
UTF-8
C++
false
false
507
cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <unordered_set> using namespace std; int main() { int n, time; cin >> n >> time; int temp = 0, count = 0; for(int i = 0; i < n; i++) { int task; cin >> task; temp += task; if(temp > time) { break; } count++; } cout << count << endl; return 0; }
[ "leistad.ralf@gmail.com" ]
leistad.ralf@gmail.com
013c74c66f86703a6b9ca7c390c26851a0ed3776
5031748db8679263b080e625bcd71b8324dc2e45
/polymorphism_virtual/source/initialization_list.h
5a40705344c1ad32d918b707d2f39a8cc2cb0239
[]
no_license
MingYueRuYa/cpp_inside_object
d9e40092a6e4f39a2d89ed61287958903a9e2788
a142c27de275e994333e60434f92c170640ca842
refs/heads/master
2021-06-09T16:25:58.594969
2021-05-23T04:38:50
2021-05-23T04:38:50
180,293,312
2
2
null
null
null
null
GB18030
C++
false
false
1,879
h
/**************************************************************************** ** ** Copyright (C) 2019 635672377@qq.com ** All rights reserved. ** ****************************************************************************/ #ifndef initialization_list_h #define initialization_list_h #include <iostream> using std::cout; using std::endl; /* 测试成员初始化列表 */ namespace initialization_list { class InitialzationA { public: int m_i; InitialzationA(int value = 0) :m_i(value) //类型转换构造函数 { cout << "InitialzationA(int)构造函数被调用" << endl; } InitialzationA(const InitialzationA &tmpv) { cout << "InitialzationA拷贝构造函数被调用" << endl; } InitialzationA& operator=(const InitialzationA &tmp) { cout << "InitialzationA拷贝赋值运算符被调用" << endl; return *this; } ~InitialzationA() { cout << "InitialzationA析构函数被调用" << endl; } }; class InitialzationB { public: // 这里会耗费调用一次InitialzationA的构造函数机会 // InitialzationB() // {} InitialzationB(int value): m_IA(value), m_a(value), m_b(value) /* 1.如果是在成员列表初始化,站在编译器的角度看 m_IA.InitialzationA::InitialzationA(value) */ { /* m_IA = value; 2.如果是在函数内部初始化,站在编译器的角度看 A.先是生成一个临时对象 InitialzationA oc; oc.InitialzationA::InitialzationA(value); B.在m_IA的copy ctor m_IA.InitialzationA::InitialzationA(oc); C.临时对象再去销毁 oc.InitialzationA::~InitialzationA(); 所以成员变量初始化会提高效率,但只针对类类型变量,对基本类型无影响。 在初始化列表中,不要用类成员变量去初始化另外一个成员变量 */ } private: InitialzationA m_IA; int m_a; int m_b; }; } #endif // initialization_list_h
[ "liushixiong@2144.cn" ]
liushixiong@2144.cn
91524b05e6e589ccb6ddb6d087713088a8e7701e
3289da85e61239cc3ee0dccb2a3f7028290ac18e
/physx/samples/sampleframework/framework/src/SampleTree.cpp
70533169b92dfe56e90c9a00b8baa12ed361bb97
[]
no_license
Zeblote/PhysX
1b41605ba718b520bf36407e924b2f8b0a846e69
db39334c2e0d58559d0d12c9fb9bd73791797599
refs/heads/brickadia-4.1
2022-07-07T00:00:55.273708
2021-08-26T21:40:10
2021-08-26T21:40:10
204,708,418
7
3
null
2020-05-29T13:52:35
2019-08-27T13:23:21
C++
UTF-8
C++
false
false
2,181
cpp
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // * Neither the name of NVIDIA CORPORATION nor the names of its // contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // // Copyright (c) 2008-2019 NVIDIA Corporation. All rights reserved. #include "SampleTree.h" using namespace SampleFramework; bool Tree::Node::appendChild(Node& node) { if (!node.isRoot() || isOffspringOf(node)) return false; node.mParent = this; node.mPrev = mTail; if (NULL == mTail) mHead = &node; else mTail->mNext = &node; mTail = &node; return true; } bool Tree::Node::removeChild(Node& node) { if (this != node.mParent) return false; Node* prev = node.mPrev; Node* next = node.mNext; if (NULL == prev) mHead = next; else prev->mNext = next; if (NULL == next) mTail = prev; else next->mPrev = prev; node.mParent = NULL; return true; }
[ "sabdulajees@nvidia.com" ]
sabdulajees@nvidia.com
ccc434ee3e848c083fbf10de65ae5d7712619e03
6f0f959900df9dc2b79cffff0a2c85afa0b17393
/examples/Qt/ISFEditor/ISFEditor_app/misc_ui/QDoubleSlider.h
c7b31ee446318c00bf3836c42d03c80016472043
[ "BSD-3-Clause" ]
permissive
mrRay/VVISF-GL
12d7fd41d35158ba6ff5a0149da11305b334db7c
96b00da11e4497da304041ea2a5ffc6e3a8c9454
refs/heads/master
2022-09-19T01:09:39.493569
2021-05-07T22:47:19
2021-05-07T22:47:19
80,032,079
36
4
BSD-3-Clause
2022-08-23T08:49:06
2017-01-25T16:20:12
C++
UTF-8
C++
false
false
2,243
h
#ifndef QDOUBLESLIDER_H #define QDOUBLESLIDER_H #include <QSlider> #include <QDebug> #include <algorithm> class QDoubleSlider : public QSlider { Q_OBJECT public: explicit QDoubleSlider(QWidget * inParent=nullptr) : QSlider(inParent) { setMinimum(INT_MIN); setMaximum(INT_MAX); _doubleMinValue = 0.0; _doubleMaxValue = 1.0; //connect(this, &QAbstractSlider::sliderMoved, this, &QDoubleSlider::intSliderMoved); //connect(this, SIGNAL(sliderMoved(int)), this, SLOT(intSliderMoved(int))); connect(this, &QAbstractSlider::sliderMoved, [&](int newVal) { Q_UNUSED(newVal); emit doubleSliderMoved(doubleValue()); }); } double doubleMinValue() { return _doubleMinValue; } void setDoubleMinValue(const double & n) { _doubleMinValue = n; emit doubleRangeChanged(_doubleMinValue, _doubleMaxValue); } double doubleMaxValue() { return _doubleMaxValue; } void setDoubleMaxValue(const double & n) { _doubleMaxValue = n; emit doubleRangeChanged(_doubleMinValue, _doubleMaxValue); } void setDoubleRange(const double & inMin, const double & inMax) { _doubleMinValue = inMin; _doubleMaxValue = inMax; emit doubleRangeChanged(_doubleMinValue, _doubleMaxValue); } double doubleValue() { double tmpMin = static_cast<double>(INT_MIN); double tmpMax = static_cast<double>(INT_MAX); double tmpVal = static_cast<double>(value()); double tmpNormVal = (tmpVal - tmpMin) / (tmpMax - tmpMin); double newDoubleVal = (tmpNormVal * (_doubleMaxValue - _doubleMinValue)) + _doubleMinValue; return newDoubleVal; } void setDoubleValue(const double & n) { double tmpDoubleVal = std::max<double>( std::min<double>( _doubleMaxValue,n ), _doubleMinValue ); double tmpNormVal = ((tmpDoubleVal-_doubleMinValue)/(_doubleMaxValue-_doubleMinValue)); double tmpMin = static_cast<double>(INT_MIN); double tmpMax = static_cast<double>(INT_MAX); int tmpVal = static_cast<int>( (tmpNormVal * (tmpMax-tmpMin)) + tmpMin ); setValue(tmpVal); } signals: Q_SIGNAL void doubleRangeChanged(double newMin, double newMax); Q_SIGNAL void doubleSliderMoved(double newValue); private: double _doubleMinValue; double _doubleMaxValue; }; #endif // QDOUBLESLIDER_H
[ "ray@vidvox.net" ]
ray@vidvox.net
5f912c351e0c3f9e34e3a50a076b425ed3fe0bd5
7953dbdeefef15d012a58fa018a3847b01be6270
/lib/SimpleJSON.cpp
e035a87a5a3665a3703ff5312661595228d5bc70
[]
no_license
jwolf02/SimpleJSON
e29d45f21ba8586d39e89f8e0b7a267cbd53d0e4
83d67a8d9279c2425fbcb156691fb51c1c6933f7
refs/heads/main
2023-08-24T18:09:34.754914
2021-11-08T20:07:21
2021-11-08T20:07:21
425,798,573
0
0
null
null
null
null
UTF-8
C++
false
false
3,706
cpp
#include <SimpleJSON.hpp> #include <stdexcept> #include <FSMStates.hpp> #include <sstream> static bool _expected(char c, State state) { switch (state) { case KEY_START: { return c == '"'; } case KEY_END: { return c == ':'; } case VALUE_START: { return c == '{' || c == '"'; } case VALUE_END: { return c == ',' || c == '}'; } default: {return false; } } return false; } static char _read_char(std::istream &str) { if (str.eof()) { throw std::runtime_error("unexpected EOF encoutered"); } char c; str.read(&c, 1); return c; } static char _get_next_character(std::istream &str, State state) { char c; do { c = _read_char(str); } while (c == ' ' || c == '\t' || c == '\n'); return c; } static std::string _read_string(std::istream &str) { bool escaped = false; std::string s; while (str.good()) { char c = _read_char(str); if (escaped) { escaped = false; } else if (!escaped && c == '\\') { escaped = true; continue; } else if (!escaped && c == '"') { break; } s += c; } return s; } // This function parses a valid JSON object from the stream. // It must be entered with BEGIN pointing to the next character after // the opening braces. JSONObject _parse(std::istream &str) { State state = KEY_START; // a buffer for keys std::string key; // the buffer object for values JSONObject value; // the currently parsed object returned at the end JSONObject obj; while (state != OBJECT_END) { // read the next non-whitespace character from the input and compare // it against out expectations (i.e. if the next character would occur in valid JSON) char c = _get_next_character(str, state); if (!_expected(c, state)) { throw std::runtime_error("invalid character encountered '" + std::string(&c, 1) + '\''); } switch (state) { case KEY_START: { key = _read_string(str); state = KEY_END; break; } case KEY_END: { state = VALUE_START; break; } case VALUE_START: { if (c == '"') { value = _read_string(str); } else { value = _parse(str); } if (obj.members().find(key) != obj.members().end()) { throw std::runtime_error("duplicate key encoutered '" + key + '\''); } obj[key] = value; state = VALUE_END; break; } case VALUE_END: { if (c == ',') { state = KEY_START; } else if (c == '}') { state = OBJECT_END; } break; } default: { throw std::runtime_error("error"); } } } return obj; } JSONObject SimpleJSON::parse(const std::string &str) { std::stringstream ss(str); return parse(ss); } JSONObject SimpleJSON::parse(std::istream &str) { char c; // check if we read all whitespace until we encounter the first opening brace do { c = _read_char(str); if (c != '{' && c != ' ' && c != '\t' && c != '\n') { throw std::runtime_error("invalid character encountered '" + std::string(&c, 1) + '\''); } } while (c != '{'); return _parse(str); }
[ "jonas.wolf@ida-analytics.de" ]
jonas.wolf@ida-analytics.de
9c98145aae718f11fbba7f593a9628f497e05673
41d79a473f991a7970894868f7961b47baabbf43
/src/protos/Events/ResolutionInfo.pb.cc
a23f9d4492ce62d2441220c0b38dfeb621f28a41
[ "MIT" ]
permissive
XomakNet/diadocsdk-cpp
4705fb5a0cca37819c64a07f7c1512c14a1fdefe
4ac504b0cffbcc63e581a4178fc2969ba929630c
refs/heads/master
2020-03-31T07:58:06.155955
2018-10-08T13:56:49
2018-10-19T08:50:53
152,040,296
0
0
MIT
2018-10-08T07:56:32
2018-10-08T07:56:31
null
UTF-8
C++
false
true
16,723
cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Events/ResolutionInfo.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Events/ResolutionInfo.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/wire_format_lite_inl.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/wire_format.h> // @@protoc_insertion_point(includes) namespace Diadoc { namespace Api { namespace Proto { namespace Events { namespace { const ::google::protobuf::Descriptor* ResolutionInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* ResolutionInfo_reflection_ = NULL; const ::google::protobuf::EnumDescriptor* ResolutionType_descriptor_ = NULL; } // namespace void protobuf_AssignDesc_Events_2fResolutionInfo_2eproto() { protobuf_AddDesc_Events_2fResolutionInfo_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "Events/ResolutionInfo.proto"); GOOGLE_CHECK(file != NULL); ResolutionInfo_descriptor_ = file->message_type(0); static const int ResolutionInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResolutionInfo, resolutiontype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResolutionInfo, author_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResolutionInfo, initialrequestid_), }; ResolutionInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( ResolutionInfo_descriptor_, ResolutionInfo::default_instance_, ResolutionInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResolutionInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ResolutionInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ResolutionInfo)); ResolutionType_descriptor_ = file->enum_type(0); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_Events_2fResolutionInfo_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( ResolutionInfo_descriptor_, &ResolutionInfo::default_instance()); } } // namespace void protobuf_ShutdownFile_Events_2fResolutionInfo_2eproto() { delete ResolutionInfo::default_instance_; delete ResolutionInfo_reflection_; } void protobuf_AddDesc_Events_2fResolutionInfo_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\033Events/ResolutionInfo.proto\022\027Diadoc.Ap" "i.Proto.Events\"\222\001\n\016ResolutionInfo\022V\n\016Res" "olutionType\030\001 \001(\0162\'.Diadoc.Api.Proto.Eve" "nts.ResolutionType:\025UnknownResolutionTyp" "e\022\016\n\006Author\030\002 \002(\t\022\030\n\020InitialRequestId\030\003 " "\001(\t*n\n\016ResolutionType\022\"\n\025UnknownResoluti" "onType\020\377\377\377\377\377\377\377\377\377\001\022\033\n\027UndefinedResolution" "Type\020\000\022\013\n\007Approve\020\001\022\016\n\nDisapprove\020\002", 315); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "Events/ResolutionInfo.proto", &protobuf_RegisterTypes); ResolutionInfo::default_instance_ = new ResolutionInfo(); ResolutionInfo::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_Events_2fResolutionInfo_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_Events_2fResolutionInfo_2eproto { StaticDescriptorInitializer_Events_2fResolutionInfo_2eproto() { protobuf_AddDesc_Events_2fResolutionInfo_2eproto(); } } static_descriptor_initializer_Events_2fResolutionInfo_2eproto_; const ::google::protobuf::EnumDescriptor* ResolutionType_descriptor() { protobuf_AssignDescriptorsOnce(); return ResolutionType_descriptor_; } bool ResolutionType_IsValid(int value) { switch(value) { case -1: case 0: case 1: case 2: return true; default: return false; } } // =================================================================== #ifndef _MSC_VER const int ResolutionInfo::kResolutionTypeFieldNumber; const int ResolutionInfo::kAuthorFieldNumber; const int ResolutionInfo::kInitialRequestIdFieldNumber; #endif // !_MSC_VER ResolutionInfo::ResolutionInfo() : ::google::protobuf::Message() { SharedCtor(); // @@protoc_insertion_point(constructor:Diadoc.Api.Proto.Events.ResolutionInfo) } void ResolutionInfo::InitAsDefaultInstance() { } ResolutionInfo::ResolutionInfo(const ResolutionInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); // @@protoc_insertion_point(copy_constructor:Diadoc.Api.Proto.Events.ResolutionInfo) } void ResolutionInfo::SharedCtor() { ::google::protobuf::internal::GetEmptyString(); _cached_size_ = 0; resolutiontype_ = -1; author_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); initialrequestid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ResolutionInfo::~ResolutionInfo() { // @@protoc_insertion_point(destructor:Diadoc.Api.Proto.Events.ResolutionInfo) SharedDtor(); } void ResolutionInfo::SharedDtor() { if (author_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete author_; } if (initialrequestid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { delete initialrequestid_; } if (this != default_instance_) { } } void ResolutionInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* ResolutionInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return ResolutionInfo_descriptor_; } const ResolutionInfo& ResolutionInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_Events_2fResolutionInfo_2eproto(); return *default_instance_; } ResolutionInfo* ResolutionInfo::default_instance_ = NULL; ResolutionInfo* ResolutionInfo::New() const { return new ResolutionInfo; } void ResolutionInfo::Clear() { if (_has_bits_[0 / 32] & 7) { resolutiontype_ = -1; if (has_author()) { if (author_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { author_->clear(); } } if (has_initialrequestid()) { if (initialrequestid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) { initialrequestid_->clear(); } } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool ResolutionInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure ::google::protobuf::uint32 tag; // @@protoc_insertion_point(parse_start:Diadoc.Api.Proto.Events.ResolutionInfo) for (;;) { ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .Diadoc.Api.Proto.Events.ResolutionType ResolutionType = 1 [default = UnknownResolutionType]; case 1: { if (tag == 8) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::Diadoc::Api::Proto::Events::ResolutionType_IsValid(value)) { set_resolutiontype(static_cast< ::Diadoc::Api::Proto::Events::ResolutionType >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_unusual; } if (input->ExpectTag(18)) goto parse_Author; break; } // required string Author = 2; case 2: { if (tag == 18) { parse_Author: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_author())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->author().data(), this->author().length(), ::google::protobuf::internal::WireFormat::PARSE, "author"); } else { goto handle_unusual; } if (input->ExpectTag(26)) goto parse_InitialRequestId; break; } // optional string InitialRequestId = 3; case 3: { if (tag == 26) { parse_InitialRequestId: DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_initialrequestid())); ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->initialrequestid().data(), this->initialrequestid().length(), ::google::protobuf::internal::WireFormat::PARSE, "initialrequestid"); } else { goto handle_unusual; } if (input->ExpectAtEnd()) goto success; break; } default: { handle_unusual: if (tag == 0 || ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { goto success; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } success: // @@protoc_insertion_point(parse_success:Diadoc.Api.Proto.Events.ResolutionInfo) return true; failure: // @@protoc_insertion_point(parse_failure:Diadoc.Api.Proto.Events.ResolutionInfo) return false; #undef DO_ } void ResolutionInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // @@protoc_insertion_point(serialize_start:Diadoc.Api.Proto.Events.ResolutionInfo) // optional .Diadoc.Api.Proto.Events.ResolutionType ResolutionType = 1 [default = UnknownResolutionType]; if (has_resolutiontype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->resolutiontype(), output); } // required string Author = 2; if (has_author()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->author().data(), this->author().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "author"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 2, this->author(), output); } // optional string InitialRequestId = 3; if (has_initialrequestid()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->initialrequestid().data(), this->initialrequestid().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "initialrequestid"); ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( 3, this->initialrequestid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } // @@protoc_insertion_point(serialize_end:Diadoc.Api.Proto.Events.ResolutionInfo) } ::google::protobuf::uint8* ResolutionInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // @@protoc_insertion_point(serialize_to_array_start:Diadoc.Api.Proto.Events.ResolutionInfo) // optional .Diadoc.Api.Proto.Events.ResolutionType ResolutionType = 1 [default = UnknownResolutionType]; if (has_resolutiontype()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->resolutiontype(), target); } // required string Author = 2; if (has_author()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->author().data(), this->author().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "author"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 2, this->author(), target); } // optional string InitialRequestId = 3; if (has_initialrequestid()) { ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( this->initialrequestid().data(), this->initialrequestid().length(), ::google::protobuf::internal::WireFormat::SERIALIZE, "initialrequestid"); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 3, this->initialrequestid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } // @@protoc_insertion_point(serialize_to_array_end:Diadoc.Api.Proto.Events.ResolutionInfo) return target; } int ResolutionInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .Diadoc.Api.Proto.Events.ResolutionType ResolutionType = 1 [default = UnknownResolutionType]; if (has_resolutiontype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->resolutiontype()); } // required string Author = 2; if (has_author()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->author()); } // optional string InitialRequestId = 3; if (has_initialrequestid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->initialrequestid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void ResolutionInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const ResolutionInfo* source = ::google::protobuf::internal::dynamic_cast_if_available<const ResolutionInfo*>( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void ResolutionInfo::MergeFrom(const ResolutionInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_resolutiontype()) { set_resolutiontype(from.resolutiontype()); } if (from.has_author()) { set_author(from.author()); } if (from.has_initialrequestid()) { set_initialrequestid(from.initialrequestid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void ResolutionInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void ResolutionInfo::CopyFrom(const ResolutionInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool ResolutionInfo::IsInitialized() const { if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false; return true; } void ResolutionInfo::Swap(ResolutionInfo* other) { if (other != this) { std::swap(resolutiontype_, other->resolutiontype_); std::swap(author_, other->author_); std::swap(initialrequestid_, other->initialrequestid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata ResolutionInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = ResolutionInfo_descriptor_; metadata.reflection = ResolutionInfo_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace Events } // namespace Proto } // namespace Api } // namespace Diadoc // @@protoc_insertion_point(global_scope)
[ "harl_aa@skbkontur.ru" ]
harl_aa@skbkontur.ru
c94401621886077ae2f25959d9a6c118fb6c0a9a
549c114a7aaa738b2d1c58bb36614d4cbfda2104
/OurSimulator/schedule/Schwidget.h
2cd9e2b5fb53cef897e5e9cc5405836a6aad3171
[]
no_license
U1ltra/CSC3002_Topic1_OS
4f508eb69b123fbd7f5945baf4398b3a7be38c33
9d3f6160109c1740242e564c76682b234b7b0abf
refs/heads/master
2021-04-13T19:24:03.355823
2020-05-31T15:36:12
2020-05-31T15:36:12
249,181,722
0
0
null
null
null
null
UTF-8
C++
false
false
2,291
h
/* * File: Schwidget.h * ----------------- * This file exports a widget game for scheduling algorithms. */ #ifndef SCHWIDGET_H #define SCHWIDGET_H #include <QWidget> #include <vector> #include <QPixmap> #include <map> #include <string> #include <vector> #include <QThread> #include <schedule/scheduling.h> #include "monitor/cpuMon.h" #include "memoryGame/Memwidget.h" using namespace std; namespace Ui { class SchWidget; } class SchWidget : public QWidget { Q_OBJECT public: explicit SchWidget(QWidget *parent = 0); ~SchWidget(); void initcolorvec(); void inittable(); void initgraph(); bool repetitiondetect(int i, vector<int> v); bool checkempyt(int,int,int); void set_CPU(cpuMon * cpu); void setPID(int pid); void set_memory(Buddy *Memory); private slots: void on_spinBox_valueChanged(int arg1); void on_simulate_clicked(); void on_clear_clicked(); void on_comboBox_activated(const QString &arg1); void on_initialize_clicked(); void on_timeslice_textEdited(const QString &arg1); void on_pause_clicked(); void on_play_clicked(); void to_simple_Click(); void to_effect_Click(); void to_moving_around(); void back_to_fluctuation(); void refresh(); protected: bool eventFilter(QObject *watched, QEvent *event); protected: void mousePressEvent(QMouseEvent *e); void mouseMoveEvent(QMouseEvent *e); void closeEvent(QCloseEvent *event); private: Ui::SchWidget *ui; QColor color; map<string, QColor*> color_map; scheduling * s; QTimer * t; int flag; int algo_sign; int number_of_process; int timeslice; bool rept_flag; bool init_flag; bool clear_flag; bool spin_flag; int ptremained; bool allow_to_init; vector<int> bq; vector<int> pq; vector<int> aq; std::vector<task*> execQ; vector<int> graphlenvec; vector<QColor*> colorvec; int PID; QTimer *system_timer; cpuMon* CPU; Buddy* memory; bool created = false; int memory_size=200; friend class scheduling; void sleeping(); }; #endif // WIDGET_H
[ "59546086+U1ltra@users.noreply.github.com" ]
59546086+U1ltra@users.noreply.github.com
de3aa746ada889ed43df19d9d357844e5b8f1dca
0233477eeb6d785b816ee017cf670e2830bdd209
/SDK/SoT_BP_LargeShip_StandardHull_Art_functions.cpp
6c766160a593428512e45a5580ed6f1a718e6e97
[]
no_license
compy-art/SoT-SDK
a568d346de3771734d72463fc9ad159c1e1ad41f
6eb86840a2147c657dcd7cff9af58b382e72c82a
refs/heads/master
2020-04-17T02:33:02.207435
2019-01-13T20:55:42
2019-01-13T20:55:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
797
cpp
// Sea of Thieves (1.4) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "SoT_BP_LargeShip_StandardHull_Art_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function BP_LargeShip_StandardHull_Art.BP_LargeShip_StandardHull_Art_C.UserConstructionScript // (Event, Public, BlueprintCallable, BlueprintEvent) void ABP_LargeShip_StandardHull_Art_C::UserConstructionScript() { static auto fn = UObject::FindObject<UFunction>("Function BP_LargeShip_StandardHull_Art.BP_LargeShip_StandardHull_Art_C.UserConstructionScript"); struct { } params; UObject::ProcessEvent(fn, &params); } } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "igromanru@yahoo.de" ]
igromanru@yahoo.de
2bed298d82f805d24fd75f97c5d6bde9de0e0af9
3768f18293d6e17fc37d7744cbc44cb1327d83d2
/C++ Programming/Reservoir/List.h
d526cbe690a6fbf3c95c5cd07b014240b06a3527
[ "MIT" ]
permissive
AlexPodymov/ITStepProjects
b7a6dbc4f23274ddd578bbafe763f66baabc1297
21807b6bcd564c9ed490e4af70954bff9a5d698d
refs/heads/master
2022-11-20T15:55:46.513909
2018-07-16T11:21:04
2018-07-16T11:21:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
561
h
#pragma once #include "Reservoir.h" #include <iostream> #include <fstream> #include <stdlib.h> class List { private: Reservoir* reservoirs; int size; int capacity; public: List(int capacity = 10); ~List(); List(const List &other); void Insert(Reservoir r); void Remove(int index); void Resize(); int GetVolume(int index); int GetSurfaceArea(int index); int GetType(int index); int GetSize(); void Output(int index); void OutputAll(); void SaveToFile(const char* path = "Data.txt", bool saveAsText = true); };
[ "kevinvong@rocketmail.com" ]
kevinvong@rocketmail.com
9cae108ff9584f425ed9a20282468f03262a6535
d9206c33fd78a3489c21fcfd03c7b5f239ace720
/getLineCapitals/printStateCapitals.cpp
89a5b26fcb0c9aa1e21502a77483141d985586af
[]
no_license
iqbalyarkhan/cpp_projects
103efb7db25d03c3be0fc6cbf00115cf7415dff6
815339565a52bdc77dbdab1465e8e74bcad631cb
refs/heads/master
2020-06-04T18:36:44.550572
2019-06-20T18:19:18
2019-06-20T18:19:18
192,147,157
1
0
null
2019-06-20T18:19:19
2019-06-16T03:45:39
C++
UTF-8
C++
false
false
705
cpp
#include <iostream> #include <stdio.h> #include <string> #include <fstream> using namespace std; int_least32_t processFile(); int main(){ processFile(); return 0; } int processFile(){ string fileName; cout << "Enter file name: " << endl; cin >> fileName; fileName = fileName.c_str(); ifstream inputFile(fileName); if (!inputFile.is_open()){ cout << "Couldn't open file: " << fileName <<endl; return -1; } else { string capitalName, countryName; while(getline(inputFile,capitalName) && getline(inputFile, countryName)){ cout << capitalName << " is the capital of " << countryName << endl; } } return 0; }
[ "iqbal.khan@utdallas.edu" ]
iqbal.khan@utdallas.edu
b80c6c7833be945f233eb011fa8aada45eb6214f
8f5da97844572f37813513a431ed3082404765f0
/raysting/hello2/RICacuDialog.h
0625ff03aac968e8493971fc036c93625245c8fb
[]
no_license
DharmaPatil/kpgweigher
2fa48a98e982392b31df32280ed0f13d753f1029
ddbc0302a266b6310417a7f58533750418beea19
refs/heads/master
2016-09-06T09:08:10.995202
2015-01-17T02:13:30
2015-01-17T02:13:30
33,178,214
0
2
null
null
null
null
UTF-8
C++
false
false
1,819
h
#if !defined(AFX_RICACUDIALOG_H__3B4F2C0F_1114_4FC2_AB2E_4B281902E498__INCLUDED_) #define AFX_RICACUDIALOG_H__3B4F2C0F_1114_4FC2_AB2E_4B281902E498__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // RICacuDialog.h : header file // ///////////////////////////////////////////////////////////////////////////// // CRICacuDialog dialog class CRICacuDialog : public CDialog { // Construction public: CRICacuDialog(CWnd* pParent = NULL); // standard constructor void FillOperator(CString memlist); void AddCBItem(int id, CString namelist) { CComboBox* cb = ((CComboBox*)GetDlgItem(id)); while(cb->GetCount() > 0) cb->DeleteString(0); while(namelist.Find('|',0) >= 0){ CString item = namelist.Left(namelist.Find('|',0)); cb->AddString(item); namelist.Delete(0,item.GetLength() + 1); } if(cb->GetCount() > 0){ cb->SetCurSel(0); } } // Dialog Data //{{AFX_DATA(CRICacuDialog) enum { IDD = IDD_RICACU_CFG }; CString m_op; CString m_op1; CString m_op2; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRICacuDialog) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CRICacuDialog) afx_msg void OnExit(); virtual BOOL OnInitDialog(); afx_msg void OnToNextCfg(); afx_msg void OnSelchangeOp1(); afx_msg void OnEditchangeOp(); afx_msg void OnSelchangeOp2(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_RICACUDIALOG_H__3B4F2C0F_1114_4FC2_AB2E_4B281902E498__INCLUDED_)
[ "fdlxh@hotmail.com@83333240-a642-11dd-a8c6-677c70d10fe4" ]
fdlxh@hotmail.com@83333240-a642-11dd-a8c6-677c70d10fe4
4667bf95de5e3081fd11e1ddb4b74b044ecfc612
363f88fd92672e852af33dec681353e126672721
/Project/Server/testGame/GameManager.h
6f46c73f3a82991e6041c652ac2763d18f80c373
[]
no_license
yooasd11/summerproject
f0e4a57782e3638005fc876dd8bc0d6ac8fe57fd
3e84cbbd0d3668fe5c9c4c043205197d58c57650
refs/heads/master
2021-01-19T16:26:06.662065
2015-08-07T04:43:51
2015-08-07T04:43:51
38,223,978
3
0
null
null
null
null
UTF-8
C++
false
false
377
h
#pragma once class GameManager { private: int State; HANDLE hPort; Lock* key; public: int bulletCount; std::map<int, std::shared_ptr<bullet>> mappingBullet; void registBullet(std::shared_ptr<bullet>); std::shared_ptr<bullet> retBullet(int); void removeBullet(int); GameManager(); ~GameManager(); void ChangeState(int); void StartGame(); void setPort(HANDLE); };
[ "moonjoo1006@gmail.com" ]
moonjoo1006@gmail.com
4364d4904522e7fda995122cd399b1ec84f31879
4eb3e398fcd0832cd78c1aba8667ee537d873bc7
/arduino/firmware/WiFiNINA/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
5e18333e07ca6689e83e77e85c3ce72b7afb9210
[ "LGPL-2.1-or-later", "MIT" ]
permissive
mtoonen/led-matrix
3b455f13e2575405cce6c7eef0327114d3b6c5e9
169e9b6c072996bb82c6ee29c75e7969a3b0bc4f
refs/heads/main
2023-07-25T15:15:02.382371
2021-08-18T12:42:12
2021-08-18T12:42:12
123,330,938
0
0
MIT
2023-07-16T16:28:34
2018-02-28T19:20:00
C++
UTF-8
C++
false
false
5,408
ino
/* Repeating Wifi Web Client This sketch connects to a a web server and makes a request using a WiFi equipped Arduino board. created 23 April 2012 modified 31 May 2012 by Tom Igoe modified 13 Jan 2014 by Federico Vanzati http://www.arduino.cc/en/Tutorial/WifiWebClientRepeating This code is in the public domain. */ #include <SPI.h> #include <WiFiNINA.h> #if defined(ADAFRUIT_FEATHER_M4_EXPRESS) || \ defined(ADAFRUIT_FEATHER_M0_EXPRESS) || \ defined(ADAFRUIT_FEATHER_M0) || \ defined(ARDUINO_AVR_FEATHER32U4) || \ defined(ARDUINO_NRF52840_FEATHER) || \ defined(ADAFRUIT_ITSYBITSY_M0) || \ defined(ADAFRUIT_ITSYBITSY_M4_EXPRESS) || \ defined(ARDUINO_AVR_ITSYBITSY32U4_3V) || \ defined(ARDUINO_NRF52_ITSYBITSY) // Configure the pins used for the ESP32 connection #define SPIWIFI SPI // The SPI port #define SPIWIFI_SS 13 // Chip select pin #define ESP32_RESETN 12 // Reset pin #define SPIWIFI_ACK 11 // a.k.a BUSY or READY pin #define ESP32_GPIO0 -1 #elif defined(ARDUINO_AVR_FEATHER328P) #define SPIWIFI SPI // The SPI port #define SPIWIFI_SS 4 // Chip select pin #define ESP32_RESETN 3 // Reset pin #define SPIWIFI_ACK 2 // a.k.a BUSY or READY pin #define ESP32_GPIO0 -1 #elif defined(TEENSYDUINO) #define SPIWIFI SPI // The SPI port #define SPIWIFI_SS 5 // Chip select pin #define ESP32_RESETN 6 // Reset pin #define SPIWIFI_ACK 9 // a.k.a BUSY or READY pin #define ESP32_GPIO0 -1 #elif defined(ARDUINO_NRF52832_FEATHER ) #define SPIWIFI SPI // The SPI port #define SPIWIFI_SS 16 // Chip select pin #define ESP32_RESETN 15 // Reset pin #define SPIWIFI_ACK 7 // a.k.a BUSY or READY pin #define ESP32_GPIO0 -1 #elif !defined(SPIWIFI_SS) // if the wifi definition isnt in the board variant // Don't change the names of these #define's! they match the variant ones #define SPIWIFI SPI #define SPIWIFI_SS 10 // Chip select pin #define SPIWIFI_ACK 7 // a.k.a BUSY or READY pin #define ESP32_RESETN 5 // Reset pin #define ESP32_GPIO0 -1 // Not connected #endif #include "arduino_secrets.h" ///////please enter your sensitive data in the Secret tab/arduino_secrets.h char ssid[] = SECRET_SSID; // your network SSID (name) char pass[] = SECRET_PASS; // your network password (use for WPA, or use as key for WEP) int keyIndex = 0; // your network key Index number (needed only for WEP) int status = WL_IDLE_STATUS; // Initialize the Wifi client library WiFiClient client; // server address: char server[] = "example.org"; //IPAddress server(64,131,82,241); unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds const unsigned long postingInterval = 10L * 1000L; // delay between updates, in milliseconds void setup() { //Initialize serial and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI); // check for the WiFi module: if (WiFi.status() == WL_NO_MODULE) { Serial.println("Communication with WiFi module failed!"); // don't continue while (true); } String fv = WiFi.firmwareVersion(); if (fv < "1.0.0") { Serial.println("Please upgrade the firmware"); } // attempt to connect to Wifi network: while (status != WL_CONNECTED) { Serial.print("Attempting to connect to SSID: "); Serial.println(ssid); // Connect to WPA/WPA2 network. Change this line if using open or WEP network: status = WiFi.begin(ssid, pass); // wait 10 seconds for connection: delay(10000); } // you're connected now, so print out the status: printWifiStatus(); } void loop() { // if there's incoming data from the net connection. // send it out the serial port. This is for debugging // purposes only: while (client.available()) { char c = client.read(); Serial.write(c); } // if ten seconds have passed since your last connection, // then connect again and send data: if (millis() - lastConnectionTime > postingInterval) { httpRequest(); } } // this method makes a HTTP connection to the server: void httpRequest() { // close any connection before send a new request. // This will free the socket on the Nina module client.stop(); // if there's a successful connection: if (client.connect(server, 80)) { Serial.println("connecting..."); // send the HTTP PUT request: client.println("GET / HTTP/1.1"); client.println("Host: example.org"); client.println("User-Agent: ArduinoWiFi/1.1"); client.println("Connection: close"); client.println(); // note the time that the connection was made: lastConnectionTime = millis(); } else { // if you couldn't make a connection: Serial.println("connection failed"); } } void printWifiStatus() { // print the SSID of the network you're attached to: Serial.print("SSID: "); Serial.println(WiFi.SSID()); // print your board's IP address: IPAddress ip = WiFi.localIP(); Serial.print("IP Address: "); Serial.println(ip); // print the received signal strength: long rssi = WiFi.RSSI(); Serial.print("signal strength (RSSI):"); Serial.print(rssi); Serial.println(" dBm"); }
[ "toonen.meine@gmail.com" ]
toonen.meine@gmail.com
a0fc985bb3e22bb23a7529b806fabf1ee6a6a9c4
75d24ce86e1fb833974615a8c21521c918f575b4
/Odeptgen.h
60035ca087ce1f9577b2a8ccb38dff42cc911526
[]
no_license
ndilday/virtualu
059100ec82b46c1def39643fdf7123d05db3796d
96012dccd26e32460403b3438ca0ce0ef7fe469b
refs/heads/master
2021-01-10T07:06:13.960690
2014-05-22T04:16:38
2014-05-22T04:16:38
47,211,286
0
0
null
null
null
null
UTF-8
C++
false
false
2,776
h
//Filename : ODEPT.H //Description : Department Class Declaration // : handle general department for "undecided" student, // and university general facilities for facilities model //Owner : Fred #ifndef __ODEPTGEN_H #define __ODEPTGEN_H #include <OSTUDENT.H> //----------- Define constants -------------// enum { MAX_PROJECT_COUNT=15, // = years needed to complete a project }; //----------- Define class Project --------------// // //!Structure containing project information such as expense and duration. //!An array of current projects related to Facilities office is stored in //!the GeneralDepartment class. struct Project { int new_sf; char month_left; int expense; }; //----------- Define class Department ---------------// //!Base Class of Department. Needed for handling general department for //!"undecided" student, and university general facilities for facilities //!model. class GeneralDepartment { public: GeneralDepartment(); void init(); int write_file(File* filePtr); int read_file(File* filePtr); //----------------------------------------// //----- for student database ONLY -----// StudentArray student_array; // fred 0618: use playerSchool.student_array instead of this char first_write_offset; // for file read write; short department_id; // department id. in department_res[] //## chea 270999 to update the student no. report. int dept_student_level_no[MAX_STUDENT_LEVEL_N_TOTAL]; //## chea 290999 to update the student no. report. int dept_gender_student_level_no[GENDER_ETHNIC_TYPE_COUNT_N_TOTAL]; // ##### Begin MArco ##### // int initial_dept_student_level_no[MAX_STUDENT_LEVEL_N_TOTAL]; // ##### End MArco ##### // public: void next_day(); int get_course_requirement(int studentLevel, int targetDeptRecno, int courseDepth); // ##### Begin MArco ##### // void save_initial_data(); // ##### End Marco ##### // public: //----- for statistics -----// //0406 int student_level_history[MAX_STUDENT_LEVEL_N_TOTAL][HISTORY_YEAR_COUNT]; int student_gender_history[GENDER_ETHNIC_TYPE_COUNT_N_TOTAL][HISTORY_YEAR_COUNT]; //----- for facility_office ONLY -----// Project project_array[MAX_PROJECT_COUNT]; char project_count; bool project_added_this_year; public: void calc_student_history(); //0406 //----------------------------------------// void next_month_construction(int &newSF, int &expense); void add_construction(int newSF, int expense); void confirm_construction_yearly(); int get_constructing_sf(); }; #endif
[ "ndilday@gmail.com" ]
ndilday@gmail.com
28a01778f854ed0da80a94743033d17b4389c313
706a5abacb427b079cd427a7225dbb878cb1840b
/Visual Studio 2010/Juce/src/io/streams/juce_GZIPCompressorOutputStream.cpp
9fdf765b51854983814cc8799fb8b558de6ac3c6
[]
no_license
randi2kewl/ShoutOut
61c5d1a37ed7024bf62e84f59ef9a0c71d52fca7
79bfdddeaae57ce30505504622d8d198307fad4a
refs/heads/master
2021-01-13T01:55:45.960652
2012-06-03T23:10:59
2012-06-03T23:10:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,625
cpp
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-11 by Raw Material Software Ltd. ------------------------------------------------------------------------------ JUCE can be redistributed and/or modified under the terms of the GNU General Public License (Version 2), as published by the Free Software Foundation. A copy of the license is included in the JUCE distribution, or can be found online at www.gnu.org/licenses. JUCE 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. ------------------------------------------------------------------------------ To release a closed-source product which uses JUCE, commercial licenses are available: visit www.rawmaterialsoftware.com/juce for more information. ============================================================================== */ #include "../../core/juce_StandardHeader.h" namespace zlibNamespace { #if JUCE_INCLUDE_ZLIB_CODE #undef OS_CODE #undef fdopen #include "zlib/zlib.h" #undef OS_CODE #else #include <zlib.h> #endif } BEGIN_JUCE_NAMESPACE #include "juce_GZIPCompressorOutputStream.h" //============================================================================== class GZIPCompressorOutputStream::GZIPCompressorHelper { public: GZIPCompressorHelper (const int compressionLevel, const int windowBits) : data (nullptr), dataSize (0), compLevel (compressionLevel), strategy (0), setParams (true), streamIsValid (false), finished (false), shouldFinish (false) { using namespace zlibNamespace; zerostruct (stream); streamIsValid = (deflateInit2 (&stream, compLevel, Z_DEFLATED, windowBits != 0 ? windowBits : MAX_WBITS, 8, strategy) == Z_OK); } ~GZIPCompressorHelper() { using namespace zlibNamespace; if (streamIsValid) deflateEnd (&stream); } bool needsInput() const noexcept { return dataSize <= 0; } void setInput (const uint8* const newData, const int size) noexcept { data = newData; dataSize = size; } int doNextBlock (uint8* const dest, const int destSize) noexcept { using namespace zlibNamespace; if (streamIsValid) { stream.next_in = const_cast <uint8*> (data); stream.next_out = dest; stream.avail_in = dataSize; stream.avail_out = destSize; const int result = setParams ? deflateParams (&stream, compLevel, strategy) : deflate (&stream, shouldFinish ? Z_FINISH : Z_NO_FLUSH); setParams = false; switch (result) { case Z_STREAM_END: finished = true; // Deliberate fall-through.. case Z_OK: data += dataSize - stream.avail_in; dataSize = stream.avail_in; return destSize - stream.avail_out; default: break; } } return 0; } enum { gzipCompBufferSize = 32768 }; private: zlibNamespace::z_stream stream; const uint8* data; int dataSize, compLevel, strategy; bool setParams, streamIsValid; public: bool finished, shouldFinish; }; //============================================================================== GZIPCompressorOutputStream::GZIPCompressorOutputStream (OutputStream* const destStream_, int compressionLevel, const bool deleteDestStream, const int windowBits) : destStream (destStream_, deleteDestStream), buffer ((size_t) GZIPCompressorHelper::gzipCompBufferSize) { if (compressionLevel < 1 || compressionLevel > 9) compressionLevel = -1; helper = new GZIPCompressorHelper (compressionLevel, windowBits); } GZIPCompressorOutputStream::~GZIPCompressorOutputStream() { flushInternal(); } //============================================================================== void GZIPCompressorOutputStream::flushInternal() { if (! helper->finished) { helper->shouldFinish = true; while (! helper->finished) doNextBlock(); } destStream->flush(); } void GZIPCompressorOutputStream::flush() { flushInternal(); } bool GZIPCompressorOutputStream::write (const void* destBuffer, int howMany) { if (! helper->finished) { helper->setInput (static_cast <const uint8*> (destBuffer), howMany); while (! helper->needsInput()) { if (! doNextBlock()) return false; } } return true; } bool GZIPCompressorOutputStream::doNextBlock() { const int len = helper->doNextBlock (buffer, (int) GZIPCompressorHelper::gzipCompBufferSize); return len <= 0 || destStream->write (buffer, len); } int64 GZIPCompressorOutputStream::getPosition() { return destStream->getPosition(); } bool GZIPCompressorOutputStream::setPosition (int64 /*newPosition*/) { jassertfalse; // can't do it! return false; } END_JUCE_NAMESPACE
[ "techrandy@gmail.com" ]
techrandy@gmail.com
062c1d5b918ea79ff7f825507e138bcf16b46a60
5dd9ba200884139022547f5dc882f2e46bacfcb4
/35.ResolutionEx/Classes/HelloWorldScene.cpp
90e6ebbbd6c478b0d04c259da863e91830e08ea5
[]
no_license
U214/cocos2d-x
09b7eb16627fcc5798bf2fc8cca2197438dc3bca
bd5284be51a60543767f511baf6183fb1ad2a4cf
refs/heads/master
2021-07-24T07:02:18.106085
2017-11-03T02:22:58
2017-11-03T02:22:58
104,746,922
0
0
null
null
null
null
UTF-8
C++
false
false
1,820
cpp
#include "HelloWorldScene.h" USING_NS_CC; Scene* HelloWorld::createScene() { return HelloWorld::create(); } bool HelloWorld::init() { if ( !Scene::init() ) { return false; } auto wlayer = LayerColor::create(Color4B(255, 255, 255, 255)); this->addChild(wlayer); ///////////////////////////////// Size size1 = Director::getInstance()->getWinSize(); Size size2 = Director::getInstance()->getVisibleSize(); // Vec2 origin = Director::getInstance()->getVisibleOrigin(); log("Size1 : %f ... %f", size1.width, size1.height); log("Size2 : %f ... %f", size2.width, size2.height); // log("Origin : %f .... %f", origin.x, origin.y); auto pBack = Sprite::create("Images/HelloWorld.png"); pBack->setPosition(Vec2(size1.width / 2, size1.height / 2)); // 배경 그림은 가운데에 this->addChild(pBack); auto pBox1 = Sprite::create("Images/blocks.png"); pBox1->setPosition(Vec2(0, size1.height / 2)); this->addChild(pBox1); auto pBox2 = Sprite::create("Images/blocks.png"); pBox2->setPosition(Vec2(size1.width, size1.height / 2)); this->addChild(pBox2); auto pBox31 = Sprite::create("Images/blocks.png"); pBox31->setPosition(Vec2(size1.width / 2 - 50, 0)); this->addChild(pBox31); auto pBox32 = Sprite::create("Images/blocks.png"); pBox32->setPosition(Vec21(size1.width / 2 + 50, 0)); this->addChild(pBox32); auto pBox41 = Sprite::create("Images/blocks.png"); pBox41->setPosition(Vec2(size1.width / 2 - 50, size1.height)); this->addChild(pBox41); auto pBox42 = Sprite::create("Images/blocks.png"); pBox42->setPosition(Vec21(size1.width / 2 + 50, size2.height)); this->addChild(pBox42); return true; } Vec2 HelloWorld::Vec21(float x, float y) { Vec2 origin = Director::getInstance()->getVisibleOrigin(); return Vec2(x + origin.x, y + origin.y); }
[ "snrnsl2@naver.com" ]
snrnsl2@naver.com
5c7aed05438d93a2f92338a1020840e6fed79967
cfda967d1ee249c263c809f4c558ba841ff5b875
/Resort/dlgprintrandomtax.cpp
04681a0225cc33cc007d2c0609ec484805d02b04
[]
no_license
End1-1/Resort
6f217475b3a51b4ec8c321430a1ddebbde1277de
e4c128ad689ea0e218353ddae50dbb430edab595
refs/heads/master
2023-08-23T18:29:48.413708
2023-08-14T06:38:48
2023-08-14T06:38:48
151,435,576
2
0
null
null
null
null
UTF-8
C++
false
false
6,836
cpp
#include "dlgprintrandomtax.h" #include "ui_dlgprintrandomtax.h" #include "dlgprinttaxsm.h" #include "cacheinvoiceitem.h" #include "cachevatmode.h" #include <QDir> #include <QFile> #include <QProcess> DlgPrintRandomTax::DlgPrintRandomTax(QWidget *parent) : BaseExtendedDialog(parent), ui(new Ui::DlgPrintRandomTax) { ui->setupUi(this); Utils::tableSetColumnWidths(ui->tblData, ui->tblData->columnCount(), 0, 300, 100, 100, 100, 30, 0, 0, 0); ui->leItemCode->setSelector(this, cache(cid_invoice_item), ui->leItemName); ui->leVAT->setSelector(this, cache(cid_vat_mode), ui->leVAT); } DlgPrintRandomTax::~DlgPrintRandomTax() { delete ui; } void DlgPrintRandomTax::setHeader(const QString &room, const QString &guest, const QString &invoice) { ui->leRoom->setText(room); ui->leGuest->setText(guest); ui->leInvoice->setText(invoice); DoubleDatabase fDD(true, doubleDatabase); fDD[":f_invoice"] = invoice; fDD.exec("select f_vatMode from f_reservation where f_invoice=:f_invoice"); if (fDD.nextRow()) { ui->leVAT->setInitialValue(fDD.getString(0)); } } void DlgPrintRandomTax::countTotal() { double total = 0; for (int i = 0; i < ui->tblData->rowCount(); i++) { total += ui->tblData->toDouble(i, 3); } ui->leTotal->setDouble(total); ui->leCash->setDouble(total); ui->leCard->setDouble(0); ui->lePrepaiment->setDouble(0); } void DlgPrintRandomTax::correctAmounts(EQLineEdit *l1, EQLineEdit *l2, EQLineEdit *l3) { double total = ui->leTotal->asDouble(); if (l1->asDouble() > total) { l1->setDouble(total); l2->setDouble(0); l3->setDouble(0); } l2->setDouble(total - l3->asDouble() - l1->asDouble()); if (l2->asDouble() < 0) { l3->setDouble(l3->asDouble() + l2->asDouble()); l2->setDouble(0); } } void DlgPrintRandomTax::on_btnAdd_clicked() { if (ui->leItemCode->asInt() == 0) { return; } CacheInvoiceItem ii; if (!ii.get(ui->leItemCode->text())) { message_error(tr("Invalid item code")); return; } int qty = ui->leItemQty->asInt(); double price = ui->leItemAmount->asDouble() / qty; for (int i = 0; i < qty; i++) { int row = ui->tblData->rowCount(); ui->tblData->setRowCount(row + 1); int col = 0; ui->tblData->setItem(row, col++, Utils::tableItem(ui->leItemCode->text())); ui->tblData->setItem(row, col++, Utils::tableItem(ui->leItemName->text())); ui->tblData->setItem(row, col++, Utils::tableItem("1")); ui->tblData->setItem(row, col++, Utils::tableItem(price, 2)); ui->tblData->setItem(row, col++, Utils::tableItem(price, 2)); ui->tblData->addButton(row, col++, SLOT(btnClickWithTag(int)), this, QIcon(":/images/garbage.png")); ui->tblData->setItem(row, col++, Utils::tableItem(ii.fAdgt())); ui->tblData->setItem(row, col++, Utils::tableItem(0)); ui->tblData->setItem(row, col++, Utils::tableItem(ii.fVaucher())); } ui->leItemCode->clear(); ui->leItemName->clear(); ui->leItemQty->setText("1"); ui->leItemAmount->clear(); countTotal(); ui->leItemCode->setFocus(); } void DlgPrintRandomTax::btnClickWithTag(int tag) { tag = -1; EPushButton *src = static_cast<EPushButton*>(sender()); for (int i = 0; i < ui->tblData->rowCount(); i++) { EPushButton *btn = static_cast<EPushButton*>(ui->tblData->cellWidget(i, 5)); if (btn == src) { tag = i; break; } } if (tag < 0) { return; } DoubleDatabase fDD(true, doubleDatabase); if (ui->tblData->toInt(tag, 7) > 0) { fDD[":f_id"] = ui->tblData->toInt(tag, 7); fDD.exec("delete from m_free_tax where f_id=:f_id"); } ui->tblData->removeRow(tag); countTotal(); } void DlgPrintRandomTax::on_leCash_textEdited(const QString &arg1) { Q_UNUSED(arg1) correctAmounts(ui->leCash, ui->leCard, ui->lePrepaiment); } void DlgPrintRandomTax::on_btnPrint_clicked() { if (ui->tblData->rowCount() == 0) { message_error(tr("Nothing to print")); return; } DlgPrintTaxSM dpt(fPreferences.getDb(def_default_fiscal_machine).toInt(), this); for (int i = 0; i < ui->tblData->rowCount(); i++) { CacheInvoiceItem ii; ii.get(ui->tblData->toString(i, 0)); dpt.addGoods((ui->leVAT->fHiddenText.toInt() == VAT_INCLUDED ? ii.fVatDept() : ii.fNoVatDept()), ii.fAdgt(), ii.fCode(), ii.fTaxName(), ui->tblData->toDouble(i, 3), ui->tblData->toDouble(i, 2)); } dpt.fOrder = ui->leInvoice->text(); dpt.fCardAmount = ui->leCard->asDouble(); dpt.fPrepaid = ui->lePrepaiment->asDouble(); DoubleDatabase fDD(true, doubleDatabase); int result = dpt.exec(); if (result == TAX_OK) { for (int i = 0; i < ui->tblData->rowCount(); i++) { // if (ui->tblData->item(i, 4)->checkState() != Qt::Checked) { // continue; // } // fDD[":f_fiscal"] = dpt.fTaxCode; // fDD.update("m_register", fDD, ap(ui->tblData->toString(i, 8))); fDD[":f_invoice"] = ui->leInvoice->text(); fDD[":f_item"] = ui->tblData->toInt(i, 0); fDD[":f_amount"] = ui->tblData->toDouble(i, 4); fDD[":f_user"] = WORKING_USERID; fDD[":f_date"] = QDateTime::currentDateTime(); fDD[":f_source"] = ui->tblData->toString(i, 8); fDD[":f_taxCode"] = dpt.fTaxCode; ui->tblData->setItem(i, 7, Utils::tableItem(fDD.insert("m_free_tax"))); } accept(); } } void DlgPrintRandomTax::on_leCard_textEdited(const QString &arg1) { Q_UNUSED(arg1) correctAmounts(ui->leCard, ui->leCash, ui->lePrepaiment); } void DlgPrintRandomTax::on_btnRetryPrint_clicked() { QDir d; QString fileName = QString("tax_%1.json").arg(ui->leInvoice->text()); QFile f(d.currentPath() + "/" + fileName); if (f.exists()) { QStringList args; args << fPreferences.getDb(def_tax_address).toString() << fPreferences.getDb(def_tax_port).toString() << fPreferences.getDb(def_tax_password).toString() << fileName; QProcess *p = new QProcess(); p->start(d.currentPath() + "/printtax.exe", args); } else { on_btnPrint_clicked(); } } void DlgPrintRandomTax::on_lePrepaiment_textEdited(const QString &arg1) { Q_UNUSED(arg1) correctAmounts(ui->lePrepaiment, ui->leCash, ui->leCard); } void DlgPrintRandomTax::on_leItemQty_textEdited(const QString &arg1) { if (arg1.toInt() > 100) { ui->leItemQty->setText("100"); } }
[ "end1_1@yahoo.com" ]
end1_1@yahoo.com
fe15643eb7280eac5ed79c4259b54c07b175149c
4a52dc1b616768527a4c17a8bbf04b6c1c1f1669
/revise/date.cpp
1a4ab68cb41fcd0d200af604c237fdefa323702e
[]
no_license
vuhoangquan/revise
df654358a941b9bba5c95a1a1c0470a907edb651
61a7a716d1291b60dd56dc46e1101dcec5076fe1
refs/heads/master
2023-02-06T09:47:25.896487
2020-11-30T08:07:45
2020-11-30T08:07:45
256,196,106
0
0
null
null
null
null
UTF-8
C++
false
false
1,320
cpp
// date.cpp // cpp1 // // Created by Vũ hoàng Quân on 5/9/19. // Copyright © 2019 Vũ hoàng Quân. All rights reserved. // //implemenetation #include <iostream> #include <string> #include "date.h" using namespace std; date::date() // hearer file name ::header file location { Date = 13; Month = 10; Year = 1999; cout<<"date constructor called"<<endl; } date::~date() {} date::date(int dd, int mm, int yyyy) { cout<<"constructor that set date called"<<endl; Date = dd; Month = mm; Year = yyyy; } //setter void date::setDate(int dd) { Date = dd; } void date::setMonth(int mm) { Month = mm; } void date::setYear(int yyyy) { Year = yyyy; } void date::setTime(int dd, int mm, int yyyy) { Date = dd; Month = mm; Year = yyyy; } //getter int date::getDate() const { return Date; } int date::getMonth() const { return Month; } int date::getYear() const { return Year; } //printf void date::print() const { cout << "date " << Date << "month " << Month << "year " << Year << endl; } ostream& operator <<(ostream& osObject, const date& date1) { osObject << date1.Date << " " << date1.Month << " " << date1.Year; return osObject; } istream& operator >>(istream& isObject, date& date1) { isObject >> date1.Date >> date1.Month >> date1.Year; return isObject; }
[ "vuhoangquan1999@gmail.com" ]
vuhoangquan1999@gmail.com
9fa6a52baa3dd1eb1b120f25fd24642c7ee386e6
0af35580335a896cc61ee9214deeedb0f0620424
/UVA/568/a.cpp
9465094b9a7f940ea77f492a78baf30e27b8ac79
[]
no_license
ktakanopy/Competitive-Programming
59d4c73ffbed0affdc85a2454b5c454841a092bf
7d976f972947601f988969ae7c335b1d824352dd
refs/heads/master
2022-12-01T07:55:27.499787
2019-03-16T19:13:35
2019-03-16T19:13:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
895
cpp
#include <bits/stdc++.h> #include <algorithm> using namespace std; #define ENDLINE printf("\n"); #define HEY printf("HEY\n"); #define HEYA printf("HEY_A\n"); #define HEYB printf("HEY_B\n"); #define HEY2 printf(" HEY\n"); #define HEY3 printf(" HEY\n"); #define END ("\n") #define FOR(i,N) for(int i =0;i < N;i++) const int MAXN = 1001, INF = 0x3f3f3f3f;; #define MAX 1000000000000000000 typedef unsigned long long ll; char last_non_digit_factorial(int k ) { ll p = 1; for(int i = k ; i >= 1; i--) { p = (p%MAX) * (i%MAX) % MAX ; } char string[200]; sprintf(string,"%lld",p); int tam = strlen(string); printf("%s\n",string); int i; for(i = tam - 1; i >= 0 ; i--) { if(string[i] != '0') { HEY break; } } return string[i]; } int main() { int N; while(cin >> N) { char c = last_non_digit_factorial(N); printf("N -> %c\n",c); } return 0; }
[ "kevin.takano@gmail.com" ]
kevin.takano@gmail.com
91c0f9dbde17fa4e0970879222a3b4e0a5c90fe0
050641a40cf6b1e090f35082f4d475e42b670064
/bin/mediapipe/calculators/tflite/ssd_anchors_calculator.pb.cc
a1ad187926a5df18b5d9d4e62a29a858d8662075
[]
no_license
VatsalBambhania/AirMouse
4585b246fb15c6c2dfea9752a135ed7fe6cce455
39c395769e927e614065ce237fce14ef07e7ba53
refs/heads/master
2023-03-12T16:24:35.516157
2021-03-05T11:03:57
2021-03-05T11:03:57
321,337,649
0
0
null
null
null
null
UTF-8
C++
false
true
34,071
cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: mediapipe/calculators/tflite/ssd_anchors_calculator.proto #include "mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor.h> #include <google/protobuf/generated_message_reflection.h> #include <google/protobuf/reflection_ops.h> #include <google/protobuf/wire_format.h> // @@protoc_insertion_point(includes) #include <google/protobuf/port_def.inc> extern PROTOBUF_INTERNAL_EXPORT_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto; namespace mediapipe { class SsdAnchorsCalculatorOptionsDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SsdAnchorsCalculatorOptions> _instance; } _SsdAnchorsCalculatorOptions_default_instance_; } // namespace mediapipe static void InitDefaultsscc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; { void* ptr = &::mediapipe::_SsdAnchorsCalculatorOptions_default_instance_; new (ptr) ::mediapipe::SsdAnchorsCalculatorOptions(); ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); } ::mediapipe::SsdAnchorsCalculatorOptions::InitAsDefaultInstance(); } ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto = {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto}, {}}; static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto[1]; static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto = nullptr; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, _has_bits_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, input_size_width_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, input_size_height_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, min_scale_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, max_scale_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, anchor_offset_x_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, anchor_offset_y_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, num_layers_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, feature_map_width_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, feature_map_height_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, strides_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, aspect_ratios_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, reduce_boxes_in_lowest_layer_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, interpolated_scale_aspect_ratio_), PROTOBUF_FIELD_OFFSET(::mediapipe::SsdAnchorsCalculatorOptions, fixed_anchor_size_), 0, 1, 2, 3, 8, 9, 4, ~0u, ~0u, ~0u, ~0u, 5, 7, 6, }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 19, sizeof(::mediapipe::SsdAnchorsCalculatorOptions)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::mediapipe::_SsdAnchorsCalculatorOptions_default_instance_), }; const char descriptor_table_protodef_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n9mediapipe/calculators/tflite/ssd_ancho" "rs_calculator.proto\022\tmediapipe\032$mediapip" "e/framework/calculator.proto\"\370\003\n\033SsdAnch" "orsCalculatorOptions\022\030\n\020input_size_width" "\030\001 \002(\005\022\031\n\021input_size_height\030\002 \002(\005\022\021\n\tmin" "_scale\030\003 \002(\002\022\021\n\tmax_scale\030\004 \002(\002\022\034\n\017ancho" "r_offset_x\030\005 \002(\002:\0030.5\022\034\n\017anchor_offset_y" "\030\006 \002(\002:\0030.5\022\022\n\nnum_layers\030\007 \002(\005\022\031\n\021featu" "re_map_width\030\010 \003(\005\022\032\n\022feature_map_height" "\030\t \003(\005\022\017\n\007strides\030\n \003(\005\022\025\n\raspect_ratios" "\030\013 \003(\002\022+\n\034reduce_boxes_in_lowest_layer\030\014" " \001(\010:\005false\022*\n\037interpolated_scale_aspect" "_ratio\030\r \001(\002:\0011\022 \n\021fixed_anchor_size\030\016 \001" "(\010:\005false2T\n\003ext\022\034.mediapipe.CalculatorO" "ptions\030\377\270\363u \001(\0132&.mediapipe.SsdAnchorsCa" "lculatorOptions" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_deps[1] = { &::descriptor_table_mediapipe_2fframework_2fcalculator_2eproto, }; static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_sccs[1] = { &scc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto.base, }; static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_once; static bool descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto = { &descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_initialized, descriptor_table_protodef_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto, "mediapipe/calculators/tflite/ssd_anchors_calculator.proto", 615, &descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_once, descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_sccs, descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto_deps, 1, 1, schemas, file_default_instances, TableStruct_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto::offsets, file_level_metadata_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto, 1, file_level_enum_descriptors_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto, file_level_service_descriptors_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. static bool dynamic_init_dummy_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto), true); namespace mediapipe { // =================================================================== void SsdAnchorsCalculatorOptions::InitAsDefaultInstance() { } class SsdAnchorsCalculatorOptions::_Internal { public: using HasBits = decltype(std::declval<SsdAnchorsCalculatorOptions>()._has_bits_); static void set_has_input_size_width(HasBits* has_bits) { (*has_bits)[0] |= 1u; } static void set_has_input_size_height(HasBits* has_bits) { (*has_bits)[0] |= 2u; } static void set_has_min_scale(HasBits* has_bits) { (*has_bits)[0] |= 4u; } static void set_has_max_scale(HasBits* has_bits) { (*has_bits)[0] |= 8u; } static void set_has_anchor_offset_x(HasBits* has_bits) { (*has_bits)[0] |= 256u; } static void set_has_anchor_offset_y(HasBits* has_bits) { (*has_bits)[0] |= 512u; } static void set_has_num_layers(HasBits* has_bits) { (*has_bits)[0] |= 16u; } static void set_has_reduce_boxes_in_lowest_layer(HasBits* has_bits) { (*has_bits)[0] |= 32u; } static void set_has_interpolated_scale_aspect_ratio(HasBits* has_bits) { (*has_bits)[0] |= 128u; } static void set_has_fixed_anchor_size(HasBits* has_bits) { (*has_bits)[0] |= 64u; } }; SsdAnchorsCalculatorOptions::SsdAnchorsCalculatorOptions() : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { SharedCtor(); // @@protoc_insertion_point(constructor:mediapipe.SsdAnchorsCalculatorOptions) } SsdAnchorsCalculatorOptions::SsdAnchorsCalculatorOptions(const SsdAnchorsCalculatorOptions& from) : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), _has_bits_(from._has_bits_), feature_map_width_(from.feature_map_width_), feature_map_height_(from.feature_map_height_), strides_(from.strides_), aspect_ratios_(from.aspect_ratios_) { _internal_metadata_.MergeFrom(from._internal_metadata_); ::memcpy(&input_size_width_, &from.input_size_width_, static_cast<size_t>(reinterpret_cast<char*>(&anchor_offset_y_) - reinterpret_cast<char*>(&input_size_width_)) + sizeof(anchor_offset_y_)); // @@protoc_insertion_point(copy_constructor:mediapipe.SsdAnchorsCalculatorOptions) } void SsdAnchorsCalculatorOptions::SharedCtor() { ::memset(&input_size_width_, 0, static_cast<size_t>( reinterpret_cast<char*>(&fixed_anchor_size_) - reinterpret_cast<char*>(&input_size_width_)) + sizeof(fixed_anchor_size_)); interpolated_scale_aspect_ratio_ = 1; anchor_offset_x_ = 0.5f; anchor_offset_y_ = 0.5f; } SsdAnchorsCalculatorOptions::~SsdAnchorsCalculatorOptions() { // @@protoc_insertion_point(destructor:mediapipe.SsdAnchorsCalculatorOptions) SharedDtor(); } void SsdAnchorsCalculatorOptions::SharedDtor() { } void SsdAnchorsCalculatorOptions::SetCachedSize(int size) const { _cached_size_.Set(size); } const SsdAnchorsCalculatorOptions& SsdAnchorsCalculatorOptions::default_instance() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SsdAnchorsCalculatorOptions_mediapipe_2fcalculators_2ftflite_2fssd_5fanchors_5fcalculator_2eproto.base); return *internal_default_instance(); } void SsdAnchorsCalculatorOptions::Clear() { // @@protoc_insertion_point(message_clear_start:mediapipe.SsdAnchorsCalculatorOptions) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; feature_map_width_.Clear(); feature_map_height_.Clear(); strides_.Clear(); aspect_ratios_.Clear(); cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x000000ffu) { ::memset(&input_size_width_, 0, static_cast<size_t>( reinterpret_cast<char*>(&fixed_anchor_size_) - reinterpret_cast<char*>(&input_size_width_)) + sizeof(fixed_anchor_size_)); interpolated_scale_aspect_ratio_ = 1; } if (cached_has_bits & 0x00000300u) { anchor_offset_x_ = 0.5f; anchor_offset_y_ = 0.5f; } _has_bits_.Clear(); _internal_metadata_.Clear(); } const char* SsdAnchorsCalculatorOptions::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; while (!ctx->Done(&ptr)) { ::PROTOBUF_NAMESPACE_ID::uint32 tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); CHK_(ptr); switch (tag >> 3) { // required int32 input_size_width = 1; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { _Internal::set_has_input_size_width(&has_bits); input_size_width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // required int32 input_size_height = 2; case 2: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { _Internal::set_has_input_size_height(&has_bits); input_size_height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // required float min_scale = 3; case 3: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { _Internal::set_has_min_scale(&has_bits); min_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); ptr += sizeof(float); } else goto handle_unusual; continue; // required float max_scale = 4; case 4: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { _Internal::set_has_max_scale(&has_bits); max_scale_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); ptr += sizeof(float); } else goto handle_unusual; continue; // required float anchor_offset_x = 5 [default = 0.5]; case 5: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { _Internal::set_has_anchor_offset_x(&has_bits); anchor_offset_x_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); ptr += sizeof(float); } else goto handle_unusual; continue; // required float anchor_offset_y = 6 [default = 0.5]; case 6: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { _Internal::set_has_anchor_offset_y(&has_bits); anchor_offset_y_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); ptr += sizeof(float); } else goto handle_unusual; continue; // required int32 num_layers = 7; case 7: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { _Internal::set_has_num_layers(&has_bits); num_layers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // repeated int32 feature_map_width = 8; case 8: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { ptr -= 1; do { ptr += 1; _internal_add_feature_map_width(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<64>(ptr)); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_feature_map_width(), ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // repeated int32 feature_map_height = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { ptr -= 1; do { ptr += 1; _internal_add_feature_map_height(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<72>(ptr)); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_feature_map_height(), ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // repeated int32 strides = 10; case 10: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { ptr -= 1; do { ptr += 1; _internal_add_strides(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<80>(ptr)); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_strides(), ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // repeated float aspect_ratios = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 93)) { ptr -= 1; do { ptr += 1; _internal_add_aspect_ratios(::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr)); ptr += sizeof(float); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<93>(ptr)); } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedFloatParser(_internal_mutable_aspect_ratios(), ptr, ctx); CHK_(ptr); } else goto handle_unusual; continue; // optional bool reduce_boxes_in_lowest_layer = 12 [default = false]; case 12: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { _Internal::set_has_reduce_boxes_in_lowest_layer(&has_bits); reduce_boxes_in_lowest_layer_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; // optional float interpolated_scale_aspect_ratio = 13 [default = 1]; case 13: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { _Internal::set_has_interpolated_scale_aspect_ratio(&has_bits); interpolated_scale_aspect_ratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); ptr += sizeof(float); } else goto handle_unusual; continue; // optional bool fixed_anchor_size = 14 [default = false]; case 14: if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { _Internal::set_has_fixed_anchor_size(&has_bits); fixed_anchor_size_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); CHK_(ptr); } else goto handle_unusual; continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { ctx->SetLastTag(tag); goto success; } ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); CHK_(ptr != nullptr); continue; } } // switch } // while success: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; goto success; #undef CHK_ } ::PROTOBUF_NAMESPACE_ID::uint8* SsdAnchorsCalculatorOptions::_InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:mediapipe.SsdAnchorsCalculatorOptions) ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; // required int32 input_size_width = 1; if (cached_has_bits & 0x00000001u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_input_size_width(), target); } // required int32 input_size_height = 2; if (cached_has_bits & 0x00000002u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_input_size_height(), target); } // required float min_scale = 3; if (cached_has_bits & 0x00000004u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_min_scale(), target); } // required float max_scale = 4; if (cached_has_bits & 0x00000008u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_max_scale(), target); } // required float anchor_offset_x = 5 [default = 0.5]; if (cached_has_bits & 0x00000100u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_anchor_offset_x(), target); } // required float anchor_offset_y = 6 [default = 0.5]; if (cached_has_bits & 0x00000200u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_anchor_offset_y(), target); } // required int32 num_layers = 7; if (cached_has_bits & 0x00000010u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_num_layers(), target); } // repeated int32 feature_map_width = 8; for (int i = 0, n = this->_internal_feature_map_width_size(); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_feature_map_width(i), target); } // repeated int32 feature_map_height = 9; for (int i = 0, n = this->_internal_feature_map_height_size(); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(9, this->_internal_feature_map_height(i), target); } // repeated int32 strides = 10; for (int i = 0, n = this->_internal_strides_size(); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(10, this->_internal_strides(i), target); } // repeated float aspect_ratios = 11; for (int i = 0, n = this->_internal_aspect_ratios_size(); i < n; i++) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(11, this->_internal_aspect_ratios(i), target); } // optional bool reduce_boxes_in_lowest_layer = 12 [default = false]; if (cached_has_bits & 0x00000020u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_reduce_boxes_in_lowest_layer(), target); } // optional float interpolated_scale_aspect_ratio = 13 [default = 1]; if (cached_has_bits & 0x00000080u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_interpolated_scale_aspect_ratio(), target); } // optional bool fixed_anchor_size = 14 [default = false]; if (cached_has_bits & 0x00000040u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(14, this->_internal_fixed_anchor_size(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:mediapipe.SsdAnchorsCalculatorOptions) return target; } size_t SsdAnchorsCalculatorOptions::RequiredFieldsByteSizeFallback() const { // @@protoc_insertion_point(required_fields_byte_size_fallback_start:mediapipe.SsdAnchorsCalculatorOptions) size_t total_size = 0; if (_internal_has_input_size_width()) { // required int32 input_size_width = 1; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_input_size_width()); } if (_internal_has_input_size_height()) { // required int32 input_size_height = 2; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_input_size_height()); } if (_internal_has_min_scale()) { // required float min_scale = 3; total_size += 1 + 4; } if (_internal_has_max_scale()) { // required float max_scale = 4; total_size += 1 + 4; } if (_internal_has_num_layers()) { // required int32 num_layers = 7; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_num_layers()); } if (_internal_has_anchor_offset_x()) { // required float anchor_offset_x = 5 [default = 0.5]; total_size += 1 + 4; } if (_internal_has_anchor_offset_y()) { // required float anchor_offset_y = 6 [default = 0.5]; total_size += 1 + 4; } return total_size; } size_t SsdAnchorsCalculatorOptions::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:mediapipe.SsdAnchorsCalculatorOptions) size_t total_size = 0; if (((_has_bits_[0] & 0x0000031f) ^ 0x0000031f) == 0) { // All required fields are present. // required int32 input_size_width = 1; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_input_size_width()); // required int32 input_size_height = 2; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_input_size_height()); // required float min_scale = 3; total_size += 1 + 4; // required float max_scale = 4; total_size += 1 + 4; // required int32 num_layers = 7; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( this->_internal_num_layers()); // required float anchor_offset_x = 5 [default = 0.5]; total_size += 1 + 4; // required float anchor_offset_y = 6 [default = 0.5]; total_size += 1 + 4; } else { total_size += RequiredFieldsByteSizeFallback(); } ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated int32 feature_map_width = 8; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: Int32Size(this->feature_map_width_); total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_feature_map_width_size()); total_size += data_size; } // repeated int32 feature_map_height = 9; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: Int32Size(this->feature_map_height_); total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_feature_map_height_size()); total_size += data_size; } // repeated int32 strides = 10; { size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: Int32Size(this->strides_); total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_strides_size()); total_size += data_size; } // repeated float aspect_ratios = 11; { unsigned int count = static_cast<unsigned int>(this->_internal_aspect_ratios_size()); size_t data_size = 4UL * count; total_size += 1 * ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_aspect_ratios_size()); total_size += data_size; } cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x000000e0u) { // optional bool reduce_boxes_in_lowest_layer = 12 [default = false]; if (cached_has_bits & 0x00000020u) { total_size += 1 + 1; } // optional bool fixed_anchor_size = 14 [default = false]; if (cached_has_bits & 0x00000040u) { total_size += 1 + 1; } // optional float interpolated_scale_aspect_ratio = 13 [default = 1]; if (cached_has_bits & 0x00000080u) { total_size += 1 + 4; } } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( _internal_metadata_, total_size, &_cached_size_); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; } void SsdAnchorsCalculatorOptions::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_merge_from_start:mediapipe.SsdAnchorsCalculatorOptions) GOOGLE_DCHECK_NE(&from, this); const SsdAnchorsCalculatorOptions* source = ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SsdAnchorsCalculatorOptions>( &from); if (source == nullptr) { // @@protoc_insertion_point(generalized_merge_from_cast_fail:mediapipe.SsdAnchorsCalculatorOptions) ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); } else { // @@protoc_insertion_point(generalized_merge_from_cast_success:mediapipe.SsdAnchorsCalculatorOptions) MergeFrom(*source); } } void SsdAnchorsCalculatorOptions::MergeFrom(const SsdAnchorsCalculatorOptions& from) { // @@protoc_insertion_point(class_specific_merge_from_start:mediapipe.SsdAnchorsCalculatorOptions) GOOGLE_DCHECK_NE(&from, this); _internal_metadata_.MergeFrom(from._internal_metadata_); ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; (void) cached_has_bits; feature_map_width_.MergeFrom(from.feature_map_width_); feature_map_height_.MergeFrom(from.feature_map_height_); strides_.MergeFrom(from.strides_); aspect_ratios_.MergeFrom(from.aspect_ratios_); cached_has_bits = from._has_bits_[0]; if (cached_has_bits & 0x000000ffu) { if (cached_has_bits & 0x00000001u) { input_size_width_ = from.input_size_width_; } if (cached_has_bits & 0x00000002u) { input_size_height_ = from.input_size_height_; } if (cached_has_bits & 0x00000004u) { min_scale_ = from.min_scale_; } if (cached_has_bits & 0x00000008u) { max_scale_ = from.max_scale_; } if (cached_has_bits & 0x00000010u) { num_layers_ = from.num_layers_; } if (cached_has_bits & 0x00000020u) { reduce_boxes_in_lowest_layer_ = from.reduce_boxes_in_lowest_layer_; } if (cached_has_bits & 0x00000040u) { fixed_anchor_size_ = from.fixed_anchor_size_; } if (cached_has_bits & 0x00000080u) { interpolated_scale_aspect_ratio_ = from.interpolated_scale_aspect_ratio_; } _has_bits_[0] |= cached_has_bits; } if (cached_has_bits & 0x00000300u) { if (cached_has_bits & 0x00000100u) { anchor_offset_x_ = from.anchor_offset_x_; } if (cached_has_bits & 0x00000200u) { anchor_offset_y_ = from.anchor_offset_y_; } _has_bits_[0] |= cached_has_bits; } } void SsdAnchorsCalculatorOptions::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { // @@protoc_insertion_point(generalized_copy_from_start:mediapipe.SsdAnchorsCalculatorOptions) if (&from == this) return; Clear(); MergeFrom(from); } void SsdAnchorsCalculatorOptions::CopyFrom(const SsdAnchorsCalculatorOptions& from) { // @@protoc_insertion_point(class_specific_copy_from_start:mediapipe.SsdAnchorsCalculatorOptions) if (&from == this) return; Clear(); MergeFrom(from); } bool SsdAnchorsCalculatorOptions::IsInitialized() const { if ((_has_bits_[0] & 0x0000031f) != 0x0000031f) return false; return true; } void SsdAnchorsCalculatorOptions::InternalSwap(SsdAnchorsCalculatorOptions* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); feature_map_width_.InternalSwap(&other->feature_map_width_); feature_map_height_.InternalSwap(&other->feature_map_height_); strides_.InternalSwap(&other->strides_); aspect_ratios_.InternalSwap(&other->aspect_ratios_); swap(input_size_width_, other->input_size_width_); swap(input_size_height_, other->input_size_height_); swap(min_scale_, other->min_scale_); swap(max_scale_, other->max_scale_); swap(num_layers_, other->num_layers_); swap(reduce_boxes_in_lowest_layer_, other->reduce_boxes_in_lowest_layer_); swap(fixed_anchor_size_, other->fixed_anchor_size_); swap(interpolated_scale_aspect_ratio_, other->interpolated_scale_aspect_ratio_); swap(anchor_offset_x_, other->anchor_offset_x_); swap(anchor_offset_y_, other->anchor_offset_y_); } ::PROTOBUF_NAMESPACE_ID::Metadata SsdAnchorsCalculatorOptions::GetMetadata() const { return GetMetadataStatic(); } #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int SsdAnchorsCalculatorOptions::kExtFieldNumber; #endif ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::mediapipe::CalculatorOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::mediapipe::SsdAnchorsCalculatorOptions >, 11, false > SsdAnchorsCalculatorOptions::ext(kExtFieldNumber, *::mediapipe::SsdAnchorsCalculatorOptions::internal_default_instance()); // @@protoc_insertion_point(namespace_scope) } // namespace mediapipe PROTOBUF_NAMESPACE_OPEN template<> PROTOBUF_NOINLINE ::mediapipe::SsdAnchorsCalculatorOptions* Arena::CreateMaybeMessage< ::mediapipe::SsdAnchorsCalculatorOptions >(Arena* arena) { return Arena::CreateInternal< ::mediapipe::SsdAnchorsCalculatorOptions >(arena); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include <google/protobuf/port_undef.inc>
[ "vatsroliya94@gmail.com" ]
vatsroliya94@gmail.com
3c0c0af7a0b54d7ba24f8c679168582ded9356d1
f585d9695ecc405963b33ca7d0396e2ae51f99ee
/uva/573 - The Snail.cpp
132b74150f4889f1ba9cc9c222a049e4a64b3b3a
[]
no_license
Hasanul-Bari/online-practice
f96aeba24059808430b54e61de6785cddc55e2d4
e1261734939e7097ba13c9ff0d39217882b6cf5a
refs/heads/master
2021-10-10T12:02:59.651386
2021-10-07T18:05:44
2021-10-07T18:05:44
195,872,872
0
0
null
null
null
null
UTF-8
C++
false
false
583
cpp
#include<bits/stdc++.h> using namespace std; int main() { double h,u,d,f; while(cin>>h>>u>>d>>f && h!=0) { double c=0,in=u*(f/100.0); int i=0; while(c>=0 && c<h) { i++; c=c+u; if(c>h) break; c=c-d; u=u-in; if(u<0) u=0; //cout<<c<<" "; } //cout<<i<<" "<<c<<endl; if(c>h) cout<<"success on day "<<i<<endl; else cout<<"failure on day "<<i<<endl; } return 0; }
[ "hasanul.bari.hasan96@gmail.com" ]
hasanul.bari.hasan96@gmail.com