Skip to content

Commit e29d959

Browse files
committed
Update to new spec
1 parent 6a5a068 commit e29d959

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rlbot-flatbuffers-py"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
edition = "2021"
55
description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
66
repository = "https://github.com/VirxEC/rlbot_flatbuffers_py"

pytest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def random_string():
1515

1616
def random_player_config():
1717
return PlayerConfiguration(
18-
variety=Psyonix(1.0),
18+
variety=Psyonix(PsyonixSkill.AllStar),
1919
name=random_string(),
2020
location=random_string(),
2121
run_command=random_string(),
@@ -42,10 +42,10 @@ def random_script_config():
4242
player_info = PlayerInfo(accolades=["MVP", "Hat Trick"])
4343
eval(repr(player_info))
4444

45-
ready_message = ReadyMessage(True, close_after_match=True)
46-
print(hash(ready_message))
47-
print(ready_message)
48-
eval(repr(ready_message))
45+
connection_settings = ConnectionSettings(True, close_after_match=True)
46+
print(hash(connection_settings))
47+
print(connection_settings)
48+
eval(repr(connection_settings))
4949
print()
5050

5151
dgs = DesiredGameState(

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ pynamedmodule! {
182182
CarAnchor,
183183
CollisionShape,
184184
Color,
185+
ConnectionSettings,
185186
ConsoleCommand,
186187
ControllerState,
187188
CylinderShape,
@@ -203,6 +204,7 @@ pynamedmodule! {
203204
GoalInfo,
204205
GravityOption,
205206
Human,
207+
InitComplete,
206208
Launcher,
207209
Line3D,
208210
LoadoutPaint,
@@ -223,8 +225,8 @@ pynamedmodule! {
223225
PolyLine3D,
224226
PredictionSlice,
225227
Psyonix,
228+
PsyonixSkill,
226229
RLBot,
227-
ReadyMessage,
228230
RelativeAnchor,
229231
RemoveRenderGroup,
230232
RenderAnchor,
@@ -238,6 +240,7 @@ pynamedmodule! {
238240
ScoreInfo,
239241
ScriptConfiguration,
240242
SeriesLengthOption,
243+
SetLoadout,
241244
SphereShape,
242245
StartCommand,
243246
StopCommand,

0 commit comments

Comments
 (0)