hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
5bb99e4934fdde31856d7e0bb0f0eafb102b45f1
1,065
cpp
C++
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
engine/src/Graphics/Light.cpp
Trypio/Aeyon3D
6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b
[ "MIT" ]
null
null
null
// // // #include "Graphics/Light.hpp" namespace aeyon { Light::Light() : m_type(Type::Directional), m_renderMode(RenderMode::Auto), m_color(Color::White), m_intensity(1.0f), m_range(10.0f), m_spotAngle(30.0f) { } void Light::setType(Light::Type type) { m_type = type; } void Light::setRenderMode(Light::RenderMode renderMode) { m_renderMode = renderMode; } void Light::setColor(Color color) { m_color = color; } void Light::setIntensity(float intensity) { m_intensity = intensity; } void Light::setRange(float range) { m_range = range; } void Light::setSpotAngle(float spotAngle) { m_spotAngle = glm::clamp(spotAngle, 1.0f, 179.0f); } Light::Type Light::getType() const { return m_type; } Light::RenderMode Light::getRenderMode() const { return m_renderMode; } Color Light::getColor() const { return m_color; } float Light::getIntensity() const { return m_intensity; } float Light::getRange() const { return m_range; } float Light::getSpotAngle() const { return m_spotAngle; } }
14.013158
105
0.673239
Trypio
5bb9bfcdcd7d0d8fd4502d33647d8d8e1d387953
1,344
hpp
C++
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/flux/FluxNormalMaterial.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
#ifndef FLUX_NORMALMATERIAL_H #define FLUX_NORMALMATERIAL_H #include <iostream> #include <cassert> #include <string> #include <array> #include "FluxMaterial.hpp" #include "FluxRectangle2D.hpp" #include "FluxTexture.hpp" #include "FluxUtils.hpp" #include "FluxError.hpp" #include "SDL_image.h" class Sprite; namespace Flux { /** A Material with a colouri, texture and normal map attribute. * @see * Material */ class NormalMaterial : public Material { public: NormalMaterial(std::shared_ptr<Texture> texture, std::shared_ptr<Texture> normalMap); virtual ~NormalMaterial(); virtual FluxError loadAttributes(const unsigned int offset); virtual FluxError loadUniforms(); virtual unsigned int vboOffset() const; virtual FluxError fillVBO(const Sprite *sprite, GLfloat *vbo); Texture *getTexture(); Texture* getNormalMap(); private: FluxError initialise(); std::shared_ptr<Texture> texture, normalMap; GLuint vertexAttribLocation; GLuint colourAttribLocation; GLuint textureAttribLocation; GLuint normalAttribLocation; GLuint rotationAttribLocation; GLint textureSamplerUniformLocation; }; } #endif
24.888889
97
0.65253
LightCollective
5bbbaddab8dc336f6e06ff3808cfa0dac343e479
1,602
cpp
C++
src/sprite/fix_single_picture_clothe.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/sprite/fix_single_picture_clothe.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2019 // // Lapin library #include "lapin_private.h" // This function turn into a copy of the sent sprite all defaulty filled closet sprites // EXCEPT for the underlying picture. // It is used by dressed sprite to avoid having to repeat big chunks of configuration bool bunny_fix_single_picture_clothe(t_bunny_dressed_sprite *sprite, t_bunny_closet *closet) { t_bunny_map **nod; for (bunny_map_all(closet->clothes, nod)) { t_bunny_clothe *clt = bunny_map_data(*nod, t_bunny_clothe*); t_bunny_sprite *spr = clt->sprite; if (bunny_map_size(spr->hashname_id) != 1) continue ; if (!bunny_map_get_subtree(spr->hashname_id, (void*)(size_t)bunny_sprite_animation_name("Idle"), false)) continue ; clt->sprite = bunny_duplicate_sprite(&sprite->sprite); if (bunny_make_clipable_unique(&clt->sprite->clipable) == false) { bunny_delete_clipable(&clt->sprite->clipable); clt->sprite = spr; return (false); } struct bunny_sprite *oldsprite = (struct bunny_sprite*)spr; struct bunny_sprite *newsprite = (struct bunny_sprite*)clt->sprite; delete newsprite->texture; delete newsprite->sprite; newsprite->texture = oldsprite->texture; newsprite->tex = oldsprite->tex; newsprite->sprite = oldsprite->sprite; newsprite->res_id = oldsprite->res_id; oldsprite->texture = NULL; oldsprite->tex = NULL; oldsprite->sprite = NULL; oldsprite->res_id = 0; bunny_delete_clipable(&spr->clipable); } return (true); }
31.411765
110
0.691635
Damdoshi
5bbc9a3412b37287ed8fcb2281704c4301529b41
225
cpp
C++
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Solution/1331D.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <stdio.h> #include <string.h> int main() { char a[20]; gets(a); int len=strlen(a); if((a[len-1]-48)%2!=0) { printf("1\n"); } else { printf("0\n"); } return 0; }
13.235294
26
0.431111
Tech-Intellegent
5bbd7208c2480752d8b35039a58d350ff1c306a9
5,360
hpp
C++
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
2
2020-02-11T08:08:00.000Z
2020-11-06T13:51:29.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
13
2020-02-10T19:04:32.000Z
2021-05-25T14:38:30.000Z
addons/remass/CUP.hpp
SynixeContractors/GTArmory
4e00e750d657767342d62291dac37a80f0d33b08
[ "MIT" ]
1
2021-04-24T20:40:31.000Z
2021-04-24T20:40:31.000Z
// 5.45 AK Magazine class CUP_30Rnd_545x39_AK_M: CA_Magazine { mass = 10; }; class CUP_60Rnd_545x39_AK74M_M: CUP_30Rnd_545x39_AK_M { mass = 20; }; // 762 AK Magazine class CUP_30Rnd_762x39_AK47_M: CA_Magazine { mass = 11; }; class CUP_30Rnd_762x39_AK47_bakelite_M: CUP_30Rnd_762x39_AK47_M { mass = 11; }; class CUP_30Rnd_762x39_AKM_bakelite_desert_M: CUP_30Rnd_762x39_AK47_M { mass = 11; }; class CUP_30Rnd_762x39_AK103_bakelite_M: CUP_30Rnd_762x39_AK47_M { mass = 11; }; class CUP_30Rnd_Sa58_M: CUP_30Rnd_762x39_AK47_M { mass = 11; }; // 556 STANAG Magazine class CUP_30Rnd_556x45_Stanag: CA_Magazine { mass = 10; }; class CUP_30Rnd_556x45_Emag: CUP_30Rnd_556x45_Stanag { mass = 10; }; class CUP_30Rnd_556x45_PMAG_QP: CUP_30Rnd_556x45_Stanag { mass = 10; }; class CUP_60Rnd_556x45_SureFire: CUP_30Rnd_556x45_Stanag { mass = 20; }; class CUP_30Rnd_556x45_Stanag_Mk16: CUP_30Rnd_556x45_Stanag { mass = 10; }; class CUP_30Rnd_556x45_Stanag_L85: CUP_30Rnd_556x45_Stanag { mass = 10; }; class CUP_30Rnd_556x45_G36: CUP_30Rnd_556x45_Stanag { mass = 10; }; // Beta-C Magazine class CUP_100Rnd_556x45_BetaCMag: CUP_30Rnd_556x45_Stanag { mass = 30; }; class CUP_30Rnd_556x45_XM8: CUP_30Rnd_556x45_G36 { mass = 10; }; class CUP_30Rnd_556x45_AUG: CUP_30Rnd_556x45_Stanag { mass = 10; }; // 556 AK Magazine class CUP_30Rnd_556x45_AK: CA_Magazine { mass = 10; }; // 762x51 Magazines class CUP_20Rnd_762x51_FNFAL_M: CA_Magazine { mass = 11; }; class CUP_20Rnd_762x51_G3: CA_Magazine { mass = 11; }; class CUP_20Rnd_762x51_L129_M: CA_Magazine { mass = 11; }; class CUP_20Rnd_762x51_B_SCAR: CA_Magazine { mass = 11; }; class CUP_30Rnd_762x51_1_B_SCAR: CA_Magazine { mass = 13; }; class CUP_30Rnd_762x51_2_B_SCAR: CA_Magazine { mass = 13; }; class CUP_50Rnd_762x51_B_SCAR: CA_Magazine { mass = 20; }; class CUP_30Rnd_762x39_CZ807: CA_Magazine { mass = 11; }; class CUP_20Rnd_762x51_HK417: CA_Magazine { mass = 11; }; class CUP_30Rnd_545x39_Fort224_M: CA_Magazine { mass = 10; }; class CUP_30Rnd_556x45_X95: CA_Magazine { mass = 10; }; class CUP_75Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M: CA_Magazine { mass = 25; }; class CUP_75Rnd_TE4_LRT4_Green_Tracer_762x39_RPK_M: CA_Magazine { mass = 25; }; class CUP_40Rnd_TE4_LRT4_Green_Tracer_762x39_RPK_M: CUP_75Rnd_TE4_LRT4_Green_Tracer_762x39_RPK_M { mass = 16; }; class CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M: CA_Magazine { mass = 40; }; class CUP_200Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M: CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M { mass = 80; }; class CUP_200Rnd_TE4_LRT4_Red_Tracer_762x51_Belt_M: CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M { mass = 80; }; class CUP_200Rnd_TE1_LRT4_Red_Tracer_762x51_Belt_M: CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M { mass = 80; }; class CUP_100Rnd_TE4_LRT4_Green_Tracer_762x51_Belt_M: CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M { mass = 40; }; class CUP_100Rnd_TE4_LRT4_Yellow_Tracer_762x51_Belt_M: CUP_100Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M { mass = 40; }; class CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Green_M: CA_Magazine { mass = 40; }; // LMG Magazines class CUP_200Rnd_TE4_Green_Tracer_556x45_M249: CA_Magazine { mass = 40; }; class CUP_100Rnd_TE4_Green_Tracer_556x45_M249: CUP_200Rnd_TE4_Green_Tracer_556x45_M249 { mass = 30; }; class CUP_50Rnd_UK59_762x54R_Tracer: CA_Magazine { mass = 25; }; class CUP_120Rnd_TE4_LRT4_White_Tracer_762x51_Belt_M: CA_Magazine { mass = 48; }; // 9x19 class CUP_64Rnd_Green_Tracer_9x19_Bizon_M: CA_Magazine { mass = 19; }; class CUP_64Rnd_Red_Tracer_9x19_Bizon_M: CA_Magazine { mass = 19; }; class CUP_64Rnd_White_Tracer_9x19_Bizon_M: CA_Magazine { mass = 19; }; class CUP_64Rnd_Yellow_Tracer_9x19_Bizon_M: CA_Magazine { mass = 19; }; class CUP_30Rnd_9x19_MP5: CA_Magazine { mass = 9; }; class CUP_30Rnd_9x19_EVO: CA_Magazine { mass = 9; }; class CUP_30Rnd_9x19_UZI: CA_Magazine { mass = 9; }; class CUP_30Rnd_9x19AP_Vityaz: CA_Magazine { mass = 9; }; class CUP_30Rnd_9x19_Vityaz: CA_Magazine { mass = 9; }; class CUP_40Rnd_46x30_MP7: CA_Magazine { mass = 7; }; class CUP_20Rnd_46x30_MP7: CUP_40Rnd_46x30_MP7 { mass = 3.5; }; class CUP_30Rnd_45ACP_MAC10_M: CA_Magazine { mass = 9; }; class CUP_10Rnd_762x54_SVD_M: CA_Magazine { mass = 8; }; class CUP_20Rnd_762x51_DMR: CA_Magazine { mass = 11; }; class CUP_20Rnd_762x51_B_M110: CA_Magazine { mass = 11; }; // 9x39 Magazines class CUP_30Rnd_9x39_SP5_VIKHR_M: CA_Magazine { mass = 10; };
27.208122
107
0.651679
SynixeContractors
5bc82887e54501ec6502d9ea13c9631ddd38d84f
1,788
hpp
C++
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
8
2020-11-26T08:58:55.000Z
2021-11-13T10:57:55.000Z
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
rmoss_ign_base/include/rmoss_ign_base/lidar_publisher.hpp
robomaster-oss/rmoss_ign
7302d6101489554385e83e2a99237d19f797c5fb
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 RoboMaster-OSS // // 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 RMOSS_IGN_BASE__LIDAR_PUBLISHER_HPP_ #define RMOSS_IGN_BASE__LIDAR_PUBLISHER_HPP_ #include <memory> #include <string> #include <mutex> #include "rclcpp/rclcpp.hpp" #include "ignition/transport/Node.hh" #include "sensor_msgs/msg/laser_scan.hpp" namespace rmoss_ign_base { class LidarPublisher { public: LidarPublisher( rclcpp::Node::SharedPtr ros_node, std::shared_ptr<ignition::transport::Node> ign_node, const std::string & ign_lidar_topic, const std::string & ros_lidar_topic = "scan", int update_rate = 30); ~LidarPublisher() {} void set_frame_id(const std::string & frame_id); private: void ign_lidar_cb(const ignition::msgs::LaserScan & msg); void timer_callback(); private: rclcpp::Node::SharedPtr ros_node_; std::shared_ptr<ignition::transport::Node> ign_node_; // ros pub and sub rclcpp::Publisher<sensor_msgs::msg::LaserScan>::SharedPtr laser_pub_; rclcpp::TimerBase::SharedPtr timer_; // sensor data std::mutex msg_mut_; ignition::msgs::LaserScan laser_msg_; rclcpp::Time laser_msg_time_; std::string frame_id_; bool init_frame_{false}; }; } // namespace rmoss_ign_base #endif // RMOSS_IGN_BASE__LIDAR_PUBLISHER_HPP_
29.311475
75
0.750559
robomaster-oss
5bc82ab3d81ac76d5faeba692edd565987e101a9
509
cpp
C++
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
2
2017-07-06T18:27:41.000Z
2018-03-14T06:19:43.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
18
2017-10-29T20:37:47.000Z
2019-08-25T16:01:28.000Z
UAlbertaBot/Source/strategies/terrain/FourBarracksMarine.cpp
kant2002/ualbertabot
b4c75be8bf023f289f2e58e49ad600a9bda38fcd
[ "MIT" ]
1
2017-09-13T07:02:23.000Z
2017-09-13T07:02:23.000Z
#include "FourBarracksMarine.h" #include "..\..\UnitUtil.h" using UAlbertaBot::MetaPairVector; using UAlbertaBot::MetaPair; using UAlbertaBot::UnitUtil::GetAllUnitCount; AKBot::FourBarracksMarine::FourBarracksMarine(BWAPI::Player self) : _self(self) { } void AKBot::FourBarracksMarine::getBuildOrderGoal(MetaPairVector& goal, int currentFrame) const { int numMarines = GetAllUnitCount(_self, BWAPI::UnitTypes::Terran_Marine); goal.push_back(MetaPair(BWAPI::UnitTypes::Terran_Marine, numMarines + 8)); }
28.277778
95
0.787819
kant2002
5bc8b174cbfb092c780ac0cdfaa72ab30645cdd9
923
hpp
C++
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/app/shady.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/app/shady.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include "app/window.hpp" #include "input/input_listener.hpp" #include "scene/scene.hpp" #include <memory> namespace shady::app { class Shady : public input::InputListener { public: ~Shady() override = default; void Init(); void MainLoop(); // InputListener overrides public: void KeyCallback(const input::KeyEvent& event) override; void MouseButtonCallback(const input::MouseButtonEvent& event) override; void CursorPositionCallback(const input::CursorPositionEvent& event) override; void MouseScrollCallback(const input::MouseScrollEvent& event) override; private: void OnUpdate(); private: // Application settings Window m_window; int32_t m_windowWidth = 1920; int32_t m_windowHeight = 1080; scene::Scene m_currentScene; bool m_active = true; }; } // namespace shady::app
17.75
77
0.670639
JacobDomagala
5bc8cbd7a0d5107c2cce44332aa4e5e09684301d
4,308
cc
C++
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/milad/or_calculator.cc
milad-4274/mediapipe
6c261a16ea078b5e81170f5766b89b7eb2f42c31
[ "Apache-2.0" ]
1
2021-02-02T06:19:24.000Z
2021-02-02T06:19:24.000Z
#include "mediapipe/framework/calculator_framework.h" #include "mediapipe/framework/port/logging.h" // #include "mediapipe/framework/formats/image_frame.h" // #include "mediapipe/framework/formats/image_frame_opencv.h" // #include "mediapipe/gpu/gpu_buffer.h" #if !defined(MEDIAPIPE_DISABLE_GPU) // #include "mediapipe/gpu/gl_calculator_helper.h" // #include "mediapipe/gpu/gl_simple_shaders.h" // #include "mediapipe/gpu/gpu_buffer.h" // #include "mediapipe/gpu/shader_util.h" #endif // !MEDIAPIPE_DISABLE_GPU // #include "mediapipe/framework/port/opencv_highgui_inc.h" // #include "mediapipe/framework/port/opencv_imgproc_inc.h" // #include "mediapipe/framework/port/opencv_video_inc.h" // #include "mediapipe/calculators/tflite/tflite_inference_calculator.pb.h" namespace { constexpr char kInputTag[] = "BOOL"; constexpr char kOutputTag[] = "BOOL"; } //only support gpu currently namespace mediapipe { class OrCalculator : public CalculatorBase { // private: // bool return_bool(CalculatorContext* cc, bool inp); public: OrCalculator(){}; ~OrCalculator(){}; static ::mediapipe::Status GetContract(CalculatorContract* cc) { // cc->Inputs().Tag("TAG_NAME")->set<CLASS_TYPE>(); // cc->Inputs().Tag(kInputTag).Set<mediapipe::ImageFrame>(); LOG(INFO) << "im here open and"; cc->Inputs().Tag(kInputTag).Set<bool>(); for (CollectionItemId id = cc->Inputs().BeginId(); id < cc->Inputs().EndId(); ++id) { auto tag_and_index = cc->Inputs().TagAndIndexFromId(id); std::string tag = tag_and_index.first; if (tag == kInputTag) { cc->Inputs().Get(id).Set<bool>(); } else if (tag.empty()) { LOG(INFO) << "tag with id " << id << " is empty"; cc->Inputs().Get(id).Set<bool>(); } } // cc->Outputs().Tag("TAG_NAME")->set<CLASS_TYPE>(); cc->Outputs().Tag(kOutputTag).Set<bool>(); return ::mediapipe::OkStatus(); } ::mediapipe::Status Open(CalculatorContext *cc) { return ::mediapipe::OkStatus(); } ::mediapipe::Status Process(CalculatorContext *cc) { // LOG(INFO) << "im here in and calculator process"; for (CollectionItemId id = cc->Inputs().BeginId(); id < cc->Inputs().EndId(); ++id) { auto tag_and_index = cc->Inputs().TagAndIndexFromId(id); std::string tag = tag_and_index.first; if (!tag.empty() && tag != kInputTag) { continue; } if (cc->Inputs().Get(id).IsEmpty()) { LOG(INFO) << "tag is empty"; continue; } if (tag.empty()) { // Empty tag defaults to accepting a single object of RenderData type. // const RenderData& render_data = cc->Inputs().Get(id).Get<RenderData>(); // renderer_->RenderDataOnImage(render_data); LOG(INFO) << "tag is empty"; continue; } else { RET_CHECK_EQ(kInputTag, tag); const bool& inp = cc->Inputs().Get(id).Get<bool>(); // LOG(INFO) << "id and value: " << id << inp; if(inp == true) { // this->return_bool(cc,false); std::unique_ptr<bool> output_stream = std::make_unique<bool>(true); cc->Outputs().Tag(kOutputTag).Add(output_stream.release(), cc->InputTimestamp()); return ::mediapipe::OkStatus(); } } } // this->return_bool(cc,true); std::unique_ptr<bool> output_stream = std::make_unique<bool>(false); cc->Outputs().Tag(kOutputTag).Add(output_stream.release(), cc->InputTimestamp()); return ::mediapipe::OkStatus(); } ::mediapipe::Status Close(CalculatorContext *cc) { return ::mediapipe::OkStatus(); } }; REGISTER_CALCULATOR(OrCalculator); }
34.190476
101
0.539461
milad-4274
5bcb04a9abf5ae86e5f923df933b641ce434e06b
940
cpp
C++
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1353/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; typedef unsigned int uint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool flag=c=='-'; flag?(c=getchar()):0; while(i=i*10-'0'+c,isdigit(c=getchar())); return flag?-i:i; } inline uint fpow(uint x,int n){ uint a=1; for(;n;n>>=1,x*=x){ if(n&1){ a*=x; } } return a; } inline int Main(){ uint a=ni; int n=ni,ans=0; if(a&1){ return 1; } uint sed=1u<<n,sed1=sed-1,l=1; uint tb=min((uint)n,sed); for(uint b=1;b<=tb;b++){ l*=a; ans+=(l&sed1)==(fpow(b,a)&sed1); } int tmp=1<<(n/a+(n%a!=0)); return ans+sed/tmp-tb/tmp; } int main(){ #ifndef ONLINE_JUDGE freopen("math.in","r",stdin); freopen("math.out","w",stdout); #endif for(int tot=ni;tot--;printf("%d\n",Main())); return 0; }
18.431373
45
0.610638
sshockwave
5bcd206e9835466a5120b4089c129d50f349fe17
386
cpp
C++
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2019-04-29T08:34:59.000Z
2019-04-29T08:34:59.000Z
cmake/tests/cxx14_variable_templates.cpp
bremerm31/hpx
a9d22b8eb2e443d2e95991da9b1a621f94d4ebaa
[ "BSL-1.0" ]
1
2017-07-24T07:16:26.000Z
2017-07-24T08:03:33.000Z
cmake/tests/cxx14_variable_templates.cpp
biddisco/hpx
2d244e1e27c6e014189a6cd59c474643b31fad4b
[ "BSL-1.0" ]
1
2019-03-13T04:53:43.000Z
2019-03-13T04:53:43.000Z
// Copyright (C) 2017 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) struct true_type { enum { value = 1; } } template <typename T> struct is_foobar : true_type {}; template <typename T> constexpr bool is_foobar_v = is_foobar<T>::value; int main() {}
21.444444
80
0.709845
bremerm31
5bd1983220b8653b058e44faf0c7964ae1015047
1,672
cpp
C++
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
4
2019-05-20T19:27:09.000Z
2019-11-03T04:21:53.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
5
2019-05-21T12:56:22.000Z
2019-06-23T21:33:33.000Z
tools/sources/cws80_data_plot.cpp
jpcima/cws80
ce37a49caed50a4b7baccfed288c2f5555af91c7
[ "BSL-1.0" ]
null
null
null
#include "cws80_data_plot.h" #include "utility/dynarray.h" #include "utility/scope_guard.h" #include "utility/c++std/string_view.h" #include <memory> namespace cws80 { static std::string escape(cxx::string_view str) { size_t len = str.size(); std::string result; result.reserve(len * 2); for (size_t i = 0; i < len; ++i) { char buf[8]; uint nchars = sprintf(buf, "\\%.3o", (u8)str[i]); result.append(buf, nchars); } return result; } bool plot_waves(const Wave waves[], const char *titles[], uint count) { FILE *gp = popen("gnuplot -d", "w"); if (!gp) return false; SCOPE(exit) { pclose(gp); }; fputs("set terminal wxt size 1024,480\n", gp); fprintf(gp, "set xrange [0:1]\n"); fputs("plot", gp); for (uint i = 0; i < count; ++i) fprintf(gp, "%s '-' using 1:2 title \"%s\" with lines", (i == 0) ? "" : ",", escape(titles[i]).c_str()); fputc('\n', gp); for (uint i = 0; i < count; ++i) { Sample sample = wave_sample(waves[i]); for (uint i = 0, n = sample.length(); i < n; ++i) fprintf(gp, "%f %d\n", i / (f64)(n - 1), (int)sample.data[i] - 128); fputs("e\n", gp); } fputs("pause mouse close\n", gp); fflush(gp); return true; } bool plot_waveset(Waveset waveset) { Wave waves[16]; dynarray<const char *> names(16); dynarray<char> namebuf(16 * 16); for (uint i = 0; i < 16; ++i) { uint id = waveset.wavenum[i]; waves[i] = wave_by_id(id); names[i] = wave_name(id, &namebuf[i * 16]); } return plot_waves(waves, names.data(), 16); } } // namespace cws80
26.125
80
0.546053
jpcima
5bd806f42789913af748eb5eeb16f939325577bf
344
hpp
C++
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-04-24T10:04:37.000Z
2018-05-11T08:27:03.000Z
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
null
null
null
calibration/src/Windows/ProjectionWindow.hpp
fbredius/IMOVE
912b4d0696e88acfc0ce7bc556eecf8fc423c4d3
[ "MIT" ]
3
2018-05-16T08:44:19.000Z
2020-12-04T16:04:32.000Z
#include <opencv2/opencv.hpp> #include "../../../util/src/OpenCVWindow.hpp" #include "../../../util/src/Projection.hpp" class ProjectionWindow : public OpenCVWindow { public: ProjectionWindow(cv::Point2i position, cv::Size size, Projection& projection); void drawImage(cv::Mat image_camera); protected: Projection& projection; };
22.933333
80
0.715116
fbredius
5bd82e7c893eca589657ac7020b43b620c7bbaba
4,694
cpp
C++
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
bluedroid/BluetoothA2dpHALInterface.cpp
luisivan/bt-serialport-fxos
ec0e99ccb78e900fca4679cd58fbcceca5c0f661
[ "MIT" ]
null
null
null
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "BluetoothA2dpHALInterface.h" #include "BluetoothHALHelpers.h" BEGIN_BLUETOOTH_NAMESPACE typedef BluetoothHALInterfaceRunnable0<BluetoothA2dpResultHandler, void> BluetoothA2dpHALResultRunnable; typedef BluetoothHALInterfaceRunnable1<BluetoothA2dpResultHandler, void, BluetoothStatus, BluetoothStatus> BluetoothA2dpHALErrorRunnable; static nsresult DispatchBluetoothA2dpHALResult( BluetoothA2dpResultHandler* aRes, void (BluetoothA2dpResultHandler::*aMethod)(), BluetoothStatus aStatus) { MOZ_ASSERT(aRes); nsRunnable* runnable; if (aStatus == STATUS_SUCCESS) { runnable = new BluetoothA2dpHALResultRunnable(aRes, aMethod); } else { runnable = new BluetoothA2dpHALErrorRunnable(aRes, &BluetoothA2dpResultHandler::OnError, aStatus); } nsresult rv = NS_DispatchToMainThread(runnable); if (NS_FAILED(rv)) { BT_WARNING("NS_DispatchToMainThread failed: %X", rv); } return rv; } // Notification handling // static BluetoothA2dpNotificationHandler* sA2dpNotificationHandler; struct BluetoothA2dpHALCallback { class A2dpNotificationHandlerWrapper { public: typedef BluetoothA2dpNotificationHandler ObjectType; static ObjectType* GetInstance() { MOZ_ASSERT(NS_IsMainThread()); return sA2dpNotificationHandler; } }; // Notifications typedef BluetoothNotificationHALRunnable2< A2dpNotificationHandlerWrapper, void, BluetoothA2dpConnectionState, nsString, BluetoothA2dpConnectionState, const nsAString&> ConnectionStateNotification; typedef BluetoothNotificationHALRunnable2< A2dpNotificationHandlerWrapper, void, BluetoothA2dpAudioState, nsString, BluetoothA2dpAudioState, const nsAString&> AudioStateNotification; // Bluedroid A2DP callbacks static void ConnectionState(btav_connection_state_t aState, bt_bdaddr_t* aBdAddr) { ConnectionStateNotification::Dispatch( &BluetoothA2dpNotificationHandler::ConnectionStateNotification, aState, aBdAddr); } static void AudioState(btav_audio_state_t aState, bt_bdaddr_t* aBdAddr) { AudioStateNotification::Dispatch( &BluetoothA2dpNotificationHandler::AudioStateNotification, aState, aBdAddr); } }; // Interface // BluetoothA2dpHALInterface::BluetoothA2dpHALInterface( const btav_interface_t* aInterface) : mInterface(aInterface) { MOZ_ASSERT(mInterface); } BluetoothA2dpHALInterface::~BluetoothA2dpHALInterface() { } void BluetoothA2dpHALInterface::Init( BluetoothA2dpNotificationHandler* aNotificationHandler, BluetoothA2dpResultHandler* aRes) { static btav_callbacks_t sCallbacks = { sizeof(sCallbacks), BluetoothA2dpHALCallback::ConnectionState, BluetoothA2dpHALCallback::AudioState }; sA2dpNotificationHandler = aNotificationHandler; bt_status_t status = mInterface->init(&sCallbacks); if (aRes) { DispatchBluetoothA2dpHALResult(aRes, &BluetoothA2dpResultHandler::Init, ConvertDefault(status, STATUS_FAIL)); } } void BluetoothA2dpHALInterface::Cleanup(BluetoothA2dpResultHandler* aRes) { mInterface->cleanup(); if (aRes) { DispatchBluetoothA2dpHALResult(aRes, &BluetoothA2dpResultHandler::Cleanup, STATUS_SUCCESS); } } void BluetoothA2dpHALInterface::Connect(const nsAString& aBdAddr, BluetoothA2dpResultHandler* aRes) { bt_status_t status; bt_bdaddr_t bdAddr; if (NS_SUCCEEDED(Convert(aBdAddr, bdAddr))) { status = mInterface->connect(&bdAddr); } else { status = BT_STATUS_PARM_INVALID; } if (aRes) { DispatchBluetoothA2dpHALResult( aRes, &BluetoothA2dpResultHandler::Connect, ConvertDefault(status, STATUS_FAIL)); } } void BluetoothA2dpHALInterface::Disconnect(const nsAString& aBdAddr, BluetoothA2dpResultHandler* aRes) { bt_status_t status; bt_bdaddr_t bdAddr; if (NS_SUCCEEDED(Convert(aBdAddr, bdAddr))) { status = mInterface->disconnect(&bdAddr); } else { status = BT_STATUS_PARM_INVALID; } if (aRes) { DispatchBluetoothA2dpHALResult( aRes, &BluetoothA2dpResultHandler::Disconnect, ConvertDefault(status, STATUS_FAIL)); } } END_BLUETOOTH_NAMESPACE
25.372973
80
0.722625
luisivan
5be2ffad3758934f15928b7bb11b0380c0c2bdb4
638
cpp
C++
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
source/fileRemove.cpp
Linux-pt/escan-backup
bfaed321201e512974e70c305beba53892428efc
[ "Unlicense" ]
null
null
null
#include<stdio.h> #include<string> #include<string.h> #include<iostream> #include<stdlib.h> #include<signal.h> #include<unistd.h> #include<sqlite3.h> #include<signal.h> #include"HandleSigint.h" #include"fileRemove.h" using namespace std; /*this function will remove files after year*/ extern sqlite3 *db; void fileRemove(char *unzip) { //WriteLogForlibmwshare(2,"fileRemove started" ); signal(SIGINT, HandleSigint); signal(SIGTERM, HandleSigint); char file_name_remove[1024]=""; sprintf(file_name_remove,"/tmpdata/escanAV/escanIncremental/%s",unzip); remove(file_name_remove); //WriteLogForlibmwshare(2,"fileRemove ended" ); }
22
72
0.760188
Linux-pt
5be410cbc70bb1984ca3c0ecc7a8ef02d9c55287
1,907
cpp
C++
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
4. Inheritance/8.InheritedPrivateVaribles.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* write a program to demonstrate private inherited variables access permission */ #include <iostream> using namespace std; class A { private: int id; public: A(): id(0) { cout << "Calling from A" << endl; } public: A(int p_id): id(p_id) { } public: int GetId() { return id; } }; class B: public A { private: int count; public: B(): count(0) { cout << "Calling from B" << endl; } public: B(int p_id, int p_count): A(p_id), count(p_count) { } public: int GetCount() { return count; } }; class C: public B { private: double cost; public: C(): cost(0) { cout << "Calling from C" << endl; } public: C(int p_id, int p_count, double p_cost): B(p_id, p_count), cost(p_cost) { // now this code will just work fine // here we call the constructor of the inherited class } public: double GetCost() { return cost; } public: double GetTotalCost() { return cost * count; // this statement will give you error, because you can't access inherited // private variables // this is also true for assigning values within constructor } }; int main(int argc, char const *argv[]) { C derived(1, 5, 20); cout << "Id: " << derived.GetId() << endl; cout << "Number of Item: " << derived.GetCount() << endl; cout << "Cost: " << derived.GetCost() << endl; cout << "Total Cost: " << derived.GetTotalCost() << endl; return 0; } /* derived class can access public inherited variables easily that's why they can also assign inherited public variables but thing's get little complex when you try to access private inherited variables derived class can't access private inherited variables, this will generate error that's why it also can't assign inherited private variables it can call inherit class constructor from the initializer list to initialize inherited private variables */
17.82243
97
0.65076
Imran4424
5bea5f5e6bf1779dc4096ee2588acd72e2ed5184
383
cpp
C++
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
Codeforces/545D - Queue.cpp
wgarcia1309/competitive-programming
a1788c8a7cbddaa753c2f468859581c1bac9e322
[ "MIT" ]
null
null
null
//545D - Queue #include<stdio.h> #include <algorithm> using namespace std; int main(){ int n; int que[100000],p=0; scanf("%d",&n); for(int i=0;i<n;i++)scanf("%d",&que[i]); sort(que,que+n); long long suma=0; for(int i=0;i<n;i++){ if(suma<=que[i]){ p++; suma+=que[i]; } } printf("%d",p); return 0; }
17.409091
44
0.462141
wgarcia1309
5bf1edef9eff26c7e93c255bced0cf2f11366586
1,800
cpp
C++
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
1
2016-10-18T02:29:20.000Z
2016-10-18T02:29:20.000Z
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
lzma/lzma922/CPP/Common/StringToInt.cpp
LiveMirror/uncompression
2cdef0ed9c6281b2c0542a9d17441dd0f551ed4d
[ "Apache-2.0" ]
null
null
null
// Common/StringToInt.cpp #include "StdAfx.h" #include "StringToInt.h" UInt64 ConvertStringToUInt64(const char *s, const char **end) { UInt64 result = 0; for (;;) { char c = *s; if (c < '0' || c > '9') { if (end != NULL) *end = s; return result; } result *= 10; result += (c - '0'); s++; } } UInt64 ConvertOctStringToUInt64(const char *s, const char **end) { UInt64 result = 0; for (;;) { char c = *s; if (c < '0' || c > '7') { if (end != NULL) *end = s; return result; } result <<= 3; result += (c - '0'); s++; } } UInt64 ConvertHexStringToUInt64(const char *s, const char **end) { UInt64 result = 0; for (;;) { char c = *s; UInt32 v; if (c >= '0' && c <= '9') v = (c - '0'); else if (c >= 'A' && c <= 'F') v = 10 + (c - 'A'); else if (c >= 'a' && c <= 'f') v = 10 + (c - 'a'); else { if (end != NULL) *end = s; return result; } result <<= 4; result |= v; s++; } } UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end) { UInt64 result = 0; for (;;) { wchar_t c = *s; if (c < '0' || c > '9') { if (end != NULL) *end = s; return result; } result *= 10; result += (c - '0'); s++; } } Int64 ConvertStringToInt64(const char *s, const char **end) { if (*s == '-') return -(Int64)ConvertStringToUInt64(s + 1, end); return ConvertStringToUInt64(s, end); } Int64 ConvertStringToInt64(const wchar_t *s, const wchar_t **end) { if (*s == L'-') return -(Int64)ConvertStringToUInt64(s + 1, end); return ConvertStringToUInt64(s, end); }
18.367347
68
0.46
LiveMirror
5bff29986e5e26f27a8f4a9811d4b3a62c335423
194
cpp
C++
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
BASIC-14/main.cpp
codexvn/lanqiao
16fbbecaa4e0f042dd2d402469aeda552149a1f7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int H,M,S,time; cin>>time; H=time/3600; time%=3600; M=time/60; time%=60; S=time; cout<<H<<':'<<M<<':'<<S; return 0; }
12.933333
26
0.541237
codexvn
7502e62de121ada92a815e67c913fb52a43ed365
1,624
inl
C++
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
117
2019-03-18T20:09:54.000Z
2022-03-27T22:40:52.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
443
2019-04-07T19:59:56.000Z
2020-05-23T12:25:28.000Z
src/ECS/entitiesTemplateStorage.inl
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
19
2019-03-20T19:57:34.000Z
2020-11-21T15:35:02.000Z
namespace ph { template<typename T, typename... Args> void EntitiesTemplateStorage::assign(const std::string& templateName, Args&&... arguments) { auto entityTemplate = mTemplatesMap.at(templateName); mTemplatesRegistry.assign<T>(entityTemplate, arguments...); } template<typename T, typename... Args> void EntitiesTemplateStorage::assign(entt::entity& templateEntity, Args&&... arguments) { mTemplatesRegistry.assign<T>(templateEntity, arguments...); } template<typename T, typename... Args> void EntitiesTemplateStorage::assign_or_replace(const std::string& templateName, Args&&... arguments) { auto entityTemplate = mTemplatesMap.at(templateName); mTemplatesRegistry.assign_or_replace<T>(entityTemplate, arguments...); } template<typename T, typename... Args> void EntitiesTemplateStorage::assign_or_replace(entt::entity& templateEntity, Args&&... arguments) { mTemplatesRegistry.assign_or_replace<T>(templateEntity, arguments...); } template<typename T> bool EntitiesTemplateStorage::has(entt::entity& templateEntity) { return mTemplatesRegistry.has<T>(templateEntity); } template<typename T> bool EntitiesTemplateStorage::has(const std::string& templateName) { auto templateEntity = mTemplatesMap.at(templateName); return mTemplatesRegistry.has<T>(templateEntity); } template<typename T> T EntitiesTemplateStorage::get(const std::string& templateName) { auto entityTemplate = mTemplatesMap.at(templateName); return mTemplatesRegistry.get<T>(entityTemplate); } template<typename T> T EntitiesTemplateStorage::get(entt::entity& templateEntity) { return mTemplatesRegistry.get<T>(templateEntity); } }
29
101
0.78633
MirrasHue
75043a97fd2b37be88b853d11ae47972b47c2e83
3,204
cpp
C++
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
libs/base/src/logger.cpp
blagodarin/yttrium
534289c3082355e5537a03c0b5855b60f0c344ad
[ "Apache-2.0" ]
null
null
null
// This file is part of the Yttrium toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include <yttrium/base/logger.h> #include "ring_log.h" #include <atomic> #include <cassert> #include <condition_variable> #include <iostream> #include <mutex> #include <thread> namespace { static_assert(Yt::Logger::MaxMessageSize == Yt::RingLog::MaxStringSize); std::atomic<bool> _global_logger_created{ false }; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) std::atomic<Yt::LoggerPrivate*> _global_logger_private{ nullptr }; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables) } namespace Yt { class LoggerPrivate { public: [[nodiscard]] static std::unique_ptr<LoggerPrivate> create(std::function<void(std::string_view)>&& callback) { bool expected = false; return _global_logger_created.compare_exchange_strong(expected, true) ? std::make_unique<LoggerPrivate>(std::move(callback)) : nullptr; } explicit LoggerPrivate(std::function<void(std::string_view)>&& callback) //-V730 : _thread{ [this, cb = std::move(callback)] { run(cb ? cb : [](std::string_view message) { std::cerr << message << '\n'; }); } } { _global_logger_private = this; } ~LoggerPrivate() noexcept { _global_logger_private = nullptr; { std::scoped_lock lock{ _mutex }; _stop = true; } _flushed.notify_all(); _can_process.notify_one(); _thread.join(); _global_logger_created = false; } void flush() noexcept { std::unique_lock lock{ _mutex }; ++_flushing; _flushed.wait(lock, [this] { return (_ring_log.empty() && !_processing) || _stop; }); --_flushing; } void push(std::string_view message) noexcept { { std::scoped_lock lock{ _mutex }; const auto need_notify = _ring_log.empty() && !_processing && !_flushing; _ring_log.push(message); if (!need_notify) return; } _can_process.notify_one(); } private: void run(const std::function<void(std::string_view)>& callback) { std::string message; for (std::unique_lock lock{ _mutex };;) { _can_process.wait(lock, [this] { return !_ring_log.empty() || _stop; }); if (_stop && _ring_log.empty()) break; assert(!_ring_log.empty()); _ring_log.pop(message); _processing = true; lock.unlock(); callback(message); lock.lock(); _processing = false; if (_flushing > 0 && _ring_log.empty()) { lock.unlock(); _flushed.notify_all(); lock.lock(); } } } private: std::mutex _mutex; bool _stop = false; bool _processing = false; size_t _flushing = 0; std::condition_variable _can_process; std::condition_variable _flushed; RingLog _ring_log; std::thread _thread; }; Logger::Logger(std::function<void(std::string_view)>&& callback) : _private{ LoggerPrivate::create(std::move(callback)) } { } Logger::~Logger() noexcept = default; void Logger::flush() noexcept { if (const auto logger = _global_logger_private.load()) logger->flush(); } void Logger::write(std::string_view message) noexcept { if (const auto logger = _global_logger_private.load()) logger->push(message); } }
24.458015
131
0.669164
blagodarin
7506eb9c65e13225df00efd8f07260a6c9016d1f
512
hpp
C++
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-datastructures-tgetclassofmember.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <[email protected]> // Created by Grigore Stefan <[email protected]> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #define XYO_DATASTRUCTURES_TGETCLASSOFMEMBER_HPP #ifndef XYO__DEPENDENCY_HPP #include "xyo--dependency.hpp" #endif namespace XYO { namespace DataStructures { template<typename T, typename X> T TGetClassOfMember(X T::*); }; }; #endif
18.285714
63
0.703125
g-stefan
750723c6225ceb501ee7042e102824b9504268d1
3,801
cpp
C++
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
16
2017-02-28T20:03:06.000Z
2021-01-25T05:27:05.000Z
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
null
null
null
include/comm/metastream/metastream.cpp
Outerra/anteworld
7c95cd0a4c53937c7572387333a00f8542ebf236
[ "Unlicense" ]
7
2019-09-25T17:48:51.000Z
2021-10-05T08:43:37.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is COID/comm module. * * The Initial Developer of the Original Code is * PosAm. * Portions created by the Initial Developer are Copyright (C) 2006 * the Initial Developer. All Rights Reserved. * * Contributor(s): * Brano Kemen * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ #include "metastream.h" #include "../local.h" #include "../hash/hashkeyset.h" #include "../log/logger.h" COID_NAMESPACE_BEGIN //////////////////////////////////////////////////////////////////////////////// void metastream::warn_obsolete(const token& name) { (_err = "warning: obsolete variable '") << name << '\''; fmt_error(false); coidlog_warning("metastream", _err); } //////////////////////////////////////////////////////////////////////////////// struct SMReg { typedef hash_keyset<MetaDesc,_Select_Copy<MetaDesc,token>> map_t; map_t _map; dynarray<local<MetaDesc>> _anon; }; //////////////////////////////////////////////////////////////////////////////// void metastream::structure_map::get_all_types( dynarray<const MetaDesc*>& dst ) const { SMReg& smr = *(SMReg*)pimpl; SMReg::map_t::const_iterator b,e; b = smr._map.begin(); e = smr._map.end(); dst.reset(); dst.reserve( smr._map.size(), false ); for(; b!=e; ++b ) *dst.add() = &(*b); } //////////////////////////////////////////////////////////////////////////////// metastream::structure_map::structure_map() { pimpl = new SMReg; } //////////////////////////////////////////////////////////////////////////////// metastream::structure_map::~structure_map() { delete (SMReg*)pimpl; pimpl = 0; } //////////////////////////////////////////////////////////////////////////////// MetaDesc* metastream::structure_map::insert( MetaDesc&& v ) { SMReg& smr = *(SMReg*)pimpl; return (MetaDesc*) smr._map.insert_value(std::forward<MetaDesc>(v)); } //////////////////////////////////////////////////////////////////////////////// MetaDesc* metastream::structure_map::insert_anon() { SMReg& smr = *(SMReg*)pimpl; return (*smr._anon.add() = new MetaDesc()).ptr(); } //////////////////////////////////////////////////////////////////////////////// MetaDesc* metastream::structure_map::find( const token& k ) const { const SMReg& smr = *(const SMReg*)pimpl; const MetaDesc* md = smr._map.find_value(k); return (MetaDesc*)md; } COID_NAMESPACE_END
32.487179
85
0.572481
Outerra
750e410c6d3a5070660bcb480b0dbca3cf91cdc3
3,073
cxx
C++
207_course_schedule/207_course_schedule.cxx
MonikaBhasin7/leetcode
a771c38242413e3ac0aacf08db43917bbc564765
[ "MIT" ]
12
2019-09-20T18:16:42.000Z
2022-01-08T23:58:16.000Z
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
null
null
null
207_course_schedule/207_course_schedule.cxx
Mogileeswaran/leetcode
532d6f88b65440a81c4bb0985d3688eee6414ac8
[ "MIT" ]
3
2019-10-08T21:26:31.000Z
2021-09-18T13:29:38.000Z
// Copyright (c) 2018-2019 Philip Deljanov // // 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 <vector> using namespace std; class Solution { public: enum class State { Unvisited = 0, Visited, Recursing, }; bool checkCycle(vector<vector<int>>& prereqs, vector<State>& states, int i) { // If the course is currently part of the recursion tree and is being checked again, // then a cycle is present. if(states[i] == State::Recursing) { return true; } // If the course is unvisited, the course pre-requisite(s) must be traversed to // detect cycles. else if(states[i] == State::Unvisited) { // Mark the course as part of the recursion tree. states[i] = State::Recursing; for(int prereq : prereqs[i]) { if(checkCycle(prereqs, states, prereq)) { return true; } } // Course is no longer being recursed, but it is has been visited. states[i] = State::Visited; } return false; } bool canFinish(int numCourses, vector<vector<int>>& prerequisites) { vector<vector<int>> prereqs(numCourses); vector<State> states(numCourses, State::Unvisited); // Convert edge-list to a sparse adjacency matrix. for(auto& pair : prerequisites) { int course = pair[0]; int prereq = pair[1]; prereqs[course].push_back(prereq); } // Check for cycles starting at the first course. If other courses are incidently visited // while checking a course, then those courses have been implicitly checked for cycles and // can be safely skipped. for(int i = 0; i < prereqs.size(); ++i) { if(states[i] == State::Visited) { continue; } if(checkCycle(prereqs, states, i)) { return false; } } return true; } };
35.321839
98
0.627075
MonikaBhasin7
750e9a995ec127b04ba7b8b5c066e87f225ae54a
1,023
hpp
C++
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/function_impl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/function_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_FUNCTION_IMPL_HPP_INCLUDED #define FCPPT_FUNCTION_IMPL_HPP_INCLUDED #include <fcppt/function_decl.hpp> #include <fcppt/config/external_begin.hpp> #include <memory> #include <utility> #include <fcppt/config/external_end.hpp> template <typename Ret, typename... Args> template <typename F> fcppt::function<Ret(Args...)>::function(F _function) : impl_{_function} { } template <typename Ret, typename... Args> template <typename F, typename Alloc> fcppt::function<Ret(Args...)>::function( std::allocator_arg_t const _allocator_arg, Alloc const &_alloc, F _function) : impl_(_allocator_arg, _alloc, _function) { } template <typename Ret, typename... Args> Ret fcppt::function<Ret(Args...)>::operator()(Args... _args) const { return impl_(std::forward<Args>(_args)...); } #endif
28.416667
80
0.72825
freundlich
75137404f640283d792df4e96e99350df1ea95c5
5,511
hh
C++
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
3
2021-05-19T14:33:59.000Z
2022-03-14T02:12:47.000Z
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
null
null
null
src/sparse_tool/interfaces/UMF.hh
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
1
2020-01-24T15:10:34.000Z
2020-01-24T15:10:34.000Z
/*--------------------------------------------------------------------------*\ | | | SparseTool : DRIVER FOR TESTING THE TOOLKIT INTERFACING WITH UMFPACK | | | | date : 2008, 6 May | | version : 1.0.1 | | file : SparseTool_Umf.hh | | authors : Enrico Bertolazzi | | affiliations : Dipartimento di Ingegneria Industriale | | Universita` degli Studi di Trento | | email: [email protected] | | | \*--------------------------------------------------------------------------*/ #ifndef SPARSETOOL_UMF_HH #define SPARSETOOL_UMF_HH #include "../sparse_tool.hh" #include <umfpack.h> #include <complex> namespace SparseTool { template <typename T> class UMF { public: typedef int integer; typedef T real_type; private: // for UMF ===================== real_type Info[UMFPACK_INFO]; real_type Control[UMFPACK_CONTROL]; void * Symbolic; void * Numeric; // for UMF ===================== END CColMatrix<T> A_stored; public: UMF() : Symbolic(nullptr) , Numeric(nullptr) { /* get the default control parameters */ umfpack_di_defaults( Control ); /* change the default print level for this demo */ /* (otherwise, nothing will print) */ Control[UMFPACK_PRL] = 6; } ~UMF() { umfpack_di_free_numeric(&Numeric); Numeric = nullptr; umfpack_di_free_symbolic(&Symbolic); Symbolic = nullptr; } template <typename MT> int load( Sparse<T,MT> const & Mat ) { if ( Numeric != nullptr ) { umfpack_di_free_numeric(&Numeric); Numeric = nullptr; } if ( Symbolic != nullptr ) { umfpack_di_free_symbolic(&Symbolic); Symbolic = nullptr; } A_stored = Mat; int status = umfpack_di_symbolic( A_stored.numRows(), A_stored.numCols(), (int const *)&A_stored.getC().front(), (int const *)&A_stored.getI().front(), &A_stored.getA().front(), &Symbolic, Control, Info ); if (status < 0) { umfpack_di_report_info( Control, Info ) ; umfpack_di_report_status( Control, status ) ; } status = umfpack_di_numeric( (int const *)&A_stored.getC().front(), (int const *)&A_stored.getI().front(), &A_stored.getA().front(), Symbolic, &Numeric, Control, Info ); if ( status < 0 ) { umfpack_di_report_info( Control, Info ); umfpack_di_report_status( Control, status ); } // Free un-wanted storage umfpack_di_free_symbolic( &Symbolic ); return status; } int solve( Vector<T> const & b, Vector<T> & x, bool transpose = false ) { return this->solve( &b.front(), &x.front(), transpose ); } int solve( real_type const b[], real_type x[], bool transpose = false ) { int status = umfpack_di_solve ( (transpose ? UMFPACK_At : UMFPACK_A), (int const *)&A_stored.getC().front(), (int const *)&A_stored.getI().front(), &A_stored.getA().front(), x, b, Numeric, Control, Info ); if ( status < 0 ) { umfpack_di_report_info( Control, Info ); umfpack_di_report_status( Control, status ); } return status; } }; /* // ### # # # // # # # # // # # # # // # # # # // # # # # // # # # # // ### ####### ##### */ /*! \class UMFpreconditioner \brief Incomplete \c LU preconditioner */ template <typename T> class UMFpreconditioner : public Preco<UMFpreconditioner<T> > { public: // \cond NODOC typedef UMFpreconditioner<T> UMFPRECO; typedef Preco<UMFPRECO> PRECO; // \endcond typedef T valueType; //!< type of the element of the preconditioner typedef typename return_trait<T>::valueType realType; private: mutable UMF<T> ILU; public: UMFpreconditioner(void) : Preco<UMFPRECO>() {} template <typename MAT> UMFpreconditioner( MAT const & M, realType const dropTolerance ) : Preco<UMFPRECO>() { ILU.load( M, dropTolerance ); } //! build the preconditioner from matrix \c M template <typename MAT> void build( MAT const & M, realType const dropTolerance ) { ILU.load( M, dropTolerance ); } //! apply preconditioner to vector \c v and store result to vector \c res template <typename VECTOR> void assPreco( VECTOR & res, VECTOR const & v ) const { ILU.solve( v, res, false ); } }; //! \cond NODOC template <typename T, typename TP> inline Vector_V_div_P<Vector<T>,UMFpreconditioner<TP> > operator / (Vector<T> const & v, UMFpreconditioner<TP> const & P) { return Vector_V_div_P<Vector<T>,UMFpreconditioner<TP> >(v,P); } //! \endcond } namespace SparseToolLoad { using ::SparseTool::UMF; using ::SparseTool::UMFpreconditioner; } #endif
27.147783
89
0.506986
ceccocats
75141c854073599766c07027f50bbc9989a95064
3,883
hpp
C++
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
1
2019-05-17T05:00:37.000Z
2019-05-17T05:00:37.000Z
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
null
null
null
include/jvm.hpp
lem0nez/apm
2e0cffca83f5061f548abf053bf39be69027a823
[ "Apache-2.0" ]
2
2019-05-17T13:00:26.000Z
2019-08-08T11:40:52.000Z
/* * Copyright © 2021 Nikita Dudko. All rights reserved. * Contacts: <[email protected]> * Licensed under the Apache License, Version 2.0 */ #pragma once #include <cstddef> #include <functional> #include <memory> #include <stdexcept> #include <string> #include <string_view> #include <utility> #include <vector> #include <jni/jni.hpp> #include "sdk.hpp" namespace jvm_tools { using flags_t = std::byte; static constexpr flags_t JAVAC{1U}, D8{1U << 1U}, APKSIGNER{1U << 2U}, ALL{JAVAC | D8 | APKSIGNER}; } class java_error : public std::runtime_error { public: explicit java_error(const std::string_view what_arg): runtime_error(std::string(what_arg)) {} }; /* * IMPORTANT NOTES: * 1. due to JNI limitations, only one JVM can be created per a process; * 2. tools must only be called from a thread that instantiated Jvm. */ class Jvm { using tool_t = auto (const std::vector<std::string>& args, std::string& out, std::string& err) const -> int; public: // Throws an exception on failure. Jvm(jvm_tools::flags_t init_tools, std::shared_ptr<const Sdk> sdk); ~Jvm(); Jvm(const Jvm&) = delete; auto operator=(const Jvm&) -> Jvm& = delete; Jvm(Jvm&&) = default; auto operator=(Jvm&&) -> Jvm& = default; // If a tool isn't initialized by the // constructor, runtime_error will be thrown. tool_t javac, d8, apksigner; private: struct Throwable { static constexpr auto Name() { return "java/lang/Throwable"; } }; struct InputStream { static constexpr auto Name() { return "java/io/InputStream"; } }; struct OutputStream { static constexpr auto Name() { return "java/io/OutputStream"; } }; struct JavaCompiler { static constexpr auto Name() { return "javax/tools/JavaCompiler"; } }; struct Output { static constexpr auto Name() { return "com/github/lem0nez/apm/Output"; } }; struct Tool { static constexpr auto Name() { return "com/github/lem0nez/apm/Tool"; } }; static constexpr auto JNI_VERSION{JNI_VERSION_1_8}; // Redirects Java's standard output streams. void redirect_output(); void set_security_manager() const; void init_javac(); void init_android_tools( jvm_tools::flags_t tools, std::shared_ptr<const Sdk> sdk); [[nodiscard]] auto make_args(const std::vector<std::string>& args) const -> jni::Local<jni::Array<jni::String>>; void reset_output() const; // Assigns captured outputs since the last reset_output call. void get_output(std::string& out, std::string& err) const; // If PendingJavaException will be caught, java_error with the // provided error message and exception details will be thrown. template<typename R> auto safe_java_exec( const std::function<R()>& fun, std::string_view err_msg) const -> R; // Returns options pair of minimum and maximum heap sizes. [[nodiscard]] static auto get_heap_opts() -> std::pair<std::string, std::string>; // Memory management isn't required, since // content of this pointers are owned by JNI. jni::JavaVM* m_vm{}; jni::JNIEnv* m_env{}; jni::Local<jni::Class<Output>> m_output; std::unique_ptr<const jni::StaticMethod<Output, void()>> m_output_reset; std::unique_ptr<const jni::StaticMethod<Output, jni::String()>> m_output_get_out, m_output_get_err; jni::Local<jni::Object<JavaCompiler>> m_javac_obj; using javac_run_t = jni::jint( // Parameters: in, out, err, arguments. jni::Object<InputStream>, jni::Object<OutputStream>, jni::Object<OutputStream>, jni::Array<jni::String>); std::unique_ptr<const jni::Method<JavaCompiler, javac_run_t>> m_javac_run; jni::Local<jni::Object<Tool>> m_d8_obj, m_apksigner_obj; std::unique_ptr<const jni::Method<Tool, jni::jint(jni::Array<jni::String>)>> m_tool_run; }; #include "jvm.inl"
29.416667
77
0.679887
lem0nez
75166c6ae44d0e14e858b02a5b7a8807cb73d6e4
648
cpp
C++
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
test/2020/Day05PuzzleTests.cpp
MarkRDavison/AdventOfCode
640ae6de76709367be8dfeb86b9f1f7d21908946
[ "MIT" ]
null
null
null
#include <catch/catch.hpp> #include <2020/Day05Puzzle.hpp> namespace TwentyTwenty { TEST_CASE("Day 5 getSeatInfo works", "[2020][Day05]") { const auto indexes = Day05Puzzle::getSeatInfo("FBFBBFFRLR"); REQUIRE(44 == indexes.row); REQUIRE(5 == indexes.column); REQUIRE(357 == indexes.seatId); } TEST_CASE("Day 5 Part 1 Example work", "[2020][Day05]") { const std::vector<std::string> input = { "BFFFBBFRRR", "FFFBBBFRRR", "BBFFBBFRLL" }; Day05Puzzle puzzle{}; puzzle.setVerbose(true); puzzle.setInputLines(input); auto answers = puzzle.fastSolve(); REQUIRE("820" == answers.first); } }
20.25
62
0.648148
MarkRDavison
7518c409840daa6eb4498fd901ce4eeccaf7d95d
1,146
cpp
C++
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part12/prog12_2.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <initializer_list> #include <string> #include <memory> using namespace std; class StrBlob { public: typedef vector<string>::size_type size_type; StrBlob(): data(make_shared<vector<string>>()) { }; StrBlob(initializer_list<string> il): data(make_shared<vector<string>>(il)) { }; size_type size() const { return data->size(); } bool empty() const { return data->empty(); } void push_back(const string &t) { data->push_back(t); } void pop_back(){ check(0, "pop_back on empty StrBlob"); data->pop_back(); } string& front(){ check(0, "front on empty StrBlob"); return data->front(); } string& back(){ check(0, "back on empty StrBlob"); return data->back(); } const string& back() const{ check(0, "back on empty StrBlob"); return data->back(); } const string& front() const{ check(0, "front on empty StrBlob"); return data->front(); } private: shared_ptr<vector<string>> data; void check(size_type i, const string &msg) const{ if(i >= data->size()) throw out_of_range(msg); } }; //int main(){}
22.038462
57
0.630017
Links789
752318ebdaf95cddb8d6023cbdf05e11e4832007
6,885
hpp
C++
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/utility/core/src/Utility_TetrahedronHelpers.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file Utility_TetrahedronHelpers.hpp //! \author Alex Robinson, Eli Moll //! \brief Tetrahedron helper functions //! //---------------------------------------------------------------------------// #ifndef UTILITY_TETRAHEDRON_HELPERS_HPP #define UTILITY_TETRAHEDRON_HELPERS_HPP // Trilinos Includes #include <Teuchos_SerialDenseMatrix.hpp> // Moab Includes #include <moab/CartVect.hpp> #include <moab/Matrix3.hpp> namespace Utility{ //! Calculate the volume of a tetrahedron double calculateTetrahedronVolume( const double vertex_a[3], const double vertex_b[3], const double vertex_c[3], const double reference_vertex[3] ); //! Calculate the volume of a tetrahedron double calculateTetrahedronVolume( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex ); //! Calculate tetrahedron barycentric transform matrix template<typename Matrix> void calculateBarycentricTransformMatrix( const double vertex_a[3], const double vertex_b[3], const double vertex_c[3], const double reference_vertex[3], Matrix& matrix ); //! Calculate tetrahedron barycentric transform matrix template<typename Matrix> void calculateBarycentricTransformMatrix( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex, Matrix& matrix ); //! Calculate tetrahedron barycentric transform matrix template<> void calculateBarycentricTransformMatrix<moab::Matrix3>( const double vertex_a[3], const double vertex_b[3], const double vertex_c[3], const double reference_vertex[3], moab::Matrix3& matrix ); //! Calculate tetrahedron barycentric transform matrix void calculateBarycentricTransformMatrix( const double vertex_a[3], const double vertex_b[3], const double vertex_c[3], const double reference_vertex[3], double transform_arrays[9] ); //! Calculate the volume of a tetrahedron void calculateBarycentricTransformMatrix( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex, double transform_arrays[9] ); //! Return if a point is in a tet template<typename TestPoint, typename ReferencePoint, typename Matrix> bool isPointInTet( const TestPoint& point, const ReferencePoint& reference_vertex, const Matrix& matrix, const double tol = 1e-6 ); //! Return if a point is in a tet template<typename TestPoint, typename ReferencePoint> bool isPointInTet( const TestPoint& point, const ReferencePoint& reference_vertex, const double barycentric_array[9] ); // Calculate the volume of a tetrahedron inline double calculateTetrahedronVolume( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex ) { return calculateTetrahedronVolume( vertex_a.array(), vertex_b.array(), vertex_c.array(), reference_vertex.array() ); } // Calculate tetrahedron barycentric transform matrix template<typename Matrix> inline void calculateBarycentricTransformMatrix( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex, Matrix& matrix ) { calculateBarycentricTransformMatrix( vertex_a.array(), vertex_b.array(), vertex_c.array(), reference_vertex.array(), matrix ); } // Calculate tetrahedron barycentric transform matrix inline void calculateBarycentricTransformMatrix( const double vertex_a[3], const double vertex_b[3], const double vertex_c[3], const double reference_vertex[3], double transform_arrays[9] ) { // Create temporary matrix Teuchos::SerialDenseMatrix<int,double> tmp_matrix( 3, 3 ); calculateBarycentricTransformMatrix( vertex_a, vertex_b, vertex_c, reference_vertex, tmp_matrix ); // Copy the matrix into the array transform_arrays[0] = tmp_matrix( 0, 0 ); transform_arrays[1] = tmp_matrix( 0, 1 ); transform_arrays[2] = tmp_matrix( 0, 2 ); transform_arrays[3] = tmp_matrix( 1, 0 ); transform_arrays[4] = tmp_matrix( 1, 1 ); transform_arrays[5] = tmp_matrix( 1, 2 ); transform_arrays[6] = tmp_matrix( 2, 0 ); transform_arrays[7] = tmp_matrix( 2, 1 ); transform_arrays[8] = tmp_matrix( 2, 2 ); } // Calculate the volume of a tetrahedron inline void calculateBarycentricTransformMatrix( const moab::CartVect& vertex_a, const moab::CartVect& vertex_b, const moab::CartVect& vertex_c, const moab::CartVect& reference_vertex, double transform_arrays[9] ) { return calculateBarycentricTransformMatrix( vertex_a.array(), vertex_b.array(), vertex_c.array(), reference_vertex.array(), transform_arrays ); } // Return if a point is in a tet template<typename TestPoint, typename ReferencePoint> inline bool isPointInTet( const TestPoint& point, const ReferencePoint& reference_vertex, double barycentric_array[9] ) { // Create temporary matrix Teuchos::SerialDenseMatrix<int,double> tmp_matrix( 3, 3 ); tmp_matrix( 0, 0 ) = barycentric_array[0]; tmp_matrix( 0, 1 ) = barycentric_array[1]; tmp_matrix( 0, 2 ) = barycentric_array[2]; tmp_matrix( 1, 0 ) = barycentric_array[3]; tmp_matrix( 1, 1 ) = barycentric_array[4]; tmp_matrix( 1, 2 ) = barycentric_array[5]; tmp_matrix( 2, 0 ) = barycentric_array[6]; tmp_matrix( 2, 1 ) = barycentric_array[7]; tmp_matrix( 2, 2 ) = barycentric_array[8]; return isPointInTet( point, reference_vertex, tmp_matrix ); } } // end Utility namespace //---------------------------------------------------------------------------// // Template Includes. //---------------------------------------------------------------------------// #include "Utility_TetrahedronHelpers_def.hpp" //---------------------------------------------------------------------------// #endif // end UTILITY_TETRAHEDRON_HELPERS_HPP //---------------------------------------------------------------------------// // end Utility_TetrahedronHelpers.hpp //---------------------------------------------------------------------------//
35.673575
80
0.620625
lkersting
970cb03d6ee4217ba5ea5004c6fcebc2d5abdc5e
2,718
hpp
C++
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
180
2017-09-11T00:44:36.000Z
2022-03-25T09:23:47.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
109
2015-01-19T07:33:38.000Z
2017-08-12T00:29:13.000Z
include/Pothos/Archive/ArchiveEntry.hpp
lsbharadwaj/PothosCore
02b3491ed06f23924a4c749f35b7fade88b81a14
[ "BSL-1.0" ]
32
2017-09-20T10:47:29.000Z
2022-03-24T06:13:03.000Z
/// /// \file Archive/ArchiveEntry.hpp /// /// Library storage for archive entries. /// Entries are used for polymorphic factories. /// /// \copyright /// Copyright (c) 2016-2017 Josh Blum /// SPDX-License-Identifier: BSL-1.0 /// #pragma once #include <Pothos/Config.hpp> #include <Pothos/Archive/StreamArchiver.hpp> #include <type_traits> #include <typeinfo> #include <iosfwd> #include <string> namespace Pothos { namespace Archive { /*! * Base class for an archive entry. * Stores and ID and overloads for polymorphic support. */ class POTHOS_API ArchiveEntry { public: //! Create and register an entry given the type and unique ID ArchiveEntry(const std::type_info &type, const std::string &id); //! Virtual destructor for derived type classes virtual ~ArchiveEntry(void); //! Save a pointer to the archive in a derived class virtual void save(OStreamArchiver &ar, const void *t) const = 0; //! Load a pointer from the archive in a derived class virtual void *load(IStreamArchiver &ar) const = 0; //! Lookup the entry given the type info or throw if not found static const ArchiveEntry &find(const std::type_info &type); //! Lookup the entry given the unique id or throw if not found static const ArchiveEntry &find(const std::string &id); //! Lookup the entry given the the id hash or throw if not found static const ArchiveEntry &find(const unsigned long long &hash); //! Get the associated unique ID const std::string &getId(void) const; //! Get a reproducible hash for this entry const unsigned long long &getHash(void) const; private: const std::string _id; const unsigned long long _hash; }; /*! * Archive entry for specific types. * When instantiated, the library can * save, create, and load this type. */ template <typename T> struct ArchiveEntryT : ArchiveEntry { ArchiveEntryT(const std::string &id); void save(OStreamArchiver &ar, const void *t) const; void *load(IStreamArchiver &ar) const; }; } //namespace Archive } //namespace Pothos inline const std::string &Pothos::Archive::ArchiveEntry::getId(void) const { return _id; } inline const unsigned long long &Pothos::Archive::ArchiveEntry::getHash(void) const { return _hash; } template <typename T> Pothos::Archive::ArchiveEntryT<T>::ArchiveEntryT(const std::string &id): ArchiveEntry(typeid(T), id) { return; } template <typename T> void Pothos::Archive::ArchiveEntryT<T>::save(OStreamArchiver &ar, const void *t) const { ar << (*static_cast<const T *>(t)); } template <typename T> void *Pothos::Archive::ArchiveEntryT<T>::load(IStreamArchiver &ar) const { T *t = new T(); ar >> *t; return t; }
24.486486
86
0.69794
lsbharadwaj
9711cbf792a9b7244e3a13751f0ad904f5f13f7d
253
cpp
C++
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi20 nguyen dinh trung duc/implement/bai 11 1352C.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/* bai 11 1352 C */ #include<stdio.h> #include<math.h> int so(int n, int k){ return (k + floor(k - 1) / (n - 1)); } int main(){ int T; scanf("%d",&T); while(T--){ int n,k; scanf("%d%d",&n,&k); printf("%d\n", so(n, k)); } return 0; }
14.055556
37
0.478261
ducyb2001
971299468b75fc123ae03dff111f16d042561e6f
1,096
hpp
C++
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
2
2020-05-04T15:19:33.000Z
2020-05-22T21:49:47.000Z
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
tests/TST_baseSocket/helper/SocketImpl.hpp
embtom/networkAdapter-
cdb5f11a0033773223e4298995c10b164ba53b64
[ "MIT" ]
null
null
null
#include <BaseSocket.hpp> #include <sys/socket.h> using namespace EtNet; class CSocketImpl : public EtNet::CBaseSocket { public: CSocketImpl() = default; CSocketImpl(EtNet::ESocketMode opMode) : CBaseSocket(opMode) {} EtNet::ESocketMode testSocketMode() { int type, domain; int length = sizeof( int ); int fd = getFd(); getsockopt( fd, SOL_SOCKET, SO_TYPE, &type, (socklen_t*)&length); getsockopt( fd, SOL_SOCKET, SO_DOMAIN, &domain, (socklen_t*)&length); if ((type == SOCK_DGRAM) && (domain == PF_INET)) { return ESocketMode::INET_DGRAM; } else if ((type == SOCK_STREAM) && (domain == PF_INET)) { return ESocketMode::INET_STREAM; } else if ((type == SOCK_DGRAM) && (domain == PF_INET6)) { return ESocketMode::INET6_DGRAM; } else if ((type == SOCK_STREAM) && (domain == PF_INET6)) { return ESocketMode::INET6_STREAM; } else { return ESocketMode::NO_MODE; } } };
24.355556
77
0.557482
embtom
9715ac81c1e685e6887f766760088de5dc2472e9
4,247
cpp
C++
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-02-05T13:49:09.000Z
2022-02-05T13:49:09.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
1
2022-03-15T06:54:37.000Z
2022-03-16T05:31:24.000Z
DL/model_config.cpp
dhkdnduq/dnn_c
a85c057eb5ebf838ba5294aa6a2608f492e23c68
[ "MIT" ]
null
null
null
#include "pch.h" #include "model_config.h" #include "json/json.h" template <typename T> vector<T> tokenize(const string& data, const char delimiter) { vector<T> result; std::string token; std::stringstream ss(data); while (getline(ss, token, delimiter)) { if (std::is_same_v<T, float>) result.push_back(std::stof(token)); else if (std::is_same_v<T, double>) result.push_back(std::stod(token)); else if (std::is_same_v<T, int>) result.push_back(std::stoi(token)); } return result; } model_config::model_config() { dnn_width = 224; dnn_height = 224; dnn_chnnel = 3; dnn_scale_div = 255.; threshold = 0.5f; } bool model_config::load_config(string configpath) { std::ifstream ifs; ifs.open(configpath, ios_base::in); if (!ifs.is_open()) return false; stringstream ss; string errors; ss << ifs.rdbuf(); Json::CharReaderBuilder builder; std::unique_ptr<Json::CharReader> const reader(builder.newCharReader()); Json::Value root; if (reader->parse(ss.str().c_str(), ss.str().c_str() + ss.str().length(), &root, &errors)) { Json::Value& jcommon = root["common"]; if (jcommon) { this->dnn_width = std::stoi(jcommon.get("width", "100").asString().c_str()); this->dnn_height =std::stoi(jcommon.get("height", "100").asString().c_str()); this->dnn_scale_div =std::stof(jcommon.get("scale_div", "1").asString().c_str()); this->dnn_chnnel = std::stoi(jcommon.get("chn", "3").asString().c_str()); this->modelFileName = jcommon["model_path"].asString(); this->threshold =std::stof(jcommon.get("threshold", "0.5").asString().c_str()); this->iou_threshold =std::stof(jcommon.get("iou_threshold", "0.5").asString().c_str()); this->batchSize = std::stoi(jcommon.get("batchsize", "1").asString().c_str()); this->is_use_mean_sub = jcommon.get("mean_sub_enable", "false").asString() == "true" ? true : false; string s_mean = jcommon.get("mean", "0.5,0.5,0.5").asString(); this->mean = tokenize<double>(s_mean,','); string s_std = jcommon.get("std", "0.5,0.5,0.5").asString(); this->std = tokenize<double>(s_std, ','); } Json::Value& jyolact = root["yolact"]; if (jyolact) { this->fp16 = jyolact.get("fp16", "false").asString() == "true" ? true : false; this->yolact_max_size = std::stoi(jyolact.get("max_size", "550").asString()); this->yolact_min_size = std::stoi(jyolact.get("min_size", "200").asString()); } Json::Value& janomaly = root["anomaly"]; anomaly_feature.clear(); order_of_feature_index_to_batch.clear(); if (janomaly) { this->anomalyEnable = janomaly.get("enable", "false").asString() == "true" ? true : false; string s_order_index = janomaly.get("order_of_feature_index_to_batch", "0").asString(); this->order_of_feature_index_to_batch = tokenize<int>(s_order_index, ','); for(auto featit :janomaly["features"]) { anomaly_var anomaly_temp; anomaly_temp.anomalyFeatureFileName = featit.get("feature", "").asString(); anomaly_temp.anomalyMaxScore = std::stof(featit.get("max_score", "32").asString().c_str()); anomaly_temp.anomalyMinScore = std::stof(featit.get("min_score", "7").asString().c_str()); anomaly_temp.anomalyThreshold = std::stof(featit.get("threshold", "20").asString().c_str()); anomaly_temp.batch_idx = std::stoi(featit.get("index", "0").asString().c_str()); auto jdef_threshold = featit["defect_extraction"]; if (jdef_threshold) { anomaly_temp.defect_extraction_enable = jdef_threshold.get("enable", "false").asString() == "true" ? true : false; anomaly_temp.defect_extraction_threshold = std::stof( jdef_threshold.get("threshold", "0.8").asString().c_str()); anomaly_temp.defect_extraction_jud_area_ratio = std::stof( jdef_threshold.get("judge_area_ratio", "8").asString().c_str()); } anomaly_feature.push_back(anomaly_temp); } } ifs.close(); } else { return false; } return true; }
35.099174
107
0.61879
dhkdnduq
9715f950c7d0dfec6cfed867e052a4f75942baef
1,282
cpp
C++
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
2
2019-06-28T08:07:18.000Z
2019-06-28T09:11:00.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
1
2019-08-26T09:13:39.000Z
2019-08-26T09:13:39.000Z
source/base/CommonFunc.cpp
hana-alice/GraphicsRenderer
66e8052b1cb1c1f3b37592f22c69558843b48517
[ "MIT" ]
null
null
null
#ifdef _WIN64 || _WIN32 #include <windows.h> #elif __APPLE__ #include "TargetConditionals.h" #if TARGET_OS_IPHONE && TARGET_IPHONE_SIMULATOR // define something for simulator #elif TARGET_OS_IPHONE // define something for iphone #else #define TARGET_OS_OSX 1 // define something for OSX #endif #elif __linux #include <limits.h> #include <unistd.h> #elif __unix // all unices not caught above // Unix #elif __posix // POSIX #endif #include "CommonFunc.h" using namespace std; static const int Maxpath = 128; string CommonFunc::getCurrentDirectory() { #ifdef _WIN64 || _WIN32 char result[Maxpath]; return string( result, GetModuleFileName( NULL, result, Maxpath) ); #elif __linux char result[Maxpath]; ssize_t count = readlink( "/proc/self/exe", result, Maxpath); return string( result, (count > 0) ? count : 0 ); #endif } string CommonFunc::getResourceDirectory() { std::string str = getCurrentDirectory(); #ifdef _WIN64 || _WIN32 str = str.substr(0, str.find_last_of("/\\")); str = str.substr(0, str.find_last_of("/\\")); #elif __linux str = str.substr(0, str.find_last_of("/")); str = str.substr(0, str.find_last_of("/")); #endif return str; }
25.137255
71
0.653666
hana-alice
97214b83a74b0f043d57a6df8a4bceac33d44a54
1,759
hh
C++
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
3
2016-10-05T17:57:53.000Z
2021-01-13T04:12:20.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
2
2019-08-23T12:05:46.000Z
2019-08-23T12:24:31.000Z
Source/Shape/CircleUtilities.hh
vibraphone/Delaunay
9be71fd06f6ded522de28cedc718e70b7ceee6c4
[ "BSD-3-Clause" ]
4
2018-01-26T05:20:00.000Z
2022-03-30T21:59:55.000Z
/****************************************************************************** This source file is part of the Delaunay project. Copyright T.J. Corona This source code is released under the New BSD License, (the "License"). 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 DELAUNAY_SHAPE_CIRCLEUTILITIES_HH #define DELAUNAY_SHAPE_CIRCLEUTILITIES_HH #include <tuple> #include "Shape/Export.hh" namespace Delaunay { namespace Shape { class Circle; class LineSegment; class Point; class Triangle; // Does the point lie within the circle? DELAUNAYSHAPE_EXPORT bool Contains(const Circle&, const Point&); // Does the circle intersect with the line segment? DELAUNAYSHAPE_EXPORT bool Intersect(const Circle&, const LineSegment&); // Does the line segment intersect with the circle? DELAUNAYSHAPE_EXPORT bool Intersect(const LineSegment&, const Circle&); // Does the circle intersect with the triangle? DELAUNAYSHAPE_EXPORT bool Intersect(const Circle&, const Triangle&); // Does the triangle intersect with the circle? DELAUNAYSHAPE_EXPORT bool Intersect(const Triangle&, const Circle&); // Do a line segment and a circle intersect? If so, how many times and where? DELAUNAYSHAPE_EXPORT std::tuple<unsigned, Point, Point> Intersection(const LineSegment&, const Circle&); DELAUNAYSHAPE_EXPORT std::tuple<unsigned, Point, Point> Intersection(const Circle&, const LineSegment&); } } #endif
28.370968
83
0.715179
vibraphone
972496eac115fa86f80f44223afdb4486f3ae126
53
hxx
C++
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
1
2020-03-13T20:56:48.000Z
2020-03-13T20:56:48.000Z
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
src/interfaces/python/opengm/inference/pyMpBased.hxx
amueller/opengm
bf2d0c611ade9bbf1d2ae537fee0df4cb6553777
[ "Unlicense" ]
null
null
null
template<class GM,class ACC> void export_mp_based();
17.666667
28
0.792453
amueller
9725a8400863d68e0996631352808776e194afe9
898
cpp
C++
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
mettaursp/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
1
2021-01-17T13:05:20.000Z
2021-01-17T13:05:20.000Z
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
GameEngine/CoreEngine/CoreEngine/src/TerrainTypes.cpp
suddenly-games/SuddenlyGames
e2ff1c2771d4ca54824650e4f1a33a527536ca61
[ "Apache-2.0" ]
null
null
null
#include "TerrainTypes.h" namespace TerrainTypes { std::shared_ptr<Status> Status::Unloaded() { static Status status; static std::shared_ptr<Status> state(&status, [] (void*) {}); status.State = Enum::ChunkStatus::Unloaded; return state; } float VoxelData::GetOccupancy() const { if (Data & 0x8000) return 1; else return float(Occupancy) / 0x100; } void VoxelData::SetOccupancy(float occupancy) { if (occupancy > float(0xFF) / float(0x100)) Data |= 0x8000; else { Data &= 0x7FFF; Occupancy = char(occupancy * float(0x100)); } } int VoxelData::GetDataIndex() const { return Data & 0xFFF; } void VoxelData::SetDataIndex(int index) { Data &= 0x8000; Data |= index; } VoxelData& VoxelData::operator=(const VoxelData& other) { Occupancy = other.Occupancy; MaterialData = other.MaterialData; Data = other.Data; return *this; } }
16.943396
63
0.664811
mettaursp
9725f9a2ff65e05b46379a1bdd7fa6886c9a76c8
1,018,452
cpp
C++
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
src/main_8500.cpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshHandles #include "UnityEngine/ProBuilder/MeshHandles.hpp" // Including type: UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/MeshHandles_--c.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: System.Collections.Generic.ICollection`1 #include "System/Collections/Generic/ICollection_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<UnityEngine.Vector3> s_Vector2List System::Collections::Generic::List_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::MeshHandles::_get_s_Vector2List() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_s_Vector2List"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<UnityEngine::Vector3>*>("UnityEngine.ProBuilder", "MeshHandles", "s_Vector2List")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<UnityEngine.Vector3> s_Vector2List void UnityEngine::ProBuilder::MeshHandles::_set_s_Vector2List(System::Collections::Generic::List_1<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_s_Vector2List"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "s_Vector2List", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<UnityEngine.Vector3> s_Vector3List System::Collections::Generic::List_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::MeshHandles::_get_s_Vector3List() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_s_Vector3List"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<UnityEngine::Vector3>*>("UnityEngine.ProBuilder", "MeshHandles", "s_Vector3List")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<UnityEngine.Vector3> s_Vector3List void UnityEngine::ProBuilder::MeshHandles::_set_s_Vector3List(System::Collections::Generic::List_1<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_s_Vector3List"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "s_Vector3List", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<UnityEngine.Vector4> s_Vector4List System::Collections::Generic::List_1<UnityEngine::Vector4>* UnityEngine::ProBuilder::MeshHandles::_get_s_Vector4List() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_s_Vector4List"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<UnityEngine::Vector4>*>("UnityEngine.ProBuilder", "MeshHandles", "s_Vector4List")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<UnityEngine.Vector4> s_Vector4List void UnityEngine::ProBuilder::MeshHandles::_set_s_Vector4List(System::Collections::Generic::List_1<UnityEngine::Vector4>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_s_Vector4List"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "s_Vector4List", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<System.Int32> s_IndexList System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::MeshHandles::_get_s_IndexList() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_s_IndexList"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<int>*>("UnityEngine.ProBuilder", "MeshHandles", "s_IndexList")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<System.Int32> s_IndexList void UnityEngine::ProBuilder::MeshHandles::_set_s_IndexList(System::Collections::Generic::List_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_s_IndexList"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "s_IndexList", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<System.Int32> s_SharedVertexIndexList System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::MeshHandles::_get_s_SharedVertexIndexList() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_s_SharedVertexIndexList"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<int>*>("UnityEngine.ProBuilder", "MeshHandles", "s_SharedVertexIndexList")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<System.Int32> s_SharedVertexIndexList void UnityEngine::ProBuilder::MeshHandles::_set_s_SharedVertexIndexList(System::Collections::Generic::List_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_s_SharedVertexIndexList"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "s_SharedVertexIndexList", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector2 k_Billboard0 UnityEngine::Vector2 UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard0"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector2>("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard0")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector2 k_Billboard0 void UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard0(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard0"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard0", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector2 k_Billboard1 UnityEngine::Vector2 UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard1"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector2>("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard1")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector2 k_Billboard1 void UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard1(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard1"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard1", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector2 k_Billboard2 UnityEngine::Vector2 UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard2"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector2>("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard2")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector2 k_Billboard2 void UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard2(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard2"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard2", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector2 k_Billboard3 UnityEngine::Vector2 UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_get_k_Billboard3"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector2>("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard3")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector2 k_Billboard3 void UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard3(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::_set_k_Billboard3"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles", "k_Billboard3", value)); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles..cctor void UnityEngine::ProBuilder::MeshHandles::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateFaceMesh void UnityEngine::ProBuilder::MeshHandles::CreateFaceMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateFaceMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateFaceMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateEdgeMesh void UnityEngine::ProBuilder::MeshHandles::CreateEdgeMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateEdgeMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateEdgeMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateEdgeMesh void UnityEngine::ProBuilder::MeshHandles::CreateEdgeMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target, ::Array<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateEdgeMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateEdgeMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target), ::il2cpp_utils::ExtractType(edges)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target, edges); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateVertexMesh void UnityEngine::ProBuilder::MeshHandles::CreateVertexMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateVertexMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateVertexMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateVertexMesh void UnityEngine::ProBuilder::MeshHandles::CreateVertexMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateVertexMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateVertexMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target), ::il2cpp_utils::ExtractType(indexes)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target, indexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreatePointMesh void UnityEngine::ProBuilder::MeshHandles::CreatePointMesh(::Array<UnityEngine::Vector3>* positions, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreatePointMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreatePointMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, indexes, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreatePointBillboardMesh void UnityEngine::ProBuilder::MeshHandles::CreatePointBillboardMesh(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreatePointBillboardMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreatePointBillboardMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreatePointBillboardMesh void UnityEngine::ProBuilder::MeshHandles::CreatePointBillboardMesh(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreatePointBillboardMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreatePointBillboardMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, indexes, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateEdgeBillboardMesh void UnityEngine::ProBuilder::MeshHandles::CreateEdgeBillboardMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateEdgeBillboardMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateEdgeBillboardMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles.CreateEdgeBillboardMesh void UnityEngine::ProBuilder::MeshHandles::CreateEdgeBillboardMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::Mesh* target, System::Collections::Generic::ICollection_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::CreateEdgeBillboardMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles", "CreateEdgeBillboardMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(target), ::il2cpp_utils::ExtractType(edges)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, target, edges); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/MeshHandles_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::MeshHandles::$$c* UnityEngine::ProBuilder::MeshHandles::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshHandles::$$c*>("UnityEngine.ProBuilder", "MeshHandles/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::MeshHandles::$$c::_set_$$9(UnityEngine::ProBuilder::MeshHandles::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__9_0 System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* UnityEngine::ProBuilder::MeshHandles::$$c::_get_$$9__9_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::_get_$$9__9_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>*>("UnityEngine.ProBuilder", "MeshHandles/<>c", "<>9__9_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__9_0 void UnityEngine::ProBuilder::MeshHandles::$$c::_set_$$9__9_0(System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::_set_$$9__9_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshHandles/<>c", "<>9__9_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::MeshHandles::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshHandles/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshHandles/UnityEngine.ProBuilder.<>c.<CreateFaceMesh>b__9_0 System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::MeshHandles::$$c::$CreateFaceMesh$b__9_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshHandles::$$c::<CreateFaceMesh>b__9_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<CreateFaceMesh>b__9_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshUtility #include "UnityEngine/ProBuilder/MeshUtility.hpp" // Including type: UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/MeshUtility_--c.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" // Including type: System.Collections.IList #include "System/Collections/IList.hpp" // Including type: UnityEngine.GameObject #include "UnityEngine/GameObject.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.MeshTopology #include "UnityEngine/MeshTopology.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.GeneratePerTriangleMesh ::Array<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::MeshUtility::GeneratePerTriangleMesh(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::GeneratePerTriangleMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "GeneratePerTriangleMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Vertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.GenerateTangent void UnityEngine::ProBuilder::MeshUtility::GenerateTangent(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::GenerateTangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "GenerateTangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.DeepCopy UnityEngine::Mesh* UnityEngine::ProBuilder::MeshUtility::DeepCopy(UnityEngine::Mesh* source) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::DeepCopy"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "DeepCopy", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(source)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Mesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, source); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.CopyTo void UnityEngine::ProBuilder::MeshUtility::CopyTo(UnityEngine::Mesh* source, UnityEngine::Mesh* destination) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::CopyTo"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "CopyTo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(source), ::il2cpp_utils::ExtractType(destination)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, source, destination); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.Print ::Il2CppString* UnityEngine::ProBuilder::MeshUtility::Print(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::Print"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "Print", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.GetIndexCount uint UnityEngine::ProBuilder::MeshUtility::GetIndexCount(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::GetIndexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "GetIndexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<uint, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.GetPrimitiveCount uint UnityEngine::ProBuilder::MeshUtility::GetPrimitiveCount(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::GetPrimitiveCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "GetPrimitiveCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<uint, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.Compile void UnityEngine::ProBuilder::MeshUtility::Compile(UnityEngine::ProBuilder::ProBuilderMesh* probuilderMesh, UnityEngine::Mesh* targetMesh, UnityEngine::MeshTopology preferredTopology) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::Compile"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "Compile", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(probuilderMesh), ::il2cpp_utils::ExtractType(targetMesh), ::il2cpp_utils::ExtractType(preferredTopology)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, probuilderMesh, targetMesh, preferredTopology); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.GetVertices ::Array<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::MeshUtility::GetVertices(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::GetVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "GetVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Vertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.CollapseSharedVertices void UnityEngine::ProBuilder::MeshUtility::CollapseSharedVertices(UnityEngine::Mesh* mesh, ::Array<UnityEngine::ProBuilder::Vertex*>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::CollapseSharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "CollapseSharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(vertices)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, vertices); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.SanityCheck ::Il2CppString* UnityEngine::ProBuilder::MeshUtility::SanityCheck(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::SanityCheck"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "SanityCheck", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.SanityCheck ::Il2CppString* UnityEngine::ProBuilder::MeshUtility::SanityCheck(UnityEngine::Mesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::SanityCheck"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "SanityCheck", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility.SanityCheck ::Il2CppString* UnityEngine::ProBuilder::MeshUtility::SanityCheck(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::SanityCheck"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility", "SanityCheck", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/MeshUtility_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::MeshUtility::$$c* UnityEngine::ProBuilder::MeshUtility::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshUtility::$$c*>("UnityEngine.ProBuilder", "MeshUtility/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::MeshUtility::$$c::_set_$$9(UnityEngine::ProBuilder::MeshUtility::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshUtility/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Vertex,System.Int32>,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Vertex>> <>9__10_0 System::Func_2<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Vertex*, int>*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Vertex*>*>* UnityEngine::ProBuilder::MeshUtility::$$c::_get_$$9__10_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::_get_$$9__10_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Vertex*, int>*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Vertex*>*>*>("UnityEngine.ProBuilder", "MeshUtility/<>c", "<>9__10_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Vertex,System.Int32>,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Vertex>> <>9__10_0 void UnityEngine::ProBuilder::MeshUtility::$$c::_set_$$9__10_0(System::Func_2<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Vertex*, int>*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Vertex*>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::_set_$$9__10_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshUtility/<>c", "<>9__10_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::MeshUtility::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "MeshUtility/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshUtility/UnityEngine.ProBuilder.<>c.<CollapseSharedVertices>b__10_0 System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::MeshUtility::$$c::$CollapseSharedVertices$b__10_0(System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Vertex*, int>* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshUtility::$$c::<CollapseSharedVertices>b__10_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<CollapseSharedVertices>b__10_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Vertex*>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Normal #include "UnityEngine/ProBuilder/Normal.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3 <normal>k__BackingField UnityEngine::Vector3& UnityEngine::ProBuilder::Normal::dyn_$normal$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::dyn_$normal$k__BackingField"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<normal>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector4 <tangent>k__BackingField UnityEngine::Vector4& UnityEngine::ProBuilder::Normal::dyn_$tangent$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::dyn_$tangent$k__BackingField"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<tangent>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::Vector4*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3 <bitangent>k__BackingField UnityEngine::Vector3& UnityEngine::ProBuilder::Normal::dyn_$bitangent$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::dyn_$bitangent$k__BackingField"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<bitangent>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Normal.get_normal UnityEngine::Vector3 UnityEngine::ProBuilder::Normal::get_normal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::get_normal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_normal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Normal.set_normal void UnityEngine::ProBuilder::Normal::set_normal(UnityEngine::Vector3 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::set_normal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_normal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Normal.get_tangent UnityEngine::Vector4 UnityEngine::ProBuilder::Normal::get_tangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::get_tangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_tangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector4, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Normal.set_tangent void UnityEngine::ProBuilder::Normal::set_tangent(UnityEngine::Vector4 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::set_tangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_tangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Normal.get_bitangent UnityEngine::Vector3 UnityEngine::ProBuilder::Normal::get_bitangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::get_bitangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_bitangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Normal.set_bitangent void UnityEngine::ProBuilder::Normal::set_bitangent(UnityEngine::Vector3 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::set_bitangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_bitangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Normal.Equals bool UnityEngine::ProBuilder::Normal::Equals(UnityEngine::ProBuilder::Normal other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.Normal.Equals bool UnityEngine::ProBuilder::Normal::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.Normal.GetHashCode int UnityEngine::ProBuilder::Normal::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Normal.op_Equality bool UnityEngine::ProBuilder::operator ==(const UnityEngine::ProBuilder::Normal& a, const UnityEngine::ProBuilder::Normal& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normal", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated method: UnityEngine.ProBuilder.Normal.op_Inequality bool UnityEngine::ProBuilder::operator !=(const UnityEngine::ProBuilder::Normal& a, const UnityEngine::ProBuilder::Normal& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normal::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normal", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Normals #include "UnityEngine/ProBuilder/Normals.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private UnityEngine.Vector3[] s_SmoothAvg ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::Normals::_get_s_SmoothAvg() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_get_s_SmoothAvg"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<UnityEngine::Vector3>*>("UnityEngine.ProBuilder", "Normals", "s_SmoothAvg")); } // Autogenerated static field setter // Set static field: static private UnityEngine.Vector3[] s_SmoothAvg void UnityEngine::ProBuilder::Normals::_set_s_SmoothAvg(::Array<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_set_s_SmoothAvg"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Normals", "s_SmoothAvg", value)); } // Autogenerated static field getter // Get static field: static private System.Single[] s_SmoothAvgCount ::Array<float>* UnityEngine::ProBuilder::Normals::_get_s_SmoothAvgCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_get_s_SmoothAvgCount"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<float>*>("UnityEngine.ProBuilder", "Normals", "s_SmoothAvgCount")); } // Autogenerated static field setter // Set static field: static private System.Single[] s_SmoothAvgCount void UnityEngine::ProBuilder::Normals::_set_s_SmoothAvgCount(::Array<float>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_set_s_SmoothAvgCount"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Normals", "s_SmoothAvgCount", value)); } // Autogenerated static field getter // Get static field: static private System.Int32[] s_CachedIntArray ::Array<int>* UnityEngine::ProBuilder::Normals::_get_s_CachedIntArray() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_get_s_CachedIntArray"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<int>*>("UnityEngine.ProBuilder", "Normals", "s_CachedIntArray")); } // Autogenerated static field setter // Set static field: static private System.Int32[] s_CachedIntArray void UnityEngine::ProBuilder::Normals::_set_s_CachedIntArray(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::_set_s_CachedIntArray"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Normals", "s_CachedIntArray", value)); } // Autogenerated method: UnityEngine.ProBuilder.Normals..cctor void UnityEngine::ProBuilder::Normals::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normals", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Normals.ClearIntArray void UnityEngine::ProBuilder::Normals::ClearIntArray(int count) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::ClearIntArray"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normals", "ClearIntArray", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(count)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, count); } // Autogenerated method: UnityEngine.ProBuilder.Normals.CalculateTangents void UnityEngine::ProBuilder::Normals::CalculateTangents(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::CalculateTangents"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normals", "CalculateTangents", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.Normals.CalculateHardNormals void UnityEngine::ProBuilder::Normals::CalculateHardNormals(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::CalculateHardNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normals", "CalculateHardNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.Normals.CalculateNormals void UnityEngine::ProBuilder::Normals::CalculateNormals(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Normals::CalculateNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Normals", "CalculateNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.PivotPoint #include "UnityEngine/ProBuilder/PivotPoint.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PivotPoint Center UnityEngine::ProBuilder::PivotPoint UnityEngine::ProBuilder::PivotPoint::_get_Center() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_get_Center"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PivotPoint>("UnityEngine.ProBuilder", "PivotPoint", "Center")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PivotPoint Center void UnityEngine::ProBuilder::PivotPoint::_set_Center(UnityEngine::ProBuilder::PivotPoint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_set_Center"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PivotPoint", "Center", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PivotPoint IndividualOrigins UnityEngine::ProBuilder::PivotPoint UnityEngine::ProBuilder::PivotPoint::_get_IndividualOrigins() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_get_IndividualOrigins"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PivotPoint>("UnityEngine.ProBuilder", "PivotPoint", "IndividualOrigins")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PivotPoint IndividualOrigins void UnityEngine::ProBuilder::PivotPoint::_set_IndividualOrigins(UnityEngine::ProBuilder::PivotPoint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_set_IndividualOrigins"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PivotPoint", "IndividualOrigins", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PivotPoint ActiveElement UnityEngine::ProBuilder::PivotPoint UnityEngine::ProBuilder::PivotPoint::_get_ActiveElement() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_get_ActiveElement"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PivotPoint>("UnityEngine.ProBuilder", "PivotPoint", "ActiveElement")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PivotPoint ActiveElement void UnityEngine::ProBuilder::PivotPoint::_set_ActiveElement(UnityEngine::ProBuilder::PivotPoint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::_set_ActiveElement"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PivotPoint", "ActiveElement", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::PivotPoint::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotPoint::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.PolyShape #include "UnityEngine/ProBuilder/PolyShape.hpp" // Including type: System.Collections.ObjectModel.ReadOnlyCollection`1 #include "System/Collections/ObjectModel/ReadOnlyCollection_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.ProBuilderMesh m_Mesh UnityEngine::ProBuilder::ProBuilderMesh*& UnityEngine::ProBuilder::PolyShape::dyn_m_Mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_m_Mesh"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Mesh"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::ProBuilderMesh**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: System.Collections.Generic.List`1<UnityEngine.Vector3> m_Points System::Collections::Generic::List_1<UnityEngine::Vector3>*& UnityEngine::ProBuilder::PolyShape::dyn_m_Points() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_m_Points"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Points"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::Vector3>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Single m_Extrude float& UnityEngine::ProBuilder::PolyShape::dyn_m_Extrude() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_m_Extrude"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Extrude"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode m_EditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode& UnityEngine::ProBuilder::PolyShape::dyn_m_EditMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_m_EditMode"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_EditMode"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::PolyShape::PolyEditMode*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Boolean m_FlipNormals bool& UnityEngine::ProBuilder::PolyShape::dyn_m_FlipNormals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_m_FlipNormals"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_FlipNormals"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: System.Boolean isOnGrid bool& UnityEngine::ProBuilder::PolyShape::dyn_isOnGrid() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::dyn_isOnGrid"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "isOnGrid"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.get_controlPoints System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::PolyShape::get_controlPoints() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::get_controlPoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_controlPoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.get_extrude float UnityEngine::ProBuilder::PolyShape::get_extrude() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::get_extrude"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_extrude", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.set_extrude void UnityEngine::ProBuilder::PolyShape::set_extrude(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::set_extrude"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_extrude", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.get_polyEditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode UnityEngine::ProBuilder::PolyShape::get_polyEditMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::get_polyEditMode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_polyEditMode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::PolyShape::PolyEditMode, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.set_polyEditMode void UnityEngine::ProBuilder::PolyShape::set_polyEditMode(UnityEngine::ProBuilder::PolyShape::PolyEditMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::set_polyEditMode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_polyEditMode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.get_flipNormals bool UnityEngine::ProBuilder::PolyShape::get_flipNormals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::get_flipNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_flipNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.set_flipNormals void UnityEngine::ProBuilder::PolyShape::set_flipNormals(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::set_flipNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_flipNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.get_mesh UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::PolyShape::get_mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::get_mesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_mesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.set_mesh void UnityEngine::ProBuilder::PolyShape::set_mesh(UnityEngine::ProBuilder::ProBuilderMesh* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::set_mesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_mesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.SetControlPoints void UnityEngine::ProBuilder::PolyShape::SetControlPoints(System::Collections::Generic::IList_1<UnityEngine::Vector3>* points) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::SetControlPoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetControlPoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, points); } // Autogenerated method: UnityEngine.ProBuilder.PolyShape.IsSnapEnabled bool UnityEngine::ProBuilder::PolyShape::IsSnapEnabled() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::IsSnapEnabled"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "IsSnapEnabled", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode #include "UnityEngine/ProBuilder/PolyShape.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode None UnityEngine::ProBuilder::PolyShape::PolyEditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_None() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_None"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PolyShape::PolyEditMode>("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "None")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode None void UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_None(UnityEngine::ProBuilder::PolyShape::PolyEditMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_None"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "None", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Path UnityEngine::ProBuilder::PolyShape::PolyEditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Path() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Path"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PolyShape::PolyEditMode>("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Path")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Path void UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Path(UnityEngine::ProBuilder::PolyShape::PolyEditMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Path"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Path", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Height UnityEngine::ProBuilder::PolyShape::PolyEditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Height() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Height"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PolyShape::PolyEditMode>("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Height")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Height void UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Height(UnityEngine::ProBuilder::PolyShape::PolyEditMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Height"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Height", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Edit UnityEngine::ProBuilder::PolyShape::PolyEditMode UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Edit() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_get_Edit"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PolyShape::PolyEditMode>("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Edit")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PolyShape/UnityEngine.ProBuilder.PolyEditMode Edit void UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Edit(UnityEngine::ProBuilder::PolyShape::PolyEditMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::_set_Edit"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PolyShape/PolyEditMode", "Edit", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::PolyShape::PolyEditMode::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PolyShape::PolyEditMode::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.PreferenceDictionary #include "UnityEngine/ProBuilder/PreferenceDictionary.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.Material #include "UnityEngine/Material.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,System.Boolean> m_Bool System::Collections::Generic::Dictionary_2<::Il2CppString*, bool>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Bool"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, bool>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,System.Int32> m_Int System::Collections::Generic::Dictionary_2<::Il2CppString*, int>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Int"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,System.Single> m_Float System::Collections::Generic::Dictionary_2<::Il2CppString*, float>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Float"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, float>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,System.String> m_String System::Collections::Generic::Dictionary_2<::Il2CppString*, ::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_String"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, ::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,UnityEngine.Color> m_Color System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Color>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Color"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Color>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.String,UnityEngine.Material> m_Material System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Material*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Material"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Material*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_Bool_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Bool_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_Int_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Int_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_Float_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Float_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_String_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_String_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_Color_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Color_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_Material_keys System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material_keys() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material_keys"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Material_keys"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.Boolean> m_Bool_values System::Collections::Generic::List_1<bool>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Bool_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Bool_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<bool>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.Int32> m_Int_values System::Collections::Generic::List_1<int>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Int_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Int_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.Single> m_Float_values System::Collections::Generic::List_1<float>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Float_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Float_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<float>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.String> m_String_values System::Collections::Generic::List_1<::Il2CppString*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_String_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_String_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<::Il2CppString*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.Color> m_Color_values System::Collections::Generic::List_1<UnityEngine::Color>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Color_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Color_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::Color>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.Material> m_Material_values System::Collections::Generic::List_1<UnityEngine::Material*>*& UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material_values() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::dyn_m_Material_values"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Material_values"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::Material*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.OnBeforeSerialize void UnityEngine::ProBuilder::PreferenceDictionary::OnBeforeSerialize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::OnBeforeSerialize"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "OnBeforeSerialize", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.OnAfterDeserialize void UnityEngine::ProBuilder::PreferenceDictionary::OnAfterDeserialize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::OnAfterDeserialize"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "OnAfterDeserialize", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetDefaultValues void UnityEngine::ProBuilder::PreferenceDictionary::SetDefaultValues() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetDefaultValues"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetDefaultValues", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.HasKey bool UnityEngine::ProBuilder::PreferenceDictionary::HasKey(::Il2CppString* key) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::HasKey"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "HasKey", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, key); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.DeleteKey void UnityEngine::ProBuilder::PreferenceDictionary::DeleteKey(::Il2CppString* key) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::DeleteKey"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "DeleteKey", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetBool bool UnityEngine::ProBuilder::PreferenceDictionary::GetBool(::Il2CppString* key, bool fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetBool"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetBool", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetInt int UnityEngine::ProBuilder::PreferenceDictionary::GetInt(::Il2CppString* key, int fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetInt"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetInt", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetFloat float UnityEngine::ProBuilder::PreferenceDictionary::GetFloat(::Il2CppString* key, float fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetFloat"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetFloat", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetString ::Il2CppString* UnityEngine::ProBuilder::PreferenceDictionary::GetString(::Il2CppString* key, ::Il2CppString* fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetString"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetColor UnityEngine::Color UnityEngine::ProBuilder::PreferenceDictionary::GetColor(::Il2CppString* key, UnityEngine::Color fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetColor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetColor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Color, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetMaterial UnityEngine::Material* UnityEngine::ProBuilder::PreferenceDictionary::GetMaterial(::Il2CppString* key, UnityEngine::Material* fallback) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetMaterial"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetMaterial", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(fallback)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Material*, false>(___instance_arg, ___internal__method, key, fallback); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetBool void UnityEngine::ProBuilder::PreferenceDictionary::SetBool(::Il2CppString* key, bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetBool"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetBool", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetInt void UnityEngine::ProBuilder::PreferenceDictionary::SetInt(::Il2CppString* key, int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetInt"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetInt", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetFloat void UnityEngine::ProBuilder::PreferenceDictionary::SetFloat(::Il2CppString* key, float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetFloat"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetFloat", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetString void UnityEngine::ProBuilder::PreferenceDictionary::SetString(::Il2CppString* key, ::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetString"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetColor void UnityEngine::ProBuilder::PreferenceDictionary::SetColor(::Il2CppString* key, UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetColor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetColor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.SetMaterial void UnityEngine::ProBuilder::PreferenceDictionary::SetMaterial(::Il2CppString* key, UnityEngine::Material* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::SetMaterial"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetMaterial", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(key), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, key, value); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetBoolDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, bool>* UnityEngine::ProBuilder::PreferenceDictionary::GetBoolDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetBoolDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetBoolDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, bool>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetIntDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, int>* UnityEngine::ProBuilder::PreferenceDictionary::GetIntDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetIntDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetIntDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetFloatDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, float>* UnityEngine::ProBuilder::PreferenceDictionary::GetFloatDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetFloatDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetFloatDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, float>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetStringDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, ::Il2CppString*>* UnityEngine::ProBuilder::PreferenceDictionary::GetStringDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetStringDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetStringDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, ::Il2CppString*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetColorDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Color>* UnityEngine::ProBuilder::PreferenceDictionary::GetColorDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetColorDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetColorDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Color>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.GetMaterialDictionary System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Material*>* UnityEngine::ProBuilder::PreferenceDictionary::GetMaterialDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::GetMaterialDictionary"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetMaterialDictionary", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<::Il2CppString*, UnityEngine::Material*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceDictionary.Clear void UnityEngine::ProBuilder::PreferenceDictionary::Clear() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceDictionary::Clear"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Clear", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.PreferenceKeys #include "UnityEngine/ProBuilder/PreferenceKeys.hpp" // Including type: System.String #include "System/String.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public System.String pluginTitle ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pluginTitle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pluginTitle"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pluginTitle")); } // Autogenerated static field setter // Set static field: static public System.String pluginTitle void UnityEngine::ProBuilder::PreferenceKeys::_set_pluginTitle(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pluginTitle"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pluginTitle", value)); } // Autogenerated static field getter // Get static field: static System.Single k_MaxPointDistanceFromControl float UnityEngine::ProBuilder::PreferenceKeys::_get_k_MaxPointDistanceFromControl() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_k_MaxPointDistanceFromControl"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "PreferenceKeys", "k_MaxPointDistanceFromControl")); } // Autogenerated static field setter // Set static field: static System.Single k_MaxPointDistanceFromControl void UnityEngine::ProBuilder::PreferenceKeys::_set_k_MaxPointDistanceFromControl(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_k_MaxPointDistanceFromControl"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "k_MaxPointDistanceFromControl", value)); } // Autogenerated static field getter // Get static field: static System.Char DEGREE_SYMBOL ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_DEGREE_SYMBOL() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_DEGREE_SYMBOL"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "DEGREE_SYMBOL")); } // Autogenerated static field setter // Set static field: static System.Char DEGREE_SYMBOL void UnityEngine::ProBuilder::PreferenceKeys::_set_DEGREE_SYMBOL(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_DEGREE_SYMBOL"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "DEGREE_SYMBOL", value)); } // Autogenerated static field getter // Get static field: static System.Char CMD_SUPER ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_SUPER() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_SUPER"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_SUPER")); } // Autogenerated static field setter // Set static field: static System.Char CMD_SUPER void UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_SUPER(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_SUPER"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_SUPER", value)); } // Autogenerated static field getter // Get static field: static System.Char CMD_SHIFT ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_SHIFT() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_SHIFT"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_SHIFT")); } // Autogenerated static field setter // Set static field: static System.Char CMD_SHIFT void UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_SHIFT(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_SHIFT"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_SHIFT", value)); } // Autogenerated static field getter // Get static field: static System.Char CMD_OPTION ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_OPTION() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_OPTION"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_OPTION")); } // Autogenerated static field setter // Set static field: static System.Char CMD_OPTION void UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_OPTION(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_OPTION"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_OPTION", value)); } // Autogenerated static field getter // Get static field: static System.Char CMD_ALT ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_ALT() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_ALT"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_ALT")); } // Autogenerated static field setter // Set static field: static System.Char CMD_ALT void UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_ALT(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_ALT"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_ALT", value)); } // Autogenerated static field getter // Get static field: static System.Char CMD_DELETE ::Il2CppChar UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_DELETE() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_CMD_DELETE"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppChar>("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_DELETE")); } // Autogenerated static field setter // Set static field: static System.Char CMD_DELETE void UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_DELETE(::Il2CppChar value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_CMD_DELETE"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "CMD_DELETE", value)); } // Autogenerated static field getter // Get static field: static readonly UnityEngine.Color proBuilderBlue UnityEngine::Color UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderBlue() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderBlue"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Color>("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderBlue")); } // Autogenerated static field setter // Set static field: static readonly UnityEngine.Color proBuilderBlue void UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderBlue(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderBlue"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderBlue", value)); } // Autogenerated static field getter // Get static field: static readonly UnityEngine.Color proBuilderLightGray UnityEngine::Color UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderLightGray() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderLightGray"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Color>("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderLightGray")); } // Autogenerated static field setter // Set static field: static readonly UnityEngine.Color proBuilderLightGray void UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderLightGray(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderLightGray"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderLightGray", value)); } // Autogenerated static field getter // Get static field: static readonly UnityEngine.Color proBuilderDarkGray UnityEngine::Color UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderDarkGray() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_proBuilderDarkGray"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Color>("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderDarkGray")); } // Autogenerated static field setter // Set static field: static readonly UnityEngine.Color proBuilderDarkGray void UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderDarkGray(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_proBuilderDarkGray"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "proBuilderDarkGray", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuEditor int UnityEngine::ProBuilder::PreferenceKeys::_get_menuEditor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuEditor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuEditor")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuEditor void UnityEngine::ProBuilder::PreferenceKeys::_set_menuEditor(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuEditor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuEditor", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuSelection int UnityEngine::ProBuilder::PreferenceKeys::_get_menuSelection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuSelection"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuSelection")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuSelection void UnityEngine::ProBuilder::PreferenceKeys::_set_menuSelection(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuSelection"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuSelection", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuGeometry int UnityEngine::ProBuilder::PreferenceKeys::_get_menuGeometry() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuGeometry"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuGeometry")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuGeometry void UnityEngine::ProBuilder::PreferenceKeys::_set_menuGeometry(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuGeometry"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuGeometry", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuActions int UnityEngine::ProBuilder::PreferenceKeys::_get_menuActions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuActions"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuActions")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuActions void UnityEngine::ProBuilder::PreferenceKeys::_set_menuActions(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuActions"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuActions", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuMaterialColors int UnityEngine::ProBuilder::PreferenceKeys::_get_menuMaterialColors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuMaterialColors"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuMaterialColors")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuMaterialColors void UnityEngine::ProBuilder::PreferenceKeys::_set_menuMaterialColors(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuMaterialColors"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuMaterialColors", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuVertexColors int UnityEngine::ProBuilder::PreferenceKeys::_get_menuVertexColors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuVertexColors"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuVertexColors")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuVertexColors void UnityEngine::ProBuilder::PreferenceKeys::_set_menuVertexColors(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuVertexColors"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuVertexColors", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuRepair int UnityEngine::ProBuilder::PreferenceKeys::_get_menuRepair() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuRepair"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuRepair")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuRepair void UnityEngine::ProBuilder::PreferenceKeys::_set_menuRepair(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuRepair"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuRepair", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuMisc int UnityEngine::ProBuilder::PreferenceKeys::_get_menuMisc() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuMisc"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuMisc")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuMisc void UnityEngine::ProBuilder::PreferenceKeys::_set_menuMisc(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuMisc"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuMisc", value)); } // Autogenerated static field getter // Get static field: static public System.Int32 menuExport int UnityEngine::ProBuilder::PreferenceKeys::_get_menuExport() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_menuExport"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "PreferenceKeys", "menuExport")); } // Autogenerated static field setter // Set static field: static public System.Int32 menuExport void UnityEngine::ProBuilder::PreferenceKeys::_set_menuExport(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_menuExport"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "menuExport", value)); } // [ObsoleteAttribute] Offset: 0xE5C34C // Autogenerated static field getter // Get static field: static System.String pbDefaultEditLevel ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultEditLevel() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultEditLevel"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultEditLevel")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultEditLevel void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultEditLevel(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultEditLevel"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultEditLevel", value)); } // [ObsoleteAttribute] Offset: 0xE5C384 // Autogenerated static field getter // Get static field: static System.String pbDefaultSelectionMode ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultSelectionMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultSelectionMode"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultSelectionMode")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultSelectionMode void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultSelectionMode(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultSelectionMode"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultSelectionMode", value)); } // [ObsoleteAttribute] Offset: 0xE5C3BC // Autogenerated static field getter // Get static field: static System.String pbHandleAlignment ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbHandleAlignment() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbHandleAlignment"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbHandleAlignment")); } // Autogenerated static field setter // Set static field: static System.String pbHandleAlignment void UnityEngine::ProBuilder::PreferenceKeys::_set_pbHandleAlignment(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbHandleAlignment"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbHandleAlignment", value)); } // [ObsoleteAttribute] Offset: 0xE5C3F4 // Autogenerated static field getter // Get static field: static System.String pbVertexColorTool ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexColorTool() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexColorTool"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexColorTool")); } // Autogenerated static field setter // Set static field: static System.String pbVertexColorTool void UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexColorTool(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexColorTool"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexColorTool", value)); } // [ObsoleteAttribute] Offset: 0xE5C42C // Autogenerated static field getter // Get static field: static System.String pbToolbarLocation ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbToolbarLocation() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbToolbarLocation"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbToolbarLocation")); } // Autogenerated static field setter // Set static field: static System.String pbToolbarLocation void UnityEngine::ProBuilder::PreferenceKeys::_set_pbToolbarLocation(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbToolbarLocation"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbToolbarLocation", value)); } // [ObsoleteAttribute] Offset: 0xE5C464 // Autogenerated static field getter // Get static field: static System.String pbDefaultEntity ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultEntity() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultEntity"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultEntity")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultEntity void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultEntity(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultEntity"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultEntity", value)); } // [ObsoleteAttribute] Offset: 0xE5C49C // Autogenerated static field getter // Get static field: static System.String pbExtrudeMethod ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeMethod() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeMethod"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeMethod")); } // Autogenerated static field setter // Set static field: static System.String pbExtrudeMethod void UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeMethod(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeMethod"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeMethod", value)); } // [ObsoleteAttribute] Offset: 0xE5C4D4 // Autogenerated static field getter // Get static field: static System.String pbDefaultStaticFlags ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultStaticFlags() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultStaticFlags"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultStaticFlags")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultStaticFlags void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultStaticFlags(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultStaticFlags"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultStaticFlags", value)); } // [ObsoleteAttribute] Offset: 0xE5C50C // Autogenerated static field getter // Get static field: static System.String pbSelectedFaceColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedFaceColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedFaceColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedFaceColor")); } // Autogenerated static field setter // Set static field: static System.String pbSelectedFaceColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedFaceColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedFaceColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedFaceColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C544 // Autogenerated static field getter // Get static field: static System.String pbWireframeColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbWireframeColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbWireframeColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbWireframeColor")); } // Autogenerated static field setter // Set static field: static System.String pbWireframeColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbWireframeColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbWireframeColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbWireframeColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C57C // Autogenerated static field getter // Get static field: static System.String pbUnselectedEdgeColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUnselectedEdgeColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUnselectedEdgeColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUnselectedEdgeColor")); } // Autogenerated static field setter // Set static field: static System.String pbUnselectedEdgeColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUnselectedEdgeColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUnselectedEdgeColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUnselectedEdgeColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C5B4 // Autogenerated static field getter // Get static field: static System.String pbSelectedEdgeColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedEdgeColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedEdgeColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedEdgeColor")); } // Autogenerated static field setter // Set static field: static System.String pbSelectedEdgeColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedEdgeColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedEdgeColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedEdgeColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C5EC // Autogenerated static field getter // Get static field: static System.String pbSelectedVertexColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedVertexColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedVertexColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedVertexColor")); } // Autogenerated static field setter // Set static field: static System.String pbSelectedVertexColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedVertexColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedVertexColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedVertexColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C624 // Autogenerated static field getter // Get static field: static System.String pbUnselectedVertexColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUnselectedVertexColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUnselectedVertexColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUnselectedVertexColor")); } // Autogenerated static field setter // Set static field: static System.String pbUnselectedVertexColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUnselectedVertexColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUnselectedVertexColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUnselectedVertexColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C65C // Autogenerated static field getter // Get static field: static System.String pbPreselectionColor ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbPreselectionColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbPreselectionColor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbPreselectionColor")); } // Autogenerated static field setter // Set static field: static System.String pbPreselectionColor void UnityEngine::ProBuilder::PreferenceKeys::_set_pbPreselectionColor(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbPreselectionColor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbPreselectionColor", value)); } // [ObsoleteAttribute] Offset: 0xE5C694 // Autogenerated static field getter // Get static field: static System.String pbDefaultOpenInDockableWindow ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultOpenInDockableWindow() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultOpenInDockableWindow"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultOpenInDockableWindow")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultOpenInDockableWindow void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultOpenInDockableWindow(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultOpenInDockableWindow"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultOpenInDockableWindow", value)); } // [ObsoleteAttribute] Offset: 0xE5C6CC // Autogenerated static field getter // Get static field: static System.String pbEditorPrefVersion ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbEditorPrefVersion() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbEditorPrefVersion"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbEditorPrefVersion")); } // Autogenerated static field setter // Set static field: static System.String pbEditorPrefVersion void UnityEngine::ProBuilder::PreferenceKeys::_set_pbEditorPrefVersion(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbEditorPrefVersion"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbEditorPrefVersion", value)); } // [ObsoleteAttribute] Offset: 0xE5C704 // Autogenerated static field getter // Get static field: static System.String pbEditorShortcutsVersion ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbEditorShortcutsVersion() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbEditorShortcutsVersion"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbEditorShortcutsVersion")); } // Autogenerated static field setter // Set static field: static System.String pbEditorShortcutsVersion void UnityEngine::ProBuilder::PreferenceKeys::_set_pbEditorShortcutsVersion(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbEditorShortcutsVersion"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbEditorShortcutsVersion", value)); } // [ObsoleteAttribute] Offset: 0xE5C73C // Autogenerated static field getter // Get static field: static System.String pbDefaultCollider ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultCollider() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultCollider"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultCollider")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultCollider void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultCollider(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultCollider"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultCollider", value)); } // [ObsoleteAttribute] Offset: 0xE5C774 // Autogenerated static field getter // Get static field: static System.String pbForceConvex ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceConvex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceConvex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceConvex")); } // Autogenerated static field setter // Set static field: static System.String pbForceConvex void UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceConvex(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceConvex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceConvex", value)); } // [ObsoleteAttribute] Offset: 0xE5C7AC // Autogenerated static field getter // Get static field: static System.String pbVertexColorPrefs ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexColorPrefs() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexColorPrefs"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexColorPrefs")); } // Autogenerated static field setter // Set static field: static System.String pbVertexColorPrefs void UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexColorPrefs(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexColorPrefs"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexColorPrefs", value)); } // [ObsoleteAttribute] Offset: 0xE5C7E4 // Autogenerated static field getter // Get static field: static System.String pbShowEditorNotifications ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowEditorNotifications() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowEditorNotifications"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowEditorNotifications")); } // Autogenerated static field setter // Set static field: static System.String pbShowEditorNotifications void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowEditorNotifications(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowEditorNotifications"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowEditorNotifications", value)); } // [ObsoleteAttribute] Offset: 0xE5C81C // Autogenerated static field getter // Get static field: static System.String pbDragCheckLimit ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragCheckLimit() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragCheckLimit"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragCheckLimit")); } // Autogenerated static field setter // Set static field: static System.String pbDragCheckLimit void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragCheckLimit(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragCheckLimit"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragCheckLimit", value)); } // [ObsoleteAttribute] Offset: 0xE5C854 // Autogenerated static field getter // Get static field: static System.String pbForceVertexPivot ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceVertexPivot() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceVertexPivot"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceVertexPivot")); } // Autogenerated static field setter // Set static field: static System.String pbForceVertexPivot void UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceVertexPivot(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceVertexPivot"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceVertexPivot", value)); } // [ObsoleteAttribute] Offset: 0xE5C88C // Autogenerated static field getter // Get static field: static System.String pbForceGridPivot ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceGridPivot() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbForceGridPivot"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceGridPivot")); } // Autogenerated static field setter // Set static field: static System.String pbForceGridPivot void UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceGridPivot(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbForceGridPivot"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbForceGridPivot", value)); } // [ObsoleteAttribute] Offset: 0xE5C8C4 // Autogenerated static field getter // Get static field: static System.String pbManifoldEdgeExtrusion ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbManifoldEdgeExtrusion() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbManifoldEdgeExtrusion"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbManifoldEdgeExtrusion")); } // Autogenerated static field setter // Set static field: static System.String pbManifoldEdgeExtrusion void UnityEngine::ProBuilder::PreferenceKeys::_set_pbManifoldEdgeExtrusion(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbManifoldEdgeExtrusion"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbManifoldEdgeExtrusion", value)); } // [ObsoleteAttribute] Offset: 0xE5C8FC // Autogenerated static field getter // Get static field: static System.String pbPerimeterEdgeBridgeOnly ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbPerimeterEdgeBridgeOnly() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbPerimeterEdgeBridgeOnly"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbPerimeterEdgeBridgeOnly")); } // Autogenerated static field setter // Set static field: static System.String pbPerimeterEdgeBridgeOnly void UnityEngine::ProBuilder::PreferenceKeys::_set_pbPerimeterEdgeBridgeOnly(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbPerimeterEdgeBridgeOnly"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbPerimeterEdgeBridgeOnly", value)); } // [ObsoleteAttribute] Offset: 0xE5C934 // Autogenerated static field getter // Get static field: static System.String pbPBOSelectionOnly ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbPBOSelectionOnly() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbPBOSelectionOnly"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbPBOSelectionOnly")); } // Autogenerated static field setter // Set static field: static System.String pbPBOSelectionOnly void UnityEngine::ProBuilder::PreferenceKeys::_set_pbPBOSelectionOnly(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbPBOSelectionOnly"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbPBOSelectionOnly", value)); } // [ObsoleteAttribute] Offset: 0xE5C96C // Autogenerated static field getter // Get static field: static System.String pbCloseShapeWindow ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbCloseShapeWindow() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbCloseShapeWindow"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbCloseShapeWindow")); } // Autogenerated static field setter // Set static field: static System.String pbCloseShapeWindow void UnityEngine::ProBuilder::PreferenceKeys::_set_pbCloseShapeWindow(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbCloseShapeWindow"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbCloseShapeWindow", value)); } // [ObsoleteAttribute] Offset: 0xE5C9A4 // Autogenerated static field getter // Get static field: static System.String pbUVEditorFloating ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVEditorFloating() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVEditorFloating"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVEditorFloating")); } // Autogenerated static field setter // Set static field: static System.String pbUVEditorFloating void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVEditorFloating(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVEditorFloating"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVEditorFloating", value)); } // [ObsoleteAttribute] Offset: 0xE5C9DC // Autogenerated static field getter // Get static field: static System.String pbUVMaterialPreview ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVMaterialPreview() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVMaterialPreview"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVMaterialPreview")); } // Autogenerated static field setter // Set static field: static System.String pbUVMaterialPreview void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVMaterialPreview(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVMaterialPreview"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVMaterialPreview", value)); } // [ObsoleteAttribute] Offset: 0xE5CA14 // Autogenerated static field getter // Get static field: static System.String pbShowSceneToolbar ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowSceneToolbar() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowSceneToolbar"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowSceneToolbar")); } // Autogenerated static field setter // Set static field: static System.String pbShowSceneToolbar void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowSceneToolbar(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowSceneToolbar"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowSceneToolbar", value)); } // [ObsoleteAttribute] Offset: 0xE5CA4C // Autogenerated static field getter // Get static field: static System.String pbNormalizeUVsOnPlanarProjection ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbNormalizeUVsOnPlanarProjection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbNormalizeUVsOnPlanarProjection"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbNormalizeUVsOnPlanarProjection")); } // Autogenerated static field setter // Set static field: static System.String pbNormalizeUVsOnPlanarProjection void UnityEngine::ProBuilder::PreferenceKeys::_set_pbNormalizeUVsOnPlanarProjection(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbNormalizeUVsOnPlanarProjection"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbNormalizeUVsOnPlanarProjection", value)); } // [ObsoleteAttribute] Offset: 0xE5CA84 // Autogenerated static field getter // Get static field: static System.String pbStripProBuilderOnBuild ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbStripProBuilderOnBuild() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbStripProBuilderOnBuild"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbStripProBuilderOnBuild")); } // Autogenerated static field setter // Set static field: static System.String pbStripProBuilderOnBuild void UnityEngine::ProBuilder::PreferenceKeys::_set_pbStripProBuilderOnBuild(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbStripProBuilderOnBuild"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbStripProBuilderOnBuild", value)); } // [ObsoleteAttribute] Offset: 0xE5CABC // Autogenerated static field getter // Get static field: static System.String pbDisableAutoUV2Generation ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDisableAutoUV2Generation() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDisableAutoUV2Generation"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDisableAutoUV2Generation")); } // Autogenerated static field setter // Set static field: static System.String pbDisableAutoUV2Generation void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDisableAutoUV2Generation(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDisableAutoUV2Generation"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDisableAutoUV2Generation", value)); } // [ObsoleteAttribute] Offset: 0xE5CAF4 // Autogenerated static field getter // Get static field: static System.String pbShowSceneInfo ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowSceneInfo() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowSceneInfo"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowSceneInfo")); } // Autogenerated static field setter // Set static field: static System.String pbShowSceneInfo void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowSceneInfo(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowSceneInfo"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowSceneInfo", value)); } // [ObsoleteAttribute] Offset: 0xE5CB2C // Autogenerated static field getter // Get static field: static System.String pbEnableBackfaceSelection ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbEnableBackfaceSelection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbEnableBackfaceSelection"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbEnableBackfaceSelection")); } // Autogenerated static field setter // Set static field: static System.String pbEnableBackfaceSelection void UnityEngine::ProBuilder::PreferenceKeys::_set_pbEnableBackfaceSelection(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbEnableBackfaceSelection"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbEnableBackfaceSelection", value)); } // [ObsoleteAttribute] Offset: 0xE5CB64 // Autogenerated static field getter // Get static field: static System.String pbVertexPaletteDockable ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexPaletteDockable() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexPaletteDockable"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexPaletteDockable")); } // Autogenerated static field setter // Set static field: static System.String pbVertexPaletteDockable void UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexPaletteDockable(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexPaletteDockable"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexPaletteDockable", value)); } // [ObsoleteAttribute] Offset: 0xE5CB9C // Autogenerated static field getter // Get static field: static System.String pbExtrudeAsGroup ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeAsGroup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeAsGroup"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeAsGroup")); } // Autogenerated static field setter // Set static field: static System.String pbExtrudeAsGroup void UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeAsGroup(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeAsGroup"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeAsGroup", value)); } // [ObsoleteAttribute] Offset: 0xE5CBD4 // Autogenerated static field getter // Get static field: static System.String pbUniqueModeShortcuts ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUniqueModeShortcuts() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUniqueModeShortcuts"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUniqueModeShortcuts")); } // Autogenerated static field setter // Set static field: static System.String pbUniqueModeShortcuts void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUniqueModeShortcuts(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUniqueModeShortcuts"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUniqueModeShortcuts", value)); } // [ObsoleteAttribute] Offset: 0xE5CC0C // Autogenerated static field getter // Get static field: static System.String pbMaterialEditorFloating ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbMaterialEditorFloating() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbMaterialEditorFloating"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbMaterialEditorFloating")); } // Autogenerated static field setter // Set static field: static System.String pbMaterialEditorFloating void UnityEngine::ProBuilder::PreferenceKeys::_set_pbMaterialEditorFloating(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbMaterialEditorFloating"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbMaterialEditorFloating", value)); } // [ObsoleteAttribute] Offset: 0xE5CC44 // Autogenerated static field getter // Get static field: static System.String pbShapeWindowFloating ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShapeWindowFloating() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShapeWindowFloating"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShapeWindowFloating")); } // Autogenerated static field setter // Set static field: static System.String pbShapeWindowFloating void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShapeWindowFloating(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShapeWindowFloating"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShapeWindowFloating", value)); } // [ObsoleteAttribute] Offset: 0xE5CC7C // Autogenerated static field getter // Get static field: static System.String pbIconGUI ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbIconGUI() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbIconGUI"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbIconGUI")); } // Autogenerated static field setter // Set static field: static System.String pbIconGUI void UnityEngine::ProBuilder::PreferenceKeys::_set_pbIconGUI(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbIconGUI"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbIconGUI", value)); } // [ObsoleteAttribute] Offset: 0xE5CCB4 // Autogenerated static field getter // Get static field: static System.String pbShiftOnlyTooltips ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShiftOnlyTooltips() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShiftOnlyTooltips"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShiftOnlyTooltips")); } // Autogenerated static field setter // Set static field: static System.String pbShiftOnlyTooltips void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShiftOnlyTooltips(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShiftOnlyTooltips"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShiftOnlyTooltips", value)); } // [ObsoleteAttribute] Offset: 0xE5CCEC // Autogenerated static field getter // Get static field: static System.String pbDrawAxisLines ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDrawAxisLines() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDrawAxisLines"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDrawAxisLines")); } // Autogenerated static field setter // Set static field: static System.String pbDrawAxisLines void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDrawAxisLines(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDrawAxisLines"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDrawAxisLines", value)); } // [ObsoleteAttribute] Offset: 0xE5CD24 // Autogenerated static field getter // Get static field: static System.String pbCollapseVertexToFirst ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbCollapseVertexToFirst() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbCollapseVertexToFirst"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbCollapseVertexToFirst")); } // Autogenerated static field setter // Set static field: static System.String pbCollapseVertexToFirst void UnityEngine::ProBuilder::PreferenceKeys::_set_pbCollapseVertexToFirst(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbCollapseVertexToFirst"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbCollapseVertexToFirst", value)); } // [ObsoleteAttribute] Offset: 0xE5CD5C // Autogenerated static field getter // Get static field: static System.String pbMeshesAreAssets ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbMeshesAreAssets() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbMeshesAreAssets"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbMeshesAreAssets")); } // Autogenerated static field setter // Set static field: static System.String pbMeshesAreAssets void UnityEngine::ProBuilder::PreferenceKeys::_set_pbMeshesAreAssets(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbMeshesAreAssets"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbMeshesAreAssets", value)); } // [ObsoleteAttribute] Offset: 0xE5CD94 // Autogenerated static field getter // Get static field: static System.String pbElementSelectIsHamFisted ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbElementSelectIsHamFisted() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbElementSelectIsHamFisted"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbElementSelectIsHamFisted")); } // Autogenerated static field setter // Set static field: static System.String pbElementSelectIsHamFisted void UnityEngine::ProBuilder::PreferenceKeys::_set_pbElementSelectIsHamFisted(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbElementSelectIsHamFisted"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbElementSelectIsHamFisted", value)); } // [ObsoleteAttribute] Offset: 0xE5CDCC // Autogenerated static field getter // Get static field: static System.String pbFillHoleSelectsEntirePath ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbFillHoleSelectsEntirePath() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbFillHoleSelectsEntirePath"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbFillHoleSelectsEntirePath")); } // Autogenerated static field setter // Set static field: static System.String pbFillHoleSelectsEntirePath void UnityEngine::ProBuilder::PreferenceKeys::_set_pbFillHoleSelectsEntirePath(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbFillHoleSelectsEntirePath"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbFillHoleSelectsEntirePath", value)); } // [ObsoleteAttribute] Offset: 0xE5CE04 // Autogenerated static field getter // Get static field: static System.String pbDetachToNewObject ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDetachToNewObject() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDetachToNewObject"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDetachToNewObject")); } // Autogenerated static field setter // Set static field: static System.String pbDetachToNewObject void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDetachToNewObject(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDetachToNewObject"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDetachToNewObject", value)); } // [ObsoleteAttribute] Offset: 0xE5CE3C // Autogenerated static field getter // Get static field: static System.String pbPreserveFaces ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbPreserveFaces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbPreserveFaces"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbPreserveFaces")); } // Autogenerated static field setter // Set static field: static System.String pbPreserveFaces void UnityEngine::ProBuilder::PreferenceKeys::_set_pbPreserveFaces(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbPreserveFaces"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbPreserveFaces", value)); } // [ObsoleteAttribute] Offset: 0xE5CE74 // Autogenerated static field getter // Get static field: static System.String pbDragSelectWholeElement ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragSelectWholeElement() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragSelectWholeElement"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragSelectWholeElement")); } // Autogenerated static field setter // Set static field: static System.String pbDragSelectWholeElement void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragSelectWholeElement(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragSelectWholeElement"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragSelectWholeElement", value)); } // [ObsoleteAttribute] Offset: 0xE5CEAC // Autogenerated static field getter // Get static field: static System.String pbShowPreselectionHighlight ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowPreselectionHighlight() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowPreselectionHighlight"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowPreselectionHighlight")); } // Autogenerated static field setter // Set static field: static System.String pbShowPreselectionHighlight void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowPreselectionHighlight(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowPreselectionHighlight"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowPreselectionHighlight", value)); } // [ObsoleteAttribute] Offset: 0xE5CEE4 // Autogenerated static field getter // Get static field: static System.String pbRectSelectMode ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbRectSelectMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbRectSelectMode"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbRectSelectMode")); } // Autogenerated static field setter // Set static field: static System.String pbRectSelectMode void UnityEngine::ProBuilder::PreferenceKeys::_set_pbRectSelectMode(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbRectSelectMode"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbRectSelectMode", value)); } // [ObsoleteAttribute] Offset: 0xE5CF1C // Autogenerated static field getter // Get static field: static System.String pbDragSelectMode ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragSelectMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDragSelectMode"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragSelectMode")); } // Autogenerated static field setter // Set static field: static System.String pbDragSelectMode void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragSelectMode(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDragSelectMode"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDragSelectMode", value)); } // [ObsoleteAttribute] Offset: 0xE5CF54 // Autogenerated static field getter // Get static field: static System.String pbShadowCastingMode ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShadowCastingMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShadowCastingMode"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShadowCastingMode")); } // Autogenerated static field setter // Set static field: static System.String pbShadowCastingMode void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShadowCastingMode(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShadowCastingMode"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShadowCastingMode", value)); } // [ObsoleteAttribute] Offset: 0xE5CF8C // Autogenerated static field getter // Get static field: static System.String pbEnableExperimental ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbEnableExperimental() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbEnableExperimental"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbEnableExperimental")); } // Autogenerated static field setter // Set static field: static System.String pbEnableExperimental void UnityEngine::ProBuilder::PreferenceKeys::_set_pbEnableExperimental(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbEnableExperimental"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbEnableExperimental", value)); } // [ObsoleteAttribute] Offset: 0xE5CFC4 // Autogenerated static field getter // Get static field: static System.String pbCheckForProBuilderUpdates ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbCheckForProBuilderUpdates() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbCheckForProBuilderUpdates"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbCheckForProBuilderUpdates")); } // Autogenerated static field setter // Set static field: static System.String pbCheckForProBuilderUpdates void UnityEngine::ProBuilder::PreferenceKeys::_set_pbCheckForProBuilderUpdates(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbCheckForProBuilderUpdates"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbCheckForProBuilderUpdates", value)); } // [ObsoleteAttribute] Offset: 0xE5CFFC // Autogenerated static field getter // Get static field: static System.String pbManageLightmappingStaticFlag ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbManageLightmappingStaticFlag() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbManageLightmappingStaticFlag"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbManageLightmappingStaticFlag")); } // Autogenerated static field setter // Set static field: static System.String pbManageLightmappingStaticFlag void UnityEngine::ProBuilder::PreferenceKeys::_set_pbManageLightmappingStaticFlag(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbManageLightmappingStaticFlag"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbManageLightmappingStaticFlag", value)); } // [ObsoleteAttribute] Offset: 0xE5D034 // Autogenerated static field getter // Get static field: static System.String pbShowMissingLightmapUvWarning ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowMissingLightmapUvWarning() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowMissingLightmapUvWarning"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowMissingLightmapUvWarning")); } // Autogenerated static field setter // Set static field: static System.String pbShowMissingLightmapUvWarning void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowMissingLightmapUvWarning(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowMissingLightmapUvWarning"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowMissingLightmapUvWarning", value)); } // [ObsoleteAttribute] Offset: 0xE5D06C // Autogenerated static field getter // Get static field: static System.String pbSelectedFaceDither ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedFaceDither() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbSelectedFaceDither"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedFaceDither")); } // Autogenerated static field setter // Set static field: static System.String pbSelectedFaceDither void UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedFaceDither(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbSelectedFaceDither"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbSelectedFaceDither", value)); } // [ObsoleteAttribute] Offset: 0xE5D0A4 // Autogenerated static field getter // Get static field: static System.String pbUseUnityColors ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUseUnityColors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUseUnityColors"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUseUnityColors")); } // Autogenerated static field setter // Set static field: static System.String pbUseUnityColors void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUseUnityColors(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUseUnityColors"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUseUnityColors", value)); } // [ObsoleteAttribute] Offset: 0xE5D0DC // Autogenerated static field getter // Get static field: static System.String pbVertexHandleSize ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexHandleSize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbVertexHandleSize"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexHandleSize")); } // Autogenerated static field setter // Set static field: static System.String pbVertexHandleSize void UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexHandleSize(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbVertexHandleSize"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbVertexHandleSize", value)); } // [ObsoleteAttribute] Offset: 0xE5D114 // Autogenerated static field getter // Get static field: static System.String pbUVGridSnapValue ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVGridSnapValue() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVGridSnapValue"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVGridSnapValue")); } // Autogenerated static field setter // Set static field: static System.String pbUVGridSnapValue void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVGridSnapValue(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVGridSnapValue"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVGridSnapValue", value)); } // [ObsoleteAttribute] Offset: 0xE5D14C // Autogenerated static field getter // Get static field: static System.String pbUVWeldDistance ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVWeldDistance() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbUVWeldDistance"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVWeldDistance")); } // Autogenerated static field setter // Set static field: static System.String pbUVWeldDistance void UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVWeldDistance(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbUVWeldDistance"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbUVWeldDistance", value)); } // [ObsoleteAttribute] Offset: 0xE5D184 // Autogenerated static field getter // Get static field: static System.String pbLineHandleSize ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbLineHandleSize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbLineHandleSize"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbLineHandleSize")); } // Autogenerated static field setter // Set static field: static System.String pbLineHandleSize void UnityEngine::ProBuilder::PreferenceKeys::_set_pbLineHandleSize(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbLineHandleSize"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbLineHandleSize", value)); } // [ObsoleteAttribute] Offset: 0xE5D1BC // Autogenerated static field getter // Get static field: static System.String pbWireframeSize ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbWireframeSize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbWireframeSize"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbWireframeSize")); } // Autogenerated static field setter // Set static field: static System.String pbWireframeSize void UnityEngine::ProBuilder::PreferenceKeys::_set_pbWireframeSize(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbWireframeSize"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbWireframeSize", value)); } // [ObsoleteAttribute] Offset: 0xE5D1F4 // Autogenerated static field getter // Get static field: static System.String pbWeldDistance ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbWeldDistance() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbWeldDistance"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbWeldDistance")); } // Autogenerated static field setter // Set static field: static System.String pbWeldDistance void UnityEngine::ProBuilder::PreferenceKeys::_set_pbWeldDistance(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbWeldDistance"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbWeldDistance", value)); } // [ObsoleteAttribute] Offset: 0xE5D22C // Autogenerated static field getter // Get static field: static System.String pbExtrudeDistance ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeDistance() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbExtrudeDistance"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeDistance")); } // Autogenerated static field setter // Set static field: static System.String pbExtrudeDistance void UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeDistance(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbExtrudeDistance"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbExtrudeDistance", value)); } // [ObsoleteAttribute] Offset: 0xE5D264 // Autogenerated static field getter // Get static field: static System.String pbBevelAmount ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbBevelAmount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbBevelAmount"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbBevelAmount")); } // Autogenerated static field setter // Set static field: static System.String pbBevelAmount void UnityEngine::ProBuilder::PreferenceKeys::_set_pbBevelAmount(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbBevelAmount"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbBevelAmount", value)); } // [ObsoleteAttribute] Offset: 0xE5D29C // Autogenerated static field getter // Get static field: static System.String pbEdgeSubdivisions ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbEdgeSubdivisions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbEdgeSubdivisions"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbEdgeSubdivisions")); } // Autogenerated static field setter // Set static field: static System.String pbEdgeSubdivisions void UnityEngine::ProBuilder::PreferenceKeys::_set_pbEdgeSubdivisions(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbEdgeSubdivisions"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbEdgeSubdivisions", value)); } // [ObsoleteAttribute] Offset: 0xE5D2D4 // Autogenerated static field getter // Get static field: static System.String pbDefaultShortcuts ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultShortcuts() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultShortcuts"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultShortcuts")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultShortcuts void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultShortcuts(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultShortcuts"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultShortcuts", value)); } // [ObsoleteAttribute] Offset: 0xE5D30C // Autogenerated static field getter // Get static field: static System.String pbDefaultMaterial ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultMaterial() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbDefaultMaterial"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultMaterial")); } // Autogenerated static field setter // Set static field: static System.String pbDefaultMaterial void UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultMaterial(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbDefaultMaterial"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbDefaultMaterial", value)); } // [ObsoleteAttribute] Offset: 0xE5D344 // Autogenerated static field getter // Get static field: static System.String pbCurrentMaterialPalette ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbCurrentMaterialPalette() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbCurrentMaterialPalette"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbCurrentMaterialPalette")); } // Autogenerated static field setter // Set static field: static System.String pbCurrentMaterialPalette void UnityEngine::ProBuilder::PreferenceKeys::_set_pbCurrentMaterialPalette(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbCurrentMaterialPalette"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbCurrentMaterialPalette", value)); } // [ObsoleteAttribute] Offset: 0xE5D37C // Autogenerated static field getter // Get static field: static System.String pbGrowSelectionUsingAngle ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionUsingAngle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionUsingAngle"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionUsingAngle")); } // Autogenerated static field setter // Set static field: static System.String pbGrowSelectionUsingAngle void UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionUsingAngle(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionUsingAngle"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionUsingAngle", value)); } // [ObsoleteAttribute] Offset: 0xE5D3B4 // Autogenerated static field getter // Get static field: static System.String pbGrowSelectionAngle ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionAngle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionAngle"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionAngle")); } // Autogenerated static field setter // Set static field: static System.String pbGrowSelectionAngle void UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionAngle(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionAngle"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionAngle", value)); } // [ObsoleteAttribute] Offset: 0xE5D3EC // Autogenerated static field getter // Get static field: static System.String pbGrowSelectionAngleIterative ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionAngleIterative() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbGrowSelectionAngleIterative"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionAngleIterative")); } // Autogenerated static field setter // Set static field: static System.String pbGrowSelectionAngleIterative void UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionAngleIterative(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbGrowSelectionAngleIterative"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbGrowSelectionAngleIterative", value)); } // [ObsoleteAttribute] Offset: 0xE5D424 // Autogenerated static field getter // Get static field: static System.String pbShowDetail ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowDetail() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowDetail"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowDetail")); } // Autogenerated static field setter // Set static field: static System.String pbShowDetail void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowDetail(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowDetail"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowDetail", value)); } // [ObsoleteAttribute] Offset: 0xE5D45C // Autogenerated static field getter // Get static field: static System.String pbShowOccluder ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowOccluder() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowOccluder"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowOccluder")); } // Autogenerated static field setter // Set static field: static System.String pbShowOccluder void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowOccluder(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowOccluder"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowOccluder", value)); } // [ObsoleteAttribute] Offset: 0xE5D494 // Autogenerated static field getter // Get static field: static System.String pbShowMover ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowMover() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowMover"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowMover")); } // Autogenerated static field setter // Set static field: static System.String pbShowMover void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowMover(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowMover"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowMover", value)); } // [ObsoleteAttribute] Offset: 0xE5D4CC // Autogenerated static field getter // Get static field: static System.String pbShowCollider ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowCollider() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowCollider"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowCollider")); } // Autogenerated static field setter // Set static field: static System.String pbShowCollider void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowCollider(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowCollider"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowCollider", value)); } // [ObsoleteAttribute] Offset: 0xE5D504 // Autogenerated static field getter // Get static field: static System.String pbShowTrigger ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowTrigger() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowTrigger"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowTrigger")); } // Autogenerated static field setter // Set static field: static System.String pbShowTrigger void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowTrigger(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowTrigger"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowTrigger", value)); } // [ObsoleteAttribute] Offset: 0xE5D53C // Autogenerated static field getter // Get static field: static System.String pbShowNoDraw ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowNoDraw() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_pbShowNoDraw"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowNoDraw")); } // Autogenerated static field setter // Set static field: static System.String pbShowNoDraw void UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowNoDraw(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_pbShowNoDraw"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "pbShowNoDraw", value)); } // [ObsoleteAttribute] Offset: 0xE5D574 // Autogenerated static field getter // Get static field: static System.String defaultUnwrapParameters ::Il2CppString* UnityEngine::ProBuilder::PreferenceKeys::_get_defaultUnwrapParameters() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_get_defaultUnwrapParameters"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "PreferenceKeys", "defaultUnwrapParameters")); } // Autogenerated static field setter // Set static field: static System.String defaultUnwrapParameters void UnityEngine::ProBuilder::PreferenceKeys::_set_defaultUnwrapParameters(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::_set_defaultUnwrapParameters"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PreferenceKeys", "defaultUnwrapParameters", value)); } // Autogenerated method: UnityEngine.ProBuilder.PreferenceKeys..cctor void UnityEngine::ProBuilder::PreferenceKeys::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PreferenceKeys::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "PreferenceKeys", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SelectMode #include "UnityEngine/ProBuilder/SelectMode.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode None UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_None() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_None"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "None")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode None void UnityEngine::ProBuilder::SelectMode::_set_None(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_None"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "None", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode Object UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_Object() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_Object"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "Object")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode Object void UnityEngine::ProBuilder::SelectMode::_set_Object(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_Object"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "Object", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode Vertex UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_Vertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_Vertex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "Vertex")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode Vertex void UnityEngine::ProBuilder::SelectMode::_set_Vertex(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_Vertex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "Vertex", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode Edge UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_Edge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_Edge"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "Edge")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode Edge void UnityEngine::ProBuilder::SelectMode::_set_Edge(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_Edge"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "Edge", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode Face UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_Face() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_Face"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "Face")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode Face void UnityEngine::ProBuilder::SelectMode::_set_Face(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_Face"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "Face", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode TextureFace UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_TextureFace() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_TextureFace"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "TextureFace")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode TextureFace void UnityEngine::ProBuilder::SelectMode::_set_TextureFace(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_TextureFace"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "TextureFace", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode TextureEdge UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_TextureEdge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_TextureEdge"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "TextureEdge")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode TextureEdge void UnityEngine::ProBuilder::SelectMode::_set_TextureEdge(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_TextureEdge"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "TextureEdge", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode TextureVertex UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_TextureVertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_TextureVertex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "TextureVertex")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode TextureVertex void UnityEngine::ProBuilder::SelectMode::_set_TextureVertex(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_TextureVertex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "TextureVertex", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode InputTool UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_InputTool() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_InputTool"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "InputTool")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode InputTool void UnityEngine::ProBuilder::SelectMode::_set_InputTool(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_InputTool"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "InputTool", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectMode Any UnityEngine::ProBuilder::SelectMode UnityEngine::ProBuilder::SelectMode::_get_Any() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_get_Any"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectMode>("UnityEngine.ProBuilder", "SelectMode", "Any")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectMode Any void UnityEngine::ProBuilder::SelectMode::_set_Any(UnityEngine::ProBuilder::SelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::_set_Any"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectMode", "Any", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::SelectMode::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectMode::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ComponentMode #include "UnityEngine/ProBuilder/ComponentMode.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ComponentMode Vertex UnityEngine::ProBuilder::ComponentMode UnityEngine::ProBuilder::ComponentMode::_get_Vertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_get_Vertex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ComponentMode>("UnityEngine.ProBuilder", "ComponentMode", "Vertex")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ComponentMode Vertex void UnityEngine::ProBuilder::ComponentMode::_set_Vertex(UnityEngine::ProBuilder::ComponentMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_set_Vertex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ComponentMode", "Vertex", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ComponentMode Edge UnityEngine::ProBuilder::ComponentMode UnityEngine::ProBuilder::ComponentMode::_get_Edge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_get_Edge"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ComponentMode>("UnityEngine.ProBuilder", "ComponentMode", "Edge")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ComponentMode Edge void UnityEngine::ProBuilder::ComponentMode::_set_Edge(UnityEngine::ProBuilder::ComponentMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_set_Edge"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ComponentMode", "Edge", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ComponentMode Face UnityEngine::ProBuilder::ComponentMode UnityEngine::ProBuilder::ComponentMode::_get_Face() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_get_Face"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ComponentMode>("UnityEngine.ProBuilder", "ComponentMode", "Face")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ComponentMode Face void UnityEngine::ProBuilder::ComponentMode::_set_Face(UnityEngine::ProBuilder::ComponentMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::_set_Face"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ComponentMode", "Face", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::ComponentMode::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ComponentMode::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.EditLevel #include "UnityEngine/ProBuilder/EditLevel.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EditLevel Top UnityEngine::ProBuilder::EditLevel UnityEngine::ProBuilder::EditLevel::_get_Top() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_get_Top"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EditLevel>("UnityEngine.ProBuilder", "EditLevel", "Top")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EditLevel Top void UnityEngine::ProBuilder::EditLevel::_set_Top(UnityEngine::ProBuilder::EditLevel value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_set_Top"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EditLevel", "Top", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EditLevel Geometry UnityEngine::ProBuilder::EditLevel UnityEngine::ProBuilder::EditLevel::_get_Geometry() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_get_Geometry"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EditLevel>("UnityEngine.ProBuilder", "EditLevel", "Geometry")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EditLevel Geometry void UnityEngine::ProBuilder::EditLevel::_set_Geometry(UnityEngine::ProBuilder::EditLevel value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_set_Geometry"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EditLevel", "Geometry", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EditLevel Texture UnityEngine::ProBuilder::EditLevel UnityEngine::ProBuilder::EditLevel::_get_Texture() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_get_Texture"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EditLevel>("UnityEngine.ProBuilder", "EditLevel", "Texture")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EditLevel Texture void UnityEngine::ProBuilder::EditLevel::_set_Texture(UnityEngine::ProBuilder::EditLevel value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_set_Texture"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EditLevel", "Texture", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EditLevel Plugin UnityEngine::ProBuilder::EditLevel UnityEngine::ProBuilder::EditLevel::_get_Plugin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_get_Plugin"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EditLevel>("UnityEngine.ProBuilder", "EditLevel", "Plugin")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EditLevel Plugin void UnityEngine::ProBuilder::EditLevel::_set_Plugin(UnityEngine::ProBuilder::EditLevel value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::_set_Plugin"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EditLevel", "Plugin", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::EditLevel::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EditLevel::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.EntityType #include "UnityEngine/ProBuilder/EntityType.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EntityType Detail UnityEngine::ProBuilder::EntityType UnityEngine::ProBuilder::EntityType::_get_Detail() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_get_Detail"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EntityType>("UnityEngine.ProBuilder", "EntityType", "Detail")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EntityType Detail void UnityEngine::ProBuilder::EntityType::_set_Detail(UnityEngine::ProBuilder::EntityType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_set_Detail"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EntityType", "Detail", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EntityType Occluder UnityEngine::ProBuilder::EntityType UnityEngine::ProBuilder::EntityType::_get_Occluder() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_get_Occluder"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EntityType>("UnityEngine.ProBuilder", "EntityType", "Occluder")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EntityType Occluder void UnityEngine::ProBuilder::EntityType::_set_Occluder(UnityEngine::ProBuilder::EntityType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_set_Occluder"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EntityType", "Occluder", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EntityType Trigger UnityEngine::ProBuilder::EntityType UnityEngine::ProBuilder::EntityType::_get_Trigger() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_get_Trigger"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EntityType>("UnityEngine.ProBuilder", "EntityType", "Trigger")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EntityType Trigger void UnityEngine::ProBuilder::EntityType::_set_Trigger(UnityEngine::ProBuilder::EntityType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_set_Trigger"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EntityType", "Trigger", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EntityType Collider UnityEngine::ProBuilder::EntityType UnityEngine::ProBuilder::EntityType::_get_Collider() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_get_Collider"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EntityType>("UnityEngine.ProBuilder", "EntityType", "Collider")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EntityType Collider void UnityEngine::ProBuilder::EntityType::_set_Collider(UnityEngine::ProBuilder::EntityType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_set_Collider"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EntityType", "Collider", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.EntityType Mover UnityEngine::ProBuilder::EntityType UnityEngine::ProBuilder::EntityType::_get_Mover() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_get_Mover"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::EntityType>("UnityEngine.ProBuilder", "EntityType", "Mover")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.EntityType Mover void UnityEngine::ProBuilder::EntityType::_set_Mover(UnityEngine::ProBuilder::EntityType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::_set_Mover"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "EntityType", "Mover", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::EntityType::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::EntityType::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ColliderType #include "UnityEngine/ProBuilder/ColliderType.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ColliderType None UnityEngine::ProBuilder::ColliderType UnityEngine::ProBuilder::ColliderType::_get_None() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_get_None"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ColliderType>("UnityEngine.ProBuilder", "ColliderType", "None")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ColliderType None void UnityEngine::ProBuilder::ColliderType::_set_None(UnityEngine::ProBuilder::ColliderType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_set_None"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ColliderType", "None", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ColliderType BoxCollider UnityEngine::ProBuilder::ColliderType UnityEngine::ProBuilder::ColliderType::_get_BoxCollider() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_get_BoxCollider"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ColliderType>("UnityEngine.ProBuilder", "ColliderType", "BoxCollider")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ColliderType BoxCollider void UnityEngine::ProBuilder::ColliderType::_set_BoxCollider(UnityEngine::ProBuilder::ColliderType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_set_BoxCollider"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ColliderType", "BoxCollider", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ColliderType MeshCollider UnityEngine::ProBuilder::ColliderType UnityEngine::ProBuilder::ColliderType::_get_MeshCollider() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_get_MeshCollider"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ColliderType>("UnityEngine.ProBuilder", "ColliderType", "MeshCollider")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ColliderType MeshCollider void UnityEngine::ProBuilder::ColliderType::_set_MeshCollider(UnityEngine::ProBuilder::ColliderType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::_set_MeshCollider"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ColliderType", "MeshCollider", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::ColliderType::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ColliderType::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProjectionAxis #include "UnityEngine/ProBuilder/ProjectionAxis.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis X UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_X() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_X"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "X")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis X void UnityEngine::ProBuilder::ProjectionAxis::_set_X(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_X"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "X", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis Y UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_Y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_Y"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "Y")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis Y void UnityEngine::ProBuilder::ProjectionAxis::_set_Y(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_Y"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "Y", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis Z UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_Z() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_Z"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "Z")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis Z void UnityEngine::ProBuilder::ProjectionAxis::_set_Z(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_Z"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "Z", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis XNegative UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_XNegative() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_XNegative"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "XNegative")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis XNegative void UnityEngine::ProBuilder::ProjectionAxis::_set_XNegative(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_XNegative"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "XNegative", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis YNegative UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_YNegative() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_YNegative"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "YNegative")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis YNegative void UnityEngine::ProBuilder::ProjectionAxis::_set_YNegative(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_YNegative"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "YNegative", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProjectionAxis ZNegative UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::ProjectionAxis::_get_ZNegative() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_get_ZNegative"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProjectionAxis>("UnityEngine.ProBuilder", "ProjectionAxis", "ZNegative")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProjectionAxis ZNegative void UnityEngine::ProBuilder::ProjectionAxis::_set_ZNegative(UnityEngine::ProBuilder::ProjectionAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::_set_ZNegative"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProjectionAxis", "ZNegative", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::ProjectionAxis::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProjectionAxis::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.HandleAxis #include "UnityEngine/ProBuilder/HandleAxis.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.HandleAxis X UnityEngine::ProBuilder::HandleAxis UnityEngine::ProBuilder::HandleAxis::_get_X() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_get_X"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::HandleAxis>("UnityEngine.ProBuilder", "HandleAxis", "X")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.HandleAxis X void UnityEngine::ProBuilder::HandleAxis::_set_X(UnityEngine::ProBuilder::HandleAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_set_X"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "HandleAxis", "X", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.HandleAxis Y UnityEngine::ProBuilder::HandleAxis UnityEngine::ProBuilder::HandleAxis::_get_Y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_get_Y"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::HandleAxis>("UnityEngine.ProBuilder", "HandleAxis", "Y")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.HandleAxis Y void UnityEngine::ProBuilder::HandleAxis::_set_Y(UnityEngine::ProBuilder::HandleAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_set_Y"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "HandleAxis", "Y", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.HandleAxis Z UnityEngine::ProBuilder::HandleAxis UnityEngine::ProBuilder::HandleAxis::_get_Z() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_get_Z"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::HandleAxis>("UnityEngine.ProBuilder", "HandleAxis", "Z")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.HandleAxis Z void UnityEngine::ProBuilder::HandleAxis::_set_Z(UnityEngine::ProBuilder::HandleAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_set_Z"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "HandleAxis", "Z", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.HandleAxis Free UnityEngine::ProBuilder::HandleAxis UnityEngine::ProBuilder::HandleAxis::_get_Free() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_get_Free"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::HandleAxis>("UnityEngine.ProBuilder", "HandleAxis", "Free")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.HandleAxis Free void UnityEngine::ProBuilder::HandleAxis::_set_Free(UnityEngine::ProBuilder::HandleAxis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::_set_Free"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "HandleAxis", "Free", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::HandleAxis::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::HandleAxis::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Shape #include "UnityEngine/ProBuilder/Shape.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Cube UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Cube() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Cube"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Cube")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Cube void UnityEngine::ProBuilder::Shape::_set_Cube(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Cube"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Cube", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Stair UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Stair() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Stair"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Stair")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Stair void UnityEngine::ProBuilder::Shape::_set_Stair(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Stair"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Stair", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Prism UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Prism() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Prism"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Prism")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Prism void UnityEngine::ProBuilder::Shape::_set_Prism(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Prism"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Prism", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Cylinder UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Cylinder() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Cylinder"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Cylinder")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Cylinder void UnityEngine::ProBuilder::Shape::_set_Cylinder(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Cylinder"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Cylinder", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Plane UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Plane() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Plane"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Plane")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Plane void UnityEngine::ProBuilder::Shape::_set_Plane(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Plane"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Plane", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Door UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Door() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Door"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Door")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Door void UnityEngine::ProBuilder::Shape::_set_Door(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Door"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Door", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Pipe UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Pipe() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Pipe"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Pipe")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Pipe void UnityEngine::ProBuilder::Shape::_set_Pipe(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Pipe"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Pipe", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Cone UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Cone() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Cone"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Cone")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Cone void UnityEngine::ProBuilder::Shape::_set_Cone(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Cone"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Cone", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Sprite UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Sprite() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Sprite"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Sprite")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Sprite void UnityEngine::ProBuilder::Shape::_set_Sprite(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Sprite"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Sprite", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Arch UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Arch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Arch"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Arch")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Arch void UnityEngine::ProBuilder::Shape::_set_Arch(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Arch"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Arch", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Icosahedron UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Icosahedron() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Icosahedron"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Icosahedron")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Icosahedron void UnityEngine::ProBuilder::Shape::_set_Icosahedron(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Icosahedron"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Icosahedron", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Torus UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Torus() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Torus"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Torus")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Torus void UnityEngine::ProBuilder::Shape::_set_Torus(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Torus"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Torus", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Shape Custom UnityEngine::ProBuilder::Shape UnityEngine::ProBuilder::Shape::_get_Custom() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_get_Custom"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Shape>("UnityEngine.ProBuilder", "Shape", "Custom")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Shape Custom void UnityEngine::ProBuilder::Shape::_set_Custom(UnityEngine::ProBuilder::Shape value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::_set_Custom"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Shape", "Custom", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::Shape::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Shape::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Axis #include "UnityEngine/ProBuilder/Axis.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Right UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Right() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Right"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Right")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Right void UnityEngine::ProBuilder::Axis::_set_Right(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Right"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Right", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Left UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Left() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Left"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Left")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Left void UnityEngine::ProBuilder::Axis::_set_Left(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Left"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Left", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Up UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Up() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Up"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Up")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Up void UnityEngine::ProBuilder::Axis::_set_Up(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Up"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Up", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Down UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Down() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Down"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Down")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Down void UnityEngine::ProBuilder::Axis::_set_Down(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Down"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Down", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Forward UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Forward() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Forward"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Forward")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Forward void UnityEngine::ProBuilder::Axis::_set_Forward(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Forward"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Forward", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.Axis Backward UnityEngine::ProBuilder::Axis UnityEngine::ProBuilder::Axis::_get_Backward() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_get_Backward"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Axis>("UnityEngine.ProBuilder", "Axis", "Backward")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.Axis Backward void UnityEngine::ProBuilder::Axis::_set_Backward(UnityEngine::ProBuilder::Axis value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::_set_Backward"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Axis", "Backward", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::Axis::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Axis::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.WindingOrder #include "UnityEngine/ProBuilder/WindingOrder.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.WindingOrder Unknown UnityEngine::ProBuilder::WindingOrder UnityEngine::ProBuilder::WindingOrder::_get_Unknown() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_get_Unknown"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::WindingOrder>("UnityEngine.ProBuilder", "WindingOrder", "Unknown")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.WindingOrder Unknown void UnityEngine::ProBuilder::WindingOrder::_set_Unknown(UnityEngine::ProBuilder::WindingOrder value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_set_Unknown"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WindingOrder", "Unknown", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.WindingOrder Clockwise UnityEngine::ProBuilder::WindingOrder UnityEngine::ProBuilder::WindingOrder::_get_Clockwise() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_get_Clockwise"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::WindingOrder>("UnityEngine.ProBuilder", "WindingOrder", "Clockwise")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.WindingOrder Clockwise void UnityEngine::ProBuilder::WindingOrder::_set_Clockwise(UnityEngine::ProBuilder::WindingOrder value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_set_Clockwise"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WindingOrder", "Clockwise", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.WindingOrder CounterClockwise UnityEngine::ProBuilder::WindingOrder UnityEngine::ProBuilder::WindingOrder::_get_CounterClockwise() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_get_CounterClockwise"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::WindingOrder>("UnityEngine.ProBuilder", "WindingOrder", "CounterClockwise")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.WindingOrder CounterClockwise void UnityEngine::ProBuilder::WindingOrder::_set_CounterClockwise(UnityEngine::ProBuilder::WindingOrder value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::_set_CounterClockwise"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WindingOrder", "CounterClockwise", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::WindingOrder::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WindingOrder::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SortMethod #include "UnityEngine/ProBuilder/SortMethod.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SortMethod Clockwise UnityEngine::ProBuilder::SortMethod UnityEngine::ProBuilder::SortMethod::_get_Clockwise() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SortMethod::_get_Clockwise"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SortMethod>("UnityEngine.ProBuilder", "SortMethod", "Clockwise")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SortMethod Clockwise void UnityEngine::ProBuilder::SortMethod::_set_Clockwise(UnityEngine::ProBuilder::SortMethod value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SortMethod::_set_Clockwise"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SortMethod", "Clockwise", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SortMethod CounterClockwise UnityEngine::ProBuilder::SortMethod UnityEngine::ProBuilder::SortMethod::_get_CounterClockwise() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SortMethod::_get_CounterClockwise"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SortMethod>("UnityEngine.ProBuilder", "SortMethod", "CounterClockwise")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SortMethod CounterClockwise void UnityEngine::ProBuilder::SortMethod::_set_CounterClockwise(UnityEngine::ProBuilder::SortMethod value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SortMethod::_set_CounterClockwise"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SortMethod", "CounterClockwise", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::SortMethod::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SortMethod::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.CullingMode #include "UnityEngine/ProBuilder/CullingMode.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.CullingMode None UnityEngine::ProBuilder::CullingMode UnityEngine::ProBuilder::CullingMode::_get_None() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_get_None"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::CullingMode>("UnityEngine.ProBuilder", "CullingMode", "None")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.CullingMode None void UnityEngine::ProBuilder::CullingMode::_set_None(UnityEngine::ProBuilder::CullingMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_set_None"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "CullingMode", "None", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.CullingMode Back UnityEngine::ProBuilder::CullingMode UnityEngine::ProBuilder::CullingMode::_get_Back() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_get_Back"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::CullingMode>("UnityEngine.ProBuilder", "CullingMode", "Back")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.CullingMode Back void UnityEngine::ProBuilder::CullingMode::_set_Back(UnityEngine::ProBuilder::CullingMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_set_Back"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "CullingMode", "Back", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.CullingMode Front UnityEngine::ProBuilder::CullingMode UnityEngine::ProBuilder::CullingMode::_get_Front() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_get_Front"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::CullingMode>("UnityEngine.ProBuilder", "CullingMode", "Front")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.CullingMode Front void UnityEngine::ProBuilder::CullingMode::_set_Front(UnityEngine::ProBuilder::CullingMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_set_Front"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "CullingMode", "Front", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.CullingMode FrontBack UnityEngine::ProBuilder::CullingMode UnityEngine::ProBuilder::CullingMode::_get_FrontBack() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_get_FrontBack"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::CullingMode>("UnityEngine.ProBuilder", "CullingMode", "FrontBack")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.CullingMode FrontBack void UnityEngine::ProBuilder::CullingMode::_set_FrontBack(UnityEngine::ProBuilder::CullingMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::_set_FrontBack"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "CullingMode", "FrontBack", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::CullingMode::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::CullingMode::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.RectSelectMode #include "UnityEngine/ProBuilder/RectSelectMode.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RectSelectMode Partial UnityEngine::ProBuilder::RectSelectMode UnityEngine::ProBuilder::RectSelectMode::_get_Partial() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RectSelectMode::_get_Partial"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RectSelectMode>("UnityEngine.ProBuilder", "RectSelectMode", "Partial")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RectSelectMode Partial void UnityEngine::ProBuilder::RectSelectMode::_set_Partial(UnityEngine::ProBuilder::RectSelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RectSelectMode::_set_Partial"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RectSelectMode", "Partial", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RectSelectMode Complete UnityEngine::ProBuilder::RectSelectMode UnityEngine::ProBuilder::RectSelectMode::_get_Complete() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RectSelectMode::_get_Complete"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RectSelectMode>("UnityEngine.ProBuilder", "RectSelectMode", "Complete")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RectSelectMode Complete void UnityEngine::ProBuilder::RectSelectMode::_set_Complete(UnityEngine::ProBuilder::RectSelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RectSelectMode::_set_Complete"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RectSelectMode", "Complete", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::RectSelectMode::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RectSelectMode::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshSyncState #include "UnityEngine/ProBuilder/MeshSyncState.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshSyncState Null UnityEngine::ProBuilder::MeshSyncState UnityEngine::ProBuilder::MeshSyncState::_get_Null() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_get_Null"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshSyncState>("UnityEngine.ProBuilder", "MeshSyncState", "Null")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshSyncState Null void UnityEngine::ProBuilder::MeshSyncState::_set_Null(UnityEngine::ProBuilder::MeshSyncState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_set_Null"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshSyncState", "Null", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshSyncState InstanceIDMismatch UnityEngine::ProBuilder::MeshSyncState UnityEngine::ProBuilder::MeshSyncState::_get_InstanceIDMismatch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_get_InstanceIDMismatch"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshSyncState>("UnityEngine.ProBuilder", "MeshSyncState", "InstanceIDMismatch")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshSyncState InstanceIDMismatch void UnityEngine::ProBuilder::MeshSyncState::_set_InstanceIDMismatch(UnityEngine::ProBuilder::MeshSyncState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_set_InstanceIDMismatch"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshSyncState", "InstanceIDMismatch", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshSyncState Lightmap UnityEngine::ProBuilder::MeshSyncState UnityEngine::ProBuilder::MeshSyncState::_get_Lightmap() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_get_Lightmap"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshSyncState>("UnityEngine.ProBuilder", "MeshSyncState", "Lightmap")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshSyncState Lightmap void UnityEngine::ProBuilder::MeshSyncState::_set_Lightmap(UnityEngine::ProBuilder::MeshSyncState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_set_Lightmap"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshSyncState", "Lightmap", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshSyncState InSync UnityEngine::ProBuilder::MeshSyncState UnityEngine::ProBuilder::MeshSyncState::_get_InSync() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_get_InSync"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshSyncState>("UnityEngine.ProBuilder", "MeshSyncState", "InSync")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshSyncState InSync void UnityEngine::ProBuilder::MeshSyncState::_set_InSync(UnityEngine::ProBuilder::MeshSyncState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::_set_InSync"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshSyncState", "InSync", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::MeshSyncState::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshSyncState::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshArrays #include "UnityEngine/ProBuilder/MeshArrays.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Position UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Position() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Position"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Position")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Position void UnityEngine::ProBuilder::MeshArrays::_set_Position(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Position"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Position", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Texture0 UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Texture0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Texture0"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Texture0")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Texture0 void UnityEngine::ProBuilder::MeshArrays::_set_Texture0(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Texture0"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Texture0", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Texture1 UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Texture1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Texture1"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Texture1")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Texture1 void UnityEngine::ProBuilder::MeshArrays::_set_Texture1(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Texture1"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Texture1", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Lightmap UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Lightmap() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Lightmap"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Lightmap")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Lightmap void UnityEngine::ProBuilder::MeshArrays::_set_Lightmap(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Lightmap"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Lightmap", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Texture2 UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Texture2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Texture2"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Texture2")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Texture2 void UnityEngine::ProBuilder::MeshArrays::_set_Texture2(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Texture2"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Texture2", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Texture3 UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Texture3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Texture3"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Texture3")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Texture3 void UnityEngine::ProBuilder::MeshArrays::_set_Texture3(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Texture3"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Texture3", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Color UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Color() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Color"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Color")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Color void UnityEngine::ProBuilder::MeshArrays::_set_Color(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Color"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Color", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Normal UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Normal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Normal"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Normal")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Normal void UnityEngine::ProBuilder::MeshArrays::_set_Normal(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Normal"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Normal", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays Tangent UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_Tangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_Tangent"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "Tangent")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays Tangent void UnityEngine::ProBuilder::MeshArrays::_set_Tangent(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_Tangent"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "Tangent", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.MeshArrays All UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::MeshArrays::_get_All() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_get_All"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshArrays>("UnityEngine.ProBuilder", "MeshArrays", "All")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.MeshArrays All void UnityEngine::ProBuilder::MeshArrays::_set_All(UnityEngine::ProBuilder::MeshArrays value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::_set_All"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "MeshArrays", "All", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::MeshArrays::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshArrays::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.IndexFormat #include "UnityEngine/ProBuilder/IndexFormat.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.IndexFormat Local UnityEngine::ProBuilder::IndexFormat UnityEngine::ProBuilder::IndexFormat::_get_Local() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_get_Local"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::IndexFormat>("UnityEngine.ProBuilder", "IndexFormat", "Local")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.IndexFormat Local void UnityEngine::ProBuilder::IndexFormat::_set_Local(UnityEngine::ProBuilder::IndexFormat value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_set_Local"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "IndexFormat", "Local", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.IndexFormat Common UnityEngine::ProBuilder::IndexFormat UnityEngine::ProBuilder::IndexFormat::_get_Common() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_get_Common"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::IndexFormat>("UnityEngine.ProBuilder", "IndexFormat", "Common")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.IndexFormat Common void UnityEngine::ProBuilder::IndexFormat::_set_Common(UnityEngine::ProBuilder::IndexFormat value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_set_Common"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "IndexFormat", "Common", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.IndexFormat Both UnityEngine::ProBuilder::IndexFormat UnityEngine::ProBuilder::IndexFormat::_get_Both() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_get_Both"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::IndexFormat>("UnityEngine.ProBuilder", "IndexFormat", "Both")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.IndexFormat Both void UnityEngine::ProBuilder::IndexFormat::_set_Both(UnityEngine::ProBuilder::IndexFormat value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::_set_Both"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "IndexFormat", "Both", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::IndexFormat::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::IndexFormat::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.RefreshMask #include "UnityEngine/ProBuilder/RefreshMask.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask UV UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_UV() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_UV"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "UV")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask UV void UnityEngine::ProBuilder::RefreshMask::_set_UV(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_UV"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "UV", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask Colors UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_Colors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_Colors"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "Colors")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask Colors void UnityEngine::ProBuilder::RefreshMask::_set_Colors(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_Colors"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "Colors", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask Normals UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_Normals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_Normals"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "Normals")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask Normals void UnityEngine::ProBuilder::RefreshMask::_set_Normals(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_Normals"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "Normals", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask Tangents UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_Tangents() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_Tangents"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "Tangents")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask Tangents void UnityEngine::ProBuilder::RefreshMask::_set_Tangents(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_Tangents"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "Tangents", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask Collisions UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_Collisions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_Collisions"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "Collisions")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask Collisions void UnityEngine::ProBuilder::RefreshMask::_set_Collisions(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_Collisions"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "Collisions", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.RefreshMask All UnityEngine::ProBuilder::RefreshMask UnityEngine::ProBuilder::RefreshMask::_get_All() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_get_All"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::RefreshMask>("UnityEngine.ProBuilder", "RefreshMask", "All")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.RefreshMask All void UnityEngine::ProBuilder::RefreshMask::_set_All(UnityEngine::ProBuilder::RefreshMask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::_set_All"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "RefreshMask", "All", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::RefreshMask::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RefreshMask::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ExtrudeMethod #include "UnityEngine/ProBuilder/ExtrudeMethod.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ExtrudeMethod IndividualFaces UnityEngine::ProBuilder::ExtrudeMethod UnityEngine::ProBuilder::ExtrudeMethod::_get_IndividualFaces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_get_IndividualFaces"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ExtrudeMethod>("UnityEngine.ProBuilder", "ExtrudeMethod", "IndividualFaces")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ExtrudeMethod IndividualFaces void UnityEngine::ProBuilder::ExtrudeMethod::_set_IndividualFaces(UnityEngine::ProBuilder::ExtrudeMethod value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_set_IndividualFaces"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ExtrudeMethod", "IndividualFaces", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ExtrudeMethod VertexNormal UnityEngine::ProBuilder::ExtrudeMethod UnityEngine::ProBuilder::ExtrudeMethod::_get_VertexNormal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_get_VertexNormal"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ExtrudeMethod>("UnityEngine.ProBuilder", "ExtrudeMethod", "VertexNormal")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ExtrudeMethod VertexNormal void UnityEngine::ProBuilder::ExtrudeMethod::_set_VertexNormal(UnityEngine::ProBuilder::ExtrudeMethod value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_set_VertexNormal"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ExtrudeMethod", "VertexNormal", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ExtrudeMethod FaceNormal UnityEngine::ProBuilder::ExtrudeMethod UnityEngine::ProBuilder::ExtrudeMethod::_get_FaceNormal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_get_FaceNormal"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ExtrudeMethod>("UnityEngine.ProBuilder", "ExtrudeMethod", "FaceNormal")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ExtrudeMethod FaceNormal void UnityEngine::ProBuilder::ExtrudeMethod::_set_FaceNormal(UnityEngine::ProBuilder::ExtrudeMethod value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::_set_FaceNormal"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ExtrudeMethod", "FaceNormal", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::ExtrudeMethod::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ExtrudeMethod::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/ProBuilderMesh_--c.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass150_0 #include "UnityEngine/ProBuilder/ProBuilderMesh_--c__DisplayClass150_0.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass152_0 #include "UnityEngine/ProBuilder/ProBuilderMesh_--c__DisplayClass152_0.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.SharedVertex #include "UnityEngine/ProBuilder/SharedVertex.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.UnwrapParameters #include "UnityEngine/ProBuilder/UnwrapParameters.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" // Including type: UnityEngine.MeshRenderer #include "UnityEngine/MeshRenderer.hpp" // Including type: UnityEngine.MeshFilter #include "UnityEngine/MeshFilter.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: System.Action`1 #include "System/Action_1.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.MeshSyncState #include "UnityEngine/ProBuilder/MeshSyncState.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: System.Collections.ObjectModel.ReadOnlyCollection`1 #include "System/Collections/ObjectModel/ReadOnlyCollection_1.hpp" // Including type: UnityEngine.ProBuilder.MeshArrays #include "UnityEngine/ProBuilder/MeshArrays.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: UnityEngine.Material #include "UnityEngine/Material.hpp" // Including type: UnityEngine.MeshTopology #include "UnityEngine/MeshTopology.hpp" // Including type: UnityEngine.ProBuilder.RefreshMask #include "UnityEngine/ProBuilder/RefreshMask.hpp" // Including type: UnityEngine.ProBuilder.AutoUnwrapSettings #include "UnityEngine/ProBuilder/AutoUnwrapSettings.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static UnityEngine.HideFlags k_MeshFilterHideFlags UnityEngine::HideFlags UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFilterHideFlags() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFilterHideFlags"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::HideFlags>("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFilterHideFlags")); } // Autogenerated static field setter // Set static field: static UnityEngine.HideFlags k_MeshFilterHideFlags void UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFilterHideFlags(UnityEngine::HideFlags value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFilterHideFlags"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFilterHideFlags", value)); } // Autogenerated static field getter // Get static field: static private System.Int32 k_UVChannelCount int UnityEngine::ProBuilder::ProBuilderMesh::_get_k_UVChannelCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_k_UVChannelCount"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "ProBuilderMesh", "k_UVChannelCount")); } // Autogenerated static field setter // Set static field: static private System.Int32 k_UVChannelCount void UnityEngine::ProBuilder::ProBuilderMesh::_set_k_UVChannelCount(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_k_UVChannelCount"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "k_UVChannelCount", value)); } // Autogenerated static field getter // Get static field: static private System.Int32 k_MeshFormatVersion int UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFormatVersion() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFormatVersion"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFormatVersion")); } // Autogenerated static field setter // Set static field: static private System.Int32 k_MeshFormatVersion void UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFormatVersion(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFormatVersion"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFormatVersion", value)); } // Autogenerated static field getter // Get static field: static private System.Int32 k_MeshFormatVersionSubmeshMaterialRefactor int UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFormatVersionSubmeshMaterialRefactor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_k_MeshFormatVersionSubmeshMaterialRefactor"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFormatVersionSubmeshMaterialRefactor")); } // Autogenerated static field setter // Set static field: static private System.Int32 k_MeshFormatVersionSubmeshMaterialRefactor void UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFormatVersionSubmeshMaterialRefactor(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_k_MeshFormatVersionSubmeshMaterialRefactor"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "k_MeshFormatVersionSubmeshMaterialRefactor", value)); } // Autogenerated static field getter // Get static field: static public System.UInt32 maxVertexCount uint UnityEngine::ProBuilder::ProBuilderMesh::_get_maxVertexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_maxVertexCount"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint>("UnityEngine.ProBuilder", "ProBuilderMesh", "maxVertexCount")); } // Autogenerated static field setter // Set static field: static public System.UInt32 maxVertexCount void UnityEngine::ProBuilder::ProBuilderMesh::_set_maxVertexCount(uint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_maxVertexCount"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "maxVertexCount", value)); } // Autogenerated static field getter // Get static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> meshWillBeDestroyed System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::ProBuilderMesh::_get_meshWillBeDestroyed() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_meshWillBeDestroyed"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>*>("UnityEngine.ProBuilder", "ProBuilderMesh", "meshWillBeDestroyed")); } // Autogenerated static field setter // Set static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> meshWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::_set_meshWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_meshWillBeDestroyed"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "meshWillBeDestroyed", value)); } // Autogenerated static field getter // Get static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> componentWillBeDestroyed System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::ProBuilderMesh::_get_componentWillBeDestroyed() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_componentWillBeDestroyed"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>*>("UnityEngine.ProBuilder", "ProBuilderMesh", "componentWillBeDestroyed")); } // Autogenerated static field setter // Set static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> componentWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::_set_componentWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_componentWillBeDestroyed"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "componentWillBeDestroyed", value)); } // Autogenerated static field getter // Get static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> componentHasBeenReset System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::ProBuilderMesh::_get_componentHasBeenReset() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_componentHasBeenReset"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>*>("UnityEngine.ProBuilder", "ProBuilderMesh", "componentHasBeenReset")); } // Autogenerated static field setter // Set static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> componentHasBeenReset void UnityEngine::ProBuilder::ProBuilderMesh::_set_componentHasBeenReset(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_componentHasBeenReset"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "componentHasBeenReset", value)); } // Autogenerated static field getter // Get static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> elementSelectionChanged System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::ProBuilderMesh::_get_elementSelectionChanged() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_elementSelectionChanged"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>*>("UnityEngine.ProBuilder", "ProBuilderMesh", "elementSelectionChanged")); } // Autogenerated static field setter // Set static field: static private System.Action`1<UnityEngine.ProBuilder.ProBuilderMesh> elementSelectionChanged void UnityEngine::ProBuilder::ProBuilderMesh::_set_elementSelectionChanged(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_elementSelectionChanged"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "elementSelectionChanged", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.HashSet`1<System.Int32> s_CachedHashSet System::Collections::Generic::HashSet_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::_get_s_CachedHashSet() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_get_s_CachedHashSet"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::HashSet_1<int>*>("UnityEngine.ProBuilder", "ProBuilderMesh", "s_CachedHashSet")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.HashSet`1<System.Int32> s_CachedHashSet void UnityEngine::ProBuilder::ProBuilderMesh::_set_s_CachedHashSet(System::Collections::Generic::HashSet_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::_set_s_CachedHashSet"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh", "s_CachedHashSet", value)); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_MeshFormatVersion int& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshFormatVersion() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshFormatVersion"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_MeshFormatVersion"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.Face[] m_Faces ::Array<UnityEngine::ProBuilder::Face*>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Faces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Faces"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Faces"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::Face*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.SharedVertex[] m_SharedVertices ::Array<UnityEngine::ProBuilder::SharedVertex*>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedVertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SharedVertices"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::SharedVertex*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState m_CacheValid UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_CacheValid() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_CacheValid"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_CacheValid"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> m_SharedVertexLookup System::Collections::Generic::Dictionary_2<int, int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedVertexLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedVertexLookup"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SharedVertexLookup"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<int, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.SharedVertex[] m_SharedTextures ::Array<UnityEngine::ProBuilder::SharedVertex*>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedTextures() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedTextures"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SharedTextures"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::SharedVertex*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> m_SharedTextureLookup System::Collections::Generic::Dictionary_2<int, int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedTextureLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SharedTextureLookup"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SharedTextureLookup"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<int, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3[] m_Positions ::Array<UnityEngine::Vector3>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Positions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Positions"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Positions"))->offset; return *reinterpret_cast<::Array<UnityEngine::Vector3>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector2[] m_Textures0 ::Array<UnityEngine::Vector2>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures0"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Textures0"))->offset; return *reinterpret_cast<::Array<UnityEngine::Vector2>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.Vector4> m_Textures2 System::Collections::Generic::List_1<UnityEngine::Vector4>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures2"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Textures2"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::Vector4>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.Vector4> m_Textures3 System::Collections::Generic::List_1<UnityEngine::Vector4>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Textures3"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Textures3"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::Vector4>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector4[] m_Tangents ::Array<UnityEngine::Vector4>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Tangents() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Tangents"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Tangents"))->offset; return *reinterpret_cast<::Array<UnityEngine::Vector4>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3[] m_Normals ::Array<UnityEngine::Vector3>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Normals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Normals"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Normals"))->offset; return *reinterpret_cast<::Array<UnityEngine::Vector3>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Color[] m_Colors ::Array<UnityEngine::Color>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Colors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Colors"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Colors"))->offset; return *reinterpret_cast<::Array<UnityEngine::Color>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Boolean <userCollisions>k__BackingField bool& UnityEngine::ProBuilder::ProBuilderMesh::dyn_$userCollisions$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_$userCollisions$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<userCollisions>k__BackingField"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.UnwrapParameters m_UnwrapParameters UnityEngine::ProBuilder::UnwrapParameters*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_UnwrapParameters() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_UnwrapParameters"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_UnwrapParameters"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::UnwrapParameters**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Boolean m_PreserveMeshAssetOnDestroy bool& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_PreserveMeshAssetOnDestroy() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_PreserveMeshAssetOnDestroy"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_PreserveMeshAssetOnDestroy"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: System.String assetGuid ::Il2CppString*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_assetGuid() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_assetGuid"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "assetGuid"))->offset; return *reinterpret_cast<::Il2CppString**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Mesh m_Mesh UnityEngine::Mesh*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_Mesh"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Mesh"))->offset; return *reinterpret_cast<UnityEngine::Mesh**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.MeshRenderer m_MeshRenderer UnityEngine::MeshRenderer*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshRenderer() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshRenderer"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_MeshRenderer"))->offset; return *reinterpret_cast<UnityEngine::MeshRenderer**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.MeshFilter m_MeshFilter UnityEngine::MeshFilter*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshFilter() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_MeshFilter"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_MeshFilter"))->offset; return *reinterpret_cast<UnityEngine::MeshFilter**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Boolean m_IsSelectable bool& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_IsSelectable() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_IsSelectable"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_IsSelectable"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32[] m_SelectedFaces ::Array<int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedFaces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedFaces"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedFaces"))->offset; return *reinterpret_cast<::Array<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.Edge[] m_SelectedEdges ::Array<UnityEngine::ProBuilder::Edge>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedEdges() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedEdges"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedEdges"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::Edge>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32[] m_SelectedVertices ::Array<int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedVertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedVertices"))->offset; return *reinterpret_cast<::Array<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Boolean m_SelectedCacheDirty bool& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCacheDirty() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCacheDirty"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedCacheDirty"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_SelectedSharedVerticesCount int& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedSharedVerticesCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedSharedVerticesCount"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedSharedVerticesCount"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_SelectedCoincidentVertexCount int& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCoincidentVertexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCoincidentVertexCount"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedCoincidentVertexCount"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.HashSet`1<System.Int32> m_SelectedSharedVertices System::Collections::Generic::HashSet_1<int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedSharedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedSharedVertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedSharedVertices"))->offset; return *reinterpret_cast<System::Collections::Generic::HashSet_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.Int32> m_SelectedCoincidentVertices System::Collections::Generic::List_1<int>*& UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCoincidentVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::dyn_m_SelectedCoincidentVertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SelectedCoincidentVertices"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_userCollisions bool UnityEngine::ProBuilder::ProBuilderMesh::get_userCollisions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_userCollisions"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_userCollisions", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_userCollisions void UnityEngine::ProBuilder::ProBuilderMesh::set_userCollisions(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_userCollisions"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_userCollisions", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_unwrapParameters UnityEngine::ProBuilder::UnwrapParameters* UnityEngine::ProBuilder::ProBuilderMesh::get_unwrapParameters() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_unwrapParameters"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_unwrapParameters", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::UnwrapParameters*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_unwrapParameters void UnityEngine::ProBuilder::ProBuilderMesh::set_unwrapParameters(UnityEngine::ProBuilder::UnwrapParameters* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_unwrapParameters"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_unwrapParameters", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_renderer UnityEngine::MeshRenderer* UnityEngine::ProBuilder::ProBuilderMesh::get_renderer() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_renderer"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_renderer", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::MeshRenderer*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_filter UnityEngine::MeshFilter* UnityEngine::ProBuilder::ProBuilderMesh::get_filter() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_filter"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_filter", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::MeshFilter*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_preserveMeshAssetOnDestroy bool UnityEngine::ProBuilder::ProBuilderMesh::get_preserveMeshAssetOnDestroy() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_preserveMeshAssetOnDestroy"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_preserveMeshAssetOnDestroy", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_preserveMeshAssetOnDestroy void UnityEngine::ProBuilder::ProBuilderMesh::set_preserveMeshAssetOnDestroy(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_preserveMeshAssetOnDestroy"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_preserveMeshAssetOnDestroy", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_facesInternal ::Array<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::ProBuilderMesh::get_facesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_facesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_facesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Face*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_facesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_facesInternal(::Array<UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_facesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_facesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_faces System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::ProBuilderMesh::get_faces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_faces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_faces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_faces void UnityEngine::ProBuilder::ProBuilderMesh::set_faces(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_faces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_faces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_sharedVerticesInternal ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVerticesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVerticesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_sharedVerticesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_sharedVerticesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_sharedVerticesInternal(::Array<UnityEngine::ProBuilder::SharedVertex*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_sharedVerticesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_sharedVerticesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_sharedVertices System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_sharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_sharedVertices void UnityEngine::ProBuilder::ProBuilderMesh::set_sharedVertices(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_sharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_sharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_sharedVertexLookup System::Collections::Generic::Dictionary_2<int, int>* UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVertexLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_sharedVertexLookup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_sharedVertexLookup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<int, int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_sharedTextures ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::ProBuilderMesh::get_sharedTextures() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_sharedTextures"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_sharedTextures", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_sharedTextures void UnityEngine::ProBuilder::ProBuilderMesh::set_sharedTextures(::Array<UnityEngine::ProBuilder::SharedVertex*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_sharedTextures"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_sharedTextures", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_sharedTextureLookup System::Collections::Generic::Dictionary_2<int, int>* UnityEngine::ProBuilder::ProBuilderMesh::get_sharedTextureLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_sharedTextureLookup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_sharedTextureLookup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<int, int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_positionsInternal ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ProBuilderMesh::get_positionsInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_positionsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_positionsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_positionsInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_positionsInternal(::Array<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_positionsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_positionsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_positions System::Collections::Generic::IList_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::ProBuilderMesh::get_positions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_positions"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_positions", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_positions void UnityEngine::ProBuilder::ProBuilderMesh::set_positions(System::Collections::Generic::IList_1<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_positions"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_positions", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_normals System::Collections::Generic::IList_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::ProBuilderMesh::get_normals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_normals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_normals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_normalsInternal ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ProBuilderMesh::get_normalsInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_normalsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_normalsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_normalsInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_normalsInternal(::Array<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_normalsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_normalsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_colorsInternal ::Array<UnityEngine::Color>* UnityEngine::ProBuilder::ProBuilderMesh::get_colorsInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_colorsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_colorsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Color>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_colorsInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_colorsInternal(::Array<UnityEngine::Color>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_colorsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_colorsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_colors System::Collections::Generic::IList_1<UnityEngine::Color>* UnityEngine::ProBuilder::ProBuilderMesh::get_colors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_colors"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_colors", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Color>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_colors void UnityEngine::ProBuilder::ProBuilderMesh::set_colors(System::Collections::Generic::IList_1<UnityEngine::Color>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_colors"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_colors", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_tangents System::Collections::Generic::IList_1<UnityEngine::Vector4>* UnityEngine::ProBuilder::ProBuilderMesh::get_tangents() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_tangents"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_tangents", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Vector4>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_tangents void UnityEngine::ProBuilder::ProBuilderMesh::set_tangents(System::Collections::Generic::IList_1<UnityEngine::Vector4>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_tangents"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_tangents", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_tangentsInternal ::Array<UnityEngine::Vector4>* UnityEngine::ProBuilder::ProBuilderMesh::get_tangentsInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_tangentsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_tangentsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector4>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_tangentsInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_tangentsInternal(::Array<UnityEngine::Vector4>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_tangentsInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_tangentsInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_texturesInternal ::Array<UnityEngine::Vector2>* UnityEngine::ProBuilder::ProBuilderMesh::get_texturesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_texturesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_texturesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector2>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_texturesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_texturesInternal(::Array<UnityEngine::Vector2>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_texturesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_texturesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_textures System::Collections::Generic::IList_1<UnityEngine::Vector2>* UnityEngine::ProBuilder::ProBuilderMesh::get_textures() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_textures"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_textures", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Vector2>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_textures void UnityEngine::ProBuilder::ProBuilderMesh::set_textures(System::Collections::Generic::IList_1<UnityEngine::Vector2>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_textures"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_textures", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_faceCount int UnityEngine::ProBuilder::ProBuilderMesh::get_faceCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_faceCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_faceCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_vertexCount int UnityEngine::ProBuilder::ProBuilderMesh::get_vertexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_vertexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_vertexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_edgeCount int UnityEngine::ProBuilder::ProBuilderMesh::get_edgeCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_edgeCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_edgeCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_indexCount int UnityEngine::ProBuilder::ProBuilderMesh::get_indexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_indexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_indexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_triangleCount int UnityEngine::ProBuilder::ProBuilderMesh::get_triangleCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_triangleCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_triangleCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_mesh UnityEngine::Mesh* UnityEngine::ProBuilder::ProBuilderMesh::get_mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_mesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_mesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Mesh*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_mesh void UnityEngine::ProBuilder::ProBuilderMesh::set_mesh(UnityEngine::Mesh* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_mesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_mesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_id int UnityEngine::ProBuilder::ProBuilderMesh::get_id() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_id"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_id", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_meshSyncState UnityEngine::ProBuilder::MeshSyncState UnityEngine::ProBuilder::ProBuilderMesh::get_meshSyncState() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_meshSyncState"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_meshSyncState", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::MeshSyncState, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectable bool UnityEngine::ProBuilder::ProBuilderMesh::get_selectable() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectable"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectable", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_selectable void UnityEngine::ProBuilder::ProBuilderMesh::set_selectable(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_selectable"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_selectable", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedFaceCount int UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedFaceCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedVertexCount int UnityEngine::ProBuilder::ProBuilderMesh::get_selectedVertexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedVertexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedVertexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedEdgeCount int UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdgeCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdgeCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedEdgeCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedSharedVerticesCount int UnityEngine::ProBuilder::ProBuilderMesh::get_selectedSharedVerticesCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedSharedVerticesCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedSharedVerticesCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedCoincidentVertexCount int UnityEngine::ProBuilder::ProBuilderMesh::get_selectedCoincidentVertexCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedCoincidentVertexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedCoincidentVertexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedSharedVertices System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedSharedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedSharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedSharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedCoincidentVertices System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedCoincidentVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedFaceIndexes System::Collections::ObjectModel::ReadOnlyCollection_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceIndexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceIndexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedFaceIndexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::ObjectModel::ReadOnlyCollection_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedVertices System::Collections::ObjectModel::ReadOnlyCollection_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::ObjectModel::ReadOnlyCollection_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedEdges System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdges() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedFacesInternal ::Array<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFacesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFacesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedFacesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Face*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_selectedFacesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_selectedFacesInternal(::Array<UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_selectedFacesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_selectedFacesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedFaceIndicesInternal ::Array<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceIndicesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedFaceIndicesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedFaceIndicesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_selectedFaceIndicesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_selectedFaceIndicesInternal(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_selectedFaceIndicesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_selectedFaceIndicesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedEdgesInternal ::Array<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdgesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedEdgesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedEdgesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_selectedEdgesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_selectedEdgesInternal(::Array<UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_selectedEdgesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_selectedEdgesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.get_selectedIndexesInternal ::Array<int>* UnityEngine::ProBuilder::ProBuilderMesh::get_selectedIndexesInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::get_selectedIndexesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_selectedIndexesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.set_selectedIndexesInternal void UnityEngine::ProBuilder::ProBuilderMesh::set_selectedIndexesInternal(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::set_selectedIndexesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_selectedIndexesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.add_meshWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::add_meshWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::add_meshWillBeDestroyed"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "add_meshWillBeDestroyed", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.remove_meshWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::remove_meshWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::remove_meshWillBeDestroyed"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "remove_meshWillBeDestroyed", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.add_componentWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::add_componentWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::add_componentWillBeDestroyed"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "add_componentWillBeDestroyed", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.remove_componentWillBeDestroyed void UnityEngine::ProBuilder::ProBuilderMesh::remove_componentWillBeDestroyed(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::remove_componentWillBeDestroyed"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "remove_componentWillBeDestroyed", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.add_componentHasBeenReset void UnityEngine::ProBuilder::ProBuilderMesh::add_componentHasBeenReset(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::add_componentHasBeenReset"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "add_componentHasBeenReset", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.remove_componentHasBeenReset void UnityEngine::ProBuilder::ProBuilderMesh::remove_componentHasBeenReset(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::remove_componentHasBeenReset"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "remove_componentHasBeenReset", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.add_elementSelectionChanged void UnityEngine::ProBuilder::ProBuilderMesh::add_elementSelectionChanged(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::add_elementSelectionChanged"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "add_elementSelectionChanged", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.remove_elementSelectionChanged void UnityEngine::ProBuilder::ProBuilderMesh::remove_elementSelectionChanged(System::Action_1<UnityEngine::ProBuilder::ProBuilderMesh*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::remove_elementSelectionChanged"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "remove_elementSelectionChanged", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.HasArrays bool UnityEngine::ProBuilder::ProBuilderMesh::HasArrays(UnityEngine::ProBuilder::MeshArrays channels) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::HasArrays"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "HasArrays", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(channels)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, channels); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.InvalidateSharedVertexLookup void UnityEngine::ProBuilder::ProBuilderMesh::InvalidateSharedVertexLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::InvalidateSharedVertexLookup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "InvalidateSharedVertexLookup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.InvalidateSharedTextureLookup void UnityEngine::ProBuilder::ProBuilderMesh::InvalidateSharedTextureLookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::InvalidateSharedTextureLookup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "InvalidateSharedTextureLookup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.InvalidateFaces void UnityEngine::ProBuilder::ProBuilderMesh::InvalidateFaces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::InvalidateFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "InvalidateFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.InvalidateCaches void UnityEngine::ProBuilder::ProBuilderMesh::InvalidateCaches() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::InvalidateCaches"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "InvalidateCaches", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSharedVertices void UnityEngine::ProBuilder::ProBuilderMesh::SetSharedVertices(System::Collections::Generic::IEnumerable_1<System::Collections::Generic::KeyValuePair_2<int, int>>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(indexes)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, indexes); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSharedTextures void UnityEngine::ProBuilder::ProBuilderMesh::SetSharedTextures(System::Collections::Generic::IEnumerable_1<System::Collections::Generic::KeyValuePair_2<int, int>>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSharedTextures"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSharedTextures", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(indexes)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, indexes); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetVertices ::Array<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::ProBuilderMesh::GetVertices(System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(indexes)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Vertex*>*, false>(___instance_arg, ___internal__method, indexes); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetVertices void UnityEngine::ProBuilder::ProBuilderMesh::SetVertices(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, bool applyMesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(applyMesh)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices, applyMesh); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetNormals ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ProBuilderMesh::GetNormals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetColors ::Array<UnityEngine::Color>* UnityEngine::ProBuilder::ProBuilderMesh::GetColors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetColors"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetColors", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Color>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetTangents ::Array<UnityEngine::Vector4>* UnityEngine::ProBuilder::ProBuilderMesh::GetTangents() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetTangents"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetTangents", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector4>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetUVs void UnityEngine::ProBuilder::ProBuilderMesh::GetUVs(int channel, System::Collections::Generic::List_1<UnityEngine::Vector4>* uvs) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(channel), ::il2cpp_utils::ExtractType(uvs)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, channel, uvs); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetUVs System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::Vector2>* UnityEngine::ProBuilder::ProBuilderMesh::GetUVs(int channel) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(channel)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::ObjectModel::ReadOnlyCollection_1<UnityEngine::Vector2>*, false>(___instance_arg, ___internal__method, channel); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetUVs void UnityEngine::ProBuilder::ProBuilderMesh::SetUVs(int channel, System::Collections::Generic::List_1<UnityEngine::Vector4>* uvs) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(channel), ::il2cpp_utils::ExtractType(uvs)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, channel, uvs); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Awake void UnityEngine::ProBuilder::ProBuilderMesh::Awake() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Awake"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Awake", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Reset void UnityEngine::ProBuilder::ProBuilderMesh::Reset() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Reset"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Reset", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.OnDestroy void UnityEngine::ProBuilder::ProBuilderMesh::OnDestroy() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::OnDestroy"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "OnDestroy", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Clear void UnityEngine::ProBuilder::ProBuilderMesh::Clear() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Clear"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Clear", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.EnsureMeshFilterIsAssigned void UnityEngine::ProBuilder::ProBuilderMesh::EnsureMeshFilterIsAssigned() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::EnsureMeshFilterIsAssigned"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "EnsureMeshFilterIsAssigned", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.CreateInstanceWithPoints UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ProBuilderMesh::CreateInstanceWithPoints(::Array<UnityEngine::Vector3>* positions) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CreateInstanceWithPoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "CreateInstanceWithPoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Create UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ProBuilderMesh::Create() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Create"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "Create", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Create UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ProBuilderMesh::Create(System::Collections::Generic::IEnumerable_1<UnityEngine::Vector3>* positions, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Create"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "Create", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, faces); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Create UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ProBuilderMesh::Create(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>* faces, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* sharedVertices, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* sharedTextures, System::Collections::Generic::IList_1<UnityEngine::Material*>* materials) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Create"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "Create", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(sharedVertices), ::il2cpp_utils::ExtractType(sharedTextures), ::il2cpp_utils::ExtractType(materials)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, faces, sharedVertices, sharedTextures, materials); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GeometryWithPoints void UnityEngine::ProBuilder::ProBuilderMesh::GeometryWithPoints(::Array<UnityEngine::Vector3>* points) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GeometryWithPoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GeometryWithPoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, points); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RebuildWithPositionsAndFaces void UnityEngine::ProBuilder::ProBuilderMesh::RebuildWithPositionsAndFaces(System::Collections::Generic::IEnumerable_1<UnityEngine::Vector3>* vertices, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RebuildWithPositionsAndFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RebuildWithPositionsAndFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(faces)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices, faces); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Rebuild void UnityEngine::ProBuilder::ProBuilderMesh::Rebuild() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Rebuild"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Rebuild", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.ToMesh void UnityEngine::ProBuilder::ProBuilderMesh::ToMesh(UnityEngine::MeshTopology preferredTopology) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::ToMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(preferredTopology)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, preferredTopology); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.MakeUnique void UnityEngine::ProBuilder::ProBuilderMesh::MakeUnique() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::MakeUnique"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "MakeUnique", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.CopyFrom void UnityEngine::ProBuilder::ProBuilderMesh::CopyFrom(UnityEngine::ProBuilder::ProBuilderMesh* other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CopyFrom"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CopyFrom", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.Refresh void UnityEngine::ProBuilder::ProBuilderMesh::Refresh(UnityEngine::ProBuilder::RefreshMask mask) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::Refresh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Refresh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mask)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, mask); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.EnsureMeshColliderIsAssigned void UnityEngine::ProBuilder::ProBuilderMesh::EnsureMeshColliderIsAssigned() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::EnsureMeshColliderIsAssigned"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "EnsureMeshColliderIsAssigned", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetUnusedTextureGroup int UnityEngine::ProBuilder::ProBuilderMesh::GetUnusedTextureGroup(int i) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetUnusedTextureGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetUnusedTextureGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, i); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.IsValidTextureGroup bool UnityEngine::ProBuilder::ProBuilderMesh::IsValidTextureGroup(int group) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::IsValidTextureGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", "IsValidTextureGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(group)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, group); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.UnusedElementGroup int UnityEngine::ProBuilder::ProBuilderMesh::UnusedElementGroup(int i) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::UnusedElementGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "UnusedElementGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, i); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RefreshUV void UnityEngine::ProBuilder::ProBuilderMesh::RefreshUV(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* facesToRefresh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RefreshUV"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RefreshUV", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(facesToRefresh)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, facesToRefresh); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetGroupUV void UnityEngine::ProBuilder::ProBuilderMesh::SetGroupUV(UnityEngine::ProBuilder::AutoUnwrapSettings settings, int group) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetGroupUV"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetGroupUV", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(settings), ::il2cpp_utils::ExtractType(group)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, settings, group); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RefreshColors void UnityEngine::ProBuilder::ProBuilderMesh::RefreshColors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RefreshColors"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RefreshColors", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetFaceColor void UnityEngine::ProBuilder::ProBuilderMesh::SetFaceColor(UnityEngine::ProBuilder::Face* face, UnityEngine::Color color) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetFaceColor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetFaceColor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(color)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, face, color); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetMaterial void UnityEngine::ProBuilder::ProBuilderMesh::SetMaterial(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, UnityEngine::Material* material) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetMaterial"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetMaterial", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(material)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, faces, material); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RefreshNormals void UnityEngine::ProBuilder::ProBuilderMesh::RefreshNormals() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RefreshNormals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RefreshNormals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RefreshTangents void UnityEngine::ProBuilder::ProBuilderMesh::RefreshTangents() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RefreshTangents"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RefreshTangents", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetSharedVertexHandle int UnityEngine::ProBuilder::ProBuilderMesh::GetSharedVertexHandle(int vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetSharedVertexHandle"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetSharedVertexHandle", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, vertex); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetSharedVertexHandles System::Collections::Generic::HashSet_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::GetSharedVertexHandles(System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetSharedVertexHandles"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetSharedVertexHandles", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<int>*, false>(___instance_arg, ___internal__method, vertices); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetCoincidentVertices System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices(System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(___instance_arg, ___internal__method, vertices); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetCoincidentVertices void UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, System::Collections::Generic::List_1<int>* coincident) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(coincident)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, faces, coincident); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetCoincidentVertices void UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges, System::Collections::Generic::List_1<int>* coincident) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(coincident)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, edges, coincident); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetCoincidentVertices void UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices(System::Collections::Generic::IEnumerable_1<int>* vertices, System::Collections::Generic::List_1<int>* coincident) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(coincident)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices, coincident); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetCoincidentVertices void UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices(int vertex, System::Collections::Generic::List_1<int>* coincident) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetCoincidentVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetCoincidentVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex), ::il2cpp_utils::ExtractType(coincident)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertex, coincident); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetVerticesCoincident void UnityEngine::ProBuilder::ProBuilderMesh::SetVerticesCoincident(System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetVerticesCoincident"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetVerticesCoincident", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetTexturesCoincident void UnityEngine::ProBuilder::ProBuilderMesh::SetTexturesCoincident(System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetTexturesCoincident"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetTexturesCoincident", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.AddToSharedVertex void UnityEngine::ProBuilder::ProBuilderMesh::AddToSharedVertex(int sharedVertexHandle, int vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::AddToSharedVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "AddToSharedVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(sharedVertexHandle), ::il2cpp_utils::ExtractType(vertex)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, sharedVertexHandle, vertex); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.AddSharedVertex void UnityEngine::ProBuilder::ProBuilderMesh::AddSharedVertex(UnityEngine::ProBuilder::SharedVertex* vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::AddSharedVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "AddSharedVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertex); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.CacheSelection void UnityEngine::ProBuilder::ProBuilderMesh::CacheSelection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheSelection"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CacheSelection", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetSelectedFaces ::Array<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::ProBuilderMesh::GetSelectedFaces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetSelectedFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetSelectedFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Face*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetActiveFace UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::ProBuilderMesh::GetActiveFace() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetActiveFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetActiveFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetActiveEdge UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::ProBuilderMesh::GetActiveEdge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetActiveEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetActiveEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.GetActiveVertex int UnityEngine::ProBuilder::ProBuilderMesh::GetActiveVertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::GetActiveVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetActiveVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.AddToFaceSelection void UnityEngine::ProBuilder::ProBuilderMesh::AddToFaceSelection(int index) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::AddToFaceSelection"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "AddToFaceSelection", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(index)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, index); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSelectedFaces void UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedFaces(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* selected) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSelectedFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(selected)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, selected); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSelectedFaces void UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedFaces(System::Collections::Generic::IEnumerable_1<int>* selected) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSelectedFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(selected)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, selected); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSelectedEdges void UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedEdges(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSelectedEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edges)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, edges); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.SetSelectedVertices void UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedVertices(System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::SetSelectedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSelectedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertices); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.RemoveFromFaceSelectionAtIndex void UnityEngine::ProBuilder::ProBuilderMesh::RemoveFromFaceSelectionAtIndex(int index) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::RemoveFromFaceSelectionAtIndex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RemoveFromFaceSelectionAtIndex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(index)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, index); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.ClearSelection void UnityEngine::ProBuilder::ProBuilderMesh::ClearSelection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::ClearSelection"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ClearSelection", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.<set_selectedFacesInternal>b__207_0 int UnityEngine::ProBuilder::ProBuilderMesh::$set_selectedFacesInternal$b__207_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::<set_selectedFacesInternal>b__207_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<set_selectedFacesInternal>b__207_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.<SetSelectedFaces>b__221_0 int UnityEngine::ProBuilder::ProBuilderMesh::$SetSelectedFaces$b__221_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::<SetSelectedFaces>b__221_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SetSelectedFaces>b__221_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.<SetSelectedFaces>b__222_0 System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::ProBuilderMesh::$SetSelectedFaces$b__222_0(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::<SetSelectedFaces>b__222_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SetSelectedFaces>b__222_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh.<SetSelectedFaces>b__222_1 System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::ProBuilderMesh::$SetSelectedFaces$b__222_1(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::<SetSelectedFaces>b__222_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SetSelectedFaces>b__222_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh..cctor void UnityEngine::ProBuilder::ProBuilderMesh::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState SharedVertex UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_get_SharedVertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_get_SharedVertex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState>("UnityEngine.ProBuilder", "ProBuilderMesh/CacheValidState", "SharedVertex")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState SharedVertex void UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_set_SharedVertex(UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_set_SharedVertex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/CacheValidState", "SharedVertex", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState SharedTexture UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_get_SharedTexture() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_get_SharedTexture"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState>("UnityEngine.ProBuilder", "ProBuilderMesh/CacheValidState", "SharedTexture")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.CacheValidState SharedTexture void UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_set_SharedTexture(UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::_set_SharedTexture"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/CacheValidState", "SharedTexture", value)); } // Autogenerated instance field getter // Get instance field: public System.Byte value__ uint8_t& UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::CacheValidState::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<uint8_t*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/ProBuilderMesh_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::ProBuilderMesh::$$c* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProBuilderMesh::$$c*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9(UnityEngine::ProBuilder::ProBuilderMesh::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.Vector4,UnityEngine.Vector2> <>9__102_0 System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__102_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__102_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__102_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.Vector4,UnityEngine.Vector2> <>9__102_0 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__102_0(System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__102_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__102_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.Vector4,UnityEngine.Vector2> <>9__102_1 System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__102_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__102_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__102_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.Vector4,UnityEngine.Vector2> <>9__102_1 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__102_1(System::Func_2<UnityEngine::Vector4, UnityEngine::Vector2>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__102_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__102_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__110_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__110_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__110_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__110_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__110_0 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__110_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__110_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__110_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__112_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__112_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__112_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__112_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__112_0 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__112_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__112_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__112_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,UnityEngine.ProBuilder.Face> <>9__147_0 System::Func_2<UnityEngine::ProBuilder::Face*, UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__147_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_get_$$9__147_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, UnityEngine::ProBuilder::Face*>*>("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__147_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,UnityEngine.ProBuilder.Face> <>9__147_0 void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__147_0(System::Func_2<UnityEngine::ProBuilder::Face*, UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::_set_$$9__147_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", "<>9__147_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::ProBuilderMesh::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderMesh/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c.<SetUVs>b__102_0 UnityEngine::Vector2 UnityEngine::ProBuilder::ProBuilderMesh::$$c::$SetUVs$b__102_0(UnityEngine::Vector4 x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::<SetUVs>b__102_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SetUVs>b__102_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c.<SetUVs>b__102_1 UnityEngine::Vector2 UnityEngine::ProBuilder::ProBuilderMesh::$$c::$SetUVs$b__102_1(UnityEngine::Vector4 x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::<SetUVs>b__102_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SetUVs>b__102_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c.<get_indexCount>b__110_0 int UnityEngine::ProBuilder::ProBuilderMesh::$$c::$get_indexCount$b__110_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::<get_indexCount>b__110_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<get_indexCount>b__110_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c.<get_triangleCount>b__112_0 int UnityEngine::ProBuilder::ProBuilderMesh::$$c::$get_triangleCount$b__112_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::<get_triangleCount>b__112_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<get_triangleCount>b__112_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c.<CopyFrom>b__147_0 UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::ProBuilderMesh::$$c::$CopyFrom$b__147_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c::<CopyFrom>b__147_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<CopyFrom>b__147_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass150_0 #include "UnityEngine/ProBuilder/ProBuilderMesh_--c__DisplayClass150_0.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Int32 i int& UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass150_0::dyn_i() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass150_0::dyn_i"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "i"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass150_0.<GetUnusedTextureGroup>b__0 bool UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass150_0::$GetUnusedTextureGroup$b__0(UnityEngine::ProBuilder::Face* element) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass150_0::<GetUnusedTextureGroup>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<GetUnusedTextureGroup>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(element)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, element); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass152_0 #include "UnityEngine/ProBuilder/ProBuilderMesh_--c__DisplayClass152_0.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Int32 i int& UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass152_0::dyn_i() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass152_0::dyn_i"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "i"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderMesh/UnityEngine.ProBuilder.<>c__DisplayClass152_0.<UnusedElementGroup>b__0 bool UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass152_0::$UnusedElementGroup$b__0(UnityEngine::ProBuilder::Face* element) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderMesh::$$c__DisplayClass152_0::<UnusedElementGroup>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<UnusedElementGroup>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(element)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, element); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProBuilderSnapping #include "UnityEngine/ProBuilder/ProBuilderSnapping.hpp" // Including type: UnityEngine.Vector3 #include "UnityEngine/Vector3.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.Ray #include "UnityEngine/Ray.hpp" // Including type: UnityEngine.ProBuilder.Vector3Mask #include "UnityEngine/ProBuilder/Vector3Mask.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Single k_MaxRaySnapDistance float UnityEngine::ProBuilder::ProBuilderSnapping::_get_k_MaxRaySnapDistance() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::_get_k_MaxRaySnapDistance"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "ProBuilderSnapping", "k_MaxRaySnapDistance")); } // Autogenerated static field setter // Set static field: static private System.Single k_MaxRaySnapDistance void UnityEngine::ProBuilder::ProBuilderSnapping::_set_k_MaxRaySnapDistance(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::_set_k_MaxRaySnapDistance"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ProBuilderSnapping", "k_MaxRaySnapDistance", value)); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.SnapValue UnityEngine::Vector3 UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue(UnityEngine::Vector3 vertex, float snpVal) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "SnapValue", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex), ::il2cpp_utils::ExtractType(snpVal)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertex, snpVal); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.SnapValue float UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue(float val, float snpVal) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "SnapValue", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(val), ::il2cpp_utils::ExtractType(snpVal)}))); return ::il2cpp_utils::RunMethodThrow<float, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, val, snpVal); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.SnapValue UnityEngine::Vector3 UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue(UnityEngine::Vector3 vertex, UnityEngine::Vector3 snap) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::SnapValue"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "SnapValue", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex), ::il2cpp_utils::ExtractType(snap)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertex, snap); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.SnapVertices void UnityEngine::ProBuilder::ProBuilderSnapping::SnapVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<int>* indexes, UnityEngine::Vector3 snap) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::SnapVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "SnapVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(snap)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, snap); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.GetSnappingMaskBasedOnNormalVector UnityEngine::Vector3 UnityEngine::ProBuilder::ProBuilderSnapping::GetSnappingMaskBasedOnNormalVector(UnityEngine::Vector3 normal) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::GetSnappingMaskBasedOnNormalVector"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "GetSnappingMaskBasedOnNormalVector", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(normal)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, normal); } // Autogenerated method: UnityEngine.ProBuilder.ProBuilderSnapping.SnapValueOnRay UnityEngine::Vector3 UnityEngine::ProBuilder::ProBuilderSnapping::SnapValueOnRay(UnityEngine::Ray ray, float distance, float snap, UnityEngine::ProBuilder::Vector3Mask mask) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ProBuilderSnapping::SnapValueOnRay"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ProBuilderSnapping", "SnapValueOnRay", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(ray), ::il2cpp_utils::ExtractType(distance), ::il2cpp_utils::ExtractType(snap), ::il2cpp_utils::ExtractType(mask)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, ray, distance, snap, mask); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProGridsNoSnapAttribute #include "UnityEngine/ProBuilder/ProGridsNoSnapAttribute.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ProGridsConditionalSnapAttribute #include "UnityEngine/ProBuilder/ProGridsConditionalSnapAttribute.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Projection #include "UnityEngine/ProBuilder/Projection.hpp" // Including type: UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/Projection_--c.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.ProBuilder.AutoUnwrapSettings #include "UnityEngine/ProBuilder/AutoUnwrapSettings.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.SortMethod #include "UnityEngine/ProBuilder/SortMethod.hpp" // Including type: UnityEngine.ProBuilder.ProjectionAxis #include "UnityEngine/ProBuilder/ProjectionAxis.hpp" // Including type: UnityEngine.Plane #include "UnityEngine/Plane.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.Projection.PlanarProject ::Array<UnityEngine::Vector2>* UnityEngine::ProBuilder::Projection::PlanarProject(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::PlanarProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "PlanarProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector2>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, indexes); } // Autogenerated method: UnityEngine.ProBuilder.Projection.PlanarProject ::Array<UnityEngine::Vector2>* UnityEngine::ProBuilder::Projection::PlanarProject(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::Vector3 direction) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::PlanarProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "PlanarProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(direction)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector2>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, indexes, direction); } // Autogenerated method: UnityEngine.ProBuilder.Projection.PlanarProject void UnityEngine::ProBuilder::Projection::PlanarProject(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::Vector3 direction, System::Collections::Generic::List_1<UnityEngine::Vector2>* results) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::PlanarProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "PlanarProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(direction), ::il2cpp_utils::ExtractType(results)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions, indexes, direction, results); } // Autogenerated method: UnityEngine.ProBuilder.Projection.PlanarProject void UnityEngine::ProBuilder::Projection::PlanarProject(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int textureGroup, UnityEngine::ProBuilder::AutoUnwrapSettings unwrapSettings) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::PlanarProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "PlanarProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(textureGroup), ::il2cpp_utils::ExtractType(unwrapSettings)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, textureGroup, unwrapSettings); } // Autogenerated method: UnityEngine.ProBuilder.Projection.PlanarProject void UnityEngine::ProBuilder::Projection::PlanarProject(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Face* face, UnityEngine::Vector3 projection) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::PlanarProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "PlanarProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(projection)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, face, projection); } // Autogenerated method: UnityEngine.ProBuilder.Projection.SphericalProject ::Array<UnityEngine::Vector2>* UnityEngine::ProBuilder::Projection::SphericalProject(System::Collections::Generic::IList_1<UnityEngine::Vector3>* vertices, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::SphericalProject"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "SphericalProject", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector2>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, indexes); } // Autogenerated method: UnityEngine.ProBuilder.Projection.Sort System::Collections::Generic::IList_1<UnityEngine::Vector2>* UnityEngine::ProBuilder::Projection::Sort(System::Collections::Generic::IList_1<UnityEngine::Vector2>* verts, UnityEngine::ProBuilder::SortMethod method) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::Sort"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "Sort", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(verts), ::il2cpp_utils::ExtractType(method)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IList_1<UnityEngine::Vector2>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, verts, method); } // Autogenerated method: UnityEngine.ProBuilder.Projection.GetTangentToAxis UnityEngine::Vector3 UnityEngine::ProBuilder::Projection::GetTangentToAxis(UnityEngine::ProBuilder::ProjectionAxis axis) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::GetTangentToAxis"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "GetTangentToAxis", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(axis)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, axis); } // Autogenerated method: UnityEngine.ProBuilder.Projection.ProjectionAxisToVector UnityEngine::Vector3 UnityEngine::ProBuilder::Projection::ProjectionAxisToVector(UnityEngine::ProBuilder::ProjectionAxis axis) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::ProjectionAxisToVector"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "ProjectionAxisToVector", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(axis)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, axis); } // Autogenerated method: UnityEngine.ProBuilder.Projection.VectorToProjectionAxis UnityEngine::ProBuilder::ProjectionAxis UnityEngine::ProBuilder::Projection::VectorToProjectionAxis(UnityEngine::Vector3 direction) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::VectorToProjectionAxis"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "VectorToProjectionAxis", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(direction)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProjectionAxis, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, direction); } // Autogenerated method: UnityEngine.ProBuilder.Projection.FindBestPlane UnityEngine::Plane UnityEngine::ProBuilder::Projection::FindBestPlane(System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::FindBestPlane"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "FindBestPlane", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Plane, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, points, indexes); } // Autogenerated method: UnityEngine.ProBuilder.Projection.FindBestPlane UnityEngine::Plane UnityEngine::ProBuilder::Projection::FindBestPlane(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int textureGroup) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::FindBestPlane"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection", "FindBestPlane", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(textureGroup)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Plane, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, textureGroup); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/Projection_--c.hpp" // Including type: System.Comparison`1 #include "System/Comparison_1.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::Projection::$$c* UnityEngine::ProBuilder::Projection::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Projection::$$c*>("UnityEngine.ProBuilder", "Projection/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::Projection::$$c::_set_$$9(UnityEngine::ProBuilder::Projection::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Projection/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Comparison`1<UnityEngine.ProBuilder.SimpleTuple`2<System.Single,UnityEngine.Vector2>> <>9__6_0 System::Comparison_1<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>>* UnityEngine::ProBuilder::Projection::$$c::_get_$$9__6_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_get_$$9__6_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Comparison_1<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>>*>("UnityEngine.ProBuilder", "Projection/<>c", "<>9__6_0"))); } // Autogenerated static field setter // Set static field: static public System.Comparison`1<UnityEngine.ProBuilder.SimpleTuple`2<System.Single,UnityEngine.Vector2>> <>9__6_0 void UnityEngine::ProBuilder::Projection::$$c::_set_$$9__6_0(System::Comparison_1<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_set_$$9__6_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Projection/<>c", "<>9__6_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.SimpleTuple`2<System.Single,UnityEngine.Vector2>,UnityEngine.Vector2> <>9__6_1 System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>, UnityEngine::Vector2>* UnityEngine::ProBuilder::Projection::$$c::_get_$$9__6_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_get_$$9__6_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>, UnityEngine::Vector2>*>("UnityEngine.ProBuilder", "Projection/<>c", "<>9__6_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.SimpleTuple`2<System.Single,UnityEngine.Vector2>,UnityEngine.Vector2> <>9__6_1 void UnityEngine::ProBuilder::Projection::$$c::_set_$$9__6_1(System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2>, UnityEngine::Vector2>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::_set_$$9__6_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Projection/<>c", "<>9__6_1", value))); } // Autogenerated method: UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::Projection::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Projection/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c.<Sort>b__6_0 int UnityEngine::ProBuilder::Projection::$$c::$Sort$b__6_0(UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2> a, UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2> b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::<Sort>b__6_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Sort>b__6_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, a, b); } // Autogenerated method: UnityEngine.ProBuilder.Projection/UnityEngine.ProBuilder.<>c.<Sort>b__6_1 UnityEngine::Vector2 UnityEngine::ProBuilder::Projection::$$c::$Sort$b__6_1(UnityEngine::ProBuilder::SimpleTuple_2<float, UnityEngine::Vector2> x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Projection::$$c::<Sort>b__6_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Sort>b__6_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.RaycastHit #include "UnityEngine/ProBuilder/RaycastHit.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Single distance float& UnityEngine::ProBuilder::RaycastHit::dyn_distance() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RaycastHit::dyn_distance"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "distance"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.Vector3 point UnityEngine::Vector3& UnityEngine::ProBuilder::RaycastHit::dyn_point() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RaycastHit::dyn_point"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "point"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.Vector3 normal UnityEngine::Vector3& UnityEngine::ProBuilder::RaycastHit::dyn_normal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RaycastHit::dyn_normal"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "normal"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Int32 face int& UnityEngine::ProBuilder::RaycastHit::dyn_face() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::RaycastHit::dyn_face"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "face"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectPathFaces #include "UnityEngine/ProBuilder/SelectPathFaces.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Int32[] s_cachedPredecessors ::Array<int>* UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedPredecessors() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedPredecessors"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<int>*>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedPredecessors")); } // Autogenerated static field setter // Set static field: static private System.Int32[] s_cachedPredecessors void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedPredecessors(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedPredecessors"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedPredecessors", value)); } // Autogenerated static field getter // Get static field: static private System.Int32 s_cachedStart int UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedStart() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedStart"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedStart")); } // Autogenerated static field setter // Set static field: static private System.Int32 s_cachedStart void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedStart(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedStart"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedStart", value)); } // Autogenerated static field getter // Get static field: static private UnityEngine.ProBuilder.ProBuilderMesh s_cachedMesh UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedMesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedMesh"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ProBuilderMesh*>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedMesh")); } // Autogenerated static field setter // Set static field: static private UnityEngine.ProBuilder.ProBuilderMesh s_cachedMesh void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedMesh(UnityEngine::ProBuilder::ProBuilderMesh* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedMesh"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedMesh", value)); } // Autogenerated static field getter // Get static field: static private System.Int32 s_cachedFacesCount int UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedFacesCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedFacesCount"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedFacesCount")); } // Autogenerated static field setter // Set static field: static private System.Int32 s_cachedFacesCount void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedFacesCount(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedFacesCount"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedFacesCount", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<UnityEngine.ProBuilder.WingedEdge> s_cachedWings System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedWings() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedWings"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedWings")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<UnityEngine.ProBuilder.WingedEdge> s_cachedWings void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedWings(System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedWings"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedWings", value)); } // Autogenerated static field getter // Get static field: static private System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Face,System.Int32> s_cachedFacesIndex System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedFacesIndex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_get_s_cachedFacesIndex"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedFacesIndex"))); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Face,System.Int32> s_cachedFacesIndex void UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedFacesIndex(System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::_set_s_cachedFacesIndex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectPathFaces", "s_cachedFacesIndex", value)); } // Autogenerated method: UnityEngine.ProBuilder.SelectPathFaces..cctor void UnityEngine::ProBuilder::SelectPathFaces::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectPathFaces", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectPathFaces.GetPath System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::SelectPathFaces::GetPath(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int start, int end) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::GetPath"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectPathFaces", "GetPath", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(start), ::il2cpp_utils::ExtractType(end)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, start, end); } // Autogenerated method: UnityEngine.ProBuilder.SelectPathFaces.Dijkstra ::Array<int>* UnityEngine::ProBuilder::SelectPathFaces::Dijkstra(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int start) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::Dijkstra"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectPathFaces", "Dijkstra", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(start)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, start); } // Autogenerated method: UnityEngine.ProBuilder.SelectPathFaces.GetWeight float UnityEngine::ProBuilder::SelectPathFaces::GetWeight(int face1, int face2, UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::GetWeight"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectPathFaces", "GetWeight", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face1), ::il2cpp_utils::ExtractType(face2), ::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<float, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face1, face2, mesh); } // Autogenerated method: UnityEngine.ProBuilder.SelectPathFaces.GetMinimalPath System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::SelectPathFaces::GetMinimalPath(::Array<int>* predecessors, int start, int end) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectPathFaces::GetMinimalPath"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectPathFaces", "GetMinimalPath", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(predecessors), ::il2cpp_utils::ExtractType(start), ::il2cpp_utils::ExtractType(end)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, predecessors, start, end); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SelectionModifierBehavior #include "UnityEngine/ProBuilder/SelectionModifierBehavior.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Add UnityEngine::ProBuilder::SelectionModifierBehavior UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Add() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Add"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectionModifierBehavior>("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Add")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Add void UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Add(UnityEngine::ProBuilder::SelectionModifierBehavior value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Add"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Add", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Subtract UnityEngine::ProBuilder::SelectionModifierBehavior UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Subtract() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Subtract"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectionModifierBehavior>("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Subtract")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Subtract void UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Subtract(UnityEngine::ProBuilder::SelectionModifierBehavior value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Subtract"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Subtract", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Difference UnityEngine::ProBuilder::SelectionModifierBehavior UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Difference() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_get_Difference"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectionModifierBehavior>("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Difference")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.SelectionModifierBehavior Difference void UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Difference(UnityEngine::ProBuilder::SelectionModifierBehavior value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::_set_Difference"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionModifierBehavior", "Difference", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::SelectionModifierBehavior::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionModifierBehavior::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SelectionPicker #include "UnityEngine/ProBuilder/SelectionPicker.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: UnityEngine.Camera #include "UnityEngine/Camera.hpp" // Including type: UnityEngine.Rect #include "UnityEngine/Rect.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.PickerOptions #include "UnityEngine/ProBuilder/PickerOptions.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.Vector3 #include "UnityEngine/Vector3.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.SelectionPicker.PickVerticesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<int>*>* UnityEngine::ProBuilder::SelectionPicker::PickVerticesInRect(UnityEngine::Camera* cam, UnityEngine::Rect rect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selectable, UnityEngine::ProBuilder::PickerOptions options, float pixelsPerPoint) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPicker::PickVerticesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPicker", "PickVerticesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(cam), ::il2cpp_utils::ExtractType(rect), ::il2cpp_utils::ExtractType(selectable), ::il2cpp_utils::ExtractType(options), ::il2cpp_utils::ExtractType(pixelsPerPoint)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<int>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, cam, rect, selectable, options, pixelsPerPoint); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPicker.PickFacesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*>* UnityEngine::ProBuilder::SelectionPicker::PickFacesInRect(UnityEngine::Camera* cam, UnityEngine::Rect rect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selectable, UnityEngine::ProBuilder::PickerOptions options, float pixelsPerPoint) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPicker::PickFacesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPicker", "PickFacesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(cam), ::il2cpp_utils::ExtractType(rect), ::il2cpp_utils::ExtractType(selectable), ::il2cpp_utils::ExtractType(options), ::il2cpp_utils::ExtractType(pixelsPerPoint)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, cam, rect, selectable, options, pixelsPerPoint); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPicker.PickEdgesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Edge>*>* UnityEngine::ProBuilder::SelectionPicker::PickEdgesInRect(UnityEngine::Camera* cam, UnityEngine::Rect rect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selectable, UnityEngine::ProBuilder::PickerOptions options, float pixelsPerPoint) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPicker::PickEdgesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPicker", "PickEdgesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(cam), ::il2cpp_utils::ExtractType(rect), ::il2cpp_utils::ExtractType(selectable), ::il2cpp_utils::ExtractType(options), ::il2cpp_utils::ExtractType(pixelsPerPoint)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Edge>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, cam, rect, selectable, options, pixelsPerPoint); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPicker.PickFace UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::SelectionPicker::PickFace(UnityEngine::Camera* camera, UnityEngine::Vector3 mousePosition, UnityEngine::ProBuilder::ProBuilderMesh* pickable) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPicker::PickFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPicker", "PickFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(mousePosition), ::il2cpp_utils::ExtractType(pickable)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, mousePosition, pickable); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.PickerOptions #include "UnityEngine/ProBuilder/PickerOptions.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private readonly UnityEngine.ProBuilder.PickerOptions k_Default UnityEngine::ProBuilder::PickerOptions UnityEngine::ProBuilder::PickerOptions::_get_k_Default() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::_get_k_Default"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PickerOptions>("UnityEngine.ProBuilder", "PickerOptions", "k_Default")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.ProBuilder.PickerOptions k_Default void UnityEngine::ProBuilder::PickerOptions::_set_k_Default(UnityEngine::ProBuilder::PickerOptions value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::_set_k_Default"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PickerOptions", "k_Default", value)); } // Autogenerated instance field getter // Get instance field: private System.Boolean <depthTest>k__BackingField bool& UnityEngine::ProBuilder::PickerOptions::dyn_$depthTest$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::dyn_$depthTest$k__BackingField"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<depthTest>k__BackingField"))->offset; return *reinterpret_cast<bool*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.RectSelectMode <rectSelectMode>k__BackingField UnityEngine::ProBuilder::RectSelectMode& UnityEngine::ProBuilder::PickerOptions::dyn_$rectSelectMode$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::dyn_$rectSelectMode$k__BackingField"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<rectSelectMode>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::RectSelectMode*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.get_depthTest bool UnityEngine::ProBuilder::PickerOptions::get_depthTest() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::get_depthTest"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_depthTest", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.set_depthTest void UnityEngine::ProBuilder::PickerOptions::set_depthTest(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::set_depthTest"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_depthTest", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.get_rectSelectMode UnityEngine::ProBuilder::RectSelectMode UnityEngine::ProBuilder::PickerOptions::get_rectSelectMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::get_rectSelectMode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_rectSelectMode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::RectSelectMode, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.set_rectSelectMode void UnityEngine::ProBuilder::PickerOptions::set_rectSelectMode(UnityEngine::ProBuilder::RectSelectMode value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::set_rectSelectMode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_rectSelectMode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.get_Default UnityEngine::ProBuilder::PickerOptions UnityEngine::ProBuilder::PickerOptions::get_Default() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::get_Default"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "PickerOptions", "get_Default", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::PickerOptions, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions..cctor void UnityEngine::ProBuilder::PickerOptions::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "PickerOptions", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.Equals bool UnityEngine::ProBuilder::PickerOptions::Equals(UnityEngine::ProBuilder::PickerOptions other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::Equals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.Equals bool UnityEngine::ProBuilder::PickerOptions::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.GetHashCode int UnityEngine::ProBuilder::PickerOptions::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.op_Equality bool UnityEngine::ProBuilder::operator ==(const UnityEngine::ProBuilder::PickerOptions& a, const UnityEngine::ProBuilder::PickerOptions& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "PickerOptions", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated method: UnityEngine.ProBuilder.PickerOptions.op_Inequality bool UnityEngine::ProBuilder::operator !=(const UnityEngine::ProBuilder::PickerOptions& a, const UnityEngine::ProBuilder::PickerOptions& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PickerOptions::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "PickerOptions", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer #include "UnityEngine/ProBuilder/SelectionPickerRenderer.hpp" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.ISelectionPickerRenderer #include "UnityEngine/ProBuilder/SelectionPickerRenderer_ISelectionPickerRenderer.hpp" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererHDRP #include "UnityEngine/ProBuilder/SelectionPickerRenderer_SelectionPickerRendererHDRP.hpp" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererStandard #include "UnityEngine/ProBuilder/SelectionPickerRenderer_SelectionPickerRendererStandard.hpp" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c__DisplayClass19_0 #include "UnityEngine/ProBuilder/SelectionPickerRenderer_--c__DisplayClass19_0.hpp" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/SelectionPickerRenderer_--c.hpp" // Including type: System.String #include "System/String.hpp" // Including type: UnityEngine.TextureFormat #include "UnityEngine/TextureFormat.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.Camera #include "UnityEngine/Camera.hpp" // Including type: UnityEngine.Rect #include "UnityEngine/Rect.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.Texture2D #include "UnityEngine/Texture2D.hpp" // Including type: UnityEngine.GameObject #include "UnityEngine/GameObject.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" // Including type: UnityEngine.Color32 #include "UnityEngine/Color32.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.String k_FacePickerOcclusionTintUniform ::Il2CppString* UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_FacePickerOcclusionTintUniform() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_FacePickerOcclusionTintUniform"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_FacePickerOcclusionTintUniform")); } // Autogenerated static field setter // Set static field: static private System.String k_FacePickerOcclusionTintUniform void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_FacePickerOcclusionTintUniform(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_FacePickerOcclusionTintUniform"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_FacePickerOcclusionTintUniform", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Color k_Blackf UnityEngine::Color UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_Blackf() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_Blackf"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Color>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_Blackf")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Color k_Blackf void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_Blackf(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_Blackf"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_Blackf", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Color k_Whitef UnityEngine::Color UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_Whitef() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_Whitef"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Color>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_Whitef")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Color k_Whitef void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_Whitef(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_Whitef"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_Whitef", value)); } // Autogenerated static field getter // Get static field: static private System.UInt32 k_PickerHashNone uint UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashNone() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashNone"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashNone")); } // Autogenerated static field setter // Set static field: static private System.UInt32 k_PickerHashNone void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashNone(uint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashNone"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashNone", value)); } // Autogenerated static field getter // Get static field: static private System.UInt32 k_PickerHashMin uint UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashMin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashMin"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashMin")); } // Autogenerated static field setter // Set static field: static private System.UInt32 k_PickerHashMin void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashMin(uint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashMin"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashMin", value)); } // Autogenerated static field getter // Get static field: static private System.UInt32 k_PickerHashMax uint UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashMax() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_PickerHashMax"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashMax")); } // Autogenerated static field setter // Set static field: static private System.UInt32 k_PickerHashMax void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashMax(uint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_PickerHashMax"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_PickerHashMax", value)); } // Autogenerated static field getter // Get static field: static private System.UInt32 k_MinEdgePixelsForValidSelection uint UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_MinEdgePixelsForValidSelection() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_k_MinEdgePixelsForValidSelection"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_MinEdgePixelsForValidSelection")); } // Autogenerated static field setter // Set static field: static private System.UInt32 k_MinEdgePixelsForValidSelection void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_MinEdgePixelsForValidSelection(uint value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_k_MinEdgePixelsForValidSelection"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "k_MinEdgePixelsForValidSelection", value)); } // Autogenerated static field getter // Get static field: static private System.Boolean s_Initialized bool UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_Initialized() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_Initialized"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<bool>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_Initialized")); } // Autogenerated static field setter // Set static field: static private System.Boolean s_Initialized void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_Initialized(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_Initialized"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_Initialized", value)); } // Autogenerated static field getter // Get static field: static private UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.ISelectionPickerRenderer s_PickerRenderer UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer* UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_PickerRenderer() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_PickerRenderer"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer*>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_PickerRenderer")); } // Autogenerated static field setter // Set static field: static private UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.ISelectionPickerRenderer s_PickerRenderer void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_PickerRenderer(UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_PickerRenderer"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_PickerRenderer", value)); } // Autogenerated static field getter // Get static field: static private UnityEngine.RenderTextureFormat s_RenderTextureFormat UnityEngine::RenderTextureFormat UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_RenderTextureFormat() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_RenderTextureFormat"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::RenderTextureFormat>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_RenderTextureFormat")); } // Autogenerated static field setter // Set static field: static private UnityEngine.RenderTextureFormat s_RenderTextureFormat void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_RenderTextureFormat(UnityEngine::RenderTextureFormat value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_RenderTextureFormat"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_RenderTextureFormat", value)); } // Autogenerated static field getter // Get static field: static private UnityEngine.RenderTextureFormat[] s_PreferredFormats ::Array<UnityEngine::RenderTextureFormat>* UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_PreferredFormats() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_get_s_PreferredFormats"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<UnityEngine::RenderTextureFormat>*>("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_PreferredFormats")); } // Autogenerated static field setter // Set static field: static private UnityEngine.RenderTextureFormat[] s_PreferredFormats void UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_PreferredFormats(::Array<UnityEngine::RenderTextureFormat>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::_set_s_PreferredFormats"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer", "s_PreferredFormats", value)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.get_renderTextureFormat UnityEngine::RenderTextureFormat UnityEngine::ProBuilder::SelectionPickerRenderer::get_renderTextureFormat() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::get_renderTextureFormat"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "get_renderTextureFormat", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::RenderTextureFormat, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.get_textureFormat UnityEngine::TextureFormat UnityEngine::ProBuilder::SelectionPickerRenderer::get_textureFormat() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::get_textureFormat"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "get_textureFormat", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::TextureFormat, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.get_pickerRenderer UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer* UnityEngine::ProBuilder::SelectionPickerRenderer::get_pickerRenderer() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::get_pickerRenderer"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "get_pickerRenderer", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer..cctor void UnityEngine::ProBuilder::SelectionPickerRenderer::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.PickFacesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*>* UnityEngine::ProBuilder::SelectionPickerRenderer::PickFacesInRect(UnityEngine::Camera* camera, UnityEngine::Rect pickerRect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, int renderTextureWidth, int renderTextureHeight) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::PickFacesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "PickFacesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(pickerRect), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(renderTextureWidth), ::il2cpp_utils::ExtractType(renderTextureHeight)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, pickerRect, selection, renderTextureWidth, renderTextureHeight); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.PickVerticesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<int>*>* UnityEngine::ProBuilder::SelectionPickerRenderer::PickVerticesInRect(UnityEngine::Camera* camera, UnityEngine::Rect pickerRect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, int renderTextureWidth, int renderTextureHeight) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::PickVerticesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "PickVerticesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(pickerRect), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractType(renderTextureWidth), ::il2cpp_utils::ExtractType(renderTextureHeight)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<int>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, pickerRect, selection, doDepthTest, renderTextureWidth, renderTextureHeight); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.PickEdgesInRect System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Edge>*>* UnityEngine::ProBuilder::SelectionPickerRenderer::PickEdgesInRect(UnityEngine::Camera* camera, UnityEngine::Rect pickerRect, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, int renderTextureWidth, int renderTextureHeight) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::PickEdgesInRect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "PickEdgesInRect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(pickerRect), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractType(renderTextureWidth), ::il2cpp_utils::ExtractType(renderTextureHeight)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::ProBuilderMesh*, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Edge>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, pickerRect, selection, doDepthTest, renderTextureWidth, renderTextureHeight); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.RenderSelectionPickerTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture(UnityEngine::Camera* camera, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Face*>>*> map, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "RenderSelectionPickerTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Face*>>*&>(), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, selection, byref(map), width, height); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.RenderSelectionPickerTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture(UnityEngine::Camera* camera, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, int>>*> map, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "RenderSelectionPickerTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, int>>*&>(), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, selection, doDepthTest, byref(map), width, height); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.RenderSelectionPickerTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture(UnityEngine::Camera* camera, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Edge>>*> map, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::RenderSelectionPickerTexture"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "RenderSelectionPickerTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Edge>>*&>(), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, camera, selection, doDepthTest, byref(map), width, height); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.GenerateFacePickingObjects ::Array<UnityEngine::GameObject*>* UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateFacePickingObjects(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Face*>>*> map) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateFacePickingObjects"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "GenerateFacePickingObjects", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Face*>>*&>()}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::GameObject*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, selection, byref(map)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.GenerateVertexPickingObjects void UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateVertexPickingObjects(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, int>>*> map, ByRef<::Array<UnityEngine::GameObject*>*> depthObjects, ByRef<::Array<UnityEngine::GameObject*>*> pickerObjects) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateVertexPickingObjects"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "GenerateVertexPickingObjects", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, int>>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::GameObject*>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::GameObject*>*&>()}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, selection, doDepthTest, byref(map), byref(depthObjects), byref(pickerObjects)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.GenerateEdgePickingObjects void UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateEdgePickingObjects(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::ProBuilderMesh*>* selection, bool doDepthTest, ByRef<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Edge>>*> map, ByRef<::Array<UnityEngine::GameObject*>*> depthObjects, ByRef<::Array<UnityEngine::GameObject*>*> pickerObjects) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::GenerateEdgePickingObjects"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "GenerateEdgePickingObjects", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(selection), ::il2cpp_utils::ExtractType(doDepthTest), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Edge>>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::GameObject*>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::GameObject*>*&>()}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, selection, doDepthTest, byref(map), byref(depthObjects), byref(pickerObjects)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.BuildVertexMesh UnityEngine::Mesh* UnityEngine::ProBuilder::SelectionPickerRenderer::BuildVertexMesh(UnityEngine::ProBuilder::ProBuilderMesh* pb, System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, int>>* map, ByRef<uint> index) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::BuildVertexMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "BuildVertexMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pb), ::il2cpp_utils::ExtractType(map), ::il2cpp_utils::ExtractType(index)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Mesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pb, map, byref(index)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.BuildEdgeMesh UnityEngine::Mesh* UnityEngine::ProBuilder::SelectionPickerRenderer::BuildEdgeMesh(UnityEngine::ProBuilder::ProBuilderMesh* pb, System::Collections::Generic::Dictionary_2<uint, UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::ProBuilderMesh*, UnityEngine::ProBuilder::Edge>>* map, ByRef<uint> index) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::BuildEdgeMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "BuildEdgeMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pb), ::il2cpp_utils::ExtractType(map), ::il2cpp_utils::ExtractType(index)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Mesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pb, map, byref(index)); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.DecodeRGBA uint UnityEngine::ProBuilder::SelectionPickerRenderer::DecodeRGBA(UnityEngine::Color32 color) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::DecodeRGBA"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "DecodeRGBA", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(color)}))); return ::il2cpp_utils::RunMethodThrow<uint, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, color); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.EncodeRGBA UnityEngine::Color32 UnityEngine::ProBuilder::SelectionPickerRenderer::EncodeRGBA(uint hash) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::EncodeRGBA"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "EncodeRGBA", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(hash)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Color32, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, hash); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer.ShouldUseHDRP bool UnityEngine::ProBuilder::SelectionPickerRenderer::ShouldUseHDRP() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::ShouldUseHDRP"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer", "ShouldUseHDRP", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.ISelectionPickerRenderer #include "UnityEngine/ProBuilder/SelectionPickerRenderer_ISelectionPickerRenderer.hpp" // Including type: UnityEngine.Texture2D #include "UnityEngine/Texture2D.hpp" // Including type: UnityEngine.Camera #include "UnityEngine/Camera.hpp" // Including type: UnityEngine.Shader #include "UnityEngine/Shader.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.ISelectionPickerRenderer.RenderLookupTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer::RenderLookupTexture(UnityEngine::Camera* camera, UnityEngine::Shader* shader, ::Il2CppString* tag, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::ISelectionPickerRenderer::RenderLookupTexture"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RenderLookupTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(shader), ::il2cpp_utils::ExtractType(tag), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(___instance_arg, ___internal__method, camera, shader, tag, width, height); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererHDRP #include "UnityEngine/ProBuilder/SelectionPickerRenderer_SelectionPickerRendererHDRP.hpp" // Including type: UnityEngine.Texture2D #include "UnityEngine/Texture2D.hpp" // Including type: UnityEngine.Camera #include "UnityEngine/Camera.hpp" // Including type: UnityEngine.Shader #include "UnityEngine/Shader.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererHDRP.RenderLookupTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::SelectionPickerRendererHDRP::RenderLookupTexture(UnityEngine::Camera* camera, UnityEngine::Shader* shader, ::Il2CppString* tag, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::SelectionPickerRendererHDRP::RenderLookupTexture"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RenderLookupTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(shader), ::il2cpp_utils::ExtractType(tag), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(___instance_arg, ___internal__method, camera, shader, tag, width, height); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererStandard #include "UnityEngine/ProBuilder/SelectionPickerRenderer_SelectionPickerRendererStandard.hpp" // Including type: UnityEngine.Texture2D #include "UnityEngine/Texture2D.hpp" // Including type: UnityEngine.Camera #include "UnityEngine/Camera.hpp" // Including type: UnityEngine.Shader #include "UnityEngine/Shader.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.SelectionPickerRendererStandard.RenderLookupTexture UnityEngine::Texture2D* UnityEngine::ProBuilder::SelectionPickerRenderer::SelectionPickerRendererStandard::RenderLookupTexture(UnityEngine::Camera* camera, UnityEngine::Shader* shader, ::Il2CppString* tag, int width, int height) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::SelectionPickerRendererStandard::RenderLookupTexture"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "RenderLookupTexture", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(camera), ::il2cpp_utils::ExtractType(shader), ::il2cpp_utils::ExtractType(tag), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Texture2D*, false>(___instance_arg, ___internal__method, camera, shader, tag, width, height); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c__DisplayClass19_0 #include "UnityEngine/ProBuilder/SelectionPickerRenderer_--c__DisplayClass19_0.hpp" // Including type: UnityEngine.ProBuilder.SharedVertex #include "UnityEngine/ProBuilder/SharedVertex.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.Vector3[] positions ::Array<UnityEngine::Vector3>*& UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::dyn_positions() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::dyn_positions"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "positions"))->offset; return *reinterpret_cast<::Array<UnityEngine::Vector3>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.SharedVertex[] sharedVertices ::Array<UnityEngine::ProBuilder::SharedVertex*>*& UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::dyn_sharedVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::dyn_sharedVertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "sharedVertices"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::SharedVertex*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c__DisplayClass19_0.<PickVerticesInRect>b__0 int UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::$PickVerticesInRect$b__0(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c__DisplayClass19_0::<PickVerticesInRect>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<PickVerticesInRect>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/SelectionPickerRenderer_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::SelectionPickerRenderer::$$c* UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SelectionPickerRenderer::$$c*>("UnityEngine.ProBuilder", "SelectionPickerRenderer/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_set_$$9(UnityEngine::ProBuilder::SelectionPickerRenderer::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__24_0 System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_get_$$9__24_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_get_$$9__24_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>*>("UnityEngine.ProBuilder", "SelectionPickerRenderer/<>c", "<>9__24_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__24_0 void UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_set_$$9__24_0(System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_set_$$9__24_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SelectionPickerRenderer/<>c", "<>9__24_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SelectionPickerRenderer/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SelectionPickerRenderer/UnityEngine.ProBuilder.<>c.<GenerateFacePickingObjects>b__24_0 System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::$GenerateFacePickingObjects$b__24_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SelectionPickerRenderer::$$c::<GenerateFacePickingObjects>b__24_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<GenerateFacePickingObjects>b__24_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SceneSelection #include "UnityEngine/ProBuilder/SceneSelection.hpp" // Including type: UnityEngine.GameObject #include "UnityEngine/GameObject.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.GameObject gameObject UnityEngine::GameObject*& UnityEngine::ProBuilder::SceneSelection::dyn_gameObject() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_gameObject"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "gameObject"))->offset; return *reinterpret_cast<UnityEngine::GameObject**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.ProBuilderMesh mesh UnityEngine::ProBuilder::ProBuilderMesh*& UnityEngine::ProBuilder::SceneSelection::dyn_mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_mesh"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "mesh"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::ProBuilderMesh**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<System.Int32> m_Vertices System::Collections::Generic::List_1<int>*& UnityEngine::ProBuilder::SceneSelection::dyn_m_Vertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_m_Vertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Vertices"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.ProBuilder.Edge> m_Edges System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*& UnityEngine::ProBuilder::SceneSelection::dyn_m_Edges() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_m_Edges"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Edges"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Collections.Generic.List`1<UnityEngine.ProBuilder.Face> m_Faces System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*& UnityEngine::ProBuilder::SceneSelection::dyn_m_Faces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_m_Faces"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Faces"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Int32 vertex int& UnityEngine::ProBuilder::SceneSelection::dyn_vertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_vertex"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "vertex"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.Edge edge UnityEngine::ProBuilder::Edge& UnityEngine::ProBuilder::SceneSelection::dyn_edge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_edge"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "edge"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::Edge*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.Face face UnityEngine::ProBuilder::Face*& UnityEngine::ProBuilder::SceneSelection::dyn_face() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::dyn_face"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "face"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::Face**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.get_vertexes System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::SceneSelection::get_vertexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::get_vertexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_vertexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.set_vertexes void UnityEngine::ProBuilder::SceneSelection::set_vertexes(System::Collections::Generic::List_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::set_vertexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_vertexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.get_edges System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::SceneSelection::get_edges() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::get_edges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_edges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.set_edges void UnityEngine::ProBuilder::SceneSelection::set_edges(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::set_edges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_edges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.get_faces System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::SceneSelection::get_faces() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::get_faces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_faces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.set_faces void UnityEngine::ProBuilder::SceneSelection::set_faces(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::set_faces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_faces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.SetSingleFace void UnityEngine::ProBuilder::SceneSelection::SetSingleFace(UnityEngine::ProBuilder::Face* face) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::SetSingleFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSingleFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, face); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.SetSingleVertex void UnityEngine::ProBuilder::SceneSelection::SetSingleVertex(int vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::SetSingleVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSingleVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertex)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, vertex); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.SetSingleEdge void UnityEngine::ProBuilder::SceneSelection::SetSingleEdge(UnityEngine::ProBuilder::Edge edge) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::SetSingleEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "SetSingleEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edge)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, edge); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.Clear void UnityEngine::ProBuilder::SceneSelection::Clear() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::Clear"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Clear", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.CopyTo void UnityEngine::ProBuilder::SceneSelection::CopyTo(UnityEngine::ProBuilder::SceneSelection* dst) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::CopyTo"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CopyTo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(dst)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, dst); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.Equals bool UnityEngine::ProBuilder::SceneSelection::Equals(UnityEngine::ProBuilder::SceneSelection* other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.ToString ::Il2CppString* UnityEngine::ProBuilder::SceneSelection::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.Equals bool UnityEngine::ProBuilder::SceneSelection::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.GetHashCode int UnityEngine::ProBuilder::SceneSelection::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.op_Equality bool UnityEngine::ProBuilder::operator ==(UnityEngine::ProBuilder::SceneSelection* left, UnityEngine::ProBuilder::SceneSelection& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SceneSelection", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SceneSelection.op_Inequality bool UnityEngine::ProBuilder::operator !=(UnityEngine::ProBuilder::SceneSelection* left, UnityEngine::ProBuilder::SceneSelection& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SceneSelection::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SceneSelection", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SemVer #include "UnityEngine/ProBuilder/SemVer.hpp" // Including type: System.String #include "System/String.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public System.String DefaultStringFormat ::Il2CppString* UnityEngine::ProBuilder::SemVer::_get_DefaultStringFormat() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::_get_DefaultStringFormat"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Il2CppString*>("UnityEngine.ProBuilder", "SemVer", "DefaultStringFormat")); } // Autogenerated static field setter // Set static field: static public System.String DefaultStringFormat void UnityEngine::ProBuilder::SemVer::_set_DefaultStringFormat(::Il2CppString* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::_set_DefaultStringFormat"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SemVer", "DefaultStringFormat", value)); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_Major int& UnityEngine::ProBuilder::SemVer::dyn_m_Major() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Major"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Major"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_Minor int& UnityEngine::ProBuilder::SemVer::dyn_m_Minor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Minor"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Minor"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_Patch int& UnityEngine::ProBuilder::SemVer::dyn_m_Patch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Patch"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Patch"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_Build int& UnityEngine::ProBuilder::SemVer::dyn_m_Build() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Build"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Build"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.String m_Type ::Il2CppString*& UnityEngine::ProBuilder::SemVer::dyn_m_Type() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Type"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Type"))->offset; return *reinterpret_cast<::Il2CppString**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.String m_Metadata ::Il2CppString*& UnityEngine::ProBuilder::SemVer::dyn_m_Metadata() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Metadata"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Metadata"))->offset; return *reinterpret_cast<::Il2CppString**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.String m_Date ::Il2CppString*& UnityEngine::ProBuilder::SemVer::dyn_m_Date() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::dyn_m_Date"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Date"))->offset; return *reinterpret_cast<::Il2CppString**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_major int UnityEngine::ProBuilder::SemVer::get_major() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_major"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_major", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_minor int UnityEngine::ProBuilder::SemVer::get_minor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_minor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_minor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_patch int UnityEngine::ProBuilder::SemVer::get_patch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_patch"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_patch", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_build int UnityEngine::ProBuilder::SemVer::get_build() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_build"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_build", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_type ::Il2CppString* UnityEngine::ProBuilder::SemVer::get_type() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_type"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_type", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_metadata ::Il2CppString* UnityEngine::ProBuilder::SemVer::get_metadata() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_metadata"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_metadata", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_date ::Il2CppString* UnityEngine::ProBuilder::SemVer::get_date() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_date"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_date", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.get_MajorMinorPatch UnityEngine::ProBuilder::SemVer* UnityEngine::ProBuilder::SemVer::get_MajorMinorPatch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::get_MajorMinorPatch"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_MajorMinorPatch", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::SemVer*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.IsValid bool UnityEngine::ProBuilder::SemVer::IsValid() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::IsValid"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "IsValid", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.Equals bool UnityEngine::ProBuilder::SemVer::Equals(UnityEngine::ProBuilder::SemVer* version) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(version)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, version); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.CompareTo int UnityEngine::ProBuilder::SemVer::CompareTo(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::CompareTo"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CompareTo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.WrapNoValue int UnityEngine::ProBuilder::SemVer::WrapNoValue(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::WrapNoValue"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "WrapNoValue", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.CompareTo int UnityEngine::ProBuilder::SemVer::CompareTo(UnityEngine::ProBuilder::SemVer* version) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::CompareTo"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CompareTo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(version)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, version); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.ToString ::Il2CppString* UnityEngine::ProBuilder::SemVer::ToString(::Il2CppString* format) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::ToString"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(format)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method, format); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.TryGetVersionInfo bool UnityEngine::ProBuilder::SemVer::TryGetVersionInfo(::Il2CppString* input, ByRef<UnityEngine::ProBuilder::SemVer*> version) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::TryGetVersionInfo"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "TryGetVersionInfo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(input), ::il2cpp_utils::ExtractIndependentType<UnityEngine::ProBuilder::SemVer*&>()}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, input, byref(version)); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.GetBuildNumber int UnityEngine::ProBuilder::SemVer::GetBuildNumber(::Il2CppString* input) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::GetBuildNumber"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "GetBuildNumber", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(input)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, input); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.Equals bool UnityEngine::ProBuilder::SemVer::Equals(::Il2CppObject* o) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(o)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, o); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.GetHashCode int UnityEngine::ProBuilder::SemVer::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.ToString ::Il2CppString* UnityEngine::ProBuilder::SemVer::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_Equality bool UnityEngine::ProBuilder::operator ==(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_Inequality bool UnityEngine::ProBuilder::operator !=(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_LessThan bool UnityEngine::ProBuilder::operator <(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_LessThan"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_LessThan", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_GreaterThan bool UnityEngine::ProBuilder::operator >(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_GreaterThan"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_GreaterThan", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_LessThanOrEqual bool UnityEngine::ProBuilder::operator <=(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_LessThanOrEqual"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_LessThanOrEqual", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated method: UnityEngine.ProBuilder.SemVer.op_GreaterThanOrEqual bool UnityEngine::ProBuilder::operator >=(UnityEngine::ProBuilder::SemVer* left, UnityEngine::ProBuilder::SemVer& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SemVer::op_GreaterThanOrEqual"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SemVer", "op_GreaterThanOrEqual", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(&right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, &right); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.ShapeType #include "UnityEngine/ProBuilder/ShapeType.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Cube UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Cube() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Cube"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Cube")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Cube void UnityEngine::ProBuilder::ShapeType::_set_Cube(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Cube"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Cube", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Stair UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Stair() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Stair"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Stair")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Stair void UnityEngine::ProBuilder::ShapeType::_set_Stair(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Stair"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Stair", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType CurvedStair UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_CurvedStair() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_CurvedStair"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "CurvedStair")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType CurvedStair void UnityEngine::ProBuilder::ShapeType::_set_CurvedStair(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_CurvedStair"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "CurvedStair", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Prism UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Prism() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Prism"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Prism")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Prism void UnityEngine::ProBuilder::ShapeType::_set_Prism(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Prism"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Prism", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Cylinder UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Cylinder() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Cylinder"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Cylinder")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Cylinder void UnityEngine::ProBuilder::ShapeType::_set_Cylinder(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Cylinder"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Cylinder", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Plane UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Plane() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Plane"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Plane")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Plane void UnityEngine::ProBuilder::ShapeType::_set_Plane(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Plane"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Plane", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Door UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Door() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Door"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Door")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Door void UnityEngine::ProBuilder::ShapeType::_set_Door(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Door"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Door", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Pipe UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Pipe() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Pipe"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Pipe")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Pipe void UnityEngine::ProBuilder::ShapeType::_set_Pipe(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Pipe"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Pipe", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Cone UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Cone() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Cone"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Cone")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Cone void UnityEngine::ProBuilder::ShapeType::_set_Cone(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Cone"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Cone", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Sprite UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Sprite() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Sprite"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Sprite")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Sprite void UnityEngine::ProBuilder::ShapeType::_set_Sprite(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Sprite"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Sprite", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Arch UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Arch() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Arch"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Arch")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Arch void UnityEngine::ProBuilder::ShapeType::_set_Arch(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Arch"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Arch", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Sphere UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Sphere() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Sphere"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Sphere")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Sphere void UnityEngine::ProBuilder::ShapeType::_set_Sphere(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Sphere"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Sphere", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.ShapeType Torus UnityEngine::ProBuilder::ShapeType UnityEngine::ProBuilder::ShapeType::_get_Torus() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_get_Torus"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::ShapeType>("UnityEngine.ProBuilder", "ShapeType", "Torus")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.ShapeType Torus void UnityEngine::ProBuilder::ShapeType::_set_Torus(UnityEngine::ProBuilder::ShapeType value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::_set_Torus"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeType", "Torus", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::ShapeType::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeType::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.PivotLocation #include "UnityEngine/ProBuilder/PivotLocation.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PivotLocation Center UnityEngine::ProBuilder::PivotLocation UnityEngine::ProBuilder::PivotLocation::_get_Center() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotLocation::_get_Center"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PivotLocation>("UnityEngine.ProBuilder", "PivotLocation", "Center")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PivotLocation Center void UnityEngine::ProBuilder::PivotLocation::_set_Center(UnityEngine::ProBuilder::PivotLocation value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotLocation::_set_Center"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PivotLocation", "Center", value)); } // Autogenerated static field getter // Get static field: static public UnityEngine.ProBuilder.PivotLocation FirstVertex UnityEngine::ProBuilder::PivotLocation UnityEngine::ProBuilder::PivotLocation::_get_FirstVertex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotLocation::_get_FirstVertex"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::PivotLocation>("UnityEngine.ProBuilder", "PivotLocation", "FirstVertex")); } // Autogenerated static field setter // Set static field: static public UnityEngine.ProBuilder.PivotLocation FirstVertex void UnityEngine::ProBuilder::PivotLocation::_set_FirstVertex(UnityEngine::ProBuilder::PivotLocation value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotLocation::_set_FirstVertex"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "PivotLocation", "FirstVertex", value)); } // Autogenerated instance field getter // Get instance field: public System.Int32 value__ int& UnityEngine::ProBuilder::PivotLocation::dyn_value__() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::PivotLocation::dyn_value__"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "value__"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.ShapeGenerator #include "UnityEngine/ProBuilder/ShapeGenerator.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.ProBuilder.ShapeType #include "UnityEngine/ProBuilder/ShapeType.hpp" // Including type: UnityEngine.ProBuilder.PivotLocation #include "UnityEngine/ProBuilder/PivotLocation.hpp" // Including type: UnityEngine.ProBuilder.Axis #include "UnityEngine/ProBuilder/Axis.hpp" // Including type: UnityEngine.Quaternion #include "UnityEngine/Quaternion.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector3[] k_IcosphereVertices ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ShapeGenerator::_get_k_IcosphereVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_get_k_IcosphereVertices"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<UnityEngine::Vector3>*>("UnityEngine.ProBuilder", "ShapeGenerator", "k_IcosphereVertices")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector3[] k_IcosphereVertices void UnityEngine::ProBuilder::ShapeGenerator::_set_k_IcosphereVertices(::Array<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_set_k_IcosphereVertices"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeGenerator", "k_IcosphereVertices", value)); } // Autogenerated static field getter // Get static field: static private readonly System.Int32[] k_IcosphereTriangles ::Array<int>* UnityEngine::ProBuilder::ShapeGenerator::_get_k_IcosphereTriangles() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_get_k_IcosphereTriangles"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<int>*>("UnityEngine.ProBuilder", "ShapeGenerator", "k_IcosphereTriangles")); } // Autogenerated static field setter // Set static field: static private readonly System.Int32[] k_IcosphereTriangles void UnityEngine::ProBuilder::ShapeGenerator::_set_k_IcosphereTriangles(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_set_k_IcosphereTriangles"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeGenerator", "k_IcosphereTriangles", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector3[] k_CubeVertices ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ShapeGenerator::_get_k_CubeVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_get_k_CubeVertices"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<UnityEngine::Vector3>*>("UnityEngine.ProBuilder", "ShapeGenerator", "k_CubeVertices")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector3[] k_CubeVertices void UnityEngine::ProBuilder::ShapeGenerator::_set_k_CubeVertices(::Array<UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_set_k_CubeVertices"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeGenerator", "k_CubeVertices", value)); } // Autogenerated static field getter // Get static field: static private readonly System.Int32[] k_CubeTriangles ::Array<int>* UnityEngine::ProBuilder::ShapeGenerator::_get_k_CubeTriangles() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_get_k_CubeTriangles"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<int>*>("UnityEngine.ProBuilder", "ShapeGenerator", "k_CubeTriangles")); } // Autogenerated static field setter // Set static field: static private readonly System.Int32[] k_CubeTriangles void UnityEngine::ProBuilder::ShapeGenerator::_set_k_CubeTriangles(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::_set_k_CubeTriangles"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "ShapeGenerator", "k_CubeTriangles", value)); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator..cctor void UnityEngine::ProBuilder::ShapeGenerator::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.CreateShape UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::CreateShape(UnityEngine::ProBuilder::ShapeType shape, UnityEngine::ProBuilder::PivotLocation pivotType) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::CreateShape"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "CreateShape", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(shape), ::il2cpp_utils::ExtractType(pivotType)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, shape, pivotType); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateStair UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateStair(UnityEngine::ProBuilder::PivotLocation pivotType, UnityEngine::Vector3 size, int steps, bool buildSides) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateStair"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateStair", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(size), ::il2cpp_utils::ExtractType(steps), ::il2cpp_utils::ExtractType(buildSides)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, size, steps, buildSides); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateCurvedStair UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateCurvedStair(UnityEngine::ProBuilder::PivotLocation pivotType, float stairWidth, float height, float innerRadius, float circumference, int steps, bool buildSides) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateCurvedStair"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateCurvedStair", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(stairWidth), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(innerRadius), ::il2cpp_utils::ExtractType(circumference), ::il2cpp_utils::ExtractType(steps), ::il2cpp_utils::ExtractType(buildSides)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, stairWidth, height, innerRadius, circumference, steps, buildSides); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateStair UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateStair(UnityEngine::ProBuilder::PivotLocation pivotType, int steps, float width, float height, float depth, bool sidesGoToFloor, bool generateBack, bool platformsOnly) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateStair"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateStair", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(steps), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(depth), ::il2cpp_utils::ExtractType(sidesGoToFloor), ::il2cpp_utils::ExtractType(generateBack), ::il2cpp_utils::ExtractType(platformsOnly)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, steps, width, height, depth, sidesGoToFloor, generateBack, platformsOnly); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateCube UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateCube(UnityEngine::ProBuilder::PivotLocation pivotType, UnityEngine::Vector3 size) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateCube"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateCube", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(size)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, size); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateCylinder UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateCylinder(UnityEngine::ProBuilder::PivotLocation pivotType, int axisDivisions, float radius, float height, int heightCuts, int smoothing) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateCylinder"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateCylinder", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(axisDivisions), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(heightCuts), ::il2cpp_utils::ExtractType(smoothing)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, axisDivisions, radius, height, heightCuts, smoothing); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GeneratePrism UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GeneratePrism(UnityEngine::ProBuilder::PivotLocation pivotType, UnityEngine::Vector3 size) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GeneratePrism"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GeneratePrism", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(size)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, size); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateDoor UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateDoor(UnityEngine::ProBuilder::PivotLocation pivotType, float totalWidth, float totalHeight, float ledgeHeight, float legWidth, float depth) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateDoor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateDoor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(totalWidth), ::il2cpp_utils::ExtractType(totalHeight), ::il2cpp_utils::ExtractType(ledgeHeight), ::il2cpp_utils::ExtractType(legWidth), ::il2cpp_utils::ExtractType(depth)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, totalWidth, totalHeight, ledgeHeight, legWidth, depth); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GeneratePlane UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GeneratePlane(UnityEngine::ProBuilder::PivotLocation pivotType, float width, float height, int widthCuts, int heightCuts, UnityEngine::ProBuilder::Axis axis) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GeneratePlane"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GeneratePlane", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(widthCuts), ::il2cpp_utils::ExtractType(heightCuts), ::il2cpp_utils::ExtractType(axis)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, width, height, widthCuts, heightCuts, axis); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GeneratePipe UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GeneratePipe(UnityEngine::ProBuilder::PivotLocation pivotType, float radius, float height, float thickness, int subdivAxis, int subdivHeight) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GeneratePipe"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GeneratePipe", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(thickness), ::il2cpp_utils::ExtractType(subdivAxis), ::il2cpp_utils::ExtractType(subdivHeight)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, radius, height, thickness, subdivAxis, subdivHeight); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateCone UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateCone(UnityEngine::ProBuilder::PivotLocation pivotType, float radius, float height, int subdivAxis) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateCone"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateCone", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(height), ::il2cpp_utils::ExtractType(subdivAxis)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, radius, height, subdivAxis); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateArch UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateArch(UnityEngine::ProBuilder::PivotLocation pivotType, float angle, float radius, float width, float depth, int radialCuts, bool insideFaces, bool outsideFaces, bool frontFaces, bool backFaces, bool endCaps) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateArch"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateArch", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(angle), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(width), ::il2cpp_utils::ExtractType(depth), ::il2cpp_utils::ExtractType(radialCuts), ::il2cpp_utils::ExtractType(insideFaces), ::il2cpp_utils::ExtractType(outsideFaces), ::il2cpp_utils::ExtractType(frontFaces), ::il2cpp_utils::ExtractType(backFaces), ::il2cpp_utils::ExtractType(endCaps)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, angle, radius, width, depth, radialCuts, insideFaces, outsideFaces, frontFaces, backFaces, endCaps); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateIcosahedron UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateIcosahedron(UnityEngine::ProBuilder::PivotLocation pivotType, float radius, int subdivisions, bool weldVertices, bool manualUvs) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateIcosahedron"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateIcosahedron", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(subdivisions), ::il2cpp_utils::ExtractType(weldVertices), ::il2cpp_utils::ExtractType(manualUvs)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, radius, subdivisions, weldVertices, manualUvs); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.SubdivideIcosahedron ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ShapeGenerator::SubdivideIcosahedron(::Array<UnityEngine::Vector3>* vertices, float radius) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::SubdivideIcosahedron"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "SubdivideIcosahedron", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(radius)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, radius); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GetCirclePoints ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::ShapeGenerator::GetCirclePoints(int segments, float radius, float circumference, UnityEngine::Quaternion rotation, float offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GetCirclePoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GetCirclePoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(segments), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(circumference), ::il2cpp_utils::ExtractType(rotation), ::il2cpp_utils::ExtractType(offset)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, segments, radius, circumference, rotation, offset); } // Autogenerated method: UnityEngine.ProBuilder.ShapeGenerator.GenerateTorus UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::ShapeGenerator::GenerateTorus(UnityEngine::ProBuilder::PivotLocation pivotType, int rows, int columns, float innerRadius, float outerRadius, bool smooth, float horizontalCircumference, float verticalCircumference, bool manualUvs) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::ShapeGenerator::GenerateTorus"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "ShapeGenerator", "GenerateTorus", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pivotType), ::il2cpp_utils::ExtractType(rows), ::il2cpp_utils::ExtractType(columns), ::il2cpp_utils::ExtractType(innerRadius), ::il2cpp_utils::ExtractType(outerRadius), ::il2cpp_utils::ExtractType(smooth), ::il2cpp_utils::ExtractType(horizontalCircumference), ::il2cpp_utils::ExtractType(verticalCircumference), ::il2cpp_utils::ExtractType(manualUvs)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pivotType, rows, columns, innerRadius, outerRadius, smooth, horizontalCircumference, verticalCircumference, manualUvs); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.SharedVertex #include "UnityEngine/ProBuilder/SharedVertex.hpp" // Including type: UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/SharedVertex_--c.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: System.Collections.Generic.IEnumerator`1 #include "System/Collections/Generic/IEnumerator_1.hpp" // Including type: System.Collections.IEnumerator #include "System/Collections/IEnumerator.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private System.Int32[] m_Vertices ::Array<int>*& UnityEngine::ProBuilder::SharedVertex::dyn_m_Vertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::dyn_m_Vertices"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Vertices"))->offset; return *reinterpret_cast<::Array<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.get_arrayInternal ::Array<int>* UnityEngine::ProBuilder::SharedVertex::get_arrayInternal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::get_arrayInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_arrayInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.get_Item int UnityEngine::ProBuilder::SharedVertex::get_Item(int i) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::get_Item"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_Item", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, i); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.set_Item void UnityEngine::ProBuilder::SharedVertex::set_Item(int i, int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::set_Item"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_Item", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i), ::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, i, value); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.get_Count int UnityEngine::ProBuilder::SharedVertex::get_Count() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::get_Count"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_Count", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.get_IsReadOnly bool UnityEngine::ProBuilder::SharedVertex::get_IsReadOnly() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::get_IsReadOnly"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_IsReadOnly", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.GetEnumerator System::Collections::Generic::IEnumerator_1<int>* UnityEngine::ProBuilder::SharedVertex::GetEnumerator() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::GetEnumerator"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetEnumerator", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerator_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.System.Collections.IEnumerable.GetEnumerator System::Collections::IEnumerator* UnityEngine::ProBuilder::SharedVertex::System_Collections_IEnumerable_GetEnumerator() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::System.Collections.IEnumerable.GetEnumerator"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "System.Collections.IEnumerable.GetEnumerator", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::IEnumerator*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.Add void UnityEngine::ProBuilder::SharedVertex::Add(int item) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::Add"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Add", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(item)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, item); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.Clear void UnityEngine::ProBuilder::SharedVertex::Clear() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::Clear"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Clear", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.Contains bool UnityEngine::ProBuilder::SharedVertex::Contains(int item) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::Contains"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Contains", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(item)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, item); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.CopyTo void UnityEngine::ProBuilder::SharedVertex::CopyTo(::Array<int>* array, int arrayIndex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::CopyTo"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "CopyTo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(array), ::il2cpp_utils::ExtractType(arrayIndex)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, array, arrayIndex); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.Remove bool UnityEngine::ProBuilder::SharedVertex::Remove(int item) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::Remove"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Remove", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(item)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, item); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.GetSharedVertexLookup void UnityEngine::ProBuilder::SharedVertex::GetSharedVertexLookup(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* sharedVertices, System::Collections::Generic::Dictionary_2<int, int>* lookup) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::GetSharedVertexLookup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "GetSharedVertexLookup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(sharedVertices), ::il2cpp_utils::ExtractType(lookup)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, sharedVertices, lookup); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.ShiftIndexes void UnityEngine::ProBuilder::SharedVertex::ShiftIndexes(int offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::ShiftIndexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ShiftIndexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(offset)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, offset); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.ToSharedVertices ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::SharedVertex::ToSharedVertices(System::Collections::Generic::IEnumerable_1<System::Collections::Generic::KeyValuePair_2<int, int>>* lookup) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::ToSharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "ToSharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(lookup)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, lookup); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.ToSharedVertices ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::SharedVertex::ToSharedVertices(System::Collections::Generic::List_1<System::Collections::Generic::List_1<int>*>* list) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::ToSharedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "ToSharedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(list)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, list); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.GetSharedVerticesWithPositions ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::SharedVertex::GetSharedVerticesWithPositions(System::Collections::Generic::IList_1<UnityEngine::Vector3>* positions) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::GetSharedVerticesWithPositions"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "GetSharedVerticesWithPositions", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(positions)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, positions); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.RemoveAndShift ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::SharedVertex::RemoveAndShift(System::Collections::Generic::Dictionary_2<int, int>* lookup, System::Collections::Generic::IEnumerable_1<int>* remove) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::RemoveAndShift"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "RemoveAndShift", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(lookup), ::il2cpp_utils::ExtractType(remove)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, lookup, remove); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.SortedRemoveAndShift ::Array<UnityEngine::ProBuilder::SharedVertex*>* UnityEngine::ProBuilder::SharedVertex::SortedRemoveAndShift(System::Collections::Generic::Dictionary_2<int, int>* lookup, System::Collections::Generic::List_1<int>* remove) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::SortedRemoveAndShift"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "SortedRemoveAndShift", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(lookup), ::il2cpp_utils::ExtractType(remove)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::SharedVertex*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, lookup, remove); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.SetCoincident void UnityEngine::ProBuilder::SharedVertex::SetCoincident(ByRef<System::Collections::Generic::Dictionary_2<int, int>*> lookup, System::Collections::Generic::IEnumerable_1<int>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::SetCoincident"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex", "SetCoincident", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(lookup), ::il2cpp_utils::ExtractType(vertices)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, byref(lookup), vertices); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex.ToString ::Il2CppString* UnityEngine::ProBuilder::SharedVertex::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/SharedVertex_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::SharedVertex::$$c* UnityEngine::ProBuilder::SharedVertex::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::SharedVertex::$$c*>("UnityEngine.ProBuilder", "SharedVertex/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::SharedVertex::$$c::_set_$$9(UnityEngine::ProBuilder::SharedVertex::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SharedVertex/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Collections.Generic.KeyValuePair`2<System.Int32,System.Int32>,System.Boolean> <>9__26_0 System::Func_2<System::Collections::Generic::KeyValuePair_2<int, int>, bool>* UnityEngine::ProBuilder::SharedVertex::$$c::_get_$$9__26_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::_get_$$9__26_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<System::Collections::Generic::KeyValuePair_2<int, int>, bool>*>("UnityEngine.ProBuilder", "SharedVertex/<>c", "<>9__26_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Collections.Generic.KeyValuePair`2<System.Int32,System.Int32>,System.Boolean> <>9__26_0 void UnityEngine::ProBuilder::SharedVertex::$$c::_set_$$9__26_0(System::Func_2<System::Collections::Generic::KeyValuePair_2<int, int>, bool>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::_set_$$9__26_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "SharedVertex/<>c", "<>9__26_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::SharedVertex::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "SharedVertex/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.SharedVertex/UnityEngine.ProBuilder.<>c.<SortedRemoveAndShift>b__26_0 bool UnityEngine::ProBuilder::SharedVertex::$$c::$SortedRemoveAndShift$b__26_0(System::Collections::Generic::KeyValuePair_2<int, int> x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::SharedVertex::$$c::<SortedRemoveAndShift>b__26_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SortedRemoveAndShift>b__26_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Smoothing #include "UnityEngine/ProBuilder/Smoothing.hpp" // Including type: UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/Smoothing_--c.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: UnityEngine.ProBuilder.EdgeLookup #include "UnityEngine/ProBuilder/EdgeLookup.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static System.Int32 smoothingGroupNone int UnityEngine::ProBuilder::Smoothing::_get_smoothingGroupNone() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_get_smoothingGroupNone"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "Smoothing", "smoothingGroupNone")); } // Autogenerated static field setter // Set static field: static System.Int32 smoothingGroupNone void UnityEngine::ProBuilder::Smoothing::_set_smoothingGroupNone(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_set_smoothingGroupNone"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing", "smoothingGroupNone", value)); } // Autogenerated static field getter // Get static field: static System.Int32 smoothRangeMin int UnityEngine::ProBuilder::Smoothing::_get_smoothRangeMin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_get_smoothRangeMin"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "Smoothing", "smoothRangeMin")); } // Autogenerated static field setter // Set static field: static System.Int32 smoothRangeMin void UnityEngine::ProBuilder::Smoothing::_set_smoothRangeMin(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_set_smoothRangeMin"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing", "smoothRangeMin", value)); } // Autogenerated static field getter // Get static field: static System.Int32 smoothRangeMax int UnityEngine::ProBuilder::Smoothing::_get_smoothRangeMax() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_get_smoothRangeMax"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "Smoothing", "smoothRangeMax")); } // Autogenerated static field setter // Set static field: static System.Int32 smoothRangeMax void UnityEngine::ProBuilder::Smoothing::_set_smoothRangeMax(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_set_smoothRangeMax"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing", "smoothRangeMax", value)); } // Autogenerated static field getter // Get static field: static System.Int32 hardRangeMin int UnityEngine::ProBuilder::Smoothing::_get_hardRangeMin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_get_hardRangeMin"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "Smoothing", "hardRangeMin")); } // Autogenerated static field setter // Set static field: static System.Int32 hardRangeMin void UnityEngine::ProBuilder::Smoothing::_set_hardRangeMin(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_set_hardRangeMin"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing", "hardRangeMin", value)); } // Autogenerated static field getter // Get static field: static System.Int32 hardRangeMax int UnityEngine::ProBuilder::Smoothing::_get_hardRangeMax() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_get_hardRangeMax"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder", "Smoothing", "hardRangeMax")); } // Autogenerated static field setter // Set static field: static System.Int32 hardRangeMax void UnityEngine::ProBuilder::Smoothing::_set_hardRangeMax(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::_set_hardRangeMax"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing", "hardRangeMax", value)); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.GetUnusedSmoothingGroup int UnityEngine::ProBuilder::Smoothing::GetUnusedSmoothingGroup(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::GetUnusedSmoothingGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "GetUnusedSmoothingGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.GetNextUnusedSmoothingGroup int UnityEngine::ProBuilder::Smoothing::GetNextUnusedSmoothingGroup(int start, System::Collections::Generic::HashSet_1<int>* used) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::GetNextUnusedSmoothingGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "GetNextUnusedSmoothingGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(start), ::il2cpp_utils::ExtractType(used)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, start, used); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.IsSmooth bool UnityEngine::ProBuilder::Smoothing::IsSmooth(int index) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::IsSmooth"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "IsSmooth", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(index)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, index); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.ApplySmoothingGroups void UnityEngine::ProBuilder::Smoothing::ApplySmoothingGroups(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, float angleThreshold) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::ApplySmoothingGroups"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "ApplySmoothingGroups", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(angleThreshold)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, angleThreshold); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.ApplySmoothingGroups void UnityEngine::ProBuilder::Smoothing::ApplySmoothingGroups(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, float angleThreshold, ::Array<UnityEngine::Vector3>* normals) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::ApplySmoothingGroups"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "ApplySmoothingGroups", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(angleThreshold), ::il2cpp_utils::ExtractType(normals)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, angleThreshold, normals); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.FindSoftEdgesRecursive bool UnityEngine::ProBuilder::Smoothing::FindSoftEdgesRecursive(::Array<UnityEngine::Vector3>* normals, UnityEngine::ProBuilder::WingedEdge* wing, float angleThreshold, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* processed) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::FindSoftEdgesRecursive"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "FindSoftEdgesRecursive", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(normals), ::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(angleThreshold), ::il2cpp_utils::ExtractType(processed)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, normals, wing, angleThreshold, processed); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing.IsSoftEdge bool UnityEngine::ProBuilder::Smoothing::IsSoftEdge(::Array<UnityEngine::Vector3>* normals, UnityEngine::ProBuilder::EdgeLookup left, UnityEngine::ProBuilder::EdgeLookup right, float threshold) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::IsSoftEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing", "IsSoftEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(normals), ::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right), ::il2cpp_utils::ExtractType(threshold)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, normals, left, right, threshold); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/Smoothing_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::Smoothing::$$c* UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Smoothing::$$c*>("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9(UnityEngine::ProBuilder::Smoothing::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__5_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9__5_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9__5_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9__5_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__5_0 void UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9__5_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9__5_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9__5_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__9_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9__9_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_get_$$9__9_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9__9_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__9_0 void UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9__9_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::_set_$$9__9_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Smoothing/<>c", "<>9__9_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::Smoothing::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Smoothing/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c.<GetUnusedSmoothingGroup>b__5_0 int UnityEngine::ProBuilder::Smoothing::$$c::$GetUnusedSmoothingGroup$b__5_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::<GetUnusedSmoothingGroup>b__5_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<GetUnusedSmoothingGroup>b__5_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.Smoothing/UnityEngine.ProBuilder.<>c.<ApplySmoothingGroups>b__9_0 int UnityEngine::ProBuilder::Smoothing::$$c::$ApplySmoothingGroups$b__9_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Smoothing::$$c::<ApplySmoothingGroups>b__9_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ApplySmoothingGroups>b__9_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Spline #include "UnityEngine/ProBuilder/Spline.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.Spline.Extrude UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::Spline::Extrude(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::BezierPoint>* points, float radius, int columns, int rows, bool closeLoop, bool smooth) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::Extrude"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "Extrude", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(columns), ::il2cpp_utils::ExtractType(rows), ::il2cpp_utils::ExtractType(closeLoop), ::il2cpp_utils::ExtractType(smooth)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, points, radius, columns, rows, closeLoop, smooth); } // Autogenerated method: UnityEngine.ProBuilder.Spline.Extrude void UnityEngine::ProBuilder::Spline::Extrude(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::BezierPoint>* bezierPoints, float radius, int columns, int rows, bool closeLoop, bool smooth, ByRef<UnityEngine::ProBuilder::ProBuilderMesh*> target) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::Extrude"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "Extrude", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(bezierPoints), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(columns), ::il2cpp_utils::ExtractType(rows), ::il2cpp_utils::ExtractType(closeLoop), ::il2cpp_utils::ExtractType(smooth), ::il2cpp_utils::ExtractType(target)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, bezierPoints, radius, columns, rows, closeLoop, smooth, byref(target)); } // Autogenerated method: UnityEngine.ProBuilder.Spline.GetControlPoints System::Collections::Generic::List_1<UnityEngine::Vector3>* UnityEngine::ProBuilder::Spline::GetControlPoints(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::BezierPoint>* bezierPoints, int subdivisionsPerSegment, bool closeLoop, System::Collections::Generic::List_1<UnityEngine::Quaternion>* rotations) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::GetControlPoints"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "GetControlPoints", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(bezierPoints), ::il2cpp_utils::ExtractType(subdivisionsPerSegment), ::il2cpp_utils::ExtractType(closeLoop), ::il2cpp_utils::ExtractType(rotations)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::Vector3>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, bezierPoints, subdivisionsPerSegment, closeLoop, rotations); } // Autogenerated method: UnityEngine.ProBuilder.Spline.Extrude void UnityEngine::ProBuilder::Spline::Extrude(System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, float radius, int radiusRows, bool closeLoop, bool smooth, ByRef<UnityEngine::ProBuilder::ProBuilderMesh*> target, System::Collections::Generic::IList_1<UnityEngine::Quaternion>* pointRotations) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::Extrude"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "Extrude", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(radiusRows), ::il2cpp_utils::ExtractType(closeLoop), ::il2cpp_utils::ExtractType(smooth), ::il2cpp_utils::ExtractType(target), ::il2cpp_utils::ExtractType(pointRotations)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, points, radius, radiusRows, closeLoop, smooth, byref(target), pointRotations); } // Autogenerated method: UnityEngine.ProBuilder.Spline.GetRingRotation UnityEngine::Quaternion UnityEngine::ProBuilder::Spline::GetRingRotation(System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, int i, bool closeLoop, ByRef<float> secant) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::GetRingRotation"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "GetRingRotation", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(i), ::il2cpp_utils::ExtractType(closeLoop), ::il2cpp_utils::ExtractIndependentType<float&>()}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Quaternion, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, points, i, closeLoop, byref(secant)); } // Autogenerated method: UnityEngine.ProBuilder.Spline.VertexRing ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::Spline::VertexRing(UnityEngine::Quaternion orientation, UnityEngine::Vector3 offset, float radius, int segments) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Spline::VertexRing"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Spline", "VertexRing", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(orientation), ::il2cpp_utils::ExtractType(offset), ::il2cpp_utils::ExtractType(radius), ::il2cpp_utils::ExtractType(segments)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, orientation, offset, radius, segments); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Submesh #include "UnityEngine/ProBuilder/Submesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: System.Int32[] m_Indexes ::Array<int>*& UnityEngine::ProBuilder::Submesh::dyn_m_Indexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::dyn_m_Indexes"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Indexes"))->offset; return *reinterpret_cast<::Array<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: UnityEngine.MeshTopology m_Topology UnityEngine::MeshTopology& UnityEngine::ProBuilder::Submesh::dyn_m_Topology() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::dyn_m_Topology"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Topology"))->offset; return *reinterpret_cast<UnityEngine::MeshTopology*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: System.Int32 m_SubmeshIndex int& UnityEngine::ProBuilder::Submesh::dyn_m_SubmeshIndex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::dyn_m_SubmeshIndex"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_SubmeshIndex"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.get_indexes System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::Submesh::get_indexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::get_indexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_indexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.set_indexes void UnityEngine::ProBuilder::Submesh::set_indexes(System::Collections::Generic::IEnumerable_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::set_indexes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_indexes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.get_topology UnityEngine::MeshTopology UnityEngine::ProBuilder::Submesh::get_topology() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::get_topology"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_topology", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::MeshTopology, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.set_topology void UnityEngine::ProBuilder::Submesh::set_topology(UnityEngine::MeshTopology value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::set_topology"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_topology", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.get_submeshIndex int UnityEngine::ProBuilder::Submesh::get_submeshIndex() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::get_submeshIndex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_submeshIndex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.set_submeshIndex void UnityEngine::ProBuilder::Submesh::set_submeshIndex(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::set_submeshIndex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_submeshIndex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.GetSubmeshCount int UnityEngine::ProBuilder::Submesh::GetSubmeshCount(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::GetSubmeshCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Submesh", "GetSubmeshCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.GetSubmeshes ::Array<UnityEngine::ProBuilder::Submesh*>* UnityEngine::ProBuilder::Submesh::GetSubmeshes(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, int submeshCount, UnityEngine::MeshTopology preferredTopology) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::GetSubmeshes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Submesh", "GetSubmeshes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(submeshCount), ::il2cpp_utils::ExtractType(preferredTopology)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Submesh*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, faces, submeshCount, preferredTopology); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.MapFaceMaterialsToSubmeshIndex void UnityEngine::ProBuilder::Submesh::MapFaceMaterialsToSubmeshIndex(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::MapFaceMaterialsToSubmeshIndex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Submesh", "MapFaceMaterialsToSubmeshIndex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.Submesh.ToString ::Il2CppString* UnityEngine::ProBuilder::Submesh::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Submesh::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Transform2D #include "UnityEngine/ProBuilder/Transform2D.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.Vector2 position UnityEngine::Vector2& UnityEngine::ProBuilder::Transform2D::dyn_position() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Transform2D::dyn_position"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "position"))->offset; return *reinterpret_cast<UnityEngine::Vector2*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Single rotation float& UnityEngine::ProBuilder::Transform2D::dyn_rotation() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Transform2D::dyn_rotation"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "rotation"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.Vector2 scale UnityEngine::Vector2& UnityEngine::ProBuilder::Transform2D::dyn_scale() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Transform2D::dyn_scale"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "scale"))->offset; return *reinterpret_cast<UnityEngine::Vector2*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Transform2D.TransformPoint UnityEngine::Vector2 UnityEngine::ProBuilder::Transform2D::TransformPoint(UnityEngine::Vector2 p) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Transform2D::TransformPoint"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "TransformPoint", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(p)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method, p); } // Autogenerated method: UnityEngine.ProBuilder.Transform2D.ToString ::Il2CppString* UnityEngine::ProBuilder::Transform2D::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Transform2D::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.TransformUtility #include "UnityEngine/ProBuilder/TransformUtility.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.Transform #include "UnityEngine/Transform.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Collections.Generic.Dictionary`2<UnityEngine.Transform,UnityEngine.Transform[]> s_ChildStack System::Collections::Generic::Dictionary_2<UnityEngine::Transform*, ::Array<UnityEngine::Transform*>*>* UnityEngine::ProBuilder::TransformUtility::_get_s_ChildStack() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::_get_s_ChildStack"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Collections::Generic::Dictionary_2<UnityEngine::Transform*, ::Array<UnityEngine::Transform*>*>*>("UnityEngine.ProBuilder", "TransformUtility", "s_ChildStack"))); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.Dictionary`2<UnityEngine.Transform,UnityEngine.Transform[]> s_ChildStack void UnityEngine::ProBuilder::TransformUtility::_set_s_ChildStack(System::Collections::Generic::Dictionary_2<UnityEngine::Transform*, ::Array<UnityEngine::Transform*>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::_set_s_ChildStack"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "TransformUtility", "s_ChildStack", value)); } // Autogenerated method: UnityEngine.ProBuilder.TransformUtility..cctor void UnityEngine::ProBuilder::TransformUtility::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "TransformUtility", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.TransformUtility.UnparentChildren void UnityEngine::ProBuilder::TransformUtility::UnparentChildren(UnityEngine::Transform* t) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::UnparentChildren"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "TransformUtility", "UnparentChildren", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(t)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, t); } // Autogenerated method: UnityEngine.ProBuilder.TransformUtility.ReparentChildren void UnityEngine::ProBuilder::TransformUtility::ReparentChildren(UnityEngine::Transform* t) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::ReparentChildren"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "TransformUtility", "ReparentChildren", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(t)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, t); } // Autogenerated method: UnityEngine.ProBuilder.TransformUtility.TransformVertex UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::TransformUtility::TransformVertex(UnityEngine::Transform* transform, UnityEngine::ProBuilder::Vertex* vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::TransformVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "TransformUtility", "TransformVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(transform), ::il2cpp_utils::ExtractType(vertex)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, transform, vertex); } // Autogenerated method: UnityEngine.ProBuilder.TransformUtility.InverseTransformVertex UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::TransformUtility::InverseTransformVertex(UnityEngine::Transform* transform, UnityEngine::ProBuilder::Vertex* vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TransformUtility::InverseTransformVertex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "TransformUtility", "InverseTransformVertex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(transform), ::il2cpp_utils::ExtractType(vertex)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, transform, vertex); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Triangle #include "UnityEngine/ProBuilder/Triangle.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.Edge #include "UnityEngine/ProBuilder/Edge.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private System.Int32 m_A int& UnityEngine::ProBuilder::Triangle::dyn_m_A() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::dyn_m_A"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_A"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_B int& UnityEngine::ProBuilder::Triangle::dyn_m_B() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::dyn_m_B"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_B"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Int32 m_C int& UnityEngine::ProBuilder::Triangle::dyn_m_C() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::dyn_m_C"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_C"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.get_a int UnityEngine::ProBuilder::Triangle::get_a() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::get_a"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_a", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.get_b int UnityEngine::ProBuilder::Triangle::get_b() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::get_b"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_b", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.get_c int UnityEngine::ProBuilder::Triangle::get_c() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::get_c"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_c", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.get_indices System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::Triangle::get_indices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::get_indices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_indices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.Equals bool UnityEngine::ProBuilder::Triangle::Equals(UnityEngine::ProBuilder::Triangle other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.IsAdjacent bool UnityEngine::ProBuilder::Triangle::IsAdjacent(UnityEngine::ProBuilder::Triangle other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::IsAdjacent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "IsAdjacent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.ContainsEdge bool UnityEngine::ProBuilder::Triangle::ContainsEdge(UnityEngine::ProBuilder::Edge edge) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::ContainsEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "ContainsEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edge)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, edge); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.Equals bool UnityEngine::ProBuilder::Triangle::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.Triangle.GetHashCode int UnityEngine::ProBuilder::Triangle::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Triangle::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.TriggerBehaviour #include "UnityEngine/ProBuilder/TriggerBehaviour.hpp" // Including type: UnityEngine.SceneManagement.Scene #include "UnityEngine/SceneManagement/Scene.hpp" // Including type: UnityEngine.SceneManagement.LoadSceneMode #include "UnityEngine/SceneManagement/LoadSceneMode.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.TriggerBehaviour.Initialize void UnityEngine::ProBuilder::TriggerBehaviour::Initialize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TriggerBehaviour::Initialize"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Initialize", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.TriggerBehaviour.OnEnterPlayMode void UnityEngine::ProBuilder::TriggerBehaviour::OnEnterPlayMode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TriggerBehaviour::OnEnterPlayMode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "OnEnterPlayMode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.TriggerBehaviour.OnSceneLoaded void UnityEngine::ProBuilder::TriggerBehaviour::OnSceneLoaded(UnityEngine::SceneManagement::Scene scene, UnityEngine::SceneManagement::LoadSceneMode mode) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::TriggerBehaviour::OnSceneLoaded"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "OnSceneLoaded", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(scene), ::il2cpp_utils::ExtractType(mode)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, scene, mode); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.UnwrapParameters #include "UnityEngine/ProBuilder/UnwrapParameters.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static System.Single k_HardAngle float UnityEngine::ProBuilder::UnwrapParameters::_get_k_HardAngle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_get_k_HardAngle"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "UnwrapParameters", "k_HardAngle")); } // Autogenerated static field setter // Set static field: static System.Single k_HardAngle void UnityEngine::ProBuilder::UnwrapParameters::_set_k_HardAngle(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_set_k_HardAngle"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UnwrapParameters", "k_HardAngle", value)); } // Autogenerated static field getter // Get static field: static System.Single k_PackMargin float UnityEngine::ProBuilder::UnwrapParameters::_get_k_PackMargin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_get_k_PackMargin"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "UnwrapParameters", "k_PackMargin")); } // Autogenerated static field setter // Set static field: static System.Single k_PackMargin void UnityEngine::ProBuilder::UnwrapParameters::_set_k_PackMargin(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_set_k_PackMargin"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UnwrapParameters", "k_PackMargin", value)); } // Autogenerated static field getter // Get static field: static System.Single k_AngleError float UnityEngine::ProBuilder::UnwrapParameters::_get_k_AngleError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_get_k_AngleError"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "UnwrapParameters", "k_AngleError")); } // Autogenerated static field setter // Set static field: static System.Single k_AngleError void UnityEngine::ProBuilder::UnwrapParameters::_set_k_AngleError(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_set_k_AngleError"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UnwrapParameters", "k_AngleError", value)); } // Autogenerated static field getter // Get static field: static System.Single k_AreaError float UnityEngine::ProBuilder::UnwrapParameters::_get_k_AreaError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_get_k_AreaError"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "UnwrapParameters", "k_AreaError")); } // Autogenerated static field setter // Set static field: static System.Single k_AreaError void UnityEngine::ProBuilder::UnwrapParameters::_set_k_AreaError(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::_set_k_AreaError"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UnwrapParameters", "k_AreaError", value)); } // Autogenerated instance field getter // Get instance field: private System.Single m_HardAngle float& UnityEngine::ProBuilder::UnwrapParameters::dyn_m_HardAngle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::dyn_m_HardAngle"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_HardAngle"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Single m_PackMargin float& UnityEngine::ProBuilder::UnwrapParameters::dyn_m_PackMargin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::dyn_m_PackMargin"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_PackMargin"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Single m_AngleError float& UnityEngine::ProBuilder::UnwrapParameters::dyn_m_AngleError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::dyn_m_AngleError"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_AngleError"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private System.Single m_AreaError float& UnityEngine::ProBuilder::UnwrapParameters::dyn_m_AreaError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::dyn_m_AreaError"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_AreaError"))->offset; return *reinterpret_cast<float*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.get_hardAngle float UnityEngine::ProBuilder::UnwrapParameters::get_hardAngle() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::get_hardAngle"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hardAngle", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.set_hardAngle void UnityEngine::ProBuilder::UnwrapParameters::set_hardAngle(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::set_hardAngle"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hardAngle", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.get_packMargin float UnityEngine::ProBuilder::UnwrapParameters::get_packMargin() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::get_packMargin"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_packMargin", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.set_packMargin void UnityEngine::ProBuilder::UnwrapParameters::set_packMargin(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::set_packMargin"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_packMargin", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.get_angleError float UnityEngine::ProBuilder::UnwrapParameters::get_angleError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::get_angleError"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_angleError", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.set_angleError void UnityEngine::ProBuilder::UnwrapParameters::set_angleError(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::set_angleError"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_angleError", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.get_areaError float UnityEngine::ProBuilder::UnwrapParameters::get_areaError() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::get_areaError"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_areaError", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<float, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.set_areaError void UnityEngine::ProBuilder::UnwrapParameters::set_areaError(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::set_areaError"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_areaError", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.Reset void UnityEngine::ProBuilder::UnwrapParameters::Reset() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::Reset"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Reset", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UnwrapParameters.ToString ::Il2CppString* UnityEngine::ProBuilder::UnwrapParameters::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UnwrapParameters::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.VectorHash #include "UnityEngine/ProBuilder/VectorHash.hpp" // Including type: UnityEngine.Vector2 #include "UnityEngine/Vector2.hpp" // Including type: UnityEngine.Vector3 #include "UnityEngine/Vector3.hpp" // Including type: UnityEngine.Vector4 #include "UnityEngine/Vector4.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public System.Single FltCompareResolution float UnityEngine::ProBuilder::VectorHash::_get_FltCompareResolution() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::_get_FltCompareResolution"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<float>("UnityEngine.ProBuilder", "VectorHash", "FltCompareResolution")); } // Autogenerated static field setter // Set static field: static public System.Single FltCompareResolution void UnityEngine::ProBuilder::VectorHash::_set_FltCompareResolution(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::_set_FltCompareResolution"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "VectorHash", "FltCompareResolution", value)); } // Autogenerated method: UnityEngine.ProBuilder.VectorHash.HashFloat int UnityEngine::ProBuilder::VectorHash::HashFloat(float f) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::HashFloat"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VectorHash", "HashFloat", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(f)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, f); } // Autogenerated method: UnityEngine.ProBuilder.VectorHash.GetHashCode int UnityEngine::ProBuilder::VectorHash::GetHashCode(UnityEngine::Vector2 v) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::GetHashCode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VectorHash", "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(v)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, v); } // Autogenerated method: UnityEngine.ProBuilder.VectorHash.GetHashCode int UnityEngine::ProBuilder::VectorHash::GetHashCode(UnityEngine::Vector3 v) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::GetHashCode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VectorHash", "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(v)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, v); } // Autogenerated method: UnityEngine.ProBuilder.VectorHash.GetHashCode int UnityEngine::ProBuilder::VectorHash::GetHashCode(UnityEngine::Vector4 v) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VectorHash::GetHashCode"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VectorHash", "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(v)}))); return ::il2cpp_utils::RunMethodThrow<int, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, v); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Vector2Mask #include "UnityEngine/ProBuilder/Vector2Mask.hpp" // Including type: UnityEngine.Vector2 #include "UnityEngine/Vector2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Byte X uint8_t UnityEngine::ProBuilder::Vector2Mask::_get_X() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_get_X"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint8_t>("UnityEngine.ProBuilder", "Vector2Mask", "X")); } // Autogenerated static field setter // Set static field: static private System.Byte X void UnityEngine::ProBuilder::Vector2Mask::_set_X(uint8_t value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_set_X"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector2Mask", "X", value)); } // Autogenerated static field getter // Get static field: static private System.Byte Y uint8_t UnityEngine::ProBuilder::Vector2Mask::_get_Y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_get_Y"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint8_t>("UnityEngine.ProBuilder", "Vector2Mask", "Y")); } // Autogenerated static field setter // Set static field: static private System.Byte Y void UnityEngine::ProBuilder::Vector2Mask::_set_Y(uint8_t value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_set_Y"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector2Mask", "Y", value)); } // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.Vector2Mask XY UnityEngine::ProBuilder::Vector2Mask UnityEngine::ProBuilder::Vector2Mask::_get_XY() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_get_XY"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Vector2Mask>("UnityEngine.ProBuilder", "Vector2Mask", "XY")); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.Vector2Mask XY void UnityEngine::ProBuilder::Vector2Mask::_set_XY(UnityEngine::ProBuilder::Vector2Mask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::_set_XY"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector2Mask", "XY", value)); } // Autogenerated instance field getter // Get instance field: private System.Byte m_Mask uint8_t& UnityEngine::ProBuilder::Vector2Mask::dyn_m_Mask() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::dyn_m_Mask"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Mask"))->offset; return *reinterpret_cast<uint8_t*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.get_x float UnityEngine::ProBuilder::Vector2Mask::get_x() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::get_x"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_x", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.get_y float UnityEngine::ProBuilder::Vector2Mask::get_y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::get_y"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_y", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask..cctor void UnityEngine::ProBuilder::Vector2Mask::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector2Mask", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.op_BitwiseOr UnityEngine::ProBuilder::Vector2Mask UnityEngine::ProBuilder::operator|(const UnityEngine::ProBuilder::Vector2Mask& left, const UnityEngine::ProBuilder::Vector2Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::op_BitwiseOr"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector2Mask", "op_BitwiseOr", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector2Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.op_BitwiseAnd UnityEngine::ProBuilder::Vector2Mask UnityEngine::ProBuilder::operator&(const UnityEngine::ProBuilder::Vector2Mask& left, const UnityEngine::ProBuilder::Vector2Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::op_BitwiseAnd"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector2Mask", "op_BitwiseAnd", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector2Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.op_ExclusiveOr UnityEngine::ProBuilder::Vector2Mask UnityEngine::ProBuilder::operator^(const UnityEngine::ProBuilder::Vector2Mask& left, const UnityEngine::ProBuilder::Vector2Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::op_ExclusiveOr"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector2Mask", "op_ExclusiveOr", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector2Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector2Mask.op_Multiply UnityEngine::Vector2 UnityEngine::ProBuilder::operator*(const UnityEngine::ProBuilder::Vector2Mask& mask, const float& value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector2Mask::op_Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector2Mask", "op_Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mask), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mask, value); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Vector3Mask #include "UnityEngine/ProBuilder/Vector3Mask.hpp" // Including type: UnityEngine.Quaternion #include "UnityEngine/Quaternion.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Byte X uint8_t UnityEngine::ProBuilder::Vector3Mask::_get_X() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_get_X"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint8_t>("UnityEngine.ProBuilder", "Vector3Mask", "X")); } // Autogenerated static field setter // Set static field: static private System.Byte X void UnityEngine::ProBuilder::Vector3Mask::_set_X(uint8_t value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_set_X"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector3Mask", "X", value)); } // Autogenerated static field getter // Get static field: static private System.Byte Y uint8_t UnityEngine::ProBuilder::Vector3Mask::_get_Y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_get_Y"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint8_t>("UnityEngine.ProBuilder", "Vector3Mask", "Y")); } // Autogenerated static field setter // Set static field: static private System.Byte Y void UnityEngine::ProBuilder::Vector3Mask::_set_Y(uint8_t value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_set_Y"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector3Mask", "Y", value)); } // Autogenerated static field getter // Get static field: static private System.Byte Z uint8_t UnityEngine::ProBuilder::Vector3Mask::_get_Z() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_get_Z"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<uint8_t>("UnityEngine.ProBuilder", "Vector3Mask", "Z")); } // Autogenerated static field setter // Set static field: static private System.Byte Z void UnityEngine::ProBuilder::Vector3Mask::_set_Z(uint8_t value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_set_Z"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector3Mask", "Z", value)); } // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.Vector3Mask XYZ UnityEngine::ProBuilder::Vector3Mask UnityEngine::ProBuilder::Vector3Mask::_get_XYZ() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_get_XYZ"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::Vector3Mask>("UnityEngine.ProBuilder", "Vector3Mask", "XYZ")); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.Vector3Mask XYZ void UnityEngine::ProBuilder::Vector3Mask::_set_XYZ(UnityEngine::ProBuilder::Vector3Mask value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::_set_XYZ"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "Vector3Mask", "XYZ", value)); } // Autogenerated instance field getter // Get instance field: private System.Byte m_Mask uint8_t& UnityEngine::ProBuilder::Vector3Mask::dyn_m_Mask() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::dyn_m_Mask"); auto ___internal__instance = *this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Mask"))->offset; return *reinterpret_cast<uint8_t*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.get_x float UnityEngine::ProBuilder::Vector3Mask::get_x() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::get_x"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_x", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.get_y float UnityEngine::ProBuilder::Vector3Mask::get_y() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::get_y"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_y", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.get_z float UnityEngine::ProBuilder::Vector3Mask::get_z() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::get_z"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_z", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.get_active int UnityEngine::ProBuilder::Vector3Mask::get_active() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::get_active"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_active", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.get_Item float UnityEngine::ProBuilder::Vector3Mask::get_Item(int i) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::get_Item"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "get_Item", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i)}))); return ::il2cpp_utils::RunMethodThrow<float, false>(*this, ___internal__method, i); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.set_Item void UnityEngine::ProBuilder::Vector3Mask::set_Item(int i, float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::set_Item"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "set_Item", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(i), ::il2cpp_utils::ExtractType(value)}))); ::il2cpp_utils::RunMethodThrow<void, false>(*this, ___internal__method, i, value); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask..cctor void UnityEngine::ProBuilder::Vector3Mask::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Explicit UnityEngine::ProBuilder::Vector3Mask::Vector3Mask(UnityEngine::Vector3& v) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Explicit"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Explicit", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(v)}))); *this = ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector3Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, v); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.Equals bool UnityEngine::ProBuilder::Vector3Mask::Equals(UnityEngine::ProBuilder::Vector3Mask other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.ToString ::Il2CppString* UnityEngine::ProBuilder::Vector3Mask::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.Equals bool UnityEngine::ProBuilder::Vector3Mask::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(*this, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.GetHashCode int UnityEngine::ProBuilder::Vector3Mask::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(*this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); return ::il2cpp_utils::RunMethodThrow<int, false>(*this, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_BitwiseOr UnityEngine::ProBuilder::Vector3Mask UnityEngine::ProBuilder::operator|(const UnityEngine::ProBuilder::Vector3Mask& left, const UnityEngine::ProBuilder::Vector3Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_BitwiseOr"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_BitwiseOr", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector3Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_BitwiseAnd UnityEngine::ProBuilder::Vector3Mask UnityEngine::ProBuilder::operator&(const UnityEngine::ProBuilder::Vector3Mask& left, const UnityEngine::ProBuilder::Vector3Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_BitwiseAnd"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_BitwiseAnd", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector3Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_ExclusiveOr UnityEngine::ProBuilder::Vector3Mask UnityEngine::ProBuilder::operator^(const UnityEngine::ProBuilder::Vector3Mask& left, const UnityEngine::ProBuilder::Vector3Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_ExclusiveOr"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_ExclusiveOr", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vector3Mask, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Multiply UnityEngine::Vector3 UnityEngine::ProBuilder::operator*(const UnityEngine::ProBuilder::Vector3Mask& mask, const float& value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mask), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mask, value); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Multiply UnityEngine::Vector3 UnityEngine::ProBuilder::operator*(const UnityEngine::ProBuilder::Vector3Mask& mask, const UnityEngine::Vector3& value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mask), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mask, value); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Multiply UnityEngine::Vector3 UnityEngine::ProBuilder::operator*(const UnityEngine::Quaternion& rotation, const UnityEngine::ProBuilder::Vector3Mask& mask) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(rotation), ::il2cpp_utils::ExtractType(mask)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, rotation, mask); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Equality bool UnityEngine::ProBuilder::operator ==(const UnityEngine::ProBuilder::Vector3Mask& left, const UnityEngine::ProBuilder::Vector3Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.Vector3Mask.op_Inequality bool UnityEngine::ProBuilder::operator !=(const UnityEngine::ProBuilder::Vector3Mask& left, const UnityEngine::ProBuilder::Vector3Mask& right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vector3Mask::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vector3Mask", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.Mesh #include "UnityEngine/Mesh.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3 m_Position UnityEngine::Vector3& UnityEngine::ProBuilder::Vertex::dyn_m_Position() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_Position"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Position"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Color m_Color UnityEngine::Color& UnityEngine::ProBuilder::Vertex::dyn_m_Color() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_Color"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Color"))->offset; return *reinterpret_cast<UnityEngine::Color*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector3 m_Normal UnityEngine::Vector3& UnityEngine::ProBuilder::Vertex::dyn_m_Normal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_Normal"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Normal"))->offset; return *reinterpret_cast<UnityEngine::Vector3*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector4 m_Tangent UnityEngine::Vector4& UnityEngine::ProBuilder::Vertex::dyn_m_Tangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_Tangent"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Tangent"))->offset; return *reinterpret_cast<UnityEngine::Vector4*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector2 m_UV0 UnityEngine::Vector2& UnityEngine::ProBuilder::Vertex::dyn_m_UV0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_UV0"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_UV0"))->offset; return *reinterpret_cast<UnityEngine::Vector2*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector2 m_UV2 UnityEngine::Vector2& UnityEngine::ProBuilder::Vertex::dyn_m_UV2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_UV2"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_UV2"))->offset; return *reinterpret_cast<UnityEngine::Vector2*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector4 m_UV3 UnityEngine::Vector4& UnityEngine::ProBuilder::Vertex::dyn_m_UV3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_UV3"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_UV3"))->offset; return *reinterpret_cast<UnityEngine::Vector4*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.Vector4 m_UV4 UnityEngine::Vector4& UnityEngine::ProBuilder::Vertex::dyn_m_UV4() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_UV4"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_UV4"))->offset; return *reinterpret_cast<UnityEngine::Vector4*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.MeshArrays m_Attributes UnityEngine::ProBuilder::MeshArrays& UnityEngine::ProBuilder::Vertex::dyn_m_Attributes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::dyn_m_Attributes"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Attributes"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::MeshArrays*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_position UnityEngine::Vector3 UnityEngine::ProBuilder::Vertex::get_position() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_position"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_position", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_position void UnityEngine::ProBuilder::Vertex::set_position(UnityEngine::Vector3 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_position"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_position", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_color UnityEngine::Color UnityEngine::ProBuilder::Vertex::get_color() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_color"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_color", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Color, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_color void UnityEngine::ProBuilder::Vertex::set_color(UnityEngine::Color value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_color"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_color", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_normal UnityEngine::Vector3 UnityEngine::ProBuilder::Vertex::get_normal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_normal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_normal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_normal void UnityEngine::ProBuilder::Vertex::set_normal(UnityEngine::Vector3 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_normal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_normal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_tangent UnityEngine::Vector4 UnityEngine::ProBuilder::Vertex::get_tangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_tangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_tangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector4, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_tangent void UnityEngine::ProBuilder::Vertex::set_tangent(UnityEngine::Vector4 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_tangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_tangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_uv0 UnityEngine::Vector2 UnityEngine::ProBuilder::Vertex::get_uv0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_uv0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_uv0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_uv0 void UnityEngine::ProBuilder::Vertex::set_uv0(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_uv0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_uv0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_uv2 UnityEngine::Vector2 UnityEngine::ProBuilder::Vertex::get_uv2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_uv2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_uv2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector2, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_uv2 void UnityEngine::ProBuilder::Vertex::set_uv2(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_uv2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_uv2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_uv3 UnityEngine::Vector4 UnityEngine::ProBuilder::Vertex::get_uv3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_uv3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_uv3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector4, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_uv3 void UnityEngine::ProBuilder::Vertex::set_uv3(UnityEngine::Vector4 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_uv3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_uv3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_uv4 UnityEngine::Vector4 UnityEngine::ProBuilder::Vertex::get_uv4() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_uv4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_uv4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector4, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_uv4 void UnityEngine::ProBuilder::Vertex::set_uv4(UnityEngine::Vector4 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_uv4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_uv4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_attributes UnityEngine::ProBuilder::MeshArrays UnityEngine::ProBuilder::Vertex::get_attributes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_attributes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_attributes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::MeshArrays, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasPosition bool UnityEngine::ProBuilder::Vertex::get_hasPosition() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasPosition"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasPosition", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasPosition void UnityEngine::ProBuilder::Vertex::set_hasPosition(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasPosition"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasPosition", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasColor bool UnityEngine::ProBuilder::Vertex::get_hasColor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasColor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasColor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasColor void UnityEngine::ProBuilder::Vertex::set_hasColor(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasColor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasColor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasNormal bool UnityEngine::ProBuilder::Vertex::get_hasNormal() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasNormal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasNormal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasNormal void UnityEngine::ProBuilder::Vertex::set_hasNormal(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasNormal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasNormal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasTangent bool UnityEngine::ProBuilder::Vertex::get_hasTangent() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasTangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasTangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasTangent void UnityEngine::ProBuilder::Vertex::set_hasTangent(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasTangent"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasTangent", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasUV0 bool UnityEngine::ProBuilder::Vertex::get_hasUV0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasUV0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasUV0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasUV0 void UnityEngine::ProBuilder::Vertex::set_hasUV0(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasUV0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasUV0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasUV2 bool UnityEngine::ProBuilder::Vertex::get_hasUV2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasUV2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasUV2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasUV2 void UnityEngine::ProBuilder::Vertex::set_hasUV2(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasUV2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasUV2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasUV3 bool UnityEngine::ProBuilder::Vertex::get_hasUV3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasUV3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasUV3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasUV3 void UnityEngine::ProBuilder::Vertex::set_hasUV3(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasUV3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasUV3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.get_hasUV4 bool UnityEngine::ProBuilder::Vertex::get_hasUV4() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::get_hasUV4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_hasUV4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.set_hasUV4 void UnityEngine::ProBuilder::Vertex::set_hasUV4(bool value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::set_hasUV4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_hasUV4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.HasArrays bool UnityEngine::ProBuilder::Vertex::HasArrays(UnityEngine::ProBuilder::MeshArrays attribute) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::HasArrays"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "HasArrays", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(attribute)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, attribute); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Equals bool UnityEngine::ProBuilder::Vertex::Equals(UnityEngine::ProBuilder::Vertex* other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Equals bool UnityEngine::ProBuilder::Vertex::Equals(UnityEngine::ProBuilder::Vertex* other, UnityEngine::ProBuilder::MeshArrays mask) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Equals"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other), ::il2cpp_utils::ExtractType(mask)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, other, mask); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Add UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Add(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex* b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Add"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Add", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Add void UnityEngine::ProBuilder::Vertex::Add(UnityEngine::ProBuilder::Vertex* b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Add"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Add", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(b)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Subtract UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Subtract(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex* b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Subtract"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Subtract", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Subtract void UnityEngine::ProBuilder::Vertex::Subtract(UnityEngine::ProBuilder::Vertex* b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Subtract"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Subtract", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(b)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Multiply UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Multiply(UnityEngine::ProBuilder::Vertex* a, float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Multiply void UnityEngine::ProBuilder::Vertex::Multiply(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Divide UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Divide(UnityEngine::ProBuilder::Vertex* a, float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Divide"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Divide", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Divide void UnityEngine::ProBuilder::Vertex::Divide(float value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Divide"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Divide", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Normalize void UnityEngine::ProBuilder::Vertex::Normalize() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Normalize"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Normalize", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.ToString ::Il2CppString* UnityEngine::ProBuilder::Vertex::ToString(::Il2CppString* args) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::ToString"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(args)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method, args); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.GetArrays void UnityEngine::ProBuilder::Vertex::GetArrays(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, ByRef<::Array<UnityEngine::Vector3>*> position, ByRef<::Array<UnityEngine::Color>*> color, ByRef<::Array<UnityEngine::Vector2>*> uv0, ByRef<::Array<UnityEngine::Vector3>*> normal, ByRef<::Array<UnityEngine::Vector4>*> tangent, ByRef<::Array<UnityEngine::Vector2>*> uv2, ByRef<System::Collections::Generic::List_1<UnityEngine::Vector4>*> uv3, ByRef<System::Collections::Generic::List_1<UnityEngine::Vector4>*> uv4) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::GetArrays"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "GetArrays", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector3>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Color>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector2>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector3>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector4>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector2>*&>(), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::List_1<UnityEngine::Vector4>*&>(), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::List_1<UnityEngine::Vector4>*&>()}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, byref(position), byref(color), byref(uv0), byref(normal), byref(tangent), byref(uv2), byref(uv3), byref(uv4)); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.GetArrays void UnityEngine::ProBuilder::Vertex::GetArrays(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, ByRef<::Array<UnityEngine::Vector3>*> position, ByRef<::Array<UnityEngine::Color>*> color, ByRef<::Array<UnityEngine::Vector2>*> uv0, ByRef<::Array<UnityEngine::Vector3>*> normal, ByRef<::Array<UnityEngine::Vector4>*> tangent, ByRef<::Array<UnityEngine::Vector2>*> uv2, ByRef<System::Collections::Generic::List_1<UnityEngine::Vector4>*> uv3, ByRef<System::Collections::Generic::List_1<UnityEngine::Vector4>*> uv4, UnityEngine::ProBuilder::MeshArrays attributes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::GetArrays"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "GetArrays", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector3>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Color>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector2>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector3>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector4>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::Vector2>*&>(), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::List_1<UnityEngine::Vector4>*&>(), ::il2cpp_utils::ExtractIndependentType<System::Collections::Generic::List_1<UnityEngine::Vector4>*&>(), ::il2cpp_utils::ExtractType(attributes)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, byref(position), byref(color), byref(uv0), byref(normal), byref(tangent), byref(uv2), byref(uv3), byref(uv4), attributes); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.SetMesh void UnityEngine::ProBuilder::Vertex::SetMesh(UnityEngine::Mesh* mesh, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::SetMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "SetMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(vertices)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, vertices); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Average UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Average(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Average"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Average", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, indexes); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Mix UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::Vertex::Mix(UnityEngine::ProBuilder::Vertex* x, UnityEngine::ProBuilder::Vertex* y, float weight) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Mix"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "Mix", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x), ::il2cpp_utils::ExtractType(y), ::il2cpp_utils::ExtractType(weight)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, x, y, weight); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.Equals bool UnityEngine::ProBuilder::Vertex::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.GetHashCode int UnityEngine::ProBuilder::Vertex::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Equality bool UnityEngine::ProBuilder::operator ==(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Equality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Equality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(&b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, &b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Inequality bool UnityEngine::ProBuilder::operator !=(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Inequality"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Inequality", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(&b)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, &b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Addition UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::operator+(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Addition"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Addition", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(&b)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, &b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Subtraction UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::operator-(UnityEngine::ProBuilder::Vertex* a, UnityEngine::ProBuilder::Vertex& b) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Subtraction"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Subtraction", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(&b)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, a, &b); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Multiply UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::operator*(UnityEngine::ProBuilder::Vertex& a, const float& value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Multiply"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Multiply", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(&a), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, &a, value); } // Autogenerated method: UnityEngine.ProBuilder.Vertex.op_Division UnityEngine::ProBuilder::Vertex* UnityEngine::ProBuilder::operator/(UnityEngine::ProBuilder::Vertex& a, const float& value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::Vertex::op_Division"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "Vertex", "op_Division", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(&a), ::il2cpp_utils::ExtractType(value)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Vertex*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, &a, value); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.VertexPositioning #include "UnityEngine/ProBuilder/VertexPositioning.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Collections.Generic.List`1<System.Int32> s_CoincidentVertices System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::VertexPositioning::_get_s_CoincidentVertices() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::_get_s_CoincidentVertices"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<int>*>("UnityEngine.ProBuilder", "VertexPositioning", "s_CoincidentVertices")); } // Autogenerated static field setter // Set static field: static private System.Collections.Generic.List`1<System.Int32> s_CoincidentVertices void UnityEngine::ProBuilder::VertexPositioning::_set_s_CoincidentVertices(System::Collections::Generic::List_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::_set_s_CoincidentVertices"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "VertexPositioning", "s_CoincidentVertices", value)); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning..cctor void UnityEngine::ProBuilder::VertexPositioning::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.VerticesInWorldSpace ::Array<UnityEngine::Vector3>* UnityEngine::ProBuilder::VertexPositioning::VerticesInWorldSpace(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::VerticesInWorldSpace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "VerticesInWorldSpace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::Vector3>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVerticesInWorldSpace void UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInWorldSpace(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<int>* indexes, UnityEngine::Vector3 offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInWorldSpace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVerticesInWorldSpace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(offset)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, offset); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVerticesInWorldSpace void UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInWorldSpace(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<int>* indexes, UnityEngine::Vector3 offset, float snapValue, bool snapAxisOnly) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInWorldSpace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVerticesInWorldSpace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(offset), ::il2cpp_utils::ExtractType(snapValue), ::il2cpp_utils::ExtractType(snapAxisOnly)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, offset, snapValue, snapAxisOnly); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVertices void UnityEngine::ProBuilder::VertexPositioning::TranslateVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<int>* indexes, UnityEngine::Vector3 offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(offset)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, offset); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVertices void UnityEngine::ProBuilder::VertexPositioning::TranslateVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges, UnityEngine::Vector3 offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(offset)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, offset); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVertices void UnityEngine::ProBuilder::VertexPositioning::TranslateVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, UnityEngine::Vector3 offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(offset)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, offset); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.TranslateVerticesInternal void UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInternal(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<int>* indices, UnityEngine::Vector3 offset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::TranslateVerticesInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "TranslateVerticesInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indices), ::il2cpp_utils::ExtractType(offset)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indices, offset); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.SetSharedVertexPosition void UnityEngine::ProBuilder::VertexPositioning::SetSharedVertexPosition(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int sharedVertexHandle, UnityEngine::Vector3 position) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::SetSharedVertexPosition"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "SetSharedVertexPosition", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(sharedVertexHandle), ::il2cpp_utils::ExtractType(position)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, sharedVertexHandle, position); } // Autogenerated method: UnityEngine.ProBuilder.VertexPositioning.SetSharedVertexValues void UnityEngine::ProBuilder::VertexPositioning::SetSharedVertexValues(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int sharedVertexHandle, UnityEngine::ProBuilder::Vertex* vertex) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::VertexPositioning::SetSharedVertexValues"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "VertexPositioning", "SetSharedVertexValues", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(sharedVertexHandle), ::il2cpp_utils::ExtractType(vertex)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, sharedVertexHandle, vertex); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c__DisplayClass32_0 #include "UnityEngine/ProBuilder/WingedEdge_--c__DisplayClass32_0.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/WingedEdge_--c.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private readonly System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Edge,UnityEngine.ProBuilder.WingedEdge> k_OppositeEdgeDictionary System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Edge, UnityEngine::ProBuilder::WingedEdge*>* UnityEngine::ProBuilder::WingedEdge::_get_k_OppositeEdgeDictionary() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::_get_k_OppositeEdgeDictionary"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Edge, UnityEngine::ProBuilder::WingedEdge*>*>("UnityEngine.ProBuilder", "WingedEdge", "k_OppositeEdgeDictionary"))); } // Autogenerated static field setter // Set static field: static private readonly System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Edge,UnityEngine.ProBuilder.WingedEdge> k_OppositeEdgeDictionary void UnityEngine::ProBuilder::WingedEdge::_set_k_OppositeEdgeDictionary(System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Edge, UnityEngine::ProBuilder::WingedEdge*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::_set_k_OppositeEdgeDictionary"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WingedEdge", "k_OppositeEdgeDictionary", value)); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.EdgeLookup <edge>k__BackingField UnityEngine::ProBuilder::EdgeLookup& UnityEngine::ProBuilder::WingedEdge::dyn_$edge$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::dyn_$edge$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<edge>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::EdgeLookup*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.Face <face>k__BackingField UnityEngine::ProBuilder::Face*& UnityEngine::ProBuilder::WingedEdge::dyn_$face$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::dyn_$face$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<face>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::Face**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.WingedEdge <next>k__BackingField UnityEngine::ProBuilder::WingedEdge*& UnityEngine::ProBuilder::WingedEdge::dyn_$next$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::dyn_$next$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<next>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::WingedEdge**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.WingedEdge <previous>k__BackingField UnityEngine::ProBuilder::WingedEdge*& UnityEngine::ProBuilder::WingedEdge::dyn_$previous$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::dyn_$previous$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<previous>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::WingedEdge**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.WingedEdge <opposite>k__BackingField UnityEngine::ProBuilder::WingedEdge*& UnityEngine::ProBuilder::WingedEdge::dyn_$opposite$k__BackingField() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::dyn_$opposite$k__BackingField"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<opposite>k__BackingField"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::WingedEdge**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.get_edge UnityEngine::ProBuilder::EdgeLookup UnityEngine::ProBuilder::WingedEdge::get_edge() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::get_edge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_edge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::EdgeLookup, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.set_edge void UnityEngine::ProBuilder::WingedEdge::set_edge(UnityEngine::ProBuilder::EdgeLookup value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::set_edge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_edge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.get_face UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::WingedEdge::get_face() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::get_face"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_face", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.set_face void UnityEngine::ProBuilder::WingedEdge::set_face(UnityEngine::ProBuilder::Face* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::set_face"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_face", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.get_next UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::WingedEdge::get_next() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::get_next"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_next", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.set_next void UnityEngine::ProBuilder::WingedEdge::set_next(UnityEngine::ProBuilder::WingedEdge* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::set_next"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_next", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.get_previous UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::WingedEdge::get_previous() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::get_previous"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_previous", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.set_previous void UnityEngine::ProBuilder::WingedEdge::set_previous(UnityEngine::ProBuilder::WingedEdge* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::set_previous"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_previous", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.get_opposite UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::WingedEdge::get_opposite() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::get_opposite"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_opposite", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.set_opposite void UnityEngine::ProBuilder::WingedEdge::set_opposite(UnityEngine::ProBuilder::WingedEdge* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::set_opposite"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "set_opposite", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(value)}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method, value); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge..cctor void UnityEngine::ProBuilder::WingedEdge::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.Equals bool UnityEngine::ProBuilder::WingedEdge::Equals(UnityEngine::ProBuilder::WingedEdge* other) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(other)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, other); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.Count int UnityEngine::ProBuilder::WingedEdge::Count() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::Count"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Count", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.MakeQuad ::Array<int>* UnityEngine::ProBuilder::WingedEdge::MakeQuad(UnityEngine::ProBuilder::WingedEdge* left, UnityEngine::ProBuilder::WingedEdge* right) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::MakeQuad"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "MakeQuad", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, left, right); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.GetAdjacentEdgeWithCommonIndex UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::WingedEdge::GetAdjacentEdgeWithCommonIndex(int common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::GetAdjacentEdgeWithCommonIndex"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetAdjacentEdgeWithCommonIndex", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(common)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(___instance_arg, ___internal__method, common); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.SortEdgesByAdjacency System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::WingedEdge::SortEdgesByAdjacency(UnityEngine::ProBuilder::Face* face) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::SortEdgesByAdjacency"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "SortEdgesByAdjacency", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.SortEdgesByAdjacency void UnityEngine::ProBuilder::WingedEdge::SortEdgesByAdjacency(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::SortEdgesByAdjacency"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "SortEdgesByAdjacency", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edges)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, edges); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.GetSpokes System::Collections::Generic::Dictionary_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*>* UnityEngine::ProBuilder::WingedEdge::GetSpokes(System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* wings) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::GetSpokes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "GetSpokes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wings)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::Dictionary_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wings); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.SortCommonIndexesByAdjacency System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::WingedEdge::SortCommonIndexesByAdjacency(System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* wings, System::Collections::Generic::HashSet_1<int>* common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::SortCommonIndexesByAdjacency"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "SortCommonIndexesByAdjacency", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wings), ::il2cpp_utils::ExtractType(common)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wings, common); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.GetWingedEdges System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* UnityEngine::ProBuilder::WingedEdge::GetWingedEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, bool oneWingPerFace) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::GetWingedEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "GetWingedEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(oneWingPerFace)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, oneWingPerFace); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.GetWingedEdges System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* UnityEngine::ProBuilder::WingedEdge::GetWingedEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, bool oneWingPerFace) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::GetWingedEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge", "GetWingedEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(oneWingPerFace)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, oneWingPerFace); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.Equals bool UnityEngine::ProBuilder::WingedEdge::Equals(::Il2CppObject* obj) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::Equals"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Equals", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(obj)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, obj); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.GetHashCode int UnityEngine::ProBuilder::WingedEdge::GetHashCode() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::GetHashCode"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "GetHashCode", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge.ToString ::Il2CppString* UnityEngine::ProBuilder::WingedEdge::ToString() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::ToString"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "ToString", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppString*, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c__DisplayClass32_0 #include "UnityEngine/ProBuilder/WingedEdge_--c__DisplayClass32_0.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.HashSet`1<System.Int32> common System::Collections::Generic::HashSet_1<int>*& UnityEngine::ProBuilder::WingedEdge::$$c__DisplayClass32_0::dyn_common() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c__DisplayClass32_0::dyn_common"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "common"))->offset; return *reinterpret_cast<System::Collections::Generic::HashSet_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c__DisplayClass32_0.<SortCommonIndexesByAdjacency>b__0 bool UnityEngine::ProBuilder::WingedEdge::$$c__DisplayClass32_0::$SortCommonIndexesByAdjacency$b__0(UnityEngine::ProBuilder::WingedEdge* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c__DisplayClass32_0::<SortCommonIndexesByAdjacency>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SortCommonIndexesByAdjacency>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c #include "UnityEngine/ProBuilder/WingedEdge_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c <>9 UnityEngine::ProBuilder::WingedEdge::$$c* UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::WingedEdge::$$c*>("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c <>9 void UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9(UnityEngine::ProBuilder::WingedEdge::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__32_1 System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9__32_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9__32_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>*>("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9__32_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__32_1 void UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9__32_1(System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9__32_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9__32_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Edge,System.Int32> <>9__32_2 System::Func_2<UnityEngine::ProBuilder::Edge, int>* UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9__32_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_get_$$9__32_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Edge, int>*>("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9__32_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Edge,System.Int32> <>9__32_2 void UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9__32_2(System::Func_2<UnityEngine::ProBuilder::Edge, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::_set_$$9__32_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "WingedEdge/<>c", "<>9__32_2", value))); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c..cctor void UnityEngine::ProBuilder::WingedEdge::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "WingedEdge/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c.<SortCommonIndexesByAdjacency>b__32_1 UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::WingedEdge::$$c::$SortCommonIndexesByAdjacency$b__32_1(UnityEngine::ProBuilder::WingedEdge* y) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::<SortCommonIndexesByAdjacency>b__32_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SortCommonIndexesByAdjacency>b__32_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(y)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method, y); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdge/UnityEngine.ProBuilder.<>c.<SortCommonIndexesByAdjacency>b__32_2 int UnityEngine::ProBuilder::WingedEdge::$$c::$SortCommonIndexesByAdjacency$b__32_2(UnityEngine::ProBuilder::Edge x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdge::$$c::<SortCommonIndexesByAdjacency>b__32_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SortCommonIndexesByAdjacency>b__32_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.WingedEdgeEnumerator #include "UnityEngine/ProBuilder/WingedEdgeEnumerator.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.WingedEdge m_Start UnityEngine::ProBuilder::WingedEdge*& UnityEngine::ProBuilder::WingedEdgeEnumerator::dyn_m_Start() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::dyn_m_Start"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Start"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::WingedEdge**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: private UnityEngine.ProBuilder.WingedEdge m_Current UnityEngine::ProBuilder::WingedEdge*& UnityEngine::ProBuilder::WingedEdgeEnumerator::dyn_m_Current() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::dyn_m_Current"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "m_Current"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::WingedEdge**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdgeEnumerator.get_Current UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::WingedEdgeEnumerator::get_Current() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::get_Current"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "get_Current", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdgeEnumerator.System.Collections.IEnumerator.get_Current ::Il2CppObject* UnityEngine::ProBuilder::WingedEdgeEnumerator::System_Collections_IEnumerator_get_Current() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::System.Collections.IEnumerator.get_Current"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "System.Collections.IEnumerator.get_Current", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<::Il2CppObject*, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdgeEnumerator.MoveNext bool UnityEngine::ProBuilder::WingedEdgeEnumerator::MoveNext() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::MoveNext"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "MoveNext", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdgeEnumerator.Reset void UnityEngine::ProBuilder::WingedEdgeEnumerator::Reset() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::Reset"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Reset", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.WingedEdgeEnumerator.Dispose void UnityEngine::ProBuilder::WingedEdgeEnumerator::Dispose() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::WingedEdgeEnumerator::Dispose"); auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "Dispose", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); auto ___instance_arg = this; ::il2cpp_utils::RunMethodThrow<void, false>(___instance_arg, ___internal__method); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.UvUnwrapping #include "UnityEngine/ProBuilder/UvUnwrapping.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.Vector3 #include "UnityEngine/Vector3.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private UnityEngine.Vector2 s_TempVector2 UnityEngine::Vector2 UnityEngine::ProBuilder::UvUnwrapping::_get_s_TempVector2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::_get_s_TempVector2"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector2>("UnityEngine.ProBuilder", "UvUnwrapping", "s_TempVector2")); } // Autogenerated static field setter // Set static field: static private UnityEngine.Vector2 s_TempVector2 void UnityEngine::ProBuilder::UvUnwrapping::_set_s_TempVector2(UnityEngine::Vector2 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::_set_s_TempVector2"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UvUnwrapping", "s_TempVector2", value)); } // Autogenerated static field getter // Get static field: static private readonly System.Collections.Generic.List`1<System.Int32> s_IndexBuffer System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::UvUnwrapping::_get_s_IndexBuffer() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::_get_s_IndexBuffer"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<System::Collections::Generic::List_1<int>*>("UnityEngine.ProBuilder", "UvUnwrapping", "s_IndexBuffer")); } // Autogenerated static field setter // Set static field: static private readonly System.Collections.Generic.List`1<System.Int32> s_IndexBuffer void UnityEngine::ProBuilder::UvUnwrapping::_set_s_IndexBuffer(System::Collections::Generic::List_1<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::_set_s_IndexBuffer"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder", "UvUnwrapping", "s_IndexBuffer", value)); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping..cctor void UnityEngine::ProBuilder::UvUnwrapping::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.Unwrap void UnityEngine::ProBuilder::UvUnwrapping::Unwrap(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Face* face, UnityEngine::Vector3 projection) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::Unwrap"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "Unwrap", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(projection)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, face, projection); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.CopyUVs void UnityEngine::ProBuilder::UvUnwrapping::CopyUVs(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Face* source, UnityEngine::ProBuilder::Face* dest) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::CopyUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "CopyUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(source), ::il2cpp_utils::ExtractType(dest)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, source, dest); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.ProjectTextureGroup void UnityEngine::ProBuilder::UvUnwrapping::ProjectTextureGroup(UnityEngine::ProBuilder::ProBuilderMesh* mesh, int group, UnityEngine::ProBuilder::AutoUnwrapSettings unwrapSettings) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::ProjectTextureGroup"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "ProjectTextureGroup", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(group), ::il2cpp_utils::ExtractType(unwrapSettings)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, group, unwrapSettings); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.ApplyUVSettings void UnityEngine::ProBuilder::UvUnwrapping::ApplyUVSettings(::Array<UnityEngine::Vector2>* uvs, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::ProBuilder::AutoUnwrapSettings uvSettings) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::ApplyUVSettings"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "ApplyUVSettings", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(uvSettings)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, uvs, indexes, uvSettings); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.StretchUVs void UnityEngine::ProBuilder::UvUnwrapping::StretchUVs(::Array<UnityEngine::Vector2>* uvs, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::StretchUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "StretchUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(indexes)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, uvs, indexes); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.FitUVs void UnityEngine::ProBuilder::UvUnwrapping::FitUVs(::Array<UnityEngine::Vector2>* uvs, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::FitUVs"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "FitUVs", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(indexes)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, uvs, indexes); } // Autogenerated method: UnityEngine.ProBuilder.UvUnwrapping.ApplyUVAnchor void UnityEngine::ProBuilder::UvUnwrapping::ApplyUVAnchor(::Array<UnityEngine::Vector2>* uvs, System::Collections::Generic::IList_1<int>* indexes, UnityEngine::ProBuilder::AutoUnwrapSettings::Anchor anchor) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::UvUnwrapping::ApplyUVAnchor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder", "UvUnwrapping", "ApplyUVAnchor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(anchor)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, uvs, indexes, anchor); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.AppendElements #include "UnityEngine/ProBuilder/MeshOperations/AppendElements.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/AppendElements_--c.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass14_0 #include "UnityEngine/ProBuilder/MeshOperations/AppendElements_--c__DisplayClass14_0.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.ActionResult #include "UnityEngine/ProBuilder/ActionResult.hpp" // Including type: UnityEngine.ProBuilder.PolyShape #include "UnityEngine/ProBuilder/PolyShape.hpp" // Including type: UnityEngine.ProBuilder.FaceRebuildData #include "UnityEngine/ProBuilder/FaceRebuildData.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.AppendFace UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendFace(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<UnityEngine::Vector3>* positions, ::Array<UnityEngine::Color>* colors, ::Array<UnityEngine::Vector2>* uvs, UnityEngine::ProBuilder::Face* face, ::Array<int>* common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "AppendFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(colors), ::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(common)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, positions, colors, uvs, face, common); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.AppendFaces ::Array<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<::Array<UnityEngine::Vector3>*>* positions, ::Array<::Array<UnityEngine::Color>*>* colors, ::Array<::Array<UnityEngine::Vector2>*>* uvs, ::Array<UnityEngine::ProBuilder::Face*>* faces, ::Array<::Array<int>*>* shared) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "AppendFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(positions), ::il2cpp_utils::ExtractType(colors), ::il2cpp_utils::ExtractType(uvs), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(shared)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, positions, colors, uvs, faces, shared); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.CreatePolygon UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::AppendElements::CreatePolygon(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<int>* indexes, bool unordered) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::CreatePolygon"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "CreatePolygon", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(unordered)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, unordered); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon UnityEngine::ProBuilder::ActionResult* UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon(UnityEngine::ProBuilder::PolyShape* poly) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "CreateShapeFromPolygon", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(poly)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ActionResult*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, poly); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.ClearAndRefreshMesh void UnityEngine::ProBuilder::MeshOperations::AppendElements::ClearAndRefreshMesh(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::ClearAndRefreshMesh"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "ClearAndRefreshMesh", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon UnityEngine::ProBuilder::ActionResult* UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, float extrude, bool flipNormals) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "CreateShapeFromPolygon", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(extrude), ::il2cpp_utils::ExtractType(flipNormals)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ActionResult*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, points, extrude, flipNormals); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon UnityEngine::ProBuilder::ActionResult* UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, float extrude, bool flipNormals, UnityEngine::Vector3 cameraLookAt, System::Collections::Generic::IList_1<System::Collections::Generic::IList_1<UnityEngine::Vector3>*>* holePoints) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "CreateShapeFromPolygon", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(extrude), ::il2cpp_utils::ExtractType(flipNormals), ::il2cpp_utils::ExtractType(cameraLookAt), ::il2cpp_utils::ExtractType(holePoints)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ActionResult*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, points, extrude, flipNormals, cameraLookAt, holePoints); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon UnityEngine::ProBuilder::ActionResult* UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::Vector3>* points, float extrude, bool flipNormals, System::Collections::Generic::IList_1<System::Collections::Generic::IList_1<UnityEngine::Vector3>*>* holePoints) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::CreateShapeFromPolygon"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "CreateShapeFromPolygon", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(points), ::il2cpp_utils::ExtractType(extrude), ::il2cpp_utils::ExtractType(flipNormals), ::il2cpp_utils::ExtractType(holePoints)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ActionResult*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, points, extrude, flipNormals, holePoints); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.FaceWithVertices UnityEngine::ProBuilder::FaceRebuildData* UnityEngine::ProBuilder::MeshOperations::AppendElements::FaceWithVertices(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices, bool unordered) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::FaceWithVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "FaceWithVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(unordered)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::FaceRebuildData*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, unordered); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.TentCapWithVertices System::Collections::Generic::List_1<UnityEngine::ProBuilder::FaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::AppendElements::TentCapWithVertices(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* path) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::TentCapWithVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "TentCapWithVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(path)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::FaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, path); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.DuplicateAndFlip void UnityEngine::ProBuilder::MeshOperations::AppendElements::DuplicateAndFlip(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::DuplicateAndFlip"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "DuplicateAndFlip", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.Bridge UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::AppendElements::Bridge(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Edge a, UnityEngine::ProBuilder::Edge b, bool allowNonManifoldGeometry) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::Bridge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "Bridge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b), ::il2cpp_utils::ExtractType(allowNonManifoldGeometry)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, a, b, allowNonManifoldGeometry); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.AppendVerticesToFace UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToFace(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Face* face, ::Array<UnityEngine::Vector3>* points) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "AppendVerticesToFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(points)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, face, points); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.AppendVerticesToEdge System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToEdge(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Edge edge, int count) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "AppendVerticesToEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edge), ::il2cpp_utils::ExtractType(count)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edge, count); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements.AppendVerticesToEdge System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToEdge(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Edge>* edges, int count) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::AppendVerticesToEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements", "AppendVerticesToEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(count)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, count); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/AppendElements_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c* UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c*>("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 void UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9(UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.Vector3[],System.Int32> <>9__7_0 System::Func_2<::Array<UnityEngine::Vector3>*, int>* UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9__7_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9__7_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<::Array<UnityEngine::Vector3>*, int>*>("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9__7_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.Vector3[],System.Int32> <>9__7_0 void UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9__7_0(System::Func_2<::Array<UnityEngine::Vector3>*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9__7_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9__7_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Vertex,UnityEngine.Vector3> <>9__14_1 System::Func_2<UnityEngine::ProBuilder::Vertex*, UnityEngine::Vector3>* UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9__14_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_get_$$9__14_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Vertex*, UnityEngine::Vector3>*>("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9__14_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Vertex,UnityEngine.Vector3> <>9__14_1 void UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9__14_1(System::Func_2<UnityEngine::ProBuilder::Vertex*, UnityEngine::Vector3>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_set_$$9__14_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", "<>9__14_1", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c..cctor void UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "AppendElements/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c.<CreateShapeFromPolygon>b__7_0 int UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::$CreateShapeFromPolygon$b__7_0(::Array<UnityEngine::Vector3>* arr) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::<CreateShapeFromPolygon>b__7_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<CreateShapeFromPolygon>b__7_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(arr)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, arr); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c.<AppendVerticesToEdge>b__14_1 UnityEngine::Vector3 UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::$AppendVerticesToEdge$b__14_1(UnityEngine::ProBuilder::Vertex* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c::<AppendVerticesToEdge>b__14_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<AppendVerticesToEdge>b__14_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::Vector3, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass14_0 #include "UnityEngine/ProBuilder/MeshOperations/AppendElements_--c__DisplayClass14_0.hpp" // Including type: UnityEngine.ProBuilder.Edge #include "UnityEngine/ProBuilder/Edge.hpp" // Including type: UnityEngine.ProBuilder.EdgeLookup #include "UnityEngine/ProBuilder/EdgeLookup.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Int32 delCount int& UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c__DisplayClass14_0::dyn_delCount() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c__DisplayClass14_0::dyn_delCount"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "delCount"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.AppendElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass14_0.<AppendVerticesToEdge>b__0 UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c__DisplayClass14_0::$AppendVerticesToEdge$b__0(UnityEngine::ProBuilder::EdgeLookup x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::AppendElements::$$c__DisplayClass14_0::<AppendVerticesToEdge>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<AppendVerticesToEdge>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel #include "UnityEngine/ProBuilder/MeshOperations/Bevel.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_0.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_1 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_1.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_2 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_2.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.FaceRebuildData #include "UnityEngine/ProBuilder/FaceRebuildData.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private readonly System.Int32[] k_BridgeIndexesTri ::Array<int>* UnityEngine::ProBuilder::MeshOperations::Bevel::_get_k_BridgeIndexesTri() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::_get_k_BridgeIndexesTri"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<::Array<int>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel", "k_BridgeIndexesTri")); } // Autogenerated static field setter // Set static field: static private readonly System.Int32[] k_BridgeIndexesTri void UnityEngine::ProBuilder::MeshOperations::Bevel::_set_k_BridgeIndexesTri(::Array<int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::_set_k_BridgeIndexesTri"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel", "k_BridgeIndexesTri", value)); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel..cctor void UnityEngine::ProBuilder::MeshOperations::Bevel::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel.BevelEdges System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::Bevel::BevelEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Edge>* edges, float amount) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::BevelEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel", "BevelEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(amount)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, amount); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel.GetBridgeFaces System::Collections::Generic::List_1<UnityEngine::ProBuilder::FaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::Bevel::GetBridgeFaces(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, UnityEngine::ProBuilder::WingedEdge* left, UnityEngine::ProBuilder::WingedEdge* right, System::Collections::Generic::Dictionary_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::FaceRebuildData*, System::Collections::Generic::List_1<int>*>>*>* holes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::GetBridgeFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel", "GetBridgeFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(left), ::il2cpp_utils::ExtractType(right), ::il2cpp_utils::ExtractType(holes)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::FaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, left, right, holes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel.SlideEdge void UnityEngine::ProBuilder::MeshOperations::Bevel::SlideEdge(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, UnityEngine::ProBuilder::WingedEdge* we, float amount) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::SlideEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel", "SlideEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(we), ::il2cpp_utils::ExtractType(amount)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, we, amount); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel.GetLeadingEdge UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::MeshOperations::Bevel::GetLeadingEdge(UnityEngine::ProBuilder::WingedEdge* wing, int common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::GetLeadingEdge"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel", "GetLeadingEdge", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(common)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wing, common); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_0.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.SharedVertex #include "UnityEngine/ProBuilder/SharedVertex.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.Dictionary`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.List`1<System.Int32>> ignore System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::List_1<int>*>*& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_ignore() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_ignore"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "ignore"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::List_1<int>*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.SharedVertex[] sharedIndexes ::Array<UnityEngine::ProBuilder::SharedVertex*>*& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_sharedIndexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_sharedIndexes"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "sharedIndexes"))->offset; return *reinterpret_cast<::Array<UnityEngine::ProBuilder::SharedVertex*>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Func`2<System.Int32,System.Int32> <>9__7 System::Func_2<int, int>*& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_$$9__7() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_$$9__7"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<>9__7"))->offset; return *reinterpret_cast<System::Func_2<int, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Func`2<System.Int32,System.Int32> <>9__8 System::Func_2<int, int>*& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_$$9__8() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::dyn_$$9__8"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "<>9__8"))->offset; return *reinterpret_cast<System::Func_2<int, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<BevelEdges>b__7 int UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::$BevelEdges$b__7(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::<BevelEdges>b__7"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__7", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<BevelEdges>b__8 int UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::$BevelEdges$b__8(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0::<BevelEdges>b__8"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__8", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_1 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_1.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.EdgeLookup lup UnityEngine::ProBuilder::EdgeLookup& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_1::dyn_lup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_1::dyn_lup"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "lup"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::EdgeLookup*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_1.<BevelEdges>b__4 bool UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_1::$BevelEdges$b__4(UnityEngine::ProBuilder::WingedEdge* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_1::<BevelEdges>b__4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_2 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_2.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c__DisplayClass0_0.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Int32 c int& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::dyn_c() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::dyn_c"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "c"))->offset; return *reinterpret_cast<int*>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 CS$<>8__locals1 UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0*& UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::dyn_CS$$$8__locals1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::dyn_CS$$$8__locals1"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "CS$<>8__locals1"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_0**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_2.<BevelEdges>b__5 bool UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::$BevelEdges$b__5(UnityEngine::ProBuilder::WingedEdge* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c__DisplayClass0_2::<BevelEdges>b__5"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__5", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/Bevel_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.FaceRebuildData #include "UnityEngine/ProBuilder/FaceRebuildData.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c <>9 UnityEngine::ProBuilder::MeshOperations::Bevel::$$c* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshOperations::Bevel::$$c*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c <>9 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9(UnityEngine::ProBuilder::MeshOperations::Bevel::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_0 System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_0 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_0(System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.SimpleTuple`2<UnityEngine.ProBuilder.FaceRebuildData,System.Collections.Generic.List`1<System.Int32>>,System.Int32> <>9__0_6 System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::FaceRebuildData*, System::Collections::Generic::List_1<int>*>, int>* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_6() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_6"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::FaceRebuildData*, System::Collections::Generic::List_1<int>*>, int>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_6"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.SimpleTuple`2<UnityEngine.ProBuilder.FaceRebuildData,System.Collections.Generic.List`1<System.Int32>>,System.Int32> <>9__0_6 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_6(System::Func_2<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::FaceRebuildData*, System::Collections::Generic::List_1<int>*>, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_6"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_6", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_1 System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_1 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_1(System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_2 System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_2 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_2(System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_2", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_3 System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_3() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_get_$$9__0_3"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>*>("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_3"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.FaceRebuildData,UnityEngine.ProBuilder.Face> <>9__0_3 void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_3(System::Func_2<UnityEngine::ProBuilder::FaceRebuildData*, UnityEngine::ProBuilder::Face*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_set_$$9__0_3"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", "<>9__0_3", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c..cctor void UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "Bevel/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c.<BevelEdges>b__0_0 UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::$BevelEdges$b__0_0(UnityEngine::ProBuilder::FaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::<BevelEdges>b__0_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__0_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c.<BevelEdges>b__0_6 int UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::$BevelEdges$b__0_6(UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::FaceRebuildData*, System::Collections::Generic::List_1<int>*> x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::<BevelEdges>b__0_6"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__0_6", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c.<BevelEdges>b__0_1 UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::$BevelEdges$b__0_1(UnityEngine::ProBuilder::FaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::<BevelEdges>b__0_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__0_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c.<BevelEdges>b__0_2 UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::$BevelEdges$b__0_2(UnityEngine::ProBuilder::FaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::<BevelEdges>b__0_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__0_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.Bevel/UnityEngine.ProBuilder.MeshOperations.<>c.<BevelEdges>b__0_3 UnityEngine::ProBuilder::Face* UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::$BevelEdges$b__0_3(UnityEngine::ProBuilder::FaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::Bevel::$$c::<BevelEdges>b__0_3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<BevelEdges>b__0_3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Face*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.CombineMeshes #include "UnityEngine/ProBuilder/MeshOperations/CombineMeshes.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/CombineMeshes_--c.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.SharedVertex #include "UnityEngine/ProBuilder/SharedVertex.hpp" // Including type: UnityEngine.Material #include "UnityEngine/Material.hpp" // Including type: UnityEngine.Transform #include "UnityEngine/Transform.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.Combine System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::Combine(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::ProBuilderMesh*>* meshes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::Combine"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "Combine", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(meshes)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, meshes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.Combine System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::Combine(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::ProBuilderMesh*>* meshes, UnityEngine::ProBuilder::ProBuilderMesh* meshTarget) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::Combine"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "Combine", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(meshes), ::il2cpp_utils::ExtractType(meshTarget)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, meshes, meshTarget); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.CombineToNewMeshes System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::CombineToNewMeshes(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::ProBuilderMesh*>* meshes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::CombineToNewMeshes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "CombineToNewMeshes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(meshes)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, meshes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.AccumulateMeshesInfo void UnityEngine::ProBuilder::MeshOperations::CombineMeshes::AccumulateMeshesInfo(System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::ProBuilderMesh*>* meshes, int offset, ByRef<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*> vertices, ByRef<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*> faces, ByRef<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*> autoUvFaces, ByRef<System::Collections::Generic::List_1<UnityEngine::ProBuilder::SharedVertex*>*> sharedVertices, ByRef<System::Collections::Generic::List_1<UnityEngine::ProBuilder::SharedVertex*>*> sharedTextures, ByRef<System::Collections::Generic::List_1<UnityEngine::Material*>*> materialMap, UnityEngine::Transform* targetTransform) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::AccumulateMeshesInfo"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "AccumulateMeshesInfo", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(meshes), ::il2cpp_utils::ExtractType(offset), ::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(autoUvFaces), ::il2cpp_utils::ExtractType(sharedVertices), ::il2cpp_utils::ExtractType(sharedTextures), ::il2cpp_utils::ExtractType(materialMap), ::il2cpp_utils::ExtractType(targetTransform)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, meshes, offset, byref(vertices), byref(faces), byref(autoUvFaces), byref(sharedVertices), byref(sharedTextures), byref(materialMap), targetTransform); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.CreateMeshFromSplit UnityEngine::ProBuilder::ProBuilderMesh* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::CreateMeshFromSplit(System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>* faces, System::Collections::Generic::Dictionary_2<int, int>* sharedVertexLookup, System::Collections::Generic::Dictionary_2<int, int>* sharedTextureLookup, System::Collections::Generic::Dictionary_2<int, int>* remap, ::Array<UnityEngine::Material*>* materials) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::CreateMeshFromSplit"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "CreateMeshFromSplit", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(sharedVertexLookup), ::il2cpp_utils::ExtractType(sharedTextureLookup), ::il2cpp_utils::ExtractType(remap), ::il2cpp_utils::ExtractType(materials)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ProBuilderMesh*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, faces, sharedVertexLookup, sharedTextureLookup, remap, materials); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes.SplitByMaxVertexCount System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::SplitByMaxVertexCount(System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>* faces, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* sharedVertices, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::SharedVertex*>* sharedTextures, uint maxVertexCount) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::SplitByMaxVertexCount"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes", "SplitByMaxVertexCount", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(sharedVertices), ::il2cpp_utils::ExtractType(sharedTextures), ::il2cpp_utils::ExtractType(maxVertexCount)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::ProBuilderMesh*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, vertices, faces, sharedVertices, sharedTextures, maxVertexCount); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/CombineMeshes_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c <>9 UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c*>("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c <>9 void UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_set_$$9(UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__5_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_get_$$9__5_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_get_$$9__5_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes/<>c", "<>9__5_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__5_0 void UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_set_$$9__5_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_set_$$9__5_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes/<>c", "<>9__5_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c..cctor void UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "CombineMeshes/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.CombineMeshes/UnityEngine.ProBuilder.MeshOperations.<>c.<SplitByMaxVertexCount>b__5_0 int UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::$SplitByMaxVertexCount$b__5_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::CombineMeshes::$$c::<SplitByMaxVertexCount>b__5_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<SplitByMaxVertexCount>b__5_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData #include "UnityEngine/ProBuilder/MeshOperations/ConnectFaceRebuildData.hpp" // Including type: UnityEngine.ProBuilder.FaceRebuildData #include "UnityEngine/ProBuilder/FaceRebuildData.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.FaceRebuildData faceRebuildData UnityEngine::ProBuilder::FaceRebuildData*& UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData::dyn_faceRebuildData() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData::dyn_faceRebuildData"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "faceRebuildData"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::FaceRebuildData**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.List`1<System.Int32> newVertexIndexes System::Collections::Generic::List_1<int>*& UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData::dyn_newVertexIndexes() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData::dyn_newVertexIndexes"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "newVertexIndexes"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0 #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c__DisplayClass2_0.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass3_0 #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c__DisplayClass3_0.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.SimpleTuple`2 #include "UnityEngine/ProBuilder/SimpleTuple_2.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.ActionResult #include "UnityEngine/ProBuilder/ActionResult.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData #include "UnityEngine/ProBuilder/MeshOperations/ConnectFaceRebuildData.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.Connect ::Array<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "Connect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.Connect UnityEngine::ProBuilder::SimpleTuple_2<::Array<UnityEngine::ProBuilder::Face*>*, ::Array<UnityEngine::ProBuilder::Edge>*> UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "Connect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::SimpleTuple_2<::Array<UnityEngine::ProBuilder::Face*>*, ::Array<UnityEngine::ProBuilder::Edge>*>, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.Connect ::Array<int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "Connect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.Connect UnityEngine::ProBuilder::ActionResult* UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges, ByRef<::Array<UnityEngine::ProBuilder::Face*>*> addedFaces, ByRef<::Array<UnityEngine::ProBuilder::Edge>*> connections, bool returnFaces, bool returnEdges, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* faceMask) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::Connect"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "Connect", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::ProBuilder::Face*>*&>(), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::ProBuilder::Edge>*&>(), ::il2cpp_utils::ExtractType(returnFaces), ::il2cpp_utils::ExtractType(returnEdges), ::il2cpp_utils::ExtractType(faceMask)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::ActionResult*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, byref(addedFaces), byref(connections), returnFaces, returnEdges, faceMask); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.ConnectEdgesInFace System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectEdgesInFace(UnityEngine::ProBuilder::Face* face, UnityEngine::ProBuilder::WingedEdge* a, UnityEngine::ProBuilder::WingedEdge* b, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectEdgesInFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "ConnectEdgesInFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b), ::il2cpp_utils::ExtractType(vertices)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face, a, b, vertices); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.ConnectEdgesInFace System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectEdgesInFace(UnityEngine::ProBuilder::Face* face, System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* edges, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectEdgesInFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "ConnectEdgesInFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(vertices)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face, edges, vertices); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.InsertVertices bool UnityEngine::ProBuilder::MeshOperations::ConnectElements::InsertVertices(UnityEngine::ProBuilder::Face* face, System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* edges, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices, ByRef<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*> data) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::InsertVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "InsertVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractIndependentType<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*&>()}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face, edges, vertices, byref(data)); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.ConnectIndexesPerFace System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectIndexesPerFace(UnityEngine::ProBuilder::Face* face, int a, int b, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::Dictionary_2<int, int>* lookup) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectIndexesPerFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "ConnectIndexesPerFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(a), ::il2cpp_utils::ExtractType(b), ::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(lookup)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face, a, b, vertices, lookup); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements.ConnectIndexesPerFace System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectIndexesPerFace(UnityEngine::ProBuilder::Face* face, System::Collections::Generic::List_1<int>* indexes, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* vertices, System::Collections::Generic::Dictionary_2<int, int>* lookup, int sharedIndexOffset) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::ConnectIndexesPerFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements", "ConnectIndexesPerFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(vertices), ::il2cpp_utils::ExtractType(lookup), ::il2cpp_utils::ExtractType(sharedIndexOffset)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, face, indexes, vertices, lookup, sharedIndexOffset); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData #include "UnityEngine/ProBuilder/MeshOperations/ConnectFaceRebuildData.hpp" // Including type: UnityEngine.ProBuilder.FaceRebuildData #include "UnityEngine/ProBuilder/FaceRebuildData.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.Vertex #include "UnityEngine/ProBuilder/Vertex.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9(UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Edge>> <>9__0_0 System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__0_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__0_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__0_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Edge>> <>9__0_0 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__0_0(System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__0_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__0_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__2_1 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__2_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__2_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__2_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__2_1 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__2_1(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__2_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__2_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,UnityEngine.ProBuilder.FaceRebuildData> <>9__2_2 System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__2_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__2_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__2_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,UnityEngine.ProBuilder.FaceRebuildData> <>9__2_2 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__2_2(System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__2_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__2_2", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__3_0 System::Func_2<UnityEngine::ProBuilder::Face*, int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, int>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Int32> <>9__3_0 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_0(System::Func_2<UnityEngine::ProBuilder::Face*, int>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,UnityEngine.ProBuilder.FaceRebuildData> <>9__3_1 System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,UnityEngine.ProBuilder.FaceRebuildData> <>9__3_1 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_1(System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, UnityEngine::ProBuilder::FaceRebuildData*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Edge>> <>9__3_2 System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.MeshOperations.ConnectFaceRebuildData,System.Collections.Generic.IEnumerable`1<UnityEngine.ProBuilder.Edge>> <>9__3_2 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_2(System::Func_2<UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData*, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_2", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.EdgeLookup,UnityEngine.ProBuilder.Edge> <>9__3_4 System::Func_2<UnityEngine::ProBuilder::EdgeLookup, UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_4() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__3_4"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::EdgeLookup, UnityEngine::ProBuilder::Edge>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_4"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.EdgeLookup,UnityEngine.ProBuilder.Edge> <>9__3_4 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_4(System::Func_2<UnityEngine::ProBuilder::EdgeLookup, UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__3_4"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__3_4", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<UnityEngine.ProBuilder.Vertex>> <>9__5_0 System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<UnityEngine.ProBuilder.Vertex>> <>9__5_0 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_0(System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__5_1 System::Func_2<int, System::Collections::Generic::List_1<int>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<int, System::Collections::Generic::List_1<int>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__5_1 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_1(System::Func_2<int, System::Collections::Generic::List_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__5_2 System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__5_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__5_2 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_2(System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__5_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__5_2", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__6_0 System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__6_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__6_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__6_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.WingedEdge,UnityEngine.ProBuilder.Edge> <>9__6_0 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__6_0(System::Func_2<UnityEngine::ProBuilder::WingedEdge*, UnityEngine::ProBuilder::Edge>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__6_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__6_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<UnityEngine.ProBuilder.Vertex>> <>9__8_0 System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<UnityEngine.ProBuilder.Vertex>> <>9__8_0 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_0(System::Func_2<int, System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_0", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__8_1 System::Func_2<int, System::Collections::Generic::List_1<int>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_1() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_1"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<int, System::Collections::Generic::List_1<int>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_1"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__8_1 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_1(System::Func_2<int, System::Collections::Generic::List_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_1"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_1", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__8_2 System::Func_2<int, System::Collections::Generic::List_1<int>*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_2() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_get_$$9__8_2"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<int, System::Collections::Generic::List_1<int>*>*>("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_2"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<System.Int32,System.Collections.Generic.List`1<System.Int32>> <>9__8_2 void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_2(System::Func_2<int, System::Collections::Generic::List_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_set_$$9__8_2"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", "<>9__8_2", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c..cctor void UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ConnectElements/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__0_0 System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__0_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__0_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__0_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__2_1 int UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__2_1(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__2_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__2_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__2_2 UnityEngine::ProBuilder::FaceRebuildData* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__2_2(UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__2_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__2_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::FaceRebuildData*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__3_0 int UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__3_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__3_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__3_1 UnityEngine::ProBuilder::FaceRebuildData* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__3_1(UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__3_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::FaceRebuildData*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__3_2 System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__3_2(UnityEngine::ProBuilder::MeshOperations::ConnectFaceRebuildData* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__3_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<Connect>b__3_4 UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$Connect$b__3_4(UnityEngine::ProBuilder::EdgeLookup x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<Connect>b__3_4"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3_4", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectEdgesInFace>b__5_0 System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectEdgesInFace$b__5_0(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectEdgesInFace>b__5_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectEdgesInFace>b__5_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectEdgesInFace>b__5_1 System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectEdgesInFace$b__5_1(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectEdgesInFace>b__5_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectEdgesInFace>b__5_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectEdgesInFace>b__5_2 UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectEdgesInFace$b__5_2(UnityEngine::ProBuilder::WingedEdge* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectEdgesInFace>b__5_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectEdgesInFace>b__5_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<InsertVertices>b__6_0 UnityEngine::ProBuilder::Edge UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$InsertVertices$b__6_0(UnityEngine::ProBuilder::WingedEdge* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<InsertVertices>b__6_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<InsertVertices>b__6_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::Edge, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectIndexesPerFace>b__8_0 System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectIndexesPerFace$b__8_0(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectIndexesPerFace>b__8_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectIndexesPerFace>b__8_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Vertex*>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectIndexesPerFace>b__8_1 System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectIndexesPerFace$b__8_1(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectIndexesPerFace>b__8_1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectIndexesPerFace>b__8_1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c.<ConnectIndexesPerFace>b__8_2 System::Collections::Generic::List_1<int>* UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::$ConnectIndexesPerFace$b__8_2(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c::<ConnectIndexesPerFace>b__8_2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<ConnectIndexesPerFace>b__8_2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0 #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c__DisplayClass2_0.hpp" // Including type: System.Collections.Generic.Dictionary`2 #include "System/Collections/Generic/Dictionary_2.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> lookup System::Collections::Generic::Dictionary_2<int, int>*& UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::dyn_lookup() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::dyn_lookup"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "lookup"))->offset; return *reinterpret_cast<System::Collections::Generic::Dictionary_2<int, int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.ProBuilderMesh mesh UnityEngine::ProBuilder::ProBuilderMesh*& UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::dyn_mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::dyn_mesh"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "mesh"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::ProBuilderMesh**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0.<Connect>b__0 int UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::$Connect$b__0(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::<Connect>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0.<Connect>b__3 int UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::$Connect$b__3(int x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass2_0::<Connect>b__3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass3_0 #include "UnityEngine/ProBuilder/MeshOperations/ConnectElements_--c__DisplayClass3_0.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" // Including type: UnityEngine.ProBuilder.Edge #include "UnityEngine/ProBuilder/Edge.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.HashSet`1<System.Int32> appended System::Collections::Generic::HashSet_1<int>*& UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass3_0::dyn_appended() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass3_0::dyn_appended"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "appended"))->offset; return *reinterpret_cast<System::Collections::Generic::HashSet_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ConnectElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass3_0.<Connect>b__3 bool UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass3_0::$Connect$b__3(UnityEngine::ProBuilder::Edge x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ConnectElements::$$c__DisplayClass3_0::<Connect>b__3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<Connect>b__3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c__DisplayClass0_0.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0 #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c__DisplayClass2_0.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.DeleteVertices void UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<int>* distinctIndexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "DeleteVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(distinctIndexes)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, distinctIndexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.DeleteFace ::Array<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFace(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Face* face) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFace"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "DeleteFace", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(face)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, face); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.DeleteFaces ::Array<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "DeleteFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.DeleteFaces ::Array<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<int>* faceIndexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::DeleteFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "DeleteFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faceIndexes)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faceIndexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.RemoveDegenerateTriangles ::Array<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::RemoveDegenerateTriangles(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::RemoveDegenerateTriangles"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "RemoveDegenerateTriangles", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements.RemoveUnusedVertices ::Array<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::RemoveUnusedVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::RemoveUnusedVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements", "RemoveUnusedVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0 #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c__DisplayClass0_0.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: System.Collections.Generic.KeyValuePair`2 #include "System/Collections/Generic/KeyValuePair_2.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public System.Collections.Generic.List`1<System.Int32> sorted System::Collections::Generic::List_1<int>*& UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::dyn_sorted() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::dyn_sorted"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "sorted"))->offset; return *reinterpret_cast<System::Collections::Generic::List_1<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated instance field getter // Get instance field: public System.Int32[] offset ::Array<int>*& UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::dyn_offset() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::dyn_offset"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "offset"))->offset; return *reinterpret_cast<::Array<int>**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<DeleteVertices>b__0 bool UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::$DeleteVertices$b__0(System::Collections::Generic::KeyValuePair_2<int, int> x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::<DeleteVertices>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteVertices>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<DeleteVertices>b__1 System::Collections::Generic::KeyValuePair_2<int, int> UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::$DeleteVertices$b__1(System::Collections::Generic::KeyValuePair_2<int, int> y) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::<DeleteVertices>b__1"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteVertices>b__1", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(y)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::KeyValuePair_2<int, int>, false>(___instance_arg, ___internal__method, y); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<DeleteVertices>b__2 bool UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::$DeleteVertices$b__2(System::Collections::Generic::KeyValuePair_2<int, int> x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::<DeleteVertices>b__2"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteVertices>b__2", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<bool, false>(___instance_arg, ___internal__method, x); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass0_0.<DeleteVertices>b__3 System::Collections::Generic::KeyValuePair_2<int, int> UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::$DeleteVertices$b__3(System::Collections::Generic::KeyValuePair_2<int, int> y) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass0_0::<DeleteVertices>b__3"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteVertices>b__3", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(y)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::KeyValuePair_2<int, int>, false>(___instance_arg, ___internal__method, y); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0 #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c__DisplayClass2_0.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated instance field getter // Get instance field: public UnityEngine.ProBuilder.ProBuilderMesh mesh UnityEngine::ProBuilder::ProBuilderMesh*& UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass2_0::dyn_mesh() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass2_0::dyn_mesh"); auto ___internal__instance = this; static auto ___internal__field__offset = THROW_UNLESS(il2cpp_utils::FindField(___internal__instance, "mesh"))->offset; return *reinterpret_cast<UnityEngine::ProBuilder::ProBuilderMesh**>(reinterpret_cast<char*>(this) + ___internal__field__offset); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass2_0.<DeleteFaces>b__0 int UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass2_0::$DeleteFaces$b__0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c__DisplayClass2_0::<DeleteFaces>b__0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteFaces>b__0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<int, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/DeleteElements_--c.hpp" // Including type: System.Func`2 #include "System/Func_2.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static public readonly UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c* UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_get_$$9() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_get_$$9"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c*>("UnityEngine.ProBuilder.MeshOperations", "DeleteElements/<>c", "<>9"))); } // Autogenerated static field setter // Set static field: static public readonly UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c <>9 void UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_set_$$9(UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_set_$$9"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "DeleteElements/<>c", "<>9", value))); } // Autogenerated static field getter // Get static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__3_0 System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_get_$$9__3_0() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_get_$$9__3_0"); return THROW_UNLESS((il2cpp_utils::GetFieldValue<System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>*>("UnityEngine.ProBuilder.MeshOperations", "DeleteElements/<>c", "<>9__3_0"))); } // Autogenerated static field setter // Set static field: static public System.Func`2<UnityEngine.ProBuilder.Face,System.Collections.Generic.IEnumerable`1<System.Int32>> <>9__3_0 void UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_set_$$9__3_0(System::Func_2<UnityEngine::ProBuilder::Face*, System::Collections::Generic::IEnumerable_1<int>*>* value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_set_$$9__3_0"); THROW_UNLESS((il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "DeleteElements/<>c", "<>9__3_0", value))); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c..cctor void UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "DeleteElements/<>c", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.DeleteElements/UnityEngine.ProBuilder.MeshOperations.<>c.<DeleteFaces>b__3_0 System::Collections::Generic::IEnumerable_1<int>* UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::$DeleteFaces$b__3_0(UnityEngine::ProBuilder::Face* x) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::DeleteElements::$$c::<DeleteFaces>b__3_0"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod(this, "<DeleteFaces>b__3_0", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(x)}))); auto ___instance_arg = this; return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<int>*, false>(___instance_arg, ___internal__method, x); } // Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.ProBuilder.MeshOperations.ElementSelection #include "UnityEngine/ProBuilder/MeshOperations/ElementSelection.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ElementSelection/UnityEngine.ProBuilder.MeshOperations.<>c #include "UnityEngine/ProBuilder/MeshOperations/ElementSelection_--c.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ElementSelection/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass24_0 #include "UnityEngine/ProBuilder/MeshOperations/ElementSelection_--c__DisplayClass24_0.hpp" // Including type: UnityEngine.ProBuilder.MeshOperations.ElementSelection/UnityEngine.ProBuilder.MeshOperations.<>c__DisplayClass26_0 #include "UnityEngine/ProBuilder/MeshOperations/ElementSelection_--c__DisplayClass26_0.hpp" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic/List_1.hpp" // Including type: UnityEngine.ProBuilder.Face #include "UnityEngine/ProBuilder/Face.hpp" // Including type: UnityEngine.ProBuilder.ProBuilderMesh #include "UnityEngine/ProBuilder/ProBuilderMesh.hpp" // Including type: System.Collections.Generic.IEnumerable`1 #include "System/Collections/Generic/IEnumerable_1.hpp" // Including type: System.Collections.Generic.IList`1 #include "System/Collections/Generic/IList_1.hpp" // Including type: UnityEngine.ProBuilder.WingedEdge #include "UnityEngine/ProBuilder/WingedEdge.hpp" // Including type: System.Collections.Generic.HashSet`1 #include "System/Collections/Generic/HashSet_1.hpp" #include "extern/beatsaber-hook/shared/utils/il2cpp-utils.hpp" #include "extern/beatsaber-hook/shared/utils/utils.h" // Completed includes // Autogenerated static field getter // Get static field: static private System.Int32 k_MaxHoleIterations int UnityEngine::ProBuilder::MeshOperations::ElementSelection::_get_k_MaxHoleIterations() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::_get_k_MaxHoleIterations"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<int>("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "k_MaxHoleIterations")); } // Autogenerated static field setter // Set static field: static private System.Int32 k_MaxHoleIterations void UnityEngine::ProBuilder::MeshOperations::ElementSelection::_set_k_MaxHoleIterations(int value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::_set_k_MaxHoleIterations"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "k_MaxHoleIterations", value)); } // Autogenerated static field getter // Get static field: static private readonly UnityEngine.Vector3 Vector3_Zero UnityEngine::Vector3 UnityEngine::ProBuilder::MeshOperations::ElementSelection::_get_Vector3_Zero() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::_get_Vector3_Zero"); return THROW_UNLESS(il2cpp_utils::GetFieldValue<UnityEngine::Vector3>("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "Vector3_Zero")); } // Autogenerated static field setter // Set static field: static private readonly UnityEngine.Vector3 Vector3_Zero void UnityEngine::ProBuilder::MeshOperations::ElementSelection::_set_Vector3_Zero(UnityEngine::Vector3 value) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::_set_Vector3_Zero"); THROW_UNLESS(il2cpp_utils::SetFieldValue("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "Vector3_Zero", value)); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection..cctor void UnityEngine::ProBuilder::MeshOperations::ElementSelection::_cctor() { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::.cctor"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", ".cctor", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetNeighborFaces System::Collections::Generic::List_1<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::Face*, UnityEngine::ProBuilder::Edge>>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetNeighborFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, UnityEngine::ProBuilder::Edge edge) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetNeighborFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetNeighborFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edge)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::SimpleTuple_2<UnityEngine::ProBuilder::Face*, UnityEngine::ProBuilder::Edge>>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edge); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetNeighborFaces System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetNeighborFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetNeighborFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetNeighborFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetConnectedEdges ::Array<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetConnectedEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetConnectedEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetConnectedEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<::Array<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetPerimeterEdges System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetPerimeterEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetPerimeterEdges ::Array<int>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterEdges(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterEdges"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetPerimeterEdges", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetPerimeterFaces System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterFaces(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterFaces"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetPerimeterFaces", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetPerimeterVertices ::Array<int>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterVertices(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<int>* indexes, ::Array<UnityEngine::ProBuilder::Edge>* universal_edges_all) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetPerimeterVertices"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetPerimeterVertices", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes), ::il2cpp_utils::ExtractType(universal_edges_all)}))); return ::il2cpp_utils::RunMethodThrow<::Array<int>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes, universal_edges_all); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.EdgeRingNext UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::MeshOperations::ElementSelection::EdgeRingNext(UnityEngine::ProBuilder::WingedEdge* edge) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::EdgeRingNext"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "EdgeRingNext", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(edge)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, edge); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeRing System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeRing(UnityEngine::ProBuilder::ProBuilderMesh* pb, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeRing"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeRing", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pb), ::il2cpp_utils::ExtractType(edges)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pb, edges); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeRingIterative System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeRingIterative(UnityEngine::ProBuilder::ProBuilderMesh* pb, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeRingIterative"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeRingIterative", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pb), ::il2cpp_utils::ExtractType(edges)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pb, edges); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeLoop bool UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoop(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges, ByRef<::Array<UnityEngine::ProBuilder::Edge>*> loop) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoop"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeLoop", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::ProBuilder::Edge>*&>()}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, byref(loop)); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeLoopIterative bool UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopIterative(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Edge>* edges, ByRef<::Array<UnityEngine::ProBuilder::Edge>*> loop) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopIterative"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeLoopIterative", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(edges), ::il2cpp_utils::ExtractIndependentType<::Array<UnityEngine::ProBuilder::Edge>*&>()}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, edges, byref(loop)); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeLoopInternal bool UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopInternal(UnityEngine::ProBuilder::WingedEdge* start, int startIndex, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::EdgeLookup>* used) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopInternal"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeLoopInternal", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(start), ::il2cpp_utils::ExtractType(startIndex), ::il2cpp_utils::ExtractType(used)}))); return ::il2cpp_utils::RunMethodThrow<bool, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, start, startIndex, used); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetEdgeLoopInternalIterative void UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopInternalIterative(UnityEngine::ProBuilder::WingedEdge* start, UnityEngine::ProBuilder::Edge edge, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::EdgeLookup>* used) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetEdgeLoopInternalIterative"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetEdgeLoopInternalIterative", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(start), ::il2cpp_utils::ExtractType(edge), ::il2cpp_utils::ExtractType(used)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, start, edge, used); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.NextSpoke UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::MeshOperations::ElementSelection::NextSpoke(UnityEngine::ProBuilder::WingedEdge* wing, int pivot, bool opp) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::NextSpoke"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "NextSpoke", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(pivot), ::il2cpp_utils::ExtractType(opp)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wing, pivot, opp); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetSpokes System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetSpokes(UnityEngine::ProBuilder::WingedEdge* wing, int sharedIndex, bool allowHoles) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetSpokes"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetSpokes", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(sharedIndex), ::il2cpp_utils::ExtractType(allowHoles)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wing, sharedIndex, allowHoles); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GrowSelection System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GrowSelection(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<UnityEngine::ProBuilder::Face*>* faces, float maxAngleDiff) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GrowSelection"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GrowSelection", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(maxAngleDiff)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, maxAngleDiff); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.Flood void UnityEngine::ProBuilder::MeshOperations::ElementSelection::Flood(UnityEngine::ProBuilder::WingedEdge* wing, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* selection) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::Flood"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "Flood", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(selection)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wing, selection); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.Flood void UnityEngine::ProBuilder::MeshOperations::ElementSelection::Flood(UnityEngine::ProBuilder::ProBuilderMesh* pb, UnityEngine::ProBuilder::WingedEdge* wing, UnityEngine::Vector3 wingNrm, float maxAngle, System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* selection) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::Flood"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "Flood", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(pb), ::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(wingNrm), ::il2cpp_utils::ExtractType(maxAngle), ::il2cpp_utils::ExtractType(selection)}))); ::il2cpp_utils::RunMethodThrow<void, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, pb, wing, wingNrm, maxAngle, selection); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.FloodSelection System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::FloodSelection(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IList_1<UnityEngine::ProBuilder::Face*>* faces, float maxAngleDiff) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::FloodSelection"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "FloodSelection", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(maxAngleDiff)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, maxAngleDiff); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetFaceLoop System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceLoop(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<UnityEngine::ProBuilder::Face*>* faces, bool ring) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceLoop"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetFaceLoop", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces), ::il2cpp_utils::ExtractType(ring)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces, ring); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetFaceRingAndLoop System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceRingAndLoop(UnityEngine::ProBuilder::ProBuilderMesh* mesh, ::Array<UnityEngine::ProBuilder::Face*>* faces) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceRingAndLoop"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetFaceRingAndLoop", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(faces)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, faces); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.GetFaceLoop System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceLoop(System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* wings, UnityEngine::ProBuilder::Face* face, bool ring) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::GetFaceLoop"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "GetFaceLoop", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wings), ::il2cpp_utils::ExtractType(face), ::il2cpp_utils::ExtractType(ring)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::HashSet_1<UnityEngine::ProBuilder::Face*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wings, face, ring); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.FindHoles System::Collections::Generic::List_1<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindHoles(UnityEngine::ProBuilder::ProBuilderMesh* mesh, System::Collections::Generic::IEnumerable_1<int>* indexes) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindHoles"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "FindHoles", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(mesh), ::il2cpp_utils::ExtractType(indexes)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<System::Collections::Generic::List_1<UnityEngine::ProBuilder::Edge>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, mesh, indexes); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.FindHoles System::Collections::Generic::List_1<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*>* UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindHoles(System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>* wings, System::Collections::Generic::HashSet_1<int>* common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindHoles"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "FindHoles", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wings), ::il2cpp_utils::ExtractType(common)}))); return ::il2cpp_utils::RunMethodThrow<System::Collections::Generic::List_1<System::Collections::Generic::List_1<UnityEngine::ProBuilder::WingedEdge*>*>*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wings, common); } // Autogenerated method: UnityEngine.ProBuilder.MeshOperations.ElementSelection.FindNextEdgeInHole UnityEngine::ProBuilder::WingedEdge* UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindNextEdgeInHole(UnityEngine::ProBuilder::WingedEdge* wing, int common) { static auto ___internal__logger = ::Logger::get().WithContext("UnityEngine::ProBuilder::MeshOperations::ElementSelection::FindNextEdgeInHole"); static auto* ___internal__method = THROW_UNLESS((::il2cpp_utils::FindMethod("UnityEngine.ProBuilder.MeshOperations", "ElementSelection", "FindNextEdgeInHole", std::vector<Il2CppClass*>{}, ::std::vector<const Il2CppType*>{::il2cpp_utils::ExtractType(wing), ::il2cpp_utils::ExtractType(common)}))); return ::il2cpp_utils::RunMethodThrow<UnityEngine::ProBuilder::WingedEdge*, false>(static_cast<Il2CppClass*>(nullptr), ___internal__method, wing, common); }
89.20487
929
0.781459
Fernthedev
972ea6c416ef31d648218b047096e244f33c2350
5,417
cpp
C++
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
9
2020-07-17T15:45:29.000Z
2022-01-17T11:17:22.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
63
2020-06-18T07:57:45.000Z
2022-03-25T12:52:50.000Z
rdkPlugins/Minidump/source/AnonymousFile.cpp
jignatius/Dobby
1de36b7e4442b3c10bccb881907fd07368dd463f
[ "Apache-2.0" ]
20
2020-07-20T09:51:15.000Z
2022-03-24T09:19:45.000Z
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2021 Sky UK * * 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 "AnonymousFile.h" #include "Logging.h" #include <fcntl.h> #include <string.h> #include <sys/mman.h> #include <sys/types.h> #include <unistd.h> // some platforms are missing the memfd headers // #include <linux/memfd.h> #if !defined(MFD_CLOEXEC) # define MFD_CLOEXEC 0x0001U #endif #if !defined(MFD_ALLOW_SEALING) # define MFD_ALLOW_SEALING 0x0002U #endif // for some reason the XiOne toolchain is build against old kernel headers // which doesn't have the memfd syscall #if !defined(SYS_memfd_create) # if defined(__arm__) # define SYS_memfd_create 385 # elif defined _MIPS_SIM # if _MIPS_SIM == _MIPS_SIM_ABI32 # define SYS_memfd_create 4354 # endif # if _MIPS_SIM == _MIPS_SIM_NABI32 # define SYS_memfd_create 6318 # endif # if _MIPS_SIM == _MIPS_SIM_ABI64 # define SYS_memfd_create 5314 # endif # endif #endif // glibc prior to version 2.27 didn't have a syscall wrapper for memfd_create(...) #if defined(__GLIBC__) && ((__GLIBC__ < 2) || ((__GLIBC__ >= 2) && (__GLIBC_MINOR__ < 27))) #include <syscall.h> static inline int memfd_create(const char *name, unsigned int flags) { return syscall(SYS_memfd_create, name, flags); } #endif /** * @brief Constructor - called when content of already created volatile file matters * * @param[in] fd file descriptor to previously created volatile file */ AnonymousFile::AnonymousFile(int fd /*= -1*/) : mFd(fd) { AI_LOG_FN_ENTRY(); AI_LOG_FN_EXIT(); } /** * @brief Creates a volatile file that lives in RAM * * @return File descriptor to a volatile file on success or -1 on failure */ int AnonymousFile::create() { AI_LOG_FN_ENTRY(); if (mFd != -1) { AI_LOG_FN_EXIT(); return mFd; } // did some testing and it turns out that data written to memfd is accounted to the container // it is allowed to not truncate and not limit file growing using seals at this point mFd = memfd_create("anon_file", MFD_CLOEXEC); if (mFd == -1) { AI_LOG_SYS_ERROR_EXIT(errno, "failed to create anonymous file"); return -1; } AI_LOG_FN_EXIT(); return mFd; } /** * @brief Copies content of volatile file from RAM to a disk * * @param[in] destFile destination file path * * @return True on success or false on failure */ bool AnonymousFile::copyContentTo(const std::string& destFile) { AI_LOG_FN_ENTRY(); if (mFd == -1) { AI_LOG_ERROR_EXIT("Incorrect fd provided: %d", mFd); return false; } // it turns out that fclose(fp) will do effectively the same job as close(fd) // therefore this guy will not be fclose'd in here, but rather reset by nullptr value // mind that closing related fd will be accomplished by DobbyStartState destructor // so this is totally fine from this class PoV auto fp = fdopen(mFd, "r"); if (!fp) { AI_LOG_SYS_ERROR_EXIT(errno, "failed to open fd %d for reading", mFd); return false; } long fileSize = getFileSize(fp); if (!fileSize) { AI_LOG_DEBUG("Empty file for fd %d", mFd); fp = nullptr; AI_LOG_FN_EXIT(); return true; } char* buffer = (char*) malloc(sizeof(char) * (fileSize + 1)); if (!buffer) { AI_LOG_SYS_ERROR_EXIT(errno, "failed to allocate buffer for reading fd %d", mFd); fp = nullptr; return false; } size_t elementsRead = fread(buffer, 1, fileSize, fp); if (elementsRead != fileSize) { AI_LOG_ERROR_EXIT("failed to read fd %d correctly", mFd); fp = nullptr; free(buffer); return false; } buffer[fileSize] = '\0'; // check file header if (strncmp(buffer, "MDMP", 4) != 0) { AI_LOG_WARN("Incorrect file header for fd %d", mFd); fp = nullptr; free(buffer); AI_LOG_FN_EXIT(); return false; } int destFd = open(destFile.c_str(), O_WRONLY | O_CREAT | O_EXCL, 0666); if (destFd == -1) { AI_LOG_ERROR_EXIT("Cannot open %s", destFile.c_str()); fp = nullptr; free(buffer); return false; } write(destFd, buffer, fileSize + 1); fp = nullptr; free(buffer); close(destFd); AI_LOG_INFO("Minidump copied to: %s", destFile.c_str()); AI_LOG_FN_EXIT(); return true; } /** * @brief Calculates file size for provided file pointer * * Please note that file position indicator is reset to begining * * @param[in] fp file pointer for which size calculation will happen * * @return File size */ long AnonymousFile::getFileSize(FILE* fp) { fseek(fp, 0, SEEK_END); long size = ftell(fp); rewind(fp); return size; }
26.169082
97
0.656083
jignatius
97372d5efbca90c4ba27541f517115385b81974c
4,672
cc
C++
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
1
2018-09-26T21:14:37.000Z
2018-09-26T21:14:37.000Z
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
src/goesrecv/costas.cc
lxe/goestools
68362e1e8c3665d2ee6685904df4d550e538077a
[ "BSD-2-Clause" ]
null
null
null
#include "costas.h" #include <cassert> #include <cmath> #ifdef __ARM_NEON__ #include "./neon/neon_mathfun.h" #endif #define M_2PI (2 * M_PI) Costas::Costas() { float damp = sqrtf(2.0f)/2.0f; float bw = 0.005f; phase_ = 0.0f; freq_ = 0.0f; alpha_ = (4 * damp * bw) / (1.0 + 2.0 * damp * bw + bw * bw); beta_ = (4 * bw * bw) / (1.0 + 2.0 * damp * bw + bw * bw); maxDeviation_ = M_2PI; } #ifdef __ARM_NEON__ void Costas::work( size_t nsamples, std::complex<float>* fi, std::complex<float>* fo) { // Needed for clipping in loop body float pos1_ = +1.0f; float neg1_ = -1.0f; float half_ = 0.5f; float32x4_t pos1 = vld1q_dup_f32(&pos1_); float32x4_t neg1 = vld1q_dup_f32(&neg1_); float32x4_t half = vld1q_dup_f32(&half_); for (size_t i = 0; i < nsamples; i += 4) { float32x4_t phase = { -(phase_ + 0 * freq_), -(phase_ + 1 * freq_), -(phase_ + 2 * freq_), -(phase_ + 3 * freq_), }; // Compute sin/cos for phase offset float32x4_t sin; float32x4_t cos; sincos_ps(phase, &sin, &cos); // Load 4 samples into 2 registers (in-phase and quadrature) float32x4x2_t f = vld2q_f32((const float32_t*) &fi[i]); // Complex multiplication // (a + ib) * (c + id) expands to: // Real: (ac - bd) // Imaginary: (ad + cb)i // Here, a is f.val[0], b is f.val[1], c is cos, and d is sin. float32x4_t ac = vmulq_f32(f.val[0], cos); float32x4_t bd = vmulq_f32(f.val[1], sin); float32x4_t ad = vmulq_f32(f.val[0], sin); float32x4_t bc = vmulq_f32(f.val[1], cos); f.val[0] = vsubq_f32(ac, bd); f.val[1] = vaddq_f32(ad, bc); // Write 4 samples back to memory vst2q_f32((float32_t*) &fo[i], f); // Phase detector is executed for all samples, // Clip resulting value to [-1.0f, 1.0f] // Total error is average of 4 errors. float32x4_t err = vmulq_f32(f.val[0], f.val[1]); float32x4_t err_pos1 = vabsq_f32(vaddq_f32(err, pos1)); float32x4_t err_neg1 = vabsq_f32(vaddq_f32(err, neg1)); err = vmulq_f32(half, vsubq_f32(err_pos1, err_neg1)); float terr = (err[0] + err[1] + err[2] + err[3]) / 4.0f; // Update frequency and phase freq_ += beta_ * terr; phase_ += alpha_ * terr + freq_; // Clamp frequency freq_ = (0.5f * (fabsf(freq_ + maxDeviation_) - fabsf(freq_ - maxDeviation_))); // Wrap phase if needed if (phase_ > M_2PI || phase_ < -M_2PI) { float frac = phase_ * (1.0 / M_2PI); phase_ = (frac - (float)((int)frac)) * M_2PI; } } } #else void Costas::work( size_t nsamples, std::complex<float>* fi, std::complex<float>* fo) { for (size_t i = 0; i < nsamples; i += 4) { float phase[4] = { -(phase_ + 0 * freq_), -(phase_ + 1 * freq_), -(phase_ + 2 * freq_), -(phase_ + 3 * freq_), }; // Compute sin/cos for phase offset std::complex<float> sincos[4]; for (size_t j = 0; j < 4; j++) { sincos[j].real(cosf(phase[j])); sincos[j].imag(sinf(phase[j])); } // Complex multiplication for (size_t j = 0; j < 4; j++) { fo[i + j] = fi[i + j] * sincos[j]; } // Phase detector is executed for all samples, // Clip resulting value to [-1.0f, 1.0f]. // Total error is average of 4 errors. float terr = 0.0f; for (size_t j = 0; j < 4; j++) { float err = fo[i + j].real() * fo[i + j].imag(); terr += (0.5f * (fabsf(err + 1.0f) - fabsf(err - 1.0f))) / 4.0f; } // Update frequency and phase freq_ += beta_ * terr; phase_ += alpha_ * terr + freq_; // Clamp frequency freq_ = (0.5f * (fabsf(freq_ + maxDeviation_) - fabsf(freq_ - maxDeviation_))); // Wrap phase if needed if (phase_ > M_2PI || phase_ < -M_2PI) { float frac = phase_ * (1.0 / M_2PI); phase_ = (frac - (float)((int)frac)) * M_2PI; } } } #endif void Costas::work( const std::shared_ptr<Queue<Samples> >& qin, const std::shared_ptr<Queue<Samples> >& qout) { auto input = qin->popForRead(); if (!input) { qout->close(); return; } auto output = qout->popForWrite(); auto nsamples = input->size(); output->resize(nsamples); // Assume multiple of 4 number of samples assert((nsamples % 4) == 0); // Do actual work std::complex<float>* fi = input->data(); std::complex<float>* fo = output->data(); work(nsamples, fi, fo); // Return input buffer qin->pushRead(std::move(input)); // Publish output if applicable if (samplePublisher_) { samplePublisher_->publish(*output); } // Return output buffer qout->pushWrite(std::move(output)); }
26.39548
70
0.574914
lxe
97377533cea3e4ab739e7c37dec9b8596584b958
7,844
cpp
C++
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
cron-job.org-master/chronos/HTTPRequest.cpp
ophellos/1dlyricbot
9c45e3a7249958eefbbc517526e651c2563bb796
[ "MIT" ]
null
null
null
/* * chronos, the cron-job.org execution daemon * Copyright (C) 2017 Patrick Schlangen <[email protected]> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * */ #include "HTTPRequest.h" #include <iostream> #include <errno.h> #include <string.h> #include "WorkerThread.h" #include "JobResult.h" #include "Utils.h" #include "App.h" using namespace Chronos; namespace { size_t curlWriteFunction(char *buffer, size_t size, size_t nitems, void *userdata) { size_t realSize = size * nitems; std::string data(buffer, realSize); if(!static_cast<HTTPRequest *>(userdata)->processData(data)) return 0; return realSize; } size_t curlHeaderFunction(char *buffer, size_t size, size_t nitems, void *userdata) { size_t realSize = size * nitems; std::string headerData(buffer, realSize); static_cast<HTTPRequest *>(userdata)->processHeaders(headerData); return realSize; } } HTTPRequest::HTTPRequest() : result{std::make_unique<JobResult>()} { maxSize = App::getInstance()->config->getInt("request_max_size"); memset(curlError, 0, sizeof(curlError)); } HTTPRequest::~HTTPRequest() { if(easy != nullptr) { curl_multi_remove_handle(multiHandle, easy); curl_easy_cleanup(easy); easy = nullptr; } if(headerList != nullptr) { curl_slist_free_all(headerList); headerList = nullptr; } } void HTTPRequest::processHeaders(const std::string &headers) { if(headers.length() > sizeof("HTTP/1.1 000") && headers.find("HTTP/") == 0 && headers.at(8) == ' ' && headers.at(12) == ' ') { result->statusText = headers.substr(13); while(!result->statusText.empty() && (result->statusText.back() == '\n' || result->statusText.back() == '\r')) { result->statusText.pop_back(); } return; } result->responseHeaders += headers; } bool HTTPRequest::processData(const std::string &data) { result->responseBody += data; if(result->responseBody.length() > maxSize) { result->responseBody = {}; return false; } return true; } void HTTPRequest::done(CURLcode res) { char *clientIP = nullptr; int clientPort = 0; CURLcode getRes; getRes = curl_easy_getinfo(easy, CURLINFO_PRIMARY_IP, &clientIP); if(getRes != CURLE_OK) clientIP = nullptr; if(clientIP != nullptr) result->peerAddress = clientIP; getRes = curl_easy_getinfo(easy, CURLINFO_PRIMARY_PORT, &clientPort); if(getRes != CURLE_OK) clientPort = 0; if(clientPort > 0) result->peerPort = clientPort; switch(res) { case CURLE_URL_MALFORMAT: result->status = JOBSTATUS_FAILED_URL; result->statusText = "Malformed URL"; break; case CURLE_UNSUPPORTED_PROTOCOL: result->status = JOBSTATUS_FAILED_URL; result->statusText = "Unsupported protocol"; break; case CURLE_COULDNT_CONNECT: result->status = JOBSTATUS_FAILED_CONNECT; result->statusText = std::string("Could not connect: ") + curlError; break; case CURLE_COULDNT_RESOLVE_HOST: result->status = JOBSTATUS_FAILED_DNS; result->statusText = std::string("Could not resolve host: ") + curlError; break; case CURLE_OPERATION_TIMEDOUT: result->status = JOBSTATUS_FAILED_TIMEOUT; break; case CURLE_FILESIZE_EXCEEDED: case CURLE_WRITE_ERROR: result->status = JOBSTATUS_FAILED_SIZE; break; case CURLE_LOGIN_DENIED: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_OK: { long httpCode = 0; curl_easy_getinfo(easy, CURLINFO_RESPONSE_CODE, &httpCode); result->httpStatus = httpCode; if((httpCode >= 200) && (httpCode < 300)) { result->status = JOBSTATUS_OK; } else { result->status = JOBSTATUS_FAILED_HTTPERROR; } } break; default: result->status = JOBSTATUS_FAILED_OTHERS; result->statusText = std::string("Other error: ") + curlError + std::string(" (") + std::to_string(res) + std::string(")"); break; } result->dateDone = Utils::getTimestampMS(); result->duration = result->dateDone - result->dateStarted; if(onDone) onDone(); } void HTTPRequest::submit(CURLM *curlMultiHandle) { multiHandle = curlMultiHandle; result->dateStarted = Utils::getTimestampMS(); result->jitter = result->dateStarted - result->datePlanned; if(!isValid) { strcpy(curlError, "Job not valid"); done(CURLE_OBSOLETE); return; } easy = curl_easy_init(); if(easy == nullptr) { std::cout << "Handle creation failed!" << std::endl; strcpy(curlError, "Failed to create handle!"); done(CURLE_OBSOLETE); return; } curl_easy_setopt(easy, CURLOPT_DNS_CACHE_TIMEOUT, 0); curl_easy_setopt(easy, CURLOPT_FORBID_REUSE, 1); curl_easy_setopt(easy, CURLOPT_FRESH_CONNECT, 1); curl_easy_setopt(easy, CURLOPT_PRIVATE, this); curl_easy_setopt(easy, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); curl_easy_setopt(easy, CURLOPT_FOLLOWLOCATION, 0); curl_easy_setopt(easy, CURLOPT_URL, url.c_str()); curl_easy_setopt(easy, CURLOPT_NOPROGRESS, 1); curl_easy_setopt(easy, CURLOPT_ERRORBUFFER, curlError); curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, curlWriteFunction); curl_easy_setopt(easy, CURLOPT_WRITEDATA, this); curl_easy_setopt(easy, CURLOPT_HEADERFUNCTION, curlHeaderFunction); curl_easy_setopt(easy, CURLOPT_HEADERDATA, this); curl_easy_setopt(easy, CURLOPT_TIMEOUT, App::getInstance()->config->getInt("request_timeout")); curl_easy_setopt(easy, CURLOPT_MAXFILESIZE, maxSize); curl_easy_setopt(easy, CURLOPT_USERAGENT, App::getInstance()->config->get("user_agent").c_str()); curl_easy_setopt(easy, CURLOPT_SSL_VERIFYPEER, 0); curl_easy_setopt(easy, CURLOPT_SSL_VERIFYHOST, 0); curl_easy_setopt(easy, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); if(requestMethod == RequestMethod::POST || requestMethod == RequestMethod::PUT) { curl_easy_setopt(easy, CURLOPT_POSTFIELDSIZE, requestBody.size()); curl_easy_setopt(easy, CURLOPT_POSTFIELDS, requestBody.c_str()); } switch(requestMethod) { case RequestMethod::GET: curl_easy_setopt(easy, CURLOPT_HTTPGET, 1); break; case RequestMethod::POST: curl_easy_setopt(easy, CURLOPT_POST, 1); break; case RequestMethod::HEAD: curl_easy_setopt(easy, CURLOPT_NOBODY, 1); break; case RequestMethod::OPTIONS: curl_easy_setopt(easy, CURLOPT_CUSTOMREQUEST, "OPTIONS"); break; case RequestMethod::PUT: curl_easy_setopt(easy, CURLOPT_POST, 1); curl_easy_setopt(easy, CURLOPT_CUSTOMREQUEST, "PUT"); break; case RequestMethod::DELETE: curl_easy_setopt(easy, CURLOPT_CUSTOMREQUEST, "DELETE"); break; case RequestMethod::TRACE: curl_easy_setopt(easy, CURLOPT_CUSTOMREQUEST, "TRACE"); break; case RequestMethod::CONNECT: curl_easy_setopt(easy, CURLOPT_CUSTOMREQUEST, "CONNECT"); break; } if(!requestHeaders.empty()) { for(const auto &header : requestHeaders) { std::string lowerKey = Utils::toLower(header.first); if(lowerKey == "user-agent" || lowerKey == "connection") continue; std::string head = header.first + ": " + header.second; headerList = curl_slist_append(headerList, head.c_str()); } curl_easy_setopt(easy, CURLOPT_HTTPHEADER, headerList); } if(useAuth) { curl_easy_setopt(easy, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_easy_setopt(easy, CURLOPT_USERNAME, authUsername.c_str()); curl_easy_setopt(easy, CURLOPT_PASSWORD, authPassword.c_str()); } CURLMcode res = curl_multi_add_handle(multiHandle, easy); if(res != CURLM_OK) { sprintf(curlError, "Failed to add handle! (%d)", res); done(CURLE_OBSOLETE); return; } } HTTPRequest *HTTPRequest::fromURL(const std::string &url, int userID) { HTTPRequest *req = new HTTPRequest(); req->result->userID = userID; req->result->url = url; req->url = url; req->isValid = true; return req; }
25.303226
127
0.720551
ophellos
973b358270688a3e1f65e19ef73ee627a2c363f3
479
cpp
C++
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
10
2020-09-07T14:18:33.000Z
2022-01-15T16:39:25.000Z
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
null
null
null
WPFTencentQQ/CCodecWarpper/Cell.cpp
alex2ching/QQConnector
e688274e466b91acdbc724a1458b3aeedb04079d
[ "MIT" ]
5
2021-04-19T02:15:58.000Z
2022-02-05T14:55:57.000Z
#include "StdAfx.h" #include "Cell.h" CCell::CCell(void) { shMcc.value(-1); shMnc.value(-1); iLac.value(-1); iCellId.value(-1); } CCell::~CCell(void) { } void CCell::readFrom(CJceInputStream& paramd) { } void CCell::writeTo(CJceOutputStream& paramJceOutputStream) { paramJceOutputStream.write(&shMcc, 0); paramJceOutputStream.write(&shMnc, 1); paramJceOutputStream.write(&iLac, 2); paramJceOutputStream.write(&iCellId, 3); }
16.517241
60
0.655532
alex2ching
9742aa30c98975ef40db7c44d5d0b00497c8a943
753
cpp
C++
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void fib(int num){ if(num==1){ cout<<"0 "; } else if(num==2){ cout<<"1 "; } else{ int first_num = 0; int second_num = 1; cout<<first_num<<" "<<second_num<<" "; int new_second; for(int i=3; i<=num; i++){ new_second = first_num + second_num; cout<<new_second<<" "; first_num = second_num; second_num = new_second; } } // Since the function type is void, therefore we are not returning anything. // If the func type is void, then we can drop return statement. return; } int main(){ int n; cout<<"Enter a number > 0: "; cin>>n; fib(n); return 0; }
22.147059
80
0.5166
neerajsingh869
97462a44b917207be0aea1dad73accc1c6a2a186
5,532
cpp
C++
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
1
2021-02-24T23:00:44.000Z
2021-02-24T23:00:44.000Z
#include "Renderer.h" #include <iostream> #include "platform.h" #include <GLES/gl.h> #include <EGL/egl.h> #include <EGL/eglext.h> #include "Font.h" #include <SDL/SDL.h> #include "InputManager.h" #include "Log.h" #ifdef _RPI_ #include <bcm_host.h> #endif namespace Renderer { SDL_Surface* sdlScreen; EGLDisplay display; EGLSurface surface; EGLContext context; EGLConfig config; #ifdef _RPI_ static EGL_DISPMANX_WINDOW_T nativewindow; #else NativeWindowType nativewindow; #endif unsigned int display_width = 0; unsigned int display_height = 0; unsigned int getScreenWidth() { return display_width; } unsigned int getScreenHeight() { return display_height; } bool createSurface() //unsigned int display_width, unsigned int display_height) { LOG(LogInfo) << "Starting SDL..."; if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) != 0) { LOG(LogError) << "Error initializing SDL!\n " << SDL_GetError() << "\n" << "Are you in the 'video', 'audio', and 'input' groups? Is X closed? Is your firmware up to date? Are you using at least the 192/64 memory split?"; return false; } sdlScreen = SDL_SetVideoMode(1, 1, 0, SDL_SWSURFACE); if(sdlScreen == NULL) { LOG(LogError) << "Error creating SDL window for input!"; return false; } LOG(LogInfo) << "Creating surface..."; #ifdef _RPI_ DISPMANX_ELEMENT_HANDLE_T dispman_element; DISPMANX_DISPLAY_HANDLE_T dispman_display; DISPMANX_UPDATE_HANDLE_T dispman_update; VC_RECT_T dst_rect; VC_RECT_T src_rect; #endif display = eglGetDisplay(EGL_DEFAULT_DISPLAY); if(display == EGL_NO_DISPLAY) { LOG(LogError) << "Error getting display!"; return false; } bool result = eglInitialize(display, NULL, NULL); if(result == EGL_FALSE) { LOG(LogError) << "Error initializing display!"; return false; } result = eglBindAPI(EGL_OPENGL_ES_API); if(result == EGL_FALSE) { LOG(LogError) << "Error binding API!"; return false; } static const EGLint config_attributes[] = { EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8, EGL_BLUE_SIZE, 8, EGL_ALPHA_SIZE, 8, EGL_SURFACE_TYPE, EGL_WINDOW_BIT, EGL_NONE }; GLint numConfigs; result = eglChooseConfig(display, config_attributes, &config, 1, &numConfigs); if(result == EGL_FALSE) { LOG(LogError) << "Error choosing config!"; return false; } context = eglCreateContext(display, config, EGL_NO_CONTEXT, NULL); if(context == EGL_NO_CONTEXT) { LOG(LogError) << "Error getting context!\n " << eglGetError(); return false; } #ifdef _RPI_ //get hardware info for screen/desktop from BCM interface if(!display_width || !display_height) { bool success = graphics_get_display_size(0, &display_width, &display_height); //0 = LCD if(success < 0) { LOG(LogError) << "Error getting display size!"; return false; } } #else //get hardware info for screen/desktop from SDL if(!display_width || !display_height) { const SDL_VideoInfo* videoInfo = SDL_GetVideoInfo(); if(videoInfo == NULL) { LOG(LogError) << "Error getting display size!"; return false; } else { display_width = current_w; display_height = current_h; } } #endif LOG(LogInfo) << "Resolution: " << display_width << "x" << display_height << "..."; #ifdef _RPI_ dst_rect.x = 0; dst_rect.y = 0; dst_rect.width = display_width; dst_rect.height = display_height; src_rect.x = 0; src_rect.y = 0; src_rect.width = display_width << 16; src_rect.height = display_height << 16; dispman_display = vc_dispmanx_display_open(0); //0 = LCD dispman_update = vc_dispmanx_update_start(0); dispman_element = vc_dispmanx_element_add(dispman_update, dispman_display, 0 /*layer*/, &dst_rect, 0 /*src*/, &src_rect, DISPMANX_PROTECTION_NONE, 0 /*alpha*/, 0 /*clamp*/, DISPMANX_NO_ROTATE /*transform*/); nativewindow.element = dispman_element; nativewindow.width = display_width; nativewindow.height = display_height; vc_dispmanx_update_submit_sync(dispman_update); #endif surface = eglCreateWindowSurface(display, config, &nativewindow, NULL); if(surface == EGL_NO_SURFACE) { LOG(LogError) << "Error creating window surface!"; return false; } result = eglMakeCurrent(display, surface, surface, context); if(result == EGL_FALSE) { LOG(LogError) << "Error with eglMakeCurrent!"; return false; } LOG(LogInfo) << "Created surface successfully!"; return true; } void swapBuffers() { eglSwapBuffers(display, surface); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); } void destroySurface() { eglSwapBuffers(display, surface); eglMakeCurrent(display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); eglDestroySurface(display, surface); eglDestroyContext(display, context); eglTerminate(display); display = EGL_NO_DISPLAY; surface = EGL_NO_SURFACE; context = EGL_NO_CONTEXT; SDL_FreeSurface(sdlScreen); sdlScreen = NULL; SDL_Quit(); } bool init(int w, int h) { if(w) display_width = w; if(h) display_height = h; bool createdSurface = createSurface(); if(!createdSurface) return false; glViewport(0, 0, display_width, display_height); glMatrixMode(GL_PROJECTION); glOrthof(0, display_width, display_height, 0, -1.0, 1.0); glMatrixMode(GL_MODELVIEW); glClearColor(1.0f, 1.0f, 1.0f, 1.0f); onInit(); return true; } void deinit() { onDeinit(); destroySurface(); } };
23.540426
223
0.685466
dem1980
97599792c4c62fb301288faa1a481411b209e273
10,861
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h" #include <math.h> #include "D2DPageRenderer.h" #include "D2DPageRendererContext.h" using namespace Microsoft::WRL; using namespace Microsoft::WRL::Wrappers; using namespace Windows::Foundation; using namespace Windows::UI::Core; using namespace Windows::Graphics::Display; PageRenderer::PageRenderer() { } void PageRenderer::CreateDeviceIndependentResources() { DirectXBase::CreateDeviceIndependentResources(); // Create a DirectWrite text format object for the sample's content. DX::ThrowIfFailed( m_dwriteFactory->CreateTextFormat( L"Segoe UI", nullptr, DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_STRETCH_NORMAL, 40.0f, L"en-us", // locale &m_textFormat ) ); // Align the text horizontally. DX::ThrowIfFailed( m_textFormat->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_LEADING) ); // Center the text vertically. DX::ThrowIfFailed( m_textFormat->SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) ); // Create a DirectWrite text format object for status messages. DX::ThrowIfFailed( m_dwriteFactory->CreateTextFormat( L"Segoe UI", nullptr, DWRITE_FONT_WEIGHT_NORMAL, DWRITE_FONT_STYLE_NORMAL, DWRITE_FONT_STRETCH_NORMAL, 20.0f, L"en-us", // locale &m_messageFormat ) ); // Center the text horizontally. DX::ThrowIfFailed( m_messageFormat->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER) ); // Center the text vertically. DX::ThrowIfFailed( m_messageFormat->SetParagraphAlignment(DWRITE_PARAGRAPH_ALIGNMENT_CENTER) ); } void PageRenderer::CreateDeviceResources() { DirectXBase::CreateDeviceResources(); // Create and initialize sample overlay for sample title. m_sampleOverlay = ref new SampleOverlay(); m_sampleOverlay->Initialize( m_d2dDevice.Get(), m_d2dContext.Get(), m_wicFactory.Get(), m_dwriteFactory.Get(), "Direct2D Windows Store app printing sample" ); D2D1_SIZE_F size = m_d2dContext->GetSize(); // Exclude sample title from imageable area for image drawing. float titleHeight = m_sampleOverlay->GetTitleHeightInDips(); // Create and initialize the page renderer context for display. m_displayPageRendererContext = ref new PageRendererContext( D2D1::RectF(0, titleHeight, size.width, size.height), m_d2dContext.Get(), DrawTypes::Rendering, this ); } void PageRenderer::UpdateForWindowSizeChange() { DirectXBase::UpdateForWindowSizeChange(); m_sampleOverlay->UpdateForWindowSizeChange(); D2D1_SIZE_F size = m_d2dContext->GetSize(); // Exclude sample title from imageable area for image drawing. float titleHeight = m_sampleOverlay->GetTitleHeightInDips(); D2D1_RECT_F contentBox = D2D1::RectF(0, titleHeight, size.width, size.height); m_displayPageRendererContext->UpdateTargetBox( contentBox ); } // On-screen rendering. void PageRenderer::Render() { m_d2dContext->BeginDraw(); // Render page context. m_displayPageRendererContext->Draw(1.0f); // We ignore D2DERR_RECREATE_TARGET here. This error indicates that the device // is lost. It will be handled during the next call to Present. HRESULT hr = m_d2dContext->EndDraw(); if (hr != D2DERR_RECREATE_TARGET) { DX::ThrowIfFailed(hr); } // Render sample title. m_sampleOverlay->Render(); // We are accessing D3D resources directly in Present() without D2D's knowledge, // so we must manually acquire the D2D factory lock. // // Note: it's absolutely critical that the factory lock be released upon // exiting this function, or else the entire app will deadlock. This is // ensured via the following RAII class. { D2DFactoryLock factoryLock(m_d2dFactory.Get()); Present(); } } void PageRenderer::DrawPreviewSurface( _In_ float width, _In_ float height, _In_ float scale, _In_ D2D1_RECT_F contentBox, _In_ uint32 desiredJobPage, _In_ IPrintPreviewDxgiPackageTarget* previewTarget ) { // We are accessing D3D resources directly without D2D's knowledge, so we // must manually acquire the D2D factory lock. // // Note: it's absolutely critical that the factory lock be released upon // exiting this function, or else the entire app will deadlock. This is // ensured via the following RAII class. D2DFactoryLock factoryLock(m_d2dFactory.Get()); CD3D11_TEXTURE2D_DESC textureDesc( DXGI_FORMAT_B8G8R8A8_UNORM, static_cast<uint32>(ceil(width * m_dpi / 96)), static_cast<uint32>(ceil(height * m_dpi / 96)), 1, 1, D3D11_BIND_RENDER_TARGET | D3D11_BIND_SHADER_RESOURCE ); ComPtr<ID3D11Texture2D> texture; DX::ThrowIfFailed( m_d3dDevice->CreateTexture2D( &textureDesc, nullptr, &texture ) ); // Create a preview DXGI surface with given size. ComPtr<IDXGISurface> dxgiSurface; DX::ThrowIfFailed( texture.As<IDXGISurface>(&dxgiSurface) ); // Create a new D2D device context for rendering the preview surface. D2D // device contexts are stateful, and hence a unique device context must be // used on each thread. ComPtr<ID2D1DeviceContext> d2dContext; DX::ThrowIfFailed( m_d2dDevice->CreateDeviceContext( D2D1_DEVICE_CONTEXT_OPTIONS_NONE, &d2dContext ) ); // Update DPI for preview surface as well. d2dContext->SetDpi(m_dpi, m_dpi); // Recommend using the screen DPI for better fidelity and better performance in the print preview. D2D1_BITMAP_PROPERTIES1 bitmapProperties = D2D1::BitmapProperties1( D2D1_BITMAP_OPTIONS_TARGET | D2D1_BITMAP_OPTIONS_CANNOT_DRAW, D2D1::PixelFormat(DXGI_FORMAT_B8G8R8A8_UNORM, D2D1_ALPHA_MODE_PREMULTIPLIED) ); // Create surface bitmap on which page content is drawn. ComPtr<ID2D1Bitmap1> d2dSurfaceBitmap; DX::ThrowIfFailed( d2dContext->CreateBitmapFromDxgiSurface( dxgiSurface.Get(), &bitmapProperties, &d2dSurfaceBitmap ) ); d2dContext->SetTarget(d2dSurfaceBitmap.Get()); // Create and initialize the page renderer context for preview. PageRendererContext^ previewPageRendererContext = ref new PageRendererContext( contentBox, d2dContext.Get(), DrawTypes::Preview, this ); d2dContext->BeginDraw(); // Draw page content on the preview surface. // Here contentBox is smaller than the real page size and the scale indicates the proportion. // It is faster to draw content on a smaller surface. previewPageRendererContext->Draw(scale); // The document source handles D2DERR_RECREATETARGET, so it is okay to throw this error // here. DX::ThrowIfFailed( d2dContext->EndDraw() ); // Must pass the same DPI as used to create the DXGI surface for the correct print preview. DX::ThrowIfFailed( previewTarget->DrawPage( desiredJobPage, dxgiSurface.Get(), m_dpi, m_dpi ) ); } void PageRenderer::CreatePrintControl( _In_ IPrintDocumentPackageTarget* docPackageTarget, _In_ D2D1_PRINT_CONTROL_PROPERTIES* printControlProperties ) { // Explicitly release existing D2D print control. m_d2dPrintControl = nullptr; DX::ThrowIfFailed( m_d2dDevice->CreatePrintControl( m_wicFactory.Get(), docPackageTarget, printControlProperties, &m_d2dPrintControl ) ); } HRESULT PageRenderer::ClosePrintControl() { return (m_d2dPrintControl == nullptr) ? S_OK : m_d2dPrintControl->Close(); } // Print out one page, with the given print ticket. // This sample has only one page and we ignore pageNumber below. void PageRenderer::PrintPage( _In_ uint32 /*pageNumber*/, _In_ D2D1_RECT_F imageableArea, _In_ D2D1_SIZE_F pageSize, _In_opt_ IStream* pagePrintTicketStream ) { // Create a new D2D device context for generating the print command list. // D2D device contexts are stateful, and hence a unique device context must // be used on each thread. ComPtr<ID2D1DeviceContext> d2dContext; DX::ThrowIfFailed( m_d2dDevice->CreateDeviceContext( D2D1_DEVICE_CONTEXT_OPTIONS_NONE, &d2dContext ) ); ComPtr<ID2D1CommandList> printCommandList; DX::ThrowIfFailed( d2dContext->CreateCommandList(&printCommandList) ); d2dContext->SetTarget(printCommandList.Get()); // Create and initialize the page renderer context for print. // In this case, we want to use the bitmap source that already has // the color context embedded in it. Thus, we pass NULL for the // color context parameter. PageRendererContext^ printPageRendererContext = ref new PageRendererContext( imageableArea, d2dContext.Get(), DrawTypes::Printing, this ); d2dContext->BeginDraw(); // Draw page content on a command list. // 1.0f below indicates that the printing content does not scale. // "DrawTypes::Printing" below indicates it is a printing case. printPageRendererContext->Draw(1.0f); // The document source handles D2DERR_RECREATETARGET, so it is okay to throw this error // here. DX::ThrowIfFailed( d2dContext->EndDraw() ); DX::ThrowIfFailed( printCommandList->Close() ); DX::ThrowIfFailed( m_d2dPrintControl->AddPage(printCommandList.Get(), pageSize, pagePrintTicketStream) ); } IDWriteTextFormat* PageRenderer::GetTextFormatNoRef() { return m_textFormat.Get(); } IDWriteTextFormat* PageRenderer::GetMessageFormatNoRef() { return m_messageFormat.Get(); }
30.855114
102
0.652518
zzgchina888
975a772cab49b5a436594142e8021addb6541323
2,081
cpp
C++
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
#include "sym.h" #include <windows.h> #include <Dbghelp.h> #pragma comment(lib, "Dbghelp.lib") /* #pragma comment(lib, "msvcrtd.lib") // msvcmrtd.lib extern "C" { extern char* __unDName(char *,const char*,int,int,int,unsigned short int); extern char* __unDNameEx(char *,const char*,int,int,int,void *,unsigned short int); } */ class SymImpl { private: HANDLE hProcess_; public: SymImpl() { // copied from xtrace DWORD symOptions = SymGetOptions(); symOptions |= SYMOPT_DEFERRED_LOADS; symOptions &= ~SYMOPT_UNDNAME; SymSetOptions(symOptions); hProcess_ = GetCurrentProcess(); BOOL bInited = SymInitialize( hProcess_, NULL, TRUE ); int hoge = 0; } ~SymImpl() { SymCleanup(hProcess_); } std::string GetName(void* p) { DWORD64 displacement64; ULONG64 buffer[(sizeof(SYMBOL_INFO) + MAX_SYM_NAME * sizeof(TCHAR) + sizeof(ULONG64) - 1) / sizeof(ULONG64)]; PSYMBOL_INFO pSymbol = (PSYMBOL_INFO)buffer; pSymbol->SizeOfStruct = sizeof(SYMBOL_INFO); pSymbol->MaxNameLen = MAX_SYM_NAME; if (SymFromAddr(hProcess_, (DWORD64)p, 0, pSymbol)) { //char* pTempName = __unDNameEx(0, pSymbol->Name, 0, (int)malloc, (int)free, 0, UNDNAME_COMPLETE); //if (pTempName) { // std::string ret = pTempName; // free(pTempName); // return ret; //}else { // return ""; //} const char* pQ = strchr(pSymbol->Name, '?'); if (!pQ) { return pSymbol->Name; } char buff[MAX_SYM_NAME]; strcpy(buff, pQ); int len = strlen(buff); if (buff[len-1] == ')') { buff[len-1] = 0; } char demangled[MAX_SYM_NAME]; if ( UnDecorateSymbolName( buff, demangled, MAX_SYM_NAME-1, UNDNAME_NAME_ONLY ) ) { return demangled; } } return "Sym::GetName failed"; } }; Sym::Sym() { pImpl_ = new SymImpl(); } Sym::~Sym() { delete pImpl_; } std::string Sym::GetName(void* p) { return pImpl_->GetName(p); }
20.81
102
0.588179
beru
975de2855a9caa68cbffe7f2d7feb8b4b78bac01
18,449
cpp
C++
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#include <iostream> #include "obj.h" #include <GodotGlobal.hpp> #include <Viewport.hpp> #include <StaticBody2D.hpp> #include <SceneTree.hpp> #include <Rect2.hpp> #include <Label.hpp> #include <String.hpp> #include <wchar.h> #include <string> #include <stdlib.h> #include "City.h" #include "Player.h" #include <random> #include <Math.hpp> using namespace godot; # define M_PI 3.14159265358979323846 /* pi */ Structure::Structure() { MenuVisible = false; Clickable = false; totalDays = 0; /* cost = 0; energyUse = 0; maintenance = 0; satisfaction = 0; income = 0; population = 0; numberOfEmployees = 0; carbonEmission = 0; energyDemand = 0; energySupply = 0; */ } /* Structure::Structure(double cost, double energyUse, double maintenance, double satisfaction, double income, double population, double numberOfEmployees, double carbonEmission, double energyDemand, double energySupply) : cost{ cost }, energyUse{ energyUse }, maintenance{ maintenance }, satisfaction{ satisfaction }, income{ income }, population{ population }, numberOfEmployees{ numberOfEmployees }, carbonEmission{ carbonEmission }, energyDemand{ energyDemand }, energySupply{ energySupply }{} */ Structure::~Structure() {} double Structure::get_satisfaction() { return this->satisfaction; } void Structure::set_satisfaction(double sat) { this->satisfaction = sat; } // these are only for houses int Structure::get_inhabitants() { return this->numberOfInhabitants; } void Structure::set_inhabitants(int value) { this->numberOfInhabitants = value; } double Structure::get_age() { return this->age; } void Structure::set_age(double age) { this->age = age; } double Structure::get_co2emissions() { if (this->get_main_type() == "Housing") { double panelsF = 1; if (this->PanelsOn) { panelsF = 0.7; }; double trees = 0; if (this->get_node("MeshComponents/Trees")->get("visible")) { trees = 0.2; // 10 trees absorb 200 kilos of co2 a year } return (double)(((this->CO2Emission)-trees) * panelsF); } return this->CO2Emission; } void Structure::set_co2emissions(double emission) { this->CO2Emission = emission; } double Structure::get_energyuse() { if (this->get_main_type() == "Housing") { double panelsF = 1; double turbineF = 1; double glazingF = 1; if (this->PanelsOn) { panelsF = 0.6; } if (((Housing*)this)->rooftopWindTurbineOn) { turbineF = 0.9; } if (this->get_object_type() == "House") { if (((House*)this)->houseType == 1) { // If its a low level house then double glazing decrease energyuse if (((House*)this)->doubleGlazingOn) { glazingF = 0.75; //when having better insulation of windows, you don't have the 25% loss of heat anymore } } } return (double)(this->energyUse) * panelsF * turbineF * glazingF; } return this->energyUse; } void Structure::set_energyuse(double energyUse) { this->energyUse = energyUse; } double Structure::get_energyperDay() { return this->energyperDay; } void Structure::set_energyperDay(double energyperDay) { this->energyperDay = energyperDay; } double Structure::get_environmental_cost() { return this->environmentalCost; } void Structure::set_environmental_cost(double environmentalCost) { this->environmentalCost = environmentalCost; } double Structure::get_cost() { return this->cost; } void Structure::set_cost(double cost) { this->cost = cost; } double Structure::get_employment() { return this->employment; } void Structure::set_employment(double employment) { this->employment = employment; } double Structure::get_building_time() { return this->buildingTime; } void Structure::set_building_time(double buildingTime) { this->buildingTime = buildingTime; } double Structure::get_maintenance() { return this->maintenance; } void Structure::set_maintenance(double maintenance) { this->maintenance = maintenance; } double Structure::get_averageWage() { return this->averageWage; } void Structure::set_averageWage(double averageWage) { this->averageWage = averageWage; } void Structure::_register_methods() { register_method((char*)"_process", &Structure::_process); register_method((char*)"_input", &Structure::_input); register_method((char*)"_ready", &Structure::_ready); register_method((char*)"_on_Area_mouse_entered", &Structure::_on_Area_mouse_entered); register_method((char*)"_on_Area_mouse_exited", &Structure::_on_Area_mouse_exited); register_property<Structure, String>("object_type", &Structure::set_object_type, &Structure::get_type, "Structure"); register_property<Structure, bool>("updatable", &Structure::updatable, false); register_property<Structure, double>("CO2Emission", &Structure::set_co2emissions, &Structure::get_co2emissions, 1); register_property<Structure, double>("satisfaction", &Structure::set_satisfaction, &Structure::get_satisfaction, 1); register_property<Structure, double>("energyUse", &Structure::set_energyuse, &Structure::get_energyuse, 1); register_property<Structure, double>("averageWage", &Structure::set_averageWage, &Structure::get_averageWage, 1); register_property<Structure, double>("maintenance", &Structure::set_maintenance, &Structure::get_maintenance, 1); register_property<Structure, double>("employment", &Structure::set_employment, &Structure::get_employment, 1); register_property<Structure, double>("cost", &Structure::set_cost, &Structure::get_cost, 1); register_property<Structure, double>("environmentalCost", &Structure::set_environmental_cost, &Structure::get_environmental_cost, 1); register_property<Structure, double>("buildingTime", &Structure::set_building_time, &Structure::get_building_time, 1); register_property<Structure, double>("age", &Structure::set_age, &Structure::get_age, 1); register_property<Structure, int>("numberOfInhabitants", &Structure::set_inhabitants, &Structure::get_inhabitants, 0); //register_method((char*)"get_co2emissions", &Structure::get_co2emissions); register_property<Structure, double>("solar_panel_subsidies", &Structure::solar_panel_subsidies, 0); register_property<Structure, double>("efficiency_supercritical", &Structure::efficiency_supercritical, 0); register_property<Structure, double>("efficiency_cogeneration", &Structure::efficiency_cogeneration, 0); register_property<Structure, double>("nuclear_prohibited", &Structure::nuclear_prohibited, 0); register_property<Structure, double>("coal_prohibited", &Structure::coal_prohibited, 0); register_property<Structure, double>("maximum_CO2", &Structure::maximum_CO2, 0); register_property<Structure, double>("subsidy_green", &Structure::subsidy_green, 0); register_property<Structure, double>("pesticideProhibited", &Structure::pesticideProhibited, 0); register_property<Structure, double>("GMOProhibited", &Structure::GMOProhibited, 0); register_property<Structure, double>("fertilizerProhibited", &Structure::fertilizerProhibited, 0); register_property<Structure, double>("solar_panel_subsidies_housing", &Structure::solar_panel_subsidies_housing, 0); register_property<Structure, double>("wind_turbine_subsidies", &Structure::wind_turbine_subsidies, 0); } void Structure::_init() { } void Structure::_ready() { object_scale = this->get("scale"); myCity = this->get_tree()->get_root()->get_node("Main/3Dworld"); // COUNT UP ALL THE INITIAL VARIABLES add_city_counters(); } void Structure::add_city_counters() { myCity->set("income", double(myCity->get("income")) + double(this->get("averageWage"))); myCity->set("carbonEmission", double(myCity->get("carbonEmission")) + double(this->get("CO2Emission"))); myCity->set("energyDemand", double(myCity->get("energyDemand")) + double(this->get("energyUse"))); myCity->set("numberOfEmployees", double(myCity->get("numberOfEmployees")) + double(this->get("employment"))); myCity->set("totalSatisfaction", double(myCity->get("totalSatisfaction")) + satisfaction_weight() * double(this->get("satisfaction"))); myCity->set("population", int(myCity->get("population")) + int(this->get("numberOfInhabitants"))); if (this->get_main_type() == String("Housing")) { myCity->set("HousingCO2", int(myCity->get("HousingCO2")) + int(this->get("CO2Emission"))); } else if (this->get_main_type() == String("Energy")) { myCity->set("EnergyCO2", int(myCity->get("EnergyCO2")) + int(this->get("CO2Emission"))); } else if(this->get_main_type() == String("Production")) { myCity->set("ProductionCO2", int(myCity->get("ProductionCO2")) + int(this->get("CO2Emission"))); } else if(this->get_main_type() == String("Shop")) { myCity->set("ShopsCO2", int(myCity->get("ShopsCO2")) + int(this->get("CO2Emission"))); } } void Structure::subtract_city_counters() { myCity->set("income", double(myCity->get("income")) - double(this->get("averageWage"))); myCity->set("carbonEmission", double(myCity->get("carbonEmission")) - double(this->get("CO2Emission"))); myCity->set("environmentalCost", double(myCity->get("environmentalCost")) - double(this->get("environmentalCost"))); myCity->set("energyDemand", double(myCity->get("energyDemand")) - double(this->get("energyUse"))); myCity->set("numberOfEmployees", double(myCity->get("numberOfEmployees")) - double(this->get("employment"))); myCity->set("totalSatisfaction", double(myCity->get("totalSatisfaction")) - satisfaction_weight() * double(this->get("satisfaction"))); myCity->set("population", int(myCity->get("population")) - int(this->get("numberOfInhabitants"))); if (this->get_main_type() == String("Housing")) { myCity->set("HousingCO2", int(myCity->get("HousingCO2")) - int(this->get("CO2Emission"))); } else if (this->get_main_type() == String("Energy")) { myCity->set("EnergyCO2", int(myCity->get("EnergyCO2")) - int(this->get("CO2Emission"))); } else if (this->get_main_type() == String("Production")) { myCity->set("ProductionCO2", int(myCity->get("ProductionCO2")) - int(this->get("CO2Emission"))); } else if (this->get_main_type() == String("Shop")) { myCity->set("ShopsCO2", int(myCity->get("ShopsCO2")) - int(this->get("CO2Emission"))); } } Vector3 Structure::get_position() { return (Vector3)((Spatial*)this)->get_translation(); } bool Structure::is_other_structure_within_distance(Vector3 other, double distance) { Vector3 pos = get_position(); return (sqrtf(other[0] * pos[0] + other[1] * pos[1] + other[2] * pos[2]) <= distance); } int Structure::satisfaction_weight() { String type = this->get_main_type(); if (type == "Energy") { return 10; } if (type == "Housing") { return 1; } if (type == "Production") { return 5; } if (type == "Shop") { return 3; } return 1; } void Structure::_process(float delta) { if (this->get("updatable")) { subtract_city_counters(); this->simulate_step((double)(this->get_tree()->get_root()->get_node("Main/3Dworld")->get("day_tick")) - age); // will run the lowest level simulate step function add_city_counters(); this->set("updatable", false); } if (this->hover_animation_active) { ++(this->hover_animation_counter); this->set("scale", Vector3(object_scale.x, object_scale.y * float(1 + 0.25 * sin(M_PI * hover_animation_counter / 5)), object_scale.z)); if (this->hover_animation_counter == 5) { this->set("scale", object_scale); hover_animation_active = false; hover_animation_counter = 0; } } } void Structure::simulate_step(double days) { age += days; } void Structure::_input(InputEvent* e) { Input* i = Input::get_singleton(); if (i->is_action_just_pressed("ui_select") && Clickable) { // RECORD MOUSE POSITION Vector2 mousePos = this->get_viewport()->get_mouse_position(); // PAUSE GAME this->get_tree()->get_root()->get_node("Main/3Dworld")->set("time_speed", 0); // PLAYER SHOULD NOT BE MOVABLE ((Player*)(this->get_tree()->get_root()->get_node("Main/3Dworld/Player")))->set("movable", false); this->get_tree()->get_root()->get_node("Main/2Dworld/Blur")->set("visible", true); // SET INFO BOX SIZE AND POSITION int ypos = (int)(((Vector2)(this->get_tree()->get_root()->get_node("Main/2Dworld")->get_node("InfoBox")->get("rect_position"))).y); int width = (int)(((Vector2)(this->get_tree()->get_root()->get_node("Main/2Dworld")->get_node("InfoBox")->get("rect_size"))).x); if (mousePos.x > (get_viewport()->get_size().x) / 2) { (this->get_tree()->get_root()->get_node("Main/2Dworld/InfoBox"))->set("rect_position", Vector2(60, ypos)); } else { (this->get_tree()->get_root()->get_node("Main/2Dworld/InfoBox"))->set("rect_position", Vector2(get_viewport()->get_size().x / 2 - width - 60, ypos)); } // AJUST POSITION OF MENU TO ENSURE IT IS VISIBLE if (get_viewport()->get_size().x - mousePos.x <= MenuSize) { if (mousePos.y > (get_viewport()->get_size().y / 2)) { mousePos.y -= MenuSize /*- (get_viewport()->get_size().x - mousePos.x)*/; } else { mousePos.y += MenuSize/* - (get_viewport()->get_size().x - mousePos.x)*/; } //mousePos.x = get_viewport()->get_size().x - MenuSize; mousePos.x -= MenuSize; } else if (mousePos.x <= MenuSize) { if (mousePos.y > (get_viewport()->get_size().y / 2)) { mousePos.y -= MenuSize /*- mousePos.x*/; } else { mousePos.y += MenuSize /*- mousePos.x*/; } mousePos.x += 2 * MenuSize; } if (get_viewport()->get_size().y - mousePos.y <= MenuSize) { if (mousePos.x > (get_viewport()->get_size().x / 2)) { mousePos.x -= MenuSize /*- (get_viewport()->get_size().y - mousePos.y)*/; } else { mousePos.x += MenuSize /* - (get_viewport()->get_size().y - mousePos.y)*/; } //mousePos.y = get_viewport()->get_size().y - MenuSize; mousePos.y -= MenuSize; } else if (mousePos.y <= MenuSize) { if (mousePos.x > (get_viewport()->get_size().x / 2)) { mousePos.x -= MenuSize/* - mousePos.y*/; } else { mousePos.x += MenuSize/* - mousePos.y*/; } mousePos.y += MenuSize; } //mousePos = Vector2(real_t((double)(get_viewport()->get_size().x) / 2), real_t((double)(get_viewport()->get_size().y) / 2)); (this->get_tree()->get_root()->get_node("Main/2Dworld/Menus"))->set("position", Vector2(mousePos.x / 2, mousePos.y / 2)); show_menu(); } } void Structure::show_menu() { this->get_tree()->get_root()->get_node("Main/2Dworld/InvalidInputNotification")->set("visible", false); this->get_tree()->get_root()->get_node("Main/2Dworld/InfoBox")->set("text", get_object_info()); this->get_tree()->get_root()->get_node("Main/2Dworld/InfoBox")->set("visible", true); godot::String MenuPathString = "Main/2Dworld/Menus/Menu" + this->get_main_type(); NodePath MenuPath = (NodePath)MenuPathString; if (this->get_tree()->get_root()->has_node(MenuPath)) { this->get_tree()->get_root()->get_node(MenuPath)->set("visible", true); } else { Godot::print("A node was not found at the following path: "); Godot::print(MenuPathString); } } template<typename T> String to_godot_string(T s) { std::string standardString = std::to_string(s); godot::String godotString = godot::String(standardString.c_str()); return godotString; } String Structure::get_object_info() { String info = String("INFORMATION - ABOUT THIS STRUCTURE") + String("\n") + String("\n") + String("\n"); if (this->get_object_type() == "Building"){ info += "This building is a(n) " + this->get_main_type() + " building. Specifically, it is a " + to_godot_string((int)(((int)(this)->get("age")) / 365)) + " year and " + to_godot_string((int)(((int)(this)->get("age")) % 365)) + " days old Apartment Building." + String("\n") + String("\n"); } else if (this->get_object_type() == "AgriculturalProduction") { info += "This is a field. It is able to produce several different crops." + String("\n") + String("\n"); } else { info += "This building is a(n) " + this->get_main_type() + " building. Specifically, it is a " + to_godot_string((int)(((int)(this)->get("age")) / 365)) + " year and " + to_godot_string((int)(((int)(this)->get("age")) % 365)) + " days old " + this->get_object_type() + "." + String("\n") + String("\n"); } return info; } void godot::Structure::_on_Area_mouse_entered() { Clickable = true; Input* i = Input::get_singleton(); i->set_default_cursor_shape(i->CURSOR_POINTING_HAND); this->hover_animation_active = true; //this->set("scale", Vector3(Vector3(this->get("scale")).x, 1.25 * Vector3(this->get("scale")).y, Vector3(this->get("scale")).z)); } void godot::Structure::_on_Area_mouse_exited() { Clickable = false; Input* i = Input::get_singleton(); i->set_default_cursor_shape(i->CURSOR_ARROW); //this->set("scale", Vector3(Vector3(this->get("scale")).x, (1/1.25) * Vector3(this->get("scale")).y, Vector3(this->get("scale")).z)); this->set("scale", object_scale); hover_animation_active = false; hover_animation_counter = 0; }
37.497967
312
0.633313
jerry871002
976068e04faa5cf81f933fc171fcd31c10055d30
298
cpp
C++
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
1
2021-01-12T05:42:07.000Z
2021-01-12T05:42:07.000Z
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
#include <iostream> using namespace std; int main(void){ int init_index=1; int max_val=-1; int new_num=1; for(int i=0;i<9;i++){ cin>>new_num; if(new_num>max_val){ init_index=i+1; max_val=new_num; } } cout<<max_val<<"\n"; cout<<init_index<<"\n"; return 0; }
16.555556
25
0.590604
sml0399
9761c5dea3e304a7ca0027a0edd3606915b8c986
32,263
cpp
C++
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
1
2022-01-05T03:51:02.000Z
2022-01-05T03:51:02.000Z
#include "Renderer/RendererVoxelTerrain.h" #include "Core/Profiler.h" #include "Core/ResourceManager.h" #include "Shader/ShaderMain.h" RendererVoxelTerrain::RendererVoxelTerrain() { SetUniforms(); SetShaders(); } RendererVoxelTerrain::~RendererVoxelTerrain() { } void RendererVoxelTerrain::Init(Scene* scene) { } void RendererVoxelTerrain::SetUniforms() { // common RendererBasic::GetUniforms().insert(std::make_pair("model", 0)); RendererBasic::GetUniforms().insert(std::make_pair("view", 0)); RendererBasic::GetUniforms().insert(std::make_pair("projection", 0)); RendererBasic::GetUniforms().insert(std::make_pair("nearPlane", 0)); RendererBasic::GetUniforms().insert(std::make_pair("farPlane", 0)); RendererBasic::GetUniforms().insert(std::make_pair("dirLightTransform", 0)); RendererBasic::GetUniforms().insert(std::make_pair("normalMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("lightPosition", 0)); // main RendererBasic::GetUniforms().insert(std::make_pair("eyePosition", 0)); // water RendererBasic::GetUniforms().insert(std::make_pair("reflectionTexture", 0)); RendererBasic::GetUniforms().insert(std::make_pair("refractionTexture", 0)); RendererBasic::GetUniforms().insert(std::make_pair("dudvMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("depthMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("moveFactor", 0)); RendererBasic::GetUniforms().insert(std::make_pair("cameraPosition", 0)); RendererBasic::GetUniforms().insert(std::make_pair("lightColor", 0)); // PBR - physically based rendering RendererBasic::GetUniforms().insert(std::make_pair("albedo", 0)); RendererBasic::GetUniforms().insert(std::make_pair("metallic", 0)); RendererBasic::GetUniforms().insert(std::make_pair("roughness", 0)); RendererBasic::GetUniforms().insert(std::make_pair("ao", 0)); RendererBasic::GetUniforms().insert(std::make_pair("albedoMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("normalMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("metallicMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("roughnessMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("aoMap", 0)); RendererBasic::GetUniforms().insert(std::make_pair("camPos", 0)); RendererBasic::GetUniforms().insert(std::make_pair("ambientIntensity", 0)); // cubemap shader RendererBasic::GetUniforms().insert(std::make_pair("equirectangularMap", 0)); // skybox Joey shader RendererBasic::GetUniforms().insert(std::make_pair("environmentMap", 0)); } void RendererVoxelTerrain::SetShaders() { H2M::RefH2M<MoravaShader> shaderMain = MoravaShader::Create("Shaders/shader.vert", "Shaders/shader.frag"); RendererBasic::GetShaders().insert(std::make_pair("main", shaderMain)); Log::GetLogger()->info("RendererVoxelTerrain: shaderMain compiled [programID={0}]", shaderMain->GetProgramID()); H2M::RefH2M<MoravaShader> shaderRenderInstanced = MoravaShader::Create("Shaders/render_instanced.vs", "Shaders/render_instanced.fs"); RendererBasic::GetShaders().insert(std::make_pair("render_instanced", shaderRenderInstanced)); Log::GetLogger()->info("RendererVoxelTerrain: shaderRenderInstanced compiled [programID={0}]", shaderRenderInstanced->GetProgramID()); H2M::RefH2M<MoravaShader> shaderBasic = MoravaShader::Create("Shaders/basic.vs", "Shaders/basic.fs"); RendererBasic::GetShaders().insert(std::make_pair("basic", shaderBasic)); Log::GetLogger()->info("RendererVoxelTerrain: shaderBasic compiled [programID={0}]", shaderBasic->GetProgramID()); H2M::RefH2M<MoravaShader> shaderMarchingCubes = MoravaShader::Create("Shaders/marching_cubes.vs", "Shaders/marching_cubes.fs"); RendererBasic::GetShaders().insert(std::make_pair("marching_cubes", shaderMarchingCubes)); Log::GetLogger()->info("RendererVoxelTerrain: shaderMarchingCubes compiled [programID={0}]", shaderMarchingCubes->GetProgramID()); H2M::RefH2M<MoravaShader> shaderShadowMap = MoravaShader::Create("Shaders/directional_shadow_map.vert", "Shaders/directional_shadow_map.frag"); RendererBasic::GetShaders().insert(std::make_pair("shadow_map", shaderShadowMap)); Log::GetLogger()->info("RendererEditor: shaderShadowMap compiled [programID={0}]", shaderShadowMap->GetProgramID()); H2M::RefH2M<MoravaShader> shaderOmniShadow = MoravaShader::Create("Shaders/omni_shadow_map.vert", "Shaders/omni_shadow_map.geom", "Shaders/omni_shadow_map.frag"); RendererBasic::GetShaders().insert(std::make_pair("omniShadow", shaderOmniShadow)); Log::GetLogger()->info("RendererVoxelTerrain: shaderOmniShadow compiled [programID={0}]", shaderOmniShadow->GetProgramID()); H2M::RefH2M<MoravaShader> shaderWater = MoravaShader::Create("Shaders/water.vert", "Shaders/water.frag"); RendererBasic::GetShaders().insert(std::make_pair("water", shaderWater)); printf("Renderer: Water shader compiled [programID=%d]\n", shaderWater->GetProgramID()); } // BEGIN shadow render passes void RendererVoxelTerrain::RenderPassShadow(Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { if (!scene->GetSettings().enableShadows) return; if (!LightManager::directionalLight.GetEnabled()) return; if (LightManager::directionalLight.GetShadowMap() == nullptr) return; H2M::RefH2M<MoravaShader> shaderShadowMap = RendererBasic::GetShaders()["shadow_map"]; shaderShadowMap->Bind(); DirectionalLight* light = &LightManager::directionalLight; glViewport(0, 0, light->GetShadowMap()->GetShadowWidth(), light->GetShadowMap()->GetShadowHeight()); light->GetShadowMap()->BindForWriting(); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glDisable(GL_BLEND); /**** BEGIN shadow_map ****/ shaderShadowMap->SetMat4("u_DirLightTransform", LightManager::directionalLight.CalculateLightTransform()); shaderShadowMap->SetBool("u_Animated", false); shaderShadowMap->Validate(); /**** END shadow_map ****/ DisableCulling(); std::string passType = "shadow_dir"; scene->Render(mainWindow, projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); glBindFramebuffer(GL_FRAMEBUFFER, 0); } void RendererVoxelTerrain::RenderOmniShadows(Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { if (!scene->GetSettings().enableOmniShadows) return; for (size_t i = 0; i < LightManager::pointLightCount; i++) { if (LightManager::pointLights[i].GetEnabled()) { RenderPassOmniShadow(&LightManager::pointLights[i], mainWindow, scene, projectionMatrix); } } for (size_t i = 0; i < LightManager::spotLightCount; i++) { if (LightManager::spotLights[i].GetBasePL()->GetEnabled()) { RenderPassOmniShadow((PointLight*)&LightManager::spotLights[i], mainWindow, scene, projectionMatrix); } } } void RendererVoxelTerrain::RenderPassOmniShadow(PointLight* light, Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { if (!scene->GetSettings().enableOmniShadows) return; RendererBasic::GetShaders()["omniShadow"]->Bind(); glViewport(0, 0, light->GetShadowMap()->GetShadowWidth(), light->GetShadowMap()->GetShadowHeight()); light->GetShadowMap()->BindForWriting(); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glDisable(GL_BLEND); RendererBasic::GetShaders()["omniShadow"]->SetFloat3("lightPosition", light->GetPosition()); RendererBasic::GetShaders()["omniShadow"]->SetFloat("farPlane", light->GetFarPlane()); std::vector<glm::mat4> lightMatrices = light->CalculateLightTransform(); for (unsigned int i = 0; i < lightMatrices.size(); i++) { RendererBasic::GetShaders()["omniShadow"]->SetMat4("lightMatrices[" + std::to_string(i) + "]", lightMatrices[i]); } RendererBasic::GetShaders()["omniShadow"]->Validate(); EnableCulling(); std::string passType = "shadow_omni"; scene->Render(mainWindow, projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); glBindFramebuffer(GL_FRAMEBUFFER, 0); } // END shadow render passes // BEGIN water render passes void RendererVoxelTerrain::RenderWaterEffects(float deltaTime, Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { if (!scene->GetSettings().enableWaterEffects) return; glEnable(GL_CLIP_DISTANCE0); float waterMoveFactor = scene->GetWaterManager()->GetWaterMoveFactor(); waterMoveFactor += WaterManager::m_WaveSpeed * deltaTime; if (waterMoveFactor >= 1.0f) { waterMoveFactor = waterMoveFactor - 1.0f; } scene->GetWaterManager()->SetWaterMoveFactor(waterMoveFactor); float distance = 2.0f * (scene->GetCamera()->GetPosition().y - scene->GetSettings().waterHeight); glm::vec3 cameraPosition = scene->GetCamera()->GetPosition(); glm::vec3 cameraPositionInverse = scene->GetCamera()->GetPosition(); cameraPositionInverse.y -= distance; scene->GetCamera()->SetPosition(cameraPositionInverse); scene->GetCameraController()->InvertPitch(); RenderPassWaterReflection(mainWindow, scene, projectionMatrix); scene->GetCamera()->SetPosition(cameraPosition); scene->GetCameraController()->InvertPitch(); RenderPassWaterRefraction(mainWindow, scene, projectionMatrix); } void RendererVoxelTerrain::RenderPassWaterReflection(Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { glViewport(0, 0, scene->GetWaterManager()->GetFramebufferWidth(), scene->GetWaterManager()->GetFramebufferHeight()); scene->GetWaterManager()->GetReflectionFramebuffer()->Bind(); // Clear the window RendererBasic::Clear(); H2M::RefH2M<ShaderMain> shaderMain = RendererBasic::GetShaders()["main"]; shaderMain->Bind(); RendererBasic::GetUniforms()["model"] = shaderMain->GetUniformLocation("model"); RendererBasic::GetUniforms()["projection"] = shaderMain->GetUniformLocation("projection"); RendererBasic::GetUniforms()["view"] = shaderMain->GetUniformLocation("view"); RendererBasic::GetUniforms()["eyePosition"] = shaderMain->GetUniformLocation("eyePosition"); RendererBasic::GetUniforms()["specularIntensity"] = shaderMain->GetUniformLocationMaterialSpecularIntensity(); RendererBasic::GetUniforms()["shininess"] = shaderMain->GetUniformLocationMaterialShininess(); glUniformMatrix4fv(RendererBasic::GetUniforms()["view"], 1, GL_FALSE, glm::value_ptr(scene->GetCamera()->GetViewMatrix())); glUniformMatrix4fv(RendererBasic::GetUniforms()["projection"], 1, GL_FALSE, glm::value_ptr(projectionMatrix)); glUniform3f(RendererBasic::GetUniforms()["eyePosition"], scene->GetCamera()->GetPosition().x, scene->GetCamera()->GetPosition().y, scene->GetCamera()->GetPosition().z); shaderMain->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderMain->SetMat4("projection", projectionMatrix); shaderMain->SetFloat3("eyePosition", scene->GetCamera()->GetPosition()); shaderMain->SetDirectionalLight(&LightManager::directionalLight); shaderMain->SetPointLights(LightManager::pointLights, LightManager::pointLightCount, scene->GetTextureSlots()["omniShadow"], 0); shaderMain->SetSpotLights(LightManager::spotLights, LightManager::spotLightCount, scene->GetTextureSlots()["omniShadow"], LightManager::pointLightCount); shaderMain->SetMat4("dirLightTransform", LightManager::directionalLight.CalculateLightTransform()); LightManager::directionalLight.GetShadowMap()->ReadTexture(scene->GetTextureSlots()["shadow"]); shaderMain->SetInt("albedoMap", scene->GetTextureSlots()["diffuse"]); shaderMain->SetInt("normalMap", scene->GetTextureSlots()["normal"]); shaderMain->SetInt("shadowMap", scene->GetTextureSlots()["shadow"]); shaderMain->SetFloat4("clipPlane", glm::vec4(0.0f, 1.0f, 0.0f, -scene->GetSettings().waterHeight)); // reflection clip plane shaderMain->SetFloat4("tintColor", glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)); shaderMain->Validate(); H2M::RefH2M<MoravaShader> shaderRenderInstanced = RendererBasic::GetShaders()["render_instanced"]; shaderRenderInstanced->Bind(); shaderRenderInstanced->SetFloat4("clipPlane", glm::vec4(0.0f, 1.0f, 0.0f, -scene->GetSettings().waterHeight)); // reflection clip plane shaderRenderInstanced->Validate(); EnableCulling(); std::string passType = "water"; scene->Render(mainWindow, projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); glBindFramebuffer(GL_FRAMEBUFFER, 0); } void RendererVoxelTerrain::RenderPassWaterRefraction(Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { glViewport(0, 0, scene->GetWaterManager()->GetFramebufferWidth(), scene->GetWaterManager()->GetFramebufferHeight()); scene->GetWaterManager()->GetRefractionFramebuffer()->Bind(); scene->GetWaterManager()->GetRefractionFramebuffer()->GetColorAttachment()->Bind(scene->GetTextureSlots()["refraction"]); scene->GetWaterManager()->GetRefractionFramebuffer()->GetDepthAttachment()->Bind(scene->GetTextureSlots()["depth"]); // Clear the window RendererBasic::Clear(); H2M::RefH2M<ShaderMain> shaderMain = RendererBasic::GetShaders()["main"]; shaderMain->Bind(); RendererBasic::GetUniforms()["model"] = shaderMain->GetUniformLocation("model"); RendererBasic::GetUniforms()["projection"] = shaderMain->GetUniformLocation("projection"); RendererBasic::GetUniforms()["view"] = shaderMain->GetUniformLocation("view"); RendererBasic::GetUniforms()["eyePosition"] = shaderMain->GetUniformLocation("eyePosition"); RendererBasic::GetUniforms()["specularIntensity"] = shaderMain->GetUniformLocationMaterialSpecularIntensity(); RendererBasic::GetUniforms()["shininess"] = shaderMain->GetUniformLocationMaterialShininess(); shaderMain->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderMain->SetMat4("projection", projectionMatrix); shaderMain->SetFloat3("eyePosition", scene->GetCamera()->GetPosition()); shaderMain->SetDirectionalLight(&LightManager::directionalLight); shaderMain->SetPointLights(LightManager::pointLights, LightManager::pointLightCount, scene->GetTextureSlots()["omniShadow"], 0); shaderMain->SetSpotLights(LightManager::spotLights, LightManager::spotLightCount, scene->GetTextureSlots()["omniShadow"], LightManager::pointLightCount); shaderMain->SetMat4("dirLightTransform", LightManager::directionalLight.CalculateLightTransform()); LightManager::directionalLight.GetShadowMap()->ReadTexture(scene->GetTextureSlots()["shadow"]); shaderMain->SetInt("albedoMap", scene->GetTextureSlots()["diffuse"]); shaderMain->SetInt("normalMap", scene->GetTextureSlots()["normal"]); shaderMain->SetInt("shadowMap", scene->GetTextureSlots()["shadow"]); shaderMain->SetFloat4("clipPlane", glm::vec4(0.0f, -1.0f, 0.0f, scene->GetSettings().waterHeight)); // refraction clip plane shaderMain->SetFloat4("tintColor", glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)); shaderMain->Validate(); H2M::RefH2M<MoravaShader> shaderRenderInstanced = RendererBasic::GetShaders()["render_instanced"]; shaderRenderInstanced->Bind(); shaderRenderInstanced->SetFloat4("clipPlane", glm::vec4(0.0f, -1.0f, 0.0f, scene->GetSettings().waterHeight)); // refraction clip plane shaderRenderInstanced->Validate(); std::string passType = "water"; scene->Render(mainWindow, projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); glBindFramebuffer(GL_FRAMEBUFFER, 0); } // END water render passes void RendererVoxelTerrain::RenderPassMain(Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { glDisable(GL_CLIP_DISTANCE0); glViewport(0, 0, (GLsizei)mainWindow->GetWidth(), (GLsizei)mainWindow->GetHeight()); // Clear the window RendererBasic::Clear(); /**** BEGIN shaderMain ****/ H2M::RefH2M<ShaderMain> shaderMain = RendererBasic::GetShaders()["main"]; shaderMain->Bind(); RendererBasic::GetUniforms()["model"] = shaderMain->GetUniformLocation("model"); RendererBasic::GetUniforms()["projection"] = shaderMain->GetUniformLocation("projection"); RendererBasic::GetUniforms()["view"] = shaderMain->GetUniformLocation("view"); RendererBasic::GetUniforms()["eyePosition"] = shaderMain->GetUniformLocation("eyePosition"); RendererBasic::GetUniforms()["specularIntensity"] = shaderMain->GetUniformLocationMaterialSpecularIntensity(); RendererBasic::GetUniforms()["shininess"] = shaderMain->GetUniformLocationMaterialShininess(); shaderMain->SetMat4("model", glm::mat4(1.0f)); shaderMain->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderMain->SetMat4("projection", projectionMatrix); shaderMain->SetFloat3("eyePosition", scene->GetCamera()->GetPosition()); // Directional Light shaderMain->SetInt("directionalLight.base.enabled", LightManager::directionalLight.GetEnabled()); shaderMain->SetFloat3("directionalLight.base.color", LightManager::directionalLight.GetColor()); shaderMain->SetFloat("directionalLight.base.ambientIntensity", LightManager::directionalLight.GetAmbientIntensity()); shaderMain->SetFloat("directionalLight.base.diffuseIntensity", LightManager::directionalLight.GetDiffuseIntensity()); shaderMain->SetFloat3("directionalLight.direction", LightManager::directionalLight.GetDirection()); shaderMain->SetMat4("dirLightTransform", LightManager::directionalLight.CalculateLightTransform()); unsigned int textureUnit; unsigned int offset; // Point Lights textureUnit = scene->GetTextureSlots()["omniShadow"]; offset = 0; shaderMain->SetInt("pointLightCount", LightManager::pointLightCount); for (int i = 0; i < (int)LightManager::pointLightCount; i++) { shaderMain->SetInt("pointLights[" + std::to_string(i) + "].base.enabled", LightManager::pointLights[i].GetEnabled()); shaderMain->SetFloat3("pointLights[" + std::to_string(i) + "].base.color", LightManager::pointLights[i].GetColor()); shaderMain->SetFloat("pointLights[" + std::to_string(i) + "].base.ambientIntensity", LightManager::pointLights[i].GetAmbientIntensity()); shaderMain->SetFloat("pointLights[" + std::to_string(i) + "].base.diffuseIntensity", LightManager::pointLights[i].GetDiffuseIntensity()); shaderMain->SetFloat3("pointLights[" + std::to_string(i) + "].position", LightManager::pointLights[i].GetPosition()); shaderMain->SetFloat("pointLights[" + std::to_string(i) + "].constant", LightManager::pointLights[i].GetConstant()); shaderMain->SetFloat("pointLights[" + std::to_string(i) + "].linear", LightManager::pointLights[i].GetLinear()); shaderMain->SetFloat("pointLights[" + std::to_string(i) + "].exponent", LightManager::pointLights[i].GetExponent()); LightManager::pointLights[i].GetShadowMap()->ReadTexture(textureUnit + offset + i); shaderMain->SetInt("omniShadowMaps[" + std::to_string(offset + i) + "].shadowMap", textureUnit + offset + i); shaderMain->SetFloat("omniShadowMaps[" + std::to_string(offset + i) + "].farPlane", LightManager::pointLights[i].GetFarPlane()); } // Spot Lights textureUnit = scene->GetTextureSlots()["omniShadow"]; offset = LightManager::pointLightCount; shaderMain->SetInt("spotLightCount", LightManager::spotLightCount); for (int i = 0; i < (int)LightManager::spotLightCount; i++) { shaderMain->SetInt("spotLights[" + std::to_string(i) + "].base.base.enabled", LightManager::spotLights[i].GetBasePL()->GetEnabled()); shaderMain->SetFloat3("spotLights[" + std::to_string(i) + "].base.base.color", LightManager::spotLights[i].GetBasePL()->GetColor()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].base.base.ambientIntensity", LightManager::spotLights[i].GetBasePL()->GetAmbientIntensity()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].base.base.diffuseIntensity", LightManager::spotLights[i].GetBasePL()->GetDiffuseIntensity()); shaderMain->SetFloat3("spotLights[" + std::to_string(i) + "].base.position", LightManager::spotLights[i].GetBasePL()->GetPosition()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].base.constant", LightManager::spotLights[i].GetBasePL()->GetConstant()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].base.linear", LightManager::spotLights[i].GetBasePL()->GetLinear()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].base.exponent", LightManager::spotLights[i].GetBasePL()->GetExponent()); shaderMain->SetFloat3("spotLights[" + std::to_string(i) + "].direction", LightManager::spotLights[i].GetDirection()); shaderMain->SetFloat("spotLights[" + std::to_string(i) + "].edge", LightManager::spotLights[i].GetEdge()); LightManager::spotLights[i].GetShadowMap()->ReadTexture(textureUnit + offset + i); shaderMain->SetInt("omniShadowMaps[" + std::to_string(offset + i) + "].shadowMap", textureUnit + offset + i); shaderMain->SetFloat("omniShadowMaps[" + std::to_string(offset + i) + "].farPlane", LightManager::spotLights[i].GetFarPlane()); } LightManager::directionalLight.GetShadowMap()->ReadTexture(scene->GetTextureSlots()["shadow"]); shaderMain->SetInt("albedoMap", scene->GetTextureSlots()["diffuse"]); shaderMain->SetInt("normalMap", scene->GetTextureSlots()["normal"]); if (scene->GetSettings().enableShadows) { shaderMain->SetInt("shadowMap", scene->GetTextureSlots()["shadow"]); } shaderMain->SetFloat4("clipPlane", glm::vec4(0.0f, -1.0f, 0.0f, -10000)); shaderMain->SetFloat("tilingFactor", 1.0f); shaderMain->Validate(); /**** END shaderMain ****/ /**** BEGIN shaderMarchingCubes ****/ H2M::RefH2M<MoravaShader> shaderMarchingCubes = RendererBasic::GetShaders()["marching_cubes"]; shaderMarchingCubes->Bind(); shaderMarchingCubes->SetMat4("model", glm::mat4(1.0f)); shaderMarchingCubes->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderMarchingCubes->SetMat4("projection", projectionMatrix); shaderMarchingCubes->SetFloat3("eyePosition", scene->GetCamera()->GetPosition()); // Directional Light shaderMarchingCubes->SetInt("directionalLight.base.enabled", LightManager::directionalLight.GetEnabled()); shaderMarchingCubes->SetFloat3("directionalLight.base.color", LightManager::directionalLight.GetColor()); shaderMarchingCubes->SetFloat("directionalLight.base.ambientIntensity", LightManager::directionalLight.GetAmbientIntensity()); shaderMarchingCubes->SetFloat("directionalLight.base.diffuseIntensity", LightManager::directionalLight.GetDiffuseIntensity()); shaderMarchingCubes->SetFloat3("directionalLight.direction", LightManager::directionalLight.GetDirection()); shaderMarchingCubes->SetMat4("dirLightTransform", LightManager::directionalLight.CalculateLightTransform()); // Point Lights textureUnit = scene->GetTextureSlots()["omniShadow"]; offset = 0; shaderMarchingCubes->SetInt("pointLightCount", LightManager::pointLightCount); for (int i = 0; i < (int)LightManager::pointLightCount; i++) { shaderMarchingCubes->SetInt("pointLights[" + std::to_string(i) + "].base.enabled", LightManager::pointLights[i].GetEnabled()); shaderMarchingCubes->SetFloat3("pointLights[" + std::to_string(i) + "].base.color", LightManager::pointLights[i].GetColor()); shaderMarchingCubes->SetFloat("pointLights[" + std::to_string(i) + "].base.ambientIntensity", LightManager::pointLights[i].GetAmbientIntensity()); shaderMarchingCubes->SetFloat("pointLights[" + std::to_string(i) + "].base.diffuseIntensity", LightManager::pointLights[i].GetDiffuseIntensity()); shaderMarchingCubes->SetFloat3("pointLights[" + std::to_string(i) + "].position", LightManager::pointLights[i].GetPosition()); shaderMarchingCubes->SetFloat("pointLights[" + std::to_string(i) + "].constant", LightManager::pointLights[i].GetConstant()); shaderMarchingCubes->SetFloat("pointLights[" + std::to_string(i) + "].linear", LightManager::pointLights[i].GetLinear()); shaderMarchingCubes->SetFloat("pointLights[" + std::to_string(i) + "].exponent", LightManager::pointLights[i].GetExponent()); LightManager::pointLights[i].GetShadowMap()->ReadTexture(textureUnit + offset + i); shaderMarchingCubes->SetInt("omniShadowMaps[" + std::to_string(offset + i) + "].shadowMap", textureUnit + offset + i); shaderMarchingCubes->SetFloat("omniShadowMaps[" + std::to_string(offset + i) + "].farPlane", LightManager::pointLights[i].GetFarPlane()); } // Spot Lights textureUnit = scene->GetTextureSlots()["omniShadow"]; offset = LightManager::pointLightCount; shaderMarchingCubes->SetInt("spotLightCount", LightManager::spotLightCount); for (int i = 0; i < (int)LightManager::spotLightCount; i++) { shaderMarchingCubes->SetInt("spotLights[" + std::to_string(i) + "].base.base.enabled", LightManager::spotLights[i].GetBasePL()->GetEnabled()); shaderMarchingCubes->SetFloat3("spotLights[" + std::to_string(i) + "].base.base.color", LightManager::spotLights[i].GetBasePL()->GetColor()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].base.base.ambientIntensity", LightManager::spotLights[i].GetBasePL()->GetAmbientIntensity()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].base.base.diffuseIntensity", LightManager::spotLights[i].GetBasePL()->GetDiffuseIntensity()); shaderMarchingCubes->SetFloat3("spotLights[" + std::to_string(i) + "].base.position", LightManager::spotLights[i].GetBasePL()->GetPosition()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].base.constant", LightManager::spotLights[i].GetBasePL()->GetConstant()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].base.linear", LightManager::spotLights[i].GetBasePL()->GetLinear()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].base.exponent", LightManager::spotLights[i].GetBasePL()->GetExponent()); shaderMarchingCubes->SetFloat3("spotLights[" + std::to_string(i) + "].direction", LightManager::spotLights[i].GetDirection()); shaderMarchingCubes->SetFloat("spotLights[" + std::to_string(i) + "].edge", LightManager::spotLights[i].GetEdge()); LightManager::spotLights[i].GetShadowMap()->ReadTexture(textureUnit + offset + i); shaderMarchingCubes->SetInt("omniShadowMaps[" + std::to_string(offset + i) + "].shadowMap", textureUnit + offset + i); shaderMarchingCubes->SetFloat("omniShadowMaps[" + std::to_string(offset + i) + "].farPlane", LightManager::spotLights[i].GetFarPlane()); } LightManager::directionalLight.GetShadowMap()->ReadTexture(scene->GetTextureSlots()["shadow"]); shaderMarchingCubes->SetInt("albedoMap", scene->GetTextureSlots()["diffuse"]); shaderMarchingCubes->SetInt("normalMap", scene->GetTextureSlots()["normal"]); if (scene->GetSettings().enableShadows) shaderMarchingCubes->SetInt("shadowMap", scene->GetTextureSlots()["shadow"]); shaderMarchingCubes->SetFloat4("clipPlane", glm::vec4(0.0f, -1.0f, 0.0f, -10000)); shaderMarchingCubes->SetFloat("tilingFactor", 1.0f); shaderMarchingCubes->Validate(); /**** END shaderMarchingCubes ****/ /**** BEGIN shaderRenderInstanced ****/ H2M::RefH2M<MoravaShader> shaderRenderInstanced = RendererBasic::GetShaders()["render_instanced"]; shaderRenderInstanced->Bind(); shaderRenderInstanced->SetMat4("projection", projectionMatrix); shaderRenderInstanced->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderRenderInstanced->SetFloat3("eyePosition", scene->GetCamera()->GetPosition()); // Directional Light shaderRenderInstanced->SetInt("directionalLight.base.enabled", LightManager::directionalLight.GetEnabled()); shaderRenderInstanced->SetFloat3("directionalLight.base.color", LightManager::directionalLight.GetColor()); shaderRenderInstanced->SetFloat("directionalLight.base.ambientIntensity", LightManager::directionalLight.GetAmbientIntensity()); shaderRenderInstanced->SetFloat("directionalLight.base.diffuseIntensity", LightManager::directionalLight.GetDiffuseIntensity()); shaderRenderInstanced->SetFloat3("directionalLight.direction", LightManager::directionalLight.GetDirection()); shaderRenderInstanced->SetFloat("material.specularIntensity", ResourceManager::s_MaterialSpecular); // TODO - use material attribute shaderRenderInstanced->SetFloat("material.shininess", ResourceManager::s_MaterialShininess); // TODO - use material attribute shaderRenderInstanced->SetFloat4("clipPlane", glm::vec4(0.0f, -1.0f, 0.0f, -10000)); shaderRenderInstanced->Validate(); /**** END shaderRenderInstanced ****/ /**** BEGIN shaderBasic ****/ H2M::RefH2M<MoravaShader> shaderBasic = RendererBasic::GetShaders()["basic"]; shaderBasic->Bind(); shaderBasic->SetMat4("projection", projectionMatrix); shaderBasic->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderBasic->Validate(); /**** END shaderBasic ****/ scene->GetSettings().enableCulling ? EnableCulling() : DisableCulling(); std::string passType = "main"; scene->Render(mainWindow, projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); // shaderMain->Unbind(); // shaderMarchingCubes->Unbind(); // shaderRenderInstanced->Unbind(); // shaderBasic->Unbind(); /**** BEGIN render water ****/ EnableTransparency(); H2M::RefH2M<MoravaShader> shaderWater = RendererBasic::GetShaders()["water"]; shaderWater->Bind(); RendererBasic::GetUniforms()["model"] = shaderWater->GetUniformLocation("model"); RendererBasic::GetUniforms()["projection"] = shaderWater->GetUniformLocation("projection"); RendererBasic::GetUniforms()["view"] = shaderWater->GetUniformLocation("view"); RendererBasic::GetUniforms()["reflectionTexture"] = shaderWater->GetUniformLocation("reflectionTexture"); RendererBasic::GetUniforms()["refractionTexture"] = shaderWater->GetUniformLocation("refractionTexture"); RendererBasic::GetUniforms()["dudvMap"] = shaderWater->GetUniformLocation("dudvMap"); RendererBasic::GetUniforms()["normalMap"] = shaderWater->GetUniformLocation("normalMap"); RendererBasic::GetUniforms()["depthMap"] = shaderWater->GetUniformLocation("depthMap"); RendererBasic::GetUniforms()["moveFactor"] = shaderWater->GetUniformLocation("moveFactor"); RendererBasic::GetUniforms()["cameraPosition"] = shaderWater->GetUniformLocation("cameraPosition"); RendererBasic::GetUniforms()["lightColor"] = shaderWater->GetUniformLocation("lightColor"); RendererBasic::GetUniforms()["lightPosition"] = shaderWater->GetUniformLocation("lightPosition"); RendererBasic::GetUniforms()["nearPlane"] = shaderWater->GetUniformLocation("nearPlane"); RendererBasic::GetUniforms()["farPlane"] = shaderWater->GetUniformLocation("farPlane"); shaderWater->SetMat4("model", glm::mat4(1.0f)); shaderWater->SetMat4("view", scene->GetCamera()->GetViewMatrix()); shaderWater->SetMat4("projection", projectionMatrix); scene->GetWaterManager()->GetRefractionFramebuffer()->GetDepthAttachment()->Bind(scene->GetTextureSlots()["depth"]); scene->GetTextures()["waterDuDv"]->Bind(scene->GetTextureSlots()["DuDv"]); shaderWater->SetFloat("nearPlane", scene->GetSettings().nearPlane); shaderWater->SetFloat("farPlane", scene->GetSettings().farPlane); shaderWater->SetInt("reflectionTexture", scene->GetTextureSlots()["reflection"]); shaderWater->SetInt("refractionTexture", scene->GetTextureSlots()["refraction"]); shaderWater->SetInt("normalMap", scene->GetTextureSlots()["normal"]); shaderWater->SetInt("depthMap", scene->GetTextureSlots()["depth"]); shaderWater->SetInt("dudvMap", scene->GetTextureSlots()["DuDv"]); shaderWater->SetFloat("moveFactor", scene->GetWaterManager()->GetWaterMoveFactor()); shaderWater->SetFloat3("cameraPosition", scene->GetCamera()->GetPosition()); shaderWater->SetFloat3("lightColor", LightManager::directionalLight.GetColor()); shaderWater->SetFloat3("lightPosition", LightManager::directionalLight.GetPosition()); shaderWater->Validate(); scene->GetSettings().enableCulling ? EnableCulling() : DisableCulling(); passType = "main"; scene->RenderWater(projectionMatrix, passType, RendererBasic::GetShaders(), RendererBasic::GetUniforms()); shaderWater->Unbind(); /**** END render water ****/ } void RendererVoxelTerrain::BeginFrame() { } void RendererVoxelTerrain::WaitAndRender(float deltaTime, Window* mainWindow, Scene* scene, glm::mat4 projectionMatrix) { { Profiler profiler("RVT::RenderPassShadow"); RenderPassShadow(mainWindow, scene, projectionMatrix); scene->GetProfilerResults()->insert(std::make_pair(profiler.GetName(), profiler.Stop())); } // RenderOmniShadows(mainWindow, scene, projectionMatrix); { Profiler profiler("RVT::RenderWaterEffects"); RenderWaterEffects(deltaTime, mainWindow, scene, projectionMatrix); } { Profiler profiler("RVT::RenderPass"); RenderPassMain(mainWindow, scene, projectionMatrix); scene->GetProfilerResults()->insert(std::make_pair(profiler.GetName(), profiler.Stop())); } }
54.962521
169
0.756005
imgui-works
9765c8a50f00e6b08d045ca6e3a456fb5457b036
7,725
cpp
C++
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
#include "HixConfig.h" #include "HixMQTT.h" #include "HixWebServer.h" #include "secret.h" #include <Arduino.h> #include <ArduinoOTA.h> #include <IRac.h> #include <IRrecv.h> #include <IRremoteESP8266.h> #include <IRtext.h> #include <IRutils.h> #include <ir_Samsung.h> // runtime global variables HixConfig g_config; HixWebServer g_webServer(g_config); HixMQTT g_mqtt(g_config, Secret::WIFI_SSID, Secret::WIFI_PWD, g_config.getMQTTServer(), g_config.getDeviceType(), g_config.getDeviceVersion(), g_config.getRoom(), g_config.getDeviceTag()); //hardware related IRSamsungAc g_IRTransmitter(D3); IRrecv g_IRReciever(D5, 1024, 40, true); //software global vars bool g_bACIsOn = false; ////////////////////////////////////////////////////////////////////////////////// // Helper functions ////////////////////////////////////////////////////////////////////////////////// void configureOTA() { Serial.println("Configuring OTA, my hostname:"); Serial.println(g_mqtt.getMqttClientName()); ArduinoOTA.setHostname(g_mqtt.getMqttClientName()); ArduinoOTA.setPort(8266); //setup handlers ArduinoOTA.onStart([]() { Serial.println("OTA -> Start"); }); ArduinoOTA.onEnd([]() { Serial.println("OTA -> End"); }); ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { Serial.printf("OTA -> Progress: %u%%\r", (progress / (total / 100))); }); ArduinoOTA.onError([](ota_error_t error) { Serial.printf("OTA -> Error[%u]: ", error); if (error == OTA_AUTH_ERROR) Serial.println("OTA -> Auth Failed"); else if (error == OTA_BEGIN_ERROR) Serial.println("OTA -> Begin Failed"); else if (error == OTA_CONNECT_ERROR) Serial.println("OTA -> Connect Failed"); else if (error == OTA_RECEIVE_ERROR) Serial.println("OTA -> Receive Failed"); else if (error == OTA_END_ERROR) Serial.println("OTA -> End Failed"); }); ArduinoOTA.begin(); } void resetWithMessage(const char * szMessage) { Serial.println(szMessage); delay(2000); ESP.reset(); } void printACState() { Serial.println("Samsung A/C remote is in the following state:"); Serial.printf(" %s\n", g_IRTransmitter.toString().c_str()); } void AC_On(int nTemperature) { Serial.print("AC ON to "); Serial.print(nTemperature); Serial.println(" C"); //to avoid detecting our own transmitted signal, switch off detector first g_IRReciever.disableIRIn(); //transmit our commands g_IRTransmitter.on(); g_IRTransmitter.setFan(kSamsungAcFanAuto); g_IRTransmitter.setMode(kSamsungAcAuto); g_IRTransmitter.setTemp(nTemperature); g_IRTransmitter.setSwing(true); g_IRTransmitter.send(); //re-enable our IR detector g_IRReciever.enableIRIn(); //keep our state g_bACIsOn = true; } void AC_Off(void) { Serial.print("AC OFF"); //to avoid detecting our own transmitted signal, switch off detector first g_IRReciever.disableIRIn(); //transmit our commands g_IRTransmitter.off(); g_IRTransmitter.send(); //re-enable our IR detector g_IRReciever.enableIRIn(); //keep our state g_bACIsOn = false; } void AC_toggle(int nTemperature) { if (g_bACIsOn) AC_Off(); else AC_On(nTemperature); } bool handleIRCommand(decode_results results) { switch (results.value) { //Telenet IR : play button case 0x48C6EAFF: AC_On(28); return true; //Telenet IR : pause button case 0xAA33049: AC_Off(); return true; default: Serial.print("Unrecognized code received "); Serial.println(resultToHexidecimal(&results)); } //nothing handled return false; } bool checkIR(void) { decode_results results; // Check if the IR code has been received. if (g_IRReciever.decode(&results)) { // Check if we got an IR message that was to big for our capture buffer. if (results.overflow) Serial.println("Error IR capture buffer overflow"); // Display the basic output of what we found. Serial.print("IR Received: "); Serial.println(resultToHexidecimal(&results)); //did find something! return handleIRCommand(results); } //return not found return false; } ////////////////////////////////////////////////////////////////////////////////// // Setup ////////////////////////////////////////////////////////////////////////////////// void setup() { //print startup config Serial.begin(115200); Serial.print(F("Startup ")); Serial.print(g_config.getDeviceType()); Serial.print(F(" ")); Serial.println(g_config.getDeviceVersion()); //disconnect WiFi -> seams to help for bug that after upload wifi does not want to connect again... Serial.println(F("Disconnecting WIFI")); WiFi.disconnect(); // configure MQTT Serial.println(F("Setting up MQTT")); if (!g_mqtt.begin()) resetWithMessage("MQTT allocation failed, resetting"); //setup SPIFFS Serial.println(F("Setting up SPIFFS")); if (!SPIFFS.begin()) resetWithMessage("SPIFFS initialization failed, resetting"); //setup the server Serial.println(F("Setting up web server")); g_webServer.begin(); //configure ir transmitter Serial.println("Setting up IR Transmitter"); g_IRTransmitter.begin(); //configure receiver Serial.println("Setting up IR Receiver"); g_IRReciever.setUnknownThreshold(12); g_IRReciever.enableIRIn(); //all done Serial.println("Setup complete"); //set to known state AC_Off(); } ////////////////////////////////////////////////////////////////////////////////// // Loop ////////////////////////////////////////////////////////////////////////////////// void loop() { //other loop functions g_mqtt.loop(); g_webServer.handleClient(); ArduinoOTA.handle(); //my own processing checkIR(); } ////////////////////////////////////////////////////////////////////////////////// // Required by the MQTT library ////////////////////////////////////////////////////////////////////////////////// void onConnectionEstablished() { //setup OTA if (g_config.getOTAEnabled()) { configureOTA(); } else { Serial.println("OTA is disabled"); } //publish values g_mqtt.publishDeviceValues(); g_mqtt.publishStatusValues(false, NULL); //register for ac temperature g_mqtt.subscribe(g_mqtt.topicForPath("subscribe/ac_temperature"), [](const String & payload) { g_config.setACTemperature(payload.toInt()); g_config.commitToEEPROM(); g_mqtt.publishDeviceValues(); if (g_bACIsOn) { AC_On(g_config.getACTemperature()); } }); //ACC on g_mqtt.subscribe(g_mqtt.topicForPath("subscribe/ac_on"), [](const String & payload) { AC_On(g_config.getACTemperature()); g_mqtt.publishStatusValues(g_bACIsOn, NULL); }); //ACC off g_mqtt.subscribe(g_mqtt.topicForPath("subscribe/ac_off"), [](const String & payload) { AC_Off(); g_mqtt.publishStatusValues(g_bACIsOn, NULL); }); //ACC toggle g_mqtt.subscribe(g_mqtt.topicForPath("subscribe/ac_toggle"), [](const String & payload) { AC_toggle(g_config.getACTemperature()); g_mqtt.publishStatusValues(g_bACIsOn, NULL); }); //RAW IR send g_mqtt.subscribe(g_mqtt.topicForPath("subscribe/send_raw_ir"), [](const String & payload) { Serial.println("Not implemtned yet send_raw_ir"); }); }
31.024096
103
0.590421
hixfield
9766e69a3f35868c1e6305d430e86f975943c091
451
cpp
C++
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace Transport { TransportEventSource const trace; Common::TextTraceComponent<Common::TraceTaskCodes::Transport> textTrace; }
32.214286
98
0.547672
vishnuk007
9767dfb1a725fa9ae232f2c9e57b067c1937a06b
1,482
cpp
C++
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
#include "gtest/gtest.h" #include <fstream> #include <hypro/datastructures/HybridAutomaton/HybridAutomaton.h> #include <hypro/datastructures/reachability/Settings.h> #include <hypro/parser/antlr4-flowstar/ParserWrapper.h> TEST( ParserTest, ParseAutomaton ) { using namespace hypro; // create model-file. std::ofstream file( "/tmp/automaton.model" ); #include "models/automaton.h" file << autString; file.close(); // test content std::string filename = "/tmp/automaton.model"; std::pair<HybridAutomaton<mpq_class>, ReachabilitySettings> parseResult = parseFlowstarFile<mpq_class>( filename ); ReachabilitySettings settings = parseResult.second; HybridAutomaton<mpq_class> automaton = parseResult.first; EXPECT_EQ( unsigned( 3 ), automaton.getLocations().size() ); EXPECT_EQ( unsigned( 3 ), automaton.getTransitions().size() ); } TEST( ParserTest, ParseAutomaton_2 ) { using namespace hypro; // create model-file. std::ofstream file( "/tmp/automaton_2.model" ); #include "models/automaton_2.h" file << autString; file.close(); // test content std::string filename = "/tmp/automaton_2.model"; std::pair<HybridAutomaton<mpq_class>, ReachabilitySettings> parseResult = parseFlowstarFile<mpq_class>( filename ); ReachabilitySettings settings = parseResult.second; HybridAutomaton<mpq_class> automaton = parseResult.first; EXPECT_EQ( unsigned( 2 ), automaton.getLocations().size() ); EXPECT_EQ( unsigned( 3 ), automaton.getTransitions().size() ); }
28.5
116
0.751687
hypro
976c4149789956fee078a3de90d99e6043886fad
416
cpp
C++
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
/* * Created by * Shivani Bhardwaj <[email protected]> */ #include<iostream> #define MOD 1000007 using namespace std; int main() { int T; uint64_t N,r,s; cin>>T; while(T--) { cin>>N; r=N*(N+1); r%=MOD; s=N*(N-1); s/=2; s%=MOD; r+=s; r%=MOD; cout<<r<<"\n"; } }
14.857143
44
0.377404
shivanib01
9774dcb1f5bcf2b97467e4ec34013ab6e8306940
7,165
cpp
C++
Samples/NodeEditor/Font/FontGen.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2010 Charlie C. Contributor(s): none yet. ------------------------------------------------------------------------------- This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. ------------------------------------------------------------------------------- */ #include <wx/app.h> #include <wx/image.h> #include <wx/menu.h> #include <wx/panel.h> #include <wx/dcclient.h> #include <wx/sizer.h> #include <wx/fontdlg.h> #include <wx/statbox.h> #include <wx/button.h> #include <wx/filedlg.h> #include <wx/font.h> #include <wx/dialog.h> #include <wx/dcmemory.h> #include <wx/bitmap.h> #include <wx/image.h> #include <wx/font.h> #include <wx/gauge.h> #include <wx/spinctrl.h> #include <wx/checkbox.h> #include <vector> #define CHARBEG 32 #define CHAREND 127 #define TOT (CHAREND - CHARBEG) #define ID_FONT 10002 #define ID_SFONT 10003 #define SIZEX 255 #define SIZEY 72 #define PAD 20 #define PADS 10 static int pow2( int n ) { --n; n |= n >> 16; n |= n >> 8; n |= n >> 4; n |= n >> 2; n |= n >> 1; ++n; return n; } static bool SAVE_IMA = false; static wxString NAME = wxT( "" ); typedef struct wxTextExtents { float width, height; } wxTextExtents; typedef struct wxCharacter { float xco, yco; float width, height; } wxCharacter; class wxGLFont { public: typedef std::vector<wxCharacter*> CharacterVector; public: wxGLFont( const wxFont& font, int size ); ~wxGLFont(); void Save( const wxString& out ); private: void Create(); void Destory(); unsigned char* m_imaData; wxPoint FindSize( int res ); int m_offset, m_maxChar; float m_width, m_height; float m_baseHeight; float m_baseWidth; wxCoord m_res; wxFont m_font; CharacterVector m_chars; }; wxGLFont::wxGLFont( const wxFont& font, int size ) { m_imaData = 0; m_offset = 0; m_width = 2; m_height = 2; m_baseHeight = 2; m_res = size; m_font = font; Create(); } wxGLFont::~wxGLFont() { Destory(); } void wxGLFont::Destory() { if ( m_imaData ) delete [] m_imaData; m_imaData = 0; for ( wxGLFont::CharacterVector::iterator it = m_chars.begin(); it != m_chars.end(); ++it ) delete ( *it ); m_chars.clear(); } wxPoint wxGLFont::FindSize( int res ) { wxMemoryDC dc; m_font.SetPointSize( res ); dc.SetFont( m_font ); wxCoord w, h; wxCoord mw = 0.0, mh = 0.0; wxCoord pad = 5; for ( size_t i = CHARBEG; i < CHAREND; i++ ) { wxString str( ( wxChar )i ); dc.GetTextExtent( str, &w, &h ); mw = wxMax( w, mw ); mh = wxMax( h, mh ); } wxCoord r = ( mw + pad ) * ( mh + pad ) * TOT; wxCoord t = ( wxCoord )sqrtf( ( float )r ); t += wxMax( mw, mh ); wxCoord p = pow2( t ); wxCoord wi = p, he = p; if ( p* p * 0.5 >= r ) he = p * 0.5; return wxPoint( wi, he ); } void wxGLFont::Create() { Destory(); wxCoord padding = 5; wxPoint pt = FindSize( m_res ); m_width = pt.x; m_height = pt.y; wxMemoryDC dc; wxBitmap bitmap( m_width, m_height ); dc.SelectObject( bitmap ); m_font.SetPointSize( m_res ); dc.SetBackground( wxColour( 0, 0, 0, 0 ) ); dc.Clear(); dc.SetFont( m_font ); dc.SetTextForeground( wxColour( 0xFFFFFF ) ); wxCoord xpos = 0, ypos = 0; for ( size_t i = CHARBEG; i < CHAREND; i++ ) { wxString str( ( wxChar )i ); wxCharacter* ch = new wxCharacter; ch->xco = ch->yco = 0; ch->width = ch->height = 0; m_chars.push_back( ch ); wxCoord w, h; dc.GetTextExtent( str, &w, &h ); ch->xco = xpos; ch->yco = ypos; ch->width = w; ch->height = h; m_baseHeight = wxMax( m_baseHeight, h ); m_baseWidth = wxMax( m_baseWidth, w ); /* next char */ dc.DrawText( str, xpos, ypos ); xpos += ( w + padding ); if ( ( xpos + ( w + padding ) ) > ( m_width - m_res ) ) { xpos = 0; ypos += ( h + padding ); } } wxImage ima = bitmap.ConvertToImage(); if ( SAVE_IMA ) { wxString tname = NAME; tname.Replace( wxT( ".font" ), wxT( "" ) ); tname = wxString::Format( wxT( "%s%i.png" ), tname, m_res ); ima.SaveFile( tname ); } int size = m_width * m_height; m_imaData = new unsigned char[size]; unsigned char* pixels = ima.GetData(); /* convert to alpha */ for ( int y = 0; y < m_height; y++ ) { for ( int x = 0; x < m_width; x++ ) { int in = ( y * m_width + x ) * 3; int out = ( y * m_width + x ); /* just take red */ m_imaData[out+0] = pixels[in]; } } } void wxGLFont::Save( const wxString& out ) { // save to C++ compile-able file } class FontFrame : public wxDialog { public: FontFrame(); virtual ~FontFrame(); void initialize(); void OnQuit( wxCloseEvent& evt ); void OnSelectFont( wxCommandEvent& evt ); class wxGLFont* m_font; wxSpinButton* m_resGetter; int mRes; DECLARE_EVENT_TABLE(); }; FontFrame::FontFrame() : wxDialog( NULL, wxID_ANY, wxT( "Font Generator" ), wxDefaultPosition, wxSize( SIZEX, SIZEY ), wxDEFAULT_DIALOG_STYLE ) { SetMinSize( wxSize( SIZEX, SIZEY ) ); m_font = 0; m_resGetter = 0; } FontFrame::~FontFrame() { if ( m_font != 0 ) { delete m_font; m_font = 0; } } void FontFrame::initialize() { Show( true ); wxSizer* sizer = new wxBoxSizer( wxHORIZONTAL ); sizer->SetMinSize( wxSize( SIZEY * 2, SIZEY ) ); wxButton* button = new wxButton( this, ID_FONT, "Select Font:" ); sizer->Add( button, wxSizerFlags(0).Align(wxCENTER).Border(wxALL, 10)); SetSizer( sizer ); sizer->SetSizeHints( this ); } void FontFrame::OnQuit( wxCloseEvent& evt ) { Destroy(); } void FontFrame::OnSelectFont( wxCommandEvent& evt ) { wxFontDialog dlg( this ); if ( dlg.ShowModal() == wxID_OK ) { wxFont font = dlg.GetFontData().GetChosenFont(); if ( font.IsOk() ) { wxFileDialog dlg( this, wxT( "Save Font File" ), wxT( "" ), wxT( "" ), wxT( "C++ Font files (*.inl)|*.inl" ) ); if ( dlg.ShowModal() == wxID_OK ) { wxGLFont out(font, font.GetPointSize()); out.Save(dlg.GetPath()); } } } } BEGIN_EVENT_TABLE( FontFrame, wxDialog ) EVT_CLOSE( FontFrame::OnQuit ) EVT_BUTTON( ID_FONT, FontFrame::OnSelectFont ) END_EVENT_TABLE() class Application : public wxApp { public: bool OnInit() { wxInitAllImageHandlers(); FontFrame* app = new FontFrame(); app->initialize(); return true; } }; IMPLEMENT_APP( Application );
18.61039
119
0.619958
gamekit-developers
9777594691a8ea3733d7cb02e2b1ca29e91db8e3
22,146
cpp
C++
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Chalico_Character_BP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function Chalico_Character_BP.Chalico_Character_BP_C.BPOnAnimPlayedNotify // () // Parameters: // class UAnimMontage** AnimMontage (Parm, ZeroConstructor, IsPlainOldData) // float* InPlayRate (Parm, ZeroConstructor, IsPlainOldData) // struct FName* StartSectionName (Parm, ZeroConstructor, IsPlainOldData) // bool* bReplicate (Parm, ZeroConstructor, IsPlainOldData) // bool* bReplicateToOwner (Parm, ZeroConstructor, IsPlainOldData) // bool* bForceTickPoseAndServerUpdateMesh (Parm, ZeroConstructor, IsPlainOldData) // bool* bForceTickPoseOnServer (Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::BPOnAnimPlayedNotify(class UAnimMontage** AnimMontage, float* InPlayRate, struct FName* StartSectionName, bool* bReplicate, bool* bReplicateToOwner, bool* bForceTickPoseAndServerUpdateMesh, bool* bForceTickPoseOnServer) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPOnAnimPlayedNotify"); AChalico_Character_BP_C_BPOnAnimPlayedNotify_Params params; params.AnimMontage = AnimMontage; params.InPlayRate = InPlayRate; params.StartSectionName = StartSectionName; params.bReplicate = bReplicate; params.bReplicateToOwner = bReplicateToOwner; params.bForceTickPoseAndServerUpdateMesh = bForceTickPoseAndServerUpdateMesh; params.bForceTickPoseOnServer = bForceTickPoseOnServer; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BlueprintCanAttack // () // Parameters: // int* AttackIndex (Parm, ZeroConstructor, IsPlainOldData) // float* Distance (Parm, ZeroConstructor, IsPlainOldData) // float* attackRangeOffset (Parm, ZeroConstructor, IsPlainOldData) // class AActor** OtherTarget (Parm, ZeroConstructor, IsPlainOldData) // bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData) bool AChalico_Character_BP_C::BlueprintCanAttack(int* AttackIndex, float* Distance, float* attackRangeOffset, class AActor** OtherTarget) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BlueprintCanAttack"); AChalico_Character_BP_C_BlueprintCanAttack_Params params; params.AttackIndex = AttackIndex; params.Distance = Distance; params.attackRangeOffset = attackRangeOffset; params.OtherTarget = OtherTarget; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; return params.ReturnValue; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CheckForNewBiome // () void AChalico_Character_BP_C::CheckForNewBiome() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CheckForNewBiome"); AChalico_Character_BP_C_CheckForNewBiome_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.SelectMudMesh // () void AChalico_Character_BP_C::SelectMudMesh() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.SelectMudMesh"); AChalico_Character_BP_C_SelectMudMesh_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.HasConflictWithAI // () // Parameters: // bool NewParam (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::HasConflictWithAI(bool* NewParam) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.HasConflictWithAI"); AChalico_Character_BP_C_HasConflictWithAI_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (NewParam != nullptr) *NewParam = params.NewParam; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CanLookForChalicos // () // Parameters: // bool canLook (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::CanLookForChalicos(bool* canLook) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CanLookForChalicos"); AChalico_Character_BP_C_CanLookForChalicos_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (canLook != nullptr) *canLook = params.canLook; } // Function Chalico_Character_BP.Chalico_Character_BP_C.DeactivateThrowMode // () void AChalico_Character_BP_C::DeactivateThrowMode() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.DeactivateThrowMode"); AChalico_Character_BP_C_DeactivateThrowMode_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.ReactToMudHit // () // Parameters: // class AActor* Instigator (Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::ReactToMudHit(class AActor* Instigator) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.ReactToMudHit"); AChalico_Character_BP_C_ReactToMudHit_Params params; params.Instigator = Instigator; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.Is FriendlyTarget in Range // () // Parameters: // class AActor* mudTarget (Parm, ZeroConstructor, IsPlainOldData) // bool canUseMud (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::Is_FriendlyTarget_in_Range(class AActor* mudTarget, bool* canUseMud) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.Is FriendlyTarget in Range"); AChalico_Character_BP_C_Is_FriendlyTarget_in_Range_Params params; params.mudTarget = mudTarget; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (canUseMud != nullptr) *canUseMud = params.canUseMud; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CanThrowMud // () // Parameters: // class AActor* mudTarget (Parm, ZeroConstructor, IsPlainOldData) // bool canThrow (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::CanThrowMud(class AActor* mudTarget, bool* canThrow) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CanThrowMud"); AChalico_Character_BP_C_CanThrowMud_Params params; params.mudTarget = mudTarget; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (canThrow != nullptr) *canThrow = params.canThrow; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CanStandUp // () // Parameters: // bool canStand (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::CanStandUp(bool* canStand) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CanStandUp"); AChalico_Character_BP_C_CanStandUp_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (canStand != nullptr) *canStand = params.canStand; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BPPreventRiding // () // Parameters: // class AShooterCharacter** ByPawn (Parm, ZeroConstructor, IsPlainOldData) // bool* bDontCheckDistance (Parm, ZeroConstructor, IsPlainOldData) // bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData) bool AChalico_Character_BP_C::BPPreventRiding(class AShooterCharacter** ByPawn, bool* bDontCheckDistance) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPPreventRiding"); AChalico_Character_BP_C_BPPreventRiding_Params params; params.ByPawn = ByPawn; params.bDontCheckDistance = bDontCheckDistance; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; return params.ReturnValue; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BPGetMultiUseEntries // (NetReliable, NetRequest, Exec, Native, Event, NetResponse, Static, NetMulticast, Public, Private, NetServer, HasOutParms, DLLImport, BlueprintCallable, BlueprintEvent, BlueprintPure) // Parameters: // class APlayerController** ForPC (Parm, ZeroConstructor, IsPlainOldData) // TArray<struct FMultiUseEntry> MultiUseEntries (Parm, OutParm, ZeroConstructor, ReferenceParm) // TArray<struct FMultiUseEntry> ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm) TArray<struct FMultiUseEntry> AChalico_Character_BP_C::STATIC_BPGetMultiUseEntries(class APlayerController** ForPC, TArray<struct FMultiUseEntry>* MultiUseEntries) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPGetMultiUseEntries"); AChalico_Character_BP_C_BPGetMultiUseEntries_Params params; params.ForPC = ForPC; auto flags = fn->FunctionFlags; fn->FunctionFlags |= 0x400; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (MultiUseEntries != nullptr) *MultiUseEntries = params.MultiUseEntries; return params.ReturnValue; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BPTryMultiUse // () // Parameters: // class APlayerController** ForPC (Parm, ZeroConstructor, IsPlainOldData) // int* UseIndex (Parm, ZeroConstructor, IsPlainOldData) // bool ReturnValue (Parm, OutParm, ZeroConstructor, ReturnParm, IsPlainOldData) bool AChalico_Character_BP_C::BPTryMultiUse(class APlayerController** ForPC, int* UseIndex) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPTryMultiUse"); AChalico_Character_BP_C_BPTryMultiUse_Params params; params.ForPC = ForPC; params.UseIndex = UseIndex; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; return params.ReturnValue; } // Function Chalico_Character_BP.Chalico_Character_BP_C.ShouldStandUp // () // Parameters: // bool standUp (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::ShouldStandUp(bool* standUp) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.ShouldStandUp"); AChalico_Character_BP_C_ShouldStandUp_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (standUp != nullptr) *standUp = params.standUp; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BPTimerServer // () void AChalico_Character_BP_C::BPTimerServer() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPTimerServer"); AChalico_Character_BP_C_BPTimerServer_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CanSitDown // () // Parameters: // bool canSit (Parm, OutParm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::CanSitDown(bool* canSit) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CanSitDown"); AChalico_Character_BP_C_CanSitDown_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; if (canSit != nullptr) *canSit = params.canSit; } // Function Chalico_Character_BP.Chalico_Character_BP_C.Look for Chalicos // (NetReliable, Native, NetResponse, Public, Private, NetServer, HasOutParms, DLLImport, BlueprintCallable, BlueprintEvent, BlueprintPure) void AChalico_Character_BP_C::Look_for_Chalicos() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.Look for Chalicos"); AChalico_Character_BP_C_Look_for_Chalicos_Params params; auto flags = fn->FunctionFlags; fn->FunctionFlags |= 0x400; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.UserConstructionScript // () void AChalico_Character_BP_C::UserConstructionScript() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.UserConstructionScript"); AChalico_Character_BP_C_UserConstructionScript_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BlueprintAnimNotifyCustomEvent // () // Parameters: // struct FName* CustomEventName (Parm, ZeroConstructor, IsPlainOldData) // class USkeletalMeshComponent** MeshComp (Parm, ZeroConstructor, IsPlainOldData) // class UAnimSequenceBase** Animation (Parm, ZeroConstructor, IsPlainOldData) // class UAnimNotify** AnimNotifyObject (ConstParm, Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::BlueprintAnimNotifyCustomEvent(struct FName* CustomEventName, class USkeletalMeshComponent** MeshComp, class UAnimSequenceBase** Animation, class UAnimNotify** AnimNotifyObject) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BlueprintAnimNotifyCustomEvent"); AChalico_Character_BP_C_BlueprintAnimNotifyCustomEvent_Params params; params.CustomEventName = CustomEventName; params.MeshComp = MeshComp; params.Animation = Animation; params.AnimNotifyObject = AnimNotifyObject; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.standUp // () void AChalico_Character_BP_C::standUp() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.standUp"); AChalico_Character_BP_C_standUp_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.TrySittingDown // () void AChalico_Character_BP_C::TrySittingDown() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.TrySittingDown"); AChalico_Character_BP_C_TrySittingDown_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.TryStandingUp // () void AChalico_Character_BP_C::TryStandingUp() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.TryStandingUp"); AChalico_Character_BP_C_TryStandingUp_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.SetChalicoFocus // () // Parameters: // class AActor* NewFocus (Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::SetChalicoFocus(class AActor* NewFocus) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.SetChalicoFocus"); AChalico_Character_BP_C_SetChalicoFocus_Params params; params.NewFocus = NewFocus; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.ClearChalicoFocus // () void AChalico_Character_BP_C::ClearChalicoFocus() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.ClearChalicoFocus"); AChalico_Character_BP_C_ClearChalicoFocus_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.StartMudThrow // () // Parameters: // class AActor* Target (Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::StartMudThrow(class AActor* Target) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.StartMudThrow"); AChalico_Character_BP_C_StartMudThrow_Params params; params.Target = Target; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.CloseRetaliation // () void AChalico_Character_BP_C::CloseRetaliation() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.CloseRetaliation"); AChalico_Character_BP_C_CloseRetaliation_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.TryThrowMud // () void AChalico_Character_BP_C::TryThrowMud() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.TryThrowMud"); AChalico_Character_BP_C_TryThrowMud_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.OnSittingEvent // () void AChalico_Character_BP_C::OnSittingEvent() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.OnSittingEvent"); AChalico_Character_BP_C_OnSittingEvent_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.OnThrowMudEvent // () void AChalico_Character_BP_C::OnThrowMudEvent() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.OnThrowMudEvent"); AChalico_Character_BP_C_OnThrowMudEvent_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.ReceiveBeginPlay // () void AChalico_Character_BP_C::ReceiveBeginPlay() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.ReceiveBeginPlay"); AChalico_Character_BP_C_ReceiveBeginPlay_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.BPUnstasis // () void AChalico_Character_BP_C::BPUnstasis() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.BPUnstasis"); AChalico_Character_BP_C_BPUnstasis_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.SitDown // () void AChalico_Character_BP_C::SitDown() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.SitDown"); AChalico_Character_BP_C_SitDown_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.QuickLoadSitState // () void AChalico_Character_BP_C::QuickLoadSitState() { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.QuickLoadSitState"); AChalico_Character_BP_C_QuickLoadSitState_Params params; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } // Function Chalico_Character_BP.Chalico_Character_BP_C.ExecuteUbergraph_Chalico_Character_BP // () // Parameters: // int EntryPoint (Parm, ZeroConstructor, IsPlainOldData) void AChalico_Character_BP_C::ExecuteUbergraph_Chalico_Character_BP(int EntryPoint) { static auto fn = UObject::FindObject<UFunction>("Function Chalico_Character_BP.Chalico_Character_BP_C.ExecuteUbergraph_Chalico_Character_BP"); AChalico_Character_BP_C_ExecuteUbergraph_Chalico_Character_BP_Params params; params.EntryPoint = EntryPoint; auto flags = fn->FunctionFlags; UObject::ProcessEvent(fn, &params); fn->FunctionFlags = flags; } } #ifdef _MSC_VER #pragma pack(pop) #endif
30.336986
249
0.745372
2bite
97807f636c765e316cc56cf2d2e3b4a9bb38ee1c
303
cpp
C++
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS //Eigen won't work otherwise. #endif #define MACKEY_USE_OPEN_MP #include "Groups/C4.hpp" #include "impl/Test_Massey.ipp" int main() { mackey::test::test_Massey<C4<Eigen::Matrix<short, 1, -1>, Eigen::SparseMatrix<short>>>(); return 0; }
23.307692
90
0.755776
NickG-Math
97845eee4bcfc72dfc283f98c4fb2bb1682db878
1,942
cc
C++
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
10
2018-12-26T23:08:40.000Z
2021-02-04T23:22:01.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
40
2018-12-15T21:10:04.000Z
2021-07-29T06:21:22.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
6
2018-12-15T20:46:19.000Z
2020-11-27T09:39:34.000Z
// %bin(thrust_stand_control_test_balsaq_main) #include "control/test_stand/thrust_stand_control_test_bq.hh" #include "infrastructure/balsa_queue/bq_main_macro.hh" // %deps(yaml-cpp) #include <cassert> namespace jet { namespace control { namespace { // Generate a servo command from the pre-ordained yaml format QuadraframeStatus servo_commands_from_angle_list(const YAML::Node& yml_node) { QuadraframeStatus status; status.servo_0_angle_rad = yml_node[0].as<double>(); status.servo_1_angle_rad = yml_node[1].as<double>(); status.servo_2_angle_rad = yml_node[2].as<double>(); status.servo_3_angle_rad = yml_node[3].as<double>(); return status; } } // namespace void ThrustStandControlTestBq::init(const Config& config) { // // Read configuration // for (const auto& command : config["commands"]) { const auto qframe_status = servo_commands_from_angle_list(command); command_sequence_.push_back(qframe_status); } assert(!command_sequence_.empty()); // // Set up IPC // servo_pub_ = make_publisher("servo_command_channel"); } void ThrustStandControlTestBq::loop() { // // Manage location in the command sequence // command_index_ += 1; if (command_index_ % 500 == 0) { std::cout << "Issuing command: " << command_index_ << std::endl; } const int max_command_index = static_cast<int>(command_sequence_.size()) - 1; if (command_index_ > max_command_index) { std::cout << "Restarting command sequence" << std::endl; command_index_ = 0; } // // Issue commands // const auto target_qframe_status = command_sequence_.at(command_index_); SetServoMessage servo_message = create_servo_command(target_qframe_status); // TODO: Is this method truly non-const? servo_pub_->publish(servo_message); } void ThrustStandControlTestBq::shutdown() { } } // namespace control } // namespace jet BALSA_QUEUE_MAIN_FUNCTION(jet::control::ThrustStandControlTestBq)
25.552632
79
0.730175
sentree
9787da1e44fe4e2ac444c1fcae16a13f17576eaf
20,998
cpp
C++
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) 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. //========================================================================= #include "ccm/core/AutoLock.h" #include "ccm/core/CoreUtils.h" #include "ccm/core/CStringBuilder.h" #include "ccm/core/StringUtils.h" #include "ccm/text/DateFormat.h" #include "ccm/util/CHashMap.h" #include "ccm/util/CLocale.h" #include "ccm.core.ICharSequence.h" #include "ccm.text.IDateFormat.h" #include "libcore/icu/ICU.h" #include "libcore/icu/LocaleData.h" #include <ccmlogger.h> using ccm::core::AutoLock; using ccm::core::CoreUtils; using ccm::core::CStringBuilder; using ccm::core::E_ASSERTION_ERROR; using ccm::core::E_NULL_POINTER_EXCEPTION; using ccm::core::ICharSequence; using ccm::core::IID_IStringBuilder; using ccm::core::IStringBuilder; using ccm::core::StringUtils; using ccm::text::DateFormat; using ccm::text::IDateFormat; using ccm::util::CHashMap; using ccm::util::CLocale; using ccm::util::IID_IHashMap; namespace libcore { namespace icu { static AutoPtr<IHashMap> CreateHashMap() { AutoPtr<IHashMap> map; CHashMap::New(IID_IHashMap, (IInterface**)&map); return map; } AutoPtr<IHashMap> LocaleData::GetLocaleDataCache() { static AutoPtr<IHashMap> sLocaleDataCache = CreateHashMap(); return sLocaleDataCache; } Boolean LocaleData::StaticInitialize() { GetInner(CLocale::GetROOT(), nullptr); GetInner(CLocale::GetUS(), nullptr); GetInner(CLocale::GetDefault(), nullptr); return true; } CCM_INTERFACE_IMPL_1(LocaleData, SyncObject, ILocaleData); AutoPtr<ILocale> LocaleData::MapInvalidAndNullLocales( /* [in] */ ILocale* locale) { if (locale == nullptr) { return CLocale::GetDefault(); } String language; locale->ToLanguageTag(&language); if (language.Equals("und")) { return CLocale::GetROOT(); } return locale; } ECode LocaleData::Get( /* [in] */ ILocale* locale, /* [out] */ ILocaleData** data) { VALIDATE_NOT_NULL(data); static Boolean initialize = StaticInitialize(); return GetInner(locale, data); } ECode LocaleData::GetInner( /* [in] */ ILocale* locale, /* [out] */ ILocaleData** data) { if (locale == nullptr) { Logger::E("LocaleData", "locale == null"); return E_NULL_POINTER_EXCEPTION; } String languageTag; locale->ToLanguageTag(&languageTag); AutoPtr<IHashMap> localeDataCache = GetLocaleDataCache(); { AutoLock lock(ISynchronize::Probe(localeDataCache)); AutoPtr<ILocaleData> localeData; localeDataCache->Get(CoreUtils::Box(languageTag), (IInterface**)&localeData); if (localeData != nullptr && data != nullptr) { localeData.MoveTo(data); return NOERROR; } } AutoPtr<ILocaleData> newLocaleData; FAIL_RETURN(InitLocaleData(locale, &newLocaleData)); { AutoLock lock(ISynchronize::Probe(localeDataCache)); AutoPtr<ICharSequence> key = CoreUtils::Box(languageTag); AutoPtr<ILocaleData> localeData; localeDataCache->Get(key, (IInterface**)&localeData); if (localeData != nullptr && data != nullptr) { localeData.MoveTo(data); return NOERROR; } localeDataCache->Put(key, newLocaleData); if (data != nullptr) { newLocaleData.MoveTo(data); } return NOERROR; } } ECode LocaleData::ToString( /* [out] */ String* desc) { VALIDATE_NOT_NULL(desc); AutoPtr<IStringBuilder> sb; CStringBuilder::New(IID_IStringBuilder, (IInterface**)&sb); sb->Append(String("LocaleData[")); sb->Append(String("mFirstDayOfWeek=")); sb->Append(Object::ToString(mFirstDayOfWeek)); sb->Append(String(",mMinimalDaysInFirstWeek=")); sb->Append(Object::ToString(mMinimalDaysInFirstWeek)); sb->Append(String(",mAmPm=(")); for (Long i = 0; i < mAmPm.GetLength(); i++) { sb->Append(mAmPm[i]); if (i != mAmPm.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mEras=(")); for (Long i = 0; i < mEras.GetLength(); i++) { sb->Append(mEras[i]); if (i != mEras.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mLongMonthNames=(")); for (Long i = 0; i < mLongMonthNames.GetLength(); i++) { sb->Append(mLongMonthNames[i]); if (i != mLongMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mShortMonthNames=(")); for (Long i = 0; i < mShortMonthNames.GetLength(); i++) { sb->Append(mShortMonthNames[i]); if (i != mShortMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mTinyMonthNames=(")); for (Long i = 0; i < mTinyMonthNames.GetLength(); i++) { sb->Append(mTinyMonthNames[i]); if (i != mTinyMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mLongStandAloneMonthNames=(")); for (Long i = 0; i < mLongStandAloneMonthNames.GetLength(); i++) { sb->Append(mLongStandAloneMonthNames[i]); if (i != mLongStandAloneMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mShortStandAloneMonthNames=(")); for (Long i = 0; i < mShortStandAloneMonthNames.GetLength(); i++) { sb->Append(mShortStandAloneMonthNames[i]); if (i != mShortStandAloneMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mTinyStandAloneMonthNames=(")); for (Long i = 0; i < mTinyStandAloneMonthNames.GetLength(); i++) { sb->Append(mTinyStandAloneMonthNames[i]); if (i != mTinyStandAloneMonthNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mLongWeekdayNames=(")); for (Long i = 0; i < mLongWeekdayNames.GetLength(); i++) { sb->Append(mLongWeekdayNames[i]); if (i != mLongWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mShortWeekdayNames=(")); for (Long i = 0; i < mShortWeekdayNames.GetLength(); i++) { sb->Append(mShortWeekdayNames[i]); if (i != mShortWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mTinyWeekdayNames=(")); for (Long i = 0; i < mTinyWeekdayNames.GetLength(); i++) { sb->Append(mTinyWeekdayNames[i]); if (i != mTinyWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mLongStandAloneWeekdayNames=(")); for (Long i = 0; i < mLongStandAloneWeekdayNames.GetLength(); i++) { sb->Append(mLongStandAloneWeekdayNames[i]); if (i != mLongStandAloneWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mShortStandAloneWeekdayNames=(")); for (Long i = 0; i < mShortStandAloneWeekdayNames.GetLength(); i++) { sb->Append(mShortStandAloneWeekdayNames[i]); if (i != mShortStandAloneWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mTinyStandAloneWeekdayNames=(")); for (Long i = 0; i < mTinyStandAloneWeekdayNames.GetLength(); i++) { sb->Append(mTinyStandAloneWeekdayNames[i]); if (i != mTinyStandAloneWeekdayNames.GetLength() - 1) { sb->Append(U','); } } sb->Append(U')'); sb->Append(String(",mYesterday=")); sb->Append(mYesterday); sb->Append(String(",mToday=")); sb->Append(mToday); sb->Append(String(",mTomorrow=")); sb->Append(mTomorrow); sb->Append(String(",mFullTimeFormat=")); sb->Append(mFullTimeFormat); sb->Append(String(",mLongTimeFormat=")); sb->Append(mLongTimeFormat); sb->Append(String(",mMediumTimeFormat=")); sb->Append(mMediumTimeFormat); sb->Append(String(",mShortTimeFormat=")); sb->Append(mShortTimeFormat); sb->Append(String(",mFullDateFormat=")); sb->Append(mFullDateFormat); sb->Append(String(",mLongDateFormat=")); sb->Append(mLongDateFormat); sb->Append(String(",mMediumDateFormat=")); sb->Append(mMediumDateFormat); sb->Append(String(",mShortDateFormat=")); sb->Append(mShortDateFormat); sb->Append(String(",mNarrowAm=")); sb->Append(mNarrowAm); sb->Append(String(",mNarrowPm=")); sb->Append(mNarrowPm); sb->Append(String(",mTimeFormat_hm=")); sb->Append(mTimeFormat_hm); sb->Append(String(",mTimeFormat_Hm=")); sb->Append(mTimeFormat_Hm); sb->Append(String(",mTimeFormat_hms=")); sb->Append(mTimeFormat_hms); sb->Append(String(",mTimeFormat_Hms=")); sb->Append(mTimeFormat_Hms); sb->Append(String(",mZeroDigit=")); sb->Append(mZeroDigit); sb->Append(String(",mDecimalSeparator=")); sb->Append(mDecimalSeparator); sb->Append(String(",mGroupingSeparator=")); sb->Append(mGroupingSeparator); sb->Append(String(",mPatternSeparator=")); sb->Append(mPatternSeparator); sb->Append(String(",mPercent=")); sb->Append(mPercent); sb->Append(String(",mPerMill=")); sb->Append(mPerMill); sb->Append(String(",mMonetarySeparator=")); sb->Append(mMonetarySeparator); sb->Append(String(",mMinusSign=")); sb->Append(mMinusSign); sb->Append(String(",mExponentSeparator=")); sb->Append(mExponentSeparator); sb->Append(String(",mInfinity=")); sb->Append(mInfinity); sb->Append(String(",mNaN=")); sb->Append(mNaN); sb->Append(String(",mCurrencySymbol=")); sb->Append(mCurrencySymbol); sb->Append(String(",mInternationalCurrencySymbol=")); sb->Append(mInternationalCurrencySymbol); sb->Append(String(",mNumberPattern=")); sb->Append(mNumberPattern); sb->Append(String(",mIntegerPattern=")); sb->Append(mIntegerPattern); sb->Append(String(",mCurrencyPattern=")); sb->Append(mCurrencyPattern); sb->Append(String(",mPercentPattern=")); sb->Append(mPercentPattern); sb->Append(U']'); return sb->ToString(desc); } ECode LocaleData::GetDateFormat( /* [in] */ Integer style, /* [out] */ String* dateFormat) { VALIDATE_NOT_NULL(dateFormat); switch(style) { case IDateFormat::SHORT: *dateFormat = mShortDateFormat; return NOERROR; case IDateFormat::MEDIUM: *dateFormat = mMediumDateFormat; return NOERROR; case IDateFormat::LONG: *dateFormat = mLongDateFormat; return NOERROR; case IDateFormat::FULL: *dateFormat = mFullDateFormat; return NOERROR; } return E_ASSERTION_ERROR; } ECode LocaleData::GetTimeFormat( /* [in] */ Integer style, /* [out] */ String* timeFormat) { VALIDATE_NOT_NULL(timeFormat); switch(style) { case IDateFormat::SHORT: if (DateFormat::sIs24Hour == nullptr) { *timeFormat = mShortTimeFormat; return NOERROR; } else { *timeFormat = CoreUtils::Unbox(DateFormat::sIs24Hour) ? mTimeFormat_Hm : mTimeFormat_hm; return NOERROR; } case IDateFormat::MEDIUM: if (DateFormat::sIs24Hour == nullptr) { *timeFormat = mMediumTimeFormat; return NOERROR; } else { *timeFormat = CoreUtils::Unbox(DateFormat::sIs24Hour) ? mTimeFormat_Hms : mTimeFormat_hms; return NOERROR; } case IDateFormat::LONG: *timeFormat = mLongTimeFormat; return NOERROR; case IDateFormat::FULL: *timeFormat = mFullTimeFormat; return NOERROR; } return E_ASSERTION_ERROR; } ECode LocaleData::InitLocaleData( /* [in] */ ILocale* locale, /* [out] */ ILocaleData** localeData) { AutoPtr<LocaleData> localeDataObj = new LocaleData(); String languageTag; locale->ToLanguageTag(&languageTag); if (!ICU::InitLocaleData(languageTag, localeDataObj)) { Logger::E("LocaleData", "couldn't initialize LocaleData for locale %s", Object::ToString(locale).string()); return E_ASSERTION_ERROR; } localeDataObj->mTimeFormat_hm = ICU::GetBestDateTimePattern(String("hm"), locale); localeDataObj->mTimeFormat_Hm = ICU::GetBestDateTimePattern(String("Hm"), locale); localeDataObj->mTimeFormat_hms = ICU::GetBestDateTimePattern(String("hms"), locale); localeDataObj->mTimeFormat_Hms = ICU::GetBestDateTimePattern(String("Hms"), locale); if (!localeDataObj->mFullTimeFormat.IsNull()) { // There are some full time format patterns in ICU that use the pattern character 'v'. // ccm doesn't accept this, so we replace it with 'z' which has about the same result // as 'v', the timezone name. // 'v' -> "PT", 'z' -> "PST", v is the generic timezone and z the standard tz // "vvvv" -> "Pacific Time", "zzzz" -> "Pacific Standard Time" localeDataObj->mFullTimeFormat = localeDataObj->mFullTimeFormat.Replace(U'v', U'z'); } if (!localeDataObj->mNumberPattern.IsNull()) { // The number pattern might contain positive and negative subpatterns. Arabic, for // example, might look like "#,##0.###;#,##0.###-" because the minus sign should be // written last. Macedonian supposedly looks something like "#,##0.###;(#,##0.###)". // (The negative subpattern is optional, though, and not present in most locales.) // By only swallowing '#'es and ','s after the '.', we ensure that we don't // accidentally eat too much. StringUtils::ReplaceAll(localeDataObj->mNumberPattern, String("\\.[#,]*"), String(""), &localeDataObj->mIntegerPattern); } *localeData = (ILocaleData*)localeDataObj.Get(); REFCOUNT_ADD(*localeData); return NOERROR; } ECode LocaleData::GetAmPm( /* [out, callee] */ Array<String>* ampm) { VALIDATE_NOT_NULL(ampm); *ampm = mAmPm; return NOERROR; } ECode LocaleData::GetCurrencyPattern( /* [out] */ String* pattern) { VALIDATE_NOT_NULL(pattern); *pattern = mCurrencyPattern; return NOERROR; } ECode LocaleData::GetCurrencySymbol( /* [out] */ String* currencySymbol) { VALIDATE_NOT_NULL(currencySymbol); *currencySymbol = mCurrencySymbol; return NOERROR; } ECode LocaleData::GetDecimalSeparator( /* [out] */ Char* decSeparator) { VALIDATE_NOT_NULL(decSeparator); *decSeparator = mDecimalSeparator; return NOERROR; } ECode LocaleData::GetEras( /* [out, callee] */ Array<String>* eras) { VALIDATE_NOT_NULL(eras); *eras = mEras; return NOERROR; } ECode LocaleData::GetExponentSeparator( /* [out] */ String* expSeparator) { VALIDATE_NOT_NULL(expSeparator); *expSeparator = mExponentSeparator; return NOERROR; } ECode LocaleData::GetGroupingSeparator( /* [out] */ Char* grpSeparator) { VALIDATE_NOT_NULL(grpSeparator); *grpSeparator = mGroupingSeparator; return NOERROR; } ECode LocaleData::GetFirstDayOfWeek( /* [out] */ IInteger** day) { VALIDATE_NOT_NULL(day); *day = mFirstDayOfWeek; REFCOUNT_ADD(*day); return NOERROR; } ECode LocaleData::GetInfinity( /* [out] */ String* infinity) { VALIDATE_NOT_NULL(infinity); *infinity = mInfinity; return NOERROR; } ECode LocaleData::GetIntegerPattern( /* [out] */ String* pattern) { VALIDATE_NOT_NULL(pattern); *pattern = mIntegerPattern; return NOERROR; } ECode LocaleData::GetInternationalCurrencySymbol( /* [out] */ String* intlCurrencySymbol) { VALIDATE_NOT_NULL(intlCurrencySymbol); *intlCurrencySymbol = mInternationalCurrencySymbol; return NOERROR; } ECode LocaleData::GetLongMonthNames( /* [out, callee] */ Array<String>* longMonthNames) { VALIDATE_NOT_NULL(longMonthNames); *longMonthNames = mLongMonthNames; return NOERROR; } ECode LocaleData::GetLongStandAloneMonthNames( /* [out, callee] */ Array<String>* longStandAloneMonthNames) { VALIDATE_NOT_NULL(longStandAloneMonthNames); *longStandAloneMonthNames = mLongStandAloneMonthNames; return NOERROR; } ECode LocaleData::GetLongStandAloneWeekdayNames( /* [out, callee] */ Array<String>* longStandAloneWeekdayNames) { VALIDATE_NOT_NULL(longStandAloneWeekdayNames); *longStandAloneWeekdayNames = mLongStandAloneWeekdayNames; return NOERROR; } ECode LocaleData::GetLongWeekdayNames( /* [out, callee] */ Array<String>* longWeekdayNames) { VALIDATE_NOT_NULL(longWeekdayNames); *longWeekdayNames = mLongWeekdayNames; return NOERROR; } ECode LocaleData::GetMinimalDaysInFirstWeek( /* [out] */ IInteger** days) { VALIDATE_NOT_NULL(days); *days = mMinimalDaysInFirstWeek; REFCOUNT_ADD(*days); return NOERROR; } ECode LocaleData::GetMinusSign( /* [out] */ String* sign) { VALIDATE_NOT_NULL(sign); *sign = mMinusSign; return NOERROR; } ECode LocaleData::GetNaN( /* [out] */ String* nan) { VALIDATE_NOT_NULL(nan); *nan = mNaN; return NOERROR; } ECode LocaleData::GetNumberPattern( /* [out] */ String* pattern) { VALIDATE_NOT_NULL(pattern); *pattern = mNumberPattern; return NOERROR; } ECode LocaleData::GetPatternSeparator( /* [out] */ Char* patSeparator) { VALIDATE_NOT_NULL(patSeparator); *patSeparator = mPatternSeparator; return NOERROR; } ECode LocaleData::GetPercent( /* [out] */ String* percent) { VALIDATE_NOT_NULL(percent); *percent = mPercent; return NOERROR; } ECode LocaleData::GetPercentPattern( /* [out] */ String* pattern) { VALIDATE_NOT_NULL(pattern); *pattern = mPercentPattern; return NOERROR; } ECode LocaleData::GetPerMill( /* [out] */ Char* perMill) { VALIDATE_NOT_NULL(perMill); *perMill = mPerMill; return NOERROR; } ECode LocaleData::GetShortMonthNames( /* [out, callee] */ Array<String>* shortMonthNames) { VALIDATE_NOT_NULL(shortMonthNames); *shortMonthNames = mShortMonthNames; return NOERROR; } ECode LocaleData::GetShortStandAloneMonthNames( /* [out, callee] */ Array<String>* shortStandAloneMonthNames) { VALIDATE_NOT_NULL(shortStandAloneMonthNames); *shortStandAloneMonthNames = mShortStandAloneMonthNames; return NOERROR; } ECode LocaleData::GetShortStandAloneWeekdayNames( /* [out, callee] */ Array<String>* shortStandAloneWeekdayNames) { VALIDATE_NOT_NULL(shortStandAloneWeekdayNames); *shortStandAloneWeekdayNames = mShortStandAloneWeekdayNames; return NOERROR; } ECode LocaleData::GetShortWeekdayNames( /* [out, callee] */ Array<String>* shortWeekdayNames) { VALIDATE_NOT_NULL(shortWeekdayNames); *shortWeekdayNames = mShortWeekdayNames; return NOERROR; } ECode LocaleData::GetTinyMonthNames( /* [out, callee] */ Array<String>* tinyMonthNames) { VALIDATE_NOT_NULL(tinyMonthNames); *tinyMonthNames = mTinyMonthNames; return NOERROR; } ECode LocaleData::GetTinyStandAloneMonthNames( /* [out, callee] */ Array<String>* tinyStandAloneMonthNames) { VALIDATE_NOT_NULL(tinyStandAloneMonthNames); *tinyStandAloneMonthNames = mTinyStandAloneMonthNames; return NOERROR; } ECode LocaleData::GetTinyStandAloneWeekdayNames( /* [out, callee] */ Array<String>* tinyStandAloneWeekdayNames) { VALIDATE_NOT_NULL(tinyStandAloneWeekdayNames); *tinyStandAloneWeekdayNames = mTinyStandAloneWeekdayNames; return NOERROR; } ECode LocaleData::GetTinyWeekdayNames( /* [out, callee] */ Array<String>* tinyWeekdayNames) { VALIDATE_NOT_NULL(tinyWeekdayNames); *tinyWeekdayNames = mTinyWeekdayNames; return NOERROR; } ECode LocaleData::GetZeroDigit( /* [out] */ Char* zeroDigit) { VALIDATE_NOT_NULL(zeroDigit); *zeroDigit = mZeroDigit; return NOERROR; } } }
27.88579
115
0.635632
sparkoss
978ad894f348097280073ead77b046ee1ec80368
2,704
cpp
C++
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
1
2022-03-21T05:28:49.000Z
2022-03-21T05:28:49.000Z
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <queue> #include <cmath> #include "graph.h" using namespace std; const double loss_prob = 0.2; vector<int> edges[NODE_NUM_MAX]; int weight[NODE_NUM_MAX]; int TW; int n; // tot node number int in_deg[NODE_NUM_MAX]; double value[NODE_NUM_MAX]; int np; // tot package number vector<int> seq; vector<vector<int>> rst; void evaluate_nodes() { for (int x = 1; x <= n; ++x) { value[x] = 1. / weight[x]; } } void make_package() { static int cnt[NODE_NUM_MAX]; memset(cnt, 0, sizeof(cnt)); int tw = 0; // current total weight struct Node { int index; double value; bool operator< (const Node& n) const { return value < n.value; } }; priority_queue<Node> pq; // 大顶堆 pq.push({0,0}); /* Stage 1: decide which node to be packaged */ while (!pq.empty()) { int cur = pq.top().index; // printf("pq: cur = %d, weight = %d, v = %.2f\n", cur, weight[cur], pq.top().value * 1000); pq.pop(); if ((tw + weight[cur]) * 2 > TW * 3) break; if (cur != 0) { tw += weight[cur]; seq.push_back(cur); } /* add new nodes to pq */ for (int nxt : edges[cur]) { double v = value[nxt]; // double v = value[nxt] * pow(loss_prob, cnt[nxt]); // printf("nxt = %d, weight = %d, v = %.2f, in_deg = %d\n", nxt, weight[nxt], v * 1000, in_deg[nxt]); pq.push({nxt, v}); ++cnt[nxt]; } } /* Stage 2: grouping */ int last_i = 0; int acc_weight = 0; for (int i = 0; i < (int)seq.size(); ++i) { int x = seq[i]; if (weight[x] > PKG_SIZE) { fprintf(stderr, "[Warning] node %d has too large weight %d\n", x, weight[x]); continue; } if (acc_weight + weight[x] > PKG_SIZE) { rst.push_back(vector<int>(seq.begin() + last_i, seq.begin() + i)); last_i = i; acc_weight = weight[x]; } else acc_weight += weight[x]; } rst.push_back(vector<int>(seq.begin() + last_i, seq.end())); debug_printf("tw = %d\n", tw); } int main() { if (LOG) { freopen("log.txt", "w", stdout); } char weight_path[] = "data/Out_SliceSize_Basketball_480_Slice16_Gop8_10.log"; char edge_path[] = "data/Out_OutGraph_Basketball_480_Slice16_Gop8_10.log"; char answer_path[] = "result.txt"; read_graph(edge_path, weight_path); debug_printf("TW = %d\n", TW); evaluate_nodes(); make_package(); output(answer_path); return 0; }
26.509804
113
0.534763
Fisher-Wang
978b0745cdbb9a7290a6b84e53810831e21dadd7
822
hpp
C++
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
1
2019-06-14T10:35:50.000Z
2019-06-14T10:35:50.000Z
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once namespace gridtools { /** \ingroup storage * @{ */ /** * @brief A class that represents the state machine that is used to determine * if a storage is currently on the host or on the device and if the * data on the host or the device is outdated and needs to be updated. */ struct state_machine { bool m_hnu; // hnu = host needs update, set to true if a non-read-only device view is instantiated. bool m_dnu; // dnu = device needs update, set to true if a non-read-only host view is instantiated. }; /** * @} */ } // namespace gridtools
25.6875
107
0.63382
jdahm
978e020e66f0cc4e3c67b9b86e74a1afac53c2e5
8,739
cc
C++
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
1
2016-02-25T12:48:59.000Z
2016-02-25T12:48:59.000Z
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
null
null
null
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
2
2016-02-25T12:49:14.000Z
2017-07-06T14:00:54.000Z
/* * ===================================================================================== * * Filename: TcpServerBase.cc * * Description: TcpServerBase * * Version: 1.0 * Created: 2015年04月08日 21时00分30秒 * Revision: none * Compiler: gcc * * Author: Petrus (), [email protected] * Organization: http://www.codeplayer.org * * ===================================================================================== */ #include <cstring> #include "TcpServerBase.h" #include "TcpWorkerThread.h" #include "thread/ThreadPool.h" TcpServerBase::TcpServerBase() { memset(tcp_connections_, 0, sizeof(TcpConnection*) * SOCKET_HOLDER_SIZE); bool ret = sLibEvent.NewEventBase(&event_base_, "select"); if (ret) { LOG_KTRACE("TcpServerBase", "new event_base_ successful"); } else { LOG_KERROR("TcpServerBase", "new event_base_ failed"); } } TcpServerBase::~TcpServerBase() { if (event_base_) { delete event_base_; event_base_ = nullptr; } auto it = listenfd_event_map_.cbegin(); for ( ; it != listenfd_event_map_.cend(); ++it) { RemoveListenSocket(it->first); } for (int i = 0; i < SOCKET_HOLDER_SIZE; ++i) { RemoveTcpConnection(i); } } void TcpServerBase::StartLoop() { event_base_->Loop(); } bool TcpServerBase::AddListenSocket(Socket* socket) { auto it = listenfd_event_map_.find(socket->GetFd()); if (it == listenfd_event_map_.end()) { Event* listen_event; event_base_->NewEvent(socket->GetFd(), kEventRead | kEventPersist, TcpServerBase::AcceptCallback, this, &listen_event); listenfd_event_map_[socket->GetFd()] = listen_event; listenfd_socket_map_[socket->GetFd()] = socket; return true; } return false; } void TcpServerBase::RemoveListenSocket(SOCKET fd) { auto it = listenfd_event_map_.find(fd); if (it != listenfd_event_map_.end()) { delete it->second; listenfd_event_map_.erase(it); delete listenfd_event_map_[fd]; listenfd_socket_map_.erase(fd); } } bool TcpServerBase::NewTcpConnection(Socket* socket) { BufferEvent* buffer_event = nullptr; SOCKET fd = socket->GetFd(); if (event_base_->NewBufferEvent(fd, kThreadSafe, &buffer_event)) { TcpConnection* tcp_connection = new TcpConnection(socket, buffer_event); buffer_event->Enable(kEventRead | kEventWrite | kEventPersist); buffer_event->SetCallback(TcpServerBase::ServerReadCallback, NULL, TcpServerBase::EventCallback, this); int result = AddTcpConnection(fd, tcp_connection); if (result) { return true; } else { delete tcp_connection; } } if (buffer_event) { delete buffer_event; } return false; } bool TcpServerBase::AddTcpConnection(EventSocket socket, TcpConnection* tcp_connection) { if (tcp_connections_[socket] == 0) { tcp_connections_[socket] = tcp_connection; bufevent_conn_map_[tcp_connection->buffer_event_->buffer_event_] = tcp_connection; LOG_TRACE("Add TcpConnection with socket(%d)", socket); return true; } ASSERT(0 != tcp_connections_[socket]); return false; } void TcpServerBase::RemoveTcpConnection(EventSocket socket) { if (tcp_connections_[socket] != 0) { auto it = bufevent_conn_map_.find(tcp_connections_[socket]->buffer_event_->buffer_event_); if (it != bufevent_conn_map_.end()) { bufevent_conn_map_.erase(tcp_connections_[socket]->buffer_event_->buffer_event_); } delete tcp_connections_[socket]; tcp_connections_[socket] = 0; // event_base_->DeleteBufferEvent(socket); } } TcpConnection* TcpServerBase::GetTcpConnection(BufferEventStruct* buffer_event_struct) { auto it = bufevent_conn_map_.find(buffer_event_struct); if (it != bufevent_conn_map_.end()) { return bufevent_conn_map_[buffer_event_struct]; } return nullptr; } void TcpServerBase::AcceptCallback(EventSocket fd, EventFlagType what, void* arg) { TcpServerBase* tcp_server = static_cast<TcpServerBase*>(arg); BufferEvent* buffer_event = nullptr; SOCKET client_fd = ::accept(fd, NULL, NULL); Socket* client_socket = new Socket(client_fd); if (tcp_server->event_base_->NewBufferEvent(client_fd, kThreadSafe, &buffer_event)) { TcpConnection* tcp_connection = new TcpConnection(client_socket, buffer_event); buffer_event->Enable(kEventRead | kEventWrite | kEventPersist); buffer_event->SetCallback(TcpServerBase::ClientReadCallback, NULL, TcpServerBase::EventCallback, tcp_server); int result = tcp_server->AddTcpConnection(client_fd, tcp_connection); if (!result) { LOG_ERROR("Socket(%d) AddTcpConnection failed!", client_fd); } } else { LOG_ERROR("Socket(%d) accept failed!", fd); } } Packet_t* TcpServerBase::ReadCallback(BufferEventStruct* buffer_event_struct, void* arg) { ASSERT(buffer_event_struct); ASSERT(arg); TcpServerBase* tcp_server = static_cast<TcpServerBase*>(arg); TcpConnection* tcp_connection = tcp_server->GetTcpConnection(buffer_event_struct); ASSERT(tcp_connection); if (tcp_connection) { char* data_buff = new char[DATA_BUFF_SIZE]; size_t data_len = tcp_connection->ReadData(data_buff, DATA_BUFF_SIZE); ASSERT(data_len < DATA_BUFF_SIZE); if (data_len < DATA_BUFF_SIZE) { Packet_t* packet = new Packet_t(tcp_connection->GetSocket(), data_len, data_buff); return packet; } else { LOG_ERROR("Socket(%d) receive data length greater than buffer size(%d)", tcp_connection->GetSocket(), DATA_BUFF_SIZE); return nullptr; } } else { LOG_ERROR("Can't find TcpConnection in ReadCallback function."); return nullptr; } } void TcpServerBase::ClientReadCallback(BufferEventStruct* buffer_event_struct, void* arg) { Packet_t* packet = ReadCallback(buffer_event_struct, arg); TcpServerBase* tcp_server = static_cast<TcpServerBase*>(arg); tcp_server->PushClientPacket(packet); } void TcpServerBase::ServerReadCallback(BufferEventStruct* buffer_event_struct, void* arg) { Packet_t* packet = ReadCallback(buffer_event_struct, arg); TcpServerBase* tcp_server = static_cast<TcpServerBase*>(arg); tcp_server->PushServerPacket(packet); } void TcpServerBase::EventCallback(BufferEventStruct* buffer_event_struct, BufferEventFlagType what, void* arg) { ASSERT(buffer_event_struct); ASSERT(arg); TcpServerBase* tcp_server = static_cast<TcpServerBase*>(arg); TcpConnection* tcp_connection = tcp_server->GetTcpConnection(buffer_event_struct); ASSERT(tcp_connection); if (what & kError) { LOG_ERROR("Socket(%d) encounter an error.", tcp_connection->GetSocket()); tcp_server->RemoveTcpConnection(tcp_connection->GetSocket()); } else if (what & kEof) { LOG_TRACE("Socket(%d) encounter Eof.", tcp_connection->GetSocket()); tcp_server->RemoveTcpConnection(tcp_connection->GetSocket()); } else if (what & kConnected) { LOG_TRACE("Socket(%d) connected.", tcp_connection->GetSocket()); } else if (what & kReading) { LOG_TRACE("Socket(%d) reading.", tcp_connection->GetSocket()); } else if (what & kWriting) { LOG_TRACE("Socket(%d) writing.", tcp_connection->GetSocket()); } else if (what & kTimeout) { LOG_TRACE("Socket(%d) timeout.", tcp_connection->GetSocket()); } else { LOG_ERROR("Socket(%d) encounter unkonw event.", tcp_connection->GetSocket()); } } void TcpServerBase::SendData(SOCKET fd, const void* data, size_t data_len) { //XXX: 逻辑线程处理完毕后,由此函数统一发送给客户端 if (tcp_connections_[fd]) { tcp_connections_[fd]->WriteData(data, data_len); LOG_TRACE("Send data to socket(%d), length(%d)", fd, data_len); LOG_INFO("Send data: %s", data); } else { LOG_ERROR("TcpConnection(%d) not exist, send data failed.", fd); } } void TcpServerBase::PushClientPacket(Packet_t* packet) { client_recv_queue_.push(packet); } Packet_t* TcpServerBase::PopClientPacket() { if (client_recv_queue_.get_size() > 0) { Packet_t* packet = client_recv_queue_.pop(); return packet; } else { return nullptr; } } void TcpServerBase::PushServerPacket(Packet_t* packet) { server_recv_queue_.push(packet); } Packet_t* TcpServerBase::PopServerPacket() { if (server_recv_queue_.get_size() > 0) { Packet_t* packet = server_recv_queue_.pop(); return packet; } else { return nullptr; } }
34.405512
130
0.662433
codeplayer2org
9792904fa9b0d2d6dd78e2e6415ed2f7c3b9b867
3,942
cpp
C++
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Shoot/src/CacheFile.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: May 31st 2013 */ #include "Shoot.h" #include "CacheFile.h" namespace shoot { //! statics std::map<std::string, CacheFile::Info> CacheFile::m_sCache; //! clears the cache void CacheFile::Clear() { for(std::map<std::string, CacheFile::Info>::iterator it = m_sCache.begin(); it != m_sCache.end(); ++ it) { sdelete_array((it->second).m_pData); } m_sCache.clear(); } //! clears a file from the cache void CacheFile::Clear(const std::string& strPath) { std::map<std::string, CacheFile::Info>::iterator it = m_sCache.find(strPath); if(it != m_sCache.end()) { sdelete_array((it->second).m_pData); m_sCache.erase(it); } } //! returns an instance CacheFile* CacheFile::GetFile(const std::string& strPath) { std::map<std::string, CacheFile::Info>::iterator it = m_sCache.find(strPath); if(it != m_sCache.end()) { return snew CacheFile(strPath.c_str(), it->second); } Info info; File* pNativeFile = File::CreateNative(strPath.c_str(), File::M_ReadBinary); pNativeFile->Open(); pNativeFile->SetOffset(0, File::OT_End); info.m_Size = pNativeFile->GetOffset(); info.m_pData = snew u8[info.m_Size]; pNativeFile->SetOffset(0, File::OT_Start); pNativeFile->Read(info.m_pData, info.m_Size); pNativeFile->Close(); delete pNativeFile; CacheFile* pFile = snew CacheFile(strPath.c_str(), info); m_sCache[strPath] = info; return pFile; } //! constructor CacheFile::CacheFile(const char* strPath, const Info& info) : File(strPath, M_ReadBinary) , m_Info(info) { } //! opens the file bool CacheFile::Open(bool bAssertOnFailure /*= true*/) { m_Info.m_CurrentOffset = 0; return true; } //! reads data from the file s32 CacheFile::Read(void* pDest, u32 bytesToRead) { SHOOT_ASSERT(m_Info.m_CurrentOffset+bytesToRead <= m_Info.m_Size, "EOF reached"); u8* pData = m_Info.m_pData + m_Info.m_CurrentOffset; memcpy(pDest, pData, bytesToRead); m_Info.m_CurrentOffset += bytesToRead; return bytesToRead; } //! reads a string s32 CacheFile::Read(std::string& dest, char delim1 /*= 0*/, char delim2 /*= 0*/) { char c; while(Read(&c, 1)) { if(c != '\r' && c != '\n' && c != ' ' && c != '\t' && ((delim1 == 0) || (c != delim1)) && ((delim2 == 0) || (c != delim2))) { dest += c; } else { SetOffset(-1); break; } } return (s32)dest.length(); } //! reads a line until a delimiter s32 CacheFile::ReadLine(char* pDest, u32 numChars, char delim /*= '\n'*/) { u32 i; for(i=0; i<numChars; ++i) { char c; if(Read(&c, 1)) { if(c != delim) { pDest[i] = c; } else { break; } } else { break; } } pDest[i] = '\0'; return i; } //! peeks a character without advancing the file pointer char CacheFile::Peek() { char c; Read(&c, 1); SetOffset(-1); return c; } //! ignores n characters or x characters until the delimiter is found void CacheFile::Ignore(u32 numChars, char delimiter /*= ' '*/) { for(u32 i=0; i<numChars; ++i) { char c; Read(&c, 1); if(c == delimiter) { break; } } } //! changes the current read/write location in the file void CacheFile::SetOffset(s32 offset, E_OffsetType eType /*= OT_Current*/) { switch(eType) { case OT_Current: m_Info.m_CurrentOffset += offset; break; case OT_Start: m_Info.m_CurrentOffset = offset; break; case OT_End: m_Info.m_CurrentOffset = offset+m_Info.m_Size; break; } SHOOT_ASSERT(m_Info.m_CurrentOffset >= 0 && m_Info.m_CurrentOffset <= s32(m_Info.m_Size), "Invalid file offset"); } //! returns the current read/write location in the file u32 CacheFile::GetOffset() { return u32(m_Info.m_CurrentOffset); } //! returns true if end of file has been reached bool CacheFile::EOFReached() { return (m_Info.m_CurrentOffset >= s32(m_Info.m_Size)); } }
19.809045
115
0.625824
franticsoftware
97930b3d0c3748085ae805bf5c5aa90a79a32826
1,103
cpp
C++
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
8
2022-01-16T02:56:56.000Z
2022-03-31T02:09:53.000Z
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
#include "engineprocess.h" #include <QDebug> #include <QDir> #include <QFileInfo> EngineProcess::EngineProcess(const QString &program, QObject *parent) : QProcess(parent) { setProgram(program); setWorkingDirectory(QFileInfo(program).dir().absolutePath()); } void EngineProcess::start() { // auto data = EngineSettings::instance().currentEngine(); // if (data.path.isEmpty()) { // qCritical() << "No shogi engine"; // return; // } // if (QFileInfo(data.path).exists()) { // setProgram(data.path); // } else { // qCritical() << "Not found such shogi engine:" << data.path; // return; // } if (state() == QProcess::NotRunning) { QProcess::start(QIODevice::ReadWrite); waitForStarted(); } } void EngineProcess::terminate() { QProcess::terminate(); bool res = waitForFinished(500); if (!res) { QProcess::kill(); waitForFinished(500); } } // EngineProcess *EngineProcess::instance() // { // static EngineProcess engineProcess; // return &engineProcess; // }
20.425926
71
0.599275
shogimaru
9794dd433874f8d290e4c2a90d8d222ae4ab394c
200,676
inl
C++
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.294868559f, 0.486702561f}, std::array<float,2>{0.655109107f, 0.635469735f}, std::array<float,2>{0.930609345f, 0.155407801f}, std::array<float,2>{0.0130536128f, 0.92444694f}, std::array<float,2>{0.229893953f, 0.0536426306f}, std::array<float,2>{0.753561437f, 0.823331594f}, std::array<float,2>{0.516667724f, 0.312864184f}, std::array<float,2>{0.452855378f, 0.579092741f}, std::array<float,2>{0.124997795f, 0.286937594f}, std::array<float,2>{0.966821611f, 0.509004593f}, std::array<float,2>{0.715175748f, 0.0985933021f}, std::array<float,2>{0.372173309f, 0.781413436f}, std::array<float,2>{0.412547648f, 0.216765195f}, std::array<float,2>{0.576672375f, 0.977804422f}, std::array<float,2>{0.824761331f, 0.436413437f}, std::array<float,2>{0.162901416f, 0.708485603f}, std::array<float,2>{0.470359236f, 0.346029967f}, std::array<float,2>{0.534554005f, 0.596176744f}, std::array<float,2>{0.811842501f, 0.0139061837f}, std::array<float,2>{0.193557277f, 0.846000254f}, std::array<float,2>{0.0575622842f, 0.165455595f}, std::array<float,2>{0.89810127f, 0.882751167f}, std::array<float,2>{0.680387437f, 0.457519233f}, std::array<float,2>{0.259927571f, 0.681161165f}, std::array<float,2>{0.126518756f, 0.395849675f}, std::array<float,2>{0.871073246f, 0.744261265f}, std::array<float,2>{0.611710966f, 0.222273245f}, std::array<float,2>{0.385144889f, 0.956369579f}, std::array<float,2>{0.334376246f, 0.0700895041f}, std::array<float,2>{0.740114868f, 0.76985836f}, std::array<float,2>{0.980601311f, 0.256264448f}, std::array<float,2>{0.0670436025f, 0.555959463f}, std::array<float,2>{0.40356496f, 0.417245656f}, std::array<float,2>{0.60275358f, 0.699831784f}, std::array<float,2>{0.849126935f, 0.20089747f}, std::array<float,2>{0.144158617f, 0.985195816f}, std::array<float,2>{0.0892392695f, 0.121307299f}, std::array<float,2>{0.999259949f, 0.798229098f}, std::array<float,2>{0.729527831f, 0.3100667f}, std::array<float,2>{0.313660234f, 0.518714786f}, std::array<float,2>{0.211381346f, 0.335777432f}, std::array<float,2>{0.782333016f, 0.566763103f}, std::array<float,2>{0.558897018f, 0.0429258645f}, std::array<float,2>{0.49477464f, 0.833909154f}, std::array<float,2>{0.27212891f, 0.140304983f}, std::array<float,2>{0.661663294f, 0.912859321f}, std::array<float,2>{0.890344024f, 0.48070693f}, std::array<float,2>{0.0416093729f, 0.641839206f}, std::array<float,2>{0.344770849f, 0.28044644f}, std::array<float,2>{0.692248821f, 0.544625103f}, std::array<float,2>{0.939101934f, 0.085018754f}, std::array<float,2>{0.0973615646f, 0.754955232f}, std::array<float,2>{0.179504141f, 0.240507692f}, std::array<float,2>{0.84112674f, 0.940841734f}, std::array<float,2>{0.587770104f, 0.376211643f}, std::array<float,2>{0.432611614f, 0.727892578f}, std::array<float,2>{0.0224163197f, 0.449311137f}, std::array<float,2>{0.909191728f, 0.668290019f}, std::array<float,2>{0.637484431f, 0.176339567f}, std::array<float,2>{0.303139061f, 0.899396837f}, std::array<float,2>{0.467120022f, 0.0310613122f}, std::array<float,2>{0.50353545f, 0.865179777f}, std::array<float,2>{0.778301299f, 0.359905273f}, std::array<float,2>{0.246911287f, 0.613550663f}, std::array<float,2>{0.324227571f, 0.386205077f}, std::array<float,2>{0.723904312f, 0.72117722f}, std::array<float,2>{0.989348471f, 0.244198367f}, std::array<float,2>{0.081778191f, 0.952701032f}, std::array<float,2>{0.153701723f, 0.0864463598f}, std::array<float,2>{0.856058359f, 0.765574336f}, std::array<float,2>{0.597068071f, 0.265817285f}, std::array<float,2>{0.398288876f, 0.536346614f}, std::array<float,2>{0.0376277119f, 0.369179577f}, std::array<float,2>{0.875115275f, 0.622602105f}, std::array<float,2>{0.67037338f, 0.0217076559f}, std::array<float,2>{0.277605146f, 0.870918214f}, std::array<float,2>{0.487694889f, 0.184384912f}, std::array<float,2>{0.549179316f, 0.891983509f}, std::array<float,2>{0.789504766f, 0.438375175f}, std::array<float,2>{0.207675666f, 0.659387648f}, std::array<float,2>{0.425439f, 0.300551713f}, std::array<float,2>{0.584057152f, 0.529249251f}, std::array<float,2>{0.832600892f, 0.112247601f}, std::array<float,2>{0.180470899f, 0.810857832f}, std::array<float,2>{0.107680582f, 0.192574322f}, std::array<float,2>{0.948182821f, 0.997590244f}, std::array<float,2>{0.696641207f, 0.407967359f}, std::array<float,2>{0.352581948f, 0.692198932f}, std::array<float,2>{0.239884928f, 0.470455438f}, std::array<float,2>{0.771406293f, 0.654996514f}, std::array<float,2>{0.515602589f, 0.129603714f}, std::array<float,2>{0.458757967f, 0.921306968f}, std::array<float,2>{0.312345684f, 0.0333705582f}, std::array<float,2>{0.630749643f, 0.837855697f}, std::array<float,2>{0.920984805f, 0.338235945f}, std::array<float,2>{0.0238046944f, 0.572855234f}, std::array<float,2>{0.444666326f, 0.461498141f}, std::array<float,2>{0.523675919f, 0.679231107f}, std::array<float,2>{0.761802495f, 0.162817389f}, std::array<float,2>{0.219921023f, 0.890485406f}, std::array<float,2>{0.00524654612f, 0.00398689648f}, std::array<float,2>{0.925931275f, 0.855282545f}, std::array<float,2>{0.643326521f, 0.357953489f}, std::array<float,2>{0.285405487f, 0.608320177f}, std::array<float,2>{0.168624237f, 0.261395305f}, std::array<float,2>{0.814590037f, 0.547995925f}, std::array<float,2>{0.567763627f, 0.0755939931f}, std::array<float,2>{0.420890301f, 0.77582711f}, std::array<float,2>{0.366396904f, 0.226795197f}, std::array<float,2>{0.70777005f, 0.967763066f}, std::array<float,2>{0.956394672f, 0.400789857f}, std::array<float,2>{0.11033646f, 0.74159205f}, std::array<float,2>{0.255790532f, 0.322600365f}, std::array<float,2>{0.675171554f, 0.59043479f}, std::array<float,2>{0.900058687f, 0.0563064665f}, std::array<float,2>{0.0518953539f, 0.818142772f}, std::array<float,2>{0.200272217f, 0.142684266f}, std::array<float,2>{0.799876511f, 0.930368662f}, std::array<float,2>{0.545670509f, 0.492276371f}, std::array<float,2>{0.479424626f, 0.631791472f}, std::array<float,2>{0.0729407147f, 0.422537148f}, std::array<float,2>{0.973522007f, 0.71289283f}, std::array<float,2>{0.744802177f, 0.204440057f}, std::array<float,2>{0.339189947f, 0.969539046f}, std::array<float,2>{0.375162542f, 0.107900515f}, std::array<float,2>{0.62090981f, 0.795466125f}, std::array<float,2>{0.862471104f, 0.29654181f}, std::array<float,2>{0.135639966f, 0.504241467f}, std::array<float,2>{0.276339382f, 0.433343887f}, std::array<float,2>{0.667707741f, 0.704344451f}, std::array<float,2>{0.881955922f, 0.211206585f}, std::array<float,2>{0.0348688029f, 0.983090818f}, std::array<float,2>{0.203396887f, 0.096062623f}, std::array<float,2>{0.796040058f, 0.78822428f}, std::array<float,2>{0.551650703f, 0.281554818f}, std::array<float,2>{0.490100831f, 0.512851775f}, std::array<float,2>{0.0830946565f, 0.318048954f}, std::array<float,2>{0.988147199f, 0.584167659f}, std::array<float,2>{0.722649515f, 0.0487833805f}, std::array<float,2>{0.321287692f, 0.827851355f}, std::array<float,2>{0.392793268f, 0.149352387f}, std::array<float,2>{0.599636078f, 0.927990913f}, std::array<float,2>{0.854170442f, 0.48833406f}, std::array<float,2>{0.149121538f, 0.640503943f}, std::array<float,2>{0.453296632f, 0.252980143f}, std::array<float,2>{0.510458052f, 0.55903697f}, std::array<float,2>{0.766424716f, 0.0627630427f}, std::array<float,2>{0.234672293f, 0.766504407f}, std::array<float,2>{0.0290727001f, 0.226139024f}, std::array<float,2>{0.915481329f, 0.959132552f}, std::array<float,2>{0.62666893f, 0.392340779f}, std::array<float,2>{0.305865705f, 0.747793317f}, std::array<float,2>{0.185375988f, 0.453800023f}, std::array<float,2>{0.828387558f, 0.684409976f}, std::array<float,2>{0.57838279f, 0.168567359f}, std::array<float,2>{0.427142709f, 0.876118958f}, std::array<float,2>{0.35585627f, 0.00987428799f}, std::array<float,2>{0.701971352f, 0.850215614f}, std::array<float,2>{0.952174067f, 0.350137323f}, std::array<float,2>{0.104825363f, 0.598487735f}, std::array<float,2>{0.414297998f, 0.47717467f}, std::array<float,2>{0.564540803f, 0.646477282f}, std::array<float,2>{0.817660511f, 0.13628234f}, std::array<float,2>{0.166487381f, 0.909025848f}, std::array<float,2>{0.116109058f, 0.0447644219f}, std::array<float,2>{0.95888865f, 0.830937564f}, std::array<float,2>{0.706480503f, 0.328475863f}, std::array<float,2>{0.361977935f, 0.563969254f}, std::array<float,2>{0.22511515f, 0.306408763f}, std::array<float,2>{0.759421647f, 0.521633625f}, std::array<float,2>{0.527713537f, 0.118886545f}, std::array<float,2>{0.439636797f, 0.801341712f}, std::array<float,2>{0.284187555f, 0.197820857f}, std::array<float,2>{0.647169232f, 0.991168618f}, std::array<float,2>{0.923280239f, 0.419460297f}, std::array<float,2>{0.00341303181f, 0.69631052f}, std::array<float,2>{0.34260729f, 0.366035968f}, std::array<float,2>{0.746756494f, 0.611352205f}, std::array<float,2>{0.9717381f, 0.0272041466f}, std::array<float,2>{0.0771178305f, 0.860539675f}, std::array<float,2>{0.13895911f, 0.172747388f}, std::array<float,2>{0.86572957f, 0.903108954f}, std::array<float,2>{0.621845126f, 0.447784185f}, std::array<float,2>{0.382087171f, 0.667733133f}, std::array<float,2>{0.0500623398f, 0.38103947f}, std::array<float,2>{0.905633509f, 0.733698964f}, std::array<float,2>{0.677945077f, 0.235916764f}, std::array<float,2>{0.250291049f, 0.943407953f}, std::array<float,2>{0.480658233f, 0.0816644728f}, std::array<float,2>{0.540815055f, 0.753840625f}, std::array<float,2>{0.802654386f, 0.273928195f}, std::array<float,2>{0.19856666f, 0.540049374f}, std::array<float,2>{0.368014157f, 0.443581283f}, std::array<float,2>{0.711690962f, 0.66069448f}, std::array<float,2>{0.964731395f, 0.181289241f}, std::array<float,2>{0.117291428f, 0.895209074f}, std::array<float,2>{0.160019919f, 0.0172270089f}, std::array<float,2>{0.823009312f, 0.874122202f}, std::array<float,2>{0.573458195f, 0.373583645f}, std::array<float,2>{0.409424007f, 0.621053636f}, std::array<float,2>{0.00992084388f, 0.27204144f}, std::array<float,2>{0.937002838f, 0.531497896f}, std::array<float,2>{0.650577486f, 0.0929538459f}, std::array<float,2>{0.29170984f, 0.761602104f}, std::array<float,2>{0.448858649f, 0.248538569f}, std::array<float,2>{0.522460282f, 0.948402703f}, std::array<float,2>{0.755053818f, 0.389989376f}, std::array<float,2>{0.233354077f, 0.72596997f}, std::array<float,2>{0.388578147f, 0.340771079f}, std::array<float,2>{0.615735888f, 0.576652288f}, std::array<float,2>{0.8741225f, 0.0386860967f}, std::array<float,2>{0.131782144f, 0.841655731f}, std::array<float,2>{0.0649144799f, 0.126522273f}, std::array<float,2>{0.976957142f, 0.914868951f}, std::array<float,2>{0.736266553f, 0.473161012f}, std::array<float,2>{0.330848396f, 0.65053463f}, std::array<float,2>{0.191133603f, 0.411509782f}, std::array<float,2>{0.806653917f, 0.690419972f}, std::array<float,2>{0.536820114f, 0.190485775f}, std::array<float,2>{0.474762738f, 0.993559301f}, std::array<float,2>{0.2630741f, 0.114654824f}, std::array<float,2>{0.686732948f, 0.805952251f}, std::array<float,2>{0.892376781f, 0.304605603f}, std::array<float,2>{0.0591624975f, 0.527272284f}, std::array<float,2>{0.498882174f, 0.402369738f}, std::array<float,2>{0.556506634f, 0.734979033f}, std::array<float,2>{0.788122714f, 0.231107503f}, std::array<float,2>{0.217017859f, 0.96459955f}, std::array<float,2>{0.0460645594f, 0.0740958601f}, std::array<float,2>{0.885189831f, 0.777801096f}, std::array<float,2>{0.658603847f, 0.263593584f}, std::array<float,2>{0.269417644f, 0.551252961f}, std::array<float,2>{0.1463404f, 0.35540098f}, std::array<float,2>{0.847649753f, 0.604697287f}, std::array<float,2>{0.6088503f, 0.00254869997f}, std::array<float,2>{0.399516851f, 0.855516911f}, std::array<float,2>{0.318145514f, 0.159398884f}, std::array<float,2>{0.731686771f, 0.883502185f}, std::array<float,2>{0.992504954f, 0.468515724f}, std::array<float,2>{0.0929451883f, 0.6730299f}, std::array<float,2>{0.30057317f, 0.292901218f}, std::array<float,2>{0.635896564f, 0.501450181f}, std::array<float,2>{0.910603106f, 0.105396762f}, std::array<float,2>{0.0168308541f, 0.790860951f}, std::array<float,2>{0.245312348f, 0.207560912f}, std::array<float,2>{0.777081311f, 0.975876033f}, std::array<float,2>{0.505584478f, 0.427024037f}, std::array<float,2>{0.461002648f, 0.716967583f}, std::array<float,2>{0.101179883f, 0.499013573f}, std::array<float,2>{0.94333607f, 0.628613949f}, std::array<float,2>{0.68799758f, 0.148119405f}, std::array<float,2>{0.348925054f, 0.934600949f}, std::array<float,2>{0.434986174f, 0.0619955435f}, std::array<float,2>{0.592515349f, 0.813361526f}, std::array<float,2>{0.837637067f, 0.32426393f}, std::array<float,2>{0.174321309f, 0.58905375f}, std::array<float,2>{0.25805074f, 0.459053636f}, std::array<float,2>{0.681916654f, 0.682461739f}, std::array<float,2>{0.894592464f, 0.167935297f}, std::array<float,2>{0.0565992482f, 0.879339993f}, std::array<float,2>{0.192594811f, 0.0134619223f}, std::array<float,2>{0.809227884f, 0.844074011f}, std::array<float,2>{0.533028185f, 0.343993038f}, std::array<float,2>{0.472500503f, 0.595405638f}, std::array<float,2>{0.0698871836f, 0.255281717f}, std::array<float,2>{0.982498944f, 0.557629585f}, std::array<float,2>{0.741481721f, 0.0682790726f}, std::array<float,2>{0.332556009f, 0.77302146f}, std::array<float,2>{0.384100914f, 0.219085366f}, std::array<float,2>{0.610188365f, 0.954278886f}, std::array<float,2>{0.867485285f, 0.397268027f}, std::array<float,2>{0.128123179f, 0.743713439f}, std::array<float,2>{0.450347662f, 0.315144449f}, std::array<float,2>{0.517657757f, 0.581920266f}, std::array<float,2>{0.750410974f, 0.052402053f}, std::array<float,2>{0.228396758f, 0.82211256f}, std::array<float,2>{0.0144894421f, 0.154118016f}, std::array<float,2>{0.933311403f, 0.921985865f}, std::array<float,2>{0.65420115f, 0.485662192f}, std::array<float,2>{0.296377003f, 0.634283006f}, std::array<float,2>{0.161711693f, 0.435285419f}, std::array<float,2>{0.826174915f, 0.710163057f}, std::array<float,2>{0.574686944f, 0.217461318f}, std::array<float,2>{0.411139667f, 0.979544163f}, std::array<float,2>{0.374804676f, 0.0996891111f}, std::array<float,2>{0.718280494f, 0.784899235f}, std::array<float,2>{0.965271831f, 0.287542999f}, std::array<float,2>{0.12134026f, 0.511125803f}, std::array<float,2>{0.431635827f, 0.378749847f}, std::array<float,2>{0.589107692f, 0.729577363f}, std::array<float,2>{0.843681693f, 0.239226893f}, std::array<float,2>{0.177440986f, 0.93928355f}, std::array<float,2>{0.0953942761f, 0.0828182995f}, std::array<float,2>{0.939862907f, 0.757680416f}, std::array<float,2>{0.693374574f, 0.278635681f}, std::array<float,2>{0.346093446f, 0.545480847f}, std::array<float,2>{0.249137312f, 0.361742288f}, std::array<float,2>{0.780692041f, 0.616217792f}, std::array<float,2>{0.500395358f, 0.0284963585f}, std::array<float,2>{0.466515422f, 0.866752386f}, std::array<float,2>{0.301951319f, 0.177960098f}, std::array<float,2>{0.639001966f, 0.900511265f}, std::array<float,2>{0.906481981f, 0.452881396f}, std::array<float,2>{0.0208210982f, 0.670161247f}, std::array<float,2>{0.315449655f, 0.312246263f}, std::array<float,2>{0.728400469f, 0.515851855f}, std::array<float,2>{0.997075856f, 0.123161539f}, std::array<float,2>{0.087096706f, 0.800176442f}, std::array<float,2>{0.141650468f, 0.201411456f}, std::array<float,2>{0.849715531f, 0.987324893f}, std::array<float,2>{0.605311453f, 0.41417411f}, std::array<float,2>{0.404354483f, 0.702639163f}, std::array<float,2>{0.0400000997f, 0.483989298f}, std::array<float,2>{0.88811332f, 0.643202901f}, std::array<float,2>{0.66212225f, 0.137200281f}, std::array<float,2>{0.271211207f, 0.911269963f}, std::array<float,2>{0.493479371f, 0.0394919477f}, std::array<float,2>{0.560998082f, 0.834105611f}, std::array<float,2>{0.784465194f, 0.333245277f}, std::array<float,2>{0.212920114f, 0.569345593f}, std::array<float,2>{0.354965538f, 0.409104675f}, std::array<float,2>{0.698687613f, 0.6936028f}, std::array<float,2>{0.945337415f, 0.194800571f}, std::array<float,2>{0.106119864f, 0.999503374f}, std::array<float,2>{0.183172703f, 0.110587128f}, std::array<float,2>{0.835759759f, 0.809458852f}, std::array<float,2>{0.583516955f, 0.297778934f}, std::array<float,2>{0.423487514f, 0.530516565f}, std::array<float,2>{0.0260130931f, 0.336442679f}, std::array<float,2>{0.919162393f, 0.570757806f}, std::array<float,2>{0.631233454f, 0.0322613716f}, std::array<float,2>{0.3089073f, 0.83892411f}, std::array<float,2>{0.459564954f, 0.130918518f}, std::array<float,2>{0.511825502f, 0.918842316f}, std::array<float,2>{0.772219777f, 0.472426772f}, std::array<float,2>{0.241353512f, 0.653555572f}, std::array<float,2>{0.396454394f, 0.26885733f}, std::array<float,2>{0.59564054f, 0.53789252f}, std::array<float,2>{0.859054625f, 0.0893197805f}, std::array<float,2>{0.154990897f, 0.762924075f}, std::array<float,2>{0.0794222653f, 0.242769524f}, std::array<float,2>{0.991824687f, 0.950679302f}, std::array<float,2>{0.724975169f, 0.38305071f}, std::array<float,2>{0.326454222f, 0.719703853f}, std::array<float,2>{0.210533798f, 0.439824164f}, std::array<float,2>{0.791868389f, 0.656734347f}, std::array<float,2>{0.547064245f, 0.18649222f}, std::array<float,2>{0.486048281f, 0.892758429f}, std::array<float,2>{0.279360861f, 0.0201989207f}, std::array<float,2>{0.668340385f, 0.868325353f}, std::array<float,2>{0.878634751f, 0.368406296f}, std::array<float,2>{0.0352550596f, 0.624975443f}, std::array<float,2>{0.477409124f, 0.495756775f}, std::array<float,2>{0.543854177f, 0.629413009f}, std::array<float,2>{0.798053503f, 0.140938118f}, std::array<float,2>{0.202790245f, 0.931887925f}, std::array<float,2>{0.0530598275f, 0.0566763245f}, std::array<float,2>{0.901728511f, 0.820091724f}, std::array<float,2>{0.673589826f, 0.321951807f}, std::array<float,2>{0.256523997f, 0.592122376f}, std::array<float,2>{0.132952556f, 0.294216543f}, std::array<float,2>{0.861012816f, 0.507240593f}, std::array<float,2>{0.618856907f, 0.105865009f}, std::array<float,2>{0.378274679f, 0.794768989f}, std::array<float,2>{0.337722808f, 0.206615835f}, std::array<float,2>{0.743850231f, 0.972502053f}, std::array<float,2>{0.974749029f, 0.425160319f}, std::array<float,2>{0.0711158812f, 0.711658359f}, std::array<float,2>{0.28775683f, 0.356784046f}, std::array<float,2>{0.641013205f, 0.606012285f}, std::array<float,2>{0.927922249f, 0.00593770854f}, std::array<float,2>{0.00612487411f, 0.851733327f}, std::array<float,2>{0.222253978f, 0.162045971f}, std::array<float,2>{0.764401555f, 0.887126505f}, std::array<float,2>{0.526907563f, 0.46445626f}, std::array<float,2>{0.442171991f, 0.676103175f}, std::array<float,2>{0.112103246f, 0.398888648f}, std::array<float,2>{0.95331955f, 0.738496244f}, std::array<float,2>{0.7095716f, 0.229065061f}, std::array<float,2>{0.365222931f, 0.966227055f}, std::array<float,2>{0.418903828f, 0.0769079179f}, std::array<float,2>{0.568730593f, 0.774702311f}, std::array<float,2>{0.813653469f, 0.25933972f}, std::array<float,2>{0.170349464f, 0.550296664f}, std::array<float,2>{0.307956487f, 0.39422369f}, std::array<float,2>{0.627803624f, 0.749516308f}, std::array<float,2>{0.916502595f, 0.223124221f}, std::array<float,2>{0.0310599636f, 0.958004534f}, std::array<float,2>{0.23823297f, 0.0653941855f}, std::array<float,2>{0.768783391f, 0.768139362f}, std::array<float,2>{0.509503126f, 0.251931012f}, std::array<float,2>{0.456920743f, 0.562404811f}, std::array<float,2>{0.102149576f, 0.34833169f}, std::array<float,2>{0.951053798f, 0.599633276f}, std::array<float,2>{0.700089455f, 0.00905488338f}, std::array<float,2>{0.358910531f, 0.848443389f}, std::array<float,2>{0.428348422f, 0.170814395f}, std::array<float,2>{0.581085801f, 0.877065241f}, std::array<float,2>{0.83099556f, 0.45605725f}, std::array<float,2>{0.185957924f, 0.686690748f}, std::array<float,2>{0.490990788f, 0.283679783f}, std::array<float,2>{0.554511666f, 0.515215993f}, std::array<float,2>{0.794350266f, 0.0954096243f}, std::array<float,2>{0.205872208f, 0.78608942f}, std::array<float,2>{0.0322790928f, 0.2131989f}, std::array<float,2>{0.879836738f, 0.982020199f}, std::array<float,2>{0.665557563f, 0.431086004f}, std::array<float,2>{0.274468243f, 0.705899f}, std::array<float,2>{0.152334362f, 0.490675896f}, std::array<float,2>{0.853280604f, 0.637002468f}, std::array<float,2>{0.598341465f, 0.151282936f}, std::array<float,2>{0.392258704f, 0.926530182f}, std::array<float,2>{0.323715121f, 0.0489415824f}, std::array<float,2>{0.718987226f, 0.824714601f}, std::array<float,2>{0.984545648f, 0.31853649f}, std::array<float,2>{0.0852527022f, 0.583256781f}, std::array<float,2>{0.379096806f, 0.446780056f}, std::array<float,2>{0.623080909f, 0.664213181f}, std::array<float,2>{0.865150034f, 0.174670562f}, std::array<float,2>{0.138557687f, 0.904760659f}, std::array<float,2>{0.0754012391f, 0.0249078292f}, std::array<float,2>{0.969059467f, 0.862383604f}, std::array<float,2>{0.749984443f, 0.364168227f}, std::array<float,2>{0.341483802f, 0.61011523f}, std::array<float,2>{0.196116939f, 0.275696129f}, std::array<float,2>{0.803693354f, 0.542547524f}, std::array<float,2>{0.541179299f, 0.0788597614f}, std::array<float,2>{0.48333025f, 0.751091242f}, std::array<float,2>{0.252940238f, 0.23768197f}, std::array<float,2>{0.677517593f, 0.941698492f}, std::array<float,2>{0.902880788f, 0.379957169f}, std::array<float,2>{0.0481232665f, 0.732095718f}, std::array<float,2>{0.360816032f, 0.330774903f}, std::array<float,2>{0.704368234f, 0.564751446f}, std::array<float,2>{0.959404647f, 0.0454977006f}, std::array<float,2>{0.114360996f, 0.82950598f}, std::array<float,2>{0.16419889f, 0.134127825f}, std::array<float,2>{0.81984818f, 0.906556845f}, std::array<float,2>{0.562730908f, 0.479823172f}, std::array<float,2>{0.417182893f, 0.647325695f}, std::array<float,2>{0.0012182655f, 0.420941502f}, std::array<float,2>{0.924575269f, 0.699212372f}, std::array<float,2>{0.645014584f, 0.195712283f}, std::array<float,2>{0.283152789f, 0.988627553f}, std::array<float,2>{0.438680977f, 0.120166853f}, std::array<float,2>{0.531026542f, 0.804349601f}, std::array<float,2>{0.760628879f, 0.307583094f}, std::array<float,2>{0.223212183f, 0.520355463f}, std::array<float,2>{0.328195423f, 0.476284295f}, std::array<float,2>{0.737662435f, 0.648935616f}, std::array<float,2>{0.978679419f, 0.128547654f}, std::array<float,2>{0.0636808127f, 0.916062593f}, std::array<float,2>{0.130336702f, 0.0369718522f}, std::array<float,2>{0.871266425f, 0.843146026f}, std::array<float,2>{0.614692152f, 0.343532145f}, std::array<float,2>{0.389109462f, 0.574636161f}, std::array<float,2>{0.0606235862f, 0.302460194f}, std::array<float,2>{0.892949522f, 0.523895264f}, std::array<float,2>{0.684711576f, 0.115999863f}, std::array<float,2>{0.263684303f, 0.80807215f}, std::array<float,2>{0.474268585f, 0.189388126f}, std::array<float,2>{0.537305295f, 0.994493604f}, std::array<float,2>{0.806247234f, 0.413765132f}, std::array<float,2>{0.18863152f, 0.688100994f}, std::array<float,2>{0.406924158f, 0.37253812f}, std::array<float,2>{0.571925342f, 0.618237674f}, std::array<float,2>{0.821216881f, 0.0177396983f}, std::array<float,2>{0.15714547f, 0.871952593f}, std::array<float,2>{0.119618259f, 0.182108387f}, std::array<float,2>{0.961482167f, 0.897283792f}, std::array<float,2>{0.714731634f, 0.442091733f}, std::array<float,2>{0.370480627f, 0.664029241f}, std::array<float,2>{0.232221678f, 0.387797117f}, std::array<float,2>{0.75762701f, 0.72276032f}, std::array<float,2>{0.519799888f, 0.246359736f}, std::array<float,2>{0.446260273f, 0.946508944f}, std::array<float,2>{0.290788233f, 0.0914220288f}, std::array<float,2>{0.648748219f, 0.759019732f}, std::array<float,2>{0.934173465f, 0.270079911f}, std::array<float,2>{0.00794606004f, 0.533866823f}, std::array<float,2>{0.463305354f, 0.428742081f}, std::array<float,2>{0.50665468f, 0.715489566f}, std::array<float,2>{0.775112391f, 0.210002512f}, std::array<float,2>{0.242408261f, 0.973086059f}, std::array<float,2>{0.0188574214f, 0.101995371f}, std::array<float,2>{0.914047301f, 0.79157269f}, std::array<float,2>{0.633688748f, 0.289698333f}, std::array<float,2>{0.298417866f, 0.502156019f}, std::array<float,2>{0.172555417f, 0.327641249f}, std::array<float,2>{0.838624537f, 0.58641237f}, std::array<float,2>{0.591462731f, 0.0602238066f}, std::array<float,2>{0.436405659f, 0.816026866f}, std::array<float,2>{0.350441426f, 0.145011604f}, std::array<float,2>{0.690553606f, 0.937419951f}, std::array<float,2>{0.944634438f, 0.496285766f}, std::array<float,2>{0.0992368907f, 0.625981688f}, std::array<float,2>{0.265963823f, 0.264126569f}, std::array<float,2>{0.657236099f, 0.554208875f}, std::array<float,2>{0.884694338f, 0.0715305582f}, std::array<float,2>{0.044260107f, 0.779478371f}, std::array<float,2>{0.214915603f, 0.232987717f}, std::array<float,2>{0.785636187f, 0.961596489f}, std::array<float,2>{0.557802975f, 0.406194985f}, std::array<float,2>{0.496992975f, 0.737956405f}, std::array<float,2>{0.0914059058f, 0.464892268f}, std::array<float,2>{0.995004475f, 0.674817562f}, std::array<float,2>{0.733908296f, 0.157563776f}, std::array<float,2>{0.318705589f, 0.885534227f}, std::array<float,2>{0.400891244f, 0.000411502668f}, std::array<float,2>{0.605674744f, 0.859102786f}, std::array<float,2>{0.845542014f, 0.352247357f}, std::array<float,2>{0.147603467f, 0.602616727f}, std::array<float,2>{0.270303518f, 0.481493503f}, std::array<float,2>{0.663970232f, 0.641476989f}, std::array<float,2>{0.886932313f, 0.139420524f}, std::array<float,2>{0.0405950136f, 0.913974166f}, std::array<float,2>{0.214698344f, 0.0415298231f}, std::array<float,2>{0.783482909f, 0.832369804f}, std::array<float,2>{0.562004209f, 0.334131479f}, std::array<float,2>{0.492906749f, 0.56768018f}, std::array<float,2>{0.086703971f, 0.30916664f}, std::array<float,2>{0.996334553f, 0.518352151f}, std::array<float,2>{0.726900935f, 0.12257275f}, std::array<float,2>{0.314668566f, 0.797707856f}, std::array<float,2>{0.406243593f, 0.199336544f}, std::array<float,2>{0.604080617f, 0.985824585f}, std::array<float,2>{0.850960612f, 0.416369528f}, std::array<float,2>{0.141473025f, 0.700220823f}, std::array<float,2>{0.465789467f, 0.360568136f}, std::array<float,2>{0.501236618f, 0.615201116f}, std::array<float,2>{0.780251861f, 0.02999302f}, std::array<float,2>{0.248466805f, 0.863716066f}, std::array<float,2>{0.0201161429f, 0.176784918f}, std::array<float,2>{0.907892525f, 0.900077164f}, std::array<float,2>{0.640015483f, 0.450471103f}, std::array<float,2>{0.301072478f, 0.669867814f}, std::array<float,2>{0.175965384f, 0.375472039f}, std::array<float,2>{0.842649281f, 0.726956189f}, std::array<float,2>{0.587909937f, 0.242153764f}, std::array<float,2>{0.42977795f, 0.939735889f}, std::array<float,2>{0.347622126f, 0.084959507f}, std::array<float,2>{0.694524288f, 0.754698813f}, std::array<float,2>{0.94119817f, 0.280195236f}, std::array<float,2>{0.0938364342f, 0.542978764f}, std::array<float,2>{0.410473555f, 0.436839551f}, std::array<float,2>{0.575564563f, 0.707455397f}, std::array<float,2>{0.828017414f, 0.215395108f}, std::array<float,2>{0.161043867f, 0.977527976f}, std::array<float,2>{0.122090407f, 0.0990314633f}, std::array<float,2>{0.966399074f, 0.783053458f}, std::array<float,2>{0.717048585f, 0.285424948f}, std::array<float,2>{0.373362541f, 0.50868535f}, std::array<float,2>{0.227285221f, 0.313930929f}, std::array<float,2>{0.751116931f, 0.579800248f}, std::array<float,2>{0.519398272f, 0.0541746728f}, std::array<float,2>{0.449358255f, 0.822905838f}, std::array<float,2>{0.295320809f, 0.155028135f}, std::array<float,2>{0.653068125f, 0.924969673f}, std::array<float,2>{0.932478011f, 0.487691224f}, std::array<float,2>{0.0150525281f, 0.636618078f}, std::array<float,2>{0.333574295f, 0.257753581f}, std::array<float,2>{0.741159439f, 0.554876149f}, std::array<float,2>{0.984010279f, 0.0689886436f}, std::array<float,2>{0.0689682141f, 0.771434009f}, std::array<float,2>{0.127052173f, 0.22071445f}, std::array<float,2>{0.868417859f, 0.955738783f}, std::array<float,2>{0.610982835f, 0.394533783f}, std::array<float,2>{0.383726358f, 0.746060669f}, std::array<float,2>{0.0550942384f, 0.458348274f}, std::array<float,2>{0.895876408f, 0.680389822f}, std::array<float,2>{0.68314904f, 0.164762899f}, std::array<float,2>{0.259740144f, 0.881544292f}, std::array<float,2>{0.471664876f, 0.0146958744f}, std::array<float,2>{0.531945944f, 0.846985579f}, std::array<float,2>{0.80985707f, 0.347356141f}, std::array<float,2>{0.192248389f, 0.596746385f}, std::array<float,2>{0.363722324f, 0.401501864f}, std::array<float,2>{0.71049875f, 0.741118968f}, std::array<float,2>{0.954774797f, 0.227634922f}, std::array<float,2>{0.113150209f, 0.968443692f}, std::array<float,2>{0.171850815f, 0.0746221989f}, std::array<float,2>{0.813273191f, 0.776486695f}, std::array<float,2>{0.570037603f, 0.260330379f}, std::array<float,2>{0.419051021f, 0.547559381f}, std::array<float,2>{0.00712162023f, 0.358668804f}, std::array<float,2>{0.928954124f, 0.608657122f}, std::array<float,2>{0.641923904f, 0.00564635685f}, std::array<float,2>{0.288444042f, 0.854141772f}, std::array<float,2>{0.442834109f, 0.164061531f}, std::array<float,2>{0.525656343f, 0.88907069f}, std::array<float,2>{0.765384674f, 0.462149888f}, std::array<float,2>{0.220768586f, 0.678079724f}, std::array<float,2>{0.377412379f, 0.295134723f}, std::array<float,2>{0.617494345f, 0.505018413f}, std::array<float,2>{0.859790206f, 0.109225102f}, std::array<float,2>{0.134453923f, 0.796137333f}, std::array<float,2>{0.0714957491f, 0.20397532f}, std::array<float,2>{0.976315558f, 0.969744623f}, std::array<float,2>{0.742758512f, 0.423422337f}, std::array<float,2>{0.336599767f, 0.714820325f}, std::array<float,2>{0.201198921f, 0.494136393f}, std::array<float,2>{0.797474384f, 0.632720232f}, std::array<float,2>{0.544511795f, 0.143924713f}, std::array<float,2>{0.47810486f, 0.930684566f}, std::array<float,2>{0.257003993f, 0.0550264344f}, std::array<float,2>{0.672114611f, 0.816516936f}, std::array<float,2>{0.900442064f, 0.323829412f}, std::array<float,2>{0.0544672497f, 0.591718972f}, std::array<float,2>{0.485004723f, 0.438733339f}, std::array<float,2>{0.548460424f, 0.659157515f}, std::array<float,2>{0.792223632f, 0.185035378f}, std::array<float,2>{0.209906146f, 0.891501904f}, std::array<float,2>{0.0370005034f, 0.0232157856f}, std::array<float,2>{0.877206981f, 0.870034158f}, std::array<float,2>{0.668958724f, 0.37050423f}, std::array<float,2>{0.280371696f, 0.621789575f}, std::array<float,2>{0.155321643f, 0.267454475f}, std::array<float,2>{0.857580662f, 0.535741568f}, std::array<float,2>{0.593763649f, 0.0878349394f}, std::array<float,2>{0.394815981f, 0.764634848f}, std::array<float,2>{0.327561557f, 0.245622724f}, std::array<float,2>{0.725990832f, 0.951319754f}, std::array<float,2>{0.990480125f, 0.385437399f}, std::array<float,2>{0.0790592507f, 0.721683145f}, std::array<float,2>{0.309987873f, 0.339615583f}, std::array<float,2>{0.632380664f, 0.573826015f}, std::array<float,2>{0.91889596f, 0.0351471156f}, std::array<float,2>{0.0266941972f, 0.836819589f}, std::array<float,2>{0.240689814f, 0.130528882f}, std::array<float,2>{0.772836924f, 0.920109212f}, std::array<float,2>{0.512762964f, 0.46946016f}, std::array<float,2>{0.460501254f, 0.655479789f}, std::array<float,2>{0.107311293f, 0.406835318f}, std::array<float,2>{0.946772635f, 0.693271101f}, std::array<float,2>{0.69751507f, 0.192088798f}, std::array<float,2>{0.353537172f, 0.996237695f}, std::array<float,2>{0.4226937f, 0.112813681f}, std::array<float,2>{0.58296144f, 0.811572433f}, std::array<float,2>{0.83489424f, 0.298843622f}, std::array<float,2>{0.18208167f, 0.528039753f}, std::array<float,2>{0.281391233f, 0.418723375f}, std::array<float,2>{0.646235049f, 0.695834279f}, std::array<float,2>{0.925697446f, 0.19857268f}, std::array<float,2>{0.000465594087f, 0.991297722f}, std::array<float,2>{0.224435374f, 0.117828764f}, std::array<float,2>{0.76118356f, 0.802507699f}, std::array<float,2>{0.530239522f, 0.305278063f}, std::array<float,2>{0.437882543f, 0.52289474f}, std::array<float,2>{0.11401692f, 0.329482079f}, std::array<float,2>{0.96076262f, 0.56319195f}, std::array<float,2>{0.704078555f, 0.0435201973f}, std::array<float,2>{0.360151052f, 0.831196368f}, std::array<float,2>{0.41698122f, 0.134888962f}, std::array<float,2>{0.564069092f, 0.90994072f}, std::array<float,2>{0.818953335f, 0.478459656f}, std::array<float,2>{0.165240377f, 0.645029247f}, std::array<float,2>{0.483798862f, 0.274752438f}, std::array<float,2>{0.542589366f, 0.539745986f}, std::array<float,2>{0.804388642f, 0.0808007419f}, std::array<float,2>{0.197205052f, 0.752872646f}, std::array<float,2>{0.047691036f, 0.235131368f}, std::array<float,2>{0.903778613f, 0.944847167f}, std::array<float,2>{0.676586688f, 0.382011712f}, std::array<float,2>{0.252260923f, 0.733335912f}, std::array<float,2>{0.137555853f, 0.448901504f}, std::array<float,2>{0.8639431f, 0.666734099f}, std::array<float,2>{0.624498427f, 0.173500329f}, std::array<float,2>{0.380199999f, 0.903948545f}, std::array<float,2>{0.340766579f, 0.0262603499f}, std::array<float,2>{0.748533309f, 0.859906495f}, std::array<float,2>{0.970201015f, 0.366560966f}, std::array<float,2>{0.0748035535f, 0.612541258f}, std::array<float,2>{0.391533345f, 0.489312261f}, std::array<float,2>{0.598702848f, 0.639521599f}, std::array<float,2>{0.852351904f, 0.150334567f}, std::array<float,2>{0.151309028f, 0.928812861f}, std::array<float,2>{0.0842892826f, 0.0469875224f}, std::array<float,2>{0.985728204f, 0.827096999f}, std::array<float,2>{0.720211565f, 0.316966265f}, std::array<float,2>{0.322279811f, 0.585708082f}, std::array<float,2>{0.206300497f, 0.283082992f}, std::array<float,2>{0.793486595f, 0.512431204f}, std::array<float,2>{0.553028345f, 0.0974413902f}, std::array<float,2>{0.491284698f, 0.787238657f}, std::array<float,2>{0.274383277f, 0.212775365f}, std::array<float,2>{0.664094388f, 0.984337807f}, std::array<float,2>{0.880043924f, 0.432100236f}, std::array<float,2>{0.0314919278f, 0.704021513f}, std::array<float,2>{0.357852072f, 0.351165265f}, std::array<float,2>{0.700475276f, 0.598639667f}, std::array<float,2>{0.950018227f, 0.0112954555f}, std::array<float,2>{0.103175774f, 0.850855291f}, std::array<float,2>{0.187162474f, 0.169920489f}, std::array<float,2>{0.831270158f, 0.875789881f}, std::array<float,2>{0.58029443f, 0.454354286f}, std::array<float,2>{0.429270059f, 0.684933126f}, std::array<float,2>{0.0294826683f, 0.391137153f}, std::array<float,2>{0.917516351f, 0.74628669f}, std::array<float,2>{0.628097713f, 0.225285262f}, std::array<float,2>{0.307026148f, 0.960728824f}, std::array<float,2>{0.455431312f, 0.0638132542f}, std::array<float,2>{0.508114815f, 0.767155945f}, std::array<float,2>{0.767826617f, 0.25291726f}, std::array<float,2>{0.237055525f, 0.560450435f}, std::array<float,2>{0.319870085f, 0.467053771f}, std::array<float,2>{0.73285383f, 0.672102928f}, std::array<float,2>{0.995619237f, 0.159176007f}, std::array<float,2>{0.0907710046f, 0.884672105f}, std::array<float,2>{0.146560892f, 0.0038492023f}, std::array<float,2>{0.844614327f, 0.857061505f}, std::array<float,2>{0.606943011f, 0.354010522f}, std::array<float,2>{0.401837647f, 0.6035586f}, std::array<float,2>{0.0432391278f, 0.262693822f}, std::array<float,2>{0.88352704f, 0.55202949f}, std::array<float,2>{0.656926274f, 0.072284624f}, std::array<float,2>{0.267553329f, 0.778435469f}, std::array<float,2>{0.49800244f, 0.231724426f}, std::array<float,2>{0.55728358f, 0.96332258f}, std::array<float,2>{0.786793113f, 0.4037233f}, std::array<float,2>{0.216445088f, 0.735412359f}, std::array<float,2>{0.436762869f, 0.325383127f}, std::array<float,2>{0.590174437f, 0.58794266f}, std::array<float,2>{0.839128196f, 0.0612412319f}, std::array<float,2>{0.173305228f, 0.813599885f}, std::array<float,2>{0.0976996347f, 0.146641597f}, std::array<float,2>{0.943831265f, 0.934260428f}, std::array<float,2>{0.690150142f, 0.499166638f}, std::array<float,2>{0.351535708f, 0.627773583f}, std::array<float,2>{0.243730724f, 0.42602855f}, std::array<float,2>{0.773768187f, 0.718355417f}, std::array<float,2>{0.507013261f, 0.208073542f}, std::array<float,2>{0.464532703f, 0.974825144f}, std::array<float,2>{0.297694534f, 0.103961267f}, std::array<float,2>{0.634189069f, 0.789135635f}, std::array<float,2>{0.912271917f, 0.291262716f}, std::array<float,2>{0.0184218977f, 0.500931442f}, std::array<float,2>{0.446532309f, 0.388736367f}, std::array<float,2>{0.520585895f, 0.725217581f}, std::array<float,2>{0.756200016f, 0.249758109f}, std::array<float,2>{0.231082007f, 0.947374284f}, std::array<float,2>{0.00888521597f, 0.0920119062f}, std::array<float,2>{0.935399711f, 0.760251462f}, std::array<float,2>{0.650383174f, 0.273303717f}, std::array<float,2>{0.289992839f, 0.533024073f}, std::array<float,2>{0.157489225f, 0.37479347f}, std::array<float,2>{0.821866214f, 0.619489491f}, std::array<float,2>{0.570561409f, 0.0162100922f}, std::array<float,2>{0.407231957f, 0.87393117f}, std::array<float,2>{0.369168192f, 0.179710776f}, std::array<float,2>{0.713519871f, 0.895539999f}, std::array<float,2>{0.96222949f, 0.444419742f}, std::array<float,2>{0.120609947f, 0.661848605f}, std::array<float,2>{0.265577376f, 0.303042769f}, std::array<float,2>{0.684254646f, 0.526183546f}, std::array<float,2>{0.893655539f, 0.113965958f}, std::array<float,2>{0.0624086149f, 0.805116177f}, std::array<float,2>{0.188147962f, 0.190108001f}, std::array<float,2>{0.804966867f, 0.993160963f}, std::array<float,2>{0.538110852f, 0.410401851f}, std::array<float,2>{0.472769678f, 0.691103935f}, std::array<float,2>{0.0629301593f, 0.473747313f}, std::array<float,2>{0.980389297f, 0.651867747f}, std::array<float,2>{0.736544907f, 0.125366077f}, std::array<float,2>{0.329735637f, 0.915556908f}, std::array<float,2>{0.389665872f, 0.0379987694f}, std::array<float,2>{0.613620937f, 0.84055829f}, std::array<float,2>{0.872894645f, 0.341597497f}, std::array<float,2>{0.129696429f, 0.577328026f}, std::array<float,2>{0.303791463f, 0.451332539f}, std::array<float,2>{0.638168156f, 0.67178899f}, std::array<float,2>{0.908617795f, 0.179628879f}, std::array<float,2>{0.022575615f, 0.902054667f}, std::array<float,2>{0.247814208f, 0.0278072376f}, std::array<float,2>{0.779253602f, 0.865608752f}, std::array<float,2>{0.502440095f, 0.362879366f}, std::array<float,2>{0.46791482f, 0.615509391f}, std::array<float,2>{0.0966714472f, 0.278065741f}, std::array<float,2>{0.93835783f, 0.546400309f}, std::array<float,2>{0.692777634f, 0.0836646706f}, std::array<float,2>{0.343928665f, 0.756448984f}, std::array<float,2>{0.433021396f, 0.239879087f}, std::array<float,2>{0.586263299f, 0.937536895f}, std::array<float,2>{0.84081769f, 0.377198577f}, std::array<float,2>{0.178607672f, 0.729140043f}, std::array<float,2>{0.495470345f, 0.332605332f}, std::array<float,2>{0.560453773f, 0.569277346f}, std::array<float,2>{0.781531036f, 0.0404139347f}, std::array<float,2>{0.212725401f, 0.835075617f}, std::array<float,2>{0.0428762548f, 0.137753114f}, std::array<float,2>{0.889013171f, 0.911074281f}, std::array<float,2>{0.6606161f, 0.482946545f}, std::array<float,2>{0.272660285f, 0.644077599f}, std::array<float,2>{0.143262982f, 0.415654451f}, std::array<float,2>{0.848584533f, 0.701493263f}, std::array<float,2>{0.602399111f, 0.202940553f}, std::array<float,2>{0.402360976f, 0.986801386f}, std::array<float,2>{0.313182056f, 0.124124423f}, std::array<float,2>{0.729188085f, 0.798901081f}, std::array<float,2>{0.998929858f, 0.311289608f}, std::array<float,2>{0.0879226923f, 0.517550349f}, std::array<float,2>{0.386461228f, 0.397986531f}, std::array<float,2>{0.613270998f, 0.742970288f}, std::array<float,2>{0.869839966f, 0.219930977f}, std::array<float,2>{0.125018835f, 0.95325774f}, std::array<float,2>{0.0675114319f, 0.0666959435f}, std::array<float,2>{0.98218292f, 0.771816671f}, std::array<float,2>{0.738772929f, 0.254505336f}, std::array<float,2>{0.335621744f, 0.55733794f}, std::array<float,2>{0.194405839f, 0.344753683f}, std::array<float,2>{0.810682178f, 0.594595671f}, std::array<float,2>{0.533229411f, 0.0120170843f}, std::array<float,2>{0.469072789f, 0.845388174f}, std::array<float,2>{0.261642456f, 0.166663244f}, std::array<float,2>{0.680853307f, 0.880207717f}, std::array<float,2>{0.896708667f, 0.460377634f}, std::array<float,2>{0.0579403639f, 0.68309176f}, std::array<float,2>{0.371174961f, 0.288442701f}, std::array<float,2>{0.716721356f, 0.510348856f}, std::array<float,2>{0.96867919f, 0.101285622f}, std::array<float,2>{0.123781793f, 0.783250928f}, std::array<float,2>{0.163372949f, 0.218400136f}, std::array<float,2>{0.825240374f, 0.979055047f}, std::array<float,2>{0.577721417f, 0.434290528f}, std::array<float,2>{0.413160473f, 0.709492624f}, std::array<float,2>{0.0120643247f, 0.485087812f}, std::array<float,2>{0.931079566f, 0.63313669f}, std::array<float,2>{0.655883551f, 0.152755663f}, std::array<float,2>{0.293647766f, 0.923684895f}, std::array<float,2>{0.451194912f, 0.0514381528f}, std::array<float,2>{0.516028583f, 0.821051836f}, std::array<float,2>{0.75258255f, 0.315490812f}, std::array<float,2>{0.228869736f, 0.580316722f}, std::array<float,2>{0.33871749f, 0.424693972f}, std::array<float,2>{0.746059597f, 0.712132931f}, std::array<float,2>{0.974144697f, 0.205547109f}, std::array<float,2>{0.0738180578f, 0.971049905f}, std::array<float,2>{0.13645114f, 0.107045263f}, std::array<float,2>{0.862195313f, 0.793556929f}, std::array<float,2>{0.619388223f, 0.293639332f}, std::array<float,2>{0.376871258f, 0.506690443f}, std::array<float,2>{0.0509916283f, 0.321009517f}, std::array<float,2>{0.899253786f, 0.593301535f}, std::array<float,2>{0.674362063f, 0.0584797151f}, std::array<float,2>{0.254829526f, 0.818644464f}, std::array<float,2>{0.480015069f, 0.141705737f}, std::array<float,2>{0.54673022f, 0.933358431f}, std::array<float,2>{0.799416363f, 0.494390935f}, std::array<float,2>{0.199719399f, 0.630479693f}, std::array<float,2>{0.421570539f, 0.258061826f}, std::array<float,2>{0.567063749f, 0.549398124f}, std::array<float,2>{0.815596998f, 0.0772504732f}, std::array<float,2>{0.169122905f, 0.774258912f}, std::array<float,2>{0.110603355f, 0.229746878f}, std::array<float,2>{0.955745101f, 0.965453625f}, std::array<float,2>{0.708200991f, 0.399722993f}, std::array<float,2>{0.366209328f, 0.740206659f}, std::array<float,2>{0.218829229f, 0.463041008f}, std::array<float,2>{0.763467371f, 0.677459359f}, std::array<float,2>{0.524929523f, 0.160864726f}, std::array<float,2>{0.444216818f, 0.887698829f}, std::array<float,2>{0.28706792f, 0.00734818447f}, std::array<float,2>{0.644301116f, 0.852671981f}, std::array<float,2>{0.926768541f, 0.356401265f}, std::array<float,2>{0.00404181285f, 0.606445551f}, std::array<float,2>{0.457906365f, 0.470894217f}, std::array<float,2>{0.513920903f, 0.652761698f}, std::array<float,2>{0.769759655f, 0.131862417f}, std::array<float,2>{0.238511249f, 0.919191957f}, std::array<float,2>{0.0252811667f, 0.0317976177f}, std::array<float,2>{0.920286119f, 0.838157833f}, std::array<float,2>{0.629188776f, 0.337094307f}, std::array<float,2>{0.310686857f, 0.571993291f}, std::array<float,2>{0.180895597f, 0.298087955f}, std::array<float,2>{0.833862543f, 0.529838741f}, std::array<float,2>{0.585928142f, 0.109467879f}, std::array<float,2>{0.424183011f, 0.809672534f}, std::array<float,2>{0.351857603f, 0.194259211f}, std::array<float,2>{0.69591099f, 0.998405397f}, std::array<float,2>{0.948295355f, 0.409256577f}, std::array<float,2>{0.108676173f, 0.694812119f}, std::array<float,2>{0.279128611f, 0.367885411f}, std::array<float,2>{0.67108494f, 0.623251498f}, std::array<float,2>{0.876124084f, 0.0207403805f}, std::array<float,2>{0.038156122f, 0.86743927f}, std::array<float,2>{0.208311394f, 0.186971337f}, std::array<float,2>{0.790428281f, 0.894466817f}, std::array<float,2>{0.550538361f, 0.440518796f}, std::array<float,2>{0.486827224f, 0.657727838f}, std::array<float,2>{0.0806683898f, 0.384360969f}, std::array<float,2>{0.988801062f, 0.719805002f}, std::array<float,2>{0.722795188f, 0.243821517f}, std::array<float,2>{0.325312912f, 0.949670911f}, std::array<float,2>{0.397154599f, 0.0880149826f}, std::array<float,2>{0.596678317f, 0.762382984f}, std::array<float,2>{0.856989324f, 0.268540144f}, std::array<float,2>{0.153144091f, 0.538574219f}, std::array<float,2>{0.251322925f, 0.37922284f}, std::array<float,2>{0.678943574f, 0.731215239f}, std::array<float,2>{0.9049142f, 0.236914679f}, std::array<float,2>{0.0491995998f, 0.943036377f}, std::array<float,2>{0.197885036f, 0.0796543136f}, std::array<float,2>{0.800801933f, 0.750248551f}, std::array<float,2>{0.539301217f, 0.27658233f}, std::array<float,2>{0.48159194f, 0.541969836f}, std::array<float,2>{0.0772721246f, 0.365129143f}, std::array<float,2>{0.971356988f, 0.610934615f}, std::array<float,2>{0.747767627f, 0.023755325f}, std::array<float,2>{0.343330294f, 0.861367285f}, std::array<float,2>{0.381596059f, 0.175050244f}, std::array<float,2>{0.622427821f, 0.906074226f}, std::array<float,2>{0.867028713f, 0.445349008f}, std::array<float,2>{0.140134081f, 0.66519928f}, std::array<float,2>{0.441264749f, 0.308470815f}, std::array<float,2>{0.528804481f, 0.521110594f}, std::array<float,2>{0.758002102f, 0.119322255f}, std::array<float,2>{0.22563374f, 0.802980661f}, std::array<float,2>{0.00254334579f, 0.196917295f}, std::array<float,2>{0.922341049f, 0.989394188f}, std::array<float,2>{0.647693992f, 0.419992596f}, std::array<float,2>{0.283622682f, 0.697868764f}, std::array<float,2>{0.167018831f, 0.478715241f}, std::array<float,2>{0.816640854f, 0.64794004f}, std::array<float,2>{0.565461576f, 0.133263707f}, std::array<float,2>{0.415593892f, 0.908182144f}, std::array<float,2>{0.36292395f, 0.0465514362f}, std::array<float,2>{0.705347717f, 0.828409433f}, std::array<float,2>{0.957749546f, 0.331578255f}, std::array<float,2>{0.11644689f, 0.566153467f}, std::array<float,2>{0.425972641f, 0.455245763f}, std::array<float,2>{0.579522014f, 0.685924709f}, std::array<float,2>{0.829513013f, 0.171111494f}, std::array<float,2>{0.184547812f, 0.878627062f}, std::array<float,2>{0.103947192f, 0.00834808778f}, std::array<float,2>{0.951728821f, 0.848757625f}, std::array<float,2>{0.702844322f, 0.349197328f}, std::array<float,2>{0.357208133f, 0.601106346f}, std::array<float,2>{0.235764906f, 0.250311345f}, std::array<float,2>{0.766960502f, 0.560609758f}, std::array<float,2>{0.511702478f, 0.0661121607f}, std::array<float,2>{0.455066293f, 0.768821836f}, std::array<float,2>{0.304861963f, 0.224213973f}, std::array<float,2>{0.6253106f, 0.958664417f}, std::array<float,2>{0.914800882f, 0.392803907f}, std::array<float,2>{0.0275619645f, 0.749007642f}, std::array<float,2>{0.321352154f, 0.320265919f}, std::array<float,2>{0.720738411f, 0.582491457f}, std::array<float,2>{0.986807287f, 0.0503403358f}, std::array<float,2>{0.0823449939f, 0.825431049f}, std::array<float,2>{0.150335893f, 0.152170599f}, std::array<float,2>{0.854592502f, 0.927665174f}, std::array<float,2>{0.601046562f, 0.491519213f}, std::array<float,2>{0.394007325f, 0.638177812f}, std::array<float,2>{0.0336255543f, 0.430404216f}, std::array<float,2>{0.881315291f, 0.706163526f}, std::array<float,2>{0.666750789f, 0.213945061f}, std::array<float,2>{0.277076781f, 0.981290877f}, std::array<float,2>{0.488648921f, 0.0941732675f}, std::array<float,2>{0.55189532f, 0.786792874f}, std::array<float,2>{0.794999182f, 0.285028964f}, std::array<float,2>{0.204546779f, 0.51367867f}, std::array<float,2>{0.348209918f, 0.497744322f}, std::array<float,2>{0.689129293f, 0.625006318f}, std::array<float,2>{0.941737592f, 0.146263272f}, std::array<float,2>{0.100064829f, 0.935923338f}, std::array<float,2>{0.175574139f, 0.0588976033f}, std::array<float,2>{0.836080253f, 0.81465137f}, std::array<float,2>{0.593000829f, 0.32707864f}, std::array<float,2>{0.434005141f, 0.587051034f}, std::array<float,2>{0.0158310253f, 0.290962249f}, std::array<float,2>{0.911345959f, 0.503329337f}, std::array<float,2>{0.634834588f, 0.10307093f}, std::array<float,2>{0.299538851f, 0.79212147f}, std::array<float,2>{0.462757438f, 0.209243238f}, std::array<float,2>{0.504098475f, 0.973774314f}, std::array<float,2>{0.775660753f, 0.428254694f}, std::array<float,2>{0.244837999f, 0.716019809f}, std::array<float,2>{0.398633152f, 0.352778971f}, std::array<float,2>{0.608059943f, 0.601863384f}, std::array<float,2>{0.845770359f, 0.00179449411f}, std::array<float,2>{0.145497456f, 0.857787669f}, std::array<float,2>{0.0927392244f, 0.156447098f}, std::array<float,2>{0.994128942f, 0.88634485f}, std::array<float,2>{0.730581939f, 0.465981483f}, std::array<float,2>{0.316678047f, 0.673895776f}, std::array<float,2>{0.218102813f, 0.404809177f}, std::array<float,2>{0.787929773f, 0.737296522f}, std::array<float,2>{0.555142641f, 0.233498409f}, std::array<float,2>{0.49970299f, 0.962354839f}, std::array<float,2>{0.268057019f, 0.0712784752f}, std::array<float,2>{0.65952599f, 0.780802071f}, std::array<float,2>{0.886640787f, 0.265100867f}, std::array<float,2>{0.0449309237f, 0.553476155f}, std::array<float,2>{0.475643426f, 0.412702918f}, std::array<float,2>{0.535226107f, 0.689338982f}, std::array<float,2>{0.807752967f, 0.187781334f}, std::array<float,2>{0.189922258f, 0.995177865f}, std::array<float,2>{0.0604913756f, 0.116925687f}, std::array<float,2>{0.891067684f, 0.806693316f}, std::array<float,2>{0.685581565f, 0.300867885f}, std::array<float,2>{0.262204498f, 0.525069892f}, std::array<float,2>{0.131998986f, 0.341845572f}, std::array<float,2>{0.873889625f, 0.575199306f}, std::array<float,2>{0.616990745f, 0.0354177803f}, std::array<float,2>{0.386799544f, 0.842483759f}, std::array<float,2>{0.331127703f, 0.127913564f}, std::array<float,2>{0.734796107f, 0.917301476f}, std::array<float,2>{0.977764487f, 0.475044698f}, std::array<float,2>{0.0660529882f, 0.650068641f}, std::array<float,2>{0.292831838f, 0.271108508f}, std::array<float,2>{0.652194738f, 0.5347929f}, std::array<float,2>{0.936246991f, 0.090535f}, std::array<float,2>{0.0113190562f, 0.758503556f}, std::array<float,2>{0.234179348f, 0.24726668f}, std::array<float,2>{0.754510224f, 0.945844114f}, std::array<float,2>{0.522605717f, 0.386869133f}, std::array<float,2>{0.447768539f, 0.724544346f}, std::array<float,2>{0.118541121f, 0.442491025f}, std::array<float,2>{0.963694811f, 0.66217649f}, std::array<float,2>{0.712346435f, 0.183532014f}, std::array<float,2>{0.368404955f, 0.898195744f}, std::array<float,2>{0.408715457f, 0.019349901f}, std::array<float,2>{0.572662413f, 0.87224853f}, std::array<float,2>{0.824041247f, 0.371587694f}, std::array<float,2>{0.158662438f, 0.618004501f}, std::array<float,2>{0.311117828f, 0.468869001f}, std::array<float,2>{0.62953037f, 0.656087816f}, std::array<float,2>{0.920612812f, 0.13004373f}, std::array<float,2>{0.0246845465f, 0.920666218f}, std::array<float,2>{0.238783121f, 0.034524098f}, std::array<float,2>{0.770027041f, 0.836268604f}, std::array<float,2>{0.514494061f, 0.339134842f}, std::array<float,2>{0.457125455f, 0.573519468f}, std::array<float,2>{0.108904921f, 0.299574524f}, std::array<float,2>{0.949170291f, 0.527612269f}, std::array<float,2>{0.695368052f, 0.112728335f}, std::array<float,2>{0.352076441f, 0.81235677f}, std::array<float,2>{0.424518913f, 0.191530526f}, std::array<float,2>{0.585294783f, 0.996968389f}, std::array<float,2>{0.833431184f, 0.406466216f}, std::array<float,2>{0.181597307f, 0.692653358f}, std::array<float,2>{0.486335099f, 0.370801002f}, std::array<float,2>{0.55002588f, 0.621178985f}, std::array<float,2>{0.791006565f, 0.0226245578f}, std::array<float,2>{0.208711609f, 0.869209111f}, std::array<float,2>{0.0386663154f, 0.185500115f}, std::array<float,2>{0.876844764f, 0.890715361f}, std::array<float,2>{0.671550214f, 0.439300776f}, std::array<float,2>{0.278794259f, 0.65823251f}, std::array<float,2>{0.152356654f, 0.385060072f}, std::array<float,2>{0.85687089f, 0.72217226f}, std::array<float,2>{0.595982134f, 0.245174304f}, std::array<float,2>{0.396761f, 0.952106953f}, std::array<float,2>{0.32615599f, 0.0872472972f}, std::array<float,2>{0.723204672f, 0.763750911f}, std::array<float,2>{0.988652468f, 0.266935199f}, std::array<float,2>{0.0801782683f, 0.53552711f}, std::array<float,2>{0.376165181f, 0.423285216f}, std::array<float,2>{0.619803786f, 0.714223206f}, std::array<float,2>{0.861514747f, 0.203239813f}, std::array<float,2>{0.135996789f, 0.970462441f}, std::array<float,2>{0.0736999512f, 0.108849086f}, std::array<float,2>{0.973833621f, 0.796836972f}, std::array<float,2>{0.745423555f, 0.29580766f}, std::array<float,2>{0.338340193f, 0.505431831f}, std::array<float,2>{0.199632764f, 0.323395461f}, std::array<float,2>{0.799069524f, 0.590861201f}, std::array<float,2>{0.546279669f, 0.0554742403f}, std::array<float,2>{0.479906917f, 0.817076266f}, std::array<float,2>{0.254337788f, 0.144256771f}, std::array<float,2>{0.67398113f, 0.931161284f}, std::array<float,2>{0.89857775f, 0.493179113f}, std::array<float,2>{0.0516610742f, 0.632197261f}, std::array<float,2>{0.365239799f, 0.259849995f}, std::array<float,2>{0.708850026f, 0.547066867f}, std::array<float,2>{0.955532908f, 0.0748471096f}, std::array<float,2>{0.111184172f, 0.777101755f}, std::array<float,2>{0.169528544f, 0.228058398f}, std::array<float,2>{0.816036463f, 0.968209207f}, std::array<float,2>{0.566513777f, 0.402140945f}, std::array<float,2>{0.421330929f, 0.740626931f}, std::array<float,2>{0.00458728569f, 0.462469816f}, std::array<float,2>{0.927427113f, 0.678670824f}, std::array<float,2>{0.643818736f, 0.163544267f}, std::array<float,2>{0.286493182f, 0.889239848f}, std::array<float,2>{0.443444759f, 0.00494887354f}, std::array<float,2>{0.524765253f, 0.853964627f}, std::array<float,2>{0.762708843f, 0.358918995f}, std::array<float,2>{0.219377965f, 0.609065771f}, std::array<float,2>{0.335055232f, 0.395085156f}, std::array<float,2>{0.738629758f, 0.745387673f}, std::array<float,2>{0.981742084f, 0.221430406f}, std::array<float,2>{0.0682835951f, 0.955521643f}, std::array<float,2>{0.125881076f, 0.068810679f}, std::array<float,2>{0.869283259f, 0.770642936f}, std::array<float,2>{0.612548411f, 0.257179856f}, std::array<float,2>{0.385807216f, 0.555590808f}, std::array<float,2>{0.0583282039f, 0.346726388f}, std::array<float,2>{0.89703393f, 0.597587824f}, std::array<float,2>{0.681285679f, 0.0152296852f}, std::array<float,2>{0.260773867f, 0.847613275f}, std::array<float,2>{0.469284952f, 0.164349779f}, std::array<float,2>{0.533837616f, 0.881172657f}, std::array<float,2>{0.811442673f, 0.458833307f}, std::array<float,2>{0.195269793f, 0.679847181f}, std::array<float,2>{0.413760215f, 0.285948902f}, std::array<float,2>{0.577463984f, 0.508251965f}, std::array<float,2>{0.826013625f, 0.0993302986f}, std::array<float,2>{0.163616642f, 0.782256842f}, std::array<float,2>{0.123058483f, 0.214851171f}, std::array<float,2>{0.967888355f, 0.976626277f}, std::array<float,2>{0.716188848f, 0.437215328f}, std::array<float,2>{0.3718566f, 0.707827449f}, std::array<float,2>{0.229265049f, 0.487859666f}, std::array<float,2>{0.752116501f, 0.635950744f}, std::array<float,2>{0.516513646f, 0.154509827f}, std::array<float,2>{0.452127367f, 0.925415933f}, std::array<float,2>{0.293283045f, 0.0542906076f}, std::array<float,2>{0.655717432f, 0.822680235f}, std::array<float,2>{0.931519866f, 0.31427297f}, std::array<float,2>{0.0123529378f, 0.579337955f}, std::array<float,2>{0.468337297f, 0.45072186f}, std::array<float,2>{0.502882302f, 0.669382632f}, std::array<float,2>{0.778512001f, 0.177537203f}, std::array<float,2>{0.247471496f, 0.899447978f}, std::array<float,2>{0.0231914353f, 0.0293766577f}, std::array<float,2>{0.908939481f, 0.863964856f}, std::array<float,2>{0.638531744f, 0.361061513f}, std::array<float,2>{0.304504901f, 0.614480019f}, std::array<float,2>{0.177829057f, 0.279553175f}, std::array<float,2>{0.839961827f, 0.543919623f}, std::array<float,2>{0.58655405f, 0.0842600167f}, std::array<float,2>{0.433255613f, 0.753955901f}, std::array<float,2>{0.344721705f, 0.241359353f}, std::array<float,2>{0.692887723f, 0.940422356f}, std::array<float,2>{0.937713027f, 0.375741959f}, std::array<float,2>{0.0961346105f, 0.727499366f}, std::array<float,2>{0.273397535f, 0.334811181f}, std::array<float,2>{0.660928369f, 0.567973733f}, std::array<float,2>{0.889419019f, 0.041056294f}, std::array<float,2>{0.0421203934f, 0.832959294f}, std::array<float,2>{0.212338179f, 0.139113069f}, std::array<float,2>{0.781765699f, 0.913439929f}, std::array<float,2>{0.559615672f, 0.48231867f}, std::array<float,2>{0.496004641f, 0.640793502f}, std::array<float,2>{0.0886732936f, 0.416816682f}, std::array<float,2>{0.998188972f, 0.701143801f}, std::array<float,2>{0.728613615f, 0.199798927f}, std::array<float,2>{0.312874317f, 0.985960364f}, std::array<float,2>{0.40298906f, 0.12219812f}, std::array<float,2>{0.601805151f, 0.797197402f}, std::array<float,2>{0.847806334f, 0.308812916f}, std::array<float,2>{0.142726496f, 0.517967999f}, std::array<float,2>{0.262443095f, 0.410823256f}, std::array<float,2>{0.686383367f, 0.690868199f}, std::array<float,2>{0.891157269f, 0.189929992f}, std::array<float,2>{0.0595790148f, 0.992483497f}, std::array<float,2>{0.190259129f, 0.113445774f}, std::array<float,2>{0.808262348f, 0.805573225f}, std::array<float,2>{0.536033332f, 0.303607047f}, std::array<float,2>{0.476345837f, 0.525629401f}, std::array<float,2>{0.0659109503f, 0.340869695f}, std::array<float,2>{0.978435755f, 0.577857494f}, std::array<float,2>{0.734948874f, 0.0374911651f}, std::array<float,2>{0.331756413f, 0.839928269f}, std::array<float,2>{0.387561768f, 0.125914037f}, std::array<float,2>{0.616254747f, 0.915377736f}, std::array<float,2>{0.873412967f, 0.474271864f}, std::array<float,2>{0.13241896f, 0.651715398f}, std::array<float,2>{0.44732374f, 0.272786468f}, std::array<float,2>{0.523131251f, 0.532447755f}, std::array<float,2>{0.75435406f, 0.0927482694f}, std::array<float,2>{0.23382318f, 0.760473013f}, std::array<float,2>{0.0108828144f, 0.249284759f}, std::array<float,2>{0.935924768f, 0.948046386f}, std::array<float,2>{0.651393235f, 0.38941884f}, std::array<float,2>{0.292468339f, 0.725092053f}, std::array<float,2>{0.15917027f, 0.445055693f}, std::array<float,2>{0.823678315f, 0.661586046f}, std::array<float,2>{0.572995126f, 0.180322796f}, std::array<float,2>{0.408403039f, 0.896379173f}, std::array<float,2>{0.368776619f, 0.0157233607f}, std::array<float,2>{0.712540925f, 0.873143196f}, std::array<float,2>{0.963100672f, 0.374087214f}, std::array<float,2>{0.118934482f, 0.620098174f}, std::array<float,2>{0.434233308f, 0.499856204f}, std::array<float,2>{0.593729854f, 0.627294958f}, std::array<float,2>{0.836544335f, 0.147284165f}, std::array<float,2>{0.174822196f, 0.934038937f}, std::array<float,2>{0.100430876f, 0.0609079897f}, std::array<float,2>{0.942222774f, 0.814064085f}, std::array<float,2>{0.688559473f, 0.32596159f}, std::array<float,2>{0.34786734f, 0.588668942f}, std::array<float,2>{0.244531602f, 0.291876644f}, std::array<float,2>{0.775962234f, 0.500264525f}, std::array<float,2>{0.504442036f, 0.104478642f}, std::array<float,2>{0.462247938f, 0.789677441f}, std::array<float,2>{0.299312323f, 0.208536714f}, std::array<float,2>{0.635312378f, 0.975484371f}, std::array<float,2>{0.911652744f, 0.426326752f}, std::array<float,2>{0.01657038f, 0.717845201f}, std::array<float,2>{0.317235619f, 0.353625149f}, std::array<float,2>{0.731050193f, 0.60444206f}, std::array<float,2>{0.993563414f, 0.00325315166f}, std::array<float,2>{0.0921074897f, 0.856820047f}, std::array<float,2>{0.144963712f, 0.158650637f}, std::array<float,2>{0.846372426f, 0.884174287f}, std::array<float,2>{0.607607901f, 0.46762079f}, std::array<float,2>{0.399167359f, 0.672508538f}, std::array<float,2>{0.0454805829f, 0.403995961f}, std::array<float,2>{0.885784447f, 0.736020684f}, std::array<float,2>{0.660001516f, 0.232290789f}, std::array<float,2>{0.268478692f, 0.963676453f}, std::array<float,2>{0.499152541f, 0.072897099f}, std::array<float,2>{0.555405855f, 0.778863788f}, std::array<float,2>{0.78720516f, 0.26218012f}, std::array<float,2>{0.218546569f, 0.552619398f}, std::array<float,2>{0.356836617f, 0.455066025f}, std::array<float,2>{0.702516437f, 0.685290515f}, std::array<float,2>{0.951231182f, 0.169011921f}, std::array<float,2>{0.10423293f, 0.875000536f}, std::array<float,2>{0.183660135f, 0.0108077107f}, std::array<float,2>{0.830054402f, 0.851136148f}, std::array<float,2>{0.58004272f, 0.350846678f}, std::array<float,2>{0.426329195f, 0.59928757f}, std::array<float,2>{0.0279925056f, 0.252339751f}, std::array<float,2>{0.914307952f, 0.5598014f}, std::array<float,2>{0.625892758f, 0.0643547624f}, std::array<float,2>{0.305288881f, 0.766794682f}, std::array<float,2>{0.454518884f, 0.224625349f}, std::array<float,2>{0.511087418f, 0.960108042f}, std::array<float,2>{0.767568707f, 0.390720844f}, std::array<float,2>{0.235990182f, 0.746836483f}, std::array<float,2>{0.394269198f, 0.316472471f}, std::array<float,2>{0.601177394f, 0.58520484f}, std::array<float,2>{0.85498935f, 0.0474753119f}, std::array<float,2>{0.149613589f, 0.826273263f}, std::array<float,2>{0.082934998f, 0.149625152f}, std::array<float,2>{0.987109721f, 0.929257691f}, std::array<float,2>{0.721438646f, 0.489888489f}, std::array<float,2>{0.322160304f, 0.638979137f}, std::array<float,2>{0.204843059f, 0.432472795f}, std::array<float,2>{0.795502245f, 0.703444481f}, std::array<float,2>{0.552625418f, 0.212065324f}, std::array<float,2>{0.489074796f, 0.983737946f}, std::array<float,2>{0.276442915f, 0.0969605595f}, std::array<float,2>{0.666121304f, 0.787854612f}, std::array<float,2>{0.881473184f, 0.282414615f}, std::array<float,2>{0.033883132f, 0.512077987f}, std::array<float,2>{0.482238173f, 0.382465541f}, std::array<float,2>{0.539867997f, 0.732636869f}, std::array<float,2>{0.801715612f, 0.234414414f}, std::array<float,2>{0.197561204f, 0.944627404f}, std::array<float,2>{0.0493404828f, 0.0805283412f}, std::array<float,2>{0.904337525f, 0.75241065f}, std::array<float,2>{0.679222524f, 0.274939984f}, std::array<float,2>{0.251909405f, 0.539492726f}, std::array<float,2>{0.140306115f, 0.367066145f}, std::array<float,2>{0.866517186f, 0.612910271f}, std::array<float,2>{0.622896731f, 0.0257710461f}, std::array<float,2>{0.380927265f, 0.859400332f}, std::array<float,2>{0.342861772f, 0.173066705f}, std::array<float,2>{0.747388542f, 0.9037624f}, std::array<float,2>{0.970961869f, 0.448624045f}, std::array<float,2>{0.0779717937f, 0.666380286f}, std::array<float,2>{0.283822328f, 0.304793447f}, std::array<float,2>{0.64823401f, 0.523145914f}, std::array<float,2>{0.922641098f, 0.117422126f}, std::array<float,2>{0.00240748492f, 0.801853836f}, std::array<float,2>{0.226209134f, 0.198837638f}, std::array<float,2>{0.758531451f, 0.991869152f}, std::array<float,2>{0.529015005f, 0.418160588f}, std::array<float,2>{0.440518677f, 0.695319474f}, std::array<float,2>{0.117155939f, 0.477639169f}, std::array<float,2>{0.957361937f, 0.644868791f}, std::array<float,2>{0.705858529f, 0.135647595f}, std::array<float,2>{0.362607718f, 0.909611225f}, std::array<float,2>{0.41509676f, 0.0430527292f}, std::array<float,2>{0.566308439f, 0.83157593f}, std::array<float,2>{0.817174971f, 0.330002606f}, std::array<float,2>{0.16750057f, 0.56284517f}, std::array<float,2>{0.281224161f, 0.440953612f}, std::array<float,2>{0.669866562f, 0.657421708f}, std::array<float,2>{0.87745744f, 0.187314048f}, std::array<float,2>{0.0363414511f, 0.894036353f}, std::array<float,2>{0.209233418f, 0.021106882f}, std::array<float,2>{0.792868495f, 0.867885113f}, std::array<float,2>{0.548144579f, 0.36763975f}, std::array<float,2>{0.484671175f, 0.624020934f}, std::array<float,2>{0.0781261325f, 0.268063396f}, std::array<float,2>{0.990946889f, 0.53877455f}, std::array<float,2>{0.726227045f, 0.0886946991f}, std::array<float,2>{0.327730685f, 0.762056589f}, std::array<float,2>{0.395418882f, 0.243511677f}, std::array<float,2>{0.594592273f, 0.950166702f}, std::array<float,2>{0.8579337f, 0.383964509f}, std::array<float,2>{0.15594992f, 0.720274746f}, std::array<float,2>{0.460338533f, 0.337662369f}, std::array<float,2>{0.513617635f, 0.571397245f}, std::array<float,2>{0.773347616f, 0.031529054f}, std::array<float,2>{0.241013765f, 0.838801801f}, std::array<float,2>{0.0272999648f, 0.132647052f}, std::array<float,2>{0.918143868f, 0.919559419f}, std::array<float,2>{0.632100999f, 0.471434444f}, std::array<float,2>{0.310492933f, 0.653209746f}, std::array<float,2>{0.18216686f, 0.409886301f}, std::array<float,2>{0.834362924f, 0.695125103f}, std::array<float,2>{0.582338095f, 0.193798602f}, std::array<float,2>{0.422203332f, 0.998907745f}, std::array<float,2>{0.354447037f, 0.109956957f}, std::array<float,2>{0.697937727f, 0.810193956f}, std::array<float,2>{0.947048664f, 0.298652917f}, std::array<float,2>{0.106504537f, 0.529657602f}, std::array<float,2>{0.419874042f, 0.400068462f}, std::array<float,2>{0.569411099f, 0.73963964f}, std::array<float,2>{0.812858403f, 0.230455831f}, std::array<float,2>{0.171268851f, 0.964977026f}, std::array<float,2>{0.112730518f, 0.0778895095f}, std::array<float,2>{0.954340279f, 0.77367878f}, std::array<float,2>{0.71005553f, 0.258461952f}, std::array<float,2>{0.364020467f, 0.549086869f}, std::array<float,2>{0.221220419f, 0.35565725f}, std::array<float,2>{0.764659107f, 0.607242525f}, std::array<float,2>{0.526040792f, 0.00701826392f}, std::array<float,2>{0.443145722f, 0.853347063f}, std::array<float,2>{0.289029002f, 0.160211474f}, std::array<float,2>{0.642211139f, 0.888284743f}, std::array<float,2>{0.929608107f, 0.463604748f}, std::array<float,2>{0.00753726996f, 0.676798224f}, std::array<float,2>{0.336220562f, 0.293047726f}, std::array<float,2>{0.742655277f, 0.506106794f}, std::array<float,2>{0.975987673f, 0.10673891f}, std::array<float,2>{0.071807459f, 0.793296099f}, std::array<float,2>{0.134206608f, 0.205960929f}, std::array<float,2>{0.860159397f, 0.971231461f}, std::array<float,2>{0.618066907f, 0.424219012f}, std::array<float,2>{0.377871662f, 0.712445617f}, std::array<float,2>{0.0539606623f, 0.494994313f}, std::array<float,2>{0.901296616f, 0.630055428f}, std::array<float,2>{0.672812521f, 0.142304078f}, std::array<float,2>{0.257438153f, 0.93282032f}, std::array<float,2>{0.477716178f, 0.0580720715f}, std::array<float,2>{0.544103801f, 0.819321394f}, std::array<float,2>{0.797318816f, 0.320614964f}, std::array<float,2>{0.201900512f, 0.592922509f}, std::array<float,2>{0.373923808f, 0.433794916f}, std::array<float,2>{0.717631817f, 0.709201753f}, std::array<float,2>{0.966022491f, 0.21807763f}, std::array<float,2>{0.122753523f, 0.978936911f}, std::array<float,2>{0.160517931f, 0.100892864f}, std::array<float,2>{0.827242911f, 0.783758283f}, std::array<float,2>{0.575947464f, 0.288617551f}, std::array<float,2>{0.410892129f, 0.510097086f}, std::array<float,2>{0.015496687f, 0.316217273f}, std::array<float,2>{0.931942761f, 0.580725431f}, std::array<float,2>{0.65252167f, 0.050887946f}, std::array<float,2>{0.295424968f, 0.820503175f}, std::array<float,2>{0.449734747f, 0.153073877f}, std::array<float,2>{0.518581688f, 0.92310071f}, std::array<float,2>{0.751932025f, 0.484657735f}, std::array<float,2>{0.226732627f, 0.633421004f}, std::array<float,2>{0.383207917f, 0.254261464f}, std::array<float,2>{0.610828578f, 0.556955636f}, std::array<float,2>{0.869056582f, 0.0673410073f}, std::array<float,2>{0.127478823f, 0.772121549f}, std::array<float,2>{0.0684624463f, 0.220593467f}, std::array<float,2>{0.983425498f, 0.953950286f}, std::array<float,2>{0.740528941f, 0.397714049f}, std::array<float,2>{0.333066195f, 0.742566407f}, std::array<float,2>{0.191862151f, 0.460511774f}, std::array<float,2>{0.810312688f, 0.683515429f}, std::array<float,2>{0.531695485f, 0.166349813f}, std::array<float,2>{0.471009284f, 0.880485535f}, std::array<float,2>{0.25918299f, 0.0126196761f}, std::array<float,2>{0.68282479f, 0.844810009f}, std::array<float,2>{0.896013379f, 0.345263362f}, std::array<float,2>{0.055379305f, 0.594098687f}, std::array<float,2>{0.492592216f, 0.482431084f}, std::array<float,2>{0.562435865f, 0.643938124f}, std::array<float,2>{0.784044743f, 0.138223708f}, std::array<float,2>{0.21405755f, 0.910196066f}, std::array<float,2>{0.0404093638f, 0.0406196602f}, std::array<float,2>{0.887301683f, 0.835481644f}, std::array<float,2>{0.663230479f, 0.332054526f}, std::array<float,2>{0.269663692f, 0.568679452f}, std::array<float,2>{0.140660405f, 0.310978711f}, std::array<float,2>{0.851509392f, 0.516653478f}, std::array<float,2>{0.603961885f, 0.124717183f}, std::array<float,2>{0.405756831f, 0.79970932f}, std::array<float,2>{0.315292746f, 0.202600047f}, std::array<float,2>{0.727365553f, 0.987004519f}, std::array<float,2>{0.996656418f, 0.41522342f}, std::array<float,2>{0.0860235319f, 0.702106237f}, std::array<float,2>{0.301582307f, 0.36266309f}, std::array<float,2>{0.640276432f, 0.615788758f}, std::array<float,2>{0.907428145f, 0.0279071387f}, std::array<float,2>{0.0197281446f, 0.865872741f}, std::array<float,2>{0.248811945f, 0.178835392f}, std::array<float,2>{0.779685915f, 0.901408911f}, std::array<float,2>{0.501567543f, 0.452079326f}, std::array<float,2>{0.464974582f, 0.671135187f}, std::array<float,2>{0.0945490822f, 0.377717316f}, std::array<float,2>{0.940508962f, 0.728898287f}, std::array<float,2>{0.695115626f, 0.2393547f}, std::array<float,2>{0.347079426f, 0.938103616f}, std::array<float,2>{0.430454373f, 0.0831366554f}, std::array<float,2>{0.588771105f, 0.75618118f}, std::array<float,2>{0.842078447f, 0.27735886f}, std::array<float,2>{0.176379725f, 0.546186805f}, std::array<float,2>{0.289172173f, 0.387585908f}, std::array<float,2>{0.649839997f, 0.724010944f}, std::array<float,2>{0.934887409f, 0.247749418f}, std::array<float,2>{0.009688491f, 0.945589721f}, std::array<float,2>{0.230554551f, 0.0899313018f}, std::array<float,2>{0.756726265f, 0.758195698f}, std::array<float,2>{0.521040201f, 0.270520091f}, std::array<float,2>{0.447115511f, 0.53429395f}, std::array<float,2>{0.120279975f, 0.371214271f}, std::array<float,2>{0.96268791f, 0.617626727f}, std::array<float,2>{0.713249803f, 0.0189281236f}, std::array<float,2>{0.370054036f, 0.872978508f}, std::array<float,2>{0.407767892f, 0.18283163f}, std::array<float,2>{0.571025431f, 0.897519767f}, std::array<float,2>{0.82151866f, 0.442980468f}, std::array<float,2>{0.157840207f, 0.662799656f}, std::array<float,2>{0.473343909f, 0.301445484f}, std::array<float,2>{0.538989723f, 0.524455011f}, std::array<float,2>{0.805560589f, 0.116373263f}, std::array<float,2>{0.187974975f, 0.807191432f}, std::array<float,2>{0.0618468001f, 0.188384801f}, std::array<float,2>{0.894508839f, 0.995823383f}, std::array<float,2>{0.684034169f, 0.412572205f}, std::array<float,2>{0.264771372f, 0.688759327f}, std::array<float,2>{0.128934786f, 0.475550532f}, std::array<float,2>{0.872205317f, 0.649653554f}, std::array<float,2>{0.614223599f, 0.127433181f}, std::array<float,2>{0.390433908f, 0.917827427f}, std::array<float,2>{0.329137534f, 0.0360473655f}, std::array<float,2>{0.73717159f, 0.841880202f}, std::array<float,2>{0.979544103f, 0.342605025f}, std::array<float,2>{0.0633664951f, 0.575989723f}, std::array<float,2>{0.401976019f, 0.466388434f}, std::array<float,2>{0.606561542f, 0.674767613f}, std::array<float,2>{0.843859076f, 0.156931043f}, std::array<float,2>{0.1473995f, 0.885852337f}, std::array<float,2>{0.09005218f, 0.00114143139f}, std::array<float,2>{0.995270967f, 0.857958555f}, std::array<float,2>{0.733231485f, 0.35311839f}, std::array<float,2>{0.319409281f, 0.602383196f}, std::array<float,2>{0.216136277f, 0.265305698f}, std::array<float,2>{0.786232769f, 0.553121388f}, std::array<float,2>{0.556728661f, 0.0707146451f}, std::array<float,2>{0.497392535f, 0.780754983f}, std::array<float,2>{0.266840428f, 0.233986363f}, std::array<float,2>{0.656476498f, 0.962815404f}, std::array<float,2>{0.88290602f, 0.404720485f}, std::array<float,2>{0.0438940488f, 0.736530423f}, std::array<float,2>{0.350657672f, 0.32656306f}, std::array<float,2>{0.689693987f, 0.587507367f}, std::array<float,2>{0.944115102f, 0.0592323728f}, std::array<float,2>{0.0983472466f, 0.815350652f}, std::array<float,2>{0.173741505f, 0.14551045f}, std::array<float,2>{0.83978045f, 0.936432302f}, std::array<float,2>{0.590664983f, 0.497436911f}, std::array<float,2>{0.437453002f, 0.625675976f}, std::array<float,2>{0.0180538669f, 0.428123236f}, std::array<float,2>{0.912770748f, 0.716424048f}, std::array<float,2>{0.634704292f, 0.20956029f}, std::array<float,2>{0.297075897f, 0.974195123f}, std::array<float,2>{0.464027286f, 0.102890536f}, std::array<float,2>{0.507663667f, 0.792960465f}, std::array<float,2>{0.774043441f, 0.290042937f}, std::array<float,2>{0.243579477f, 0.503860176f}, std::array<float,2>{0.322999954f, 0.492152512f}, std::array<float,2>{0.720225155f, 0.63846606f}, std::array<float,2>{0.986007452f, 0.151558399f}, std::array<float,2>{0.0848577172f, 0.926822126f}, std::array<float,2>{0.150416315f, 0.0502353199f}, std::array<float,2>{0.851741254f, 0.825739861f}, std::array<float,2>{0.599449694f, 0.319497555f}, std::array<float,2>{0.39100796f, 0.582542002f}, std::array<float,2>{0.0318511166f, 0.284459203f}, std::array<float,2>{0.880383849f, 0.514368594f}, std::array<float,2>{0.664788783f, 0.0944326371f}, std::array<float,2>{0.273728639f, 0.786506355f}, std::array<float,2>{0.491748661f, 0.214490965f}, std::array<float,2>{0.553551257f, 0.980692506f}, std::array<float,2>{0.793106496f, 0.430000365f}, std::array<float,2>{0.206854701f, 0.706953466f}, std::array<float,2>{0.428883851f, 0.348907411f}, std::array<float,2>{0.580887079f, 0.600710452f}, std::array<float,2>{0.831690669f, 0.00798787363f}, std::array<float,2>{0.186997816f, 0.849187434f}, std::array<float,2>{0.10294766f, 0.171823591f}, std::array<float,2>{0.949672639f, 0.878177762f}, std::array<float,2>{0.701164544f, 0.455742955f}, std::array<float,2>{0.358242452f, 0.686061382f}, std::array<float,2>{0.236516118f, 0.393410385f}, std::array<float,2>{0.768510163f, 0.748466909f}, std::array<float,2>{0.508318901f, 0.223853528f}, std::array<float,2>{0.455752969f, 0.958485007f}, std::array<float,2>{0.307173491f, 0.065552935f}, std::array<float,2>{0.628670156f, 0.769123673f}, std::array<float,2>{0.917374432f, 0.250534385f}, std::array<float,2>{0.0302340034f, 0.561469436f}, std::array<float,2>{0.438087016f, 0.420796126f}, std::array<float,2>{0.529353261f, 0.697682142f}, std::array<float,2>{0.761674523f, 0.196540356f}, std::array<float,2>{0.22380653f, 0.990133464f}, std::array<float,2>{0.000557274965f, 0.119684704f}, std::array<float,2>{0.924950063f, 0.803240776f}, std::array<float,2>{0.645612717f, 0.307734489f}, std::array<float,2>{0.282080948f, 0.520632029f}, std::array<float,2>{0.165989891f, 0.331093669f}, std::array<float,2>{0.818579972f, 0.565761387f}, std::array<float,2>{0.563856065f, 0.0461914688f}, std::array<float,2>{0.416377068f, 0.829013109f}, std::array<float,2>{0.35961172f, 0.133413836f}, std::array<float,2>{0.703564763f, 0.907528996f}, std::array<float,2>{0.960294902f, 0.479035079f}, std::array<float,2>{0.113328375f, 0.648242652f}, std::array<float,2>{0.252526522f, 0.27706629f}, std::array<float,2>{0.676226258f, 0.541261911f}, std::array<float,2>{0.903989494f, 0.0792517066f}, std::array<float,2>{0.0470706001f, 0.750727057f}, std::array<float,2>{0.196375549f, 0.236329198f}, std::array<float,2>{0.80378741f, 0.942456782f}, std::array<float,2>{0.542471945f, 0.379423022f}, std::array<float,2>{0.484332263f, 0.730609298f}, std::array<float,2>{0.0745865256f, 0.446104586f}, std::array<float,2>{0.970470071f, 0.665967345f}, std::array<float,2>{0.74897939f, 0.175466329f}, std::array<float,2>{0.340277404f, 0.905606806f}, std::array<float,2>{0.380792499f, 0.0242994763f}, std::array<float,2>{0.624550223f, 0.861885428f}, std::array<float,2>{0.863322377f, 0.364526629f}, std::array<float,2>{0.136842623f, 0.610825121f}, std::array<float,2>{0.256297708f, 0.493143857f}, std::array<float,2>{0.673308909f, 0.631299615f}, std::array<float,2>{0.901927233f, 0.143361062f}, std::array<float,2>{0.0535181649f, 0.930045843f}, std::array<float,2>{0.202205881f, 0.0560609624f}, std::array<float,2>{0.798752844f, 0.817852437f}, std::array<float,2>{0.543028951f, 0.323014528f}, std::array<float,2>{0.476685107f, 0.589924037f}, std::array<float,2>{0.0703178719f, 0.296213597f}, std::array<float,2>{0.97552669f, 0.504665554f}, std::array<float,2>{0.743361413f, 0.10799925f}, std::array<float,2>{0.337080866f, 0.794945002f}, std::array<float,2>{0.378801495f, 0.205024853f}, std::array<float,2>{0.61841464f, 0.969103217f}, std::array<float,2>{0.860635579f, 0.422162145f}, std::array<float,2>{0.133567229f, 0.713584542f}, std::array<float,2>{0.441577882f, 0.357670873f}, std::array<float,2>{0.52665329f, 0.607658803f}, std::array<float,2>{0.763891816f, 0.00455625588f}, std::array<float,2>{0.221701697f, 0.854834974f}, std::array<float,2>{0.00677640364f, 0.162241131f}, std::array<float,2>{0.928621292f, 0.889712095f}, std::array<float,2>{0.641325831f, 0.461026102f}, std::array<float,2>{0.287464917f, 0.678928971f}, std::array<float,2>{0.170834035f, 0.401164562f}, std::array<float,2>{0.814448655f, 0.742008686f}, std::array<float,2>{0.569307089f, 0.227170318f}, std::array<float,2>{0.41798231f, 0.966853917f}, std::array<float,2>{0.364609212f, 0.075955838f}, std::array<float,2>{0.709087133f, 0.776340723f}, std::array<float,2>{0.953736544f, 0.261085272f}, std::array<float,2>{0.111364752f, 0.548397422f}, std::array<float,2>{0.42308858f, 0.407639921f}, std::array<float,2>{0.583391249f, 0.691867054f}, std::array<float,2>{0.835227907f, 0.193213195f}, std::array<float,2>{0.183039874f, 0.997517645f}, std::array<float,2>{0.105847806f, 0.111361936f}, std::array<float,2>{0.946202934f, 0.811067045f}, std::array<float,2>{0.698805749f, 0.300154746f}, std::array<float,2>{0.355189115f, 0.528679073f}, std::array<float,2>{0.241762161f, 0.338510662f}, std::array<float,2>{0.771894157f, 0.572444856f}, std::array<float,2>{0.512683034f, 0.0339927673f}, std::array<float,2>{0.459100962f, 0.837282002f}, std::array<float,2>{0.309294969f, 0.129086956f}, std::array<float,2>{0.631669998f, 0.921487272f}, std::array<float,2>{0.919561446f, 0.470009804f}, std::array<float,2>{0.0254936498f, 0.654575586f}, std::array<float,2>{0.326848924f, 0.266509533f}, std::array<float,2>{0.725142419f, 0.536633193f}, std::array<float,2>{0.991518259f, 0.0859401897f}, std::array<float,2>{0.0797826797f, 0.764969468f}, std::array<float,2>{0.154722631f, 0.244814411f}, std::array<float,2>{0.858415961f, 0.952577114f}, std::array<float,2>{0.595009148f, 0.38664645f}, std::array<float,2>{0.395950496f, 0.721327126f}, std::array<float,2>{0.0360471122f, 0.437887937f}, std::array<float,2>{0.87836802f, 0.660084486f}, std::array<float,2>{0.668459654f, 0.183979794f}, std::array<float,2>{0.280121535f, 0.892191887f}, std::array<float,2>{0.485447377f, 0.0222509503f}, std::array<float,2>{0.547605455f, 0.870353162f}, std::array<float,2>{0.791140497f, 0.370003223f}, std::array<float,2>{0.210204765f, 0.62223506f}, std::array<float,2>{0.346223265f, 0.376878023f}, std::array<float,2>{0.69387573f, 0.728093505f}, std::array<float,2>{0.940306246f, 0.240917668f}, std::array<float,2>{0.0947988704f, 0.941314459f}, std::array<float,2>{0.177089885f, 0.0856864303f}, std::array<float,2>{0.842884123f, 0.755449891f}, std::array<float,2>{0.58943224f, 0.280810416f}, std::array<float,2>{0.431121916f, 0.544200003f}, std::array<float,2>{0.0214311089f, 0.359444141f}, std::array<float,2>{0.906927884f, 0.613917232f}, std::array<float,2>{0.639394045f, 0.0304676723f}, std::array<float,2>{0.302411169f, 0.864731431f}, std::array<float,2>{0.46626693f, 0.175886452f}, std::array<float,2>{0.500678003f, 0.898526728f}, std::array<float,2>{0.780912578f, 0.449973851f}, std::array<float,2>{0.249849349f, 0.668612719f}, std::array<float,2>{0.404830456f, 0.309731752f}, std::array<float,2>{0.604674876f, 0.519340992f}, std::array<float,2>{0.85054487f, 0.121958785f}, std::array<float,2>{0.142136365f, 0.798750103f}, std::array<float,2>{0.0875171497f, 0.200503901f}, std::array<float,2>{0.998040318f, 0.984829783f}, std::array<float,2>{0.727569997f, 0.41796279f}, std::array<float,2>{0.316338211f, 0.699539542f}, std::array<float,2>{0.213548288f, 0.481069595f}, std::array<float,2>{0.785062432f, 0.642352641f}, std::array<float,2>{0.561064124f, 0.139831379f}, std::array<float,2>{0.494031042f, 0.91258651f}, std::array<float,2>{0.270738751f, 0.0423393212f}, std::array<float,2>{0.662879646f, 0.833433151f}, std::array<float,2>{0.888190806f, 0.335431337f}, std::array<float,2>{0.0392388441f, 0.567246079f}, std::array<float,2>{0.471709579f, 0.457940876f}, std::array<float,2>{0.532492518f, 0.680797875f}, std::array<float,2>{0.808869004f, 0.165732488f}, std::array<float,2>{0.193162352f, 0.882065237f}, std::array<float,2>{0.0559875108f, 0.0141797857f}, std::array<float,2>{0.895196617f, 0.846667409f}, std::array<float,2>{0.682177901f, 0.346535206f}, std::array<float,2>{0.258366764f, 0.596674681f}, std::array<float,2>{0.128847525f, 0.256747872f}, std::array<float,2>{0.868116617f, 0.556485236f}, std::array<float,2>{0.609696984f, 0.069545947f}, std::array<float,2>{0.384286076f, 0.77033186f}, std::array<float,2>{0.332406074f, 0.221769705f}, std::array<float,2>{0.742104173f, 0.95673722f}, std::array<float,2>{0.983336031f, 0.396382898f}, std::array<float,2>{0.0696720928f, 0.744993329f}, std::array<float,2>{0.296603918f, 0.313328505f}, std::array<float,2>{0.653330028f, 0.578195691f}, std::array<float,2>{0.933001518f, 0.0529278107f}, std::array<float,2>{0.0139833307f, 0.823877275f}, std::array<float,2>{0.227926195f, 0.155997366f}, std::array<float,2>{0.750735939f, 0.924242496f}, std::array<float,2>{0.518355608f, 0.487197369f}, std::array<float,2>{0.450989813f, 0.635021448f}, std::array<float,2>{0.121743366f, 0.435706824f}, std::array<float,2>{0.965524495f, 0.708834827f}, std::array<float,2>{0.718189597f, 0.215938449f}, std::array<float,2>{0.374085218f, 0.978424907f}, std::array<float,2>{0.412100881f, 0.0978178382f}, std::array<float,2>{0.574868679f, 0.782136321f}, std::array<float,2>{0.826708078f, 0.286177397f}, std::array<float,2>{0.161499262f, 0.509431899f}, std::array<float,2>{0.298081189f, 0.427477479f}, std::array<float,2>{0.633144915f, 0.717386782f}, std::array<float,2>{0.913406551f, 0.207087085f}, std::array<float,2>{0.0194697157f, 0.976285756f}, std::array<float,2>{0.242708161f, 0.104504481f}, std::array<float,2>{0.774549901f, 0.790163279f}, std::array<float,2>{0.506268203f, 0.292190105f}, std::array<float,2>{0.463528454f, 0.501638353f}, std::array<float,2>{0.0988241509f, 0.324969649f}, std::array<float,2>{0.944984555f, 0.589358866f}, std::array<float,2>{0.691230774f, 0.0624781214f}, std::array<float,2>{0.350010484f, 0.812962234f}, std::array<float,2>{0.43589589f, 0.147479311f}, std::array<float,2>{0.590853274f, 0.935542345f}, std::array<float,2>{0.837923169f, 0.498514384f}, std::array<float,2>{0.172245339f, 0.628082097f}, std::array<float,2>{0.496436536f, 0.263095409f}, std::array<float,2>{0.55858171f, 0.551399291f}, std::array<float,2>{0.785789609f, 0.0733722225f}, std::array<float,2>{0.215369239f, 0.777941167f}, std::array<float,2>{0.044692263f, 0.230480537f}, std::array<float,2>{0.883953929f, 0.964231133f}, std::array<float,2>{0.657767117f, 0.402868032f}, std::array<float,2>{0.266412884f, 0.734462678f}, std::array<float,2>{0.148174673f, 0.467880934f}, std::array<float,2>{0.844952524f, 0.673355281f}, std::array<float,2>{0.606431305f, 0.160090789f}, std::array<float,2>{0.400402069f, 0.883062541f}, std::array<float,2>{0.319297671f, 0.0020082132f}, std::array<float,2>{0.733521163f, 0.856130064f}, std::array<float,2>{0.994271696f, 0.354654461f}, std::array<float,2>{0.0912733525f, 0.605261683f}, std::array<float,2>{0.389202833f, 0.472900748f}, std::array<float,2>{0.615019441f, 0.651224554f}, std::array<float,2>{0.871908545f, 0.126297072f}, std::array<float,2>{0.130533338f, 0.914272368f}, std::array<float,2>{0.0639698878f, 0.0385567136f}, std::array<float,2>{0.979353845f, 0.841300666f}, std::array<float,2>{0.738168299f, 0.340094179f}, std::array<float,2>{0.329073638f, 0.577023625f}, std::array<float,2>{0.189063296f, 0.304179847f}, std::array<float,2>{0.805685401f, 0.526489496f}, std::array<float,2>{0.537858129f, 0.114865236f}, std::array<float,2>{0.473905861f, 0.806299746f}, std::array<float,2>{0.264494538f, 0.191366538f}, std::array<float,2>{0.685205817f, 0.994033575f}, std::array<float,2>{0.893514931f, 0.411990166f}, std::array<float,2>{0.0614772588f, 0.689617932f}, std::array<float,2>{0.370627731f, 0.373514056f}, std::array<float,2>{0.714193285f, 0.620271027f}, std::array<float,2>{0.96118629f, 0.0166571196f}, std::array<float,2>{0.119767457f, 0.874800742f}, std::array<float,2>{0.156643093f, 0.180953383f}, std::array<float,2>{0.820579052f, 0.894792974f}, std::array<float,2>{0.571503878f, 0.443903267f}, std::array<float,2>{0.406662315f, 0.660524011f}, std::array<float,2>{0.00862300582f, 0.390226722f}, std::array<float,2>{0.933627605f, 0.726125538f}, std::array<float,2>{0.649401188f, 0.248064443f}, std::array<float,2>{0.290231854f, 0.94912976f}, std::array<float,2>{0.44538632f, 0.0936838016f}, std::array<float,2>{0.520096362f, 0.760881543f}, std::array<float,2>{0.75696826f, 0.271509945f}, std::array<float,2>{0.231483608f, 0.531980693f}, std::array<float,2>{0.341077358f, 0.447525233f}, std::array<float,2>{0.74902904f, 0.667173505f}, std::array<float,2>{0.969512522f, 0.172240719f}, std::array<float,2>{0.0758761764f, 0.902486622f}, std::array<float,2>{0.137984529f, 0.0267383549f}, std::array<float,2>{0.864550471f, 0.861278713f}, std::array<float,2>{0.623874485f, 0.365677476f}, std::array<float,2>{0.379818439f, 0.61187005f}, std::array<float,2>{0.0485281125f, 0.273731947f}, std::array<float,2>{0.902519822f, 0.540863931f}, std::array<float,2>{0.676864386f, 0.0814401209f}, std::array<float,2>{0.253546536f, 0.75329572f}, std::array<float,2>{0.482687861f, 0.235594347f}, std::array<float,2>{0.541535854f, 0.944082916f}, std::array<float,2>{0.802796781f, 0.381377935f}, std::array<float,2>{0.195539758f, 0.734002411f}, std::array<float,2>{0.41785863f, 0.328760326f}, std::array<float,2>{0.563395321f, 0.563767552f}, std::array<float,2>{0.819443464f, 0.0439866446f}, std::array<float,2>{0.164670274f, 0.830086231f}, std::array<float,2>{0.114794761f, 0.135924742f}, std::array<float,2>{0.959923923f, 0.908213794f}, std::array<float,2>{0.704876959f, 0.476647854f}, std::array<float,2>{0.361276746f, 0.645895064f}, std::array<float,2>{0.222997695f, 0.419236988f}, std::array<float,2>{0.760200679f, 0.696991086f}, std::array<float,2>{0.530303657f, 0.197616577f}, std::array<float,2>{0.439386904f, 0.990607619f}, std::array<float,2>{0.282453477f, 0.11851722f}, std::array<float,2>{0.645365179f, 0.801055849f}, std::array<float,2>{0.924065113f, 0.305711001f}, std::array<float,2>{0.00194545707f, 0.522232771f}, std::array<float,2>{0.456511497f, 0.391619116f}, std::array<float,2>{0.509152472f, 0.747387767f}, std::array<float,2>{0.769222379f, 0.225924045f}, std::array<float,2>{0.237644076f, 0.959669888f}, std::array<float,2>{0.0303897336f, 0.0630976111f}, std::array<float,2>{0.916644335f, 0.76583904f}, std::array<float,2>{0.627156317f, 0.253849983f}, std::array<float,2>{0.30848828f, 0.559092939f}, std::array<float,2>{0.186513528f, 0.349866837f}, std::array<float,2>{0.830441594f, 0.597807467f}, std::array<float,2>{0.581571639f, 0.0102821225f}, std::array<float,2>{0.427862138f, 0.849995255f}, std::array<float,2>{0.358507007f, 0.168329433f}, std::array<float,2>{0.699669659f, 0.876921058f}, std::array<float,2>{0.950269699f, 0.453489363f}, std::array<float,2>{0.101996697f, 0.683983743f}, std::array<float,2>{0.275310278f, 0.281899422f}, std::array<float,2>{0.665473819f, 0.513507307f}, std::array<float,2>{0.879093051f, 0.0965050906f}, std::array<float,2>{0.032746572f, 0.788871109f}, std::array<float,2>{0.205455884f, 0.211831659f}, std::array<float,2>{0.794485748f, 0.982769549f}, std::array<float,2>{0.554109931f, 0.432878613f}, std::array<float,2>{0.490458131f, 0.705021739f}, std::array<float,2>{0.0858552828f, 0.489028573f}, std::array<float,2>{0.984943092f, 0.639725268f}, std::array<float,2>{0.719695866f, 0.14857924f}, std::array<float,2>{0.323852628f, 0.928636909f}, std::array<float,2>{0.392063648f, 0.0478994288f}, std::array<float,2>{0.598125279f, 0.827291608f}, std::array<float,2>{0.852788448f, 0.317471474f}, std::array<float,2>{0.151509762f, 0.584602952f}, std::array<float,2>{0.286048025f, 0.463923305f}, std::array<float,2>{0.642943084f, 0.676638246f}, std::array<float,2>{0.926567316f, 0.161494166f}, std::array<float,2>{0.00579541922f, 0.887605667f}, std::array<float,2>{0.220454872f, 0.00652057258f}, std::array<float,2>{0.762607872f, 0.852218628f}, std::array<float,2>{0.52429682f, 0.357150376f}, std::array<float,2>{0.445090681f, 0.6059376f}, std::array<float,2>{0.109464802f, 0.259063542f}, std::array<float,2>{0.956783056f, 0.549923062f}, std::array<float,2>{0.707121551f, 0.0762877986f}, std::array<float,2>{0.366810232f, 0.775170565f}, std::array<float,2>{0.420203835f, 0.228591397f}, std::array<float,2>{0.568110228f, 0.966311336f}, std::array<float,2>{0.814988434f, 0.39899078f}, std::array<float,2>{0.16817145f, 0.738991976f}, std::array<float,2>{0.478914827f, 0.321706206f}, std::array<float,2>{0.545173287f, 0.592593253f}, std::array<float,2>{0.800481617f, 0.0572866984f}, std::array<float,2>{0.200791433f, 0.819554806f}, std::array<float,2>{0.0525792278f, 0.141510114f}, std::array<float,2>{0.899632514f, 0.932373762f}, std::array<float,2>{0.675315976f, 0.495578617f}, std::array<float,2>{0.255157113f, 0.629096091f}, std::array<float,2>{0.134841368f, 0.425695926f}, std::array<float,2>{0.863142312f, 0.710983336f}, std::array<float,2>{0.620553732f, 0.206505939f}, std::array<float,2>{0.375834525f, 0.971715987f}, std::array<float,2>{0.339455098f, 0.106390759f}, std::array<float,2>{0.744567335f, 0.794152498f}, std::array<float,2>{0.972736955f, 0.294483095f}, std::array<float,2>{0.0726259202f, 0.507389307f}, std::array<float,2>{0.397683918f, 0.383483469f}, std::array<float,2>{0.597300649f, 0.718904197f}, std::array<float,2>{0.855786443f, 0.242325544f}, std::array<float,2>{0.153995588f, 0.950878799f}, std::array<float,2>{0.0815083534f, 0.0897837132f}, std::array<float,2>{0.990112245f, 0.763225973f}, std::array<float,2>{0.724270523f, 0.269195169f}, std::array<float,2>{0.325074047f, 0.537495196f}, std::array<float,2>{0.20750986f, 0.368804693f}, std::array<float,2>{0.789924443f, 0.624318659f}, std::array<float,2>{0.549381614f, 0.0196750648f}, std::array<float,2>{0.487969637f, 0.868999898f}, std::array<float,2>{0.278092086f, 0.185793266f}, std::array<float,2>{0.670880079f, 0.893335879f}, std::array<float,2>{0.875603676f, 0.440394402f}, std::array<float,2>{0.0372543484f, 0.656792998f}, std::array<float,2>{0.353418201f, 0.296916127f}, std::array<float,2>{0.696832359f, 0.531058252f}, std::array<float,2>{0.947546005f, 0.111097209f}, std::array<float,2>{0.108169973f, 0.808687508f}, std::array<float,2>{0.180060923f, 0.195294142f}, std::array<float,2>{0.832362652f, 0.999566793f}, std::array<float,2>{0.584660113f, 0.408561319f}, std::array<float,2>{0.424898237f, 0.694119573f}, std::array<float,2>{0.0240912344f, 0.472100824f}, std::array<float,2>{0.921692848f, 0.654219568f}, std::array<float,2>{0.630046904f, 0.131790057f}, std::array<float,2>{0.31195578f, 0.918279946f}, std::array<float,2>{0.458248585f, 0.0327729061f}, std::array<float,2>{0.514687955f, 0.839529335f}, std::array<float,2>{0.770763159f, 0.335977346f}, std::array<float,2>{0.239546984f, 0.570864618f}, std::array<float,2>{0.314178109f, 0.414570212f}, std::array<float,2>{0.730371416f, 0.702377856f}, std::array<float,2>{0.999837101f, 0.201865003f}, std::array<float,2>{0.0894673988f, 0.988152742f}, std::array<float,2>{0.143963501f, 0.123778574f}, std::array<float,2>{0.848710001f, 0.800385296f}, std::array<float,2>{0.603384495f, 0.311892569f}, std::array<float,2>{0.403937489f, 0.516246259f}, std::array<float,2>{0.0411732383f, 0.333937943f}, std::array<float,2>{0.889735758f, 0.570042908f}, std::array<float,2>{0.661205888f, 0.0398858227f}, std::array<float,2>{0.271672606f, 0.834921896f}, std::array<float,2>{0.494541019f, 0.137545571f}, std::array<float,2>{0.559285641f, 0.911738992f}, std::array<float,2>{0.783128381f, 0.483674318f}, std::array<float,2>{0.211789519f, 0.642800748f}, std::array<float,2>{0.431971282f, 0.279128045f}, std::array<float,2>{0.586934805f, 0.545071661f}, std::array<float,2>{0.84171015f, 0.0823479667f}, std::array<float,2>{0.179099411f, 0.75732249f}, std::array<float,2>{0.0970290899f, 0.238687173f}, std::array<float,2>{0.938845932f, 0.938686967f}, std::array<float,2>{0.691704988f, 0.378062755f}, std::array<float,2>{0.345649689f, 0.729983747f}, std::array<float,2>{0.246475965f, 0.452488929f}, std::array<float,2>{0.77773118f, 0.67062372f}, std::array<float,2>{0.502983451f, 0.178680703f}, std::array<float,2>{0.467731684f, 0.900890708f}, std::array<float,2>{0.30325824f, 0.0291351359f}, std::array<float,2>{0.636787415f, 0.866500497f}, std::array<float,2>{0.909851193f, 0.361948341f}, std::array<float,2>{0.0215647463f, 0.616880119f}, std::array<float,2>{0.452495813f, 0.48625505f}, std::array<float,2>{0.517379403f, 0.633804023f}, std::array<float,2>{0.753026664f, 0.15365155f}, std::array<float,2>{0.2303112f, 0.922393501f}, std::array<float,2>{0.0133427754f, 0.0522297285f}, std::array<float,2>{0.929774582f, 0.82155627f}, std::array<float,2>{0.654725254f, 0.314673871f}, std::array<float,2>{0.294317335f, 0.581092536f}, std::array<float,2>{0.16229333f, 0.287802726f}, std::array<float,2>{0.824635744f, 0.51160562f}, std::array<float,2>{0.576654792f, 0.100508064f}, std::array<float,2>{0.41287446f, 0.784187317f}, std::array<float,2>{0.373045594f, 0.217145085f}, std::array<float,2>{0.715549827f, 0.980188906f}, std::array<float,2>{0.967585504f, 0.434678018f}, std::array<float,2>{0.124237262f, 0.71053791f}, std::array<float,2>{0.260360926f, 0.344479293f}, std::array<float,2>{0.6801337f, 0.595167279f}, std::array<float,2>{0.897678494f, 0.0130116753f}, std::array<float,2>{0.0569823049f, 0.844583452f}, std::array<float,2>{0.194270551f, 0.167327806f}, std::array<float,2>{0.812307954f, 0.879697263f}, std::array<float,2>{0.534854472f, 0.459925294f}, std::array<float,2>{0.469791859f, 0.681873977f}, std::array<float,2>{0.0666739568f, 0.396956891f}, std::array<float,2>{0.980960011f, 0.743315697f}, std::array<float,2>{0.739435315f, 0.219674736f}, std::array<float,2>{0.334644496f, 0.955006003f}, std::array<float,2>{0.385380238f, 0.0674795434f}, std::array<float,2>{0.612049103f, 0.772548318f}, std::array<float,2>{0.870567322f, 0.255740821f}, std::array<float,2>{0.126339108f, 0.558134198f}, std::array<float,2>{0.268567353f, 0.405680388f}, std::array<float,2>{0.658905685f, 0.737346888f}, std::array<float,2>{0.885588408f, 0.232623458f}, std::array<float,2>{0.046582751f, 0.961338878f}, std::array<float,2>{0.217570454f, 0.0722160935f}, std::array<float,2>{0.789020658f, 0.779988945f}, std::array<float,2>{0.556060493f, 0.264324695f}, std::array<float,2>{0.498454452f, 0.554166615f}, std::array<float,2>{0.0936601311f, 0.351643205f}, std::array<float,2>{0.992689371f, 0.603217065f}, std::array<float,2>{0.7321105f, 0.000825104828f}, std::array<float,2>{0.317508787f, 0.858690083f}, std::array<float,2>{0.400039285f, 0.157787353f}, std::array<float,2>{0.609245479f, 0.885072351f}, std::array<float,2>{0.846745551f, 0.465686828f}, std::array<float,2>{0.145647988f, 0.675495386f}, std::array<float,2>{0.461546838f, 0.289097488f}, std::array<float,2>{0.505270958f, 0.502625883f}, std::array<float,2>{0.776519895f, 0.102278538f}, std::array<float,2>{0.245639428f, 0.791235566f}, std::array<float,2>{0.0172384288f, 0.210695758f}, std::array<float,2>{0.910925329f, 0.97340256f}, std::array<float,2>{0.636627257f, 0.429287434f}, std::array<float,2>{0.30021143f, 0.714910865f}, std::array<float,2>{0.173944265f, 0.496794194f}, std::array<float,2>{0.837070763f, 0.626826048f}, std::array<float,2>{0.591827631f, 0.145276606f}, std::array<float,2>{0.435119003f, 0.936621845f}, std::array<float,2>{0.349122018f, 0.0597524643f}, std::array<float,2>{0.68796587f, 0.815894246f}, std::array<float,2>{0.942522824f, 0.327488244f}, std::array<float,2>{0.100924805f, 0.586561799f}, std::array<float,2>{0.409798741f, 0.441810936f}, std::array<float,2>{0.573943853f, 0.663325965f}, std::array<float,2>{0.822346032f, 0.182282567f}, std::array<float,2>{0.159606323f, 0.896672785f}, std::array<float,2>{0.118005149f, 0.0183460247f}, std::array<float,2>{0.964034438f, 0.871147215f}, std::array<float,2>{0.711333454f, 0.372898817f}, std::array<float,2>{0.367607564f, 0.618937314f}, std::array<float,2>{0.232588485f, 0.269697338f}, std::array<float,2>{0.755634367f, 0.533549488f}, std::array<float,2>{0.521610975f, 0.091004394f}, std::array<float,2>{0.448590606f, 0.759368837f}, std::array<float,2>{0.291190624f, 0.246904954f}, std::array<float,2>{0.650934279f, 0.947023332f}, std::array<float,2>{0.937292874f, 0.388240367f}, std::array<float,2>{0.0103633106f, 0.723429084f}, std::array<float,2>{0.330342293f, 0.342877865f}, std::array<float,2>{0.735708773f, 0.574825644f}, std::array<float,2>{0.977462351f, 0.036363136f}, std::array<float,2>{0.0652802065f, 0.843747675f}, std::array<float,2>{0.131160483f, 0.128086179f}, std::array<float,2>{0.874726236f, 0.916597307f}, std::array<float,2>{0.615606785f, 0.47572425f}, std::array<float,2>{0.388086617f, 0.648906529f}, std::array<float,2>{0.0588661917f, 0.413281679f}, std::array<float,2>{0.892087936f, 0.687832654f}, std::array<float,2>{0.687143564f, 0.188774675f}, std::array<float,2>{0.263515681f, 0.994784355f}, std::array<float,2>{0.475151122f, 0.115260124f}, std::array<float,2>{0.5366171f, 0.808592498f}, std::array<float,2>{0.80714643f, 0.30189532f}, std::array<float,2>{0.190799549f, 0.524073541f}, std::array<float,2>{0.361550182f, 0.480074733f}, std::array<float,2>{0.706561923f, 0.646537304f}, std::array<float,2>{0.958435774f, 0.13466756f}, std::array<float,2>{0.115599535f, 0.906816006f}, std::array<float,2>{0.166885376f, 0.0451676324f}, std::array<float,2>{0.81831044f, 0.82967329f}, std::array<float,2>{0.565315247f, 0.330406636f}, std::array<float,2>{0.414552391f, 0.56532377f}, std::array<float,2>{0.00373628107f, 0.306696445f}, std::array<float,2>{0.923522353f, 0.51954484f}, std::array<float,2>{0.646606028f, 0.120655119f}, std::array<float,2>{0.285117656f, 0.804114223f}, std::array<float,2>{0.439957201f, 0.195861205f}, std::array<float,2>{0.527945995f, 0.988837421f}, std::array<float,2>{0.758876622f, 0.421831399f}, std::array<float,2>{0.225038737f, 0.69838053f}, std::array<float,2>{0.382804364f, 0.363440454f}, std::array<float,2>{0.62136209f, 0.609655678f}, std::array<float,2>{0.865439296f, 0.0246039927f}, std::array<float,2>{0.13930662f, 0.863070428f}, std::array<float,2>{0.0763410181f, 0.174056634f}, std::array<float,2>{0.972394526f, 0.905005336f}, std::array<float,2>{0.746292353f, 0.446562767f}, std::array<float,2>{0.342010498f, 0.664879382f}, std::array<float,2>{0.198865175f, 0.380425274f}, std::array<float,2>{0.802224815f, 0.731792569f}, std::array<float,2>{0.540247083f, 0.23811841f}, std::array<float,2>{0.481067359f, 0.942377388f}, std::array<float,2>{0.250821382f, 0.0782780573f}, std::array<float,2>{0.678485394f, 0.751862288f}, std::array<float,2>{0.905941367f, 0.276114881f}, std::array<float,2>{0.0503091067f, 0.542416155f}, std::array<float,2>{0.489600271f, 0.431336403f}, std::array<float,2>{0.551147044f, 0.705480635f}, std::array<float,2>{0.796723962f, 0.213784531f}, std::array<float,2>{0.203794166f, 0.981759429f}, std::array<float,2>{0.0342405662f, 0.0951158181f}, std::array<float,2>{0.882696867f, 0.785474539f}, std::array<float,2>{0.667252421f, 0.283771425f}, std::array<float,2>{0.275666833f, 0.514752269f}, std::array<float,2>{0.148502529f, 0.31901744f}, std::array<float,2>{0.853994608f, 0.583538175f}, std::array<float,2>{0.600299656f, 0.0494850874f}, std::array<float,2>{0.393551737f, 0.824509025f}, std::array<float,2>{0.320557326f, 0.150507733f}, std::array<float,2>{0.72184068f, 0.926063657f}, std::array<float,2>{0.987318516f, 0.490815818f}, std::array<float,2>{0.0837130845f, 0.637452185f}, std::array<float,2>{0.306400031f, 0.251444936f}, std::array<float,2>{0.626087785f, 0.561607361f}, std::array<float,2>{0.915867269f, 0.0645731986f}, std::array<float,2>{0.0284269825f, 0.767673433f}, std::array<float,2>{0.235000566f, 0.223595396f}, std::array<float,2>{0.765794992f, 0.957096338f}, std::array<float,2>{0.509948552f, 0.393767327f}, std::array<float,2>{0.454080641f, 0.749132574f}, std::array<float,2>{0.105267905f, 0.456904203f}, std::array<float,2>{0.952821076f, 0.68702811f}, std::array<float,2>{0.701596856f, 0.17012018f}, std::array<float,2>{0.35605517f, 0.877569914f}, std::array<float,2>{0.427520484f, 0.00937831588f}, std::array<float,2>{0.578658998f, 0.848017216f}, std::array<float,2>{0.828763485f, 0.348044455f}, std::array<float,2>{0.184899837f, 0.60043478f}, std::array<float,2>{0.284749568f, 0.478054762f}, std::array<float,2>{0.646760762f, 0.645273685f}, std::array<float,2>{0.923750103f, 0.135209739f}, std::array<float,2>{0.00343697215f, 0.9097507f}, std::array<float,2>{0.224652588f, 0.0438278243f}, std::array<float,2>{0.759210348f, 0.831500828f}, std::array<float,2>{0.528193951f, 0.329285413f}, std::array<float,2>{0.440321267f, 0.563449085f}, std::array<float,2>{0.115348645f, 0.305626035f}, std::array<float,2>{0.958248138f, 0.522623062f}, std::array<float,2>{0.706815183f, 0.117928408f}, std::array<float,2>{0.361749858f, 0.802264929f}, std::array<float,2>{0.414817214f, 0.198353931f}, std::array<float,2>{0.56510824f, 0.991600037f}, std::array<float,2>{0.817981839f, 0.418632984f}, std::array<float,2>{0.166613877f, 0.696162641f}, std::array<float,2>{0.48130244f, 0.366442025f}, std::array<float,2>{0.540362179f, 0.612617671f}, std::array<float,2>{0.801787019f, 0.0258888695f}, std::array<float,2>{0.19905065f, 0.860348523f}, std::array<float,2>{0.0506673232f, 0.173630655f}, std::array<float,2>{0.906198561f, 0.904194653f}, std::array<float,2>{0.678266168f, 0.449195206f}, std::array<float,2>{0.250593513f, 0.666939914f}, std::array<float,2>{0.139553472f, 0.382261038f}, std::array<float,2>{0.865710914f, 0.732939422f}, std::array<float,2>{0.621177256f, 0.235025346f}, std::array<float,2>{0.382334232f, 0.945091605f}, std::array<float,2>{0.342234582f, 0.0808328763f}, std::array<float,2>{0.746554673f, 0.752641857f}, std::array<float,2>{0.972574174f, 0.274535924f}, std::array<float,2>{0.0765093416f, 0.53982383f}, std::array<float,2>{0.393281639f, 0.431884468f}, std::array<float,2>{0.600531638f, 0.703633666f}, std::array<float,2>{0.853531778f, 0.212592125f}, std::array<float,2>{0.148823798f, 0.984019816f}, std::array<float,2>{0.0837930739f, 0.0972370058f}, std::array<float,2>{0.987682402f, 0.787518024f}, std::array<float,2>{0.722104788f, 0.282930404f}, std::array<float,2>{0.320482552f, 0.512484133f}, std::array<float,2>{0.203922436f, 0.317150831f}, std::array<float,2>{0.796612382f, 0.585457981f}, std::array<float,2>{0.550914407f, 0.0471464805f}, std::array<float,2>{0.489472568f, 0.826818407f}, std::array<float,2>{0.275573045f, 0.150102794f}, std::array<float,2>{0.667221487f, 0.929163873f}, std::array<float,2>{0.882454515f, 0.489743263f}, std::array<float,2>{0.034572158f, 0.639301419f}, std::array<float,2>{0.356391937f, 0.25263378f}, std::array<float,2>{0.701199114f, 0.560257256f}, std::array<float,2>{0.953114033f, 0.0635642856f}, std::array<float,2>{0.105111606f, 0.767502725f}, std::array<float,2>{0.184732392f, 0.225419238f}, std::array<float,2>{0.829018593f, 0.960652769f}, std::array<float,2>{0.578863859f, 0.391583264f}, std::array<float,2>{0.427426755f, 0.746530116f}, std::array<float,2>{0.0286889337f, 0.454147071f}, std::array<float,2>{0.915705502f, 0.684592426f}, std::array<float,2>{0.626417696f, 0.169600815f}, std::array<float,2>{0.306156784f, 0.875554979f}, std::array<float,2>{0.453673452f, 0.0116310455f}, std::array<float,2>{0.510111511f, 0.85082829f}, std::array<float,2>{0.766068161f, 0.351328313f}, std::array<float,2>{0.235131428f, 0.598950744f}, std::array<float,2>{0.317789644f, 0.403335929f}, std::array<float,2>{0.732265234f, 0.735740364f}, std::array<float,2>{0.993109703f, 0.23161988f}, std::array<float,2>{0.0933155194f, 0.963129461f}, std::array<float,2>{0.145967126f, 0.0727361217f}, std::array<float,2>{0.84693414f, 0.778636277f}, std::array<float,2>{0.609007657f, 0.262235969f}, std::array<float,2>{0.400281459f, 0.551841259f}, std::array<float,2>{0.0468336977f, 0.354378313f}, std::array<float,2>{0.885427237f, 0.603854954f}, std::array<float,2>{0.6591236f, 0.00341800856f}, std::array<float,2>{0.269028246f, 0.857297361f}, std::array<float,2>{0.498230875f, 0.158845782f}, std::array<float,2>{0.555745363f, 0.884491503f}, std::array<float,2>{0.78861779f, 0.467032641f}, std::array<float,2>{0.217490911f, 0.672304809f}, std::array<float,2>{0.435440511f, 0.291258514f}, std::array<float,2>{0.592069626f, 0.500514209f}, std::array<float,2>{0.837183118f, 0.103746414f}, std::array<float,2>{0.174114674f, 0.789362133f}, std::array<float,2>{0.100689009f, 0.208466485f}, std::array<float,2>{0.942860603f, 0.974982202f}, std::array<float,2>{0.687739432f, 0.425975978f}, std::array<float,2>{0.349507302f, 0.718567967f}, std::array<float,2>{0.246006608f, 0.499338239f}, std::array<float,2>{0.776756465f, 0.627561629f}, std::array<float,2>{0.504956007f, 0.146794155f}, std::array<float,2>{0.461801261f, 0.934352517f}, std::array<float,2>{0.299923986f, 0.06139661f}, std::array<float,2>{0.636280596f, 0.813937128f}, std::array<float,2>{0.910732508f, 0.325665921f}, std::array<float,2>{0.0174013991f, 0.588156343f}, std::array<float,2>{0.44829005f, 0.444681168f}, std::array<float,2>{0.52184552f, 0.661910355f}, std::array<float,2>{0.755410612f, 0.179961741f}, std::array<float,2>{0.232667401f, 0.895964026f}, std::array<float,2>{0.0105092609f, 0.0165433269f}, std::array<float,2>{0.93714571f, 0.873597741f}, std::array<float,2>{0.651201844f, 0.37452352f}, std::array<float,2>{0.291272968f, 0.619293809f}, std::array<float,2>{0.15918389f, 0.273083359f}, std::array<float,2>{0.822538793f, 0.532727599f}, std::array<float,2>{0.574052274f, 0.0922413841f}, std::array<float,2>{0.410085499f, 0.759908676f}, std::array<float,2>{0.367213637f, 0.249652594f}, std::array<float,2>{0.711051822f, 0.947610736f}, std::array<float,2>{0.964157104f, 0.388969004f}, std::array<float,2>{0.11767859f, 0.725459695f}, std::array<float,2>{0.263229758f, 0.341440201f}, std::array<float,2>{0.687449038f, 0.577615559f}, std::array<float,2>{0.891736329f, 0.0376724452f}, std::array<float,2>{0.0586016476f, 0.840596378f}, std::array<float,2>{0.190657914f, 0.125068203f}, std::array<float,2>{0.807468474f, 0.916009963f}, std::array<float,2>{0.536166549f, 0.4740448f}, std::array<float,2>{0.475410014f, 0.65222919f}, std::array<float,2>{0.0651653931f, 0.410310537f}, std::array<float,2>{0.977193236f, 0.691352963f}, std::array<float,2>{0.735365391f, 0.190274075f}, std::array<float,2>{0.330285251f, 0.992715418f}, std::array<float,2>{0.387832403f, 0.114133216f}, std::array<float,2>{0.61523515f, 0.804723084f}, std::array<float,2>{0.87475884f, 0.302942157f}, std::array<float,2>{0.131014302f, 0.525992811f}, std::array<float,2>{0.271781802f, 0.416218162f}, std::array<float,2>{0.66156882f, 0.700491786f}, std::array<float,2>{0.88990134f, 0.199612722f}, std::array<float,2>{0.0414079241f, 0.985377967f}, std::array<float,2>{0.211653098f, 0.122863486f}, std::array<float,2>{0.782947838f, 0.797493756f}, std::array<float,2>{0.559404016f, 0.309333503f}, std::array<float,2>{0.494380623f, 0.5182814f}, std::array<float,2>{0.0897620693f, 0.334320635f}, std::array<float,2>{0.999672592f, 0.567404926f}, std::array<float,2>{0.730178118f, 0.0419255309f}, std::array<float,2>{0.314240754f, 0.832074702f}, std::array<float,2>{0.40408501f, 0.139325798f}, std::array<float,2>{0.603172243f, 0.913650513f}, std::array<float,2>{0.849074721f, 0.481854886f}, std::array<float,2>{0.143644631f, 0.641270816f}, std::array<float,2>{0.467438459f, 0.279884368f}, std::array<float,2>{0.503242671f, 0.543373942f}, std::array<float,2>{0.777413607f, 0.0845594853f}, std::array<float,2>{0.246162683f, 0.754501104f}, std::array<float,2>{0.0218869764f, 0.241781294f}, std::array<float,2>{0.909993768f, 0.939610779f}, std::array<float,2>{0.636977017f, 0.3751598f}, std::array<float,2>{0.303559721f, 0.726779699f}, std::array<float,2>{0.178822249f, 0.450368613f}, std::array<float,2>{0.841510475f, 0.669674814f}, std::array<float,2>{0.587221622f, 0.177006721f}, std::array<float,2>{0.431667835f, 0.900390565f}, std::array<float,2>{0.345362693f, 0.030158598f}, std::array<float,2>{0.691578567f, 0.863348365f}, std::array<float,2>{0.938715994f, 0.36068055f}, std::array<float,2>{0.0968215317f, 0.614920974f}, std::array<float,2>{0.412754327f, 0.487409711f}, std::array<float,2>{0.576289594f, 0.63645792f}, std::array<float,2>{0.824397862f, 0.155087978f}, std::array<float,2>{0.162469625f, 0.925228179f}, std::array<float,2>{0.124449827f, 0.0538882613f}, std::array<float,2>{0.96744132f, 0.823227465f}, std::array<float,2>{0.715801358f, 0.313705146f}, std::array<float,2>{0.37268579f, 0.579875231f}, std::array<float,2>{0.230072752f, 0.285335779f}, std::array<float,2>{0.753254056f, 0.508381784f}, std::array<float,2>{0.51724273f, 0.0986717418f}, std::array<float,2>{0.452242464f, 0.78271687f}, std::array<float,2>{0.294109285f, 0.215812698f}, std::array<float,2>{0.654513657f, 0.977122843f}, std::array<float,2>{0.930145502f, 0.436642647f}, std::array<float,2>{0.0136656025f, 0.707262397f}, std::array<float,2>{0.334753633f, 0.347478539f}, std::array<float,2>{0.739521146f, 0.596975207f}, std::array<float,2>{0.981229544f, 0.0150397588f}, std::array<float,2>{0.0665154904f, 0.846822083f}, std::array<float,2>{0.12606065f, 0.164962336f}, std::array<float,2>{0.870334625f, 0.881604731f}, std::array<float,2>{0.612109303f, 0.458108455f}, std::array<float,2>{0.3855308f, 0.680593014f}, std::array<float,2>{0.0568372831f, 0.394815534f}, std::array<float,2>{0.897757292f, 0.745794713f}, std::array<float,2>{0.679789662f, 0.221061245f}, std::array<float,2>{0.260681093f, 0.955859005f}, std::array<float,2>{0.470148027f, 0.069165118f}, std::array<float,2>{0.535143316f, 0.771158993f}, std::array<float,2>{0.812094867f, 0.257337749f}, std::array<float,2>{0.193992883f, 0.554972351f}, std::array<float,2>{0.367091238f, 0.462349534f}, std::array<float,2>{0.707277834f, 0.677961469f}, std::array<float,2>{0.956887007f, 0.163635895f}, std::array<float,2>{0.109830819f, 0.888808787f}, std::array<float,2>{0.16826272f, 0.00549729588f}, std::array<float,2>{0.815229774f, 0.854370117f}, std::array<float,2>{0.568170965f, 0.35840553f}, std::array<float,2>{0.420031309f, 0.608538151f}, std::array<float,2>{0.00560320262f, 0.26068598f}, std::array<float,2>{0.926502109f, 0.547784269f}, std::array<float,2>{0.642697334f, 0.0744277164f}, std::array<float,2>{0.285747051f, 0.776774108f}, std::array<float,2>{0.444926411f, 0.227941111f}, std::array<float,2>{0.524133384f, 0.968608558f}, std::array<float,2>{0.762313604f, 0.40183714f}, std::array<float,2>{0.220594168f, 0.740960658f}, std::array<float,2>{0.375496387f, 0.324177325f}, std::array<float,2>{0.620288193f, 0.591544807f}, std::array<float,2>{0.862810194f, 0.0548639521f}, std::array<float,2>{0.135093153f, 0.816739321f}, std::array<float,2>{0.0723028108f, 0.143695101f}, std::array<float,2>{0.973119378f, 0.930981874f}, std::array<float,2>{0.744352281f, 0.49379155f}, std::array<float,2>{0.339664012f, 0.632370412f}, std::array<float,2>{0.201007798f, 0.423713088f}, std::array<float,2>{0.800651431f, 0.714586198f}, std::array<float,2>{0.544953346f, 0.203649402f}, std::array<float,2>{0.478604168f, 0.970139802f}, std::array<float,2>{0.254921794f, 0.109107748f}, std::array<float,2>{0.675675929f, 0.796172619f}, std::array<float,2>{0.899882972f, 0.295244664f}, std::array<float,2>{0.0523074605f, 0.505135298f}, std::array<float,2>{0.488104999f, 0.385550231f}, std::array<float,2>{0.549769461f, 0.721969068f}, std::array<float,2>{0.789672613f, 0.246008396f}, std::array<float,2>{0.207233712f, 0.951597452f}, std::array<float,2>{0.0373566486f, 0.0874317661f}, std::array<float,2>{0.875830114f, 0.76434052f}, std::array<float,2>{0.670470595f, 0.267189115f}, std::array<float,2>{0.277951986f, 0.535964012f}, std::array<float,2>{0.154058889f, 0.370355606f}, std::array<float,2>{0.855493248f, 0.621935785f}, std::array<float,2>{0.597461164f, 0.023140816f}, std::array<float,2>{0.397934824f, 0.86970228f}, std::array<float,2>{0.324949622f, 0.184785172f}, std::array<float,2>{0.724609137f, 0.891145051f}, std::array<float,2>{0.98990196f, 0.438643336f}, std::array<float,2>{0.0812357143f, 0.658734977f}, std::array<float,2>{0.311593443f, 0.299184978f}, std::array<float,2>{0.630158007f, 0.528163433f}, std::array<float,2>{0.921569586f, 0.113169208f}, std::array<float,2>{0.0243592523f, 0.811811566f}, std::array<float,2>{0.239478081f, 0.192374632f}, std::array<float,2>{0.770531893f, 0.996451437f}, std::array<float,2>{0.515074611f, 0.40706414f}, std::array<float,2>{0.458282232f, 0.693057418f}, std::array<float,2>{0.107930839f, 0.469694823f}, std::array<float,2>{0.94750607f, 0.655661523f}, std::array<float,2>{0.697047353f, 0.13070251f}, std::array<float,2>{0.353179485f, 0.920269132f}, std::array<float,2>{0.425114483f, 0.0348681286f}, std::array<float,2>{0.584833264f, 0.836651921f}, std::array<float,2>{0.832121491f, 0.339363873f}, std::array<float,2>{0.179700807f, 0.574084222f}, std::array<float,2>{0.253789723f, 0.44565779f}, std::array<float,2>{0.677090347f, 0.665410042f}, std::array<float,2>{0.902811885f, 0.175030753f}, std::array<float,2>{0.0487550236f, 0.905990064f}, std::array<float,2>{0.195671454f, 0.0235841218f}, std::array<float,2>{0.802987576f, 0.861746907f}, std::array<float,2>{0.541794538f, 0.364868194f}, std::array<float,2>{0.48244223f, 0.611298859f}, std::array<float,2>{0.0761691704f, 0.276679486f}, std::array<float,2>{0.96932441f, 0.541567862f}, std::array<float,2>{0.749399543f, 0.0798934177f}, std::array<float,2>{0.341027588f, 0.75006026f}, std::array<float,2>{0.37962544f, 0.237076104f}, std::array<float,2>{0.623765409f, 0.94326067f}, std::array<float,2>{0.864283025f, 0.379015088f}, std::array<float,2>{0.137918591f, 0.730986714f}, std::array<float,2>{0.438981712f, 0.331882715f}, std::array<float,2>{0.530718803f, 0.566260338f}, std::array<float,2>{0.759878457f, 0.0468698256f}, std::array<float,2>{0.222865403f, 0.82835871f}, std::array<float,2>{0.00157037564f, 0.132870495f}, std::array<float,2>{0.92415607f, 0.907859623f}, std::array<float,2>{0.645238101f, 0.478889674f}, std::array<float,2>{0.282541603f, 0.64748615f}, std::array<float,2>{0.164935529f, 0.420363247f}, std::array<float,2>{0.819580138f, 0.698201001f}, std::array<float,2>{0.563002527f, 0.197171465f}, std::array<float,2>{0.41752246f, 0.989534914f}, std::array<float,2>{0.36092335f, 0.119527005f}, std::array<float,2>{0.704829574f, 0.802854359f}, std::array<float,2>{0.959620237f, 0.308112144f}, std::array<float,2>{0.115233019f, 0.521338105f}, std::array<float,2>{0.428137809f, 0.392891169f}, std::array<float,2>{0.581992388f, 0.74870187f}, std::array<float,2>{0.830217123f, 0.224370271f}, std::array<float,2>{0.186116442f, 0.958862185f}, std::array<float,2>{0.101649858f, 0.0662209466f}, std::array<float,2>{0.950585783f, 0.768643379f}, std::array<float,2>{0.699278355f, 0.250068545f}, std::array<float,2>{0.358713388f, 0.560866117f}, std::array<float,2>{0.237453386f, 0.349541485f}, std::array<float,2>{0.769289076f, 0.601366997f}, std::array<float,2>{0.508953929f, 0.00858432427f}, std::array<float,2>{0.45622921f, 0.849010289f}, std::array<float,2>{0.308214426f, 0.17122516f}, std::array<float,2>{0.627233982f, 0.878668964f}, std::array<float,2>{0.916925788f, 0.455337375f}, std::array<float,2>{0.0306601357f, 0.685578823f}, std::array<float,2>{0.324001104f, 0.28489846f}, std::array<float,2>{0.719385326f, 0.513944447f}, std::array<float,2>{0.985260427f, 0.0938515589f}, std::array<float,2>{0.0855266005f, 0.787074149f}, std::array<float,2>{0.151782662f, 0.214113131f}, std::array<float,2>{0.852767348f, 0.981037974f}, std::array<float,2>{0.597657859f, 0.430557638f}, std::array<float,2>{0.391646355f, 0.706470311f}, std::array<float,2>{0.0330294706f, 0.491438746f}, std::array<float,2>{0.879159749f, 0.637711525f}, std::array<float,2>{0.665196955f, 0.152004719f}, std::array<float,2>{0.274988443f, 0.927442193f}, std::array<float,2>{0.490656018f, 0.0506279171f}, std::array<float,2>{0.553874552f, 0.825511813f}, std::array<float,2>{0.794681847f, 0.31998533f}, std::array<float,2>{0.205113709f, 0.582058966f}, std::array<float,2>{0.349812508f, 0.428688169f}, std::array<float,2>{0.690982938f, 0.716217697f}, std::array<float,2>{0.945068479f, 0.209010512f}, std::array<float,2>{0.0990349948f, 0.973892689f}, std::array<float,2>{0.172034338f, 0.10338103f}, std::array<float,2>{0.838358939f, 0.792298317f}, std::array<float,2>{0.591300488f, 0.290754139f}, std::array<float,2>{0.43564716f, 0.503044248f}, std::array<float,2>{0.0192005448f, 0.326801658f}, std::array<float,2>{0.91310972f, 0.587304294f}, std::array<float,2>{0.632875502f, 0.0587835349f}, std::array<float,2>{0.298107952f, 0.814913511f}, std::array<float,2>{0.463629901f, 0.146069765f}, std::array<float,2>{0.505998135f, 0.935633719f}, std::array<float,2>{0.774710238f, 0.497903496f}, std::array<float,2>{0.243071362f, 0.625319362f}, std::array<float,2>{0.400740892f, 0.264669389f}, std::array<float,2>{0.606143296f, 0.553439498f}, std::array<float,2>{0.845188916f, 0.0709818006f}, std::array<float,2>{0.148259655f, 0.781147301f}, std::array<float,2>{0.0908397064f, 0.233742699f}, std::array<float,2>{0.994416833f, 0.962073803f}, std::array<float,2>{0.733874023f, 0.405133218f}, std::array<float,2>{0.319016576f, 0.736872256f}, std::array<float,2>{0.215612158f, 0.466132194f}, std::array<float,2>{0.786059499f, 0.674282312f}, std::array<float,2>{0.558277428f, 0.156606793f}, std::array<float,2>{0.496311635f, 0.886552095f}, std::array<float,2>{0.266259551f, 0.00166463375f}, std::array<float,2>{0.65802604f, 0.857470214f}, std::array<float,2>{0.884225428f, 0.352883518f}, std::array<float,2>{0.0446404852f, 0.601581454f}, std::array<float,2>{0.473775834f, 0.474669456f}, std::array<float,2>{0.537656486f, 0.650167346f}, std::array<float,2>{0.805988729f, 0.127594516f}, std::array<float,2>{0.189394623f, 0.917003214f}, std::array<float,2>{0.06105702f, 0.0351826884f}, std::array<float,2>{0.89308095f, 0.842575729f}, std::array<float,2>{0.685373366f, 0.342229247f}, std::array<float,2>{0.264212102f, 0.575483024f}, std::array<float,2>{0.13072814f, 0.301172644f}, std::array<float,2>{0.871774197f, 0.525207758f}, std::array<float,2>{0.61493516f, 0.117088564f}, std::array<float,2>{0.389603943f, 0.807123542f}, std::array<float,2>{0.32883203f, 0.187674358f}, std::array<float,2>{0.737871885f, 0.995395482f}, std::array<float,2>{0.979185283f, 0.412879437f}, std::array<float,2>{0.0643379241f, 0.689186275f}, std::array<float,2>{0.290440679f, 0.371947646f}, std::array<float,2>{0.64908421f, 0.617835462f}, std::array<float,2>{0.933855474f, 0.019129023f}, std::array<float,2>{0.00845374074f, 0.872406721f}, std::array<float,2>{0.231851369f, 0.18330586f}, std::array<float,2>{0.757272124f, 0.898133516f}, std::array<float,2>{0.520500958f, 0.442735702f}, std::array<float,2>{0.445652664f, 0.662476361f}, std::array<float,2>{0.119964026f, 0.387065858f}, std::array<float,2>{0.961081564f, 0.724127948f}, std::array<float,2>{0.713890851f, 0.247338861f}, std::array<float,2>{0.371035844f, 0.946200192f}, std::array<float,2>{0.406457722f, 0.0908097774f}, std::array<float,2>{0.571594357f, 0.758552074f}, std::array<float,2>{0.820451081f, 0.271429449f}, std::array<float,2>{0.156329706f, 0.535082102f}, std::array<float,2>{0.302725971f, 0.376968831f}, std::array<float,2>{0.639644086f, 0.729365766f}, std::array<float,2>{0.907132804f, 0.240059718f}, std::array<float,2>{0.0211127121f, 0.937836111f}, std::array<float,2>{0.249569297f, 0.083827585f}, std::array<float,2>{0.781143606f, 0.756777287f}, std::array<float,2>{0.500891328f, 0.27810213f}, std::array<float,2>{0.465837538f, 0.546785355f}, std::array<float,2>{0.0951510593f, 0.363054305f}, std::array<float,2>{0.939964831f, 0.615421653f}, std::array<float,2>{0.694109678f, 0.0274119284f}, std::array<float,2>{0.346633226f, 0.865258515f}, std::array<float,2>{0.430728525f, 0.179275185f}, std::array<float,2>{0.589833796f, 0.902160823f}, std::array<float,2>{0.843237221f, 0.451464355f}, std::array<float,2>{0.176916063f, 0.67155689f}, std::array<float,2>{0.493828714f, 0.311245084f}, std::array<float,2>{0.561490238f, 0.517159879f}, std::array<float,2>{0.784770727f, 0.12447983f}, std::array<float,2>{0.213771418f, 0.799185753f}, std::array<float,2>{0.0393665433f, 0.20285356f}, std::array<float,2>{0.888574839f, 0.986504316f}, std::array<float,2>{0.6626302f, 0.415959805f}, std::array<float,2>{0.270989239f, 0.701182663f}, std::array<float,2>{0.142397508f, 0.483316183f}, std::array<float,2>{0.850128472f, 0.644392252f}, std::array<float,2>{0.604756415f, 0.138142228f}, std::array<float,2>{0.405252635f, 0.9107548f}, std::array<float,2>{0.316104323f, 0.0401521698f}, std::array<float,2>{0.727949798f, 0.83525914f}, std::array<float,2>{0.997600675f, 0.332819223f}, std::array<float,2>{0.087774612f, 0.569074631f}, std::array<float,2>{0.384570301f, 0.459994555f}, std::array<float,2>{0.609481752f, 0.682775915f}, std::array<float,2>{0.867753983f, 0.166824937f}, std::array<float,2>{0.128532946f, 0.880115688f}, std::array<float,2>{0.0695070699f, 0.0117885536f}, std::array<float,2>{0.98295939f, 0.845553041f}, std::array<float,2>{0.741712213f, 0.345057547f}, std::array<float,2>{0.332266361f, 0.594454706f}, std::array<float,2>{0.192881003f, 0.254777044f}, std::array<float,2>{0.808601856f, 0.557488263f}, std::array<float,2>{0.53227061f, 0.0664998293f}, std::array<float,2>{0.472166002f, 0.771569908f}, std::array<float,2>{0.258698136f, 0.220007628f}, std::array<float,2>{0.682556689f, 0.95338279f}, std::array<float,2>{0.895281553f, 0.398286611f}, std::array<float,2>{0.0556757264f, 0.742763758f}, std::array<float,2>{0.37444225f, 0.315836251f}, std::array<float,2>{0.717913568f, 0.580435991f}, std::array<float,2>{0.965661645f, 0.0517322607f}, std::array<float,2>{0.121837869f, 0.820952415f}, std::array<float,2>{0.16118069f, 0.15234448f}, std::array<float,2>{0.827068806f, 0.923496306f}, std::array<float,2>{0.575005651f, 0.485132009f}, std::array<float,2>{0.411844611f, 0.63304764f}, std::array<float,2>{0.0137665849f, 0.43442896f}, std::array<float,2>{0.932725966f, 0.709829688f}, std::array<float,2>{0.653752863f, 0.218639821f}, std::array<float,2>{0.296823978f, 0.979249299f}, std::array<float,2>{0.450847417f, 0.101418793f}, std::array<float,2>{0.518100023f, 0.783516824f}, std::array<float,2>{0.750704229f, 0.288307041f}, std::array<float,2>{0.227565691f, 0.510679901f}, std::array<float,2>{0.337234706f, 0.494152546f}, std::array<float,2>{0.743520319f, 0.630626619f}, std::array<float,2>{0.975275159f, 0.142080411f}, std::array<float,2>{0.0705925524f, 0.93315053f}, std::array<float,2>{0.133520544f, 0.0582891628f}, std::array<float,2>{0.860470891f, 0.818595886f}, std::array<float,2>{0.61840409f, 0.321107775f}, std::array<float,2>{0.378613055f, 0.593550563f}, std::array<float,2>{0.0533841178f, 0.293887615f}, std::array<float,2>{0.902284741f, 0.506422639f}, std::array<float,2>{0.673007905f, 0.107252218f}, std::array<float,2>{0.256028384f, 0.793838143f}, std::array<float,2>{0.476896405f, 0.205110788f}, std::array<float,2>{0.543413699f, 0.970834553f}, std::array<float,2>{0.798423111f, 0.424442172f}, std::array<float,2>{0.202593878f, 0.712161422f}, std::array<float,2>{0.418391317f, 0.356099755f}, std::array<float,2>{0.5688501f, 0.606889486f}, std::array<float,2>{0.814102173f, 0.00765588181f}, std::array<float,2>{0.17055814f, 0.852961063f}, std::array<float,2>{0.111744702f, 0.161103562f}, std::array<float,2>{0.954074442f, 0.887996018f}, std::array<float,2>{0.709372461f, 0.463329345f}, std::array<float,2>{0.364485502f, 0.677516818f}, std::array<float,2>{0.221939281f, 0.399440646f}, std::array<float,2>{0.764003456f, 0.739957154f}, std::array<float,2>{0.526395321f, 0.229547128f}, std::array<float,2>{0.441751212f, 0.965586305f}, std::array<float,2>{0.287292331f, 0.0775871798f}, std::array<float,2>{0.641449273f, 0.774093032f}, std::array<float,2>{0.928291917f, 0.257926702f}, std::array<float,2>{0.00645326637f, 0.549769044f}, std::array<float,2>{0.459278852f, 0.409538686f}, std::array<float,2>{0.512365758f, 0.694420278f}, std::array<float,2>{0.771517754f, 0.193901256f}, std::array<float,2>{0.24202776f, 0.998176694f}, std::array<float,2>{0.0257116444f, 0.109627612f}, std::array<float,2>{0.919812918f, 0.809840262f}, std::array<float,2>{0.63137579f, 0.298104674f}, std::array<float,2>{0.309446216f, 0.530035913f}, std::array<float,2>{0.182851017f, 0.337254286f}, std::array<float,2>{0.835079253f, 0.572081149f}, std::array<float,2>{0.583008349f, 0.0319897421f}, std::array<float,2>{0.423318475f, 0.838075936f}, std::array<float,2>{0.355431855f, 0.132313758f}, std::array<float,2>{0.69918853f, 0.919156313f}, std::array<float,2>{0.946023762f, 0.470988184f}, std::array<float,2>{0.105656542f, 0.652395129f}, std::array<float,2>{0.279871613f, 0.268213302f}, std::array<float,2>{0.668929815f, 0.538112819f}, std::array<float,2>{0.8779971f, 0.0882279947f}, std::array<float,2>{0.0358456224f, 0.762532771f}, std::array<float,2>{0.21041736f, 0.244034201f}, std::array<float,2>{0.79133743f, 0.949246228f}, std::array<float,2>{0.547661602f, 0.384659767f}, std::array<float,2>{0.485772014f, 0.720035136f}, std::array<float,2>{0.0799411684f, 0.440888584f}, std::array<float,2>{0.991403997f, 0.658115804f}, std::array<float,2>{0.725348711f, 0.186575726f}, std::array<float,2>{0.327049196f, 0.894104958f}, std::array<float,2>{0.395692974f, 0.020932164f}, std::array<float,2>{0.594862759f, 0.867304146f}, std::array<float,2>{0.858873487f, 0.368067265f}, std::array<float,2>{0.154363662f, 0.623339236f}, std::array<float,2>{0.273478538f, 0.488607317f}, std::array<float,2>{0.664963424f, 0.640344322f}, std::array<float,2>{0.880841076f, 0.14915143f}, std::array<float,2>{0.032002721f, 0.927797079f}, std::array<float,2>{0.206657544f, 0.0484799147f}, std::array<float,2>{0.793316662f, 0.828056872f}, std::array<float,2>{0.553371847f, 0.31829989f}, std::array<float,2>{0.491988152f, 0.584235847f}, std::array<float,2>{0.0845324844f, 0.281480998f}, std::array<float,2>{0.986097097f, 0.513132215f}, std::array<float,2>{0.72053045f, 0.0959450454f}, std::array<float,2>{0.322946876f, 0.788406134f}, std::array<float,2>{0.390779436f, 0.211092502f}, std::array<float,2>{0.599153638f, 0.983236969f}, std::array<float,2>{0.852020979f, 0.433560014f}, std::array<float,2>{0.150759384f, 0.704455912f}, std::array<float,2>{0.45587793f, 0.350512803f}, std::array<float,2>{0.508570135f, 0.598360777f}, std::array<float,2>{0.768134475f, 0.0102380365f}, std::array<float,2>{0.236797795f, 0.850454152f}, std::array<float,2>{0.0299384613f, 0.168845221f}, std::array<float,2>{0.917161405f, 0.876278162f}, std::array<float,2>{0.62864399f, 0.453983605f}, std::array<float,2>{0.307510704f, 0.684264243f}, std::array<float,2>{0.186687276f, 0.392328858f}, std::array<float,2>{0.831799924f, 0.747877061f}, std::array<float,2>{0.580801725f, 0.226326078f}, std::array<float,2>{0.429084778f, 0.959453404f}, std::array<float,2>{0.358002037f, 0.0627021566f}, std::array<float,2>{0.700843871f, 0.766231f}, std::array<float,2>{0.949461818f, 0.253339171f}, std::array<float,2>{0.102758907f, 0.55871284f}, std::array<float,2>{0.41601932f, 0.419880748f}, std::array<float,2>{0.563498497f, 0.696610212f}, std::array<float,2>{0.818705559f, 0.19802317f}, std::array<float,2>{0.165651977f, 0.990723073f}, std::array<float,2>{0.113708757f, 0.119037785f}, std::array<float,2>{0.959997833f, 0.801670015f}, std::array<float,2>{0.703351676f, 0.306332767f}, std::array<float,2>{0.359684825f, 0.521744311f}, std::array<float,2>{0.223963842f, 0.328177929f}, std::array<float,2>{0.761248767f, 0.564415455f}, std::array<float,2>{0.529585361f, 0.0445943028f}, std::array<float,2>{0.438246727f, 0.830793679f}, std::array<float,2>{0.281777412f, 0.136529192f}, std::array<float,2>{0.645832539f, 0.908787072f}, std::array<float,2>{0.925064862f, 0.477510214f}, std::array<float,2>{0.000764913391f, 0.646157265f}, std::array<float,2>{0.339910656f, 0.274186462f}, std::array<float,2>{0.74857384f, 0.54045105f}, std::array<float,2>{0.970250785f, 0.0819113478f}, std::array<float,2>{0.0744456425f, 0.753542185f}, std::array<float,2>{0.137160331f, 0.236302614f}, std::array<float,2>{0.863627434f, 0.943644166f}, std::array<float,2>{0.624838114f, 0.381168395f}, std::array<float,2>{0.380397797f, 0.733402133f}, std::array<float,2>{0.0473319702f, 0.448117942f}, std::array<float,2>{0.904254258f, 0.667578816f}, std::array<float,2>{0.675807834f, 0.172503456f}, std::array<float,2>{0.252845675f, 0.903012216f}, std::array<float,2>{0.484106004f, 0.0270030349f}, std::array<float,2>{0.542061508f, 0.860628068f}, std::array<float,2>{0.804116428f, 0.365787178f}, std::array<float,2>{0.196633726f, 0.611599565f}, std::array<float,2>{0.369643986f, 0.389821827f}, std::array<float,2>{0.71292901f, 0.725752532f}, std::array<float,2>{0.962495923f, 0.248947069f}, std::array<float,2>{0.120409235f, 0.94851172f}, std::array<float,2>{0.15807052f, 0.0930570662f}, std::array<float,2>{0.821617901f, 0.761361659f}, std::array<float,2>{0.571084738f, 0.272391945f}, std::array<float,2>{0.408007324f, 0.531420052f}, std::array<float,2>{0.00934985839f, 0.373855859f}, std::array<float,2>{0.9347381f, 0.620761096f}, std::array<float,2>{0.649551094f, 0.0175700951f}, std::array<float,2>{0.289414555f, 0.874392867f}, std::array<float,2>{0.446854442f, 0.181419238f}, std::array<float,2>{0.521243334f, 0.895470321f}, std::array<float,2>{0.756470859f, 0.443650991f}, std::array<float,2>{0.230882972f, 0.66091007f}, std::array<float,2>{0.390175164f, 0.304429561f}, std::array<float,2>{0.614005208f, 0.526988924f}, std::array<float,2>{0.872543991f, 0.114377551f}, std::array<float,2>{0.129370257f, 0.80569011f}, std::array<float,2>{0.063168548f, 0.190867648f}, std::array<float,2>{0.979937375f, 0.993223071f}, std::array<float,2>{0.736843288f, 0.411138147f}, std::array<float,2>{0.329426765f, 0.690012455f}, std::array<float,2>{0.187710077f, 0.473499894f}, std::array<float,2>{0.805333257f, 0.650712132f}, std::array<float,2>{0.538815737f, 0.12693502f}, std::array<float,2>{0.473581076f, 0.914564192f}, std::array<float,2>{0.26512596f, 0.0389299579f}, std::array<float,2>{0.683714747f, 0.841341376f}, std::array<float,2>{0.894242227f, 0.34041971f}, std::array<float,2>{0.0615379214f, 0.576367021f}, std::array<float,2>{0.497266173f, 0.468443155f}, std::array<float,2>{0.557039917f, 0.67318815f}, std::array<float,2>{0.786572218f, 0.15950501f}, std::array<float,2>{0.216006488f, 0.883654773f}, std::array<float,2>{0.0435251258f, 0.00278405612f}, std::array<float,2>{0.883112609f, 0.855715573f}, std::array<float,2>{0.656497657f, 0.355159074f}, std::array<float,2>{0.266993642f, 0.604973972f}, std::array<float,2>{0.147142172f, 0.263248473f}, std::array<float,2>{0.844103694f, 0.550995767f}, std::array<float,2>{0.606809556f, 0.0738253295f}, std::array<float,2>{0.402238607f, 0.777440906f}, std::array<float,2>{0.319789588f, 0.231404394f}, std::array<float,2>{0.732919157f, 0.964810729f}, std::array<float,2>{0.995545924f, 0.402608991f}, std::array<float,2>{0.0902501047f, 0.73532027f}, std::array<float,2>{0.297237039f, 0.324599355f}, std::array<float,2>{0.634487569f, 0.589168429f}, std::array<float,2>{0.913005412f, 0.0617284551f}, std::array<float,2>{0.0177173931f, 0.813182652f}, std::array<float,2>{0.243203998f, 0.148348868f}, std::array<float,2>{0.774230063f, 0.934996188f}, std::array<float,2>{0.50737536f, 0.498570561f}, std::array<float,2>{0.464280963f, 0.62870127f}, std::array<float,2>{0.0985787734f, 0.426962346f}, std::array<float,2>{0.943879962f, 0.717216134f}, std::array<float,2>{0.689902902f, 0.207966849f}, std::array<float,2>{0.35103628f, 0.975791991f}, std::array<float,2>{0.437175065f, 0.105097577f}, std::array<float,2>{0.590541184f, 0.790600359f}, std::array<float,2>{0.839372098f, 0.292564094f}, std::array<float,2>{0.173389927f, 0.501095355f}, std::array<float,2>{0.29575935f, 0.436276466f}, std::array<float,2>{0.652722061f, 0.708033741f}, std::array<float,2>{0.931730866f, 0.216470808f}, std::array<float,2>{0.0151973646f, 0.977668226f}, std::array<float,2>{0.226818681f, 0.0983329639f}, std::array<float,2>{0.751557469f, 0.781548142f}, std::array<float,2>{0.518959641f, 0.286845684f}, std::array<float,2>{0.450074196f, 0.509097457f}, std::array<float,2>{0.122975938f, 0.312519222f}, std::array<float,2>{0.96621418f, 0.578782022f}, std::array<float,2>{0.717303514f, 0.0533493236f}, std::array<float,2>{0.373649597f, 0.823520601f}, std::array<float,2>{0.41070658f, 0.155606657f}, std::array<float,2>{0.575797796f, 0.924785018f}, std::array<float,2>{0.82750088f, 0.486511767f}, std::array<float,2>{0.160385296f, 0.635626674f}, std::array<float,2>{0.470907867f, 0.256090283f}, std::array<float,2>{0.531413913f, 0.555728614f}, std::array<float,2>{0.810213685f, 0.0700331181f}, std::array<float,2>{0.191413969f, 0.769757509f}, std::array<float,2>{0.0554995798f, 0.222516015f}, std::array<float,2>{0.896431029f, 0.95621562f}, std::array<float,2>{0.68305397f, 0.395737797f}, std::array<float,2>{0.259005189f, 0.744464934f}, std::array<float,2>{0.127796173f, 0.457123607f}, std::array<float,2>{0.868801236f, 0.681589484f}, std::array<float,2>{0.610471606f, 0.165130958f}, std::array<float,2>{0.382956743f, 0.882508993f}, std::array<float,2>{0.333420515f, 0.0141122732f}, std::array<float,2>{0.740446806f, 0.845717371f}, std::array<float,2>{0.983779252f, 0.345769018f}, std::array<float,2>{0.0686578453f, 0.595719934f}, std::array<float,2>{0.405413449f, 0.480886459f}, std::array<float,2>{0.603595972f, 0.641858041f}, std::array<float,2>{0.851151705f, 0.140491545f}, std::array<float,2>{0.140894026f, 0.912599981f}, std::array<float,2>{0.0862772912f, 0.042484954f}, std::array<float,2>{0.996937752f, 0.833560944f}, std::array<float,2>{0.727266967f, 0.335576385f}, std::array<float,2>{0.315133721f, 0.566632092f}, std::array<float,2>{0.21412468f, 0.3103351f}, std::array<float,2>{0.783794165f, 0.518921196f}, std::array<float,2>{0.56202817f, 0.121345446f}, std::array<float,2>{0.492266715f, 0.797975659f}, std::array<float,2>{0.269871175f, 0.201153606f}, std::array<float,2>{0.66335237f, 0.985070825f}, std::array<float,2>{0.887517631f, 0.417201698f}, std::array<float,2>{0.040072877f, 0.700172007f}, std::array<float,2>{0.34686622f, 0.360212386f}, std::array<float,2>{0.695012271f, 0.613522708f}, std::array<float,2>{0.940719485f, 0.030956408f}, std::array<float,2>{0.0943287164f, 0.864910245f}, std::array<float,2>{0.176541716f, 0.176587448f}, std::array<float,2>{0.841883183f, 0.899104834f}, std::array<float,2>{0.588491797f, 0.449601918f}, std::array<float,2>{0.430387676f, 0.66799742f}, std::array<float,2>{0.0200062152f, 0.376307011f}, std::array<float,2>{0.90766722f, 0.727593303f}, std::array<float,2>{0.640513897f, 0.24023515f}, std::array<float,2>{0.301299065f, 0.940492988f}, std::array<float,2>{0.465201348f, 0.0853484645f}, std::array<float,2>{0.501912534f, 0.755217433f}, std::array<float,2>{0.779397845f, 0.280698925f}, std::array<float,2>{0.248612761f, 0.544828475f}, std::array<float,2>{0.328004003f, 0.437993437f}, std::array<float,2>{0.726351023f, 0.659576416f}, std::array<float,2>{0.991100967f, 0.184264287f}, std::array<float,2>{0.0785806328f, 0.891608f}, std::array<float,2>{0.156113118f, 0.0217307787f}, std::array<float,2>{0.858397424f, 0.870805085f}, std::array<float,2>{0.594377816f, 0.369460046f}, std::array<float,2>{0.395257384f, 0.623013496f}, std::array<float,2>{0.0364398435f, 0.265978068f}, std::array<float,2>{0.87780118f, 0.536473691f}, std::array<float,2>{0.669528782f, 0.0867877975f}, std::array<float,2>{0.280963272f, 0.765248537f}, std::array<float,2>{0.484589934f, 0.244533703f}, std::array<float,2>{0.548042715f, 0.952920437f}, std::array<float,2>{0.792527616f, 0.385771871f}, std::array<float,2>{0.209225178f, 0.720740259f}, std::array<float,2>{0.421897262f, 0.337923139f}, std::array<float,2>{0.582036018f, 0.573127449f}, std::array<float,2>{0.834157646f, 0.0336569659f}, std::array<float,2>{0.182601169f, 0.837473691f}, std::array<float,2>{0.106743865f, 0.129848227f}, std::array<float,2>{0.946866214f, 0.921135724f}, std::array<float,2>{0.69821322f, 0.470702827f}, std::array<float,2>{0.354163468f, 0.655154824f}, std::array<float,2>{0.240761071f, 0.407838494f}, std::array<float,2>{0.773131013f, 0.691899896f}, std::array<float,2>{0.513250172f, 0.192816541f}, std::array<float,2>{0.460181624f, 0.997992456f}, std::array<float,2>{0.310285568f, 0.111937605f}, std::array<float,2>{0.631967902f, 0.810579836f}, std::array<float,2>{0.918435276f, 0.30040583f}, std::array<float,2>{0.0270500556f, 0.528980255f}, std::array<float,2>{0.442946166f, 0.400390774f}, std::array<float,2>{0.5263533f, 0.7413674f}, std::array<float,2>{0.764999926f, 0.226848587f}, std::array<float,2>{0.221573368f, 0.967398584f}, std::array<float,2>{0.00759974774f, 0.0753787085f}, std::array<float,2>{0.929388225f, 0.775540292f}, std::array<float,2>{0.642463684f, 0.261525124f}, std::array<float,2>{0.288611382f, 0.548205435f}, std::array<float,2>{0.171092913f, 0.358236194f}, std::array<float,2>{0.812532127f, 0.608022332f}, std::array<float,2>{0.569763243f, 0.00432656333f}, std::array<float,2>{0.419652432f, 0.855009973f}, std::array<float,2>{0.363874584f, 0.162999809f}, std::array<float,2>{0.710408807f, 0.890251458f}, std::array<float,2>{0.95439589f, 0.461832255f}, std::array<float,2>{0.1125395f, 0.679628849f}, std::array<float,2>{0.25779593f, 0.296648055f}, std::array<float,2>{0.672567427f, 0.504110515f}, std::array<float,2>{0.901059628f, 0.107459381f}, std::array<float,2>{0.0539135002f, 0.795703351f}, std::array<float,2>{0.201944828f, 0.204309106f}, std::array<float,2>{0.796888351f, 0.969450295f}, std::array<float,2>{0.544386208f, 0.422633141f}, std::array<float,2>{0.477800459f, 0.713211834f}, std::array<float,2>{0.0721779391f, 0.492438853f}, std::array<float,2>{0.975591123f, 0.631478488f}, std::array<float,2>{0.742352068f, 0.142953575f}, std::array<float,2>{0.336005032f, 0.930549264f}, std::array<float,2>{0.377450734f, 0.056400355f}, std::array<float,2>{0.617901981f, 0.817927361f}, std::array<float,2>{0.86000973f, 0.322401285f}, std::array<float,2>{0.133861601f, 0.590610027f}, std::array<float,2>{0.305624485f, 0.45634383f}, std::array<float,2>{0.625710309f, 0.686939001f}, std::array<float,2>{0.914150298f, 0.170482621f}, std::array<float,2>{0.0281495322f, 0.877280414f}, std::array<float,2>{0.236119881f, 0.00882353168f}, std::array<float,2>{0.76720506f, 0.8482126f}, std::array<float,2>{0.510917723f, 0.348513484f}, std::array<float,2>{0.454161555f, 0.600090563f}, std::array<float,2>{0.104267009f, 0.251531243f}, std::array<float,2>{0.95161289f, 0.56206274f}, std::array<float,2>{0.702200413f, 0.0650075749f}, std::array<float,2>{0.356628507f, 0.768387675f}, std::array<float,2>{0.426613241f, 0.222873285f}, std::array<float,2>{0.579748034f, 0.957752585f}, std::array<float,2>{0.829727948f, 0.394301802f}, std::array<float,2>{0.183986381f, 0.749839127f}, std::array<float,2>{0.488880873f, 0.318691462f}, std::array<float,2>{0.55229032f, 0.583149135f}, std::array<float,2>{0.795768142f, 0.0491557904f}, std::array<float,2>{0.204712138f, 0.824967682f}, std::array<float,2>{0.033940006f, 0.150889024f}, std::array<float,2>{0.881609797f, 0.926357806f}, std::array<float,2>{0.666270256f, 0.490397602f}, std::array<float,2>{0.276620626f, 0.636808634f}, std::array<float,2>{0.14979957f, 0.430740505f}, std::array<float,2>{0.855245113f, 0.705615044f}, std::array<float,2>{0.601351142f, 0.213013172f}, std::array<float,2>{0.394522399f, 0.982213855f}, std::array<float,2>{0.321881384f, 0.0955492705f}, std::array<float,2>{0.721234858f, 0.785817027f}, std::array<float,2>{0.986902654f, 0.28320837f}, std::array<float,2>{0.0827500373f, 0.515408754f}, std::array<float,2>{0.381119132f, 0.380274862f}, std::array<float,2>{0.622642159f, 0.732340634f}, std::array<float,2>{0.866367877f, 0.237366572f}, std::array<float,2>{0.140528053f, 0.941643417f}, std::array<float,2>{0.077747114f, 0.078662172f}, std::array<float,2>{0.970902741f, 0.751417637f}, std::array<float,2>{0.7471295f, 0.275457829f}, std::array<float,2>{0.343257427f, 0.542957842f}, std::array<float,2>{0.197386205f, 0.363769948f}, std::array<float,2>{0.801469028f, 0.609967768f}, std::array<float,2>{0.53962636f, 0.0252227131f}, std::array<float,2>{0.482166618f, 0.862605572f}, std::array<float,2>{0.251708567f, 0.174494818f}, std::array<float,2>{0.67948705f, 0.904485762f}, std::array<float,2>{0.904670954f, 0.447210878f}, std::array<float,2>{0.0497304797f, 0.664426148f}, std::array<float,2>{0.362496883f, 0.307294011f}, std::array<float,2>{0.705637455f, 0.520136714f}, std::array<float,2>{0.957201421f, 0.120499998f}, std::array<float,2>{0.116800487f, 0.804537714f}, std::array<float,2>{0.167789161f, 0.19538343f}, std::array<float,2>{0.817075789f, 0.988350809f}, std::array<float,2>{0.566075146f, 0.421304584f}, std::array<float,2>{0.415409058f, 0.698847771f}, std::array<float,2>{0.00207270542f, 0.479595423f}, std::array<float,2>{0.922473788f, 0.647069454f}, std::array<float,2>{0.647997797f, 0.133926839f}, std::array<float,2>{0.283971161f, 0.906439781f}, std::array<float,2>{0.44090876f, 0.0458451137f}, std::array<float,2>{0.52913934f, 0.829163015f}, std::array<float,2>{0.758733273f, 0.330996364f}, std::array<float,2>{0.22635223f, 0.564624667f}, std::array<float,2>{0.33195734f, 0.413998544f}, std::array<float,2>{0.735236883f, 0.688440561f}, std::array<float,2>{0.978267789f, 0.188985601f}, std::array<float,2>{0.0656402633f, 0.994310796f}, std::array<float,2>{0.132581636f, 0.115870461f}, std::array<float,2>{0.873090386f, 0.807765424f}, std::array<float,2>{0.616592646f, 0.302619159f}, std::array<float,2>{0.38739422f, 0.523508191f}, std::array<float,2>{0.0600479245f, 0.343455523f}, std::array<float,2>{0.891489983f, 0.574270427f}, std::array<float,2>{0.686240315f, 0.0368462056f}, std::array<float,2>{0.262681782f, 0.842972755f}, std::array<float,2>{0.476191074f, 0.128901213f}, std::array<float,2>{0.535647213f, 0.916430295f}, std::array<float,2>{0.808590829f, 0.476337165f}, std::array<float,2>{0.190054551f, 0.649273098f}, std::array<float,2>{0.408543378f, 0.270502865f}, std::array<float,2>{0.573027551f, 0.533948958f}, std::array<float,2>{0.823328972f, 0.0916120261f}, std::array<float,2>{0.158778623f, 0.759039819f}, std::array<float,2>{0.118825972f, 0.246158212f}, std::array<float,2>{0.963166773f, 0.946593344f}, std::array<float,2>{0.712755978f, 0.388125628f}, std::array<float,2>{0.36897108f, 0.722961187f}, std::array<float,2>{0.233445749f, 0.442166209f}, std::array<float,2>{0.753908217f, 0.663639784f}, std::array<float,2>{0.523311317f, 0.181796178f}, std::array<float,2>{0.447672725f, 0.89708358f}, std::array<float,2>{0.292191595f, 0.0179964788f}, std::array<float,2>{0.65182668f, 0.871820271f}, std::array<float,2>{0.935706019f, 0.372100145f}, std::array<float,2>{0.0109875072f, 0.618580997f}, std::array<float,2>{0.461993039f, 0.496493995f}, std::array<float,2>{0.504656017f, 0.626228392f}, std::array<float,2>{0.776194811f, 0.144601107f}, std::array<float,2>{0.244298577f, 0.937069714f}, std::array<float,2>{0.0163310897f, 0.0603304692f}, std::array<float,2>{0.91201812f, 0.816176891f}, std::array<float,2>{0.635701418f, 0.328067839f}, std::array<float,2>{0.299057961f, 0.586103678f}, std::array<float,2>{0.175211728f, 0.289795488f}, std::array<float,2>{0.836841702f, 0.502216697f}, std::array<float,2>{0.593472719f, 0.101612449f}, std::array<float,2>{0.434527367f, 0.791756749f}, std::array<float,2>{0.348077148f, 0.210366279f}, std::array<float,2>{0.68872726f, 0.972740233f}, std::array<float,2>{0.942132592f, 0.429072797f}, std::array<float,2>{0.100231104f, 0.715600789f}, std::array<float,2>{0.268105626f, 0.352449656f}, std::array<float,2>{0.659893632f, 0.602923751f}, std::array<float,2>{0.886128128f, 5.07316436e-05f}, std::array<float,2>{0.0456722192f, 0.859332979f}, std::array<float,2>{0.21841386f, 0.157276928f}, std::array<float,2>{0.787394822f, 0.885383725f}, std::array<float,2>{0.555461466f, 0.465108901f}, std::array<float,2>{0.499404788f, 0.675161481f}, std::array<float,2>{0.0918983296f, 0.405956686f}, std::array<float,2>{0.993260264f, 0.738128722f}, std::array<float,2>{0.731324673f, 0.233239144f}, std::array<float,2>{0.317082733f, 0.961882055f}, std::array<float,2>{0.399372071f, 0.0716809928f}, std::array<float,2>{0.607691288f, 0.779762447f}, std::array<float,2>{0.846603096f, 0.263863415f}, std::array<float,2>{0.144671187f, 0.554531991f}, std::array<float,2>{0.261089712f, 0.396979779f}, std::array<float,2>{0.681595206f, 0.744110167f}, std::array<float,2>{0.897386134f, 0.218758047f}, std::array<float,2>{0.0585174859f, 0.954353213f}, std::array<float,2>{0.194855884f, 0.0680137426f}, std::array<float,2>{0.811246812f, 0.773310006f}, std::array<float,2>{0.534169614f, 0.255081922f}, std::array<float,2>{0.469720274f, 0.558072686f}, std::array<float,2>{0.068079561f, 0.344089061f}, std::array<float,2>{0.981684923f, 0.59549135f}, std::array<float,2>{0.73843056f, 0.0134239923f}, std::array<float,2>{0.335432678f, 0.843782127f}, std::array<float,2>{0.386079788f, 0.167493746f}, std::array<float,2>{0.612706721f, 0.879011869f}, std::array<float,2>{0.869556427f, 0.459407926f}, std::array<float,2>{0.125649601f, 0.682186186f}, std::array<float,2>{0.451698333f, 0.287313372f}, std::array<float,2>{0.516206682f, 0.510873735f}, std::array<float,2>{0.752328038f, 0.100027442f}, std::array<float,2>{0.229167789f, 0.784918129f}, std::array<float,2>{0.0126432022f, 0.217731908f}, std::array<float,2>{0.931278229f, 0.979839563f}, std::array<float,2>{0.655417264f, 0.435463548f}, std::array<float,2>{0.292977959f, 0.710330129f}, std::array<float,2>{0.163860291f, 0.485352486f}, std::array<float,2>{0.825734019f, 0.634763956f}, std::array<float,2>{0.577389359f, 0.153934538f}, std::array<float,2>{0.414037764f, 0.922170103f}, std::array<float,2>{0.371735185f, 0.0525275283f}, std::array<float,2>{0.715826571f, 0.821805418f}, std::array<float,2>{0.968221784f, 0.315251142f}, std::array<float,2>{0.123297006f, 0.581666231f}, std::array<float,2>{0.433474004f, 0.452785164f}, std::array<float,2>{0.586816192f, 0.670377254f}, std::array<float,2>{0.840115905f, 0.178146824f}, std::array<float,2>{0.178197905f, 0.900642097f}, std::array<float,2>{0.0957740098f, 0.0285979472f}, std::array<float,2>{0.937806845f, 0.867132902f}, std::array<float,2>{0.693170667f, 0.361571103f}, std::array<float,2>{0.344286174f, 0.616583169f}, std::array<float,2>{0.247128516f, 0.278383791f}, std::array<float,2>{0.77867347f, 0.545667112f}, std::array<float,2>{0.502555549f, 0.0826689824f}, std::array<float,2>{0.468529344f, 0.757359862f}, std::array<float,2>{0.304201722f, 0.238971964f}, std::array<float,2>{0.638310909f, 0.939026356f}, std::array<float,2>{0.908699691f, 0.378465801f}, std::array<float,2>{0.0232372377f, 0.729900658f}, std::array<float,2>{0.312678128f, 0.333351463f}, std::array<float,2>{0.728798985f, 0.569686949f}, std::array<float,2>{0.99832052f, 0.0392261334f}, std::array<float,2>{0.0885071382f, 0.83424598f}, std::array<float,2>{0.142923385f, 0.13682425f}, std::array<float,2>{0.848109245f, 0.911387384f}, std::array<float,2>{0.602021277f, 0.484161615f}, std::array<float,2>{0.403092504f, 0.643332899f}, std::array<float,2>{0.0424099639f, 0.414384812f}, std::array<float,2>{0.889309704f, 0.702906787f}, std::array<float,2>{0.660721004f, 0.201551914f}, std::array<float,2>{0.273139447f, 0.987708211f}, std::array<float,2>{0.49573648f, 0.123427413f}, std::array<float,2>{0.55993551f, 0.800019026f}, std::array<float,2>{0.782083631f, 0.312310785f}, std::array<float,2>{0.21202074f, 0.516072094f}, std::array<float,2>{0.352373898f, 0.472301155f}, std::array<float,2>{0.695629358f, 0.653770268f}, std::array<float,2>{0.948868036f, 0.131130502f}, std::array<float,2>{0.109179407f, 0.918612778f}, std::array<float,2>{0.181222498f, 0.0325955115f}, std::array<float,2>{0.833091021f, 0.839324236f}, std::array<float,2>{0.585011482f, 0.336763144f}, std::array<float,2>{0.424598634f, 0.570393562f}, std::array<float,2>{0.0246092565f, 0.297368258f}, std::array<float,2>{0.920774221f, 0.530692399f}, std::array<float,2>{0.629870832f, 0.110721879f}, std::array<float,2>{0.3113015f, 0.809303403f}, std::array<float,2>{0.457414091f, 0.194375992f}, std::array<float,2>{0.514213502f, 0.999123633f}, std::array<float,2>{0.770423174f, 0.408896744f}, std::array<float,2>{0.239133611f, 0.693729162f}, std::array<float,2>{0.396728158f, 0.368476093f}, std::array<float,2>{0.595892549f, 0.624551475f}, std::array<float,2>{0.856675625f, 0.0204449389f}, std::array<float,2>{0.152821004f, 0.868573785f}, std::array<float,2>{0.0805657506f, 0.186100408f}, std::array<float,2>{0.988417447f, 0.89295125f}, std::array<float,2>{0.723599613f, 0.439588726f}, std::array<float,2>{0.325912416f, 0.656341314f}, std::array<float,2>{0.208789334f, 0.383248687f}, std::array<float,2>{0.790577888f, 0.719402373f}, std::array<float,2>{0.5501073f, 0.242970243f}, std::array<float,2>{0.486580908f, 0.95026356f}, std::array<float,2>{0.278475553f, 0.0888962597f}, std::array<float,2>{0.671854496f, 0.763154268f}, std::array<float,2>{0.87665695f, 0.268561751f}, std::array<float,2>{0.0389012508f, 0.537769735f}, std::array<float,2>{0.479492903f, 0.424821645f}, std::array<float,2>{0.546010315f, 0.711715162f}, std::array<float,2>{0.799257696f, 0.206951633f}, std::array<float,2>{0.199382946f, 0.972314596f}, std::array<float,2>{0.0514634252f, 0.105587199f}, std::array<float,2>{0.898886323f, 0.7944628f}, std::array<float,2>{0.674079776f, 0.294126183f}, std::array<float,2>{0.253988981f, 0.506985366f}, std::array<float,2>{0.135809913f, 0.322256625f}, std::array<float,2>{0.861632049f, 0.591882527f}, std::array<float,2>{0.62002337f, 0.0569600686f}, std::array<float,2>{0.37637049f, 0.819865465f}, std::array<float,2>{0.338072389f, 0.140741751f}, std::array<float,2>{0.745157182f, 0.931844592f}, std::array<float,2>{0.973950922f, 0.496080935f}, std::array<float,2>{0.0733549222f, 0.629641652f}, std::array<float,2>{0.286358416f, 0.259551495f}, std::array<float,2>{0.64373219f, 0.550603509f}, std::array<float,2>{0.927639365f, 0.0767618492f}, std::array<float,2>{0.0047864248f, 0.774618685f}, std::array<float,2>{0.219567284f, 0.229356587f}, std::array<float,2>{0.762979388f, 0.966000378f}, std::array<float,2>{0.524435043f, 0.398620278f}, std::array<float,2>{0.443693995f, 0.738678753f}, std::array<float,2>{0.11094407f, 0.464708f}, std::array<float,2>{0.955084622f, 0.675835013f}, std::array<float,2>{0.708632529f, 0.161695749f}, std::array<float,2>{0.365663379f, 0.886744797f}, std::array<float,2>{0.421051979f, 0.00616212049f}, std::array<float,2>{0.566825807f, 0.852029443f}, std::array<float,2>{0.816394091f, 0.356596559f}, std::array<float,2>{0.169814497f, 0.606299818f}, std::array<float,2>{0.299637824f, 0.498121828f}, std::array<float,2>{0.635040462f, 0.628245533f}, std::array<float,2>{0.911436856f, 0.147720009f}, std::array<float,2>{0.0159039423f, 0.935126781f}, std::array<float,2>{0.244932726f, 0.062090423f}, std::array<float,2>{0.775455058f, 0.812698245f}, std::array<float,2>{0.504257202f, 0.324802041f}, std::array<float,2>{0.462623656f, 0.589677751f}, std::array<float,2>{0.0996868387f, 0.292322546f}, std::array<float,2>{0.94149828f, 0.501820922f}, std::array<float,2>{0.689247012f, 0.104962856f}, std::array<float,2>{0.348462492f, 0.790349841f}, std::array<float,2>{0.433809072f, 0.207368538f}, std::array<float,2>{0.593204558f, 0.976430535f}, std::array<float,2>{0.836274862f, 0.427733898f}, std::array<float,2>{0.175390884f, 0.717632771f}, std::array<float,2>{0.499824375f, 0.354891837f}, std::array<float,2>{0.554804146f, 0.605173767f}, std::array<float,2>{0.787698865f, 0.00240923348f}, std::array<float,2>{0.217999697f, 0.856213272f}, std::array<float,2>{0.0452223606f, 0.159850314f}, std::array<float,2>{0.886279464f, 0.882842064f}, std::array<float,2>{0.659373224f, 0.46826008f}, std::array<float,2>{0.267769933f, 0.673609316f}, std::array<float,2>{0.145253688f, 0.403316617f}, std::array<float,2>{0.845992744f, 0.734719038f}, std::array<float,2>{0.608228207f, 0.230805188f}, std::array<float,2>{0.398891121f, 0.964038491f}, std::array<float,2>{0.316420972f, 0.0737083852f}, std::array<float,2>{0.730727732f, 0.778096199f}, std::array<float,2>{0.993672371f, 0.262838244f}, std::array<float,2>{0.0924175829f, 0.551562071f}, std::array<float,2>{0.387105107f, 0.411852896f}, std::array<float,2>{0.616891742f, 0.689893425f}, std::array<float,2>{0.873668194f, 0.191111684f}, std::array<float,2>{0.132133693f, 0.993879259f}, std::array<float,2>{0.066334866f, 0.115222126f}, std::array<float,2>{0.977869213f, 0.806554556f}, std::array<float,2>{0.73460418f, 0.303768754f}, std::array<float,2>{0.331421226f, 0.526803851f}, std::array<float,2>{0.18966645f, 0.339882046f}, std::array<float,2>{0.808088601f, 0.576660275f}, std::array<float,2>{0.535523653f, 0.0381956138f}, std::array<float,2>{0.475879878f, 0.840984464f}, std::array<float,2>{0.261857182f, 0.126058266f}, std::array<float,2>{0.685951412f, 0.914433002f}, std::array<float,2>{0.890705764f, 0.472841203f}, std::array<float,2>{0.0601108931f, 0.650903881f}, std::array<float,2>{0.368499845f, 0.271824718f}, std::array<float,2>{0.712138653f, 0.532095313f}, std::array<float,2>{0.963466883f, 0.0932632089f}, std::array<float,2>{0.118174411f, 0.761160731f}, std::array<float,2>{0.158362195f, 0.248325109f}, std::array<float,2>{0.823857188f, 0.948910296f}, std::array<float,2>{0.572277904f, 0.390559644f}, std::array<float,2>{0.409148693f, 0.726500392f}, std::array<float,2>{0.0116047896f, 0.444095641f}, std::array<float,2>{0.936366558f, 0.660324454f}, std::array<float,2>{0.652098298f, 0.180869773f}, std::array<float,2>{0.292664468f, 0.894659519f}, std::array<float,2>{0.448222727f, 0.0168784428f}, std::array<float,2>{0.5227952f, 0.874710441f}, std::array<float,2>{0.754719079f, 0.373133391f}, std::array<float,2>{0.234126955f, 0.620458603f}, std::array<float,2>{0.343598425f, 0.381640255f}, std::array<float,2>{0.747831345f, 0.734301388f}, std::array<float,2>{0.971669853f, 0.235721633f}, std::array<float,2>{0.0775047541f, 0.944244385f}, std::array<float,2>{0.139872804f, 0.0810895786f}, std::array<float,2>{0.866761148f, 0.753105521f}, std::array<float,2>{0.622080684f, 0.273629427f}, std::array<float,2>{0.381407678f, 0.540697932f}, std::array<float,2>{0.0489375517f, 0.365258664f}, std::array<float,2>{0.905151665f, 0.612113237f}, std::array<float,2>{0.679178596f, 0.0263806731f}, std::array<float,2>{0.251144588f, 0.860918462f}, std::array<float,2>{0.48179251f, 0.172029242f}, std::array<float,2>{0.539513648f, 0.902793884f}, std::array<float,2>{0.801165819f, 0.447485626f}, std::array<float,2>{0.198166952f, 0.667292714f}, std::array<float,2>{0.415832549f, 0.305970967f}, std::array<float,2>{0.565852582f, 0.522190988f}, std::array<float,2>{0.816689312f, 0.118348293f}, std::array<float,2>{0.167457923f, 0.800799191f}, std::array<float,2>{0.116600238f, 0.1975016f}, std::array<float,2>{0.957778037f, 0.990416646f}, std::array<float,2>{0.70521909f, 0.419181675f}, std::array<float,2>{0.363233179f, 0.697056055f}, std::array<float,2>{0.226054266f, 0.476839751f}, std::array<float,2>{0.758238375f, 0.645545065f}, std::array<float,2>{0.528551996f, 0.13616325f}, std::array<float,2>{0.441135108f, 0.908471823f}, std::array<float,2>{0.283288628f, 0.0443113483f}, std::array<float,2>{0.647855163f, 0.830403388f}, std::array<float,2>{0.921901524f, 0.32897836f}, std::array<float,2>{0.00290793553f, 0.563599169f}, std::array<float,2>{0.454743087f, 0.453307599f}, std::array<float,2>{0.511406004f, 0.683696806f}, std::array<float,2>{0.766809225f, 0.168015912f}, std::array<float,2>{0.235519096f, 0.876557648f}, std::array<float,2>{0.0277495813f, 0.0107242921f}, std::array<float,2>{0.914689004f, 0.849792004f}, std::array<float,2>{0.625102043f, 0.349740863f}, std::array<float,2>{0.305037916f, 0.598002911f}, std::array<float,2>{0.184177384f, 0.253502518f}, std::array<float,2>{0.829322278f, 0.559336305f}, std::array<float,2>{0.579229295f, 0.0633549914f}, std::array<float,2>{0.42611137f, 0.766108692f}, std::array<float,2>{0.3569628f, 0.225610241f}, std::array<float,2>{0.702902794f, 0.959852159f}, std::array<float,2>{0.952046573f, 0.391886652f}, std::array<float,2>{0.103723362f, 0.747191966f}, std::array<float,2>{0.277178377f, 0.317764133f}, std::array<float,2>{0.666673779f, 0.584721267f}, std::array<float,2>{0.880947351f, 0.0483326241f}, std::array<float,2>{0.0334051065f, 0.827515244f}, std::array<float,2>{0.204164103f, 0.14878644f}, std::array<float,2>{0.795406818f, 0.928401172f}, std::array<float,2>{0.552090406f, 0.488934249f}, std::array<float,2>{0.488329768f, 0.639961183f}, std::array<float,2>{0.0821337402f, 0.432738245f}, std::array<float,2>{0.986468732f, 0.704759836f}, std::array<float,2>{0.721108198f, 0.211482182f}, std::array<float,2>{0.32163012f, 0.982526779f}, std::array<float,2>{0.3935799f, 0.0963558108f}, std::array<float,2>{0.600652874f, 0.78878963f}, std::array<float,2>{0.85478735f, 0.282016367f}, std::array<float,2>{0.150118962f, 0.513417363f}, std::array<float,2>{0.254521191f, 0.421986967f}, std::array<float,2>{0.674679279f, 0.713797748f}, std::array<float,2>{0.898932397f, 0.204699486f}, std::array<float,2>{0.0512231439f, 0.968889713f}, std::array<float,2>{0.199999824f, 0.108216539f}, std::array<float,2>{0.799624324f, 0.795409679f}, std::array<float,2>{0.546450675f, 0.295971155f}, std::array<float,2>{0.480263799f, 0.50458771f}, std::array<float,2>{0.0740410164f, 0.322765052f}, std::array<float,2>{0.974388063f, 0.590209365f}, std::array<float,2>{0.745629013f, 0.0557211973f}, std::array<float,2>{0.338461727f, 0.817433238f}, std::array<float,2>{0.37660715f, 0.143209741f}, std::array<float,2>{0.619223893f, 0.92971313f}, std::array<float,2>{0.861948133f, 0.492685109f}, std::array<float,2>{0.136658818f, 0.630927026f}, std::array<float,2>{0.44397071f, 0.260947615f}, std::array<float,2>{0.525176108f, 0.54861021f}, std::array<float,2>{0.763307869f, 0.0757051706f}, std::array<float,2>{0.219130754f, 0.775942206f}, std::array<float,2>{0.00433821371f, 0.227409452f}, std::array<float,2>{0.927183867f, 0.967258573f}, std::array<float,2>{0.644112527f, 0.400984585f}, std::array<float,2>{0.286792189f, 0.74190563f}, std::array<float,2>{0.169286311f, 0.461242318f}, std::array<float,2>{0.815674305f, 0.679162741f}, std::array<float,2>{0.567238033f, 0.162358791f}, std::array<float,2>{0.421693832f, 0.889952719f}, std::array<float,2>{0.365870804f, 0.00476187747f}, std::array<float,2>{0.708456039f, 0.854547083f}, std::array<float,2>{0.955966532f, 0.35762009f}, std::array<float,2>{0.110378347f, 0.607882917f}, std::array<float,2>{0.424026221f, 0.469790429f}, std::array<float,2>{0.585583389f, 0.654505372f}, std::array<float,2>{0.833575964f, 0.129337296f}, std::array<float,2>{0.181132972f, 0.92164129f}, std::array<float,2>{0.108594127f, 0.0338828564f}, std::array<float,2>{0.948573053f, 0.837064087f}, std::array<float,2>{0.696131289f, 0.338811934f}, std::array<float,2>{0.351722449f, 0.572588027f}, std::array<float,2>{0.238605618f, 0.299904734f}, std::array<float,2>{0.769980907f, 0.528465807f}, std::array<float,2>{0.513770163f, 0.111654036f}, std::array<float,2>{0.457679689f, 0.811319947f}, std::array<float,2>{0.310928375f, 0.192960232f}, std::array<float,2>{0.628914535f, 0.997194231f}, std::array<float,2>{0.919985592f, 0.4073264f}, std::array<float,2>{0.0249895919f, 0.691647828f}, std::array<float,2>{0.325659215f, 0.369864941f}, std::array<float,2>{0.723012567f, 0.622408688f}, std::array<float,2>{0.989070833f, 0.0220273137f}, std::array<float,2>{0.0809117407f, 0.870527685f}, std::array<float,2>{0.15306811f, 0.183792189f}, std::array<float,2>{0.857248902f, 0.8924703f}, std::array<float,2>{0.596413434f, 0.4377276f}, std::array<float,2>{0.397231519f, 0.659682631f}, std::array<float,2>{0.0384049639f, 0.386422276f}, std::array<float,2>{0.876240253f, 0.721631825f}, std::array<float,2>{0.671321273f, 0.244937509f}, std::array<float,2>{0.278904289f, 0.952255189f}, std::array<float,2>{0.487226158f, 0.0862445086f}, std::array<float,2>{0.550355196f, 0.764679432f}, std::array<float,2>{0.790206075f, 0.266265124f}, std::array<float,2>{0.208225161f, 0.537107468f}, std::array<float,2>{0.34416315f, 0.44994843f}, std::array<float,2>{0.692400098f, 0.668938935f}, std::array<float,2>{0.93822068f, 0.17609489f}, std::array<float,2>{0.0964064151f, 0.898773551f}, std::array<float,2>{0.178253099f, 0.0306518227f}, std::array<float,2>{0.840448678f, 0.864422262f}, std::array<float,2>{0.585960627f, 0.359685302f}, std::array<float,2>{0.432815284f, 0.614126027f}, std::array<float,2>{0.0229282789f, 0.281126648f}, std::array<float,2>{0.908381701f, 0.544073284f}, std::array<float,2>{0.637709022f, 0.0859130919f}, std::array<float,2>{0.303978682f, 0.755713701f}, std::array<float,2>{0.468113333f, 0.24098818f}, std::array<float,2>{0.502019167f, 0.940949202f}, std::array<float,2>{0.778898954f, 0.376577914f}, std::array<float,2>{0.24772571f, 0.728488266f}, std::array<float,2>{0.402784884f, 0.335141301f}, std::array<float,2>{0.602168083f, 0.566960752f}, std::array<float,2>{0.848160267f, 0.0422209948f}, std::array<float,2>{0.143423125f, 0.833015144f}, std::array<float,2>{0.0882771239f, 0.139940739f}, std::array<float,2>{0.99863106f, 0.912344813f}, std::array<float,2>{0.729428113f, 0.481242508f}, std::array<float,2>{0.313283354f, 0.642107606f}, std::array<float,2>{0.212509155f, 0.41750896f}, std::array<float,2>{0.7814219f, 0.699413121f}, std::array<float,2>{0.560059309f, 0.200430974f}, std::array<float,2>{0.495122343f, 0.984558642f}, std::array<float,2>{0.272763789f, 0.121619776f}, std::array<float,2>{0.660183251f, 0.79848212f}, std::array<float,2>{0.88868922f, 0.309912086f}, std::array<float,2>{0.0426403098f, 0.519150019f}, std::array<float,2>{0.468751997f, 0.396100372f}, std::array<float,2>{0.533522487f, 0.7446661f}, std::array<float,2>{0.810997963f, 0.221941218f}, std::array<float,2>{0.194743633f, 0.956969738f}, std::array<float,2>{0.0578551032f, 0.069696039f}, std::array<float,2>{0.896767795f, 0.77007246f}, std::array<float,2>{0.680977225f, 0.256538004f}, std::array<float,2>{0.26126501f, 0.556360722f}, std::array<float,2>{0.125401869f, 0.346377581f}, std::array<float,2>{0.8699103f, 0.596344173f}, std::array<float,2>{0.612980187f, 0.0144601855f}, std::array<float,2>{0.386571586f, 0.846286058f}, std::array<float,2>{0.335761875f, 0.1658694f}, std::array<float,2>{0.739200294f, 0.882190645f}, std::array<float,2>{0.982034564f, 0.45767042f}, std::array<float,2>{0.0676436275f, 0.681108296f}, std::array<float,2>{0.293812275f, 0.286502212f}, std::array<float,2>{0.656033576f, 0.509549856f}, std::array<float,2>{0.930742443f, 0.098108694f}, std::array<float,2>{0.0119360825f, 0.781794727f}, std::array<float,2>{0.228640959f, 0.216219991f}, std::array<float,2>{0.752859652f, 0.978109896f}, std::array<float,2>{0.515708923f, 0.435800254f}, std::array<float,2>{0.451645017f, 0.708654523f}, std::array<float,2>{0.123751789f, 0.486865282f}, std::array<float,2>{0.968288481f, 0.63482523f}, std::array<float,2>{0.71651268f, 0.156172335f}, std::array<float,2>{0.371542692f, 0.923840702f}, std::array<float,2>{0.413473129f, 0.0531250536f}, std::array<float,2>{0.577893972f, 0.824045002f}, std::array<float,2>{0.825674772f, 0.313120484f}, std::array<float,2>{0.163166314f, 0.5784114f}, std::array<float,2>{0.267092377f, 0.4655734f}, std::array<float,2>{0.657026231f, 0.67563206f}, std::array<float,2>{0.883660674f, 0.158038765f}, std::array<float,2>{0.0430960394f, 0.884966433f}, std::array<float,2>{0.216759041f, 0.000521697511f}, std::array<float,2>{0.78686893f, 0.858578861f}, std::array<float,2>{0.557571173f, 0.351975203f}, std::array<float,2>{0.497636586f, 0.603482902f}, std::array<float,2>{0.0903743431f, 0.26445207f}, std::array<float,2>{0.996051133f, 0.553850532f}, std::array<float,2>{0.732653737f, 0.0718215704f}, std::array<float,2>{0.320255101f, 0.78003943f}, std::array<float,2>{0.401559949f, 0.232885376f}, std::array<float,2>{0.607290626f, 0.960996389f}, std::array<float,2>{0.844290853f, 0.405506581f}, std::array<float,2>{0.146825835f, 0.73757118f}, std::array<float,2>{0.464792699f, 0.327178627f}, std::array<float,2>{0.507292867f, 0.586892545f}, std::array<float,2>{0.773613632f, 0.0598381199f}, std::array<float,2>{0.244116619f, 0.815648377f}, std::array<float,2>{0.0183099117f, 0.14525266f}, std::array<float,2>{0.912387013f, 0.936800241f}, std::array<float,2>{0.633899391f, 0.496865749f}, std::array<float,2>{0.29747951f, 0.626693964f}, std::array<float,2>{0.17307891f, 0.429628462f}, std::array<float,2>{0.839028239f, 0.715236604f}, std::array<float,2>{0.590064943f, 0.210627571f}, std::array<float,2>{0.436930597f, 0.973385096f}, std::array<float,2>{0.351259321f, 0.102459177f}, std::array<float,2>{0.690355182f, 0.791421533f}, std::array<float,2>{0.943443894f, 0.28934744f}, std::array<float,2>{0.0980613083f, 0.502711296f}, std::array<float,2>{0.407573193f, 0.388491541f}, std::array<float,2>{0.570529819f, 0.723317027f}, std::array<float,2>{0.822038651f, 0.246739089f}, std::array<float,2>{0.157265618f, 0.946907938f}, std::array<float,2>{0.120883085f, 0.0910952464f}, std::array<float,2>{0.961990714f, 0.759658039f}, std::array<float,2>{0.713667929f, 0.269785136f}, std::array<float,2>{0.369454056f, 0.533230901f}, std::array<float,2>{0.231374234f, 0.372561753f}, std::array<float,2>{0.755937934f, 0.618826389f}, std::array<float,2>{0.520794332f, 0.0182374213f}, std::array<float,2>{0.446674913f, 0.871491134f}, std::array<float,2>{0.289578497f, 0.182581261f}, std::array<float,2>{0.65011996f, 0.89696151f}, std::array<float,2>{0.935243011f, 0.441613734f}, std::array<float,2>{0.00926912017f, 0.663523793f}, std::array<float,2>{0.329885215f, 0.302122444f}, std::array<float,2>{0.736608207f, 0.524326622f}, std::array<float,2>{0.980045855f, 0.115715533f}, std::array<float,2>{0.0627104267f, 0.808203816f}, std::array<float,2>{0.129414424f, 0.188660711f}, std::array<float,2>{0.872748613f, 0.994950831f}, std::array<float,2>{0.61349982f, 0.413427144f}, std::array<float,2>{0.390092254f, 0.687565744f}, std::array<float,2>{0.0621650703f, 0.47594139f}, std::array<float,2>{0.894014239f, 0.648493409f}, std::array<float,2>{0.684336841f, 0.1283333f}, std::array<float,2>{0.26521793f, 0.916862845f}, std::array<float,2>{0.472923189f, 0.03655627f}, std::array<float,2>{0.538483799f, 0.843353808f}, std::array<float,2>{0.804840326f, 0.343194783f}, std::array<float,2>{0.188393354f, 0.575130165f}, std::array<float,2>{0.360019147f, 0.421603799f}, std::array<float,2>{0.703700781f, 0.698490679f}, std::array<float,2>{0.960614383f, 0.196270838f}, std::array<float,2>{0.114000782f, 0.989057899f}, std::array<float,2>{0.165365174f, 0.121053778f}, std::array<float,2>{0.819299698f, 0.803755999f}, std::array<float,2>{0.564280868f, 0.307047158f}, std::array<float,2>{0.416513205f, 0.519792557f}, std::array<float,2>{0.000132587593f, 0.330166429f}, std::array<float,2>{0.925507605f, 0.565149546f}, std::array<float,2>{0.646289766f, 0.045109503f}, std::array<float,2>{0.281687647f, 0.830058873f}, std::array<float,2>{0.437522978f, 0.134461045f}, std::array<float,2>{0.529989719f, 0.90704459f}, std::array<float,2>{0.760961652f, 0.480427533f}, std::array<float,2>{0.224222466f, 0.646913648f}, std::array<float,2>{0.379965186f, 0.276209354f}, std::array<float,2>{0.624230504f, 0.542085052f}, std::array<float,2>{0.864060283f, 0.0784682855f}, std::array<float,2>{0.137288406f, 0.751617432f}, std::array<float,2>{0.075003989f, 0.237848327f}, std::array<float,2>{0.969832897f, 0.94191736f}, std::array<float,2>{0.748080194f, 0.380757809f}, std::array<float,2>{0.340433538f, 0.731460929f}, std::array<float,2>{0.196985304f, 0.446378469f}, std::array<float,2>{0.804682076f, 0.664560854f}, std::array<float,2>{0.542906165f, 0.174234286f}, std::array<float,2>{0.483599812f, 0.905188262f}, std::array<float,2>{0.251966387f, 0.0248556547f}, std::array<float,2>{0.676495373f, 0.862887681f}, std::array<float,2>{0.903505564f, 0.36362654f}, std::array<float,2>{0.0475928448f, 0.609401703f}, std::array<float,2>{0.49167192f, 0.49099049f}, std::array<float,2>{0.552889585f, 0.637246132f}, std::array<float,2>{0.793799758f, 0.150661305f}, std::array<float,2>{0.206215173f, 0.925916612f}, std::array<float,2>{0.0315945931f, 0.0497099906f}, std::array<float,2>{0.880212367f, 0.824426413f}, std::array<float,2>{0.664419889f, 0.319213778f}, std::array<float,2>{0.274085373f, 0.583927751f}, std::array<float,2>{0.151060313f, 0.284143269f}, std::array<float,2>{0.852067828f, 0.514988303f}, std::array<float,2>{0.598922789f, 0.0949134901f}, std::array<float,2>{0.391257644f, 0.785166085f}, std::array<float,2>{0.322665393f, 0.213522881f}, std::array<float,2>{0.719757199f, 0.981493056f}, std::array<float,2>{0.985446632f, 0.431625903f}, std::array<float,2>{0.0841021314f, 0.705091f}, std::array<float,2>{0.306803674f, 0.347673327f}, std::array<float,2>{0.628283739f, 0.600292623f}, std::array<float,2>{0.917747498f, 0.00975106936f}, std::array<float,2>{0.0295604225f, 0.847658515f}, std::array<float,2>{0.237183899f, 0.170311064f}, std::array<float,2>{0.76761508f, 0.877778769f}, std::array<float,2>{0.507866561f, 0.456650108f}, std::array<float,2>{0.455214322f, 0.687311172f}, std::array<float,2>{0.10347186f, 0.393851489f}, std::array<float,2>{0.949848175f, 0.74948442f}, std::array<float,2>{0.700430334f, 0.223311692f}, std::array<float,2>{0.357590437f, 0.95743233f}, std::array<float,2>{0.42947343f, 0.0648477152f}, std::array<float,2>{0.580393851f, 0.768050909f}, std::array<float,2>{0.831356585f, 0.251170307f}, std::array<float,2>{0.187462822f, 0.561784387f}, std::array<float,2>{0.288096309f, 0.399277776f}, std::array<float,2>{0.641617656f, 0.739112556f}, std::array<float,2>{0.929117143f, 0.228923902f}, std::array<float,2>{0.00695675379f, 0.966587365f}, std::array<float,2>{0.22102268f, 0.0766311511f}, std::array<float,2>{0.76534766f, 0.775071859f}, std::array<float,2>{0.525467753f, 0.259016514f}, std::array<float,2>{0.44260034f, 0.550208151f}, std::array<float,2>{0.11293973f, 0.357390672f}, std::array<float,2>{0.955073118f, 0.605522096f}, std::array<float,2>{0.710727632f, 0.00669424376f}, std::array<float,2>{0.363380671f, 0.852401137f}, std::array<float,2>{0.419297963f, 0.161255121f}, std::array<float,2>{0.570168376f, 0.88728261f}, std::array<float,2>{0.813184559f, 0.464164555f}, std::array<float,2>{0.171464726f, 0.676314116f}, std::array<float,2>{0.478386194f, 0.294853956f}, std::array<float,2>{0.54491353f, 0.507634878f}, std::array<float,2>{0.7978369f, 0.106070921f}, std::array<float,2>{0.201572329f, 0.794399261f}, std::array<float,2>{0.0543524474f, 0.206137478f}, std::array<float,2>{0.900664628f, 0.972166777f}, std::array<float,2>{0.672298253f, 0.425371855f}, std::array<float,2>{0.257231444f, 0.711376905f}, std::array<float,2>{0.13452214f, 0.495169133f}, std::array<float,2>{0.859547675f, 0.62926954f}, std::array<float,2>{0.617345154f, 0.141311675f}, std::array<float,2>{0.376970023f, 0.932144344f}, std::array<float,2>{0.336698949f, 0.0575264655f}, std::array<float,2>{0.742943883f, 0.819806576f}, std::array<float,2>{0.976453185f, 0.321290493f}, std::array<float,2>{0.071556665f, 0.592402458f}, std::array<float,2>{0.394658655f, 0.439977676f}, std::array<float,2>{0.594010115f, 0.657102466f}, std::array<float,2>{0.857712984f, 0.18559736f}, std::array<float,2>{0.155759096f, 0.893251836f}, std::array<float,2>{0.0787482411f, 0.0198922027f}, std::array<float,2>{0.990448534f, 0.868723392f}, std::array<float,2>{0.72567445f, 0.369115174f}, std::array<float,2>{0.32728681f, 0.62426734f}, std::array<float,2>{0.209599137f, 0.269463092f}, std::array<float,2>{0.792394698f, 0.537245393f}, std::array<float,2>{0.548675478f, 0.089559786f}, std::array<float,2>{0.485303849f, 0.763585269f}, std::array<float,2>{0.280636251f, 0.242534667f}, std::array<float,2>{0.669317007f, 0.95103544f}, std::array<float,2>{0.877013862f, 0.383611619f}, std::array<float,2>{0.0366427526f, 0.71920085f}, std::array<float,2>{0.353917718f, 0.336365432f}, std::array<float,2>{0.697313488f, 0.571056366f}, std::array<float,2>{0.946410835f, 0.0329937935f}, std::array<float,2>{0.107057624f, 0.839716733f}, std::array<float,2>{0.18167074f, 0.131428882f}, std::array<float,2>{0.834535956f, 0.917993903f}, std::array<float,2>{0.582615077f, 0.471894592f}, std::array<float,2>{0.422487825f, 0.654004097f}, std::array<float,2>{0.0263920669f, 0.408270657f}, std::array<float,2>{0.918493569f, 0.694047153f}, std::array<float,2>{0.632799685f, 0.194890708f}, std::array<float,2>{0.309597731f, 0.999807239f}, std::array<float,2>{0.460888773f, 0.111064978f}, std::array<float,2>{0.513081133f, 0.809004486f}, std::array<float,2>{0.772580087f, 0.297357172f}, std::array<float,2>{0.240432099f, 0.530857801f}, std::array<float,2>{0.314774394f, 0.483553857f}, std::array<float,2>{0.726742744f, 0.642990947f}, std::array<float,2>{0.996550679f, 0.137276396f}, std::array<float,2>{0.0865968838f, 0.911875069f}, std::array<float,2>{0.141197369f, 0.0396760851f}, std::array<float,2>{0.850828707f, 0.834690094f}, std::array<float,2>{0.604256511f, 0.333544254f}, std::array<float,2>{0.405873984f, 0.570257783f}, std::array<float,2>{0.0407970175f, 0.311650187f}, std::array<float,2>{0.887074172f, 0.51638478f}, std::array<float,2>{0.66364193f, 0.123858668f}, std::array<float,2>{0.270195067f, 0.800738811f}, std::array<float,2>{0.493002445f, 0.202140421f}, std::array<float,2>{0.561542928f, 0.987854064f}, std::array<float,2>{0.783214569f, 0.414986044f}, std::array<float,2>{0.21451959f, 0.702448845f}, std::array<float,2>{0.430028468f, 0.362279296f}, std::array<float,2>{0.588267267f, 0.617154956f}, std::array<float,2>{0.842396677f, 0.0290071517f}, std::array<float,2>{0.176143944f, 0.866415918f}, std::array<float,2>{0.0941901356f, 0.178254753f}, std::array<float,2>{0.94111222f, 0.901365399f}, std::array<float,2>{0.694792867f, 0.452345371f}, std::array<float,2>{0.347254395f, 0.670680404f}, std::array<float,2>{0.248086542f, 0.378193706f}, std::array<float,2>{0.779943943f, 0.730394661f}, std::array<float,2>{0.501086354f, 0.238445267f}, std::array<float,2>{0.4654558f, 0.938926041f}, std::array<float,2>{0.30081892f, 0.082072854f}, std::array<float,2>{0.639801085f, 0.757066488f}, std::array<float,2>{0.90808624f, 0.278906226f}, std::array<float,2>{0.020404581f, 0.545394063f}, std::array<float,2>{0.449508607f, 0.435051978f}, std::array<float,2>{0.519254029f, 0.710764706f}, std::array<float,2>{0.751245022f, 0.216804266f}, std::array<float,2>{0.227436945f, 0.980243981f}, std::array<float,2>{0.0147742489f, 0.100123368f}, std::array<float,2>{0.932156026f, 0.784540832f}, std::array<float,2>{0.653270125f, 0.287904799f}, std::array<float,2>{0.295047641f, 0.511250257f}, std::array<float,2>{0.160732821f, 0.314913124f}, std::array<float,2>{0.827723026f, 0.581300795f}, std::array<float,2>{0.575206399f, 0.0519819818f}, std::array<float,2>{0.410242468f, 0.82134378f}, std::array<float,2>{0.373270273f, 0.153442383f}, std::array<float,2>{0.717031777f, 0.92277211f}, std::array<float,2>{0.966629863f, 0.485966206f}, std::array<float,2>{0.122478999f, 0.634264708f}, std::array<float,2>{0.259412259f, 0.255438089f}, std::array<float,2>{0.683526337f, 0.558473766f}, std::array<float,2>{0.895614326f, 0.0677791685f}, std::array<float,2>{0.0547173694f, 0.772923589f}, std::array<float,2>{0.192097932f, 0.21929203f}, std::array<float,2>{0.809637725f, 0.954678416f}, std::array<float,2>{0.532174766f, 0.396510631f}, std::array<float,2>{0.471328586f, 0.743418634f}, std::array<float,2>{0.0693027303f, 0.45952329f}, std::array<float,2>{0.984204352f, 0.682099998f}, std::array<float,2>{0.740893602f, 0.167143419f}, std::array<float,2>{0.333971977f, 0.879537046f}, std::array<float,2>{0.38342309f, 0.012882988f}, std::array<float,2>{0.611117184f, 0.844369352f}, std::array<float,2>{0.868244171f, 0.344560444f}, std::array<float,2>{0.127347738f, 0.594792187f}, std::array<float,2>{0.263946146f, 0.474507481f}, std::array<float,2>{0.685050189f, 0.651482463f}, std::array<float,2>{0.892634273f, 0.125528067f}, std::array<float,2>{0.0608950518f, 0.915269077f}, std::array<float,2>{0.188790455f, 0.0372307375f}, std::array<float,2>{0.806431055f, 0.840254843f}, std::array<float,2>{0.537371516f, 0.341294318f}, std::array<float,2>{0.474394739f, 0.577901185f}, std::array<float,2>{0.0637748539f, 0.303273141f}, std::array<float,2>{0.978881896f, 0.525711596f}, std::array<float,2>{0.737433314f, 0.113726787f}, std::array<float,2>{0.328458607f, 0.805379093f}, std::array<float,2>{0.388756216f, 0.189569771f}, std::array<float,2>{0.614481926f, 0.99236387f}, std::array<float,2>{0.871484935f, 0.410935849f}, std::array<float,2>{0.130084887f, 0.690535843f}, std::array<float,2>{0.445850432f, 0.374438822f}, std::array<float,2>{0.519548655f, 0.619731784f}, std::array<float,2>{0.757451415f, 0.0158797894f}, std::array<float,2>{0.232171357f, 0.873515248f}, std::array<float,2>{0.00808712281f, 0.180605441f}, std::array<float,2>{0.934443593f, 0.896096408f}, std::array<float,2>{0.648483694f, 0.445113122f}, std::array<float,2>{0.290558517f, 0.661272049f}, std::array<float,2>{0.156907618f, 0.389225215f}, std::array<float,2>{0.820970237f, 0.724774063f}, std::array<float,2>{0.57218951f, 0.249041036f}, std::array<float,2>{0.407211095f, 0.947969079f}, std::array<float,2>{0.370162368f, 0.0924193263f}, std::array<float,2>{0.714484751f, 0.760683894f}, std::array<float,2>{0.96181953f, 0.272537112f}, std::array<float,2>{0.119296744f, 0.532594025f}, std::array<float,2>{0.436143309f, 0.426590294f}, std::array<float,2>{0.591663897f, 0.718098521f}, std::array<float,2>{0.838602483f, 0.208806783f}, std::array<float,2>{0.172765732f, 0.975281239f}, std::array<float,2>{0.0995192304f, 0.104135521f}, std::array<float,2>{0.94456768f, 0.789935708f}, std::array<float,2>{0.690678716f, 0.291624159f}, std::array<float,2>{0.350115001f, 0.500038028f}, std::array<float,2>{0.242506117f, 0.325698614f}, std::array<float,2>{0.775357068f, 0.588398933f}, std::array<float,2>{0.506469071f, 0.0607441664f}, std::array<float,2>{0.463053435f, 0.814258933f}, std::array<float,2>{0.298769861f, 0.147104815f}, std::array<float,2>{0.633499444f, 0.933722258f}, std::array<float,2>{0.913581491f, 0.499551564f}, std::array<float,2>{0.0186311454f, 0.627129853f}, std::array<float,2>{0.318487883f, 0.261836439f}, std::array<float,2>{0.734238803f, 0.552286625f}, std::array<float,2>{0.994678855f, 0.0731897056f}, std::array<float,2>{0.0917039961f, 0.779126346f}, std::array<float,2>{0.147907481f, 0.23201324f}, std::array<float,2>{0.845369697f, 0.96354866f}, std::array<float,2>{0.605723858f, 0.404207468f}, std::array<float,2>{0.401346743f, 0.736168742f}, std::array<float,2>{0.0440440886f, 0.46750918f}, std::array<float,2>{0.884414017f, 0.672722757f}, std::array<float,2>{0.657651365f, 0.158217132f}, std::array<float,2>{0.265680134f, 0.883971751f}, std::array<float,2>{0.496602565f, 0.00308623794f}, std::array<float,2>{0.558100581f, 0.856669664f}, std::array<float,2>{0.785329163f, 0.353881091f}, std::array<float,2>{0.215236872f, 0.60403347f}, std::array<float,2>{0.359250605f, 0.390879393f}, std::array<float,2>{0.699912727f, 0.746749818f}, std::array<float,2>{0.950887859f, 0.225085393f}, std::array<float,2>{0.102535836f, 0.96043998f}, std::array<float,2>{0.185659379f, 0.0639879555f}, std::array<float,2>{0.830649078f, 0.766933739f}, std::array<float,2>{0.581516445f, 0.252076447f}, std::array<float,2>{0.428576857f, 0.559892178f}, std::array<float,2>{0.0309395306f, 0.350600451f}, std::array<float,2>{0.916016996f, 0.59951669f}, std::array<float,2>{0.62761724f, 0.011074204f}, std::array<float,2>{0.307775736f, 0.851344228f}, std::array<float,2>{0.4566603f, 0.169281796f}, std::array<float,2>{0.509572446f, 0.875469387f}, std::array<float,2>{0.768958628f, 0.454809099f}, std::array<float,2>{0.237908706f, 0.685305178f}, std::array<float,2>{0.392472833f, 0.282644749f}, std::array<float,2>{0.59848702f, 0.511857569f}, std::array<float,2>{0.853077352f, 0.0968466327f}, std::array<float,2>{0.151958823f, 0.787836373f}, std::array<float,2>{0.0849977061f, 0.212159783f}, std::array<float,2>{0.984726489f, 0.983473897f}, std::array<float,2>{0.719107985f, 0.432130218f}, std::array<float,2>{0.323391706f, 0.703312278f}, std::array<float,2>{0.205581576f, 0.490201026f}, std::array<float,2>{0.794133723f, 0.638893604f}, std::array<float,2>{0.554416418f, 0.14969638f}, std::array<float,2>{0.490737557f, 0.929522038f}, std::array<float,2>{0.274719834f, 0.0478188358f}, std::array<float,2>{0.665816605f, 0.826620698f}, std::array<float,2>{0.879515767f, 0.316848159f}, std::array<float,2>{0.0325635262f, 0.585404098f}, std::array<float,2>{0.482991844f, 0.448422194f}, std::array<float,2>{0.541263402f, 0.666028619f}, std::array<float,2>{0.803421438f, 0.173209816f}, std::array<float,2>{0.19588384f, 0.903344929f}, std::array<float,2>{0.048042357f, 0.025468234f}, std::array<float,2>{0.903080285f, 0.859638512f}, std::array<float,2>{0.677431285f, 0.366853625f}, std::array<float,2>{0.253388137f, 0.613150239f}, std::array<float,2>{0.138274059f, 0.275260657f}, std::array<float,2>{0.864928246f, 0.539167583f}, std::array<float,2>{0.623425663f, 0.0803028941f}, std::array<float,2>{0.379183084f, 0.751973271f}, std::array<float,2>{0.341600418f, 0.234816939f}, std::array<float,2>{0.749603927f, 0.944371402f}, std::array<float,2>{0.968919992f, 0.382727802f}, std::array<float,2>{0.0754887834f, 0.732879937f}, std::array<float,2>{0.282809794f, 0.329740763f}, std::array<float,2>{0.644773424f, 0.562740266f}, std::array<float,2>{0.924421847f, 0.0433852673f}, std::array<float,2>{0.00127553241f, 0.831925631f}, std::array<float,2>{0.223550588f, 0.135430142f}, std::array<float,2>{0.760303617f, 0.909188151f}, std::array<float,2>{0.530892193f, 0.477999806f}, std::array<float,2>{0.438760072f, 0.64473027f}, std::array<float,2>{0.114575155f, 0.418310553f}, std::array<float,2>{0.959186375f, 0.695794225f}, std::array<float,2>{0.704275668f, 0.199186996f}, std::array<float,2>{0.360408276f, 0.992023647f}, std::array<float,2>{0.417238891f, 0.117576301f}, std::array<float,2>{0.562950075f, 0.802010477f}, std::array<float,2>{0.820153058f, 0.305078208f}, std::array<float,2>{0.164320037f, 0.523390949f}, std::array<float,2>{0.308640361f, 0.406721354f}, std::array<float,2>{0.630916595f, 0.692536891f}, std::array<float,2>{0.919228673f, 0.191886887f}, std::array<float,2>{0.026332844f, 0.996718109f}, std::array<float,2>{0.241598755f, 0.11251431f}, std::array<float,2>{0.772032082f, 0.812089682f}, std::array<float,2>{0.512105703f, 0.299419761f}, std::array<float,2>{0.459792674f, 0.527570665f}, std::array<float,2>{0.106202342f, 0.33887586f}, std::array<float,2>{0.945576489f, 0.573289931f}, std::array<float,2>{0.698359847f, 0.0343657956f}, std::array<float,2>{0.35450995f, 0.836132944f}, std::array<float,2>{0.423735201f, 0.130294129f}, std::array<float,2>{0.583963215f, 0.9206146f}, std::array<float,2>{0.835464418f, 0.46901685f}, std::array<float,2>{0.183571339f, 0.655923963f}, std::array<float,2>{0.486202091f, 0.266835362f}, std::array<float,2>{0.547282279f, 0.53526175f}, std::array<float,2>{0.791698635f, 0.0870684609f}, std::array<float,2>{0.210823983f, 0.764080763f}, std::array<float,2>{0.0355874039f, 0.245572388f}, std::array<float,2>{0.878790736f, 0.951865613f}, std::array<float,2>{0.668199897f, 0.384878248f}, std::array<float,2>{0.279563874f, 0.722533047f}, std::array<float,2>{0.155142829f, 0.439013213f}, std::array<float,2>{0.859369814f, 0.658518732f}, std::array<float,2>{0.595300674f, 0.18515563f}, std::array<float,2>{0.396209568f, 0.891079724f}, std::array<float,2>{0.326319367f, 0.0227054842f}, std::array<float,2>{0.724848449f, 0.869455934f}, std::array<float,2>{0.99199158f, 0.370921046f}, std::array<float,2>{0.0793151185f, 0.621420741f}, std::array<float,2>{0.378043681f, 0.493429661f}, std::array<float,2>{0.61905998f, 0.632055461f}, std::array<float,2>{0.861092567f, 0.144411728f}, std::array<float,2>{0.133073121f, 0.931447923f}, std::array<float,2>{0.0708377957f, 0.0552979596f}, std::array<float,2>{0.974880278f, 0.817327201f}, std::array<float,2>{0.744027674f, 0.323560357f}, std::array<float,2>{0.337450564f, 0.591226995f}, std::array<float,2>{0.20298852f, 0.295485497f}, std::array<float,2>{0.798126221f, 0.505842686f}, std::array<float,2>{0.543587804f, 0.108518757f}, std::array<float,2>{0.477097273f, 0.79643476f}, std::array<float,2>{0.256798148f, 0.203393131f}, std::array<float,2>{0.673343241f, 0.970330119f}, std::array<float,2>{0.901587188f, 0.422852129f}, std::array<float,2>{0.0528394096f, 0.71397239f}, std::array<float,2>{0.3647587f, 0.359366238f}, std::array<float,2>{0.709874988f, 0.609244943f}, std::array<float,2>{0.953562677f, 0.00513163302f}, std::array<float,2>{0.112006396f, 0.853556037f}, std::array<float,2>{0.169958323f, 0.163309306f}, std::array<float,2>{0.813936889f, 0.889640808f}, std::array<float,2>{0.568599939f, 0.46282205f}, std::array<float,2>{0.41854164f, 0.678347588f}, std::array<float,2>{0.00603320962f, 0.402040392f}, std::array<float,2>{0.92820394f, 0.740420997f}, std::array<float,2>{0.640653491f, 0.228406861f}, std::array<float,2>{0.287938505f, 0.967959046f}, std::array<float,2>{0.441960692f, 0.0751579702f}, std::array<float,2>{0.527104914f, 0.777083576f}, std::array<float,2>{0.76442796f, 0.26022166f}, std::array<float,2>{0.222603351f, 0.547230363f}, std::array<float,2>{0.332766354f, 0.458512694f}, std::array<float,2>{0.741342366f, 0.680008113f}, std::array<float,2>{0.982756376f, 0.164154381f}, std::array<float,2>{0.0701222047f, 0.880924642f}, std::array<float,2>{0.12836729f, 0.0154731981f}, std::array<float,2>{0.867301166f, 0.84736681f}, std::array<float,2>{0.610100091f, 0.347038329f}, std::array<float,2>{0.383903116f, 0.597247481f}, std::array<float,2>{0.0562237874f, 0.256871909f}, std::array<float,2>{0.895018697f, 0.555379987f}, std::array<float,2>{0.6816504f, 0.0684706867f}, std::array<float,2>{0.258178145f, 0.770773351f}, std::array<float,2>{0.4722763f, 0.221458942f}, std::array<float,2>{0.532798469f, 0.955154121f}, std::array<float,2>{0.809330821f, 0.395414799f}, std::array<float,2>{0.192808136f, 0.745121181f}, std::array<float,2>{0.411406696f, 0.314153403f}, std::array<float,2>{0.574314058f, 0.579376042f}, std::array<float,2>{0.826416433f, 0.0544559211f}, std::array<float,2>{0.162059322f, 0.822327554f}, std::array<float,2>{0.121133037f, 0.154625624f}, std::array<float,2>{0.965064824f, 0.925628245f}, std::array<float,2>{0.718599796f, 0.488217294f}, std::array<float,2>{0.374749035f, 0.636058688f}, std::array<float,2>{0.228242159f, 0.437412769f}, std::array<float,2>{0.750223517f, 0.707557559f}, std::array<float,2>{0.517852187f, 0.215320751f}, std::array<float,2>{0.450554401f, 0.976914644f}, std::array<float,2>{0.295990556f, 0.0993912816f}, std::array<float,2>{0.653939247f, 0.782703161f}, std::array<float,2>{0.933384717f, 0.285794139f}, std::array<float,2>{0.0141905034f, 0.507977843f}, std::array<float,2>{0.466554046f, 0.375726283f}, std::array<float,2>{0.500200868f, 0.727217376f}, std::array<float,2>{0.780425489f, 0.241625026f}, std::array<float,2>{0.249370798f, 0.940005481f}, std::array<float,2>{0.0206872784f, 0.0839846209f}, std::array<float,2>{0.906557918f, 0.754185557f}, std::array<float,2>{0.638704896f, 0.279528528f}, std::array<float,2>{0.302219182f, 0.543526173f}, std::array<float,2>{0.17772454f, 0.361255527f}, std::array<float,2>{0.843283296f, 0.614593863f}, std::array<float,2>{0.589219034f, 0.029633902f}, std::array<float,2>{0.431243092f, 0.864069939f}, std::array<float,2>{0.345705152f, 0.177476302f}, std::array<float,2>{0.69384557f, 0.89976871f}, std::array<float,2>{0.939575732f, 0.450939804f}, std::array<float,2>{0.0954771638f, 0.669030368f}, std::array<float,2>{0.271461725f, 0.309073389f}, std::array<float,2>{0.662550092f, 0.517602503f}, std::array<float,2>{0.887712181f, 0.122373715f}, std::array<float,2>{0.039663218f, 0.796896517f}, std::array<float,2>{0.213325799f, 0.200020239f}, std::array<float,2>{0.784417987f, 0.986294389f}, std::array<float,2>{0.56064707f, 0.416599661f}, std::array<float,2>{0.493358225f, 0.700873733f}, std::array<float,2>{0.0873371214f, 0.482026935f}, std::array<float,2>{0.997496247f, 0.641098917f}, std::array<float,2>{0.728263497f, 0.138777927f}, std::array<float,2>{0.315894276f, 0.913088739f}, std::array<float,2>{0.404774606f, 0.0414033532f}, std::array<float,2>{0.605143487f, 0.832635283f}, std::array<float,2>{0.850035071f, 0.334644198f}, std::array<float,2>{0.14198409f, 0.568175793f}, std::array<float,2>{0.291960716f, 0.44326514f}, std::array<float,2>{0.650812566f, 0.663033068f}, std::array<float,2>{0.936596334f, 0.183074534f}, std::array<float,2>{0.0101454565f, 0.897918284f}, std::array<float,2>{0.232916474f, 0.0185903534f}, std::array<float,2>{0.755213141f, 0.872667015f}, std::array<float,2>{0.522112489f, 0.371462077f}, std::array<float,2>{0.44912827f, 0.617301285f}, std::array<float,2>{0.117662534f, 0.270958126f}, std::array<float,2>{0.96459192f, 0.534613371f}, std::array<float,2>{0.711480737f, 0.0902184099f}, std::array<float,2>{0.367900968f, 0.757881701f}, std::array<float,2>{0.40928039f, 0.247956559f}, std::array<float,2>{0.573726058f, 0.945414722f}, std::array<float,2>{0.822915554f, 0.387327492f}, std::array<float,2>{0.159703404f, 0.72386539f}, std::array<float,2>{0.474968612f, 0.34243983f}, std::array<float,2>{0.537013173f, 0.57585144f}, std::array<float,2>{0.806987405f, 0.035660699f}, std::array<float,2>{0.191330075f, 0.842142522f}, std::array<float,2>{0.0594704673f, 0.126978785f}, std::array<float,2>{0.892131031f, 0.917551458f}, std::array<float,2>{0.686935902f, 0.475333899f}, std::array<float,2>{0.262881458f, 0.649680078f}, std::array<float,2>{0.131591588f, 0.41222769f}, std::array<float,2>{0.874372423f, 0.688625515f}, std::array<float,2>{0.616088212f, 0.188027456f}, std::array<float,2>{0.388212085f, 0.995874226f}, std::array<float,2>{0.3306126f, 0.116540186f}, std::array<float,2>{0.735852003f, 0.807465672f}, std::array<float,2>{0.976565301f, 0.301626265f}, std::array<float,2>{0.0646588728f, 0.524850607f}, std::array<float,2>{0.399737418f, 0.404532343f}, std::array<float,2>{0.60845685f, 0.73674047f}, std::array<float,2>{0.847365439f, 0.234254271f}, std::array<float,2>{0.146123618f, 0.962592721f}, std::array<float,2>{0.0930469632f, 0.0704588443f}, std::array<float,2>{0.992264152f, 0.780443132f}, std::array<float,2>{0.731827259f, 0.265446454f}, std::array<float,2>{0.318085998f, 0.552921057f}, std::array<float,2>{0.217189595f, 0.353447139f}, std::array<float,2>{0.788491547f, 0.602248609f}, std::array<float,2>{0.556219995f, 0.00132558227f}, std::array<float,2>{0.49861294f, 0.858362198f}, std::array<float,2>{0.269097239f, 0.157024994f}, std::array<float,2>{0.658440292f, 0.886023045f}, std::array<float,2>{0.884842277f, 0.466713309f}, std::array<float,2>{0.0463749617f, 0.674420953f}, std::array<float,2>{0.348831266f, 0.290502131f}, std::array<float,2>{0.688296258f, 0.503429174f}, std::array<float,2>{0.942928672f, 0.102613218f}, std::array<float,2>{0.101546533f, 0.792643726f}, std::array<float,2>{0.174714163f, 0.209753677f}, std::array<float,2>{0.837752521f, 0.974553883f}, std::array<float,2>{0.592574835f, 0.427933902f}, std::array<float,2>{0.434630662f, 0.716575623f}, std::array<float,2>{0.0170637351f, 0.497305095f}, std::array<float,2>{0.91027844f, 0.62582916f}, std::array<float,2>{0.636226296f, 0.145835549f}, std::array<float,2>{0.300479323f, 0.936250448f}, std::array<float,2>{0.461419284f, 0.0594795756f}, std::array<float,2>{0.505825162f, 0.814956427f}, std::array<float,2>{0.777322352f, 0.32634455f}, std::array<float,2>{0.245408714f, 0.587752163f}, std::array<float,2>{0.320854366f, 0.429905176f}, std::array<float,2>{0.722271562f, 0.706562459f}, std::array<float,2>{0.987888217f, 0.21483244f}, std::array<float,2>{0.0833575651f, 0.980793715f}, std::array<float,2>{0.14931567f, 0.0946878493f}, std::array<float,2>{0.85431689f, 0.78630513f}, std::array<float,2>{0.599907875f, 0.284189194f}, std::array<float,2>{0.392926931f, 0.514449954f}, std::array<float,2>{0.0350547619f, 0.319801092f}, std::array<float,2>{0.882144213f, 0.582960904f}, std::array<float,2>{0.667927861f, 0.0498469844f}, std::array<float,2>{0.275881737f, 0.826027632f}, std::array<float,2>{0.489835173f, 0.151726827f}, std::array<float,2>{0.551478386f, 0.927131057f}, std::array<float,2>{0.796289623f, 0.491859406f}, std::array<float,2>{0.203347981f, 0.638332129f}, std::array<float,2>{0.426853895f, 0.250804216f}, std::array<float,2>{0.578237116f, 0.561227918f}, std::array<float,2>{0.828166544f, 0.0658990443f}, std::array<float,2>{0.185223863f, 0.769308865f}, std::array<float,2>{0.104500026f, 0.224039897f}, std::array<float,2>{0.952491045f, 0.958044529f}, std::array<float,2>{0.701782584f, 0.393119365f}, std::array<float,2>{0.355494618f, 0.7482692f}, std::array<float,2>{0.234526426f, 0.455862582f}, std::array<float,2>{0.766201437f, 0.686322153f}, std::array<float,2>{0.510707796f, 0.171596423f}, std::array<float,2>{0.453418851f, 0.878154516f}, std::array<float,2>{0.306150734f, 0.00817542616f}, std::array<float,2>{0.626907647f, 0.849548876f}, std::array<float,2>{0.915091753f, 0.34884575f}, std::array<float,2>{0.0288140196f, 0.600834727f}, std::array<float,2>{0.439905077f, 0.479424149f}, std::array<float,2>{0.527583778f, 0.64804697f}, std::array<float,2>{0.759593546f, 0.13378796f}, std::array<float,2>{0.225524083f, 0.907404959f}, std::array<float,2>{0.00311576994f, 0.046033401f}, std::array<float,2>{0.922946274f, 0.828758478f}, std::array<float,2>{0.647444665f, 0.331328928f}, std::array<float,2>{0.284553021f, 0.565547705f}, std::array<float,2>{0.166228682f, 0.30807066f}, std::array<float,2>{0.817625165f, 0.52094692f}, std::array<float,2>{0.564793885f, 0.119899936f}, std::array<float,2>{0.414398104f, 0.803525388f}, std::array<float,2>{0.362242371f, 0.196306974f}, std::array<float,2>{0.706103623f, 0.989910543f}, std::array<float,2>{0.958574653f, 0.420639873f}, std::array<float,2>{0.115732238f, 0.697380364f}, std::array<float,2>{0.250191271f, 0.364305526f}, std::array<float,2>{0.678145945f, 0.610478699f}, std::array<float,2>{0.905512571f, 0.0240060966f}, std::array<float,2>{0.0498413853f, 0.862232864f}, std::array<float,2>{0.19845736f, 0.175673693f}, std::array<float,2>{0.802373946f, 0.905516088f}, std::array<float,2>{0.540694416f, 0.445863634f}, std::array<float,2>{0.480864674f, 0.665528119f}, std::array<float,2>{0.0767947063f, 0.379800975f}, std::array<float,2>{0.972114146f, 0.73075515f}, std::array<float,2>{0.747035742f, 0.236717939f}, std::array<float,2>{0.342447042f, 0.942678988f}, std::array<float,2>{0.381836176f, 0.0793761611f}, std::array<float,2>{0.621643484f, 0.750787795f}, std::array<float,2>{0.866092682f, 0.277301192f}, std::array<float,2>{0.138754964f, 0.541197717f}, std::array<float,2>{0.277375907f, 0.384191781f}, std::array<float,2>{0.670010805f, 0.720671535f}, std::array<float,2>{0.875300586f, 0.243259743f}, std::array<float,2>{0.0378505774f, 0.94973129f}, std::array<float,2>{0.20788084f, 0.0884309337f}, std::array<float,2>{0.789066553f, 0.761917233f}, std::array<float,2>{0.549059451f, 0.267618537f}, std::array<float,2>{0.48746267f, 0.538992524f}, std::array<float,2>{0.0818861201f, 0.367326111f}, std::array<float,2>{0.98957926f, 0.623630881f}, std::array<float,2>{0.723669052f, 0.0214541759f}, std::array<float,2>{0.324609309f, 0.868118346f}, std::array<float,2>{0.398028553f, 0.187041357f}, std::array<float,2>{0.596919f, 0.89365232f}, std::array<float,2>{0.85620141f, 0.441379547f}, std::array<float,2>{0.153562874f, 0.657624245f}, std::array<float,2>{0.45870176f, 0.298460186f}, std::array<float,2>{0.515344024f, 0.529535353f}, std::array<float,2>{0.7712394f, 0.110311896f}, std::array<float,2>{0.240191728f, 0.810531914f}, std::array<float,2>{0.0235149823f, 0.193434134f}, std::array<float,2>{0.921186507f, 0.998686314f}, std::array<float,2>{0.630387127f, 0.410155028f}, std::array<float,2>{0.312176019f, 0.694929659f}, std::array<float,2>{0.180176541f, 0.471537471f}, std::array<float,2>{0.83280623f, 0.65306443f}, std::array<float,2>{0.584347606f, 0.132469967f}, std::array<float,2>{0.425655812f, 0.919828653f}, std::array<float,2>{0.352801472f, 0.0312831514f}, std::array<float,2>{0.696317017f, 0.838431239f}, std::array<float,2>{0.947785735f, 0.337522686f}, std::array<float,2>{0.107468285f, 0.571619391f}, std::array<float,2>{0.420441866f, 0.463681698f}, std::array<float,2>{0.567521691f, 0.677211583f}, std::array<float,2>{0.814704359f, 0.16058062f}, std::array<float,2>{0.168749124f, 0.888629019f}, std::array<float,2>{0.10991887f, 0.00720956922f}, std::array<float,2>{0.956201136f, 0.853253603f}, std::array<float,2>{0.707649171f, 0.355787963f}, std::array<float,2>{0.366567075f, 0.607096732f}, std::array<float,2>{0.22001411f, 0.258568078f}, std::array<float,2>{0.762049139f, 0.548877358f}, std::array<float,2>{0.523893595f, 0.0776399001f}, std::array<float,2>{0.444404304f, 0.773866415f}, std::array<float,2>{0.285244346f, 0.230119005f}, std::array<float,2>{0.643220842f, 0.965092719f}, std::array<float,2>{0.92617023f, 0.400195867f}, std::array<float,2>{0.00490710465f, 0.739376068f}, std::array<float,2>{0.33897686f, 0.320473939f}, std::array<float,2>{0.745049417f, 0.593230128f}, std::array<float,2>{0.973197222f, 0.0576992594f}, std::array<float,2>{0.0730331242f, 0.818847835f}, std::array<float,2>{0.135341167f, 0.142496139f}, std::array<float,2>{0.862661362f, 0.932957411f}, std::array<float,2>{0.620632648f, 0.494816959f}, std::array<float,2>{0.375435144f, 0.630300701f}, std::array<float,2>{0.0520269684f, 0.423910141f}, std::array<float,2>{0.900278807f, 0.712664187f}, std::array<float,2>{0.674956679f, 0.205674291f}, std::array<float,2>{0.255446374f, 0.971645951f}, std::array<float,2>{0.479023904f, 0.106628612f}, std::array<float,2>{0.545549333f, 0.793031871f}, std::array<float,2>{0.800292075f, 0.293261558f}, std::array<float,2>{0.200498506f, 0.505933046f}, std::array<float,2>{0.372408152f, 0.484425068f}, std::array<float,2>{0.714866579f, 0.633766472f}, std::array<float,2>{0.967154562f, 0.153155953f}, std::array<float,2>{0.124585345f, 0.922863841f}, std::array<float,2>{0.162625685f, 0.0511454903f}, std::array<float,2>{0.825005472f, 0.820757508f}, std::array<float,2>{0.577011406f, 0.316132694f}, std::array<float,2>{0.412310869f, 0.581045926f}, std::array<float,2>{0.0128159765f, 0.288882941f}, std::array<float,2>{0.93019408f, 0.509923518f}, std::array<float,2>{0.654921174f, 0.100733563f}, std::array<float,2>{0.294588745f, 0.784091711f}, std::array<float,2>{0.452913821f, 0.217946902f}, std::array<float,2>{0.517033398f, 0.978634119f}, std::array<float,2>{0.75386703f, 0.433897465f}, std::array<float,2>{0.229510486f, 0.709303916f}, std::array<float,2>{0.384868473f, 0.3454853f}, std::array<float,2>{0.61144489f, 0.593978882f}, std::array<float,2>{0.870817721f, 0.0122595867f}, std::array<float,2>{0.126773089f, 0.84513855f}, std::array<float,2>{0.0673118308f, 0.166218743f}, std::array<float,2>{0.980758488f, 0.880698204f}, std::array<float,2>{0.739801526f, 0.460917056f}, std::array<float,2>{0.33414942f, 0.683260977f}, std::array<float,2>{0.193748921f, 0.397518516f}, std::array<float,2>{0.811642051f, 0.742428899f}, std::array<float,2>{0.534287274f, 0.22032401f}, std::array<float,2>{0.47066769f, 0.953758121f}, std::array<float,2>{0.260117412f, 0.0669071451f}, std::array<float,2>{0.680591941f, 0.77236867f}, std::array<float,2>{0.898405492f, 0.25408268f}, std::array<float,2>{0.057284832f, 0.556858301f}, std::array<float,2>{0.495083749f, 0.415383846f}, std::array<float,2>{0.558778346f, 0.701883554f}, std::array<float,2>{0.782568038f, 0.202183738f}, std::array<float,2>{0.21106483f, 0.987065852f}, std::array<float,2>{0.0417660698f, 0.124976963f}, std::array<float,2>{0.890587926f, 0.799501657f}, std::array<float,2>{0.661906898f, 0.310726702f}, std::array<float,2>{0.272318095f, 0.516971767f}, std::array<float,2>{0.144515648f, 0.332469374f}, std::array<float,2>{0.849563539f, 0.568503797f}, std::array<float,2>{0.602844238f, 0.0407919697f}, std::array<float,2>{0.403345674f, 0.835875571f}, std::array<float,2>{0.313887984f, 0.138470143f}, std::array<float,2>{0.729748905f, 0.91042906f}, std::array<float,2>{0.999417484f, 0.482825816f}, std::array<float,2>{0.0890493467f, 0.643742144f}, std::array<float,2>{0.302808404f, 0.277728975f}, std::array<float,2>{0.637239277f, 0.545994759f}, std::array<float,2>{0.909470975f, 0.0832904503f}, std::array<float,2>{0.0221607219f, 0.756100118f}, std::array<float,2>{0.24659276f, 0.239598289f}, std::array<float,2>{0.778046012f, 0.938325465f}, std::array<float,2>{0.503801763f, 0.377463698f}, std::array<float,2>{0.466970682f, 0.728546262f}, std::array<float,2>{0.0974984616f, 0.451741129f}, std::array<float,2>{0.939403415f, 0.671379864f}, std::array<float,2>{0.69196856f, 0.179169804f}, std::array<float,2>{0.345129639f, 0.901682913f}, std::array<float,2>{0.432219118f, 0.0282399282f}, std::array<float,2>{0.58745867f, 0.866084993f}, std::array<float,2>{0.840959132f, 0.362522781f}, std::array<float,2>{0.179402679f, 0.616055131f}}
48.993164
52
0.734652
st-ario
97a2afd505a844aa2fcd8175fddc03dda559acf6
420
cpp
C++
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
1
2021-09-10T00:49:21.000Z
2021-09-10T00:49:21.000Z
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
#include "kasofs/kasofs.hpp" #include <cstdlib> // EXIT_SUCCESS/EXIT_FAILURE int main() { auto owner = kasofs::User{0, 0}; auto vfs = kasofs::Vfs{owner, kasofs::FilePermissions{0707}}; auto maybeRoot = vfs.nodeById(vfs.rootId()); if (!maybeRoot) return EXIT_FAILURE; return (*maybeRoot).userCan(owner, kasofs::Permissions::WRITE) ? EXIT_SUCCESS : EXIT_FAILURE; }
24.705882
66
0.640476
abbyssoul
97a30db1852441ffd5dca54c1338088dbe2784a9
2,669
cpp
C++
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
1
2019-03-15T17:24:52.000Z
2019-03-15T17:24:52.000Z
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
// #define BOOST_TEST_MODULE parsers // #include <boost/test/included/unit_test.hpp> // #include "systems/system.hpp" // // #include "parsers/potential_energy.hpp" // #include "parsers/cluster_parser.hpp" // BOOST_AUTO_TEST_SUITE(parsers) // BOOST_AUTO_TEST_CASE(surface_reconstruction_test) // { // const char* argv[3] = {nullptr,"--config","../../tests/test_config.ini"}; // System system; // Parameters prms; // prms.read(3,argv); // prms.setup(); // prms.mobile = 10; // prms.analysis_cluster_volume_extension = -1; // system.setParameters(prms); // system.addParticles(ParticleFactory<ParticleMobile>(system.getParameters().mobile)); // system.getParticles()[0]->setCoords(Eigen::Vector3f(1,1,1)); // system.getParticles()[1]->setCoords(Eigen::Vector3f(2,1,1)); // system.getParticles()[2]->setCoords(Eigen::Vector3f(1,2,1)); // system.getParticles()[3]->setCoords(Eigen::Vector3f(1,1,2)); // system.getParticles()[4]->setCoords(Eigen::Vector3f(2,2,1)); // system.getParticles()[5]->setCoords(Eigen::Vector3f(1,2,2)); // system.getParticles()[6]->setCoords(Eigen::Vector3f(2,1,2)); // system.getParticles()[7]->setCoords(Eigen::Vector3f(2,2,2)); // system.getParticles()[8]->setCoords(Eigen::Vector3f(2,1,3)); // system.getParticles()[9]->setCoords(Eigen::Vector3f(2,2,3)); // ClusterParser clusters; // clusters.setParameters(prms); // clusters.setTarget(system.getParticles().begin(), system.getParticles().end()); // clusters.scan(); // clusters.getLargest().getStructure().printXML("../../tests/largest.vtu"); // auto centre = clusters.getLargest().getCenter(); // BOOST_CHECK_MESSAGE( std::abs(centre(0) - 1.6) < 1e-3, "centre x calculation wrong. " + std::to_string(centre(0)) ); // BOOST_CHECK_MESSAGE( std::abs(centre(1) - 1.5) < 1e-3, "centre y calculation wrong. " + std::to_string(centre(1)) ); // BOOST_CHECK_MESSAGE( std::abs(centre(2) - 1.8) < 1e-3, "centre z calculation wrong. " + std::to_string(centre(2)) ); // BOOST_CHECK_MESSAGE( clusters.getLargest().size() == 10, "members of structure wrong: " + std::to_string(clusters.getLargest().size()) ); // BOOST_CHECK_MESSAGE( std::abs(clusters.getLargest().getStructure().getVolume() - 1.5) < 1e-3, "volume of structure wrong: " + std::to_string(clusters.getLargest().getStructure().getVolume()) ); // BOOST_CHECK_MESSAGE( std::abs(clusters.getLargest().getStructure().getSurfaceArea() - 8.414) < 1e-3, "surface area of structure wrong: " + std::to_string(clusters.getLargest().getStructure().getSurfaceArea()) ); // } // BOOST_AUTO_TEST_SUITE_END()
48.527273
218
0.666542
simonraschke
97a87e267247141171fd05173a28642a5e57f6e6
268
cpp
C++
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "concrete_creator.h" #include "concrete_product.h" concrete_creator::concrete_creator(): creator() { } concrete_creator::~concrete_creator() = default; i_product * concrete_creator::create_product() { return new concrete_product; }
14.888889
47
0.761194
vigilantmaster
97b6bfeee73bce76ec634b36cb5a73eaadaccd83
274
cpp
C++
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
1
2018-11-15T18:53:44.000Z
2018-11-15T18:53:44.000Z
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
#include "DirectionalLight.h" namespace a3d { DirectionalLight::DirectionalLight(Vector direction, Colour colour) : Light(LightTypes::DIRECTIONAL, colour), _direction(direction) { } const Vector& DirectionalLight::getDirection() const { return _direction; } }
18.266667
68
0.751825
Catchouli-old
b6323b4945ccbe85e4773b134f7618dc504394a6
1,892
cpp
C++
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
1
2020-06-23T06:30:59.000Z
2020-06-23T06:30:59.000Z
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
// // Created by Mor on 30/04/2020. // #include "SongPlays.h" SongPlays::SongPlays(int songId, int artistId, MostPlayedListNode *ptrToListNode) : songId(songId), artistId(artistId), ptrToListNode(ptrToListNode), ptrToSong(nullptr) {} int SongPlays::getSongId() const { return songId; } int SongPlays::getArtistId() const { return artistId; } int SongPlays::getNumberOfPlays() const { return numberOfPlays; } void SongPlays::setNumberOfPlays(int plays) { SongPlays::numberOfPlays = plays; } void SongPlays::incrementNumberOfPlays() { this->numberOfPlays++; } void SongPlays::DecrementNumberOfPlays() { this->numberOfPlays--; } MostPlayedListNode *SongPlays::getPtrToListNode() const { return ptrToListNode; } void SongPlays::setPtrToListNode(MostPlayedListNode *ptr) { ptrToListNode = ptr; } Song *SongPlays::getPtrToSong() const { return ptrToSong; } void SongPlays::setPtrToSong(Song *ptr) { ptrToSong = ptr; } void SongPlays::DeleteSongPlaysNode(TreeNode<SongPlays> *songNode) { if (songNode->getLeft()) { DeleteSongPlaysNode(songNode->getLeft()); delete songNode->getLeft(); songNode->setLeft(nullptr); } if (songNode->getRight()) { DeleteSongPlaysNode(songNode->getRight()); delete songNode->getRight(); songNode->setRight(nullptr); } SongPlays *temp = songNode->getData(); // Marking the current song as deleted, so we know not to try and delete it again temp->getPtrToSong()->setNumberOfPlays(-1); //temp->setNumberOfPlays(-1); if (songNode->getParent() == nullptr) { // This is the root of the tree so there is no one else who will try and delete it's contents, need to delete on our own // to avoid leak delete songNode->getData(); // TODO: might not need anymore //songNode->removeValue(); } }
25.917808
128
0.678118
sivanyo
b632f568d5015ffa645885cda063fc7f4d3a5521
2,986
cpp
C++
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
3
2022-01-11T03:29:03.000Z
2022-02-03T03:46:44.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
27
2022-02-02T04:54:29.000Z
2022-03-27T18:58:15.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SpawningActor.h" #include "GruntCharacter.h" #include "CustomGameMode.h" #include "Kismet/GameplayStatics.h" #include "GameFramework/GameModeBase.h" #include "DrawDebugHelpers.h" #include "EngineUtils.h" #include "SymbioticGameMode.h" // Sets default values ASpawningActor::ASpawningActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true; } // Called when the game starts or when spawned void ASpawningActor::BeginPlay() { Super::BeginPlay(); FActorSpawnParameters* SpawnParams = new FActorSpawnParameters; SpawnParams->Owner = this; SpawnParams->Instigator = GetInstigator(); SpawnParams->SpawnCollisionHandlingOverride = ESpawnActorCollisionHandlingMethod::AdjustIfPossibleButDontSpawnIfColliding; spawnParams = SpawnParams; player = UGameplayStatics::GetActorOfClass(GetWorld(), playerClass); location = GetActorLocation(); } // Called every frame void ASpawningActor::Tick(float DeltaTime) { Super::Tick(DeltaTime); elapsedTime += DeltaTime; if (player && activated) { if (distanceToPlayer < distanceToPlayerThreshold) { if (beaconTime > 0) { beaconTime -= DeltaTime; if (elapsedTime > (60.0 / (EPM * beaconMultiplier)) && (enemiesSpawned < maxEnemies || maxEnemies < 1)) { SpawnEnemie(); elapsedTime = 0; } } else { if (elapsedTime > (60.0 / EPM) && (enemiesSpawned < maxEnemies || maxEnemies < 1)) { SpawnEnemie(); elapsedTime = 0; } } } distanceToPlayer = (location - player->GetActorLocation()).Size(); } } void ASpawningActor::SpawnEnemie() { AGameModeBase* gameMode = UGameplayStatics::GetGameMode(GetWorld()); ASymbioticGameMode* customGameMode = Cast<ASymbioticGameMode>(gameMode); if (customGameMode->enemiesLeftToSpawn > 0) { UWorld* World = GetWorld(); FHitResult result; FVector start = GetActorLocation(); FCollisionQueryParams CollisionParameters; FVector end; for (TActorIterator<AGruntCharacter> it(GetWorld()); it; ++it) { CollisionParameters.AddIgnoredActor(*it); } do { FVector spawnOffset(FMath::RandPointInCircle(spawnRadius), 0); end = start + spawnOffset; World->LineTraceSingleByChannel(result, start, end, ECollisionChannel::ECC_Visibility); } while (result.Actor != nullptr); AActor* enemie = World->SpawnActor<AActor>(classToSpawn, end, GetActorRotation(), *spawnParams); if (!enemie) { SpawnEnemie(); } else { enemiesSpawned++; customGameMode->enemiesLeftToSpawn--; UE_LOG(LogTemp, Warning, TEXT("SpawningActor!")); } } } void ASpawningActor::ActivateWithBeacon(float BeaconTime, float BeaconMultiplier) { beaconTime = BeaconTime; beaconMultiplier = BeaconMultiplier; Activate(); UE_LOG(LogTemp, Warning, TEXT("Activating with Beacon!")); }
20.736111
123
0.713999
Verb-Noun-Studios
b63afe8194090ac5b4c1ab136c4bc586106ba9d8
416
hpp
C++
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
// From https://www.geeksforgeeks.org/find-significant-set-bit-number/ #ifndef INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #define INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #include <cstddef> inline constexpr std::size_t round_down_to_power_of_2(std::size_t n) { if (n == 0) return 0; int msb = 0; n = n / 2; while (n != 0) { n = n / 2; msb++; } return (1 << msb); } #endif
18.086957
70
0.629808
mstankus
b63fc4e65fd426699d624b3f0fd5e009206123af
25,052
cpp
C++
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * 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 "Destroyer Studios" 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. SUBSYSTEM: Stars.exe FILE: CampaignSaveGame.cpp AUTHOR: John DiCamillo OVERVIEW ======== CampaignSaveGame contains the logic needed to save and load campaign games in progress. */ #include "MemDebug.h" #include "CampaignSaveGame.h" #include "Campaign.h" #include "Combatant.h" #include "CombatAction.h" #include "CombatEvent.h" #include "CombatGroup.h" #include "CombatUnit.h" #include "CombatZone.h" #include "Galaxy.h" #include "Mission.h" #include "StarSystem.h" #include "Player.h" #include "Game.h" #include "DataLoader.h" #include "ParseUtil.h" #include "FormatUtil.h" static const char* SAVE_DIR = "SaveGame"; // +--------------------------------------------------------------------+ CampaignSaveGame::CampaignSaveGame(Campaign* c) : campaign(c) { } // +--------------------------------------------------------------------+ CampaignSaveGame::~CampaignSaveGame() { } // +--------------------------------------------------------------------+ Text CampaignSaveGame::GetSaveDirectory() { return GetSaveDirectory(Player::GetCurrentPlayer()); } Text CampaignSaveGame::GetSaveDirectory(Player* player) { if (player) { char save_dir[32]; sprintf_s(save_dir, "%s/%02d", SAVE_DIR, player->Identity()); return save_dir; } return SAVE_DIR; } void CampaignSaveGame::CreateSaveDirectory() { HANDLE hDir = CreateFile(SAVE_DIR, 0, 0, 0, OPEN_EXISTING, 0, 0); if (hDir == INVALID_HANDLE_VALUE) CreateDirectory(SAVE_DIR, NULL); else CloseHandle(hDir); hDir = CreateFile(GetSaveDirectory(), 0, 0, 0, OPEN_EXISTING, 0, 0); if (hDir == INVALID_HANDLE_VALUE) CreateDirectory(GetSaveDirectory(), NULL); else CloseHandle(hDir); } // +--------------------------------------------------------------------+ static char multiline[4096]; static char* FormatMultiLine(const char* s) { int i = 4095; char* p = multiline; while (*s && i > 0) { if (*s == '\n') { *p++ = '\\'; *p++ = 'n'; s++; i -= 2; } else if (*s == '"') { *p++ = '\\'; *p++ = '"'; s++; i -= 2; } else { *p++ = *s++; i--; } } *p = 0; return multiline; } static char* ParseMultiLine(const char* s) { int i = 4095; char* p = multiline; while (*s && i > 0) { if (*s == '\\') { s++; if (*s == 'n') { *p++ = '\n'; #pragma warning(suppress: 6269) *s++; i--; } else if (*s == '"') { *p++ = '"'; #pragma warning(suppress: 6269) *s++; i--; } else { *p++ = *s++; i--; } } else { *p++ = *s++; i--; } } *p = 0; return multiline; } void CampaignSaveGame::Load(const char* filename) { Print("-------------------------\nLOADING SAVEGAME (%s).\n", filename); campaign = 0; if (!filename || !filename[0]) return; DataLoader* loader = DataLoader::GetLoader(); bool use_file_sys = loader->IsFileSystemEnabled(); loader->UseFileSystem(true); loader->SetDataPath(GetSaveDirectory() + "/"); BYTE* block; loader->LoadBuffer(filename, block, true); loader->UseFileSystem(use_file_sys); Sleep(10); Parser parser(new(__FILE__,__LINE__) BlockReader((const char*) block)); Term* term = parser.ParseTerm(); if (!term) { Print("ERROR: could not parse save game '%s'\n", filename); loader->SetDataPath(0); return; } else { TermText* file_type = term->isText(); if (!file_type || file_type->value() != "SAVEGAME") { Print("ERROR: invalid save game file '%s'\n", filename); term->print(10); loader->SetDataPath(0); delete term; return; } } int grp_iff = 0; int grp_type = 0; int grp_id = 0; int status = 0; double baseTime = 0; double time = 0; Text unit; Text sitrep; Text orders; do { Sleep(5); delete term; term = 0; term = parser.ParseTerm(); if (term) { TermDef* def = term->isDef(); if (def) { if (def->name()->value() == "campaign") { Text cname; int cid=0; if (def->term()) { if (def->term()->isText()) cname = def->term()->isText()->value(); else if (def->term()->isNumber()) cid = (int) def->term()->isNumber()->value(); } if (!campaign) { List<Campaign>& list = Campaign::GetAllCampaigns(); for (int i = 0; i < list.size() && !campaign; i++) { Campaign* c = list.at(i); if (cname == c->Name() || cid == c->GetCampaignId()) { campaign = c; campaign->Load(); campaign->Prep(); // restore campaign to pristine state loader->SetDataPath(GetSaveDirectory() + "/"); } } } } else if (def->name()->value() == "grp_iff") { GetDefNumber(grp_iff, def, filename); } else if (def->name()->value() == "grp_type") { GetDefNumber(grp_type, def, filename); } else if (def->name()->value() == "grp_id") { GetDefNumber(grp_id, def, filename); } else if (def->name()->value() == "unit") { GetDefText(unit, def, filename); } else if (def->name()->value() == "status") { GetDefNumber(status, def, filename); } else if (def->name()->value() == "basetime") { GetDefNumber(baseTime, def, filename); } else if (def->name()->value() == "time") { GetDefNumber(time, def, filename); } else if (def->name()->value() == "sitrep") { GetDefText(sitrep, def, filename); } else if (def->name()->value() == "orders") { GetDefText(orders, def, filename); } else if (def->name()->value() == "combatant") { if (!def->term() || !def->term()->isStruct()) { ::Print("WARNING: combatant struct missing in '%s/%s'\n", loader->GetDataPath(), filename); } else { TermStruct* val = def->term()->isStruct(); char name[64]; int iff = 0; int score = 0; ZeroMemory(name, sizeof(name)); for (int i = 0; i < val->elements()->size(); i++) { TermDef* pdef = val->elements()->at(i)->isDef(); if (pdef) { if (pdef->name()->value() == "name") GetDefText(name, pdef, filename); else if (pdef->name()->value() == "iff") { GetDefNumber(iff, pdef, filename); } else if (pdef->name()->value() == "score") { GetDefNumber(score, pdef, filename); } } } if (campaign && name[0]) { Combatant* combatant = campaign->GetCombatant(name); if (combatant) { CombatGroup::MergeOrderOfBattle(block, filename, iff, combatant, campaign); combatant->SetScore(score); } else { ::Print("WARNING: could not find combatant '%s' in campaign.\n", name); } } } } else if (def->name()->value() == "event") { if (!def->term() || !def->term()->isStruct()) { ::Print("WARNING: event struct missing in '%s/%s'\n", loader->GetDataPath(), filename); } else { TermStruct* val = def->term()->isStruct(); char type[64]; char source[64]; char region[64]; char title[256]; char file[256]; char image[256]; char scene[256]; char info[4096]; int time = 0; int team = 0; int points = 0; type[0] = 0; info[0] = 0; file[0] = 0; image[0] = 0; scene[0] = 0; title[0] = 0; region[0] = 0; source[0] = 0; for (int i = 0; i < val->elements()->size(); i++) { TermDef* pdef = val->elements()->at(i)->isDef(); if (pdef) { if (pdef->name()->value() == "type") GetDefText(type, pdef, filename); else if (pdef->name()->value() == "source") GetDefText(source, pdef, filename); else if (pdef->name()->value() == "region") GetDefText(region, pdef, filename); else if (pdef->name()->value() == "title") GetDefText(title, pdef, filename); else if (pdef->name()->value() == "file") GetDefText(file, pdef, filename); else if (pdef->name()->value() == "image") GetDefText(image, pdef, filename); else if (pdef->name()->value() == "scene") GetDefText(scene, pdef, filename); else if (pdef->name()->value() == "info") GetDefText(info, pdef, filename); else if (pdef->name()->value() == "time") GetDefNumber(time, pdef, filename); else if (pdef->name()->value() == "team") GetDefNumber(team, pdef, filename); else if (pdef->name()->value() == "points") GetDefNumber(points, pdef, filename); } } if (campaign && type[0]) { loader->SetDataPath(campaign->Path()); CombatEvent* event = new(__FILE__,__LINE__) CombatEvent(campaign, CombatEvent::TypeFromName(type), time, team, CombatEvent::SourceFromName(source), region); if (event) { event->SetTitle(title); event->SetFilename(file); event->SetImageFile(image); event->SetSceneFile(scene); event->Load(); if (info[0]) event->SetInformation(ParseMultiLine(info)); event->SetVisited(true); campaign->GetEvents().append(event); } } } } else if (def->name()->value() == "action") { if (!def->term() || !def->term()->isStruct()) { ::Print("WARNING: action struct missing in '%s/%s'\n", loader->GetDataPath(), filename); } else { TermStruct* val = def->term()->isStruct(); int id = -1; int stat = 0; int count = 0; int after = 0; for (int i = 0; i < val->elements()->size(); i++) { TermDef* pdef = val->elements()->at(i)->isDef(); if (pdef) { if (pdef->name()->value() == "id") GetDefNumber(id, pdef, filename); else if (pdef->name()->value() == "stat") GetDefNumber(stat, pdef, filename); else if (pdef->name()->value() == "count") GetDefNumber(count, pdef, filename); else if (pdef->name()->value().contains("after")) GetDefNumber(after, pdef, filename); } } if (campaign && id >= 0) { ListIter<CombatAction> a_iter = campaign->GetActions(); while (++a_iter) { CombatAction* a = a_iter.value(); if (a->Identity() == id) { a->SetStatus(stat); if (count) a->SetCount(count); if (after) a->SetStartAfter(after); break; } } } } } } } } while (term); if (term) { delete term; term = 0; } if (campaign) { campaign->SetSaveGame(true); List<Campaign>& list = Campaign::GetAllCampaigns(); if (status < Campaign::CAMPAIGN_SUCCESS) { campaign->SetStatus(status); if (sitrep.length()) campaign->SetSituation(sitrep); if (orders.length()) campaign->SetOrders(orders); campaign->SetStartTime(baseTime); campaign->SetLoadTime(baseTime + time); campaign->LockoutEvents(3600); campaign->Start(); if (grp_type >= CombatGroup::FLEET && grp_type <= CombatGroup::PRIVATE) { CombatGroup* player_group = campaign->FindGroup(grp_iff, grp_type, grp_id); if (player_group) { CombatUnit* player_unit = 0; if (unit.length()) player_unit = player_group->FindUnit(unit); if (player_unit) campaign->SetPlayerUnit(player_unit); else campaign->SetPlayerGroup(player_group); } } } // failed - restart current campaign: else if (status == Campaign::CAMPAIGN_FAILED) { Print("CampaignSaveGame: Loading FAILED campaign, restarting '%s'\n", campaign->Name()); campaign->Load(); campaign->Prep(); // restore campaign to pristine state campaign->SetSaveGame(false); loader->SetDataPath(GetSaveDirectory() + "/"); } // start next campaign: else if (status == Campaign::CAMPAIGN_SUCCESS) { Print("CampaignSaveGame: Loading COMPLETED campaign '%s', searching for next campaign...\n", campaign->Name()); bool found = false; for (int i = 0; i < list.size() && !found; i++) { Campaign* c = list.at(i); if (c->GetCampaignId() == campaign->GetCampaignId()+1) { campaign = c; campaign->Load(); campaign->Prep(); // restore campaign to pristine state Print("Advanced to campaign %d '%s'\n", campaign->GetCampaignId(), campaign->Name()); loader->SetDataPath(GetSaveDirectory() + "/"); found = true; } } // if no next campaign found, start over from the beginning: for (int i = 0; i < list.size() && !found; i++) { Campaign* c = list.at(i); if (c->IsDynamic()) { campaign = c; campaign->Load(); campaign->Prep(); // restore campaign to pristine state Print("Completed full series, restarting at %d '%s'\n", campaign->GetCampaignId(), campaign->Name()); loader->SetDataPath(GetSaveDirectory() + "/"); found = true; } } } } loader->ReleaseBuffer(block); loader->SetDataPath(0); Print("SAVEGAME LOADED (%s).\n\n", filename); } // +--------------------------------------------------------------------+ void CampaignSaveGame::Save(const char* name) { if (!campaign) return; CreateSaveDirectory(); Text s = GetSaveDirectory() + Text("/") + Text(name); FILE* f; fopen_s(&f, s, "w"); if (f) { char timestr[32]; FormatDayTime(timestr, campaign->GetTime()); CombatGroup* player_group = campaign->GetPlayerGroup(); CombatUnit* player_unit = campaign->GetPlayerUnit(); fprintf(f, "SAVEGAME\n\n"); fprintf(f, "campaign: \"%s\"\n\n", campaign->Name()); fprintf(f, "grp_iff: %d\n", (int) player_group->GetIFF()); fprintf(f, "grp_type: %d\n", (int) player_group->Type()); fprintf(f, "grp_id: %d\n", (int) player_group->GetID()); if (player_unit) fprintf(f, "unit: \"%s\"\n", player_unit->Name().data()); fprintf(f, "status: %d\n", (int) campaign->GetStatus()); fprintf(f, "basetime: %f\n", campaign->GetStartTime()); fprintf(f, "time: %f // %s\n\n", campaign->GetTime(), timestr); fprintf(f, "sitrep: \"%s\"\n", campaign->Situation()); fprintf(f, "orders: \"%s\"\n\n", campaign->Orders()); ListIter<Combatant> c_iter = campaign->GetCombatants(); while (++c_iter) { Combatant* c = c_iter.value(); fprintf(f, "combatant: {"); fprintf(f, " name:\"%s\",", c->Name()); fprintf(f, " iff:%d,", c->GetIFF()); fprintf(f, " score:%d,", c->Score()); fprintf(f, " }\n"); } fprintf(f, "\n"); ListIter<CombatAction> a_iter = campaign->GetActions(); while (++a_iter) { CombatAction* a = a_iter.value(); fprintf(f, "action: { id:%4d, stat:%d", a->Identity(), a->Status()); if (a->Status() == CombatAction::PENDING) { if (a->Count()) fprintf(f, ", count:%d", a->Count()); if (a->StartAfter()) fprintf(f, ", after:%d", a->StartAfter()); } fprintf(f, " }\n"); } fprintf(f, "\n"); ListIter<CombatEvent> e_iter = campaign->GetEvents(); while (++e_iter) { CombatEvent* e = e_iter.value(); fprintf(f, "event: {"); fprintf(f, " type:%-18s,", e->TypeName()); fprintf(f, " time:0x%08x,", e->Time()); fprintf(f, " team:%d,", e->GetIFF()); fprintf(f, " points:%d,", e->Points()); fprintf(f, " source:\"%s\",", e->SourceName()); fprintf(f, " region:\"%s\",", e->Region()); fprintf(f, " title:\"%s\",", e->Title()); if (e->Filename()) fprintf(f, " file:\"%s\",", e->Filename()); if (e->ImageFile()) fprintf(f, " image:\"%s\",", e->ImageFile()); if (e->SceneFile()) fprintf(f, " scene:\"%s\",", e->SceneFile()); if (!e->Filename() || *e->Filename() == 0) fprintf(f, " info:\"%s\"", FormatMultiLine(e->Information())); fprintf(f, " }\n"); } fprintf(f, "\n// ORDER OF BATTLE:\n\n"); fclose(f); c_iter.reset(); while (++c_iter) { Combatant* c = c_iter.value(); CombatGroup* g = c->GetForce(); CombatGroup::SaveOrderOfBattle(s, g); } } } void CampaignSaveGame::Delete(const char* name) { DeleteFile(GetSaveDirectory() + "/" + name); } void CampaignSaveGame::RemovePlayer(Player* p) { List<Text> save_list; Text save_dir = GetSaveDirectory(p) + "/"; DataLoader* loader = DataLoader::GetLoader(); bool use_file_sys = loader->IsFileSystemEnabled(); loader->UseFileSystem(true); loader->SetDataPath(save_dir); loader->ListFiles("*.*", save_list); loader->SetDataPath(0); loader->UseFileSystem(use_file_sys); for (int i = 0; i < save_list.size(); i++) { Text* filename = save_list[i]; DeleteFile(save_dir + filename->data()); } save_list.destroy(); RemoveDirectory(GetSaveDirectory(p)); } // +--------------------------------------------------------------------+ void CampaignSaveGame::SaveAuto() { Save("AutoSave"); } void CampaignSaveGame::LoadAuto() { Load("AutoSave"); } // +--------------------------------------------------------------------+ Text CampaignSaveGame::GetResumeFile() { // check for auto save game: FILE* f; ::fopen_s(&f, GetSaveDirectory() + "/AutoSave", "r"); if (f) { ::fclose(f); return "AutoSave"; } return Text(); } int CampaignSaveGame::GetSaveGameList(List<Text>& save_list) { DataLoader* loader = DataLoader::GetLoader(); bool use_file_sys = loader->IsFileSystemEnabled(); loader->UseFileSystem(true); loader->SetDataPath(GetSaveDirectory() + "/"); loader->ListFiles("*.*", save_list); loader->SetDataPath(0); loader->UseFileSystem(use_file_sys); return save_list.size(); }
32.963158
115
0.433059
RogerioY
b642a8d35135ae8eb5183376dff83b920344d05b
5,828
cpp
C++
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
#include "Components\Collider.h" #include "Components\Transform.h" #include "Components\Terrain.h" #include "Components\RigidBody.h" #include "Components\PlayerController.h" #include "Entitys\GameObject.h" #include "Physics\PhysXManager.h" #include "all_includes.h" #include <algorithm> Collider::Collider() { m_physXManager = PhysXManager::GetInstance(); m_physics = m_physXManager->GetPhysics(); m_cooking = m_physXManager->GetCooking(); m_physXMaterial = m_physics->createMaterial(0.5f, 0.5f, 0.5f); m_xScale = 1; m_yScale = 1; m_zScale = 1; m_actor = nullptr; m_shape = nullptr; m_isBox = true; m_isSphere = false; m_isCapsules = false; m_isPlane = false; m_isMeshConvex = false; m_isMeshConcave = false; m_isTerrain = false; m_shapeIndex = 0; m_dataBinder = new ColliderDataBinder( m_isBox, m_isSphere, m_isCapsules, m_isPlane, m_isMeshConvex, m_isMeshConcave, m_isTerrain); vector<string> names; names.push_back("Box"); names.push_back("Sphere"); names.push_back("Capsules"); names.push_back("Plane"); names.push_back("Convex Mesh"); names.push_back("Concave Mesh"); names.push_back("Terrain"); m_dataBinder->SetNames(names); } BaseData* Collider::ToData() { return m_dataBinder->Get(); } void Collider::FromData(BaseData* newData) { if (Validate(newData)) { m_dataBinder->Set(newData); } else; //Data not valid } bool Collider::Validate(BaseData* newData) { vector<BaseData*> children = newData->GetChildren(); bool isDirty = false; int newIndex = -1; if (!DataConverter::DataEqualsPrimitive(m_isBox, children[0])) { newIndex = 0; isDirty = true; } if(!DataConverter::DataEqualsPrimitive(m_isSphere, children[1])) { newIndex = 1; isDirty = true; } if (!DataConverter::DataEqualsPrimitive(m_isCapsules, children[2])) { newIndex = 2; isDirty = true; } if (!DataConverter::DataEqualsPrimitive(m_isPlane, children[3])) { newIndex = 3; isDirty = true; } if (!DataConverter::DataEqualsPrimitive(m_isMeshConvex, children[4])) { newIndex = 4; isDirty = true; } if (!DataConverter::DataEqualsPrimitive(m_isMeshConcave, children[5])) { newIndex = 5; isDirty = true; } if(!DataConverter::DataEqualsPrimitive(m_isTerrain, children[6])) { newIndex = 6; isDirty = true; } if (isDirty) { DataConverter::SetPrimitive(children[m_shapeIndex], false); m_shapeIndex = newIndex; } return isDirty; } Collider::~Collider() { } void Collider::Update() { if (m_actor == nullptr) return; m_myTransform = GetGameObject()->GetComponent<Transform>(); PxVec3 pos = m_actor->getGlobalPose().p; PxQuat rot = m_actor->getGlobalPose().q; m_myTransform->SetPosition(pos.x, pos.y, pos.z); m_myTransform->SetRotation(rot.x, rot.y, rot.z, rot.w); } void Collider::Start() { if (m_shape != nullptr) m_shape->release(); m_myTransform = GetGameObject()->GetComponent<Transform>(); if (m_isBox) InitBox(); if (m_isSphere) InitSphere(); if (m_isCapsules) InitCapsules(); if (m_isPlane) InitPlane(); if (m_isMeshConvex) InitMeshConvex(); if (m_isMeshConcave) InitMeshConcave(); if (m_isTerrain) InitTerrain(); } void Collider::InitBox() { m_shape = m_physics->createShape(PxBoxGeometry(m_myTransform->GetScale().x * m_xScale, m_myTransform->GetScale().y * m_yScale, m_myTransform->GetScale().z * m_zScale), *m_physXMaterial); SetActor(); } void Collider::InitSphere() { float position[] = { m_myTransform->GetScale().x * m_xScale, m_myTransform->GetScale().y * m_yScale, m_myTransform->GetScale().z * m_zScale }; float radius = *std::max_element(position, position + 3); m_shape = m_physics->createShape(PxSphereGeometry(radius), *m_physXMaterial); SetActor(); } void Collider::InitCapsules() { float position[] = { m_myTransform->GetScale().x * m_xScale, m_myTransform->GetScale().z * m_zScale }; float radius = *std::max_element(position, position + 2); m_shape = m_physics->createShape(PxCapsuleGeometry(radius, m_myTransform->GetScale().y/2 * m_yScale), *m_physXMaterial); SetActor(); } void Collider::InitPlane() { m_shape = m_physics->createShape(PxPlaneGeometry(), *m_physXMaterial); SetActor(); } void Collider::InitMeshConvex() { } void Collider::InitMeshConcave() { } void Collider::InitTerrain() { m_myTransform = GetGameObject()->GetComponent<Transform>(); Terrain* myTerrain = GetGameObject()->GetComponent<Terrain>(); if (myTerrain == nullptr) { printf("Error: GameObject has not Terrain"); return; } int size = myTerrain->GetSize(); PxHeightFieldDesc hfDesc; hfDesc.format = PxHeightFieldFormat::eS16_TM; hfDesc.nbColumns = size; hfDesc.nbRows = size; hfDesc.samples.data = myTerrain->GetHeightMap(); hfDesc.samples.stride = sizeof(PxHeightFieldSample); hfDesc.thickness = -100.0f; PxHeightField* heightField = m_cooking->createHeightField(hfDesc, m_physics->getPhysicsInsertionCallback()); PxHeightFieldGeometry hfGeom(heightField, PxMeshGeometryFlags(), m_myTransform->GetScale().y, m_myTransform->GetScale().z, m_myTransform->GetScale().x); m_shape = m_physics->createShape((PxHeightFieldGeometry)hfGeom, *m_physXMaterial); SetActor(); } void Collider::SetActor() { if (GetGameObject()->GetComponent<PlayerController>() != nullptr) { return; } PxTransform pose = PxTransform(PxVec3(m_myTransform->GetPosition().x, m_myTransform->GetPosition().y, m_myTransform->GetPosition().z)); if (m_actor != nullptr) { m_physXManager->RemoveActorFromScene(m_actor); m_actor->release(); } if (GetGameObject()->GetComponent<RigidBody>() != nullptr) { if (GetGameObject()->GetStaticTag() == true) m_actor = PxCreateStatic(*m_physics, pose, *m_shape); else m_actor = PxCreateDynamic(*m_physics, pose, *m_shape, 1); } else { m_actor = PxCreateStatic(*m_physics, pose, *m_shape); } m_physXManager->AddActorToScene(m_actor); }
23.595142
187
0.721174
JustenG
b652cac6890f2b0a6b0635531a8a1e3f243f4b43
1,807
cc
C++
src/proto/test_helper.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "proto/test_helper.h" #include "common/base/string_number.h" #include "proto/table_schema.pb.h" namespace tera { TableSchema DefaultTableSchema() { TableSchema schema; schema.set_id(0); schema.set_name("lg0"); schema.set_owner(0); schema.add_acl(0777); ColumnFamilySchema* cf_schema = schema.add_column_families(); cf_schema->set_id(0); cf_schema->set_name("lg0_cf0"); cf_schema->set_locality_group("lg0"); cf_schema->set_owner(0); cf_schema->add_acl(0777); LocalityGroupSchema* lg_schema = schema.add_locality_groups(); lg_schema->set_id(0); lg_schema->set_name("lg0_name"); return schema; } ColumnFamilySchema DefaultCFSchema(const std::string& lg_name, uint32_t id) { ColumnFamilySchema cf_schema; std::string cf_name("cf"); cf_name += NumberToString(id); cf_schema.set_id(id); cf_schema.set_name(lg_name + "_" + cf_name); cf_schema.set_locality_group(lg_name); cf_schema.set_owner(0); cf_schema.add_acl(0777); return cf_schema; } LocalityGroupSchema DefaultLGSchema(uint32_t id) { LocalityGroupSchema lg_schema; std::string lg_name("lg"); lg_name += NumberToString(id); lg_schema.set_id(id); lg_schema.set_name(lg_name); return lg_schema; } TableSchema DefaultTableSchema(uint32_t id, uint32_t lg_num, uint32_t cf_num) { TableSchema schema; std::string name("table"); name += NumberToString(id); schema.set_id(id); schema.set_name(name); schema.set_owner(0); schema.set_acl(0, 0777); for (uint32_t lg_id = 0; lg_id < lg_num; ++lg_id) { LocalityGroupSchema lg_schema = DefaultLGSchema(lg_id); } return schema; } } // namespace tera
24.753425
79
0.731599
cuisonghui
b6578e72e8dc79fb8c89b0c68d441905d7e96261
927
cpp
C++
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
#include "ModuleInput.h" #include "Application.h" #include "ModuleRender.h" #include <iostream> //TODO: Create log systemS #include "GLFW/glfw3.h" bool ModuleInput::PreUpdate() { glfwPollEvents(); if(glfwGetKey(App->m_Render->m_window, GLFW_KEY_ESCAPE) == GLFW_PRESS) glfwSetWindowShouldClose(App->m_Render->m_window, true); return true; } bool ModuleInput::IsMouseButtonDown(int button) const { return glfwGetMouseButton(App->m_Render->m_window, button); } bool ModuleInput::IsPressed(int key) const { return glfwGetKey(App->m_Render->m_window, key); } bool ModuleInput::IsReleased(int key) const { return glfwGetKey(App->m_Render->m_window, key); } void ModuleInput::GetXYMouseFrameDelta(float& x, float& y) { double xpos, ypos; glfwGetCursorPos(App->m_Render->m_window, &xpos, &ypos); x = m_LastX - xpos; y = m_LastY - ypos; m_LastX = xpos; m_LastY = ypos; }
25.054054
74
0.704423
solidajenjo
b657f26d3d6f34b77e0449a66e73d171a044ee63
1,527
cpp
C++
cpp/src/msg_server/HttpParserWrapper.cpp
KevinHM/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
22
2015-05-02T11:21:32.000Z
2022-03-04T09:58:19.000Z
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
null
null
null
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
21
2015-01-02T01:21:04.000Z
2021-05-12T09:52:54.000Z
// // HttpPdu.cpp // http_msg_server // // Created by jianqing.du on 13-9-29. // Copyright (c) 2013年 ziteng. All rights reserved. // #include "HttpParserWrapper.h" #include "http_parser.h" CHttpParserWrapper* CHttpParserWrapper::m_instance = NULL; CHttpParserWrapper::CHttpParserWrapper() { } CHttpParserWrapper* CHttpParserWrapper::GetInstance() { if (!m_instance) { m_instance = new CHttpParserWrapper(); } return m_instance; } void CHttpParserWrapper::ParseHttpContent(const char* buf, uint32_t len) { http_parser_init(&m_http_parser, HTTP_REQUEST); memset(&m_settings, 0, sizeof(m_settings)); m_settings.on_url = OnUrl; m_settings.on_headers_complete = OnHeadersComplete; m_settings.on_body = OnBody; m_settings.on_message_complete = OnMessageComplete; m_read_all = false; m_total_length = 0; m_url.clear(); m_body_content.clear(); http_parser_execute(&m_http_parser, &m_settings, buf, len); } int CHttpParserWrapper::OnUrl(http_parser* parser, const char *at, size_t length) { m_instance->SetUrl(at, length); return 0; } int CHttpParserWrapper::OnHeadersComplete (http_parser* parser) { m_instance->SetTotalLength(parser->nread + (uint32_t)parser->content_length); return 0; } int CHttpParserWrapper::OnBody (http_parser* parser, const char *at, size_t length) { m_instance->SetBodyContent(at, length); return 0; } int CHttpParserWrapper::OnMessageComplete (http_parser* parser) { m_instance->SetReadAll(); return 0; }
22.455882
83
0.72888
KevinHM
b6580db2284ebba5387c2475713446ccbb7d1b37
688
hpp
C++
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
6
2019-04-12T19:51:23.000Z
2021-09-16T07:12:57.000Z
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
null
null
null
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
1
2019-07-07T07:23:58.000Z
2019-07-07T07:23:58.000Z
// // mesh_Generated_multi_faults.hpp // hybrid_fem_bie // // Created by Max on 2/13/18. // // #ifndef mesh_Generated_multi_faults_hpp #define mesh_Generated_multi_faults_hpp #include <stdio.h> #include <iostream> #include <Eigen/Eigen> #include "Meshrectangular.hpp" #include "update_mesh_topology.hpp" #include "share_header.hpp" using namespace Eigen; void mesh_Generated_multi_faults(int x_min, int x_max ,int y_min, int y_max, double dx , double dy, int nx, int ny, MatrixXd &Nodes ,MatrixXi_rm &Element, ArrayXi &BIE_top_surf_nodes, ArrayXi &BIE_bot_surf_nodes, MatrixXd &fault_pos, std::vector<std::vector<int>> &fault_nodes); #endif /* mesh_Generated_multi_faults_hpp */
27.52
278
0.774709
XiaoMaResearch
b65e92954048b8e7386489defc4ff1a542622328
1,021
cpp
C++
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
1
2022-01-21T16:26:39.000Z
2022-01-21T16:55:33.000Z
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> unsigned n_of_chars_in_memory(std::string const &s) { unsigned sum(0); for(auto i = 1; i < s.size()-1; ++i) { sum++; if(s.at(i) == '\\') { if(s.at(i+1) == 'x') i+=3; else i++; } } return sum; } unsigned encoded_line(std::string const &s) { unsigned sum(6); for(auto i = 1; i < s.size()-1; ++i) { sum++; if(s.at(i) == '\\') sum++; else if(s.at(i) == '\"') sum++; } return sum; } int main() { std::fstream input_file("input.txt", std::ios::in); std::string line; unsigned raw_sum(0); unsigned sum(0); unsigned encoded_sum(0); while(input_file >> line) { raw_sum += line.size(); sum += n_of_chars_in_memory(line); encoded_sum += encoded_line(line); } std::cout << "Silver: " << raw_sum - sum << '\n'; std::cout << "Gold: " << encoded_sum - raw_sum << '\n'; }
23.204545
59
0.468168
two-six
b66fbd2a5f4a1bd9d166b98296b4a14729fbcdc2
5,521
hpp
C++
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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. */ #pragma once #include <PluginVisSlice/GridSizeMode.hpp> // TODO: avoid cross-object include #include <PluginVisSlice/SizeUnit.hpp> // TODO: avoid cross-object include #include <QColor> #include <QObject> #include <Voxie/Vis/OpenGLWidget.hpp> /** * @brief This class contains the logic for the grid. */ class Grid3D : public QObject { Q_OBJECT private: bool active; QColor color; GridSizeMode mode; float size; SizeUnit lengthUnit; int opacity; bool xyPlane; bool xzPlane; bool yzPlane; typedef vx::visualization::OpenGLDrawWidget::PrimitiveBuffer PrimitiveBuffer; /** * @brief setGridSizeForSelf is an setter which sets the size of the grid mesh * width and should clled only by grid3d itself. This is necessary to prevent * endlessloops. * @param float value */ void setGridSizeForSelf(float value); /** * @brief setUnitForSelf is an setter which sets the unit of the grid mesh * width and should clled only by grid3d itself. This is necessary to prevent * endlessloops. * @param float value */ void setUnitForSelf(SizeUnit unit); /** * @brief Gives the factor coresponding to the unit * @return the unit factor */ float unit(); /** * @brief Ensures that the grid is no longer visible. */ void removeGrid(); /** * @brief setBiggerUnit if current unit is not the biggest unit, it sets the * unit next bigger unit */ void setBiggerUnit(); /** * @brief setSmallerUnit if current unit is not the smallest unit, it sets the * unit next smaller unit */ void setSmallerUnit(); public: /** * @brief Draws grid over Slice with current parameter of the grid. */ void drawGrid(PrimitiveBuffer& drawingBuffer, const QVector3D& min, const QVector3D& max, float prefLength); /** * @brief Grid3D constructor * @param Isovisualizer* which is converted to an QObject* isoVis */ explicit Grid3D(QObject* isoVis); Grid3D(Grid3D const&) = delete; void operator=(Grid3D const&) = delete; /** * @brief is true if grid is active. * @param bool active */ void setActive(bool active); /** * @brief setColor sets the current color of the Grid. * @param QColor color */ void setColor(QColor color); /** * @brief setMode sets the current grid mode. * @param GridSizeMode mode */ void setMode(GridSizeMode mode); /** * @brief setSizeForWidget is a sette of the grid mesh width. * This sette should called only by othe classes. * @param float size */ void setSizeForWidget(float size); /** * @brief setUnitForWidget is a setter of the grid mesh width unit. * This sette should called only by othe classes. * @param SizeUnit unit */ void setUnitForWidget(SizeUnit unit); /** * @brief setOpacity is a setter of the grids opacity. * @param int opacity (Range: 0 to 255) */ void setOpacity(int opacity); /** * @brief setXYPlane is a Setter for the xy plane. Only active plane will be * drawn. * @param bool checked */ void setXYPlane(bool checked); /** * @brief setXZPlane is a Setter for the xz plane. Only active plane will be * drawn. * @param bool checked */ void setXZPlane(bool checked); /** * @brief setYZPlane is a Setter for the yz plane. Only active plane will be * drawn. * @param bool checked */ void setYZPlane(bool checked); /** * @brief getSize is a getter for the gird mesh width. * @return float size */ float getSize(); /** * @brief If called checks if active Parameter of grid is true. * If its true drawGrid is called. Otherwise removeGrid is called. */ void updateGrid(); /** * @brief unitToString returns a String thats the representation of the * current unit * @return a String thats the representation of the current unit */ QString unitToString(); Q_SIGNALS: /** * @brief unitChanged is an signal which is called if the grid length unit has * changed. * @param SizeUnit newValue */ void unitChanged(SizeUnit newValue); /** * @brief sizeChanged is an signal which is called if the grid mesh width * changed. * @param float newValue */ void sizeChanged(float newValue); /** * @brief gridChanged is an signal which is called if the grid has changed. */ void gridChanged(); public Q_SLOTS: };
26.671498
80
0.690636
voxie-viewer
b67505036df98c899510c61ab158cff7395792ad
2,409
hpp
C++
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
#ifndef APPLICATION_SOLAR_HPP #define APPLICATION_SOLAR_HPP #include "application.hpp" #include "model.hpp" #include "structs.hpp" #include "pixel_data.hpp" #include "texture_loader.hpp" #include <scene_graph.hpp> // gpu representation of model class ApplicationSolar : public Application { public: // allocate and initialize objects ApplicationSolar(std::string const& resource_path); // free allocated objects ~ApplicationSolar(); //star initialisation void initializeStars(); //orbit initialisation void initializeOrbits(); // react to key input void keyCallback(int key, int action, int mods); //handle delta mouse movement input void mouseCallback(double pos_x, double pos_y); //handle resizing void resizeCallback(unsigned width, unsigned height); void scrollCallback(double pos_x, double pos_y); void tmpfunk(); // draw all objects void render() ; Scene_graph scene_graph_; glm::fmat4 earth_local_transform; float speed = 1.0f; bool switch_appearence = false; bool inverse = false; bool grayscale = false; bool mirror_v = false; bool mirror_h = false; bool blur = false; unsigned int m_sunTexture; unsigned int m_texture; unsigned int m_mappingtexture; unsigned int m_skytextures; unsigned m_width; unsigned m_height; protected: // initialize all objects in the graph to create the sun system void initializeSceneGraph(); void initializeShaderPrograms(); void initializeFramebuffer(unsigned width, unsigned height); void initializeGeometry(); void initializeTextures(); void initializeSun(); void initializeSkybox(); // custom render methode for the planets out of the scene graph void planetrenderer(); void skyboxrenderer(); void starRenderer() const; void orbitRenderer() const; // update uniform values void uploadUniforms(); // upload projection matrix void uploadProjection(); // upload view matrix void uploadView(); // cpu representation of model model_object planet_object; model_object star_object; model_object orbit_object; model_object texture_object; model_object skybox_object; model_object quad_object; framebuffer_object framebuffer_obj; // camera transform matrix glm::fmat4 m_view_transform; // camera projection matrix glm::fmat4 m_view_projection; // initialized sceneGraph with information about objects and there rotation }; #endif
26.184783
77
0.7555
Mielein
b6759b1c1cb1200bb2efa0ade160b07c458788f0
2,714
cpp
C++
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
2
2021-03-25T05:50:17.000Z
2021-04-06T12:53:18.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-03-09T00:03:56.000Z
2021-03-09T00:03:56.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-04-05T13:10:55.000Z
2021-04-05T13:10:55.000Z
#include <mem_comparable_closure.hpp> #include "widget.hpp" #include "gui_event.hpp" #include "ui.hpp" #include "backend/xcb_backend.hpp" using fluxpp::Ui; using fluxpp::backend::XCBBackend; using namespace mem_comparable_closure; using namespace fluxpp::widgets::screen; using namespace fluxpp::widgets::application; using namespace fluxpp::widgets; using namespace fluxpp::widgets::window; using fluxpp::events::ButtonPressEvent; using fluxpp::events::ButtonReleaseEvent; using fluxpp::widgets::builtin::ColorWidget; using fluxpp::widgets::builtin::Color; using fluxpp::widgets::builtin::ColorEnum; using fluxpp::widgets::builtin::TextWidget; using fluxpp::widgets::AppEvent; using fluxpp::widgets::AppEventContainer; Widget<SubscribeTo<bool>, ListenFor<ButtonPressEvent, ButtonReleaseEvent> > button = WidgetBuilder{} .with_filters(Filter<bool>("state/button")) .with_render_lambda([](bool clicked){ if ( clicked) { return make_widget_return_container(Size{.width=300, .height=150}, ColorWidget(Color::from_color_enum( ColorEnum::blue) ).at(0,0), TextWidget("Click Me").at(0,0) ); } else { return make_widget_return_container(Size{.width=300, .height=150}, ColorWidget(Color::from_color_enum( ColorEnum::green) ).at(0,0), TextWidget("Click Me").at(0,0) ); }; }) .for_events<ButtonPressEvent, ButtonReleaseEvent>() .build_with_event_handling_lambdas([](const ButtonPressEvent& event)->AppEventContainer { return AppEvent("state/button");}, [] (const ButtonReleaseEvent& event )->AppEventContainer { return AppEvent("state/button");} ); Window<SubscribeTo<>, ListenFor<>> mywindow =WindowBuilder{} .without_filters() .with_render_lambda([]( ){ return make_window_return_container( Size{300,400},button); }) .build_without_event_handlers(); Screen<SubscribeTo<>, ListenFor<>> myscreen =ScreenBuilder{} .without_filters() .with_render_lambda([]( ){ return make_screen_return_container(ScreenSettings{},mywindow); }) .build_without_event_handlers(); Application<SubscribeTo<>, ListenFor<>> myapp =ApplicationBuilder{} .without_filters() .with_render_lambda([]( ){ return make_application_return_container(myscreen); }) .build_without_event_handlers(); int main() { using namespace fluxpp; using widgets::AppEvent; auto backend = XCBBackend::create() ; Ui mygui= Ui::create(&backend, myapp); mygui.add_state_slice("state/button", state::StateSlice<bool>(false, [](bool state, const AppEvent& event ){ return std::make_pair( not state , std::vector<AppEvent>{}); } ) ); mygui.start(); };
31.55814
95
0.707811
Glinrens-corner
b677bc2892b5acf998fecfd548d31cc6f3e96c29
153
inl
C++
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
// -*- C++ -*- ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Shared_Object::ACE_Shared_Object (void) { } ACE_END_VERSIONED_NAMESPACE_DECL
15.3
44
0.751634
azerothcore
b67adaee3804aaafbb3f8f8a7b5b2af2f26b0466
1,601
cpp
C++
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** #define MAXN 15 int N; int M[MAXN][MAXN]; struct edge_t { int i, j; }; bool operator<(edge_t lhs, edge_t rhs) noexcept { return M[lhs.i][lhs.j] < M[rhs.i][rhs.j]; } bool connected(edge_t lhs, edge_t rhs) { return lhs.i == rhs.i || lhs.j == rhs.i || lhs.i == rhs.j || lhs.j == rhs.j; } int dfs(vector<edge_t> edges, edge_t e0, int minsum) { auto newbegin = remove_if(begin(edges), end(edges), [e0](edge_t edge) { return connected(e0, edge); }); edges.erase(newbegin, end(edges)); int solutions = 0; while (!edges.empty()) { edge_t e = edges.back(); edges.pop_back(); solutions += M[e.i][e.j] >= minsum; int newminsum = max(0, minsum - M[e.i][e.j]); solutions += dfs(edges, e, newminsum); } return solutions; } auto solve() { cin >> N; memset(M, 0, sizeof(M)); vector<edge_t> edges; for (int i = 0; i < N; ++i) { for (int j = 0; j < N; ++j) { cin >> M[i][j]; if (i < j && M[i][j] > 0) { edges.push_back({i, j}); } } } sort(begin(edges), end(edges)); int solution = 0; while (!edges.empty()) { edge_t e = edges.back(); edges.pop_back(); solution += dfs(edges, e, M[e.i][e.j] + 1); } return solution; } // ***** int main() { unsigned T; cin >> T >> ws; for (unsigned t = 1; t <= T; ++t) { auto solution = solve(); cout << "Case #" << t << ": " << solution << '\n'; } return 0; }
20.792208
80
0.490319
brunodccarvalho
b67d23d70ddb63d1283152d45294363517bb11cc
541
cpp
C++
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
1
2021-06-28T11:24:42.000Z
2021-06-28T11:24:42.000Z
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
#include "Material.hpp" namespace Avokii::Graphics { Material::Material() { } Material::Material( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; } std::shared_ptr<Material> Material::LoadResource( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; return {}; } void Material::SetShader( std::shared_ptr<const Shader> new_shader ) { mShader = new_shader; } void Material::SetTextures( std::vector<std::shared_ptr<const Texture>> new_textures ) { mTextures = new_textures; } }
16.90625
87
0.713494
Katipo007
b680f864e5316eac3e79dc00d1d7a1a6e6331774
1,282
hpp
C++
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#ifdef COFFEE_OS_WINDOWS #include "system/input/mouse/input_mouse.h" #include "wide/application/application.h" namespace coffee { namespace input { //-OPERATIONS---------------------------------------------------------------------------------// void MouseButton::Update(const basic::Time& time_step) { if (_Code<=BUTTON_Middle) { BUTTON code(_Code); if (Mouse::Get().IsSwapped()) { if(_Code==BUTTON_Left) { code = BUTTON_Right; } else if(_Code==BUTTON_Right) { code = BUTTON_Left; } } _ItWasPressed = _ItIsPressed; _ItIsPressed = Application::IsInstantiated() && Application::Get().HasFocus() && GetAsyncKeyState(code)!=0; } else { int32 scroll = Mouse::Get().GetScrollValue(); _ItWasPressed = _ItIsPressed; _ItIsPressed = Application::IsInstantiated() && Application::Get().HasFocus() && ((scroll>0 && _Code==BUTTON_ScrollUp) || (scroll<0 && _Code==BUTTON_ScrollDown)); } } } } #endif
25.137255
100
0.457878
skarab
b6813ddc36cbf25afa1760a597443c2d9f772a74
1,776
cpp
C++
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
#include <EditorPluginKrautPCH.h> #include <EditorFramework/EditorApp/EditorApp.moc.h> #include <EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.h> // clang-format off EZ_BEGIN_STATIC_REFLECTED_TYPE(ezKrautAssetMaterial, ezNoBase, 1, ezRTTIDefaultAllocator<ezKrautAssetMaterial>) { EZ_BEGIN_PROPERTIES { // TODO: make the texture references read-only somehow ? EZ_MEMBER_PROPERTY("DiffuseTexture", m_sDiffuseTexture)->AddAttributes(new ezAssetBrowserAttribute("Texture 2D")), EZ_MEMBER_PROPERTY("NormalMapTexture", m_sNormalMapTexture)->AddAttributes(new ezAssetBrowserAttribute("Texture 2D")), } EZ_END_PROPERTIES; } EZ_END_STATIC_REFLECTED_TYPE; EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezKrautTreeAssetProperties, 1, ezRTTIDefaultAllocator<ezKrautTreeAssetProperties>) { EZ_BEGIN_PROPERTIES { EZ_MEMBER_PROPERTY("KrautFile", m_sKrautFile)->AddAttributes(new ezFileBrowserAttribute("Select Kraut Tree file", "*.kraut")), EZ_MEMBER_PROPERTY("UniformScaling", m_fUniformScaling)->AddAttributes(new ezDefaultValueAttribute(1.0f)), EZ_MEMBER_PROPERTY("LodDistanceScale", m_fLodDistanceScale)->AddAttributes(new ezDefaultValueAttribute(1.0f)), EZ_MEMBER_PROPERTY("StaticColliderRadius", m_fStaticColliderRadius)->AddAttributes(new ezDefaultValueAttribute(0.4f), new ezClampValueAttribute(0.0f, 10.0f)), EZ_MEMBER_PROPERTY("Surface", m_sSurface)->AddAttributes(new ezAssetBrowserAttribute("Surface")), EZ_ARRAY_MEMBER_PROPERTY("Materials", m_Materials)->AddAttributes(new ezContainerAttribute(false, false, false)), } EZ_END_PROPERTIES; } EZ_END_DYNAMIC_REFLECTED_TYPE; // clang-format on ezKrautTreeAssetProperties::ezKrautTreeAssetProperties() = default; ezKrautTreeAssetProperties::~ezKrautTreeAssetProperties() = default;
48
162
0.817005
alinoctavian
b681445beca2d805c50439def8635b8c4066945e
3,640
cc
C++
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the following: --- University of Cincinnati hereby grants USER nonexclusive permission to use, copy and/or modify this software for internal, noncommercial, research purposes only. Any distribution, including commercial sale or license, of this software, copies of the software, its associated documentation and/or modifications of either is strictly prohibited without the prior consent of University of Cincinnati. Title to copyright to this software and its associated documentation shall at all times remain with University of Cincinnati. Appropriate copyright notice shall be placed on all software copies, and a complete copy of this notice shall be included in all copies of the associated documentation. No right is granted to use in advertising, publicity or otherwise any trademark, service mark, or the name of University of Cincinnati. --- This software and any associated documentation is provided "as is" UNIVERSITY OF CINCINNATI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THOSE OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR THAT USE OF THE SOFTWARE, MODIFICATIONS, OR ASSOCIATED DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF A THIRD PARTY. University of Cincinnati shall not be liable under any circumstances for any direct, indirect, special, incidental, or consequential damages with respect to any claim by USER or any third party on account of or arising from the use, or inability to use, this software or its associated documentation, even if University of Cincinnati has been advised of the possibility of those damages. *********************************************************************/ #define ITE_INLINE inline #include "smurffactory.cc" /* init */ #include "solve.cc" #include "ksolve.cc" #include "init_solver.cc" /* basic brancher */ #include "brancher.cc" #include "select_bp.cc" #include "update_heu.cc" /* backtracking through ... */ #include "backtrack.cc" #include "backtrack_nl.cc" #include "backtrack_sbj.cc" #include "bt_misc.cc" #include "bt_lemmas.cc" #include "bt_smurfs.cc" #include "bt_specfn.cc" #include "bt_specfn_and.cc" #include "bt_specfn_xor.cc" #include "bt_specfn_minmax.cc" /* null heuristic */ #include "heuristic.cc" /* lemma heuristic */ #include "l_lemma.cc" #include "l_heuristic.cc" /* johnson heuristic */ #include "j_update_heu.cc" #include "j_smurf.cc" #include "j_specfn.cc" #include "j_specfn_and.cc" #include "j_specfn_xor.cc" #include "j_specfn_minmax.cc" #include "j_heuristic.cc" /* interactive heuristic */ #include "i_heuristic.cc" #include "autarky.cc" #include "bdd2smurf.cc" #include "bdd2specfn_and.cc" #include "bdd2specfn_xor.cc" #include "bdd2specfn_minmax.cc" #include "smurfstates.cc" #include "state_stacks.cc" #include "heur_stack.cc" #include "lemmainfo.cc" #include "lemmaspace.cc" #include "lemmawlits.cc" #include "lemmamisc.cc" #include "lemmacache.cc" #include "lemmas.cc" #include "lemmas_and.cc" #include "lemmas_xor.cc" #include "lemmas_minmax.cc" #include "verify.cc" #include "display.cc" #include "display_sf.cc" #include "recordsol.cc" #include "transitions.cc" #include "bddwalk.cc" #include "wvf.cc" #include "crtwin.cc" #include "load_lemmas.cc" #include "interface.cc"
30.847458
76
0.740385
nerdling
b681d88a54998d29575d60c45f96efc581cb8aa1
13,914
hpp
C++
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <set> #include <algorithm> #include <boost/algorithm/string/case_conv.hpp> #define BOOST_LOCALE_ENABLE_CHAR16_T 1 #define BOOST_LOCALE_ENABLE_CHAR32_T 1 #include <boost/locale.hpp> #include "crunningerror.hpp" namespace MoonDb { class CIconv { public: /** * @brief 字符集类型 */ enum CharsetType { CHARSET_NONE, CHARSET_ASCII, CHARSET_UTF8, CHARSET_GBK }; /** * @brief get_charset_length 获取字符集字符的最大长度 * @param ct 字符集 * @return 字符最大字节数 */ inline static uint8_t get_charset_length(CharsetType ct) noexcept { switch(ct) { case CHARSET_ASCII: return 1; case CHARSET_UTF8: return 4; case CHARSET_GBK: return 2; default: return 0; } } const static int64_t npos = std::numeric_limits<int64_t>::max(); /** * @brief substr 截取字符串 * @param str 原字符串 * @param start 起始位置,可为负值 * @param length 长度,可为负值 * @return 返回截取后的字符串 */ inline static std::string substr_ascii(const std::string& str, int64_t start, int64_t length = npos) noexcept { if(length == 0) { return ""; } int64_t size = static_cast<int64_t>(str.size()); if(_substr_pre(start, length, size)) { return ""; } return str.substr(static_cast<size_t>(start), static_cast<size_t>(length)); } /** * @brief truncate_ascii 将ascii字符串截断到length长度 * @param str 待处理字符串 * @param length 截断长度 * @param charnum 字符数 */ inline static void truncate_ascii(std::string& str, uint32_t length, uint32_t& charnum) noexcept { if(str.size() > length) { str.erase(length); } charnum = static_cast<uint32_t>(str.size()); } /** * @brief iconv 将字符串str从from字符集转为to字符集 * example: iconv("汉字", CHARSET_GBK, CHARSET_UTF8) * @param str 待处理字符串 * @param from 源字符串字符集 * @param to 目标字符串字符集 * @return 转换后的字符串 */ inline static std::string iconv(const std::string& str, CharsetType from, CharsetType to) { return boost::locale::conv::between(str, _get_charset_str(to), _get_charset_str(from)); } /** * @brief to_char 转换为string类型的utf字符串 * @param str 源字符串 * @param from 原字符集 * @return 转换后的字符串 */ inline static std::string to_char(const std::string& str, CharsetType from) { return boost::locale::conv::to_utf<char>(str, _get_charset_str(from)); } /** * @brief to_wchar 将字符串str从from字符集转为unicode wchar字符串 * example: to_wchar("汉字", CHARSET_GBK) * @param str 源字符串 * @param from 原字符集 * @return 转换后的字符串 */ inline static std::wstring to_wchar(const std::string& str, CharsetType from) { return boost::locale::conv::to_utf<wchar_t>(str, _get_charset_str(from)); } /** * @brief to_char16 将字符串str从from字符集转为unicode char16字符串 * @param str 源字符串 * @param from 原字符集 * @return 转换后的字符串 */ inline static std::u16string to_char16(const std::string& str, CharsetType from) { return boost::locale::conv::to_utf<char16_t>(str, _get_charset_str(from)); } /** * @brief to_char32 将字符串str从from字符集转为unicode char32字符串 * @param str 源字符串 * @param from 原字符集 * @return 转换后的字符串 */ inline static std::u32string to_char32(const std::string& str, CharsetType from) { return boost::locale::conv::to_utf<char32_t>(str, _get_charset_str(from)); } /** * @brief from_char 将字符串str从utf字符串转为to字符集 * @param str 源字符串 * @param to 目标字符集 * @return 转换后的字符串 */ inline static std::string from_char(const std::string& str, CharsetType to) { return boost::locale::conv::from_utf(str, _get_charset_str(to)); } /** * @brief from_wchar 将字符串wstr从unicode wchar字符串转为to字符集 * @param wstr 源字符串 * @param to 目标字符集 * @return 转换后的字符串 */ inline static std::string from_wchar(const std::wstring& wstr, CharsetType to) { return boost::locale::conv::from_utf(wstr, _get_charset_str(to)); } /** * @brief from_char16 将字符串wstr从unicode u16string字符串转为to字符集 * @param wstr 源字符串 * @param to 目标字符集 * @return 转换后的字符串 */ inline static std::string from_char16(const std::u16string& wstr, CharsetType to) { return boost::locale::conv::from_utf(wstr, _get_charset_str(to)); } /** * @brief from_char32 将字符串wstr从unicode u32string字符串转为to字符集 * @param wstr 源字符串 * @param to 目标字符集 * @return 转换后的字符串 */ inline static std::string from_char32(const std::u32string& wstr, CharsetType to) { return boost::locale::conv::from_utf(wstr, _get_charset_str(to)); } inline static std::wstring utf8_to_wchar(const std::string& str) { return boost::locale::conv::utf_to_utf<wchar_t, char>(str); } inline static std::u16string utf8_to_char16(const std::string& str) { return boost::locale::conv::utf_to_utf<char16_t, char>(str); } inline static std::u32string utf8_to_char32(const std::string& str) { return boost::locale::conv::utf_to_utf<char32_t, char>(str); } inline static std::string wchar_to_utf8(const std::wstring& wstr) { return boost::locale::conv::from_utf(wstr, "UTF-8"); } inline static std::string char16_to_utf8(const std::u16string& wstr) { return boost::locale::conv::from_utf(wstr, "UTF-8"); } inline static std::string char32_to_utf8(const std::u32string& wstr) { return boost::locale::conv::from_utf(wstr, "UTF-8"); } /** * @brief get_length_utf8 utf8字符长度1-4,根据每个字符第一个字节计算字符长度 0xxxxxxx 110xxxxx 10xxxxxx 1110xxxx 10xxxxxx 10xxxxxx 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx * @param str * @return 字符长度 */ inline static size_t strlen_utf8(const std::string& str) { size_t length = 0; const char* p = str.data(); while(*p) { p += _charlen_utf8_check(p, length); length ++; } return length; } /** * @brief strlen_gbk gbk字符长度1-2 * @param str * @return 字符长度 */ inline static size_t strlen_gbk(const std::string& str) noexcept { size_t length = 0; const char* p = str.data(); while(*p) { p += _charlen_gbk(p); length ++; } return length; } /** * @brief substr_utf8 截取utf8字符串 * @param str 原字符串 * @param start 起始位置,可为负值 * @param length 长度,可为负值 * @param size utf8字符数量,如果为-1则根据str计算长度 * @return 返回截取后的字符串 */ inline static std::string substr_utf8(const std::string& str, int64_t start, int64_t length = npos, int64_t size = -1) { if(length == 0) { return ""; } if(-1 == size) { size = static_cast<int64_t>(strlen_utf8(str)); } if(_substr_pre(start, length, size)) { return ""; } int64_t i = 0; const char* p = str.data(); // 计算start_byte起始位置 size_t start_byte = 0; while(*p) { if(i >= start) { break; } uint8_t charlen = _charlen_utf8(p); if(0 == charlen) { break; } i ++; start_byte += charlen; p += charlen; } // 计算length_byte长度 size_t length_byte = 0; i = 0; while(*p) { if(i >= length) { break; } uint8_t charlen = _charlen_utf8(p); if(0 == charlen) { break; } i ++; length_byte += charlen; p += charlen; } return str.substr(static_cast<size_t>(start_byte), static_cast<size_t>(length_byte)); } /** * @brief substr_gbk 截取gbk字符串 * @param str 原字符串 * @param start 起始位置,可为负值 * @param length 长度,可为负值 * @param size gbk字符数量,如果为-1则根据str计算长度 * @return 返回截取后的字符串 */ inline static std::string substr_gbk(const std::string& str, int64_t start, int64_t length = npos, int64_t size = -1) noexcept { if(length == 0) { return ""; } if(-1 == size) { size = static_cast<int64_t>(strlen_gbk(str)); } if(_substr_pre(start, length, size)) { return ""; } int64_t i = 0; const char* p = str.data(); // 计算start_byte起始位置 size_t start_byte = 0; while(*p) { if(i >= start) { break; } uint8_t charlen = _charlen_gbk(p); if(0 == charlen) { break; } i ++; start_byte += charlen; p += charlen; } // 计算length_byte长度 size_t length_byte = 0; i = 0; while(*p) { if(i >= length) { break; } uint8_t charlen = _charlen_gbk(p); if(0 == charlen) { break; } i ++; length_byte += charlen; p += charlen; } return str.substr(static_cast<size_t>(start_byte), static_cast<size_t>(length_byte)); } /** * @brief truncate_utf8 将utf8字符串截断到length(字节)长度 * @param str 待处理字符串 * @param length 截断长度 * @param charnum 字符数 */ inline static void truncate_utf8(std::string& str, uint32_t length, uint32_t& charnum) { if(str.size() > length) { charnum = 0; size_t trunlength = 0; const char* p = str.data(); while(*p) { uint8_t charlen = _charlen_utf8_check(p, charnum); if(trunlength + charlen > length) { break; } p += charlen; trunlength += charlen; charnum++; } str.erase(trunlength); } else { charnum = static_cast<uint32_t>(strlen_utf8(str)); } } /** * @brief truncate_gbk 将gbk字符串截断到length(字节)长度 * @param str 待处理字符串 * @param length 截断长度 * @param charnum 字符数 */ inline static void truncate_gbk(std::string& str, uint32_t length, uint32_t& charnum) noexcept { if(str.size() > length) { charnum = 0; size_t trunlength = 0; const char* p = str.data(); while(*p) { uint8_t charlen = _charlen_gbk(p); if(trunlength + charlen > length) { break; } p += charlen; trunlength += charlen; charnum++; } str.erase(trunlength); } else { charnum = static_cast<uint32_t>(strlen_gbk(str)); } } /** * @brief substr 截取字符串 * @param str 原字符串 * @param start 起始位置,可为负值 * @param length 长度,可为负值 * @param charset 字符集 * @return 返回截取后的字符串 */ inline static std::string substr(const std::string& str, const int64_t& start, const int64_t& length = npos, CharsetType charset = CHARSET_ASCII) { switch(charset) { case CHARSET_ASCII: return substr_ascii(str, start, length); case CHARSET_UTF8: return substr_utf8(str, start, length); case CHARSET_GBK: return substr_gbk(str, start, length); default: return substr_ascii(str, start, length); } } /** * @brief strlen 按照字符集计算字符串长度 * @param str 字符串 * @param charset 字符集 * @return 长度 */ inline static size_t strlen(const std::string& str, CharsetType charset = CHARSET_ASCII) { switch(charset) { case CHARSET_ASCII: return str.size(); case CHARSET_UTF8: return strlen_utf8(str); case CHARSET_GBK: return strlen_gbk(str); default: return str.size(); } } /** * @brief truncate 将字符串截断 * @param str 字符串 * @param length 截断长度 * @param charnum 字符数 * @param charset 字符集 */ inline static void truncate(std::string& str, uint32_t length, uint32_t& charnum, CharsetType charset = CHARSET_ASCII) noexcept { switch(charset) { case CHARSET_ASCII: truncate_ascii(str, length, charnum); break; case CHARSET_UTF8: truncate_utf8(str, length, charnum); break; case CHARSET_GBK: truncate_gbk(str, length, charnum); break; default: truncate_ascii(str, length, charnum); } } protected: inline static bool _substr_pre(int64_t& start, int64_t& length, const int64_t& size) noexcept { //if(length == 0) { // return true; //} if(start < 0) { start = size + start; if(start < 0) { return true; } } if(start >= size) { return true; } if(length < 0) { length = size + length - start; if(length <= 0) { return true; } } else if(start + length > size) { length = size - start; } return false; } inline static uint8_t _charlen_gbk(const char* p) noexcept { if(*p < 0 && (*(p+1) < 0 || *(p+1) > 63)) {//中文汉字情况 return 2; } else { return 1; } } inline static uint8_t _charlen_utf8(const char* p) noexcept { //1******* if(*p & 128) { //11******* if(*p & 64) { //111***** if(*p & 32) { //1111**** if(*p & 16) { //11111*** if(*p & 8) { // 出现错误 } //11110*** else { return 4; } } //1110**** else { return 3; } } //110***** else { return 2; } } //10****** else { } } //0******* else { return 1; } return 0; } // 如果出现错误抛出异常,信息中心含有错误字符的位置(从1开始) inline static uint8_t _charlen_utf8_check(const char* p, const size_t& length) { //1******* if(*p & 128) { //11******* if(*p & 64) { //111***** if(*p & 32) { //1111**** if(*p & 16) { //11111*** if(*p & 8) { // 出现错误 ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(5,pos:" + std::to_string(length + 1) + ")."); } //11110*** else { if(0 == *(p+1) || !((*(p+1) & 128) && !(*(p+1) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(4,2,pos:" + std::to_string(length + 1) + ")."); } if(0 == *(p+2) || !((*(p+2) & 128) && !(*(p+2) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(4,3,pos:" + std::to_string(length + 1) + ")."); } if(0 == *(p+3) || !((*(p+3) & 128) && !(*(p+3) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(4,4,pos:" + std::to_string(length + 1) + ")."); } return 4; } } //1110**** else { if(0 == *(p+1) || !((*(p+1) & 128) && !(*(p+1) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(3,2,pos:" + std::to_string(length + 1) + ")."); } if(0 == *(p+2) || !((*(p+2) & 128) && !(*(p+2) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(3,3,pos:" + std::to_string(length + 1) + ")."); } return 3; } } //110***** else { if(0 == *(p+1) || !((*(p+1) & 128) && !(*(p+1) & 64))) { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(2,2,pos:" + std::to_string(length + 1) + ")."); } return 2; } } //10****** else { ThrowError(ERR_STRING_VALID, "The UTF-8 string is invalid(1,1,pos:" + std::to_string(length + 1) + ")."); } } //0******* else { return 1; } return 0; } inline static const char* _get_charset_str(CharsetType charset) noexcept { static const char allcharsets[][6] {"", "ASCII", "UTF-8", "GBK"}; return allcharsets[charset]; } }; }
22.050713
146
0.617004
zzccttu
b68d417fffaab37cc64634972a1a8c89b0820cc5
850
hpp
C++
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-17T07:33:48.000Z
2018-09-12T13:03:23.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-30T03:54:51.000Z
2021-03-09T22:36:13.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <boost/variant.hpp> #include <components/material/material.hpp> #include <components/light/light.hpp> #include <components/light/pointlight.hpp> #include "data-container.hpp" #include "singleton.hpp" namespace Engine { namespace Data { template <typename ... DataTypes> class DataContainerType { public: using DataListContainer = std::tuple<std::vector<DataTypes>...>; public: template<typename DataType> std::vector<DataType>& get() { return std::get<std::vector<DataType>>(data_); } private: DataListContainer data_; }; using DataContainer = DataContainerType<Components::Material::MaterialPtr, Components::Light::LightPtr>; } // namespace Data } // namespace Engine
21.25
78
0.656471
DavidPeicho
b6925aa9428f366a426078f537d113393c154362
65,944
cc
C++
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
3
2015-01-01T16:04:49.000Z
2016-05-08T13:54:15.000Z
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
// Copyright 2006-2008 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following // disclaimer in the documentation and/or other materials provided // with the distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived // from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "v8.h" #include "api.h" #include "arguments.h" #include "bootstrapper.h" #include "code-stubs.h" #include "compiler.h" #include "debug.h" #include "execution.h" #include "global-handles.h" #include "natives.h" #include "stub-cache.h" #include "log.h" namespace v8 { namespace internal { static void PrintLn(v8::Local<v8::Value> value) { v8::Local<v8::String> s = value->ToString(); char* data = NewArray<char>(s->Length() + 1); if (data == NULL) { V8::FatalProcessOutOfMemory("PrintLn"); return; } s->WriteAscii(data); PrintF("%s\n", data); DeleteArray(data); } static Handle<Code> ComputeCallDebugBreak(int argc) { CALL_HEAP_FUNCTION(StubCache::ComputeCallDebugBreak(argc), Code); } static Handle<Code> ComputeCallDebugPrepareStepIn(int argc) { CALL_HEAP_FUNCTION(StubCache::ComputeCallDebugPrepareStepIn(argc), Code); } BreakLocationIterator::BreakLocationIterator(Handle<DebugInfo> debug_info, BreakLocatorType type) { debug_info_ = debug_info; type_ = type; reloc_iterator_ = NULL; reloc_iterator_original_ = NULL; Reset(); // Initialize the rest of the member variables. } BreakLocationIterator::~BreakLocationIterator() { ASSERT(reloc_iterator_ != NULL); ASSERT(reloc_iterator_original_ != NULL); delete reloc_iterator_; delete reloc_iterator_original_; } void BreakLocationIterator::Next() { AssertNoAllocation nogc; ASSERT(!RinfoDone()); // Iterate through reloc info for code and original code stopping at each // breakable code target. bool first = break_point_ == -1; while (!RinfoDone()) { if (!first) RinfoNext(); first = false; if (RinfoDone()) return; // Whenever a statement position or (plain) position is passed update the // current value of these. if (RelocInfo::IsPosition(rmode())) { if (RelocInfo::IsStatementPosition(rmode())) { statement_position_ = rinfo()->data() - debug_info_->shared()->start_position(); } // Always update the position as we don't want that to be before the // statement position. position_ = rinfo()->data() - debug_info_->shared()->start_position(); ASSERT(position_ >= 0); ASSERT(statement_position_ >= 0); } // Check for breakable code target. Look in the original code as setting // break points can cause the code targets in the running (debugged) code to // be of a different kind than in the original code. if (RelocInfo::IsCodeTarget(rmode())) { Address target = original_rinfo()->target_address(); Code* code = Debug::GetCodeTarget(target); if (code->is_inline_cache_stub() || RelocInfo::IsConstructCall(rmode())) { break_point_++; return; } if (code->kind() == Code::STUB) { if (type_ == ALL_BREAK_LOCATIONS) { if (Debug::IsBreakStub(code)) { break_point_++; return; } } else { ASSERT(type_ == SOURCE_BREAK_LOCATIONS); if (Debug::IsSourceBreakStub(code)) { break_point_++; return; } } } } // Check for break at return. if (RelocInfo::IsJSReturn(rmode())) { // Set the positions to the end of the function. if (debug_info_->shared()->HasSourceCode()) { position_ = debug_info_->shared()->end_position() - debug_info_->shared()->start_position(); } else { position_ = 0; } statement_position_ = position_; break_point_++; return; } } } void BreakLocationIterator::Next(int count) { while (count > 0) { Next(); count--; } } // Find the break point closest to the supplied address. void BreakLocationIterator::FindBreakLocationFromAddress(Address pc) { // Run through all break points to locate the one closest to the address. int closest_break_point = 0; int distance = kMaxInt; while (!Done()) { // Check if this break point is closer that what was previously found. if (this->pc() < pc && pc - this->pc() < distance) { closest_break_point = break_point(); distance = pc - this->pc(); // Check whether we can't get any closer. if (distance == 0) break; } Next(); } // Move to the break point found. Reset(); Next(closest_break_point); } // Find the break point closest to the supplied source position. void BreakLocationIterator::FindBreakLocationFromPosition(int position) { // Run through all break points to locate the one closest to the source // position. int closest_break_point = 0; int distance = kMaxInt; while (!Done()) { // Check if this break point is closer that what was previously found. if (position <= statement_position() && statement_position() - position < distance) { closest_break_point = break_point(); distance = statement_position() - position; // Check whether we can't get any closer. if (distance == 0) break; } Next(); } // Move to the break point found. Reset(); Next(closest_break_point); } void BreakLocationIterator::Reset() { // Create relocation iterators for the two code objects. if (reloc_iterator_ != NULL) delete reloc_iterator_; if (reloc_iterator_original_ != NULL) delete reloc_iterator_original_; reloc_iterator_ = new RelocIterator(debug_info_->code()); reloc_iterator_original_ = new RelocIterator(debug_info_->original_code()); // Position at the first break point. break_point_ = -1; position_ = 1; statement_position_ = 1; Next(); } bool BreakLocationIterator::Done() const { return RinfoDone(); } void BreakLocationIterator::SetBreakPoint(Handle<Object> break_point_object) { // If there is not already a real break point here patch code with debug // break. if (!HasBreakPoint()) { SetDebugBreak(); } ASSERT(IsDebugBreak()); // Set the break point information. DebugInfo::SetBreakPoint(debug_info_, code_position(), position(), statement_position(), break_point_object); } void BreakLocationIterator::ClearBreakPoint(Handle<Object> break_point_object) { // Clear the break point information. DebugInfo::ClearBreakPoint(debug_info_, code_position(), break_point_object); // If there are no more break points here remove the debug break. if (!HasBreakPoint()) { ClearDebugBreak(); ASSERT(!IsDebugBreak()); } } void BreakLocationIterator::SetOneShot() { // If there is a real break point here no more to do. if (HasBreakPoint()) { ASSERT(IsDebugBreak()); return; } // Patch code with debug break. SetDebugBreak(); } void BreakLocationIterator::ClearOneShot() { // If there is a real break point here no more to do. if (HasBreakPoint()) { ASSERT(IsDebugBreak()); return; } // Patch code removing debug break. ClearDebugBreak(); ASSERT(!IsDebugBreak()); } void BreakLocationIterator::SetDebugBreak() { // If there is already a break point here just return. This might happen if // the same code is flooded with break points twice. Flooding the same // function twice might happen when stepping in a function with an exception // handler as the handler and the function is the same. if (IsDebugBreak()) { return; } if (RelocInfo::IsJSReturn(rmode())) { // This path is currently only used on IA32 as JSExitFrame on ARM uses a // stub. // Patch the JS frame exit code with a debug break call. See // VisitReturnStatement and ExitJSFrame in codegen-ia32.cc for the // precise return instructions sequence. ASSERT(Debug::kIa32JSReturnSequenceLength >= Debug::kIa32CallInstructionLength); rinfo()->patch_code_with_call(Debug::debug_break_return_entry()->entry(), Debug::kIa32JSReturnSequenceLength - Debug::kIa32CallInstructionLength); } else { // Patch the original code with the current address as the current address // might have changed by the inline caching since the code was copied. original_rinfo()->set_target_address(rinfo()->target_address()); // Patch the code to invoke the builtin debug break function matching the // calling convention used by the call site. Handle<Code> dbgbrk_code(Debug::FindDebugBreak(rinfo())); rinfo()->set_target_address(dbgbrk_code->entry()); } ASSERT(IsDebugBreak()); } void BreakLocationIterator::ClearDebugBreak() { if (RelocInfo::IsJSReturn(rmode())) { // Restore the JS frame exit code. rinfo()->patch_code(original_rinfo()->pc(), Debug::kIa32JSReturnSequenceLength); } else { // Patch the code to the original invoke. rinfo()->set_target_address(original_rinfo()->target_address()); } ASSERT(!IsDebugBreak()); } void BreakLocationIterator::PrepareStepIn() { // Step in can only be prepared if currently positioned on an IC call or // construct call. Address target = rinfo()->target_address(); Code* code = Debug::GetCodeTarget(target); if (code->is_call_stub()) { // Step in through IC call is handled by the runtime system. Therefore make // sure that the any current IC is cleared and the runtime system is // called. If the executing code has a debug break at the location change // the call in the original code as it is the code there that will be // executed in place of the debug break call. Handle<Code> stub = ComputeCallDebugPrepareStepIn(code->arguments_count()); if (IsDebugBreak()) { original_rinfo()->set_target_address(stub->entry()); } else { rinfo()->set_target_address(stub->entry()); } } else { // Step in through constructs call requires no changes to the running code. ASSERT(RelocInfo::IsConstructCall(rmode())); } } // Check whether the break point is at a position which will exit the function. bool BreakLocationIterator::IsExit() const { return (RelocInfo::IsJSReturn(rmode())); } bool BreakLocationIterator::HasBreakPoint() { return debug_info_->HasBreakPoint(code_position()); } // Check whether there is a debug break at the current position. bool BreakLocationIterator::IsDebugBreak() { if (RelocInfo::IsJSReturn(rmode())) { // This is IA32 specific but works as long as the ARM version // still uses a stub for JSExitFrame. // // TODO(1240753): Make the test architecture independent or split // parts of the debugger into architecture dependent files. return (*(rinfo()->pc()) == 0xE8); } else { return Debug::IsDebugBreak(rinfo()->target_address()); } } Object* BreakLocationIterator::BreakPointObjects() { return debug_info_->GetBreakPointObjects(code_position()); } bool BreakLocationIterator::RinfoDone() const { ASSERT(reloc_iterator_->done() == reloc_iterator_original_->done()); return reloc_iterator_->done(); } void BreakLocationIterator::RinfoNext() { reloc_iterator_->next(); reloc_iterator_original_->next(); #ifdef DEBUG ASSERT(reloc_iterator_->done() == reloc_iterator_original_->done()); if (!reloc_iterator_->done()) { ASSERT(rmode() == original_rmode()); } #endif } bool Debug::has_break_points_ = false; DebugInfoListNode* Debug::debug_info_list_ = NULL; // Threading support. void Debug::ThreadInit() { thread_local_.last_step_action_ = StepNone; thread_local_.last_statement_position_ = RelocInfo::kNoPosition; thread_local_.step_count_ = 0; thread_local_.last_fp_ = 0; thread_local_.step_into_fp_ = 0; thread_local_.after_break_target_ = 0; } JSCallerSavedBuffer Debug::registers_; Debug::ThreadLocal Debug::thread_local_; char* Debug::ArchiveDebug(char* storage) { char* to = storage; memcpy(to, reinterpret_cast<char*>(&thread_local_), sizeof(ThreadLocal)); to += sizeof(ThreadLocal); memcpy(to, reinterpret_cast<char*>(&registers_), sizeof(registers_)); ThreadInit(); ASSERT(to <= storage + ArchiveSpacePerThread()); return storage + ArchiveSpacePerThread(); } char* Debug::RestoreDebug(char* storage) { char* from = storage; memcpy(reinterpret_cast<char*>(&thread_local_), from, sizeof(ThreadLocal)); from += sizeof(ThreadLocal); memcpy(reinterpret_cast<char*>(&registers_), from, sizeof(registers_)); ASSERT(from <= storage + ArchiveSpacePerThread()); return storage + ArchiveSpacePerThread(); } int Debug::ArchiveSpacePerThread() { return sizeof(ThreadLocal) + sizeof(registers_); } // Default break enabled. bool Debug::disable_break_ = false; // Default call debugger on uncaught exception. bool Debug::break_on_exception_ = false; bool Debug::break_on_uncaught_exception_ = true; Handle<Context> Debug::debug_context_ = Handle<Context>(); Code* Debug::debug_break_return_entry_ = NULL; Code* Debug::debug_break_return_ = NULL; void Debug::HandleWeakDebugInfo(v8::Persistent<v8::Object> obj, void* data) { DebugInfoListNode* node = reinterpret_cast<DebugInfoListNode*>(data); RemoveDebugInfo(node->debug_info()); #ifdef DEBUG node = Debug::debug_info_list_; while (node != NULL) { ASSERT(node != reinterpret_cast<DebugInfoListNode*>(data)); node = node->next(); } #endif } DebugInfoListNode::DebugInfoListNode(DebugInfo* debug_info): next_(NULL) { // Globalize the request debug info object and make it weak. debug_info_ = Handle<DebugInfo>::cast((GlobalHandles::Create(debug_info))); GlobalHandles::MakeWeak(reinterpret_cast<Object**>(debug_info_.location()), this, Debug::HandleWeakDebugInfo); } DebugInfoListNode::~DebugInfoListNode() { GlobalHandles::Destroy(reinterpret_cast<Object**>(debug_info_.location())); } void Debug::Setup(bool create_heap_objects) { ThreadInit(); if (create_heap_objects) { // Get code to handle entry to debug break on return. debug_break_return_entry_ = Builtins::builtin(Builtins::Return_DebugBreakEntry); ASSERT(debug_break_return_entry_->IsCode()); // Get code to handle debug break on return. debug_break_return_ = Builtins::builtin(Builtins::Return_DebugBreak); ASSERT(debug_break_return_->IsCode()); } } bool Debug::CompileDebuggerScript(int index) { HandleScope scope; // Bail out if the index is invalid. if (index == -1) { return false; } // Find source and name for the requested script. Handle<String> source_code = Bootstrapper::NativesSourceLookup(index); Vector<const char> name = Natives::GetScriptName(index); Handle<String> script_name = Factory::NewStringFromAscii(name); // Compile the script. bool allow_natives_syntax = FLAG_allow_natives_syntax; FLAG_allow_natives_syntax = true; Handle<JSFunction> boilerplate; boilerplate = Compiler::Compile(source_code, script_name, 0, 0, NULL, NULL); FLAG_allow_natives_syntax = allow_natives_syntax; // Silently ignore stack overflows during compilation. if (boilerplate.is_null()) { ASSERT(Top::has_pending_exception()); Top::clear_pending_exception(); return false; } // Execute the boilerplate function in the debugger context. Handle<Context> context = Top::global_context(); bool caught_exception = false; Handle<JSFunction> function = Factory::NewFunctionFromBoilerplate(boilerplate, context); Handle<Object> result = Execution::TryCall(function, Handle<Object>(context->global()), 0, NULL, &caught_exception); // Check for caught exceptions. if (caught_exception) { Handle<Object> message = MessageHandler::MakeMessageObject( "error_loading_debugger", NULL, HandleVector<Object>(&result, 1), Handle<String>()); MessageHandler::ReportMessage(NULL, message); return false; } // Mark this script as native and return successfully. Handle<Script> script(Script::cast(function->shared()->script())); script->set_type(Smi::FromInt(SCRIPT_TYPE_NATIVE)); return true; } bool Debug::Load() { // Return if debugger is already loaded. if (IsLoaded()) return true; // Bail out if we're already in the process of compiling the native // JavaScript source code for the debugger. if (Debugger::compiling_natives() || Debugger::is_loading_debugger()) return false; Debugger::set_loading_debugger(true); // Disable breakpoints and interrupts while compiling and running the // debugger scripts including the context creation code. DisableBreak disable(true); PostponeInterruptsScope postpone; // Create the debugger context. HandleScope scope; Handle<Context> context = Bootstrapper::CreateEnvironment(Handle<Object>::null(), v8::Handle<ObjectTemplate>(), NULL); // Use the debugger context. SaveContext save; Top::set_context(*context); Top::set_security_context(*context); // Expose the builtins object in the debugger context. Handle<String> key = Factory::LookupAsciiSymbol("builtins"); Handle<GlobalObject> global = Handle<GlobalObject>(context->global()); SetProperty(global, key, Handle<Object>(global->builtins()), NONE); // Compile the JavaScript for the debugger in the debugger context. Debugger::set_compiling_natives(true); bool caught_exception = !CompileDebuggerScript(Natives::GetIndex("mirror")) || !CompileDebuggerScript(Natives::GetIndex("debug")); Debugger::set_compiling_natives(false); // Make sure we mark the debugger as not loading before we might // return. Debugger::set_loading_debugger(false); // Check for caught exceptions. if (caught_exception) return false; // Debugger loaded. debug_context_ = Handle<Context>::cast(GlobalHandles::Create(*context)); return true; } void Debug::Unload() { // Return debugger is not loaded. if (!IsLoaded()) { return; } // Clear debugger context global handle. GlobalHandles::Destroy(reinterpret_cast<Object**>(debug_context_.location())); debug_context_ = Handle<Context>(); } void Debug::Iterate(ObjectVisitor* v) { #define VISIT(field) v->VisitPointer(reinterpret_cast<Object**>(&(field))); VISIT(debug_break_return_entry_); VISIT(debug_break_return_); #undef VISIT } Object* Debug::Break(Arguments args) { HandleScope scope; ASSERT(args.length() == 0); // Get the top-most JavaScript frame. JavaScriptFrameIterator it; JavaScriptFrame* frame = it.frame(); // Just continue if breaks are disabled or debugger cannot be loaded. if (disable_break() || !Load()) { SetAfterBreakTarget(frame); return Heap::undefined_value(); } SaveBreakFrame save; EnterDebuggerContext enter; // Postpone interrupt during breakpoint processing. PostponeInterruptsScope postpone; // Get the debug info (create it if it does not exist). Handle<SharedFunctionInfo> shared = Handle<SharedFunctionInfo>(JSFunction::cast(frame->function())->shared()); Handle<DebugInfo> debug_info = GetDebugInfo(shared); // Find the break point where execution has stopped. BreakLocationIterator break_location_iterator(debug_info, ALL_BREAK_LOCATIONS); break_location_iterator.FindBreakLocationFromAddress(frame->pc()); // Check whether step next reached a new statement. if (!StepNextContinue(&break_location_iterator, frame)) { // Decrease steps left if performing multiple steps. if (thread_local_.step_count_ > 0) { thread_local_.step_count_--; } } // If there is one or more real break points check whether any of these are // triggered. Handle<Object> break_points_hit(Heap::undefined_value()); if (break_location_iterator.HasBreakPoint()) { Handle<Object> break_point_objects = Handle<Object>(break_location_iterator.BreakPointObjects()); break_points_hit = CheckBreakPoints(break_point_objects); } // Notify debugger if a real break point is triggered or if performing single // stepping with no more steps to perform. Otherwise do another step. if (!break_points_hit->IsUndefined() || (thread_local_.last_step_action_ != StepNone && thread_local_.step_count_ == 0)) { // Clear all current stepping setup. ClearStepping(); // Notify the debug event listeners. Debugger::OnDebugBreak(break_points_hit); } else if (thread_local_.last_step_action_ != StepNone) { // Hold on to last step action as it is cleared by the call to // ClearStepping. StepAction step_action = thread_local_.last_step_action_; int step_count = thread_local_.step_count_; // Clear all current stepping setup. ClearStepping(); // Set up for the remaining steps. PrepareStep(step_action, step_count); } // Install jump to the call address which was overwritten. SetAfterBreakTarget(frame); return Heap::undefined_value(); } // Check the break point objects for whether one or more are actually // triggered. This function returns a JSArray with the break point objects // which is triggered. Handle<Object> Debug::CheckBreakPoints(Handle<Object> break_point_objects) { int break_points_hit_count = 0; Handle<JSArray> break_points_hit = Factory::NewJSArray(1); // If there are multiple break points they are in a FixedArray. ASSERT(!break_point_objects->IsUndefined()); if (break_point_objects->IsFixedArray()) { Handle<FixedArray> array(FixedArray::cast(*break_point_objects)); for (int i = 0; i < array->length(); i++) { Handle<Object> o(array->get(i)); if (CheckBreakPoint(o)) { break_points_hit->SetElement(break_points_hit_count++, *o); } } } else { if (CheckBreakPoint(break_point_objects)) { break_points_hit->SetElement(break_points_hit_count++, *break_point_objects); } } // Return undefined if no break points where triggered. if (break_points_hit_count == 0) { return Factory::undefined_value(); } return break_points_hit; } // Check whether a single break point object is triggered. bool Debug::CheckBreakPoint(Handle<Object> break_point_object) { // Ignore check if break point object is not a JSObject. if (!break_point_object->IsJSObject()) return true; // Get the function CheckBreakPoint (defined in debug.js). Handle<JSFunction> check_break_point = Handle<JSFunction>(JSFunction::cast( debug_context()->global()->GetProperty( *Factory::LookupAsciiSymbol("IsBreakPointTriggered")))); // Get the break id as an object. Handle<Object> break_id = Factory::NewNumberFromInt(Top::break_id()); // Call HandleBreakPointx. bool caught_exception = false; const int argc = 2; Object** argv[argc] = { break_id.location(), reinterpret_cast<Object**>(break_point_object.location()) }; Handle<Object> result = Execution::TryCall(check_break_point, Top::builtins(), argc, argv, &caught_exception); // If exception or non boolean result handle as not triggered if (caught_exception || !result->IsBoolean()) { return false; } // Return whether the break point is triggered. return *result == Heap::true_value(); } // Check whether the function has debug information. bool Debug::HasDebugInfo(Handle<SharedFunctionInfo> shared) { return !shared->debug_info()->IsUndefined(); } // Return the debug info for this function. EnsureDebugInfo must be called // prior to ensure the debug info has been generated for shared. Handle<DebugInfo> Debug::GetDebugInfo(Handle<SharedFunctionInfo> shared) { ASSERT(HasDebugInfo(shared)); return Handle<DebugInfo>(DebugInfo::cast(shared->debug_info())); } void Debug::SetBreakPoint(Handle<SharedFunctionInfo> shared, int source_position, Handle<Object> break_point_object) { if (!EnsureDebugInfo(shared)) { // Return if retrieving debug info failed. return; } Handle<DebugInfo> debug_info = GetDebugInfo(shared); // Source positions starts with zero. ASSERT(source_position >= 0); // Find the break point and change it. BreakLocationIterator it(debug_info, SOURCE_BREAK_LOCATIONS); it.FindBreakLocationFromPosition(source_position); it.SetBreakPoint(break_point_object); // At least one active break point now. ASSERT(debug_info->GetBreakPointCount() > 0); } void Debug::ClearBreakPoint(Handle<Object> break_point_object) { DebugInfoListNode* node = debug_info_list_; while (node != NULL) { Object* result = DebugInfo::FindBreakPointInfo(node->debug_info(), break_point_object); if (!result->IsUndefined()) { // Get information in the break point. BreakPointInfo* break_point_info = BreakPointInfo::cast(result); Handle<DebugInfo> debug_info = node->debug_info(); Handle<SharedFunctionInfo> shared(debug_info->shared()); int source_position = break_point_info->statement_position()->value(); // Source positions starts with zero. ASSERT(source_position >= 0); // Find the break point and clear it. BreakLocationIterator it(debug_info, SOURCE_BREAK_LOCATIONS); it.FindBreakLocationFromPosition(source_position); it.ClearBreakPoint(break_point_object); // If there are no more break points left remove the debug info for this // function. if (debug_info->GetBreakPointCount() == 0) { RemoveDebugInfo(debug_info); } return; } node = node->next(); } } void Debug::FloodWithOneShot(Handle<SharedFunctionInfo> shared) { // Make sure the function has setup the debug info. if (!EnsureDebugInfo(shared)) { // Return if we failed to retrieve the debug info. return; } // Flood the function with break points. BreakLocationIterator it(GetDebugInfo(shared), ALL_BREAK_LOCATIONS); while (!it.Done()) { it.SetOneShot(); it.Next(); } } void Debug::FloodHandlerWithOneShot() { StackFrame::Id id = Top::break_frame_id(); for (JavaScriptFrameIterator it(id); !it.done(); it.Advance()) { JavaScriptFrame* frame = it.frame(); if (frame->HasHandler()) { Handle<SharedFunctionInfo> shared = Handle<SharedFunctionInfo>( JSFunction::cast(frame->function())->shared()); // Flood the function with the catch block with break points FloodWithOneShot(shared); return; } } } void Debug::ChangeBreakOnException(ExceptionBreakType type, bool enable) { if (type == BreakUncaughtException) { break_on_uncaught_exception_ = enable; } else { break_on_exception_ = enable; } } void Debug::PrepareStep(StepAction step_action, int step_count) { HandleScope scope; ASSERT(Debug::InDebugger()); // Remember this step action and count. thread_local_.last_step_action_ = step_action; thread_local_.step_count_ = step_count; // Get the frame where the execution has stopped and skip the debug frame if // any. The debug frame will only be present if execution was stopped due to // hitting a break point. In other situations (e.g. unhandled exception) the // debug frame is not present. StackFrame::Id id = Top::break_frame_id(); JavaScriptFrameIterator frames_it(id); JavaScriptFrame* frame = frames_it.frame(); // First of all ensure there is one-shot break points in the top handler // if any. FloodHandlerWithOneShot(); // If the function on the top frame is unresolved perform step out. This will // be the case when calling unknown functions and having the debugger stopped // in an unhandled exception. if (!frame->function()->IsJSFunction()) { // Step out: Find the calling JavaScript frame and flood it with // breakpoints. frames_it.Advance(); // Fill the function to return to with one-shot break points. JSFunction* function = JSFunction::cast(frames_it.frame()->function()); FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared())); return; } // Get the debug info (create it if it does not exist). Handle<SharedFunctionInfo> shared = Handle<SharedFunctionInfo>(JSFunction::cast(frame->function())->shared()); if (!EnsureDebugInfo(shared)) { // Return if ensuring debug info failed. return; } Handle<DebugInfo> debug_info = GetDebugInfo(shared); // Find the break location where execution has stopped. BreakLocationIterator it(debug_info, ALL_BREAK_LOCATIONS); it.FindBreakLocationFromAddress(frame->pc()); // Compute whether or not the target is a call target. bool is_call_target = false; if (RelocInfo::IsCodeTarget(it.rinfo()->rmode())) { Address target = it.rinfo()->target_address(); Code* code = Debug::GetCodeTarget(target); if (code->is_call_stub()) is_call_target = true; } // If this is the last break code target step out is the only possibility. if (it.IsExit() || step_action == StepOut) { // Step out: If there is a JavaScript caller frame, we need to // flood it with breakpoints. frames_it.Advance(); if (!frames_it.done()) { // Fill the function to return to with one-shot break points. JSFunction* function = JSFunction::cast(frames_it.frame()->function()); FloodWithOneShot(Handle<SharedFunctionInfo>(function->shared())); } } else if (!(is_call_target || RelocInfo::IsConstructCall(it.rmode())) || step_action == StepNext || step_action == StepMin) { // Step next or step min. // Fill the current function with one-shot break points. FloodWithOneShot(shared); // Remember source position and frame to handle step next. thread_local_.last_statement_position_ = debug_info->code()->SourceStatementPosition(frame->pc()); thread_local_.last_fp_ = frame->fp(); } else { // Fill the current function with one-shot break points even for step in on // a call target as the function called might be a native function for // which step in will not stop. FloodWithOneShot(shared); // Step in or Step in min it.PrepareStepIn(); ActivateStepIn(frame); } } // Check whether the current debug break should be reported to the debugger. It // is used to have step next and step in only report break back to the debugger // if on a different frame or in a different statement. In some situations // there will be several break points in the same statement when the code is // flooded with one-shot break points. This function helps to perform several // steps before reporting break back to the debugger. bool Debug::StepNextContinue(BreakLocationIterator* break_location_iterator, JavaScriptFrame* frame) { // If the step last action was step next or step in make sure that a new // statement is hit. if (thread_local_.last_step_action_ == StepNext || thread_local_.last_step_action_ == StepIn) { // Never continue if returning from function. if (break_location_iterator->IsExit()) return false; // Continue if we are still on the same frame and in the same statement. int current_statement_position = break_location_iterator->code()->SourceStatementPosition(frame->pc()); return thread_local_.last_fp_ == frame->fp() && thread_local_.last_statement_position_ == current_statement_position; } // No step next action - don't continue. return false; } // Check whether the code object at the specified address is a debug break code // object. bool Debug::IsDebugBreak(Address addr) { Code* code = GetCodeTarget(addr); return code->ic_state() == DEBUG_BREAK; } // Check whether a code stub with the specified major key is a possible break // point location when looking for source break locations. bool Debug::IsSourceBreakStub(Code* code) { CodeStub::Major major_key = code->major_key(); return major_key == CodeStub::CallFunction; } // Check whether a code stub with the specified major key is a possible break // location. bool Debug::IsBreakStub(Code* code) { CodeStub::Major major_key = code->major_key(); return major_key == CodeStub::CallFunction || major_key == CodeStub::StackCheck; } // Find the builtin to use for invoking the debug break Handle<Code> Debug::FindDebugBreak(RelocInfo* rinfo) { // Find the builtin debug break function matching the calling convention // used by the call site. RelocInfo::Mode mode = rinfo->rmode(); if (RelocInfo::IsCodeTarget(mode)) { Address target = rinfo->target_address(); Code* code = Debug::GetCodeTarget(target); if (code->is_inline_cache_stub()) { if (code->is_call_stub()) { return ComputeCallDebugBreak(code->arguments_count()); } if (code->is_load_stub()) { return Handle<Code>(Builtins::builtin(Builtins::LoadIC_DebugBreak)); } if (code->is_store_stub()) { return Handle<Code>(Builtins::builtin(Builtins::StoreIC_DebugBreak)); } if (code->is_keyed_load_stub()) { Handle<Code> result = Handle<Code>(Builtins::builtin(Builtins::KeyedLoadIC_DebugBreak)); return result; } if (code->is_keyed_store_stub()) { Handle<Code> result = Handle<Code>(Builtins::builtin(Builtins::KeyedStoreIC_DebugBreak)); return result; } } if (RelocInfo::IsConstructCall(mode)) { Handle<Code> result = Handle<Code>(Builtins::builtin(Builtins::ConstructCall_DebugBreak)); return result; } if (code->kind() == Code::STUB) { ASSERT(code->major_key() == CodeStub::CallFunction || code->major_key() == CodeStub::StackCheck); Handle<Code> result = Handle<Code>(Builtins::builtin(Builtins::StubNoRegisters_DebugBreak)); return result; } } UNREACHABLE(); return Handle<Code>::null(); } // Simple function for returning the source positions for active break points. Handle<Object> Debug::GetSourceBreakLocations( Handle<SharedFunctionInfo> shared) { if (!HasDebugInfo(shared)) return Handle<Object>(Heap::undefined_value()); Handle<DebugInfo> debug_info = GetDebugInfo(shared); if (debug_info->GetBreakPointCount() == 0) { return Handle<Object>(Heap::undefined_value()); } Handle<FixedArray> locations = Factory::NewFixedArray(debug_info->GetBreakPointCount()); int count = 0; for (int i = 0; i < debug_info->break_points()->length(); i++) { if (!debug_info->break_points()->get(i)->IsUndefined()) { BreakPointInfo* break_point_info = BreakPointInfo::cast(debug_info->break_points()->get(i)); if (break_point_info->GetBreakPointCount() > 0) { locations->set(count++, break_point_info->statement_position()); } } } return locations; } void Debug::ClearStepping() { // Clear the various stepping setup. ClearOneShot(); ClearStepIn(); ClearStepNext(); // Clear multiple step counter. thread_local_.step_count_ = 0; } // Clears all the one-shot break points that are currently set. Normally this // function is called each time a break point is hit as one shot break points // are used to support stepping. void Debug::ClearOneShot() { // The current implementation just runs through all the breakpoints. When the // last break point for a function is removed that function is automatically // removed from the list. DebugInfoListNode* node = debug_info_list_; while (node != NULL) { BreakLocationIterator it(node->debug_info(), ALL_BREAK_LOCATIONS); while (!it.Done()) { it.ClearOneShot(); it.Next(); } node = node->next(); } } void Debug::ActivateStepIn(StackFrame* frame) { thread_local_.step_into_fp_ = frame->fp(); } void Debug::ClearStepIn() { thread_local_.step_into_fp_ = 0; } void Debug::ClearStepNext() { thread_local_.last_step_action_ = StepNone; thread_local_.last_statement_position_ = RelocInfo::kNoPosition; thread_local_.last_fp_ = 0; } bool Debug::EnsureCompiled(Handle<SharedFunctionInfo> shared) { if (shared->is_compiled()) return true; return CompileLazyShared(shared, CLEAR_EXCEPTION); } // Ensures the debug information is present for shared. bool Debug::EnsureDebugInfo(Handle<SharedFunctionInfo> shared) { // Return if we already have the debug info for shared. if (HasDebugInfo(shared)) return true; // Ensure shared in compiled. Return false if this failed. if (!EnsureCompiled(shared)) return false; // Create the debug info object. Handle<DebugInfo> debug_info = Factory::NewDebugInfo(shared); // Add debug info to the list. DebugInfoListNode* node = new DebugInfoListNode(*debug_info); node->set_next(debug_info_list_); debug_info_list_ = node; // Now there is at least one break point. has_break_points_ = true; return true; } void Debug::RemoveDebugInfo(Handle<DebugInfo> debug_info) { ASSERT(debug_info_list_ != NULL); // Run through the debug info objects to find this one and remove it. DebugInfoListNode* prev = NULL; DebugInfoListNode* current = debug_info_list_; while (current != NULL) { if (*current->debug_info() == *debug_info) { // Unlink from list. If prev is NULL we are looking at the first element. if (prev == NULL) { debug_info_list_ = current->next(); } else { prev->set_next(current->next()); } current->debug_info()->shared()->set_debug_info(Heap::undefined_value()); delete current; // If there are no more debug info objects there are not more break // points. has_break_points_ = debug_info_list_ != NULL; return; } // Move to next in list. prev = current; current = current->next(); } UNREACHABLE(); } void Debug::SetAfterBreakTarget(JavaScriptFrame* frame) { // Get the executing function in which the debug break occurred. Handle<SharedFunctionInfo> shared = Handle<SharedFunctionInfo>(JSFunction::cast(frame->function())->shared()); if (!EnsureDebugInfo(shared)) { // Return if we failed to retrieve the debug info. return; } Handle<DebugInfo> debug_info = GetDebugInfo(shared); Handle<Code> code(debug_info->code()); Handle<Code> original_code(debug_info->original_code()); #ifdef DEBUG // Get the code which is actually executing. Handle<Code> frame_code(frame->FindCode()); ASSERT(frame_code.is_identical_to(code)); #endif // Find the call address in the running code. This address holds the call to // either a DebugBreakXXX or to the debug break return entry code if the // break point is still active after processing the break point. Address addr = frame->pc() - Assembler::kTargetAddrToReturnAddrDist; // Check if the location is at JS exit. bool at_js_exit = false; RelocIterator it(debug_info->code()); while (!it.done()) { if (RelocInfo::IsJSReturn(it.rinfo()->rmode())) { at_js_exit = it.rinfo()->pc() == addr - 1; } it.next(); } // Handle the jump to continue execution after break point depending on the // break location. if (at_js_exit) { // First check if the call in the code is still the debug break return // entry code. If it is the break point is still active. If not the break // point was removed during break point processing. if (Assembler::target_address_at(addr) == debug_break_return_entry()->entry()) { // Break point still active. Jump to the corresponding place in the // original code. addr += original_code->instruction_start() - code->instruction_start(); } // Move one byte back to where the call instruction was placed. thread_local_.after_break_target_ = addr - 1; } else { // Check if there still is a debug break call at the target address. If the // break point has been removed it will have disappeared. If it have // disappeared don't try to look in the original code as the running code // will have the right address. This takes care of the case where the last // break point is removed from the function and therefore no "original code" // is available. If the debug break call is still there find the address in // the original code. if (IsDebugBreak(Assembler::target_address_at(addr))) { // If the break point is still there find the call address which was // overwritten in the original code by the call to DebugBreakXXX. // Find the corresponding address in the original code. addr += original_code->instruction_start() - code->instruction_start(); } // Install jump to the call address in the original code. This will be the // call which was overwritten by the call to DebugBreakXXX. thread_local_.after_break_target_ = Assembler::target_address_at(addr); } } Code* Debug::GetCodeTarget(Address target) { // Maybe this can be refactored with the stuff in ic-inl.h? Code* result = Code::cast(HeapObject::FromAddress(target - Code::kHeaderSize)); return result; } bool Debug::IsDebugGlobal(GlobalObject* global) { return IsLoaded() && global == Debug::debug_context()->global(); } bool Debugger::debugger_active_ = false; bool Debugger::compiling_natives_ = false; bool Debugger::is_loading_debugger_ = false; DebugMessageThread* Debugger::message_thread_ = NULL; v8::DebugMessageHandler Debugger::debug_message_handler_ = NULL; void* Debugger::debug_message_handler_data_ = NULL; Handle<Object> Debugger::MakeJSObject(Vector<const char> constructor_name, int argc, Object*** argv, bool* caught_exception) { ASSERT(Top::context() == *Debug::debug_context()); // Create the execution state object. Handle<String> constructor_str = Factory::LookupSymbol(constructor_name); Handle<Object> constructor(Top::global()->GetProperty(*constructor_str)); ASSERT(constructor->IsJSFunction()); if (!constructor->IsJSFunction()) { *caught_exception = true; return Factory::undefined_value(); } Handle<Object> js_object = Execution::TryCall( Handle<JSFunction>::cast(constructor), Handle<JSObject>(Debug::debug_context()->global()), argc, argv, caught_exception); return js_object; } Handle<Object> Debugger::MakeExecutionState(bool* caught_exception) { // Create the execution state object. Handle<Object> break_id = Factory::NewNumberFromInt(Top::break_id()); const int argc = 1; Object** argv[argc] = { break_id.location() }; return MakeJSObject(CStrVector("MakeExecutionState"), argc, argv, caught_exception); } Handle<Object> Debugger::MakeBreakEvent(Handle<Object> exec_state, Handle<Object> break_points_hit, bool* caught_exception) { // Create the new break event object. const int argc = 2; Object** argv[argc] = { exec_state.location(), break_points_hit.location() }; return MakeJSObject(CStrVector("MakeBreakEvent"), argc, argv, caught_exception); } Handle<Object> Debugger::MakeExceptionEvent(Handle<Object> exec_state, Handle<Object> exception, bool uncaught, bool* caught_exception) { // Create the new exception event object. const int argc = 3; Object** argv[argc] = { exec_state.location(), exception.location(), uncaught ? Factory::true_value().location() : Factory::false_value().location()}; return MakeJSObject(CStrVector("MakeExceptionEvent"), argc, argv, caught_exception); } Handle<Object> Debugger::MakeNewFunctionEvent(Handle<Object> function, bool* caught_exception) { // Create the new function event object. const int argc = 1; Object** argv[argc] = { function.location() }; return MakeJSObject(CStrVector("MakeNewFunctionEvent"), argc, argv, caught_exception); } Handle<Object> Debugger::MakeCompileEvent(Handle<Script> script, Handle<Object> script_function, bool* caught_exception) { // Create the compile event object. Handle<Object> exec_state = MakeExecutionState(caught_exception); Handle<Object> script_source(script->source()); Handle<Object> script_name(script->name()); const int argc = 3; Object** argv[argc] = { script_source.location(), script_name.location(), script_function.location() }; return MakeJSObject(CStrVector("MakeCompileEvent"), argc, argv, caught_exception); } Handle<String> Debugger::ProcessRequest(Handle<Object> exec_state, Handle<Object> request, bool stopped) { // Get the function ProcessDebugRequest (declared in debug.js). Handle<JSFunction> process_denbug_request = Handle<JSFunction>(JSFunction::cast( Debug::debug_context()->global()->GetProperty( *Factory::LookupAsciiSymbol("ProcessDebugRequest")))); // Call ProcessDebugRequest expect String result. The ProcessDebugRequest // will never throw an exception (see debug.js). bool caught_exception; const int argc = 3; Object** argv[argc] = { exec_state.location(), request.location(), stopped ? Factory::true_value().location() : Factory::false_value().location()}; Handle<Object> result = Execution::TryCall(process_denbug_request, Factory::undefined_value(), argc, argv, &caught_exception); if (caught_exception) { return Factory::empty_symbol(); } return Handle<String>::cast(result); } void Debugger::OnException(Handle<Object> exception, bool uncaught) { HandleScope scope; // Bail out based on state or if there is no listener for this event if (Debug::InDebugger()) return; if (!Debugger::EventActive(v8::Exception)) return; // Bail out if exception breaks are not active if (uncaught) { // Uncaught exceptions are reported by either flags. if (!(Debug::break_on_uncaught_exception() || Debug::break_on_exception())) return; } else { // Caught exceptions are reported is activated. if (!Debug::break_on_exception()) return; } // Enter the debugger. Bail out if the debugger cannot be loaded. if (!Debug::Load()) return; SaveBreakFrame save; EnterDebuggerContext enter; // Clear all current stepping setup. Debug::ClearStepping(); // Create the event data object. bool caught_exception = false; Handle<Object> exec_state = MakeExecutionState(&caught_exception); Handle<Object> event_data; if (!caught_exception) { event_data = MakeExceptionEvent(exec_state, exception, uncaught, &caught_exception); } // Bail out and don't call debugger if exception. if (caught_exception) { return; } // Process debug event ProcessDebugEvent(v8::Exception, event_data); // Return to continue execution from where the exception was thrown. } void Debugger::OnDebugBreak(Handle<Object> break_points_hit) { HandleScope scope; // Debugger has already been entered by caller. ASSERT(Top::context() == *Debug::debug_context()); // Bail out if there is no listener for this event if (!Debugger::EventActive(v8::Break)) return; // Debugger must be entered in advance. ASSERT(Top::context() == *Debug::debug_context()); // Create the event data object. bool caught_exception = false; Handle<Object> exec_state = MakeExecutionState(&caught_exception); Handle<Object> event_data; if (!caught_exception) { event_data = MakeBreakEvent(exec_state, break_points_hit, &caught_exception); } // Bail out and don't call debugger if exception. if (caught_exception) { return; } // Process debug event ProcessDebugEvent(v8::Break, event_data); } void Debugger::OnBeforeCompile(Handle<Script> script) { HandleScope scope; // Bail out based on state or if there is no listener for this event if (Debug::InDebugger()) return; if (compiling_natives()) return; if (!EventActive(v8::BeforeCompile)) return; // Enter the debugger. Bail out if the debugger cannot be loaded. if (!Debug::Load()) return; SaveBreakFrame save; EnterDebuggerContext enter; // Create the event data object. bool caught_exception = false; Handle<Object> event_data = MakeCompileEvent(script, Factory::undefined_value(), &caught_exception); // Bail out and don't call debugger if exception. if (caught_exception) { return; } // Process debug event ProcessDebugEvent(v8::BeforeCompile, event_data); } // Handle debugger actions when a new script is compiled. void Debugger::OnAfterCompile(Handle<Script> script, Handle<JSFunction> fun) { HandleScope scope; // No compile events while compiling natives. if (compiling_natives()) return; // No more to do if not debugging. if (!debugger_active()) return; // Enter the debugger. Bail out if the debugger cannot be loaded. if (!Debug::Load()) return; SaveBreakFrame save; EnterDebuggerContext enter; // If debugging there might be script break points registered for this // script. Make sure that these break points are set. // Get the function UpdateScriptBreakPoints (defined in debug-delay.js). Handle<Object> update_script_break_points = Handle<Object>(Debug::debug_context()->global()->GetProperty( *Factory::LookupAsciiSymbol("UpdateScriptBreakPoints"))); if (!update_script_break_points->IsJSFunction()) { return; } ASSERT(update_script_break_points->IsJSFunction()); // Wrap the script object in a proper JS object before passing it // to JavaScript. Handle<JSValue> wrapper = GetScriptWrapper(script); // Call UpdateScriptBreakPoints expect no exceptions. bool caught_exception = false; const int argc = 1; Object** argv[argc] = { reinterpret_cast<Object**>(wrapper.location()) }; Handle<Object> result = Execution::TryCall( Handle<JSFunction>::cast(update_script_break_points), Top::builtins(), argc, argv, &caught_exception); if (caught_exception) { return; } // Bail out based on state or if there is no listener for this event if (Debug::InDebugger()) return; if (!Debugger::EventActive(v8::AfterCompile)) return; // Create the compile state object. Handle<Object> event_data = MakeCompileEvent(script, Factory::undefined_value(), &caught_exception); // Bail out and don't call debugger if exception. if (caught_exception) { return; } // Process debug event ProcessDebugEvent(v8::AfterCompile, event_data); } void Debugger::OnNewFunction(Handle<JSFunction> function) { return; HandleScope scope; // Bail out based on state or if there is no listener for this event if (Debug::InDebugger()) return; if (compiling_natives()) return; if (!Debugger::EventActive(v8::NewFunction)) return; // Enter the debugger. Bail out if the debugger cannot be loaded. if (!Debug::Load()) return; SaveBreakFrame save; EnterDebuggerContext enter; // Create the event object. bool caught_exception = false; Handle<Object> event_data = MakeNewFunctionEvent(function, &caught_exception); // Bail out and don't call debugger if exception. if (caught_exception) { return; } // Process debug event. ProcessDebugEvent(v8::NewFunction, event_data); } void Debugger::ProcessDebugEvent(v8::DebugEvent event, Handle<Object> event_data) { // Create the execution state. bool caught_exception = false; Handle<Object> exec_state = MakeExecutionState(&caught_exception); if (caught_exception) { return; } // First notify the builtin debugger. if (message_thread_ != NULL) { message_thread_->DebugEvent(event, exec_state, event_data); } // Notify registered debug event listeners. The list can contain both C and // JavaScript functions. v8::NeanderArray listeners(Factory::debug_event_listeners()); int length = listeners.length(); for (int i = 0; i < length; i++) { if (listeners.get(i)->IsUndefined()) continue; // Skip deleted ones. v8::NeanderObject listener(JSObject::cast(listeners.get(i))); Handle<Object> callback_data(listener.get(1)); if (listener.get(0)->IsProxy()) { // C debug event listener. Handle<Proxy> callback_obj(Proxy::cast(listener.get(0))); v8::DebugEventCallback callback = FUNCTION_CAST<v8::DebugEventCallback>(callback_obj->proxy()); callback(event, v8::Utils::ToLocal(Handle<JSObject>::cast(exec_state)), v8::Utils::ToLocal(Handle<JSObject>::cast(event_data)), v8::Utils::ToLocal(callback_data)); } else { // JavaScript debug event listener. ASSERT(listener.get(0)->IsJSFunction()); Handle<JSFunction> fun(JSFunction::cast(listener.get(0))); // Invoke the JavaScript debug event listener. const int argc = 4; Object** argv[argc] = { Handle<Object>(Smi::FromInt(event)).location(), exec_state.location(), event_data.location(), callback_data.location() }; Handle<Object> result = Execution::TryCall(fun, Top::global(), argc, argv, &caught_exception); if (caught_exception) { // Silently ignore exceptions from debug event listeners. } } } } void Debugger::SetMessageHandler(v8::DebugMessageHandler handler, void* data) { debug_message_handler_ = handler; debug_message_handler_data_ = data; if (!message_thread_) { message_thread_ = new DebugMessageThread(); message_thread_->Start(); } UpdateActiveDebugger(); } // Posts an output message from the debugger to the debug_message_handler // callback. This callback is part of the public API. Messages are // kept internally as Vector<uint16_t> strings, which are allocated in various // places and deallocated by the calling function sometime after this call. void Debugger::SendMessage(Vector< uint16_t> message) { if (debug_message_handler_ != NULL) { debug_message_handler_(message.start(), message.length(), debug_message_handler_data_); } } void Debugger::ProcessCommand(Vector<const uint16_t> command) { if (message_thread_ != NULL) { message_thread_->ProcessCommand( Vector<uint16_t>(const_cast<uint16_t *>(command.start()), command.length())); } } void Debugger::UpdateActiveDebugger() { v8::NeanderArray listeners(Factory::debug_event_listeners()); int length = listeners.length(); bool active_listener = false; for (int i = 0; i < length && !active_listener; i++) { active_listener = !listeners.get(i)->IsUndefined(); } set_debugger_active((Debugger::message_thread_ != NULL && Debugger::debug_message_handler_ != NULL) || active_listener); if (!debugger_active() && message_thread_) message_thread_->OnDebuggerInactive(); } DebugMessageThread::DebugMessageThread() : host_running_(true), command_queue_(kQueueInitialSize), message_queue_(kQueueInitialSize) { command_received_ = OS::CreateSemaphore(0); message_received_ = OS::CreateSemaphore(0); } // Does not free resources held by DebugMessageThread // because this cannot be done thread-safely. DebugMessageThread::~DebugMessageThread() { } // Puts an event coming from V8 on the queue. Creates // a copy of the JSON formatted event string managed by the V8. // Called by the V8 thread. // The new copy of the event string is destroyed in Run(). void DebugMessageThread::SendMessage(Vector<uint16_t> message) { Vector<uint16_t> message_copy = message.Clone(); Logger::DebugTag("Put message on event message_queue."); message_queue_.Put(message_copy); message_received_->Signal(); } void DebugMessageThread::SetEventJSONFromEvent(Handle<Object> event_data) { v8::HandleScope scope; // Call toJSONProtocol on the debug event object. v8::Local<v8::Object> api_event_data = v8::Utils::ToLocal(Handle<JSObject>::cast(event_data)); v8::Local<v8::String> fun_name = v8::String::New("toJSONProtocol"); v8::Local<v8::Function> fun = v8::Function::Cast(*api_event_data->Get(fun_name)); v8::TryCatch try_catch; v8::Local<v8::Value> json_event = *fun->Call(api_event_data, 0, NULL); v8::Local<v8::String> json_event_string; if (!try_catch.HasCaught()) { if (!json_event->IsUndefined()) { json_event_string = json_event->ToString(); if (FLAG_trace_debug_json) { PrintLn(json_event_string); } v8::String::Value val(json_event_string); Vector<uint16_t> str(reinterpret_cast<uint16_t*>(*val), json_event_string->Length()); SendMessage(str); } else { SendMessage(Vector<uint16_t>::empty()); } } else { PrintLn(try_catch.Exception()); SendMessage(Vector<uint16_t>::empty()); } } void DebugMessageThread::Run() { // Sends debug events to an installed debugger message callback. while (true) { // Wait and Get are paired so that semaphore count equals queue length. message_received_->Wait(); Logger::DebugTag("Get message from event message_queue."); Vector<uint16_t> message = message_queue_.Get(); if (message.length() > 0) { Debugger::SendMessage(message); } } } // This method is called by the V8 thread whenever a debug event occurs in // the VM. void DebugMessageThread::DebugEvent(v8::DebugEvent event, Handle<Object> exec_state, Handle<Object> event_data) { if (!Debug::Load()) return; // Process the individual events. bool interactive = false; switch (event) { case v8::Break: interactive = true; // Break event is always interactive break; case v8::Exception: interactive = true; // Exception event is always interactive break; case v8::BeforeCompile: break; case v8::AfterCompile: break; case v8::NewFunction: break; default: UNREACHABLE(); } // Done if not interactive. if (!interactive) return; // Get the DebugCommandProcessor. v8::Local<v8::Object> api_exec_state = v8::Utils::ToLocal(Handle<JSObject>::cast(exec_state)); v8::Local<v8::String> fun_name = v8::String::New("debugCommandProcessor"); v8::Local<v8::Function> fun = v8::Function::Cast(*api_exec_state->Get(fun_name)); v8::TryCatch try_catch; v8::Local<v8::Object> cmd_processor = v8::Object::Cast(*fun->Call(api_exec_state, 0, NULL)); if (try_catch.HasCaught()) { PrintLn(try_catch.Exception()); return; } // Notify the debugger that a debug event has occurred. host_running_ = false; SetEventJSONFromEvent(event_data); // Wait for commands from the debugger. while (true) { command_received_->Wait(); Logger::DebugTag("Get command from command queue, in interactive loop."); Vector<uint16_t> command = command_queue_.Get(); ASSERT(!host_running_); if (!Debugger::debugger_active()) { host_running_ = true; return; } // Invoke the JavaScript to convert the debug command line to a JSON // request, invoke the JSON request and convert the JSON response to a text // representation. v8::Local<v8::String> fun_name; v8::Local<v8::Function> fun; v8::Local<v8::Value> args[1]; v8::TryCatch try_catch; fun_name = v8::String::New("processDebugCommand"); fun = v8::Function::Cast(*cmd_processor->Get(fun_name)); args[0] = v8::String::New(reinterpret_cast<uint16_t*>(command.start()), command.length()); v8::Local<v8::Value> result_val = fun->Call(cmd_processor, 1, args); // Get the result of the command. v8::Local<v8::String> result_string; bool running = false; if (!try_catch.HasCaught()) { // Get the result as an object. v8::Local<v8::Object> result = v8::Object::Cast(*result_val); // Log the JSON request/response. if (FLAG_trace_debug_json) { PrintLn(result->Get(v8::String::New("request"))); PrintLn(result->Get(v8::String::New("response"))); } // Get the running state. running = result->Get(v8::String::New("running"))->ToBoolean()->Value(); // Get result text. v8::Local<v8::Value> text_result = result->Get(v8::String::New("response")); if (!text_result->IsUndefined()) { result_string = text_result->ToString(); } else { result_string = v8::String::New(""); } } else { // In case of failure the result text is the exception text. result_string = try_catch.Exception()->ToString(); } // Convert text result to C string. v8::String::Value val(result_string); Vector<uint16_t> str(reinterpret_cast<uint16_t*>(*val), result_string->Length()); // Set host_running_ correctly for nested debugger evaluations. host_running_ = running; // Return the result. SendMessage(str); // Return from debug event processing is VM should be running. if (running) { return; } } } // Puts a command coming from the public API on the queue. Creates // a copy of the command string managed by the debugger. Up to this // point, the command data was managed by the API client. Called // by the API client thread. This is where the API client hands off // processing of the command to the DebugMessageThread thread. // The new copy of the command is destroyed in HandleCommand(). void DebugMessageThread::ProcessCommand(Vector<uint16_t> command) { Vector<uint16_t> command_copy = command.Clone(); Logger::DebugTag("Put command on command_queue."); command_queue_.Put(command_copy); command_received_->Signal(); } void DebugMessageThread::OnDebuggerInactive() { // Send an empty command to the debugger if in a break to make JavaScript run // again if the debugger is closed. if (!host_running_) { ProcessCommand(Vector<uint16_t>::empty()); } } MessageQueue::MessageQueue(int size) : start_(0), end_(0), size_(size) { messages_ = NewArray<Vector<uint16_t> >(size); } MessageQueue::~MessageQueue() { DeleteArray(messages_); } Vector<uint16_t> MessageQueue::Get() { ASSERT(!IsEmpty()); int result = start_; start_ = (start_ + 1) % size_; return messages_[result]; } void MessageQueue::Put(const Vector<uint16_t>& message) { if ((end_ + 1) % size_ == start_) { Expand(); } messages_[end_] = message; end_ = (end_ + 1) % size_; } void MessageQueue::Expand() { MessageQueue new_queue(size_ * 2); while (!IsEmpty()) { new_queue.Put(Get()); } Vector<uint16_t>* array_to_free = messages_; *this = new_queue; new_queue.messages_ = array_to_free; // Automatic destructor called on new_queue, freeing array_to_free. } LockingMessageQueue::LockingMessageQueue(int size) : queue_(size) { lock_ = OS::CreateMutex(); } LockingMessageQueue::~LockingMessageQueue() { delete lock_; } bool LockingMessageQueue::IsEmpty() const { ScopedLock sl(lock_); return queue_.IsEmpty(); } Vector<uint16_t> LockingMessageQueue::Get() { ScopedLock sl(lock_); Vector<uint16_t> result = queue_.Get(); Logger::DebugEvent("Get", result); return result; } void LockingMessageQueue::Put(const Vector<uint16_t>& message) { ScopedLock sl(lock_); queue_.Put(message); Logger::DebugEvent("Put", message); } void LockingMessageQueue::Clear() { ScopedLock sl(lock_); queue_.Clear(); } } } // namespace v8::internal
33.389367
80
0.681715
martine
b6958eef89a7093d2879e57ef381231442a0232b
10,318
cpp
C++
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#include "D3D12DescriptorCreator.hpp" #include "D3D12SrvDescriptorManager.hpp" D3D12::DescriptorCreator::DescriptorCreator(FrameGraph* frameGraph, RenderableScene* renderableScene): mFrameGraphToCreateDescriptors(frameGraph), mSceneToMakeDescriptors(renderableScene) { mTextureTableRequestState = DescriptorRequestState::NotRequested; mMaterialDataTableRequestState = DescriptorRequestState::NotRequested; mFrameDataTableRequestState = DescriptorRequestState::NotRequested; mObjectDataTableRequestState = DescriptorRequestState::NotRequested; mTextureDescriptorTableStart = {.ptr = (UINT64)(-1)}; mMaterialDataDescriptorTableStart = {.ptr = (UINT64)(-1)}; mFrameDataDescriptorTableStart = {.ptr = (UINT64)(-1)}; mObjectDataDescriptorTableStart = {.ptr = (UINT64)(-1)}; mSceneDescriptorsCount = 5; //Minimum 1 for each type mPassDescriptorsCount = 0; RequestDescriptors(); } D3D12::DescriptorCreator::~DescriptorCreator() { } UINT D3D12::DescriptorCreator::GetDescriptorCountNeeded() { return mSceneDescriptorsCount + mPassDescriptorsCount; } void D3D12::DescriptorCreator::RecreateDescriptors(ID3D12Device* device, D3D12_CPU_DESCRIPTOR_HANDLE startDescriptorCpu, D3D12_GPU_DESCRIPTOR_HANDLE startDescriptorGpu) { UINT srvDescriptorSize = device->GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV); D3D12_CPU_DESCRIPTOR_HANDLE cpuDescriptorAddress = startDescriptorCpu; D3D12_GPU_DESCRIPTOR_HANDLE gpuDescriptorAddress = startDescriptorGpu; RecreateSceneDescriptors(device, cpuDescriptorAddress, gpuDescriptorAddress, srvDescriptorSize); if(mFrameGraphToCreateDescriptors != nullptr) { cpuDescriptorAddress.ptr += mSceneDescriptorsCount * srvDescriptorSize; gpuDescriptorAddress.ptr += mSceneDescriptorsCount * srvDescriptorSize; RevalidatePassDescriptors(device, cpuDescriptorAddress, gpuDescriptorAddress); } } void D3D12::DescriptorCreator::RequestDescriptors() { mSceneDescriptorsCount = 0; mPassDescriptorsCount = 0; if(mFrameGraphToCreateDescriptors != nullptr) { for(size_t i = 0; i < mFrameGraphToCreateDescriptors->mRenderPasses.size(); i++) { mPassDescriptorsCount += mFrameGraphToCreateDescriptors->mRenderPasses[i]->GetPassDescriptorCountNeeded(); mFrameGraphToCreateDescriptors->mRenderPasses[i]->RequestSceneDescriptors(this); } } if(mTextureTableRequestState != DescriptorRequestState::NotRequested) { mSceneDescriptorsCount += std::max((UINT)mSceneToMakeDescriptors->mSceneTextures.size(), 1u); } if(mMaterialDataTableRequestState != DescriptorRequestState::NotRequested) { mSceneDescriptorsCount += std::max(mSceneToMakeDescriptors->GetMaterialCount(), 1u); } if(mFrameDataTableRequestState != DescriptorRequestState::NotRequested) { mSceneDescriptorsCount += 1; } if(mObjectDataTableRequestState != DescriptorRequestState::NotRequested) { uint32_t objectCount = mSceneToMakeDescriptors->GetStaticObjectCount() + mSceneToMakeDescriptors->GetRigidObjectCount(); mSceneDescriptorsCount += std::max(objectCount, 1u); } mSceneDescriptorsCount = std::max(mSceneDescriptorsCount, 1u); } void D3D12::DescriptorCreator::RecreateSceneDescriptors(ID3D12Device* device, D3D12_CPU_DESCRIPTOR_HANDLE startDescriptorCpu, D3D12_GPU_DESCRIPTOR_HANDLE startDescriptorGpu, UINT descriptorSize) { D3D12_CPU_DESCRIPTOR_HANDLE cpuDescriptorAddress = startDescriptorCpu; D3D12_GPU_DESCRIPTOR_HANDLE gpuDescriptorAddress = startDescriptorGpu; if(mTextureTableRequestState == DescriptorRequestState::NotYetCreated) { mTextureDescriptorTableStart = gpuDescriptorAddress; if(mSceneToMakeDescriptors->mSceneTextures.size() == 0) { D3D12_SHADER_RESOURCE_VIEW_DESC srvDesc; srvDesc.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; //Only 2D-textures are stored in mSceneTextures srvDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; srvDesc.Shader4ComponentMapping = D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING; srvDesc.Texture2D.MostDetailedMip = 0; srvDesc.Texture2D.MipLevels = 1; srvDesc.Texture2D.PlaneSlice = 0; srvDesc.Texture2D.ResourceMinLODClamp = 0.0f; device->CreateShaderResourceView(nullptr, nullptr, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } else { for(size_t textureIndex = 0; textureIndex < mSceneToMakeDescriptors->mSceneTextures.size(); textureIndex++) { D3D12_SHADER_RESOURCE_VIEW_DESC srvDesc; srvDesc.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D; //Only 2D-textures are stored in mSceneTextures srvDesc.Format = mSceneToMakeDescriptors->mSceneTextures[textureIndex]->GetDesc1().Format; srvDesc.Shader4ComponentMapping = D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING; srvDesc.Texture2D.MostDetailedMip = 0; srvDesc.Texture2D.MipLevels = (UINT)-1; srvDesc.Texture2D.PlaneSlice = 0; srvDesc.Texture2D.ResourceMinLODClamp = 0.0f; device->CreateShaderResourceView(mSceneToMakeDescriptors->mSceneTextures[textureIndex].get(), &srvDesc, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } } mTextureTableRequestState = DescriptorRequestState::Ready; } if(mMaterialDataTableRequestState == DescriptorRequestState::NotYetCreated) { uint32_t materialCount = mSceneToMakeDescriptors->GetMaterialCount(); mMaterialDataDescriptorTableStart = gpuDescriptorAddress; if(materialCount == 0) { device->CreateConstantBufferView(nullptr, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } else { for(uint32_t materialIndex = 0; materialIndex < materialCount; materialIndex++) { D3D12_CONSTANT_BUFFER_VIEW_DESC cbvDesc; cbvDesc.BufferLocation = mSceneToMakeDescriptors->GetMaterialDataStart(materialIndex); cbvDesc.SizeInBytes = mSceneToMakeDescriptors->mMaterialChunkDataSize; device->CreateConstantBufferView(&cbvDesc, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } } mMaterialDataTableRequestState = DescriptorRequestState::Ready; } if(mFrameDataTableRequestState == DescriptorRequestState::NotYetCreated) { mFrameDataDescriptorTableStart = gpuDescriptorAddress; D3D12_CONSTANT_BUFFER_VIEW_DESC cbvDesc; cbvDesc.BufferLocation = mSceneToMakeDescriptors->GetFrameDataStart(); cbvDesc.SizeInBytes = mSceneToMakeDescriptors->mFrameChunkDataSize; device->CreateConstantBufferView(&cbvDesc, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; mFrameDataTableRequestState = DescriptorRequestState::Ready; } if(mObjectDataTableRequestState == DescriptorRequestState::NotYetCreated) { uint32_t objectCount = mSceneToMakeDescriptors->GetStaticObjectCount() + mSceneToMakeDescriptors->GetRigidObjectCount(); mObjectDataDescriptorTableStart = gpuDescriptorAddress; if(objectCount == 0) { device->CreateConstantBufferView(nullptr, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } else { for(uint32_t objectDataIndex = 0; objectDataIndex < objectCount; objectDataIndex++) { D3D12_CONSTANT_BUFFER_VIEW_DESC cbvDesc; cbvDesc.BufferLocation = mSceneToMakeDescriptors->GetObjectDataStart(objectDataIndex); cbvDesc.SizeInBytes = mSceneToMakeDescriptors->mObjectChunkDataSize; device->CreateConstantBufferView(&cbvDesc, cpuDescriptorAddress); cpuDescriptorAddress.ptr += descriptorSize; gpuDescriptorAddress.ptr += descriptorSize; } } mObjectDataTableRequestState = DescriptorRequestState::Ready; } } void D3D12::DescriptorCreator::RevalidatePassDescriptors(ID3D12Device* device, D3D12_CPU_DESCRIPTOR_HANDLE startDescriptorCpu, D3D12_GPU_DESCRIPTOR_HANDLE startDescriptorGpu) { //Frame graph stores the copy of its descriptors on non-shader-visible heap if (mPassDescriptorsCount != 0) { device->CopyDescriptorsSimple(mPassDescriptorsCount, mFrameGraphToCreateDescriptors->mSrvUavDescriptorHeap->GetCPUDescriptorHandleForHeapStart(), startDescriptorCpu, D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV); } for(size_t i = 0; i < mFrameGraphToCreateDescriptors->mRenderPasses.size(); i++) { //Frame graph passes will recalculate the new address for descriptors from the old ones mFrameGraphToCreateDescriptors->mRenderPasses[i]->ValidatePassDescriptors(mFrameGraphToCreateDescriptors->mFrameGraphDescriptorStart, startDescriptorGpu); mFrameGraphToCreateDescriptors->mRenderPasses[i]->ValidateSceneDescriptors(this); } mFrameGraphToCreateDescriptors->mFrameGraphDescriptorStart = startDescriptorGpu; } void D3D12::DescriptorCreator::RequestTexturesDescriptorTable() { mTextureTableRequestState = DescriptorRequestState::NotYetCreated; } void D3D12::DescriptorCreator::RequestMaterialDataDescriptorTable() { mMaterialDataTableRequestState = DescriptorRequestState::NotYetCreated; } void D3D12::DescriptorCreator::RequestFrameDataDescriptorTable() { mFrameDataTableRequestState = DescriptorRequestState::NotYetCreated; } void D3D12::DescriptorCreator::RequestObjectDataDescriptorTable() { mObjectDataTableRequestState = DescriptorRequestState::NotYetCreated; } D3D12_GPU_DESCRIPTOR_HANDLE D3D12::DescriptorCreator::GetTextureDescriptorTableStart() const { assert(mTextureTableRequestState == DescriptorRequestState::Ready); return mTextureDescriptorTableStart; } D3D12_GPU_DESCRIPTOR_HANDLE D3D12::DescriptorCreator::GetMaterialDataDescriptorTableStart() const { assert(mMaterialDataTableRequestState == DescriptorRequestState::Ready); return mMaterialDataDescriptorTableStart; } D3D12_GPU_DESCRIPTOR_HANDLE D3D12::DescriptorCreator::GetFrameDataDescriptorTableStart() const { assert(mFrameDataTableRequestState == DescriptorRequestState::Ready); return mFrameDataDescriptorTableStart; } D3D12_GPU_DESCRIPTOR_HANDLE D3D12::DescriptorCreator::GetObjectDataDescriptorTableStart() const { assert(mObjectDataTableRequestState == DescriptorRequestState::Ready); return mObjectDataDescriptorTableStart; }
38.356877
208
0.804323
Sixshaman
b69b33d50d34e906eede8e7ca0ce1a8a7780839b
697
hpp
C++
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
2
2017-05-02T13:18:59.000Z
2020-12-23T03:03:26.000Z
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
#ifndef __DEV_CGA_VIDEO_HPP__ #define __DEV_CGA_VIDEO_HPP__ #include <dev/Driver.hpp> namespace dev { class StdCgaVideo : public Driver { public: StdCgaVideo(); ~StdCgaVideo(); virtual bool Probe(); virtual void WriteChar(char c); virtual void Write(const char* c); virtual void GotoXY(unsigned short x, unsigned short y); virtual void Clear(); virtual void TextColor(uint16_t color); virtual void BackColor(uint16_t color); virtual uint64_t Read(uint8_t *data, uint64_t offset, uint64_t size); virtual uint64_t Write(uint8_t *data, uint64_t offset, uint64_t size); protected: virtual void ScrollUp(); protected: uint16_t* m_videomem; }; } #endif
20.5
72
0.728838
RoseLeBlood
b6a54b14e7ca7e67b05b5990701a80e12f9dd7eb
780
hpp
C++
modules/core/src/parallel/parallel.hpp
xipingyan/opencv
39c3334147ec02761b117f180c9c4518be18d1fa
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #define OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #include "opencv2/core/parallel/parallel_backend.hpp" namespace cv { namespace parallel { extern int numThreads; std::shared_ptr<ParallelForAPI>& getCurrentParallelForAPI(); #ifndef BUILD_PLUGIN #ifdef HAVE_TBB std::shared_ptr<cv::parallel::ParallelForAPI> createParallelBackendTBB(); #endif #ifdef HAVE_OPENMP std::shared_ptr<cv::parallel::ParallelForAPI> createParallelBackendOpenMP(); #endif #endif // BUILD_PLUGIN }} // namespace #endif // OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP
26
90
0.802564
xipingyan
b6a82b1e560222979105dfc6b80da5fc28f01b97
9,480
cpp
C++
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
#include "Settings.h" Settings::Settings(Controls_Settings& settings) : settings(settings) { font.loadFromFile("Dense-Regular.otf"); text.setFont(font); text.setFillColor(Color::White); } Settings::~Settings() { } void Settings::keyEvent(State& state, Keyboard::Key key) { if (isChanging) { changeKey(key); return; } ofstream outFile; switch (key) { case Keyboard::Key::Escape: outFile.open("Config/Keybinds.txt", ios::out); for (std::map<string, Keyboard::Key>::iterator it = settings.keybinds.begin(); it != settings.keybinds.end(); ++it) { outFile << it->first << ' ' << it->second << endl; } outFile.close(); outFile.open("Config/Config.txt", ios::out); outFile << "DAS " << settings.delayAutoShift << endl; outFile << "ARR " << settings.autoRepeatRate << endl; outFile.close(); state = State::MENU; break; case Keyboard::Key::Down: setCursor(cursor + 1); break; case Keyboard::Key::Up: setCursor(cursor - 1); break; case Keyboard::Key::Enter: isChanging = true; break; } } void Settings::tick(State& state, RenderWindow& window) { } void Settings::render(RenderWindow& window) { text.setFillColor(Color::White); text.setCharacterSize(120); text.setString("Change key config"); text.setPosition(1024 - text.getLocalBounds().width / 2, 50); window.draw(text); for (int i = 0; i < 8; i++) { Controls_Key key = static_cast<Controls_Key> (i); drawKeyConfig(fromControlsToString(key), fromKtoS(settings.keybinds[controlsList[i]]), 500, 300 + 80 * i, window, cursor == i, isChanging); } drawKeyConfig("DAS", "< " + to_string(settings.delayAutoShift) + " >", 500, 300 + 80 * 8, window, cursor == 8, isChanging); drawKeyConfig("ARR", "< " + to_string(settings.autoRepeatRate) + " >", 500, 300 + 80 * 9, window, cursor == 9, isChanging); } void Settings::drawKeyConfig(string name, string key, int x, int y, RenderWindow& window, bool isHighlight, bool changing) { if (isHighlight) { RectangleShape rect(Vector2f(1000, 50)); rect.setPosition(x, y); rect.setFillColor(Color::White); window.draw(rect); if (changing) { RectangleShape rect(Vector2f(300, 50)); rect.setPosition(x + 700, y); rect.setFillColor(Color::Red); window.draw(rect); } text.setFillColor(Color::Black); } else { text.setFillColor(Color::White); } text.setPosition(x, y-15); text.setCharacterSize(60); text.setString(name); window.draw(text); text.setPosition(x + 825, y-15); text.setString(key); window.draw(text); } bool Settings::changeKey(Keyboard::Key key) { // dismiss special keys if (key == Keyboard::Key::Escape || key == Keyboard::Key::Unknown || key == Keyboard::Key::R) return false; if (cursor == 8) { if (key == Keyboard::Key::Right) { settings.delayAutoShift++; return true; } else if (key == Keyboard::Key::Left) { settings.delayAutoShift--; return true; } else if (key == Keyboard::Key::Enter) { isChanging = false; return true; } return false; } else if (cursor == 9) { if (key == Keyboard::Key::Right) { settings.autoRepeatRate++; return true; } else if (key == Keyboard::Key::Left) { settings.autoRepeatRate--; return true; } else if (key == Keyboard::Key::Enter) { isChanging = false; return true; } return false; } settings.keybinds[controlsList[cursor]] = key; isChanging = false; return true; } void Settings::mouseEvent(State& state, RenderWindow& window) { } void Settings::setCursor(int cursor) { // clamping from 0 to 9 this->cursor = cursor < 0 ? 0 : cursor >9 ? 9 : cursor; } string Settings::fromControlsToString(Controls_Key key) { switch (key) { case Controls_Key::MOVE_LEFT: return "Move left"; case Controls_Key::MOVE_RIGHT: return "Move right"; case Controls_Key::ROTATE_CCW: return "Rotate CCW"; case Controls_Key::ROTATE_CW: return "Rotate CW"; case Controls_Key::ROTATE_180: return "Rotate 180"; case Controls_Key::HOLD: return "Hold"; case Controls_Key::HARD_DROP: return "Hard drop"; case Controls_Key::SOFT_DROP: return "Soft drop"; default: return "Invalid/unknown key"; } } string Settings::fromKtoS(const sf::Keyboard::Key& k) { string ret; switch (k) { case sf::Keyboard::A: ret = "A"; break; case sf::Keyboard::B: ret = "B"; break; case sf::Keyboard::C: ret = "C"; break; case sf::Keyboard::D: ret = "D"; break; case sf::Keyboard::E: ret = "E"; break; case sf::Keyboard::F: ret = "F"; break; case sf::Keyboard::G: ret = "G"; break; case sf::Keyboard::H: ret = "H"; break; case sf::Keyboard::I: ret = "I"; break; case sf::Keyboard::J: ret = "J"; break; case sf::Keyboard::K: ret = "K"; break; case sf::Keyboard::L: ret = "L"; break; case sf::Keyboard::M: ret = "M"; break; case sf::Keyboard::N: ret = "N"; break; case sf::Keyboard::O: ret = "O"; break; case sf::Keyboard::P: ret = "P"; break; case sf::Keyboard::Q: ret = "Q"; break; case sf::Keyboard::R: ret = "R"; break; case sf::Keyboard::S: ret = "S"; break; case sf::Keyboard::T: ret = "T"; break; case sf::Keyboard::U: ret = "U"; break; case sf::Keyboard::V: ret = "V"; break; case sf::Keyboard::W: ret = "W"; break; case sf::Keyboard::X: ret = "X"; break; case sf::Keyboard::Y: ret = "Y"; break; case sf::Keyboard::Z: ret = "Z"; break; case sf::Keyboard::Num0: ret = "Num0"; break; case sf::Keyboard::Num1: ret = "Num1"; break; case sf::Keyboard::Num2: ret = "Num2"; break; case sf::Keyboard::Num3: ret = "Num3"; break; case sf::Keyboard::Num4: ret = "Num4"; break; case sf::Keyboard::Num5: ret = "Num5"; break; case sf::Keyboard::Num6: ret = "Num6"; break; case sf::Keyboard::Num7: ret = "Num7"; break; case sf::Keyboard::Num8: ret = "Num8"; break; case sf::Keyboard::Num9: ret = "Num9"; break; case sf::Keyboard::Escape: ret = "Escape"; break; case sf::Keyboard::LControl: ret = "LControl"; break; case sf::Keyboard::LShift: ret = "LShift"; break; case sf::Keyboard::LAlt: ret = "LAlt"; break; case sf::Keyboard::LSystem: ret = "LSystem"; break; case sf::Keyboard::RControl: ret = "RControl"; break; case sf::Keyboard::RShift: ret = "RShift"; break; case sf::Keyboard::RAlt: ret = "RAlt"; break; case sf::Keyboard::RSystem: ret = "RSystem"; break; case sf::Keyboard::Menu: ret = "Menu"; break; case sf::Keyboard::LBracket: ret = "LBracket"; break; case sf::Keyboard::RBracket: ret = "RBracket"; break; case sf::Keyboard::SemiColon: ret = "SemiColon"; break; case sf::Keyboard::Comma: ret = "Comma"; break; case sf::Keyboard::Period: ret = "Period"; break; case sf::Keyboard::Quote: ret = "Quote"; break; case sf::Keyboard::Slash: ret = "Slash"; break; case sf::Keyboard::BackSlash: ret = "BackSlash"; break; case sf::Keyboard::Tilde: ret = "Tilde"; break; case sf::Keyboard::Equal: ret = "Equal"; break; case sf::Keyboard::Dash: ret = "Dash"; break; case sf::Keyboard::Space: ret = "Space"; break; case sf::Keyboard::Return: ret = "Return"; break; case sf::Keyboard::BackSpace: ret = "BackSpace"; break; case sf::Keyboard::Tab: ret = "Tab"; break; case sf::Keyboard::PageUp: ret = "PageUp"; break; case sf::Keyboard::PageDown: ret = "PageDown"; break; case sf::Keyboard::End: ret = "End"; break; case sf::Keyboard::Home: ret = "Home"; break; case sf::Keyboard::Insert: ret = "Insert"; break; case sf::Keyboard::Delete: ret = "Delete"; break; case sf::Keyboard::Add: ret = "Add"; break; case sf::Keyboard::Subtract: ret = "Subtract"; break; case sf::Keyboard::Multiply: ret = "Multiply"; break; case sf::Keyboard::Divide: ret = "Divide"; break; case sf::Keyboard::Left: ret = "Left"; break; case sf::Keyboard::Right: ret = "Right"; break; case sf::Keyboard::Up: ret = "Up"; break; case sf::Keyboard::Down: ret = "Down"; break; case sf::Keyboard::Numpad0: ret = "Numpad0"; break; case sf::Keyboard::Numpad1: ret = "Numpad1"; break; case sf::Keyboard::Numpad2: ret = "Numpad2"; break; case sf::Keyboard::Numpad3: ret = "Numpad3"; break; case sf::Keyboard::Numpad4: ret = "Numpad4"; break; case sf::Keyboard::Numpad5: ret = "Numpad5"; break; case sf::Keyboard::Numpad6: ret = "Numpad6"; break; case sf::Keyboard::Numpad7: ret = "Numpad7"; break; case sf::Keyboard::Numpad8: ret = "Numpad8"; break; case sf::Keyboard::Numpad9: ret = "Numpad9"; break; case sf::Keyboard::F1: ret = "F1"; break; case sf::Keyboard::F2: ret = "F2"; break; case sf::Keyboard::F3: ret = "F3"; break; case sf::Keyboard::F4: ret = "F4"; break; case sf::Keyboard::F5: ret = "F5"; break; case sf::Keyboard::F6: ret = "F6"; break; case sf::Keyboard::F7: ret = "F7"; break; case sf::Keyboard::F8: ret = "F8"; break; case sf::Keyboard::F9: ret = "F9"; break; case sf::Keyboard::F10: ret = "F10"; break; case sf::Keyboard::F11: ret = "F11"; break; case sf::Keyboard::F12: ret = "F12"; break; case sf::Keyboard::F13: ret = "F13"; break; case sf::Keyboard::F14: ret = "F14"; break; case sf::Keyboard::F15: ret = "F15"; break; case sf::Keyboard::Pause: ret = "Pause"; break; case sf::Keyboard::KeyCount: ret = "KeyCount"; break; default: ret = "Unknow"; break; } return ret; }
18.772277
141
0.623734
meowniverse
b6ade1fce511f2d5fe22f475af1429c32d270503
4,524
cpp
C++
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
2
2021-09-10T09:48:10.000Z
2021-09-10T20:34:57.000Z
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
#include "gui.h" #include <tinysdl.h> #include "imgui.h" #include "imgui_impl_sdl.h" #include "imgui_impl_opengl3.h" using namespace MB; using namespace TinySDL; GUI::GUI(SDL_Window* _window, SDL_GLContext* context) : window(_window) { IMGUI_CHECKVERSION(); ImGui::CreateContext(); ImGui_ImplSDL2_InitForOpenGL(window, context); ImGui_ImplOpenGL3_Init("#version 460"); } GUI::~GUI() { ImGui_ImplOpenGL3_Shutdown(); ImGui_ImplSDL2_Shutdown(); ImGui::DestroyContext(); } ImGuiIO& GUI::io() { return ImGui::GetIO(); } void GUI::setup() { ImGui::StyleColorsDark(); ImGui::GetStyle().FrameRounding = 4.0f; ImGui::GetStyle().GrabRounding = 4.0f; ImVec4* colors = ImGui::GetStyle().Colors; colors[ImGuiCol_Text] = ImVec4(0.95f, 0.96f, 0.98f, 1.00f); colors[ImGuiCol_TextDisabled] = ImVec4(0.36f, 0.42f, 0.47f, 1.00f); colors[ImGuiCol_WindowBg] = ImVec4(0.11f, 0.15f, 0.17f, 1.00f); colors[ImGuiCol_ChildBg] = ImVec4(0.15f, 0.18f, 0.22f, 1.00f); colors[ImGuiCol_PopupBg] = ImVec4(0.08f, 0.08f, 0.08f, 0.94f); colors[ImGuiCol_Border] = ImVec4(0.08f, 0.10f, 0.12f, 1.00f); colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f); colors[ImGuiCol_FrameBg] = ImVec4(0.20f, 0.25f, 0.29f, 1.00f); colors[ImGuiCol_FrameBgHovered] = ImVec4(0.12f, 0.20f, 0.28f, 1.00f); colors[ImGuiCol_FrameBgActive] = ImVec4(0.09f, 0.12f, 0.14f, 1.00f); colors[ImGuiCol_TitleBg] = ImVec4(0.09f, 0.12f, 0.14f, 0.65f); colors[ImGuiCol_TitleBgActive] = ImVec4(0.08f, 0.10f, 0.12f, 1.00f); colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.00f, 0.00f, 0.00f, 0.51f); colors[ImGuiCol_MenuBarBg] = ImVec4(0.15f, 0.18f, 0.22f, 1.00f); colors[ImGuiCol_ScrollbarBg] = ImVec4(0.02f, 0.02f, 0.02f, 0.39f); colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.20f, 0.25f, 0.29f, 1.00f); colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.18f, 0.22f, 0.25f, 1.00f); colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.09f, 0.21f, 0.31f, 1.00f); colors[ImGuiCol_CheckMark] = ImVec4(0.28f, 0.56f, 1.00f, 1.00f); colors[ImGuiCol_SliderGrab] = ImVec4(0.28f, 0.56f, 1.00f, 1.00f); colors[ImGuiCol_SliderGrabActive] = ImVec4(0.37f, 0.61f, 1.00f, 1.00f); colors[ImGuiCol_Button] = ImVec4(0.20f, 0.25f, 0.29f, 1.00f); colors[ImGuiCol_ButtonHovered] = ImVec4(0.28f, 0.56f, 1.00f, 1.00f); colors[ImGuiCol_ButtonActive] = ImVec4(0.06f, 0.53f, 0.98f, 1.00f); colors[ImGuiCol_Header] = ImVec4(0.20f, 0.25f, 0.29f, 0.55f); colors[ImGuiCol_HeaderHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.80f); colors[ImGuiCol_HeaderActive] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); colors[ImGuiCol_Separator] = ImVec4(0.20f, 0.25f, 0.29f, 1.00f); colors[ImGuiCol_SeparatorHovered] = ImVec4(0.10f, 0.40f, 0.75f, 0.78f); colors[ImGuiCol_SeparatorActive] = ImVec4(0.10f, 0.40f, 0.75f, 1.00f); colors[ImGuiCol_ResizeGrip] = ImVec4(0.26f, 0.59f, 0.98f, 0.25f); colors[ImGuiCol_ResizeGripHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.67f); colors[ImGuiCol_ResizeGripActive] = ImVec4(0.26f, 0.59f, 0.98f, 0.95f); colors[ImGuiCol_Tab] = ImVec4(0.11f, 0.15f, 0.17f, 1.00f); colors[ImGuiCol_TabHovered] = ImVec4(0.26f, 0.59f, 0.98f, 0.80f); colors[ImGuiCol_TabActive] = ImVec4(0.20f, 0.25f, 0.29f, 1.00f); colors[ImGuiCol_TabUnfocused] = ImVec4(0.11f, 0.15f, 0.17f, 1.00f); colors[ImGuiCol_TabUnfocusedActive] = ImVec4(0.11f, 0.15f, 0.17f, 1.00f); colors[ImGuiCol_PlotLines] = ImVec4(0.61f, 0.61f, 0.61f, 1.00f); colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.43f, 0.35f, 1.00f); colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f); colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.60f, 0.00f, 1.00f); colors[ImGuiCol_TextSelectedBg] = ImVec4(0.26f, 0.59f, 0.98f, 0.35f); colors[ImGuiCol_DragDropTarget] = ImVec4(1.00f, 1.00f, 0.00f, 0.90f); colors[ImGuiCol_NavHighlight] = ImVec4(0.26f, 0.59f, 0.98f, 1.00f); colors[ImGuiCol_NavWindowingHighlight] = ImVec4(1.00f, 1.00f, 1.00f, 0.70f); colors[ImGuiCol_NavWindowingDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.20f); colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.35f); } void GUI::render() { ImGui::Render(); ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData()); } void GUI::process_event(SDL_Event* event) { ImGui_ImplSDL2_ProcessEvent(event); } void GUI::start_frame() { ImGui_ImplOpenGL3_NewFrame(); ImGui_ImplSDL2_NewFrame(window); ImGui::NewFrame(); }
42.280374
80
0.683687
luihabl
b6b143763857f7f4243a3c1d6d3c9754f10218ca
9,121
cc
C++
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
1
2021-01-14T15:44:24.000Z
2021-01-14T15:44:24.000Z
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
/// \file /// Source code for the class VarContainer and its derived classes. #include <ilang/ila/var_container.h> #include <ilang/ila/ast_hub.h> namespace ilang { VarContainerPtr VarContainer::Make(const std::string& name, const SortPtr& t) { std::string prefix = name + "_"; // also makes name a bit more private if last variable. switch (t->uid()) { case AstUidSort::kBool: return VarContainerPtr{new VarPrimitive{asthub::NewBoolVar(name)}}; case AstUidSort::kBv: return VarContainerPtr{new VarPrimitive{asthub::NewBvVar(name, t->bit_width())}}; case AstUidSort::kMem: return VarContainerPtr{new VarPrimitive{asthub::NewMemVar(name, t->addr_width(), t->data_width())}}; case AstUidSort::kVec: { ILA_ASSERT (t->vec_size() >= 0) << "Can't create vector of arbitrary (unknown) size"; vector_container vc {}; for (int i = 0; i != t->vec_size(); ++i) { vc.push_back(Make(prefix + std::to_string(i) + "_", t->data_atom())); } return VarContainerPtr{new VarVector{t, vc}}; } case AstUidSort::kStruct: { struct_container sc {}; for (auto& [name, type] : t->members()) { sc.emplace_back(name, Make(prefix + name + "_", type)); } return VarContainerPtr{new VarStruct(t, sc)}; } default: ILA_ASSERT(false) << "can't make VarContainer: recieved unknown type"; return nullptr; } } VarContainerPtr VarContainer::from_primitive_expr(const ExprPtr& p) { return VarContainerPtr{new VarPrimitive{p}}; } ExprPtr VarContainer::to_primitive_expr() { invalid_operation_error_("conversion to primitive expr"); return {nullptr}; } VarContainerPtr VarContainer::nth(size_t idx) { invalid_operation_error_("vector element access"); return {nullptr}; } size_t VarContainer::size() const { invalid_operation_error_("getting vector size"); return 0; } const VarContainer::vector_container& VarContainer::elements() { invalid_operation_error_("getting vector elements"); return empty_vec_; } VarContainerPtr VarContainer::member(const std::string& name) { invalid_operation_error_("struct member access"); return {nullptr}; } const VarContainer::struct_container& VarContainer::members() { invalid_operation_error_("getting struct members"); return empty_struct_; } VarContainer::partition VarContainer::order_preserving_partition( size_t n_parts, std::function<size_t(size_t)> which_part ) { invalid_operation_error_("partitioning"); return empty_vec_; } VarContainerPtr VarContainer::zip() { invalid_operation_error_("zipping members"); return {nullptr}; } VarContainerPtr VarContainer::unzip() { invalid_operation_error_("unzipping elements"); return {nullptr}; } VarContainerPtr VarContainer::project(const std::vector<std::string>& names) { invalid_operation_error_("projection"); return {nullptr}; } VarContainerPtr VarContainer::project_without( const std::vector<std::string>& names ) { invalid_operation_error_("projection"); return {nullptr}; } VarContainerPtr VarContainer::join_with(const VarContainerPtr& b) { invalid_operation_error_("struct joining"); return {nullptr}; } /* VarPrimitive */ VarPrimitive::VarPrimitive(ExprPtr var): VarContainer(var->sort()), impl_ {var} {} void VarPrimitive::visit_with(const VarContainer::Visitor& visit) { visit(this); } /* VarVector */ VarVector::VarVector(const SortPtr& t, const vector_container& elems): VarContainer(t), impl_ {elems} {} bool VarVector::is_instance(const SortPtr& s) const { if (!s || !s->is_vec()) return false; if (s->vec_size() != size() && s->vec_size() != -1) return false; for (auto& elem : impl_) { if (!elem->is_instance(s->data_atom())) return false; } return true; } void VarVector::visit_with(const VarContainer::Visitor& visit) { visit(this); for (auto& elem : impl_) { elem->visit_with(visit); } } VarContainerPtr VarVector::nth(size_t idx) { if (idx >= impl_.size()) { ILA_ASSERT(false) << " index out of bounds: " << idx; return nullptr; } return impl_[idx]; } VarContainer::partition VarVector::order_preserving_partition( size_t n_parts, std::function<size_t(size_t)> which_part ) { std::vector<vector_container> parts(n_parts); for (size_t i = 0; i != size(); ++i) { size_t index = which_part(i); if (index >= n_parts) { ILA_ASSERT(false) << "partition function out of bounds"; return {}; } parts[index].push_back(impl_[i]); } std::vector<VarContainerPtr> result; result.reserve(n_parts); for (size_t i = 0; i != n_parts; ++i) { auto s = Sort::MakeVectorSort(sort()->data_atom(), parts[i].size()); result.push_back(from_cpp_obj(s, parts[i])); } return result; } VarContainerPtr VarVector::unzip() { if (!sort()->data_atom()->is_struct()) { ILA_ASSERT(false) << "can't unzip vector of data-atoms if they aren't structs"; return nullptr; } if (sort()->data_atom()->members().empty()) { ILA_ASSERT(false) << "can't unzip vector of empty structs"; return nullptr; } std::vector<std::pair<std::string, SortPtr>> res_sort {}; std::unordered_map<std::string, vector_container> res {}; for (const auto& [name, da] : sort()->data_atom()->members()) { res_sort.emplace_back(name, Sort::MakeVectorSort(da, size())); res[name].reserve(size()); } for (auto& x : elements()) { for (auto& [name, m] : x->members()) { res[name].push_back(m); } } return from_cpp_obj(Sort::MakeStructSort(res_sort), res); } /* VarStruct */ VarStruct::VarStruct(const SortPtr& t, const struct_container& members): VarContainer(t), impl_ {members} {} bool VarStruct::is_instance(const SortPtr& s) const { if (!s || !s->is_struct()) return false; if (s->members().size() != impl_.size()) return false; for (int i = 0; i != impl_.size(); ++i) { auto [name, var] = impl_[i]; auto [exp_name, exp_sort] = s->members()[i]; if (name != exp_name || !var->is_instance(exp_sort)) return false; } return true; } void VarStruct::visit_with(const Visitor& visit) { visit(this); for (auto& [_, elem] : impl_) { elem->visit_with(visit); } } VarContainerPtr VarStruct::member(const std::string& name) { for (auto& [n, elem] : impl_) { if (n == name) return elem; } ILA_ASSERT(false) << "member '" + name + "' not found"; return nullptr; } VarContainerPtr VarStruct::zip() { if (members().empty()) { ILA_ASSERT(false) << "can't zip empty struct"; return nullptr; } int sz = -1; std::vector<std::pair<std::string, SortPtr>> da {}; for (const auto& [name, v] : sort()->members()) { if (!v->is_vec()) { ILA_ASSERT(false) << "expected vector"; return nullptr; } if (sz < 0) sz = v->vec_size(); else if (sz != v->vec_size()) { ILA_ASSERT(false) << "expected vector of size " << sz << "got vector of size " << v->vec_size(); return nullptr; } da.emplace_back(name, v->data_atom()); } std::vector<std::vector<std::pair<std::string, VarContainerPtr>>> vec(sz); for (const auto& [name, v] : members()) { for (int i = 0; i != sz; ++i) { vec[i].emplace_back(name, v->nth(i)); } } return from_cpp_obj(Sort::MakeVectorSort(Sort::MakeStructSort(da), sz), vec); } VarContainerPtr VarStruct::project(const std::vector<std::string>& names) { std::unordered_map<std::string, VarContainerPtr> ms {members().begin(), members().end()}; std::vector<std::pair<std::string, SortPtr>> srt; struct_container projection {}; for (const auto& name : names) { if (ms.find(name) == ms.end()) { ILA_ASSERT(false) << "member with name " << name << " not found"; return nullptr; } srt.emplace_back(name, ms[name]->sort()); projection.emplace_back(name, ms[name]); } return from_cpp_obj(Sort::MakeStructSort(srt), projection); } VarContainerPtr VarStruct::project_without( const std::vector<std::string>& names ) { std::unordered_map<std::string, VarContainerPtr> ms {members().begin(), members().end()}; for (const auto& name : names) ms.erase(name); std::vector<std::pair<std::string, SortPtr>> projsort {}; for (const auto& [name, s] : sort()->members()) { if (ms.find(name) != ms.end()) projsort.emplace_back(name, s); } return from_cpp_obj(Sort::MakeStructSort(projsort), ms); } VarContainerPtr VarStruct::join_with(const VarContainerPtr& b) { if (!b->is_struct()) { ILA_ASSERT (false) << "can't join non-structs"; return {nullptr}; } std::unordered_map<std::string, VarContainerPtr> ms {members().begin(), members().end()}; ms.insert(b->members().begin(), b->members().end()); if (ms.size() != members().size() + b->members().size()) { ILA_ASSERT(false) << "structs being merged contained duplicate keys"; return {nullptr}; } auto joinsort {sort()->members()}; auto bsort_members {b->sort()->members()}; joinsort.insert(joinsort.end(), bsort_members.begin(), bsort_members.end()); return from_cpp_obj(Sort::MakeStructSort(joinsort), ms); } }
30.302326
106
0.658042
Anonymous-Stranger
b6c4a2b499ea346fb7350164c4f270152a1e349d
2,936
hpp
C++
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * * | |___ / ___ \| _| Framework * * \____/_/ \_|_| * * * * Copyright 2011-2019 Dominik Charousset * * * * Distributed under the terms and conditions of the BSD 3-Clause License or * * (at your option) under the terms and conditions of the Boost Software * * License 1.0. See accompanying files LICENSE and LICENSE_ALTERNATIVE. * * * * If you did not receive a copy of the license files, see * * http://opensource.org/licenses/BSD-3-Clause and * * http://www.boost.org/LICENSE_1_0.txt. * ******************************************************************************/ #pragma once #include "caf/credit_controller.hpp" #include "caf/detail/core_export.hpp" namespace caf::detail { /// A credit controller that estimates the bytes required to store incoming /// batches and constrains credit based on upper bounds for memory usage. class CAF_CORE_EXPORT token_based_credit_controller : public credit_controller { public: // -- constants -------------------------------------------------------------- /// Configures how many samples we require for recalculating buffer sizes. static constexpr int32_t min_samples = 50; /// Stores how many elements we buffer at most after the handshake. int32_t initial_buffer_size = 10; /// Stores how many elements we allow per batch after the handshake. int32_t initial_batch_size = 2; // -- constructors, destructors, and assignment operators -------------------- explicit token_based_credit_controller(local_actor* self); ~token_based_credit_controller() override; // -- interface functions ---------------------------------------------------- void before_processing(downstream_msg::batch& batch) override; calibration init() override; calibration calibrate() override; // -- factory functions ------------------------------------------------------ template <class T> static auto make(local_actor* self, stream<T>) { return std::make_unique<token_based_credit_controller>(self); } private: // -- see caf::defaults::stream::token_policy ------------------------------- int32_t batch_size_; int32_t buffer_size_; }; } // namespace caf::detail
41.352113
80
0.471049
jsiwek
b6c6375a0fa098946132ec8224cc762121989ac7
14,131
hpp
C++
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
2
2021-09-16T15:14:39.000Z
2021-09-17T14:39:52.000Z
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
/// @ref gtc_type_aligned /// @file glm/gtc/type_aligned.hpp /// /// @see core (dependence) /// /// @defgroup gtc_type_aligned GLM_GTC_type_aligned /// @ingroup gtc /// /// @brief Aligned types. /// <glm/gtc/type_aligned.hpp> need to be included to use these features. #pragma once #if !GLM_HAS_ALIGNED_TYPE # error "GLM: Aligned types are not supported on this platform" #endif #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) # pragma message("GLM: GLM_GTC_type_aligned extension included") #endif #include "../vec2.hpp" #include "../vec3.hpp" #include "../vec4.hpp" #include "../gtc/vec1.hpp" namespace glm { template<typename T, precision P> struct tvec1; template<typename T, precision P> struct tvec2; template<typename T, precision P> struct tvec3; template<typename T, precision P> struct tvec4; /// @addtogroup gtc_type_aligned /// @{ // -- *vec1 -- typedef tvec1<float, aligned_highp> aligned_highp_vec1; typedef tvec1<float, aligned_mediump> aligned_mediump_vec1; typedef tvec1<float, aligned_lowp> aligned_lowp_vec1; typedef tvec1<double, aligned_highp> aligned_highp_dvec1; typedef tvec1<double, aligned_mediump> aligned_mediump_dvec1; typedef tvec1<double, aligned_lowp> aligned_lowp_dvec1; typedef tvec1<int, aligned_highp> aligned_highp_ivec1; typedef tvec1<int, aligned_mediump> aligned_mediump_ivec1; typedef tvec1<int, aligned_lowp> aligned_lowp_ivec1; typedef tvec1<uint, aligned_highp> aligned_highp_uvec1; typedef tvec1<uint, aligned_mediump> aligned_mediump_uvec1; typedef tvec1<uint, aligned_lowp> aligned_lowp_uvec1; typedef tvec1<bool, aligned_highp> aligned_highp_bvec1; typedef tvec1<bool, aligned_mediump> aligned_mediump_bvec1; typedef tvec1<bool, aligned_lowp> aligned_lowp_bvec1; typedef tvec1<float, packed_highp> packed_highp_vec1; typedef tvec1<float, packed_mediump> packed_mediump_vec1; typedef tvec1<float, packed_lowp> packed_lowp_vec1; typedef tvec1<double, packed_highp> packed_highp_dvec1; typedef tvec1<double, packed_mediump> packed_mediump_dvec1; typedef tvec1<double, packed_lowp> packed_lowp_dvec1; typedef tvec1<int, packed_highp> packed_highp_ivec1; typedef tvec1<int, packed_mediump> packed_mediump_ivec1; typedef tvec1<int, packed_lowp> packed_lowp_ivec1; typedef tvec1<uint, packed_highp> packed_highp_uvec1; typedef tvec1<uint, packed_mediump> packed_mediump_uvec1; typedef tvec1<uint, packed_lowp> packed_lowp_uvec1; typedef tvec1<bool, packed_highp> packed_highp_bvec1; typedef tvec1<bool, packed_mediump> packed_mediump_bvec1; typedef tvec1<bool, packed_lowp> packed_lowp_bvec1; // -- *vec2 -- /// 2 components vector of high single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<float, aligned_highp> aligned_highp_vec2; /// 2 components vector of medium single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<float, aligned_mediump> aligned_mediump_vec2; /// 2 components vector of low single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<float, aligned_lowp> aligned_lowp_vec2; /// 2 components vector of high double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<double, aligned_highp> aligned_highp_dvec2; /// 2 components vector of medium double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<double, aligned_mediump> aligned_mediump_dvec2; /// 2 components vector of low double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec2<double, aligned_lowp> aligned_lowp_dvec2; /// 2 components vector of high precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<int, aligned_highp> aligned_highp_ivec2; /// 2 components vector of medium precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<int, aligned_mediump> aligned_mediump_ivec2; /// 2 components vector of low precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<int, aligned_lowp> aligned_lowp_ivec2; /// 2 components vector of high precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<uint, aligned_highp> aligned_highp_uvec2; /// 2 components vector of medium precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<uint, aligned_mediump> aligned_mediump_uvec2; /// 2 components vector of low precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec2<uint, aligned_lowp> aligned_lowp_uvec2; /// 2 components vector of high precision bool numbers. /// There is no guarantee on the actual precision. typedef tvec2<bool, aligned_highp> aligned_highp_bvec2; /// 2 components vector of medium precision bool numbers. /// There is no guarantee on the actual precision. typedef tvec2<bool, aligned_mediump> aligned_mediump_bvec2; /// 2 components vector of low precision bool numbers. /// There is no guarantee on the actual precision. typedef tvec2<bool, aligned_lowp> aligned_lowp_bvec2; // -- *vec3 -- /// 3 components vector of high single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<float, aligned_highp> aligned_highp_vec3; /// 3 components vector of medium single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<float, aligned_mediump> aligned_mediump_vec3; /// 3 components vector of low single-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<float, aligned_lowp> aligned_lowp_vec3; /// 3 components vector of high double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<double, aligned_highp> aligned_highp_dvec3; /// 3 components vector of medium double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<double, aligned_mediump> aligned_mediump_dvec3; /// 3 components vector of low double-precision floating-point numbers. /// There is no guarantee on the actual precision. typedef tvec3<double, aligned_lowp> aligned_lowp_dvec3; /// 3 components vector of high precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<int, aligned_highp> aligned_highp_ivec3; /// 3 components vector of medium precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<int, aligned_mediump> aligned_mediump_ivec3; /// 3 components vector of low precision signed integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<int, aligned_lowp> aligned_lowp_ivec3; /// 3 components vector of high precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<uint, aligned_highp> aligned_highp_uvec3; /// 3 components vector of medium precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<uint, aligned_mediump> aligned_mediump_uvec3; /// 3 components vector of low precision unsigned integer numbers. /// There is no guarantee on the actual precision. typedef tvec3<uint, aligned_lowp> aligned_lowp_uvec3; /// 3 components vector of high precision bool numbers. typedef tvec3<bool, aligned_highp> aligned_highp_bvec3; /// 3 components vector of medium precision bool numbers. typedef tvec3<bool, aligned_mediump> aligned_mediump_bvec3; /// 3 components vector of low precision bool numbers. typedef tvec3<bool, aligned_lowp> aligned_lowp_bvec3; // -- *vec4 -- /// 4 components vector of high single-precision floating-point numbers. typedef tvec4<float, aligned_highp> aligned_highp_vec4; /// 4 components vector of medium single-precision floating-point numbers. typedef tvec4<float, aligned_mediump> aligned_mediump_vec4; /// 4 components vector of low single-precision floating-point numbers. typedef tvec4<float, aligned_lowp> aligned_lowp_vec4; /// 4 components vector of high double-precision floating-point numbers. typedef tvec4<double, aligned_highp> aligned_highp_dvec4; /// 4 components vector of medium double-precision floating-point numbers. typedef tvec4<double, aligned_mediump> aligned_mediump_dvec4; /// 4 components vector of low double-precision floating-point numbers. typedef tvec4<double, aligned_lowp> aligned_lowp_dvec4; /// 4 components vector of high precision signed integer numbers. typedef tvec4<int, aligned_highp> aligned_highp_ivec4; /// 4 components vector of medium precision signed integer numbers. typedef tvec4<int, aligned_mediump> aligned_mediump_ivec4; /// 4 components vector of low precision signed integer numbers. typedef tvec4<int, aligned_lowp> aligned_lowp_ivec4; /// 4 components vector of high precision unsigned integer numbers. typedef tvec4<uint, aligned_highp> aligned_highp_uvec4; /// 4 components vector of medium precision unsigned integer numbers. typedef tvec4<uint, aligned_mediump> aligned_mediump_uvec4; /// 4 components vector of low precision unsigned integer numbers. typedef tvec4<uint, aligned_lowp> aligned_lowp_uvec4; /// 4 components vector of high precision bool numbers. typedef tvec4<bool, aligned_highp> aligned_highp_bvec4; /// 4 components vector of medium precision bool numbers. typedef tvec4<bool, aligned_mediump> aligned_mediump_bvec4; /// 4 components vector of low precision bool numbers. typedef tvec4<bool, aligned_lowp> aligned_lowp_bvec4; // -- default -- #if(defined(GLM_PRECISION_LOWP_FLOAT)) typedef aligned_lowp_vec1 aligned_vec1; typedef aligned_lowp_vec2 aligned_vec2; typedef aligned_lowp_vec3 aligned_vec3; typedef aligned_lowp_vec4 aligned_vec4; #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT)) typedef aligned_mediump_vec1 aligned_vec1; typedef aligned_mediump_vec2 aligned_vec2; typedef aligned_mediump_vec3 aligned_vec3; typedef aligned_mediump_vec4 aligned_vec4; #else //defined(GLM_PRECISION_HIGHP_FLOAT) /// 1 component vector of floating-point numbers. typedef aligned_highp_vec1 aligned_vec1; /// 2 components vector of floating-point numbers. typedef aligned_highp_vec2 aligned_vec2; /// 3 components vector of floating-point numbers. typedef aligned_highp_vec3 aligned_vec3; /// 4 components vector of floating-point numbers. typedef aligned_highp_vec4 aligned_vec4; #endif//GLM_PRECISION #if(defined(GLM_PRECISION_LOWP_DOUBLE)) typedef aligned_lowp_dvec1 aligned_dvec1; typedef aligned_lowp_dvec2 aligned_dvec2; typedef aligned_lowp_dvec3 aligned_dvec3; typedef aligned_lowp_dvec4 aligned_dvec4; #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE)) typedef aligned_mediump_dvec1 aligned_dvec1; typedef aligned_mediump_dvec2 aligned_dvec2; typedef aligned_mediump_dvec3 aligned_dvec3; typedef aligned_mediump_dvec4 aligned_dvec4; #else //defined(GLM_PRECISION_HIGHP_DOUBLE) /// 1 component vector of double-precision floating-point numbers. typedef aligned_highp_dvec1 aligned_dvec1; /// 2 components vector of double-precision floating-point numbers. typedef aligned_highp_dvec2 aligned_dvec2; /// 3 components vector of double-precision floating-point numbers. typedef aligned_highp_dvec3 aligned_dvec3; /// 4 components vector of double-precision floating-point numbers. typedef aligned_highp_dvec4 aligned_dvec4; #endif//GLM_PRECISION #if(defined(GLM_PRECISION_LOWP_INT)) typedef aligned_lowp_ivec1 aligned_ivec1; typedef aligned_lowp_ivec2 aligned_ivec2; typedef aligned_lowp_ivec3 aligned_ivec3; typedef aligned_lowp_ivec4 aligned_ivec4; #elif(defined(GLM_PRECISION_MEDIUMP_INT)) typedef aligned_mediump_ivec1 aligned_ivec1; typedef aligned_mediump_ivec2 aligned_ivec2; typedef aligned_mediump_ivec3 aligned_ivec3; typedef aligned_mediump_ivec4 aligned_ivec4; #else //defined(GLM_PRECISION_HIGHP_INT) /// 1 component vector of signed integer numbers. typedef aligned_highp_ivec1 aligned_ivec1; /// 2 components vector of signed integer numbers. typedef aligned_highp_ivec2 aligned_ivec2; /// 3 components vector of signed integer numbers. typedef aligned_highp_ivec3 aligned_ivec3; /// 4 components vector of signed integer numbers. typedef aligned_highp_ivec4 aligned_ivec4; #endif//GLM_PRECISION // -- Unsigned integer definition -- #if(defined(GLM_PRECISION_LOWP_UINT)) typedef aligned_lowp_uvec1 aligned_uvec1; typedef aligned_lowp_uvec2 aligned_uvec2; typedef aligned_lowp_uvec3 aligned_uvec3; typedef aligned_lowp_uvec4 aligned_uvec4; #elif(defined(GLM_PRECISION_MEDIUMP_UINT)) typedef aligned_mediump_uvec1 aligned_uvec1; typedef aligned_mediump_uvec2 aligned_uvec2; typedef aligned_mediump_uvec3 aligned_uvec3; typedef aligned_mediump_uvec4 aligned_uvec4; #else //defined(GLM_PRECISION_HIGHP_UINT) /// 1 component vector of unsigned integer numbers. typedef aligned_highp_uvec1 aligned_uvec1; /// 2 components vector of unsigned integer numbers. typedef aligned_highp_uvec2 aligned_uvec2; /// 3 components vector of unsigned integer numbers. typedef aligned_highp_uvec3 aligned_uvec3; /// 4 components vector of unsigned integer numbers. typedef aligned_highp_uvec4 aligned_uvec4; #endif//GLM_PRECISION #if(defined(GLM_PRECISION_LOWP_BOOL)) typedef aligned_lowp_bvec1 aligned_bvec1; typedef aligned_lowp_bvec2 aligned_bvec2; typedef aligned_lowp_bvec3 aligned_bvec3; typedef aligned_lowp_bvec4 aligned_bvec4; #elif(defined(GLM_PRECISION_MEDIUMP_BOOL)) typedef aligned_mediump_bvec1 aligned_bvec1; typedef aligned_mediump_bvec2 aligned_bvec2; typedef aligned_mediump_bvec3 aligned_bvec3; typedef aligned_mediump_bvec4 aligned_bvec4; #else //defined(GLM_PRECISION_HIGHP_BOOL) /// 1 component vector of boolean. typedef aligned_highp_bvec1 aligned_bvec1; /// 2 components vector of boolean. typedef aligned_highp_bvec2 aligned_bvec2; /// 3 components vector of boolean. typedef aligned_highp_bvec3 aligned_bvec3; /// 4 components vector of boolean. typedef aligned_highp_bvec4 aligned_bvec4; #endif//GLM_PRECISION /// @} }//namespace glm
39.035912
74
0.813884
caolongcl
b6d2f0b95dd1f4736c1502bcb8a27d87bd826a0f
1,531
cpp
C++
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
#include <type_list.h> #include <gtest/gtest.h> namespace stdx::test { struct literal { constexpr literal() = default; }; TEST(TypeList, class_template_argument_deduction) { { using my_type_list = stdx::type_list<int, double, literal>; stdx::type_list tl(int{}, double{}, literal{}); static_assert(std::is_same_v<decltype(tl), my_type_list>); int val = 0; if constexpr (std::is_same_v<decltype(tl), my_type_list>) { ++val; } EXPECT_EQ(val, 1); } { using my_type_list = stdx::type_list<int, float, char>; stdx::type_list tl(1, 0.5f, 'c'); static_assert(std::is_same_v<decltype(tl), my_type_list>); int val = 0; if constexpr (std::is_same_v<decltype(tl), my_type_list>) { ++val; } EXPECT_EQ(val, 1); } { using my_type_list = stdx::type_list<int, float, char>; int i = 5; float f = 2.0f; char c = 'f'; stdx::type_list tl(i, f, c); static_assert(std::is_same_v<decltype(tl), my_type_list>); int val = 0; if constexpr (std::is_same_v<decltype(tl), my_type_list>) { ++val; } EXPECT_EQ(val, 1); } { using my_type_list = stdx::type_list<>; //empty type list stdx::type_list tl; static_assert(std::is_same_v<decltype(tl), my_type_list>); int val = 0; if constexpr (std::is_same_v<decltype(tl), my_type_list>) { ++val; } EXPECT_EQ(val, 1); } } }
23.553846
65
0.568256
peterlauro