Skip to content

Commit fca2ef8

Browse files
committed
Fix warnings
1 parent 7d0b889 commit fca2ef8

846 files changed

Lines changed: 42970 additions & 42964 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ext.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// The extension traits/iterators here mirror the generated `List_1` / `Dictionary_2` names on
2+
// purpose, so they carry the same non-camel-case `_1`/`_2`.
3+
#![allow(non_camel_case_types)]
4+
15
use unity2::{IntPtr, MethodInfo};
26

37
fn method_info_intptr(callback_ptr: *mut u8, args: u8) -> IntPtr {

src/generated/app.rs

Lines changed: 858 additions & 858 deletions
Large diffs are not rendered by default.

src/generated/app/accessorydata.rs

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ mod __types {
2424
}
2525

2626

27-
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", "docs/app/accessorydata/AccessoryData_Kinds.md"))]
27+
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", "docs/app/accessorydata/AccessoryData_Masks.md"))]
2828
#[repr(C)]
2929
#[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
30-
pub struct AccessoryData_Kinds {
30+
pub struct AccessoryData_Masks {
3131
pub value: i32,
3232
}
3333

3434

35-
impl ::unity2::ClassIdentity for AccessoryData_Kinds {
35+
impl ::unity2::ClassIdentity for AccessoryData_Masks {
3636
const NAMESPACE: &'static str = "App";
3737

38-
const NAME: &'static str = "AccessoryData.Kinds";
38+
const NAME: &'static str = "AccessoryData.Masks";
3939

4040
fn class() -> ::unity2::Class {
4141
static CACHE: ::std::sync::OnceLock<::unity2::Class> =
@@ -50,59 +50,53 @@ impl ::unity2::ClassIdentity for AccessoryData_Kinds {
5050
}
5151

5252

53-
impl ::unity2::IlType for AccessoryData_Kinds {
53+
impl ::unity2::IlType for AccessoryData_Masks {
5454
fn il_type() -> &'static ::unity2::il2cpp::Il2CppType {
5555
&<Self as ::unity2::ClassIdentity>::class().raw()._1.byval_arg
5656
}
5757

5858
}
5959

6060

61-
impl AccessoryData_Kinds {
61+
impl AccessoryData_Masks {
6262
pub fn body() -> Self {
63-
Self { value: 0 }
63+
Self { value: 1 }
6464

6565
}
6666

6767

6868
pub fn head() -> Self {
69-
Self { value: 1 }
69+
Self { value: 2 }
7070

7171
}
7272

7373

7474
pub fn face() -> Self {
75-
Self { value: 2 }
75+
Self { value: 4 }
7676

7777
}
7878

7979

8080
pub fn back() -> Self {
81-
Self { value: 3 }
82-
83-
}
84-
85-
86-
pub fn num() -> Self {
87-
Self { value: 4 }
81+
Self { value: 8 }
8882

8983
}
9084

9185
}
9286

9387

94-
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", "docs/app/accessorydata/AccessoryData_Masks.md"))]
88+
#[doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/", "docs/app/accessorydata/AccessoryData_Kinds.md"))]
9589
#[repr(C)]
9690
#[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
97-
pub struct AccessoryData_Masks {
91+
pub struct AccessoryData_Kinds {
9892
pub value: i32,
9993
}
10094

10195

102-
impl ::unity2::ClassIdentity for AccessoryData_Masks {
96+
impl ::unity2::ClassIdentity for AccessoryData_Kinds {
10397
const NAMESPACE: &'static str = "App";
10498

105-
const NAME: &'static str = "AccessoryData.Masks";
99+
const NAME: &'static str = "AccessoryData.Kinds";
106100

107101
fn class() -> ::unity2::Class {
108102
static CACHE: ::std::sync::OnceLock<::unity2::Class> =
@@ -117,35 +111,41 @@ impl ::unity2::ClassIdentity for AccessoryData_Masks {
117111
}
118112

119113

120-
impl ::unity2::IlType for AccessoryData_Masks {
114+
impl ::unity2::IlType for AccessoryData_Kinds {
121115
fn il_type() -> &'static ::unity2::il2cpp::Il2CppType {
122116
&<Self as ::unity2::ClassIdentity>::class().raw()._1.byval_arg
123117
}
124118

125119
}
126120

127121

128-
impl AccessoryData_Masks {
122+
impl AccessoryData_Kinds {
129123
pub fn body() -> Self {
130-
Self { value: 1 }
124+
Self { value: 0 }
131125

132126
}
133127

134128

135129
pub fn head() -> Self {
136-
Self { value: 2 }
130+
Self { value: 1 }
137131

138132
}
139133

140134

141135
pub fn face() -> Self {
142-
Self { value: 4 }
136+
Self { value: 2 }
143137

144138
}
145139

146140

147141
pub fn back() -> Self {
148-
Self { value: 8 }
142+
Self { value: 3 }
143+
144+
}
145+
146+
147+
pub fn num() -> Self {
148+
Self { value: 4 }
149149

150150
}
151151

@@ -182,8 +182,8 @@ pub mod prelude {
182182
pub use super::AccessoryData;
183183
pub use super::IAccessoryData;
184184
pub use super::IAccessoryDataMethods;
185-
pub use super::AccessoryData_Kinds;
186185
pub use super::AccessoryData_Masks;
186+
pub use super::AccessoryData_Kinds;
187187
pub use crate::app::structbase::IStructBase;
188188
pub use crate::app::structdata_1::IStructData_1;
189189
pub use crate::app::structtemplate_1::IStructTemplate_1;

src/generated/app/accessorydetailinfowindow.rs

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

src/generated/app/accessorymenuitem.rs

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

src/generated/app/accessoryshopbuymenu.rs

Lines changed: 45 additions & 45 deletions
Large diffs are not rendered by default.

src/generated/app/accessoryshopbuymenucontent.rs

Lines changed: 21 additions & 21 deletions
Large diffs are not rendered by default.

src/generated/app/accessoryshopbuyroot.rs

Lines changed: 20 additions & 20 deletions
Large diffs are not rendered by default.

src/generated/app/accessoryshopbuyrootproc.rs

Lines changed: 62 additions & 62 deletions
Large diffs are not rendered by default.

src/generated/app/accessoryshopchangemenu.rs

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)