Skip to content

Commit 76a3d3d

Browse files
committed
bump release candidate
1 parent 5d7d7c9 commit 76a3d3d

File tree

12 files changed

+4143
-4382
lines changed

12 files changed

+4143
-4382
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bevy_script_api = { path = "crates/bevy_script_api", version = "0.8.0-alpha.0",
7070

7171

7272
[workspace.dependencies]
73-
bevy = { version = "0.15.0-rc.2", default-features = false }
73+
bevy = { version = "0.15.0-rc.3", default-features = false }
7474
bevy_mod_scripting_core = { path = "crates/bevy_mod_scripting_core", version = "0.8.0-alpha.0" }
7575
bevy_mod_scripting_common = { path = "crates/bevy_mod_scripting_common", version = "0.8.0-alpha.0" }
7676

crates/bevy_script_api/src/providers/bevy_core.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ use bevy_script_api::{
1414
remote = "bevy::core::prelude::Name",
1515
functions[r#"
1616
17+
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
18+
fn clone(&self) -> bevy::core::prelude::Name;
19+
20+
"#,
21+
r#"
22+
1723
#[lua(
1824
as_trait = "std::cmp::PartialEq",
1925
kind = "MetaFunction",
@@ -22,12 +28,6 @@ use bevy_script_api::{
2228
)]
2329
fn eq(&self, #[proxy] other: &name::Name) -> bool;
2430
25-
"#,
26-
r#"
27-
28-
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
29-
fn clone(&self) -> bevy::core::prelude::Name;
30-
3131
"#,
3232
r#"
3333
#[lua(kind="MetaMethod", metamethod="ToString")]

crates/bevy_script_api/src/providers/bevy_ecs.rs

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@ use bevy_script_api::{
1313
remote = "bevy::ecs::entity::Entity",
1414
functions[r#"
1515
16-
#[lua(
17-
as_trait = "std::cmp::PartialEq",
18-
kind = "MetaFunction",
19-
composite = "eq",
20-
metamethod = "Eq",
21-
)]
22-
fn eq(&self, #[proxy] other: &entity::Entity) -> bool;
16+
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
17+
fn clone(&self) -> bevy::ecs::entity::Entity;
2318
2419
"#,
2520
r#"
@@ -78,8 +73,13 @@ use bevy_script_api::{
7873
"#,
7974
r#"
8075
81-
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
82-
fn clone(&self) -> bevy::ecs::entity::Entity;
76+
#[lua(
77+
as_trait = "std::cmp::PartialEq",
78+
kind = "MetaFunction",
79+
composite = "eq",
80+
metamethod = "Eq",
81+
)]
82+
fn eq(&self, #[proxy] other: &entity::Entity) -> bool;
8383
8484
"#,
8585
r#"
@@ -144,18 +144,6 @@ struct OnReplace {}
144144
remote = "bevy::ecs::component::ComponentId",
145145
functions[r#"
146146
147-
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
148-
fn assert_receiver_is_total_eq(&self) -> ();
149-
150-
"#,
151-
r#"
152-
153-
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
154-
fn clone(&self) -> bevy::ecs::component::ComponentId;
155-
156-
"#,
157-
r#"
158-
159147
#[lua(
160148
as_trait = "std::cmp::PartialEq",
161149
kind = "MetaFunction",
@@ -180,6 +168,18 @@ struct OnReplace {}
180168
#[lua(kind = "Method")]
181169
fn index(self) -> usize;
182170
171+
"#,
172+
r#"
173+
174+
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
175+
fn clone(&self) -> bevy::ecs::component::ComponentId;
176+
177+
"#,
178+
r#"
179+
180+
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
181+
fn assert_receiver_is_total_eq(&self) -> ();
182+
183183
"#,
184184
r#"
185185
#[lua(kind="MetaMethod", metamethod="ToString")]
@@ -198,6 +198,17 @@ struct ComponentId();
198198
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
199199
fn assert_receiver_is_total_eq(&self) -> ();
200200
201+
"#,
202+
r#"
203+
204+
#[lua(
205+
as_trait = "std::cmp::PartialEq",
206+
kind = "MetaFunction",
207+
composite = "eq",
208+
metamethod = "Eq",
209+
)]
210+
fn eq(&self, #[proxy] other: &component::Tick) -> bool;
211+
201212
"#,
202213
r#"
203214
@@ -239,17 +250,6 @@ struct ComponentId();
239250
this_run: bevy::ecs::component::Tick,
240251
) -> bool;
241252
242-
"#,
243-
r#"
244-
245-
#[lua(
246-
as_trait = "std::cmp::PartialEq",
247-
kind = "MetaFunction",
248-
composite = "eq",
249-
metamethod = "Eq",
250-
)]
251-
fn eq(&self, #[proxy] other: &component::Tick) -> bool;
252-
253253
"#,
254254
r#"
255255
#[lua(kind="MetaMethod", metamethod="ToString")]
@@ -342,6 +342,12 @@ struct ComponentTicks {}
342342
remote = "bevy::ecs::identifier::Identifier",
343343
functions[r#"
344344
345+
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
346+
fn clone(&self) -> bevy::ecs::identifier::Identifier;
347+
348+
"#,
349+
r#"
350+
345351
#[lua(
346352
as_trait = "std::cmp::PartialEq",
347353
kind = "MetaFunction",
@@ -381,12 +387,6 @@ struct ComponentTicks {}
381387
#[lua(kind = "Function", output(proxy))]
382388
fn from_bits(value: u64) -> bevy::ecs::identifier::Identifier;
383389
384-
"#,
385-
r#"
386-
387-
#[lua(as_trait = "std::clone::Clone", kind = "Method", output(proxy))]
388-
fn clone(&self) -> bevy::ecs::identifier::Identifier;
389-
390390
"#,
391391
r#"
392392
#[lua(kind="MetaMethod", metamethod="ToString")]

crates/bevy_script_api/src/providers/bevy_hierarchy.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ struct Children();
3434
remote = "bevy::hierarchy::prelude::Parent",
3535
functions[r#"
3636
37+
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
38+
fn assert_receiver_is_total_eq(&self) -> ();
39+
40+
"#,
41+
r#"
42+
3743
#[lua(
3844
as_trait = "std::cmp::PartialEq",
3945
kind = "MetaFunction",
@@ -49,12 +55,6 @@ struct Children();
4955
#[lua(kind = "Method", output(proxy))]
5056
fn get(&self) -> bevy::ecs::entity::Entity;
5157
52-
"#,
53-
r#"
54-
55-
#[lua(as_trait = "std::cmp::Eq", kind = "Method")]
56-
fn assert_receiver_is_total_eq(&self) -> ();
57-
5858
"#,
5959
r#"
6060
#[lua(kind="MetaMethod", metamethod="ToString")]

0 commit comments

Comments
 (0)