Skip to content

Commit 2919bdb

Browse files
committed
Update to newest spec
1 parent 7fc16ba commit 2919bdb

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 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"
3-
version = "0.11.7"
3+
version = "0.12.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"

flatbuffers-schema

pybench.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ def test_loop():
154154

155155

156156
if __name__ == "__main__":
157-
# test_gtp()
158-
# print()
157+
test_gtp()
158+
print()
159159
test_ballpred()
160160
print()
161161
test_loop()

pytest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def random_player_config():
2929

3030
def random_script_config():
3131
return ScriptConfiguration(
32-
location=random_string(),
32+
root_dir=random_string(),
3333
run_command=random_string(),
3434
)
3535

@@ -43,7 +43,7 @@ def random_script_config():
4343
eval(repr(player_info))
4444
print()
4545

46-
connection_settings = ConnectionSettings("rlbot/abot", True, close_after_match=True)
46+
connection_settings = ConnectionSettings("rlbot/abot", True, close_between_matches=True)
4747
print(hash(connection_settings))
4848
print(connection_settings)
4949
eval(repr(connection_settings))
@@ -159,7 +159,7 @@ def random_script_config():
159159

160160
print("Running quick benchmark...")
161161

162-
num_trials = 10_000
162+
num_trials = 20_000
163163

164164
total_make_time = 0
165165
total_pack_time = 0

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ pynamedmodule! {
188188
ControllableInfo,
189189
ControllableTeamInfo,
190190
ControllerState,
191+
CustomBot,
191192
CylinderShape,
192193
DemolishOption,
193194
DesiredBallState,
@@ -230,7 +231,6 @@ pynamedmodule! {
230231
PredictionSlice,
231232
Psyonix,
232233
PsyonixSkill,
233-
RLBot,
234234
Rect2D,
235235
Rect3D,
236236
RelativeAnchor,

0 commit comments

Comments
 (0)