Skip to content

Commit

Permalink
Update to new spec
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Aug 10, 2024
1 parent 6a5a068 commit e29d959
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rlbot-flatbuffers-py"
version = "0.6.0"
version = "0.7.0"
edition = "2021"
description = "A Python module implemented in Rust for serializing and deserializing RLBot's flatbuffers"
repository = "https://github.com/VirxEC/rlbot_flatbuffers_py"
Expand Down
2 changes: 1 addition & 1 deletion flatbuffers-schema
10 changes: 5 additions & 5 deletions pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def random_string():

def random_player_config():
return PlayerConfiguration(
variety=Psyonix(1.0),
variety=Psyonix(PsyonixSkill.AllStar),
name=random_string(),
location=random_string(),
run_command=random_string(),
Expand All @@ -42,10 +42,10 @@ def random_script_config():
player_info = PlayerInfo(accolades=["MVP", "Hat Trick"])
eval(repr(player_info))

ready_message = ReadyMessage(True, close_after_match=True)
print(hash(ready_message))
print(ready_message)
eval(repr(ready_message))
connection_settings = ConnectionSettings(True, close_after_match=True)
print(hash(connection_settings))
print(connection_settings)
eval(repr(connection_settings))
print()

dgs = DesiredGameState(
Expand Down
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ pynamedmodule! {
CarAnchor,
CollisionShape,
Color,
ConnectionSettings,
ConsoleCommand,
ControllerState,
CylinderShape,
Expand All @@ -203,6 +204,7 @@ pynamedmodule! {
GoalInfo,
GravityOption,
Human,
InitComplete,
Launcher,
Line3D,
LoadoutPaint,
Expand All @@ -223,8 +225,8 @@ pynamedmodule! {
PolyLine3D,
PredictionSlice,
Psyonix,
PsyonixSkill,
RLBot,
ReadyMessage,
RelativeAnchor,
RemoveRenderGroup,
RenderAnchor,
Expand All @@ -238,6 +240,7 @@ pynamedmodule! {
ScoreInfo,
ScriptConfiguration,
SeriesLengthOption,
SetLoadout,
SphereShape,
StartCommand,
StopCommand,
Expand Down

0 comments on commit e29d959

Please sign in to comment.